WO2022111560A1 - Payment method and apparatus, and electronic device, and medium - Google Patents

Payment method and apparatus, and electronic device, and medium Download PDF

Info

Publication number
WO2022111560A1
WO2022111560A1 PCT/CN2021/133005 CN2021133005W WO2022111560A1 WO 2022111560 A1 WO2022111560 A1 WO 2022111560A1 CN 2021133005 W CN2021133005 W CN 2021133005W WO 2022111560 A1 WO2022111560 A1 WO 2022111560A1
Authority
WO
WIPO (PCT)
Prior art keywords
payment
payment method
amount
verification
processor
Prior art date
Application number
PCT/CN2021/133005
Other languages
French (fr)
Chinese (zh)
Inventor
徐圣凯
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022111560A1 publication Critical patent/WO2022111560A1/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/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
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks

Definitions

  • the present application belongs to the field of communication technologies, and specifically relates to a payment method, device, electronic device and medium.
  • QR codes sometimes merchants will post multiple QR codes at the same time, especially when multiple QR codes are close together, when users pay by scanning the codes, the scanned QR codes may be different from the QR codes that the user expects to pay;
  • a merchant provides a QR code that supports multiple payment methods, it may not be possible to identify the payment method that the user wants to use; or it may not be able to support multiple payment methods to complete the payment at the same time.
  • the existing scanning code payment method does not support the user to flexibly select the desired payment method, resulting in low payment efficiency.
  • the purpose of the embodiments of the present application is to provide a payment method, device, electronic device and medium, which can solve the problem that the existing scan code payment method does not support the user to flexibly select the desired payment method, resulting in low payment efficiency.
  • an embodiment of the present application provides a payment method, the method comprising:
  • an embodiment of the present application provides a payment device, the device comprising:
  • the payment identification module is used to identify each identification code within the scanning range and display the payment method to be selected;
  • an input receiving module for receiving the first input of the user
  • a payment determination module configured to, in response to the first input, determine a first payment method from the payment methods to be selected, and execute a preset verification process
  • a payment execution module configured to execute a payment operation by using the first payment method if the verification is successful.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the payment method to be selected is displayed; the first input from the user is received; in response to the first input, the payment method to be selected is determined from the payment method to be selected. a payment method, and perform a preset verification process; if the verification is successful, use the first payment method to perform a payment operation.
  • FIG. 1 is a schematic flowchart of a payment method provided by an embodiment of the present invention.
  • FIG. 2 is a schematic diagram showing a scanning two-dimensional code of a payment device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing a payment method of a payment device provided by an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a payment method provided by an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a payment method provided by an embodiment of the present invention.
  • FIG. 6 is a schematic diagram showing a payment method of a payment device provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing a payment method of a payment device provided by an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a payment method provided by an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a payment device provided by an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • an embodiment of the present invention provides a payment method.
  • the execution body of the method may be a payment device, and the payment device includes at least a camera for scanning a code and a display screen for performing touch operations. , and a payment application APP that can be used for scanning code payment is pre-installed in the payment device.
  • the method specifically includes the following steps:
  • Step S01 identify each identification code within the scanning range, and display the payment method to be selected.
  • the payment device first identifies the currently installed applications, applies for payment authorization to each payment application in advance, and determines the payment authorization status of each payment application.
  • identification codes which may include two-dimensional codes and barcodes.
  • two-dimensional codes are used as examples for illustration in the following embodiments.
  • the payment device will take all the acquired payment methods as the payment methods to be selected, and display them on the display screen at the same time, and the specific displayed content may include the payment method and the payment amount. Specific examples are as follows:
  • the payment device will identify the payment method C1 corresponding to the application B1 and the payment method C2 corresponding to the application B2 by scanning, so that, as shown in FIG. 3 , the payment methods C1 and C2 are displayed on the display screen.
  • QR code A1 If there is only the QR code A1 in the scanning area, and it corresponds to the applications B1, B2 and B3 at the same time, and the payment device has installed the applications B1, B2, B3, but only the applications B1 and B2 complete the payment authorization, all The payment device will also recognize payment methods C1 and C2 and display them.
  • Step S02 receiving a first input from the user.
  • Step S03 in response to the first input, determine a first payment method from the payment methods to be selected, and execute a preset verification process.
  • the user selects the payment method to be selected displayed on the display screen through the first input according to his own needs.
  • the payment device determines the first payment method according to the user's first input.
  • a logo corresponding to the first payment method can be input through text or voice, and the first payment method can also be selected from the display screen through a touch operation.
  • the user will input the first input in the form of a touch operation.
  • step S03 includes:
  • Step S031 when the touch operation of the user is monitored, determine the first payment method according to the touch area of the touch operation.
  • the touch operation can be set according to actual needs, for example, it can be a long press operation, a circle drawing operation, a tick operation, and the like.
  • the payment device may determine, according to the monitored positional relationship between the touch-control area of the long-press operation and the display area of each payment method to be paid The first payment method to be selected by the control operation.
  • the payment device determines the first payment method from the candidate payment methods according to the monitoring of the touch operation.
  • Step S033 executing a preset verification process.
  • a preset verification process is performed for payment verification.
  • verification process for example, voice verification, face recognition verification, etc.
  • embodiment of the present invention only provides an example of which is: performing a preset on the current touch area fingerprint verification process.
  • the payment device when the user selects the first payment method through a touch operation, the payment device simultaneously performs fingerprint verification on the user.
  • Step S04 if the verification is successful, use the first payment method to perform a payment operation.
  • the corresponding payment operation is performed according to the determined first payment method.
  • the payment device may also choose to execute the above-mentioned preset verification process again according to the preset settings, or replace another verification process to perform payment verification, which is not specifically limited here.
  • the embodiments of the present invention display the payment methods to be selected by identifying each identification code within the scanning range; receive the first input from the user; A first payment method is determined from the payment methods to be selected, and a preset verification process is performed; if the verification is successful, a payment operation is performed using the first payment method.
  • the method further includes:
  • Step S032 Obtain the total payment amount, and determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount corresponding to the payment operation is the payment amount.
  • the merchant can record the relevant information of the total payment amount in the scanned QR code, so that the payment device scans the QR code and parses it at the same time. The total payment amount for this scan code payment is displayed.
  • the total payment amount can also be obtained by voice input.
  • the voice collection device is turned on, and the user or the merchant inputs the total payment amount to the payment device by voice.
  • step S032 includes: taking the total payment amount as the payment amount of the first payment method. As shown in Fig. 3, the total payment amount and the payment amount of the first payment method are displayed on the display screen to facilitate the user to determine whether it is accurate.
  • the embodiments of the present invention determine the payment amount of the first payment method based on the total payment amount obtained after determining the first payment method.
  • the required payment method and payment amount can be flexibly inputted when scanning a code for payment, thereby improving the user's payment efficiency.
  • the step S032 includes:
  • Step S0321 Obtain the total payment amount.
  • Step S0322 After determining the first payment method, if it is determined that a sliding operation occurs in the touch area, adjust the payment amount of the first payment method according to the sliding operation.
  • the payment device determines the first payment method according to the touch operation and obtains the total amount of payment, if a sliding operation, such as sliding up and down or sliding left and right, is detected in the touch area of the touch operation, according to the The sliding operation adjusts the payment amount of the first payment method.
  • a sliding operation such as sliding up and down or sliding left and right
  • the sliding operation adjusts the payment amount of the first payment method.
  • Step S0323 Determine a second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the payment amount of the second payment method.
  • the payment device needs to determine the second payment method to Complete the payment of the remaining amount.
  • the payment device recognizes only two payment methods to be selected during the process of recognizing the two-dimensional code, another payment method to be selected will be used as the second payment method. However, if the payment device recognizes more than two payment methods in the process of recognizing the QR code, it means that after determining the first payment method, one payment method needs to be selected from other payment methods to be selected as the second payment method. Way.
  • the embodiment of the present invention only provides an example of one of them. According to a preset selection order, the second payment method is determined from other payment methods to be selected.
  • the preset selection order may be specifically preset by the user on the payment device, or may be obtained by the payment device pre-sorting each payment method according to the user's usage habits.
  • the bar graph of the amount displayed by the payment method C1 will change as the touch area slides up and down. Adjust the distribution ratio of the second payment method, reduce the payment amount of payment method C1 from 5288 in Figure 6 to 3288 in Figure 7, and increase the payment amount of payment method C2 from 0 to 2000, thus determining the first payment. The payment amount for the second payment method, and the payment amount for the second payment method.
  • the first payment method and the second payment method simultaneously perform corresponding payment operations according to their respective payment amounts, so as to realize this scan code payment.
  • the selection sequence may also be applied to the process of identifying the two-dimensional code by the payment device. According to the preset payment authorization status of the application and the preset selection sequence, each item within the scanning range is selected.
  • the QR code is used for identification, and a maximum of two payment methods can be selected. Therefore, after the first payment method is determined, the remaining payment methods to be selected are determined as the second payment method.
  • the embodiment of the present invention adjusts the payment amount of the first payment method through a sliding operation in the monitored touch area, and uses the remaining amount as the payment amount of the second payment method.
  • the embodiment of the present invention realizes that the required payment method and payment amount can be flexibly selected when scanning a code for payment, so that the user does not need to open multiple applications for payment operations, and the user's payment efficiency is improved.
  • the step S04 includes:
  • Step S041 if the verification is successful, after monitoring the end of the touch operation, use the first payment method and the second payment method to perform a payment operation.
  • Step S042 After the verification is successful, if the preset cancellation operation is monitored, the current payment operation is cancelled.
  • the payment device after the payment device detects the user's touch operation, in this touch operation, the payment device first selects the first payment method according to the touch operation, and adjusts the first payment method through the subsequent sliding operation.
  • the payment amount of the first payment method and the second payment method, and at the same time, the fingerprint verification process is performed on the touch area where the touch operation is performed.
  • the payment device may choose to execute the above-mentioned preset verification process again according to the preset settings, or replace another verification process to perform payment verification. Until the end of the touch operation is monitored, if the verification result is still a verification failure, it is determined that the scan code payment has failed.
  • the verification is successful, it is also necessary to first determine whether the current touch operation has ended. If the current touch operation is monitored, the payment operation can be performed based on the currently determined payment method and the corresponding payment amount.
  • the canceling operation may be a sliding operation in a preset direction or any direction, which is not specifically limited herein.
  • the payment device detects that a preset cancel operation occurs in the touch area of the touch operation after the verification is successful, the current payment operation is canceled, and it is determined that the current scan code payment fails.
  • the embodiment of the present invention cancels the current payment operation by monitoring the preset cancellation operation after the verification is successful.
  • the execution subject may be a payment device, or a control module in the payment device for executing the payment method.
  • the payment device provided by the embodiment of the present application is described by taking the payment method performed by the payment device as an example.
  • FIG. 9 is a schematic structural diagram of the payment device provided by an embodiment of the present invention, and the payment device is used for executing The payment method described in FIGS. 1 to 8 , as shown in FIG. 9 , the payment device includes: a payment identification module 901 , an input receiving module 902 , a payment determination module 903 and a payment execution module 904 .
  • the payment identification module 901 is used to identify each identification code within the scanning range and display the payment method to be selected; the input receiving module 902 is used to receive the first input of the user; the payment determination module 903 is used to respond to the selected payment method. the first input, determine the first payment method from the payment methods to be selected, and execute a preset verification process; the payment execution module 904 is configured to use the first payment method to perform a payment operation if the verification is successful .
  • the payment determination module 903 is configured to determine the first payment method according to the touch area of the touch operation when the user's touch operation is monitored.
  • the payment determination module 903 is configured to perform a preset fingerprint verification process on the current touch area.
  • the embodiments of the present invention display the payment methods to be selected by identifying each identification code within the scanning range; receive the first input from the user; A first payment method is determined from the payment methods to be selected, and a preset verification process is performed; if the verification is successful, a payment operation is performed using the first payment method.
  • the device also includes:
  • An amount determination module configured to obtain the total payment amount, and determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount corresponding to the payment operation is the payment amount.
  • the amount determination module is configured to use the total payment amount as the payment amount of the first payment method.
  • the embodiments of the present invention determine the payment amount of the first payment method based on the total payment amount obtained after determining the first payment method. Through the embodiments of the present invention, it is realized that the required payment method and payment amount can be flexibly selected when scanning the code to pay, and the user's payment efficiency is improved.
  • the amount determination module includes: a first determination unit and a second determination unit.
  • the first determining unit is configured to, after determining the first payment method, adjust the payment amount of the first payment method according to the sliding operation if it is determined that the touch area has a sliding operation; the second determining The unit is configured to determine a second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the payment amount of the second payment method.
  • the embodiment of the present invention adjusts the payment amount of the first payment method through a sliding operation in the monitored touch area, and uses the remaining amount as the payment amount of the second payment method.
  • the embodiment of the present invention realizes that the required payment method and payment amount can be flexibly selected when scanning a code for payment, so that the user does not need to open multiple applications for payment operations, and the user's payment efficiency is improved.
  • the payment execution module includes: a first execution unit and a second execution unit.
  • the first execution unit is configured to use the first payment method and the second payment method to execute the payment operation after monitoring the end of the touch operation if the verification is successful; the second execution unit is configured to execute the payment operation if the After the verification is successful, the preset cancellation operation is detected, and the current payment operation is cancelled.
  • the embodiment of the present invention cancels the current payment operation by monitoring the preset cancellation operation after the verification is successful.
  • the payment device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
  • the payment device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the payment apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 8 , and in order to avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001,
  • an electronic device 1000 including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001,
  • the program or instruction is executed by the processor 1001
  • each process of the above-mentioned payment method embodiment can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the input unit 104 may be a camera in this embodiment of the present application, and is used to identify each identification code within the scanning range.
  • the user input unit 107 which may be a touch panel in this embodiment of the present invention, is configured to receive a first input from a user.
  • the processor 110 is configured to, in response to the first input, determine a first payment method from the payment methods to be selected, and perform a preset verification process; if the verification is successful, use the first payment method to perform payment operate.
  • the display unit 106 which is a display panel in the embodiment of the present invention, is used to display the payment method to be selected and the first payment method.
  • the user input unit 107 is further configured to monitor a user's touch operation.
  • the processor 110 is further configured to determine the first payment method according to the touch area of the touch operation when the user's touch operation is monitored.
  • the processor 110 is further configured to perform a preset fingerprint verification process on the current touch area.
  • the input unit 104 which may be a microphone in this embodiment of the present invention, is used to acquire the total payment amount.
  • the processor 110 is further configured to determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount of the payment operation is the total payment amount.
  • the display unit 106 which is a display panel in the embodiment of the present invention, is also used to display the total payment amount and the payment amount of the first payment method.
  • the processor 110 is further configured to use the total payment amount as the payment amount of the first payment method.
  • the required payment method and payment amount can be flexibly selected when scanning the code to pay, and the user's payment efficiency is improved.
  • the user input unit 107 which is a touch panel in this embodiment of the present invention, is further configured to monitor whether a sliding operation occurs in the touch area.
  • the processor 110 is further configured to adjust the payment amount of the first payment method according to the sliding operation; determine the second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the second payment method. The payment amount for the payment method.
  • the display unit 106 which is a display panel in the embodiment of the present invention, is further configured to display the second payment method and the payment amount of the second payment method.
  • the embodiment of the present invention realizes that the required payment method and payment amount can be flexibly selected when scanning a code for payment, so that the user does not need to open multiple applications for payment operations, and the user's payment efficiency is improved.
  • the user input unit 107 which is a touch panel in this embodiment of the present invention, is further configured to monitor whether the touch operation ends; and a preset cancel operation.
  • the processor 110 is further configured to use the first payment method and the second payment method to perform a payment operation after monitoring that the touch operation ends if the verification is successful; if the verification is successful, monitoring a preset Cancel the operation to cancel the current payment operation.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing payment method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present application relates to the technical field of communications. Disclosed are a payment method and apparatus, and an electronic device, and a medium. The method comprises: identifying each identification code in a scanning range, and displaying a payment mode to be selected; receiving a first input of a user; in response to the first input, determining a first payment mode from the payment mode to be selected, and executing a preset verification process; and if the verification succeeds, executing a payment operation by using the first payment mode.

