CN109191108B - Two-dimensional code aggregation payment system based on block chain and working method thereof - Google Patents

Two-dimensional code aggregation payment system based on block chain and working method thereof Download PDF

Info

Publication number
CN109191108B
CN109191108B CN201810889641.5A CN201810889641A CN109191108B CN 109191108 B CN109191108 B CN 109191108B CN 201810889641 A CN201810889641 A CN 201810889641A CN 109191108 B CN109191108 B CN 109191108B
Authority
CN
China
Prior art keywords
payment
dimensional code
display device
aggregation
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810889641.5A
Other languages
Chinese (zh)
Other versions
CN109191108A (en
Inventor
丁磊
张海笑
江志文
冯永晋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Juhefu Information Technology Co ltd
Original Assignee
Guangdong Bluebee Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Bluebee Information Technology Co ltd filed Critical Guangdong Bluebee Information Technology Co ltd
Priority to CN201810889641.5A priority Critical patent/CN109191108B/en
Publication of CN109191108A publication Critical patent/CN109191108A/en
Application granted granted Critical
Publication of CN109191108B publication Critical patent/CN109191108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/202Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • G06Q20/023Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP] the neutral party being a clearing house
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/227Payment schemes or models characterised in that multiple accounts are available, e.g. to the payer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device

Landscapes

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

Abstract

The invention provides a two-dimension code aggregation payment system based on a block chain, which comprises a purchaser mobile terminal device with a two-dimension code identification function, a two-dimension code generation and display device, an aggregation payment gateway and a block chain link point server, wherein the aggregation payment gateway aggregates a plurality of third-party payment modes, commodity sales application software capable of running off line is pre-installed in the two-dimension code generation and display device, and a touch operation interface is arranged on the two-dimension code generation and display device. The invention realizes 'one-point access and whole-network service' aiming at different payment channels by using intelligent contracts of block chains, point-to-point communication and distributed account book technologies, merchants can register successfully on a plurality of third-party payment platforms by only providing data once without repeated application and approval, and transaction records are stored in an electronic evidence form.

Description

