WO2022183915A1 - Payment method and apparatus for mobile terminal, and storage medium and mobile terminal - Google Patents

Payment method and apparatus for mobile terminal, and storage medium and mobile terminal Download PDF

Info

Publication number
WO2022183915A1
WO2022183915A1 PCT/CN2022/076786 CN2022076786W WO2022183915A1 WO 2022183915 A1 WO2022183915 A1 WO 2022183915A1 CN 2022076786 W CN2022076786 W CN 2022076786W WO 2022183915 A1 WO2022183915 A1 WO 2022183915A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
mobile terminal
interface
code
mode
Prior art date
Application number
PCT/CN2022/076786
Other languages
French (fr)
Chinese (zh)
Inventor
陈旭程
刘粤
杨冉
戴艳
池卓哲
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022183915A1 publication Critical patent/WO2022183915A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists

Definitions

  • the present disclosure relates to the field of human-computer interaction, and in particular, to a payment method for a mobile terminal, a payment device for a mobile terminal, a computer-readable storage medium, and a mobile terminal.
  • the present disclosure provides a payment method for a mobile terminal, a payment device for the mobile terminal, a computer-readable storage medium and a mobile terminal.
  • a payment method for a mobile terminal comprising: receiving a payment trigger operation on a screen lock interface of the mobile terminal; in response to the payment trigger operation, according to the rotation angle of the mobile terminal, A target payment mode is determined among the multiple payment modes; and a payment interface corresponding to the target payment mode is displayed.
  • a payment device for a mobile terminal comprising a processor and a memory, the processor is configured to execute the following program modules stored in the memory: an operation receiving module configured to Under the lock screen interface, a payment trigger operation is received; a payment mode determination module is configured to, in response to the payment trigger operation, determine a target payment mode among multiple payment modes according to the rotation angle of the mobile terminal; the interface display control module , which is configured to display a payment interface corresponding to the target payment mode.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, realizes the payment method of the mobile terminal of the above-mentioned first aspect and possible implementations thereof .
  • a mobile terminal comprising: a processor; a memory for storing executable instructions of the processor; an angle sensor for detecting an angle of the mobile terminal; and a display for In displaying a user interface, the user interface includes a lock screen interface and a payment interface; wherein, the processor is configured to execute the mobile terminal payment method of the first aspect and possible implementations thereof by executing the executable instructions .
  • FIG. 1 shows a structural diagram of a mobile terminal in this exemplary embodiment
  • FIG. 2 shows a flow chart of a payment method of a mobile terminal in this exemplary embodiment
  • FIG. 3 shows a schematic diagram of an information screen interface in this exemplary embodiment
  • FIG. 4A shows a schematic diagram of a lock screen wallpaper interface in this exemplary embodiment
  • FIG. 4B shows a schematic diagram of another lock screen wallpaper interface in this exemplary embodiment
  • FIG. 5 shows a schematic diagram of the scanning code payment mode and the scanning code payment mode in this exemplary embodiment
  • 6A and 6B show schematic diagrams of scanning code payment in this exemplary embodiment
  • FIGS. 7A to 7D show schematic diagrams of scanning code payment in this exemplary embodiment
  • FIG. 8A and 8B show schematic diagrams of prompt information in this exemplary embodiment
  • FIG. 9A shows a schematic diagram of a code scanning payment interface in this exemplary embodiment
  • FIG. 9B shows a schematic diagram of the scanned code payment interface in this exemplary embodiment
  • FIG. 10 shows a flowchart of a method for displaying a payment interface in this exemplary embodiment
  • FIG. 11 shows a structural diagram of a payment device of a mobile terminal in this exemplary embodiment
  • FIG. 12 shows a structural diagram of another payment device of a mobile terminal in this exemplary embodiment.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
  • the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure.
  • those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed.
  • well-known solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
  • Mobile payment includes scanning code payment mode and scanning code payment mode.
  • the scan code payment mode means that the payer scans the payee's payment code (such as a QR code) to make payment.
  • most payment apps have a "scan" function to activate the scan code payment mode.
  • the code-scanned payment mode means that the payer is paid by the payee by scanning the payment code (such as a bar-shaped payment code). Scanned code payment mode.
  • the user is required to select a corresponding function in the payment App to activate the corresponding payment mode, thereby further increasing the operation steps and exacerbating the problem of cumbersome operation process.
  • exemplary embodiments of the present disclosure provide a mobile terminal and a payment method for the mobile terminal.
  • the mobile terminal is used to execute the payment method.
  • the mobile terminal may include: a processor, a memory, an angle sensor and a display.
  • the memory is used to store executable instructions of the processor, and can also store application data, such as images, audio, etc.
  • the angle sensor is used to detect the angle of the mobile terminal, such as a direction sensor, a gyroscope sensor, a gravity sensor, etc., or A combination of a variety of sensors; a display for displaying a user interface, including a lock screen interface, a payment interface, etc.; the processor is configured to execute the payment method in this exemplary embodiment by executing executable instructions.
  • the following takes the mobile terminal 100 in FIG. 1 as an example to illustrate the structure of the mobile terminal in the embodiment of the present disclosure. It should be understood by those skilled in the art that the mobile terminal may include more or fewer components than those shown in FIG. 1 .
  • the mobile terminal 100 may specifically include: a processor 110, an internal memory 121, an external memory interface 122, a USB (Universal Serial Bus, Universal Serial Bus) interface 130, a charging management module 140, a power management module 141, Battery 142, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 171, Receiver 172, Microphone 173, Headphone Interface 174, Sensor Module 180, Display 190, Camera Module 191, Indicator 192, a motor 193, a button 194, a SIM (Subscriber Identification Module, subscriber identification module) card interface 195, and the like.
  • a processor 110 an internal memory 121, an external memory interface 122, a USB (Universal Serial Bus, Universal Serial Bus) interface 130
  • a charging management module 140 a power management module 141, Battery 142, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 171, Receiver 172, Microphone 173, Headphone Interface 174, Sensor
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an AP (Application Processor, application processor), a modem processor, a GPU (Graphics Processing Unit, graphics processor), an ISP (Image Signal Processor, image signal processor), controller, encoder, decoder, DSP (Digital Signal Processor, digital signal processor), baseband processor and/or NPU (Neural-Network Processing Unit, neural network processor), etc.
  • AP Application Processor
  • modem processor e.g., graphics processing circuitry
  • GPU Graphics Processing Unit, graphics processor
  • ISP Image Signal Processor, image signal processor
  • controller e.g., encoder, decoder
  • DSP Digital Signal Processor, digital signal processor
  • baseband processor and/or NPU Neural-Network Processing Unit, neural network processor
  • the processor 110 may include one or more interfaces through which connections are formed with other components of the mobile terminal 100 .
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include volatile memory and nonvolatile memory.
  • the processor 110 executes various functional applications and data processing of the mobile terminal 100 by executing the instructions stored in the internal memory 121 .
  • the external memory interface 122 can be used to connect an external memory, such as a Micro SD card, so as to expand the storage capacity of the mobile terminal 100.
  • the external memory communicates with the processor 110 through the external memory interface 122 to realize data storage functions, such as storing files such as images and audios.
  • the USB interface 130 is an interface conforming to the USB standard specification, and can be used to connect a charger to charge the mobile terminal 100, and can also be connected to an earphone or other electronic devices.
  • the charging management module 140 is used to receive charging input from the charger. While charging the battery 142, the charging management module 140 can also supply power to the device through the power management module 141; the power management module 141 can also monitor the state of the battery.
  • the wireless communication function of the mobile terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G and the like applied on the mobile terminal 100 .
  • the wireless communication module 160 can provide applications on the mobile terminal 100 including WLAN (Wireless Local Area Networks, wireless local area network) (such as Wi-Fi (Wireless Fidelity, wireless fidelity) network), BT (Bluetooth, Bluetooth), GNSS (Global Navigation Satellite System, global navigation satellite system), FM (Frequency Modulation, frequency modulation), NFC (Near Field Communication, short-range wireless communication technology), IR (Infrared, infrared technology) and other wireless communication solutions.
  • WLAN Wireless Local Area Networks, wireless local area network
  • Wi-Fi Wireless Fidelity, wireless fidelity
  • BT Bluetooth
  • GNSS Global Navigation Satellite System, global navigation satellite system
  • FM Frequency Modulation, frequency modulation
  • NFC Near Field Communication, short-range wireless communication technology
  • IR Infrared, infrared technology
  • the display 190 includes a display panel.
  • the display panel can be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an Active Matrix Organic Light Emitting Diode or an Active Matrix Organic Light Emitting Diode (Active-Matrix Organic Light).
  • Emitting Diode, AMOLED Organic Light-Emitting Diode
  • FLED Flexible Light-emitting Diode
  • the mobile terminal 100 may implement a display function through a GPU, a display 190, an AP, etc., and display a user interface.
  • the display 190 when the user does not use the mobile terminal 100, the display 190 enters a sleep state (mainly refers to the sleep state of the display panel, that is, the so-called off-screen or off-screen state), and may not display any content; when the user wakes up the screen, the display 190 enters the working state, and the lock screen interface can be displayed first; when the user makes payment through a certain operation, the display 190 can display the corresponding payment interface and the like.
  • a sleep state mainly refers to the sleep state of the display panel, that is, the so-called off-screen or off-screen state
  • the mobile terminal 100 can realize image acquisition and shooting functions through the ISP, the camera module 191, the encoder, the decoder, the GPU, the display 190, the AP, and the like.
  • the mobile terminal 100 may include one or more camera modules 191, and each camera module 191 may further include one or more cameras.
  • the mobile terminal 100 includes a front camera module and a rear camera module, the front camera module includes one front camera, and the rear camera module includes three rear cameras.
  • the mobile terminal 100 may implement audio functions through an audio module 170, a speaker 171, a receiver 172, a microphone 173, an earphone interface 174, an AP, and the like.
  • the sensor module 180 may include sensors of different types and functions to implement corresponding sensing detection functions.
  • FIG. 1 exemplarily shows that the sensor module 180 includes a touch sensor 1801 , an angle sensor 1802 , a fingerprint sensor 1803 , and a structured light sensor 1804 .
  • the touch sensor 1801 is used to sense a user's touch operation.
  • the touch sensor 1801 can use capacitive sensing, including a touch pad and a capacitive device.
  • the capacitive device is located on the line of the touch pad to form a certain array, and the number of touch points, touch coordinates and other information are detected through changes in capacitance.
  • I2C interface Inter-Integrated Circuit, integrated circuit interface
  • SPI interface Serial Peripheral Interface, serial peripheral interface
  • the touch sensor 1801 may be integrated in the display 190, for example, in a display panel using a transparent material to form a touchable display screen, ie, a touch screen.
  • the angle sensor 1802 is used to detect the angle of the mobile terminal 100 , and the angle may be an angle of three axes inside the mobile terminal 100 , and is used to represent the posture of the mobile terminal 100 .
  • the angle sensor 1802 may be an IMU (Inertia Measurement Unit, inertial measurement unit), including an acceleration sensor and a gyroscope sensor, and may also include a magnetic force sensor.
  • the angle of the mobile terminal 100 may be an IMU (Inertia Measurement Unit, inertial measurement unit), including an acceleration sensor and a gyroscope sensor, and may also include a magnetic force sensor.
  • the fingerprint sensor 1803 is used to collect the user's fingerprint information.
  • the fingerprint sensor may include an optical sensor, a capacitive sensor, an ultrasonic sensor, and the like.
  • the fingerprint sensor 1803 is arranged at a specific position of the mobile terminal 100 to form a fingerprint sensing area. When the user's finger touches the area, the fingerprint sensor 1803 collects the user's fingerprint information.
  • the fingerprint sensor 1803 may be disposed under the button 194 of the mobile terminal 100 , or may be disposed on the back of the mobile terminal 100 .
  • the fingerprint sensor 1803 can be integrated inside or below the display 190, so that the fingerprint sensing area is formed in the display screen, and even the entire display area can become the fingerprint sensing area, so as to realize the fingerprint collection or the fingerprint sensor under the screen. Full screen fingerprint collection.
  • the structured light sensor 1804 is used to detect the surface structure information of the measured object.
  • the principle is: actively project light signals to the measured object through the projector, and calculate the surface structure information of the measured object according to the deformation of the light signal on the surface of the measured object.
  • the structured light sensor 1804 on the mobile terminal 100 is mostly integrated in the camera module 191.
  • the structured light sensor 1804 is integrated in the front camera module, and cooperates with the front camera to realize functions such as face recognition.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the motor 193 can generate vibration prompts, and can also be used for touch vibration feedback and the like.
  • the buttons 194 include a power button, a volume button, a Home button, and the like.
  • the mobile terminal 100 may support one or more SIM card interfaces 195 for connecting the SIM cards to realize functions such as calling and mobile communication.
  • an exemplary flow of the method includes:
  • Step S210 receiving a payment triggering operation under the lock screen interface of the mobile terminal
  • Step S220 in response to the payment triggering operation, according to the rotation angle of the mobile terminal, determine a target payment mode among multiple payment modes;
  • Step S230 displaying a payment interface corresponding to the target payment mode.
  • this solution supports multiple payment modes such as scanning code payment and scanning code payment, and does not require the user Manual selection of payment modes further simplifies the user process.
  • this solution can be implemented based on the conventional hardware configuration of mobile terminals such as mobile phones at present, without adding more components, so the implementation cost is low.
  • step S210 a payment trigger operation is received under the lock screen interface of the mobile terminal.
  • the mobile terminal may keep displaying the lock screen interface in the standby state, or the mobile terminal may keep the "black screen” in the standby state, and display the lock screen interface when certain conditions are met.
  • the lock screen interface may be displayed according to the pose change information of the mobile terminal.
  • the posture change information can be detected by the angle sensor built in the mobile terminal, etc., and can be used to judge the posture of the mobile terminal.
  • the value of the pose change of the mobile terminal is calculated according to the built-in acceleration sensor and the gyroscope sensor of the mobile terminal, and when the value of the pose change meets the preset pose change condition, it is determined that the user picks up the mobile terminal and assumes a holding attitude. , and then determine that the user needs to use the mobile terminal, and display the lock screen interface.
  • a lock screen interface may be displayed according to the received wake-up operation.
  • the wake-up operation includes but is not limited to: touching the display screen of the mobile terminal; operating the physical buttons of the mobile terminal, such as clicking the power button or the Home button; holding the mobile terminal in front of the Turn on the camera) to detect a face, or make a specific wake-up gesture in front of the AON camera, such as shaking hands left and right, thumbs up, etc.; say a specific voice, such as "I want to use the phone", "wake up the screen” and other presets sentence, so that the mobile terminal can determine the user's intention to use the mobile terminal by recognizing the voice content.
  • condition for waking up the lock screen interface can also be set by the user, and when the condition is reached, the mobile terminal is woken up from the "black screen” state to display the lock screen interface.
  • the payment triggering operation is an operation used to trigger the activation of the mobile payment function, which is performed by the user under the lock screen interface.
  • the present disclosure does not limit the specific form and display content of the lock screen interface. The following is an exemplary description of the payment triggering operation through two specific lock screen interfaces:
  • 1Interactive screen interface When the mobile terminal is in an off-screen state, the screen does not display any content, which is a black screen. At present, most mobile terminals such as mobile phones have added the screen-off display function, that is, in the screen-off state, a small amount of content can also be displayed on the screen to mention the functions of information prompts and aesthetics, and the screen does not need to be fully turned on, reducing power consumption. Relatively low, the screen interface in this state is called an off-screen interface.
  • the information screen interface 300 belongs to a type of lock screen interface, and can be regarded as a lock screen interface in which the screen is not fully lit.
  • the user can perform a payment triggering operation, for example, performing preset operations such as clicking, long-pressing, sliding, etc. on the payment logo 304 in the screen-on-screen interface 300 to trigger the activation of the payment function.
  • the lock screen wallpaper interface uses the lock screen wallpaper as the background and displays the lock screen interface, which can be regarded as the lock screen interface with the screen completely lit, which is commonly referred to as the lock screen interface.
  • the difference between the lock screen wallpaper interface is that the screen is fully lit and displayed with a specific background, and the content in the lock screen wallpaper interface is usually more than that of the lock screen interface.
  • a background with a striped pattern is displayed in the lock screen wallpaper interface 400, and also includes information such as time, power, etc., as well as a fingerprint unlocking mark 401, a flashlight mark 402, a camera mark 403, a payment mark 404 and a lock mark. 405.
  • the lock mark 405 is used to display the locked/unlocked state of the mobile terminal.
  • the lock mark 405 in FIG. 4A shows that it is currently locked, and the lock mark 405 in FIG. 4B shows that it is currently unlocked. It should be noted that, regardless of whether the mobile terminal is currently in a locked state or an unlocked state, the lock screen wallpaper interface 400 displayed by the mobile terminal belongs to the lock screen interface.
  • displaying the lock screen interface does not mean that the mobile terminal must be in a locked state.
  • the lock screen wallpaper interface of FIG. 4A can be displayed, and the user can perform a payment trigger operation, such as performing a preset operation on the payment identifier 404; after the user unlocks the mobile terminal, for example, the user After touching the fingerprint unlocking sign 401 with a finger to unlock, the mobile terminal may not immediately jump from the lock screen wallpaper interface 400 to other interfaces, but only present the change of the locking sign 405, as shown in FIG.
  • the unlocked state changes, although the mobile terminal has been unlocked, the lock screen wallpaper interface 400 is still displayed at this time, and the user can also perform a payment trigger operation.
  • the mobile terminal can be set to keep displaying the information screen interface in the standby state, and display the lock screen wallpaper interface in response to reaching certain conditions, for example, according to the posture change information of the mobile terminal or the wake-up operation performed by the user, from the information screen.
  • the screen interface enters the lock screen wallpaper interface. It is also possible to set the screen to remain completely black in the standby state, display the screen-off interface in response to one condition being met, and display the lock screen wallpaper interface in response to reaching another condition.
  • the screen is turned off and a completely black screen is displayed; when it is judged that the user is currently holding the posture according to the posture change information of the mobile terminal, the screen is displayed; When the user performs a wake-up operation, the lock screen wallpaper interface is displayed.
  • the above provides two kinds of lock screen interfaces, namely the interest screen interface and the lock screen wallpaper interface. It can be set to allow the user to perform payment triggering operations only on the off-screen interface or only on the lock-screen wallpaper interface, such as setting the payment logo only on the off-screen interface, or only setting the payment logo on the lock-screen wallpaper interface. It can also be set to allow the user to perform a payment triggering operation in both the screen-off interface and the lock-screen wallpaper interface, for example, a payment logo is set in both the screen-off interface and the lock-screen wallpaper interface.
  • the payment trigger operation may be a preset operation for the payment logo in the lock screen interface, such as an operation of clicking, long pressing or sliding on the payment logo.
  • users can also perform payment trigger operations in other ways, including but not limited to:
  • the mobile terminal is subjected to a specific pose change to meet the preset pose change conditions, such as shaking it left and right, or picking up the mobile terminal from a horizontal to a vertical pose; it should be noted that it is used for payment triggering
  • the pose change conditions of the mobile terminal may be the same as or different from the above-mentioned pose change conditions for evoking the lock screen interface.
  • the two pose change conditions are shake left and right. Arouse the lock screen interface, shake left and right under the lock screen interface, then realize the payment trigger operation;
  • Perform payment trigger gesture operations such as sliding according to the preset payment trigger track in the lock screen interface, or make a payment trigger gesture in front of the AON camera;
  • the mobile terminal can determine the user's intention to pay by recognizing the voice content.
  • unlocking information is the information entered by the user during the unlocking operation, including but not limited to: passwords used for unlocking, such as numbers, letters and other character passwords, gesture passwords (nine-square gesture passwords), etc.; fingerprint information entered by the user when fingerprint unlocking; The face information collected by the front camera when the user performs face unlocking; the voice information input when the user performs voice unlocking. Then, the mobile terminal can release the locking of the mobile terminal according to the obtained unlocking information. Specifically, the mobile terminal verifies the unlocking information, and switches the locked state to the unlocked state after the verification is passed. At this time, content other than the lock screen interface can be displayed. , such as performing step S230 to display the payment interface.
  • unlock operation As can be seen from the above, the user can perform two operations under the lock screen interface: unlock operation and payment trigger operation.
  • unlock operation and payment trigger operation.
  • the present disclosure does not limit the order of these two operations, and the examples include the following situations:
  • the mobile terminal is displayed in a locked state by the lock mark 405.
  • the user can first press the fingerprint unlock mark 401 to perform the unlocking operation;
  • the lock screen wallpaper interface 400 is still displayed, and the mobile terminal is displayed in an unlocked state by the lock mark 405 .
  • the user can long press the payment mark 404 to perform a payment triggering operation.
  • the user is allowed to perform a payment triggering operation, so that a user identity verification is performed before the payment function is activated, which improves payment security.
  • Scenario 2 First perform the payment trigger operation, and then perform the unlocking operation
  • the user first performs a payment trigger operation, triggers the mobile terminal to execute step S220 to determine the target payment mode, and loads the payment interface.
  • the user can perform the unlocking operation, so that after the unlocking is completed, the payment interface can be quickly entered, which shortens the time for waiting for a response.
  • the payment ID in the lock screen interface belongs to the fingerprint sensing area.
  • the mobile terminal collects the user's fingerprint and completes the fingerprint unlocking operation.
  • the two operations are combined into one operation, and further Simplified operation.
  • the front camera collects the user's face information to complete the face unlocking operation.
  • the user enters a voice into the microphone of the mobile terminal to complete the voice unlocking operation. It can be seen that it is more convenient and time-saving to perform the unlocking operation and the payment triggering operation at the same time.
  • step S220 in response to the payment triggering operation, a target payment mode is determined among a plurality of payment modes according to the rotation angle of the mobile terminal.
  • the multiple payment modes may include a scan code payment mode and a scanned code payment mode.
  • This exemplary embodiment automatically identifies which payment mode the user desires to use according to the rotation angle of the mobile terminal, and determines the payment mode as the target payment mode.
  • Figure 5 shows a schematic scenario of two payment modes. After the user performs an operation on the mobile terminal (such as a payment trigger operation or an unlock operation), if the scan code payment mode is used, the camera needs to be pointed at the payee's payment method. If you use the scanned code payment mode, you need to present your own payment code to the payee, such as aiming at a scanning device such as a code scanning gun, and the payee device scans the payment code , make a payment.
  • an operation on the mobile terminal such as a payment trigger operation or an unlock operation
  • the process from the user holding the mobile terminal to the scan code payment process, and the process from the user holding the mobile terminal to the scan code payment process, the rotation angle of the mobile terminal is usually different in these two processes. Therefore, according to the rotation angle To judge the user's payment intention, and then determine the target payment mode.
  • step S220 may include: determining the target payment mode according to the rotation angle of the axis of the mobile terminal.
  • the mobile terminal includes three axes, x, y, and z, and the target payment mode can be determined by the rotation angle of any one or more axes.
  • the following describes the payment mode by scanning the code and the payment mode by scanning the code.
  • the front surface 610 of the mobile terminal may be the surface where the screen is located, and the other surface opposite to it is the back surface 620, which may be the surface where the rear camera is located.
  • O B X B Y B Z B is the carrier coordinate system
  • the carrier is the mobile terminal
  • the origin O B of the carrier coordinate system is located in the center of the mobile terminal
  • the X B axis is along the width direction of the mobile terminal
  • the Y B axis is along the length direction of the mobile terminal
  • the Z B axis is perpendicular to the front face 610 .
  • the carrier coordinate system is a relative coordinate system.
  • X B , Y B , and Z B are the three axes of the mobile terminal, and the angle sensor can detect the rotation angles of these three axes.
  • O n X n Y n Z n is a navigation coordinate system, and an absolute coordinate system such as an inertial coordinate system, an earth coordinate system, a geographic coordinate system, etc. can be used.
  • the east-north-sky coordinate system (ENU coordinate system, It is a kind of geographic coordinate system) as a navigation coordinate system for exemplary illustration
  • the origin O n of the navigation coordinate system is the observation center
  • the X n axis is along the due east direction
  • the Y n axis is along the due north direction
  • the Z n axis is along the earth.
  • the normal direction of the tangent plane Assuming that in the left half of FIG.
  • the mobile terminal is placed on a horizontal table, the length direction points to the north, the width direction points to the east, and the center of the mobile terminal is used as the observation center, then the navigation coordinate system at this time is O n X n Y n Z n coincides with the carrier coordinate system O B X B Y B Z B.
  • the posture of the mobile terminal is analyzed.
  • the mobile terminal may be in the following two postures:
  • Attitude 1 the user holds the mobile terminal with his head lowered, and the front 610 of the mobile terminal faces or approximately faces upward, as shown in the left half of FIG. 6A .
  • Posture 2 The user holds the mobile terminal without lowering his head, and the front 610 of the mobile terminal faces the user's face, as shown in the left half of FIG. 6B .
  • the mobile terminal When a user holds a mobile terminal to scan the code for payment, the mobile terminal may be in the following two postures:
  • Attitude 3 The user scans the two-dimensional code posted on a vertical or nearly vertical plane (eg, a wall), and the back 620 of the mobile terminal faces the plane, as shown in the right half of FIG. 6A .
  • a vertical or nearly vertical plane eg, a wall
  • Attitude 4 The user scans the two-dimensional code posted on a horizontal or approximately horizontal plane (such as a desktop), and the back 620 of the mobile terminal faces the plane, as shown in the right half of FIG. 6B .
  • the posture changes of the mobile terminal include four situations:
  • the mobile terminal mainly rotates along the X n axis, specifically, the right hand rotates about 90 degrees along the X n axis (may also include small rotations in other directions).
  • the right thumb points to the rotation axis and rotates in the direction of the four fingers.
  • the rotation angle of the X B axis is about 0 degrees
  • the rotation angle between the Y B axis and the Z B axis is about 90 degrees.
  • the rotation angle of the mobile terminal can be determined. .
  • the mobile terminal mainly rotates along the X n axis, specifically, the left hand rotates about 90 degrees along the X n axis.
  • the rotation angle of the X B axis is about 0 degrees
  • the rotation angle between the Y B axis and the Z B axis is about 90 degrees.
  • the rotation angle of the mobile terminal may be measured by the rotation angle of any one axis or the sum of the rotation angles of the three axes.
  • the rotation angle of the mobile terminal In scan code payment, when the rotation angle of one axis is used, the rotation angle of the mobile terminal is usually about 0 degrees or 90 degrees.
  • the rotation angle of the mobile terminal When the sum of the rotation angles of the three axes is used, the rotation angle of the mobile terminal is usually 0 degrees or 90 degrees. 180 degrees or so.
  • the scan code payment mode is determined as the target payment mode.
  • the three-axis angle threshold is used to distinguish the sum of the rotation angles of the three axes of the mobile terminal under different payment modes, and can be an empirical value. Exemplarily, the three-axis angle threshold may be 240 degrees.
  • the scan code payment mode is determined as the target payment mode.
  • the scan code payment mode is determined as the target payment mode.
  • the cumulative rotation angle refers to the cumulative value of the rotation angle of the shaft in the whole process.
  • the angle value detected by the angle sensor at different times can be obtained during the rotation process, and the cumulative calculation is performed to obtain the cumulative rotation angle.
  • the angle change value can be used, which refers to the angle between the direction of the axis at the end of the rotation and the direction of the axis at the beginning of the rotation.
  • the cumulative rotation angle and the angle change value are not necessarily equal.
  • the single-axis angle threshold is used to distinguish the rotation angle of any single-axis of the mobile terminal under different payment modes, and can be an empirical value.
  • the uniaxial angle threshold may be 120 degrees.
  • the meanings of the front 610, the back 620 and the coordinate systems of the mobile terminal in FIGS. 7A to 7D are the same as those in FIGS. 6A and 6B.
  • the navigation coordinate system O n X n Y n Z n coincides with the carrier coordinate system O B X B Y B Z B ;
  • the navigation coordinate system O n X n Y n Z n does not coincide with the carrier coordinate system O B X B Y B Z B , and the plane shown by the dotted line is the X n O n Y n plane for convenience.
  • the posture of the mobile terminal is analyzed.
  • the mobile terminal may be in the above-mentioned posture 1 or posture 2.
  • the posture 1 is shown in the left half of Fig. 7A and the left half of Fig. 7B
  • the posture 2 is shown in the left half of Fig. 7C and Fig. 7D. shown.
  • the mobile terminal may be in the following two postures:
  • Posture 5 The user stands up the front 610 of the mobile terminal and aligns it with a payment device such as a barcode scanner. The difference from posture 3 is that the orientation of the front 610 is different, as shown in the right half of FIG. 7A and the right half of FIG. 7C .
  • Posture 6 The user points the front 610 of the mobile terminal downwards and aligns it with a payment device such as a POS (Point Of Sales), which differs from posture 4 in that the orientation of the front 610 is different.
  • POS Point Of Sales
  • the attitude changes of the mobile terminal include four situations:
  • the rotation situation of this process is relatively complicated, including the superposition of rotations in multiple directions. Comparing the directions of each axis in attitude 1 and attitude 5, it can be seen that the rotation angle of X B axis is about 180 degrees, the rotation angle of Y B axis is about 90 degrees, and the rotation angle of Z B axis is about 90 degrees. The sum of the rotation angles is about 360 degrees.
  • the cumulative rotation angle of each axis is related to the actual rotation trajectory. Generally, the cumulative rotation angle of the X and B axes is the largest, exceeding 180 degrees.
  • the mobile terminal mainly rotates about 180 degrees with the left hand or the right hand along the Y n axis (180 degrees of left hand rotation is equivalent to 180 degrees of right hand rotation, according to the actual actions of the user, usually the right hand rotated 180 degrees).
  • the rotation angle of X and B axes is about 180 degrees
  • the rotation angle of Y and B axes is about 0 degrees
  • the rotation angle of Z and B axes is about 180 degrees.
  • the sum of the rotation angles is about 360 degrees.
  • the cumulative rotation angle of the X B axis and the Z B axis is also about 180 degrees.
  • the mobile terminal mainly rotates about 180 degrees with the left hand or the right hand along the Z n axis (according to the actual actions of the user, generally the left hand rotates 180 degrees). Comparing the directions of each axis in attitude 2 and attitude 5, it can be seen that the rotation angle of the X and B axes is about 180 degrees, the rotation angle of the Y and B axes is about 0 degrees, and the rotation angle of the Z and B axes is about 180 degrees. The sum of the rotation angles is about 360 degrees. The cumulative rotation angle of the X B axis and the Z B axis is also about 180 degrees.
  • the sum of the rotation angles of the three axes is about 360 degrees, and the cumulative rotation angle of at least one axis is about 180 degrees.
  • the scanned code payment mode is determined as the target payment mode.
  • the rotation angle here may be an angle change value, that is, the angle between the direction of the shaft at the end of the rotation and the direction of the shaft at the start of the rotation.
  • the three-axis angle threshold is used to distinguish the sum of the rotation angles of the three axes of the mobile terminal under different payment modes, and can be an empirical value. Exemplarily, the three-axis angle threshold may be 240 degrees. When it is detected that the sum of the rotation angles of the three axes of X B , Y B and Z B of the mobile terminal is greater than 240 degrees, the scanned code payment mode is determined as the target payment mode.
  • the scanned code payment mode is determined as the target payment mode.
  • the single-axis angle threshold is used to distinguish the rotation angle of any single-axis of the mobile terminal under different payment modes, and can be an empirical value.
  • the uniaxial angle threshold may be 120 degrees.
  • step S220 may include: determining a target payment mode among multiple payment modes according to the rotation angle of the mobile terminal within the first preset time.
  • the first preset time is the time during which the user normally performs the payment operation (usually a certain time margin may be added), and may start from the moment when the mobile terminal receives the payment triggering operation.
  • the first preset time can be determined according to experience or actual scenarios, for example, 3 seconds or 5 seconds. Therefore, the present exemplary embodiment only judges the rotation angle within the first preset time, and the rotation of the mobile terminal after the first preset time is exceeded can be considered to be irrelevant to the payment operation. This is conducive to accurately judging the user's payment intention and determining the target payment mode.
  • prompt information about the target payment mode may be presented. For example, in the screen-on-screen interface 300 of FIG. 3 , the user presses the payment icon 304 for a long time to activate the payment function. After the mobile terminal determines the target payment mode according to the rotation angle, prompt information can be displayed on the screen-on screen interface 300 .
  • the scan code payment prompt sign 305 can be displayed to prompt the user to start the scan code payment; with reference to Figure 8B, if the target payment mode is the scan code payment mode , the scanned code payment prompt indicator 306 may be displayed to prompt the user to start the scanned code payment.
  • the prompt information is not limited to the identification form in FIG. 8A and FIG. 8B , and may also be in other forms such as text and voice.
  • the prompt information informs the user which payment mode will be adopted, which improves the sense of interactive feedback, and when the target payment mode is inconsistent with the user's expected payment mode, the user can also change the target payment mode through other operations in time.
  • step S230 a payment interface corresponding to the target payment mode is displayed.
  • the payment interface is different.
  • the payment interface in the scan code payment mode, the payment interface usually includes an interface for turning on the camera to scan the code, and an interface for entering the payment amount and payment password after scanning the code, as shown in Figure 9A; in the scan code payment mode, the payment interface usually The interface including the payer's payment code is shown in Figure 9B.
  • step S230 may include:
  • Step S1010 acquiring the image collected by the camera
  • Step S1020 displaying a payment interface according to the payment-related information identified from the above image.
  • the image captured by the camera is the image of the current environment.
  • the user When paying, the user usually aims the mobile terminal at the target related to the payment, so the image captured by the camera contains the payment-related information.
  • Payment-related information includes but is not limited to: payment code, payment equipment, etc.
  • the payment-related information is identified from the image, the user's payment intention can be further confirmed, and then the corresponding payment interface can be opened and displayed.
  • code scanning payment mode and the scanned code payment mode are still used as examples to further describe FIG. 10 .
  • step S1020 may include: displaying the scan code payment interface according to the payment code identified from the image.
  • Payment codes include but are not limited to: QR codes, barcodes, etc.
  • the mobile terminal can process the payment code through the corresponding App and display the payment interface by scanning the code.
  • an application program for payment can be determined according to the payment code recognized from the image, and then the application program is started, and the code-scanning payment interface in the application program is displayed.
  • the payment code itself contains the identification information of the App, and after parsing the payment code, it can be determined which App it belongs to.
  • the payment code contains a link, and by accessing the link, determine which App the payment code belongs to. Further, start the App to process the payment code, so as to display the corresponding scan code payment interface.
  • the identification result of the payment code can be loaded while exiting the lock screen interface, and when the identification result of the loaded payment code is successful, the scan code payment interface is displayed.
  • the scan code payment interface is displayed.
  • the Android system when exiting the lock screen interface, you need to remove the Activity on the lock screen interface, and to display the scan code payment interface, you need to create an activity on the scan code payment interface. To create this activity, you need to load the identification result of the payment code. Since it takes a certain amount of time to remove the Activity of the lock screen interface, during this process, if the recognition result of loading the payment code is successful, you can create an Activity of the scan code payment interface, and then display the scan code payment interface, as shown in Figure 9A.
  • the recognition result of loading the payment code is unsuccessful, for example, when an invalid payment code is recognized, the recognition result is abnormal, or the payment code information is completely recognized within the time of exiting the lock screen interface, then the “Scan” can be displayed. interface to continue to recognize the payment code and load the recognition result.
  • step S1010 may include: acquiring an image captured by a first camera, the first camera may be a rear camera, or acquiring an image captured when the rotatable camera is rotated to a first direction, the first direction It can be the back direction of the mobile terminal, in which case the rotatable camera is equivalent to the rear camera. This conforms to the user's habitual posture when scanning a code to pay, that is, using the rear camera to align the payment code.
  • the image used to identify the payment code may be referred to as the first image.
  • the image captured by the camera within the second preset time may be acquired as the first image, so as to perform the processing of identifying the payment code.
  • the second preset time is the code scanning time when the user normally performs the code scanning operation, and may start from the moment when the mobile terminal determines the target payment mode. Therefore, for the images collected after exceeding the second preset time, it can be considered that it has nothing to do with the payment by scanning the code, and the subsequent processing of identifying the payment code is not performed.
  • a window may be added to the lock screen interface to display the image captured by the camera in real time, so that the user can aim the camera at the payment code.
  • the scanning code payment mode is determined as the target payment mode
  • the payment code information needs to be obtained from the image to realize payment processing.
  • the target payment mode can be switched from the scanning code payment mode to the scanning code payment mode, and Step S230 is executed in the scanned code payment mode. Therefore, by identifying the payment code in the image, the supplement to step S220 is realized, thereby increasing the reliability and robustness of the solution.
  • a certain time condition can be set when recognizing the payment code. For example, within the above-mentioned second preset time, if it is not recognized that the first image contains the payment code, it is determined that there is no payment code in the current environment, and then the implementation is carried out. Switching of the target payment mode.
  • step S1020 may include: displaying the scanned code payment interface according to the payment device identified from the image.
  • the collection equipment includes but is not limited to: scan code gun, mobile phone, POS machine, code scan box, subway gate, bus card reader, etc.
  • the mobile terminal When the mobile terminal recognizes that the above-mentioned image contains a payment device, it can display a corresponding scanned code payment interface.
  • an application program for payment can be determined according to the payment device identified from the image, and then the application program is started, and the scanned code payment interface in the application program is displayed. For example, when a subway gate is identified, an app with subway payment function can be launched; when a bus card reader is identified, an app with bus payment function can be launched; and then the scanned code payment interface in the app is displayed.
  • step S1010 may include: acquiring an image captured by a second camera, the second camera may be a front-facing camera, or acquiring an image captured when the rotatable camera is rotated to a second direction, the second direction It can be the front direction of the mobile terminal, in which case the rotatable camera is equivalent to the front camera. This conforms to the user's habitual posture when making payment by scanning the code, that is, using the screen of the mobile terminal to align the payment device of the payee.
  • the image used to identify the payment device may be referred to as the second image.
  • Each frame of image collected by the camera within the third preset time may be determined as the second image.
  • the third preset time is the scanned code time when the user normally performs the scanned code operation, and may start from the moment when the mobile terminal determines the target payment mode. Therefore, for the images collected after exceeding the third preset time, it can be considered that they have nothing to do with the payment by scanning the code, and the subsequent processing of identifying the payment device is not performed.
  • the third preset time and the second preset time may be the same or different, which is not limited in the present disclosure.
  • the target payment mode when the payment device is not recognized from the image, the target payment mode can be switched to the scan code payment mode. Similar to the above solution of identifying the payment code, the judgment of identifying the payment device may be used as a supplement to step S220. After the scanned code payment mode is determined as the target payment mode, in theory, there should be a collection device in the current environment. Therefore, if the payment device cannot be identified from the image, it means that the payment mode expected by the user may not be the payment mode by scanning the code, and then the target payment mode can be switched from the payment mode by scanning the code to the payment mode by scanning the code, and after scanning Step S230 is executed in the code payment mode. Therefore, by identifying the payment device in the image, the supplement to step S220 is realized, thereby increasing the reliability and robustness of the present solution.
  • a certain time condition can be set when identifying the payment device. For example, within the above-mentioned third preset time, if the payment device is not identified in the second image, it is determined that there is no payment device in the current environment. , and then implement the switching of the target payment mode.
  • the App for payment is determined according to the recognized payment code; in the scanning code payment mode , and determine the App for payment according to the identified payment device. Considering that some payment codes or payment devices do not contain relevant information about the App, it is impossible to determine the App based on the payment code or payment device. As a supplement, the following two ways to determine the App are provided:
  • a preset application program may be started, and a payment interface corresponding to the target payment mode in the preset application program may be entered.
  • the preset application program may be a default payment App preset by the user.
  • an application corresponding to the payment selection operation may be started according to the payment selection operation received in the lock screen interface, and the payment interface corresponding to the target payment mode in the application program is entered.
  • the payment selection operation is used to select an app as a payment app.
  • a selection control is set in the lock screen interface. For example, after the user long presses the payment icon in the lock screen interface, an extended selection control window is displayed, which displays Different app icons where users can choose to pay for the app.
  • the above-mentioned schemes for determining the payment App can be combined, for example: when the user performs a payment selection operation on the lock screen interface, the payment App is determined according to the operation; when the user does not perform the payment selection operation on the lock screen interface , the payment App is determined according to the payment code identified in the first image or the payment device identified in the second image; when the payment App cannot be determined according to the payment code or the payment device, the default App is used as the payment App.
  • the payment app in the background can be loaded and displayed to display the payment interface corresponding to the target payment mode in the payment app, and the payment interface can be directly jumped from the lock screen interface to display the payment interface, so as to realize the fast and direct access to the payment interface.
  • the payment apparatus 1100 of the mobile terminal may include a processor 1110 and a memory 1120 .
  • the memory 1120 stores the following program modules:
  • the operation receiving module 1121 is configured to receive a payment trigger operation under the lock screen interface of the mobile terminal;
  • the payment mode determination module 1122 is configured to, in response to a payment triggering operation, determine a target payment mode among a plurality of payment modes according to the rotation angle of the mobile terminal;
  • the interface display control module 1123 is configured to display the payment interface corresponding to the target payment mode.
  • the processor 1110 is used to execute the above-mentioned program modules.
  • the interface display control module 1123 is further configured to:
  • unlock the mobile terminal Before displaying the payment interface corresponding to the target payment mode, unlock the mobile terminal according to the obtained unlocking information.
  • the payment triggering operation includes: a preset operation for the payment identifier in the lock screen interface.
  • the payment mode determination module 1122 is configured to:
  • the target payment mode is determined according to the rotation angle of the shaft of the mobile terminal.
  • the payment mode determination module 1122 is configured to:
  • the scan code payment mode is determined as the target payment mode.
  • the payment mode determination module 1122 is configured to:
  • the scanned code payment mode is determined as the target payment mode.
  • the interface display control module 1123 is configured to:
  • the payment interface is displayed.
  • the interface display control module 1123 is configured to:
  • the scan code payment interface is displayed according to the payment code identified from the above image.
  • the interface display control module 1123 is configured to:
  • the interface display control module 1123 is configured to:
  • the scan code payment interface is displayed.
  • the payment mode determination module 1122 is further configured to:
  • the interface display control module 1123 When the interface display control module 1123 does not recognize the payment code from the above image, it switches the target payment mode to the scanned code payment mode.
  • the interface display control module 1123 is configured to:
  • An image captured when the rotatable camera is rotated to the first direction is acquired.
  • the interface display control module 1123 is configured to:
  • the scan code payment interface is displayed according to the payment device identified from the above image.
  • the payment mode determination module 1122 is further configured to:
  • the interface display control module 1123 When the interface display control module 1123 does not recognize the payment device from the above image, it switches the target payment mode to the scan code payment mode.
  • the interface display control module 1123 is configured to:
  • the interface display control module 1123 is configured to:
  • the application program corresponding to the payment selection operation is started, and the payment interface corresponding to the target payment mode in the application program is entered.
  • the payment mode determination module 1122 is configured to:
  • a target payment mode is determined among the plurality of payment modes according to the rotation angle of the mobile terminal within the first preset time.
  • Exemplary embodiments of the present disclosure also provide another payment device for a mobile terminal.
  • the payment device 1200 of the mobile terminal may include:
  • the operation receiving module 1210 is configured to receive a payment trigger operation under the lock screen interface of the mobile terminal;
  • the payment mode determination module 1220 is configured to, in response to the payment triggering operation, determine the target payment mode among the plurality of payment modes according to the rotation angle of the mobile terminal;
  • the interface display control module 1230 is configured to display a payment interface corresponding to the target payment mode.
  • the interface display control module 1230 is further configured to:
  • unlock the mobile terminal Before displaying the payment interface corresponding to the target payment mode, unlock the mobile terminal according to the obtained unlocking information.
  • the payment triggering operation includes: a preset operation for the payment identifier in the lock screen interface.
  • the payment mode determination module 1220 is configured to:
  • the target payment mode is determined according to the rotation angle of the shaft of the mobile terminal.
  • the payment mode determination module 1220 is configured to:
  • the scan code payment mode is determined as the target payment mode.
  • the payment mode determination module 1220 is configured to:
  • the scanned code payment mode is determined as the target payment mode.
  • the interface display control module 1230 is configured to:
  • the payment interface is displayed.
  • the interface display control module 1230 is configured to:
  • the scan code payment interface is displayed according to the payment code identified from the above image.
  • the interface display control module 1230 is configured to:
  • the interface display control module 1230 is configured to:
  • the scan code payment interface is displayed.
  • the payment mode determination module 1220 is further configured to:
  • the interface display control module 1230 When the interface display control module 1230 does not recognize the payment code from the above image, it switches the target payment mode to the scanned code payment mode.
  • the interface display control module 1230 is configured to:
  • An image captured when the rotatable camera is rotated to the first direction is acquired.
  • the interface display control module 1230 is configured to:
  • the scan code payment interface is displayed according to the payment device identified from the above image.
  • the payment mode determination module 1220 is further configured to:
  • the interface display control module 1230 When the interface display control module 1230 does not recognize the payment device from the above image, it switches the target payment mode to the scan code payment mode.
  • the interface display control module 1230 is configured to:
  • the interface display control module 1230 is configured to:
  • the application program corresponding to the payment selection operation is started, and the payment interface corresponding to the target payment mode in the application program is entered.
  • the payment mode determination module 1220 is configured to:
  • a target payment mode is determined among the plurality of payment modes according to the rotation angle of the mobile terminal within the first preset time.
  • modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.
  • Exemplary embodiments of the present disclosure also provide a computer-readable storage medium that can be implemented in the form of a program product including program code for causing the electronic device to run the program product when the program product is run on the electronic device.
  • program product may be implemented as a portable compact disk read only memory (CD-ROM) and include program code, and may be executed on an electronic device, such as a personal computer.
  • CD-ROM portable compact disk read only memory
  • the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • the program product may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
  • LAN local area network
  • WAN wide area network