Description

支付方法、装置、电子设备及介质Payment methods, devices, electronic equipment and media
交叉引用cross reference
本发明要求在2020年11月26日提交中国专利局、申请号为202011353824.9、发明名称为“支付方法、装置、电子设备及介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims the priority of a Chinese patent application with an application number of 202011353824.9 and an invention title of "payment method, device, electronic device and medium" filed with the China Patent Office on November 26, 2020, the entire contents of which are incorporated by reference in the present invention.
技术领域technical field
本申请属于通信技术领域,具体涉及一种支付方法、装置、电子设备及介质。The present application belongs to the field of communication technologies, and specifically relates to a payment method, device, electronic device and medium.
背景技术Background technique
现今通过扫码支付的使用已经越来越多,各大具备支付能力的公司都提供了相应的扫码支付方式。各个商家仅需张贴各个公司提供的二维码,而用户通过扫描需要的二维码进行支付即可,安全方便快捷。Nowadays, the use of scanning code payment has been increasing, and all major companies with payment capabilities have provided corresponding scanning code payment methods. Each merchant only needs to post the QR code provided by each company, and the user can pay by scanning the required QR code, which is safe, convenient and fast.
但有时商家会同时张贴多个二维码,尤其是多个二维码比较靠近时,用户通过扫码支付时,会出现扫描到的二维码与用户期望支付的二维码不同的情况;而在商家提供一张支持多种支付方式的二维码时,会出现无法识别出用户想要采用的支付方式的情况;或者无法支持多种支付方式一起完成支付的情况。However, sometimes merchants will post multiple QR codes at the same time, especially when multiple QR codes are close together, when users pay by scanning the codes, the scanned QR codes may be different from the QR codes that the user expects to pay; However, when a merchant provides a QR code that supports multiple payment methods, it may not be possible to identify the payment method that the user wants to use; or it may not be able to support multiple payment methods to complete the payment at the same time.
可见,现有的扫码支付方式并不支持用户灵活选择想要的支付方式,导致支付的效率较低。It can be seen that the existing scanning code payment method does not support the user to flexibly select the desired payment method, resulting in low payment efficiency.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种支付方法、装置、电子设备及介质,能够解决现有的扫码支付方式并不支持用户灵活选择想要的支付方式,导致支付的效率较低的问题。The purpose of the embodiments of the present application is to provide a payment method, device, electronic device and medium, which can solve the problem that the existing scan code payment method does not support the user to flexibly select the desired payment method, resulting in low payment efficiency.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种支付方法,该方法包括:In a first aspect, an embodiment of the present application provides a payment method, the method comprising:
识别扫描范围内的各识别码,显示待选的支付方式;Identify each identification code within the scanning range, and display the payment method to be selected;
接收用户的第一输入;receiving the first input from the user;
响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;In response to the first input, determining a first payment method from the candidate payment methods, and performing a preset verification process;
若验证成功,采用所述第一支付方式执行支付操作。If the verification is successful, a payment operation is performed using the first payment method.
第二方面,本申请实施例提供了一种支付装置,所述装置包括:In a second aspect, an embodiment of the present application provides a payment device, the device comprising:
支付识别模块,用于识别扫描范围内的各识别码,显示待选的支付方式;The payment identification module is used to identify each identification code within the scanning range and display the payment method to be selected;
输入接收模块,用于接收用户的第一输入;an input receiving module for receiving the first input of the user;
支付确定模块,用于响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;a payment determination module, configured to, in response to the first input, determine a first payment method from the payment methods to be selected, and execute a preset verification process;
支付执行模块,用于若验证成功,采用所述第一支付方式执行支付操作。A payment execution module, configured to execute a payment operation by using the first payment method if the verification is successful.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,通过识别扫描范围内的各识别码,显示待选的支付方式;接收用户的第一输入;响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;若验证成功,采用所述第一支付方式执行支付操作。通过本发明实施例,实现了在进行扫码支付时,能 灵活选择需要的支付方式,提高用户的支付效率。In the embodiment of the present application, by identifying each identification code within the scanning range, the payment method to be selected is displayed; the first input from the user is received; in response to the first input, the payment method to be selected is determined from the payment method to be selected. a payment method, and perform a preset verification process; if the verification is successful, use the first payment method to perform a payment operation. Through the embodiment of the present invention, it is realized that the required payment method can be flexibly selected when scanning the code for payment, and the payment efficiency of the user is improved.
附图说明Description of drawings
图1为本发明的一个实施例提供的支付方法的流程示意图;1 is a schematic flowchart of a payment method provided by an embodiment of the present invention;
图2为本发明的一个实施例提供的支付装置的扫描二维码显示示意图;FIG. 2 is a schematic diagram showing a scanning two-dimensional code of a payment device according to an embodiment of the present invention;
图3为本发明的一个实施例提供的支付装置的支付方式展示示意图;3 is a schematic diagram showing a payment method of a payment device provided by an embodiment of the present invention;
图4为本发明的一个实施例提供的支付方法的流程示意图;4 is a schematic flowchart of a payment method provided by an embodiment of the present invention;
图5为本发明的一个实施例提供的支付方法的流程示意图;5 is a schematic flowchart of a payment method provided by an embodiment of the present invention;
图6为本发明的一个实施例提供的支付装置的支付方式展示示意图;6 is a schematic diagram showing a payment method of a payment device provided by an embodiment of the present invention;
图7为本发明的一个实施例提供的支付装置的支付方式展示示意图;7 is a schematic diagram showing a payment method of a payment device provided by an embodiment of the present invention;
图8为本发明的一个实施例提供的支付方法的流程示意图;8 is a schematic flowchart of a payment method provided by an embodiment of the present invention;
图9为本发明的一个实施例提供的支付装置的结构示意图;9 is a schematic structural diagram of a payment device provided by an embodiment of the present invention;
图10为本发明的一个实施例提供的电子设备的结构示意图;10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”, 一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的支付方法、装置、电子设备及介质进行详细地说明。The payment method, device, electronic device, and medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
如图1所示,本发明实施例提供了一种支付方法,所述方法的执行主体可以为支付装置,所述支付装置至少包括用于扫码的摄像头和可用于进行触控操作的显示屏,并在该支付装置中预先安装了可用于扫码支付的支付类应用APP。所述方法具体包括如下步骤:As shown in FIG. 1 , an embodiment of the present invention provides a payment method. The execution body of the method may be a payment device, and the payment device includes at least a camera for scanning a code and a display screen for performing touch operations. , and a payment application APP that can be used for scanning code payment is pre-installed in the payment device. The method specifically includes the following steps:
步骤S01、识别扫描范围内的各识别码,显示待选的支付方式。Step S01, identify each identification code within the scanning range, and display the payment method to be selected.
支付装置先对当前安装的应用进行识别,并预先向其中的各支付类应用申请支付授权,确定各支付类应用的支付授权状态。The payment device first identifies the currently installed applications, applies for payment authorization to each payment application in advance, and determines the payment authorization status of each payment application.
在用户准备扫码付款时,打开支付装置的摄像机对商家提供的识别码进行扫描。根据已实现支付授权的应用,对扫描区域内的所有识别码进行识别,获取与各实现支付授权的应用分别对应的支付方式。所述识别码有很多种,可以包括二维码和条形码等,为了简便起见,在下面的实施例中均以二维码为例进行举例说明。When the user is ready to scan the code to pay, turn on the camera of the payment device to scan the identification code provided by the merchant. According to the application that has realized the payment authorization, identify all the identification codes in the scanning area, and obtain the payment method corresponding to each application that realizes the payment authorization. There are many kinds of identification codes, which may include two-dimensional codes and barcodes. For the sake of simplicity, two-dimensional codes are used as examples for illustration in the following embodiments.
支付装置将获取到的所有支付方式,作为待选的支付方式,同时在显示屏上进行展示,具体展示的内容可以包括支付方式和付款金额等。具体举例如下:The payment device will take all the acquired payment methods as the payment methods to be selected, and display them on the display screen at the same time, and the specific displayed content may include the payment method and the payment amount. Specific examples are as follows:
如图2所示,若所述扫描区域内存在二维码A1和A2,分别对应于应用B1和B2,在支付装置安装了应用B1和B2且均已完成支付授权的情况下,所述支付装置通过扫描将识别出与应用B1对应的支付方式C1和与应用B2对应的支付方式C2,从而,如图3所示,将所述支付方式C1和C2在显示屏上进行展示。As shown in FIG. 2 , if there are two-dimensional codes A1 and A2 in the scanning area, corresponding to the applications B1 and B2 respectively, in the case that the payment device has installed the applications B1 and B2 and the payment authorization has been completed, the payment The device will identify the payment method C1 corresponding to the application B1 and the payment method C2 corresponding to the application B2 by scanning, so that, as shown in FIG. 3 , the payment methods C1 and C2 are displayed on the display screen.
若所述扫描区域内存在二维码A1、A2和A3,分别对应于应用B1、B2和B3,在支付装置安装了应用B1、B2、B3,但仅应用B1和B2完成支付授权的情况下,所述支付装置同样将识别出支付方式C1和C2并进行展示。If there are two-dimensional codes A1, A2 and A3 in the scanning area, they correspond to the applications B1, B2 and B3 respectively, and the payment device has installed the applications B1, B2 and B3, but only the applications B1 and B2 complete the payment authorization. , the payment device will also recognize the payment methods C1 and C2 and display them.
若所述扫描区域内仅存在二维码A1,且同时对应于应用B1、B2和B3,在支付装置安装了应用B1、B2、B3,但仅应用B1和B2完成支付授权的情况下,所述支付装置同样将识别出支付方式C1和C2并进行展示。If there is only the QR code A1 in the scanning area, and it corresponds to the applications B1, B2 and B3 at the same time, and the payment device has installed the applications B1, B2, B3, but only the applications B1 and B2 complete the payment authorization, all The payment device will also recognize payment methods C1 and C2 and display them.
步骤S02、接收用户的第一输入。Step S02, receiving a first input from the user.
步骤S03、响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程。Step S03, in response to the first input, determine a first payment method from the payment methods to be selected, and execute a preset verification process.
用户根据自身的需要通过第一输入对显示屏上展示的待选的支付方式进行选择。所述支付装置则根据用户的第一输入,确定第一支付方式。The user selects the payment method to be selected displayed on the display screen through the first input according to his own needs. The payment device determines the first payment method according to the user's first input.
所述第一输入的方式有很多,例如,可以通过文字或语音输入与所述第一支付方式对应的标识,也通过触控操作从所述显示屏上选择第一支付方式。在本发明实施例中,用户的将以触控操作的方式输入第一输入。There are many ways of the first input, for example, a logo corresponding to the first payment method can be input through text or voice, and the first payment method can also be selected from the display screen through a touch operation. In this embodiment of the present invention, the user will input the first input in the form of a touch operation.
进一步的,所述步骤S03包括:Further, the step S03 includes:
步骤S031、在监测到用户的触控操作时,根据所述触控操作的触控区域确定所述第一支付方式。Step S031 , when the touch operation of the user is monitored, determine the first payment method according to the touch area of the touch operation.
所述触控操作可以根据实际的需要进行设定,例如,可以为长按操作、画圈操作、打勾操作等。以所述触控操作为长按操作为例,所述支付装置可根据监测到的所述长按操作的触控区域与各待付的支付方式的展示区域之间的位置关系确定用户通过触控操作所要选择的第一支付方式。The touch operation can be set according to actual needs, for example, it can be a long press operation, a circle drawing operation, a tick operation, and the like. Taking the touch operation as a long-press operation as an example, the payment device may determine, according to the monitored positional relationship between the touch-control area of the long-press operation and the display area of each payment method to be paid The first payment method to be selected by the control operation.
所述支付装置则根据监测到该触控操作,从所述候选的支付方式中确定第一支付方式。The payment device determines the first payment method from the candidate payment methods according to the monitoring of the touch operation.
步骤S033、执行预设的验证过程。Step S033, executing a preset verification process.
在确定第一支付方式后,执行预设的验证过程用于进行支付验证。After the first payment method is determined, a preset verification process is performed for payment verification.
进一步的,所述验证过程的具体实施方式有很多,例如,进行语音验证、脸部识别验证等,本发明实施例仅给出了其中的一种举例说明:对当前的触控区域执行预设的指纹验证过程。Further, there are many specific implementations of the verification process, for example, voice verification, face recognition verification, etc., and the embodiment of the present invention only provides an example of which is: performing a preset on the current touch area fingerprint verification process.
应理解的是,在用户通过触控操作选择第一支付方式的同时,所述支付 装置同时对用户进行了指纹验证。It should be understood that when the user selects the first payment method through a touch operation, the payment device simultaneously performs fingerprint verification on the user.
步骤S04、若验证成功,采用所述第一支付方式执行支付操作。Step S04, if the verification is successful, use the first payment method to perform a payment operation.
若上述验证结果为验证成功,则根据确定的第一支付方式,执行对应的支付操作。If the above verification result is that the verification is successful, the corresponding payment operation is performed according to the determined first payment method.
若上述验证结果为验证失败,则判定为本次支付失败。If the above verification result is a verification failure, it is determined that this payment has failed.
在实施中,在验证失败时,支付装置还可以根据预先的设置,选择再次执行上述预设的验证过程,或者更换另一种验证过程来进行支付验证,在此不作具体的限定。In implementation, when the verification fails, the payment device may also choose to execute the above-mentioned preset verification process again according to the preset settings, or replace another verification process to perform payment verification, which is not specifically limited here.
由以上本发明实施例提供的技术方案可见,本发明实施例通过识别扫描范围内的各识别码,显示待选的支付方式;接收用户的第一输入;响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;若验证成功,采用所述第一支付方式执行支付操作。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式,提高用户的支付效率。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiments of the present invention display the payment methods to be selected by identifying each identification code within the scanning range; receive the first input from the user; A first payment method is determined from the payment methods to be selected, and a preset verification process is performed; if the verification is successful, a payment operation is performed using the first payment method. By means of the embodiments of the present invention, it is possible to flexibly select a required payment method when scanning a code for payment, thereby improving the user's payment efficiency.
基于上述实施例,进一步的,如图4所示,所述步骤S033之前,所述方法还包括:Based on the above embodiment, further, as shown in FIG. 4, before the step S033, the method further includes:
步骤S032、获取付款总额,基于所述付款总额确定所述第一支付方式的付款金额;其中,所述支付操作对应的支付金额为所述付款金额。Step S032: Obtain the total payment amount, and determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount corresponding to the payment operation is the payment amount.
用于获取本次扫码支付的付款总额的方法有很多,可以由商家将付款总额的相关信息记录到被扫描的二维码中,从而所述支付装置在扫描该二维码时,同时解析出本次扫码支付的付款总额。There are many methods for obtaining the total payment amount of this scan code payment. The merchant can record the relevant information of the total payment amount in the scanned QR code, so that the payment device scans the QR code and parses it at the same time. The total payment amount for this scan code payment is displayed.
在实施中,还可以通过语音输入的方式获取付款总额。在支付装置确定第一支付方式后,开启语音采集设备,由用户或商家通过语音向所述支付装置输入付款总额。In implementation, the total payment amount can also be obtained by voice input. After the payment device determines the first payment method, the voice collection device is turned on, and the user or the merchant inputs the total payment amount to the payment device by voice.
进一步的,所述步骤S032包括:将所述付款总额作为所述第一支付方式的付款金额。如图3所示,在所述显示屏上展示所述付款总额和所述第一支 付方式的付款金额,以方便用户确定是否准确。Further, the step S032 includes: taking the total payment amount as the payment amount of the first payment method. As shown in Fig. 3, the total payment amount and the payment amount of the first payment method are displayed on the display screen to facilitate the user to determine whether it is accurate.
由以上本发明实施例提供的技术方案可见,本发明实施例通过在确定第一支付方式后,将获取到的付款总额,基于所述付款总额确定所述第一支付方式的付款金额。通过本发明实施例,实现了在进行扫码支付时,能灵活输入需要的支付方式和付款金额,提高用户的支付效率。As can be seen from the technical solutions provided by the above embodiments of the present invention, the embodiments of the present invention determine the payment amount of the first payment method based on the total payment amount obtained after determining the first payment method. By means of the embodiments of the present invention, it is realized that the required payment method and payment amount can be flexibly inputted when scanning a code for payment, thereby improving the user's payment efficiency.
基于上述实施例,进一步的,如图5所示,所述步骤S032包括:Based on the above embodiment, further, as shown in FIG. 5 , the step S032 includes:
步骤S0321、获取付款总额。Step S0321: Obtain the total payment amount.
步骤S0322、在确定所述第一支付方式后,若判定所述触控区域产生滑动操作,则根据所述滑动操作,调整所述第一支付方式的付款金额。Step S0322: After determining the first payment method, if it is determined that a sliding operation occurs in the touch area, adjust the payment amount of the first payment method according to the sliding operation.
在所述支付装置根据所述触控操作确定第一支付方式,并获取付款总额后,若监测到所述触控操作的触控区域出现滑动操作,例如上下滑动或左右滑动等,则根据该滑动操作对所述第一支付方式的付款金额进行调整。通过预设的计算方法,根据滑动的方向和滑动的距离,修正所述第一支付方式的付款金额在付款总额中所占的比重。After the payment device determines the first payment method according to the touch operation and obtains the total amount of payment, if a sliding operation, such as sliding up and down or sliding left and right, is detected in the touch area of the touch operation, according to the The sliding operation adjusts the payment amount of the first payment method. By using a preset calculation method, the proportion of the payment amount of the first payment method in the total payment is corrected according to the sliding direction and the sliding distance.
步骤S0323、从其它待选的支付方式中确定第二支付方式,并将付款总额的剩余金额作为所述第二支付方式的付款金额。Step S0323: Determine a second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the payment amount of the second payment method.
应理解的是,在所述第一支付方式无法全额支付所述付款总额,即所述第一支付方式的付款金额小于所述付款总额情况下,所述支付装置需要确定第二支付方式来完成剩余金额的支付。It should be understood that, in the case where the first payment method cannot pay the total payment amount in full, that is, the payment amount of the first payment method is less than the total payment amount, the payment device needs to determine the second payment method to Complete the payment of the remaining amount.
若支付装置在对二维码的识别过程中,仅识别出两种待选的支付方式,则另一种待选的支付方式将作为所述第二支付方式。而若支付装置在对二维码的识别过程中,识别出超过两种支付方式,相当于在确定第一支付方式后,需要从其它待选的支付方式中选择一种支付方式作为第二支付方式。If the payment device recognizes only two payment methods to be selected during the process of recognizing the two-dimensional code, another payment method to be selected will be used as the second payment method. However, if the payment device recognizes more than two payment methods in the process of recognizing the QR code, it means that after determining the first payment method, one payment method needs to be selected from other payment methods to be selected as the second payment method. Way.
所述确定第二支付方式的方法有很多,本发明实施例仅给出了其中的一种举例说明,根据预设的选取顺序,从其它待选的支付方式中确定第二支付方式。There are many methods for determining the second payment method, and the embodiment of the present invention only provides an example of one of them. According to a preset selection order, the second payment method is determined from other payment methods to be selected.
所述预设的选取顺序具体可以由用户在所述支付装置预先设定,也可以由支付装置根据用户的使用习惯对各支付方式进行预先排序得到。The preset selection order may be specifically preset by the user on the payment device, or may be obtained by the payment device pre-sorting each payment method according to the user's usage habits.
如图6和图7所示,通过触控区域的滑动操作,所述支付方式C1所显示的金额柱状图将随着所述触控区域的上下滑动而改变,对付款总额在第一支付方式和第二支付方式的分配比例进行调整,将支付方式C1的付款金额由图6的5288减少为图7的3288,而将支付方式C2的付款金额由0增加为2000,从而确定了第一支付方式的付款金额,以及第二支付方式的付款金额。As shown in Figure 6 and Figure 7, through the sliding operation of the touch area, the bar graph of the amount displayed by the payment method C1 will change as the touch area slides up and down. Adjust the distribution ratio of the second payment method, reduce the payment amount of payment method C1 from 5288 in Figure 6 to 3288 in Figure 7, and increase the payment amount of payment method C2 from 0 to 2000, thus determining the first payment. The payment amount for the second payment method, and the payment amount for the second payment method.
再经过后续的验证过程,若验证成功,则同时由第一支付方式和第二支付方式根据各自对应的付款金额执行相应的支付操作,以实现本次扫码支付。After the subsequent verification process, if the verification is successful, the first payment method and the second payment method simultaneously perform corresponding payment operations according to their respective payment amounts, so as to realize this scan code payment.
在实施中,还可以将所述选取顺序应用于所述支付装置对二维码进行识别操作的过程中,根据预置的应用的支付授权状态和预设的选取顺序,对扫描范围内的各二维码进行识别操作,得到最多两个待选的支付方式。从而,在确定第一支付方式后,将剩余的待选的支付方式确定为第二支付方式。In implementation, the selection sequence may also be applied to the process of identifying the two-dimensional code by the payment device. According to the preset payment authorization status of the application and the preset selection sequence, each item within the scanning range is selected. The QR code is used for identification, and a maximum of two payment methods can be selected. Therefore, after the first payment method is determined, the remaining payment methods to be selected are determined as the second payment method.
由以上本发明实施例提供的技术方案可见,本发明实施例通过在监测到的触控区域的滑动操作,调整第一支付方式的付款金额,并将剩余金额作为第二支付方式的付款金额。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,使用户无需再打开多个应用进行付款操作,提高用户的支付效率。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiment of the present invention adjusts the payment amount of the first payment method through a sliding operation in the monitored touch area, and uses the remaining amount as the payment amount of the second payment method. The embodiment of the present invention realizes that the required payment method and payment amount can be flexibly selected when scanning a code for payment, so that the user does not need to open multiple applications for payment operations, and the user's payment efficiency is improved.
基于上述实施例,进一步的,如图8所示,所述步骤S04包括:Based on the above embodiment, further, as shown in FIG. 8 , the step S04 includes:
步骤S041、若验证成功,则在监测到所述触控操作结束后,采用所述第一支付方式和第二支付方式执行支付操作。Step S041 , if the verification is successful, after monitoring the end of the touch operation, use the first payment method and the second payment method to perform a payment operation.
步骤S042、在验证成功后,若监测到预设的取消操作,则取消本次支付操作。Step S042: After the verification is successful, if the preset cancellation operation is monitored, the current payment operation is cancelled.
应理解的是,在支付装置监测到用户的触控操作开始,在本次触控操作中,支付装置先根据所述触控操作选取了第一支付方式,并且通过后续的滑动操作调整了第一支付方式和第二支付方式的付款金额,同时,对触控操作 所在触控区域执行指纹验证过程。It should be understood that, after the payment device detects the user's touch operation, in this touch operation, the payment device first selects the first payment method according to the touch operation, and adjusts the first payment method through the subsequent sliding operation. The payment amount of the first payment method and the second payment method, and at the same time, the fingerprint verification process is performed on the touch area where the touch operation is performed.
若验证未成功,则需要先判定本次触控操作是否已经结束,例如,判断用户的手指是否已经离开了显示屏,若监测到本次触控操作结束时,即用户的手指离开显示屏后,判定为本次的扫码支付失败。If the verification is unsuccessful, it is necessary to first determine whether the touch operation has ended, for example, to determine whether the user's finger has left the display screen. , it is determined that this scan code payment failed.
而若验证未成功,则在本次触控操作结束前,支付装置还可以根据预先的设置,选择再次执行上述预设的验证过程,或者更换另一种验证过程来进行支付验证。直到监测到本次触控操作结束时,若验证结果依然为验证失败,则判定本次扫码支付失败。If the verification is unsuccessful, before the touch operation ends, the payment device may choose to execute the above-mentioned preset verification process again according to the preset settings, or replace another verification process to perform payment verification. Until the end of the touch operation is monitored, if the verification result is still a verification failure, it is determined that the scan code payment has failed.
而若验证成功,则同样需要先确定本次触控操作是否已经结束,若监测到本次触控操作结束,此时,可基于当前确定的支付方式和对应的付款金额来执行支付操作。If the verification is successful, it is also necessary to first determine whether the current touch operation has ended. If the current touch operation is monitored, the payment operation can be performed based on the currently determined payment method and the corresponding payment amount.
而若验证成功后,用户对于当前的付款金额或支付方式不满意或发觉存在错误,则可在本次触控操作未结束前,执行预设的取消操作。所述取消操作可以为预设方向或任意方向的滑动操作,在此不作具体地限定。However, if the user is not satisfied with the current payment amount or payment method or finds that there is an error after the verification is successful, the user can perform a preset cancellation operation before the current touch operation is completed. The canceling operation may be a sliding operation in a preset direction or any direction, which is not specifically limited herein.
当支付装置在验证成功后,监测到所述触控操作的触控区域出现了预设的取消操作,则取消本次支付操作,判定本次扫码支付失败。When the payment device detects that a preset cancel operation occurs in the touch area of the touch operation after the verification is successful, the current payment operation is canceled, and it is determined that the current scan code payment fails.
由以上本发明实施例提供的技术方案可见,本发明实施例通过在验证成功后,若监测到预设的取消操作,则取消本次支付操作。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,并随时取消支付,提高用户的支付效率和安全性。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiment of the present invention cancels the current payment operation by monitoring the preset cancellation operation after the verification is successful. Through the embodiments of the present invention, it is possible to flexibly select the required payment method and payment amount, and cancel the payment at any time when scanning the code for payment, thereby improving the user's payment efficiency and security.
需要说明的是,本申请实施例提供的支付方法,执行主体可以为支付装置,或者该支付装置中的用于执行支付方法的控制模块。本申请实施例中以支付装置执行支付方法为例,说明本申请实施例提供的支付装置。It should be noted that, in the payment method provided by the embodiment of the present application, the execution subject may be a payment device, or a control module in the payment device for executing the payment method. In the embodiment of the present application, the payment device provided by the embodiment of the present application is described by taking the payment method performed by the payment device as an example.
对应上述实施例提供的支付方法,基于相同的技术构思,本发明实施例还提供了一种支付装置,图9为本发明的一个实施例提供的支付装置的结构示意图,该支付装置用于执行图1至图8描述的支付方法,如图9所示,该 支付装置包括:支付识别模块901、输入接收模块902、支付确定模块903和支付执行模块904。Corresponding to the payment method provided by the above-mentioned embodiment, based on the same technical concept, the embodiment of the present invention also provides a payment device. FIG. 9 is a schematic structural diagram of the payment device provided by an embodiment of the present invention, and the payment device is used for executing The payment method described in FIGS. 1 to 8 , as shown in FIG. 9 , the payment device includes: a payment identification module 901 , an input receiving module 902 , a payment determination module 903 and a payment execution module 904 .
所述支付识别模块901用于识别扫描范围内的各识别码,显示待选的支付方式;所述输入接收模块902用于接收用户的第一输入;所述支付确定模块903用于响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;所述支付执行模块904用于若验证成功,采用所述第一支付方式执行支付操作。The payment identification module 901 is used to identify each identification code within the scanning range and display the payment method to be selected; the input receiving module 902 is used to receive the first input of the user; the payment determination module 903 is used to respond to the selected payment method. the first input, determine the first payment method from the payment methods to be selected, and execute a preset verification process; the payment execution module 904 is configured to use the first payment method to perform a payment operation if the verification is successful .
进一步的,所述支付确定模块903用于在监测到用户的触控操作时,根据所述触控操作的触控区域确定所述第一支付方式。Further, the payment determination module 903 is configured to determine the first payment method according to the touch area of the touch operation when the user's touch operation is monitored.
进一步的,所述支付确定模块903用于对当前的触控区域执行预设的指纹验证过程。Further, the payment determination module 903 is configured to perform a preset fingerprint verification process on the current touch area.
由以上本发明实施例提供的技术方案可见,本发明实施例通过识别扫描范围内的各识别码,显示待选的支付方式;接收用户的第一输入;响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;若验证成功,采用所述第一支付方式执行支付操作。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式,提高用户的支付效率。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiments of the present invention display the payment methods to be selected by identifying each identification code within the scanning range; receive the first input from the user; A first payment method is determined from the payment methods to be selected, and a preset verification process is performed; if the verification is successful, a payment operation is performed using the first payment method. By means of the embodiments of the present invention, it is possible to flexibly select a required payment method when scanning a code for payment, thereby improving the user's payment efficiency.
进一步的,所述装置还包括:Further, the device also includes:
金额确定模块,用于获取付款总额,基于所述付款总额确定所述第一支付方式的付款金额;其中,所述支付操作对应的支付金额为所述付款金额。An amount determination module, configured to obtain the total payment amount, and determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount corresponding to the payment operation is the payment amount.
进一步的,所述金额确定模块,用于将所述付款总额作为所述第一支付方式的付款金额。Further, the amount determination module is configured to use the total payment amount as the payment amount of the first payment method.
由以上本发明实施例提供的技术方案可见,本发明实施例通过在确定第一支付方式后,将获取到的付款总额,基于所述付款总额确定所述第一支付方式的付款金额。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,提高用户的支付效率。As can be seen from the technical solutions provided by the above embodiments of the present invention, the embodiments of the present invention determine the payment amount of the first payment method based on the total payment amount obtained after determining the first payment method. Through the embodiments of the present invention, it is realized that the required payment method and payment amount can be flexibly selected when scanning the code to pay, and the user's payment efficiency is improved.
进一步的,所述金额确定模块包括:第一确定单元和第二确定单元。Further, the amount determination module includes: a first determination unit and a second determination unit.
所述第一确定单元用于在确定第一支付方式后,若判定所述触控区域产生滑动操作,则根据所述滑动操作,调整所述第一支付方式的付款金额;所述第二确定单元用于从其它待选的支付方式中确定第二支付方式,并将付款总额的剩余金额作为所述第二支付方式的付款金额。The first determining unit is configured to, after determining the first payment method, adjust the payment amount of the first payment method according to the sliding operation if it is determined that the touch area has a sliding operation; the second determining The unit is configured to determine a second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the payment amount of the second payment method.
由以上本发明实施例提供的技术方案可见,本发明实施例通过在监测到的触控区域的滑动操作,调整第一支付方式的付款金额,并将剩余金额作为第二支付方式的付款金额。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,使用户无需再打开多个应用进行付款操作,提高用户的支付效率。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiment of the present invention adjusts the payment amount of the first payment method through a sliding operation in the monitored touch area, and uses the remaining amount as the payment amount of the second payment method. The embodiment of the present invention realizes that the required payment method and payment amount can be flexibly selected when scanning a code for payment, so that the user does not need to open multiple applications for payment operations, and the user's payment efficiency is improved.
进一步的,所述支付执行模块,包括:第一执行单元和第二执行单元。Further, the payment execution module includes: a first execution unit and a second execution unit.
所述第一执行单元用于若验证成功,则在监测到所述触控操作结束后,采用所述第一支付方式和第二支付方式执行支付操作;所述第二执行单元用于若在验证成功后,监测到预设的取消操作,则取消本次的支付操作。The first execution unit is configured to use the first payment method and the second payment method to execute the payment operation after monitoring the end of the touch operation if the verification is successful; the second execution unit is configured to execute the payment operation if the After the verification is successful, the preset cancellation operation is detected, and the current payment operation is cancelled.
由以上本发明实施例提供的技术方案可见,本发明实施例通过在验证成功后,若监测到预设的取消操作,则取消本次支付操作。通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,并随时取消支付,提高用户的支付效率和安全性。It can be seen from the technical solutions provided by the above embodiments of the present invention that the embodiment of the present invention cancels the current payment operation by monitoring the preset cancellation operation after the verification is successful. Through the embodiments of the present invention, it is possible to flexibly select the required payment method and payment amount, and cancel the payment at any time when scanning the code for payment, thereby improving the user's payment efficiency and security.
本申请实施例中的支付装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The payment device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiments of the present application.
本申请实施例中的支付装置可以为具有操作系统的装置。该操作系统可 以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The payment device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的支付装置能够实现图1至图8的方法实施例实现的各个过程,为避免重复,这里不再赘述。The payment apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in FIG. 1 to FIG. 8 , and in order to avoid repetition, details are not repeated here.
可选的,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述支付方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 10, an embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, a program or instruction stored in the memory 1002 and executable on the processor 1001, When the program or instruction is executed by the processor 1001, each process of the above-mentioned payment method embodiment can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,输入单元104,在本申请实施例中可以为摄像头,用于识别扫描范围内的各识别码。The input unit 104 may be a camera in this embodiment of the present application, and is used to identify each identification code within the scanning range.
用户输入单元107,本发明实施例中可以为触控面板,用于接收用户的第一输入。The user input unit 107, which may be a touch panel in this embodiment of the present invention, is configured to receive a first input from a user.
处理器110,用于响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;若验证成功,采用所述第一支付方式执行支付操作。The processor 110 is configured to, in response to the first input, determine a first payment method from the payment methods to be selected, and perform a preset verification process; if the verification is successful, use the first payment method to perform payment operate.
显示单元106,本发明实施例中为显示面板,用于显示待选的支付方式、第一支付方式。The display unit 106, which is a display panel in the embodiment of the present invention, is used to display the payment method to be selected and the first payment method.
可选的,所述用户输入单元107,还用于监测用户的触控操作。Optionally, the user input unit 107 is further configured to monitor a user's touch operation.
所述处理器110,还用于在监测到用户的触控操作时,根据所述触控操作的触控区域确定所述第一支付方式。The processor 110 is further configured to determine the first payment method according to the touch area of the touch operation when the user's touch operation is monitored.
可选的,所述处理器110,还用于对当前的触控区域执行预设的指纹验证过程。Optionally, the processor 110 is further configured to perform a preset fingerprint verification process on the current touch area.
通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式,提高用户的支付效率。By means of the embodiments of the present invention, it is possible to flexibly select a required payment method when scanning a code for payment, thereby improving the user's payment efficiency.
可选的,输入单元104,本发明实施例可以为麦克风,用于获取付款总额。Optionally, the input unit 104, which may be a microphone in this embodiment of the present invention, is used to acquire the total payment amount.
处理器110,还用于基于所述付款总额确定所述第一支付方式的付款金额;其中,所述支付操作的支付金额为所述付款总额。The processor 110 is further configured to determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount of the payment operation is the total payment amount.
显示单元106,本发明实施例中为显示面板,还用于显示付款总额、第一支付方式的付款金额。The display unit 106, which is a display panel in the embodiment of the present invention, is also used to display the total payment amount and the payment amount of the first payment method.
可选的,所述处理器110,还用于将所述付款总额作为所述第一支付方式的付款金额。Optionally, the processor 110 is further configured to use the total payment amount as the payment amount of the first payment method.
通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,提高用户的支付效率。Through the embodiments of the present invention, it is realized that the required payment method and payment amount can be flexibly selected when scanning the code to pay, and the user's payment efficiency is improved.
可选的,用户输入单元107,本发明实施例为触控面板,还用于监测所述触控区域是否产生滑动操作。Optionally, the user input unit 107, which is a touch panel in this embodiment of the present invention, is further configured to monitor whether a sliding operation occurs in the touch area.
处理器110,还用于根据所述滑动操作,调整所述第一支付方式的付款金额;从其它待选的支付方式中确定第二支付方式,并将付款总额的剩余金额作为所述第二支付方式的付款金额。The processor 110 is further configured to adjust the payment amount of the first payment method according to the sliding operation; determine the second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the second payment method. The payment amount for the payment method.
显示单元106,本发明实施例中为显示面板,还用于显示第二支付方式和第二支付方式的付款金额。The display unit 106, which is a display panel in the embodiment of the present invention, is further configured to display the second payment method and the payment amount of the second payment method.
通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,使用户无需再打开多个应用进行付款操作,提高用户的支付效率。The embodiment of the present invention realizes that the required payment method and payment amount can be flexibly selected when scanning a code for payment, so that the user does not need to open multiple applications for payment operations, and the user's payment efficiency is improved.
可选的,用户输入单元107,本发明实施例为触控面板,还用于监测所述触控操作是否结束;以及预设的取消操作。Optionally, the user input unit 107, which is a touch panel in this embodiment of the present invention, is further configured to monitor whether the touch operation ends; and a preset cancel operation.
处理器110,还用于若验证成功,则在监测到所述触控操作结束后,采用所述第一支付方式和第二支付方式执行支付操作;若在验证成功后,监测到预设的取消操作,则取消本次的支付操作。The processor 110 is further configured to use the first payment method and the second payment method to perform a payment operation after monitoring that the touch operation ends if the verification is successful; if the verification is successful, monitoring a preset Cancel the operation to cancel the current payment operation.
通过本发明实施例,实现了在进行扫码支付时,能灵活选择需要的支付方式和付款金额,并随时取消支付,提高用户的支付效率和安全性。Through the embodiments of the present invention, it is possible to flexibly select the required payment method and payment amount, and cancel the payment at any time when scanning the code for payment, thereby improving the user's payment efficiency and security.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in this embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述支付方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the above payment method embodiment can be implemented, and the same can be achieved. The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述支付方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing payment method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光 盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (19)

  1. 一种支付方法,包括:A payment method that includes:
    识别扫描范围内的各识别码,显示待选的支付方式;Identify each identification code within the scanning range, and display the payment method to be selected;
    接收用户的第一输入;receiving the first input from the user;
    响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;In response to the first input, determining a first payment method from the candidate payment methods, and performing a preset verification process;
    若验证成功,采用所述第一支付方式执行支付操作。If the verification is successful, a payment operation is performed using the first payment method.
  2. 根据权利要求1所述的支付方法,其中,所述响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,包括:The payment method according to claim 1, wherein said determining a first payment method from said candidate payment methods in response to said first input comprises:
    在监测到用户的触控操作时,根据所述触控操作的触控区域确定所述第一支付方式。When the touch operation of the user is monitored, the first payment method is determined according to the touch area of the touch operation.
  3. 根据权利要求2所述的支付方法,其中,所述方法还包括:The payment method according to claim 2, wherein the method further comprises:
    获取付款总额,基于所述付款总额确定所述第一支付方式的付款金额;其中,所述支付操作对应的支付金额为所述付款金额。The total payment amount is obtained, and the payment amount of the first payment method is determined based on the total payment amount; wherein, the payment amount corresponding to the payment operation is the payment amount.
  4. 根据权利要求3所述的支付方法,其中,所述基于所述付款总额确定所述第一支付方式的付款金额,包括:将所述付款总额作为所述第一支付方式的付款金额。The payment method according to claim 3, wherein the determining the payment amount of the first payment method based on the payment total amount comprises: taking the payment total amount as the payment amount of the first payment method.
  5. 根据权利要求3所述的支付方法,其中,所述基于所述付款总额确定所述第一支付方式的付款金额,包括:The payment method according to claim 3, wherein determining the payment amount of the first payment method based on the total payment amount comprises:
    在确定所述第一支付方式后,若判定所述触控区域产生滑动操作,则根据所述滑动操作,调整所述第一支付方式的付款金额;After determining the first payment method, if it is determined that a sliding operation occurs in the touch area, adjusting the payment amount of the first payment method according to the sliding operation;
    从其它待选的支付方式中确定第二支付方式,并将付款总额的剩余金额作为所述第二支付方式的付款金额。A second payment method is determined from other payment methods to be selected, and the remaining amount of the total payment amount is used as the payment amount of the second payment method.
  6. 根据权利要求5所述的支付方法,其中,所述若验证成功,采用所述第一支付方式执行支付操作,包括:The payment method according to claim 5, wherein, if the verification is successful, using the first payment method to perform a payment operation includes:
    若验证成功,则在监测到所述触控操作结束后,采用所述第一支付方式 和第二支付方式执行支付操作;If the verification is successful, after monitoring the end of the touch operation, use the first payment method and the second payment method to perform the payment operation;
    若在验证成功后,监测到预设的取消操作,则取消本次的支付操作。If the preset cancellation operation is detected after the verification is successful, the current payment operation will be cancelled.
  7. 根据权利要求1-6任一所述的支付方法,其中,所述执行预设的验证过程,包括:The payment method according to any one of claims 1-6, wherein the performing a preset verification process includes:
    对当前的触控区域执行预设的指纹验证过程。Execute the preset fingerprint verification process on the current touch area.
  8. 一种支付装置,包括:A payment device, comprising:
    支付识别模块,用于识别扫描范围内的各识别码,显示待选的支付方式;The payment identification module is used to identify each identification code within the scanning range and display the payment method to be selected;
    输入接收模块,用于接收用户的第一输入;an input receiving module for receiving the first input of the user;
    支付确定模块,用于响应于所述第一输入,从所述待选的支付方式中确定第一支付方式,并执行预设的验证过程;a payment determination module, configured to, in response to the first input, determine a first payment method from the payment methods to be selected, and execute a preset verification process;
    支付执行模块,用于若验证成功,采用所述第一支付方式执行支付操作。A payment execution module, configured to execute a payment operation by using the first payment method if the verification is successful.
  9. 根据权利要求8所述的支付装置,其中,所述支付确定模块,用于在监测到用户的触控操作时,根据所述触控操作的触控区域确定所述第一支付方式。The payment device according to claim 8, wherein the payment determination module is configured to determine the first payment method according to a touch area of the touch operation when the user's touch operation is monitored.
  10. 根据权利要求9所述的支付装置,其中,所述装置还包括:The payment device of claim 9, wherein the device further comprises:
    金额确定模块,用于获取付款总额,基于所述付款总额确定所述第一支付方式的付款金额;其中,所述支付操作对应的支付金额为所述付款金额。An amount determination module, configured to obtain the total payment amount, and determine the payment amount of the first payment method based on the total payment amount; wherein, the payment amount corresponding to the payment operation is the payment amount.
  11. 根据权利要求10所述的支付装置,其中,所述金额确定模块,用于将所述付款总额作为所述第一支付方式的付款金额。The payment device according to claim 10, wherein the amount determination module is configured to use the total payment amount as the payment amount of the first payment method.
  12. 根据权利要求10所述的支付装置,其中,所述金额确定模块,包括:The payment device according to claim 10, wherein the amount determination module comprises:
    第一确定单元,用于在确定第一支付方式后,若判定所述触控区域产生滑动操作,则根据所述滑动操作,调整所述第一支付方式的付款金额;a first determining unit, configured to adjust the payment amount of the first payment method according to the sliding operation if it is determined that a sliding operation occurs in the touch area after the first payment method is determined;
    第二确定单元,用于从其它待选的支付方式中确定第二支付方式,并将付款总额的剩余金额作为所述第二支付方式的付款金额。The second determination unit is configured to determine a second payment method from other payment methods to be selected, and use the remaining amount of the total payment as the payment amount of the second payment method.
  13. 根据权利要求12所述的支付装置,其中,所述支付执行模块,包括:The payment device according to claim 12, wherein the payment execution module comprises:
    第一执行单元,用于若验证成功,则在监测到所述触控操作结束后,采 用所述第一支付方式和第二支付方式执行支付操作;a first execution unit, configured to execute a payment operation by using the first payment method and the second payment method after monitoring the end of the touch operation if the verification is successful;
    第二执行单元,用于若在验证成功后,监测到预设的取消操作,则取消本次的支付操作。The second execution unit is configured to cancel the current payment operation if a preset cancellation operation is detected after the verification is successful.
  14. 根据权利要求8-13任一所述的支付装置,其中,所述支付确定模块,用于对当前的触控区域执行预设的指纹验证过程。The payment device according to any one of claims 8-13, wherein the payment determination module is configured to perform a preset fingerprint verification process on the current touch area.
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的支付方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1-7 The steps of any one of the payment methods.
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的支付方法的步骤。A readable storage medium on which a program or an instruction is stored, and when the program or instruction is executed by a processor, implements the steps of the payment method according to any one of claims 1-7.
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7任一项所述的支付方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the payment method according to any one of claims 1-7 A step of.
  18. 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-7任一项所述的支付方法的步骤。A computer program product, the program product being stored in a non-volatile storage medium, the program product being executed by at least one processor to implement the steps of the payment method according to any one of claims 1-7.
  19. 一种支付装置,包括所述支付装置用于执行如权利要求1-7任一项所述的支付方法。A payment device, comprising the payment device for executing the payment method according to any one of claims 1-7.
PCT/CN2021/133005 2020-11-26 2021-11-25 Payment method and apparatus, and electronic device, and medium WO2022111560A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011353824.9 2020-11-26
CN202011353824.9A CN112465497A (en) 2020-11-26 2020-11-26 Payment method, payment device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
WO2022111560A1 true WO2022111560A1 (en) 2022-06-02

Family

ID=74809535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/133005 WO2022111560A1 (en) 2020-11-26 2021-11-25 Payment method and apparatus, and electronic device, and medium

Country Status (2)

Country Link
CN (1) CN112465497A (en)
WO (1) WO2022111560A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301459A (en) * 2023-02-27 2023-06-23 荣耀终端有限公司 Code scanning method and related device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112465497A (en) * 2020-11-26 2021-03-09 维沃移动通信有限公司 Payment method, payment device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8393545B1 (en) * 2009-06-23 2013-03-12 Dynamics Inc. Cards deployed with inactivated products for activation
CN107480997A (en) * 2017-07-17 2017-12-15 广东欧珀移动通信有限公司 A kind of method of mobile payment, terminal and storage medium
CN111369238A (en) * 2020-03-10 2020-07-03 澳克多普有限公司 Payment channel selection method, system, payment equipment and storage medium
CN112465497A (en) * 2020-11-26 2021-03-09 维沃移动通信有限公司 Payment method, payment device, electronic equipment and medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203302B (en) * 2016-03-17 2021-01-01 创新先进技术有限公司 Page display method and device
WO2017219271A1 (en) * 2016-06-22 2017-12-28 北京小米移动软件有限公司 Payment switching method and device
CN106326710B (en) * 2016-08-26 2019-07-26 维沃移动通信有限公司 A kind of quickly starting payment interface method and mobile terminal
KR101758575B1 (en) * 2016-11-14 2017-07-26 이선관 Method and system for financial payment using mobile devices
CN107862609A (en) * 2017-06-27 2018-03-30 陆金所(上海)科技服务有限公司 Amount of money matching method, display device and computer-readable recording medium
CN107818467A (en) * 2017-09-08 2018-03-20 深圳市金立通信设备有限公司 A kind of method of payment and terminal
KR101898284B1 (en) * 2018-06-22 2018-09-12 주식회사 와이온 Method for payment using a smart card
CN109493026B (en) * 2018-11-12 2024-06-28 平安科技(深圳)有限公司 Payment processing method, device, computer equipment and storage medium
CN110689339A (en) * 2019-09-25 2020-01-14 上海易点时空网络有限公司 Payment mode setting method and device
CN111062713B (en) * 2019-11-25 2021-07-23 支付宝(杭州)信息技术有限公司 Payment system, method, server device, medium and device
CN111652611A (en) * 2020-05-27 2020-09-11 维沃移动通信有限公司 Payment method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8393545B1 (en) * 2009-06-23 2013-03-12 Dynamics Inc. Cards deployed with inactivated products for activation
CN107480997A (en) * 2017-07-17 2017-12-15 广东欧珀移动通信有限公司 A kind of method of mobile payment, terminal and storage medium
CN111369238A (en) * 2020-03-10 2020-07-03 澳克多普有限公司 Payment channel selection method, system, payment equipment and storage medium
CN112465497A (en) * 2020-11-26 2021-03-09 维沃移动通信有限公司 Payment method, payment device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116301459A (en) * 2023-02-27 2023-06-23 荣耀终端有限公司 Code scanning method and related device
CN116301459B (en) * 2023-02-27 2023-10-20 荣耀终端有限公司 Code scanning method and related device