Two-dimensional code aggregation payment system based on block chain and working method thereof
Technical Field
The invention belongs to the field of internet technology and electronic technology, and particularly relates to a two-dimensional code aggregation payment system based on a block chain and a working method thereof.
Background
Since the 90 s of the 20 th century, information technology has experienced three wave tides of computers, internet and internet of things, and the resistance of strip and block segmentation is met when the information technology enters three-network (new-generation internet, broadband telecommunication network and digital television network) fusion, but the new-generation internet is closely fused with the broadband telecommunication network, and then the wave tide of big data and cloud computing is followed. From 2015, the blockchain technique became a new wave.
As a technical system capable of realizing consistent storage, non-tampering and non-repudiation of data, a block chain establishes reliable trust between points in a network, so that interference of intermediaries is eliminated in a value transmission process, the efficiency of value interaction is improved, the cost is reduced, and the block chain becomes a foundation for constructing a value internet. The block chain can realize the win-win of information sharing, privacy protection, common decision and individual benefit protection. The block chain can optimize the business process, reduce the credit cost, improve the cooperative efficiency and fully embody the characteristics of 'co-quotient, sharing and co-construction' of the sharing economy.
With the rapid development of internet technology and electronic technology in recent years, paperless application of currency in the commodity transaction process is more and more widespread. The transaction currency is paperless through various payment modes such as credit card payment, WeChat payment and Paibao payment, and the method is particularly suitable for being applied to scenes such as trade markets, vegetable markets and the like with frequent transactions and small transaction amount.
Since the appearance of the two-dimensional code, the two-dimensional code is more and more widely applied in the payment field, and with the rapid development of IT technology and the rapid promotion of electronic commerce in China, the rapid popularization of mobile terminals such as smart phones and tablet computers is promoted, and a solid application foundation is provided for the popularization of two-dimensional code payment.
But also a lot of problems appear in the rapid popularization process of two-dimensional code payment:
(1) a plurality of third-party payments release respective two-dimensional code payment systems, and merchants need to post and lay a plurality of payment two-dimensional codes, so that confusion and low efficiency in the transaction process are formed;
(2) most of the payment two-dimensional codes are static two-dimensional codes, so that the payment two-dimensional codes are easy to maliciously replace and have low safety, and the payment party is easy to make mistakes and cause misunderstandings when inputting payment amount;
(3) the third-party payment channels are numerous, and merchants need to submit application data to different channels, wait for the approval of corresponding channels and then access to the network to realize two-dimensional code payment, so that the popularization of two-dimensional code payment is severely restricted;
(4) for a plurality of two-dimensional code payment channels, no unified data aggregation service exists.
The aggregated payment is relative to third party payment, and serves as an expansion of the third party payment platform service. The third-party payment is between a bank and a merchant, the aggregated payment is between the third-party payment and the merchant, various third-party payment platforms including a card swiping and chip card payment mode of a Unionpay system third-party payment company, a WeChat and Paibao two-dimensional code payment mode and other similar wing payment modes, a Baidu wallet, a Jingdong wallet and other payment modes are aggregated, and the aggregated payment is borne by a unified software and hardware platform.
The aggregated payment is only used for completing information transfer in a payment link and carrying merchant operation, and helps merchants to reduce access cost and improve operation efficiency on the basis of gathering mainstream payment modes including Unionpay, Payment treasures, WeChat and the like, and has the characteristics of neutrality, flexibility, convenience and the like.
The Chinese patent CN106355385A discloses a novel two-dimensional code payment method for an electronic scale, which comprises the following steps:
1) the electronic scale sends goods information to a two-dimensional code generating and displaying system, wherein the goods information comprises the payment to be paid;
2) the two-dimensional code generating and displaying system receives the goods information transmitted by the electronic scale and generates two-dimensional codes according to the received goods information, the request information for confirming payment and the connection information of the two-dimensional code generating and displaying system; the two-dimensional code generating and displaying system displays the two-dimensional code through a display device;
3) scanning the two-dimensional code by using first handheld electronic equipment; the first handheld electronic device is provided with a two-dimensional code resolving module; the resolving module resolves the connection information of the two-dimensional code generation and display system; the first handheld electronic device is provided with a first ID account, and the first ID account is used for paying a payment;
4) generating connection information with a display system by verifying the two-dimensional code; the two-dimensional code generation and display system determines whether the two-dimensional code generation and display system is in communication connection with the first handheld electronic device, if the two-dimensional code generation and display system passes the verification, the two-dimensional code generation and display system is connected, and if the two-dimensional code generation and display system does not pass the verification, the two-dimensional code generation and display system is not connected;
5) confirming payment of goods by using the first handheld electronic equipment, generating payment information by using the first ID account, the payment password and payment confirmation information, generating a data byte stream A by the first handheld electronic equipment through an encryption algorithm on the payment information and the goods information, and then transmitting the data byte stream A to the two-dimensional code generating and displaying system;
6) the two-dimensional code generating and displaying system generates the goods information into a data byte stream B through an encryption algorithm;
7) the second handheld electronic equipment is in communication connection with the two-dimensional code generating and displaying system; the second handheld electronic device is provided with a second ID account, and the second ID account is used for collecting money for goods; the second handheld electronic device generates a data byte stream C from the information of the second ID account through an encryption algorithm; the two-dimensional code generating and displaying system transmits the data byte stream A and the data byte stream B to the second handheld electronic device; the second handheld electronic device transmits the data byte stream A, the data byte stream B and the data byte stream C to an identity verification server;
8) the identity authentication server stores the information of the second ID account, and resolves the data byte stream A, the data byte stream B and the data byte stream C to respectively obtain data a, data B and data C; the identity authentication server verifies whether goods information contained in the data a and the data b are consistent or not, if yes, the next step is carried out, and if not, prompt information is transmitted to the second handheld electronic device; the identity authentication server authenticates the identity information transmitted by the second handheld electronic equipment through the data c, and if the identity information authentication fails, prompt information is transmitted to the second handheld electronic equipment; if the identity information passes the verification, entering the next step;
9) after the verification is passed, the identity verification server sends a deduction request to a third-party payment service system or a bank service system, the third-party payment service system or the bank service system deducts the money of the goods from the first ID account, and if the money deduction is successful, the money of the goods is paid into the second ID account and information of successful money deduction is returned; if the deduction is unsuccessful, returning information of unsuccessful deduction;
10) the third-party payment service system or the bank service system transmits information of whether the deduction is successful to the second handheld electronic device, and the second handheld electronic device transmits information of whether the deduction is successful to the two-dimensional code generating and displaying system; and the two-dimension code generating and displaying system displays the deduction result through a display screen and transmits the deduction result to the first handheld electronic equipment.
Chinese patent CN107578224A discloses a method and device for multi-platform aggregated payment, which includes: generating order payment information according to commodities selected by a user through a merchant terminal, generating a collection request according to the order payment information, and judging the type of a payment platform of the user terminal from the payment request; calling a corresponding payment platform and displaying a merchant order according to the type of the payment platform, wherein the merchant order comprises the payment amount of the user terminal; and receiving a callback notice of payment returned by the user side through the corresponding payment platform. The multi-platform aggregated payment method and device provided by the invention aggregate a plurality of payment platforms to carry out payment transaction, and avoid using a plurality of two-dimensional codes.
However, the above patents are all dedicated to solving the local problem of two-dimension code aggregated payment, and are all realized based on static two-dimension codes, and "one code is paid more" and "one code is paid one by one" cannot be realized. In the prior art, the content of realizing 'one-point access and whole network service' by using a technical means is not mentioned.
According to the requirements of people's banks in China, a merchant needs to submit a business license, a legal identity card, a payee bank account and a shop photo for registering two-dimensional code money collection, and the current situation is that a trust mechanism is lacked, after a third-party payment channel A collects merchant data and certifies and opens services, a third-party payment channel B does not receive the certification of the third-party payment channel A, and the same data of the merchant needs to be collected to repeat the certification process of the merchant account opening, so that the sharing and the corresponding application of the merchant are limited, the efficiency is low, and an information isolated island is formed. The buyer facing the merchant inevitably uses different payment application programs, which causes inconsistency and confusion of payment collection at the merchant end, and the channels cannot share data, thereby failing to provide uniform data aggregation service for the merchant and the buyer.
Disclosure of Invention
The invention aims to solve the technical problem of providing a two-dimension code aggregation payment system based on a block chain and a working method thereof, which realize two-dimension code payment settlement based on one-point access and whole network service of the block chain, realize dynamic two-dimension code aggregation payment on the basis, aggregate all code scanning payment, one-code multi-payment and one-code one-payment by one two-dimension code, and feed back a payment result to a two-dimension code generating and displaying device in real time. The dynamic two-dimensional code aggregation payment containing information such as payment amount is achieved, the payment amount does not need to be input by a payer, consumption experience is good, and meanwhile, a block chain technology is used for providing data services which cannot be tampered for buyers, merchants and other demanders.
In order to solve the technical problem, an embodiment of the present invention provides a two-dimensional code aggregation payment system based on a block chain, including a purchaser mobile terminal having a two-dimensional code identification function, a two-dimensional code generation and display device, an aggregation payment gateway, and a block chain node server, where the two-dimensional code generation and display device has a unique identification number, and the block chain node server stores merchant information and is provided with a third-party payment channel; a touch operation interface is arranged on the two-dimensional code generating and displaying device; the two-dimension code generating and displaying device is internally pre-provided with commodity sales application software capable of running off line, and generates a dynamic two-dimension code comprising a collection amount, a unique identification number of the two-dimension code generating and displaying device and an IP address of the payment gateway by combining the unique identification number of the two-dimension code generating and displaying device and the IP address of the aggregated payment gateway; the touch operation interface is used for selecting the sold commodities, inputting unit prices of the commodities, and displaying the amount of money received, the dynamic two-dimensional code and information on whether payment is successful or not; the purchaser mobile terminal is used for scanning the dynamic two-dimensional code and initiating a payment request with a unique identification number and collection amount information of the two-dimensional code generating and displaying device to the aggregation payment gateway; the aggregation payment gateway is used for authenticating the legality of the two-dimension code generating and displaying device, initiating a payment request with merchant information, purchaser mobile terminal program information and collection amount information to a third-party payment channel, monitoring a transaction result and feeding the transaction result back to the two-dimension code generating and displaying device; the third party payment channel is used for finishing the safe interactive payment between a third party payment account of a purchaser party of the purchaser mobile terminal and a merchant;
and the block chain node server is used for realizing third-party payment, data preprocessing, distributed data storage and data service.
The invention also provides a working method of the two-dimensional code aggregation payment system based on the block chain, which comprises the following steps:
(1) the merchant runs the pre-installed commodity sales application software on the two-dimensional code generation and display device, selects a commodity name through a touch operation interface of the two-dimensional code generation and display device, inputs a commodity price (which can be preset), then the commodity sales application software can automatically calculate and display a collection amount (which can be manually input), selects a settlement function, and generates a dynamic two-dimensional code comprising the collection amount, the unique identification number of the two-dimensional code generation and display device and the IP address of the aggregated payment gateway by combining the unique identification number of the two-dimensional code generation and display device and the IP address of the aggregated payment gateway;
(2) a purchaser scans the dynamic two-dimensional code through an application program in purchaser mobile terminal equipment with a two-dimensional code identification function and then initiates a payment request with a unique identification number, a commodity price and collection amount information of a two-dimensional code generation and display device to the aggregation payment gateway;
(3) the aggregation payment gateway firstly authenticates the legality of the two-dimension code generation and display device according to information sent by the two-dimension code generation and display device, sends the unique identification number of the two-dimension code generation and display device to the block chain node server after the authentication is passed so as to obtain the corresponding merchant information, and sends a payment request broadcast to a third party payment together with client program information used by a purchaser and the payment request according to a corresponding third party payment access format;
(4) the corresponding third party payment channel in the block chain node server automatically executes a corresponding program according to the channel selected by the intelligent contract, so that the interaction required by the payment of the third party and the payment of the buyer is directly completed, and finally, whether the result of the payment is successful or not is respectively fed back to the aggregated payment gateway and the buyer through the intelligent contract program;
(5) and the aggregation payment gateway receives the result of whether the payment is successful or not, and feeds the result back to the two-dimensional code generation and display device for corresponding prompt, so that the whole payment process is completed. After the payment process in the step (5) is completed, the two-dimensional code generation and display device uploads the transaction data to the aggregate payment gateway according to an IBM MQTT protocol, the aggregate payment gateway stores the corresponding transaction data to all nodes in a block chain link Point Server (Blockchain Point Server) in a Point-to-Point communication mode according to an agreed encryption rule and based on an interaction rule of proximity and consensus, so that distributed account book storage is realized, and the method further comprises file distribution (transmission software/firmware update), transmission equipment analysis report and the like.
In the step (3), before the aggregation payment gateway primarily authenticates the two-dimensional code generation and display device, the device registration, the device authentication and the key distribution of the two-dimensional code generation and display device need to be completed, a request is sent to a node of the block chain, and data reading and writing are realized by using an intelligent contract. Wherein the steps before the step (1) are as follows: merchant registration, two-dimensional code generation and display device initialization, wherein,
the merchant registers as a member, fills in related member information and stores the corresponding information to a block chain node server to realize one-point access and whole network service;
the initialization of the two-dimensional code generation and display device comprises the following steps: a. burning a unique identification number of the two-dimensional code generation and display device; b. registering and registering a unique identification number of the two-dimensional code generating and displaying device in the aggregation payment gateway; c. matching a corresponding merchant third-party payment account for the two-dimensional code generating and displaying device; d. the two-dimensional code generating and displaying device is connected to the block link point server through the Internet.
Further, the distributed account book of the block chain node server communicates with the data service client through an IBM HFC SDK and a REST API, so that data services facing different requirements are realized directly or through a social network platform mode.
The technical scheme of the invention has the following beneficial effects:
the dynamic two-dimensional code is generated offline by using the two-dimensional code generation and display device, so that 'one-code multi-payment' (one code covers all mobile terminal application programs of WeChat, Payment treasure, Unionpay, bank and the like) and 'one-code one-payment' (each dynamic two-dimensional code can only be scanned once by one buyer mobile terminal application program and is invalid), the dynamic two-dimensional code contains payment amount, and the amount input by a buyer or a merchant is not needed.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is an architectural diagram of the present invention;
FIG. 3 is a data flow diagram of the present invention;
FIG. 4 is a functional diagram of a merchandise sales application according to the present invention;
FIG. 5 is a flowchart of the operation of the aggregated payment gateway of the present invention;
fig. 6 is a schematic diagram of the design of a block link point server and the implementation of an intelligent contract according to the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
A dynamic two-dimensional code aggregation payment system based on a Block chain is shown in fig. 1, and comprises a two-dimensional code generating and displaying device, an aggregation payment gateway (Pay AP) and a Block chain link point Server (Block chain Server), wherein the two-dimensional code generating and displaying device realizes commodity selection (optional) or payment amount input of commodity sales, and generates a dynamic two-dimensional code containing the information by combining an unique identification number (eID) of the two-dimensional code generating and displaying device and an IP address or a domain name of the aggregation payment gateway (Pay AP), a purchaser scans the dynamic two-dimensional code through a terminal device with a two-dimensional code identification function and then initiates a payment request with the information of the unique identification number (eID), the commodity name (optional) and the payment amount of the two-dimensional code generating and displaying device to the aggregation payment gateway (Pay AP), and the aggregation payment gateway (Pay AP) firstly authenticates the legality of the two-dimensional code generating and displaying device according to the information sent by the two-dimensional code generating and displaying device, after passing the authentication, the unique identification number (eID) of the two-dimensional code generation and display device is sent to a block chain link point Server (Block chain Server) for retrieval and query to obtain the corresponding merchant information, the client program information used by a purchaser and a payment request containing a commodity name (optional) and a collection amount are sent to a third party for payment according to a corresponding third party payment access format to initiate a payment request, then the third party payment and the purchaser directly complete the interaction required by the payment, and finally, the aggregation payment gateway receives the result of whether the payment is successful or not and feeds the result back to the two-dimensional code generation and display device for corresponding prompt to complete the whole payment process. Meanwhile, corresponding data are stored in a Blockchain Server (Blockchain Server), and data services facing different requirements can be realized through a client application interface API based on the Blockchain point Server.
The architecture diagram of the two-dimensional code aggregation payment system based on the block chain is shown in fig. 2, the corresponding data flow diagram is shown in fig. 2, and before the two-dimensional code payment is completed, a merchant registration process, a two-dimensional code generation process and a two-dimensional code display device initialization process need to be performed.
The two-dimension code generating and displaying device is pre-installed with commodity sales application software capable of running off line, a functional diagram of the commodity sales application software is shown in fig. 4, the two-dimension code generating and displaying device runs commodity sales application software (POS) by using an Android terminal, and can generate dynamic two-dimension codes for each order form off line. The dynamic two-dimensional code may contain the following information: aggregating gateway address, serial number EID, sequence number, transaction Amount Amount, merchant order number orderId, POS terminal number, order content information and signature information to realize the operation of pricing and two-dimensional code cash registering, and in addition, the commodity sales application software (POS) also provides the functions of data storage, management, analysis and the like.
The merchant runs POS software, the sold commodities can be selected through a touch operation interface, the commodity sale amount is calculated through the unit price preset by the POS software or the unit price set on the spot (accumulative operation), and after the merchant selects the settlement function, the two-dimensional code generating and displaying device automatically generates a dynamic two-dimensional code containing the commodity name, the settlement amount, the unique identification number (eID) of the two-dimensional code generating and displaying device, the IP address or the domain name of a payment gateway (Pay AP) and other information.
After scanning the two-dimensional code through an application program in the terminal equipment with the two-dimensional code identification function, a purchaser initiates a payment request with information such as an unique identification number (eID), a commodity name (optional) and a collection amount of a two-dimensional code generation and display device to a payment aggregation gateway (Pay AP).
The aggregate payment gateway (Pay AP) can complete equipment registration, equipment authentication and key distribution of the two-dimensional code generation and display device, authenticated equipment or application can send request broadcast to the block chain link point server, and data read-write of the block chain server is triggered by an intelligent contract. When a payment request of a purchaser is received, firstly, the legality of the two-dimensional code generation and display device is authenticated according to information sent by the request, after the authentication is passed, the unique identification number (eID) of the two-dimensional code generation and display device, client program information used by the purchaser, a payment request containing a commodity name (optional) and a collection amount are broadcasted to a third-party payment channel in the block chain node server according to a format of corresponding third-party payment access, and the third-party payment channel conforming to the request can respond to the request.
Fig. 5 is a detailed description of a process of the aggregated payment gateway, where the aggregated payment gateway is mainly used to authenticate a two-dimensional code generation and display device, initiate a payment request to a third party payment, monitor a transaction result, and transmit transaction data, and the detailed steps are as follows:
first, authentication two-dimensional code generation and display device
And the aggregate payment gateway (Pay AP) authenticates the legality of the two-dimensional code generation and display device according to the information contained in the dynamic two-dimensional code of the two-dimensional code generation and display device, and acquires the third-party payment information of the corresponding commercial tenant from the block chain link Point Server (Block Point Server) according to the unique identification number (EID) of the two-dimensional code generation and display device after the authentication is passed.
Initiating a payment request to a third party payment
And the aggregate payment gateway (Pay AP) initiates a payment request containing the commodity name (optional), the payment time and the collection amount to the third-party payment platform according to the access format required by the payment platform corresponding to the third-party payment software used by the payer.
Third, monitoring the result of the transaction
The aggregation payment gateway sends a query request to a third-party payment platform through a polling mechanism, queries an order transaction result and transmits the order transaction result to the two-dimensional code generating and displaying device in a wireless mode.
Transmitting transaction data
The aggregate payment gateway transmits the basic transaction data of each order to a blockchain node server (third party payment) through XML messages.
And then, automatically executing a corresponding program by a corresponding third-party payment channel in a block chain node Point Server (Block Point Server) according to a channel selected by an intelligent contract to realize interaction required by payment directly with a buyer, finally, feeding back a result of success or failure of payment to a payment convergence gateway (Pay AP) and the buyer respectively through the intelligent contract program, and feeding back the result to a two-dimensional code generating and displaying device by the payment convergence gateway (Pay AP) to carry out corresponding prompt so as to complete the whole payment process.
As shown in fig. 6, a block chain server with four nodes is established based on the IBM blue mix platform, and the block chain server corresponds to different third party payment channels, and different channels are selected by using a channel technology in a REST API interface provided by the IBM blue mix platform and developed for a block chain to perform corresponding read/write operations with different node servers.
For example, the intelligent contract of the channel 1 is selected, and when the transaction amount of the merchant exceeds a certain set threshold value, the transaction commission charge of the merchant is automatically reduced to a more favorable rate.
For another example, the intelligent contract of the channel 2 is selected, and when the amount of single transaction of the merchant exceeds a certain set threshold value, the capped transaction commission fee is automatically adopted.
For another example, the intelligent contract of the channel 3 is selected, the transaction behaviors of various merchants are analyzed, the merchants are graded, and targeted financial services are provided.
After the whole payment process is completed, the two-dimensional code generation and display device uploads transaction data to a payment convergence gateway (Pay AP) according to an IBM MQTT protocol, the payment convergence gateway (Pay AP) stores the corresponding transaction data to all nodes in a block chain link Point Server (Blockchain Point Server) in a Point-to-Point communication mode in an electronic evidence form according to an agreed encryption rule and based on an interaction rule of proximity (physical, social or time) and consensus so as to realize distributed account book storage, and the method further comprises file distribution (spreading software/firmware update), transmission of equipment analysis reports and the like.
The data service client communicates with the distributed account book of the block link point server through an IBM HFC SDK and a REST API, so that data services facing different requirements are realized directly or through a social network platform mode. The social network platform can be a WeChat public number or a Paobao Living number.
The invention has the following advantages:
1. the invention realizes a dynamic two-dimensional code aggregation payment method and a system based on a block chain, wherein a block chain link point server comprises a plurality of third party payment channels, and is communicated with a purchaser mobile terminal through an aggregation payment gateway, so that 'one-code multi-payment' (one code covers all mobile terminal application programs such as WeChat, Paibao, UnionPay, Bank and the like) and 'one-code one-payment' (each dynamic two-dimensional code can be scanned once by one mobile terminal application program and is invalid), the dynamic two-dimensional code contains payment amount, the amount input by a customer is not needed, the consumption experience is good, the service quality of a merchant is improved, more customer sources can be attracted, the payment cost is reduced, and the sales amount is improved.
2. The two-dimensional code generating and displaying device can be matched with an electronic scale for use, and has the functions of weighing commodities, inputting commodity unit prices (the commodity unit prices can be preset), displaying the amount of collected money, displaying information on whether payment is successful or not and the like.
3. The invention realizes 'one-point access and whole-network service' aiming at different payment channels by using intelligent contracts of block chains, point-to-point communication and distributed account book technologies, merchants can register successfully on a plurality of third-party payment platforms by only providing data once without repeated application and approval, and transaction records are stored in an electronic evidence form.
4. The method realizes cross-application and cross-platform data collection by using an advanced software design method, and provides more comprehensive service for merchants and purchasers.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A two-dimension code aggregation payment system based on a block chain is characterized by comprising a purchaser mobile terminal with a two-dimension code identification function, a two-dimension code generation and display device, an aggregation payment gateway and a block chain node server, wherein the two-dimension code generation and display device has a unique identification number, and merchant information and a third party payment channel are stored in the block chain node server; a touch operation interface is arranged on the two-dimensional code generating and displaying device; wherein,
the two-dimension code generating and displaying device is internally pre-provided with commodity sales application software capable of running off line, and generates a dynamic two-dimension code comprising a collection amount, a unique identification number of the two-dimension code generating and displaying device and an IP address of the payment gateway by combining the unique identification number of the two-dimension code generating and displaying device and the IP address of the aggregated payment gateway;
the touch operation interface is used for selecting the sold commodities, inputting unit prices of the commodities, and displaying the amount of money received, the dynamic two-dimensional code and information on whether payment is successful or not;
the purchaser mobile terminal is used for scanning the dynamic two-dimensional code and initiating a payment request with a unique identification number and collection amount information of the two-dimensional code generating and displaying device to the aggregation payment gateway;
the aggregation payment gateway is used for authenticating the legality of the two-dimension code generating and displaying device, initiating a payment request with merchant information, purchaser mobile terminal program information and collection amount information to a third-party payment channel, monitoring a transaction result and feeding the transaction result back to the two-dimension code generating and displaying device;
the third party payment channel is used for finishing the safe interactive payment between a third party payment account of a purchaser party of the purchaser mobile terminal and a merchant;
and the block chain node server is used for realizing third-party payment, data preprocessing, distributed data storage and data service.
2. The working method of the two-dimension code aggregation payment system based on the block chain as claimed in claim 1, characterized by comprising the following steps:
(1) the method comprises the steps that a merchant runs a commodity sales application software preinstalled on a two-dimensional code generation and display device, after a commodity name is selected through a touch operation interface of the two-dimensional code generation and display device and a commodity unit price is input, the commodity sales application software automatically calculates the amount of money to be collected and displays the amount of money to be collected, the merchant selects a settlement function, and a dynamic two-dimensional code containing the amount of money to be collected, the unique identification number of the two-dimensional code generation and display device and the IP address of an aggregation payment gateway is generated through combining the unique identification number of the two-dimensional code generation and display device and the IP address of the aggregation payment gateway;
(2) a purchaser scans the dynamic two-dimensional code through an application program in purchaser mobile terminal equipment with a two-dimensional code identification function and then initiates a payment request with a unique identification number and collection amount information of a two-dimensional code generation and display device to the aggregation payment gateway;
(3) the aggregation payment gateway firstly authenticates the legality of the two-dimension code generation and display device according to information sent by the two-dimension code generation and display device, sends the unique identification number of the two-dimension code generation and display device to the block chain node server after the authentication is passed so as to obtain the corresponding merchant information, and sends a payment request broadcast to a third party payment together with client program information used by a purchaser and the payment request according to a corresponding third party payment access format;
(4) the corresponding third party payment channel in the block chain node server automatically executes a corresponding program according to the channel selected by the intelligent contract, so that the interaction required by the payment of the third party and the payment of the buyer is directly completed, and finally, whether the result of the payment is successful or not is respectively fed back to the aggregated payment gateway and the buyer through the intelligent contract program;
(5) and the aggregation payment gateway receives the result of whether the payment is successful or not, and feeds the result back to the two-dimensional code generation and display device for corresponding prompt, so that the whole payment process is completed.
3. The operating method of the two-dimensional code aggregation payment system based on the blockchain as claimed in claim 2, wherein after the payment process is completed in step (5), the two-dimensional code generation and display device uploads the transaction data to the aggregation payment gateway according to the IBM MQTT protocol, and the aggregation payment gateway stores the corresponding transaction data to all nodes in the blockchain node server in a point-to-point communication manner according to an agreed encryption rule in the form of electronic evidence and based on interaction rules of proximity and consensus, thereby realizing distributed ledger storage.
4. The working method of the two-dimensional code aggregation payment system based on the block chain as claimed in claim 2, wherein in the step (3), before the aggregation payment gateway primarily authenticates the two-dimensional code generation and display device, the device registration, the device authentication, and the key distribution of the two-dimensional code generation and display device need to be completed, and a request is sent to a node of the block chain, so that data reading and writing are realized by using an intelligent contract.
5. The working method of the two-dimensional code aggregation payment system based on the block chain as claimed in claim 2, wherein the step (1) is preceded by the steps of: merchant registration, two-dimensional code generation and display device initialization, wherein,
the merchant registers as a member, fills in relevant member information and stores the corresponding information to the block chain node server;
the initialization of the two-dimensional code generation and display device comprises the following steps: a. burning a unique identification number of the two-dimensional code generation and display device; b. registering and registering a unique identification number of the two-dimensional code generating and displaying device in the aggregation payment gateway; c. matching a corresponding merchant third-party payment account for the two-dimensional code generating and displaying device; d. the two-dimensional code generating and displaying device is connected to the block link point server through the Internet.
6. The working method of the two-dimensional code aggregation payment system based on the blockchain as claimed in claim 3, wherein the distributed book of the blockchain node server communicates with the data service client through an IBM HFC SDK and REST API, so as to implement data services facing different requirements directly or through a social network platform.
CN201810889641.5A 2018-08-07 2018-08-07 Two-dimensional code aggregation payment system based on block chain and working method thereof Active CN109191108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810889641.5A CN109191108B (en) 2018-08-07 2018-08-07 Two-dimensional code aggregation payment system based on block chain and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810889641.5A CN109191108B (en) 2018-08-07 2018-08-07 Two-dimensional code aggregation payment system based on block chain and working method thereof