Abstract

A payment method and apparatus for a mobile terminal, and a computer-readable storage medium and a mobile terminal. The method comprises: receiving a payment trigger operation in a lock screen interface of a mobile terminal (S210); in response to the payment trigger operation, determining, according to a rotation angle of the mobile terminal, a target payment mode among a plurality of payment modes (S220); and displaying a payment interface corresponding to the target payment mode (S230). By means of the present application, it is possible to quickly enter a payment interface from a lock screen interface, such that the user operation process is simplified, and various payment modes such as code-scanning payment and code-scanned payment are supported. (FIG. 2)

Description

移动终端的支付方法、装置、存储介质与移动终端Payment method, device, storage medium and mobile terminal of mobile terminal
本申请要求申请日为2021年03月04日,申请号为202110241666.6,名称为“移动终端的支付方法、装置、存储介质与移动终端”的中国专利申请的优先权,该中国专利申请的全部内容通过引用结合在本文中。This application claims the priority of the Chinese patent application whose filing date is March 04, 2021, the application number is 202110241666.6, and the title is "Payment method, device, storage medium and mobile terminal for mobile terminal", and the entire content of the Chinese patent application Incorporated herein by reference.
技术领域technical field
本公开涉及人机交互领域,尤其涉及一种移动终端的支付方法、移动终端的支付装置、计算机可读存储介质与移动终端。The present disclosure relates to the field of human-computer interaction, and in particular, to a payment method for a mobile terminal, a payment device for a mobile terminal, a computer-readable storage medium, and a mobile terminal.
背景技术Background technique
随着手机等移动终端的高度普及,移动支付已成为人们日常使用的主要支付方式之一。然而,目前的移动支付操作过程较为繁琐,例如用户拿出锁屏状态下的手机进行支付时,需要先后进行退出锁屏、选择App(Application,应用程序)、点击支付选项等多个操作,较为不便且耗时。With the high popularity of mobile terminals such as mobile phones, mobile payment has become one of the main payment methods for people's daily use. However, the current mobile payment operation process is relatively cumbersome. For example, when a user takes out the mobile phone in the locked screen state to pay, he needs to perform multiple operations such as exiting the lock screen, selecting an App (Application, application), and clicking the payment option. Inconvenient and time consuming.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种移动终端的支付方法、移动终端的支付装置、计算机可读存储介质与移动终端。The present disclosure provides a payment method for a mobile terminal, a payment device for the mobile terminal, a computer-readable storage medium and a mobile terminal.
根据本公开的第一方面,提供一种移动终端的支付方法,包括:在移动终端的锁屏界面下,接收支付触发操作;响应于所述支付触发操作,根据所述移动终端的转动角度,在多个支付模式中确定目标支付模式;显示所述目标支付模式对应的支付界面。According to a first aspect of the present disclosure, there is provided a payment method for a mobile terminal, comprising: receiving a payment trigger operation on a screen lock interface of the mobile terminal; in response to the payment trigger operation, according to the rotation angle of the mobile terminal, A target payment mode is determined among the multiple payment modes; and a payment interface corresponding to the target payment mode is displayed.
根据本公开的第二方面,提供一种移动终端的支付装置,包括处理器与存储器,所述处理器用于执行所述存储器中存储的以下程序模块:操作接收模块,被配置为在移动终端的锁屏界面下,接收支付触发操作;支付模式确定模块,被配置为响应于所述支付触发操作,根据所述移动终端的转动角度,在多个支付模式中确定目标支付模式;界面显示控制模块,被配置为显示所述目标支付模式对应的支付界面。According to a second aspect of the present disclosure, there is provided a payment device for a mobile terminal, comprising a processor and a memory, the processor is configured to execute the following program modules stored in the memory: an operation receiving module configured to Under the lock screen interface, a payment trigger operation is received; a payment mode determination module is configured to, in response to the payment trigger operation, determine a target payment mode among multiple payment modes according to the rotation angle of the mobile terminal; the interface display control module , which is configured to display a payment interface corresponding to the target payment mode.
根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面的移动终端的支付方法及其可能的实现方式。According to a third aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, realizes the payment method of the mobile terminal of the above-mentioned first aspect and possible implementations thereof .
根据本公开的第四方面,提供一种移动终端,包括:处理器;存储器,用于存储所述处理器的可执行指令;角度传感器,用于检测所述移动终端的角度;以及显示器,用于显示用户界面,所述用户界面包括锁屏界面与支付界面;其中,所述处理器配置为经由执行所述可执行指令来执行上述第一方面的移动终端的支付方法及其可能的实现方式。According to a fourth aspect of the present disclosure, there is provided a mobile terminal, comprising: a processor; a memory for storing executable instructions of the processor; an angle sensor for detecting an angle of the mobile terminal; and a display for In displaying a user interface, the user interface includes a lock screen interface and a payment interface; wherein, the processor is configured to execute the mobile terminal payment method of the first aspect and possible implementations thereof by executing the executable instructions .
附图说明Description of drawings
图1示出本示例性实施方式中一种移动终端的结构图;FIG. 1 shows a structural diagram of a mobile terminal in this exemplary embodiment;
图2示出本示例性实施方式中一种移动终端的支付方法的流程图;FIG. 2 shows a flow chart of a payment method of a mobile terminal in this exemplary embodiment;
图3示出本示例性实施方式中一种息屏界面的示意图;FIG. 3 shows a schematic diagram of an information screen interface in this exemplary embodiment;
图4A示出本示例性实施方式中一种锁屏壁纸界面的示意图;FIG. 4A shows a schematic diagram of a lock screen wallpaper interface in this exemplary embodiment;
图4B示出本示例性实施方式中另一种锁屏壁纸界面的示意图;FIG. 4B shows a schematic diagram of another lock screen wallpaper interface in this exemplary embodiment;
图5示出本示例性实施方式中扫码支付模式与被扫码支付模式的示意图;FIG. 5 shows a schematic diagram of the scanning code payment mode and the scanning code payment mode in this exemplary embodiment;
图6A与图6B示出本示例性实施方式中进行扫码支付的示意图;6A and 6B show schematic diagrams of scanning code payment in this exemplary embodiment;
图7A至图7D示出本示例性实施方式中进行被扫码支付的示意图;7A to 7D show schematic diagrams of scanning code payment in this exemplary embodiment;
图8A与图8B示出本示例性实施方式中提示信息的示意图;8A and 8B show schematic diagrams of prompt information in this exemplary embodiment;
图9A示出本示例性实施方式中扫码支付界面的示意图;FIG. 9A shows a schematic diagram of a code scanning payment interface in this exemplary embodiment;
图9B示出本示例性实施方式中被扫码支付界面的示意图;FIG. 9B shows a schematic diagram of the scanned code payment interface in this exemplary embodiment;
图10示出本示例性实施方式中一种显示支付界面方法的流程图;FIG. 10 shows a flowchart of a method for displaying a payment interface in this exemplary embodiment;
图11示出本示例性实施方式中一种移动终端的支付装置的结构图;FIG. 11 shows a structural diagram of a payment device of a mobile terminal in this exemplary embodiment;
图12示出本示例性实施方式中另一种移动终端的支付装置的结构图。FIG. 12 shows a structural diagram of another payment device of a mobile terminal in this exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略特定细节中的一个或更多,或者可 以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
移动支付包括扫码支付模式与被扫码支付模式。扫码支付模式是指付款方扫描收款方的支付码(如二维码)进行支付,如大多数支付App中设有“扫一扫”功能,用于启动扫码支付模式。被扫码支付模式是指付款方被收款方扫描支付码(如条形的付款码)进行支付,如大多数支付App中设有“收付款”或者“向商家付款”功能,用于启动被扫码支付模式。相关技术中,需要用户在支付App中选择相应的功能,以启动对应的支付模式,从而进一步增加了操作步骤,加剧了操作过程繁琐的问题。Mobile payment includes scanning code payment mode and scanning code payment mode. The scan code payment mode means that the payer scans the payee's payment code (such as a QR code) to make payment. For example, most payment apps have a "scan" function to activate the scan code payment mode. The code-scanned payment mode means that the payer is paid by the payee by scanning the payment code (such as a bar-shaped payment code). Scanned code payment mode. In the related art, the user is required to select a corresponding function in the payment App to activate the corresponding payment mode, thereby further increasing the operation steps and exacerbating the problem of cumbersome operation process.
鉴于上述问题,本公开的示例性实施方式提供一种移动终端以及移动终端的支付方法。其中,该移动终端用于执行该支付方法。In view of the above problems, exemplary embodiments of the present disclosure provide a mobile terminal and a payment method for the mobile terminal. Wherein, the mobile terminal is used to execute the payment method.
本示例性实施方式中,移动终端可以包括:处理器,存储器,角度传感器与显示器。其中,存储器用于存储处理器的可执行指令,也可以存储应用数据,如图像、音频等;角度传感器用于检测移动终端的角度,如可以是方向传感器、陀螺仪传感器、重力传感器等,或其中多种传感器的组合;显示器用于显示用户界面,包括锁屏界面、支付界面等;处理器配置为经由执行可执行指令来执行本示例性实施方式中的支付方法。In this exemplary embodiment, the mobile terminal may include: a processor, a memory, an angle sensor and a display. Among them, the memory is used to store executable instructions of the processor, and can also store application data, such as images, audio, etc.; the angle sensor is used to detect the angle of the mobile terminal, such as a direction sensor, a gyroscope sensor, a gravity sensor, etc., or A combination of a variety of sensors; a display for displaying a user interface, including a lock screen interface, a payment interface, etc.; the processor is configured to execute the payment method in this exemplary embodiment by executing executable instructions.
下面以图1中的移动终端100为例,对本公开实施方式中移动终端的构造进行示例性说明。本领域技术人员应当理解,移动终端可以包括比图1中更多或更少的部件。The following takes the mobile terminal 100 in FIG. 1 as an example to illustrate the structure of the mobile terminal in the embodiment of the present disclosure. It should be understood by those skilled in the art that the mobile terminal may include more or fewer components than those shown in FIG. 1 .
如图1所示,移动终端100具体可以包括:处理器110、内部存储器121、外部存储器接口122、USB(Universal Serial Bus,通用串行总线)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、移动通信模块150、无线通信模块160、音频模块170、扬声器171、受话器172、麦克风173、耳机接口174、传感器模块180、显示器190、摄像模组191、指示器192、马达193、按键194以及SIM(Subscriber Identification Module,用户标识模块)卡接口195等。As shown in FIG. 1 , the mobile terminal 100 may specifically include: a processor 110, an internal memory 121, an external memory interface 122, a USB (Universal Serial Bus, Universal Serial Bus) interface 130, a charging management module 140, a power management module 141, Battery 142, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 171, Receiver 172, Microphone 173, Headphone Interface 174, Sensor Module 180, Display 190, Camera Module 191, Indicator 192, a motor 193, a button 194, a SIM (Subscriber Identification Module, subscriber identification module) card interface 195, and the like.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括AP(Application Processor,应用处理器)、调制解调处理器、GPU(Graphics Processing Unit,图形处理器)、ISP(Image Signal Processor,图像信号处理器)、控制器、编码器、解码器、DSP(Digital Signal Processor,数字信号处理器)、基带处理器和/或NPU(Neural-Network Processing Unit,神经网络处理器)等。The processor 110 may include one or more processing units, for example, the processor 110 may include an AP (Application Processor, application processor), a modem processor, a GPU (Graphics Processing Unit, graphics processor), an ISP (Image Signal Processor, image signal processor), controller, encoder, decoder, DSP (Digital Signal Processor, digital signal processor), baseband processor and/or NPU (Neural-Network Processing Unit, neural network processor), etc.
在一种实施方式中,处理器110可以包括一个或多个接口,通过不同的接口和移动终端100的其他部件形成连接。In one embodiment, the processor 110 may include one or more interfaces through which connections are formed with other components of the mobile terminal 100 .
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括易失性存储器与非易失性存储器。处理器110通过运行存储在内部存储器121的指令,执行移动终端100的各种功能应用以及数据处理。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include volatile memory and nonvolatile memory. The processor 110 executes various functional applications and data processing of the mobile terminal 100 by executing the instructions stored in the internal memory 121 .
外部存储器接口122可以用于连接外部存储器,例如Micro SD卡,实现扩展移动终端100的存储能力。外部存储器通过外部存储器接口122与处理器110通信,实现数据存储功能,例如存储图像、音频等文件。The external memory interface 122 can be used to connect an external memory, such as a Micro SD card, so as to expand the storage capacity of the mobile terminal 100. The external memory communicates with the processor 110 through the external memory interface 122 to realize data storage functions, such as storing files such as images and audios.
USB接口130是符合USB标准规范的接口,可以用于连接充电器为移动终端100充电,也可以连接耳机或其他电子设备。The USB interface 130 is an interface conforming to the USB standard specification, and can be used to connect a charger to charge the mobile terminal 100, and can also be connected to an earphone or other electronic devices.
充电管理模块140用于从充电器接收充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为设备供电;电源管理模块141还可以监测电池的状态。The charging management module 140 is used to receive charging input from the charger. While charging the battery 142, the charging management module 140 can also supply power to the device through the power management module 141; the power management module 141 can also monitor the state of the battery.
移动终端100的无线通信功能可以通过天线1、天线2、移动通信模块150、无线通信模块160、调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。移动通信模块150可以提供应用在移动终端100上的包括2G/3G/4G/5G等无线通信解决方案。无线通信模块160可以提供应用在移动终端100上的包括WLAN(Wireless Local Area Networks,无线局域网)(如Wi-Fi(Wireless Fidelity,无线保真)网络)、BT(Bluetooth,蓝牙)、GNSS(Global Navigation Satellite System,全球导航卫星系统)、FM(Frequency Modulation,调频)、NFC(Near Field Communication,近距离无线通信技术)、IR(Infrared,红外技术)等无线通信解决方案。The wireless communication function of the mobile terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like. Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G and the like applied on the mobile terminal 100 . The wireless communication module 160 can provide applications on the mobile terminal 100 including WLAN (Wireless Local Area Networks, wireless local area network) (such as Wi-Fi (Wireless Fidelity, wireless fidelity) network), BT (Bluetooth, Bluetooth), GNSS (Global Navigation Satellite System, global navigation satellite system), FM (Frequency Modulation, frequency modulation), NFC (Near Field Communication, short-range wireless communication technology), IR (Infrared, infrared technology) and other wireless communication solutions.
显示器190包括显示面板。显示面板可以采用液晶显示屏(Liquid Crystal Display,LCD),有机发光二极管(Organic Light-Emitting Diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(Active-Matrix Organic Light Emitting Diode,AMOLED),柔性发光二极管(Flexlight-Emitting Diode,FLED)等。移动终端100可以通过GPU、显示器190及AP等实现显示功能,显示用户界面。例如, 当用户不使用移动终端100时,显示器190进入休眠状态(主要是指显示面板休眠,即通常所说的息屏或灭屏状态),可以不显示任何内容;当用户唤醒屏幕时,显示器190进入工作状态,可以首先显示锁屏界面;当用户通过一定的操作进行支付时,显示器190可以显示相应的支付界面等。The display 190 includes a display panel. The display panel can be a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), an Active Matrix Organic Light Emitting Diode or an Active Matrix Organic Light Emitting Diode (Active-Matrix Organic Light). Emitting Diode, AMOLED), flexible light-emitting diode (Flexlight-Emitting Diode, FLED), etc. The mobile terminal 100 may implement a display function through a GPU, a display 190, an AP, etc., and display a user interface. For example, when the user does not use the mobile terminal 100, the display 190 enters a sleep state (mainly refers to the sleep state of the display panel, that is, the so-called off-screen or off-screen state), and may not display any content; when the user wakes up the screen, the display 190 enters the working state, and the lock screen interface can be displayed first; when the user makes payment through a certain operation, the display 190 can display the corresponding payment interface and the like.
移动终端100可以通过ISP、摄像模组191、编码器、解码器、GPU、显示器190及AP等实现图像采集与拍摄功能。移动终端100可以包括一个或多个摄像模组191,每个摄像模组191又可以包括一个或多个摄像头。例如,移动终端100包括前置摄像模组与后置摄像模组,前置摄像模组包括一个前置摄像头,后置摄像模组包括三个后置摄像头。The mobile terminal 100 can realize image acquisition and shooting functions through the ISP, the camera module 191, the encoder, the decoder, the GPU, the display 190, the AP, and the like. The mobile terminal 100 may include one or more camera modules 191, and each camera module 191 may further include one or more cameras. For example, the mobile terminal 100 includes a front camera module and a rear camera module, the front camera module includes one front camera, and the rear camera module includes three rear cameras.
移动终端100可以通过音频模块170、扬声器171、受话器172、麦克风173、耳机接口174及AP等实现音频功能。The mobile terminal 100 may implement audio functions through an audio module 170, a speaker 171, a receiver 172, a microphone 173, an earphone interface 174, an AP, and the like.
传感器模块180可以包括不同类型与不同功能的传感器,以实现相应的感应检测功能。图1示例性示出传感器模块180包括触摸传感器1801、角度传感器1802、指纹传感器1803、结构光传感器1804。The sensor module 180 may include sensors of different types and functions to implement corresponding sensing detection functions. FIG. 1 exemplarily shows that the sensor module 180 includes a touch sensor 1801 , an angle sensor 1802 , a fingerprint sensor 1803 , and a structured light sensor 1804 .
触摸传感器1801用于感应用户的触摸操作。在一种实施方式中,触摸传感器1801可以采用电容感应,包括触摸板和电容器件,电容器件位于触摸板的排线上,形成一定的阵列,通过电容的变化检测触摸点数量、触摸坐标等信息,然后通过I2C接口(Inter-Integrated Circuit,集成电路接口)、SPI接口(Serial Peripheral Interface,串行外设接口)等与处理器110进行通信。The touch sensor 1801 is used to sense a user's touch operation. In one embodiment, the touch sensor 1801 can use capacitive sensing, including a touch pad and a capacitive device. The capacitive device is located on the line of the touch pad to form a certain array, and the number of touch points, touch coordinates and other information are detected through changes in capacitance. , and then communicate with the processor 110 through an I2C interface (Inter-Integrated Circuit, integrated circuit interface), an SPI interface (Serial Peripheral Interface, serial peripheral interface), etc.
在一种实施方式中,触摸传感器1801可以集成在显示器190中,例如采用透明材料集成在显示面板中,形成可触摸的显示屏,即触摸屏。In one embodiment, the touch sensor 1801 may be integrated in the display 190, for example, in a display panel using a transparent material to form a touchable display screen, ie, a touch screen.
角度传感器1802用于检测移动终端100的角度,该角度可以是移动终端100内部三轴的角度,用于表示移动终端100的姿态。在一种实施方式中,角度传感器1802可以是IMU(Inertia Measurement Unit,惯性测量单元),包括加速度传感器与陀螺仪传感器,还可以包括磁力传感器,通过将多种传感器测量的数据进行解算,得到移动终端100的角度。The angle sensor 1802 is used to detect the angle of the mobile terminal 100 , and the angle may be an angle of three axes inside the mobile terminal 100 , and is used to represent the posture of the mobile terminal 100 . In one embodiment, the angle sensor 1802 may be an IMU (Inertia Measurement Unit, inertial measurement unit), including an acceleration sensor and a gyroscope sensor, and may also include a magnetic force sensor. The angle of the mobile terminal 100 .
指纹传感器1803用于采集用户的指纹信息。根据实现原理的不同,指纹传感器可以包括光学传感器、电容传感器、超声波传感器等。一般的,指纹传感器1803设置在移动终端100的特定位置,形成指纹传感区域,当用户手指接触该区域时,指纹传感器1803采集用户的指纹信息。例如,指纹传感器1803可以设置在移动终端100的按键194下,也可以设置在移动终端100的背部。The fingerprint sensor 1803 is used to collect the user's fingerprint information. According to different implementation principles, the fingerprint sensor may include an optical sensor, a capacitive sensor, an ultrasonic sensor, and the like. Generally, the fingerprint sensor 1803 is arranged at a specific position of the mobile terminal 100 to form a fingerprint sensing area. When the user's finger touches the area, the fingerprint sensor 1803 collects the user's fingerprint information. For example, the fingerprint sensor 1803 may be disposed under the button 194 of the mobile terminal 100 , or may be disposed on the back of the mobile terminal 100 .
在一种实施方式中,指纹传感器1803可以集成在显示器190的内部或下方,使得指纹传感区域形成于显示屏内,甚至整个显示屏区域都可成为指纹传感区域,实现屏下指纹采集或全屏指纹采集。In one embodiment, the fingerprint sensor 1803 can be integrated inside or below the display 190, so that the fingerprint sensing area is formed in the display screen, and even the entire display area can become the fingerprint sensing area, so as to realize the fingerprint collection or the fingerprint sensor under the screen. Full screen fingerprint collection.
结构光传感器1804用于检测被测对象的表面结构信息。其原理为:通过投射器向被测对象主动投射光信号,根据光信号在被测对象表面发生的变形,计算被测对象的表面结构信息。移动终端100上的结构光传感器1804大多集成在摄像模组191中,例如,结构光传感器1804集成在前置摄像模组中,与前置摄像头配合实现人脸识别等功能。The structured light sensor 1804 is used to detect the surface structure information of the measured object. The principle is: actively project light signals to the measured object through the projector, and calculate the surface structure information of the measured object according to the deformation of the light signal on the surface of the measured object. The structured light sensor 1804 on the mobile terminal 100 is mostly integrated in the camera module 191. For example, the structured light sensor 1804 is integrated in the front camera module, and cooperates with the front camera to realize functions such as face recognition.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。马达193可以产生振动提示,也可以用于触摸振动反馈等。按键194包括开机键,音量键,Home键等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like. The motor 193 can generate vibration prompts, and can also be used for touch vibration feedback and the like. The buttons 194 include a power button, a volume button, a Home button, and the like.
移动终端100可以支持一个或多个SIM卡接口195,用于连接SIM卡,以实现通话与移动通信等功能。The mobile terminal 100 may support one or more SIM card interfaces 195 for connecting the SIM cards to realize functions such as calling and mobile communication.
下面结合图2对本公开实施方式中的移动终端的支付方法进行说明。参考图2所示,该方法的示例性流程包括:The payment method of the mobile terminal in the embodiment of the present disclosure will be described below with reference to FIG. 2 . Referring to Figure 2, an exemplary flow of the method includes:
步骤S210,在移动终端的锁屏界面下,接收支付触发操作;Step S210, receiving a payment triggering operation under the lock screen interface of the mobile terminal;
步骤S220,响应于支付触发操作,根据移动终端的转动角度,在多个支付模式中确定目标支付模式;Step S220, in response to the payment triggering operation, according to the rotation angle of the mobile terminal, determine a target payment mode among multiple payment modes;
步骤S230,显示目标支付模式对应的支付界面。Step S230, displaying a payment interface corresponding to the target payment mode.
通过上述方法,一方面,实现了从锁屏界面快速进入支付界面,简化了用户操作过程,缩短了支付处理时间,提高了用户体验。另一方面,根据用户操作过程中移动终端的转动角度,来识别用户期望的支付模式,进而显示对应的支付界面,使得本方案支持扫码支付与被扫码支付等多种支付模式,且无需用户手动选择支付模式,从而进一步简化了用户操作过程。再一方面,本方案基于目前手机等移动终端的常规硬件配置即可实现,无需增加更多部件,因此实现成本较低。Through the above method, on the one hand, it is possible to quickly enter the payment interface from the lock screen interface, which simplifies the user operation process, shortens the payment processing time, and improves the user experience. On the other hand, according to the rotation angle of the mobile terminal during the user's operation, the user's desired payment mode is identified, and then the corresponding payment interface is displayed, so that this solution supports multiple payment modes such as scanning code payment and scanning code payment, and does not require the user Manual selection of payment modes further simplifies the user process. On the other hand, this solution can be implemented based on the conventional hardware configuration of mobile terminals such as mobile phones at present, without adding more components, so the implementation cost is low.
下面对上述每个步骤进行具体说明。Each of the above steps will be described in detail below.
参考图2,步骤S210中,在移动终端的锁屏界面下,接收支付触发操作。Referring to FIG. 2, in step S210, a payment trigger operation is received under the lock screen interface of the mobile terminal.
其中,移动终端可以在待机状态下保持显示锁屏界面,或者移动终端可以在待机状态下保持“黑屏”,并在达到一定的条件时显示锁屏界面。The mobile terminal may keep displaying the lock screen interface in the standby state, or the mobile terminal may keep the "black screen" in the standby state, and display the lock screen interface when certain conditions are met.
在一种实施方式中,可以根据移动终端的位姿变化信息显示锁屏界面。位姿变化信息可以通过移动 终端内置的角度传感器等检测得到,可用于判断移动终端的姿态。举例来说,根据移动终端内置的加速度传感器与陀螺仪传感器计算移动终端的位姿变化数值,当位姿变化数值满足预设的位姿变化条件时,判断用户拿起移动终端并呈握持姿态,进而判断用户需要使用移动终端,显示锁屏界面。In one embodiment, the lock screen interface may be displayed according to the pose change information of the mobile terminal. The posture change information can be detected by the angle sensor built in the mobile terminal, etc., and can be used to judge the posture of the mobile terminal. For example, the value of the pose change of the mobile terminal is calculated according to the built-in acceleration sensor and the gyroscope sensor of the mobile terminal, and when the value of the pose change meets the preset pose change condition, it is determined that the user picks up the mobile terminal and assumes a holding attitude. , and then determine that the user needs to use the mobile terminal, and display the lock screen interface.
在另一种实施方式中,可以根据接收到的唤醒操作显示锁屏界面。唤醒操作包括但不限于:触摸移动终端的显示屏;对移动终端的实体按键进行操作,如点击开机键或Home键;将移动终端拿到面前,使移动终端的AON摄像头(Always-ON,常开摄像头)检测到人脸,或者在AON摄像头前做出特定的唤醒手势,如左右摇手,竖大拇指等;说出特定的语音,如“我要使用手机”、“唤醒屏幕”等预设语句,使移动终端通过识别语音内容来确定用户使用移动终端的意图。In another embodiment, a lock screen interface may be displayed according to the received wake-up operation. The wake-up operation includes but is not limited to: touching the display screen of the mobile terminal; operating the physical buttons of the mobile terminal, such as clicking the power button or the Home button; holding the mobile terminal in front of the Turn on the camera) to detect a face, or make a specific wake-up gesture in front of the AON camera, such as shaking hands left and right, thumbs up, etc.; say a specific voice, such as "I want to use the phone", "wake up the screen" and other presets sentence, so that the mobile terminal can determine the user's intention to use the mobile terminal by recognizing the voice content.
此外,还可以由用户自定义设置唤醒锁屏界面的条件,当达到该条件时,将移动终端从“黑屏”状态下唤醒,以显示锁屏界面。In addition, the condition for waking up the lock screen interface can also be set by the user, and when the condition is reached, the mobile terminal is woken up from the "black screen" state to display the lock screen interface.
支付触发操作是用于触发启动移动支付功能的操作,由用户在锁屏界面下进行。本公开对于锁屏界面的具体形式以及显示内容不做限定。下面通过两种具体的锁屏界面,对支付触发操作进行示例性说明:The payment triggering operation is an operation used to trigger the activation of the mobile payment function, which is performed by the user under the lock screen interface. The present disclosure does not limit the specific form and display content of the lock screen interface. The following is an exemplary description of the payment triggering operation through two specific lock screen interfaces:
①息屏界面。一般的,移动终端在息屏状态下,屏幕不显示任何内容,为黑屏。目前大部分手机等移动终端都增加了息屏显示功能,即在息屏状态下,屏幕中也可以显示少量的内容,以提到信息提示、美观等作用,且屏幕无需完全亮起,功耗相对较低,称此状态下的屏幕界面为息屏界面。①Interactive screen interface. Generally, when the mobile terminal is in an off-screen state, the screen does not display any content, which is a black screen. At present, most mobile terminals such as mobile phones have added the screen-off display function, that is, in the screen-off state, a small amount of content can also be displayed on the screen to mention the functions of information prompts and aesthetics, and the screen does not need to be fully turned on, reducing power consumption. Relatively low, the screen interface in this state is called an off-screen interface.
参考图3所示,息屏界面300中无背景内容,其中可以显示时间与一些标识,包括指纹解锁标识301,手电筒标识302,相机标识303与支付标识304,各标识用于触发相应的功能。息屏界面300属于锁屏界面的一种,可视为屏幕未完全亮起的锁屏界面。在息屏界面300下,用户可以进行支付触发操作,例如对息屏界面300中的支付标识304进行点击、长按、滑动等预设操作,以触发激活支付功能。Referring to FIG. 3 , there is no background content in the information screen interface 300, and the time and some identifiers can be displayed, including a fingerprint unlocking identifier 301, a flashlight identifier 302, a camera identifier 303 and a payment identifier 304, each of which is used to trigger a corresponding function. The information screen interface 300 belongs to a type of lock screen interface, and can be regarded as a lock screen interface in which the screen is not fully lit. Under the screen-on-screen interface 300, the user can perform a payment triggering operation, for example, performing preset operations such as clicking, long-pressing, sliding, etc. on the payment logo 304 in the screen-on-screen interface 300 to trigger the activation of the payment function.
②锁屏壁纸界面。锁屏壁纸界面是以锁屏壁纸作为背景并加以显示的锁屏界面,可视为屏幕完全亮起的锁屏界面,即通常所说的锁屏界面。与息屏界面相比,锁屏壁纸界面的区别在于:屏幕完全亮起,显示有特定的背景,且锁屏壁纸界面中的内容通常比息屏界面多。②Lock screen wallpaper interface. The lock screen wallpaper interface uses the lock screen wallpaper as the background and displays the lock screen interface, which can be regarded as the lock screen interface with the screen completely lit, which is commonly referred to as the lock screen interface. Compared with the lock screen wallpaper interface, the difference between the lock screen wallpaper interface is that the screen is fully lit and displayed with a specific background, and the content in the lock screen wallpaper interface is usually more than that of the lock screen interface.
参考图4A与图4B所示,锁屏壁纸界面400中显示有条纹图案的背景,还包括时间、电量等信息,以及指纹解锁标识401,手电筒标识402,相机标识403,支付标识404与锁定标识405。锁定标识405用于显示移动终端的锁定/解锁状态,如图4A中的锁定标识405显示当前为锁定状态,图4B中的锁定标识405显示当前为解锁状态。需要说明的是,无论移动终端当前处于锁定状态还是解锁状态,其所显示的锁屏壁纸界面400都属于锁屏界面。也就是说,显示锁屏界面并不意味着移动终端一定处于锁定状态。举例来说,当移动终端处于锁定状态时,可以显示图4A的锁屏壁纸界面,此时用户可以进行支付触发操作,例如对支付标识404进行预设操作;用户对移动终端解锁后,例如用户将手指触摸指纹解锁标识401以进行解锁后,移动终端可以不立即从锁屏壁纸界面400跳转至其他界面,仅仅呈现锁定标识405的变化,如图4B所示,以表示移动终端的锁定/解锁状态的变化,虽然移动终端已被解锁,但此时仍显示锁屏壁纸界面400,用户也可以进行支付触发操作。Referring to FIGS. 4A and 4B , a background with a striped pattern is displayed in the lock screen wallpaper interface 400, and also includes information such as time, power, etc., as well as a fingerprint unlocking mark 401, a flashlight mark 402, a camera mark 403, a payment mark 404 and a lock mark. 405. The lock mark 405 is used to display the locked/unlocked state of the mobile terminal. The lock mark 405 in FIG. 4A shows that it is currently locked, and the lock mark 405 in FIG. 4B shows that it is currently unlocked. It should be noted that, regardless of whether the mobile terminal is currently in a locked state or an unlocked state, the lock screen wallpaper interface 400 displayed by the mobile terminal belongs to the lock screen interface. That is to say, displaying the lock screen interface does not mean that the mobile terminal must be in a locked state. For example, when the mobile terminal is in a locked state, the lock screen wallpaper interface of FIG. 4A can be displayed, and the user can perform a payment trigger operation, such as performing a preset operation on the payment identifier 404; after the user unlocks the mobile terminal, for example, the user After touching the fingerprint unlocking sign 401 with a finger to unlock, the mobile terminal may not immediately jump from the lock screen wallpaper interface 400 to other interfaces, but only present the change of the locking sign 405, as shown in FIG. When the unlocked state changes, although the mobile terminal has been unlocked, the lock screen wallpaper interface 400 is still displayed at this time, and the user can also perform a payment trigger operation.
需要说明的是,可以设置移动终端在待机状态下保持显示息屏界面,响应于达到一定的条件而显示锁屏壁纸界面,例如根据移动终端的位姿变化信息或者用户进行的唤醒操作,从息屏界面进入锁屏壁纸界面。也可以设置在待机状态下保持完全的黑屏,响应于达到一种条件而显示息屏界面,响应于达到另一种条件而显示锁屏壁纸界面。例如,移动终端检测到用户无操作的时间超过1分钟时,将屏幕关闭,显示完全的黑屏;当根据移动终端的位姿变化信息判断当前为用户握持姿态时,显示息屏界面;当感应到用户进行的唤醒操作时,显示锁屏壁纸界面。It should be noted that the mobile terminal can be set to keep displaying the information screen interface in the standby state, and display the lock screen wallpaper interface in response to reaching certain conditions, for example, according to the posture change information of the mobile terminal or the wake-up operation performed by the user, from the information screen. The screen interface enters the lock screen wallpaper interface. It is also possible to set the screen to remain completely black in the standby state, display the screen-off interface in response to one condition being met, and display the lock screen wallpaper interface in response to reaching another condition. For example, when the mobile terminal detects that the user has been inactive for more than 1 minute, the screen is turned off and a completely black screen is displayed; when it is judged that the user is currently holding the posture according to the posture change information of the mobile terminal, the screen is displayed; When the user performs a wake-up operation, the lock screen wallpaper interface is displayed.
以上提供了息屏界面与锁屏壁纸界面这两种锁屏界面。可以设置仅在息屏界面,或仅在锁屏壁纸界面中,允许用户进行支付触发操作,例如仅在息屏界面中设置支付标识,或者仅在锁屏壁纸界面中设置支付标识。也可以设置在息屏界面与锁屏壁纸界面中均允许用户进行支付触发操作,例如在息屏界面与锁屏壁纸界面中均设置支付标识。The above provides two kinds of lock screen interfaces, namely the interest screen interface and the lock screen wallpaper interface. It can be set to allow the user to perform payment triggering operations only on the off-screen interface or only on the lock-screen wallpaper interface, such as setting the payment logo only on the off-screen interface, or only setting the payment logo on the lock-screen wallpaper interface. It can also be set to allow the user to perform a payment triggering operation in both the screen-off interface and the lock-screen wallpaper interface, for example, a payment logo is set in both the screen-off interface and the lock-screen wallpaper interface.
由上述图3、图4A与图4B的相关内容可知,支付触发操作可以是在锁屏界面中针对支付标识的预设操作,例如对支付标识进行点击、长按或滑动的操作。此外,用户还可以通过其他方式进行支付触发操作,包括但不限于:3, 4A and 4B, the payment trigger operation may be a preset operation for the payment logo in the lock screen interface, such as an operation of clicking, long pressing or sliding on the payment logo. In addition, users can also perform payment trigger operations in other ways, including but not limited to:
将移动终端进行特定的位姿变化,以满足预设的位姿变化条件,例如左右摇一摇,或者将移动终端从水平拿起为竖直的姿态等;需要说明的是,用于支付触发的位姿变化条件与上述用于唤起锁屏界面的位姿变化条件可以相同,也可以不同,例如两种位姿变化条件均为左右摇一摇,在移动终端黑屏状态下左右摇一摇,唤起锁屏界面,在锁屏界面下左右摇一摇,则实现支付触发操作;The mobile terminal is subjected to a specific pose change to meet the preset pose change conditions, such as shaking it left and right, or picking up the mobile terminal from a horizontal to a vertical pose; it should be noted that it is used for payment triggering The pose change conditions of the mobile terminal may be the same as or different from the above-mentioned pose change conditions for evoking the lock screen interface. For example, the two pose change conditions are shake left and right. Arouse the lock screen interface, shake left and right under the lock screen interface, then realize the payment trigger operation;
进行支付触发手势操作,例如在锁屏界面中按照预设的支付触发轨迹滑动,或者在AON摄像头前做出支付触发手势;Perform payment trigger gesture operations, such as sliding according to the preset payment trigger track in the lock screen interface, or make a payment trigger gesture in front of the AON camera;
对移动终端的实体按键进行用于触发支付的特定操作,如按住开机键的同时按两下音量“+”键;Perform specific operations on the physical buttons of the mobile terminal to trigger payment, such as pressing the volume "+" button twice while holding down the power button;
说出支付触发语音,如“我要付款”、“请打开支付页面”等预设语句,使移动终端通过识别语音内容来确定用户进行支付的意图。Say the payment trigger voice, such as "I want to pay", "Please open the payment page" and other preset sentences, so that the mobile terminal can determine the user's intention to pay by recognizing the voice content.
如果用户进行支付时移动终端处于锁定状态下,则用户需要对移动终端解锁,解锁后才能完成支付,由此提高支付的安全性。为了实现解锁,在一种实施方式中,还可以在锁屏界面下获取解锁信息。解锁信息为用户进行解锁操作时输入的信息,包括但不限于:用于解锁的密码,如数字、字母等字符密码,手势密码(九宫格手势密码)等;用户进行指纹解锁时输入的指纹信息;用户进行人脸解锁时由前置摄像头采集的人脸信息;用户进行语音解锁时输入的语音信息。然后,移动终端可以根据获取到的解锁信息解除对移动终端的锁定,具体地,移动终端对解锁信息进行验证,验证通过后将锁定状态切换为解锁状态,此时可以显示锁屏界面以外的内容,如执行步骤S230以显示支付界面。If the mobile terminal is in a locked state when the user makes payment, the user needs to unlock the mobile terminal, and the payment can be completed only after unlocking, thereby improving the security of payment. In order to achieve unlocking, in an implementation manner, unlocking information may also be obtained under the lock screen interface. Unlocking information is the information entered by the user during the unlocking operation, including but not limited to: passwords used for unlocking, such as numbers, letters and other character passwords, gesture passwords (nine-square gesture passwords), etc.; fingerprint information entered by the user when fingerprint unlocking; The face information collected by the front camera when the user performs face unlocking; the voice information input when the user performs voice unlocking. Then, the mobile terminal can release the locking of the mobile terminal according to the obtained unlocking information. Specifically, the mobile terminal verifies the unlocking information, and switches the locked state to the unlocked state after the verification is passed. At this time, content other than the lock screen interface can be displayed. , such as performing step S230 to display the payment interface.
由上可知,用户在锁屏界面下可以进行两种操作:解锁操作与支付触发操作。本公开对于这两种操作的顺序不做限定,示例性的,包括以下几种情况:As can be seen from the above, the user can perform two operations under the lock screen interface: unlock operation and payment trigger operation. The present disclosure does not limit the order of these two operations, and the examples include the following situations:
情况一、先进行解锁操作,后进行支付触发操作 Situation 1. The unlock operation is performed first, and then the payment trigger operation is performed.
以图4A与图4B为例,在图4A的锁屏壁纸界面400中,通过锁定标识405显示移动终端处于锁定状态,此时用户可以先将手指按压指纹解锁标识401以进行解锁操作;在解锁后,参考图4B所示,仍显示锁屏壁纸界面400,通过锁定标识405显示移动终端处于解锁状态,此时用户可以长按支付标识404以进行支付触发操作。Taking FIG. 4A and FIG. 4B as an example, in the lock screen wallpaper interface 400 of FIG. 4A, the mobile terminal is displayed in a locked state by the lock mark 405. At this time, the user can first press the fingerprint unlock mark 401 to perform the unlocking operation; Then, referring to FIG. 4B , the lock screen wallpaper interface 400 is still displayed, and the mobile terminal is displayed in an unlocked state by the lock mark 405 . At this time, the user can long press the payment mark 404 to perform a payment triggering operation.
在一种实施方式中,可以设置在完成解锁后,允许用户进行支付触发操作,这样在启动支付功能前进行了一次用户身份验证,提高了支付安全性。In one embodiment, after the unlocking is completed, the user is allowed to perform a payment triggering operation, so that a user identity verification is performed before the payment function is activated, which improves payment security.
情况二、先进行支付触发操作,后进行解锁操作Scenario 2: First perform the payment trigger operation, and then perform the unlocking operation
例如,在锁屏界面中,用户先进行支付触发操作,触发移动终端执行步骤S220以确定目标支付模式,并加载支付界面。在此过程中,用户可以进行解锁操作,这样在完成解锁后,可以快速进入支付界面,缩短了等待响应的时间。For example, in the lock screen interface, the user first performs a payment trigger operation, triggers the mobile terminal to execute step S220 to determine the target payment mode, and loads the payment interface. During this process, the user can perform the unlocking operation, so that after the unlocking is completed, the payment interface can be quickly entered, which shortens the time for waiting for a response.
情况三、同时进行解锁操作与支付触发操作 Case 3. Simultaneous unlocking operation and payment triggering operation
例如,锁屏界面中的支付标识属于指纹感应区域,用户长按支付标识以进行支付触发操作时,移动终端采集用户的指纹,完成指纹解锁操作,实际上将两个操作合并为一个操作,进一步简化了操作过程。或者,用户面对移动终端的前置摄像头进行支付触发操作时,前置摄像头采集用户的人脸信息,完成人脸解锁操作。又或者,用户一边进行支付触发操作,一边对着移动终端的麦克风录入语音,完成语音解锁操作。可见,同时进行解锁操作与支付触发操作更加方便省时。For example, the payment ID in the lock screen interface belongs to the fingerprint sensing area. When the user presses the payment ID for a long time to trigger the payment, the mobile terminal collects the user's fingerprint and completes the fingerprint unlocking operation. In fact, the two operations are combined into one operation, and further Simplified operation. Or, when the user performs a payment triggering operation facing the front camera of the mobile terminal, the front camera collects the user's face information to complete the face unlocking operation. Alternatively, while the user performs the payment triggering operation, the user enters a voice into the microphone of the mobile terminal to complete the voice unlocking operation. It can be seen that it is more convenient and time-saving to perform the unlocking operation and the payment triggering operation at the same time.
继续参考图2,步骤S220中,响应于支付触发操作,根据移动终端的转动角度,在多个支付模式中确定目标支付模式。Continuing to refer to FIG. 2 , in step S220, in response to the payment triggering operation, a target payment mode is determined among a plurality of payment modes according to the rotation angle of the mobile terminal.
多个支付模式可以包括扫码支付模式与被扫码支付模式。本示例性实施方式根据移动终端的转动角度,自动识别用户期望使用哪种支付模式,将该支付模式确定为目标支付模式。The multiple payment modes may include a scan code payment mode and a scanned code payment mode. This exemplary embodiment automatically identifies which payment mode the user desires to use according to the rotation angle of the mobile terminal, and determines the payment mode as the target payment mode.
图5示出了两种支付模式的示意性场景,用户在移动终端上进行操作(如进行支付触发操作或解锁操作)后,如果使用扫码支付模式,需要将摄像头对准收款方的支付码,扫描支付码识别支付信息,进行支付;如果使用被扫码支付模式,需要将自己的支付码呈现给收款方,如对准扫码枪等收款设备,被收款设备扫描支付码,进行支付。Figure 5 shows a schematic scenario of two payment modes. After the user performs an operation on the mobile terminal (such as a payment trigger operation or an unlock operation), if the scan code payment mode is used, the camera needs to be pointed at the payee's payment method. If you use the scanned code payment mode, you need to present your own payment code to the payee, such as aiming at a scanning device such as a code scanning gun, and the payee device scans the payment code , make a payment.
从用户手持移动终端进行操作到进行扫码支付的过程,以及从用户手持移动终端进行操作到进行被扫码支付的过程,这两种过程中移动终端的转动角度通常不同,由此可以根据转动角度来判断用户的支付意图,进而确定目标支付模式。The process from the user holding the mobile terminal to the scan code payment process, and the process from the user holding the mobile terminal to the scan code payment process, the rotation angle of the mobile terminal is usually different in these two processes. Therefore, according to the rotation angle To judge the user's payment intention, and then determine the target payment mode.
上述移动终端的转动角度可以是沿任意方向的转动角度,可以通过移动终端的轴的转动角度来表示。在一种实施方式中,步骤S220可以包括:根据移动终端的轴的转动角度确定目标支付模式。The above-mentioned rotation angle of the mobile terminal may be a rotation angle in any direction, and may be represented by the rotation angle of the axis of the mobile terminal. In one embodiment, step S220 may include: determining the target payment mode according to the rotation angle of the axis of the mobile terminal.
一般的,移动终端包括x,y,z三条轴,可以以其中任意一条或多条轴的转动角度来确定目标支付模式。下面分别从扫码支付模式与被扫码支付模式两方面进行说明。Generally, the mobile terminal includes three axes, x, y, and z, and the target payment mode can be determined by the rotation angle of any one or more axes. The following describes the payment mode by scanning the code and the payment mode by scanning the code.
扫码支付模式Scan code payment mode
结合图6A与图6B对扫码支付过程中移动终端的转动情况进行分析如下:With reference to Figure 6A and Figure 6B, the rotation of the mobile terminal during the scan code payment process is analyzed as follows:
首先对图6A与图6B中的坐标系进行说明。移动终端的正面610可以是屏幕所在的表面,与其相对的另一表面为背面620,可以是后置摄像头所在的表面。O BX BY BZ B为载体坐标系,载体即移动终端,载体坐标系的原点O B位于移动终端的中心,X B轴沿移动终端的宽度方向,Y B轴沿移动终端的长度方向,Z B轴垂直于正面610。载体坐标系是一个相对坐标系,原点的位置与各条轴的方向并非固定不变,而是随移动终端的运动而变化。X B、Y B、Z B为移动终端的三条轴,角度传感器可以检测这三条轴的转动角度。O nX nY nZ n为导航坐标系,可以采用惯性坐标系、地球坐标系、地理坐标系等绝对坐标系,本示例性实施方式中以东-北-天坐标系(ENU坐标系,是地理坐标系的一种)作为导航坐标系进行示例性 说明,导航坐标系的原点O n为观测中心,X n轴沿正东方向,Y n轴沿正北方向,Z n轴沿地球在O n点切平面的法线方向。假设在图6A左半图中,移动终端放置在水平桌面上,长度方向指向正北,宽度方向指向正东,并以移动终端的中心作为观测中心,则此时的导航坐标系O nX nY nZ n与载体坐标系O BX BY BZ B重合。 First, the coordinate system in FIG. 6A and FIG. 6B will be described. The front surface 610 of the mobile terminal may be the surface where the screen is located, and the other surface opposite to it is the back surface 620, which may be the surface where the rear camera is located. O B X B Y B Z B is the carrier coordinate system, the carrier is the mobile terminal, the origin O B of the carrier coordinate system is located in the center of the mobile terminal, the X B axis is along the width direction of the mobile terminal, and the Y B axis is along the length direction of the mobile terminal , the Z B axis is perpendicular to the front face 610 . The carrier coordinate system is a relative coordinate system. The position of the origin and the direction of each axis are not fixed, but change with the movement of the mobile terminal. X B , Y B , and Z B are the three axes of the mobile terminal, and the angle sensor can detect the rotation angles of these three axes. O n X n Y n Z n is a navigation coordinate system, and an absolute coordinate system such as an inertial coordinate system, an earth coordinate system, a geographic coordinate system, etc. can be used. In this exemplary embodiment, the east-north-sky coordinate system (ENU coordinate system, It is a kind of geographic coordinate system) as a navigation coordinate system for exemplary illustration, the origin O n of the navigation coordinate system is the observation center, the X n axis is along the due east direction, the Y n axis is along the due north direction, and the Z n axis is along the earth. On point the normal direction of the tangent plane. Assuming that in the left half of FIG. 6A, the mobile terminal is placed on a horizontal table, the length direction points to the north, the width direction points to the east, and the center of the mobile terminal is used as the observation center, then the navigation coordinate system at this time is O n X n Y n Z n coincides with the carrier coordinate system O B X B Y B Z B.
其次对移动终端的姿态进行分析。用户手持移动终端进行操作时,移动终端可能为以下两种姿态:Secondly, the posture of the mobile terminal is analyzed. When a user holds a mobile terminal to operate, the mobile terminal may be in the following two postures:
姿态一:用户低头手持移动终端,移动终端的正面610朝向或近似朝向上方,如图6A左半图所示。Attitude 1: the user holds the mobile terminal with his head lowered, and the front 610 of the mobile terminal faces or approximately faces upward, as shown in the left half of FIG. 6A .
姿态二:用户不低头手持移动终端,移动终端的正面610朝向用户面部,如图6B左半图所示。Posture 2: The user holds the mobile terminal without lowering his head, and the front 610 of the mobile terminal faces the user's face, as shown in the left half of FIG. 6B .
用户手持移动终端进行扫码支付时,移动终端可能为以下两种姿态:When a user holds a mobile terminal to scan the code for payment, the mobile terminal may be in the following two postures:
姿态三:用户对张贴在垂直或近似垂直平面(如墙面)上的二维码进行扫描,移动终端的背面620朝向该平面,如图6A右半图所示。Attitude 3: The user scans the two-dimensional code posted on a vertical or nearly vertical plane (eg, a wall), and the back 620 of the mobile terminal faces the plane, as shown in the right half of FIG. 6A .
姿态四:用户对张贴在水平或近似水平平面(如桌面)上的二维码进行扫描,移动终端的背面620朝向该平面,如图6B右半图所示。Attitude 4: The user scans the two-dimensional code posted on a horizontal or approximately horizontal plane (such as a desktop), and the back 620 of the mobile terminal faces the plane, as shown in the right half of FIG. 6B .
再次,对上述不同姿态间的变化情况进行列举可知,从用户手持移动终端进行操作到进行扫码支付的过程,移动终端的姿态变化包括四种情况:Thirdly, by enumerating the changes between the above different postures, it can be seen that from the process of the user holding the mobile terminal for operation to scanning the code for payment, the posture changes of the mobile terminal include four situations:
从姿态一变为姿态三,参考图6A所示,移动终端主要沿X n轴发生转动,具体为沿X n轴右手旋转约90度(可能还包括其他方向的微小转动),右手旋转是指右手大拇指指向转动轴,按照四指弯曲的方向旋转。该转动过程中X B轴的转动角度约为0度,Y B轴与Z B轴的转动角度约为90度,通过检测Y B轴与Z B轴的转动角度,可以确定移动终端的转动角度。 From attitude 1 to attitude 3, referring to FIG. 6A , the mobile terminal mainly rotates along the X n axis, specifically, the right hand rotates about 90 degrees along the X n axis (may also include small rotations in other directions). The right thumb points to the rotation axis and rotates in the direction of the four fingers. During the rotation process, the rotation angle of the X B axis is about 0 degrees, and the rotation angle between the Y B axis and the Z B axis is about 90 degrees. By detecting the rotation angle of the Y B axis and the Z B axis, the rotation angle of the mobile terminal can be determined. .
从姿态一变为姿态四,由于姿态一与姿态四相同或相似,这种情况下移动终端的转动角度很小,X B、Y B、Z B三条轴的转动角度均为0度左右。 From attitude 1 to attitude 4, since attitude 1 and attitude 4 are the same or similar, the rotation angle of the mobile terminal is very small in this case, and the rotation angles of the three axes X B , Y B , and Z B are all about 0 degrees.
从姿态二变为姿态三,由于姿态二与姿态三相同或相似,这种情况下移动终端的转动角度很小,X B、Y B、Z B三条轴的转动角度均为0度左右。 From attitude 2 to attitude 3, since attitude 2 and attitude 3 are the same or similar, the rotation angle of the mobile terminal is very small in this case, and the rotation angles of the three axes X B , Y B , and Z B are all about 0 degrees.
从姿态二变为姿态四,参考图6B所示,移动终端主要沿X n轴发生转动,具体为沿X n轴左手旋转约90度。该转动过程中X B轴的转动角度约为0度,Y B轴与Z B轴的转动角度约为90度。 From attitude 2 to attitude 4, referring to FIG. 6B , the mobile terminal mainly rotates along the X n axis, specifically, the left hand rotates about 90 degrees along the X n axis. During the rotation process, the rotation angle of the X B axis is about 0 degrees, and the rotation angle between the Y B axis and the Z B axis is about 90 degrees.
本示例性实施方式中,可以以任意一条轴的转动角度,或者三条轴的转动角度之和来度量移动终端的转动角度。在扫码支付中,当采用一条轴的转动角度时,移动终端的转动角度通常是0度或90度左右,当采用三条轴的转动角度之和时,移动终端的转动角度通常是0度或180度左右。In this exemplary embodiment, the rotation angle of the mobile terminal may be measured by the rotation angle of any one axis or the sum of the rotation angles of the three axes. In scan code payment, when the rotation angle of one axis is used, the rotation angle of the mobile terminal is usually about 0 degrees or 90 degrees. When the sum of the rotation angles of the three axes is used, the rotation angle of the mobile terminal is usually 0 degrees or 90 degrees. 180 degrees or so.
在一种实施方式中,当移动终端的三条轴的转动角度之和小于三轴角度阈值时,将扫码支付模式确定为目标支付模式。三轴角度阈值用于区分不同支付模式下移动终端三条轴的转动角度之和,可以是经验数值。示例性的,三轴角度阈值可以是240度。当检测移动终端的X B、Y B、Z B三条轴的转动角度之和小于240度时,将扫码支付模式确定为目标支付模式。 In one embodiment, when the sum of the rotation angles of the three axes of the mobile terminal is less than the three-axis angle threshold, the scan code payment mode is determined as the target payment mode. The three-axis angle threshold is used to distinguish the sum of the rotation angles of the three axes of the mobile terminal under different payment modes, and can be an empirical value. Exemplarily, the three-axis angle threshold may be 240 degrees. When it is detected that the sum of the rotation angles of the three axes of X B , Y B and Z B of the mobile terminal is less than 240 degrees, the scan code payment mode is determined as the target payment mode.
在另一种实施方式中,当移动终端的每一条轴的累积转动角度均小于单轴角度阈值时,将扫码支付模式确定为目标支付模式。需要说明的是,累积转动角度是指整个过程中轴的转动角度累积值,可以在转动过程中获取不同时刻下角度传感器所检测的角度值,并进行累积计算,得到累积转动角度。而上述计算三条轴的的转动角度之和时,可以采用角度变化值,指转动结束时轴的方向与转动开始时轴的方向间的夹角。累积转动角度与角度变化值不一定相等。单轴角度阈值用于区分不同支付模式下移动终端任意单轴的转动角度,可以是经验数值。示例性的,单轴角度阈值可以是120度。当检测移动终端的X B、Y B、Z B三条轴中每一条轴的累积转动角度均小于120度时,将扫码支付模式确定为目标支付模式。 In another embodiment, when the cumulative rotation angle of each axis of the mobile terminal is less than the single-axis angle threshold, the scan code payment mode is determined as the target payment mode. It should be noted that the cumulative rotation angle refers to the cumulative value of the rotation angle of the shaft in the whole process. The angle value detected by the angle sensor at different times can be obtained during the rotation process, and the cumulative calculation is performed to obtain the cumulative rotation angle. When calculating the sum of the rotation angles of the three axes above, the angle change value can be used, which refers to the angle between the direction of the axis at the end of the rotation and the direction of the axis at the beginning of the rotation. The cumulative rotation angle and the angle change value are not necessarily equal. The single-axis angle threshold is used to distinguish the rotation angle of any single-axis of the mobile terminal under different payment modes, and can be an empirical value. Exemplarily, the uniaxial angle threshold may be 120 degrees. When it is detected that the cumulative rotation angle of each of the three axes X B , Y B , and Z B of the mobile terminal is less than 120 degrees, the scan code payment mode is determined as the target payment mode.
被扫码支付模式Scanned code payment mode
结合图7A、图7B、图7C与图7D对被扫码支付过程中移动终端的转动情况进行分析如下:With reference to Figure 7A, Figure 7B, Figure 7C and Figure 7D, the rotation of the mobile terminal during the scan code payment process is analyzed as follows:
首先,图7A至图7D中移动终端的正面610、背面620以及各坐标系的含义,与图6A、图6B中相同。图7A与图7B的左半图中,导航坐标系O nX nY nZ n与载体坐标系O BX BY BZ B重合;图7C与图7D的左半图中,导航坐标系O nX nY nZ n与载体坐标系O BX BY BZ B不重合,为便于虚线所示的平面为X nO nY n平面。 First, the meanings of the front 610, the back 620 and the coordinate systems of the mobile terminal in FIGS. 7A to 7D are the same as those in FIGS. 6A and 6B. In the left half of Fig. 7A and Fig. 7B, the navigation coordinate system O n X n Y n Z n coincides with the carrier coordinate system O B X B Y B Z B ; in the left half of Fig. 7C and Fig. 7D, the navigation coordinate system O n X n Y n Z n does not coincide with the carrier coordinate system O B X B Y B Z B , and the plane shown by the dotted line is the X n O n Y n plane for convenience.
其次对移动终端的姿态进行分析。用户手持移动终端进行操作时,移动终端可能为上述姿态一或姿态二,姿态一如图7A左半图、图7B左半图所示,姿态二如图7C左半图、图7D左半图所示。用户手持移动终端进行被扫码支付时,移动终端可能为以下两种姿态:Secondly, the posture of the mobile terminal is analyzed. When the user holds the mobile terminal to operate, the mobile terminal may be in the above-mentioned posture 1 or posture 2. The posture 1 is shown in the left half of Fig. 7A and the left half of Fig. 7B, and the posture 2 is shown in the left half of Fig. 7C and Fig. 7D. shown. When a user holds a mobile terminal for payment by scanning the code, the mobile terminal may be in the following two postures:
姿态五:用户将移动终端的正面610立起,对准扫码枪等收款设备,与姿态三的区别在于正面610的朝向不同,参考图7A右半图、图7C右半图所示。Posture 5: The user stands up the front 610 of the mobile terminal and aligns it with a payment device such as a barcode scanner. The difference from posture 3 is that the orientation of the front 610 is different, as shown in the right half of FIG. 7A and the right half of FIG. 7C .
姿态六:用户将移动终端的正面610朝下,对准POS机(Point Of Sales,销售点终端)等收款设备,与姿态四的区别在于正面610的朝向不同,参考图7B右半图、图7D右半图所示。Posture 6: The user points the front 610 of the mobile terminal downwards and aligns it with a payment device such as a POS (Point Of Sales), which differs from posture 4 in that the orientation of the front 610 is different. Refer to the right half of Figure 7B, This is shown in the right half of Figure 7D.
再次,对上述不同姿态间的变化情况进行列举可知,从用户手持移动终端进行操作到进行被扫码支 付的过程,移动终端的姿态变化包括四种情况:Once again, enumerating the changes between the above-mentioned different attitudes, it can be seen that from the user holding the mobile terminal to operate to the process of scanning the code to pay, the attitude changes of the mobile terminal include four situations:
从姿态一变为姿态五,参考图7A所示,该过程的转动情况相对比较复杂,包括多个方向的转动叠加。对姿态一与姿态五中每一条轴的方向对比可知,X B轴的转动角度约为180度,Y B轴的转动角度约为90度,Z B轴的转动角度约为90度,三条轴的转动角度之和约为360度。其中每一条轴的累积转动角度与实际转动轨迹相关,一般的,X B轴的累积转动角度最大,超过180度。 From attitude 1 to attitude 5, as shown in FIG. 7A , the rotation situation of this process is relatively complicated, including the superposition of rotations in multiple directions. Comparing the directions of each axis in attitude 1 and attitude 5, it can be seen that the rotation angle of X B axis is about 180 degrees, the rotation angle of Y B axis is about 90 degrees, and the rotation angle of Z B axis is about 90 degrees. The sum of the rotation angles is about 360 degrees. The cumulative rotation angle of each axis is related to the actual rotation trajectory. Generally, the cumulative rotation angle of the X and B axes is the largest, exceeding 180 degrees.
从姿态一变为姿态六,参考图7B所示,移动终端主要沿Y n轴左手或右手旋转约180度(左手旋转180度与右手旋转180度等效,按照用户的实际动作,一般是右手旋转180度)。对姿态一与姿态六中每一条轴的方向对比可知,X B轴的转动角度约为180度,Y B轴的转动角度约为0度,Z B轴的转动角度约为180度,三条轴的转动角度之和约为360度。其中X B轴和Z B轴的累积转动角度也约为180度。 From attitude 1 to attitude 6, as shown in FIG. 7B , the mobile terminal mainly rotates about 180 degrees with the left hand or the right hand along the Y n axis (180 degrees of left hand rotation is equivalent to 180 degrees of right hand rotation, according to the actual actions of the user, usually the right hand rotated 180 degrees). Comparing the directions of each axis in attitude 1 and attitude 6, it can be seen that the rotation angle of X and B axes is about 180 degrees, the rotation angle of Y and B axes is about 0 degrees, and the rotation angle of Z and B axes is about 180 degrees. The sum of the rotation angles is about 360 degrees. The cumulative rotation angle of the X B axis and the Z B axis is also about 180 degrees.
从姿态二变为姿态五,参考图7C所示,移动终端主要沿Z n轴左手或右手旋转约180度(按照用户的实际动作,一般是左手旋转180度)。对姿态二与姿态五中每一条轴的方向对比可知,X B轴的转动角度约为180度,Y B轴的转动角度约为0度,Z B轴的转动角度约为180度,三条轴的转动角度之和约为360度。其中X B轴和Z B轴的累积转动角度也约为180度。 From posture 2 to posture 5, referring to FIG. 7C , the mobile terminal mainly rotates about 180 degrees with the left hand or the right hand along the Z n axis (according to the actual actions of the user, generally the left hand rotates 180 degrees). Comparing the directions of each axis in attitude 2 and attitude 5, it can be seen that the rotation angle of the X and B axes is about 180 degrees, the rotation angle of the Y and B axes is about 0 degrees, and the rotation angle of the Z and B axes is about 180 degrees. The sum of the rotation angles is about 360 degrees. The cumulative rotation angle of the X B axis and the Z B axis is also about 180 degrees.
从姿态二变为姿态六,参考图7D所示,该过程的转动情况相对比较复杂,包括多个方向的转动叠加。对姿态二与姿态六中每一条轴的方向对比可知,X B轴的转动角度约为180度,Y B轴的转动角度约为90度,Z B轴的转动角度约为90度,三条轴的转动角度之和约为360度。其中每一条轴的累积转动角度与实际转动轨迹相关,一般的,X B轴的累积转动角度最大,超过180度。 From attitude two to attitude six, as shown in FIG. 7D , the rotation situation of this process is relatively complicated, including the superposition of rotations in multiple directions. Comparing the directions of each axis in attitude 2 and attitude 6, it can be seen that the rotation angle of the X and B axes is about 180 degrees, the rotation angle of the Y and B axes is about 90 degrees, and the rotation angle of the Z and B axes is about 90 degrees. The sum of the rotation angles is about 360 degrees. The cumulative rotation angle of each axis is related to the actual rotation trajectory. Generally, the cumulative rotation angle of the X and B axes is the largest, exceeding 180 degrees.
可见,在被扫码支付方式中,无论怎样转动,三条轴的转动角度之和约为360度,至少有一条轴的累积转动角度约为180度。It can be seen that in the scanned code payment method, no matter how it is rotated, the sum of the rotation angles of the three axes is about 360 degrees, and the cumulative rotation angle of at least one axis is about 180 degrees.
在一种实施方式中,当移动终端的三条轴的转动角度之和大于三轴角度阈值时,将被扫码支付模式确定为目标支付模式。需要说明的是,此处的转动角度可以是角度变化值,即转动结束时轴的方向与转动开始时轴的方向间的夹角。三轴角度阈值用于区分不同支付模式下移动终端三条轴的转动角度之和,可以是经验数值。示例性的,三轴角度阈值可以是240度。当检测移动终端的X B、Y B、Z B三条轴的转动角度之和大于240度时,将被扫码支付模式确定为目标支付模式。 In one embodiment, when the sum of the rotation angles of the three axes of the mobile terminal is greater than the three-axis angle threshold, the scanned code payment mode is determined as the target payment mode. It should be noted that the rotation angle here may be an angle change value, that is, the angle between the direction of the shaft at the end of the rotation and the direction of the shaft at the start of the rotation. The three-axis angle threshold is used to distinguish the sum of the rotation angles of the three axes of the mobile terminal under different payment modes, and can be an empirical value. Exemplarily, the three-axis angle threshold may be 240 degrees. When it is detected that the sum of the rotation angles of the three axes of X B , Y B and Z B of the mobile terminal is greater than 240 degrees, the scanned code payment mode is determined as the target payment mode.
在另一种实施方式中,当移动终端的至少一条轴的累积转动角度大于单轴角度阈值时,将被扫码支付模式确定为目标支付模式。单轴角度阈值用于区分不同支付模式下移动终端任意单轴的转动角度,可以是经验数值。示例性的,单轴角度阈值可以是120度。当检测移动终端的X B、Y B、Z B三条轴中至少一条轴的累积转动角度大于120度时,将被扫码支付模式确定为目标支付模式。 In another embodiment, when the cumulative rotation angle of at least one axis of the mobile terminal is greater than the single-axis angle threshold, the scanned code payment mode is determined as the target payment mode. The single-axis angle threshold is used to distinguish the rotation angle of any single-axis of the mobile terminal under different payment modes, and can be an empirical value. Exemplarily, the uniaxial angle threshold may be 120 degrees. When it is detected that the cumulative rotation angle of at least one of the three axes of X B , Y B and Z B of the mobile terminal is greater than 120 degrees, the scanned code payment mode is determined as the target payment mode.
上述转动过程一般发生在用户进行支付触发操作后,为了降低与支付无关的其他操作的影响。在一种实施方式中,步骤S220可以包括:根据移动终端在第一预设时间内的转动角度,在多个支付模式中确定目标支付模式。第一预设时间是用户正常进行支付操作的时间(通常可以加上一定的时间余量),可以以移动终端接收支付触发操作的时刻为起始。第一预设时间可以根据经验或实际场景确定,例如为3秒或5秒等。由此,本示例性实施方式仅对第一预设时间内的转动角度进行判断,对于超出第一预设时间后移动终端的转动,可以认为其与支付操作无关。这样有利于准确判断用户的支付意图,确定目标支付模式。The above rotation process generally occurs after the user performs a payment trigger operation, in order to reduce the influence of other operations unrelated to payment. In one embodiment, step S220 may include: determining a target payment mode among multiple payment modes according to the rotation angle of the mobile terminal within the first preset time. The first preset time is the time during which the user normally performs the payment operation (usually a certain time margin may be added), and may start from the moment when the mobile terminal receives the payment triggering operation. The first preset time can be determined according to experience or actual scenarios, for example, 3 seconds or 5 seconds. Therefore, the present exemplary embodiment only judges the rotation angle within the first preset time, and the rotation of the mobile terminal after the first preset time is exceeded can be considered to be irrelevant to the payment operation. This is conducive to accurately judging the user's payment intention and determining the target payment mode.
在一种实施方式中,确定目标支付模式后,可以呈现关于目标支付模式的提示信息。例如,在图3的息屏界面300中,用户长按支付标识304以激活支付功能,移动终端根据转动角度确定目标支付模式后,可以在息屏界面300中显示提示信息。参考图8A所示,如果目标支付模式为扫码支付模式,可以显示扫码支付提示标识305,以提示用户将启动扫码支付;参考图8B所示,如果目标支付模式为被扫码支付模式,可以显示被扫码支付提示标识306,以提示用户将启动被扫码支付。需要说明的是,提示信息不限于图8A与图8B中的标识形式,还可以是文字、语音等其他形式。通过提示信息告知用户将采用哪种支付模式,提高了交互反馈感,并且当目标支付模式与用户期望的支付模式不一致时,用户也可以及时通过其他操作来更改目标支付模式。In one embodiment, after the target payment mode is determined, prompt information about the target payment mode may be presented. For example, in the screen-on-screen interface 300 of FIG. 3 , the user presses the payment icon 304 for a long time to activate the payment function. After the mobile terminal determines the target payment mode according to the rotation angle, prompt information can be displayed on the screen-on screen interface 300 . Referring to Figure 8A, if the target payment mode is the scan code payment mode, the scan code payment prompt sign 305 can be displayed to prompt the user to start the scan code payment; with reference to Figure 8B, if the target payment mode is the scan code payment mode , the scanned code payment prompt indicator 306 may be displayed to prompt the user to start the scanned code payment. It should be noted that the prompt information is not limited to the identification form in FIG. 8A and FIG. 8B , and may also be in other forms such as text and voice. The prompt information informs the user which payment mode will be adopted, which improves the sense of interactive feedback, and when the target payment mode is inconsistent with the user's expected payment mode, the user can also change the target payment mode through other operations in time.
继续参考图2,步骤S230中,显示目标支付模式对应的支付界面。Continuing to refer to FIG. 2, in step S230, a payment interface corresponding to the target payment mode is displayed.
在不同的支付模式下,支付界面有所不同。例如,在扫码支付模式下,支付界面通常包括打开摄像头扫码的界面,以及扫码后输入支付金额与支付密码的界面,如图9A所示;在被扫码支付模式下,支付界面通常包括付款方支付码的界面,如图9B所示。本示例性实施方式中,确定目标支付模式后,可以在锁屏界面下,从后台启动相关的支付App,并加载App中目标支付模式对应的支付界面,进而可以从锁屏界面直接跳转至支付界面,无需用户再选择启动App以及在App中打开支付界面,简化了支付操作过程。In different payment modes, the payment interface is different. For example, in the scan code payment mode, the payment interface usually includes an interface for turning on the camera to scan the code, and an interface for entering the payment amount and payment password after scanning the code, as shown in Figure 9A; in the scan code payment mode, the payment interface usually The interface including the payer's payment code is shown in Figure 9B. In this exemplary embodiment, after determining the target payment mode, you can start the relevant payment app from the background on the lock screen interface, and load the payment interface corresponding to the target payment mode in the app, and then you can directly jump from the lock screen interface to The payment interface eliminates the need for the user to choose to start the app and open the payment interface in the app, which simplifies the payment operation process.
在一种实施方式中,参考图10所示,步骤S230可以包括:In one embodiment, referring to FIG. 10 , step S230 may include:
步骤S1010,获取由摄像头采集的图像;Step S1010, acquiring the image collected by the camera;
步骤S1020,根据从上述图像中识别到的支付相关信息,显示支付界面。Step S1020, displaying a payment interface according to the payment-related information identified from the above image.
摄像头采集的图像为当前环境的图像。在支付时,用户通常会将移动终端对准与支付相关的目标,因此摄像头采集的图像中包含有支付相关信息。支付相关信息包括但不限于:支付码,收款设备等。当从图像中识别到支付相关信息时,可以进一步确认用户的支付意图,进而打开并显示相应的支付界面。The image captured by the camera is the image of the current environment. When paying, the user usually aims the mobile terminal at the target related to the payment, so the image captured by the camera contains the payment-related information. Payment-related information includes but is not limited to: payment code, payment equipment, etc. When the payment-related information is identified from the image, the user's payment intention can be further confirmed, and then the corresponding payment interface can be opened and displayed.
下面仍然以扫码支付模式与被扫码支付模式为例,对图10做进一步说明。In the following, the code scanning payment mode and the scanned code payment mode are still used as examples to further describe FIG. 10 .
当目标支付模式为扫码支付模式时,步骤S1020可以包括:根据从图像中识别到的支付码,显示扫码支付界面。When the target payment mode is the scan code payment mode, step S1020 may include: displaying the scan code payment interface according to the payment code identified from the image.
支付码包括但不限于:二维码,条形码等。移动终端可以通过相应的App处理支付码,显示扫码支付界面。Payment codes include but are not limited to: QR codes, barcodes, etc. The mobile terminal can process the payment code through the corresponding App and display the payment interface by scanning the code.
在一种实施方式中,可以根据从图像中识别到的支付码,确定用于支付的应用程序,然后启动该应用程序,并显示该应用程序中的扫码支付界面。例如,支付码中本身包含App的标识信息,解析支付码后可以确定其属于哪个App。或者支付码中包含链接,通过访问该链接,确定支付码属于哪个App。进而,启动该App以处理支付码,以显示相应的扫码支付界面。In one embodiment, an application program for payment can be determined according to the payment code recognized from the image, and then the application program is started, and the code-scanning payment interface in the application program is displayed. For example, the payment code itself contains the identification information of the App, and after parsing the payment code, it can be determined which App it belongs to. Or the payment code contains a link, and by accessing the link, determine which App the payment code belongs to. Further, start the App to process the payment code, so as to display the corresponding scan code payment interface.
在一种实施方式中,可以在退出锁屏界面的同时,加载支付码的识别结果,当加载支付码的识别结果成功时,显示扫码支付界面。以Android系统为例,在退出锁屏界面时,需要移除锁屏界面的Activity,而显示扫码支付界面需要创建扫码支付界面的Activity,创建该Activity需要加载支付码的识别结果。由于移除锁屏界面的Activity需要一定的时间,在此过程中,如果加载支付码的识别结果成功,则可以创建扫码支付界面的Activity,进而显示扫码支付界面,如图9A中的界面,这样可以跳过“扫一扫”的界面,实现更加充分的支付界面直达。如果加载支付码的识别结果不成功,例如识别到无效的支付码时,识别结果为异常,或者在退出锁屏界面的时间内,为完全识别支付码的信息,则可以显示“扫一扫”的界面,以继续识别支付码并加载识别结果。In one embodiment, the identification result of the payment code can be loaded while exiting the lock screen interface, and when the identification result of the loaded payment code is successful, the scan code payment interface is displayed. Taking the Android system as an example, when exiting the lock screen interface, you need to remove the Activity on the lock screen interface, and to display the scan code payment interface, you need to create an activity on the scan code payment interface. To create this activity, you need to load the identification result of the payment code. Since it takes a certain amount of time to remove the Activity of the lock screen interface, during this process, if the recognition result of loading the payment code is successful, you can create an Activity of the scan code payment interface, and then display the scan code payment interface, as shown in Figure 9A. , so that you can skip the "sweep" interface and achieve a more direct payment interface. If the recognition result of loading the payment code is unsuccessful, for example, when an invalid payment code is recognized, the recognition result is abnormal, or the payment code information is completely recognized within the time of exiting the lock screen interface, then the “Scan” can be displayed. interface to continue to recognize the payment code and load the recognition result.
在一种实施方式中,步骤S1010可以包括:获取由第一摄像头采集的图像,第一摄像头可以是后置摄像头,或者获取由可转动摄像头转动至第一方向时所采集的图像,第一方向可以是移动终端的背面方向,此时可转动摄像头相当于后置摄像头。由此符合用户进行扫码支付时的习惯性姿势,即用后置摄像头对准支付码。In one embodiment, step S1010 may include: acquiring an image captured by a first camera, the first camera may be a rear camera, or acquiring an image captured when the rotatable camera is rotated to a first direction, the first direction It can be the back direction of the mobile terminal, in which case the rotatable camera is equivalent to the rear camera. This conforms to the user's habitual posture when scanning a code to pay, that is, using the rear camera to align the payment code.
在一种实施方式中,可以将用于识别支付码的图像称为第一图像。可以获取摄像头在第二预设时间内采集的图像作为第一图像,以进行识别支付码的处理。第二预设时间是用户正常进行扫码操作时的扫码时间,可以以移动终端确定目标支付模式的时刻为起始。由此,对于超出第二预设时间后所采集的图像,可以认为其与扫码支付无关,不进行后续识别支付码的处理。In one embodiment, the image used to identify the payment code may be referred to as the first image. The image captured by the camera within the second preset time may be acquired as the first image, so as to perform the processing of identifying the payment code. The second preset time is the code scanning time when the user normally performs the code scanning operation, and may start from the moment when the mobile terminal determines the target payment mode. Therefore, for the images collected after exceeding the second preset time, it can be considered that it has nothing to do with the payment by scanning the code, and the subsequent processing of identifying the payment code is not performed.
在一种实施方式中,可以在锁屏界面中增加一个窗口,实时显示摄像头采集的图像,以便于用户将摄像头对准支付码。In one embodiment, a window may be added to the lock screen interface to display the image captured by the camera in real time, so that the user can aim the camera at the payment code.
考虑到通过移动终端的转动角度确定目标支付模式可能存在误判的情况,可以通过其他手段进行补充判断。将扫码支付模式确定为目标支付模式后,需要从图像中获取支付码的信息来实现支付处理,理论上当前环境中应当存在可扫描的支付码。在一种实施方式中,当从图像中未识别到支付码时说明用户期望的支付模式可能不是扫码支付模式,进而可以将目标支付模式从扫码支付模式切换为被扫码支付模式,并在被扫码支付模式下执行步骤S230。由此,通过对图像中支付码的识别,实现了对步骤S220的补充,从而增加了本方案的可靠性与鲁棒性。Considering that there may be misjudgments in determining the target payment mode through the rotation angle of the mobile terminal, supplementary judgments can be made by other means. After the scanning code payment mode is determined as the target payment mode, the payment code information needs to be obtained from the image to realize payment processing. In theory, there should be a scannable payment code in the current environment. In one embodiment, when the payment code is not recognized from the image, it indicates that the payment mode expected by the user may not be the scanning code payment mode, and then the target payment mode can be switched from the scanning code payment mode to the scanning code payment mode, and Step S230 is executed in the scanned code payment mode. Therefore, by identifying the payment code in the image, the supplement to step S220 is realized, thereby increasing the reliability and robustness of the solution.
需要说明的是,在识别支付码时可以设置一定的时间条件,例如在上述第二预设时间内,如果未识别第一图像中包含支付码,则确定当前环境中不存在支付码,进而实施目标支付模式的切换。It should be noted that a certain time condition can be set when recognizing the payment code. For example, within the above-mentioned second preset time, if it is not recognized that the first image contains the payment code, it is determined that there is no payment code in the current environment, and then the implementation is carried out. Switching of the target payment mode.
以上说明了目标支付模式为扫码支付模式时步骤S230的具体实施方式。在一种实施方式中,当目标支付模式为被扫码支付模式时,步骤S1020可以包括:根据从图像中识别到的收款设备,显示被扫码支付界面。The above describes the specific implementation of step S230 when the target payment mode is the scan code payment mode. In one embodiment, when the target payment mode is the scanned code payment mode, step S1020 may include: displaying the scanned code payment interface according to the payment device identified from the image.
收款设备包括但不限于:扫码枪,手机,POS机,扫码盒,地铁闸机,公交车刷卡器等。移动终端在识别上述图像中包含收款设备时,可以显示相应的被扫码支付界面。The collection equipment includes but is not limited to: scan code gun, mobile phone, POS machine, code scan box, subway gate, bus card reader, etc. When the mobile terminal recognizes that the above-mentioned image contains a payment device, it can display a corresponding scanned code payment interface.
在一种实施方式中,可以根据从图像中识别到的收款设备,确定用于支付的应用程序,然后启动该应用程序,并显示该应用程序中的被扫码支付界面。例如,识别到地铁闸机时,可以启动具有地铁支付功能的App;识别到公交车刷卡器时,可以启动具有公交支付功能的App;进而显示该App中的被扫码支付界面。In one embodiment, an application program for payment can be determined according to the payment device identified from the image, and then the application program is started, and the scanned code payment interface in the application program is displayed. For example, when a subway gate is identified, an app with subway payment function can be launched; when a bus card reader is identified, an app with bus payment function can be launched; and then the scanned code payment interface in the app is displayed.
在一种实施方式中,步骤S1010可以包括:获取由第二摄像头采集的图像,第二摄像头可以是前置摄像头,或者获取由可转动摄像头转动至第二方向时所采集的图像,第二方向可以是移动终端的正面方向,此时可转动摄像头相当于前置摄像头。由此符合用户进行被扫码支付时的习惯性姿势,即用移动终端的屏幕对准收款方的收款设备。In one embodiment, step S1010 may include: acquiring an image captured by a second camera, the second camera may be a front-facing camera, or acquiring an image captured when the rotatable camera is rotated to a second direction, the second direction It can be the front direction of the mobile terminal, in which case the rotatable camera is equivalent to the front camera. This conforms to the user's habitual posture when making payment by scanning the code, that is, using the screen of the mobile terminal to align the payment device of the payee.
在一种实施方式中,可以将用于识别收款设备的图像称为第二图像。可以将摄像头在第三预设时间内采集的每一帧图像均确定为第二图像。第三预设时间是用户正常进行被扫码操作时的被扫码时间,可以以移动终端确定目标支付模式的时刻为起始。由此,对于超出第三预设时间后所采集的图像,可以认为其与被扫码支付无关,不进行后续识别收款设备的处理。第三预设时间与上述第二预设时间可以相同,也可以不同,本公开对此不做限定。In one embodiment, the image used to identify the payment device may be referred to as the second image. Each frame of image collected by the camera within the third preset time may be determined as the second image. The third preset time is the scanned code time when the user normally performs the scanned code operation, and may start from the moment when the mobile terminal determines the target payment mode. Therefore, for the images collected after exceeding the third preset time, it can be considered that they have nothing to do with the payment by scanning the code, and the subsequent processing of identifying the payment device is not performed. The third preset time and the second preset time may be the same or different, which is not limited in the present disclosure.
在一种实施方式中,当从图像中未识别到收款设备时,可以将目标支付模式切换为扫码支付模式。与上述识别支付码的方案类似的,可以将识别收款设备的判断,作为对步骤S220的补充。将被扫码支付模式确定为目标支付模式后,理论上当前环境中应当存在收款设备。因此,如果从图像中无法识别到收款设备,则说明用户期望的支付模式可能不是被扫码支付模式,进而可以将目标支付模式从被扫码支付模式切换为扫码支付模式,并在扫码支付模式下执行步骤S230。由此,通过对图像中收款设备的识别,实现了对步骤S220的补充,从而增加了本方案的可靠性与鲁棒性。In one embodiment, when the payment device is not recognized from the image, the target payment mode can be switched to the scan code payment mode. Similar to the above solution of identifying the payment code, the judgment of identifying the payment device may be used as a supplement to step S220. After the scanned code payment mode is determined as the target payment mode, in theory, there should be a collection device in the current environment. Therefore, if the payment device cannot be identified from the image, it means that the payment mode expected by the user may not be the payment mode by scanning the code, and then the target payment mode can be switched from the payment mode by scanning the code to the payment mode by scanning the code, and after scanning Step S230 is executed in the code payment mode. Therefore, by identifying the payment device in the image, the supplement to step S220 is realized, thereby increasing the reliability and robustness of the present solution.
需要说明的是,在识别收款设备时可以设置一定的时间条件,例如在上述第三预设时间内,如果未识别第二图像中包含收款设备,则确定当前环境中不存在收款设备,进而实施目标支付模式的切换。It should be noted that a certain time condition can be set when identifying the payment device. For example, within the above-mentioned third preset time, if the payment device is not identified in the second image, it is determined that there is no payment device in the current environment. , and then implement the switching of the target payment mode.
在上述扫码支付模式与被扫码支付模式中,分别提供了确定支付App的方式:在扫码支付模式下,根据识别到的支付码确定用于支付的App;在被扫码支付模式下,根据识别到的收款设备确定用于支付的App。考虑到一些支付码或收款设备中不包含App的相关信息,导致无法根据支付码或收款设备来确定App。作为补充,提供以下两种确定App的方式:In the above-mentioned scanning code payment mode and scanned code payment mode, methods for determining the payment App are respectively provided: in the scanning code payment mode, the App for payment is determined according to the recognized payment code; in the scanning code payment mode , and determine the App for payment according to the identified payment device. Considering that some payment codes or payment devices do not contain relevant information about the App, it is impossible to determine the App based on the payment code or payment device. As a supplement, the following two ways to determine the App are provided:
在一种实施方式中,在步骤S230中,可以启动预设应用程序,并进入预设应用程序中目标支付模式对应的支付界面。其中,预设应用程序可以是用户预先设置的默认的支付App。In one embodiment, in step S230, a preset application program may be started, and a payment interface corresponding to the target payment mode in the preset application program may be entered. The preset application program may be a default payment App preset by the user.
在另一种实施方式中,在步骤S230中,可以根据在锁屏界面下接收到的支付选择操作,启动支付选择操作对应的应用程序,并进入该应用程序中目标支付模式对应的支付界面。其中,支付选择操作用于选择某个App作为支付App,例如,在锁屏界面中设置选择控件,如用户在锁屏界面中长按支付标识后,显示一个扩展的选择控件窗口,其中显示有不同App图标,用户可以在其中选择支付App。In another embodiment, in step S230, an application corresponding to the payment selection operation may be started according to the payment selection operation received in the lock screen interface, and the payment interface corresponding to the target payment mode in the application program is entered. Among them, the payment selection operation is used to select an app as a payment app. For example, a selection control is set in the lock screen interface. For example, after the user long presses the payment icon in the lock screen interface, an extended selection control window is displayed, which displays Different app icons where users can choose to pay for the app.
实际应用中,可以将上述多种确定支付App的方案结合,例如:当用户在锁屏界面下进行支付选择操作时,根据该操作确定支付App;当用户在锁屏界面下未进行支付选择操作时,根据在第一图像中识别到的支付码或者在第二图像中识别到的付款设备来确定支付App;当无法根据支付码或者付款设备确定支付App时,将预设App作为支付App。进而,可以在后台支付App,加载显示支付App中目标支付模式对应的支付界面,从锁屏界面直接跳转显示该支付界面,实现支付界面的快速直达。In practical applications, the above-mentioned schemes for determining the payment App can be combined, for example: when the user performs a payment selection operation on the lock screen interface, the payment App is determined according to the operation; when the user does not perform the payment selection operation on the lock screen interface , the payment App is determined according to the payment code identified in the first image or the payment device identified in the second image; when the payment App cannot be determined according to the payment code or the payment device, the default App is used as the payment App. Furthermore, the payment app in the background can be loaded and displayed to display the payment interface corresponding to the target payment mode in the payment app, and the payment interface can be directly jumped from the lock screen interface to display the payment interface, so as to realize the fast and direct access to the payment interface.
本公开的示例性实施方式还提供一种移动终端的支付装置。参考图11所示,该移动终端的支付装置1100可以包括处理器1110和存储器1120。其中,存储器1120存储有以下程序模块:Exemplary embodiments of the present disclosure also provide a payment device for a mobile terminal. Referring to FIG. 11 , the payment apparatus 1100 of the mobile terminal may include a processor 1110 and a memory 1120 . Wherein, the memory 1120 stores the following program modules:
操作接收模块1121,被配置为在移动终端的锁屏界面下,接收支付触发操作;The operation receiving module 1121 is configured to receive a payment trigger operation under the lock screen interface of the mobile terminal;
支付模式确定模块1122,被配置为响应于支付触发操作,根据移动终端的转动角度,在多个支付模式中确定目标支付模式;The payment mode determination module 1122 is configured to, in response to a payment triggering operation, determine a target payment mode among a plurality of payment modes according to the rotation angle of the mobile terminal;
界面显示控制模块1123,被配置为显示目标支付模式对应的支付界面。The interface display control module 1123 is configured to display the payment interface corresponding to the target payment mode.
处理器1110用于执行上述程序模块。The processor 1110 is used to execute the above-mentioned program modules.
在一种实施方式中,界面显示控制模块1123,还被配置为:In one embodiment, the interface display control module 1123 is further configured to:
在显示目标支付模式对应的支付界面前,根据获取到的解锁信息解除对移动终端的锁定。Before displaying the payment interface corresponding to the target payment mode, unlock the mobile terminal according to the obtained unlocking information.
在一种实施方式中,支付触发操作包括:在锁屏界面中针对支付标识的预设操作。In one embodiment, the payment triggering operation includes: a preset operation for the payment identifier in the lock screen interface.
在一种实施方式中,支付模式确定模块1122,被配置为:In one embodiment, the payment mode determination module 1122 is configured to:
根据移动终端的轴的转动角度确定目标支付模式。The target payment mode is determined according to the rotation angle of the shaft of the mobile terminal.
在一种实施方式中,支付模式确定模块1122,被配置为:In one embodiment, the payment mode determination module 1122 is configured to:
当移动终端的三条轴的转动角度之和小于三轴角度阈值时,将扫码支付模式确定为目标支付模式。When the sum of the rotation angles of the three axes of the mobile terminal is less than the three-axis angle threshold, the scan code payment mode is determined as the target payment mode.
在一种实施方式中,支付模式确定模块1122,被配置为:In one embodiment, the payment mode determination module 1122 is configured to:
当移动终端的三条轴的转动角度之和大于三轴角度阈值时,将被扫码支付模式确定为目标支付模式。When the sum of the rotation angles of the three axes of the mobile terminal is greater than the three-axis angle threshold, the scanned code payment mode is determined as the target payment mode.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
获取由摄像头采集的图像;Get the image captured by the camera;
根据从上述图像中识别到的支付相关信息,显示支付界面。Based on the payment-related information identified from the above image, the payment interface is displayed.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
当目标支付模式为扫码支付模式时,根据从上述图像中识别到的支付码,显示扫码支付界面。When the target payment mode is the scan code payment mode, the scan code payment interface is displayed according to the payment code identified from the above image.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
根据从上述图像中识别到的支付码,确定用于支付的应用程序;Determine the application for payment based on the payment code identified from the above image;
启动上述应用程序,并显示应用程序中的扫码支付界面。Launch the above application and display the scan code payment interface in the application.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
退出锁屏界面,同时加载支付码的识别结果;Exit the lock screen interface and load the recognition result of the payment code at the same time;
当加载支付码的识别结果成功时,显示扫码支付界面。When the recognition result of loading the payment code is successful, the scan code payment interface is displayed.
在一种实施方式中,支付模式确定模块1122,还被配置为:In one embodiment, the payment mode determination module 1122 is further configured to:
当界面显示控制模块1123从上述图像中未识别到支付码时,将目标支付模式切换为被扫码支付模式。When the interface display control module 1123 does not recognize the payment code from the above image, it switches the target payment mode to the scanned code payment mode.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
获取由第一摄像头采集的图像;或者obtain an image captured by the first camera; or
获取由可转动摄像头转动至第一方向时所采集的图像。An image captured when the rotatable camera is rotated to the first direction is acquired.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
当目标支付模式为被扫码支付模式时,根据从上述图像中识别到的收款设备,显示被扫码支付界面。When the target payment mode is the scan code payment mode, the scan code payment interface is displayed according to the payment device identified from the above image.
在一种实施方式中,支付模式确定模块1122,还被配置为:In one embodiment, the payment mode determination module 1122 is further configured to:
当界面显示控制模块1123从上述图像中未识别到收款设备时,将目标支付模式切换为扫码支付模式。When the interface display control module 1123 does not recognize the payment device from the above image, it switches the target payment mode to the scan code payment mode.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
获取由第二摄像头采集的图像;或者acquire an image captured by the second camera; or
获取由可转动摄像头转动至第二方向时所采集的图像。Acquire the image captured by the rotatable camera when it is rotated to the second direction.
在一种实施方式中,界面显示控制模块1123,被配置为:In one embodiment, the interface display control module 1123 is configured to:
根据在锁屏界面下接收到的支付选择操作,启动支付选择操作对应的应用程序,并进入应用程序中目标支付模式对应的支付界面。According to the payment selection operation received in the lock screen interface, the application program corresponding to the payment selection operation is started, and the payment interface corresponding to the target payment mode in the application program is entered.
在一种实施方式中,支付模式确定模块1122,被配置为:In one embodiment, the payment mode determination module 1122 is configured to:
响应于支付触发操作,根据移动终端在第一预设时间内的转动角度,在多个支付模式中确定目标支付模式。In response to the payment triggering operation, a target payment mode is determined among the plurality of payment modes according to the rotation angle of the mobile terminal within the first preset time.
本公开的示例性实施方式还提供另一种移动终端的支付装置。参考图12所示,该移动终端的支付装置1200可以包括:Exemplary embodiments of the present disclosure also provide another payment device for a mobile terminal. Referring to Fig. 12, the payment device 1200 of the mobile terminal may include:
操作接收模块1210,被配置为在移动终端的锁屏界面下,接收支付触发操作;The operation receiving module 1210 is configured to receive a payment trigger operation under the lock screen interface of the mobile terminal;
支付模式确定模块1220,被配置为响应于支付触发操作,根据移动终端的转动角度,在多个支付模式中确定目标支付模式;The payment mode determination module 1220 is configured to, in response to the payment triggering operation, determine the target payment mode among the plurality of payment modes according to the rotation angle of the mobile terminal;
界面显示控制模块1230,被配置为显示目标支付模式对应的支付界面。The interface display control module 1230 is configured to display a payment interface corresponding to the target payment mode.
在一种实施方式中,界面显示控制模块1230,还被配置为:In one embodiment, the interface display control module 1230 is further configured to:
在显示目标支付模式对应的支付界面前,根据获取到的解锁信息解除对移动终端的锁定。Before displaying the payment interface corresponding to the target payment mode, unlock the mobile terminal according to the obtained unlocking information.
在一种实施方式中,支付触发操作包括:在锁屏界面中针对支付标识的预设操作。In one embodiment, the payment triggering operation includes: a preset operation for the payment identifier in the lock screen interface.
在一种实施方式中,支付模式确定模块1220,被配置为:In one embodiment, the payment mode determination module 1220 is configured to:
根据移动终端的轴的转动角度确定目标支付模式。The target payment mode is determined according to the rotation angle of the shaft of the mobile terminal.
在一种实施方式中,支付模式确定模块1220,被配置为:In one embodiment, the payment mode determination module 1220 is configured to:
当移动终端的三条轴的转动角度之和小于三轴角度阈值时,将扫码支付模式确定为目标支付模式。When the sum of the rotation angles of the three axes of the mobile terminal is less than the three-axis angle threshold, the scan code payment mode is determined as the target payment mode.
在一种实施方式中,支付模式确定模块1220,被配置为:In one embodiment, the payment mode determination module 1220 is configured to:
当移动终端的三条轴的转动角度之和大于三轴角度阈值时,将被扫码支付模式确定为目标支付模式。When the sum of the rotation angles of the three axes of the mobile terminal is greater than the three-axis angle threshold, the scanned code payment mode is determined as the target payment mode.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
获取由摄像头采集的图像;Get the image captured by the camera;
根据从上述图像中识别到的支付相关信息,显示支付界面。Based on the payment-related information identified from the above image, the payment interface is displayed.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
当目标支付模式为扫码支付模式时,根据从上述图像中识别到的支付码,显示扫码支付界面。When the target payment mode is the scan code payment mode, the scan code payment interface is displayed according to the payment code identified from the above image.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
根据从上述图像中识别到的支付码,确定用于支付的应用程序;Determine the application for payment based on the payment code identified from the above image;
启动上述应用程序,并显示应用程序中的扫码支付界面。Launch the above application and display the scan code payment interface in the application.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
退出锁屏界面,同时加载支付码的识别结果;Exit the lock screen interface and load the recognition result of the payment code at the same time;
当加载支付码的识别结果成功时,显示扫码支付界面。When the recognition result of loading the payment code is successful, the scan code payment interface is displayed.
在一种实施方式中,支付模式确定模块1220,还被配置为:In one embodiment, the payment mode determination module 1220 is further configured to:
当界面显示控制模块1230从上述图像中未识别到支付码时,将目标支付模式切换为被扫码支付模式。When the interface display control module 1230 does not recognize the payment code from the above image, it switches the target payment mode to the scanned code payment mode.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
获取由第一摄像头采集的图像;或者obtain an image captured by the first camera; or
获取由可转动摄像头转动至第一方向时所采集的图像。An image captured when the rotatable camera is rotated to the first direction is acquired.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
当目标支付模式为被扫码支付模式时,根据从上述图像中识别到的收款设备,显示被扫码支付界面。When the target payment mode is the scan code payment mode, the scan code payment interface is displayed according to the payment device identified from the above image.
在一种实施方式中,支付模式确定模块1220,还被配置为:In one embodiment, the payment mode determination module 1220 is further configured to:
当界面显示控制模块1230从上述图像中未识别到收款设备时,将目标支付模式切换为扫码支付模式。When the interface display control module 1230 does not recognize the payment device from the above image, it switches the target payment mode to the scan code payment mode.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
获取由第二摄像头采集的图像;或者acquire an image captured by the second camera; or
获取由可转动摄像头转动至第二方向时所采集的图像。Acquire the image captured by the rotatable camera when it is rotated to the second direction.
在一种实施方式中,界面显示控制模块1230,被配置为:In one embodiment, the interface display control module 1230 is configured to:
根据在锁屏界面下接收到的支付选择操作,启动支付选择操作对应的应用程序,并进入应用程序中目标支付模式对应的支付界面。According to the payment selection operation received in the lock screen interface, the application program corresponding to the payment selection operation is started, and the payment interface corresponding to the target payment mode in the application program is entered.
在一种实施方式中,支付模式确定模块1220,被配置为:In one embodiment, the payment mode determination module 1220 is configured to:
响应于支付触发操作,根据移动终端在第一预设时间内的转动角度,在多个支付模式中确定目标支付模式。In response to the payment triggering operation, a target payment mode is determined among the plurality of payment modes according to the rotation angle of the mobile terminal within the first preset time.
上述装置中各部分的具体细节在方法部分实施方式中已经详细说明,因而不再赘述。The specific details of each part in the above-mentioned apparatus have been described in detail in the method part of the implementation, and thus will not be repeated.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的示例性实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.
本公开的示例性实施方式还提供了一种计算机可读存储介质,可以实现为一种程序产品的形式,其包括程序代码,当程序产品在电子设备上运行时,程序代码用于使电子设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。在一种实施方式中,该程序产品可以实现为便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在电子设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Exemplary embodiments of the present disclosure also provide a computer-readable storage medium that can be implemented in the form of a program product including program code for causing the electronic device to run the program product when the program product is run on the electronic device. The steps described in the "Example Methods" section above in this specification in accordance with various exemplary embodiments of the present disclosure are performed. In one embodiment, the program product may be implemented as a portable compact disk read only memory (CD-ROM) and include program code, and may be executed on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a propagated data signal in baseband or as part of a carrier wave with readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (eg, using an Internet service provider business via an Internet connection).
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施方式。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理 并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施方式仅被视为示例性的,本公开的真正范围和精神由权利要求指出。As will be appreciated by one skilled in the art, various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, which may be collectively referred to herein as implementations "circuit", "module" or "system". Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and embodiments are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限定。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

  1. 一种移动终端的支付方法,其特征在于,包括:A payment method for a mobile terminal, comprising:
    在移动终端的锁屏界面下,接收支付触发操作;Under the lock screen interface of the mobile terminal, receive a payment trigger operation;
    响应于所述支付触发操作,根据所述移动终端的转动角度,在多个支付模式中确定目标支付模式;In response to the payment triggering operation, determining a target payment mode among a plurality of payment modes according to the rotation angle of the mobile terminal;
    显示所述目标支付模式对应的支付界面。A payment interface corresponding to the target payment mode is displayed.
  2. 根据权利要求1所述的方法,其特征在于,在显示所述目标支付模式对应的支付界面前,所述方法还包括:The method according to claim 1, wherein before displaying the payment interface corresponding to the target payment mode, the method further comprises:
    根据获取到的解锁信息解除对所述移动终端的锁定。The mobile terminal is unlocked according to the obtained unlocking information.
  3. 根据权利要求1所述的方法,其特征在于,所述支付触发操作包括:针对所述锁屏界面中支付标识的预设操作。The method according to claim 1, wherein the payment triggering operation comprises: a preset operation for the payment identifier in the lock screen interface.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述移动终端的转动角度,在多个支付模式中确定目标支付模式,包括:The method according to claim 1, wherein determining a target payment mode among multiple payment modes according to the rotation angle of the mobile terminal, comprising:
    根据所述移动终端的轴的转动角度确定所述目标支付模式。The target payment mode is determined according to the rotation angle of the shaft of the mobile terminal.
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述移动终端的轴的转动角度确定所述目标支付模式,包括:The method according to claim 4, wherein the determining the target payment mode according to the rotation angle of the axis of the mobile terminal comprises:
    当所述移动终端的三条轴的转动角度之和小于三轴角度阈值时,将扫码支付模式确定为所述目标支付模式。When the sum of the rotation angles of the three axes of the mobile terminal is less than the three-axis angle threshold, the scan code payment mode is determined as the target payment mode.
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述移动终端的轴的转动角度确定所述目标支付模式,包括:The method according to claim 4, wherein the determining the target payment mode according to the rotation angle of the axis of the mobile terminal comprises:
    当所述移动终端的三条轴的转动角度之和大于三轴角度阈值时,将被扫码支付模式确定为所述目标支付模式。When the sum of the rotation angles of the three axes of the mobile terminal is greater than the three-axis angle threshold, the scanned code payment mode is determined as the target payment mode.
  7. 根据权利要求1所述的方法,其特征在于,所述显示所述目标支付模式对应的支付界面,包括:The method according to claim 1, wherein the displaying a payment interface corresponding to the target payment mode comprises:
    获取由摄像头采集的图像;Get the image captured by the camera;
    根据从所述图像中识别到的支付相关信息,显示所述支付界面。The payment interface is displayed according to the payment-related information identified from the image.
  8. 根据权利要求7所述的方法,其特征在于,当所述目标支付模式为扫码支付模式时,所述根据从所述图像中识别到的支付相关信息,显示所述支付界面,包括:The method according to claim 7, wherein when the target payment mode is a scan code payment mode, displaying the payment interface according to the payment-related information identified from the image, comprising:
    根据从所述图像中识别到的支付码,显示扫码支付界面。According to the payment code identified from the image, a scan code payment interface is displayed.
  9. 根据权利要求8所述的方法,其特征在于,所述根据从所述图像中识别到的支付码,显示扫码支付界面,包括:The method according to claim 8, wherein the displaying a code-scanning payment interface according to the payment code identified from the image comprises:
    根据从所述图像中识别到的支付码,确定用于支付的应用程序;Determine the application for payment based on the payment code identified from the image;
    启动所述应用程序,并显示所述应用程序中的扫码支付界面。Start the application, and display the scan code payment interface in the application.
  10. 根据权利要求8所述的方法,其特征在于,所述根据从所述图像中识别到的支付码,显示扫码支付界面,包括:The method according to claim 8, wherein the displaying a code-scanning payment interface according to the payment code identified from the image comprises:
    退出所述锁屏界面,同时加载所述支付码的识别结果;Exit the lock screen interface and load the identification result of the payment code at the same time;
    当加载所述支付码的识别结果成功时,显示所述扫码支付界面。When the identification result of loading the payment code is successful, the code scanning payment interface is displayed.
  11. 根据权利要求8所述的方法,其特征在于,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    当从所述图像中未识别到支付码时,将所述目标支付模式切换为被扫码支付模式。When the payment code is not recognized from the image, the target payment mode is switched to the scanned code payment mode.
  12. 根据权利要求7所述的方法,其特征在于,当所述目标支付模式为扫码支付模式时,所述获取由摄像头采集的图像,包括:The method according to claim 7, wherein, when the target payment mode is a scan code payment mode, the acquiring an image captured by a camera comprises:
    获取由第一摄像头采集的图像;或者obtain an image captured by the first camera; or
    获取由可转动摄像头转动至第一方向时所采集的图像。An image captured when the rotatable camera is rotated to the first direction is acquired.
  13. 根据权利要求7所述的方法,其特征在于,当所述目标支付模式为被扫码支付模式时,所述显示所述目标支付模式对应的支付界面,包括:The method according to claim 7, wherein, when the target payment mode is a scanned code payment mode, the displaying a payment interface corresponding to the target payment mode comprises:
    根据从所述图像中识别到的收款设备,显示被扫码支付界面。According to the payment device identified from the image, the scanned code payment interface is displayed.
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:
    当从所述图像中未识别到收款设备时,将所述目标支付模式切换为扫码支付模式。When the payment device is not recognized from the image, the target payment mode is switched to the scan code payment mode.
  15. 根据权利要求7所述的方法,其特征在于,当所述目标支付模式为被扫码支付模式时,所述获取由摄像头采集的图像,包括:The method according to claim 7, wherein, when the target payment mode is the payment mode by scanning the code, the acquiring the image captured by the camera comprises:
    获取由第二摄像头采集的图像;或者acquire an image captured by the second camera; or
    获取由可转动摄像头转动至第二方向时所采集的图像。Acquire the image captured by the rotatable camera when it is rotated to the second direction.
  16. 根据权利要求1所述的方法,其特征在于,所述显示所述目标支付模式对应的支付界面,包括:The method according to claim 1, wherein the displaying a payment interface corresponding to the target payment mode comprises:
    根据在所述锁屏界面下接收到的支付选择操作,启动所述支付选择操作对应的应用程序,并进入所 述应用程序中所述目标支付模式对应的支付界面。According to the payment selection operation received under the lock screen interface, start the application program corresponding to the payment selection operation, and enter the payment interface corresponding to the target payment mode in the application program.
  17. 根据权利要求1所述的方法,其特征在于,所述响应于所述支付触发操作,根据所述移动终端的转动角度,在多个支付模式中确定目标支付模式,包括:The method according to claim 1, wherein, in response to the payment triggering operation, determining a target payment mode among a plurality of payment modes according to the rotation angle of the mobile terminal, comprising:
    响应于所述支付触发操作,根据所述移动终端在第一预设时间内的转动角度,在多个支付模式中确定目标支付模式。In response to the payment triggering operation, a target payment mode is determined among a plurality of payment modes according to the rotation angle of the mobile terminal within a first preset time.
  18. 一种移动终端的支付装置,其特征在于,包括处理器与存储器,所述处理器用于执行所述存储器中存储的以下程序模块:A payment device for a mobile terminal, comprising a processor and a memory, wherein the processor is configured to execute the following program modules stored in the memory:
    操作接收模块,被配置为在移动终端的锁屏界面下,接收支付触发操作;The operation receiving module is configured to receive the payment triggering operation under the lock screen interface of the mobile terminal;
    支付模式确定模块,被配置为响应于所述支付触发操作,根据所述移动终端的转动角度,在多个支付模式中确定目标支付模式;a payment mode determination module, configured to determine a target payment mode among a plurality of payment modes according to the rotation angle of the mobile terminal in response to the payment triggering operation;
    界面显示控制模块,被配置为显示所述目标支付模式对应的支付界面。The interface display control module is configured to display the payment interface corresponding to the target payment mode.
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至17任一项所述的方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 17 is implemented.
  20. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    处理器;processor;
    存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;
    角度传感器,用于检测所述移动终端的角度;以及an angle sensor for detecting the angle of the mobile terminal; and
    显示器,用于显示用户界面,所述用户界面包括锁屏界面与支付界面;a display for displaying a user interface, the user interface includes a lock screen interface and a payment interface;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1至17任一项所述的方法。wherein the processor is configured to perform the method of any one of claims 1 to 17 by executing the executable instructions.
