CN116485397A - Method, system and storage medium for order blockchain payment - Google Patents
Method, system and storage medium for order blockchain payment Download PDFInfo
- Publication number
- CN116485397A CN116485397A CN202310199695.XA CN202310199695A CN116485397A CN 116485397 A CN116485397 A CN 116485397A CN 202310199695 A CN202310199695 A CN 202310199695A CN 116485397 A CN116485397 A CN 116485397A
- Authority
- CN
- China
- Prior art keywords
- order
- store
- payment
- settlement
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000008014 freezing Effects 0.000 claims description 9
- 238000007710 freezing Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012790 confirmation Methods 0.000 claims description 2
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/12—Payment architectures specially adapted for electronic shopping systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a method, a system and a storage medium for order blockchain payment, and relates to the technical field of internet payment. The terminal device initiates the creation of the C2C settlement order in the transaction device, the transaction device manages the C2C settlement order state, and the store device manages the store order state according to the C2C settlement order state, so that commodity order transaction flow can be traced, transaction disputes are reduced, the wallet is integrated in the terminal device, the transaction device pays in the local APP, and the user privacy is better protected and is easy to meet regional supervision requirements.
Description
Technical Field
The invention relates to the technical field of internet payment, in particular to a method and a system for paying order blockchain.
Background
In the prior art, a shop device sends an order settlement request to a transaction device, the transaction device creates a C2C order to serve as an order transaction medium between a terminal device and the shop device, and the transaction device completes order payment according to a payment completion request sent by the terminal device through the shop device for confirming goods receiving, so that a threshold for opening an e-commerce website is reduced.
However, in the process of implementing the invention, the inventor finds that the terminal device transmits account information to the transaction device through the shop device, so that the privacy of the user cannot be well protected; stores may be small in scale, lack of safety protection technology means, and do not have safety protection capability, and store devices are vulnerable in the method. In addition, there are different payment transaction polices in different areas, and some require that the wallet carrier must be within the area, and if an open browser architecture is employed, it is difficult for the goods service transaction to meet the policing requirements.
Disclosure of Invention
The inventor discovers that a method for paying orders by using a blockchain is urgently needed, a shop device can realize payment management of the shop orders by means of a transaction device without establishing a payment system, a special server is not needed, the shop can be opened on line to do business at any time, a built-in wallet of a terminal device is directly connected to the transaction device to initiate creation of C2C settlement orders, and the transaction device manages the C2C settlement orders, so that transparency and traceability of commodity order transaction flows are realized. By the method, the function roles of the store device are weakened, the safety protection capability of the whole commodity transaction process is improved, and meanwhile, the regional supervision policy can be met by adopting the physical wallet carrier at the user side.
In order to overcome the defect that a terminal device in the prior art cannot integrate various account direct connection transaction devices including a transaction device in a wallet APP to realize efficient and safe commodity service order payment to a shop device, the invention provides an order blockchain payment method and system, which are used for solving the problems in the background technology.
In order to achieve the above purpose, the invention is realized by the following technical scheme: a method of order blockchain payment for a terminal device, the method comprising:
determining a transaction device and acquiring a payment blockchain address of a terminal device, which is arranged in the transaction device, of the terminal device;
acquiring and determining store order information, wherein the store order information comprises: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address;
determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount;
transmitting a C2C order settlement request to a transaction device, the C2C order settlement request comprising: the store order information;
acquiring a C2C settlement order number generated by the transaction device according to the C2C order settlement request;
transmitting a store order payment request to a store device, the store order payment request comprising: the C2C settlement order number and the store order information;
determining the payment amount of the store order according to the store order amount and the commodity collection logistics information;
transmitting a C2C settlement completion request to the transaction device for confirming receipt, the C2C settlement completion request including: the C2C settlement order number, the store order number and the store order payment amount;
transmitting a store order payment completion request to the store device for confirming receipt, the store order payment completion request comprising: the C2C settlement order number, the store order number and the store order payment amount.
Further, the C2C order settlement request further includes: store order information snapshot.
Further, the store order number includes: store device number.
Further, the store order information further includes: and (5) settling time limit rules.
Further, the determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
if the available balance of the terminal device payment blockchain address is less than the corresponding store order amount;
and transferring a difference part between the available balance and the corresponding store order amount to the terminal device payment blockchain address.
Further, the determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
if the available balance of the terminal device payment blockchain address is less than the corresponding store order amount;
and transferring a difference part between the available balance and the corresponding store order amount to the terminal device payment blockchain address.
Further, the determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
applying credit to a loan device according to the store order information;
and transferring the balance of the corresponding store order amount to the terminal device payment blockchain address by the loan device.
In another aspect, a method of order blockchain payment for a transaction device, the method comprising:
receiving a C2C order settlement request, the C2C order settlement request comprising: the store order information includes: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address;
creating or updating a C2C settlement order according to the C2C order settlement request, and determining a C2C settlement order number;
freezing an available balance in the terminal device payment blockchain address consistent with the store order amount;
marking the C2C settlement order transaction status as paid;
a receiving confirmation step of receiving a C2C order settlement completion request for confirming receipt, the C2C order settlement completion request including: the C2C settlement order number, the store order number and the amount to be paid by the store order are transferred from the terminal device payment blockchain address to the store device collection blockchain address, and the C2C settlement order payment record number is determined;
releasing the available balance of the payment blockchain address of the frozen terminal device;
the C2C settlement order transaction status is marked as completed.
Further, the C2C order settlement request further includes: store order information snapshot.
Further, the step of confirming receipt further includes:
the store order information further includes: a settlement time limit rule;
and if the C2C order settlement completion request is not received within the settlement time limit rule range according to a timer, transferring balance which is consistent with the store order amount from the terminal device payment blockchain address to the store device collection blockchain address according to the settlement time limit rule.
In another aspect, a method of order blockchain payment for a store device, the method comprising:
receiving a store order payment request, the store order payment request comprising: C2C settles order numbers, store order information including: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address;
inquiring a C2C settlement order transaction state according to the C2C settlement order number, and marking the trade order transaction state as paid if the C2C settlement order transaction state is paid and the balance of the payment blockchain address of the terminal device is not less than the balance consistent with the amount of the store order;
marking the trade state of the store order as shipped according to the receiving logistics information;
receiving a store order payment completion request for confirming receipt, the store order payment completion request comprising: the C2C settlement order number, the store order number and the amount paid by the store order are calculated;
inquiring and acquiring a C2C settlement order payment record number according to the C2C settlement order number;
calculating a payment completion net balance transferred from a terminal device payment blockchain address to a store device blockchain address according to the C2C settlement order payment record number, and marking that the store order transaction state is completed if the payment completion net balance is not smaller than the balance consistent with the payment amount of the store order.
Further, the store order payment request further includes: store order information snapshot.
In another aspect, a system for order blockchain payment for a terminal device, the terminal device comprising: a C2C settlement order unit, a store order unit and a wallet unit; the C2C settlement order unit, the store order unit and the wallet unit are logically connected with each other;
the wallet unit is used for determining a transaction device, acquiring a terminal device payment blockchain address of the terminal device, which is arranged in the transaction device, and determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount;
the store order unit is used for acquiring and determining store order information, sending a store order payment request to a store device, and sending a store order payment completion request to the store device for confirming goods receiving;
the C2C settlement order unit is used for sending a C2C order settlement request to the transaction device and sending a C2C settlement completion request to the transaction device for confirming receipt.
In another aspect, a system for order blockchain payment for a transaction device, the transaction device comprising: a C2C settlement order unit and a payment unit; the C2C settlement order unit and the payment unit are logically connected with each other;
the C2C order settlement unit is used for receiving a C2C order settlement request, creating or updating a C2C settlement order, managing the transaction state of the C2C settlement order, and receiving a C2C order settlement completion request for confirming receipt;
the payment unit is used for freezing the available balance which is consistent with the amount of the store order in the payment blockchain address of the terminal device and releasing the freezing, and transferring the balance which is consistent with the amount to be paid by the store order from the payment blockchain address of the terminal device to the payment blockchain address of the store device.
In another aspect, a system for order blockchain payment for a transaction device, the transaction device comprising: a store order unit, a C2C settlement order unit; the C2C settlement order unit and the store order unit are logically connected with each other;
the C2C settlement order unit is used for inquiring the transaction state of the C2C settlement order;
the store order unit is used for receiving a store order payment request, managing a store order transaction state according to the C2C settlement order transaction state, and receiving a store order payment completion request for confirming goods receiving.
In another aspect, a non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor performs the steps of a method of order transaction payment as described in any of the preceding claims.
The invention provides a method and a system for paying order blockchain. The beneficial effects are as follows:
in the invention, the following components are added: the terminal device determines a transaction device through a wallet unit and acquires a payment blockchain address of the terminal device, which is arranged in the transaction device, of the terminal device; acquiring and determining store order information through a store order unit, sending a store order payment request to a store device, and sending a store order payment completion request to the store device for confirming receipt; and sending a C2C order settlement request to the transaction device through the C2C order settlement unit, and sending a C2C settlement completion request to the transaction device for confirming receipt. The terminal device initiates the creation of the C2C settlement order in the transaction device, the transaction device manages the C2C settlement order state, and the store device manages the store order state according to the C2C settlement order state, so that commodity order transaction flow can be traced, transaction disputes are reduced, the wallet is integrated in the terminal device, the transaction device pays in the local APP, and the user privacy is better protected and is easy to meet regional supervision requirements.
Drawings
Fig. 1 is a flowchart of a first embodiment of the present invention.
Description of the embodiments
The invention is further illustrated by the following examples in conjunction with the accompanying drawings:
examples
The first embodiment discloses a method for order blockchain payment, which is used for a terminal device, and the method comprises the following steps:
step S101, determining a transaction device and acquiring a payment blockchain address of a terminal device opened in the transaction device. The transaction device can be a novel blockchain financial institution such as a commercial bank, an investment bank, a commodity exchange, a blockchain asset exchange, a data exchange and the like. The blockchain of this embodiment includes techniques such as blockdag.
Step S102, acquiring and determining store order information, wherein the store order information comprises the following steps: store order number, store order amount, store device payment blockchain address, and terminal device payment blockchain address. The store order information can also comprise various information such as specific names, models, specifications, manufacturers, price tags, commodity discounts, commodity places of production and the like of commodities, and can also comprise warehouse places and the like if the information is an online commodity.
Step S103, determining that the available balance of the payment blockchain address of the terminal device is not smaller than the corresponding store order amount. In the wallet unit of the terminal device, a linked payment may be set, with the payment blockchain address being transferred from the wallet other account to the terminal device. According to the supervision requirements of different areas, the store order amount generally requires the use of legal currency or legal digital currency for bidding, while the wallet of the terminal device can be a block chain asset, which needs to be exchanged into digital legal currency according to the transaction time price and supervision policy of the transaction device. Thus, the end device payment blockchain address may have a conversion relationship with the store order amount of the pricing unit, and may only be legal digital currency if the regulatory policy does not allow such conversion or the end device's redemption line has run out.
Step S104, sending a C2C order settlement request to the transaction device, where the C2C order settlement request includes: the store order information. The transaction device provides API access, through which the terminal device may send a request.
Step S105, acquiring the C2C settlement order number generated by the transaction device according to the C2C order settlement request. When the terminal device calls the transaction device API interface to send a request, a return value C2C settlement order number can be obtained.
Step S106, a store order payment request is sent to a store device, the store order payment request including: the C2C settles the order number and the store order information.
And step S107, determining the payment amount of the store order according to the store order amount and the commodity circulation information. If the quantity of the received goods is wrong or the quality is not consistent, the terminal device needs to be negotiated in an order system of the shop device and related fees need to be deducted in a payment system of the transaction device.
Step S108 of transmitting a C2C settlement completion request to the transaction apparatus for confirming receipt, the C2C settlement completion request including: the C2C settlement order number, the store order number and the store order payment amount.
Step S109, transmitting a store order payment completion request to the store apparatus for confirming receipt, the store order payment completion request including: the C2C settlement order number, the store order number and the store order payment amount.
In this embodiment, the terminal device directly connects with the transaction device to initiate creation of the C2C settlement order, so that the transaction flow of the store order is transparent and traceable.
Further, the C2C order settlement request further includes: store order information snapshot.
Further, the store order number includes: store device number.
Further, the store order information further includes: and (5) settling time limit rules.
Further, the determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
if the available balance of the terminal device payment blockchain address is less than the corresponding store order amount;
and transferring a difference part between the available balance and the corresponding store order amount to the terminal device payment blockchain address.
Further, the determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
if the available balance of the terminal device payment blockchain address is less than the corresponding store order amount;
and transferring a difference part between the available balance and the corresponding store order amount to the terminal device payment blockchain address.
By using store order information snapshot and automatically circulating the flow according to the settlement time limit rule, the transaction dispute can be reduced.
Further, the determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
applying credit to a loan device according to the store order information;
and transferring the balance of the corresponding store order amount to the terminal device payment blockchain address by the loan device.
And credit loans are carried out according to store order information, so that the payment convenience is improved.
A typical implementation is illustrated as follows (see fig. 1):
1. the user places an order, and the terminal device selects a transaction device and a wallet address (terminal device payment blockchain address) through the APP to determine store order information;
2. the terminal device initiates a C2C order settlement request to the transaction device;
3. the transaction device marks the C2C settlement order transaction state as paid;
4. the terminal device initiates a store order payment request to the store device;
5. the terminal device initiates a C2C order settlement completion request to the transaction device;
6. the transaction device pays the shop order amount to the shop device blockchain address;
7. the transaction device marks the transaction state of the C2C settlement order as completed;
8. the terminal device initiates a store order payment completion request to the store device;
9. the store device marks the store order transaction status as completed.
Embodiment two:
the second embodiment of the invention discloses a method for paying order blockchain, which is used for a transaction device and comprises the following steps:
step S201, receiving a C2C order settlement request, where the C2C order settlement request includes: the store order information includes: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address.
Step S202, creating or updating a C2C settlement order according to the C2C order settlement request, and determining a C2C settlement order number; when the store order number in the C2C order settlement request is already stored in the C2C settlement order list which is not closed by the transaction device, the terminal device updates the C2C settlement order, and the C2C settlement order number still adopts the data created before, in this case, the terminal device needs to update the store order amount when the user modifies the order or during the process of auctioning the commodity.
And step S203, freezing the available balance which is consistent with the store order amount in the payment blockchain address of the terminal device.
In step S204, the C2C settlement order transaction status is marked as paid.
Step S205, a receiving step, receiving a C2C order settlement completion request for confirming receiving, the C2C order settlement completion request including: and the C2C settlement order number, the store order number and the payment amount of the store order are transferred from the terminal device payment blockchain address to the store device collection blockchain address, and the C2C settlement order payment record number is determined.
Step S205, the available balance of the payment blockchain address of the frozen terminal device is released.
In step S206, the C2C settlement order transaction status is marked as completed.
Further, the C2C order settlement request further includes: store order information snapshot.
Further, the step of confirming receipt further includes:
the store order information further includes: a settlement time limit rule;
and if the C2C order settlement completion request is not received within the settlement time limit rule range according to a timer, transferring balance which is consistent with the store order amount from the terminal device payment blockchain address to the store device collection blockchain address according to the settlement time limit rule. Typical settlement time limit rules include 10 day automatic money transfers, etc. When a store order is placed, the terminal device completes a contract settlement time limit rule with the store device and sends the contract settlement time limit rule to the transaction device. The transaction device may also use default settlement time limit rules and ignore the settlement time limit rules sent by the terminal device.
The method of the present embodiment may be implemented in an intelligent contract manner. The transaction device of the embodiment creates or updates the C2C settlement order according to the request of the terminal device, manages the C2C settlement order, and enables the commodity order transaction flow to be transparent and traceable.
Embodiment III:
the third embodiment of the invention discloses a method for paying order blockchain, which is used for a shop device and comprises the following steps:
step S301, receiving a store order payment request, where the store order payment request includes: C2C settles order numbers, store order information including: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address.
Step S302, inquiring a C2C settlement order transaction state according to the C2C settlement order number, and marking the trade state of the store order as paid if the C2C settlement order transaction state is paid and the balance of the payment blockchain address of the terminal device is not smaller than the balance consistent with the amount of the store order.
Step S303, marking the trade state of the store order as shipped according to the receiving logistics information.
Step S304, receiving a store order payment completion request for confirming receipt, the store order payment completion request including: and the C2C settles the order number, the store order number and the amount paid by the store order.
And step S304, inquiring and acquiring a C2C settlement order payment record number according to the C2C settlement order number.
And step S305, calculating a payment completion net balance transferred from a terminal device payment blockchain address to the store device blockchain address according to the C2C settlement order payment record number, and marking the store order transaction state as completed if the payment completion net balance is not smaller than the balance consistent with the payment amount of the store order.
Further, the store order payment request further includes: store order information snapshot.
In this embodiment, the shop device can realize payment management of the shop order by means of the transaction device without establishing a payment system, and can go online to shop to make business at any time without establishing a special server, thereby reducing the threshold of electronic commerce and being beneficial to the fusion innovation of online and offline business. The store order information snapshot is used for automatically circulating the flow according to the settlement time limit rule, so that the transaction disputes can be reduced.
Embodiment four:
the fourth embodiment of the invention discloses a system for order blockchain payment, which is used for a terminal device, wherein the terminal device comprises: a C2C settlement order unit, a store order unit and a wallet unit; the C2C settlement order unit, the store order unit and the wallet unit are logically connected with each other;
the wallet unit is used for determining a transaction device, acquiring a terminal device payment blockchain address of the terminal device, which is arranged in the transaction device, and determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount;
the store order unit is used for acquiring and determining store order information, sending a store order payment request to a store device, and sending a store order payment completion request to the store device for confirming goods receiving;
the C2C settlement order unit is used for sending a C2C order settlement request to the transaction device and sending a C2C settlement completion request to the transaction device for confirming receipt.
At present, various APP needs to be opened, so that the user can customize the favorite APP, shopping is performed by taking the terminal device APP as an entrance, the identity authentication is automated, and the online shopping experience and shopping efficiency are improved. For different webstores, only different collection labels are available.
More conveniently, the terminal device APP can be synchronously used in online lower entity shops. The user can adopt the terminal device APP of the invention to shop and purchase furniture, and confirm the receiving of goods after the goods are delivered and the doors are installed. And the payment to the store is carried out without registering a third party platform, and the information is submitted to a platform without association, so that the payment can be directly carried out. The rights and interests such as privacy of consumers can be greatly ensured.
Fifth embodiment:
the fifth embodiment of the invention discloses a system for order blockchain payment, which is used for a transaction device, wherein the transaction device comprises: a C2C settlement order unit and a payment unit; the C2C settlement order unit and the payment unit are logically connected with each other;
the C2C order settlement unit is used for receiving a C2C order settlement request, creating or updating a C2C settlement order, managing the transaction state of the C2C settlement order, and receiving a C2C order settlement completion request for confirming receipt;
the payment unit is used for freezing the available balance which is consistent with the amount of the store order in the payment blockchain address of the terminal device and releasing the freezing, and transferring the balance which is consistent with the amount to be paid by the store order from the payment blockchain address of the terminal device to the payment blockchain address of the store device.
Example six:
the sixth embodiment of the invention discloses a system for order blockchain payment, which is used for a transaction device, wherein the transaction device comprises: a store order unit, a C2C settlement order unit; the C2C settlement order unit and the store order unit are logically connected with each other;
the C2C settlement order unit is used for inquiring the transaction state of the C2C settlement order;
the store order unit is used for receiving a store order payment request, managing a store order transaction state according to the C2C settlement order transaction state, and receiving a store order payment completion request for confirming goods receiving.
For live goods, the invention can easily realize the shop device and complete commodity sales orders according to the flow.
Embodiment seven:
an embodiment seven of the present invention discloses a non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of the above embodiment. The storage medium may include a high-speed random access storage medium, and may also include a non-volatile storage medium such as a hard disk, memory, a plug-in hard disk, a Smart Media Card (SMC), a secure digital (SecureDigital, SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage medium device, a Flash memory device, or other volatile solid state storage medium device, etc.
In the invention, a terminal device determines a transaction device through a wallet unit and acquires a terminal device payment blockchain address of the terminal device arranged in the transaction device; acquiring and determining store order information through a store order unit, sending a store order payment request to a store device, and sending a store order payment completion request to the store device for confirming receipt; and sending a C2C order settlement request to the transaction device through the C2C order settlement unit, and sending a C2C settlement completion request to the transaction device for confirming receipt. The terminal device initiates the creation of the C2C settlement order in the transaction device, the transaction device manages the C2C settlement order state, and the store device manages the store order state according to the C2C settlement order state, so that commodity order transaction flow can be traced, transaction disputes are reduced, the wallet is integrated in the terminal device, the transaction device pays in the local APP, and the user privacy is better protected and is easy to meet regional supervision requirements.
It will be apparent to those skilled in the art that, for convenience and brevity of description, the above-described units are merely illustrated by the division of the above-described functional modules, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the above-described functions. The specific working process of the system, the device and the unit described above may refer to the corresponding process in the foregoing method embodiment, and will not be described herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method of order blockchain payment for a terminal device, the method comprising:
determining a transaction device and acquiring a payment blockchain address of a terminal device, which is arranged in the transaction device, of the terminal device;
acquiring and determining store order information, wherein the store order information comprises: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address;
determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount;
transmitting a C2C order settlement request to the transaction device, the C2C order settlement request including: the store order information;
acquiring a C2C settlement order number generated by the transaction device according to the C2C order settlement request;
transmitting a store order payment request to the store device, the store order payment request comprising: the C2C settlement order number and the store order information;
determining the payment amount of the store order according to the store order amount and the commodity collection logistics information;
transmitting a C2C settlement completion request to the transaction device for confirming receipt, the C2C settlement completion request including: the C2C settlement order number, the store order number and the store order payment amount;
transmitting a store order payment completion request to the store device for confirming receipt, the store order payment completion request comprising: the C2C settlement order number, the store order number and the store order payment amount.
2. The method of order blockchain payment of claim 1, wherein said determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
if the available balance of the terminal device payment blockchain address is less than the corresponding store order amount;
and transferring a difference part between the available balance and the corresponding store order amount to the terminal device payment blockchain address.
3. The method of order blockchain payment of claim 1, wherein said determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount comprises:
applying credit to a loan device according to the store order information;
and transferring the balance of the corresponding store order amount to the terminal device payment blockchain address by the loan device.
4. A method of order blockchain payment for a transaction device, the method comprising:
receiving a C2C order settlement request, the C2C order settlement request comprising: the store order information includes: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address;
creating or updating a C2C settlement order according to the C2C order settlement request, and determining a C2C settlement order number;
freezing an available balance in the terminal device payment blockchain address consistent with the store order amount;
marking the C2C settlement order transaction status as paid;
a receiving confirmation step of receiving a C2C order settlement completion request for confirming receipt, the C2C order settlement completion request including: the C2C settlement order number, the store order number and the amount to be paid by the store order are transferred from the terminal device payment blockchain address to the store device collection blockchain address, and the C2C settlement order payment record number is determined;
releasing the available balance of the payment blockchain address of the frozen terminal device;
marking the C2C settlement order transaction status as completed.
5. The method of order blockchain payment of claim 4, wherein the step of validating receipt further comprises:
the store order information further includes: a settlement time limit rule;
and if the C2C order settlement completion request is not received within the settlement time limit rule range according to a timer, transferring balance which is consistent with the store order amount from the terminal device payment blockchain address to the store device collection blockchain address according to the settlement time limit rule.
6. A method of order blockchain payment for a store device, the method comprising:
receiving a store order payment request, the store order payment request comprising: C2C settles order numbers, store order information including: store order number, store order amount, store device payment blockchain address, terminal device payment blockchain address;
inquiring a C2C settlement order transaction state according to the C2C settlement order number, and marking the trade order transaction state as paid if the C2C settlement order transaction state is paid and the balance of the payment blockchain address of the terminal device is not less than the balance consistent with the amount of the store order;
marking the trade state of the store order as shipped according to the receiving logistics information;
receiving a store order payment completion request for confirming receipt, the store order payment completion request comprising: the C2C settlement order number, the store order number and the amount paid by the store order are calculated;
inquiring and acquiring a C2C settlement order payment record number according to the C2C settlement order number;
calculating a payment completion net balance transferred from a terminal device payment blockchain address to a store device blockchain address according to the C2C settlement order payment record number, and marking that the store order transaction state is completed if the payment completion net balance is not smaller than the balance consistent with the payment amount of the store order.
7. A system for blockchain payment of orders, characterized by a terminal device, the terminal device comprising: a C2C settlement order unit, a store order unit and a wallet unit; the C2C settlement order unit, the store order unit and the wallet unit are logically connected with each other;
the wallet unit is used for determining a transaction device, acquiring a terminal device payment blockchain address of the terminal device, which is arranged in the transaction device, and determining that the available balance of the terminal device payment blockchain address is not less than the corresponding store order amount;
the store order unit is used for acquiring and determining store order information, sending a store order payment request to a store device, and sending a store order payment completion request to the store device for confirming goods receiving;
the C2C settlement order unit is used for sending a C2C order settlement request to the transaction device and sending a C2C settlement completion request to the transaction device for confirming receipt.
8. A system for blockchain payment of orders, for a transaction device, the transaction device comprising: a C2C settlement order unit and a payment unit; the C2C settlement order unit and the payment unit are logically connected with each other;
the C2C settlement order unit is used for receiving a C2C order settlement request, creating or updating a C2C settlement order, managing the transaction state of the C2C settlement order, and receiving a C2C order settlement completion request for confirming receipt;
the payment unit is used for freezing the available balance which is consistent with the amount of the store order in the payment blockchain address of the terminal device and releasing the freezing, and transferring the balance which is consistent with the amount to be paid by the store order from the payment blockchain address of the terminal device to the payment blockchain address of the store device.
9. A system for blockchain payment of orders for a store device, the transaction device comprising: a store order unit, a C2C settlement order unit; the C2C settlement order unit and the store order unit are logically connected with each other;
the C2C settlement order unit is used for inquiring the transaction state of the C2C settlement order;
the store order unit is used for receiving a store order payment request, managing a store order transaction state according to the C2C settlement order transaction state, and receiving a store order payment completion request for confirming goods receiving.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor performs the steps of a method of order transaction payment according to any of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310199695.XA CN116485397A (en) | 2023-03-04 | 2023-03-04 | Method, system and storage medium for order blockchain payment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310199695.XA CN116485397A (en) | 2023-03-04 | 2023-03-04 | Method, system and storage medium for order blockchain payment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116485397A true CN116485397A (en) | 2023-07-25 |
Family
ID=87220306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310199695.XA Pending CN116485397A (en) | 2023-03-04 | 2023-03-04 | Method, system and storage medium for order blockchain payment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116485397A (en) |
-
2023
- 2023-03-04 CN CN202310199695.XA patent/CN116485397A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4677188B2 (en) | Management, funding and supply methods and equipment in an integrated supply chain system | |
US8438070B2 (en) | Exchanging value between a service buyer and a service provider | |
US8744961B2 (en) | Method of providing secure payment and transaction reconciliation | |
WO2017098519A1 (en) | A system and method for automated financial transaction validation, processing and settlement using blockchain smart contracts | |
KR20130108595A (en) | System and methods for conducting a composite bill payment transaction | |
CN109460889B (en) | Risk management and control method, system, server and computer readable storage medium | |
CN110490568B (en) | Method and device for exchanging object, storage medium and electronic device | |
WO2007134378A1 (en) | A receipt storage system | |
KR102136976B1 (en) | Service method for tokenization mobile gift card and service provider thereof | |
US20130073462A1 (en) | Processing a Payment Transaction From a Mobile Device | |
KR20200000605A (en) | Method for settlement of delivery order sales and payment terminal thereof | |
CN105009155A (en) | Method and system for prevention of violations in offer redemption | |
JP5953360B2 (en) | Fund transfer method, system and program | |
KR20210053774A (en) | System and method for trading based on party trust using blockchain | |
KR20210037247A (en) | Purchasing goods relay system and method based on blockchain | |
CN113052673B (en) | Account checking and clearing method and device, computer equipment and storage medium | |
CN116485397A (en) | Method, system and storage medium for order blockchain payment | |
KR101503132B1 (en) | Method for providing project financing loan service and server performing the same | |
US20140222638A1 (en) | System and Method for Merchant Transfer of a Forward-Sold Good Contract | |
KR102085083B1 (en) | Method for providing charge saving uby using crypto-currency and server thereof | |
EP4239556A1 (en) | Method and apparatus for providing recommendations based on return data | |
KR20170073563A (en) | Method and apparatus for providing bi-directional escrow service of electronic commerce | |
KR20240135456A (en) | Method for Verifying the Issue of Token Linked to Intellectual Property Right | |
US20130073461A1 (en) | Processing a Payment Transaction Involving a Merchant Account and a Customer Account Associated with the Same Enterprise | |
KR20240135454A (en) | Method for Issuing Token of Intellectual Property Right |
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 |