Publications (2)

Publication Number Publication Date
CN109191108A CN109191108A (en) 2019-01-11
CN109191108B true CN109191108B (en) 2022-03-11

Family

ID=64920803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810889641.5A Active CN109191108B (en) 2018-08-07 2018-08-07 Two-dimensional code aggregation payment system based on block chain and working method thereof

Country Status (1)

Country Link
CN (1) CN109191108B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109461006B (en) * 2018-09-13 2021-08-31 广东蓝蜜蜂信息技术有限公司 Traceability two-dimensional code generation method and system for bulk food and agricultural products
CN110738475B (en) * 2019-01-15 2022-01-18 张文 Cross-platform payment method, device and system, equipment and readable storage medium
CN109872140A (en) * 2019-01-31 2019-06-11 篱笆墙网络科技有限公司 Method, apparatus, equipment and the storage medium of payment and settlement
CN109934672A (en) * 2019-02-19 2019-06-25 薛伟忠 A kind of E-shop system economic based on the logical card of block chain
JP6811339B2 (en) 2019-03-27 2021-01-13 アドバンスド ニュー テクノロジーズ カンパニー リミテッド Read public data for blockchain networks using a highly available and reliable execution environment
CN115967534A (en) * 2019-03-27 2023-04-14 创新先进技术有限公司 Retrieving public data of blockchain networks using trusted execution environments
EP3910907B1 (en) 2019-03-29 2023-08-02 Advanced New Technologies Co., Ltd. Retrieving access data for blockchain networks using highly available trusted execution environments
CN111684481A (en) * 2019-07-05 2020-09-18 深圳海付移通科技有限公司 Aggregated payment method and related equipment
CN110428036A (en) * 2019-07-11 2019-11-08 深圳市优博讯科技股份有限公司 A kind of generation method of dynamic two-dimension code, system and terminal device
CN110473364A (en) * 2019-08-13 2019-11-19 深圳沸石科技股份有限公司 Gathering broadcasting method and device based on MQTT agreement
CN110599152A (en) * 2019-09-02 2019-12-20 中国建设银行股份有限公司 Aggregated payment method and system
CN111105220A (en) * 2019-10-14 2020-05-05 杭州复杂美科技有限公司 Digital currency payment method, system, equipment and storage medium
CN110910222B (en) * 2019-11-29 2023-05-12 中国银行股份有限公司 Block chain-based commodity customizing method, device and system
CN111131438B (en) * 2019-12-20 2023-04-07 北京同邦卓益科技有限公司 Method and apparatus for accessing block chains
CN111178840A (en) * 2019-12-27 2020-05-19 支付宝实验室(新加坡)有限公司 Service processing method, device, system, electronic equipment and storage medium
CN111047321A (en) * 2019-12-27 2020-04-21 支付宝实验室(新加坡)有限公司 Service processing method and device, electronic equipment and storage medium
CN111160883B (en) * 2019-12-31 2023-11-07 易票联支付有限公司 Networking and collecting system based on aggregated two-dimension codes, networking and collecting method based on aggregated two-dimension codes and storage medium
CN111553678B (en) * 2020-01-23 2024-02-09 中国银联股份有限公司 Two-dimensional code payment method and system based on mobile phone business card
CN111369259A (en) * 2020-03-10 2020-07-03 北京意锐新创科技有限公司 Payment method and device suitable for block chain support
CN111047313B (en) * 2020-03-12 2020-12-04 支付宝(杭州)信息技术有限公司 Code scanning payment, information sending and key management method, device and equipment
CN111192040B (en) * 2020-04-10 2021-02-09 支付宝(杭州)信息技术有限公司 Registration method and system for mechanism identification number
CN111932223A (en) * 2020-06-01 2020-11-13 浙江数智未来控股集团有限公司 Multi-information aggregated two-dimensional code payment method, system and device
CN111815318A (en) * 2020-06-17 2020-10-23 衡水海博云科技有限公司 Equipment, system and method for aggregated payment
CN111783918B (en) * 2020-07-03 2022-04-15 福建正孚软件有限公司 Safe two-dimensional code distribution method and system
CN112509249A (en) * 2020-12-02 2021-03-16 江苏科技大学 Machine vision electronic scale system for block chain and use method
CN112598523A (en) * 2020-12-30 2021-04-02 广东微聚科技有限公司 Aggregation block chain system
CN115708115A (en) * 2021-08-19 2023-02-21 支付宝(杭州)信息技术有限公司 Information processing method and device
CN113807831B (en) * 2021-09-07 2024-09-20 维沃移动通信有限公司 Payment method and device
CN117787966B (en) * 2024-02-23 2024-05-03 广州合利宝支付科技有限公司 Aggregated payment data identification control system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106355385A (en) * 2016-09-25 2017-01-25 上海锐得电子有限公司 Novel two-dimensional code payment method for electronic scale
CN107578224A (en) * 2017-09-13 2018-01-12 深圳前海乘势科技有限公司 The method and device that multi-platform polymerization is paid
CN107833052A (en) * 2017-10-27 2018-03-23 南京物联传感技术有限公司 A kind of polymerization payment system and method for work based on block chain
CN108154564A (en) * 2018-03-16 2018-06-12 北京路盟科技有限公司 Polymerization payment intelligent end device
CN108182585A (en) * 2018-01-25 2018-06-19 北京正众信源传媒科技有限公司 New retail anti-counterfeiting system and method based on block chain technology
CN108241976A (en) * 2018-01-04 2018-07-03 杭州复杂美科技有限公司 A kind of Quick Response Code method of payment based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018126059A1 (en) * 2016-12-30 2018-07-05 Slock.it, Inc. Block-chain enabled service provider system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106355385A (en) * 2016-09-25 2017-01-25 上海锐得电子有限公司 Novel two-dimensional code payment method for electronic scale
CN107578224A (en) * 2017-09-13 2018-01-12 深圳前海乘势科技有限公司 The method and device that multi-platform polymerization is paid
CN107833052A (en) * 2017-10-27 2018-03-23 南京物联传感技术有限公司 A kind of polymerization payment system and method for work based on block chain
CN108241976A (en) * 2018-01-04 2018-07-03 杭州复杂美科技有限公司 A kind of Quick Response Code method of payment based on block chain
CN108182585A (en) * 2018-01-25 2018-06-19 北京正众信源传媒科技有限公司 New retail anti-counterfeiting system and method based on block chain technology
CN108154564A (en) * 2018-03-16 2018-06-12 北京路盟科技有限公司 Polymerization payment intelligent end device