PCT/CN2022/076786 2021-03-04 2022-02-18 Payment method and apparatus for mobile terminal, and storage medium and mobile terminal WO2022183915A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110241666.6A CN115034780A (en) 2021-03-04 2021-03-04 Payment method and device of mobile terminal, storage medium and mobile terminal
CN202110241666.6 2021-03-04

Publications (1)

Publication Number Publication Date
WO2022183915A1 true WO2022183915A1 (en) 2022-09-09

Family

ID=83117771

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/076786 WO2022183915A1 (en) 2021-03-04 2022-02-18 Payment method and apparatus for mobile terminal, and storage medium and mobile terminal

Country Status (2)

Country Link
CN (1) CN115034780A (en)
WO (1) WO2022183915A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115511479B (en) * 2022-11-22 2023-04-07 孩子王儿童用品股份有限公司 Multi-source data-based diversified payment management system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468874A (en) * 2013-09-16 2015-03-25 中国电信股份有限公司 Method for switching one-handed operation mode and mobile terminal
CN106326710A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Method for rapidly starting payment interface and mobile terminal
CN106445363A (en) * 2016-08-26 2017-02-22 维沃移动通信有限公司 Payment interface startup method and mobile terminal
CN107220826A (en) * 2017-05-23 2017-09-29 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN107368245A (en) * 2017-08-29 2017-11-21 广东欧珀移动通信有限公司 Pattern enables method and device
CN109102277A (en) * 2017-06-20 2018-12-28 北京小米移动软件有限公司 The method and device of mobile payment
CN110517033A (en) * 2019-08-28 2019-11-29 腾讯科技(深圳)有限公司 A kind of quickly scanning method of payment and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468874A (en) * 2013-09-16 2015-03-25 中国电信股份有限公司 Method for switching one-handed operation mode and mobile terminal
CN106326710A (en) * 2016-08-26 2017-01-11 维沃移动通信有限公司 Method for rapidly starting payment interface and mobile terminal
CN106445363A (en) * 2016-08-26 2017-02-22 维沃移动通信有限公司 Payment interface startup method and mobile terminal
CN107220826A (en) * 2017-05-23 2017-09-29 维沃移动通信有限公司 A kind of method of payment and mobile terminal
CN109102277A (en) * 2017-06-20 2018-12-28 北京小米移动软件有限公司 The method and device of mobile payment
CN107368245A (en) * 2017-08-29 2017-11-21 广东欧珀移动通信有限公司 Pattern enables method and device
CN110517033A (en) * 2019-08-28 2019-11-29 腾讯科技(深圳)有限公司 A kind of quickly scanning method of payment and device