Also Published As

Publication number Publication date
CN112465497A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
US11042291B2 (en) Text input method in touch screen terminal and apparatus therefor
US9852277B2 (en) Method for performing authentication using biometrics information and portable electronic device supporting the same
US20210357903A1 (en) Systems and methods for providing near field communications
JP6055961B2 (en) Text selection and input
EP3331226B1 (en) Method and device for reading messages
US10380237B2 (en) Smart optical input/output (I/O) extension for context-dependent workflows
US20110287741A1 (en) Secure application control in mobile terminal using biometric sensor
US20140181962A1 (en) Application executing method using fingerprint recognition, device therefor, and computer readable recording medium therefor
US20140106711A1 (en) Method, user device and computer-readable storage for displaying message using fingerprint
CN103425914A (en) Login method of application program and communication terminal
WO2022111560A1 (en) Payment method and apparatus, and electronic device, and medium
US10173861B2 (en) Handwriting input for elevator destination floor input
US20150035776A1 (en) Information terminal, method for controlling input acceptance, and program for controlling input acceptance
JP2019504566A (en) Information image display method and apparatus
WO2022111394A1 (en) Information processing method and apparatus, and electronic devices
CN106603762B (en) Terminal control method and control terminal
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
TW201426593A (en) Method and apparatus for information verification
CN105094874A (en) Application starting method and system
CN105892927A (en) Mobile terminal control method and device
US20150278207A1 (en) Electronic device and method for acquiring image data
CN112287713A (en) Two-dimensional code identification method and device
WO2023083090A1 (en) Information display method and apparatus, electronic device, and readable storage medium
CN111859322A (en) Identity verification method and device and electronic equipment
CN109034808B (en) Operation method and device of payment application program and terminal equipment

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: 21897060

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: 21897060

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21897060

Country of ref document: EP

Kind code of ref document: A1