Also Published As

Publication number Publication date
CN109191108A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109191108B (en) Two-dimensional code aggregation payment system based on block chain and working method thereof
US20230196355A1 (en) Processing of electronic transactions
US6199051B1 (en) Digital active advertising
US7292996B2 (en) Method and apparatus for performing a credit based transaction between a user of a wireless communications device and a provider of a product or service
US8116734B2 (en) Party identification in a wireless network
CN101354770B (en) Use the system and method that five side's protocol realization bank cards pay
US20170372417A1 (en) Digital asset account management
US20220383325A1 (en) System and Method for Web-Based Payments
AU2018278918A1 (en) Payment device with integrated chip
US20150363768A1 (en) System and method for rendering virtual currency related services
CN109313764A (en) Tokenized system and method are carried out to the Deposit Account Number used at Payment Card receiving station
CN104021492A (en) On-line purchasing method for protecting secretes of customer and system thereof
WO2018047982A1 (en) Payment method and payment system utilizing code information
JP2008504612A (en) Payment processing system
WO2018010009A1 (en) Processing of electronic transactions
US20170286992A1 (en) System and method for coded transaction processing
CN110766397B (en) Near field payment method based on data identification model
CN111695887A (en) Block chain-based secure payment interaction system
US20120173436A1 (en) Method and system for authorizing, authenticating, implementing, brokering data transfers, and collecting fees for data transfers among distributed electronic devices and servers
CN111915285B (en) Cash withdrawing method and device and electronic equipment
CN202433966U (en) Information processing system for realizing recommendation commission instant transaction through embedding mobile terminal of purchase software client
KR20190110384A (en) System for group payment and method thereof, payment management server
CN112700263A (en) Electronic commerce transaction method and electronic commerce transaction platform
KR101172872B1 (en) Method and system of secure payment using authentication number
KR20210116740A (en) Method for matching the producter by paying point and/or coin in watching advertisement

Legal Events

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

Effective date of registration: 20231107

Address after: Room 1003-6, No. 6 Weide Road, Yangpu District, Shanghai, 200000

Patentee after: Shanghai Juhefu Information Technology Co.,Ltd.

Address before: 528000 602, West Tower, building 1, 115 Zhangcha 1st Road, Chancheng District, Foshan City, Guangdong Province

Patentee before: GUANGDONG BLUEBEE INFORMATION TECHNOLOGY Co.,Ltd.