CN116151816A - Payment method, device, equipment, medium and product - Google Patents
Payment method, device, equipment, medium and product Download PDFInfo
- Publication number
- CN116151816A CN116151816A CN202310066429.XA CN202310066429A CN116151816A CN 116151816 A CN116151816 A CN 116151816A CN 202310066429 A CN202310066429 A CN 202310066429A CN 116151816 A CN116151816 A CN 116151816A
- Authority
- CN
- China
- Prior art keywords
- payment
- target
- identifier
- order
- target order
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
- G06Q20/0855—Payment architectures involving remote charge determination or related payment systems involving a third party
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/02—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q20/023—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] the neutral party being a clearing house
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, 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/401—Transaction verification
- G06Q20/4014—Identity check for transactions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Managing shopping lists, e.g. compiling or processing purchase lists
- G06Q30/0635—Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
技术领域technical field
本申请属于支付技术领域,尤其涉及一种支付方法、装置、设备、介质及产品。This application belongs to the technical field of payment, and in particular relates to a payment method, device, equipment, medium and product.
背景技术Background technique
在用户使用终端设备中安装的商户客户端进行线上购物并支付订单时,通常需要从多个可选的支付方式中选择用于支付当前订单的支付方式,以通过该支付方式对应的支付客户端完成订单支付。When the user uses the merchant client installed in the terminal device to make online shopping and pay for the order, it is usually necessary to select the payment method used to pay the current order from multiple optional payment methods, so as to pay the customer through the corresponding payment method The terminal completes the order payment.
在从商户客户端跳转至支付客户端进行支付的过程中,终端设备中的商户客户端需要将商户名称、支付金额、用户选择的支付账户等交易敏感信息,以前端传递的方式传递给支付客户端,以便对该订单进行支付处理。In the process of jumping from the merchant client to the payment client for payment, the merchant client in the terminal device needs to pass transaction sensitive information such as the merchant name, payment amount, and the payment account selected by the user to the payment client in the way of front-end transmission. client to process payment for the order.
如此,现有技术中通过前端方式在不同客户端之间传递交易敏感信息,会存在信息被恶意截取的风险,降低了支付过程中信息传递的安全性。In this way, in the prior art, transaction-sensitive information is transmitted between different clients through the front-end method, there is a risk of information being maliciously intercepted, which reduces the security of information transmission during the payment process.
发明内容Contents of the invention
本申请实施例提供一种支付方法、装置、设备、介质及产品,能够降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Embodiments of the present application provide a payment method, device, device, medium, and product, which can reduce the risk of malicious interception of transaction sensitive information and improve the security of information transmission during the payment process.
第一方面,本申请实施例提供一种支付方法,应用于终端设备,所述终端设备中设置有商户客户端和与目标支付机构对应的支付客户端,该方法包括:In the first aspect, an embodiment of the present application provides a payment method, which is applied to a terminal device, and the terminal device is provided with a merchant client and a payment client corresponding to a target payment institution. The method includes:
接收用户在所述商户客户端中触发支付目标订单的第一输入;receiving the user's first input of triggering a payment target order in the merchant client;
响应于所述第一输入,由所述商户客户端向所述支付客户端发送与所述目标订单对应的目标订单标识;In response to the first input, the merchant client sends a target order identifier corresponding to the target order to the payment client;
通过所述支付客户端向清算机构服务器发送针对所述目标订单的第一支付请求,所述第一支付请求中包括目标支付标识和所述目标订单标识,所述目标支付标识为所述用户在所述目标支付机构中的唯一身份标识;The first payment request for the target order is sent to the clearing institution server through the payment client, the first payment request includes the target payment ID and the target order ID, and the target payment ID is the user’s The unique identifier in the target payment institution;
其中,所述第一支付请求用于指示所述清算机构服务器根据所述目标支付标识和所述目标订单标识向与所述目标支付机构对应的支付服务器发送第二支付请求,所述第二支付请求用于指示所述支付服务器根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。Wherein, the first payment request is used to instruct the clearing institution server to send a second payment request to the payment server corresponding to the target payment institution according to the target payment identifier and the target order identifier, and the second payment The request is used to instruct the payment server to perform payment processing on the target order according to the target payment ID and the target order ID to obtain a payment result.
第二方面,本申请实施例提供一种支付方法,应用于清算机构服务器,该方法包括:In the second aspect, the embodiment of the present application provides a payment method, which is applied to the clearing institution server, and the method includes:
接收与目标支付机构对应的支付客户端发送的针对目标订单的第一支付请求,所述第一支付请求中包括与所述目标订单对应的目标支付标识和目标订单标识,所述目标支付标识为用户在所述目标支付机构中的唯一身份标识;Receive the first payment request for the target order sent by the payment client corresponding to the target payment institution, the first payment request includes the target payment identifier and the target order identifier corresponding to the target order, and the target payment identifier is The unique identity of the user in the target payment institution;
响应于所述第一支付请求,根据所述目标支付标识和所述目标订单标识向与所述目标支付机构对应的支付服务器发送第二支付请求,所述第二支付请求用于指示所述支付服务器根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。In response to the first payment request, sending a second payment request to a payment server corresponding to the target payment institution according to the target payment ID and the target order ID, the second payment request is used to indicate the payment The server performs payment processing on the target order according to the target payment identifier and the target order identifier, and obtains a payment result.
第三方面,本申请实施例提供一种支付方法,应用于支付服务器,该方法包括:In a third aspect, the embodiment of the present application provides a payment method, which is applied to a payment server, and the method includes:
接收清算机构服务器发送的针对目标订单的第二支付请求,所述第二支付请求中包括与所述目标订单对应的目标支付标识和目标订单标识,所述目标支付标识为用户在目标支付机构中的唯一身份标识,所述目标支付机构为与所述支付服务器对应的支付机构;Receive the second payment request for the target order sent by the clearing institution server, the second payment request includes the target payment ID and the target order ID corresponding to the target order, and the target payment ID is the target payment ID of the user in the target payment institution The unique identity of the target payment institution is the payment institution corresponding to the payment server;
响应于所述第二支付请求,根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。In response to the second payment request, perform payment processing on the target order according to the target payment identifier and the target order identifier, and obtain a payment result.
第四方面,本申请实施例提供了一种支付装置,配置于终端设备,所述终端设备中设置有商户客户端和与目标支付机构对应的支付客户端,该装置包括:In a fourth aspect, the embodiment of the present application provides a payment device, which is configured in a terminal device, and the terminal device is provided with a merchant client and a payment client corresponding to a target payment institution, and the device includes:
第一接收模块,用于接收用户在所述商户客户端中触发支付目标订单的第一输入;The first receiving module is used to receive the first input of the user triggering the payment target order in the merchant client;
第一发送模块,用于响应于所述第一输入,由所述商户客户端向所述支付客户端发送与所述目标订单对应的目标订单标识;A first sending module, configured to send, by the merchant client to the payment client, a target order identifier corresponding to the target order in response to the first input;
第一请求模块,用于通过所述支付客户端向清算机构服务器发送针对所述目标订单的第一支付请求,所述第一支付请求中包括目标支付标识和所述目标订单标识,所述目标支付标识为所述用户在所述目标支付机构中的唯一身份标识;The first request module is configured to send a first payment request for the target order to the clearing institution server through the payment client, where the first payment request includes the target payment identifier and the target order identifier, and the target The payment ID is the unique identity of the user in the target payment institution;
其中,所述第一支付请求用于指示所述清算机构服务器根据所述目标支付标识和所述目标订单标识向与所述目标支付机构对应的支付服务器发送第二支付请求,所述第二支付请求用于指示所述支付服务器根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。Wherein, the first payment request is used to instruct the clearing institution server to send a second payment request to the payment server corresponding to the target payment institution according to the target payment identifier and the target order identifier, and the second payment The request is used to instruct the payment server to perform payment processing on the target order according to the target payment ID and the target order ID to obtain a payment result.
第五方面,本申请实施例提供了一种支付装置,配置于清算机构服务器,该装置包括:In the fifth aspect, the embodiment of the present application provides a payment device configured on a clearing institution server, and the device includes:
第二接收模块,用于接收与目标支付机构对应的支付客户端发送的针对目标订单的第一支付请求,所述第一支付请求中包括与所述目标订单对应的目标支付标识和目标订单标识,所述目标支付标识为用户在所述目标支付机构中的唯一身份标识;The second receiving module is configured to receive the first payment request for the target order sent by the payment client corresponding to the target payment institution, and the first payment request includes the target payment identifier and the target order identifier corresponding to the target order , the target payment identifier is the unique identity of the user in the target payment institution;
第二请求模块,用于响应于所述第一支付请求,根据所述目标支付标识和所述目标订单标识向与所述目标支付机构对应的支付服务器发送第二支付请求,所述第二支付请求用于指示所述支付服务器根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。The second request module is configured to, in response to the first payment request, send a second payment request to the payment server corresponding to the target payment institution according to the target payment identifier and the target order identifier, and the second payment request The request is used to instruct the payment server to perform payment processing on the target order according to the target payment ID and the target order ID to obtain a payment result.
第六方面,本申请实施例提供了一种支付装置,配置于支付服务器,该装置包括:In a sixth aspect, the embodiment of the present application provides a payment device configured on a payment server, and the device includes:
第三接收模块,用于接收清算机构服务器发送的针对目标订单的第二支付请求,所述第二支付请求中包括与所述目标订单对应的目标支付标识和目标订单标识,所述目标支付标识为用户在目标支付机构中的唯一身份标识,所述目标支付机构为与所述支付服务器对应的支付机构;The third receiving module is configured to receive the second payment request for the target order sent by the clearing institution server, the second payment request includes the target payment identifier and the target order identifier corresponding to the target order, and the target payment identifier is the unique identity of the user in the target payment institution, and the target payment institution is the payment institution corresponding to the payment server;
支付处理模块,用于响应于所述第二支付请求,根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。The payment processing module is configured to, in response to the second payment request, perform payment processing on the target order according to the target payment identifier and the target order identifier, and obtain a payment result.
第七方面,本申请实施例提供了一种电子设备,该电子设备包括:处理器以及存储有计算机程序指令的存储器;In a seventh aspect, the embodiment of the present application provides an electronic device, which includes: a processor and a memory storing computer program instructions;
处理器执行所述计算机程序指令时实现如第一方面、第二方面或第三方面的任一项实施例中所述的支付方法的步骤。When the processor executes the computer program instructions, the steps of the payment method described in any one embodiment of the first aspect, the second aspect or the third aspect are implemented.
第八方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序指令,计算机程序指令被处理器执行时实现如第一方面、第二方面或第三方面的任一项实施例中所述的支付方法的步骤。In an eighth aspect, the embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the first aspect, the second aspect or the third aspect can be realized. The steps of the payment method described in any embodiment of the aspect.
第九方面,本申请实施例提供了一种计算机程序产品,计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备执行如第一方面、第二方面或第三方面的任一项实施例中所述的支付方法的步骤。In the ninth aspect, the embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device executes the method according to the first aspect, the second aspect or the third aspect. The steps of the payment method described in any one of the embodiments.
本申请实施例中的支付方法、装置、设备、介质及产品,通过在用户触发支付目标订单时,由商户客户端向支付客户端发送与该目标订单对应的目标订单标识,进而通过支付客户端向清算机构服务器发送针对目标订单的第一支付请求,并且第一支付请求中包括用户目标支付机构中的唯一身份标识,也即目标支付标识,以及目标订单标识,以使清算机构服务器进一步地向目标支付机构对应的支付服务器发起第二支付请求,使得目标支付机构能够基于该目标支付标识和目标订单标识在后台获取交易敏感信息,从而对目标订单进行支付处理。这样,由于终端设备中商户客户端与支付客户端之间通过前端方式仅传递了目标订单对应的目标订单标识,而不传递其他交易敏感信息,因此,可以降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。In the payment method, device, device, medium, and product in the embodiments of the present application, when the user triggers the payment target order, the merchant client sends the target order identifier corresponding to the target order to the payment client, and then the payment client Send the first payment request for the target order to the clearing institution server, and the first payment request includes the unique identity of the user's target payment institution, that is, the target payment identifier, and the target order identifier, so that the clearing institution server can further send The payment server corresponding to the target payment institution initiates a second payment request, so that the target payment institution can obtain transaction-sensitive information in the background based on the target payment ID and the target order ID, so as to perform payment processing on the target order. In this way, because only the target order identifier corresponding to the target order is transmitted between the merchant client and the payment client in the terminal device through the front-end method, and other transaction sensitive information is not transmitted, therefore, the risk of transaction sensitive information being maliciously intercepted can be reduced. Improve the security of information transmission in the payment process.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例中所需要使用的附图作简单的介绍,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments of the present application. Additional figures can be derived from these figures.
图1是本申请提供的基于支付系统的支付方法的流程示意图;Fig. 1 is a schematic flow diagram of the payment method based on the payment system provided by this application;
图2是本申请第一方面实施例提供的支付方法的流程示意图;Fig. 2 is a schematic flow diagram of the payment method provided by the embodiment of the first aspect of the application;
图3是本申请提供的支付交互界面的示意图;Fig. 3 is a schematic diagram of the payment interaction interface provided by this application;
图4是本申请提供的支付客户端中支付界面的示意图;Fig. 4 is a schematic diagram of the payment interface in the payment client provided by the present application;
图5是本申请提供的商户客户端中支付结果界面的示意图;Fig. 5 is a schematic diagram of the payment result interface in the merchant client provided by this application;
图6是本申请第二方面实施例提供的支付方法的流程示意图;Fig. 6 is a schematic flowchart of the payment method provided by the embodiment of the second aspect of the present application;
图7是本申请第三方面实施例提供的支付方法的流程示意图;Fig. 7 is a schematic flowchart of the payment method provided by the embodiment of the third aspect of the present application;
图8是本申请提供的示例性支付方法的流程示意图;Fig. 8 is a schematic flow chart of an exemplary payment method provided by this application;
图9是本申请第一方面实施例提供的支付装置的结构示意图;Fig. 9 is a schematic structural diagram of the payment device provided by the embodiment of the first aspect of the present application;
图10是本申请第二方面实施例提供的支付装置的结构示意图;Fig. 10 is a schematic structural diagram of the payment device provided by the embodiment of the second aspect of the application;
图11是本申请第三方面实施例提供的支付装置的结构示意图;Fig. 11 is a schematic structural diagram of the payment device provided by the embodiment of the third aspect of the present application;
图12是本申请一个实施例提供的电子设备的结构示意图。Fig. 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本申请,而不是限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。The characteristics and exemplary embodiments of various aspects of the application will be described in detail below. In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only intended to explain the present application rather than limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by showing examples of the present application.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the statement "comprising..." does not exclude the presence of additional same elements in the process, method, article or device comprising said element.
为了解决现有技术问题,本申请实施例提供了一种支付方法、装置、设备、介质及产品。该支付方法可以应用于线上支付的场景,下面首先结合支付系统架构对本申请实施例所提供的支付方法进行整体介绍。In order to solve the problems of the prior art, the embodiment of the present application provides a payment method, device, equipment, medium and product. This payment method can be applied to the scene of online payment. The payment method provided by the embodiment of the present application is firstly introduced in combination with the payment system architecture.
图1是本申请提供的基于支付系统的支付方法的流程示意图。该支付方法可应用于支付系统,该支付系统中可包括终端设备、清算机构服务器和支付服务器。其中,终端设备中可安装有商户客户端和支付客户端。另外,支付服务器和支付客户端可以是由目标支付机构提供的。Fig. 1 is a schematic flowchart of the payment method based on the payment system provided by this application. The payment method can be applied to a payment system, and the payment system can include a terminal device, a clearing institution server, and a payment server. Wherein, a merchant client and a payment client may be installed in the terminal device. In addition, the payment server and payment client may be provided by the target payment institution.
基于上述支付系统的架构,如图1所示,本申请实施例提供的支付方法可以包括:终端设备接收用户在商户客户端中触发支付目标订单的第一输入;终端设备响应于第一输入,由商户客户端向支付客户端发送与目标订单对应的目标订单标识;终端设备通过支付客户端向清算机构服务器发送针对目标订单的第一支付请求;清算机构服务器响应于第一支付请求,根据目标支付标识和目标订单标识向与目标支付机构对应的支付服务器发送第二支付请求;支付服务器响应于第二支付请求,根据目标支付标识和目标订单标识对目标订单进行支付处理,得到支付结果。其中,第一支付请求和第二支付请求中均包括目标支付标识和目标订单标识,目标支付标识为用户在目标支付机构中的唯一身份标识。Based on the architecture of the above payment system, as shown in Figure 1, the payment method provided by the embodiment of the present application may include: the terminal device receives the first input of the user triggering the payment target order in the merchant client; the terminal device responds to the first input, The merchant client sends the target order identifier corresponding to the target order to the payment client; the terminal device sends the first payment request for the target order to the clearing institution server through the payment client; the clearing institution server responds to the first payment request, according to the target order The payment ID and the target order ID send a second payment request to the payment server corresponding to the target payment institution; in response to the second payment request, the payment server performs payment processing on the target order according to the target payment ID and the target order ID, and obtains the payment result. Wherein, both the first payment request and the second payment request include a target payment ID and a target order ID, and the target payment ID is the user's unique identity in the target payment institution.
下面对每一端所执行的支付方法进行详细说明。The payment methods implemented by each end are described in detail below.
图2是本申请一个实施例提供的支付方法的流程示意图。该支付方法可应用于终端设备,终端设备中设置有商户客户端和与目标支付机构对应的支付客户端。Fig. 2 is a schematic flowchart of a payment method provided by an embodiment of the present application. The payment method can be applied to a terminal device, and the terminal device is provided with a merchant client and a payment client corresponding to a target payment institution.
如图2所示,该支付方法具体可以包括如下步骤:As shown in Figure 2, the payment method may specifically include the following steps:
S210、接收用户在商户客户端中触发支付目标订单的第一输入;S210. Receive the user's first input of triggering the payment target order in the merchant client;
S220、响应于第一输入,由商户客户端向支付客户端发送与目标订单对应的目标订单标识;S220. In response to the first input, the merchant client sends the target order identifier corresponding to the target order to the payment client;
S230、通过支付客户端向清算机构服务器发送针对目标订单的第一支付请求,第一支付请求中包括目标支付标识和目标订单标识,目标支付标识为用户在目标支付机构中的唯一身份标识。S230. Send the first payment request for the target order to the clearing institution server through the payment client. The first payment request includes the target payment ID and the target order ID, and the target payment ID is the unique identity of the user in the target payment institution.
本申请实施例中,第一支付请求用于指示清算机构服务器根据目标支付标识和目标订单标识向与目标支付机构对应的支付服务器发送第二支付请求,第二支付请求用于指示支付服务器根据目标支付标识和目标订单标识对目标订单进行支付处理,得到支付结果。In this embodiment of the application, the first payment request is used to instruct the clearing institution server to send the second payment request to the payment server corresponding to the target payment institution according to the target payment ID and the target order ID, and the second payment request is used to instruct the payment server to send the second payment request according to the target The payment identifier and the target order identifier perform payment processing on the target order to obtain a payment result.
由此,通过在用户触发支付目标订单时,由商户客户端向支付客户端发送与该目标订单对应的目标订单标识,进而通过支付客户端向清算机构服务器发送针对目标订单的第一支付请求,并且第一支付请求中包括用户目标支付机构中的唯一身份标识,也即目标支付标识,以及目标订单标识,以使清算机构服务器进一步地向目标支付机构对应的支付服务器发起第二支付请求,使得目标支付机构能够基于该目标支付标识和目标订单标识在后台获取交易敏感信息,从而对目标订单进行支付处理。这样,由于终端设备中商户客户端与支付客户端之间通过前端方式仅传递了目标订单对应的目标订单标识,而不传递其他交易敏感信息,因此,可以降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Thus, when the user triggers the payment target order, the merchant client sends the target order identifier corresponding to the target order to the payment client, and then sends the first payment request for the target order to the clearing institution server through the payment client, And the first payment request includes the unique identity of the user's target payment institution, that is, the target payment identifier, and the target order identifier, so that the clearing institution server can further initiate a second payment request to the payment server corresponding to the target payment institution, so that The target payment institution can obtain transaction sensitive information in the background based on the target payment ID and the target order ID, so as to process the payment of the target order. In this way, because only the target order identifier corresponding to the target order is transmitted between the merchant client and the payment client in the terminal device through the front-end method, and other transaction sensitive information is not transmitted, therefore, the risk of transaction sensitive information being maliciously intercepted can be reduced. Improve the security of information transmission in the payment process.
下面介绍上述各个步骤的具体实现方式。The specific implementation of each of the above steps is introduced below.
在一些实施方式中,在S210中,第一输入可以是用户在商户客户端中点击针对目标订单的支付按钮的输入。In some implementations, in S210, the first input may be an input in which the user clicks a payment button for the target order in the merchant client.
示例性地,当用户在商户客户端中选购商品并下单后,用户可在该订单的订单详情页面中点击支付按钮,从而触发对该订单的支付过程。Exemplarily, after the user purchases commodities and places an order in the merchant client, the user may click a payment button on the order details page of the order, thereby triggering the payment process for the order.
在一些实施方式中,在S220中,在商户客户端接收到用户触发支付目标订单的第一输入后,可向支付客户端发送该目标订单对应的目标订单标识。其中,目标订单标识可以是清算机构为目标订单分配的唯一标识,例如可以是目标订单的TN(Transaction Number,订单标识)号。In some implementations, in S220, after the merchant client receives the user's first input to trigger the payment target order, it may send the target order identifier corresponding to the target order to the payment client. Wherein, the target order identifier may be a unique identifier assigned to the target order by the clearing institution, for example, it may be a TN (Transaction Number, order identifier) number of the target order.
与现有技术中商户客户端将订单信息通过前端方式直接发送至支付客户端不同,本申请实施例中商户客户端是将目标订单标识发送至支付客户端,支付客户端再利用目标订单标识在不同的后端服务器之间获取订单信息,并进行订单支付处理。由于目标订单标识并不是敏感信息,及时被前端恶意截取,也无法获取到交易敏感信息,从而可以提高支付过程中信息传递的安全性。Different from the merchant client in the prior art that directly sends the order information to the payment client through the front-end method, in the embodiment of this application, the merchant client sends the target order ID to the payment client, and the payment client then uses the target order ID in the payment client. Obtain order information between different back-end servers and process order payment. Since the target order ID is not sensitive information, even if it is maliciously intercepted by the front-end in time, the sensitive information of the transaction cannot be obtained, which can improve the security of information transmission during the payment process.
在一些示例中,在上述S220之前,本申请实施例提供的支付方法还可以包括:In some examples, before the above S220, the payment method provided in this embodiment of the application may further include:
在用户在商户客户端中针对目标订单选择目标支付方式的情况下,由商户客户端向清算机构服务器发送与目标订单对应的订单信息,以使清算机构服务器根据订单信息生成与目标订单对应的目标订单标识,其中,目标支付方式为目标支付平台对应的支付方式,目标支付平台为能够提供目标支付机构对应的支付方式的平台;When the user selects the target payment method for the target order in the merchant client, the merchant client sends the order information corresponding to the target order to the clearing institution server, so that the clearing institution server generates the target order corresponding to the target order according to the order information. Order identification, where the target payment method is the payment method corresponding to the target payment platform, and the target payment platform is a platform that can provide the payment method corresponding to the target payment institution;
接收清算机构服务器返回的目标订单标识。Receive the target order ID returned by the clearing institution server.
这里,订单信息包括但不限于商户名称、支付金额、订单号等信息。目标支付方式可以是目标支付平台所对应的支付方式,目标支付平台可以是清算机构服务器对应的支付平台,且该目标支付平台能够提供目标支付机构对应的支付方式。Here, the order information includes but not limited to merchant name, payment amount, order number and other information. The target payment method may be the payment method corresponding to the target payment platform, the target payment platform may be the payment platform corresponding to the clearing institution server, and the target payment platform can provide the payment method corresponding to the target payment institution.
示例性地,如图3所示,商户客户端中可提供多种可选的一级支付方式,在用户触发支付目标订单之后,可在商户客户端中显示多个可选的一级支付方式。若目标支付平台提供的支付方式为A支付方式31,当用户选中A支付方式31后,可调用设置在商户客户端中的目标支付平台的支付控件,由该支付控件唤起显示目标支付平台对应的线上支付收银台界面30,在该线上支付收银台界面30中可显示包括a支付方式32在内的多个二级支付方式,以便用户进一步选择使用哪个支付机构提供的支付方式。基于此,在用户选中A支付方式31的情况下,商户客户端可通过后台服务器向收单机构上送该目标订单对应的订单信息,并由收单机构将该目标订单对应的订单信息上送至清算机构服务器。其中,订单信息包括但不限于商户名称、支付金额、订单号等信息。清算机构服务器在接收到该订单信息之后,可通过收单机构向商户侧返回该目标订单对应的TN号,并对该订单信息和TN号进行关联存储。Exemplarily, as shown in Figure 3, multiple optional primary payment methods can be provided in the merchant client, and multiple optional primary payment methods can be displayed in the merchant client after the user triggers the payment target order . If the payment method provided by the target payment platform is A
在一些实施方式中,在S230中,支付客户端接收到商户客户端发送的目标订单标识后,可获取用户在目标支付机构中的唯一身份标识,也即目标支付标识,一起上送至清算机构服务器。其中,目标支付标识例如可以是用户的支付客户端Token。In some implementations, in S230, after the payment client receives the target order ID sent by the merchant client, it can obtain the unique identity of the user in the target payment institution, that is, the target payment ID, and send it together to the clearing institution server. Wherein, the target payment identifier may be, for example, the user's payment client Token.
为了保障用户的知情权和选择权,上述过程中所涉及的目标支付标识需要用户通过支付机构申请开通相关业务后方能为用户分配对应的支付客户端Token。In order to protect the user's right to know and right to choose, the target payment identification involved in the above process requires the user to apply for opening the relevant business through the payment institution before assigning the corresponding payment client Token to the user.
示例性地,清算机构服务器在接收到携带有目标订单标识和目标支付标识的第一支付请求后,可根据目标订单标识获取相应的订单信息,并将该订单信息和目标支付标识一起发送至支付服务器,由支付服务器根据该目标支付标识进行用户身份验证、查询用户支付账户等处理,并依据该订单信息,对用户支付账户进行扣款处理,以支付该目标订单。Exemplarily, after receiving the first payment request carrying the target order identifier and the target payment identifier, the clearing institution server can obtain the corresponding order information according to the target order identifier, and send the order information together with the target payment identifier to the payment request. The server, where the payment server performs user identity verification, querying the user's payment account, etc. according to the target payment ID, and debits the user's payment account according to the order information to pay for the target order.
在另一些示例中,清算机构服务器在接收到携带有目标订单标识和目标支付标识的第一支付请求后,清算机构服务器也可以对用户身份进行验证、对订单信息进行核对,在验证核对通过后直接向支付服务器发送携带有目标订单标识和目标支付标识的第二支付请求,由支付服务器根据上送的信息还原用户在支付客户端进行支付操作时选择的支付信息,并基于该支付信息确定目标订单的订单信息和用户支付账户,对用户支付账户进行扣款处理,以支付该目标订单。In other examples, after the clearing institution server receives the first payment request carrying the target order identifier and the target payment identifier, the clearing institution server can also verify the identity of the user and check the order information. Directly send the second payment request carrying the target order ID and the target payment ID to the payment server, and the payment server restores the payment information selected by the user when performing the payment operation on the payment client based on the sent information, and determines the target based on the payment information The order information of the order and the user's payment account are debited from the user's payment account to pay for the target order.
另外,在一些实施方式中,商户客户端中可设置有支付控件,该支付控件可以是由清算机构提供的支付控件。基于此,在上述S210之后,本申请实施例提供的支付方法还可以包括:In addition, in some embodiments, a payment control may be set in the merchant client, and the payment control may be a payment control provided by a clearing institution. Based on this, after the above S210, the payment method provided in the embodiment of the present application may further include:
由商户客户端调用支付控件;Call the payment control by the merchant client;
通过支付控件唤起支付客户端,并显示支付客户端中的支付界面。Evoke the payment client through the payment control, and display the payment interface in the payment client.
示例性地,如图3所示,当用户在线上支付收银台界面30中选中a支付方式32,则可通过商户客户端中安装的支付控件,唤起与a支付方式32对应的支付客户端,在此过程中,商户客户端仅向支付客户端传递目标订单的TN号。支付客户端被唤起后,如图4所示,可在终端设备中显示支付客户端的支付界面。Exemplarily, as shown in FIG. 3 , when the user selects a
这样,通过由商户客户端中安装的支付控件,统一唤起第三方支付客户端,可以为商户客户端屏蔽不同支付机构的支付客户端在唤起方式之间的差异,降低商户客户端的开发难度。In this way, by uniformly invoking the third-party payment client through the payment control installed in the merchant client, it is possible to shield the merchant client from the differences in the payment client activation methods of different payment institutions, and reduce the development difficulty of the merchant client.
基于此,为了便于在支付界面中显示与订单相关的信息,在一些可能的实施方式中,在上述S220之后,上述S230之前,本申请实施例提供的支付方法还可以包括:Based on this, in order to facilitate the display of order-related information on the payment interface, in some possible implementations, after the above S220 and before the above S230, the payment method provided in the embodiment of the present application may further include:
通过支付客户端向支付服务器发送针对目标订单的第一查询请求,第一查询请求中包括目标订单标识,第一查询请求用于指示支付服务器根据目标订单标识从清算机构服务器获取与目标订单对应的订单信息;The payment client sends a first query request for the target order to the payment server. The first query request includes the target order identifier, and the first query request is used to instruct the payment server to obtain the target order corresponding to the target order from the clearing institution server according to the target order identifier. order information;
接收支付服务器返回的与目标订单对应的订单信息;Receive the order information corresponding to the target order returned by the payment server;
在支付界面中显示订单信息。Display order information in the payment interface.
示例性地,支付客户端在接收到商户客户端发送的目标订单标识后,支付客户端可通过支付机构后台查询的方式获取关于目标订单的订单信息。具体地,支付客户端可向支付服务器发送携带有目标订单标识的第一查询请求,支付服务器在接收到该第一查询请求后,可通过后台方式向清算机构服务器发送携带有该目标订单标识的第二查询请求,进而从清算机构服务器中查询并获取与目标订单对应的订单信息。支付服务器在接收到清算机构服务器返回的订单信息后,可将该订单信息转发给支付客户端。如此,支付客户端在显示支付界面时,可在支付界面中显示该目标订单的订单信息。Exemplarily, after the payment client receives the target order identifier sent by the merchant client, the payment client can acquire the order information about the target order through the background query of the payment institution. Specifically, the payment client may send a first query request carrying the target order identifier to the payment server, and after receiving the first query request, the payment server may send a query request carrying the target order identifier to the clearing institution server in the background. The second query request is to query and obtain the order information corresponding to the target order from the clearing institution server. After the payment server receives the order information returned by the clearing institution server, it can forward the order information to the payment client. In this way, when the payment client displays the payment interface, the order information of the target order can be displayed on the payment interface.
这样,相较于现有技术中通过前台客户端跳转的同时直接传递订单信息的方式,本申请实施例能够有效降低客户端之间跳转过程中交易敏感信息被截取、泄露的风险。In this way, compared with the prior art in which the order information is directly delivered while jumping through the foreground client, the embodiment of the present application can effectively reduce the risk of transaction sensitive information being intercepted and leaked during the jumping process between clients.
另外,在一些实施方式中,在上述在支付界面中显示订单信息的步骤之后,本申请实施例提供的支付方法还可以包括:In addition, in some implementations, after the above step of displaying the order information on the payment interface, the payment method provided in the embodiment of the present application may further include:
接收用户基于支付界面的第二输入;receiving a second input from the user based on the payment interface;
响应于第二输入,获取用户确认输入的支付信息,通过支付客户端向支付服务器发送支付信息,以使支付服务器记录支付信息,并在接收到第二支付请求的情况下,根据目标支付标识和目标订单标识查询并获取支付信息,根据支付信息对目标订单进行支付处理,得到支付结果。In response to the second input, obtain the payment information that the user confirms the input, send the payment information to the payment server through the payment client, so that the payment server records the payment information, and when receiving the second payment request, according to the target payment identifier and The target order ID is queried and the payment information is obtained, and the target order is paid according to the payment information, and the payment result is obtained.
这里,支付信息可以包括用户选择的支付账户的信息,相应地,第二输入可以包括用户在支付界面中选择支付账户等支付信息的输入,还可以包括用户对身份验证信息的输入,当然,还可以包括用户确认支付意愿的输入。Here, the payment information may include the information of the payment account selected by the user. Correspondingly, the second input may include the user's input of payment information such as the payment account selected in the payment interface, and may also include the user's input of identity verification information. Input by the user confirming willingness to pay may be included.
示例性地,用户在支付客户端选择完毕用于支付目标订单的支付账户,输入完成身份验证信息以及点击确认按钮等一系列操作后,支付客户端可将用户确认输入的支付账户等支付信息上送至后台的支付服务器进行登记。支付服务器在接收到支付客户端上送的支付信息后,可将支付信息与用户的目标支付标识、目标订单的目标订单标识进行关联存储,以便在接收到清算机构服务器发送的第二支付请求时,依据目标支付标识和目标订单标识还原用户选择的支付信息,并基于该支付信息支付目标订单。Exemplarily, after the user selects the payment account for paying the target order on the payment client, enters and completes a series of operations such as identity verification information, and clicks the confirmation button, the payment client can upload the payment information such as the payment account that the user confirms to the input. Send to the payment server in the background for registration. After receiving the payment information sent by the payment client, the payment server can associate and store the payment information with the user's target payment ID and the target order ID of the target order, so that when receiving the second payment request sent by the clearing institution server , restore the payment information selected by the user according to the target payment identifier and the target order identifier, and pay the target order based on the payment information.
此外,在一些实施方式中,在上述S230之后,本申请实施例提供的支付方法还可以包括:In addition, in some implementations, after the above S230, the payment method provided in the embodiment of the present application may further include:
向清算机构服务器轮询与目标订单对应的支付结果;Inquire the clearing institution server for the payment result corresponding to the target order;
在轮询得到支付结果的情况下,由支付界面回跳至商户客户端中的支付结果界面,并在支付结果界面中显示支付结果。When the payment result is obtained by polling, the payment interface jumps back to the payment result interface in the merchant client, and the payment result is displayed on the payment result interface.
这里,支付客户端在向清算机构服务器发送第一支付请求后,可向清算机构服务器轮询支付结果。支付客户端在轮询到支付结果后,可触发前端回跳。Here, after the payment client sends the first payment request to the clearing institution server, it may poll the clearing institution server for the payment result. After the payment client polls the payment result, it can trigger the front-end bounce.
示例性地,支付客户端轮询到支付结果后,可通知商户客户端中安装的支付控件进行回跳,支付控件在收到支付客户端前台回跳通知后,可控制回跳至商户客户端中的支付结果界面,如图5所示,以在支付结果界面中显示支付结果,例如支付成功或支付失败。Exemplarily, after the payment client polls the payment result, it can notify the payment control installed in the merchant client to perform a rebound, and the payment control can control the rebound to the merchant client The payment result interface in , as shown in FIG. 5 , displays the payment result on the payment result interface, such as payment success or payment failure.
另外,清算机构服务器还可将支付结果通过收单机构返回至商户后台服务器。In addition, the clearing institution server can also return the payment result to the merchant's background server through the acquiring institution.
这样,通过返回支付结果,并进行回跳,可以实现支付结果界面的自动切换,以及不同客户端之间的自动切换,简化用户操作过程。In this way, by returning the payment result and jumping back, automatic switching of the payment result interface and automatic switching between different clients can be realized, thereby simplifying the user operation process.
图6是本申请一个实施例提供的支付方法的流程示意图。该支付方法可应用于清算机构服务器。Fig. 6 is a schematic flowchart of a payment method provided by an embodiment of the present application. This payment method can be applied to the clearing house server.
如图6所示,该支付方法具体可以包括如下步骤:As shown in Figure 6, the payment method may specifically include the following steps:
S610、接收与目标支付机构对应的支付客户端发送的针对目标订单的第一支付请求,第一支付请求中包括与目标订单对应的目标支付标识和目标订单标识,目标支付标识为用户在目标支付机构中的唯一身份标识;S610. Receive the first payment request for the target order sent by the payment client corresponding to the target payment institution. The first payment request includes the target payment identifier and the target order identifier corresponding to the target order. unique identifier within the institution;
S620、响应于第一支付请求,根据目标支付标识和目标订单标识向与目标支付机构对应的支付服务器发送第二支付请求,第二支付请求用于指示支付服务器根据目标支付标识和目标订单标识对目标订单进行支付处理,得到支付结果。S620. In response to the first payment request, send a second payment request to the payment server corresponding to the target payment institution according to the target payment ID and the target order ID, and the second payment request is used to instruct the payment server to make payment according to the target payment ID and the target order ID. The target order is processed for payment, and the payment result is obtained.
这里,上述第二支付请求中可包括目标支付标识和目标订单标识,其中,目标支付标识和目标订单标识的具体解释可参考前述实施例中的相关部分,在此不再赘述。Here, the above-mentioned second payment request may include a target payment identifier and a target order identifier. For specific explanations of the target payment identifier and the target order identifier, reference may be made to relevant parts in the foregoing embodiments, and details are not repeated here.
示例性地,清算机构服务器在接收到第一支付请求后,可对发送该请求的支付客户端进行用户身份验证、订单信息核对等操作,待验证核对通过后,再向与支付客户端同属一个支付机构的支付服务器发送携带有目标支付标识和目标订单标识的第二支付请求,以便支付客户端利用该目标支付标识和目标订单标识完成对目标订单的支付处理。Exemplarily, after receiving the first payment request, the clearing institution server can perform operations such as user identity verification and order information check on the payment client that sent the request, and after the verification and verification is passed, send the payment client to the payment client that belongs to the same payment client. The payment server of the payment institution sends the second payment request carrying the target payment identifier and the target order identifier, so that the payment client can use the target payment identifier and the target order identifier to complete the payment process for the target order.
由此,通过采用标记化技术对用户身份信息和订单信息等敏感信息进行标记,以目标支付标识标记用户身份信息,以目标订单标识标记订单信息,在支付过程中用目标支付标识和目标订单标识代替交易敏感信息进行传递,如此,可以进一步降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Therefore, by using tokenization technology to mark sensitive information such as user identity information and order information, the user identity information is marked with the target payment ID, the order information is marked with the target order ID, and the target payment ID and the target order ID are used during the payment process. In this way, the risk of malicious interception of transaction sensitive information can be further reduced, and the security of information transmission during the payment process can be improved.
基于此,在上述S610之前,本申请实施例提供的支付方法还可以包括:Based on this, before the above S610, the payment method provided in this embodiment of the application may further include:
接收商户客户端发送的与目标订单对应的订单信息;Receive the order information corresponding to the target order sent by the merchant client;
根据订单信息生成与目标订单对应的目标订单标识;Generate a target order identifier corresponding to the target order according to the order information;
向商户客户端返回目标订单标识。Return the target order ID to the merchant client.
这里,关于上述步骤的解释可参考前述实施例中的相关部分,在此不再赘述。Here, for explanations about the above steps, reference may be made to relevant parts in the foregoing embodiments, and details are not repeated here.
基于此,在上述根据订单信息生成与目标订单对应的目标订单标识的步骤之后,本申请实施例提供的支付方法还可以包括:Based on this, after the above step of generating the target order identifier corresponding to the target order according to the order information, the payment method provided in the embodiment of the present application may further include:
将目标订单标识与订单信息进行关联存储。Associate and store the target order ID with the order information.
另外,在上述将目标订单标识与订单信息进行关联存储之后,上述S610之前,本申请实施例提供的支付方法还可以包括:In addition, after the above-mentioned associative storage of the target order identifier and the order information, and before the above-mentioned S610, the payment method provided by the embodiment of the present application may further include:
接收支付服务器发送的针对目标订单的第二查询请求,第二查询请求中包括目标订单标识;receiving a second query request sent by the payment server for the target order, where the second query request includes the target order identifier;
响应于第二查询请求,根据目标订单标识查询并获取与目标订单对应的订单信息;In response to the second query request, query and obtain order information corresponding to the target order according to the target order identifier;
向支付服务器返回订单信息。Return order information to the payment server.
这里,关于上述步骤的解释可参考前述实施例中的相关部分,在此不再赘述。Here, for explanations about the above steps, reference may be made to relevant parts in the foregoing embodiments, and details are not repeated here.
图7是本申请一个实施例提供的支付方法的流程示意图。该支付方法可应用于支付服务器,该支付服务器可以是与前述支付客户端对应的服务器。Fig. 7 is a schematic flowchart of a payment method provided by an embodiment of the present application. The payment method can be applied to a payment server, and the payment server can be a server corresponding to the aforementioned payment client.
如图7所示,该支付方法具体可以包括如下步骤:As shown in Figure 7, the payment method may specifically include the following steps:
S710、接收清算机构服务器发送的针对目标订单的第二支付请求,第二支付请求中包括与目标订单对应的目标支付标识和目标订单标识,目标支付标识为用户在目标支付机构中的唯一身份标识,目标支付机构为与支付服务器对应的支付机构;S710. Receive the second payment request for the target order sent by the server of the clearing institution. The second payment request includes the target payment identifier and the target order identifier corresponding to the target order, and the target payment identifier is the unique identity of the user in the target payment institution. , the target payment institution is the payment institution corresponding to the payment server;
S720、响应于第二支付请求,根据目标支付标识和目标订单标识对目标订单进行支付处理,得到支付结果。S720. In response to the second payment request, perform payment processing on the target order according to the target payment identifier and the target order identifier, and obtain a payment result.
这里,当支付服务器接收到清算机构服务器发送的支付请求后,可利用其中携带的目标支付标识和目标订单标识,分别确定用户所对应的支付账户,以及待支付的目标订单的订单信息,进而根据该订单信息,对用户的支付账户进行扣款处理,以完成对目标订单的支付过程。其中,支付结果可以包括支付成功或支付失败。Here, when the payment server receives the payment request sent by the clearing institution server, it can determine the payment account corresponding to the user and the order information of the target order to be paid by using the target payment ID and the target order ID carried in it, and then according to For the order information, the user's payment account is debited to complete the payment process for the target order. Wherein, the payment result may include payment success or payment failure.
由此,通过采用标记化技术对用户身份信息和订单信息等敏感信息进行标记,以目标支付标识标记用户身份信息,以目标订单标识标记订单信息,在支付过程中用目标支付标识和目标订单标识代替交易敏感信息进行传递,如此,可以进一步降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Therefore, by using tokenization technology to mark sensitive information such as user identity information and order information, the user identity information is marked with the target payment ID, the order information is marked with the target order ID, and the target payment ID and the target order ID are used during the payment process. In this way, the risk of malicious interception of transaction sensitive information can be further reduced, and the security of information transmission during the payment process can be improved.
基于此,在上述S710之前,本申请实施例提供的支付方法还可以包括:Based on this, before the above S710, the payment method provided in the embodiment of this application may also include:
接收与目标支付机构对应的支付客户端发送的针对目标订单的第一查询请求,第一查询请求中包括目标订单标识;receiving a first query request for the target order sent by a payment client corresponding to the target payment institution, where the first query request includes the target order identifier;
响应于第一查询请求,向清算机构服务器发送针对目标订单的第二查询请求,第二查询请求用于指示清算机构服务器根据目标订单标识查询并获取与目标订单对应的订单信息;In response to the first query request, send a second query request for the target order to the clearing institution server, and the second query request is used to instruct the clearing institution server to query and obtain order information corresponding to the target order according to the target order identifier;
接收清算机构服务器返回的订单信息,并将订单信息转发至支付客户端。Receive the order information returned by the clearing institution server, and forward the order information to the payment client.
这里,关于上述步骤的解释可参考前述实施例中的相关部分,在此不再赘述。Here, for explanations about the above steps, reference may be made to relevant parts in the foregoing embodiments, and details are not repeated here.
另外,在上述将订单信息转发至支付客户端之后,方法还包括:In addition, after the aforementioned order information is forwarded to the payment client, the method further includes:
接收并保存支付客户端发送的支付信息。Receive and save the payment information sent by the payment client.
基于此,上述S720具体可以包括:Based on this, the above S720 may specifically include:
根据目标支付标识和目标订单标识查询并获取支付信息;Query and obtain payment information according to the target payment ID and target order ID;
根据支付信息对目标订单进行支付处理,得到支付结果。Perform payment processing on the target order according to the payment information, and obtain the payment result.
这里,关于上述步骤的解释可参考前述实施例中的相关部分,在此不再赘述。Here, for explanations about the above steps, reference may be made to relevant parts in the foregoing embodiments, and details are not repeated here.
为了更好地描述整个方案,基于上述各实施例,举一些具体例子。In order to better describe the whole solution, some specific examples are given based on the foregoing embodiments.
例如,如图8所示的支付方法流程图。该支付方法可以包括S801-S816,下面结合图8对此进行详细说明。For example, the payment method flowchart shown in FIG. 8 . The payment method may include S801-S816, which will be described in detail below in conjunction with FIG. 8 .
S801、发起订单支付请求。S801. Initiate an order payment request.
在一些示例中,当用户在终端设备中的商户客户端内针对目标订单选择目标支付方式,并触发支付目标订单的情况下,商户客户端可向收单机构发起订单支付请求,在该订单支付请求中可携带目标订单的订单信息。In some examples, when the user selects the target payment method for the target order in the merchant client in the terminal device and triggers the payment of the target order, the merchant client can initiate an order payment request to the acquirer. The order information of the target order can be carried in the request.
S802、发起订单支付请求。S802. Initiate an order payment request.
在一些示例中,收单机构在接收到目标订单的订单信息后,可向目标支付方式对应的清算机构服务器发送订单支付请求,在该订单支付请求中同样可携带目标订单的订单信息。In some examples, after receiving the order information of the target order, the acquirer may send an order payment request to the clearing institution server corresponding to the target payment method, and the order payment request may also carry the order information of the target order.
S803、返回订单受理结果。S803. Return the order acceptance result.
在一些示例中,清算机构服务器可返回该目标订单对应的TN号。In some examples, the clearing institution server may return the TN number corresponding to the target order.
S804、返回订单受理结果。S804. Return the order acceptance result.
在一些示例中,收单机构可将该目标订单对应的TN号返回给商户客户端。In some examples, the acquirer may return the TN number corresponding to the target order to the merchant client.
S805、查询支付结果。S805. Query the payment result.
在一些示例中,商户客户端可向收单机构轮询支付结果。In some examples, the merchant client may poll the acquirer for payment results.
S806、通过支付控件唤起支付客户端,并发送TN号。S806. Arouse the payment client through the payment control, and send the TN number.
在一些示例中,商户客户端在得到TN号后,可调用内嵌的支付控件,并根据用户在支付控件对应的线上收银台支付界面中进一步选择的支付方式,唤起相应的支付客户端,并向支付客户端发送TN号。In some examples, after obtaining the TN number, the merchant client can call the embedded payment control, and invoke the corresponding payment client according to the payment method further selected by the user in the online cash register payment interface corresponding to the payment control, And send the TN number to the payment client.
S807、查询订单信息。S807. Query order information.
在一些示例中,支付客户端被唤起后可向支付服务器发送查询请求,以查询目标订单的订单信息,该查询请求中可携带有TN号。In some examples, the payment client may send a query request to the payment server after being awakened, to query the order information of the target order, and the query request may carry a TN number.
S808、查询订单信息。S808. Query order information.
在一些示例中,支付服务器可根据TN号进一步向清算机构服务器发送查询请求,以根据TN号查询并获取相应的订单信息。In some examples, the payment server may further send a query request to the clearing institution server according to the TN number, so as to query and obtain corresponding order information according to the TN number.
S809、返回订单信息。S809. Return order information.
在一些示例中,清算机构服务器可将查询到的订单信息以后台方式返回给支付服务器。In some examples, the clearing institution server may return the queried order information to the payment server in a background manner.
S810、返回订单信息。S810. Return order information.
在一些示例中,支付服务器进一步可将查询到的订单信息返回给支付客户端,以便用户根据订单信息进行金额核对以及支付意愿确认。In some examples, the payment server can further return the queried order information to the payment client, so that the user can check the amount and confirm the willingness to pay according to the order information.
S811、发送支付信息;S811. Send payment information;
在一些示例中,用户在支付客户端中完成身份认证和支付意愿确认操作后,支付客户端可将用户所选的支付账户等支付信息上送至支付服务器,以在支付服务器中进行记录。In some examples, after the user completes identity authentication and willingness to pay confirmation operations in the payment client, the payment client can send the payment information such as the payment account selected by the user to the payment server for recording in the payment server.
S812、发送支付请求并轮询支付结果。S812. Send a payment request and poll the payment result.
在一些示例中,支付客户端可将携带有用户支付Token和TN号的支付请求上送至清算机构服务器。In some examples, the payment client can send the payment request carrying the user's payment Token and TN number to the clearing institution server.
S813、发送支付请求。S813. Send a payment request.
在一些示例中,清算机构服务器将接收到的用户支付Token和TN号通过转接系统上送至支付服务器,并发送支付请求。In some examples, the clearing institution server sends the received user payment Token and TN number to the payment server through the transfer system, and sends a payment request.
S814、对目标订单进行支付处理。S814. Perform payment processing on the target order.
在一些示例中,支付服务器根据清算机构服务器上送的用户支付Token和TN号,还原用户在支付客户端选择的支付信息,并基于该支付信息对目标订单进行支付处理,得到支付结果。In some examples, the payment server restores the payment information selected by the user on the payment client according to the user's payment Token and TN number sent by the clearing institution server, and performs payment processing on the target order based on the payment information to obtain the payment result.
S815、返回支付结果。S815. Return the payment result.
在一些示例中,支付服务器可向清算机构服务器返回目标订单的支付结果。In some examples, the payment server may return the payment result of the target order to the clearinghouse server.
S816、返回支付结果。S816. Return the payment result.
在一些示例中,清算机构服务器将支付结果通过后台方式返回给收单机构,如此,商户客户端可从收单机构查询到支付结果,支付客户端也能从清算机构服务器查询到支付结果。支付客户端可根据轮询到的支付结果触发前台回跳,商户客户端中的支付控件收到支付客户端的前台回跳通知后,控制终端设备回跳至商户客户端中的支付结果界面。In some examples, the clearing institution server returns the payment result to the acquirer in the background, so that the merchant client can query the payment result from the acquirer, and the payment client can also query the payment result from the clearing institution server. The payment client can trigger the foreground bounce back according to the polled payment result, and the payment control in the merchant client will control the terminal device to jump back to the payment result interface in the merchant client after receiving the foreground bounce notification from the payment client.
需要说明的是,上述本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that, With the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
基于相同的发明构思,本申请还提供了一种支付装置。具体结合图9至图11进行详细说明。Based on the same inventive concept, the present application also provides a payment device. It will be described in detail with reference to FIG. 9 to FIG. 11 .
图9是本申请一个实施例提供的支付装置的结构示意图。该支付装置可配置于终端设备,终端设备中设置有商户客户端和与目标支付机构对应的支付客户端。Fig. 9 is a schematic structural diagram of a payment device provided by an embodiment of the present application. The payment device may be configured in a terminal device, and the terminal device is provided with a merchant client and a payment client corresponding to a target payment institution.
如图9所示,该支付装置900可以包括:As shown in Figure 9, the
第一接收模块901,用于接收用户在所述商户客户端中触发支付目标订单的第一输入;The
第一发送模块902,用于响应于所述第一输入,由所述商户客户端向所述支付客户端发送与所述目标订单对应的目标订单标识;The
第一请求模块903,用于通过所述支付客户端向清算机构服务器发送针对所述目标订单的第一支付请求,所述第一支付请求中包括目标支付标识和所述目标订单标识,所述目标支付标识为所述用户在所述目标支付机构中的唯一身份标识;The
其中,所述第一支付请求用于指示所述清算机构服务器根据所述目标支付标识和所述目标订单标识向与所述目标支付机构对应的支付服务器发送第二支付请求,所述第二支付请求用于指示所述支付服务器根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。Wherein, the first payment request is used to instruct the clearing institution server to send a second payment request to the payment server corresponding to the target payment institution according to the target payment identifier and the target order identifier, and the second payment The request is used to instruct the payment server to perform payment processing on the target order according to the target payment ID and the target order ID to obtain a payment result.
下面对上述支付装置900进行详细说明,具体如下所示:The above-mentioned
在其中一些实施例中,所述商户客户端中设置有支付控件;In some of these embodiments, the merchant client is provided with a payment control;
该支付装置900还可以包括:The
控件调用模块,用于在接收用户在所述商户客户端中触发支付目标订单的第一输入之后,由所述商户客户端调用所述支付控件;A control calling module, configured to call the payment control by the merchant client after receiving the user's first input of triggering a payment target order in the merchant client;
唤起显示模块,用于通过所述支付控件唤起所述支付客户端,并显示所述支付客户端中的支付界面。The calling display module is used to wake up the payment client through the payment control, and display the payment interface in the payment client.
在其中一些实施例中,该支付装置900还包括:In some of these embodiments, the
第三请求模块,用于在由所述商户客户端向所述支付客户端发送与所述目标订单对应的目标订单标识之后,通过所述支付客户端向清算机构服务器发送针对所述目标订单的第一支付请求之前,通过所述支付客户端向所述支付服务器发送针对所述目标订单的第一查询请求,所述第一查询请求中包括所述目标订单标识,所述第一查询请求用于指示所述支付服务器根据所述目标订单标识从所述清算机构服务器获取与所述目标订单对应的订单信息;The third request module is configured to send the target order identifier corresponding to the target order to the clearing institution server through the payment client after the merchant client sends the target order identifier to the payment client. Before the first payment request, the payment client sends a first query request for the target order to the payment server, the first query request includes the target order identifier, and the first query request uses Instructing the payment server to obtain order information corresponding to the target order from the clearing institution server according to the target order identifier;
第四接收模块,用于接收所述支付服务器返回的与所述目标订单对应的订单信息;A fourth receiving module, configured to receive the order information corresponding to the target order returned by the payment server;
第一显示模块,用于在所述支付界面中显示所述订单信息。A first display module, configured to display the order information on the payment interface.
在其中一些实施例中,该支付装置900还可以包括:In some of these embodiments, the
第五接收模块,用于在所述支付界面中显示所述订单信息之后,接收用户基于所述支付界面的第二输入;The fifth receiving module is configured to receive a second input from the user based on the payment interface after the order information is displayed on the payment interface;
第二发送模块,用于响应于所述第二输入,获取所述用户确认输入的支付信息,通过所述支付客户端向所述支付服务器发送所述支付信息,以使所述支付服务器记录所述支付信息,并在接收到所述第二支付请求的情况下,根据所述目标支付标识和所述目标订单标识查询并获取所述支付信息,根据所述支付信息对所述目标订单进行支付处理,得到支付结果。The second sending module is configured to, in response to the second input, obtain the payment information that the user confirms input, and send the payment information to the payment server through the payment client, so that the payment server records the The payment information, and in the case of receiving the second payment request, query and obtain the payment information according to the target payment ID and the target order ID, and pay the target order according to the payment information Process and get the payment result.
在其中一些实施例中,该支付装置900还可以包括:In some of these embodiments, the
结果轮询模块,用于在通过所述支付客户端向清算机构服务器发送针对所述目标订单的第一支付请求之后,向所述清算机构服务器轮询与所述目标订单对应的支付结果;A result polling module, configured to poll the clearing institution server for a payment result corresponding to the target order after sending the first payment request for the target order to the clearing institution server through the payment client;
第二显示模块,用于在轮询得到所述支付结果的情况下,由所述支付界面回跳至所述商户客户端中的支付结果界面,并在所述支付结果界面中显示所述支付结果。The second display module is configured to jump back from the payment interface to the payment result interface in the merchant client when the payment result is obtained by polling, and display the payment in the payment result interface result.
在其中一些实施例中,该支付装置900还可以包括:In some of these embodiments, the
第三发送模块,用于在由所述商户客户端向所述支付客户端发送与所述目标订单对应的目标订单标识之前,在所述用户在所述商户客户端中针对所述目标订单选择目标支付方式的情况下,由所述商户客户端向所述清算机构服务器发送与所述目标订单对应的订单信息,以使所述清算机构服务器根据所述订单信息生成与所述目标订单对应的所述目标订单标识,其中,所述目标支付方式为目标支付平台对应的支付方式,所述目标支付平台为能够提供所述目标支付机构对应的支付方式的平台;The third sending module is configured to, before the merchant client sends the target order identifier corresponding to the target order to the payment client, before the user selects for the target order in the merchant client In the case of a target payment method, the merchant client sends the order information corresponding to the target order to the clearing institution server, so that the clearing institution server generates an order corresponding to the target order according to the order information The target order identifier, wherein the target payment method is the payment method corresponding to the target payment platform, and the target payment platform is a platform that can provide the payment method corresponding to the target payment institution;
第六接收模块,用于接收所述清算机构服务器返回的所述目标订单标识。The sixth receiving module is configured to receive the target order identifier returned by the clearing institution server.
由此,通过在用户触发支付目标订单时,由商户客户端向支付客户端发送与该目标订单对应的目标订单标识,进而通过支付客户端向清算机构服务器发送针对目标订单的第一支付请求,并且第一支付请求中包括用户目标支付机构中的唯一身份标识,也即目标支付标识,以及目标订单标识,以使清算机构服务器进一步地向目标支付机构对应的支付服务器发起第二支付请求,使得目标支付机构能够基于该目标支付标识和目标订单标识在后台获取交易敏感信息,从而对目标订单进行支付处理。这样,由于终端设备中商户客户端与支付客户端之间通过前端方式仅传递了目标订单对应的目标订单标识,而不传递其他交易敏感信息,因此,可以降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Thus, when the user triggers the payment target order, the merchant client sends the target order identifier corresponding to the target order to the payment client, and then sends the first payment request for the target order to the clearing institution server through the payment client, And the first payment request includes the unique identity of the user's target payment institution, that is, the target payment identifier, and the target order identifier, so that the clearing institution server can further initiate a second payment request to the payment server corresponding to the target payment institution, so that The target payment institution can obtain transaction sensitive information in the background based on the target payment ID and the target order ID, so as to process the payment of the target order. In this way, because only the target order identifier corresponding to the target order is transmitted between the merchant client and the payment client in the terminal device through the front-end method, and other transaction sensitive information is not transmitted, therefore, the risk of transaction sensitive information being maliciously intercepted can be reduced. Improve the security of information transmission in the payment process.
图10是本申请一个实施例提供的支付装置的结构示意图。该支付装置可配置于清算机构服务器。Fig. 10 is a schematic structural diagram of a payment device provided by an embodiment of the present application. The payment device can be configured on the clearing institution server.
如图10所示,该支付装置1000可以包括:As shown in Figure 10, the
第二接收模块1001,用于接收与目标支付机构对应的支付客户端发送的针对目标订单的第一支付请求,所述第一支付请求中包括与所述目标订单对应的目标支付标识和目标订单标识,所述目标支付标识为用户在所述目标支付机构中的唯一身份标识;The
1002,用于响应于所述第一支付请求,根据所述目标支付标识和所述目标订单标识向与所述目标支付机构对应的支付服务器发送第二支付请求,所述第二支付请求用于指示所述支付服务器根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。1002. In response to the first payment request, send a second payment request to a payment server corresponding to the target payment institution according to the target payment identifier and the target order identifier, where the second payment request is used for Instructing the payment server to perform payment processing on the target order according to the target payment ID and the target order ID to obtain a payment result.
下面对上述支付装置1000进行详细说明,具体如下所示:The above-mentioned
在其中一些实施例中,该支付装置1000还可以包括:In some of these embodiments, the
第七接收模块,用于在接收与目标支付机构对应的支付客户端发送的针对目标订单的第一支付请求之前,接收商户客户端发送的与所述目标订单对应的订单信息;The seventh receiving module is used to receive the order information corresponding to the target order sent by the merchant client before receiving the first payment request for the target order sent by the payment client corresponding to the target payment institution;
标识生成模块,用于根据所述订单信息生成与所述目标订单对应的所述目标订单标识;An identification generating module, configured to generate the target order identification corresponding to the target order according to the order information;
标识返回模块,用于向所述商户客户端返回所述目标订单标识。An identifier returning module, configured to return the target order identifier to the merchant client.
在其中一些实施例中,该支付装置1000还可以包括:In some of these embodiments, the
第一存储模块,用于在根据所述订单信息生成与所述目标订单对应的所述目标订单标识之后,将所述目标订单标识与所述订单信息进行关联存储。A first storage module, configured to associate and store the target order identifier with the order information after the target order identifier corresponding to the target order is generated according to the order information.
在其中一些实施例中,该支付装置1000还可以包括:In some of these embodiments, the
第四请求模块,用于在将所述目标订单标识与所述订单信息进行关联存储之后,接收与目标支付机构对应的支付客户端发送的针对目标订单的第一支付请求之前,接收所述支付服务器发送的针对所述目标订单的第二查询请求,所述第二查询请求中包括所述目标订单标识;The fourth request module is configured to receive the payment before receiving the first payment request for the target order sent by the payment client corresponding to the target payment institution after the target order identifier is associated and stored with the order information A second query request sent by the server for the target order, where the second query request includes the target order identifier;
信息查询模块,用于响应于所述第二查询请求,根据所述目标订单标识查询并获取与所述目标订单对应的订单信息;An information query module, configured to query and obtain order information corresponding to the target order according to the target order identifier in response to the second query request;
信息返回模块,用于向所述支付服务器返回所述订单信息。An information returning module, configured to return the order information to the payment server.
由此,通过采用标记化技术对用户身份信息和订单信息等敏感信息进行标记,以目标支付标识标记用户身份信息,以目标订单标识标记订单信息,在支付过程中用目标支付标识和目标订单标识代替交易敏感信息进行传递,如此,可以进一步降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Therefore, by using tokenization technology to mark sensitive information such as user identity information and order information, the user identity information is marked with the target payment ID, the order information is marked with the target order ID, and the target payment ID and the target order ID are used during the payment process. In this way, the risk of malicious interception of transaction sensitive information can be further reduced, and the security of information transmission during the payment process can be improved.
图11是本申请一个实施例提供的支付装置的结构示意图。该支付装置可配置于支付服务器。Fig. 11 is a schematic structural diagram of a payment device provided by an embodiment of the present application. The payment device can be configured in a payment server.
如图11所示,该支付装置1100可以包括:As shown in Figure 11, the
第三接收模块1101,用于接收清算机构服务器发送的针对目标订单的第二支付请求,所述第二支付请求中包括与所述目标订单对应的目标支付标识和目标订单标识,所述目标支付标识为用户在目标支付机构中的唯一身份标识,所述目标支付机构为与所述支付服务器对应的支付机构;The
支付处理模块1102,用于响应于所述第二支付请求,根据所述目标支付标识和所述目标订单标识对所述目标订单进行支付处理,得到支付结果。The
下面对上述支付装置1100进行详细说明,具体如下所示:The above-mentioned
在其中一些实施例中,该支付装置1100还可以包括:In some of these embodiments, the
第八接收模块,用于在接收清算机构服务器发送的针对目标订单的第二支付请求之前,接收与所述目标支付机构对应的支付客户端发送的针对所述目标订单的第一查询请求,所述第一查询请求中包括所述目标订单标识;The eighth receiving module is configured to receive the first query request for the target order sent by the payment client corresponding to the target payment institution before receiving the second payment request for the target order sent by the clearing institution server, the The first query request includes the target order identifier;
第五请求模块,用于响应于所述第一查询请求,向所述清算机构服务器发送针对所述目标订单的第二查询请求,所述第二查询请求用于指示所述清算机构服务器根据所述目标订单标识查询并获取与所述目标订单对应的订单信息;A fifth request module, configured to send a second query request for the target order to the clearing institution server in response to the first query request, and the second query request is used to instruct the clearing institution server to Query the target order identifier and obtain the order information corresponding to the target order;
信息转发模块,用于接收所述清算机构服务器返回的所述订单信息,并将所述订单信息转发至所述支付客户端。An information forwarding module, configured to receive the order information returned by the clearing institution server, and forward the order information to the payment client.
在其中一些实施例中,该支付装置1100还可以包括:In some of these embodiments, the
第二存储模块,用于在将所述订单信息转发至所述支付客户端之后,接收并保存所述支付客户端发送的支付信息;The second storage module is configured to receive and save the payment information sent by the payment client after forwarding the order information to the payment client;
上述支付处理模块1102具体可以包括:The above-mentioned
查询子模块,用于根据所述目标支付标识和所述目标订单标识查询并获取所述支付信息;A query submodule, configured to query and obtain the payment information according to the target payment identifier and the target order identifier;
支付子模块,用于根据所述支付信息对所述目标订单进行支付处理,得到支付结果。The payment sub-module is configured to perform payment processing on the target order according to the payment information, and obtain a payment result.
由此,通过采用标记化技术对用户身份信息和订单信息等敏感信息进行标记,以目标支付标识标记用户身份信息,以目标订单标识标记订单信息,在支付过程中用目标支付标识和目标订单标识代替交易敏感信息进行传递,如此,可以进一步降低交易敏感信息被恶意截取的风险,提高支付过程中信息传递的安全性。Therefore, by using tokenization technology to mark sensitive information such as user identity information and order information, the user identity information is marked with the target payment ID, the order information is marked with the target order ID, and the target payment ID and the target order ID are used during the payment process. In this way, the risk of malicious interception of transaction sensitive information can be further reduced, and the security of information transmission during the payment process can be improved.
图12是本申请一个实施例提供的电子设备的结构示意图。Fig. 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
在电子设备1200可以包括处理器1201以及存储有计算机程序指令的存储器1202。The
具体地,上述处理器1201可以包括中央处理器(CPU),或者特定集成电路(Application Specific Integrated Circuit,ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。Specifically, the above-mentioned
存储器1202可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器1202可包括硬盘驱动器(Hard Disk Drive,HDD)、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(Universal Serial Bus,USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器1202可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器1202可在综合网关容灾设备的内部或外部。在特定实施例中,存储器1202是非易失性固态存储器。
在特定实施例中,存储器可包括只读存储器(ROM),随机存取存储器(RAM),磁盘存储介质设备,光存储介质设备,闪存设备,电气、光学或其他物理/有形的存储器存储设备。因此,通常,存储器包括一个或多个编码有包括计算机可执行指令的软件的有形(非暂态)计算机可读存储介质(例如,存储器设备),并且当该软件被执行(例如,由一个或多个处理器)时,其可操作来执行参考根据本申请的一方面的方法所描述的操作。In particular embodiments, memory may include read only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions, and when the software is executed (e.g., by one or multiple processors) operable to perform the operations described with reference to the method according to an aspect of the present application.
处理器1201通过读取并执行存储器1202中存储的计算机程序指令,以实现上述实施例中的任意一种支付方法。The
在一些示例中,电子设备1200还可包括通信接口1203和总线1210。其中,如图12所示,处理器1201、存储器1202、通信接口1203通过总线1210连接并完成相互间的通信。In some examples, the
通信接口1203主要用于实现本申请实施例中各模块、装置、单元和/或设备之间的通信。The
总线1210包括硬件、软件或两者,将在线数据流量计费设备的部件彼此耦接在一起。举例来说而非限制,总线1210可包括加速图形端口(AGP)或其他图形总线、增强工业标准架构(EISA)总线、前端总线(FSB)、超传输(HT)互连、工业标准架构(ISA)总线、无限带宽互连、低引脚数(LPC)总线、存储器总线、微信道架构(MCA)总线、外围组件互连(PCI)总线、PCI-Express(PCI-X)总线、串行高级技术附件(SATA)总线、视频电子标准协会局部(VLB)总线或其他合适的总线或者两个或更多个以上这些的组合。在合适的情况下,总线1210可包括一个或多个总线。尽管本申请实施例描述和示出了特定的总线,但本申请考虑任何合适的总线或互连。The
示例性的,电子设备1200可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等。Exemplarily, the
该电子设备1200可以执行本申请实施例中的支付方法,从而实现结合图1至图11描述的支付方法和装置。The
另外,结合上述实施例中的支付方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种支付方法。计算机可读存储介质的示例包括非暂态计算机可读存储介质,如便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件等。In addition, in combination with the payment methods in the foregoing embodiments, the embodiments of the present application may provide a computer-readable storage medium for implementation. Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by a processor, any payment method in the above-mentioned embodiments is realized. Examples of computer readable storage media include non-transitory computer readable storage media such as portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory) ), portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, etc.
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。It is to be understood that the application is not limited to the specific configurations and processes described above and shown in the figures. For conciseness, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art may make various changes, modifications and additions, or change the order of the steps after understanding the spirit of the present application.
以上所述的结构框图中所示的功能块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“机器可读介质”可以包括能够存储或传输信息的任何介质。机器可读介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional blocks shown in the structural block diagrams described above may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the present application are the programs or code segments employed to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted over transmission media or communication links by data signals carried in carrier waves. "Machine-readable medium" may include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. Code segments may be downloaded via a computer network such as the Internet, an Intranet, or the like.
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiment, or may be different from the order in the embodiment, or several steps may be performed simultaneously.
上面参考根据本申请的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It will be understood that each block of the flowchart and/or block diagrams, and combinations of blocks in the flowchart and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that execution of these instructions via the processor of the computer or other programmable data processing apparatus enables Implementation of the functions/actions specified in one or more blocks of the flowchart and/or block diagrams. Such processors may be, but are not limited to, general purpose processors, special purpose processors, application specific processors, or field programmable logic circuits. It can also be understood that each block in the block diagrams and/or flowcharts and combinations of blocks in the block diagrams and/or flowcharts can also be realized by dedicated hardware for performing specified functions or actions, or can be implemented by dedicated hardware and Combination of computer instructions to achieve.
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。The above is only a specific implementation of the present application, and those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described systems, modules and units can refer to the foregoing method embodiments The corresponding process in , will not be repeated here. It should be understood that the protection scope of the present application is not limited thereto, and any person familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the application, and these modifications or replacements should cover all Within the protection scope of this application.
Claims (19)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310066429.XA CN116151816A (en) | 2023-01-13 | 2023-01-13 | Payment method, device, equipment, medium and product |
| PCT/CN2023/137822 WO2024149000A1 (en) | 2023-01-13 | 2023-12-11 | Payment method and apparatus, and device, medium and product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310066429.XA CN116151816A (en) | 2023-01-13 | 2023-01-13 | Payment method, device, equipment, medium and product |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116151816A true CN116151816A (en) | 2023-05-23 |
Family
ID=86357772
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310066429.XA Pending CN116151816A (en) | 2023-01-13 | 2023-01-13 | Payment method, device, equipment, medium and product |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN116151816A (en) |
| WO (1) | WO2024149000A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024149000A1 (en) * | 2023-01-13 | 2024-07-18 | 中国银联股份有限公司 | Payment method and apparatus, and device, medium and product |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557962A (en) * | 2015-09-24 | 2017-04-05 | 腾讯科技(深圳)有限公司 | Method of payment, apparatus and system |
| CN111192057A (en) * | 2019-12-31 | 2020-05-22 | 网联清算有限公司 | Payment processing method, device and system |
| CN112150136A (en) * | 2020-09-04 | 2020-12-29 | 京东数字科技控股股份有限公司 | A payment method, system and device for embedded web page in application |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014118589A1 (en) * | 2013-02-04 | 2014-08-07 | Scherr Petra | Method and system for performing a financial transaction |
| US20150339668A1 (en) * | 2014-05-21 | 2015-11-26 | Square, Inc. | Verified purchasing |
| CN110910134B (en) * | 2019-10-25 | 2021-08-27 | 网联清算有限公司 | Payment processing system and method |
| CN114565382B (en) * | 2022-03-01 | 2025-04-25 | 江苏幺贰凌玖科技服务有限公司 | A transaction account anonymous payment method and system |
| CN116151816A (en) * | 2023-01-13 | 2023-05-23 | 中国银联股份有限公司 | Payment method, device, equipment, medium and product |
-
2023
- 2023-01-13 CN CN202310066429.XA patent/CN116151816A/en active Pending
- 2023-12-11 WO PCT/CN2023/137822 patent/WO2024149000A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557962A (en) * | 2015-09-24 | 2017-04-05 | 腾讯科技(深圳)有限公司 | Method of payment, apparatus and system |
| CN111192057A (en) * | 2019-12-31 | 2020-05-22 | 网联清算有限公司 | Payment processing method, device and system |
| US20220207499A1 (en) * | 2019-12-31 | 2022-06-30 | Netsunion Clearing Corporation | Payment processing method, device and system |
| CN112150136A (en) * | 2020-09-04 | 2020-12-29 | 京东数字科技控股股份有限公司 | A payment method, system and device for embedded web page in application |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024149000A1 (en) * | 2023-01-13 | 2024-07-18 | 中国银联股份有限公司 | Payment method and apparatus, and device, medium and product |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2024149000A1 (en) | 2024-07-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101460182B1 (en) | Method and system for secure mobile wallet transaction | |
| US11392923B2 (en) | Method and system for enabling a payment | |
| US11769123B2 (en) | Payment method and apparatus, related device, and system | |
| CN107111813B (en) | process financial transactions | |
| US10776771B2 (en) | Electronic resource processing method and device | |
| CN114116036B (en) | Method, device, medium and electronic device for calling application plug-in | |
| TWI856485B (en) | Payment methods, devices, equipment, media and products | |
| CN115760084A (en) | Preferential information inquiry method, device, equipment, storage medium and product | |
| CN116151816A (en) | Payment method, device, equipment, medium and product | |
| CN116205641A (en) | Payment method, device, equipment, medium and product | |
| KR20120082644A (en) | Server and method for processing payment using mobile terminal | |
| TWI890203B (en) | Payment methods, devices, equipment, media and products | |
| CN104301893A (en) | Authentication method, mobile communication authentication platform and devices | |
| CN113128993B (en) | Payment method, device, electronic equipment and storage medium | |
| CN116384987A (en) | Digital commodity transaction method, device, system and computer readable storage medium | |
| KR102055914B1 (en) | System and method for tracking lost mobile terminal | |
| KR20120002363A (en) | Method and apparatus for mobile credit payment using wireless access point and system therefor | |
| CN114648331A (en) | Order payment method, order payment device, computer equipment and computer readable storage medium | |
| CN115660673A (en) | Payment method, device, equipment, medium and product | |
| CN101504783B (en) | Method, device and system for deducting fees from electronic wallet | |
| CN115408176A (en) | Data processing method, apparatus, device, medium, and program product | |
| CN110995445A (en) | Resource processing method, device, equipment and medium | |
| CN117314422A (en) | Transaction method, device, equipment, medium and product | |
| CN116756219A (en) | Data processing methods, devices, equipment and computer storage media | |
| CN117333166A (en) | Payment processing methods, devices, equipment and computer-readable storage media |
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 |