Also Published As

Publication number Publication date
CN115034780A (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US11216097B2 (en) Fingerprint verification method and electronic device for performing the same
US10754938B2 (en) Method for activating function using fingerprint and electronic device including touch display supporting the same
KR102552312B1 (en) Electronic device having multiple fingerprint sensing mode and method for controlling the same
CN108701178B (en) Authentication method and electronic device using the same
KR102206054B1 (en) Method for processing fingerprint and electronic device thereof
KR102236279B1 (en) Mobile terminal and method for controlling the same
KR102014716B1 (en) Method for wireless connection using out-of-band channel, machine-readable storage medium and electronic device
JP6060267B2 (en) Terminal lock release processing method, apparatus, terminal apparatus, program, and recording medium
KR102483832B1 (en) Method and apparatus for connectiong between electronic devices using authentication based on biometric information
US9665131B2 (en) Storage medium, electronic device and method for controlling electronic device based on user detection using cameras
KR102214974B1 (en) Apparatus and method for fulfilling functions related to user input of note-taking pattern on lock screen
US9773158B2 (en) Mobile device having face recognition function using additional component and method for controlling the mobile device
US20150242015A1 (en) Identifying input in electronic device
WO2018223270A1 (en) Display processing method and apparatus
US20100225607A1 (en) Mobile terminal and method of controlling the mobile terminal
KR102370678B1 (en) Method and Apparatus for Controlling A Touch Sensing Module of Electronic Device, Method and Apparatus for Operating A Touch Sensing Module of Electronic Device
CN109416616B (en) Electronic device and operation method thereof
WO2021169959A1 (en) Application starting method and electronic device
KR102022042B1 (en) Data transfer method and system thereof
WO2019000287A1 (en) Icon display method and device
US20140337720A1 (en) Apparatus and method of executing function related to user input on screen
KR20210101698A (en) Electronic device and method for controlling electronic device
US10114496B2 (en) Apparatus for measuring coordinates and control method thereof
WO2022183915A1 (en) Payment method and apparatus for mobile terminal, and storage medium and mobile terminal
KR102568550B1 (en) Electronic device for executing application using handwirting input and method for controlling thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22762381

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22762381

Country of ref document: EP

Kind code of ref document: A1