Commodity and commodity digital right transaction method and system of commodity sales platform based on block chain
By implementing a trading method and system for digital warrants of goods in a blockchain-based commodity sales platform, the problem of users being unable to trade digital warrants has been solved, thereby increasing the market value of goods and warrants and enhancing the transparency and credibility of transactions.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-07
AI Technical Summary
Existing blockchain e-commerce platforms do not yet include methods and systems for users to trade digital warrants for goods after purchasing them, resulting in a lack of liquidity for these digital warrants and an inability to enhance their market value.
In a blockchain-based product sales platform, a blockchain module transfers the unique digital certificate of a product from the merchant's account to the user's account and supports the trading of digital certificates between users. Smart contracts are used to realize the circulation of digital certificates, including identity authentication, transaction request processing, and payment information generation.
It enables the circulation of digital warrants for goods, enhances the market value of goods and digital warrants, and improves user experience, transaction transparency, and credibility.
Smart Images

Figure CN121810288A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of combining blockchain with commodity sales platforms, and more specifically, to a method and system for trading commodities and digital warrants of commodities on a blockchain-based commodity sales platform. Background Technology
[0002] Existing blockchain e-commerce technologies, such as the "Control Method, Blockchain E-commerce System, Electronic Device and Storage Medium" published in Chinese Patent Application Publication No. CN 117291585A, compared to ordinary e-commerce platforms, have largely solved the problem of improving the credibility and transparency of transactions for users during the purchase process, thereby enhancing the user's purchasing experience and the merchant's sales experience. However, they have not yet addressed the transaction methods and systems for users to trade digital rights certificates obtained after purchasing goods (such as through group buying with prizes). Introducing liquidity to digital rights certificates in a blockchain-based product sales platform can greatly enhance the market value of goods and their digital rights certificates. Summary of the Invention
[0003] To address the aforementioned issues, this invention aims to provide a transaction method and system for users to trade digital warrants of goods after purchasing them on a blockchain-based goods sales platform (e.g., group buying with prizes).
[0004] To achieve the above objectives, the present invention adopts the following technical solution.
[0005] According to one aspect of the present invention, a method for trading goods and digital warrants of goods on a blockchain-based goods sales platform is provided. The method is applied to a system comprising a server, multiple clients, and blockchain nodes, and includes: establishing a blockchain goods sales platform in the system; when a user purchases goods from a merchant on the platform, the server reads the merchant's on-chain account and the user's on-chain account; upon confirming that the merchant has sold the goods, the server transfers the unique digital warrant corresponding to the goods from the merchant's on-chain account to the user's blockchain account via the blockchain module; the server also determines whether the user has initiated a return of the goods; if so, the unique digital warrant corresponding to the goods is invalidated; if not, the unique digital warrant is displayed in the user's on-chain account; characterized in that the user can trade digital warrants of goods in the system: the user sends a request containing a user identifier and a digital warrant of goods transaction to the server via a client; the server receives the request sent by the client. The server extracts the request and user identifier, and determines whether the request contains a first user identifier, a second user identifier, the digital warrants of the traded goods, and the transaction amount corresponding to the digital warrants. If yes, the request is approved; otherwise, the request is rejected. Further, the server queries the blockchain system to find the quantity of the digital warrants in the blockchain account corresponding to the second user. If the quantity of the digital warrants is greater than or equal to the quantity of the requested digital warrants, the request is approved; otherwise, the request is rejected. The first user identifier is the buyer, and the second user identifier is the seller. If the conditions are met, the server generates payment information and sends it to the client of the first user identifier, and receives payment success information from the client containing the first user identifier. The server then sends the transaction containing the user identifier and transaction information to a node on a blockchain with several consensus nodes, executes a pre-deployed smart contract, and transfers the corresponding digital warrants from the blockchain account corresponding to the second user identifier to the blockchain account corresponding to the first user identifier.
[0006] The product sales on the aforementioned product sales platform include group buying, characterized in that after a group buying user fails to participate in the purchase on the client side, the server side fully refunds the amount already paid by the user according to the original payment path and issues a cash incentive reward to the user.
[0007] According to another aspect of the present invention, a system for trading goods and digital warrants of goods on a blockchain-based goods sales platform is provided. The system comprises a blockchain module, an identity authentication module, and a goods trading module of the goods sales platform. The trading system further comprises a digital warrant trading module of the goods sales platform. The blockchain module is used to store and transmit data using encryption algorithms. The identity authentication module is used to authenticate the identities of merchants and users. The goods trading module is used to process goods transactions between merchants and users on the goods sales platform. The digital warrant trading module is used to process digital warrant transactions between users on the goods sales platform. The product sales platform is configured to facilitate product transactions between merchants and users. Read the merchant's on-chain account and the user's on-chain account; When the sale of goods by the merchant is confirmed, the unique digital certificate corresponding to the goods is transferred from the merchant's on-chain account to the user's on-chain account through the blockchain module; Determine whether the user has initiated a return of the product; if yes, the product sales platform invalidates the unique digital certificate corresponding to the product; if no, the product sales platform displays the unique digital certificate in the user's on-chain account. The product sales platform is also configured to enable the trading of digital warrants for products between users: Users send a request containing user identifiers and digital warrants for goods to the server via the client. The server receives a request from the client and determines whether the request contains the first user identifier, the second user identifier, the digital warrant of the traded commodity, and the transaction amount corresponding to the digital warrant of the traded commodity; if yes, the request is approved; if no, the request is rejected. Furthermore, the server queries the blockchain system to determine the quantity of the digital warrants for the goods in the blockchain account corresponding to the second user identifier; if the quantity of the digital warrants for the goods is greater than or equal to the quantity of the digital warrants for the requested transaction, the request is approved; otherwise, the request is rejected. The first user identifier is the buyer, and the second user identifier is the seller; If the conditions are met, the server generates payment information and sends it to the client with the first user identifier, and receives payment success information from the client containing the first user identifier. The transaction containing the user identifier and transaction information is sent to a node on a blockchain with several consensus nodes, and a pre-arranged smart contract is executed to transfer the corresponding digital warrants of the goods from the blockchain account corresponding to the second user identifier to the blockchain account corresponding to the first user identifier.
[0008] This invention, based on existing blockchain-based commodity sales platforms, creates a method and system for trading commodities and digital warrants on a blockchain-based commodity sales platform. This gives digital warrants greater liquidity and can significantly enhance the market value of commodities and digital warrants. Attached Figure Description
[0009] Figure 1 This is a schematic flowchart illustrating a method for trading goods and digital warrants of goods on a blockchain-based goods sales platform applied in a system, provided by an exemplary embodiment of the present invention.
[0010] Figure 2 This is a schematic diagram of the structure of a commodity and commodity digital certificate trading system based on a blockchain commodity sales platform provided by an exemplary embodiment of the present invention. Detailed Implementation
[0011] To more clearly illustrate the objectives, technical solutions, and advantages of this invention, this article will describe in detail the specific implementation methods of this invention.
[0012] Unless otherwise specified, the technical and scientific terms used in this invention should be considered to have the standard meaning familiar to those skilled in the art. Terms such as "first," "second," etc., used in this document are used to distinguish different parts, different merchants, or different users, and do not indicate any specific order, quantity, or level of importance. Expressions such as "comprising" mean that the listed items include, but are not limited to, the elements that immediately follow, allowing for the presence of other elements.
[0013] Furthermore, in some embodiments of the present invention, in addition to the technical solutions of the present invention, some prior art may also be involved, so as to better illustrate and understand the technical solutions or technical effects of the present invention.
[0014] The embodiments of the present invention will now be described in further detail with reference to the accompanying drawings.
[0015] Figure 1 The illustration shows a flowchart of a method for commodity trading and commodity digital warrant trading applied to a blockchain-based commodity sales platform in a system, provided by an exemplary embodiment of the present invention. The method includes the following steps.
[0016] Step S101: When a user purchases goods on the blockchain goods sales platform, the server reads the merchant's on-chain account and the user's on-chain account. When it is confirmed that the merchant has sold the goods, the unique digital certificate corresponding to the goods is transferred from the merchant's on-chain account to the user's on-chain account through the blockchain module. Step S102: The server determines whether the user has initiated a return of the product; if yes, the server invalidates the unique digital certificate corresponding to the product; if no, the server displays the unique digital certificate in the user's on-chain account. Step S103: The user sends a request containing the user identifier and the digital warrant transaction of the product to the server through the client. Step S104: The server receives the request sent by the client and extracts the request and user identifier; Step S105: Based on the sent request and user identifier, determine whether the request of the user identifier meets the conditions; if yes, grant the request; if no, reject the request. Step S106: Generate payment information and send it to the first user identifier client, and receive payment success information from the client containing the first user identifier; Step S107: Send a transaction containing the user identifier and transaction information to a node on a blockchain with several consensus nodes deployed. Step S108: Execute the pre-arranged smart contract to transfer the corresponding digital rights certificate of the goods from the blockchain account corresponding to the second user identifier to the blockchain account corresponding to the first user identifier.
[0017] Figure 2 This diagram illustrates the structure of a blockchain-based commodity sales platform and a commodity digital certificate trading system provided by an exemplary embodiment of the present invention. The system includes a blockchain module, an identity authentication module, a commodity trading module of the commodity sales platform, and a commodity digital certificate trading module of the commodity sales platform. The blockchain module is used to store and transmit data using encryption algorithms. The identity authentication module is used to authenticate the identities of merchants and users. The commodity trading module is used to process commodity transactions between merchants and users in the commodity sales platform. The commodity digital certificate trading module is used to process commodity digital certificate transactions between users in the commodity sales platform. The product sales platform is configured to facilitate product transactions between merchants and users. Read the merchant's on-chain account and the user's on-chain account; When the sale of goods by the merchant is confirmed, the unique digital certificate corresponding to the goods is transferred from the merchant's on-chain account to the user's on-chain account through the blockchain module. Determine whether the user has initiated a return of the product; if yes, the product sales platform invalidates the unique digital certificate corresponding to the merchant; if no, the product sales platform displays the unique digital certificate in the user's on-chain account.
[0018] The product sales platform is also configured to enable the trading of digital warrants for products between users: Users send a request containing user identifiers and digital warrants for goods to the server via the client. The server receives a request from the client and determines whether the request contains the first user identifier, the second user identifier, the digital warrant of the traded commodity, and the transaction amount corresponding to the digital warrant of the traded commodity; if yes, the request is approved; if no, the request is rejected. Furthermore, the server queries the blockchain system to determine the quantity of the digital warrants for the goods on the blockchain account corresponding to the second user identifier; if the quantity of the digital warrants for the goods is greater than or equal to the quantity of the digital warrants for the requested transaction, the request is approved; otherwise, the request is rejected. The first user identifier is the buyer, and the second user identifier is the seller; If the conditions are met, the server generates payment information and sends it to the client with the first user identifier, and receives payment success information from the client containing the first user identifier; The transaction containing the user identifier and transaction information is sent to a node on a blockchain with several consensus nodes, and a pre-arranged smart contract is executed to transfer the corresponding digital warrants of the goods from the blockchain account corresponding to the second user identifier to the blockchain account corresponding to the first user identifier.
[0019] In one embodiment, merchants can register by uploading their registration information (such as name, ID number, business license, etc.) to the e-commerce account creation module to determine their off-chain account, and users can register by uploading their registration information (such as mobile phone number, name, ID number, etc.) to the e-commerce account creation module to determine their off-chain account.
[0020] The product sales platform can obtain an off-chain account and determine whether there is a corresponding on-chain account. If so, it can read the corresponding on-chain account; otherwise, it can create a corresponding on-chain account for the off-chain account.
[0021] An on-chain account can include information such as a private key, public key, mnemonic phrase, and address. On-chain accounts can be used for identity verification and transaction operations. The mnemonic phrase acts as a private key and can be used to retrieve and recover an on-chain account.
[0022] Once a merchant sells a product and the sale is confirmed according to the rules or deemed as a non-refundable purchase by the user, the product sales platform can upload the product information (such as product description, instruction manual, and webpage information at the time of purchase) to the blockchain module for decentralized storage. The blockchain module can then encrypt this product information and convert it into hash values for storage.
[0023] After confirming that the product has a corresponding hash value in the file storage center, the product sales platform merges the product's description information, link, and hash value to generate a unique digital certificate for the product. The sales platform then stores this digital certificate in the merchant's on-chain account address. After the merchant authorizes the transfer using the private key of their on-chain account, the digital certificate is transferred to the user's on-chain account address.
[0024] Once a user's on-chain account receives the digital certificate, the e-commerce platform determines whether the user has initiated a return and refund request. If not, the platform displays the digital certificate in the user's on-chain account. If so, the platform notifies the user to authorize the e-commerce platform to use their on-chain account's private key, which the platform then uses to invalidate the digital certificate.
[0025] In one embodiment, the blockchain module is used for commodity transactions and digital certificate transactions on a commodity sales platform. The blockchain module stores and transmits data using encryption algorithms. When an archive node in the blockchain receives a transaction request, the archive node pre-executes the transaction according to the request, generating transaction package data. Multiple consensus nodes in the blockchain determine the fastest consensus node based on a pre-set consensus algorithm. The fastest consensus node uses a pre-set digital signature algorithm to verify the transaction package data. If the verification is successful, the fastest consensus node determines whether the data type of the transaction package data is frozen data based on pre-set freeze protocol conditions. If so, the fastest consensus node updates its data storage tree to determine the data storage tree at a future time and stops the transaction. If not, the fastest consensus node uses the transaction package data to perform the transaction and generates the target transaction result.
[0026] In another embodiment, the blockchain module is also used for commodity transactions and digital certificate transactions on a commodity sales platform. The blockchain module stores and transmits data using encryption algorithms. A blockchain node receives a blockchain transaction sent by a first user client. The blockchain transaction includes transaction information and transaction verification information. The transaction verification information includes a first transaction token generated by the first user client based on a first designated block identifier and a first transaction seed value. The blockchain node sends an authentication request to the server, which includes an authentication identifier representing the first user client. The authentication identifier is used by the server to obtain the transaction lock corresponding to the authentication identifier and to obtain a second transaction token based on the transaction lock. Based on the authentication results of the first and second transaction tokens, the blockchain node determines whether to execute the blockchain transaction. By limiting the valid block range of the transaction, the transaction can only be executed within a specific block, thereby improving the security and timeliness of blockchain transactions.
[0027] In one embodiment, the blockchain module is also used for commodity transactions and digital certificate transactions on a commodity sales platform. The blockchain module stores and transmits data using encryption algorithms. Buyers send transaction requests to sellers or sellers via blockchain wallets. Other nodes on the blockchain receive and record the transaction requests from buyers, and sellers receive and record the transaction requests from buyers. After receiving the transaction requests from buyers, sellers confirm the transaction requests using their blockchain wallets. After confirming the transaction requests, sellers package the transaction information to generate a new block. The new block is added to the broadcast queue and broadcast to all nodes on the blockchain. Each node verifies the legality of the new block using a hash algorithm. When the new block passes the legality verification, all nodes receive the new block and add it to the blockchain network.
[0028] In one embodiment, a blockchain identity authentication module is involved; The identity authentication module is used for: User registration involves users registering in the system and providing their real identity information, such as name, ID number, and contact information. This information will be encrypted and stored on the blockchain to ensure the security of user identity information. The identity authentication system authenticates the identity information provided by users, for example by comparing it with the government's identity database to ensure the authenticity and legality of the identity information provided by users; Digital signature authentication: When a user conducts a transaction or other operation, the system uses the user's private key to generate a digital signature, which is used to verify the user's identity and ensure the authenticity and legality of the transaction. Decentralized storage of user identity information involves distributing it across multiple nodes in a blockchain network, ensuring the security and reliability of user identity information.
[0029] In one embodiment, the blockchain module is used in the payment system of a goods sales platform, including: A user initiates a payment request through the blockchain payment system, including information such as the payment amount and the recipient's address. The transaction record payment request is packaged into a transaction, and a unique hash value is generated through an encryption algorithm. Then it is submitted to the nodes in the blockchain network for verification and recording. Once a transaction is verified, it will be packaged into a block and added to the blockchain, forming a continuously linked blockchain. Real-time settlement transaction records are continuously packaged into blockchain and added to the blockchain. These transaction records are immutable, and the blockchain payment system performs fast real-time settlement. Decentralized secure blockchain payment systems do not rely on centralized banks or payment institutions. Payment information is distributed and stored on multiple nodes of the blockchain network, ensuring the security and reliability of payment information.
[0030] In one embodiment, the dispute resolution system of a blockchain-based goods sales platform includes: When a dispute or controversy arises between a merchant and a user, or between a buyer and a seller, the facts of the dispute and relevant evidence will be recorded on the blockchain, such as transaction records and contract terms. In a smart contract execution system, smart contracts will automatically execute relevant dispute resolution procedures according to pre-agreed rules and conditions. For example, when a dispute arises in a transaction, the smart contract can automatically trigger the dispute resolution procedure based on relevant conditions. In one embodiment, when the transaction volume of commodity transactions or commodity digital certificate transactions on a commodity sales platform is large, the batch transfer method can greatly reduce the transaction cost of blockchain transactions. By signing and authorizing each batch of initiated transfer requests individually, and then packaging them into a whole on-chain transaction after the signature authorization is confirmed, the cost of each batch of initiated transfer requests on the blockchain is reduced to only the cost corresponding to the calculation result of the on-chain cost of the whole on-chain transaction divided by the number of batch initiated transfer requests.
[0031] In one embodiment, when canceling a product transaction or a digital warrant transaction on a product sales platform, a transaction cancellation request is received, the request carrying the transaction hash of the target transaction to be cancelled; the target transaction is deleted from the local transaction pool of the target node, the node in the blockchain that initiated the target transaction; the transaction hash of the target transaction is stored in the cancellation transaction cache pool of the target node; a transaction cancellation event is generated for the target transaction, and the transaction cancellation event is broadcast to other nodes in the blockchain. This achieves the purpose of cancelling the target transaction and improves the flexibility of blockchain transaction cancellation.
Claims
1. A method for trading goods and digital warrants of goods on a blockchain-based goods sales platform, the method being applied to a system comprising a server, multiple clients, and blockchain nodes, comprising: A blockchain-based product sales platform is established within the system. When a user purchases a product from a merchant on this platform, the server reads the merchant's on-chain account and the user's on-chain account. Upon confirming the sale of the product, the unique digital certificate corresponding to the product is transferred from the merchant's on-chain account to the user's on-chain account via the blockchain module. The server also determines whether the user has initiated a return of the product. If so, the unique digital certificate corresponding to the product is invalidated; otherwise, the unique digital certificate is displayed in the user's on-chain account. The system is characterized by allowing users to trade digital certificates for products: the user sends a request containing a user identifier and a product digital certificate transaction to the server via a client; the server receives the request from the client, extracts the request and the user identifier, and determines whether the request contains a first user identifier, a second user identifier, and a transaction... The server retrieves the digital warrants for the goods and the transaction amount corresponding to the digital warrants being traded; if yes, the request is approved; otherwise, the request is rejected. Further, the server queries the blockchain system to determine the quantity of the digital warrants for the goods in the blockchain account corresponding to the second user; if the quantity of the digital warrants is greater than or equal to the quantity of the digital warrants for the requested transaction, the request is approved; otherwise, the request is rejected. The first user identifier is the buyer, and the second user identifier is the seller. If the conditions are met, the server generates payment information and sends it to the client of the first user identifier, and receives payment success information from the client containing the first user identifier. The server then sends a transaction containing the user identifier and transaction information to a node on a blockchain with several consensus nodes, executes a pre-deployed smart contract, and transfers the corresponding digital warrants for the goods from the blockchain account corresponding to the second user identifier to the blockchain account corresponding to the first user identifier.
2. The method for trading goods and digital warrants of goods according to claim 1, wherein the sales of goods on the goods sales platform includes group buying, characterized in that, If a user fails to participate in a group-buying activity on the client side, the server will fully refund the amount already paid by the user according to the original payment path and issue a cash incentive reward to the user.
3. A transaction system for goods and digital warrants of goods on a blockchain-based commodity sales platform, characterized in that, The system includes a blockchain module, an identity authentication module, and a commodity transaction module for a commodity sales platform. The transaction system further includes a commodity digital certificate transaction module for the commodity sales platform. The blockchain module is used to store and transmit data using encryption algorithms. The identity authentication module is used to authenticate the identities of merchants and users. The commodity transaction module is used to process commodity transactions between merchants and users on the commodity sales platform. The commodity digital certificate transaction module is used to process commodity digital certificate transactions between users on the commodity sales platform. The product sales platform is configured to facilitate product transactions between merchants and users. Read the merchant's on-chain account and the user's on-chain account; When the sale of goods by the merchant is confirmed, the unique digital certificate corresponding to the goods is transferred from the merchant's on-chain account to the user's on-chain account through the blockchain module; Determine whether the user has initiated a return of the product; if yes, the product sales platform invalidates the unique digital certificate corresponding to the product; if no, the product sales platform displays the unique digital certificate in the user's on-chain account. The product sales platform is also configured to enable the trading of digital warrants for products between users: Users send a request containing user identifiers and digital warrants for goods to the server via the client. The server receives a request from the client and determines whether the request contains the first user identifier, the second user identifier, the digital warrant of the traded commodity, and the transaction amount corresponding to the digital warrant of the traded commodity; if yes, the request is approved; if no, the request is rejected. Furthermore, the server queries the blockchain system to determine the quantity of the digital warrants for the goods in the blockchain account corresponding to the second user identifier; if the quantity of the digital warrants for the goods is greater than or equal to the quantity of the digital warrants for the requested transaction, the request is approved; otherwise, the request is rejected. The first user identifier is the buyer, and the second user identifier is the seller; If the conditions are met, the server generates payment information and sends it to the client with the first user identifier, and receives payment success information from the client containing the first user identifier. The transaction containing the user identifier and transaction information is sent to a node on a blockchain with several consensus nodes, and a pre-arranged smart contract is executed to transfer the corresponding digital warrants of the goods from the blockchain account corresponding to the second user identifier to the blockchain account corresponding to the first user identifier.
Citation Information
Patent Citations
Control method, block chain shopping mall system, electronic equipment and storage medium
CN117291585A