WO2021147589A1 - Subscription method, apparatus and device - Google Patents

Subscription method, apparatus and device Download PDF

Info

Publication number
WO2021147589A1
WO2021147589A1 PCT/CN2020/137993 CN2020137993W WO2021147589A1 WO 2021147589 A1 WO2021147589 A1 WO 2021147589A1 CN 2020137993 W CN2020137993 W CN 2020137993W WO 2021147589 A1 WO2021147589 A1 WO 2021147589A1
Authority
WO
WIPO (PCT)
Prior art keywords
account
target
request
payment application
server
Prior art date
Application number
PCT/CN2020/137993
Other languages
French (fr)
Chinese (zh)
Inventor
张冕
郑文翰
郑君华
张婷婷
陈辉
Original Assignee
支付宝(杭州)信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021147589A1 publication Critical patent/WO2021147589A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • G06Q20/023Payment 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
    • 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/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • One or more embodiments of this specification relate to the field of computer technology, and in particular, to a contracting method, device, and equipment.
  • the first payment application belonging to the same country and the merchant can usually sign a resource deduction agreement in advance, so that the user can sign a service agreement between the account of the first payment application and the target merchant through an individual, thereby entrusting the first payment application to the target merchant.
  • a payment application pays to the merchant based on the user's account resources at the first payment application, which realizes the self-service deduction of fees, which is convenient and quick.
  • usually merchants do not sign a resource deduction agreement with a foreign second payment application, which results in users not being able to use their personal account at the second payment application to make self-service payment to the merchant, which brings inconvenience to the user.
  • one or more embodiments of this specification provide a contracting method, device, and equipment for making the user based on the account and the first country’s payment application on the basis of the merchant’s server remaining unchanged.
  • Merchants in the two countries sign service agreements for self-service payment, which facilitates transactions between users and merchants.
  • An embodiment of this specification provides a signing method, including: obtaining a first signing request for a first account in a first payment application, where the first signing request is used to request the establishment of a connection between the first account and the target merchant.
  • Service agreement the service provider of the first payment application is a registrar in a first country, and the target merchant is a registered merchant in a second country; obtaining the first contract authorization for the service agreement of the first account Information; sending the first subscription authorization information to the server of the first payment application; receiving the first subscription identifier generated by the server of the first payment application based on the first subscription authorization information;
  • the second contract authorization information for the service agreement send the second contract authorization information to the server of the second payment application; the server that receives the second payment application generates the information based on the second contract authorization information
  • An account creation method includes: acquiring a user's trigger operation; based on the user's trigger operation, generating a first subscription request for a first account at a first payment application, the first subscription request It is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country; The first contract request is sent to the target server, so that the target server generates the association relationship data between the first contract ID and the second contract ID, where the first contract ID is the target merchant of the first account
  • the second subscription identifier is the subscription identifier for the target merchant of the second account corresponding to the first account at the second payment application, and the service provider of the second payment application is the A registrar in the second country; when it is determined that the target server has generated the association relationship data, an account creation request is generated, and the account creation request is used to request the creation of a third account of the user at the target merchant ;
  • a method for generating a payment code image includes: at least one processor; and, a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be used by the at least one processor.
  • the registered merchant sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request;
  • the second payment code information obtaining request carries the account information of the target account, and the second payment code information obtaining request also carries the account of the second account corresponding to
  • An embodiment of the present specification provides a resource deduction method, including: obtaining a first resource deduction request from a server of a first payment application, the first resource deduction request carrying information of the first account of the first payment application For the first contract identifier of the target merchant, the first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is registered in the first country A service provider, the target merchant is a registered merchant in the first country; and a second contract identifier corresponding to the first contract identifier is determined, and the second contract identifier is a contract of a second account for the target merchant Identification, the second account is an account corresponding to the first account in a second payment application, and the service provider of the second payment application is a registrar in a second country; according to the second contract identification and The transaction information generates a second resource deduction request; sends the second resource deduction request to the server of the second payment application, so that the server of the second payment application can use the second contract identifier and the The transaction information de
  • a contract device includes: a first obtaining module, configured to obtain a first contract request for a first account of a first payment application, and the first contract request is used to request to establish the first The service agreement between the account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country; the second acquisition module is used to acquire the The first contract authorization information of the first account for the service agreement; the first sending module is used to send the first contract authorization information to the server of the first payment application; the first receiving module is used to receive the The server of the first payment application generates a first contract identification based on the first contract authorization information; a second account determination module is configured to determine a second account corresponding to the first account, and the second account is The registered account of the second payment application, the service provider of the second payment application is the registrar of the second country; the second contract authorization information generating module is used to generate the service specific to the second account The second contract authorization information of the protocol; the
  • An account creation device includes: a trigger operation acquisition module, which is used to acquire a user’s trigger operation; a first subscription request generation module, which is used to generate a first payment application based on the user’s trigger operation.
  • the first sign-up request of the first account is used to request the establishment of a service agreement between the first account and the target merchant;
  • the service provider of the first payment application is a registered service in the first country
  • the target merchant is a registered merchant in the second country;
  • the first contract request sending module is configured to send the first contract request to the target server, so that the target server can generate the first contract identifier and the second contract identifier
  • the first contract identifier is the contract identifier of the first account for the target merchant, and the second contract identifier is the second payment application corresponding to the first account
  • the contract identifier of the second account for the target merchant, the service provider of the second payment application is the registrar in the second country;
  • the account creation request generation module is used for when it is determined that the target
  • the payment code image generation device includes: a trigger operation acquisition module, which is used to acquire a user’s trigger operation; and a request generation module, which is used to generate information for a target account at a target merchant based on the trigger operation.
  • the first payment code information acquisition request the target account is created by the user based on the first account in the first payment application, the service provider of the first payment application is a registrar in the first country, and the target merchant is A registered merchant in the second country; a sending module, configured to send the first payment code information acquisition request to a designated server, so that the designated server sends to the server of the target merchant based on the first payment code information acquisition request.
  • the second payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the information of the second payment application and the first
  • the account identifier of the second account corresponding to the account, the service provider of the second payment application is a registrar in the second country; a receiving module for receiving the target merchant’s server in response to the second payment code
  • the payment code information generated by the information acquisition request; the payment code image generating module is used to generate the payment code image according to the payment code information.
  • a resource deduction device includes: an acquisition module, configured to acquire a first resource deduction request from a server of a first payment application, and the first resource deduction request carries the first payment application server.
  • the first contract identifier for the target merchant of the first account, the first resource deduction request also carries transaction information of the target merchant corresponding to the first account;
  • the service provider of the first payment application is A registrar in the first country, the target merchant is a registered merchant in the first country;
  • the determining module is configured to determine a second contract identifier corresponding to the first contract identifier, and the second contract identifier is the first 2.
  • the contract identifier of the account for the target merchant, the second account is an account corresponding to the first account at a second payment application, and the service provider of the second payment application is a registered service in a second country Business; request generation module, used to generate a second resource deduction request based on the second contract identifier and the transaction information; sending module, used to send the second resource deduction request to the server of the second payment application , So that the server of the second payment application performs resource deduction for the account resources of the second account according to the second contract identifier and the transaction information.
  • a subscription device includes: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor , The instruction is executed by the at least one processor, so that the at least one processor can: obtain a first subscription request for a first account at a first payment application, and the first subscription request is used to request the establishment of an account
  • the service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country;
  • the first contract authorization information for the service agreement send the first contract authorization information to the server of the first payment application; the server that receives the first payment application generates the information based on the first contract authorization information
  • the first contract identification determine the second account corresponding to the first account, the second account is a registered account at a second payment application, and the service provider of the second payment application is a registered account in the second country
  • the service provider generates the second contract authorization information for
  • An account creation device includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein the memory stores the memory that can be executed by the at least one processor; Instruction, the instruction is executed by the at least one processor, so that the at least one processor can: acquire a user's trigger operation; based on the user's trigger operation, generate the first account of the first account at the first payment application A sign-up request, the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant Is a registered merchant in the second country; sending the first contract request to the target server so that the target server can generate the association relationship data between the first contract ID and the second contract ID, where the first contract ID is A contract identifier for the target merchant of the first account, the second contract identifier is a contract identifier for the target merchant of a second account corresponding to the first account at a
  • a payment code image generation device includes: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be used by the at least one processor.
  • the registered merchant sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request;
  • the second payment code information obtaining request carries the account information of the target account, and the second payment code information obtaining request also carries the account of the second account corresponding to the first account at
  • a resource deduction device includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein the memory stores a memory that can be executed by the at least one processor; Instruction, the instruction is executed by the at least one processor, so that the at least one processor can: obtain a first resource deduction request from a server of a first payment application, the first resource deduction request carrying the The first contract identifier for the target merchant of the first account at the first payment application, the first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the first payment The service provider of the application is a registrar in the first country, and the target merchant is a registered merchant in the first country; a second contract identity corresponding to the first contract identity is determined, and the second contract identity is the first 2.
  • the contract identifier of the account for the target merchant, the second account is an account corresponding to the first account at a second payment application, and the service provider of the second payment application is a registered service in a second country Business; according to the second contract identifier and the transaction information, generate a second resource deduction request; send the second resource deduction request to the server of the second payment application to facilitate the server of the second payment application Perform resource deduction on the account resources of the second account according to the second contract identifier and the transaction information.
  • the first account By acquiring the first sign-up request for requesting the establishment of a service agreement between the first account at the first payment application in the first country and the target merchant in the second country, the first account is directed to the service agreement
  • the first subscription authorization information of the second country is sent to the server of the first payment application; and when the first subscription identifier fed back by the server of the first payment application is received, it is determined that the second payment application in the second country and the first
  • the second account corresponding to the account and generate the second contract authorization information for the service agreement of the second account, and send the second contract authorization information to the server of the second payment application; based on the server of the second payment application
  • the second subscription identifier fed back and the first subscription identifier generate association relationship data between the two, thereby determining that the user has successfully signed the contract.
  • the resource deduction request of the second account of the second payment application in the second country of the target merchant in the second country can be used to deduct the payment of the first payment application in the first country.
  • the account resources in the first account corresponding to the second account so that the user can make self-service payment at the target merchant in the second country based on the first account of the first payment application in the first country, which is conducive to improving the user’s connection Convenience when the target merchant conducts transactions.
  • the server of the target merchant because the server of the target merchant generates a resource deduction request for the account of the second payment application in the country, the server of the target merchant still interacts with the server of the second payment application in the country without having to interact with other countries.
  • the server of the payment application performs data interaction, so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of transformation when the target merchant is docked with payment applications in other countries.
  • FIG. 1 is a schematic flowchart of a contracting method provided by an embodiment of this specification
  • FIG. 2 is a schematic flowchart of an account creation method provided by an embodiment of this specification
  • FIG. 3 is a schematic flowchart of a method for generating a payment code image according to an embodiment of the specification
  • FIG. 4 is a schematic flowchart of a resource deduction method provided by an embodiment of this specification.
  • FIG. 5 is a schematic structural diagram of a contracting device corresponding to FIG. 1 provided by an embodiment of this specification;
  • FIG. 6 is a schematic structural diagram of an account creation device corresponding to FIG. 2 provided by an embodiment of this specification;
  • FIG. 7 is a schematic structural diagram of a payment code image generating device corresponding to FIG. 3 provided by an embodiment of the specification;
  • FIG. 8 is a schematic structural diagram of a resource deduction device corresponding to FIG. 4 provided by an embodiment of this specification.
  • FIG. 1 is a schematic flowchart of a contracting method provided by an embodiment of this specification. From a program perspective, the execution subject of a process can be a program or server mounted on a server.
  • the process may include the following steps 102 to 118.
  • Step 102 Obtain a first sign-up request for a first account at a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; services of the first payment application
  • the merchant is a registrar in the first country
  • the target merchant is a registered merchant in the second country.
  • the user can start the target application applet on the first payment application in the first country, so as to generate the user's target merchant's information for the target merchant in the second country by triggering the page of the target application applet.
  • Signing request After the user successfully signs a contract with the target merchant, he can also create the user's personal account at the target merchant based on the target application applet, so that the user can use the user's personal account at the target merchant to generate payment based on the target application applet Code image, so that the user can use the payment code image to pay at the target merchant in the second country.
  • the merchant in the second country can request to deduct the user’s first account at the first payment application in the first country Account resources to complete the transaction between the user and the target merchant.
  • the first country and the second country are different countries.
  • step 102: obtaining the first sign-up request of the first account at the first payment application may specifically include: obtaining the first sign-up request for the target merchant of the third account at the target applet, so The target applet is started in the first payment application with the first account logged in; the first signing request carries a signature string, and the signature string contains the target merchant’s merchant identification and the The account ID of the third account.
  • the account identifier of the third account is the identifier of the user account logged in at the target applet.
  • the user can start the ride code applet in the first payment application.
  • the ride code applet When the user clicks on the sign of the target transportation company in the ride code applet, The ride code applet generates a contract request for the target transportation company of the third account at the target applet, and sends the contract request to the server of the target applet.
  • the target applet After obtaining the signature string (Signstring) that carries the merchant ID of the target transportation company and the account ID of the third account and is fed back by the server of the target applet, the target applet can call the first sign string based on the signature string.
  • An application programming interface Application Programming Interface
  • the first payment application can intercept the signature string at the application programming interface for signing, and parse the intercepted signature string. According to the analysis result, it is judged whether the target transportation company and the service provider of the first payment application belong to the same country. If so, the existing contracting method between the service provider of the first payment application and the merchant in the home country can be used to sign the contract. If not, the first contract request carrying the signature string is generated, and the contract method in FIG. 1 is used to sign the contract.
  • the first payment application can intercept the signature string at the application program interface used for signing based on the software development kit SDK it carries.
  • Step 104 Obtain the first contract authorization information for the service agreement of the first account.
  • step 104 may further include: sending the first contract request to the server of the first payment application; receiving feedback from the server of the first payment application corresponding to the service agreement Uniform resource locator; sending the uniform resource locator to the terminal device logged in with the first account.
  • the server of the first payment application may generate a service agreement between the first account of the first payment application and the target merchant based on the first contract request, and the contract agreement may be used to indicate: allow the second The target merchant in the country initiates a resource deduction request based on the service provider of the second payment application in the second country to the service provider of the first payment application in the first country, so that the server of the first payment application can pay the user in the first payment application.
  • the account resources of the application office are deducted.
  • the server of the first payment application may also generate a uniform resource locator corresponding to the service agreement. And send the generated uniform resource locator corresponding to the service agreement to the execution subject (which may be a server) corresponding to the method in FIG. 1.
  • the execution subject of the method in FIG. 1 can send the uniform resource locator to the terminal device with the first account logged in, so that the user can obtain the text information of the service agreement based on the uniform resource locator.
  • the first contract request when the first contract request carries a signature string, before sending the first contract request to the server of the first payment application, it may further include: sending the signature string To the server of the target applet.
  • the signature character string for the target merchant may be generated by the server of the target applet in response to the signing request for the target transportation company of the third account of the target applet. Therefore, the signature string in the first contract request can be sent to the server of the target applet for verification. If the verification fails, it can indicate that the first contract request is an illegal contract request, and the end step can be skipped. When the verification is passed, the first subscription request may be sent to the server of the first payment application, so as to continue to perform the subsequent steps of the subscription method in FIG. 1.
  • the server of the first payment application since the signature character segment usually does not contain the complete merchant information of the target merchant, and the server of the first payment application usually does not pre-store the merchant information of each target merchant in the second country. However, the server of the first payment application needs to use relatively complete merchant information of the target merchant when generating the service agreement.
  • the executor of the method in FIG. 1 can also determine the signature character string when the target applet server verifies the signature string.
  • the merchant information corresponding to the merchant identifier in the string and generate a second contract request carrying the merchant information; send the second contract request to the server of the first payment application, so that the server of the first payment application can obtain the The relatively complete business information of the target business.
  • the receiving the uniform resource locator corresponding to the service agreement fed back by the server of the first payment application may specifically include: receiving the server of the first payment application in response to the second subscription request The uniform resource locator of the service agreement that is fed back.
  • step 104 may specifically include: obtaining the first contract authorization information of the first account for the service agreement from the terminal device, where the first contract authorization information is of the first payment application
  • the server generates contract authorization information based on a contract confirmation instruction for the service agreement sent by the terminal device, and the service agreement is a service agreement acquired by the terminal device based on the uniform resource locator.
  • the executor of the method in FIG. 1 can send the uniform resource locator to the terminal device logged in with the first account of the first payment application.
  • the user can obtain the text data of the service agreement corresponding to the uniform resource locator from the server of the first payment application based on the uniform resource locator.
  • the user's terminal device can also generate and display a page containing the text data of the service agreement to the user. The user can click the OK button on this page to confirm the contract.
  • the terminal device When the terminal device recognizes that the user has clicked the confirm button, it can send a contract confirmation instruction for the service agreement to the server of the first payment application, and the server of the first payment application generates the first account in response to the contract confirmation instruction
  • the first signing authorization information for the service agreement (that is, the signing authorization number of the first account for the service agreement is generated), and the first signing authorization information is sent to the first account where the first payment application is logged in Terminal equipment. Therefore, the execution subject of the method in FIG. 1 can obtain the first contract authorization information of the first account for the service agreement from the terminal device.
  • Step 106 Send the first subscription authorization information to the server of the first payment application.
  • Step 108 Receive a first contract identifier generated by the server of the first payment application based on the first contract authorization information.
  • the server of the first payment application when the server of the first payment application receives the first subscription authorization information (authcode) of the first account, it will generate the first subscription identification (Token) corresponding to the first account, and will The first contract identifier is fed back to the execution subject of the method in FIG. 1.
  • the first contract identifier can be used as a voucher for deducting resources from the first account.
  • Step 110 Determine a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country.
  • the second account is a virtual user account established at the second payment application in the second country for the first account.
  • the second account does not have the right to pay at the second payment application.
  • the user of the first account also cannot log in and operate the second account at the second payment application.
  • Step 112 Generate second contract authorization information for the service agreement of the second account.
  • the execution subject of the method in FIG. 1 may request the server of the second payment application to generate the second contract identification of the second account for the service agreement. Specifically, the execution subject of the method in FIG. 1 may generate the second contract authorization information that carries its own authentication identifier, the account identifier of the second account, and the merchant identifier of the target merchant. And based on the second contract authorization information, request the server of the second payment application to generate the second contract identifier of the second account for the service agreement.
  • Step 114 Send the second subscription authorization information to the server of the second payment application.
  • Step 116 Receive a second contract identifier generated by the server of the second payment application based on the second contract authorization information.
  • the server of the second payment application when the server of the second payment application receives the second contract authorization information of the second account, it will generate the second contract identification corresponding to the second account, and feed back the second contract identification to Figure 1 is the execution body of the method.
  • the second contract identifier can be used as a voucher for deducting resources from the second account.
  • Step 118 Generate association relationship data between the first contract identifier and the second contract identifier, so that based on the association relationship data, according to the target merchant’s resource deduction request for the second account, To deduct the account resources of the first account.
  • the execution subject of the method in FIG. 1 after the execution subject of the method in FIG. 1 receives the first contract identification and the second contract identification, it can determine whether the first contract identification and the second contract identification conform to the preset format and are both within the validity period, If so, the association relationship data between the first subscription identifier and the second subscription identifier can be generated to indicate that the user has successfully signed the contract. If not, it may refuse to generate the association relationship data between the first contract ID and the second contract ID to indicate that the user has failed to sign the contract, and the user needs to re-execute the contract method in FIG. 1 to sign with the target merchant.
  • the method in FIG. 1 generates the association relationship data between the first contract identification and the second contract identification, so that the second account of the second payment application in the second country can be based on the target merchant in the second country.
  • Self-service payment at the target merchant in the second country is conducive to improving the convenience of users and the target merchant in transactions.
  • the server of the target merchant because the server of the target merchant generates a resource deduction request for the account of the second payment application in the country, the server of the target merchant still interacts with the server of the second payment application in the country without having to interact with other countries.
  • the server of the payment application performs data interaction, so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of transformation when the target merchant is docked with payment applications in other countries.
  • the target merchant still signs a resource deduction agreement with the service provider of the second payment application in the country, and does not need to sign a resource deduction agreement with payment applications in other countries, thereby reducing the risk of the target merchant due to signing the agreement.
  • step 110: determining a second account corresponding to the first account may specifically include: determining whether there is pre-stored association relationship data between the first account and the third account.
  • the second account corresponding to the third account is determined to be the second account corresponding to the first account; the second account is a registered account at the second payment application.
  • the newly created account fed back by the server of the second payment application is determined as the second account corresponding to the first account.
  • step 118 it may further include: generating one of the first contract identification, the second contract identification, the first account, the second account, and the third account.
  • the association relationship data between the first contract identification and the second contract identification, the association relationship data between the first contract identification and the first account, and the second contract identification Identify the association relationship data with the second account, and the association relationship data between the first account, the second account, and the third account, so as to establish the association relationship data based on the above association relationship data.
  • Fig. 2 is a schematic flowchart of an account creation method provided by an embodiment of the specification. From a program perspective, the execution subject of the process can be a terminal device or an application program mounted on the terminal device.
  • the process may include the following steps 202 to 210.
  • Step 202 Acquire the trigger operation of the user.
  • step 202 may specifically include: obtaining the user's trigger operation on the target merchant icon in the application interface of the target applet on the terminal device.
  • the target applet is the first user who has logged in with the first account.
  • the service provider of the first payment application is a registrar in the first country
  • the target merchant is a registered merchant in the second country.
  • Step 204 Based on the trigger operation of the user, generate a first sign-up request for the first account at the first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant ;
  • the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
  • step 204 specifically includes: obtaining a call request to the contract interface of the first payment application generated by the target applet based on the trigger operation; generating the first payment application according to the call request; A first sign-up request for the first account at a payment application.
  • the target applet when the user's triggering operation of the target merchant icon in the application interface of the target applet is recognized, the target applet will send a contract request for the target merchant to the server of the target applet.
  • the server of the target applet will feed back to the target applet a signature string (Signstring) carrying the merchant identification of the target merchant and the account identification of the target applet, and the target applet can call the first payment based on the signature string
  • the application program interface used for signing up (namely, signing up interface) of the application.
  • the first payment application can intercept the signed character string at the signing interface, and generate a first signing request carrying the signed character string.
  • Step 206 Send the first subscription request to the target server, so that the target server generates the association relationship data between the first subscription identifier and the second subscription identifier, where the first subscription identifier is the account of the first account.
  • the second contract identifier is the contract identifier for the target merchant of the second account corresponding to the first account at the second payment application, and the second payment application's contract identifier for the target merchant
  • the service provider is a registrar in the second country.
  • the target server is the execution subject of the method in FIG. 1, wherein the association relationship data between the first contract identification and the second contract identification generated by the target server can be used for: according to the target merchant For the resource deduction request of the second account, the account resource of the first account is deducted.
  • the process of generating the association relationship data between the first contract identification and the second contract identification by the target server can refer to the method and the embodiment in FIG. 1, which will not be repeated here.
  • Step 208 After it is determined that the target server has generated the association relationship data, an account creation request is generated, and the account creation request is used to request the creation of a third account of the user at the target merchant.
  • the determining that the target server has generated the association relationship data may specifically include: receiving prompt information sent by the target server that the association relationship data has been generated; according to the prompt information, It is determined that the target server has generated the association relationship data.
  • the target server may also send a prompt message that the association relationship data cannot be generated to the terminal device logged in with the first account.
  • the terminal device After the terminal device receives the prompt message that the association relationship data cannot be generated, it can jump to the end step; if the user still wants to sign the service agreement and create a personal account at the target merchant, he can re-execute the figure Method in 2.
  • step 208 it may further include: sending the account creation request to the server of the target merchant, so that the server of the target merchant creates the user's personal account (ie, the third account).
  • Step 210 Receive account information of the third account, so that the user can use the first payment application to generate a payment code image corresponding to the account information.
  • the server of the target merchant after the server of the target merchant creates the user's third account at the target merchant, it can send the account information (for example, account identification) of the created third account to the first payment account.
  • the terminal device of the first account at the application site so that the target applet started in the first payment application in the terminal device receives the account information of the third account.
  • the user can generate a payment code image based on the account information of the third account in the target applet.
  • the target merchant can deduct the account resources of the user's first account at the first payment application to complete the transaction between the target merchant and the user .
  • the method in Figure 2 allows the user to use the first payment application in the first country to generate the payment code image for the target merchant in the second country, and allows the user to use the payment code image in the target
  • the merchant performs the scan code payment, so that the user can also make payment at the target merchant without the user opening a payment application in the second country, so as to simplify the user's payment operation.
  • the method in FIG. 2 can enable the target merchant to deduct the account resources of the user's payment application in other countries (ie, the first payment application) based on the payment application of the home country (ie, the second payment application). Since the target merchant is still directly docking with the payment application of the home country without interacting with foreign payment applications and/or servers, there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of the target merchant's transformation.
  • step 208 may specifically include: when the target applet determines that the target server has generated the association After the relationship data, a first account creation request for the target merchant is generated, and the first account creation request carries the merchant identifier of the target merchant and the account identifier of the fourth account of the target applet.
  • the account identifier of the fourth account at the target applet may be the account identifier of the user account logged in at the target applet.
  • step 208 it may further include: sending the first account creation request to the server of the target applet, so that the server of the target applet generates a second account creation request according to the first account creation request, and based on The server of the second payment application sends the second account creation request to the server of the target merchant; wherein, the second account creation request carries the account identification of the second account and the second account. Sign the contract.
  • the execution subject of the method in FIG. 1 stores the first account at the first payment application, the second account at the second payment application, and the fourth account at the target applet.
  • the association relationship data may send the account identification of the fourth account of the target applet in the first account creation request to the execution subject of the method in FIG. 1, so that the execution subject of the method in FIG.
  • the second account of the corresponding second payment application may also request the server of the second payment application to obtain the second contract identifier corresponding to the second account.
  • step 210 may specifically include: receiving a third account generated by the server of the target merchant in response to the second account creation request.
  • the third account is an account at the target merchant generated based on the second account at the second payment application and the second contract identifier.
  • Fig. 3 is a schematic flowchart of a method for generating a payment code image provided by an embodiment of the specification. From a program perspective, the execution subject of the process can be a terminal device or an application program mounted on the terminal device. As shown in FIG. 3, the process may include the following steps 302 to 310.
  • Step 302 Acquire the trigger operation of the user.
  • step 302 may specifically include: obtaining the user's trigger operation on the target merchant icon in the application interface of the target applet in the terminal device.
  • the target applet is the first user who has logged in with the first account.
  • the target account of the target merchant corresponding to the target merchant icon is stored in the target applet, wherein the service provider of the first payment application may be a registrar in the first country,
  • the target merchant may be a registered merchant in a second country.
  • the target account at the target merchant corresponding to the target merchant icon stored in the target applet may be generated based on the account creation method in FIG. 2. I won't repeat it here.
  • Step 304 Based on the trigger operation, generate a first payment code information acquisition request for a target account at the target merchant, the target account being created by the user based on the first account at the first payment application, and the first payment
  • the service provider of the application is a registrar in the first country
  • the target merchant is a registered merchant in the second country.
  • step 304 may specifically include: based on the trigger operation, generating the first payment code information carrying the account identification of the target account and the account identification of the third account at the target applet. ask.
  • the account identifier of the third account at the target applet may be the account identifier of the third account logged in at the target applet.
  • Step 306 Send the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request;
  • the second payment code information acquisition request carries account information of the target account, and the second payment code information acquisition request also carries the account identifier of the second account corresponding to the first account at the second payment application ,
  • the service provider of the second payment application is a registrar in the second country.
  • step 306 may specifically include: sending the first payment code information acquisition request to the server of the target applet, so that the server of the target applet can obtain information according to the first payment code information.
  • Request to generate a second payment code information acquisition request and send the second payment code information acquisition request to the server of the target merchant based on the server of the second payment application.
  • the server of the target applet may determine the second account corresponding to the third account based on the association relationship between the third account of the target applet pre-stored in the target database and the account at the second payment application.
  • the account of the payment application ie the second account.
  • a second payment code information acquisition request carrying the account identification of the target account at the target merchant and the account identification of the second account is generated.
  • the request for obtaining the second payment code information is sent to the server of the target merchant.
  • Step 308 Receive payment code information generated by the server of the target merchant in response to the second payment code information acquisition request.
  • the payment code information is payment code information corresponding to the account identification of the target account and the account identification of the second account.
  • Step 310 Generate a payment code image according to the payment code information.
  • step 310 may specifically include: the target applet calls the software development tool SDK package of the first payment application according to the payment code information to generate a payment code image.
  • the payment code image may be a payment two-dimensional code image.
  • step 310 may specifically include: the target applet invokes the software development kit of the first payment application according to the payment code information to generate a payment QR code image, so that the user can use the payment QR code.
  • the code image is paid at the public transportation means of the target merchant.
  • the first payment application in the first country can be used to generate the payment code image at the target merchant in the second country, so that the user can use the payment code image to make payments at the target merchant without the user having to open the first payment application.
  • Payment applications in two countries to simplify user payment operations.
  • FIG. 4 is a schematic flowchart of a method for deducting resources provided by an embodiment of this specification. From a program perspective, the execution subject of a process can be a server or a program loaded on a server.
  • the process may include the following steps 402 to 408.
  • Step 402 Obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account at the first payment application, and The first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is the first country. Registered merchants in a country.
  • the execution subject of the method in FIG. 4 and the execution subject of the method in FIG. 1 may be the same.
  • the server of the first payment application in Figure 4 that belongs to the same country as the target merchant has generated the contract identifier of the first account for the target merchant. Therefore, the target merchant can send a resource deduction request to the server of the first payment application according to the transaction information corresponding to the contract identifier.
  • the server of the first payment application may generate the first resource deduction request in step 402 in response to the resource deduction request of the target merchant.
  • the first resource deduction request is a resource deduction request generated by the server of the first payment application in response to a third resource deduction request sent by the server of the target merchant
  • the third resource deduction request is
  • the server of the target merchant is generated according to the user itinerary information corresponding to the first contract identifier
  • the third resource deduction request carries the first contract identifier and the transaction generated according to the user itinerary information information.
  • the user can use the personal account at the transportation company to generate a ride code (that is, to pay for the QR code image), and pass based on the ride code, and scan the code to take the ride on the transportation company.
  • a ride code that is, to pay for the QR code image
  • Public transportation for example, bus, subway, etc.
  • the public transportation tool can generate the user's itinerary information corresponding to the ride code and send it to the server of the transportation company.
  • the transportation company’s server can determine the user’s personal account at the transportation company corresponding to the user’s itinerary information (that is, the user’s account at the target merchant created by the method in Figure 2), and determine The first account at the first payment application corresponding to the user's personal account (that is, the second account at the second payment application mentioned in the method in Figure 1 and Figure 2), and then the first account of the first account can be determined 1.
  • Signing contract The transportation company can also generate transaction information based on the user's itinerary information. The transaction information can include the content of the transaction, the transaction amount, and the transportation company's merchant identification. Finally, the transportation company can generate a resource deduction request carrying the transaction information and the first contract identifier, and send the resource deduction request to the server of the first payment application, so that the server of the first payment application can access the first account. Make resource deductions.
  • the server of the first payment application performs deduction. Therefore, the server of the first payment application can generate the first resource deduction request based on the resource deduction request of the target merchant, so that the account resource in the second account at the second payment application can be processed. Resource deduction.
  • Step 404 Determine a second contract ID corresponding to the first contract ID, where the second contract ID is the contract ID of the second account for the target merchant, and the second account is the contract ID of the second payment application.
  • the service provider of the second payment application is a registrar in the second country.
  • Step 404 may specifically include determining a second contract ID corresponding to the first contract ID according to the association relationship data.
  • Step 406 Generate a second resource deduction request according to the second contract identifier and the transaction information.
  • a second resource deduction request carrying the second contract identifier and the transaction information can be generated.
  • Step 408 Send the second resource deduction request to the server of the second payment application, so that the server of the second payment application can access the second account according to the second contract identifier and the transaction information. Account resources are deducted from resources.
  • the second contract identifier can be used as a voucher for resource deduction for the second account at the second payment application. Therefore, after the server of the second payment application receives the second resource deduction request, it can perform resource deduction for the account resource of the second account according to the transaction amount corresponding to the transaction information.
  • the account resources include but are not limited to fund balances, red envelopes, vouchers, etc.
  • the method in FIG. 4 can generate the second resource deduction request according to the first resource deduction request sent by the server of the first payment application in the first country in response to the resource deduction request of the target merchant,
  • the server of the second payment application in the second country can perform resource deduction for the account resources of the second account of the second payment application according to the second resource deduction request. Therefore, the user can make self-service payment at the target merchant in the first country based on the account of the second payment application in the second country, which is beneficial to improve the convenience of the user and the target merchant in the transaction.
  • the server of the target merchant because the server of the target merchant generates a resource deduction request for the account of the first payment application in the country, the server of the target merchant still interacts with the server of the first payment application in the country without having to interact with other countries.
  • the server of the payment application performs data interaction, so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of transformation when the target merchant is docked with payment applications in other countries.
  • Fig. 5 is a schematic structural diagram of a contracting device corresponding to Fig. 1 provided by an embodiment of this specification. As shown in Figure 5, the device may include the following modules.
  • the first obtaining module 502 is configured to obtain a first sign-up request of a first account in a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant;
  • the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
  • the second obtaining module 504 is configured to obtain the first contract authorization information for the service agreement of the first account.
  • the first sending module 506 is configured to send the first subscription authorization information to the server of the first payment application.
  • the first receiving module 508 is configured to receive the first contract identifier generated by the server of the first payment application based on the first contract authorization information.
  • the second account determination module 510 is configured to determine a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is the first Registrars in two countries.
  • the second contract authorization information generating module 512 is configured to generate second contract authorization information of the second account for the service agreement.
  • the second sending module 514 is configured to send the second contract authorization information to the server of the second payment application.
  • the second receiving module 516 is configured to receive a second contract identifier generated by the server of the second payment application based on the second contract authorization information.
  • the association relationship data generation module 518 is configured to generate association relationship data between the first contract identification and the second contract identification; so as to facilitate based on the association relationship data, according to the target merchant’s specific
  • the account resource deduction request is used to deduct the account resource of the first account.
  • the device further includes: a third sending module, configured to send a first subscription request to the server of the first payment application.
  • a third sending module configured to send a first subscription request to the server of the first payment application.
  • the third receiving module is configured to receive the uniform resource locator corresponding to the service agreement fed back by the server of the first payment application.
  • the fourth sending module is configured to send the uniform resource locator to the terminal device logged in with the first account.
  • the second obtaining module 504 is specifically configured to obtain first contract authorization information for the service agreement of the first account from the terminal device, where the first contract authorization information is the first payment application
  • the server generates the contract authorization information based on the contract confirmation instruction for the service agreement sent by the terminal device, and the service agreement is the service agreement acquired by the terminal device based on the uniform resource locator.
  • the first obtaining module may be specifically used to: obtain the first sign-up request for the target merchant of the third account at the target applet, the target applet being the first payment application with the first account logged in Started in; the first signing request carries a signature string, and the signature string contains the merchant identification of the target merchant and the account identification of the third account.
  • the device may further include: a fifth sending module, configured to send a signature string to the server of the target applet before sending the first contract request to the server of the first payment application.
  • a fifth sending module configured to send a signature string to the server of the target applet before sending the first contract request to the server of the first payment application.
  • the third sending module can be specifically used to: when the server of the target applet passes the verification of the signature string, determine the merchant information corresponding to the merchant identifier; generate a second contract that carries the merchant information Request; send the second subscription request to the server of the first payment application.
  • the third receiving module may be specifically configured to receive the uniform resource locator of the service agreement fed back by the server of the first payment application in response to the second contract request.
  • the second account determination module can be specifically used to determine whether the association relationship data between the first account and the third account is pre-stored; if so, the second account corresponding to the third account
  • the second account is determined to be the second account corresponding to the first account; the second account is a registered account at the second payment application; if not, a connection between the first account and the third account is generated
  • the device may further include: a second association relationship data generating module, configured to generate the first contract identifier, the second contract identifier, the first account, the second account, and the first The data of the association relationship between the three accounts and five persons.
  • a second association relationship data generating module configured to generate the first contract identifier, the second contract identifier, the first account, the second account, and the first The data of the association relationship between the three accounts and five persons.
  • FIG. 6 is a schematic structural diagram of an account creation device corresponding to FIG. 2 provided in an embodiment of this specification. As shown in Figure 6, the device may include the following modules.
  • the trigger operation acquisition module 602 is used to acquire the trigger operation of the user.
  • the first subscription request generation module 604 is configured to generate a first subscription request for a first account at a first payment application based on a trigger operation of the user, where the first subscription request is used to request the establishment of the first account and A service agreement between target merchants; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
  • the first contract request sending module 606 is configured to send the first contract request to the target server, so that the target server can generate the association relationship data between the first contract ID and the second contract ID, the first contract ID Is the contract identification of the first account for the target merchant, and the second contract identification is the contract identification of the second account corresponding to the first account at the second payment application for the target merchant,
  • the service provider of the second payment application is a registrar in the second country.
  • the account creation request generation module 608 is configured to generate an account creation request after it is determined that the target server has generated the association relationship data, and the account creation request is used to request the creation of the user's third party at the target merchant. Account.
  • the receiving module 610 is configured to receive account information of the third account, so that the user can use the first payment application to generate a payment code image corresponding to the account information.
  • the trigger operation acquisition module 602 can be specifically used to: acquire the user's trigger operation on the target merchant icon in the application interface of the target applet on the terminal device, the target applet being logged in with the first account Started in the first payment application.
  • the first subscription request generating module 604 may be specifically configured to: obtain a call request for the subscription interface of the first payment application generated by the target applet based on the trigger operation; generate according to the call request The first subscription request of the first account at the first payment application.
  • the account creation request generation module 608 can be specifically used to: when the target applet determines that the target server has generated the association relationship data, generate a first account creation for the target merchant Request, the first account creation request carries the merchant identifier of the target merchant and the account identifier of the fourth account at the target applet.
  • the device may further include: a first account creation request sending module, configured to send the first account creation request to the server of the target applet, so that the server of the target applet can create the first account according to the first account.
  • the receiving module 610 may be specifically configured to receive the third account generated by the server of the target merchant in response to the second account creation request.
  • the device may further include: a determining module, configured to receive prompt information sent by the target server that the association relationship data has been generated before the account creation request is generated; and determine the The target server has generated the association relationship data.
  • a determining module configured to receive prompt information sent by the target server that the association relationship data has been generated before the account creation request is generated; and determine the The target server has generated the association relationship data.
  • FIG. 7 is a schematic structural diagram of a payment code image generating device corresponding to FIG. 3 provided in an embodiment of this specification. As shown in Figure 7, the device may include the following modules.
  • the trigger operation acquisition module 702 is used to acquire the trigger operation of the user.
  • the request generation module 704 is configured to generate a first payment code information acquisition request for a target account at a target merchant based on the trigger operation, the target account being created by the user based on the first account at the first payment application,
  • the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
  • the sending module 706 is configured to send the first payment code information acquisition request to a designated server, so that the designated server sends the second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request Request; the second payment code information acquisition request carries account information of the target account, and the second payment code information acquisition request also carries a second account corresponding to the first account at the second payment application ,
  • the service provider of the second payment application is a registrar in the second country.
  • the receiving module 708 is configured to receive payment code information generated by the server of the target merchant in response to the second payment code information acquisition request.
  • the payment code image generating module 710 is configured to generate a payment code image according to the payment code information.
  • the trigger operation acquisition module 702 can be specifically used to: acquire the user's trigger operation on the target merchant icon in the application interface of the target applet in the terminal device.
  • the target account of the target merchant corresponding to the target merchant icon is stored in the target applet.
  • the request generation module 704 may be specifically configured to: based on the trigger operation, generate a first payment code information acquisition request carrying the account identification of the target account and the account identification of the third account at the target applet .
  • the sending module 706 may be specifically configured to: send the first payment code information acquisition request to the server of the target applet, so that the server of the target applet can generate the request according to the first payment code information acquisition request.
  • a second payment code information acquisition request, and a server based on the second payment application sends the second payment code information acquisition request to a server of the target merchant.
  • the payment code image generating module 710 may specifically include: a payment code image generating unit for the target applet to call the software development kit of the first payment application to generate a payment code image according to the payment code information .
  • the payment code image generating unit may be specifically used for: the target applet calls the software development kit of the first payment application to generate a payment QR code image according to the payment code information.
  • the user uses the payment two-dimensional code image to pay at the public transportation of the target merchant.
  • FIG. 8 is a schematic structural diagram of a resource deduction device corresponding to FIG. 4 provided in an embodiment of this specification. As shown in Figure 8, the device may include the following modules.
  • the obtaining module 802 is configured to obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account in the first payment application
  • the first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is Registered merchants in the first country.
  • the determining module 804 is configured to determine a second contract ID corresponding to the first contract ID, the second contract ID being the contract ID of the second account for the target merchant, and the second account being the second payment
  • the account corresponding to the first account in the application, and the service provider of the second payment application is a registrar in the second country.
  • the request generation module 806 is configured to generate a second resource deduction request according to the second contract identifier and the transaction information.
  • the sending module 808 is configured to send the second resource deduction request to the server of the second payment application, so that the server of the second payment application can check the second subscription identifier and the transaction information. 2.
  • the account resources of the account are deducted from resources.
  • the embodiment of this specification also provides a subscription device corresponding to the method in FIG. 1.
  • the device may include: at least one processor; and a memory communicatively connected with the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: obtain the information of the first account at the first payment application A first sign-up request, the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target The merchant is a registered merchant in the second country.
  • a second account corresponding to the first account is determined, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country.
  • the second contract identifier generated by the server receiving the second payment application based on the second contract authorization information.
  • the association relationship data between the first contract identification and the second contract identification is generated, so that based on the association relationship data, the target merchant’s resource deduction request for the second account can be deducted. Describe the account resources of the first account.
  • the embodiment of the present specification also provides an account creation device corresponding to the method in FIG. 2.
  • the device may include: at least one processor; and a memory communicatively connected with the at least one processor; wherein The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: acquire a user's trigger operation.
  • the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
  • the target server Send the first subscription request to the target server, so that the target server generates the association relationship data between the first subscription identifier and the second subscription identifier, where the first subscription identifier is the address of the first account for the
  • the contract identification of the target merchant the second contract identification is the contract identification of the second account corresponding to the first account at the second payment application for the target merchant
  • the service provider of the second payment application is The registrar of the second country.
  • an account creation request is generated, and the account creation request is used to request the creation of a third account of the user at the target merchant.
  • the account information of the third account is received, so that the user uses the first payment application to generate a payment code image corresponding to the account information.
  • the embodiment of the present specification also provides a payment code image generating device corresponding to the method in FIG. 3.
  • the device may include: at least one processor; and a memory communicatively connected to the at least one processor Wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: obtain a user's trigger operation.
  • a first payment code information acquisition request for a target account at a target merchant is generated, the target account is created by the user based on the first account at the first payment application, and the service of the first payment application
  • the merchant is a registrar in the first country, and the target merchant is a registered merchant in the second country.
  • the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request;
  • the second The payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the account identifier of the second account corresponding to the first account at the second payment application, the The service provider of the second payment application is a registrar in the second country.
  • a payment code image is generated.
  • the embodiment of this specification also provides a resource deduction device corresponding to the method in FIG. 4, the device may include: at least one processor; and, a memory communicatively connected with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: obtain the first payment application server from the first payment application server.
  • a resource deduction request, the first resource deduction request carries the first contract identifier for the target merchant of the first account at the first payment application, and the first resource deduction request also carries the target merchant's Transaction information corresponding to the first account;
  • the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the first country.
  • the account corresponding to the first account, and the service provider of the second payment application is the registrar in the second country.
  • a second resource deduction request is generated.
  • the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow).
  • hardware improvements for example, improvements in circuit structures such as diodes, transistors, switches, etc.
  • software improvements improvements in method flow.
  • the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module.
  • a programmable logic device for example, a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal JHDL
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers.
  • controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the control logic of the memory.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

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)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

A subscription method, apparatus and device. The solution comprises: when a first subscription request for requesting the establishment of a service agreement between a first account at a first payment application of a first county and a target merchant of a second country is acquired, sending first subscription authorization information, of the first account, for the service agreement to a server of the first payment application; when a first subscription identifier fed back by the server of the first payment application is received, determining a second account, corresponding to the first account, at a second payment application of the second country, generating second subscription authentication information, of the second account, for the service agreement, and sending the second subscription authentication information to a server of the second payment application, so as to generate, on the basis of a second subscription identifier fed back by the server of the second payment application and the first subscription identifier, association relationship data between the first subscription identifier and the second subscription identifier.

Description

一种签约方法、装置及设备A signing method, device and equipment 技术领域Technical field
本说明书一个或多个实施例涉及计算机技术领域,尤其涉及一种签约方法、装置及设备。One or more embodiments of this specification relate to the field of computer technology, and in particular, to a contracting method, device, and equipment.
背景技术Background technique
目前,归属于同一国家的第一支付应用与商户之间通常可以预先签订资源扣除协议,以使得用户可以通过个人在该第一支付应用处的账户与目标商户之间签订服务协议,从而委托第一支付应用基于该用户在该第一支付应用处的账户资源向该商户缴费,实现了费用的自助扣缴,方便快捷。但是,通常商户并不会同国外的第二支付应用之间签定资源扣除协议,导致用户无法使用个人在第二支付应用处的账户向该商户进行自助缴费,给用户带来了不便。At present, the first payment application belonging to the same country and the merchant can usually sign a resource deduction agreement in advance, so that the user can sign a service agreement between the account of the first payment application and the target merchant through an individual, thereby entrusting the first payment application to the target merchant. A payment application pays to the merchant based on the user's account resources at the first payment application, which realizes the self-service deduction of fees, which is convenient and quick. However, usually merchants do not sign a resource deduction agreement with a foreign second payment application, which results in users not being able to use their personal account at the second payment application to make self-service payment to the merchant, which brings inconvenience to the user.
且由于外国的支付应用与本国的支付应用在执行自助扣缴时,与该商户的服务器之间进行的数据交互步骤通常并不相同,因此,商户不仅需要直接与国外的第二支付应用签署资源扣除协议,还需要对该商户的服务器进行改造,这也给商户带来了不便。And because foreign payment applications and domestic payment applications perform self-service deductions, the data interaction steps with the merchant’s server are usually different. Therefore, the merchant not only needs to sign resources directly with the foreign second payment application Excluding the agreement, the merchant's server also needs to be modified, which also brings inconvenience to the merchant.
综上所述,如何在商户的服务器保持不变的基础上,令用户基于第一国家的支付应用处的账户与第二国家的商户之间签订服务协议以进行自助缴费,已成为亟待解决的技术问题。In summary, how to make users sign a service agreement for self-service payment based on the account of the payment application office in the first country and the merchant in the second country on the basis of maintaining the same on the merchant’s server has become an urgent solution. technical problem.
发明内容Summary of the invention
有鉴于此,本说明书一个或多个实施例提供了一种签约方法、装置及设备,用于在商户的服务器保持不变的基础上,令用户基于第一国家的支付应用处的账户与第二国家的商户之间签订服务协议以进行自助缴费,从而便于用户与商户进行交易。In view of this, one or more embodiments of this specification provide a contracting method, device, and equipment for making the user based on the account and the first country’s payment application on the basis of the merchant’s server remaining unchanged. Merchants in the two countries sign service agreements for self-service payment, which facilitates transactions between users and merchants.
为解决上述技术问题,本说明书实施例是通过以下方面实现的。In order to solve the above technical problems, the embodiments of this specification are implemented through the following aspects.
本说明书实施例提供的一种签约方法,包括:获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;获取所述第一账户的针对所述服务协议的第一签约授权信息;发送所述第一签约 授权信息至所述第一支付应用的服务器;接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识;确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商;生成所述第二账户的针对所述服务协议的第二签约授权信息;发送所述第二签约授权信息至所述第二支付应用的服务器;接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识;生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。An embodiment of this specification provides a signing method, including: obtaining a first signing request for a first account in a first payment application, where the first signing request is used to request the establishment of a connection between the first account and the target merchant. Service agreement; the service provider of the first payment application is a registrar in a first country, and the target merchant is a registered merchant in a second country; obtaining the first contract authorization for the service agreement of the first account Information; sending the first subscription authorization information to the server of the first payment application; receiving the first subscription identifier generated by the server of the first payment application based on the first subscription authorization information; A second account corresponding to an account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country; the second account is generated The second contract authorization information for the service agreement; send the second contract authorization information to the server of the second payment application; the server that receives the second payment application generates the information based on the second contract authorization information The second contract identification; the association relationship data between the first contract identification and the second contract identification is generated, so that based on the association relationship data, the resource deduction for the second account of the target merchant Request to deduct the account resources of the first account.
本说明书实施例提供的一种账户创建方法,包括:获取用户的触发操作;基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商;当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户;接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。An account creation method provided by an embodiment of this specification includes: acquiring a user's trigger operation; based on the user's trigger operation, generating a first subscription request for a first account at a first payment application, the first subscription request It is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country; The first contract request is sent to the target server, so that the target server generates the association relationship data between the first contract ID and the second contract ID, where the first contract ID is the target merchant of the first account The second subscription identifier is the subscription identifier for the target merchant of the second account corresponding to the first account at the second payment application, and the service provider of the second payment application is the A registrar in the second country; when it is determined that the target server has generated the association relationship data, an account creation request is generated, and the account creation request is used to request the creation of a third account of the user at the target merchant ; Receive the account information of the third account, so that the user uses the first payment application to generate a payment code image corresponding to the account information.
本说明书实施例提供的一种支付码图像生成方法,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的触发操作;基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商;接收所述目标商户的服务器响应于所述 第二支付码信息获取请求而生成的支付码信息;根据所述支付码信息,生成支付码图像。A method for generating a payment code image provided by an embodiment of this specification includes: at least one processor; and, a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be used by the at least one processor. An instruction executed, the instruction being executed by the at least one processor, so that the at least one processor can: obtain a user's trigger operation; based on the trigger operation, generate a first payment for the target account at the target merchant Code information acquisition request, the target account is created by the user based on the first account in the first payment application, the service provider of the first payment application is a registrar in the first country, and the target merchant is a second country The registered merchant; sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request; The second payment code information obtaining request carries the account information of the target account, and the second payment code information obtaining request also carries the account of the second account corresponding to the first account at the second payment application Identifies that the service provider of the second payment application is a registrar in the second country; receiving the payment code information generated by the target merchant’s server in response to the second payment code information acquisition request; according to the Payment code information, generate payment code image.
本说明书实施例提供的一种资源扣除方法,包括:从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户;确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商;根据所述第二签约标识及所述交易信息,生成第二资源扣除请求;发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。An embodiment of the present specification provides a resource deduction method, including: obtaining a first resource deduction request from a server of a first payment application, the first resource deduction request carrying information of the first account of the first payment application For the first contract identifier of the target merchant, the first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is registered in the first country A service provider, the target merchant is a registered merchant in the first country; and a second contract identifier corresponding to the first contract identifier is determined, and the second contract identifier is a contract of a second account for the target merchant Identification, the second account is an account corresponding to the first account in a second payment application, and the service provider of the second payment application is a registrar in a second country; according to the second contract identification and The transaction information generates a second resource deduction request; sends the second resource deduction request to the server of the second payment application, so that the server of the second payment application can use the second contract identifier and the The transaction information deducts the account resources of the second account.
本说明书实施例提供的一种签约装置,包括:第一获取模块,用于获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;第二获取模块,用于获取所述第一账户的针对所述服务协议的第一签约授权信息;第一发送模块,用于发送所述第一签约授权信息至所述第一支付应用的服务器;第一接收模块,用于接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识;第二账户确定模块,用于确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商;第二签约授权信息生成模块,用于生成所述第二账户的针对所述服务协议的第二签约授权信息;第二发送模块,用于发送所述第二签约授权信息至所述第二支付应用的服务器;第二接收模块,用于接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识;关联关系数据生成模块,用于生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。A contract device provided by an embodiment of this specification includes: a first obtaining module, configured to obtain a first contract request for a first account of a first payment application, and the first contract request is used to request to establish the first The service agreement between the account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country; the second acquisition module is used to acquire the The first contract authorization information of the first account for the service agreement; the first sending module is used to send the first contract authorization information to the server of the first payment application; the first receiving module is used to receive the The server of the first payment application generates a first contract identification based on the first contract authorization information; a second account determination module is configured to determine a second account corresponding to the first account, and the second account is The registered account of the second payment application, the service provider of the second payment application is the registrar of the second country; the second contract authorization information generating module is used to generate the service specific to the second account The second contract authorization information of the protocol; the second sending module is used to send the second contract authorization information to the server of the second payment application; the second receiving module is used to receive the server of the second payment application based on A second contract ID generated by the second contract authorization information; an association relationship data generating module, configured to generate association relationship data between the first contract ID and the second contract ID, so as to be based on the association The relationship data is used to deduct the account resources of the first account according to the resource deduction request of the target merchant for the second account.
本说明书实施例提供的一种账户创建装置,包括:触发操作获取模块,用于获取用户的触发操作;第一签约请求生成模块,用于基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目 标商户为第二国家的注册商户;第一签约请求发送模块,用于发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商;账户创建请求生成模块,用于当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户;接收模块,用于接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。An account creation device provided by an embodiment of this specification includes: a trigger operation acquisition module, which is used to acquire a user’s trigger operation; a first subscription request generation module, which is used to generate a first payment application based on the user’s trigger operation. The first sign-up request of the first account, the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registered service in the first country The target merchant is a registered merchant in the second country; the first contract request sending module is configured to send the first contract request to the target server, so that the target server can generate the first contract identifier and the second contract identifier The first contract identifier is the contract identifier of the first account for the target merchant, and the second contract identifier is the second payment application corresponding to the first account The contract identifier of the second account for the target merchant, the service provider of the second payment application is the registrar in the second country; the account creation request generation module is used for when it is determined that the target server has generated all After the association relationship data, an account creation request is generated, the account creation request is used to request the creation of the user's third account at the target merchant; the receiving module is used to receive the account information of the third account so as to The user uses the first payment application to generate a payment code image corresponding to the account information.
本说明书实施例提供的一种支付码图像生成装置,包括:触发操作获取模块,用于获取用户的触发操作;请求生成模块,用于基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;发送模块,用于发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商;接收模块,用于接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息;支付码图像生成模块,用于根据所述支付码信息,生成支付码图像。The payment code image generation device provided by the embodiment of this specification includes: a trigger operation acquisition module, which is used to acquire a user’s trigger operation; and a request generation module, which is used to generate information for a target account at a target merchant based on the trigger operation. The first payment code information acquisition request, the target account is created by the user based on the first account in the first payment application, the service provider of the first payment application is a registrar in the first country, and the target merchant is A registered merchant in the second country; a sending module, configured to send the first payment code information acquisition request to a designated server, so that the designated server sends to the server of the target merchant based on the first payment code information acquisition request The second payment code information acquisition request; the second payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the information of the second payment application and the first The account identifier of the second account corresponding to the account, the service provider of the second payment application is a registrar in the second country; a receiving module for receiving the target merchant’s server in response to the second payment code The payment code information generated by the information acquisition request; the payment code image generating module is used to generate the payment code image according to the payment code information.
本说明书实施例提供的一种资源扣除装置,包括:获取模块,用于从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户;确定模块,用于确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商;请求生成模块,用于根据所述第二签约标识及所述交易信息,生成第二资源扣除请求;发送模块,用于发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。A resource deduction device provided by an embodiment of this specification includes: an acquisition module, configured to acquire a first resource deduction request from a server of a first payment application, and the first resource deduction request carries the first payment application server. The first contract identifier for the target merchant of the first account, the first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is A registrar in the first country, the target merchant is a registered merchant in the first country; the determining module is configured to determine a second contract identifier corresponding to the first contract identifier, and the second contract identifier is the first 2. The contract identifier of the account for the target merchant, the second account is an account corresponding to the first account at a second payment application, and the service provider of the second payment application is a registered service in a second country Business; request generation module, used to generate a second resource deduction request based on the second contract identifier and the transaction information; sending module, used to send the second resource deduction request to the server of the second payment application , So that the server of the second payment application performs resource deduction for the account resources of the second account according to the second contract identifier and the transaction information.
本说明书实施例提供的一种签约设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;获取所述第一账户的针对所述服务协议的第一签约授权信息;发送所述第一签约授权信息至所述第一支付应用的服务器;接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识;确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商;生成所述第二账户的针对所述服务协议的第二签约授权信息;发送所述第二签约授权信息至所述第二支付应用的服务器;接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识;生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。A subscription device provided by an embodiment of this specification includes: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor , The instruction is executed by the at least one processor, so that the at least one processor can: obtain a first subscription request for a first account at a first payment application, and the first subscription request is used to request the establishment of an account The service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country; The first contract authorization information for the service agreement; send the first contract authorization information to the server of the first payment application; the server that receives the first payment application generates the information based on the first contract authorization information The first contract identification; determine the second account corresponding to the first account, the second account is a registered account at a second payment application, and the service provider of the second payment application is a registered account in the second country The service provider; generates the second contract authorization information for the service agreement of the second account; sends the second contract authorization information to the server of the second payment application; the server that receives the second payment application is based on The second contract identification generated by the second contract authorization information; the association relationship data between the first contract identification and the second contract identification is generated, so that based on the association relationship data, according to the target merchant For the resource deduction request of the second account, the account resource of the first account is deducted.
本说明书实施例提供的一种账户创建设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的触发操作;基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商;当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户;接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。An account creation device provided by an embodiment of this specification includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein the memory stores the memory that can be executed by the at least one processor; Instruction, the instruction is executed by the at least one processor, so that the at least one processor can: acquire a user's trigger operation; based on the user's trigger operation, generate the first account of the first account at the first payment application A sign-up request, the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target merchant Is a registered merchant in the second country; sending the first contract request to the target server so that the target server can generate the association relationship data between the first contract ID and the second contract ID, where the first contract ID is A contract identifier for the target merchant of the first account, the second contract identifier is a contract identifier for the target merchant of a second account corresponding to the first account at a second payment application, and The service provider of the second payment application is the registrar in the second country; when it is determined that the target server has generated the association relationship data, an account creation request is generated, and the account creation request is used to request the creation of the user A third account at the target merchant; receiving account information of the third account, so that the user can use the first payment application to generate a payment code image corresponding to the account information.
本说明书实施例提供的一种支付码图像生成设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个 处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的触发操作;基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商;接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息;根据所述支付码信息,生成支付码图像。A payment code image generation device provided by an embodiment of the present specification includes: at least one processor; and a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be used by the at least one processor. An instruction executed, the instruction being executed by the at least one processor, so that the at least one processor can: obtain a user's trigger operation; based on the trigger operation, generate a first payment for the target account at the target merchant Code information acquisition request, the target account is created by the user based on the first account in the first payment application, the service provider of the first payment application is a registrar in the first country, and the target merchant is a second country The registered merchant; sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request; The second payment code information obtaining request carries the account information of the target account, and the second payment code information obtaining request also carries the account of the second account corresponding to the first account at the second payment application Identifies that the service provider of the second payment application is a registrar in the second country; receiving the payment code information generated by the target merchant’s server in response to the second payment code information acquisition request; according to the Payment code information, generate payment code image.
本说明书实施例提供的一种资源扣除设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户;确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商;根据所述第二签约标识及所述交易信息,生成第二资源扣除请求;发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。A resource deduction device provided by an embodiment of this specification includes: at least one processor; and, a memory communicatively connected to the at least one processor; wherein the memory stores a memory that can be executed by the at least one processor; Instruction, the instruction is executed by the at least one processor, so that the at least one processor can: obtain a first resource deduction request from a server of a first payment application, the first resource deduction request carrying the The first contract identifier for the target merchant of the first account at the first payment application, the first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the first payment The service provider of the application is a registrar in the first country, and the target merchant is a registered merchant in the first country; a second contract identity corresponding to the first contract identity is determined, and the second contract identity is the first 2. The contract identifier of the account for the target merchant, the second account is an account corresponding to the first account at a second payment application, and the service provider of the second payment application is a registered service in a second country Business; according to the second contract identifier and the transaction information, generate a second resource deduction request; send the second resource deduction request to the server of the second payment application to facilitate the server of the second payment application Perform resource deduction on the account resources of the second account according to the second contract identifier and the transaction information.
本说明书一个实施例实现了能够达到以下有益效果。An embodiment of this specification achieves the following beneficial effects.
通过在获取到用于请求建立第一国家的第一支付应用处的第一账户与第二国家的目标商户之间的服务协议的第一签约请求时,将该第一账户的针对该服务协议的第一签约授权信息发送至该第一支付应用的服务器;并在接收到该第一支付应用的服务器反馈的第一签约标识时,确定第二国家的第二支付应用处的与该第一账户对应的第二账户,并生成该第二账户的针对该服务协议的第二签约授权信息,发送该第二签约授权信息至该第二支付应用的服务器;以基于该第二支付应用的服务器反馈的第二签约标识与该第一 签约标识生成两者之间的关联关系数据,从而确定用户签约成功。本方案,基于该关联关系数据,可以根据第二国家的目标商户的针对该第二国家的第二支付应用处的第二账户的资源扣除请求,去扣除第一国家的第一支付应用处的与该第二账户对应的第一账户中的账户资源,从而令用户可以基于第一国家的第一支付应用处的第一账户在第二国家的目标商户处进行自助缴费,有利于提升用户与目标商户进行交易时的便捷性。By acquiring the first sign-up request for requesting the establishment of a service agreement between the first account at the first payment application in the first country and the target merchant in the second country, the first account is directed to the service agreement The first subscription authorization information of the second country is sent to the server of the first payment application; and when the first subscription identifier fed back by the server of the first payment application is received, it is determined that the second payment application in the second country and the first The second account corresponding to the account, and generate the second contract authorization information for the service agreement of the second account, and send the second contract authorization information to the server of the second payment application; based on the server of the second payment application The second subscription identifier fed back and the first subscription identifier generate association relationship data between the two, thereby determining that the user has successfully signed the contract. In this solution, based on the association relationship data, the resource deduction request of the second account of the second payment application in the second country of the target merchant in the second country can be used to deduct the payment of the first payment application in the first country. The account resources in the first account corresponding to the second account, so that the user can make self-service payment at the target merchant in the second country based on the first account of the first payment application in the first country, which is conducive to improving the user’s connection Convenience when the target merchant conducts transactions.
同时,由于目标商户的服务器生成的是针对本国的第二支付应用处的账户的资源扣除请求,使得目标商户的服务器仍旧是与本国的第二支付应用的服务器进行数据交互,而无需与其他国家的支付应用的服务器进行数据交互,从而无需对目标商户的服务器进行改造,有利于降低目标商户与其他国家的支付应用进行对接时的改造成本。At the same time, because the server of the target merchant generates a resource deduction request for the account of the second payment application in the country, the server of the target merchant still interacts with the server of the second payment application in the country without having to interact with other countries. The server of the payment application performs data interaction, so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of transformation when the target merchant is docked with payment applications in other countries.
附图说明Description of the drawings
此处所说明的附图用来提供对本说明书一个或多个实施例的进一步理解,构成本说明书一个或多个实施例的一部分,本说明书的示意性实施例及其说明用于解释本说明书一个或多个实施例,并不构成对本说明书一个或多个实施例的不当限定。在附图中:The drawings described here are used to provide a further understanding of one or more embodiments of this specification, and constitute a part of one or more embodiments of this specification. The exemplary embodiments of this specification and their descriptions are used to explain one or more embodiments of this specification. The multiple embodiments do not constitute an improper limitation of one or more embodiments in this specification. In the attached picture:
图1为本说明书实施例提供的一种签约方法的流程示意图;FIG. 1 is a schematic flowchart of a contracting method provided by an embodiment of this specification;
图2为本说明书实施例提供的一种账户创建方法的流程示意图;2 is a schematic flowchart of an account creation method provided by an embodiment of this specification;
图3为本说明书实施例提供的一种支付码图像生成方法的流程示意图;FIG. 3 is a schematic flowchart of a method for generating a payment code image according to an embodiment of the specification;
图4为本说明书实施例提供的一种资源扣除方法的流程示意图;FIG. 4 is a schematic flowchart of a resource deduction method provided by an embodiment of this specification;
图5为本说明书实施例提供的对应于图1的一种签约装置的结构示意图;FIG. 5 is a schematic structural diagram of a contracting device corresponding to FIG. 1 provided by an embodiment of this specification;
图6为本说明书实施例提供的对应于图2的一种账户创建装置的结构示意图;FIG. 6 is a schematic structural diagram of an account creation device corresponding to FIG. 2 provided by an embodiment of this specification;
图7为本说明书实施例提供的对应于图3的一种支付码图像生成装置的结构示意图;FIG. 7 is a schematic structural diagram of a payment code image generating device corresponding to FIG. 3 provided by an embodiment of the specification;
图8为本说明书实施例提供的对应于图4的一种资源扣除装置的结构示意图。FIG. 8 is a schematic structural diagram of a resource deduction device corresponding to FIG. 4 provided by an embodiment of this specification.
具体实施方式Detailed ways
为使本说明书一个或多个实施例的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例及相应的附图对本说明书一个或多个实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所 有其他实施例,都属于本说明书一个或多个实施例保护的范围。In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and the corresponding drawings. . Obviously, the described embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of one or more embodiments of this specification.
以下结合附图,详细说明本说明书各实施例提供的技术方案。The technical solutions provided by the embodiments of this specification will be described in detail below with reference to the accompanying drawings.
图1为本说明书实施例提供的一种签约方法的流程示意图。从程序角度而言,流程的执行主体可以为搭载于服务器的上程序或服务器。FIG. 1 is a schematic flowchart of a contracting method provided by an embodiment of this specification. From a program perspective, the execution subject of a process can be a program or server mounted on a server.
如图1所示,该流程可以包括以下步骤102至步骤118。As shown in FIG. 1, the process may include the following steps 102 to 118.
步骤102:获取第一支付应用处的第一账户的第一签约请求,该第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。Step 102: Obtain a first sign-up request for a first account at a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; services of the first payment application The merchant is a registrar in the first country, and the target merchant is a registered merchant in the second country.
在本说明书实施例中,用户可以在第一国家的第一支付应用上启动目标应用小程序,以通过对目标应用小程序的页面的触发操作,生成该用户的针对第二国家的目标商户的签约请求。当用户与目标商户签约成功后,还可以基于目标应用小程序去创建该用户在目标商户处的个人账户,从而令用户可以基于目标应用小程序去使用该用户在目标商户处的个人账户生成支付码图像,进而使得用户可以使用该支付码图像在第二国家的目标商户处进行支付,对应的,第二国家的商户可以请求扣除该用户在第一国家的第一支付应用处的第一账户的账户资源,从而完成用户与目标商户之间的交易。其中,第一国家与第二国家为不同国家。In the embodiment of this specification, the user can start the target application applet on the first payment application in the first country, so as to generate the user's target merchant's information for the target merchant in the second country by triggering the page of the target application applet. Signing request. After the user successfully signs a contract with the target merchant, he can also create the user's personal account at the target merchant based on the target application applet, so that the user can use the user's personal account at the target merchant to generate payment based on the target application applet Code image, so that the user can use the payment code image to pay at the target merchant in the second country. Correspondingly, the merchant in the second country can request to deduct the user’s first account at the first payment application in the first country Account resources to complete the transaction between the user and the target merchant. Among them, the first country and the second country are different countries.
在本说明书实施例中,步骤102:获取第一支付应用处的第一账户的第一签约请求,具体可以包括:获取目标小程序处的第三账户的针对目标商户的第一签约请求,所述目标小程序是在登录有第一账户的第一支付应用中启动的;所述第一签约请求中携带有签名字符串,所述签名字符串中包含所述目标商户的商户标识和所述第三账户的账户标识。其中,第三账户的账户标识为该目标小程序处登录的用户账户的标识。In the embodiment of this specification, step 102: obtaining the first sign-up request of the first account at the first payment application may specifically include: obtaining the first sign-up request for the target merchant of the third account at the target applet, so The target applet is started in the first payment application with the first account logged in; the first signing request carries a signature string, and the signature string contains the target merchant’s merchant identification and the The account ID of the third account. Wherein, the account identifier of the third account is the identifier of the user account logged in at the target applet.
在实际应用中,针对目标商户为交通公司的应用场景,用户可以在第一支付应用中启动乘车码小程序,当用户点击乘车码小程序中的目标交通公司的签约开卡标识时,乘车码小程序会生成该目标小程序处的第三账户的针对目标交通公司的签约请求,并发送所述签约请求至目标小程序的服务器。当获取到由目标小程序的服务器反馈的携带有所述目标交通公司的商户标识和所述第三账户的账户标识的签名字符串(Signstring)后,目标小程序可以基于该签名字符串调用第一支付应用的用于签约的应用程序接口(Application Programming Interface),此时,第一支付应用可以拦截该用于签约的应用程序接口处的签名字符串,并对拦截的签名字符串进行解析。根据解析结果,判断目标 交通公司与第一支付应用的服务商是否归属于同一国家,若是,则可以采用现有的第一支付应用的服务商与本国商户之间的签约方法进行签约。若否,则生成携带有该签名字符串的第一签约请求,并采用图1中的签约方法进行签约。In practical applications, for the application scenario where the target merchant is a transportation company, the user can start the ride code applet in the first payment application. When the user clicks on the sign of the target transportation company in the ride code applet, The ride code applet generates a contract request for the target transportation company of the third account at the target applet, and sends the contract request to the server of the target applet. After obtaining the signature string (Signstring) that carries the merchant ID of the target transportation company and the account ID of the third account and is fed back by the server of the target applet, the target applet can call the first sign string based on the signature string. An application programming interface (Application Programming Interface) of a payment application for signing. At this time, the first payment application can intercept the signature string at the application programming interface for signing, and parse the intercepted signature string. According to the analysis result, it is judged whether the target transportation company and the service provider of the first payment application belong to the same country. If so, the existing contracting method between the service provider of the first payment application and the merchant in the home country can be used to sign the contract. If not, the first contract request carrying the signature string is generated, and the contract method in FIG. 1 is used to sign the contract.
在实际应用中,第一支付应用可以基于其搭载的软件开发工具包SDK去拦截用于签约的应用程序接口处的签名字符串。In practical applications, the first payment application can intercept the signature string at the application program interface used for signing based on the software development kit SDK it carries.
步骤104:获取所述第一账户的针对所述服务协议的第一签约授权信息。Step 104: Obtain the first contract authorization information for the service agreement of the first account.
在本说明书实施例中,步骤104之前,还可以包括:发送所述第一签约请求至所述第一支付应用的服务器;接收所述第一支付应用的服务器反馈的与所述服务协议对应的统一资源定位符;发送所述统一资源定位符至登录有所述第一账户的终端设备。In the embodiment of this specification, before step 104, it may further include: sending the first contract request to the server of the first payment application; receiving feedback from the server of the first payment application corresponding to the service agreement Uniform resource locator; sending the uniform resource locator to the terminal device logged in with the first account.
在本说明书实施例中,第一支付应用的服务器可以基于该第一签约请求,生成第一支付应用的第一账户与目标商户之间的服务协议,该签约协议可以用于表示:允许第二国家的目标商户基于第二国家的第二支付应用的服务商向第一国家的该第一支付应用的服务商发起资源扣除请求,以便于该第一支付应用的服务器对用户在该第一支付应用处的账户资源进行资源扣除。在实际应用中,第一支付应用的服务器还可以生成与该服务协议对应的统一资源定位符。并发送生成的与该服务协议对应的统一资源定位符至图1中方法对应的执行主体(可以为服务器)。图1中方法的执行主体则可以将该统一资源定位符发送至登录有第一账户的终端设备,从而便于用户基于该统一资源定位符获取该服务协议的文本信息。In the embodiment of this specification, the server of the first payment application may generate a service agreement between the first account of the first payment application and the target merchant based on the first contract request, and the contract agreement may be used to indicate: allow the second The target merchant in the country initiates a resource deduction request based on the service provider of the second payment application in the second country to the service provider of the first payment application in the first country, so that the server of the first payment application can pay the user in the first payment application. The account resources of the application office are deducted. In practical applications, the server of the first payment application may also generate a uniform resource locator corresponding to the service agreement. And send the generated uniform resource locator corresponding to the service agreement to the execution subject (which may be a server) corresponding to the method in FIG. 1. The execution subject of the method in FIG. 1 can send the uniform resource locator to the terminal device with the first account logged in, so that the user can obtain the text information of the service agreement based on the uniform resource locator.
在本说明书实施例中,当第一签约请求中携带有签名字符串时,所述发送所述第一签约请求至所述第一支付应用的服务器之前,还可以包括:发送所述签名字符串至所述目标小程序的服务器。In the embodiment of this specification, when the first contract request carries a signature string, before sending the first contract request to the server of the first payment application, it may further include: sending the signature string To the server of the target applet.
在本说明书实施例中,针对目标商户的签名字符串可以是由目标小程序的服务器响应于目标小程序的第三账户的针对目标交通公司的签约请求而生成的。因此,可以将第一签约请求中的签名字符串发送至所述目标小程序的服务器进行验证,若验证不通过,则可以表示第一签约请求为非法签约请求,进而可以跳转至结束步骤。而当验证通过时,则可以发送所述第一签约请求至所述第一支付应用的服务器,以便于继续执行图1中签约方法的后续步骤。In the embodiment of this specification, the signature character string for the target merchant may be generated by the server of the target applet in response to the signing request for the target transportation company of the third account of the target applet. Therefore, the signature string in the first contract request can be sent to the server of the target applet for verification. If the verification fails, it can indicate that the first contract request is an illegal contract request, and the end step can be skipped. When the verification is passed, the first subscription request may be sent to the server of the first payment application, so as to continue to perform the subsequent steps of the subscription method in FIG. 1.
在本说明书实施例中,由于签名字符段中通常并不会包含完整的目标商户的商户信息,且第一支付应用的服务器处通常也并未预先存储各个第二国家的目标商户的商户信 息,但是,第一支付应用的服务器在生成服务协议时,需要使用较为完整的目标商户的商户信息。In the embodiment of this specification, since the signature character segment usually does not contain the complete merchant information of the target merchant, and the server of the first payment application usually does not pre-store the merchant information of each target merchant in the second country. However, the server of the first payment application needs to use relatively complete merchant information of the target merchant when generating the service agreement.
因此,为便于第一支付应用的服务器获取到较为完整的目标商户的商户信息,图1中方法的执行主体在目标小程序的服务器对所述签名字符串验证通过时,还可以确定与签名字符串中的商户标识对应的商户信息;并生成携带有所述商户信息的第二签约请求;发送该第二签约请求至所述第一支付应用的服务器,以便于第一支付应用的服务器获取该目标商户的较为完整的商户信息。Therefore, in order to facilitate the server of the first payment application to obtain relatively complete merchant information of the target merchant, the executor of the method in FIG. 1 can also determine the signature character string when the target applet server verifies the signature string. The merchant information corresponding to the merchant identifier in the string; and generate a second contract request carrying the merchant information; send the second contract request to the server of the first payment application, so that the server of the first payment application can obtain the The relatively complete business information of the target business.
对应的,所述接收所述第一支付应用的服务器反馈的与所述服务协议对应的统一资源定位符,具体可以包括:接收所述第一支付应用的服务器响应于所述第二签约请求而反馈的所述服务协议的统一资源定位符。Correspondingly, the receiving the uniform resource locator corresponding to the service agreement fed back by the server of the first payment application may specifically include: receiving the server of the first payment application in response to the second subscription request The uniform resource locator of the service agreement that is fed back.
对应的,步骤104:具体可以包括:从所述终端设备处获取所述第一账户的针对所述服务协议的第一签约授权信息,所述第一签约授权信息为所述第一支付应用的服务器基于所述终端设备发送的针对所述服务协议的确认签约指令而生成的签约授权信息,所述服务协议为所述终端设备基于所述统一资源定位符而获取到的服务协议。Correspondingly, step 104: may specifically include: obtaining the first contract authorization information of the first account for the service agreement from the terminal device, where the first contract authorization information is of the first payment application The server generates contract authorization information based on a contract confirmation instruction for the service agreement sent by the terminal device, and the service agreement is a service agreement acquired by the terminal device based on the uniform resource locator.
在实际应用中,图1中方法的执行主体在接收到所述服务协议的统一资源定位符后,可以将该统一资源定位符发送至登录有第一支付应用的第一账户的终端设备中。用户可以基于该统一资源定位符,从第一支付应用的服务器处获取与该统一资源定位为对应的服务协议的文本数据。用户的终端设备还可以生成并展示包含有所述服务协议的文本数据的页面给用户。用户可以点击该页面中的确定按钮以确认签约。当终端设备识别到用户点击了该确定按钮后,可以向第一支付应用的服务器发送针对该服务协议的确认签约指令,第一支付应用的服务器响应于所述确认签约指令生成所述第一账户的针对所述服务协议的第一签约授权信息(即生成第一账户的针对该服务协议的签约授权号),并将该第一签约授权信息发送至登录有第一支付应用处的第一账户的终端设备。从而使得图1中方法的执行主体可以从终端设备中获取该第一账户的针对该服务协议的第一签约授权信息。In practical applications, after receiving the uniform resource locator of the service agreement, the executor of the method in FIG. 1 can send the uniform resource locator to the terminal device logged in with the first account of the first payment application. The user can obtain the text data of the service agreement corresponding to the uniform resource locator from the server of the first payment application based on the uniform resource locator. The user's terminal device can also generate and display a page containing the text data of the service agreement to the user. The user can click the OK button on this page to confirm the contract. When the terminal device recognizes that the user has clicked the confirm button, it can send a contract confirmation instruction for the service agreement to the server of the first payment application, and the server of the first payment application generates the first account in response to the contract confirmation instruction The first signing authorization information for the service agreement (that is, the signing authorization number of the first account for the service agreement is generated), and the first signing authorization information is sent to the first account where the first payment application is logged in Terminal equipment. Therefore, the execution subject of the method in FIG. 1 can obtain the first contract authorization information of the first account for the service agreement from the terminal device.
步骤106:发送所述第一签约授权信息至所述第一支付应用的服务器。Step 106: Send the first subscription authorization information to the server of the first payment application.
步骤108:接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识。Step 108: Receive a first contract identifier generated by the server of the first payment application based on the first contract authorization information.
在本说明书实施例中,第一支付应用的服务器在接收到第一账户的第一签约授权信 息(authcode)时,会生成与该第一账户对应的第一签约标识(Token),并将该第一签约标识反馈给图1中方法的执行主体。在实际应用中,该第一签约标识可以作为对第一账户进行资源扣除的凭证。In the embodiment of the present specification, when the server of the first payment application receives the first subscription authorization information (authcode) of the first account, it will generate the first subscription identification (Token) corresponding to the first account, and will The first contract identifier is fed back to the execution subject of the method in FIG. 1. In practical applications, the first contract identifier can be used as a voucher for deducting resources from the first account.
步骤110:确定与所述第一账户对应的第二账户,该第二账户为第二支付应用处的注册账户,该第二支付应用的服务商为所述第二国家的注册服务商。Step 110: Determine a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country.
在本说明书实施例中,第二账户为针对第一账户在第二国家的第二支付应用处建立的虚拟用户账户,在实际应用中,该第二账户在第二支付应用处并不具有可以进行扣除的账户资源。该第一账户的用户也无法在第二支付应用处登录并操作该第二账户。In the embodiment of this specification, the second account is a virtual user account established at the second payment application in the second country for the first account. In actual applications, the second account does not have the right to pay at the second payment application. Account resources for deductions. The user of the first account also cannot log in and operate the second account at the second payment application.
步骤112:生成所述第二账户的针对所述服务协议的第二签约授权信息。Step 112: Generate second contract authorization information for the service agreement of the second account.
在本说明书实施例中,图1中方法的执行主体在接收到第一签约标识后,可以请求第二支付应用的服务器去生成第二账户的针对所述服务协议的第二签约标识。具体的,图1中方法的执行主体可以生成携带有自身认证标识、第二账户的账户标识及目标商户的商户标识的第二签约授权信息。并基于该第二签约授权信息,请求第二支付应用的服务器去生成第二账户的针对所述服务协议的第二签约标识。In the embodiment of this specification, after receiving the first contract identification, the execution subject of the method in FIG. 1 may request the server of the second payment application to generate the second contract identification of the second account for the service agreement. Specifically, the execution subject of the method in FIG. 1 may generate the second contract authorization information that carries its own authentication identifier, the account identifier of the second account, and the merchant identifier of the target merchant. And based on the second contract authorization information, request the server of the second payment application to generate the second contract identifier of the second account for the service agreement.
步骤114:发送所述第二签约授权信息至所述第二支付应用的服务器。Step 114: Send the second subscription authorization information to the server of the second payment application.
步骤116:接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识。Step 116: Receive a second contract identifier generated by the server of the second payment application based on the second contract authorization information.
在本说明书实施例中,第二支付应用的服务器在接收到第二账户的第二签约授权信息时,会生成与该第二账户对应的第二签约标识,并将该第二签约标识反馈给图1中方法的执行主体。在实际应用中,该第二签约标识可以作为对第二账户进行资源扣除的凭证。In the embodiment of this specification, when the server of the second payment application receives the second contract authorization information of the second account, it will generate the second contract identification corresponding to the second account, and feed back the second contract identification to Figure 1 is the execution body of the method. In practical applications, the second contract identifier can be used as a voucher for deducting resources from the second account.
步骤118:生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。Step 118: Generate association relationship data between the first contract identifier and the second contract identifier, so that based on the association relationship data, according to the target merchant’s resource deduction request for the second account, To deduct the account resources of the first account.
在本说明书实施例中,当图1中方法的执行主体接收到第一签约标识及第二签约标识之后,可以判断第一签约标识及第二签约标识是否符合预设格式且均在有效期内,若是,则可以生成该第一签约标识与该第二签约标识之间的关联关系数据,以表示用户签约成功。若否,则可以拒绝生成该第一签约标识与该第二签约标识之间的关联关系数据,以表示用户签约失败,用户需重新执行图1中的签约方法以与目标商户进行签约。In the embodiment of this specification, after the execution subject of the method in FIG. 1 receives the first contract identification and the second contract identification, it can determine whether the first contract identification and the second contract identification conform to the preset format and are both within the validity period, If so, the association relationship data between the first subscription identifier and the second subscription identifier can be generated to indicate that the user has successfully signed the contract. If not, it may refuse to generate the association relationship data between the first contract ID and the second contract ID to indicate that the user has failed to sign the contract, and the user needs to re-execute the contract method in FIG. 1 to sign with the target merchant.
应当理解,本说明书一个或多个实施例所述的方法其中部分步骤的顺序可以根据实际需要相互交换,或者其中的部分步骤也可以省略或删除。It should be understood that the order of some of the steps of the method described in one or more embodiments of this specification can be exchanged according to actual needs, or some of the steps can also be omitted or deleted.
图1中的方法,通过生成第一签约标识与第二签约标识之间的关联关系数据,以使得可以根据第二国家的目标商户的针对该第二国家的第二支付应用处的第二账户的资源扣除请求,去扣除第一国家的第一支付应用处的与该第二账户对应的第一账户中的账户资源,从而令用户可以基于第一国家的第一支付应用处的第一账户在第二国家的目标商户处进行自助缴费,有利于提升用户与目标商户进行交易时的便捷性。The method in FIG. 1 generates the association relationship data between the first contract identification and the second contract identification, so that the second account of the second payment application in the second country can be based on the target merchant in the second country. The resource deduction request of the first country to deduct the account resources in the first account corresponding to the second account at the first payment application in the first country, so that the user can be based on the first account at the first payment application in the first country Self-service payment at the target merchant in the second country is conducive to improving the convenience of users and the target merchant in transactions.
同时,由于目标商户的服务器生成的是针对本国的第二支付应用处的账户的资源扣除请求,使得目标商户的服务器仍旧是与本国的第二支付应用的服务器进行数据交互,而无需与其他国家的支付应用的服务器进行数据交互,从而无需对目标商户的服务器进行改造,有利于降低目标商户与其他国家的支付应用进行对接时的改造成本。且目标商户仍旧是与本国的第二支付应用的服务商签订资源扣除协议,而无需与其他国家的支付应用之间签订资源扣除协议,从而可以降低目标商户因签订协议而存在的风险。At the same time, because the server of the target merchant generates a resource deduction request for the account of the second payment application in the country, the server of the target merchant still interacts with the server of the second payment application in the country without having to interact with other countries. The server of the payment application performs data interaction, so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of transformation when the target merchant is docked with payment applications in other countries. Moreover, the target merchant still signs a resource deduction agreement with the service provider of the second payment application in the country, and does not need to sign a resource deduction agreement with payment applications in other countries, thereby reducing the risk of the target merchant due to signing the agreement.
基于图1的方法,本说明书实施例还提供了该方法的一些具体实施方案,下面进行说明。Based on the method in FIG. 1, the examples of this specification also provide some specific implementations of the method, which are described below.
可选的,步骤110:确定与所述第一账户对应的第二账户,具体可以包括:判断是否预存有所述第一账户与所述第三账户之间的关联关系数据。Optionally, step 110: determining a second account corresponding to the first account may specifically include: determining whether there is pre-stored association relationship data between the first account and the third account.
若是,则将与所述第三账户对应的第二账户,确定为与所述第一账户对应的第二账户;所述第二账户为第二支付应用处的注册账户。If so, the second account corresponding to the third account is determined to be the second account corresponding to the first account; the second account is a registered account at the second payment application.
若否,则生成所述第一账户与所述第三账户之间的关联关系数据。If not, then generate the association relationship data between the first account and the third account.
发送用于请求创建与所述第三账户对应的第二账户的账户创建请求至所述第二支付应用的服务器。Sending an account creation request for requesting creation of a second account corresponding to the third account to the server of the second payment application.
将所述第二支付应用的服务器反馈的新建账户,确定为与所述第一账户对应的第二账户。The newly created account fed back by the server of the second payment application is determined as the second account corresponding to the first account.
在本说明书实施例中,步骤118之后,还可以包括:生成所述第一签约标识、所述第二签约标识、所述第一账户、所述第二账户及所述第三账户五者之间的关联关系数据,以便于后续使用。当然,也可以分别生成所述第一签约标识与所述第二签约标识之间的关联关系数据,所述第一签约标识与所述第一账户之间的关联关系数据,所述第二签约标识与所述第二账户之间的关联关系数据,以及所述第一账户、所述第二账户及所述第 三账户三者之间的关联关系数据,从而基于上述关联关系数据,建立所述第一签约标识、所述第二签约标识、所述第一账户、所述第二账户及所述第三账户五者之间的关联关系。In the embodiment of this specification, after step 118, it may further include: generating one of the first contract identification, the second contract identification, the first account, the second account, and the third account. The data of the relationship between the two to facilitate subsequent use. Of course, the association relationship data between the first contract identification and the second contract identification, the association relationship data between the first contract identification and the first account, and the second contract identification Identify the association relationship data with the second account, and the association relationship data between the first account, the second account, and the third account, so as to establish the association relationship data based on the above association relationship data. The association relationship among the five of the first contract identification, the second contract identification, the first account, the second account, and the third account.
图2为本说明书实施例提供的一种账户创建方法的流程示意图。从程序角度而言,流程的执行主体可以为终端设备或者搭载于终端设备上的应用程序。Fig. 2 is a schematic flowchart of an account creation method provided by an embodiment of the specification. From a program perspective, the execution subject of the process can be a terminal device or an application program mounted on the terminal device.
如图2所示,该流程可以包括以下步骤202至步骤210。As shown in FIG. 2, the process may include the following steps 202 to 210.
步骤202:获取用户的触发操作。Step 202: Acquire the trigger operation of the user.
在本说明书实施例中,步骤202具体可以包括:获取用户对终端设备上的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。In the embodiment of this specification, step 202 may specifically include: obtaining the user's trigger operation on the target merchant icon in the application interface of the target applet on the terminal device. The target applet is the first user who has logged in with the first account. In the payment application, the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
步骤204:基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。Step 204: Based on the trigger operation of the user, generate a first sign-up request for the first account at the first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant ; The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
在本说明书实施例中,步骤204具体包括:获取所述目标小程序基于所述触发操作而生成的对所述第一支付应用的签约接口的调用请求;根据所述调用请求,生成所述第一支付应用处的所述第一账户的第一签约请求。In the embodiment of this specification, step 204 specifically includes: obtaining a call request to the contract interface of the first payment application generated by the target applet based on the trigger operation; generating the first payment application according to the call request; A first sign-up request for the first account at a payment application.
在本说明书实施例中,当识别到用户对目标小程序的应用界面中的目标商户图标的触发操作,目标小程序会向该目标小程序的服务器发送针对该目标商户的签约请求。目标小程序的服务器会向目标小程序反馈携带有该目标商户的商户标识及该目标小程序的账户标识的签名字符串(Signstring),目标小程序可以基于该签名字符串调用所述第一支付应用的用于签约的应用程序接口(即签约接口)。第一支付应用可以拦截该签约接口处的签名字符串,并生成携带有该签名字符串的第一签约请求。In the embodiment of this specification, when the user's triggering operation of the target merchant icon in the application interface of the target applet is recognized, the target applet will send a contract request for the target merchant to the server of the target applet. The server of the target applet will feed back to the target applet a signature string (Signstring) carrying the merchant identification of the target merchant and the account identification of the target applet, and the target applet can call the first payment based on the signature string The application program interface used for signing up (namely, signing up interface) of the application. The first payment application can intercept the signed character string at the signing interface, and generate a first signing request carrying the signed character string.
步骤206:发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商。Step 206: Send the first subscription request to the target server, so that the target server generates the association relationship data between the first subscription identifier and the second subscription identifier, where the first subscription identifier is the account of the first account. For the contract identifier of the target merchant, the second contract identifier is the contract identifier for the target merchant of the second account corresponding to the first account at the second payment application, and the second payment application's contract identifier for the target merchant The service provider is a registrar in the second country.
在本说明书实施例中,该目标服务器即为图1中方法的执行主体,其中,目标服务器生成的第一签约标识与第二签约标识之间的关联关系数据可以用于:根据所述目标商 户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源的场景。在本说明书实施例中,目标服务器生成第一签约标识与第二签约标识之间的关联关系数据的过程可以参考图1中的方法及其实施例,在此不再赘述。In the embodiment of this specification, the target server is the execution subject of the method in FIG. 1, wherein the association relationship data between the first contract identification and the second contract identification generated by the target server can be used for: according to the target merchant For the resource deduction request of the second account, the account resource of the first account is deducted. In the embodiment of this specification, the process of generating the association relationship data between the first contract identification and the second contract identification by the target server can refer to the method and the embodiment in FIG. 1, which will not be repeated here.
步骤208:当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户。Step 208: After it is determined that the target server has generated the association relationship data, an account creation request is generated, and the account creation request is used to request the creation of a third account of the user at the target merchant.
在本说明书实施例中,所述确定所述目标服务器已生成所述关联关系数据,具体可以包括:接收所述目标服务器发送的已生成所述关联关系数据的提示信息;根据所述提示信息,确定所述目标服务器已生成所述关联关系数据。In the embodiment of this specification, the determining that the target server has generated the association relationship data may specifically include: receiving prompt information sent by the target server that the association relationship data has been generated; according to the prompt information, It is determined that the target server has generated the association relationship data.
在实际应用中,当目标服务器对建立第一国家的第一应用处的第一账户与第二国家的目标商户之间的服务协议的签约请求进行响应后,若无法生成所述关联关系数据,目标服务器也可以向登录有该第一账户的终端设备发送无法生成所述关联关系数据的提示信息。该终端设备在接收到该无法生成所述关联关系数据的提示信息后,可以跳转至结束步骤;若用户仍想要签订该服务协议,并创建目标商户处的个人账户,则可以重新执行图2中的方法。In actual applications, after the target server responds to the request to establish a service agreement between the first account of the first application in the first country and the target merchant in the second country, if the association relationship data cannot be generated, The target server may also send a prompt message that the association relationship data cannot be generated to the terminal device logged in with the first account. After the terminal device receives the prompt message that the association relationship data cannot be generated, it can jump to the end step; if the user still wants to sign the service agreement and create a personal account at the target merchant, he can re-execute the figure Method in 2.
在本说明书实施例中,步骤208之后,还可以包括:发送该账户创建请求至目标商户的服务器,以令目标商户的服务器创建该用户的个人账户(即第三账户)。In the embodiment of this specification, after step 208, it may further include: sending the account creation request to the server of the target merchant, so that the server of the target merchant creates the user's personal account (ie, the third account).
步骤210:接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。Step 210: Receive account information of the third account, so that the user can use the first payment application to generate a payment code image corresponding to the account information.
在本说明书实施例中,目标商户的服务器在创建了该用户在该目标商户处的第三账户后,可以将创建的第三账户的账户信息(例如,账户标识)发送至登录有第一支付应用处的第一账户的终端设备,以令在该终端设备中的第一支付应用中启动的目标小程序接收到该第三账户的账户信息。In the embodiment of the present specification, after the server of the target merchant creates the user's third account at the target merchant, it can send the account information (for example, account identification) of the created third account to the first payment account. The terminal device of the first account at the application site, so that the target applet started in the first payment application in the terminal device receives the account information of the third account.
在实际应用中,用户可以在该目标小程序中基于该第三账户的账户信息生成支付码图像。当用户使用该支付码图像在目标商户处进行扫码支付后,目标商户可以实现对该用户在第一支付应用处的第一账户的账户资源进行扣除,以完成目标商户与用户之间的交易。In practical applications, the user can generate a payment code image based on the account information of the third account in the target applet. When the user uses the payment code image to scan and pay at the target merchant, the target merchant can deduct the account resources of the user's first account at the first payment application to complete the transaction between the target merchant and the user .
在本说明书实施例中,图2中的方法,通过令用户可以利用第一国家的第一支付应用生成针对第二国家的目标商户的支付码图像,并令用户可以使用该支付码图像在目标商户处进行扫码支付,从而无需用户开通第二国家的支付应用也可以在目标商户处进行 支付,以简化用户的支付操作。In the embodiment of this specification, the method in Figure 2 allows the user to use the first payment application in the first country to generate the payment code image for the target merchant in the second country, and allows the user to use the payment code image in the target The merchant performs the scan code payment, so that the user can also make payment at the target merchant without the user opening a payment application in the second country, so as to simplify the user's payment operation.
且图2中的方法,可以令目标商户基于本国的支付应用(即第二支付应用)实现对用户在其他国家的支付应用(即第一支付应用)处的账户资源的扣除。由于目标商户仍旧是与本国的支付应用进行直接对接,而无需与外国的支付应用和/或服务器进行交互,从而无需对目标商户的服务器进行改造,有利于降低目标商户的改造成本。In addition, the method in FIG. 2 can enable the target merchant to deduct the account resources of the user's payment application in other countries (ie, the first payment application) based on the payment application of the home country (ie, the second payment application). Since the target merchant is still directly docking with the payment application of the home country without interacting with foreign payment applications and/or servers, there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of the target merchant's transformation.
在本说明书实施例中,当步骤202中的触发操作为用户针对目标小程序的应用界面的触发操作时,步骤208具体可以包括:当所述目标小程序确定所述目标服务器已生成所述关联关系数据后,生成针对所述目标商户处的第一账户创建请求,所述第一账户创建请求中携带有所述目标商户的商户标识及所述目标小程序处的第四账户的账户标识。其中,目标小程序处的第四账户的账户标识可以为该目标小程序处登录的用户账户的账户标识。In the embodiment of this specification, when the trigger operation in step 202 is a user trigger operation on the application interface of the target applet, step 208 may specifically include: when the target applet determines that the target server has generated the association After the relationship data, a first account creation request for the target merchant is generated, and the first account creation request carries the merchant identifier of the target merchant and the account identifier of the fourth account of the target applet. The account identifier of the fourth account at the target applet may be the account identifier of the user account logged in at the target applet.
步骤208之后还可以包括:发送所述第一账户创建请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一账户创建请求生成第二账户创建请求,并基于所述第二支付应用的服务器将所述第二账户创建请求发送至所述目标商户的服务器;其中,所述第二账户创建请求中携带有所述第二账户的账户标识及所述第二签约标识。After step 208, it may further include: sending the first account creation request to the server of the target applet, so that the server of the target applet generates a second account creation request according to the first account creation request, and based on The server of the second payment application sends the second account creation request to the server of the target merchant; wherein, the second account creation request carries the account identification of the second account and the second account. Sign the contract.
在本说明书实施例中,图1中方法的执行主体处存储有第一支付应用处的第一账户、第二支付应用处的第二账户及目标小程序处的第四账户等三者之间的关联关系数据。目标小程序的服务器可以将第一账户创建请求中的目标小程序的第四账户的账户标识发送至图1中方法的执行主体处,以令图1中方法的执行主体确定与该第四账户对应的第二支付应用处的第二账户。图1中方法的执行主体还可以向第二支付应用的服务器请求获取与该第二账户对应的第二签约标识。图1中方法的执行主体会将确定出的第二支付应用的第二账户的账户标识及第二签约标识反馈至目标小程序的服务器处,以令目标小程序的服务器生成携带有所述第二账户的账户标识及所述第二签约标识的第二账户创建请求,并将该第二账户创建请求基于第二支付应用的服务器发送至目标商户的服务器。In the embodiment of this specification, the execution subject of the method in FIG. 1 stores the first account at the first payment application, the second account at the second payment application, and the fourth account at the target applet. The association relationship data. The server of the target applet may send the account identification of the fourth account of the target applet in the first account creation request to the execution subject of the method in FIG. 1, so that the execution subject of the method in FIG. The second account of the corresponding second payment application. The execution subject of the method in FIG. 1 may also request the server of the second payment application to obtain the second contract identifier corresponding to the second account. The execution subject of the method in Fig. 1 will feed back the determined account identification and the second contract identification of the second account of the second payment application to the server of the target applet, so that the server of the target applet can generate the second account that carries the second payment application. The account identification of the second account and the second account creation request of the second contract identification, and sending the second account creation request based on the server of the second payment application to the server of the target merchant.
对应的,步骤210具体可以包括:接收所述目标商户的服务器响应于所述第二账户创建请求而生成的第三账户。所述第三账户为基于第二支付应用处的第二账户及第二签约标识生成的目标商户处的账户。Correspondingly, step 210 may specifically include: receiving a third account generated by the server of the target merchant in response to the second account creation request. The third account is an account at the target merchant generated based on the second account at the second payment application and the second contract identifier.
在本说明书实施例中,提供了一种用户基于第一国家的第一支付应用中启动的目标 小程序,生成第二国家的目标商户处的个人账户的实现方式,其中,目标商户的服务器仍旧只需与本国的支付应用(即第二支付应用)的服务器进行数据交互即可,从而无需对目标商户的服务器进行改造,有利于降低目标商户的改造成本。In the embodiment of this specification, there is provided a way for a user to generate a personal account at a target merchant in a second country based on a target applet launched in a first payment application in a first country, wherein the server of the target merchant is still It only needs to perform data interaction with the server of the domestic payment application (ie, the second payment application), so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of the target merchant's transformation.
图3为本说明书实施例提供的一种支付码图像生成方法的流程示意图。从程序角度而言,流程的执行主体可以为终端设备或者搭载于终端设备上的应用程序。如图3所示,该流程可以包括以下步骤302至步骤310。Fig. 3 is a schematic flowchart of a method for generating a payment code image provided by an embodiment of the specification. From a program perspective, the execution subject of the process can be a terminal device or an application program mounted on the terminal device. As shown in FIG. 3, the process may include the following steps 302 to 310.
步骤302:获取用户的触发操作。Step 302: Acquire the trigger operation of the user.
在本说明书实施例中,步骤302具体可以包括:获取用户对终端设备中的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的,所述目标小程序处存储有与所述目标商户图标对应的目标商户处的目标账户,其中,所述第一支付应用的服务商可以为第一国家的注册服务商,所述目标商户可以为第二国家的注册商户。In the embodiment of this specification, step 302 may specifically include: obtaining the user's trigger operation on the target merchant icon in the application interface of the target applet in the terminal device. The target applet is the first user who has logged in with the first account. In the payment application, the target account of the target merchant corresponding to the target merchant icon is stored in the target applet, wherein the service provider of the first payment application may be a registrar in the first country, The target merchant may be a registered merchant in a second country.
在本说明书实施例中,目标小程序处存储的与所述目标商户图标对应的目标商户处的目标账户,可以是基于图2中的账户创建方法而生成的。对此不再赘述。In the embodiment of this specification, the target account at the target merchant corresponding to the target merchant icon stored in the target applet may be generated based on the account creation method in FIG. 2. I won't repeat it here.
步骤304:基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。Step 304: Based on the trigger operation, generate a first payment code information acquisition request for a target account at the target merchant, the target account being created by the user based on the first account at the first payment application, and the first payment The service provider of the application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
在本说明书实施例中,步骤304具体可以包括:基于所述触发操作,生成携带有所述目标账户的账户标识及所述目标小程序处的第三账户的账户标识的第一支付码信息获取请求。其中,目标小程序处的第三账户的账户标识可以为该目标小程序处登录的第三账户的账户标识。In the embodiment of this specification, step 304 may specifically include: based on the trigger operation, generating the first payment code information carrying the account identification of the target account and the account identification of the third account at the target applet. ask. The account identifier of the third account at the target applet may be the account identifier of the third account logged in at the target applet.
步骤306:发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商。Step 306: Send the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request; The second payment code information acquisition request carries account information of the target account, and the second payment code information acquisition request also carries the account identifier of the second account corresponding to the first account at the second payment application , The service provider of the second payment application is a registrar in the second country.
在本说明书实施例中,步骤306具体可以包括:发送所述第一支付码信息获取请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一支付码信息获取请求生成第二支付码信息获取请求,并基于所述第二支付应用的服务器发送所 述第二支付码信息获取请求至所述目标商户的服务器。In the embodiment of this specification, step 306 may specifically include: sending the first payment code information acquisition request to the server of the target applet, so that the server of the target applet can obtain information according to the first payment code information. Request to generate a second payment code information acquisition request, and send the second payment code information acquisition request to the server of the target merchant based on the server of the second payment application.
在实际应用中,所述目标小程序的服务器可以基于目标数据库中预存的目标小程序的第三账户与第二支付应用处的账户之间的关联关系,确定与该第三账户对应的第二支付应用处的账户(即第二账户)。从而生成携带有目标商户处的目标账户的账户标识及第二账户的账户标识的第二支付码信息获取请求。并基于第二支付应用的服务器将该第二支付码信息获取请求发送至目标商户的服务器。In practical applications, the server of the target applet may determine the second account corresponding to the third account based on the association relationship between the third account of the target applet pre-stored in the target database and the account at the second payment application. The account of the payment application (ie the second account). Thereby, a second payment code information acquisition request carrying the account identification of the target account at the target merchant and the account identification of the second account is generated. And based on the server of the second payment application, the request for obtaining the second payment code information is sent to the server of the target merchant.
步骤308:接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息。该支付码信息为与目标账户的账户标识及第二账户的账户标识对应的支付码信息。Step 308: Receive payment code information generated by the server of the target merchant in response to the second payment code information acquisition request. The payment code information is payment code information corresponding to the account identification of the target account and the account identification of the second account.
步骤310:根据所述支付码信息,生成支付码图像。Step 310: Generate a payment code image according to the payment code information.
在本说明书实施例中,步骤310具体可以包括:所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具SDK包以生成支付码图像。In the embodiment of the present specification, step 310 may specifically include: the target applet calls the software development tool SDK package of the first payment application according to the payment code information to generate a payment code image.
在实际应用中,当目标商户为交通公司时,该支付码图像可以为支付二维码图像。此时,步骤310具体可以包括:目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付二维码图像,以便于所述用户使用所述支付二维码图像在所述目标商户的公共交通工具处进行支付。In practical applications, when the target merchant is a transportation company, the payment code image may be a payment two-dimensional code image. At this time, step 310 may specifically include: the target applet invokes the software development kit of the first payment application according to the payment code information to generate a payment QR code image, so that the user can use the payment QR code. The code image is paid at the public transportation means of the target merchant.
在本说明书实施例中,可以利用第一国家的第一支付应用去生成第二国家的目标商户处的支付码图像,以便于用户使用该支付码图像在目标商户处进行付款,无需用户开通第二国家的支付应用,以简化用户的支付操作。In the embodiment of this specification, the first payment application in the first country can be used to generate the payment code image at the target merchant in the second country, so that the user can use the payment code image to make payments at the target merchant without the user having to open the first payment application. Payment applications in two countries to simplify user payment operations.
图4为本说明书实施例提供的一种资源扣除方法的流程示意图。从程序角度而言,流程的执行主体可以为服务器或者搭载于服务器上的程序。FIG. 4 is a schematic flowchart of a method for deducting resources provided by an embodiment of this specification. From a program perspective, the execution subject of a process can be a server or a program loaded on a server.
如图4所示,该流程可以包括以下步骤402至步骤408。As shown in FIG. 4, the process may include the following steps 402 to 408.
步骤402:从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户。Step 402: Obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account at the first payment application, and The first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is the first country. Registered merchants in a country.
在本说明书实施例中,图4中方法的执行主体与图1中方法的执行主体可以是相同的。基于图1中的方法,可知,图4中的与目标商户归属于同一国家的第一支付应 用的服务器生成了该第一账户的针对目标商户的签约标识。因此,目标商户可以根据与该签约标识对应的交易信息,向该第一支付应用的服务器发送资源扣除请。该第一支付应用的服务器响应于目标商户的资源扣除请求,可以生成步骤402中的第一资源扣除请求。In the embodiment of this specification, the execution subject of the method in FIG. 4 and the execution subject of the method in FIG. 1 may be the same. Based on the method in Figure 1, it can be seen that the server of the first payment application in Figure 4 that belongs to the same country as the target merchant has generated the contract identifier of the first account for the target merchant. Therefore, the target merchant can send a resource deduction request to the server of the first payment application according to the transaction information corresponding to the contract identifier. The server of the first payment application may generate the first resource deduction request in step 402 in response to the resource deduction request of the target merchant.
具体的,所述第一资源扣除请求是所述第一支付应用的服务器响应于所述目标商户的服务器发送的第三资源扣除请求而生成的资源扣除请求,所述第三资源扣除请求为所述目标商户的服务器根据与所述第一签约标识对应的用户行程信息而生成的,所述第三资源扣除请求携带有所述第一签约标识及根据所述用户行程信息而生成的所述交易信息。Specifically, the first resource deduction request is a resource deduction request generated by the server of the first payment application in response to a third resource deduction request sent by the server of the target merchant, and the third resource deduction request is The server of the target merchant is generated according to the user itinerary information corresponding to the first contract identifier, and the third resource deduction request carries the first contract identifier and the transaction generated according to the user itinerary information information.
例如,当目标商户为交通公司时,用户可以使用在该交通公司处的个人账户生成乘车码(即支付二维码图像),并基于该乘车码通,过扫码乘坐该交通公司的公共交通工具(例如,公共汽车、地铁等)。该公共交通工具则可以生成与该乘车码对应的用户行程信息,并发送至该交通公司的服务器。该交通公司的服务器基于对用户行程信息的分析,可以确定与该用户行程信息对应的交通公司处的用户个人账户(即图2中的方法所创建的用户在目标商户处的账户),并确定与该用户个人账户对应的第一支付应用处的第一账户(即图1、图2中方法所提及的第二支付应用处的第二账户),进而可以确定出该第一账户的第一签约标识。交通公司还可以根据用户行程信息生成交易信息,该交易信息可以包含本次交易的内容、交易金额、交通公司的商户标识等信息。最终,该交通公司可以生成携带该交易信息及该第一签约标识的资源扣除请求,并将该资源扣除请求发送至第一支付应用的服务器,以便于第一支付应用的服务器对该第一账户进行资源扣除。For example, when the target merchant is a transportation company, the user can use the personal account at the transportation company to generate a ride code (that is, to pay for the QR code image), and pass based on the ride code, and scan the code to take the ride on the transportation company. Public transportation (for example, bus, subway, etc.). The public transportation tool can generate the user's itinerary information corresponding to the ride code and send it to the server of the transportation company. Based on the analysis of the user’s itinerary information, the transportation company’s server can determine the user’s personal account at the transportation company corresponding to the user’s itinerary information (that is, the user’s account at the target merchant created by the method in Figure 2), and determine The first account at the first payment application corresponding to the user's personal account (that is, the second account at the second payment application mentioned in the method in Figure 1 and Figure 2), and then the first account of the first account can be determined 1. Signing contract. The transportation company can also generate transaction information based on the user's itinerary information. The transaction information can include the content of the transaction, the transaction amount, and the transportation company's merchant identification. Finally, the transportation company can generate a resource deduction request carrying the transaction information and the first contract identifier, and send the resource deduction request to the server of the first payment application, so that the server of the first payment application can access the first account. Make resource deductions.
在实际应用中,由于第一账户为针对第二国家的第二支付应用处的第二账户建立的虚拟用户账户,即该第一账户在第一支付应用处并不具有实际的账户资源可以供第一支付应用的服务器进行扣除,因此,第一支付应用的服务器可以基于目标商户的资源扣除请求去生成第一资源扣除请求,以使得针对第二支付应用处的第二账户中的账户资源进行资源扣除。In actual applications, since the first account is a virtual user account established for the second account of the second payment application in the second country, that is, the first account does not have actual account resources available for the first payment application. The server of the first payment application performs deduction. Therefore, the server of the first payment application can generate the first resource deduction request based on the resource deduction request of the target merchant, so that the account resource in the second account at the second payment application can be processed. Resource deduction.
步骤404:确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商。Step 404: Determine a second contract ID corresponding to the first contract ID, where the second contract ID is the contract ID of the second account for the target merchant, and the second account is the contract ID of the second payment application. For the account corresponding to the first account, the service provider of the second payment application is a registrar in the second country.
在本说明书实施例中,第一签约标识及第二签约标识之间的关联关系数据可以 是基于图1中的方法及实施例而生成的,在此不再赘述。步骤404,具体可以包括,根据关联关系数据,确定与所述第一签约标识对应的第二签约标识。In the embodiment of this specification, the association relationship data between the first contract ID and the second contract ID may be generated based on the method and embodiment in Fig. 1, and will not be repeated here. Step 404 may specifically include determining a second contract ID corresponding to the first contract ID according to the association relationship data.
步骤406:根据该第二签约标识及该交易信息,生成第二资源扣除请求。Step 406: Generate a second resource deduction request according to the second contract identifier and the transaction information.
在本说明书实施例中,可以生成携带有该第二签约标识及该交易信息的第二资源扣除请求。In the embodiment of this specification, a second resource deduction request carrying the second contract identifier and the transaction information can be generated.
步骤408:发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。Step 408: Send the second resource deduction request to the server of the second payment application, so that the server of the second payment application can access the second account according to the second contract identifier and the transaction information. Account resources are deducted from resources.
在本说明书实施例中,由于第二签约标识可以作为对第二支付应用处的第二账户进行资源扣除的凭证。因此,当第二支付应用的服务器接收到第二资源扣除请求后,可以根据与交易信息对应的交易金额,对该第二账户的账户资源进行资源扣除。该账户资源包括但不限于资金余额、红包、代金券等。In the embodiment of this specification, because the second contract identifier can be used as a voucher for resource deduction for the second account at the second payment application. Therefore, after the server of the second payment application receives the second resource deduction request, it can perform resource deduction for the account resource of the second account according to the transaction amount corresponding to the transaction information. The account resources include but are not limited to fund balances, red envelopes, vouchers, etc.
在本说明书实施例中,图4中的方法,可以根据第一国家的第一支付应用的服务器响应于目标商户的资源扣除请求而发送的第一资源扣除请求,去生成第二资源扣除请求,以令第二国家的第二支付应用的服务器可以根据第二资源扣除请求对该第二支付应用处的第二账户的账户资源进行资源扣除。从而使得用户可以基于第二国家的第二支付应用处的账户在第一国家的目标商户处进行自助缴费,有利于提升用户与目标商户进行交易时的便捷性。In the embodiment of this specification, the method in FIG. 4 can generate the second resource deduction request according to the first resource deduction request sent by the server of the first payment application in the first country in response to the resource deduction request of the target merchant, In this way, the server of the second payment application in the second country can perform resource deduction for the account resources of the second account of the second payment application according to the second resource deduction request. Therefore, the user can make self-service payment at the target merchant in the first country based on the account of the second payment application in the second country, which is beneficial to improve the convenience of the user and the target merchant in the transaction.
同时,由于目标商户的服务器生成的是针对本国的第一支付应用处的账户的资源扣除请求,使得目标商户的服务器仍旧是与本国的第一支付应用的服务器进行数据交互,而无需与其他国家的支付应用的服务器进行数据交互,从而无需对目标商户的服务器进行改造,有利于降低目标商户与其他国家的支付应用进行对接时的改造成本。At the same time, because the server of the target merchant generates a resource deduction request for the account of the first payment application in the country, the server of the target merchant still interacts with the server of the first payment application in the country without having to interact with other countries. The server of the payment application performs data interaction, so that there is no need to modify the server of the target merchant, which is beneficial to reduce the cost of transformation when the target merchant is docked with payment applications in other countries.
基于同样的思路,本说明书实施例还提供了上述方法对应的装置。图5为本说明书实施例提供的对应于图1的一种签约装置的结构示意图。如图5所示,该装置可以包括以下模块。Based on the same idea, the embodiment of this specification also provides a device corresponding to the above method. Fig. 5 is a schematic structural diagram of a contracting device corresponding to Fig. 1 provided by an embodiment of this specification. As shown in Figure 5, the device may include the following modules.
第一获取模块502,用于获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。The first obtaining module 502 is configured to obtain a first sign-up request of a first account in a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
第二获取模块504,用于获取所述第一账户的针对所述服务协议的第一签约授权 信息。The second obtaining module 504 is configured to obtain the first contract authorization information for the service agreement of the first account.
第一发送模块506,用于发送所述第一签约授权信息至所述第一支付应用的服务器。The first sending module 506 is configured to send the first subscription authorization information to the server of the first payment application.
第一接收模块508,用于接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识。The first receiving module 508 is configured to receive the first contract identifier generated by the server of the first payment application based on the first contract authorization information.
第二账户确定模块510,用于确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商。The second account determination module 510 is configured to determine a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is the first Registrars in two countries.
第二签约授权信息生成模块512,用于生成所述第二账户的针对所述服务协议的第二签约授权信息。The second contract authorization information generating module 512 is configured to generate second contract authorization information of the second account for the service agreement.
第二发送模块514,用于发送所述第二签约授权信息至所述第二支付应用的服务器。The second sending module 514 is configured to send the second contract authorization information to the server of the second payment application.
第二接收模块516,用于接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识。The second receiving module 516 is configured to receive a second contract identifier generated by the server of the second payment application based on the second contract authorization information.
关联关系数据生成模块518,用于生成所述第一签约标识与所述第二签约标识之间的关联关系数据;以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。The association relationship data generation module 518 is configured to generate association relationship data between the first contract identification and the second contract identification; so as to facilitate based on the association relationship data, according to the target merchant’s specific The account resource deduction request is used to deduct the account resource of the first account.
基于图5的装置,本说明书实施例还提供了该方法的一些具体实施方案,下面进行说明。Based on the device in FIG. 5, the examples of this specification also provide some specific implementations of the method, which are described below.
可选的,所述装置还包括:第三发送模块,用于发送第一签约请求至所述第一支付应用的服务器。Optionally, the device further includes: a third sending module, configured to send a first subscription request to the server of the first payment application.
第三接收模块,用于接收所述第一支付应用的服务器反馈的与所述服务协议对应的统一资源定位符。The third receiving module is configured to receive the uniform resource locator corresponding to the service agreement fed back by the server of the first payment application.
第四发送模块,用于发送所述统一资源定位符至登录有所述第一账户的终端设备。The fourth sending module is configured to send the uniform resource locator to the terminal device logged in with the first account.
所述第二获取模块504,具体用于从所述终端设备处获取所述第一账户的针对所述服务协议的第一签约授权信息,所述第一签约授权信息为所述第一支付应用的服务器基于所述终端设备发送的针对所述服务协议的确认签约指令而生成的签约授权信息,所 述服务协议为所述终端设备基于所述统一资源定位符而获取到的服务协议。The second obtaining module 504 is specifically configured to obtain first contract authorization information for the service agreement of the first account from the terminal device, where the first contract authorization information is the first payment application The server generates the contract authorization information based on the contract confirmation instruction for the service agreement sent by the terminal device, and the service agreement is the service agreement acquired by the terminal device based on the uniform resource locator.
可选的,第一获取模块,具体可以用于:获取目标小程序处的第三账户的针对目标商户的第一签约请求,所述目标小程序是在登录有第一账户的第一支付应用中启动的;所述第一签约请求中携带有签名字符串,所述签名字符串中包含所述目标商户的商户标识和所述第三账户的账户标识。Optionally, the first obtaining module may be specifically used to: obtain the first sign-up request for the target merchant of the third account at the target applet, the target applet being the first payment application with the first account logged in Started in; the first signing request carries a signature string, and the signature string contains the merchant identification of the target merchant and the account identification of the third account.
所述装置还可以包括:第五发送模块,用于在发送所述第一签约请求至所述第一支付应用的服务器之前,发送签名字符串至所述目标小程序的服务器。The device may further include: a fifth sending module, configured to send a signature string to the server of the target applet before sending the first contract request to the server of the first payment application.
第三发送模块,具体可以用于:当所述目标小程序的服务器对所述签名字符串验证通过时,确定与所述商户标识对应的商户信息;生成携带有所述商户信息的第二签约请求;发送所述第二签约请求至所述第一支付应用的服务器。The third sending module can be specifically used to: when the server of the target applet passes the verification of the signature string, determine the merchant information corresponding to the merchant identifier; generate a second contract that carries the merchant information Request; send the second subscription request to the server of the first payment application.
第三接收模块,具体可以用于:接收所述第一支付应用的服务器响应于所述第二签约请求而反馈的所述服务协议的统一资源定位符。The third receiving module may be specifically configured to receive the uniform resource locator of the service agreement fed back by the server of the first payment application in response to the second contract request.
可选的,第二账户确定模块,具体可以用于:判断是否预存有所述第一账户与所述第三账户之间的关联关系数据;若是,则将与所述第三账户对应的第二账户,确定为与所述第一账户对应的第二账户;所述第二账户为第二支付应用处的注册账户;若否,则生成所述第一账户与所述第三账户之间的关联关系数据;发送用于请求创建与所述第三账户对应的第二账户的账户创建请求至所述第二支付应用的服务器;将所述第二支付应用的服务器反馈的新建账户,确定为与所述第一账户对应的第二账户。Optionally, the second account determination module can be specifically used to determine whether the association relationship data between the first account and the third account is pre-stored; if so, the second account corresponding to the third account The second account is determined to be the second account corresponding to the first account; the second account is a registered account at the second payment application; if not, a connection between the first account and the third account is generated Send the account creation request for requesting the creation of a second account corresponding to the third account to the server of the second payment application; send the new account fed back by the server of the second payment application to determine Is the second account corresponding to the first account.
可选的,该装置还可以包括:第二关联关系数据生成模块,用于生成所述第一签约标识、所述第二签约标识、所述第一账户、所述第二账户及所述第三账户五者之间的关联关系数据。Optionally, the device may further include: a second association relationship data generating module, configured to generate the first contract identifier, the second contract identifier, the first account, the second account, and the first The data of the association relationship between the three accounts and five persons.
基于同样的思路,图6为本说明书实施例提供的对应于图2的一种账户创建装置的结构示意图。如图6所示,该装置可以包括以下模块。Based on the same idea, FIG. 6 is a schematic structural diagram of an account creation device corresponding to FIG. 2 provided in an embodiment of this specification. As shown in Figure 6, the device may include the following modules.
触发操作获取模块602,用于获取用户的触发操作。The trigger operation acquisition module 602 is used to acquire the trigger operation of the user.
第一签约请求生成模块604,用于基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。The first subscription request generation module 604 is configured to generate a first subscription request for a first account at a first payment application based on a trigger operation of the user, where the first subscription request is used to request the establishment of the first account and A service agreement between target merchants; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
第一签约请求发送模块606,用于发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,第二支付应用的服务商为第二国家的注册服务商。The first contract request sending module 606 is configured to send the first contract request to the target server, so that the target server can generate the association relationship data between the first contract ID and the second contract ID, the first contract ID Is the contract identification of the first account for the target merchant, and the second contract identification is the contract identification of the second account corresponding to the first account at the second payment application for the target merchant, The service provider of the second payment application is a registrar in the second country.
账户创建请求生成模块608,用于当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户。The account creation request generation module 608 is configured to generate an account creation request after it is determined that the target server has generated the association relationship data, and the account creation request is used to request the creation of the user's third party at the target merchant. Account.
接收模块610,用于接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。The receiving module 610 is configured to receive account information of the third account, so that the user can use the first payment application to generate a payment code image corresponding to the account information.
基于图6的装置,本说明书实施例还提供了该方法的一些具体实施方案,下面进行说明。Based on the device in FIG. 6, the examples of this specification also provide some specific implementations of the method, which are described below.
可选的,触发操作获取模块602,具体可以用于:获取用户对终端设备上的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的。Optionally, the trigger operation acquisition module 602 can be specifically used to: acquire the user's trigger operation on the target merchant icon in the application interface of the target applet on the terminal device, the target applet being logged in with the first account Started in the first payment application.
所述第一签约请求生成模块604,具体可以用于:获取所述目标小程序基于所述触发操作而生成的对所述第一支付应用的签约接口的调用请求;根据所述调用请求,生成所述第一支付应用处的所述第一账户的第一签约请求。The first subscription request generating module 604 may be specifically configured to: obtain a call request for the subscription interface of the first payment application generated by the target applet based on the trigger operation; generate according to the call request The first subscription request of the first account at the first payment application.
可选的,所述账户创建请求生成模块608,具体可以用于:当所述目标小程序确定所述目标服务器已生成所述关联关系数据后,生成针对所述目标商户处的第一账户创建请求,所述第一账户创建请求中携带有所述目标商户的商户标识及所述目标小程序处的第四账户的账户标识。Optionally, the account creation request generation module 608 can be specifically used to: when the target applet determines that the target server has generated the association relationship data, generate a first account creation for the target merchant Request, the first account creation request carries the merchant identifier of the target merchant and the account identifier of the fourth account at the target applet.
所述装置还可以包括:第一账户创建请求发送模块,用于发送所述第一账户创建请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一账户创建请求生成第二账户创建请求,并基于所述第二支付应用的服务器将所述第二账户创建请求发送至所述目标商户的服务器;其中,所述第二账户创建请求中携带有所述第二账户的账户标识及所述第二签约标识。The device may further include: a first account creation request sending module, configured to send the first account creation request to the server of the target applet, so that the server of the target applet can create the first account according to the first account. Request to generate a second account creation request, and send the second account creation request to the server of the target merchant based on the server of the second payment application; wherein, the second account creation request carries the first 2. The account identifier of the account and the second contract identifier.
所述接收模块610,具体可以用于:接收所述目标商户的服务器响应于所述第二账户创建请求而生成的第三账户。The receiving module 610 may be specifically configured to receive the third account generated by the server of the target merchant in response to the second account creation request.
可选的,所述装置还可以包括:确定模块,用于在生成账户创建请求之前,接收所述目标服务器发送的已生成所述关联关系数据的提示信息;根据所述提示信息,确定所述目标服务器已生成所述关联关系数据。Optionally, the device may further include: a determining module, configured to receive prompt information sent by the target server that the association relationship data has been generated before the account creation request is generated; and determine the The target server has generated the association relationship data.
基于同样的思路,图7为本说明书实施例提供的对应于图3的一种支付码图像生成装置的结构示意图。如图7所示,该装置可以包括以下模块。Based on the same idea, FIG. 7 is a schematic structural diagram of a payment code image generating device corresponding to FIG. 3 provided in an embodiment of this specification. As shown in Figure 7, the device may include the following modules.
触发操作获取模块702,用于获取用户的触发操作。The trigger operation acquisition module 702 is used to acquire the trigger operation of the user.
请求生成模块704,用于基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。The request generation module 704 is configured to generate a first payment code information acquisition request for a target account at a target merchant based on the trigger operation, the target account being created by the user based on the first account at the first payment application, The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
发送模块706,用于发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商。The sending module 706 is configured to send the first payment code information acquisition request to a designated server, so that the designated server sends the second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request Request; the second payment code information acquisition request carries account information of the target account, and the second payment code information acquisition request also carries a second account corresponding to the first account at the second payment application , The service provider of the second payment application is a registrar in the second country.
接收模块708,用于接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息。The receiving module 708 is configured to receive payment code information generated by the server of the target merchant in response to the second payment code information acquisition request.
支付码图像生成模块710,用于根据所述支付码信息,生成支付码图像。The payment code image generating module 710 is configured to generate a payment code image according to the payment code information.
可选的,所述触发操作获取模块702,具体可以用于:获取用户对终端设备中的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的,述目标小程序处存储有与所述目标商户图标对应的目标商户处的目标账户。Optionally, the trigger operation acquisition module 702 can be specifically used to: acquire the user's trigger operation on the target merchant icon in the application interface of the target applet in the terminal device. In the first payment application of the account, the target account of the target merchant corresponding to the target merchant icon is stored in the target applet.
所述请求生成模块704,具体可以用于:基于所述触发操作,生成携带有所述目标账户的账户标识及所述目标小程序处的第三账户的账户标识的第一支付码信息获取请求。The request generation module 704 may be specifically configured to: based on the trigger operation, generate a first payment code information acquisition request carrying the account identification of the target account and the account identification of the third account at the target applet .
所述发送模块706,具体可以用于:发送所述第一支付码信息获取请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一支付码信息获取请求生成第二支付码信息获取请求,并基于所述第二支付应用的服务器发送所述第二支付码信息获取请求至所述目标商户的服务器。The sending module 706 may be specifically configured to: send the first payment code information acquisition request to the server of the target applet, so that the server of the target applet can generate the request according to the first payment code information acquisition request. A second payment code information acquisition request, and a server based on the second payment application sends the second payment code information acquisition request to a server of the target merchant.
所述支付码图像生成模块710,具体可以包括:支付码图像生成单元,用于所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付码图像。The payment code image generating module 710 may specifically include: a payment code image generating unit for the target applet to call the software development kit of the first payment application to generate a payment code image according to the payment code information .
其中,所述支付码图像生成单元,具体可以用于:所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付二维码图像,以便于所述用户使用所述支付二维码图像在所述目标商户的公共交通工具处进行支付。Wherein, the payment code image generating unit may be specifically used for: the target applet calls the software development kit of the first payment application to generate a payment QR code image according to the payment code information. The user uses the payment two-dimensional code image to pay at the public transportation of the target merchant.
基于同样的思路,图8为本说明书实施例提供的对应于图4的一种资源扣除装置的结构示意图。如图8所示,该装置可以包括以下模块。Based on the same idea, FIG. 8 is a schematic structural diagram of a resource deduction device corresponding to FIG. 4 provided in an embodiment of this specification. As shown in Figure 8, the device may include the following modules.
获取模块802,用于从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户。The obtaining module 802 is configured to obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account in the first payment application The first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is Registered merchants in the first country.
确定模块804,用于确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商。The determining module 804 is configured to determine a second contract ID corresponding to the first contract ID, the second contract ID being the contract ID of the second account for the target merchant, and the second account being the second payment The account corresponding to the first account in the application, and the service provider of the second payment application is a registrar in the second country.
请求生成模块806,用于根据所述第二签约标识及所述交易信息,生成第二资源扣除请求。The request generation module 806 is configured to generate a second resource deduction request according to the second contract identifier and the transaction information.
发送模块808,用于发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。The sending module 808 is configured to send the second resource deduction request to the server of the second payment application, so that the server of the second payment application can check the second subscription identifier and the transaction information. 2. The account resources of the account are deducted from resources.
基于同样的思路,本说明书实施例还提供了与图1的方法对应的一种签约设备,该设备可以包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。Based on the same idea, the embodiment of this specification also provides a subscription device corresponding to the method in FIG. 1. The device may include: at least one processor; and a memory communicatively connected with the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: obtain the information of the first account at the first payment application A first sign-up request, the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; the service provider of the first payment application is a registrar in the first country, and the target The merchant is a registered merchant in the second country.
获取所述第一账户的针对所述服务协议的第一签约授权信息。Acquire first contract authorization information for the service agreement of the first account.
发送所述第一签约授权信息至所述第一支付应用的服务器。Sending the first contract authorization information to the server of the first payment application.
接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识。Receiving the first contract identifier generated by the server of the first payment application based on the first contract authorization information.
确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商。A second account corresponding to the first account is determined, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country.
生成所述第二账户的针对所述服务协议的第二签约授权信息。Generate second contract authorization information of the second account for the service agreement.
发送所述第二签约授权信息至所述第二支付应用的服务器。Sending the second contract authorization information to the server of the second payment application.
接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识。The second contract identifier generated by the server receiving the second payment application based on the second contract authorization information.
生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。The association relationship data between the first contract identification and the second contract identification is generated, so that based on the association relationship data, the target merchant’s resource deduction request for the second account can be deducted. Describe the account resources of the first account.
基于同样的思路,本说明书实施例还提供了与图2的方法对应的一种账户创建设备,该设备可以包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的触发操作。Based on the same idea, the embodiment of the present specification also provides an account creation device corresponding to the method in FIG. 2. The device may include: at least one processor; and a memory communicatively connected with the at least one processor; wherein The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: acquire a user's trigger operation.
基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。Generating a first sign-up request for a first account at a first payment application based on the triggering operation of the user, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country.
发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商。Send the first subscription request to the target server, so that the target server generates the association relationship data between the first subscription identifier and the second subscription identifier, where the first subscription identifier is the address of the first account for the The contract identification of the target merchant, the second contract identification is the contract identification of the second account corresponding to the first account at the second payment application for the target merchant, and the service provider of the second payment application is The registrar of the second country.
当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户。After it is determined that the target server has generated the association relationship data, an account creation request is generated, and the account creation request is used to request the creation of a third account of the user at the target merchant.
接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。The account information of the third account is received, so that the user uses the first payment application to generate a payment code image corresponding to the account information.
基于同样的思路,本说明书实施例还提供了与图3的方法对应的一种支付码图像生成设备,该设备可以包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户的触发操作。Based on the same idea, the embodiment of the present specification also provides a payment code image generating device corresponding to the method in FIG. 3. The device may include: at least one processor; and a memory communicatively connected to the at least one processor Wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: obtain a user's trigger operation.
基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户。Based on the trigger operation, a first payment code information acquisition request for a target account at a target merchant is generated, the target account is created by the user based on the first account at the first payment application, and the service of the first payment application The merchant is a registrar in the first country, and the target merchant is a registered merchant in the second country.
发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商。Sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request; the second The payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the account identifier of the second account corresponding to the first account at the second payment application, the The service provider of the second payment application is a registrar in the second country.
接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息。Receiving the payment code information generated by the server of the target merchant in response to the second payment code information acquisition request.
根据所述支付码信息,生成支付码图像。According to the payment code information, a payment code image is generated.
基于同样的思路,本说明书实施例还提供了与图4的方法对应的一种资源扣除设备,该设备可以包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户。Based on the same idea, the embodiment of this specification also provides a resource deduction device corresponding to the method in FIG. 4, the device may include: at least one processor; and, a memory communicatively connected with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can: obtain the first payment application server from the first payment application server. A resource deduction request, the first resource deduction request carries the first contract identifier for the target merchant of the first account at the first payment application, and the first resource deduction request also carries the target merchant's Transaction information corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the first country.
确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,第二支付应用的服务商为第二国家的注册服务商。Determine a second contract ID corresponding to the first contract ID, where the second contract ID is the contract ID of the second account for the target merchant, and the second account is the contract ID of the second payment application. The account corresponding to the first account, and the service provider of the second payment application is the registrar in the second country.
根据所述第二签约标识及所述交易信息,生成第二资源扣除请求。According to the second contract identifier and the transaction information, a second resource deduction request is generated.
发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进 行资源扣除。Send the second resource deduction request to the server of the second payment application, so that the server of the second payment application performs the account resources of the second account according to the second contract identifier and the transaction information Resource deduction.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (for example, a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a piece of PLD, without requiring chip manufacturers to design and manufacture dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized with "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description), etc., currently most commonly used It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that just a little bit of logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain the hardware circuit that implements the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs  C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the control logic of the memory. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic. The same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing one or more embodiments of this specification, the functions of each unit may be implemented in the same one or more software and/or hardware.
本领域内的技术人员应明白,本说明书一个或多个实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that one or more embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
本说明书一个或多个实施例是参照根据本说明书一个或多个实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。One or more embodiments of this specification are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to one or more embodiments of this specification. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方 框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带式磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地 和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本说明书的实施例而已,并不用于限制本说明书一个或多个实施例。对于本领域技术人员来说,本说明书一个或多个实施例可以有各种更改和变化。凡在本说明书一个或多个实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例的权利要求范围之内。The above descriptions are only the embodiments of this specification, and are not used to limit one or more embodiments of this specification. For those skilled in the art, one or more embodiments of this specification may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification should be included in the scope of the claims of one or more embodiments of this specification.

Claims (26)

  1. 一种签约方法,包括:A method of signing, including:
    获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;Acquire a first sign-up request for a first account at a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and a target merchant; the service provider of the first payment application is Registrar in the first country, the target merchant is a registered merchant in the second country;
    获取所述第一账户的针对所述服务协议的第一签约授权信息;Acquiring first contract authorization information for the service agreement of the first account;
    发送所述第一签约授权信息至所述第一支付应用的服务器;Sending the first subscription authorization information to the server of the first payment application;
    接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识;Receiving the first subscription identifier generated by the server of the first payment application based on the first subscription authorization information;
    确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商;Determining a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country;
    生成所述第二账户的针对所述服务协议的第二签约授权信息;Generating second contract authorization information for the service agreement of the second account;
    发送所述第二签约授权信息至所述第二支付应用的服务器;Sending the second contract authorization information to the server of the second payment application;
    接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识;Receiving the second contract identifier generated by the server of the second payment application based on the second contract authorization information;
    生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。The association relationship data between the first contract identification and the second contract identification is generated, so that based on the association relationship data, the target merchant’s resource deduction request for the second account can be deducted. Describe the account resources of the first account.
  2. 如权利要求1所述的方法,所述获取所述第一账户的针对所述服务协议的第一签约授权信息之前,还包括:The method according to claim 1, before said obtaining the first contract authorization information of the first account for the service agreement, further comprising:
    发送所述第一签约请求至所述第一支付应用的服务器;Sending the first subscription request to the server of the first payment application;
    接收所述第一支付应用的服务器反馈的与所述服务协议对应的统一资源定位符;Receiving the uniform resource locator corresponding to the service agreement fed back by the server of the first payment application;
    发送所述统一资源定位符至登录有所述第一账户的终端设备;Sending the uniform resource locator to the terminal device logged in with the first account;
    所述获取所述第一账户的针对所述服务协议的第一签约授权信息,具体包括:The obtaining the first contract authorization information of the first account for the service agreement specifically includes:
    从所述终端设备处获取所述第一账户的针对所述服务协议的第一签约授权信息,所述第一签约授权信息为所述第一支付应用的服务器基于所述终端设备发送的针对所述服务协议的确认签约指令而生成的签约授权信息,所述服务协议为所述终端设备基于所述统一资源定位符而获取到的服务协议。Obtain the first contract authorization information of the first account for the service agreement from the terminal device, where the first contract authorization information is the first contract authorization information sent by the server of the first payment application based on the terminal device. The contract authorization information generated by confirming the contract instruction of the service agreement, and the service agreement is a service agreement acquired by the terminal device based on the uniform resource locator.
  3. 如权利要求2所述的方法,所述获取第一支付应用处的第一账户的第一签约请求,具体包括:The method according to claim 2, wherein said obtaining the first subscription request of the first account at the first payment application specifically includes:
    获取目标小程序处的第三账户的针对目标商户的第一签约请求,所述目标小程序是 在登录有第一账户的第一支付应用中启动的;所述第一签约请求中携带有签名字符串,所述签名字符串中包含所述目标商户的商户标识和所述第三账户的账户标识;Acquire the first sign-up request for the target merchant of the third account at the target applet, the target applet is started in the first payment application with the first account logged in; the first sign-up request carries a signature A character string, the signature character string contains the merchant identifier of the target merchant and the account identifier of the third account;
    所述发送所述第一签约请求至所述第一支付应用的服务器之前,还包括:Before the sending the first subscription request to the server of the first payment application, the method further includes:
    发送所述签名字符串至所述目标小程序的服务器;Sending the signature string to the server of the target applet;
    所述发送所述第一签约请求至所述第一支付应用的服务器,具体包括:The sending the first subscription request to the server of the first payment application specifically includes:
    当所述目标小程序的服务器对所述签名字符串验证通过时,确定与所述商户标识对应的商户信息;When the server of the target applet passes the verification of the signature string, determine the merchant information corresponding to the merchant identifier;
    生成携带有所述商户信息的第二签约请求;Generating a second contract request carrying the merchant information;
    发送所述第二签约请求至所述第一支付应用的服务器;Sending the second subscription request to the server of the first payment application;
    所述接收所述第一支付应用的服务器反馈的与所述服务协议对应的统一资源定位符,具体包括:The receiving the uniform resource locator corresponding to the service agreement fed back by the server of the first payment application specifically includes:
    接收所述第一支付应用的服务器响应于所述第二签约请求而反馈的所述服务协议的统一资源定位符。Receiving the uniform resource locator of the service agreement fed back by the server of the first payment application in response to the second subscription request.
  4. 如权利要求3所述的方法,所述确定与所述第一账户对应的第二账户,具体包括:The method according to claim 3, wherein the determining the second account corresponding to the first account specifically includes:
    判断是否预存有所述第一账户与所述第三账户之间的关联关系数据;Judging whether there is pre-stored association relationship data between the first account and the third account;
    若是,则将与所述第三账户对应的第二账户,确定为与所述第一账户对应的第二账户;所述第二账户为第二支付应用处的注册账户;If yes, determine the second account corresponding to the third account as the second account corresponding to the first account; the second account is the registered account of the second payment application;
    若否,则生成所述第一账户与所述第三账户之间的关联关系数据;If not, generate the association relationship data between the first account and the third account;
    发送用于请求创建与所述第三账户对应的第二账户的账户创建请求至所述第二支付应用的服务器;Sending an account creation request for requesting creation of a second account corresponding to the third account to the server of the second payment application;
    将所述第二支付应用的服务器反馈的新建账户,确定为与所述第一账户对应的第二账户。The newly created account fed back by the server of the second payment application is determined as the second account corresponding to the first account.
  5. 如权利要求4所述的方法,所述生成所述第一签约标识与所述第二签约标识之间的关联关系数据之后,还包括:5. The method according to claim 4, after said generating the association relationship data between the first contract identification and the second contract identification, the method further comprises:
    生成所述第一签约标识、所述第二签约标识、所述第一账户、所述第二账户及所述第三账户五者之间的关联关系数据。Generate association relationship data among five of the first contract identification, the second contract identification, the first account, the second account, and the third account.
  6. 一种账户创建方法,包括:An account creation method, including:
    获取用户的触发操作;Get the user's trigger operation;
    基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应 用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;Generating a first sign-up request for a first account at a first payment application based on the triggering operation of the user, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商;Send the first subscription request to the target server, so that the target server generates the association relationship data between the first subscription identifier and the second subscription identifier, where the first subscription identifier is the address of the first account for the The contract identification of the target merchant, the second contract identification is the contract identification of the second account corresponding to the first account at the second payment application for the target merchant, and the service provider of the second payment application is Registrar of said second country;
    当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户;After determining that the target server has generated the association relationship data, generate an account creation request, where the account creation request is used to request the creation of a third account of the user at the target merchant;
    接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。The account information of the third account is received, so that the user uses the first payment application to generate a payment code image corresponding to the account information.
  7. 如权利要求6所述的方法,所述获取用户的触发操作,具体包括:8. The method according to claim 6, wherein said acquiring a user's trigger operation specifically includes:
    获取用户对终端设备上的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的;Acquiring the user's trigger operation on the target merchant icon in the application interface of the target applet on the terminal device, the target applet being started in the first payment application with the first account logged in;
    所述基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,具体包括:The generating the first subscription request for the first account at the first payment application based on the trigger operation of the user specifically includes:
    获取所述目标小程序基于所述触发操作而生成的对所述第一支付应用的签约接口的调用请求;Acquiring a call request to the contract interface of the first payment application generated by the target applet based on the trigger operation;
    根据所述调用请求,生成所述第一支付应用处的所述第一账户的第一签约请求。According to the call request, a first subscription request for the first account at the first payment application is generated.
  8. 如权利要求7所述的方法,所述当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,具体包括:8. The method of claim 7, wherein after determining that the target server has generated the association relationship data, generating an account creation request specifically includes:
    当所述目标小程序确定所述目标服务器已生成所述关联关系数据后,生成针对所述目标商户处的第一账户创建请求,所述第一账户创建请求中携带有所述目标商户的商户标识及所述目标小程序处的第四账户的账户标识;After the target applet determines that the target server has generated the association relationship data, it generates a first account creation request for the target merchant, and the first account creation request carries the target merchant's merchant Identification and the account identification of the fourth account at the target applet;
    所述生成针对所述目标商户处的第一账户创建请求之后,还包括:After the generating the first account creation request for the target merchant, the method further includes:
    发送所述第一账户创建请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一账户创建请求生成第二账户创建请求,并基于所述第二支付应用的服务器将所述第二账户创建请求发送至所述目标商户的服务器;其中,所述第二账户创建请求中携带有所述第二账户的账户标识及所述第二签约标识;Send the first account creation request to the server of the target applet, so that the server of the target applet can generate a second account creation request according to the first account creation request, and based on the second payment application The server sends the second account creation request to the server of the target merchant; wherein the second account creation request carries the account identification of the second account and the second contract identification;
    所述接收所述第三账户的账户信息,具体包括:The receiving account information of the third account specifically includes:
    接收所述目标商户的服务器响应于所述第二账户创建请求而生成的第三账户。Receiving the third account generated by the server of the target merchant in response to the second account creation request.
  9. 如权利要求6所述的方法,所述生成账户创建请求之前,还包括:The method according to claim 6, before said generating the account creation request, further comprising:
    接收所述目标服务器发送的已生成所述关联关系数据的提示信息;Receiving the prompt information sent by the target server that the association relationship data has been generated;
    根据所述提示信息,确定所述目标服务器已生成所述关联关系数据。According to the prompt information, it is determined that the target server has generated the association relationship data.
  10. 一种支付码图像生成方法,包括:A method for generating payment code images, including:
    获取用户的触发操作;Get the user's trigger operation;
    基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;Based on the trigger operation, a first payment code information acquisition request for a target account at a target merchant is generated, the target account is created by the user based on the first account at the first payment application, and the service of the first payment application The merchant is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商;Sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request; the second The payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the account identifier of the second account corresponding to the first account at the second payment application, the The service provider of the second payment application is a registrar in the second country;
    接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息;Receiving the payment code information generated by the server of the target merchant in response to the second payment code information acquisition request;
    根据所述支付码信息,生成支付码图像。According to the payment code information, a payment code image is generated.
  11. 如权利要求10所述的方法,所述获取用户的触发操作,具体包括:The method according to claim 10, wherein said acquiring a user's trigger operation specifically includes:
    获取用户对终端设备中的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的,所述目标小程序处存储有与所述目标商户图标对应的目标商户处的目标账户;Acquire the user's trigger operation on the target merchant icon in the application interface of the target applet in the terminal device, the target applet being started in the first payment application with the first account logged in, and the target applet is stored at There is a target account at the target merchant corresponding to the target merchant icon;
    所述基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,具体包括:The generating the first payment code information acquisition request for the target account at the target merchant based on the trigger operation specifically includes:
    基于所述触发操作,生成携带有所述目标账户的账户标识及所述目标小程序处的第三账户的账户标识的第一支付码信息获取请求;Based on the trigger operation, generating a first payment code information acquisition request carrying the account identification of the target account and the account identification of the third account at the target applet;
    发送所述第一支付码信息获取请求至指定服务器,具体包括:Sending the first payment code information acquisition request to a designated server specifically includes:
    发送所述第一支付码信息获取请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一支付码信息获取请求生成第二支付码信息获取请求,并基于所述第二支付应用的服务器发送所述第二支付码信息获取请求至所述目标商户的服务器;Send the first payment code information acquisition request to the server of the target applet, so that the server of the target applet can generate a second payment code information acquisition request based on the first payment code information acquisition request. The server of the second payment application sends the second payment code information acquisition request to the server of the target merchant;
    所述根据所述支付码信息,生成支付码图像,具体包括:The generating a payment code image according to the payment code information specifically includes:
    所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付码图像。The target applet calls the software development kit of the first payment application according to the payment code information to generate a payment code image.
  12. 如权利要求11所述的方法,所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付码图像,具体包括:The method according to claim 11, wherein the target applet calls the software development kit of the first payment application to generate a payment code image according to the payment code information, which specifically includes:
    所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付二维码图像,以便于所述用户使用所述支付二维码图像在所述目标商户的公共交通工具处进行支付。The target applet calls the software development kit of the first payment application according to the payment code information to generate a payment QR code image, so that the user can use the payment QR code image in the target merchant Of public transportation.
  13. 一种资源扣除方法,包括:A method of resource deduction, including:
    从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户;Obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account at the first payment application, and the first resource The deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registrar in the first country. Registered merchant
    确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商;Determine a second contract ID corresponding to the first contract ID, where the second contract ID is the contract ID of the second account for the target merchant, and the second account is the contract ID of the second payment application. The account corresponding to the first account, and the service provider of the second payment application is a registrar in the second country;
    根据所述第二签约标识及所述交易信息,生成第二资源扣除请求;Generate a second resource deduction request according to the second contract identifier and the transaction information;
    发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。Send the second resource deduction request to the server of the second payment application, so that the server of the second payment application performs the account resources of the second account according to the second contract identifier and the transaction information Resource deduction.
  14. 如权利要求13所述的方法,所述第一资源扣除请求是所述第一支付应用的服务器响应于所述目标商户的服务器发送的第三资源扣除请求而生成的资源扣除请求,所述第三资源扣除请求为所述目标商户的服务器根据与所述第一签约标识对应的用户行程信息而生成的,所述第三资源扣除请求携带有所述第一签约标识及根据所述用户行程信息而生成的所述交易信息。The method according to claim 13, wherein the first resource deduction request is a resource deduction request generated by the server of the first payment application in response to a third resource deduction request sent by the server of the target merchant. 3. The resource deduction request is generated by the server of the target merchant according to the user itinerary information corresponding to the first subscription identifier, and the third resource deduction request carries the first subscription identifier and is based on the user itinerary information And the generated transaction information.
  15. 一种签约装置,包括:A signing device, including:
    第一获取模块,用于获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;The first obtaining module is configured to obtain a first sign-up request for a first account in a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; 1. The service provider of the payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    第二获取模块,用于获取所述第一账户的针对所述服务协议的第一签约授权信息;The second obtaining module is configured to obtain the first contract authorization information for the service agreement of the first account;
    第一发送模块,用于发送所述第一签约授权信息至所述第一支付应用的服务器;A first sending module, configured to send the first subscription authorization information to the server of the first payment application;
    第一接收模块,用于接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识;A first receiving module, configured to receive a first contract identifier generated by the server of the first payment application based on the first contract authorization information;
    第二账户确定模块,用于确定与所述第一账户对应的第二账户,所述第二账户为第 二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商;The second account determination module is configured to determine a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is the second Registrar of the country;
    第二签约授权信息生成模块,用于生成所述第二账户的针对所述服务协议的第二签约授权信息;A second contract authorization information generating module, configured to generate second contract authorization information for the service agreement of the second account;
    第二发送模块,用于发送所述第二签约授权信息至所述第二支付应用的服务器;A second sending module, configured to send the second contract authorization information to the server of the second payment application;
    第二接收模块,用于接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识;A second receiving module, configured to receive a second contract identifier generated by the server of the second payment application based on the second contract authorization information;
    关联关系数据生成模块,用于生成所述第一签约标识与所述第二签约标识之间的关联关系数据;以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。The association relationship data generation module is configured to generate association relationship data between the first contract identification and the second contract identification; so as to facilitate based on the association relationship data, according to the target merchant’s information regarding the second account The resource deduction request is deducted from the account resource of the first account.
  16. 一种账户创建装置,包括:An account creation device includes:
    触发操作获取模块,用于获取用户的触发操作;The trigger operation acquisition module is used to acquire the user's trigger operation;
    第一签约请求生成模块,用于基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;The first subscription request generation module is configured to generate a first subscription request for a first account in a first payment application based on a trigger operation of the user, where the first subscription request is used to request the establishment of the first account and the target Service agreement between merchants; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    第一签约请求发送模块,用于发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商;The first contract request sending module is configured to send the first contract request to a target server, so that the target server can generate association relationship data between a first contract ID and a second contract ID, where the first contract ID is The contract identifier of the first account for the target merchant, and the second contract identifier is the contract identifier of the second account corresponding to the first account at the second payment application for the target merchant, so The service provider of the second payment application is a registrar in the second country;
    账户创建请求生成模块,用于当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户;The account creation request generation module is configured to generate an account creation request after it is determined that the target server has generated the association relationship data, and the account creation request is used to request the creation of a third account of the user at the target merchant ;
    接收模块,用于接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。The receiving module is configured to receive account information of the third account, so that the user can use the first payment application to generate a payment code image corresponding to the account information.
  17. 如权利要求16所述的装置,所述触发操作获取模块,具体用于:The device according to claim 16, wherein the trigger operation acquisition module is specifically configured to:
    获取用户对终端设备上的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的;Acquiring the user's trigger operation on the target merchant icon in the application interface of the target applet on the terminal device, the target applet being started in the first payment application with the first account logged in;
    所述第一签约请求生成模块,具体用于:The first subscription request generating module is specifically configured to:
    获取所述目标小程序基于所述触发操作而生成的对所述第一支付应用的签约接口的调用请求;Acquiring a call request to the contract interface of the first payment application generated by the target applet based on the trigger operation;
    根据所述调用请求,生成所述第一支付应用处的所述第一账户的第一签约请求。According to the call request, a first subscription request for the first account at the first payment application is generated.
  18. 如权利要求17所述的装置,所述账户创建请求生成模块,具体用于:The apparatus according to claim 17, wherein the account creation request generation module is specifically configured to:
    当所述目标小程序确定所述目标服务器已生成所述关联关系数据后,生成针对所述目标商户处的第一账户创建请求,所述第一账户创建请求中携带有所述目标商户的商户标识及所述目标小程序处的第四账户的账户标识;After the target applet determines that the target server has generated the association relationship data, it generates a first account creation request for the target merchant, and the first account creation request carries the target merchant's merchant Identification and the account identification of the fourth account at the target applet;
    所述装置还包括:The device also includes:
    第一账户创建请求发送模块,用于发送所述第一账户创建请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一账户创建请求生成第二账户创建请求,并基于所述第二支付应用的服务器将所述第二账户创建请求发送至所述目标商户的服务器;其中,所述第二账户创建请求中携带有所述第二账户的账户标识及所述第二签约标识;The first account creation request sending module is configured to send the first account creation request to the server of the target applet, so that the server of the target applet can generate a second account creation request according to the first account creation request , And send the second account creation request to the server of the target merchant based on the server of the second payment application; wherein, the second account creation request carries the account identifier of the second account and all The second sign of signing;
    所述接收模块,具体用于:The receiving module is specifically used for:
    接收所述目标商户的服务器响应于所述第二账户创建请求而生成的第三账户。Receiving the third account generated by the server of the target merchant in response to the second account creation request.
  19. 一种支付码图像生成装置,包括:A payment code image generating device, including:
    触发操作获取模块,用于获取用户的触发操作;The trigger operation acquisition module is used to acquire the user's trigger operation;
    请求生成模块,用于基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;The request generation module is configured to generate a first payment code information acquisition request for a target account at a target merchant based on the trigger operation, the target account being created by the user based on the first account at the first payment application, the The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    发送模块,用于发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商;A sending module, configured to send the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request The second payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the information of the second account corresponding to the first account at the second payment application An account identifier, the service provider of the second payment application is a registrar in the second country;
    接收模块,用于接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息;A receiving module, configured to receive payment code information generated by the server of the target merchant in response to the second payment code information acquisition request;
    支付码图像生成模块,用于根据所述支付码信息,生成支付码图像。The payment code image generating module is used to generate a payment code image according to the payment code information.
  20. 如权利要求19所述的装置,所述触发操作获取模块,具体用于:The device according to claim 19, wherein the trigger operation acquisition module is specifically configured to:
    获取用户对终端设备中的目标小程序的应用界面中的目标商户图标的触发操作,所述目标小程序是在登录有第一账户的第一支付应用中启动的,述目标小程序处存储有与所述目标商户图标对应的目标商户处的目标账户;Acquire the user's trigger operation on the target merchant icon in the application interface of the target applet in the terminal device. The target applet is started in the first payment application with the first account logged in, and the target applet is stored at The target account at the target merchant corresponding to the target merchant icon;
    所述请求生成模块,具体用于:The request generation module is specifically used for:
    基于所述触发操作,生成携带有所述目标账户的账户标识及所述目标小程序处的第三账户的账户标识的第一支付码信息获取请求;Based on the trigger operation, generating a first payment code information acquisition request carrying the account identification of the target account and the account identification of the third account at the target applet;
    所述发送模块,具体用于:The sending module is specifically used for:
    发送所述第一支付码信息获取请求至所述目标小程序的服务器,以便于所述目标小程序的服务器根据所述第一支付码信息获取请求生成第二支付码信息获取请求,并基于所述第二支付应用的服务器发送所述第二支付码信息获取请求至所述目标商户的服务器;Send the first payment code information acquisition request to the server of the target applet, so that the server of the target applet can generate a second payment code information acquisition request based on the first payment code information acquisition request. The server of the second payment application sends the second payment code information acquisition request to the server of the target merchant;
    所述支付码图像生成模块,具体包括:The payment code image generation module specifically includes:
    支付码图像生成单元,用于所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付码图像。The payment code image generating unit is used for the target applet to invoke the software development kit of the first payment application according to the payment code information to generate a payment code image.
  21. 如权利要求20所述的装置,所述支付码图像生成单元,具体用于:The device according to claim 20, wherein the payment code image generating unit is specifically configured to:
    所述目标小程序根据所述支付码信息,调用所述第一支付应用的软件开发工具包以生成支付二维码图像,以便于所述用户使用所述支付二维码图像在所述目标商户的公共交通工具处进行支付。The target applet calls the software development kit of the first payment application according to the payment code information to generate a payment QR code image, so that the user can use the payment QR code image in the target merchant Of public transportation.
  22. 一种资源扣除装置,包括:A resource deduction device, including:
    获取模块,用于从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户;The obtaining module is configured to obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account in the first payment application, The first resource deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is the target merchant. Registered merchants in the first country;
    确定模块,用于确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商;The determining module is configured to determine a second contract identification corresponding to the first contract identification, the second contract identification being a contract identification of the second account for the target merchant, and the second account being a second payment application The account corresponding to the first account at, and the service provider of the second payment application is a registrar in the second country;
    请求生成模块,用于根据所述第二签约标识及所述交易信息,生成第二资源扣除请求;A request generation module, configured to generate a second resource deduction request according to the second contract identifier and the transaction information;
    发送模块,用于发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。The sending module is configured to send the second resource deduction request to the server of the second payment application, so that the server of the second payment application can check the second payment application according to the second contract identifier and the transaction information. The account resources of the account are deducted from resources.
  23. 一种签约设备,包括:A contracted device, including:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个 处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can:
    获取第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;Acquire a first sign-up request for a first account at a first payment application, where the first sign-up request is used to request the establishment of a service agreement between the first account and a target merchant; the service provider of the first payment application is Registrar in the first country, the target merchant is a registered merchant in the second country;
    获取所述第一账户的针对所述服务协议的第一签约授权信息;Acquiring first contract authorization information for the service agreement of the first account;
    发送所述第一签约授权信息至所述第一支付应用的服务器;Sending the first subscription authorization information to the server of the first payment application;
    接收所述第一支付应用的服务器基于所述第一签约授权信息而生成的第一签约标识;Receiving the first subscription identifier generated by the server of the first payment application based on the first subscription authorization information;
    确定与所述第一账户对应的第二账户,所述第二账户为第二支付应用处的注册账户,所述第二支付应用的服务商为所述第二国家的注册服务商;Determining a second account corresponding to the first account, where the second account is a registered account at a second payment application, and the service provider of the second payment application is a registrar in the second country;
    生成所述第二账户的针对所述服务协议的第二签约授权信息;Generating second contract authorization information for the service agreement of the second account;
    发送所述第二签约授权信息至所述第二支付应用的服务器;Sending the second contract authorization information to the server of the second payment application;
    接收所述第二支付应用的服务器基于所述第二签约授权信息而生成的第二签约标识;Receiving the second contract identifier generated by the server of the second payment application based on the second contract authorization information;
    生成所述第一签约标识与所述第二签约标识之间的关联关系数据,以便于基于所述关联关系数据,根据所述目标商户的针对所述第二账户的资源扣除请求,去扣除所述第一账户的账户资源。The association relationship data between the first contract identification and the second contract identification is generated, so that based on the association relationship data, the target merchant’s resource deduction request for the second account can be deducted. Describe the account resources of the first account.
  24. 一种账户创建设备,包括:An account creation device, including:
    获取用户的触发操作;Get the user's trigger operation;
    基于所述用户的触发操作,生成第一支付应用处的第一账户的第一签约请求,所述第一签约请求用于请求建立所述第一账户与目标商户之间的服务协议;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;Generating a first sign-up request for a first account at a first payment application based on the triggering operation of the user, where the first sign-up request is used to request the establishment of a service agreement between the first account and the target merchant; The service provider of the first payment application is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    发送所述第一签约请求至目标服务器,以便于所述目标服务器生成第一签约标识与第二签约标识之间的关联关系数据,所述第一签约标识为所述第一账户的针对所述目标商户的签约标识,所述第二签约标识为第二支付应用处的与所述第一账户对应的第二账户的针对所述目标商户的签约标识,所述第二支付应用的服务商为所述第二国家的注册服务商;Send the first subscription request to the target server, so that the target server generates the association relationship data between the first subscription identifier and the second subscription identifier, where the first subscription identifier is the address of the first account for the The contract identification of the target merchant, the second contract identification is the contract identification of the second account corresponding to the first account at the second payment application for the target merchant, and the service provider of the second payment application is Registrar of said second country;
    当确定所述目标服务器已生成所述关联关系数据后,生成账户创建请求,所述账户创建请求用于请求创建所述用户在所述目标商户处的第三账户;After determining that the target server has generated the association relationship data, generate an account creation request, where the account creation request is used to request the creation of a third account of the user at the target merchant;
    接收所述第三账户的账户信息,以便于所述用户利用所述第一支付应用生成与所述账户信息对应的支付码图像。The account information of the third account is received, so that the user uses the first payment application to generate a payment code image corresponding to the account information.
  25. 一种支付码图像生成设备,包括:A payment code image generating device, including:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can:
    获取用户的触发操作;Get the user's trigger operation;
    基于所述触发操作,生成针对目标商户处的目标账户的第一支付码信息获取请求,所述目标账户是用户基于第一支付应用处的第一账户创建的,所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为第二国家的注册商户;Based on the trigger operation, a first payment code information acquisition request for a target account at a target merchant is generated, the target account is created by the user based on the first account at the first payment application, and the service of the first payment application The merchant is a registrar in the first country, and the target merchant is a registered merchant in the second country;
    发送所述第一支付码信息获取请求至指定服务器,以便于所述指定服务器基于所述第一支付码信息获取请求向所述目标商户的服务器发送第二支付码信息获取请求;所述第二支付码信息获取请求携带有所述目标账户的账户信息,所述第二支付码信息获取请求还携带有第二支付应用处的与所述第一账户对应的第二账户的账户标识,所述第二支付应用的服务商为所述第二国家的注册服务商;Sending the first payment code information acquisition request to a designated server, so that the designated server sends a second payment code information acquisition request to the server of the target merchant based on the first payment code information acquisition request; the second The payment code information acquisition request carries the account information of the target account, and the second payment code information acquisition request also carries the account identifier of the second account corresponding to the first account at the second payment application, the The service provider of the second payment application is a registrar in the second country;
    接收所述目标商户的服务器响应于所述第二支付码信息获取请求而生成的支付码信息;Receiving the payment code information generated by the server of the target merchant in response to the second payment code information acquisition request;
    根据所述支付码信息,生成支付码图像。According to the payment code information, a payment code image is generated.
  26. 一种资源扣除设备,包括:A resource deduction device, including:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can:
    从第一支付应用的服务器处获取第一资源扣除请求,所述第一资源扣除请求携带有所述第一支付应用处的第一账户的针对目标商户的第一签约标识,所述第一资源扣除请求还携带有所述目标商户的与所述第一账户对应的交易信息;所述第一支付应用的服务商为第一国家的注册服务商,所述目标商户为所述第一国家的注册商户;Obtain a first resource deduction request from the server of the first payment application, where the first resource deduction request carries the first contract identifier for the target merchant of the first account at the first payment application, and the first resource The deduction request also carries transaction information of the target merchant corresponding to the first account; the service provider of the first payment application is a registrar in the first country, and the target merchant is a registrar in the first country. Registered merchant
    确定与所述第一签约标识对应的第二签约标识,所述第二签约标识为第二账户的针对所述目标商户的签约标识,所述第二账户为第二支付应用处的与所述第一账户对应的账户,所述第二支付应用的服务商为第二国家的注册服务商;Determine a second contract ID corresponding to the first contract ID, where the second contract ID is the contract ID of the second account for the target merchant, and the second account is the contract ID of the second payment application. The account corresponding to the first account, and the service provider of the second payment application is a registrar in the second country;
    根据所述第二签约标识及所述交易信息,生成第二资源扣除请求;Generate a second resource deduction request according to the second contract identifier and the transaction information;
    发送所述第二资源扣除请求至所述第二支付应用的服务器,以便于所述第二支付应 用的服务器根据所述第二签约标识及所述交易信息对所述第二账户的账户资源进行资源扣除。Send the second resource deduction request to the server of the second payment application, so that the server of the second payment application performs the account resources of the second account according to the second contract identifier and the transaction information Resource deduction.
PCT/CN2020/137993 2020-01-21 2020-12-21 Subscription method, apparatus and device WO2021147589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010069247.4A CN111260344B (en) 2020-01-21 2020-01-21 Signing method, device and equipment
CN202010069247.4 2020-01-21

Publications (1)

Publication Number Publication Date
WO2021147589A1 true WO2021147589A1 (en) 2021-07-29

Family

ID=70954675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/137993 WO2021147589A1 (en) 2020-01-21 2020-12-21 Subscription method, apparatus and device

Country Status (2)

Country Link
CN (1) CN111260344B (en)
WO (1) WO2021147589A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704611A (en) * 2021-08-27 2021-11-26 北京易华录信息技术股份有限公司 Resource processing method and device, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260344B (en) * 2020-01-21 2022-04-29 支付宝(杭州)信息技术有限公司 Signing method, device and equipment
CN114493567A (en) * 2022-01-10 2022-05-13 支付宝实验室(新加坡)有限公司 Resource sending method, device and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160328700A1 (en) * 2015-05-05 2016-11-10 Mastercard International Incorporated Systems, methods, devices, and computer readable media for enabling direct electronic payment transfers
CN106600254A (en) * 2016-12-16 2017-04-26 天脉聚源(北京)科技有限公司 User's multi-account management method and device
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium
CN109583880A (en) * 2018-12-05 2019-04-05 深圳市爱贝信息技术有限公司 Cross-platform communication means and device and method of payment and device
US20190122222A1 (en) * 2017-10-25 2019-04-25 Edward Yoshio UECHI Computer-based system and method for payment processing
CN110533405A (en) * 2019-09-05 2019-12-03 南京喜玛拉云信息技术有限公司 Information processing method, device, system and the storage medium of cross-border mobile payment
CN110570282A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 cross-region resource transfer method, device, equipment and storage medium
CN111260344A (en) * 2020-01-21 2020-06-09 支付宝(杭州)信息技术有限公司 Signing method, device and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708987A (en) * 2013-07-08 2017-05-24 江苏凌空网络股份有限公司 Apparatus for communicating via barcode images
SG10201705868TA (en) * 2017-07-18 2019-02-27 Mastercard International Inc Electronic signature processing apparatus and methods
US20190362350A1 (en) * 2018-05-25 2019-11-28 Mastercard International Incorporated Computer system and computer-implemented method for processing an electronic commerce payment transaction
CN109035636A (en) * 2018-06-04 2018-12-18 阿里巴巴集团控股有限公司 A kind of Cash collecting equipment, a kind of cashing method and device
CN109993513A (en) * 2019-03-22 2019-07-09 北京三快在线科技有限公司 The methods, devices and systems of payment account binding bank card
CN110245936A (en) * 2019-05-14 2019-09-17 阿里巴巴集团控股有限公司 The self-service contracting method of mobile payment, device and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160328700A1 (en) * 2015-05-05 2016-11-10 Mastercard International Incorporated Systems, methods, devices, and computer readable media for enabling direct electronic payment transfers
CN106600254A (en) * 2016-12-16 2017-04-26 天脉聚源(北京)科技有限公司 User's multi-account management method and device
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium
US20190122222A1 (en) * 2017-10-25 2019-04-25 Edward Yoshio UECHI Computer-based system and method for payment processing
CN109583880A (en) * 2018-12-05 2019-04-05 深圳市爱贝信息技术有限公司 Cross-platform communication means and device and method of payment and device
CN110533405A (en) * 2019-09-05 2019-12-03 南京喜玛拉云信息技术有限公司 Information processing method, device, system and the storage medium of cross-border mobile payment
CN110570282A (en) * 2019-09-10 2019-12-13 腾讯科技(深圳)有限公司 cross-region resource transfer method, device, equipment and storage medium
CN111260344A (en) * 2020-01-21 2020-06-09 支付宝(杭州)信息技术有限公司 Signing method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113704611A (en) * 2021-08-27 2021-11-26 北京易华录信息技术股份有限公司 Resource processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111260344A (en) 2020-06-09
CN111260344B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
WO2021147589A1 (en) Subscription method, apparatus and device
WO2022218211A1 (en) Payment information processing method and apparatus, and device and medium
WO2020238230A1 (en) Method for acquiring essential information for bank card binding, system, and apparatus
WO2021103694A1 (en) Payment system and method, server device, medium and apparatus
US10742582B2 (en) Launching a client application based on a message
US20150186880A1 (en) Systems and Methods for Safe Payments
WO2018103561A1 (en) Service processing method and device
WO2021244537A1 (en) Resource transfer
TW201944315A (en) Barcode image acquiring method, device, and equipment
WO2019137353A1 (en) Payment method, apparatus and device
US20180276629A1 (en) Resource processing method and device
US20200357078A1 (en) Method, apparatus, system, and electronic device for credit tax refundment
WO2023284558A1 (en) Payment page sending based on aggregated code
WO2022237572A1 (en) Payment method and apparatus, and device
WO2024046121A1 (en) Service processing method and apparatus
TW201947485A (en) DOI-based payment method, apparatus and device
WO2019137357A1 (en) Payment code acquisition and payment request response method, apparatus and device
US20190034927A1 (en) Payment transaction processing systems and methods
US20150324796A1 (en) Device-based payment authorization
WO2021184880A1 (en) Payment method and apparatus, and electronic device
TWI732139B (en) Digital object unique identification code (DOI) display and transaction information verification method, device and equipment
WO2021208755A1 (en) Data processing and payment
RU2723459C1 (en) Method and system for payment for services
US20230024775A1 (en) Apparatus and method to facilitate transfer of consideration between individuals in a common geolocation
US20150324797A1 (en) Phone-number-based payments

Legal Events

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

Ref document number: 20916098

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20916098

Country of ref document: EP

Kind code of ref document: A1