CN113807831B - Payment method and device - Google Patents

Payment method and device Download PDF

Info

Publication number
CN113807831B
CN113807831B CN202111044135.4A CN202111044135A CN113807831B CN 113807831 B CN113807831 B CN 113807831B CN 202111044135 A CN202111044135 A CN 202111044135A CN 113807831 B CN113807831 B CN 113807831B
Authority
CN
China
Prior art keywords
payment
payment method
mode
list
target
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202111044135.4A
Other languages
Chinese (zh)
Other versions
CN113807831A (en
Inventor
王应洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111044135.4A priority Critical patent/CN113807831B/en
Publication of CN113807831A publication Critical patent/CN113807831A/en
Application granted granted Critical
Publication of CN113807831B publication Critical patent/CN113807831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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/3274Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (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 application discloses a payment method and device, and belongs to the technical field of electronics. The specific scheme comprises the following steps: under the condition of displaying a first graphic code, receiving scanning input of a scanning device, and obtaining a scanning request of the scanning device, wherein the scanning request comprises M payment modes supported by the scanning device; in the case that at least one payment method of the M payment methods is included in the payment method list, determining a target payment method from the at least one payment method, and executing a payment operation based on the target payment method; the first graphic code comprises payment information of a payment mode in the payment mode list, and M is a positive integer.

Description

支付方法和装置Payment method and device

技术领域Technical Field

本申请属于电子技术领域,具体涉及一种支付方法和装置。The present application belongs to the field of electronic technology, and specifically relates to a payment method and device.

背景技术Background Art

随着通信技术的发展,市面上的支付类应用越来越多。而商家通常不会支持所有的支付应用,因此,现有技术中,若用户想要进行支付,则需要先确定商家支持的支付应用,再从电子设备中安装的支付类应用中选择相应的应用进行支付。然而,现有技术的支付方式的操作便捷性较差,用户在查找应用的过程中可能需要耗费大量的时间。With the development of communication technology, there are more and more payment applications on the market. However, merchants usually do not support all payment applications. Therefore, in the prior art, if a user wants to make a payment, he needs to first determine the payment application supported by the merchant, and then select the corresponding application from the payment applications installed in the electronic device to make the payment. However, the payment method of the prior art is less convenient to operate, and the user may need to spend a lot of time in the process of searching for the application.

发明内容Summary of the invention

本申请实施例的目的是提供一种支付方法和装置,能够解决现有技术的支付方式的操作便捷性较差的问题。The purpose of the embodiments of the present application is to provide a payment method and device that can solve the problem of poor operational convenience of payment methods in the prior art.

第一方面,本申请实施例提供了一种支付方法,该方法包括:在显示第一图形码的情况下,接收扫描设备的扫描输入,得到所述扫描设备的扫描请求,所述扫描请求包括所述扫描设备支持的M种支付方式;在支付方式列表中包括所述M种支付方式中的至少一种支付方式的情况下,从所述至少一种支付方式中确定目标支付方式,并基于所述目标支付方式执行付款操作;其中,所述第一图形码包括所述支付方式列表中支付方式的支付信息,M为正整数。In a first aspect, an embodiment of the present application provides a payment method, the method comprising: when displaying a first graphic code, receiving a scan input from a scanning device, obtaining a scan request from the scanning device, the scan request including M payment methods supported by the scanning device; when a payment method list includes at least one payment method among the M payment methods, determining a target payment method from the at least one payment method, and performing a payment operation based on the target payment method; wherein the first graphic code includes payment information of the payment method in the payment method list, and M is a positive integer.

第二方面,本申请实施例提供了一种支付装置,包括:显示模块、接收模块和处理模块。所述接收模块,用于在所述显示模块显示第一图形码的情况下,接收扫描设备的扫描输入,得到所述扫描设备的扫描请求,所述扫描请求包括所述扫描设备支持的M种支付方式。所述处理模块,用于在支付方式列表中包括所述M种支付方式中的至少一种支付方式的情况下,从所述至少一种支付方式中确定目标支付方式,并基于所述目标支付方式执行付款操作;其中,所述第一图形码包括所述支付方式列表中支付方式的支付信息,M为正整数。In a second aspect, an embodiment of the present application provides a payment device, including: a display module, a receiving module, and a processing module. The receiving module is used to receive a scan input of a scanning device when the display module displays a first graphic code, and obtain a scan request of the scanning device, wherein the scan request includes M payment methods supported by the scanning device. The processing module is used to determine a target payment method from the at least one payment method when a payment method list includes at least one payment method of the M payment methods, and perform a payment operation based on the target payment method; wherein the first graphic code includes payment information of the payment method in the payment method list, and M is a positive integer.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

在本申请实施例中,可以通过显示第一图形码得到扫描设备的扫描请求,并根据该扫描请求确定扫描设备支持的支付方式,从而在支付方式列表中包括扫描设备支持的至少一种支付方式时,从至少一种支付方式中确定目标支付方式,并基于目标支付方式执行付款操作。通过该方案,由于可以自动从支付方式列表中确定扫描设备支持的目标支付方式,因此,用户无需手动查找支付方式,简化了用户操作,从而避免了用户查找支付方式的过程中需要耗费大量时间的问题。In the embodiment of the present application, a scanning request of the scanning device can be obtained by displaying the first graphic code, and the payment method supported by the scanning device can be determined according to the scanning request, so that when the payment method list includes at least one payment method supported by the scanning device, the target payment method is determined from the at least one payment method, and the payment operation is performed based on the target payment method. Through this solution, since the target payment method supported by the scanning device can be automatically determined from the payment method list, the user does not need to manually search for the payment method, which simplifies the user operation and avoids the problem that the user needs to spend a lot of time in the process of searching for the payment method.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请实施例提供的支付方法的示意图;FIG1 is a schematic diagram of a payment method provided in an embodiment of the present application;

图2是本申请实施例提供的支付方法的界面操作示意图之一;FIG. 2 is one of the interface operation diagrams of the payment method provided in the embodiment of the present application;

图3是本申请实施例提供的支付方法的界面操作示意图之二;FIG3 is a second schematic diagram of the interface operation of the payment method provided in the embodiment of the present application;

图4是本申请实施例提供的支付方法的界面操作示意图之三;FIG4 is a third schematic diagram of the interface operation of the payment method provided in the embodiment of the present application;

图5是本申请实施例提供的支付装置的结构示意图;FIG5 is a schematic diagram of the structure of a payment device provided in an embodiment of the present application;

图6是本申请实施例提供的电子设备的硬件示意图之一;FIG6 is one of the hardware schematic diagrams of the electronic device provided in the embodiment of the present application;

图7是本申请实施例提供的电子设备的硬件示意图之二。FIG. 7 is a second hardware schematic diagram of the electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的支付方法进行详细地说明。The payment method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

如图1所示,本申请实施例提供了一种支付方法,可以应用于电子设备,该方法可以包括步骤101-102:As shown in FIG. 1 , an embodiment of the present application provides a payment method, which can be applied to an electronic device. The method may include steps 101-102:

步骤101、在显示第一图形码的情况下,接收扫描设备的扫描输入,得到扫描设备的扫描请求。Step 101: When displaying a first graphic code, receiving a scanning input from a scanning device to obtain a scanning request from the scanning device.

其中,上述扫描请求可以包括扫描设备支持的M种支付方式,M为正整数。The scanning request may include M payment methods supported by the scanning device, where M is a positive integer.

在用户想要通过图形码进行支付时,可以对电子设备进行一个输入,电子设备可以响应于该输入,根据电子设备的支付方式列表中的支付方式,生成第一图像码,并在支付界面中显示该第一图形码。之后,在显示第一图形码的情况下,扫描设备可以对该第一图形码进行扫描输入,电子设备可以接收扫描设备的扫描输入,并根据该扫描输入得到扫描设备的扫描请求,以及根据该扫描请求确定扫描设备支持的M种支付方式。When a user wants to pay by using a graphic code, an input can be made to the electronic device, and the electronic device can generate a first image code in response to the input according to a payment method in a payment method list of the electronic device, and display the first graphic code in the payment interface. Afterwards, when the first graphic code is displayed, a scanning device can scan and input the first graphic code, and the electronic device can receive the scanning input of the scanning device, obtain a scanning request of the scanning device according to the scanning input, and determine the M payment methods supported by the scanning device according to the scanning request.

可选地,上述支付界面中还可以包括支付方式列表,电子设备可以在支付界面的第一区域显示第一图形码,在第二区域显示支付方式列表,第一区域和第二区域为支付界面中的不同区域。Optionally, the above-mentioned payment interface may also include a payment method list. The electronic device may display a first graphic code in a first area of the payment interface and display a payment method list in a second area. The first area and the second area are different areas in the payment interface.

示例性的,如图2中的(a)所示,在用户想要通过图形码进行支付时,可以对快捷方式界面中的付款控件21进行点击输入,如图2中的(b)所示,电子设备可以响应于该点击输入,在支付界面的第一区域22中显示第一图形码23,在支付界面的第二区域24中显示支付方式列表25。Exemplarily, as shown in (a) in FIG. 2 , when a user wants to pay via a graphic code, the user may click on the payment control 21 in the shortcut interface, and as shown in (b) in FIG. 2 , the electronic device may display a first graphic code 23 in a first area 22 of the payment interface and a payment method list 25 in a second area 24 of the payment interface in response to the click input.

可选地,上述支付方式列表可以包括一种或多种支付方式,用户可以触发电子设备对支付方式列表进行编辑,例如,电子设备可以将新的支付方式添加到支付方式列表、删除支付方式列表中的支付方式、调整支付方式列表中各个支付方式的排列顺序、显示隐藏的支付方式等。Optionally, the above-mentioned payment method list may include one or more payment methods, and the user can trigger the electronic device to edit the payment method list. For example, the electronic device can add a new payment method to the payment method list, delete a payment method in the payment method list, adjust the arrangement order of each payment method in the payment method list, display hidden payment methods, etc.

示例性的,继续参考图2中的(b),支付方式列表可以包括支付方式1、支付方式2和支付方式3,用户可以通过添加控件26将新的支付方式添加到支付方式列表,通过长按支付方式1将支付方式1从支付方式列表中删除,通过对显示控件27进行输入,触发电子设备显示支付方式列表中隐藏的支付方式,通过对任意支付方式的拖动输入调整其在支付方式列表中的排列顺序。Exemplarily, continuing to refer to (b) in Figure 2, the payment method list may include payment method 1, payment method 2 and payment method 3. The user can add a new payment method to the payment method list by adding control 26, delete payment method 1 from the payment method list by long pressing payment method 1, trigger the electronic device to display the payment methods hidden in the payment method list by inputting into the display control 27, and adjust the arrangement order of any payment method in the payment method list by dragging it.

可选地,在接收扫描设备的扫描输入之前,在显示电子设备已安装的所有支付方式的情况下,电子设备可以接收用户对第一支付方式的第一输入,并响应于第一输入,生成支付方式列表。其中,上述支付方式列表至少可以包括第一支付方式,该第一支付方式为电子设备中所有支付方式中的任一个。Optionally, before receiving the scanning input of the scanning device, the electronic device may receive a first input of a first payment method from the user while displaying all payment methods installed on the electronic device, and generate a payment method list in response to the first input. The payment method list may include at least the first payment method, which is any one of all payment methods in the electronic device.

可选地,上述第一输入可以为用户对第一支付方式的触控输入,该触控输入可以为点击输入或长按输入等。Optionally, the first input may be a touch input of the user for the first payment method, and the touch input may be a click input or a long press input, etc.

示例性的,以第一支付方式为支付方式1为例。如图3所示,用户可以通过在搜索栏31中输入“支付方式”触发电子设备显示已安装的所有支付方式,即支付方式1-支付方式8,之后,用户可以对支付方式1的图标进行点击输入,从而触发电子设备生成包括支付方式1的支付方式列表。For example, the first payment method is payment method 1. As shown in FIG3 , the user can trigger the electronic device to display all installed payment methods, i.e., payment method 1 to payment method 8, by inputting "payment method" in the search bar 31. After that, the user can click on the icon of payment method 1 to input, thereby triggering the electronic device to generate a payment method list including payment method 1.

步骤102、在电子设备的支付方式列表中包括M种支付方式中的至少一种支付方式的情况下,从至少一种支付方式中确定目标支付方式,并基于目标支付方式执行付款操作。Step 102: When the payment method list of the electronic device includes at least one payment method among M payment methods, determine a target payment method from the at least one payment method, and perform a payment operation based on the target payment method.

可选地,电子设备在确定扫描设备支持的M种支付方式后,可以通过遍历支付方式列表确定是否包括M种支付方式中的至少一种支付方式。例如,若M种支付方式包括支付方式1和支付方式2,支付方式列表中包括支付方式1、支付方式2和支付方式3,则电子设备可以确定支付方式列表中包括M种支付方式中的支付方式1和支付方式2。Optionally, after determining the M payment methods supported by the scanning device, the electronic device may determine whether at least one of the M payment methods is included by traversing the payment method list. For example, if the M payment methods include payment method 1 and payment method 2, and the payment method list includes payment method 1, payment method 2, and payment method 3, the electronic device may determine that the payment method list includes payment method 1 and payment method 2 of the M payment methods.

可选地,在确定至少一种支付方式后,电子设备可以按照预设规则从该至少一种支付方式中确定目标支付方式,其中,该预设规则可以包括以下至少一项:所述至少一种支付方式在所述支付方式列表中的使用频率、所述至少一种支付方式添加到所述支付方式列表中的时间、所述至少一种支付方式在所述支付方式列表中的排列顺序。Optionally, after determining at least one payment method, the electronic device may determine a target payment method from the at least one payment method according to preset rules, wherein the preset rules may include at least one of the following: the frequency of use of the at least one payment method in the payment method list, the time when the at least one payment method is added to the payment method list, and the arrangement order of the at least one payment method in the payment method list.

可选地,电子设备可以将至少一种支付方式中使用频率最高的支付方式确定为目标支付方式;或者,将至少一种支付方式中添加到支付方式列表的时间最早的支付方式确定为目标支付方式;或者,将至少一种支付方式中在支付方式列表中排列最靠前的支付方式确定为目标支付方式。Optionally, the electronic device may determine the most frequently used payment method among at least one payment method as the target payment method; or, determine the payment method among at least one payment method that was added to the payment method list the earliest as the target payment method; or, determine the payment method among at least one payment method that is ranked highest in the payment method list as the target payment method.

示例性的,以预设规则为至少一种支付方式在所述支付方式列表中的使用频率为例。若电子设备确定支付方式列表中包括M种支付方式中的支付方式1和支付方式2,且支付方式1的使用频率高于支付方式2,则电子设备可以将支付方式1确定为目标支付方式。For example, if the preset rule is the frequency of use of at least one payment method in the payment method list, if the electronic device determines that the payment method list includes payment method 1 and payment method 2 among M payment methods, and the frequency of use of payment method 1 is higher than that of payment method 2, the electronic device may determine payment method 1 as the target payment method.

可选地,确定为目标支付方式之后,电子设备可以向目标支付方式的目标支付后台发送支付指令,以使目标支付后台根据支付指令和扫描设备发送的订单信息执行付款操作;之后,电子设备可以接收目标支付后台发送的支付成功的提示信息。Optionally, after being determined as the target payment method, the electronic device can send a payment instruction to the target payment backend of the target payment method, so that the target payment backend performs the payment operation according to the payment instruction and the order information sent by the scanning device; thereafter, the electronic device can receive a payment success prompt message sent by the target payment backend.

具体的,由于第一图形码包括支付方式列表中支付方式的支付信息,因此,扫码设备在扫描第一图形码之后,可以分别向支付方式列表中每种支付方式的支付后台发送订单信息,在电子设备确定目标支付方式之后,电子设备可以向目标支付后台发送支付指令,目标支付后台在接收到支付指令和订单信息后可以执行支付操作,也就是说,支付后台在接收到订单信息后,需要等待支付指令的指示才能进行付款操作。之后,在支付后台支付成功后可以分别向电子设备和扫码设备发送支付成功的提示信息。Specifically, since the first graphic code includes the payment information of the payment method in the payment method list, after scanning the first graphic code, the code scanning device can send order information to the payment backend of each payment method in the payment method list respectively. After the electronic device determines the target payment method, the electronic device can send a payment instruction to the target payment backend. The target payment backend can perform the payment operation after receiving the payment instruction and order information. That is to say, after receiving the order information, the payment backend needs to wait for the instruction of the payment instruction before performing the payment operation. Afterwards, after the payment is successful, the payment backend can send a prompt message of successful payment to the electronic device and the code scanning device respectively.

在本申请实施例中,由于可以自动从电子设备的支付方式列表中确定扫描设备支持的目标支付方式,因此,用户无需手动查找支付方式,简化了用户操作,从而避免了用户查找支付方式的过程中需要耗费大量时间的问题。In an embodiment of the present application, since the target payment method supported by the scanning device can be automatically determined from the payment method list of the electronic device, the user does not need to manually search for the payment method, which simplifies the user operation and avoids the problem of the user spending a lot of time searching for the payment method.

可选地,在得到扫描设备的扫描请求之后,上述方法还可以包括步骤103-105:Optionally, after obtaining the scanning request from the scanning device, the above method may further include steps 103-105:

步骤103、在电子设备的支付方式列表中不包括至少一种支付方式的情况下,电子设备显示支付方式添加界面。Step 103: When the payment method list of the electronic device does not include at least one payment method, the electronic device displays a payment method adding interface.

其中,上述支付方式添加界面可以包括N种支付方式,N种支付方式中包括突出显示的K种支付方式,K种支付方式为扫描设备支持的支付方式,N、K为正整数,且N大于或等于K。Among them, the above-mentioned payment method adding interface may include N payment methods, including K payment methods that are highlighted, the K payment methods are payment methods supported by the scanning device, N and K are positive integers, and N is greater than or equal to K.

示例性的,以N为8、K为1为例,扫描设备支持的支付方式为支付方式8,支付方式列表中包括支付方式1、支付方式2和支付方式3。遍历支付方式列表后电子设备可以确定支付方式列表中不包括支付方式8,因此可以显示如图4所示的支付方式添加界面,在该支付方式添加界面中,支付方式1、支付方式2和支付方式3的图标上包括第一标识41,该第一标识41用于指示已添加在支付方式列表中的支付方式,支付方式8的图标上包括第二标识42,该第二标识42用于指示扫描设备支持的支付方式。Exemplarily, taking N as 8 and K as 1 as an example, the payment method supported by the scanning device is payment method 8, and the payment method list includes payment method 1, payment method 2, and payment method 3. After traversing the payment method list, the electronic device can determine that payment method 8 is not included in the payment method list, so it can display the payment method adding interface shown in Figure 4, in which the icons of payment method 1, payment method 2, and payment method 3 include a first identifier 41, and the first identifier 41 is used to indicate the payment method that has been added to the payment method list, and the icon of payment method 8 includes a second identifier 42, and the second identifier 42 is used to indicate the payment method supported by the scanning device.

步骤104、电子设备接收用户对K种支付方式中第二支付方式的第二输入。Step 104: The electronic device receives a second input from the user for a second payment method among the K payment methods.

继续参考图4,由于K为1,因此,支付方式8为第二支付方式,若用户想要将支付方式8添加到支付方式列表,则用户可以对支付方式8进行第二输入,相应的,电子设备可以接收该第二输入。Continuing to refer to FIG. 4 , since K is 1, payment method 8 is the second payment method. If the user wants to add payment method 8 to the payment method list, the user can make a second input for payment method 8, and accordingly, the electronic device can receive the second input.

可选地,上述第二输入可以为用户对第二支付方式的触控输入,该触控输入可以为点击输入或长按输入等。Optionally, the second input may be a touch input of the second payment method by the user, and the touch input may be a click input or a long press input, etc.

步骤105、电子设备响应于第二输入,将第二支付方式添加到支付方式列表,并显示第二图形码。Step 105: In response to the second input, the electronic device adds the second payment method to the payment method list and displays the second graphic code.

其中,上述第二图形码可以包括第二支付方式的支付信息。The second graphic code may include payment information of the second payment method.

电子设备可以响应于第一输入,将第二支付方式添加到支付方式列表,例如,在接收第一输入之前,若支付方式列表包括支付方式1、支付方式2和支付方式3,则在接收对支付方式8的第二输入之后,电子设备可以将支付方式8添加到支付方式列表,即支付方式列表包括支付方式1、支付方式2、支付方式3和支付方式8。The electronic device may add a second payment method to the payment method list in response to a first input. For example, if the payment method list includes payment method 1, payment method 2, and payment method 3 before receiving the first input, then after receiving a second input for payment method 8, the electronic device may add payment method 8 to the payment method list, i.e., the payment method list includes payment method 1, payment method 2, payment method 3, and payment method 8.

在更新支付方式列表之后,电子设备可以根据更新后的支付方式列表生成并显示第二图形码,以使扫描设备重新进行扫描,电子设备可以重新执行上述步骤101和步骤102。After updating the payment method list, the electronic device may generate and display a second graphic code according to the updated payment method list so that the scanning device can re-scan, and the electronic device may re-execute the above steps 101 and 102.

在本申请实施例中,由于在电子设备的支付方式列表中不包括至少一种支付方式的情况下,可以通过用户的第二输入,将扫描设备支持的二支付方式添加到支付方式列表,并显示包括第二支付方式的支付信息的第二图形码,因此,可以满足商家支付方式不同于支付方式列表中支付方式时的支付场景需要。In an embodiment of the present application, since at least one payment method is not included in the payment method list of the electronic device, a second payment method supported by the scanning device can be added to the payment method list through the user's second input, and a second graphic code including payment information of the second payment method is displayed. Therefore, the payment scenario needs when the merchant's payment method is different from the payment method in the payment method list can be met.

需要说明的是,本申请实施例提供的支付方法,执行主体可以为支付装置,或者该支付装置中的用于执行支付方法的控制模块。本申请实施例中以支付装置执行支付方法为例,说明本申请实施例提供的支付装置。It should be noted that the payment method provided in the embodiment of the present application can be executed by 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 in the embodiment of the present application is described by taking the payment method executed by the payment device as an example.

如图5所示,本申请实施例还提供一种支付装置500,包括:显示模块501、接收模块502和处理模块503。接收模块502,可以用于在所述显示模块501显示第一图形码的情况下,接收扫描设备的扫描输入,得到所述扫描设备的扫描请求,所述扫描请求包括所述扫描设备支持的M种支付方式。所述处理模块503,可以用于在支付方式列表中包括所述M种支付方式中的至少一种支付方式的情况下,从所述至少一种支付方式中确定目标支付方式,并基于所述目标支付方式执行付款操作;其中,所述第一图形码包括所述支付方式列表中支付方式的支付信息,M为正整数。As shown in FIG5 , the embodiment of the present application further provides a payment device 500, comprising: a display module 501, a receiving module 502 and a processing module 503. The receiving module 502 can be used to receive a scan input of a scanning device when the display module 501 displays a first graphic code, and obtain a scan request of the scanning device, wherein the scan request includes M payment methods supported by the scanning device. The processing module 503 can be used to determine a target payment method from the at least one payment method when a payment method list includes at least one payment method of the M payment methods, and perform a payment operation based on the target payment method; wherein the first graphic code includes payment information of the payment method in the payment method list, and M is a positive integer.

可选地,上述处理模块503,具体可以用于:按照预设规则从所述至少一种支付方式中确定所述目标支付方式;其中,所述预设规则包括以下至少一项:所述至少一种支付方式在所述支付方式列表中的使用频率、所述至少一种支付方式添加到所述支付方式列表中的时间、所述至少一种支付方式在所述支付方式列表中的排列顺序。Optionally, the above-mentioned processing module 503 can be specifically used to: determine the target payment method from the at least one payment method according to preset rules; wherein the preset rules include at least one of the following: the frequency of use of the at least one payment method in the payment method list, the time when the at least one payment method is added to the payment method list, and the arrangement order of the at least one payment method in the payment method list.

可选地,上述装置500还可以包括发送模块504。所述发送模块504,可以用于向所述目标支付方式的目标支付后台发送支付指令,以使所述目标支付后台根据所述支付指令和所述扫描设备发送的订单信息执行付款操作。所述接收模块502,还可以用于接收所述目标支付后台发送的支付成功的提示信息。Optionally, the device 500 may further include a sending module 504. The sending module 504 may be used to send a payment instruction to a target payment backend of the target payment method, so that the target payment backend performs a payment operation according to the payment instruction and the order information sent by the scanning device. The receiving module 502 may also be used to receive a prompt message of successful payment sent by the target payment backend.

可选地,上述接收模块502,还可以用于所述接收扫描设备的扫描输入之前,在所述显示模块501显示已安装的所有支付方式的情况下,接收用户对第一支付方式的第一输入。处理模块503,还可以用于响应于所述第一输入,生成所述支付方式列表;其中,所述支付方式列表至少包括所述第一支付方式,所述第一支付方式为所述所有支付方式中的任一个。Optionally, the receiving module 502 may also be used to receive a first input of a first payment method from a user before receiving a scanning input from a scanning device, when the display module 501 displays all installed payment methods. The processing module 503 may also be used to generate the payment method list in response to the first input; wherein the payment method list includes at least the first payment method, and the first payment method is any one of all the payment methods.

可选地,上述显示模块501,还可以用于在所述支付方式列表中不包括所述至少一种支付方式的情况下,显示支付方式添加界面,所述支付方式添加界面包括N种支付方式,所述N种支付方式中包括突出显示的K种支付方式,所述K种支付方式为所述扫描设备支持的支付方式。所述接收模块502,还可以用于接收用户对所述K种支付方式中第二支付方式的第二输入。所述处理模块503,还可以用于响应于所述第二输入,将所述第二支付方式添加到所述支付方式列表,并显示第二图形码;其中,所述第二图形码包括所述第二支付方式的支付信息,N、K为正整数,且N大于或等于K。Optionally, the display module 501 can also be used to display a payment method adding interface when the at least one payment method is not included in the payment method list, the payment method adding interface including N payment methods, the N payment methods including K payment methods that are highlighted, and the K payment methods are payment methods supported by the scanning device. The receiving module 502 can also be used to receive a second input from a user for a second payment method among the K payment methods. The processing module 503 can also be used to add the second payment method to the payment method list in response to the second input, and display a second graphic code; wherein the second graphic code includes payment information of the second payment method, N and K are positive integers, and N is greater than or equal to K.

在本申请实施例中,由于可以自动从支付方式列表中确定扫描设备支持的目标支付方式,因此,用户无需手动查找支付方式,简化了用户操作,从而避免了用户查找支付方式的过程中需要耗费大量时间的问题。In an embodiment of the present application, since the target payment method supported by the scanning device can be automatically determined from the payment method list, the user does not need to manually search for the payment method, which simplifies the user operation and avoids the problem of the user spending a lot of time searching for the payment method.

本申请实施例中的支付装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The payment device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

本申请实施例中的支付装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The payment device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

本申请实施例提供的支付装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。The payment device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 4, and will not be described again here to avoid repetition.

可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述支付方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 6, an embodiment of the present application also provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of the above-mentioned payment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes but is not limited to components such as a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.

本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The electronic device structure shown in FIG7 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.

其中,用户输入单元1007,可以用于在显示单元1006显示第一图形码的情况下,接收扫描设备的扫描输入,得到所述扫描设备的扫描请求,所述扫描请求包括所述扫描设备支持的M种支付方式。处理器1010,可以用于在支付方式列表中包括所述M种支付方式中的至少一种支付方式的情况下,从所述至少一种支付方式中确定目标支付方式,并基于所述目标支付方式执行付款操作;其中,所述第一图形码包括所述支付方式列表中支付方式的支付信息,M为正整数。The user input unit 1007 may be used to receive a scan input from a scanning device when the display unit 1006 displays the first graphic code, and obtain a scan request from the scanning device, wherein the scan request includes M payment methods supported by the scanning device. The processor 1010 may be used to determine a target payment method from the at least one payment method when the payment method list includes at least one payment method from the M payment methods, and perform a payment operation based on the target payment method; wherein the first graphic code includes payment information of the payment method in the payment method list, and M is a positive integer.

在本申请实施例中,由于可以自动从支付方式列表中确定扫描设备支持的目标支付方式,因此,用户无需手动查找支付方式,简化了用户操作,从而避免了用户查找支付方式的过程中需要耗费大量时间的问题。In the embodiment of the present application, since the target payment method supported by the scanning device can be automatically determined from the payment method list, the user does not need to manually search for the payment method, which simplifies the user operation and avoids the problem of the user spending a lot of time searching for the payment method.

可选地,上述处理器1010,具体可以用于:按照预设规则从所述至少一种支付方式中确定所述目标支付方式;其中,所述预设规则包括以下至少一项:所述至少一种支付方式在所述支付方式列表中的使用频率、所述至少一种支付方式添加到所述支付方式列表中的时间、所述至少一种支付方式在所述支付方式列表中的排列顺序。Optionally, the above-mentioned processor 1010 can be specifically used to: determine the target payment method from the at least one payment method according to preset rules; wherein the preset rules include at least one of the following: the frequency of use of the at least one payment method in the payment method list, the time when the at least one payment method is added to the payment method list, and the arrangement order of the at least one payment method in the payment method list.

在本申请实施例中,由于可以按照预设规则从至少一种支付方式中确定目标支付方式,因此,在至少一种支付方式包括多种支付方式时,可以快速确定目标支付方式,并基于目标支付方式执行付款操作。In an embodiment of the present application, since the target payment method can be determined from at least one payment method according to preset rules, when at least one payment method includes multiple payment methods, the target payment method can be quickly determined and the payment operation can be performed based on the target payment method.

可选地,射频单元1001,可以用于向所述目标支付方式的目标支付后台发送支付指令,以使所述目标支付后台根据所述支付指令和所述扫描设备发送的订单信息执行付款操作。用户输入单元1007,还可以用于接收所述目标支付后台发送的支付成功的提示信息。Optionally, the radio frequency unit 1001 can be used to send a payment instruction to the target payment backend of the target payment method, so that the target payment backend performs a payment operation according to the payment instruction and the order information sent by the scanning device. The user input unit 1007 can also be used to receive a prompt message of successful payment sent by the target payment backend.

在本申请实施例中,由于可以向目标支付后台发送支付指令,因此,目标支付后台可以根据该支付指令执行付款操作。如此,在支付方式列表包括多种支付方式时,可以使各支付方式的支付后台确定是否需要执行付款操作。In the embodiment of the present application, since a payment instruction can be sent to the target payment backend, the target payment backend can perform a payment operation according to the payment instruction. In this way, when the payment method list includes multiple payment methods, the payment backend of each payment method can determine whether a payment operation needs to be performed.

可选地,上述用户输入单元1007,还可以用于所述接收扫描设备的扫描输入之前,在显示单元1006显示已安装的所有支付方式的情况下,接收用户对第一支付方式的第一输入。处理器1010,还可以用于响应于所述第一输入,生成所述支付方式列表;其中,所述支付方式列表至少包括所述第一支付方式,所述第一支付方式为所述所有支付方式中的任一个。Optionally, the user input unit 1007 may also be used to receive a first input of a first payment method from a user before receiving the scanning input of the scanning device, when the display unit 1006 displays all installed payment methods. The processor 1010 may also be used to generate the payment method list in response to the first input; wherein the payment method list includes at least the first payment method, and the first payment method is any one of all the payment methods.

在本申请实施例中,由于可以通过对第一支付方式的第一输入触发生成支付方式列表,因此可以为扫描设备支持不同支付方式提供支付基础。In the embodiment of the present application, since the generation of a payment method list can be triggered by the first input of the first payment method, a payment basis can be provided for the scanning device to support different payment methods.

可选地,上述显示单元1006,还可以用于在所述支付方式列表中不包括所述至少一种支付方式的情况下,显示支付方式添加界面,所述支付方式添加界面包括N种支付方式,所述N种支付方式中包括突出显示的K种支付方式,所述K种支付方式为所述扫描设备支持的支付方式。用户输入单元1007,还可以用于接收用户对所述K种支付方式中第二支付方式的第二输入。处理器1010,还可以用于响应于所述第二输入,将所述第二支付方式添加到所述支付方式列表,并显示第二图形码;其中,所述第二图形码包括所述第二支付方式的支付信息,N、K为正整数,且N大于或等于K。Optionally, the display unit 1006 may also be used to display a payment method adding interface when the at least one payment method is not included in the payment method list, the payment method adding interface including N payment methods, the N payment methods including K payment methods highlighted, and the K payment methods being payment methods supported by the scanning device. The user input unit 1007 may also be used to receive a second input from a user for a second payment method among the K payment methods. The processor 1010 may also be used to add the second payment method to the payment method list and display a second graphic code in response to the second input; wherein the second graphic code includes payment information of the second payment method, N and K are positive integers, and N is greater than or equal to K.

在本申请实施例中,由于可以自动从支付方式列表中确定扫描设备支持的目标支付方式,因此,用户无需手动查找支付方式,简化了用户操作,从而避免了用户查找支付方式的过程中需要耗费大量时间的问题。In the embodiment of the present application, since the target payment method supported by the scanning device can be automatically determined from the payment method list, the user does not need to manually search for the payment method, which simplifies the user operation and avoids the problem of the user spending a lot of time searching for the payment method.

应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(GraphicsProcessing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述支付方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned payment method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述支付方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned payment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (8)

1. A method of payment, comprising:
Under the condition of displaying a first graphic code, receiving scanning input of a scanning device, and obtaining a scanning request of the scanning device, wherein the scanning request comprises M payment modes supported by the scanning device;
in the case that at least one payment method of the M payment methods is included in the payment method list, determining a target payment method from the at least one payment method, and executing a payment operation based on the target payment method;
wherein, the first graphic code comprises payment information of a payment mode in the payment mode list, M is a positive integer;
Displaying a payment mode adding interface under the condition that the payment mode list does not comprise at least one payment mode, wherein the payment mode adding interface comprises N payment modes, the N payment modes comprise K highlighted payment modes, and the K payment modes are supported by the scanning equipment;
Receiving a second input of a user to a second payment mode of the K payment modes;
Adding the second payment means to the payment means list in response to the second input and displaying a second graphical code;
the second graphic code includes payment information of the second payment mode, N, K is a positive integer, and N is greater than or equal to K.
2. The payment method of claim 1, wherein the determining a target payment method from the at least one payment method comprises:
Determining the target payment mode from the at least one payment mode according to a preset rule;
Wherein the preset rule comprises at least one of the following: the use frequency of the at least one payment mode in the payment mode list, the time of adding the at least one payment mode to the payment mode list and the arrangement sequence of the at least one payment mode in the payment mode list.
3. The payment method of claim 1, wherein the performing a payment operation based on the target payment means comprises:
Sending a payment instruction to a target payment background of the target payment mode, so that the target payment background executes payment operation according to the payment instruction and order information sent by the scanning equipment;
And receiving prompt information of successful payment sent by the target payment background.
4. A payment method as claimed in any one of claims 1 to 3, wherein prior to receiving a scan input from a scanning device, the method further comprises:
receiving a first input of a first payment means by a user while displaying all payment means installed;
generating the payment means list in response to the first input;
the payment mode list at least comprises the first payment mode, and the first payment mode is any one of all payment modes.
5. A payment device, comprising: the device comprises a display module, a receiving module and a processing module;
The receiving module is used for receiving the scanning input of the scanning equipment under the condition that the display module displays the first graphic code, and obtaining a scanning request of the scanning equipment, wherein the scanning request comprises M payment modes supported by the scanning equipment;
the processing module is used for determining a target payment mode from at least one payment mode and executing payment operation based on the target payment mode when the payment mode list comprises at least one payment mode of the M payment modes;
wherein, the first graphic code comprises payment information of a payment mode in the payment mode list, M is a positive integer;
The display module is further configured to display a payment manner adding interface when the at least one payment manner is not included in the payment manner list, where the payment manner adding interface includes N payment manners, and the N payment manners include K highlighted payment manners, and the K payment manners are payment manners supported by the scanning device;
The receiving module is further configured to receive a second input of a user to a second payment manner among the K payment manners;
The processing module is further configured to add the second payment method to the payment method list and display a second graphic code in response to the second input;
the second graphic code includes payment information of the second payment mode, N, K is a positive integer, and N is greater than or equal to K.
6. The payment device of claim 5, wherein the processing module is specifically configured to: determining the target payment mode from the at least one payment mode according to a preset rule; wherein the preset rule comprises at least one of the following: the use frequency of the at least one payment mode in the payment mode list, the time of adding the at least one payment mode to the payment mode list and the arrangement sequence of the at least one payment mode in the payment mode list.
7. The payment device of claim 5, further comprising a transmission module;
The sending module is used for sending a payment instruction to a target payment background of the target payment mode so that the target payment background executes payment operation according to the payment instruction and order information sent by the scanning equipment;
The receiving module is further used for receiving prompt information of successful payment sent by the target payment background.
8. A payment device as recited in any one of claims 5 to 7, wherein,
The receiving module is further configured to receive a first input of a first payment mode from a user under the condition that the display module displays all installed payment modes before receiving the scan input of the scanning device;
the processing module is further configured to generate the payment manner list in response to the first input;
the payment mode list at least comprises the first payment mode, and the first payment mode is any one of all payment modes.
CN202111044135.4A 2021-09-07 2021-09-07 Payment method and device Active CN113807831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111044135.4A CN113807831B (en) 2021-09-07 2021-09-07 Payment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111044135.4A CN113807831B (en) 2021-09-07 2021-09-07 Payment method and device

Publications (2)

Publication Number Publication Date
CN113807831A CN113807831A (en) 2021-12-17
CN113807831B true CN113807831B (en) 2024-09-20

Family

ID=78940714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111044135.4A Active CN113807831B (en) 2021-09-07 2021-09-07 Payment method and device

Country Status (1)

Country Link
CN (1) CN113807831B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415871A (en) * 2022-01-04 2022-04-29 维沃移动通信有限公司 Graphic code management method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191108B (en) * 2018-08-07 2022-03-11 广东蓝蜜蜂信息技术有限公司 Two-dimensional code aggregation payment system based on block chain and working method thereof
CN109670804A (en) * 2018-11-22 2019-04-23 杭州家娱互动网络科技有限公司 A kind of polymerization method of payment, device and electronic equipment
CN111684481A (en) * 2019-07-05 2020-09-18 深圳海付移通科技有限公司 Aggregated payment method and related equipment
CN112633874B (en) * 2020-12-23 2024-07-12 平安银行股份有限公司 Code scanning transaction processing method, electronic device and computer readable storage medium
CN116542663A (en) * 2021-06-23 2023-08-04 支付宝(中国)网络技术有限公司 Method, device, equipment and medium for accessing payment page of aggregation code

Also Published As

Publication number Publication date
CN113807831A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN112184168B (en) Reminder task generation method, device and electronic device
CN113794795B (en) Information sharing method, device, electronic device and readable storage medium
CN112671635A (en) Sending method, sending device and electronic equipment
CN112286615B (en) Information display method and device for application program
CN113114845B (en) Notification message display method and device
CN113849092A (en) Content sharing method and device and electronic equipment
CN113868269A (en) Screenshot method, apparatus, electronic device and readable storage medium
CN116450008A (en) Icons showing control method, apparatus, electronic equipment and medium
CN113807831B (en) Payment method and device
CN113805997B (en) Information display method, information display device, electronic equipment and storage medium
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
CN112698762B (en) Icon display method and device and electronic equipment
CN112286611B (en) Icon display method and device and electronic equipment
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN115328355B (en) Application function startup method and device
WO2024114571A1 (en) Information display method and apparatus, electronic device, and storage medium
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112948843A (en) Encryption method, encryption device, electronic equipment and medium
CN114416264B (en) Message display method and device
CN117377133A (en) Bluetooth connection establishment method, device, electronic device and readable storage medium
CN114116087B (en) Interface operation method, device, electronic equipment and medium between dual systems
CN115167721A (en) Display method and device for functional interface
CN113835601A (en) Screenshot management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant