WO2017097050A1 - Mobile payment method and apparatus - Google Patents

Mobile payment method and apparatus Download PDF

Info

Publication number
WO2017097050A1
WO2017097050A1 PCT/CN2016/103416 CN2016103416W WO2017097050A1 WO 2017097050 A1 WO2017097050 A1 WO 2017097050A1 CN 2016103416 W CN2016103416 W CN 2016103416W WO 2017097050 A1 WO2017097050 A1 WO 2017097050A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction code
payment
platform
payment platform
request
Prior art date
Application number
PCT/CN2016/103416
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 WO2017097050A1 publication Critical patent/WO2017097050A1/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]
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • 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/16Payments settled via telecommunication systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/325Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices using wireless networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/405Establishing or using transaction specific rules

Definitions

  • the present invention relates to the field of communications, and in particular, to a mobile payment method and apparatus.
  • Embodiments of the present invention provide a mobile payment method and apparatus, which can implement interworking between different payment platforms, and enable payment parties and payers using different payment platforms to complete payment.
  • a mobile payment method comprising: a conversion device receiving a payment request sent by a first payment platform, wherein the payment request carries a transaction code and an identifier of the first payment platform.
  • the conversion device determines that the transaction code corresponds to the second payment platform, the routing information is determined according to the identifier of the second payment platform, and the payment request is converted into a message format identifiable by the second payment platform according to the preset rule.
  • the converting device sends the converted payment request to the second payment platform according to the routing information, wherein the converted payment request carries the transaction code and the identifier of the first payment platform.
  • the payment request enables the payment to be made when the payee and the payer use different payment platforms.
  • the converting device determines that the transaction code corresponds to the second payment platform, and the conversion device sends the transaction code.
  • Query request to the transaction code generation platform, wherein The transaction code is carried in the transaction code query request.
  • the conversion device receives the response message returned by the transaction code generation platform, where the response message carries the identifier of the second payment platform.
  • the second payment platform can be prevented from forging and using the forged transaction code for payment. In order to ensure the security of payment.
  • the converting device determining that the transaction code corresponds to the second payment platform comprises: the conversion device determining the stored transaction code The transaction code exists in the record, wherein the transaction code record contains the correspondence between the transaction code and its payment platform.
  • the conversion device can determine whether the transaction code exists by querying the transaction code record, and can avoid the situation that the second payment platform forges and uses the forged transaction code for payment, thereby ensuring the security of the payment.
  • the payment request further carries a payment amount or an identification of the second payment platform.
  • the converted payment request further carries a payment amount or an identifier of the second payment platform.
  • the conversion device further receives payment result information returned by the second payment platform, where the payment result information
  • the identifier of the first payment platform is carried in the middle.
  • the conversion device determines the routing information according to the identifier of the first payment platform, converts the payment result information into a message format recognizable by the first payment platform according to the preset rule, and sends the converted payment result information to the first payment platform.
  • a mobile payment method including: the transaction code generation platform receives a transaction code query request sent by the conversion device, where the transaction code is carried. The transaction generation platform determines that the transaction code exists in the stored transaction code record, wherein the transaction code record includes a correspondence between the transaction code and its payment platform. The transaction code generation platform sends a response message to the conversion device, where the response message carries the identifier of the payment platform corresponding to the transaction code.
  • the transaction code generation platform before the transaction code generation platform receives the transaction code query request sent by the conversion device, the transaction code generation platform receives the transaction code request sent by the payment platform, The transaction code request carries the identifier of the payment platform; the transaction code generation platform generates a transaction code according to the identifier of the payment platform, and stores the transaction code; and sends the transaction code to the payment platform.
  • the transaction code generation platform before the transaction code generating platform receives the transaction code query request sent by the conversion device, the transaction code generation platform receives the transaction code forwarded by the conversion device.
  • the request carries the identifier of the payment platform; the transaction code generation platform generates a transaction code according to the identifier of the payment platform, and stores the transaction code; and sends the transaction code to the conversion device.
  • the transaction code generation platform generates a transaction code according to the identifier of the payment platform, and when receiving the transaction code query request sent by the conversion device, can determine whether the transaction code belongs to the payment platform according to the transaction code record, and avoids the forgery of the payment platform and the use of forgery.
  • the transaction code is used for payment, so that the security of the payment can be guaranteed.
  • the transaction code request further carries a transaction type
  • the transaction code generation platform generates a transaction according to the transaction type and the identifier of the payment platform. code.
  • the transaction code generation platform also records the time at which the transaction code request was received.
  • the transaction code generation platform further receives the payment platform to send The transaction code invalidation request, the transaction code is set to invalid.
  • the transaction code generation platform further receives the forwarding device
  • the transaction code invalidation request sets the transaction code to be invalid.
  • a conversion device including a processor, a memory, a communication interface, and a bus, and the processor is connected to the memory and the communication interface through a bus.
  • the memory is for storing instructions for the processor to execute
  • the communication interface is for communicating with the first payment platform and the second payment platform under the control of the processor.
  • a transaction code generation platform including a processor, a memory, a communication interface, and a bus, and the processor is connected to the memory and the communication interface through a bus.
  • the memory is used to store instructions
  • the processor is configured to execute the instructions
  • the communication interface is used Communicate with the conversion device.
  • the processor executes the instructions stored in the memory, the processor is caused to perform the method described in the second aspect.
  • a computer readable storage medium wherein executable program code is stored, the program code for implementing the method of the first aspect.
  • a computer readable storage medium wherein executable program code is stored, the program code for implementing the method of the second aspect.
  • a conversion device comprising means for performing the method of the first aspect.
  • a transaction code generation platform comprising means for performing the method of the second aspect.
  • a ninth aspect provides a mobile payment method, including: a payment platform sending a transaction code request, where the identifier of the payment platform is carried; the payment platform receiving a transaction code response, wherein the transaction code is carried; Transmitting a transaction code to generate an expiration date, associating the transaction code with a user account; the payment platform receiving a payment request, wherein the transaction code is carried; the payment platform verifying the transaction code carried in the payment request, including verifying the legality of the transaction code Whether the transaction code is within the validity period; after the transaction code carried in the payment request is verified, the payment platform sets the transaction code to be invalid.
  • the payment platform further associates the interval between the transaction code and the payment amount.
  • the payment request further carries a payment amount
  • the payment platform further verifies whether the payment amount is in the payment amount. Within the interval.
  • a payment platform including a processor, a memory, a communication interface, and a bus, and the processor is connected to the memory and the communication interface through a bus.
  • the memory is for storing instructions for execution by the processor
  • the communication interface is for communicating with the conversion device under the control of the processor.
  • a computer readable storage medium wherein executable program code is stored, the program code for implementing the method of the ninth aspect.
  • a payment platform comprising means for performing the method of the ninth aspect.
  • the routing information is determined according to the identifier of the second payment platform, and the payment request sent by the first payment platform is converted into the second payment platform.
  • the identifiable message format enables the first payment platform to process the payment request initiated by the payer through the second payment platform, thereby realizing the payment when the payee and the payer use different payment platforms.
  • querying the transaction code record to determine whether the transaction code exists it can avoid the situation that the second payment platform forges and uses the forged transaction code to make payment, thereby ensuring the security of payment.
  • FIG. 1 is a schematic diagram of a network architecture 100 to which an embodiment of the present invention is applied;
  • FIG. 2 is a schematic diagram showing the hardware structure of a computer device 200 according to an embodiment of the invention.
  • FIG. 3 is an exemplary flowchart of a mobile payment method 300 in accordance with an embodiment of the present invention.
  • FIG. 4 is an exemplary signaling diagram of a mobile payment method 400 in accordance with an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a conversion device 500 according to an embodiment of the invention.
  • FIG. 6 is a schematic structural diagram of a transaction code generation platform 600 according to an embodiment of the invention.
  • FIG. 1 is a schematic diagram of a network architecture 100 to which an embodiment of the present invention is applied.
  • the payer device 101 can be a mobile terminal, and can be a mobile phone or a PDA.
  • the payee device 104 can be a point of sales terminal and a mobile terminal.
  • the first payment platform 102 can be a server and a second payment platform.
  • 105 can be a server, the translation device 106 can be a HUB, and the conversion device 106 can implement message conversion and message routing.
  • the transaction code generation platform 103 can be deployed independently. In this case, it is a server, and can also be combined with the conversion device 106, and can also be combined with the second payment platform 105.
  • the payee uses the first payment platform 102 and the payer uses the second payment platform 105.
  • the payment party can be made to pay through the second payment platform 105 by installing an application corresponding to the second payment platform 105 on the payer device 101.
  • Payment can be made by the first payment platform 102 by installing an application corresponding to the first payment platform 102 on the payee device 104.
  • the payer device 101 applies for the transaction code to the transaction code generation platform 103 via the second payment platform 105, and then uses the transaction code to make a payment to the payee device 104.
  • the payee device 104 collects the transaction code and initiates a payment request to the first payment platform 102.
  • the first payment platform 102 initiates a payment request to the conversion device 106, and the conversion device 106 queries the transaction code generation platform 103 for the transaction code.
  • the payment request is converted into the second payment platform 102.
  • the identifiable message format is sent to the second payment platform 105.
  • the second payment platform 105 completes the payment after verifying the transaction code and the payment amount.
  • FIG. 2 is a schematic diagram showing the hardware structure of a computer device 200 according to an embodiment of the invention.
  • computer device 200 includes a processor 202, a memory 204, a communication interface 206, and a bus 208.
  • the processor 202, the memory 204, and the communication interface 206 implement a communication connection with each other through the bus 208.
  • the processor 202 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 204 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • the memory 204 can store an operating system 2041 and other applications 2042.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 204 and executed by the processor 202.
  • Communication interface 206 enables communication with other devices or communication networks using transceivers such as, but not limited to, transceivers.
  • Bus 208 can include a path for communicating information between various components (e.g., processor 202, memory 204, communication interface 206).
  • the processor 202 is configured to receive a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform; After the second payment platform is configured, the routing information is determined according to the identifier of the second payment platform, and the payment request is converted into a message format identifiable by the second payment platform according to the preset rule; and the conversion is sent according to the routing information. The subsequent payment request is sent to the second payment platform, and the converted payment request carries the transaction code and the identifier of the first payment platform.
  • the processor 202 is configured to execute a transaction code query request sent by the receiving conversion device, where the transaction code is carried, and the transaction code is stored in the stored transaction code record, and the transaction code record is recorded.
  • the corresponding relationship between the transaction code and the payment platform to which the transaction code belongs is sent; the response message is sent to the conversion device, and the response message carries the identifier of the payment platform corresponding to the transaction code.
  • the mobile payment method 300 can be performed by the conversion device 106 and the transaction code generation platform 103 of FIG.
  • the conversion device receives a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform.
  • the payment request also carries the payment amount or the identifier of the second payment platform.
  • the conversion device sends a transaction code query request to a transaction code generation platform, where the transaction code query request carries the transaction code.
  • the transaction code generation platform receives a transaction code query request sent by the conversion device, where the transaction code is carried.
  • the transaction code is generated by a transaction code generation platform, and the transaction code generation platform stores a transaction code record, where the correspondence between the transaction code and its payment platform is included.
  • the transaction code generation platform queries the stored transaction code record to determine whether the transaction code exists.
  • the transaction code generation platform receives the transaction code request sent by the payment platform and carries the identifier of the payment platform, generates a transaction code according to the identifier of the payment platform, and stores the generated transaction code.
  • the transaction code is sent to the payment platform.
  • the transaction code generating platform receives the transaction code request sent by the second payment platform, where the identifier of the second payment platform is carried, and the identifier of the second payment platform is generated according to the identifier of the second payment platform.
  • the transaction code stores and sends the transaction code to the second payment platform.
  • the transaction code generation platform receives the transaction code request forwarded by the conversion device, where the transaction code request carries the identifier of the payment platform; the transaction code generation platform generates the identifier according to the payment platform. Transaction code, and store the transaction code; send the transaction code to the conversion device.
  • the second payment platform sends a transaction code request to the conversion device, where the identifier of the second payment platform is carried, and the conversion device forwards the transaction code request to the transaction code generation platform, and the transaction code generation platform is The identifier of the second payment platform generates a transaction code, stores and transmits the transaction code to the conversion device, and the conversion device forwards the transaction code to the second payment platform.
  • the transaction code request further carries a transaction type
  • the transaction code generation platform generates the transaction code according to the transaction type and the identifier of the payment platform.
  • the transaction types include withdrawals, payments, and so on.
  • the transaction code generation platform when the transaction code request carries the transaction type, the transaction code generation platform generates the transaction code according to the transaction type and the identifier of the second payment platform.
  • the transaction code generation platform also records the time when the transaction code request is received, so that the generated transaction code can be sorted by time to manage the transaction code.
  • the transaction code generation platform sends a response message to the conversion device, where the response message carries an identifier of the payment platform corresponding to the transaction code.
  • the response message carries the identifier of the second payment platform.
  • the transaction code generation platform further receives The transaction code invalidation request sent by the payment platform, and the transaction code is invalidated. This prevents the transaction code from being reused and improves the security of the transaction.
  • the transaction code generation platform further receives the transaction code invalidation request forwarded by the conversion device, and sets the transaction code to be invalid.
  • the second payment platform sends the transaction code invalidation request to the conversion device, and the conversion device forwards the transaction code invalidation request to the transaction code generation platform.
  • the conversion device receives the response message returned by the transaction code generation platform, where the response message carries the identifier of the second payment platform.
  • the conversion device determines routing information according to the identifier of the second payment platform, and converts the payment request to a message format recognizable by the second payment platform according to a preset rule.
  • the conversion device stores a routing table.
  • the converting device converts the payment request into a message format identifiable by the second payment platform by using a preset rule according to the identifier of the first payment platform and the identifier of the second payment platform. Since the message formats of the first payment platform and the second payment platform are different, the payment request sent by the first payment platform is converted to enable the second payment platform to recognize.
  • the payment request sent by the first payment platform to the conversion device is
  • the payment request sent by the conversion device to the second payment platform is
  • the conversion device sends the converted payment request to the second payment platform according to the routing information, where the converted payment request carries the transaction code and the identifier of the first payment platform.
  • the converted payment request further carries a payment amount or an identifier of the second payment platform.
  • the converting device further receives the payment result information returned by the second payment platform,
  • the payment result information carries the identifier of the first payment platform; the routing information is determined according to the identifier of the first payment platform, and the preset rule is adopted according to the identifier of the first payment platform and the identifier of the second payment platform. Converting the payment result information into a message format identifiable by the first payment platform, and transmitting the converted payment result information to the first payment platform.
  • the transaction code generation platform is combined with the conversion device, and the transaction code is generated by the conversion device, and S304-S308 is replaced by:
  • the conversion device determines that the transaction code exists in the stored transaction code record, and the transaction code record includes a correspondence between the transaction code and its payment platform.
  • the transaction code generation platform is combined with the second payment platform, and the transaction code is generated by the second payment platform, and S302-S306 is replaced by:
  • the conversion device receives the payment request sent by the first payment platform, and the payment request carries the transaction code, the identifier of the first payment platform, and the identifier of the second payment platform.
  • the routing information is determined according to the identifier of the second payment platform, and the payment request sent by the first payment platform is converted into a message format identifiable by the second payment platform, so that the first payment platform can Processing the payment request initiated by the payer through the second payment platform enables the payment to be made when the payee and the payer use different payment platforms.
  • the transaction code record to determine whether the transaction code exists, it can avoid the situation that the second payment platform forges and uses the forged transaction code to make payment, thereby ensuring the security of payment.
  • the transaction code generation platform is independently deployed for explanation.
  • the mobile payment method 400 can be executed by the payer device 101, the first payment platform 102, the transaction code generation platform 103, the payee device 104, the second payment platform 105, and the conversion device 106 in FIG. .
  • the conversion device 106 is described as a HUB.
  • the payer device sends a request for requesting a transaction code to the second payment platform, where the payment party account information and the transaction type are carried, and optionally, the interval of the payment amount is also carried, for example, 100 to 200 yuan.
  • the payer account is the account of the payer on the second payment platform.
  • the second payment platform sends a request for requesting a transaction code to the transaction code generation platform, where the transaction type and the identifier of the second payment platform are carried.
  • the transaction code generation platform generates a transaction code for a single payment according to the transaction type and the identifier of the second payment platform.
  • the transaction code generation platform returns the transaction code to the second payment platform.
  • the second payment platform generates an expiration date for the transaction code, and associates the transaction code with the payer account to perform payment verification.
  • the second payment platform further associates the transaction code with the interval of the payment amount.
  • the second payment platform sends the transaction code to the payer device.
  • the payer device provides the transaction code to the payee device for payment.
  • the payer device also provides an identification of the second payment platform to the payee device.
  • the payee device collects the transaction code provided by the payer device, and sends a payment request to the first payment platform, where the transaction code and the payment amount are carried, and optionally, the identifier of the second payment platform is also carried.
  • the payee device can collect the transaction code provided by the payer device through the installed application, the SIM Tool Kit (STK), and the Short Message Service (SMS).
  • STK SIM Tool Kit
  • SMS Short Message Service
  • the first payment platform creates a payment order for transferring a specified amount from the account of the second payment platform to the payee account, where the account of the second payment platform is an account of the second payment platform on the first payment platform.
  • the party account is the account of the payee on the first payment platform.
  • the first payment platform initiates a payment request to the HUB, where the transaction code, the payment amount, and the identifier of the first payment platform are carried, and optionally, the identifier of the second payment platform is also carried.
  • the HUB initiates a transaction code query request to the transaction code generation platform.
  • the transaction code generation platform queries the transaction code record, and determines that the transaction code belongs to the second payment platform.
  • the transaction code generation platform returns a query result, where the identifier of the second payment platform is carried, optionally, and the transaction type is also carried.
  • the creation of the payment order may be completed by the identifier of the second payment platform returned by the HUB.
  • the HUB queries the routing table according to the identifier of the second payment platform, and determines that the payment request should be sent to the second payment platform. And according to the identifier of the first payment platform and the identifier of the second payment platform, the payment request is converted into a message format recognizable by the second payment platform by using a preset rule.
  • the HUB sends the converted payment request to the second payment platform, where the transaction code, the payment amount, and the identifier of the first payment platform are carried.
  • the identifier of the second payment platform is also carried.
  • the second payment platform verifies the transaction code, including: verifying the legality of the transaction code, and whether the transaction code is within the validity period. Wherein, verifying the legality of the transaction code includes verifying whether the transaction code is bound to a valid payer account or whether the transaction type is consistent. Optionally, it is also verified whether the payment amount is consistent with the interval of the payment amount carried in the application transaction code request sent by the payment device.
  • the second payment platform sets the transaction code to be invalid, and sends a transaction code invalidation request to the transaction code generation platform.
  • the transaction code generation platform sets the transaction code to be invalid.
  • the second payment platform creates and completes the payment order, and transfers the specified amount from the payer account to the account of the first payment platform.
  • the account of the first payment platform is an account of the first payment platform on the second payment platform.
  • the second payment platform also generates a second statement.
  • the second payment platform returns the payment result information to the HUB, where the identifier of the first payment platform and the identifier of the second payment platform are carried.
  • the HUB queries the routing table according to the identifier of the first payment platform, and determines that the payment result information should be sent to the first payment platform. And according to the identifier of the first payment platform and the identifier of the second payment platform, the payment result information is converted into a message format recognizable by the first payment platform by using a preset rule.
  • the HUB sends the converted payment result information to the first payment platform.
  • the identifier of the second payment platform is carried.
  • the first payment platform may determine that the second payment platform has completed transferring the specified amount from the payer account to the account of the first payment platform.
  • the first payment platform proceeds to execute the payment order created in S409, transfers the specified amount from the account of the second payment platform to the payee account, and generates a first statement.
  • the first payment platform notifies the payee that the payment is successful, and the second payment platform notifies the paying party that the payment is successful, and optionally, may be notified by sending a short message.
  • the first payment platform and the second payment platform perform clearing by exchanging the first statement generated in S423 and the second statement generated in S419.
  • the actual fund transfer is realized by the first payment platform and the second payment platform and the bank's docking interaction: the second payment platform transfers the bank account of the second bank to the account of the second payment platform on the first payment platform; the first payment The account of the platform on the second payment platform is transferred to the bank account of the first payment platform at the first bank.
  • the transaction code generation platform is combined with the conversion device, and the above S402-S404 is replaced by:
  • the second payment platform sends a request for the transaction code to the HUB, where the transaction type and the identifier of the second payment platform are carried.
  • the HUB generates a transaction code for a single payment according to the transaction type and the identifier of the second payment platform.
  • the HUB returns the transaction code to the second payment platform.
  • the HUB queries the transaction code record to determine that the transaction code belongs to the second payment platform.
  • the transaction code generation platform is combined with the second payment platform, and S402-S404 is replaced by:
  • the second payment platform generates a transaction code for a single payment based on the transaction type and the identity of the second payment platform.
  • the first payment platform initiates a payment request to the HUB, where the transaction code, the payment amount, the identifier of the first payment platform, and the identifier of the second payment platform are carried.
  • S402, S404, and S417 are replaced by:
  • the second payment platform sends a request for requesting a transaction code to the HUB, where the transaction type and the identifier of the second payment platform are carried, and the HUB forwards the request to the transaction code generation platform.
  • the transaction code generation platform returns the transaction code to the HUB, and the HUB returns the transaction code to the second payment platform.
  • the second payment platform sets the transaction code to be invalid, sends a transaction code invalidation request to the HUB, and the HUB forwards the request to the transaction code generation platform.
  • FIG. 5 is a schematic structural diagram of a conversion device 500 according to an embodiment of the invention.
  • the conversion device 500 includes a receiving module 502, a processing module 504, and a transmitting module 506.
  • the conversion device 500 is the conversion device 106 shown in FIG. 1 or the computer device 200 in FIG.
  • the receiving module 502 is configured to receive a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform;
  • the processing module 504 is configured to: after determining that the transaction code corresponds to the second payment platform, determine routing information according to the identifier of the second payment platform, and convert the payment request to the second payment platform according to a preset rule. Recognized message format;
  • the sending module 506 is configured to send the converted payment request to the second payment platform according to the routing information, where the converted payment request carries the transaction code and an identifier of the first payment platform.
  • the processing module 504 determines that the transaction code corresponds to the second payment platform, and includes:
  • the sending module 506 sends a transaction code query request to the transaction code generating platform, where the transaction code query request carries the transaction code;
  • the receiving module 502 receives the response message returned by the transaction code generating platform, where the response message carries the identifier of the second payment platform.
  • the processing module 504 determines that the transaction code corresponds to the second payment platform, including:
  • the processing module 504 determines that the transaction code exists in the stored transaction code record, and the transaction code record includes a correspondence between the transaction code and its payment platform.
  • the payment request further carries a payment amount or an identifier of the second payment platform.
  • the converted payment request further carries a payment amount or an identifier of the second payment platform.
  • the receiving module 502 is further configured to receive the payment result information returned by the second payment platform, where the payment result information carries the identifier of the first payment platform;
  • the processing module 504 is further configured to The identifier of the first payment platform determines routing information, and converts the payment result information to a message identifiable by the first payment platform according to the preset rule.
  • the sending module 506 is further configured to send the converted payment result information to the first payment platform.
  • the “module” may be an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor and a memory that execute one or more software or firmware programs, a combination logic circuit, and other components that provide the above functions.
  • ASIC Application Specific Integrated Circuit
  • the conversion device 500 is implemented by a computer device
  • the receiving module 502 can be implemented by a processor, a memory, and a communication interface of the computer device
  • the processing module 504 can be implemented by a processor and a memory of the computer device
  • the sending module 506 can be implemented by a processor, memory, and communication interface of a computer device.
  • FIG. 6 is a schematic structural diagram of a transaction code generation platform 600 according to an embodiment of the invention.
  • the transaction code generation platform 600 includes a receiving module 602, a processing module 604, and a transmitting module 606.
  • the transaction code generation platform 600 is the transaction code generation platform 103 shown in FIG. 1 or the computer device 200 of FIG.
  • the receiving module 602 is configured to receive a transaction code query request sent by the conversion device, where the transaction code is carried;
  • the processing module 604 is configured to determine that the transaction code exists in the stored transaction code record, where the transaction code record includes a correspondence between the transaction code and a payment platform to which the transaction code belongs;
  • the sending module 606 is configured to send a response message to the converting device, where the response message carries an identifier of the payment platform corresponding to the transaction code.
  • the receiving module 602 before the receiving module 602 receives the transaction code query request sent by the conversion device, the receiving module 602 is further configured to receive a transaction code request sent by the payment platform, where the transaction code request carries the payment.
  • the processing module 604 is further configured to generate the transaction code according to the identifier of the payment platform, and store the transaction code;
  • the sending module 606 is further configured to send the transaction code to the payment platform.
  • the transaction code request further carries a transaction type
  • the processing module 604 is configured to generate the transaction code according to the transaction type and the identifier of the payment platform.
  • the receiving module 602 is further configured to record a time when the transaction code request is received.
  • the receiving module 602 further receives a transaction code invalidation request sent by the payment platform, and the processing module 604 is further configured to use the transaction.
  • the code is set to invalid.
  • the “module” may be an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor and a memory that execute one or more software or firmware programs, a combination logic circuit, and other components that provide the above functions.
  • ASIC Application Specific Integrated Circuit
  • the transaction code generation platform 600 is implemented by a computer device
  • the receiving module 602 can be implemented by a processor, a memory, and a communication interface of the computer device
  • the processing module 604 can be implemented by a processor and a memory of the computer device.
  • the sending module 606 can pass the meter
  • the processor, memory, and communication interface of the computer device are implemented.
  • the general purpose computer architecture 200 shown in FIG. 2 only shows the processor 202, the memory 204, the communication interface 206, and the bus 208
  • the above-described conversion apparatus and The transaction code generation platform also contains other devices necessary to achieve normal operation.
  • the above-mentioned conversion device and transaction code generation platform may also include hardware devices that implement other additional functions.
  • the above-described conversion device and transaction code generation platform may also include only the devices necessary to implement the embodiments of the present invention, and do not necessarily include all of the devices shown in FIG. 2.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

An embodiment of the present invention provides a mobile payment method. The method comprises: a conversion device receives a payment request sent by a first payment platform, the payment request carrying a transaction code and an identifier of the first payment platform; after the conversion device determines that the transaction code is corresponding to a second payment platform, the conversion device determines routing information according to an identifier of the second payment platform, and converts, according to a preset rule, the payment request into a message format capable of being identified by the second payment platform; and the conversion device sends the converted payment request to the second payment platform according to the routing information, the converted payment request carrying the transaction code and the identifier of the first payment platform. The objective of making payment when a payee and a payer use different payment platforms is achieved.

Description

一种移动支付方法及装置Mobile payment method and device
本申请要求于2015年12月09日提交中国专利局、申请号为201510903425.8,发明名称为“一种移动支付方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510903425.8, entitled "A Mobile Payment Method and Apparatus", which is incorporated herein by reference. .
技术领域Technical field
本发明涉及通信领域,尤其涉及一种移动支付方法及装置。The present invention relates to the field of communications, and in particular, to a mobile payment method and apparatus.
背景技术Background technique
移动设备的普及带动了移动互联网和移动商务的发展,移动支付作为一种新兴的支付方式出现在人们的视野中。目前已有的主流移动支付平台包括两种:传统卡支付平台和非卡支付平台。传统卡支付有一套成熟的卡支付规范、标准的交互接口和良好的社会信用体系,保障了支付的安全和高效。而非卡支付的不同支付平台之间各自独立发展,平台之间不能互通,导致使用不同支付平台的收款方和付款方无法完成支付。The popularity of mobile devices has driven the development of mobile Internet and mobile commerce, and mobile payment has emerged as an emerging payment method. At present, there are two mainstream mobile payment platforms: the traditional card payment platform and the non-card payment platform. Traditional card payment has a mature card payment specification, standard interactive interface and a good social credit system to ensure the security and efficiency of payment. Different payment platforms that do not pay for cards independently develop independently, and the platforms cannot communicate with each other, resulting in the inability of payers and payers using different payment platforms to complete the payment.
发明内容Summary of the invention
本发明的实施例提供一种移动支付方法和装置,可以实现不同支付平台间的互通,能够使得使用不同支付平台的收款方和付款方完成支付。Embodiments of the present invention provide a mobile payment method and apparatus, which can implement interworking between different payment platforms, and enable payment parties and payers using different payment platforms to complete payment.
第一方面,提供了一种移动支付方法,包括:转换设备接收第一支付平台发送的支付请求,其中,支付请求携带交易码和第一支付平台的标识。在转换设备确定交易码与第二支付平台对应之后,根据第二支付平台的标识确定路由信息,根据预设规则转换支付请求为第二支付平台可识别的消息格式。转换设备根据路由信息发送转换后的支付请求到第二支付平台,其中,转换后的支付请求携带交易码和第一支付平台的标识。In a first aspect, a mobile payment method is provided, comprising: a conversion device receiving a payment request sent by a first payment platform, wherein the payment request carries a transaction code and an identifier of the first payment platform. After the conversion device determines that the transaction code corresponds to the second payment platform, the routing information is determined according to the identifier of the second payment platform, and the payment request is converted into a message format identifiable by the second payment platform according to the preset rule. The converting device sends the converted payment request to the second payment platform according to the routing information, wherein the converted payment request carries the transaction code and the identifier of the first payment platform.
通过根据第二支付平台的标识确定路由信息,并将第一支付平台发送的支付请求转换为第二支付平台可识别的消息格式,使得第一支付平台能够处理付款方通过第二支付平台发起的支付请求,实现了在收款方与付款方使用不同的支付平台时也能进行支付的目的。Determining the routing information according to the identifier of the second payment platform, and converting the payment request sent by the first payment platform into a message format identifiable by the second payment platform, so that the first payment platform can process the payment party to initiate through the second payment platform. The payment request enables the payment to be made when the payee and the payer use different payment platforms.
结合第一方面的实现方式,在第一方面第一种可能的实现方式中,当交易码由交易码生成平台生成时,转换设备确定交易码与第二支付平台对应包括:转换设备发送交易码查询请求到交易码生成平台,其中, 交易码查询请求中携带该交易码。转换设备接收交易码生成平台返回的响应消息,其中,响应消息中携带第二支付平台的标识。In conjunction with the implementation of the first aspect, in a first possible implementation manner of the first aspect, when the transaction code is generated by the transaction code generation platform, the converting device determines that the transaction code corresponds to the second payment platform, and the conversion device sends the transaction code. Query request to the transaction code generation platform, wherein The transaction code is carried in the transaction code query request. The conversion device receives the response message returned by the transaction code generation platform, where the response message carries the identifier of the second payment platform.
由于交易码由交易码生成平台生成,因此,当转换设备向交易码生成平台确认该交易码是否属于第二支付平台时,能够避免第二支付平台伪造并使用伪造的交易码进行支付的情况出现,从而能够保证支付的安全性。Since the transaction code is generated by the transaction code generation platform, when the conversion device confirms to the transaction code generation platform whether the transaction code belongs to the second payment platform, the second payment platform can be prevented from forging and using the forged transaction code for payment. In order to ensure the security of payment.
结合第一方面的实现方式,在第一方面第二种可能的实现方式中,当交易码由转换设备生成时,转换设备确定交易码与第二支付平台对应包括:转换设备确定存储的交易码记录中存在该交易码,其中,交易码记录包含交易码与其所属支付平台的对应关系。In conjunction with the implementation of the first aspect, in a second possible implementation manner of the first aspect, when the transaction code is generated by the conversion device, the converting device determining that the transaction code corresponds to the second payment platform comprises: the conversion device determining the stored transaction code The transaction code exists in the record, wherein the transaction code record contains the correspondence between the transaction code and its payment platform.
转换设备通过查询交易码记录能够确定交易码是否存在,能够避免第二支付平台伪造并使用伪造的交易码进行支付的情况出现,从而能够保证支付的安全性。The conversion device can determine whether the transaction code exists by querying the transaction code record, and can avoid the situation that the second payment platform forges and uses the forged transaction code for payment, thereby ensuring the security of the payment.
结合第一方面、第一方面的第一种至第二种可能的实现方式,在第三种可能实现的方式中,支付请求还携带支付金额或第二支付平台的标识。In conjunction with the first aspect, the first to second possible implementations of the first aspect, in a third possible implementation manner, the payment request further carries a payment amount or an identification of the second payment platform.
结合第一方面、第一方面的第一种至第三种可能的实现方式,在第四种可能实现的方式中,转换后的支付请求还携带支付金额或该第二支付平台的标识。In conjunction with the first aspect, the first to third possible implementation manners of the first aspect, in a fourth possible implementation manner, the converted payment request further carries a payment amount or an identifier of the second payment platform.
结合第一方面、第一方面的第一种至第四种可能的实现方式,在第五种可能实现的方式中,转换设备还接收第二支付平台返回的支付结果信息,其中,支付结果信息中携带第一支付平台的标识。转换设备根据第一支付平台的标识确定路由信息,根据预设规则转换支付结果信息为第一支付平台可识别的消息格式,发送转换后的支付结果信息给第一支付平台。With reference to the first aspect, the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation manner, the conversion device further receives payment result information returned by the second payment platform, where the payment result information The identifier of the first payment platform is carried in the middle. The conversion device determines the routing information according to the identifier of the first payment platform, converts the payment result information into a message format recognizable by the first payment platform according to the preset rule, and sends the converted payment result information to the first payment platform.
通过根据第一支付平台的标识确定路由信息,并将第二支付平台返回的支付结果信息转换为第一支付平台可识别的消息格式,使得第一支付平台能够将支付结果显示给收款方,提升了用户体验。Determining the routing information according to the identifier of the first payment platform, and converting the payment result information returned by the second payment platform into a message format recognizable by the first payment platform, so that the first payment platform can display the payment result to the payee. Improved user experience.
第二方面,提供了一种移动支付方法,包括:交易码生成平台接收转换设备发送的交易码查询请求,其中携带交易码。交易生成平台确定存储的交易码记录中存在该交易码,其中,交易码记录包含交易码与其所属支付平台的对应关系。交易码生成平台发送响应消息给转换设备,其中,响应消息中携带该交易码所对应的支付平台的标识。 In a second aspect, a mobile payment method is provided, including: the transaction code generation platform receives a transaction code query request sent by the conversion device, where the transaction code is carried. The transaction generation platform determines that the transaction code exists in the stored transaction code record, wherein the transaction code record includes a correspondence between the transaction code and its payment platform. The transaction code generation platform sends a response message to the conversion device, where the response message carries the identifier of the payment platform corresponding to the transaction code.
结合第二方面的实现方式,在第二方面第一种可能的实现方式中,在交易码生成平台接收转换设备发送的交易码查询请求之前,交易码生成平台接收支付平台发送的交易码请求,其中,交易码请求中携带该支付平台的标识;交易码生成平台根据支付平台的标识生成交易码,并存储该交易码;发送该交易码给该支付平台。With the implementation of the second aspect, in a first possible implementation manner of the second aspect, before the transaction code generation platform receives the transaction code query request sent by the conversion device, the transaction code generation platform receives the transaction code request sent by the payment platform, The transaction code request carries the identifier of the payment platform; the transaction code generation platform generates a transaction code according to the identifier of the payment platform, and stores the transaction code; and sends the transaction code to the payment platform.
结合第二方面的实现方式,在第二方面第二种可能的实现方式中,在所述交易码生成平台接收转换设备发送的交易码查询请求之前,交易码生成平台接收转换设备转发的交易码请求,其中携带支付平台的标识;交易码生成平台根据支付平台的标识生成交易码,并存储该交易码;发送该交易码给转换设备。In conjunction with the implementation of the second aspect, in a second possible implementation manner of the second aspect, before the transaction code generating platform receives the transaction code query request sent by the conversion device, the transaction code generation platform receives the transaction code forwarded by the conversion device. The request carries the identifier of the payment platform; the transaction code generation platform generates a transaction code according to the identifier of the payment platform, and stores the transaction code; and sends the transaction code to the conversion device.
交易码生成平台根据支付平台的标识生成交易码,在接收转换设备发送的交易码查询请求时,能够根据交易码记录来确定该交易码是否属于该支付平台,避免了支付平台伪造并使用伪造的交易码进行支付的情况出现,从而能够保证支付的安全性。The transaction code generation platform generates a transaction code according to the identifier of the payment platform, and when receiving the transaction code query request sent by the conversion device, can determine whether the transaction code belongs to the payment platform according to the transaction code record, and avoids the forgery of the payment platform and the use of forgery. The transaction code is used for payment, so that the security of the payment can be guaranteed.
结合第二方面的第一种或第二种可能的实现方式,在第三种可能实现的方式中,交易码请求中还携带交易类型,交易码生成平台根据交易类型和支付平台的标识生成交易码。In conjunction with the first or second possible implementation of the second aspect, in a third possible implementation manner, the transaction code request further carries a transaction type, and the transaction code generation platform generates a transaction according to the transaction type and the identifier of the payment platform. code.
结合第二方面的第一种至第三种可能实现的方式,在第四种可能实现的方式中,交易码生成平台还记录接收到交易码请求的时间。In conjunction with the first to third possible implementations of the second aspect, in a fourth possible implementation, the transaction code generation platform also records the time at which the transaction code request was received.
结合第二方面、第二方面的第一种至第四种可能的实现方式,在第五种可能实现的方式中,在发送响应消息给转换设备之后,交易码生成平台还接收该支付平台发送的交易码失效请求,将该交易码置为失效。With reference to the second aspect, the first to fourth possible implementation manners of the second aspect, in a fifth possible implementation manner, after the response message is sent to the conversion device, the transaction code generation platform further receives the payment platform to send The transaction code invalidation request, the transaction code is set to invalid.
结合第二方面、第二方面的第一种至第四种可能的实现方式,在第六种可能实现的方式中,在发送响应消息给转换设备之后,交易码生成平台还接收转换设备转发的交易码失效请求,将该交易码置为失效。With reference to the second aspect, the first to fourth possible implementation manners of the second aspect, in a sixth possible implementation manner, after the response message is sent to the conversion device, the transaction code generation platform further receives the forwarding device The transaction code invalidation request sets the transaction code to be invalid.
第三方面,提供了一种转换设备,包括处理器,存储器,通信接口和总线,处理器与存储器、通信接口通过总线连接。存储器用于存储指令,处理器用于执行该指令,在处理器的控制下,通信接口用于与第一支付平台和第二支付平台通信。当处理器执行存储器存储的指令时,使得处理器执行第一方面所述的方法。In a third aspect, a conversion device is provided, including a processor, a memory, a communication interface, and a bus, and the processor is connected to the memory and the communication interface through a bus. The memory is for storing instructions for the processor to execute, and the communication interface is for communicating with the first payment platform and the second payment platform under the control of the processor. When the processor executes the instructions stored in the memory, the processor is caused to perform the method described in the first aspect.
第四方面,提供了一种交易码生成平台,包括处理器,存储器,通信接口和总线,处理器与存储器、通信接口通过总线连接。存储器用于存储指令,处理器用于执行该指令,在处理器的控制下,通信接口用于 与转换设备通信。当处理器执行存储器存储的指令时,使得处理器执行第二方面所述的方法。In a fourth aspect, a transaction code generation platform is provided, including a processor, a memory, a communication interface, and a bus, and the processor is connected to the memory and the communication interface through a bus. The memory is used to store instructions, the processor is configured to execute the instructions, and under the control of the processor, the communication interface is used Communicate with the conversion device. When the processor executes the instructions stored in the memory, the processor is caused to perform the method described in the second aspect.
第五方面,提供了一种计算机可读存储介质,其中存储有可执行的程序代码,该程序代码用以实现第一方面所述的方法。In a fifth aspect, a computer readable storage medium is provided, wherein executable program code is stored, the program code for implementing the method of the first aspect.
第六方面,提供了一种计算机可读存储介质,其中存储有可执行的程序代码,该程序代码用以实现第二方面所述的方法。In a sixth aspect, a computer readable storage medium is provided, wherein executable program code is stored, the program code for implementing the method of the second aspect.
第七方面,提供了一种转换设备,包含用于执行第一方面中的方法的模块。In a seventh aspect, there is provided a conversion device comprising means for performing the method of the first aspect.
第八方面,提供了一种交易码生成平台,包含用于执行第二方面中的方法的模块。In an eighth aspect, a transaction code generation platform is provided, comprising means for performing the method of the second aspect.
第九方面,提供了一种移动支付方法,包括:支付平台发送交易码请求,其中携带所述支付平台的标识;所述支付平台接收交易码响应,其中携带交易码;所述支付平台为所述交易码生成有效期,关联所述交易码与用户账户;所述支付平台接收支付请求,其中携带交易码;所述支付平台验证所述支付请求中携带的交易码,包括验证交易码的合法性、交易码是否在有效期内;在所述支付请求中携带的交易码通过验证后,所述支付平台将所述交易码置为失效。A ninth aspect provides a mobile payment method, including: a payment platform sending a transaction code request, where the identifier of the payment platform is carried; the payment platform receiving a transaction code response, wherein the transaction code is carried; Transmitting a transaction code to generate an expiration date, associating the transaction code with a user account; the payment platform receiving a payment request, wherein the transaction code is carried; the payment platform verifying the transaction code carried in the payment request, including verifying the legality of the transaction code Whether the transaction code is within the validity period; after the transaction code carried in the payment request is verified, the payment platform sets the transaction code to be invalid.
结合第九方面的实现方式,在第九方面第一种可能的实现方式中,所述支付平台还关联所述交易码与支付金额的区间。In conjunction with the implementation of the ninth aspect, in a first possible implementation manner of the ninth aspect, the payment platform further associates the interval between the transaction code and the payment amount.
结合第九方面的第一种可能的实现方式,在第二种可能实现的方式中,所述支付请求中还携带支付金额,所述支付平台还验证所述支付金额是否在所述支付金额的区间内。With reference to the first possible implementation manner of the ninth aspect, in a second possible implementation manner, the payment request further carries a payment amount, and the payment platform further verifies whether the payment amount is in the payment amount. Within the interval.
第十方面,提供了一种支付平台,包括处理器,存储器,通信接口和总线,处理器与存储器、通信接口通过总线连接。存储器用于存储指令,处理器用于执行该指令,在处理器的控制下,通信接口用于与转换设备通信。当处理器执行存储器存储的指令时,使得处理器执行第九方面所述的方法。In a tenth aspect, a payment platform is provided, including a processor, a memory, a communication interface, and a bus, and the processor is connected to the memory and the communication interface through a bus. The memory is for storing instructions for execution by the processor, and the communication interface is for communicating with the conversion device under the control of the processor. When the processor executes the instructions stored in the memory, the processor is caused to perform the method of the ninth aspect.
第十一方面,提供了一种计算机可读存储介质,其中存储有可执行的程序代码,该程序代码用以实现第九方面所述的方法。In an eleventh aspect, a computer readable storage medium is provided, wherein executable program code is stored, the program code for implementing the method of the ninth aspect.
第十二方面,提供了一种支付平台,包含用于执行第九方面中的方法的模块。In a twelfth aspect, there is provided a payment platform comprising means for performing the method of the ninth aspect.
根据本发明实施例提供的技术方案,通过根据第二支付平台的标识确定路由信息,并将第一支付平台发送的支付请求转换为第二支付平台 可识别的消息格式,使得第一支付平台能够处理付款方通过第二支付平台发起的支付请求,实现了在收款方与付款方使用不同的支付平台时也能进行支付的目的。同时,通过查询交易码记录来确定交易码是否存在,能够避免第二支付平台伪造并使用伪造的交易码进行支付的情况出现,从而能够保证支付的安全性。According to the technical solution provided by the embodiment of the present invention, the routing information is determined according to the identifier of the second payment platform, and the payment request sent by the first payment platform is converted into the second payment platform. The identifiable message format enables the first payment platform to process the payment request initiated by the payer through the second payment platform, thereby realizing the payment when the payee and the payer use different payment platforms. At the same time, by querying the transaction code record to determine whether the transaction code exists, it can avoid the situation that the second payment platform forges and uses the forged transaction code to make payment, thereby ensuring the security of payment.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1是本发明实施例应用的网络架构100的示意图;1 is a schematic diagram of a network architecture 100 to which an embodiment of the present invention is applied;
图2是依据本发明一实施例的计算机设备200的硬件结构示意图;2 is a schematic diagram showing the hardware structure of a computer device 200 according to an embodiment of the invention;
图3是依据本发明一实施例的移动支付方法300的示范性流程图;FIG. 3 is an exemplary flowchart of a mobile payment method 300 in accordance with an embodiment of the present invention; FIG.
图4是依据本发明一实施例的移动支付方法400的示范性信令图;4 is an exemplary signaling diagram of a mobile payment method 400 in accordance with an embodiment of the present invention;
图5是依据本发明一实施例的转换设备500的结构示意图;FIG. 5 is a schematic structural diagram of a conversion device 500 according to an embodiment of the invention; FIG.
图6是依据本发明一实施例的交易码生成平台600的结构示意图。FIG. 6 is a schematic structural diagram of a transaction code generation platform 600 according to an embodiment of the invention.
具体实施方式detailed description
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for purposes of illustration and description, reference However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the invention.
图1是本发明实施例应用的网络架构100的示意图。其中付款方设备101可以为移动终端,具体可以是移动电话、PDA,收款方设备104可以为POS机(point of sales terminal)、移动终端,第一支付平台102可以为服务器,第二支付平台105可以为服务器,转换设备106可以为HUB,转换设备106能够实现消息转换和消息路由。交易码生成平台103可以独立部署,此时为服务器,也可以与转换设备106合设,还可以与第二支付平台105合设。FIG. 1 is a schematic diagram of a network architecture 100 to which an embodiment of the present invention is applied. The payer device 101 can be a mobile terminal, and can be a mobile phone or a PDA. The payee device 104 can be a point of sales terminal and a mobile terminal. The first payment platform 102 can be a server and a second payment platform. 105 can be a server, the translation device 106 can be a HUB, and the conversion device 106 can implement message conversion and message routing. The transaction code generation platform 103 can be deployed independently. In this case, it is a server, and can also be combined with the conversion device 106, and can also be combined with the second payment platform 105.
收款方使用第一支付平台102,付款方使用第二支付平台105。可以通过在付款方设备101上安装对应于第二支付平台105的应用的方式使得付款方能够通过第二支付平台105进行支付。可以通过在收款方设备104上安装对应于第一支付平台102的应用的方式使得收款方能够通过第一支付平台102进行支付。 The payee uses the first payment platform 102 and the payer uses the second payment platform 105. The payment party can be made to pay through the second payment platform 105 by installing an application corresponding to the second payment platform 105 on the payer device 101. Payment can be made by the first payment platform 102 by installing an application corresponding to the first payment platform 102 on the payee device 104.
付款方通过付款方设备101进行支付时,付款方设备101通过第二支付平台105向交易码生成平台103申请交易码,之后使用交易码向收款方设备104进行支付。收款方设备104采集该交易码,向第一支付平台102发起支付请求。第一支付平台102向转换设备106发起支付请求,转换设备106向交易码生成平台103查询该交易码,在确定该交易码属于第二支付平台105后,将支付请求转换为第二支付平台102能够识别的消息格式,发送给第二支付平台105。第二支付平台105在验证交易码和支付金额之后,完成支付。When the payer makes a payment by the payer device 101, the payer device 101 applies for the transaction code to the transaction code generation platform 103 via the second payment platform 105, and then uses the transaction code to make a payment to the payee device 104. The payee device 104 collects the transaction code and initiates a payment request to the first payment platform 102. The first payment platform 102 initiates a payment request to the conversion device 106, and the conversion device 106 queries the transaction code generation platform 103 for the transaction code. After determining that the transaction code belongs to the second payment platform 105, the payment request is converted into the second payment platform 102. The identifiable message format is sent to the second payment platform 105. The second payment platform 105 completes the payment after verifying the transaction code and the payment amount.
图2是依据本发明一实施例的计算机设备200的硬件结构示意图。如图2所示,计算机设备200包括处理器202、存储器204、通信接口206和总线208。其中,处理器202、存储器204和通信接口206通过总线208实现彼此之间的通信连接。FIG. 2 is a schematic diagram showing the hardware structure of a computer device 200 according to an embodiment of the invention. As shown in FIG. 2, computer device 200 includes a processor 202, a memory 204, a communication interface 206, and a bus 208. Among them, the processor 202, the memory 204, and the communication interface 206 implement a communication connection with each other through the bus 208.
处理器202可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 202 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs. The technical solution provided by the embodiment of the present invention is implemented.
存储器204可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器204可以存储操作系统2041和其他应用程序2042。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器204中,并由处理器202来执行。The memory 204 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 204 can store an operating system 2041 and other applications 2042. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 204 and executed by the processor 202.
通信接口206使用例如但不限于收发器一类的收发装置,来实现与其他设备或通信网络之间的通信。 Communication interface 206 enables communication with other devices or communication networks using transceivers such as, but not limited to, transceivers.
总线208可包括一通路,在各个部件(例如处理器202、存储器204、通信接口206)之间传送信息。Bus 208 can include a path for communicating information between various components (e.g., processor 202, memory 204, communication interface 206).
当计算机设备200是转换设备时,处理器202用于执行接收第一支付平台发送的支付请求,所述支付请求携带交易码和所述第一支付平台的标识;在确定所述交易码与第二支付平台对应之后,根据所述第二支付平台的标识确定路由信息,根据预设规则转换所述支付请求为所述第二支付平台可识别的消息格式;根据所述路由信息发送所述转换后的支付请求到所述第二支付平台,所述转换后的支付请求携带所述交易码和所述第一支付平台的标识。When the computer device 200 is a conversion device, the processor 202 is configured to receive a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform; After the second payment platform is configured, the routing information is determined according to the identifier of the second payment platform, and the payment request is converted into a message format identifiable by the second payment platform according to the preset rule; and the conversion is sent according to the routing information. The subsequent payment request is sent to the second payment platform, and the converted payment request carries the transaction code and the identifier of the first payment platform.
当计算机设备200是交易码生成平台时,处理器202用于执行接收转换设备发送的交易码查询请求,其中携带交易码;确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系;发送响应消息给所述转换设备,所述响应消息中携带所述交易码所对应的支付平台的标识。 When the computer device 200 is a transaction code generating platform, the processor 202 is configured to execute a transaction code query request sent by the receiving conversion device, where the transaction code is carried, and the transaction code is stored in the stored transaction code record, and the transaction code record is recorded. The corresponding relationship between the transaction code and the payment platform to which the transaction code belongs is sent; the response message is sent to the conversion device, and the response message carries the identifier of the payment platform corresponding to the transaction code.
图3是依据本发明一实施例的移动支付方法的示范性流程图。在具体实现过程中,移动支付方法300可以由图1中的转换设备106和交易码生成平台103来执行。3 is an exemplary flow chart of a mobile payment method in accordance with an embodiment of the present invention. In a specific implementation process, the mobile payment method 300 can be performed by the conversion device 106 and the transaction code generation platform 103 of FIG.
S302,转换设备接收第一支付平台发送的支付请求,所述支付请求携带交易码和所述第一支付平台的标识。S302. The conversion device receives a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform.
可选的,支付请求还携带支付金额或第二支付平台的标识。Optionally, the payment request also carries the payment amount or the identifier of the second payment platform.
S304,所述转换设备发送交易码查询请求到交易码生成平台,所述交易码查询请求中携带所述交易码。S304. The conversion device sends a transaction code query request to a transaction code generation platform, where the transaction code query request carries the transaction code.
S304,交易码生成平台接收所述转换设备发送的交易码查询请求,其中携带所述交易码。S304. The transaction code generation platform receives a transaction code query request sent by the conversion device, where the transaction code is carried.
具体的,该交易码由交易码生成平台生成,交易码生成平台存储交易码记录,其中包含交易码与其所属支付平台的对应关系。交易码生成平台查询存储的交易码记录,确定其中是否存在该交易码。Specifically, the transaction code is generated by a transaction code generation platform, and the transaction code generation platform stores a transaction code record, where the correspondence between the transaction code and its payment platform is included. The transaction code generation platform queries the stored transaction code record to determine whether the transaction code exists.
可选的,在接收到交易码查询请求之前,交易码生成平台接收支付平台发送的携带有该支付平台的标识的交易码请求,根据该支付平台的标识生成交易码,并存储生成的交易码,将该交易码发送给该支付平台。具体的,在本实施例中,交易码生成平台在接收到交易码查询请求之前,接收第二支付平台发送的交易码请求,其中携带第二支付平台的标识,根据第二支付平台的标识生成交易码,存储并发送该交易码给第二支付平台。Optionally, before receiving the transaction code query request, the transaction code generation platform receives the transaction code request sent by the payment platform and carries the identifier of the payment platform, generates a transaction code according to the identifier of the payment platform, and stores the generated transaction code. The transaction code is sent to the payment platform. Specifically, in this embodiment, before receiving the transaction code query request, the transaction code generating platform receives the transaction code request sent by the second payment platform, where the identifier of the second payment platform is carried, and the identifier of the second payment platform is generated according to the identifier of the second payment platform. The transaction code stores and sends the transaction code to the second payment platform.
可选的,在接收转换设备发送的交易码查询请求之前,交易码生成平台接收转换设备转发的交易码请求,交易码请求中携带支付平台的标识;交易码生成平台根据该支付平台的标识生成交易码,并存储该交易码;发送该交易码给该转换设备。具体的,在本实施例中,第二支付平台发送交易码请求给转换设备,其中携带第二支付平台的标识,转换设备将该交易码请求转发给交易码生成平台,交易码生成平台根据第二支付平台的标识生成交易码,存储并发送该交易码给转换设备,转换设备将该交易码转发给第二支付平台。Optionally, before receiving the transaction code query request sent by the conversion device, the transaction code generation platform receives the transaction code request forwarded by the conversion device, where the transaction code request carries the identifier of the payment platform; the transaction code generation platform generates the identifier according to the payment platform. Transaction code, and store the transaction code; send the transaction code to the conversion device. Specifically, in this embodiment, the second payment platform sends a transaction code request to the conversion device, where the identifier of the second payment platform is carried, and the conversion device forwards the transaction code request to the transaction code generation platform, and the transaction code generation platform is The identifier of the second payment platform generates a transaction code, stores and transmits the transaction code to the conversion device, and the conversion device forwards the transaction code to the second payment platform.
可选的,所述交易码请求中还携带交易类型,所述交易码生成平台根据交易类型和支付平台的标识生成所述交易码。其中,交易类型包括取款、支付等。具体的,在本实施例中,当交易码请求中携带交易类型时,交易码生成平台根据交易类型和第二支付平台的标识生成交易码。Optionally, the transaction code request further carries a transaction type, and the transaction code generation platform generates the transaction code according to the transaction type and the identifier of the payment platform. Among them, the transaction types include withdrawals, payments, and so on. Specifically, in this embodiment, when the transaction code request carries the transaction type, the transaction code generation platform generates the transaction code according to the transaction type and the identifier of the second payment platform.
可选的,交易码生成平台还记录接收到交易码请求的时间,这样,能够对生成的交易码按照时间排序,以便对交易码进行管理。Optionally, the transaction code generation platform also records the time when the transaction code request is received, so that the generated transaction code can be sorted by time to manage the transaction code.
S306,交易码生成平台发送响应消息给所述转换设备,所述响应消息中携带所述交易码所对应的支付平台的标识。S306. The transaction code generation platform sends a response message to the conversion device, where the response message carries an identifier of the payment platform corresponding to the transaction code.
在本实施例中,响应消息中携带第二支付平台的标识。In this embodiment, the response message carries the identifier of the second payment platform.
可选的,在发送响应消息给转换设备之后,交易码生成平台还接收 支付平台发送的交易码失效请求,将所述交易码置为失效。这可以防止交易码被重复使用,提高了交易的安全性。Optionally, after the response message is sent to the conversion device, the transaction code generation platform further receives The transaction code invalidation request sent by the payment platform, and the transaction code is invalidated. This prevents the transaction code from being reused and improves the security of the transaction.
可选的,在发送响应消息给转换设备之后,交易码生成平台还接收转换设备转发的交易码失效请求,将所述交易码置为失效。具体的,第二支付平台将交易码失效请求发送给转换设备,转换设备再将该交易码失效请求转发给交易码生成平台。Optionally, after sending the response message to the conversion device, the transaction code generation platform further receives the transaction code invalidation request forwarded by the conversion device, and sets the transaction code to be invalid. Specifically, the second payment platform sends the transaction code invalidation request to the conversion device, and the conversion device forwards the transaction code invalidation request to the transaction code generation platform.
S306,转换设备接收所述交易码生成平台返回的响应消息,所述响应消息中携带所述第二支付平台的标识。S306. The conversion device receives the response message returned by the transaction code generation platform, where the response message carries the identifier of the second payment platform.
S308,转换设备根据所述第二支付平台的标识确定路由信息,根据预设规则转换所述支付请求为所述第二支付平台可识别的消息格式。S308. The conversion device determines routing information according to the identifier of the second payment platform, and converts the payment request to a message format recognizable by the second payment platform according to a preset rule.
可选的,转换设备存储有路由表。Optionally, the conversion device stores a routing table.
具体的,转换设备根据第一支付平台的标识和第二支付平台的标识,通过预设规则将支付请求转换为第二支付平台可识别的消息格式。由于第一支付平台和第二支付平台的消息格式不同,因此,将第一支付平台发送的支付请求进行转换以使得第二支付平台能够识别。Specifically, the converting device converts the payment request into a message format identifiable by the second payment platform by using a preset rule according to the identifier of the first payment platform and the identifier of the second payment platform. Since the message formats of the first payment platform and the second payment platform are different, the payment request sent by the first payment platform is converted to enable the second payment platform to recognize.
例如,第一支付平台发送给转换设备的支付请求为For example, the payment request sent by the first payment platform to the conversion device is
Figure PCTCN2016103416-appb-000001
Figure PCTCN2016103416-appb-000001
Figure PCTCN2016103416-appb-000002
Figure PCTCN2016103416-appb-000002
转换设备转换后发送给第二支付平台的支付请求为The payment request sent by the conversion device to the second payment platform is
Figure PCTCN2016103416-appb-000003
Figure PCTCN2016103416-appb-000003
S310,转换设备根据所述路由信息发送所述转换后的支付请求到所述第二支付平台,所述转换后的支付请求携带所述交易码和所述第一支付平台的标识。S310. The conversion device sends the converted payment request to the second payment platform according to the routing information, where the converted payment request carries the transaction code and the identifier of the first payment platform.
可选的,转换后的支付请求还携带支付金额或所述第二支付平台的标识。Optionally, the converted payment request further carries a payment amount or an identifier of the second payment platform.
可选的,转换设备还接收所述第二支付平台返回的支付结果信息, 所述支付结果信息中携带所述第一支付平台的标识;根据所述第一支付平台的标识确定路由信息,根据第一支付平台的标识和第二支付平台的标识,通过所述预设规则转换所述支付结果信息为所述第一支付平台可识别的消息格式,发送所述转换后的支付结果信息给所述第一支付平台。Optionally, the converting device further receives the payment result information returned by the second payment platform, The payment result information carries the identifier of the first payment platform; the routing information is determined according to the identifier of the first payment platform, and the preset rule is adopted according to the identifier of the first payment platform and the identifier of the second payment platform. Converting the payment result information into a message format identifiable by the first payment platform, and transmitting the converted payment result information to the first payment platform.
在本发明实施例的另一种实现方式中,交易码生成平台与转换设备合设,交易码由转换设备生成,则S304-S308替换为:In another implementation manner of the embodiment of the present invention, the transaction code generation platform is combined with the conversion device, and the transaction code is generated by the conversion device, and S304-S308 is replaced by:
转换设备确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系。The conversion device determines that the transaction code exists in the stored transaction code record, and the transaction code record includes a correspondence between the transaction code and its payment platform.
在本发明实施例的另一种实现方式中,交易码生成平台与第二支付平台合设,交易码由第二支付平台生成,S302-S306替换为:In another implementation manner of the embodiment of the present invention, the transaction code generation platform is combined with the second payment platform, and the transaction code is generated by the second payment platform, and S302-S306 is replaced by:
转换设备接收第一支付平台发送的支付请求,所述支付请求携带交易码、第一支付平台的标识和第二支付平台的标识。The conversion device receives the payment request sent by the first payment platform, and the payment request carries the transaction code, the identifier of the first payment platform, and the identifier of the second payment platform.
根据本发明实施例提供的技术方案,通过根据第二支付平台的标识确定路由信息,并将第一支付平台发送的支付请求转换为第二支付平台可识别的消息格式,使得第一支付平台能够处理付款方通过第二支付平台发起的支付请求,实现了在收款方与付款方使用不同的支付平台时也能进行支付的目的。同时,通过查询交易码记录来确定交易码是否存在,能够避免第二支付平台伪造并使用伪造的交易码进行支付的情况出现,从而能够保证支付的安全性。According to the technical solution provided by the embodiment of the present invention, the routing information is determined according to the identifier of the second payment platform, and the payment request sent by the first payment platform is converted into a message format identifiable by the second payment platform, so that the first payment platform can Processing the payment request initiated by the payer through the second payment platform enables the payment to be made when the payee and the payer use different payment platforms. At the same time, by querying the transaction code record to determine whether the transaction code exists, it can avoid the situation that the second payment platform forges and uses the forged transaction code to make payment, thereby ensuring the security of payment.
图4是依据本发明一实施例的移动支付方法的示范性信令图。在本实施例中,以交易码生成平台独立部署来进行说明。在具体实现过程中,移动支付方法400可以由图1中的付款方设备101、第一支付平台102、交易码生成平台103、收款方设备104、第二支付平台105和转换设备106来执行。本实施例中以转换设备106为HUB来进行说明。4 is an exemplary signaling diagram of a mobile payment method in accordance with an embodiment of the present invention. In this embodiment, the transaction code generation platform is independently deployed for explanation. In a specific implementation process, the mobile payment method 400 can be executed by the payer device 101, the first payment platform 102, the transaction code generation platform 103, the payee device 104, the second payment platform 105, and the conversion device 106 in FIG. . In the present embodiment, the conversion device 106 is described as a HUB.
S401,付款方设备向第二支付平台发送申请交易码的请求,其中携带付款方账户信息与交易类型,可选的,还携带支付金额的区间,例如,100元至200元。其中,付款方账户为付款方在第二支付平台上的账户。S401. The payer device sends a request for requesting a transaction code to the second payment platform, where the payment party account information and the transaction type are carried, and optionally, the interval of the payment amount is also carried, for example, 100 to 200 yuan. The payer account is the account of the payer on the second payment platform.
S402,第二支付平台向交易码生成平台发送申请交易码的请求,其中携带交易类型、第二支付平台的标识。S402. The second payment platform sends a request for requesting a transaction code to the transaction code generation platform, where the transaction type and the identifier of the second payment platform are carried.
S403,交易码生成平台根据交易类型和第二支付平台的标识生成一个用于单次支付的交易码。S403. The transaction code generation platform generates a transaction code for a single payment according to the transaction type and the identifier of the second payment platform.
S404,交易码生成平台返回该交易码给第二支付平台。S404. The transaction code generation platform returns the transaction code to the second payment platform.
S405,第二支付平台为该交易码生成有效期,将该交易码与付款方账户关联,以进行支付验证。可选的,第二支付平台还将该交易码与支付金额的区间关联。S405. The second payment platform generates an expiration date for the transaction code, and associates the transaction code with the payer account to perform payment verification. Optionally, the second payment platform further associates the transaction code with the interval of the payment amount.
S406,第二支付平台发送该交易码给付款方设备。S406. The second payment platform sends the transaction code to the payer device.
S407,付款方设备向收款方设备提供该交易码进行支付。可选的, 付款方设备还提供第二支付平台的标识给收款方设备。S407. The payer device provides the transaction code to the payee device for payment. Optional, The payer device also provides an identification of the second payment platform to the payee device.
S408,收款方设备采集付款方设备提供的交易码,向第一支付平台发送支付请求,其中携带该交易码和支付金额,可选的,还携带第二支付平台的标识。收款方设备可以通过安装的应用、用户识别应用发展工具(SIM Tool Kit,STK)、短信息服务(Short Message Service,SMS)等渠道采集付款方设备提供的交易码。S408: The payee device collects the transaction code provided by the payer device, and sends a payment request to the first payment platform, where the transaction code and the payment amount are carried, and optionally, the identifier of the second payment platform is also carried. The payee device can collect the transaction code provided by the payer device through the installed application, the SIM Tool Kit (STK), and the Short Message Service (SMS).
S409,第一支付平台创建支付订单,用于从第二支付平台的账户转移指定金额到收款方账户,其中第二支付平台的账户为第二支付平台在第一支付平台上的账户,收款方账户为收款方在第一支付平台上的账户。当收款方设备发送给第一支付平台的支付请求中携带有第二支付平台的标识时,第一支付平台能够创建该支付订单;当支付请求中未携带第二支付平台的标识时,等待HUB返回该信息。S409. The first payment platform creates a payment order for transferring a specified amount from the account of the second payment platform to the payee account, where the account of the second payment platform is an account of the second payment platform on the first payment platform. The party account is the account of the payee on the first payment platform. When the payment request sent by the payee device to the first payment platform carries the identifier of the second payment platform, the first payment platform can create the payment order; when the payment request does not carry the identifier of the second payment platform, wait The HUB returns this information.
S410,第一支付平台向HUB发起支付请求,其中携带该交易码、支付金额、第一支付平台的标识,可选的,还携带第二支付平台的标识。S410. The first payment platform initiates a payment request to the HUB, where the transaction code, the payment amount, and the identifier of the first payment platform are carried, and optionally, the identifier of the second payment platform is also carried.
S411,HUB向交易码生成平台发起交易码查询请求。S411. The HUB initiates a transaction code query request to the transaction code generation platform.
S412,交易码生成平台查询交易码记录,确定该交易码属于第二支付平台。S412. The transaction code generation platform queries the transaction code record, and determines that the transaction code belongs to the second payment platform.
S413,交易码生成平台返回查询结果,其中携带第二支付平台的标识,可选的,还携带交易类型。S409中,当支付请求中未携带第二支付平台的标识时,此时可通过HUB返回的第二支付平台的标识完成支付订单的创建。S413. The transaction code generation platform returns a query result, where the identifier of the second payment platform is carried, optionally, and the transaction type is also carried. In S409, when the identifier of the second payment platform is not carried in the payment request, the creation of the payment order may be completed by the identifier of the second payment platform returned by the HUB.
S414,HUB根据第二支付平台的标识查询路由表,确定应将支付请求发送给第二支付平台。根据第一支付平台的标识和第二支付平台的标识,通过预设规则将支付请求转换为第二支付平台能够识别的消息格式。S414. The HUB queries the routing table according to the identifier of the second payment platform, and determines that the payment request should be sent to the second payment platform. And according to the identifier of the first payment platform and the identifier of the second payment platform, the payment request is converted into a message format recognizable by the second payment platform by using a preset rule.
S415,HUB将转换后的支付请求发送给第二支付平台,其中携带交易码、支付金额和第一支付平台的标识,可选的,还携带第二支付平台的标识。S415. The HUB sends the converted payment request to the second payment platform, where the transaction code, the payment amount, and the identifier of the first payment platform are carried. Optionally, the identifier of the second payment platform is also carried.
S416,第二支付平台验证该交易码,包括:验证交易码的合法性、交易码是否在有效期内。其中,验证交易码的合法性包括验证交易码是否绑定有效的付款方账户或交易类型是否一致。可选的,还验证支付金额是否与付款方设备发送的申请交易码请求中携带的支付金额的区间一致。S416. The second payment platform verifies the transaction code, including: verifying the legality of the transaction code, and whether the transaction code is within the validity period. Wherein, verifying the legality of the transaction code includes verifying whether the transaction code is bound to a valid payer account or whether the transaction type is consistent. Optionally, it is also verified whether the payment amount is consistent with the interval of the payment amount carried in the application transaction code request sent by the payment device.
S417,在验证通过后,第二支付平台将交易码置为无效,向交易码生成平台发送交易码失效请求。S417, after the verification is passed, the second payment platform sets the transaction code to be invalid, and sends a transaction code invalidation request to the transaction code generation platform.
S418,交易码生成平台将该交易码置为失效。S418. The transaction code generation platform sets the transaction code to be invalid.
S419,第二支付平台创建并完成支付订单,从付款方账户转移指定金额到第一支付平台的账户。其中,第一支付平台的账户为第一支付平台在第二支付平台上的账户。第二支付平台还生成第二对账单。 S419. The second payment platform creates and completes the payment order, and transfers the specified amount from the payer account to the account of the first payment platform. The account of the first payment platform is an account of the first payment platform on the second payment platform. The second payment platform also generates a second statement.
S420,第二支付平台返回支付结果信息给HUB,其中携带第一支付平台的标识和第二支付平台的标识。S420. The second payment platform returns the payment result information to the HUB, where the identifier of the first payment platform and the identifier of the second payment platform are carried.
S421,HUB根据第一支付平台的标识查询路由表,确定应将支付结果信息发送给第一支付平台。根据第一支付平台的标识和第二支付平台的标识,通过预设规则将支付结果信息转换为第一支付平台能够识别的消息格式。S421. The HUB queries the routing table according to the identifier of the first payment platform, and determines that the payment result information should be sent to the first payment platform. And according to the identifier of the first payment platform and the identifier of the second payment platform, the payment result information is converted into a message format recognizable by the first payment platform by using a preset rule.
S422,HUB向第一支付平台发送转换后的支付结果信息,可选的,其中携带第二支付平台的标识。S422. The HUB sends the converted payment result information to the first payment platform. Optionally, the identifier of the second payment platform is carried.
S423,第一支付平台收到支付结果信息后,可以确定第二支付平台已经完成从付款方账户转移指定金额到第一支付平台的账户。第一支付平台继续执行S409中创建的支付订单,从第二支付平台的账户转移指定金额到收款方账户,生成第一对账单。S423. After receiving the payment result information, the first payment platform may determine that the second payment platform has completed transferring the specified amount from the payer account to the account of the first payment platform. The first payment platform proceeds to execute the payment order created in S409, transfers the specified amount from the account of the second payment platform to the payee account, and generates a first statement.
S424,第一支付平台通知收款方支付成功,第二支付平台通知付款方支付成功,可选的,可以通过发送短信的方式来通知。S424: The first payment platform notifies the payee that the payment is successful, and the second payment platform notifies the paying party that the payment is successful, and optionally, may be notified by sending a short message.
S425,第一支付平台和第二支付平台通过交换S423中生成的第一对账单和S419中生成的第二对账单来进行清算。实际的资金转移通过第一支付平台、第二支付平台与银行的对接交互实现:第二支付平台在第二银行的银行账号转账到第二支付平台在第一支付平台上的账户;第一支付平台在第二支付平台上的账户转账至第一支付平台在第一银行的的银行账号。S425, the first payment platform and the second payment platform perform clearing by exchanging the first statement generated in S423 and the second statement generated in S419. The actual fund transfer is realized by the first payment platform and the second payment platform and the bank's docking interaction: the second payment platform transfers the bank account of the second bank to the account of the second payment platform on the first payment platform; the first payment The account of the platform on the second payment platform is transferred to the bank account of the first payment platform at the first bank.
在本发明实施例的另一种实现方式中,交易码生成平台与转换设备合设,上述S402-S404替换为:In another implementation manner of the embodiment of the present invention, the transaction code generation platform is combined with the conversion device, and the above S402-S404 is replaced by:
S402A,第二支付平台向HUB发送申请交易码的请求,其中携带交易类型、第二支付平台的标识。S402A: The second payment platform sends a request for the transaction code to the HUB, where the transaction type and the identifier of the second payment platform are carried.
S403A,HUB根据交易类型和第二支付平台的标识生成一个用于单次支付的交易码。S403A. The HUB generates a transaction code for a single payment according to the transaction type and the identifier of the second payment platform.
S404A,HUB返回该交易码给第二支付平台。S404A, the HUB returns the transaction code to the second payment platform.
S411-S413替换为:Replace S411-S413 with:
S411A,HUB查询交易码记录,确定该交易码属于第二支付平台。S411A, the HUB queries the transaction code record to determine that the transaction code belongs to the second payment platform.
其他步骤与图4实施例相同,此处不再赘述。The other steps are the same as those in the embodiment of FIG. 4, and are not described herein again.
在本发明实施例的另一种实现方式中,交易码生成平台与第二支付平台合设,S402-S404替换为:In another implementation manner of the embodiment of the present invention, the transaction code generation platform is combined with the second payment platform, and S402-S404 is replaced by:
第二支付平台根据交易类型和第二支付平台的标识生成一个用于单次支付的交易码。The second payment platform generates a transaction code for a single payment based on the transaction type and the identity of the second payment platform.
S410-S413替换为:Replace S410-S413 with:
第一支付平台向HUB发起支付请求,其中携带该交易码、支付金额、第一支付平台的标识,第二支付平台的标识。 The first payment platform initiates a payment request to the HUB, where the transaction code, the payment amount, the identifier of the first payment platform, and the identifier of the second payment platform are carried.
其他步骤与图4实施例相同,此处不再赘述。The other steps are the same as those in the embodiment of FIG. 4, and are not described herein again.
在本发明实施例的另一种实现方式中,S402、S404、S417替换为:In another implementation manner of the embodiment of the present invention, S402, S404, and S417 are replaced by:
S402,第二支付平台向HUB发送申请交易码的请求,其中携带交易类型、第二支付平台的标识,HUB转发该请求给交易码生成平台。S402. The second payment platform sends a request for requesting a transaction code to the HUB, where the transaction type and the identifier of the second payment platform are carried, and the HUB forwards the request to the transaction code generation platform.
S404,交易码生成平台返回该交易码给HUB,HUB将该交易码返回给第二支付平台。S404. The transaction code generation platform returns the transaction code to the HUB, and the HUB returns the transaction code to the second payment platform.
S417,在验证通过后,第二支付平台将交易码置为无效,向HUB发送交易码失效请求,HUB将该请求转发给交易码生成平台。S417, after the verification is passed, the second payment platform sets the transaction code to be invalid, sends a transaction code invalidation request to the HUB, and the HUB forwards the request to the transaction code generation platform.
其他步骤与图4实施例相同,此处不再赘述。The other steps are the same as those in the embodiment of FIG. 4, and are not described herein again.
图5是依据本发明一实施例的转换设备500的结构示意图。转换设备500包括接收模块502,处理模块504和发送模块506。转换设备500为图1中所示的转换设备106或者图2中计算机设备200。FIG. 5 is a schematic structural diagram of a conversion device 500 according to an embodiment of the invention. The conversion device 500 includes a receiving module 502, a processing module 504, and a transmitting module 506. The conversion device 500 is the conversion device 106 shown in FIG. 1 or the computer device 200 in FIG.
接收模块502,用于接收第一支付平台发送的支付请求,所述支付请求携带交易码和所述第一支付平台的标识;The receiving module 502 is configured to receive a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform;
处理模块504,用于在确定所述交易码与第二支付平台对应之后,根据所述第二支付平台的标识确定路由信息,根据预设规则转换所述支付请求为所述第二支付平台可识别的消息格式;The processing module 504 is configured to: after determining that the transaction code corresponds to the second payment platform, determine routing information according to the identifier of the second payment platform, and convert the payment request to the second payment platform according to a preset rule. Recognized message format;
发送模块506,用于根据所述路由信息发送所述转换后的支付请求到所述第二支付平台,所述转换后的支付请求携带所述交易码和所述第一支付平台的标识。The sending module 506 is configured to send the converted payment request to the second payment platform according to the routing information, where the converted payment request carries the transaction code and an identifier of the first payment platform.
可选的,当所述交易码由交易码生成平台生成时,所述处理模块504确定所述交易码与所述第二支付平台对应包括:Optionally, when the transaction code is generated by the transaction code generation platform, the processing module 504 determines that the transaction code corresponds to the second payment platform, and includes:
所述发送模块506发送交易码查询请求到所述交易码生成平台,所述交易码查询请求中携带所述交易码;The sending module 506 sends a transaction code query request to the transaction code generating platform, where the transaction code query request carries the transaction code;
所述接收模块502接收所述交易码生成平台返回的响应消息,所述响应消息中携带所述第二支付平台的标识。The receiving module 502 receives the response message returned by the transaction code generating platform, where the response message carries the identifier of the second payment platform.
可选的,当所述交易码由所述转换设备生成时,所述处理模块504确定所述交易码与所述第二支付平台对应包括:Optionally, when the transaction code is generated by the conversion device, the processing module 504 determines that the transaction code corresponds to the second payment platform, including:
所述处理模块504确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系。The processing module 504 determines that the transaction code exists in the stored transaction code record, and the transaction code record includes a correspondence between the transaction code and its payment platform.
可选的,所述支付请求还携带支付金额或所述第二支付平台的标识。Optionally, the payment request further carries a payment amount or an identifier of the second payment platform.
可选的,所述转换后的支付请求还携带支付金额或所述第二支付平台的标识。Optionally, the converted payment request further carries a payment amount or an identifier of the second payment platform.
可选的,所述接收模块502还用于接收所述第二支付平台返回的支付结果信息,所述支付结果信息中携带所述第一支付平台的标识;所述处理模块504还用于根据所述第一支付平台的标识确定路由信息,根据所述预设规则转换所述支付结果信息为所述第一支付平台可识别的消息 格式;所述发送模块506还用于发送所述转换后的支付结果信息给所述第一支付平台。Optionally, the receiving module 502 is further configured to receive the payment result information returned by the second payment platform, where the payment result information carries the identifier of the first payment platform; the processing module 504 is further configured to The identifier of the first payment platform determines routing information, and converts the payment result information to a message identifiable by the first payment platform according to the preset rule. The sending module 506 is further configured to send the converted payment result information to the first payment platform.
其中,所述“模块”可以为专用集成电路(Application Specific Integrated Circuit,ASIC)、电子线路、执行一个或多个软件或固件程序的处理器和存储器、组合逻辑电路和其他提供上述功能的组件。可选的,转换设备500通过计算机设备的形式来实现,接收模块502可以通过计算机设备的处理器、存储器和通信接口来实现,处理模块504可以通过计算机设备的处理器和存储器来实现,发送模块506可以通过计算机设备的处理器、存储器和通信接口来实现。The "module" may be an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor and a memory that execute one or more software or firmware programs, a combination logic circuit, and other components that provide the above functions. Optionally, the conversion device 500 is implemented by a computer device, the receiving module 502 can be implemented by a processor, a memory, and a communication interface of the computer device, and the processing module 504 can be implemented by a processor and a memory of the computer device, and the sending module 506 can be implemented by a processor, memory, and communication interface of a computer device.
图6是依据本发明一实施例的交易码生成平台600的结构示意图。交易码生成平台600包括接收模块602,处理模块604和发送模块606。交易码生成平台600为图1中所示的交易码生成平台103或者图2中计算机设备200。FIG. 6 is a schematic structural diagram of a transaction code generation platform 600 according to an embodiment of the invention. The transaction code generation platform 600 includes a receiving module 602, a processing module 604, and a transmitting module 606. The transaction code generation platform 600 is the transaction code generation platform 103 shown in FIG. 1 or the computer device 200 of FIG.
接收模块602,用于接收转换设备发送的交易码查询请求,其中携带交易码;The receiving module 602 is configured to receive a transaction code query request sent by the conversion device, where the transaction code is carried;
处理模块604,用于确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系;The processing module 604 is configured to determine that the transaction code exists in the stored transaction code record, where the transaction code record includes a correspondence between the transaction code and a payment platform to which the transaction code belongs;
发送模块606,用于发送响应消息给所述转换设备,所述响应消息中携带所述交易码所对应的支付平台的标识。The sending module 606 is configured to send a response message to the converting device, where the response message carries an identifier of the payment platform corresponding to the transaction code.
可选的,在所述接收模块602接收转换设备发送的交易码查询请求之前,所述接收模块602还用于接收所述支付平台发送的交易码请求,所述交易码请求中携带所述支付平台的标识;Optionally, before the receiving module 602 receives the transaction code query request sent by the conversion device, the receiving module 602 is further configured to receive a transaction code request sent by the payment platform, where the transaction code request carries the payment. The identity of the platform;
所述处理模块604还用于根据所述支付平台的标识生成所述交易码,并存储所述交易码;The processing module 604 is further configured to generate the transaction code according to the identifier of the payment platform, and store the transaction code;
所述发送模块606还用于发送所述交易码给所述支付平台。The sending module 606 is further configured to send the transaction code to the payment platform.
可选的,所述交易码请求中还携带交易类型,所述处理模块604用于根据所述交易类型和所述支付平台的标识生成所述交易码。Optionally, the transaction code request further carries a transaction type, and the processing module 604 is configured to generate the transaction code according to the transaction type and the identifier of the payment platform.
可选的,所述接收模块602还用于记录接收到所述交易码请求的时间。Optionally, the receiving module 602 is further configured to record a time when the transaction code request is received.
可选的,在所述发送模块606发送响应消息给所述转换设备之后,所述接收模块602还接收所述支付平台发送的交易码失效请求,所述处理模块604还用于将所述交易码置为失效。Optionally, after the sending module 606 sends a response message to the converting device, the receiving module 602 further receives a transaction code invalidation request sent by the payment platform, and the processing module 604 is further configured to use the transaction. The code is set to invalid.
其中,所述“模块”可以为专用集成电路(Application Specific Integrated Circuit,ASIC)、电子线路、执行一个或多个软件或固件程序的处理器和存储器、组合逻辑电路和其他提供上述功能的组件。可选的,交易码生成平台600通过计算机设备的形式来实现,接收模块602可以通过计算机设备的处理器、存储器和通信接口来实现,处理模块604可以通过计算机设备的处理器和存储器来实现,发送模块606可以通过计 算机设备的处理器、存储器和通信接口来实现。The "module" may be an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor and a memory that execute one or more software or firmware programs, a combination logic circuit, and other components that provide the above functions. Optionally, the transaction code generation platform 600 is implemented by a computer device, the receiving module 602 can be implemented by a processor, a memory, and a communication interface of the computer device, and the processing module 604 can be implemented by a processor and a memory of the computer device. The sending module 606 can pass the meter The processor, memory, and communication interface of the computer device are implemented.
应注意,尽管图2所示的通用计算机结构200仅仅示出了处理器202、存储器204、通信接口206和总线208,但是在具体实现过程中,本领域的技术人员应当明白,上述转换设备和交易码生成平台还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,上述转换设备和交易码生成平台还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,上述转换设备和交易码生成平台也可仅仅包含实现本发明实施例所必须的器件,而不必包含图2中所示的全部器件。It should be noted that although the general purpose computer architecture 200 shown in FIG. 2 only shows the processor 202, the memory 204, the communication interface 206, and the bus 208, those skilled in the art will appreciate that the above-described conversion apparatus and The transaction code generation platform also contains other devices necessary to achieve normal operation. At the same time, according to specific needs, those skilled in the art should understand that the above-mentioned conversion device and transaction code generation platform may also include hardware devices that implement other additional functions. Moreover, those skilled in the art will appreciate that the above-described conversion device and transaction code generation platform may also include only the devices necessary to implement the embodiments of the present invention, and do not necessarily include all of the devices shown in FIG. 2.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (35)

  1. 一种移动支付方法,其特征在于,包括以下步骤:A mobile payment method, comprising the steps of:
    转换设备接收第一支付平台发送的支付请求,所述支付请求携带交易码和所述第一支付平台的标识;The conversion device receives a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform;
    在所述转换设备确定所述交易码与第二支付平台对应之后,所述转换设备根据所述第二支付平台的标识确定路由信息,根据预设规则转换所述支付请求为所述第二支付平台可识别的消息格式;After the converting device determines that the transaction code corresponds to the second payment platform, the converting device determines routing information according to the identifier of the second payment platform, and converts the payment request to the second payment according to a preset rule. a message format recognizable by the platform;
    所述转换设备根据所述路由信息发送所述转换后的支付请求到所述第二支付平台,所述转换后的支付请求携带所述交易码和所述第一支付平台的标识。And the converting device sends the converted payment request to the second payment platform according to the routing information, where the converted payment request carries the transaction code and an identifier of the first payment platform.
  2. 如权利要求1所述的方法,其特征在于,当所述交易码由交易码生成平台生成时,所述转换设备确定所述交易码与所述第二支付平台对应包括:The method of claim 1, wherein when the transaction code is generated by the transaction code generation platform, the converting device determining that the transaction code corresponds to the second payment platform comprises:
    所述转换设备发送交易码查询请求到所述交易码生成平台,所述交易码查询请求中携带所述交易码;Transmitting, by the conversion device, a transaction code query request to the transaction code generation platform, where the transaction code query request carries the transaction code;
    接收所述交易码生成平台返回的响应消息,所述响应消息中携带所述第二支付平台的标识。Receiving a response message returned by the transaction code generation platform, where the response message carries an identifier of the second payment platform.
  3. 如权利要求1所述的方法,其特征在于,当所述交易码由所述转换设备生成时,所述转换设备确定所述交易码与所述第二支付平台对应包括:The method according to claim 1, wherein when the transaction code is generated by the conversion device, the converting device determining that the transaction code corresponds to the second payment platform comprises:
    所述转换设备确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系。The conversion device determines that the transaction code exists in the stored transaction code record, and the transaction code record includes a correspondence between the transaction code and the payment platform to which it belongs.
  4. 如权利要求1至3任意一项所述的方法,其特征在于,所述支付请求还携带支付金额或所述第二支付平台的标识。The method of any of claims 1 to 3, wherein the payment request further carries a payment amount or an identification of the second payment platform.
  5. 如权利要求1至4任意一项所述的方法,其特征在于,所述转换后的支付请求还携带支付金额或所述第二支付平台的标识。The method according to any one of claims 1 to 4, wherein the converted payment request further carries a payment amount or an identification of the second payment platform.
  6. 如权利要求1至5任意一项所述的方法,其特征在于,所述转换设备还接收所述第二支付平台返回的支付结果信息,所述支付结果信息中携带所述第一支付平台的标识;根据所述第一支付平台的标识确定路由信息,根据所述预设规则转换所述支付结果信息为所述第一支付平台可识别的消息格式,发送所述转换后的支付结果信息给所述第一支付平台。 The method according to any one of claims 1 to 5, wherein the conversion device further receives payment result information returned by the second payment platform, where the payment result information carries the first payment platform Determining routing information according to the identifier of the first payment platform, converting the payment result information to a message format identifiable by the first payment platform, and transmitting the converted payment result information to the preset rule The first payment platform.
  7. 一种移动支付方法,其特征在于,包括以下步骤:A mobile payment method, comprising the steps of:
    交易码生成平台接收转换设备发送的交易码查询请求,其中携带交易码;The transaction code generating platform receives the transaction code query request sent by the conversion device, where the transaction code is carried;
    确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系;Determining that the transaction code exists in the stored transaction code record, where the transaction code record includes a correspondence between the transaction code and its payment platform;
    发送响应消息给所述转换设备,所述响应消息中携带所述交易码所对应的支付平台的标识。Sending a response message to the conversion device, where the response message carries an identifier of the payment platform corresponding to the transaction code.
  8. 如权利要求7所述的方法,其特征在于,在所述交易码生成平台接收转换设备发送的交易码查询请求之前,所述交易码生成平台接收所述支付平台发送的交易码请求,所述交易码请求中携带所述支付平台的标识;The method of claim 7, wherein the transaction code generation platform receives a transaction code request sent by the payment platform before the transaction code generation platform receives a transaction code query request sent by the conversion device, The transaction code request carries the identifier of the payment platform;
    所述交易码生成平台根据所述支付平台的标识生成所述交易码,并存储所述交易码;The transaction code generation platform generates the transaction code according to the identifier of the payment platform, and stores the transaction code;
    发送所述交易码给所述支付平台。Sending the transaction code to the payment platform.
  9. 如权利要求7所述的方法,其特征在于,在所述交易码生成平台接收转换设备发送的交易码查询请求之前,所述交易码生成平台接收所述转换设备转发的交易码请求,所述交易码请求中携带所述支付平台的标识;The method of claim 7, wherein the transaction code generation platform receives a transaction code request forwarded by the conversion device before the transaction code generation platform receives a transaction code query request sent by the conversion device, The transaction code request carries the identifier of the payment platform;
    所述交易码生成平台根据所述支付平台的标识生成所述交易码,并存储所述交易码;The transaction code generation platform generates the transaction code according to the identifier of the payment platform, and stores the transaction code;
    发送所述交易码给所述转换设备。Transmitting the transaction code to the conversion device.
  10. 如权利要求8或9所述的方法,其特征在于,所述交易码请求中还携带交易类型,所述交易码生成平台根据所述交易类型和所述支付平台的标识生成所述交易码。The method according to claim 8 or 9, wherein the transaction code request further carries a transaction type, and the transaction code generation platform generates the transaction code according to the transaction type and the identifier of the payment platform.
  11. 如权利要求8-10任意一项所述的方法,其特征在于,所述交易码生成平台还记录接收到所述交易码请求的时间。The method of any of claims 8-10, wherein the transaction code generation platform further records the time at which the transaction code request was received.
  12. 如权利要求7至11任意一项所述的方法,其特征在于,在所述发送响应消息给所述转换设备之后,所述交易码生成平台还接收所述支付平台发送的交易码失效请求,将所述交易码置为失效。The method according to any one of claims 7 to 11, wherein after the sending the response message to the converting device, the transaction code generating platform further receives a transaction code invalidation request sent by the payment platform, The transaction code is set to expire.
  13. 如权利要求7至11任意一项所述的方法,其特征在于,在所述发送响应消息给所述转换设备之后,所述交易码生成平台还接收所述转换设备转发的交易码失效请求,将所述交易码置为失效。The method according to any one of claims 7 to 11, wherein after the sending the response message to the converting device, the transaction code generating platform further receives a transaction code invalidation request forwarded by the converting device, The transaction code is set to expire.
  14. 一种移动支付方法,其特征在于,包括以下步骤: A mobile payment method, comprising the steps of:
    支付平台发送交易码请求,其中携带所述支付平台的标识;The payment platform sends a transaction code request, where the identifier of the payment platform is carried;
    所述支付平台接收交易码响应,其中携带交易码;The payment platform receives a transaction code response, wherein the transaction code is carried;
    所述支付平台为所述交易码生成有效期,关联所述交易码与用户账户;The payment platform generates an expiration date for the transaction code, and associates the transaction code with a user account;
    所述支付平台接收支付请求,其中携带交易码;The payment platform receives a payment request, wherein the transaction code is carried;
    所述支付平台验证所述支付请求中携带的交易码,包括验证交易码的合法性、交易码是否在有效期内;The payment platform verifies the transaction code carried in the payment request, including verifying the legality of the transaction code, and whether the transaction code is within the validity period;
    在所述支付请求中携带的交易码通过验证后,所述支付平台将所述交易码置为失效。After the transaction code carried in the payment request passes the verification, the payment platform sets the transaction code to be invalid.
  15. 如权利要求14所述的方法,其特征在于,所述支付平台还关联所述交易码与支付金额的区间。The method of claim 14 wherein said payment platform further associates said transaction code with a range of payment amounts.
  16. 如权利要求15所述的方法,其特征在于,所述支付请求中还携带支付金额,所述支付平台还验证所述支付金额是否在所述支付金额的区间内。The method of claim 15 wherein said payment request further carries a payment amount, and said payment platform further verifies whether said payment amount is within an interval of said payment amount.
  17. 一种转换设备,其特征在于,包括接收模块,处理模块和发送模块:A conversion device, comprising: a receiving module, a processing module and a sending module:
    所述接收模块,用于接收第一支付平台发送的支付请求,所述支付请求携带交易码和所述第一支付平台的标识;The receiving module is configured to receive a payment request sent by the first payment platform, where the payment request carries a transaction code and an identifier of the first payment platform;
    所述处理模块,用于在确定所述交易码与第二支付平台对应之后,根据所述第二支付平台的标识确定路由信息,根据预设规则转换所述支付请求为所述第二支付平台可识别的消息格式;The processing module is configured to: after determining that the transaction code corresponds to the second payment platform, determine routing information according to the identifier of the second payment platform, and convert the payment request to the second payment platform according to a preset rule. Identifiable message format;
    所述发送模块,用于根据所述路由信息发送所述转换后的支付请求到所述第二支付平台,所述转换后的支付请求携带所述交易码和所述第一支付平台的标识。The sending module is configured to send the converted payment request to the second payment platform according to the routing information, where the converted payment request carries the transaction code and an identifier of the first payment platform.
  18. 如权利要求17所述的转换设备,其特征在于,当所述交易码由交易码生成平台生成时,所述处理模块确定所述交易码与所述第二支付平台对应包括:The conversion device according to claim 17, wherein when the transaction code is generated by the transaction code generation platform, the processing module determines that the transaction code corresponds to the second payment platform comprises:
    所述发送模块发送交易码查询请求到所述交易码生成平台,所述交易码查询请求中携带所述交易码;The sending module sends a transaction code query request to the transaction code generating platform, where the transaction code query request carries the transaction code;
    所述接收模块接收所述交易码生成平台返回的响应消息,所述响应消息中携带所述第二支付平台的标识。The receiving module receives the response message returned by the transaction code generating platform, and the response message carries the identifier of the second payment platform.
  19. 如权利要求17所述的转换设备,其特征在于,当所述交易码由所述转换设备生成时,所述处理模块确定所述交易码与所述第二支付平 台对应包括:The conversion device according to claim 17, wherein said processing module determines that said transaction code is equal to said second payment when said transaction code is generated by said conversion device The station correspondence includes:
    所述处理模块确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系。The processing module determines that the transaction code exists in the stored transaction code record, and the transaction code record includes a correspondence between the transaction code and its payment platform.
  20. 如权利要求17至19任意一项所述的转换设备,其特征在于,所述支付请求还携带支付金额或所述第二支付平台的标识。The conversion device according to any one of claims 17 to 19, wherein the payment request further carries a payment amount or an identification of the second payment platform.
  21. 如权利要求17至20任意一项所述的转换设备,其特征在于,所述转换后的支付请求还携带支付金额或所述第二支付平台的标识。The conversion device according to any one of claims 17 to 20, wherein the converted payment request further carries a payment amount or an identifier of the second payment platform.
  22. 如权利要求17至21任意一项所述的转换设备,其特征在于,所述接收模块还用于接收所述第二支付平台返回的支付结果信息,所述支付结果信息中携带所述第一支付平台的标识;所述处理模块还用于根据所述第一支付平台的标识确定路由信息,根据所述预设规则转换所述支付结果信息为所述第一支付平台可识别的消息格式;所述发送模块还用于发送所述转换后的支付结果信息给所述第一支付平台。The conversion device according to any one of claims 17 to 21, wherein the receiving module is further configured to receive payment result information returned by the second payment platform, where the payment result information carries the first An identifier of the payment platform; the processing module is further configured to determine routing information according to the identifier of the first payment platform, and convert the payment result information into a message format recognizable by the first payment platform according to the preset rule; The sending module is further configured to send the converted payment result information to the first payment platform.
  23. 一种交易码生成平台,其特征在于,包括接收模块,处理模块和发送模块:A transaction code generation platform, comprising: a receiving module, a processing module and a sending module:
    所述接收模块,用于接收转换设备发送的交易码查询请求,其中携带交易码;The receiving module is configured to receive a transaction code query request sent by the conversion device, where the transaction code is carried;
    所述处理模块,用于确定存储的交易码记录中存在所述交易码,所述交易码记录包含交易码与其所属支付平台的对应关系;The processing module is configured to determine that the transaction code exists in the stored transaction code record, where the transaction code record includes a correspondence between the transaction code and a payment platform to which the transaction code belongs;
    所述发送模块,用于发送响应消息给所述转换设备,所述响应消息中携带所述交易码所对应的支付平台的标识。The sending module is configured to send a response message to the converting device, where the response message carries an identifier of a payment platform corresponding to the transaction code.
  24. 如权利要求23所述的交易码生成平台,其特征在于,在所述接收模块接收转换设备发送的交易码查询请求之前,所述接收模块还用于接收所述支付平台发送的交易码请求,所述交易码请求中携带所述支付平台的标识;The transaction code generating platform according to claim 23, wherein the receiving module is further configured to receive a transaction code request sent by the payment platform, before the receiving module receives the transaction code query request sent by the conversion device, The transaction code request carries an identifier of the payment platform;
    所述处理模块还用于根据所述支付平台的标识生成所述交易码,并存储所述交易码;The processing module is further configured to generate the transaction code according to the identifier of the payment platform, and store the transaction code;
    所述发送模块还用于发送所述交易码给所述支付平台。The sending module is further configured to send the transaction code to the payment platform.
  25. 如权利要求23所述的交易码生成平台,其特征在于,在所述接收模块接收转换设备发送的交易码查询请求之前,所述接收模块还用于接收所述转换设备转发的交易码请求,所述交易码请求中携带所述支付平台的标识;The transaction code generating platform according to claim 23, wherein the receiving module is further configured to receive a transaction code request forwarded by the converting device, before the receiving module receives the transaction code query request sent by the converting device, The transaction code request carries an identifier of the payment platform;
    所述处理模块还用于根据所述支付平台的标识生成所述交易码,并 存储所述交易码;The processing module is further configured to generate the transaction code according to the identifier of the payment platform, and Storing the transaction code;
    所述发送模块还用于发送所述交易码给所述转换设备。The sending module is further configured to send the transaction code to the converting device.
  26. 如权利要求24所述的交易码生成平台,其特征在于,所述交易码请求中还携带交易类型,所述处理模块用于根据所述交易类型和所述支付平台的标识生成所述交易码。The transaction code generating platform according to claim 24, wherein the transaction code request further carries a transaction type, and the processing module is configured to generate the transaction code according to the transaction type and the identifier of the payment platform. .
  27. 如权利要求书或24所述的交易码生成平台,其特征在于,所述接收模块还用于记录接收到所述交易码请求的时间。The transaction code generating platform according to claim 24, wherein the receiving module is further configured to record a time when the transaction code request is received.
  28. 如权利要求23至27任意一项所述的交易码生成平台,其特征在于,在所述发送模块发送响应消息给所述转换设备之后,所述接收模块还接收所述支付平台发送的交易码失效请求,所述处理模块还用于将所述交易码置为失效。The transaction code generating platform according to any one of claims 23 to 27, wherein after the sending module sends a response message to the converting device, the receiving module further receives a transaction code sent by the payment platform. The failure request, the processing module is further configured to set the transaction code to be invalid.
  29. 如权利要求23至27任意一项所述的交易码生成平台,其特征在于,在所述发送模块发送响应消息给所述转换设备之后,所述接收模块还接收所述转换设备转发的交易码失效请求,所述处理模块还用于将所述交易码置为失效。The transaction code generating platform according to any one of claims 23 to 27, wherein after the sending module sends a response message to the converting device, the receiving module further receives the transaction code forwarded by the converting device. The failure request, the processing module is further configured to set the transaction code to be invalid.
  30. 一种支付平台,其特征在于,包括发送模块,接收模块和处理模块:A payment platform, comprising: a sending module, a receiving module and a processing module:
    所述发送模块,用于发送交易码请求,其中携带所述支付平台的标识;The sending module is configured to send a transaction code request, where the identifier of the payment platform is carried;
    所述接收模块,用于接收交易码响应,其中携带交易码;The receiving module is configured to receive a transaction code response, where the transaction code is carried;
    所述处理模块,用于为所述交易码生成有效期,关联所述交易码与用户账户;The processing module is configured to generate an expiration date for the transaction code, and associate the transaction code with a user account;
    所述接收模块,还用于接收支付请求,其中携带交易码;The receiving module is further configured to receive a payment request, where the transaction code is carried;
    所述处理模块,还用于验证所述支付请求中携带的交易码,包括验证交易码的合法性、交易码是否在有效期内;以及The processing module is further configured to verify the transaction code carried in the payment request, including verifying the legality of the transaction code, whether the transaction code is within the validity period;
    在所述支付请求中携带的交易码通过验证后,将所述交易码置为失效。After the transaction code carried in the payment request passes the verification, the transaction code is set to be invalid.
  31. 如权利要求30所述的支付平台,其特征在于,所述处理模块还用于还关联所述交易码与支付金额的区间。The payment platform of claim 30, wherein the processing module is further configured to further associate the transaction code with a payment amount.
  32. 如权利要求31所述的支付平台,其特征在于,所述支付请求中还携带支付金额,所述处理模块还用于验证所述支付金额是否在所述支付金额的区间内。The payment platform according to claim 31, wherein the payment request further carries a payment amount, and the processing module is further configured to verify whether the payment amount is within a section of the payment amount.
  33. 一种计算设备,包括:处理器、存储器、总线和通信接口;所 述存储器用于存储计算设备执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算设备执行权利要求1至6所述的方法。A computing device comprising: a processor, a memory, a bus, and a communication interface; The memory is for storing computing device execution instructions, the processor is coupled to the memory via the bus, and when the computing device is running, the processor executes the computer-executed instructions stored by the memory to enable The computing device performs the method of claims 1 to 6.
  34. 一种计算设备,包括:处理器、存储器、总线和通信接口;所述存储器用于存储计算设备执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算设备执行权利要求7至13所述的方法。A computing device comprising: a processor, a memory, a bus, and a communication interface; the memory for storing computing device execution instructions, the processor being coupled to the memory via the bus, when the computing device is operating, The processor executes the computer-executable instructions stored by the memory to cause the computing device to perform the method of claims 7-13.
  35. 一种计算设备,包括:处理器、存储器、总线和通信接口;所述存储器用于存储计算设备执行指令,所述处理器与所述存储器通过所述总线连接,当所述计算设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述计算设备执行权利要求14至16所述的方法。 A computing device comprising: a processor, a memory, a bus, and a communication interface; the memory for storing computing device execution instructions, the processor being coupled to the memory via the bus, when the computing device is operating, The processor executes the computer-executed instructions stored by the memory to cause the computing device to perform the method of claims 14-16.
PCT/CN2016/103416 2015-12-09 2016-10-26 Mobile payment method and apparatus WO2017097050A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510903425.8 2015-12-09
CN201510903425.8A CN106855974A (en) 2015-12-09 2015-12-09 A kind of method of mobile payment and device

Publications (1)

Publication Number Publication Date
WO2017097050A1 true WO2017097050A1 (en) 2017-06-15

Family

ID=59012658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103416 WO2017097050A1 (en) 2015-12-09 2016-10-26 Mobile payment method and apparatus

Country Status (2)

Country Link
CN (1) CN106855974A (en)
WO (1) WO2017097050A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109767200A (en) * 2018-12-28 2019-05-17 中国银联股份有限公司 A kind of electric paying method, device, system and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389388A (en) * 2018-09-30 2019-02-26 上海掌门科技有限公司 A kind of method and apparatus for being paid jointly
CN111144872B (en) * 2019-12-27 2024-04-26 中国银联股份有限公司 Transaction code generation and transaction code-based processing method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655950A (en) * 2009-06-30 2010-02-24 阿里巴巴集团控股有限公司 Method, device and system for realizing merging payment
CN103186850A (en) * 2011-12-28 2013-07-03 中国银联股份有限公司 Method, equipment and system for acquiring payment document
US20130346302A1 (en) * 2012-06-20 2013-12-26 Visa International Service Association Remote Portal Bill Payment Platform Apparatuses, Methods and Systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655950A (en) * 2009-06-30 2010-02-24 阿里巴巴集团控股有限公司 Method, device and system for realizing merging payment
CN103186850A (en) * 2011-12-28 2013-07-03 中国银联股份有限公司 Method, equipment and system for acquiring payment document
US20130346302A1 (en) * 2012-06-20 2013-12-26 Visa International Service Association Remote Portal Bill Payment Platform Apparatuses, Methods and Systems

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109767200A (en) * 2018-12-28 2019-05-17 中国银联股份有限公司 A kind of electric paying method, device, system and storage medium
CN109767200B (en) * 2018-12-28 2023-07-14 中国银联股份有限公司 Electronic payment method, device, system and storage medium

Also Published As

Publication number Publication date
CN106855974A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US11587067B2 (en) Digital wallet system and method
US8239325B2 (en) Method and system to verify the identity of a user
RU2576487C2 (en) Payment channel returning limited use proxy dynamic value
CN110458557B (en) Payment method, payment equipment and storage medium
US20180144339A1 (en) System, method, and computer program product for facilitating financial transactions
WO2020103557A1 (en) Transaction processing method and device
WO2016074521A1 (en) Payment method, payment platform and terminal
CN105427169B (en) Security information interaction method for resource transfer
JP6697001B2 (en) Providing verdicts for mobile devices with payment credentials
CN113792062A (en) Processing financial transactions
JP2013171580A (en) Settlement method using onetime response code and settlement server for executing the same method and undertaker terminal
US20220277297A1 (en) System and method for provisioning a data transfer application
CN101620705A (en) Safety certificate method and system for Internet banking
WO2017097050A1 (en) Mobile payment method and apparatus
WO2022052894A1 (en) Resource processing method, server, terminal, device, system, and storage medium
US10846681B2 (en) System and method for providing payment service
WO2023010835A1 (en) Non-card account payment method, device, system, and storage medium
US20230298009A1 (en) Rapid cryptocurrency transaction processing
TWM530440U (en) Transaction confirmation system
TW202013293A (en) Account transfer platform, transfer-out or transfer-in acceptance mechanism, computer storage medium, and execution method
CN105488674A (en) Method and system for carrying out secure transaction by using wireless security device, and server
US20190156334A1 (en) System and method for providing anonymous payments
US10528937B2 (en) Conducting a transaction between a service provider and a merchant
RU2012147030A (en) METHOD FOR SAFE USE OF BANK CARDS (OPTIONS)
TWI818533B (en) Cross-border scan code payment method and system

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

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

Country of ref document: EP

Kind code of ref document: A1