A digital transaction method for rice supply chain based on blockchain token

Through blockchain and smart contract technology, digital transactions in the rice supply chain are realized, and the problems of long circulation cycles, opaque transactions and information islands in the traditional rice supply chain are solved, transaction efficiency and trust are improved, and the ability of rice products is realized. Trust traceability and determine responsibility.

CN114282929BActive Publication Date: 2025-01-03BEIJING TECH & BUSINESS UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111475077.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-03
Publication Date
2025-01-03
Estimated Expiration
2041-12-03

AI Technical Summary

Technical Problem

The traditional rice supply chain has problems such as long circulation cycles, opaque transactions, information islands and difficult to determine responsibility for rice, which affects transaction efficiency and trust.

Method used

Based on blockchain principles and smart contract technology, a digital trading method for rice supply chain based on blockchain tokens was designed. Through the identity authentication module, exchange module, token circulation module and rice circulation module, the rice assets were realized. Digital circulation and traceability break the traditional trading model.

Benefits of technology

It improves the efficiency and transparency of rice trading, realizes credible traceability and trustworthy transactions of rice products, ensures the credibility and accurate determination of transactions, and improves the speed of transaction circulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114282929B_ABST
    Figure CN114282929B_ABST
Patent Text Reader

Abstract

The present invention proposes a digital transaction method for rice supply chain based on blockchain tokens, which involves the fields of blockchain, Internet of Things, etc. First, based on smart contracts and blockchain technology, a digital transaction platform is designed, in which all enterprises, consumers and regulatory authorities are jointly constituted as participants. After identity authentication, digital identity tokens and digital wallets are distributed to participants; then, the tokenization of rice assets is realized through the exchange; participants match their respective rice tokens with identity tokens to form a unique token. Buyers and sellers realize layered transactions of funds and rice through their respective unique tokens; the present invention adopts asymmetric encryption to realize the interconnection between the subchain and the main chain. The designed token ensures the complete credibility of the digital transaction environment of rice, and at the same time provides rice traceability and supervision services, which provides a perfect reference and research idea for the digital transaction of grain and oil crops.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to new generation information technologies such as blockchain, the Internet of Things, financial digitization, food security management, and other fields, and specifically to a digital transaction method for a rice supply chain based on blockchain tokens. Background Art

[0002] With the continuous development of agriculture, in 2020, the national rice output reached 423.7 billion jin, an increase of 4.5 billion jin over the previous year, an increase of 1.1%. In addition, my country's per-hectare yield has increased year by year. In 2018, China's rice yield was 7.027 tons / hectare, a year-on-year increase of 1.59%; in 2019, my country's rice yield was 7.059 tons / hectare, a year-on-year increase of 0.46%. China's rice consumption in 2019 / 2020 was 145 million tons, and it is expected that China's rice consumption in 2020 / 2021 will reach 147 million tons. Under the huge rice base, traditional rice trading methods such as "order-based", "cash on delivery", "door-to-door purchase" or "cash transaction" have problems such as long cycle, opaque purchase information, slow efficiency and difficulty in determining the responsibility for problematic rice.

[0003] In recent years, the new generation of information technology represented by the Internet of Things, big data, cloud computing and artificial intelligence is constantly cultivating new product forms and service methods, and the world is entering the era of global digitalization. Realizing the digitization of the rice supply chain is an effective means to solve the problems of traditional supply chain transaction methods.

[0004] A token is a digital proof of rights and interests based on blockchain technology. It represents a right, an inherent and intrinsic value. Common tokens are mainly used as data carriers, proof of rights and interests, and digital assets. Domestic and foreign scholars have mostly focused their research on tokens in the economic field, but have also achieved some results in other fields. For example, Zhang Jinrui and others used the token mechanism to design an empirical knowledge production system, which promoted the generation of real data. Wang Youzhen used token technology to design a music copyright protection system. Zhou Hairui designed and implemented the fund management of the rental system through token technology, etc.

[0005] The application of token technology to the digitization of the rice supply chain is mainly reflected in: using tokens as proof of rights and interests in rice assets to realize digital transactions of rice, providing a safe and reliable trading environment and promoting transparency in rice prices, greatly enhancing rice trading efficiency, and solving problems such as "slow circulation", "opacity" and "difficult trading" in the rice supply chain. Summary of the invention

[0006] In order to solve the problems in the traditional rice supply chain, such as long rice circulation cycle, opaque transactions, information islands and difficulty in determining responsibility for problematic rice, the present invention constructs a digital transaction platform framework for the rice supply chain based on blockchain principles and smart contract technology, and designs a digital transaction method for the rice supply chain based on blockchain tokens. By tokenizing assets in the real world, the digital circulation of the rice supply chain is realized.

[0007] The specific steps of the rice supply chain digital transaction method based on blockchain token are as follows:

[0008] Step 1: Based on the business process of the rice supply chain, six basic links are extracted: planting, storage, processing, warehousing, transportation and sales;

[0009] Step 2. Based on the business scope of each participating enterprise, divide them into corresponding basic links including production enterprises, warehousing enterprises, processing enterprises, transportation enterprises and sales enterprises; all enterprises, consumers and regulatory authorities together constitute the platform participants.

[0010] Step 3: Build a digital trading platform for the rice supply chain including an exchange module, an identity authentication module, a token circulation module, a rice circulation module, and a basic blockchain layer;

[0011] The identity authentication module is used to authenticate the identities of platform participants and distribute digital wallets and digital ID cards;

[0012] The exchange module is used to realize the conversion of DaoMi assets and the realization of token prices;

[0013] The token circulation module is used to realize the circulation of token assets of platform participants;

[0014] The rice circulation module is used to realize the circulation of rice assets of platform participants;

[0015] The basic blockchain layer adopts a dual-chain architecture, with the main chain being the alliance chain and the sub-chain being the public chain. The two achieve cross-chain data exchange through smart contracts and asymmetric encryption methods.

[0016] The smart contracts include: query data contract, upload data contract, verification smart contract, data interaction smart contract and data call smart contract.

[0017] Step 4: Platform participants are authenticated through the identity authentication module and are issued digital identity tokens and corresponding digital wallets.

[0018] The process of generating a digital identity token is as follows: each participant registers and verifies their identity by comparing it with the real ID card stored by the national government agency through a smart contract; after the verification is passed, an address code is automatically generated as a digital wallet to store the participant's token assets; at the same time, a digital ID card corresponding to the real ID card is generated based on the information.

[0019] Finally, the digital wallet and digital ID card are saved to the blockchain.

[0020] Step 5: Platform participants use smart contracts to tokenize Rice assets through the exchange module;

[0021] The tokenization of Rice assets is as follows:

[0022] First, each platform participant saves their own rice situation to the blockchain, and the verification agency obtains the relevant rice data.

[0023] Each basic link corresponds to its own evaluation indicator. Exchange professionals will give the token price of each basic link in advance according to the level and quality of each indicator and divide it into corresponding score segments; the token price is the guiding unit price of rice.

[0024] Then, the merchant gives corresponding weights according to the level and quality of each indicator; through the conversion of scores and weights, the conversion score of each Rice asset is obtained, which is used as the ratio for token redemption; redemption means exchanging it for cash.

[0025] The specific conversion formula is: use ∑(score*weight) / weight sum of each indicator to get the converted score, and the percentage of the converted score is the corresponding proportion of the token price realization;

[0026] Finally, after the conversion is successful, the smart contract will be backtracked for verification. After passing, the token price will be distributed and the rice token price of each platform participant will be saved in the blockchain.

[0027] Step 6. Platform participants match their own rice token prices with their own identity tokens to form the only token circulating on the platform.

[0028] The unique token consists of three aspects: a digital ID is used to indicate whether the participant is a buyer or seller;

[0029] Token assets are the digital currency funds of each participant, which are used to buy and sell rice on the digital trading platform;

[0030] Rice assets are proof of rights to rice, including various indicators such as the quality and grade of rice.

[0031] Step 7: Buyers and sellers use their own unique tokens to realize layered transactions of funds and rice;

[0032] The flow process is:

[0033] First, the buyer broadcasts the purchase of rice to the blockchain through a smart contract and publishes its unique token, including the rice asset to be purchased and the token price;

[0034] Each seller obtains relevant purchase information published by the buyer through the smart contract, and provides the buyer with their own unique token, including their own rice assets, through the smart contract;

[0035] Then, the buyer selects the seller whose rice quality meets his needs from the unique tokens of each seller and announces the price to the seller. The seller obtains the relevant price information through the smart contract and considers the price appropriate, and the transaction is concluded. The buyer transfers his unique token to the digital trading platform to lock the token assets. The seller circulates the rice, specifically:

[0036] a) The smart contract automatically verifies whether the buyer’s unique token has been transferred. Once verified, the seller’s rice product is checked and the information is saved to the blockchain.

[0037] b) The rice products are transported by logistics. After arriving at the buyer, the buyer inspects the rice products and compiles a list of losses, which is saved in the blockchain. The smart contract verifies its authenticity and automatically locates and determines the cause of the loss.

[0038] c) The loss is deducted in tokens through the smart contract and confirmed by both the buyer and the seller.

[0039] Finally, when the buyer confirms that the rice product received is correct, he will unlock his own locked token and the transaction is completed.

[0040] Step 8. The seller’s token assets are used for transactions or redemption in other links;

[0041] The specific redemption process is as follows:

[0042] First, the verification agency obtains the seller’s unique token through a smart contract and verifies whether the token applied for redemption is eligible for unlocking; when the verification is successful, the corresponding proportion of the token price is calculated, and the redemption method is selected to distribute the funds, and all interaction records are saved to the blockchain.

[0043] The advantages of the present invention are:

[0044] (1) The present invention discloses a digital transaction method for a rice supply chain based on blockchain tokens. It applies token technology to the grain and oil food industry for the first time, and designs a complete circulation framework for the rice supply chain. The token design proposed in the present invention can effectively realize the digital transformation of rice and conform to the national trend of digital development.

[0045] (2) The present invention provides a digital transaction method for rice supply chain based on blockchain tokens, which provides a combination platform of rice traceability platform, rice supervision platform and rice tokenized transaction platform. Through the blockchain principle and smart contract technology, the traditional rice transaction mode is broken, and the reliable traceability, reliable supervision and reliable transaction of rice products are realized.

[0046] (3) The present invention provides a digital transaction method for rice supply chain based on blockchain tokens, which divides the rice transaction process into goods flow and capital flow. The two flow influence each other but are also independent of each other. By dividing the rice transaction process into two, the transaction flow speed of the rice market is increased, and the efficiency of rice transaction is greatly improved. That is, the credible process of "transaction first, delivery later" is realized through blockchain technology and smart contracts.

[0047] (4) The present invention provides a digital transaction method for a rice supply chain based on blockchain tokens, which provides an identity authentication token to ensure the authenticity of the participants, while ensuring the credibility of the transaction and accurate identification of responsibilities.

[0048] (5) The present invention provides a digital transaction method for rice supply chain based on blockchain tokens, which provides a method for transmitting data based on asymmetric encryption to achieve cross-chain interoperability of data between public chains and alliance chains.

[0049] (6) The present invention provides a digital transaction method for the rice supply chain based on blockchain tokens, establishes a digital transaction platform model for the rice supply chain, and provides a practical method and solution for the digital transformation of all categories of grain and oil. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a framework diagram of the digital trading platform for rice supply chain built by the present invention;

[0051] Figure 2 This is a flow chart of a digital transaction method for rice supply chain based on blockchain tokens in the present invention;

[0052] Figure 3 It is a rice supply chain cross-chain diagram of the blockchain layer in the rice supply chain digital trading platform of the present invention;

[0053] Figure 4 It is a logical diagram of the data contract and the upload data contract in the smart contract of the present invention;

[0054] Figure 5 It is a logic diagram of verification, data interaction and data calling of smart contracts in the smart contract of the present invention;

[0055] Figure 6 This is a design diagram of the present invention to realize the tokenization of rice assets through the exchange module;

[0056] Figure 7 This is a flowchart of the hierarchical transaction of funds and rice between buyers and sellers of the present invention through tokens;

[0057] Figure 8 This is a diagram of a digital transaction model of a rice supply chain of the present invention;

[0058] Fig. 9 This is the architecture diagram of the digital transaction prototype system of the rice supply chain of the present invention. DETAILED DESCRIPTION

[0059] In order to facilitate those skilled in the art to understand and implement the present invention, the present invention is further described in detail and in depth below with reference to examples.

[0060] At present, the digital research on rice supply chain is still in its initial stage. Based on blockchain technology, this paper designs a digital transaction method for rice supply chain based on blockchain token. By building a digital transaction platform framework for rice supply chain, Figure 1 As shown, first, the various links and participants in the rice supply chain are identified, and secondly, the core of the rice supply chain digital trading platform, the token, is designed. This framework uses exchanges to price, transform and redeem existing rice assets, and uses smart contracts to realize the flow of funds and goods on the rice supply chain digital trading platform.

[0061] Based on this trading platform, a digital transaction model for the rice supply chain and a prototype system for the digital transaction of the rice supply chain were designed. The assets in the real world were tokenized, and the digitization of the rice supply chain was realized. The blockchain principle was used to break the problem of information islands in the rice supply chain, providing a feasible method for the digital transformation of the rice supply chain and a complete reference and research idea for the digital transaction of grain and oil crops.

[0062] The rice supply chain token design method based on blockchain is as follows: Figure 2 As shown, the specific steps are as follows:

[0063] Step 1: Based on the business process of the rice supply chain, six basic links are extracted: planting, storage, processing, warehousing, transportation and sales;

[0064] Step 2. According to the business scope of each participating enterprise, divide them into production enterprises, warehousing enterprises, processing enterprises, transportation enterprises and sales enterprises in the corresponding basic links; all enterprises, consumers and regulatory authorities together constitute the platform participants.

[0065] Step 3: Build a digital trading platform for the rice supply chain including an exchange module, an identity authentication module, a token circulation module, a rice circulation module, and a basic blockchain layer;

[0066] The identity authentication module is used to authenticate the identities of platform participants and distribute digital wallets and digital ID cards;

[0067] The exchange module is used to realize the conversion of DaoMi assets and the realization of token prices;

[0068] The token circulation module is used to realize the circulation of token assets of platform participants;

[0069] The rice circulation module is used to realize the circulation of rice assets of platform participants;

[0070] The basic blockchain layer adopts a dual-chain architecture, with the main chain being a consortium chain and the sub-chain being a public chain. The two realize cross-chain data exchange through smart contracts and asymmetric encryption methods; the main function of the sub-chain is the circulation of tokens, such as Figure 3 As shown. The data interaction between the main chain and the sub-chain is carried out in the form of asymmetric encryption. The interaction is divided into two processes: data upload and call. The main steps are: ① The process of uploading data is: the main chain uses smart contracts to broadcast the main chain node public key to the sub-chain, and the sub-chain node uses the main chain node public key to encrypt the data. After uploading the data to the main chain through the smart contract, the main chain uses the private key to decrypt the data. ② The process of calling the node is: the sub-chain uses smart contracts to broadcast the sub-chain public key to the main chain node, and the main chain uses the sub-chain node public key to encrypt the data. After calling the data to the sub-chain through the smart contract, the sub-chain uses the private key to decrypt the data.

[0071] For data storage, the information stored in the nodes of the main chain and sub-chain is the data index. The sub-chain is linked to the cloud data through the main chain based on the index and smart contract to realize data storage and call.

[0072] The smart contracts include five types: query data contract, upload data contract, verification smart contract, data interaction smart contract and data call smart contract. The flow chart of query data contract and upload data contract is as follows: Figure 4 As shown, the flow chart of verifying smart contracts, calling data smart contracts and interacting with data smart contracts is as follows Figure 5 shown.

[0073] For the data query smart contract, the identity of the user who initiated the query is first verified. After the preset conditions are met, the data in the cloud database is queried according to the node data index. After the query content initiated by the user is found, the data is encrypted and returned to the user. The user uses his own private key to decrypt and view the information content. The smart contract uploads this interaction to the blockchain. After the query is completed, if the user queries the data again, there is no need to verify the identity again, and the data index information can be directly queried.

[0074] For the data upload smart contract, the identity of the user who initiated the upload instruction is first verified. After the preset conditions are met, the uploaded data is verified. If it meets the requirements of the rice trading supply chain trading platform, it is approved, otherwise the upload process is rejected. After the data passes, it is uploaded to the cloud database, and the data index is stored in the node. The node broadcasts the data to the entire blockchain network through the P2P network. The data upload is completed this time. If the user uploads data again, there is no need to verify the identity again, and the data upload verification can be performed directly.

[0075] For verifying smart contracts, first verify the user who initiated the verification instruction and the contract. After meeting the preset conditions, perform access matching verification on the data. After meeting the conditions, perform matching verification with the cloud database, and return the verification result to the initiating user or contract. After this verification is completed, if you need to verify again, you do not need to verify your identity again, and can directly perform access matching verification on the data.

[0076] For data calls to smart contracts, the identity of the person requesting the call is first verified. After successful verification, the user enters the content to be called, and the contract enters the node to check whether the call content exists. After querying the data for this call, the data is verified to see if it can be called. After meeting all conditions, the data is called according to the call path. After this call is over, if it needs to be called again, there is no need to verify the identity again, and the data can be directly queried in the database.

[0077] For data interaction smart contracts, the identity of the data interaction object is first authenticated. After successful verification, the interaction data is verified. After the interaction conditions are met, data interaction is carried out. After the interaction is completed, whether the interaction rules are met during the interaction process is verified. After successful verification, the interaction data is uploaded to the chain.

[0078] The specific process of the rice supply chain digital trading platform is as follows:

[0079] a) Each enterprise, consumer, and regulatory agency votes on the chain based on the PBFT consensus protocol, performs identity authentication through the identity authentication module, and distributes identity representative tokens and corresponding wallets.

[0080] b) The entire platform is divided into two roles: buyers and sellers. Participants can realize asset tokenization and token redemption in the exchange module; and match the tokens they hold with the identity representative tokens to form the only token circulating on the platform.

[0081] c) Buyers and sellers conduct transactions on the platform, which realizes the hierarchical circulation of funds and rice. It breaks the traditional transaction mode of "payment on one hand and delivery on the other hand", and uses blockchain technology to provide a completely credible environment for the rice supply chain digital transaction platform, thereby realizing the asynchronous circulation of rice and funds, which can greatly improve the business completion efficiency of the rice market.

[0082] d) All operations and interaction records in different links are stored on the chain to ensure that funds and rice can be traced and located, and to ensure the security of data.

[0083] Step 4: Platform participants are authenticated through the identity authentication module and are issued digital identity tokens and corresponding digital wallets.

[0084] The process of generating a digital identity token is as follows: each participant registers and verifies their identity through a smart contract and a comparison with the real ID card stored by the national government agency. After the verification is passed, an address code is automatically generated as a digital wallet to store the participant's token assets. At the same time, a digital ID card corresponding to the real ID card is generated based on the registration information.

[0085] Finally, the digital wallet and digital ID card are saved to the blockchain.

[0086] Step 5: Platform participants use smart contracts to tokenize Rice assets through the exchange module;

[0087] The connection between the trading platform and the physical world’s assets relies on the conversion and redemption mechanism in the exchange module. The present invention first designs a token conversion method using smart contracts. The tokenization of Rice assets is specifically as follows:

[0088] First, each platform participant saves their own rice information to the blockchain. The verification agency obtains relevant rice data through contract authorization and further verifies the authenticity of the data to ensure that the asset data is completely credible.

[0089] Each basic link corresponds to its own evaluation indicator. Exchange professionals will give the token price of each basic link in advance according to the level and quality of each indicator and divide it into corresponding score segments; the token price is the guiding unit price of rice.

[0090] Then, the merchant gives corresponding weights according to the level and quality of each indicator; through the conversion of scores and weights, the conversion score of each Rice asset is obtained, which is used as the ratio for token redemption; redemption means exchanging it for cash.

[0091] The specific conversion formula is: use ∑(score*weight) / weight sum of each indicator to get the converted score, and the percentage of the converted score is the corresponding proportion of the token price realization;

[0092] Finally, after the conversion is successful, the smart contract will be backtracked for verification. After passing, the token price will be distributed and the rice token price of each platform participant will be saved in the blockchain.

[0093] Step 6. Platform participants match their own rice token prices with their own identity tokens to form the only token circulating on the platform.

[0094] Each token is accompanied by a unique hash as a matching condition. The circulation of the rice supply chain digital trading platform is based on the token as the core. The token design diagram is as follows: Figure 6 As shown, it includes three parts: real asset mapping, digital identity proof and digital wallet.

[0095] The real asset mapping includes information such as rice batches, rice stages, and rice status;

[0096] The digital identity certificate contains basic information such as name, gender, and the address of the digital wallet, digital ID number, etc.

[0097] The digital wallet contains information such as the total number of tokens, the number of tokens that can be exchanged for modern currency, the number of tokens to be unlocked, the source of tokens and their destination.

[0098] Step 7: Buyers and sellers use their own unique tokens to realize layered transactions of funds and rice;

[0099] The unique token applied to the rice supply chain proposed in the present invention divides the traditional rice transaction into two parts: capital circulation and rice circulation; all participants are defined as buyers and sellers.

[0100] like Figure 7 As shown, the flow process is as follows:

[0101] First, the buyer broadcasts the information of purchasing rice to each node of the blockchain through a smart contract, and publishes the asset information such as the quality of the rice to be purchased in its unique token;

[0102] Each seller obtains relevant purchase information published by the buyer through the smart contract, and provides the buyer with the mapping of Rice assets in their respective tokens through the smart contract;

[0103] Then, the buyer selects the seller whose rice quality meets his needs from the unique tokens of each seller. After reaching the expected indicators, the buyer announces the token price to the seller. The seller obtains relevant price information through the smart contract and considers the price appropriate, and the transaction is concluded between the two parties. The buyer transfers his unique token to the digital trading platform, locks the token assets, and cannot cash them out. The seller circulates the rice, specifically:

[0104] a) The smart contract automatically verifies whether the buyer’s unique token has been transferred. Once verified, the seller’s rice product is checked and the information is saved to the blockchain.

[0105] b) The seller starts to ship the rice, and the rice products are transported by logistics, and the transportation status is uploaded to the chain in real time. After arriving at the buyer, the buyer inspects the rice products and compiles a list of losses, saves it to the blockchain, and the smart contract verifies its authenticity and automatically locates and determines the cause of the loss.

[0106] c) The loss is deducted in tokens through the smart contract and confirmed by both the buyer and the seller.

[0107] Finally, when the buyer confirms that the rice product received is correct, he will unlock his own locked token and the transaction is completed; at this time, the seller's token, that is, the rice asset, is transferred to the buyer's token.

[0108] Step 8. The seller’s token assets are used for free circulation or redemption in other links;

[0109] The specific redemption process is as follows:

[0110] a) The verification agency obtains the seller's unique token data through the smart contract and verifies it based on the relevant Daomi digital assets mapped by the token. b) Verify the relevant status of the token to determine whether the applied token meets the unlocking requirements; c) After successful verification, the smart contract converts it; d) After successful conversion, the smart contract conducts a second re-verification to ensure that the converted token is consistent with the actual mapped Daomi assets, and that the remaining tokens and equity certificates after redemption match. e) After successful re-verification, the corresponding proportion of the token price is calculated and the redemption method is selected, namely cash, WeChat, Alipay, etc. f) The smart contract distributes funds and redeems according to the selected method.

[0111] Finally, all interaction records are saved to the blockchain.

[0112] The present invention establishes a digital transaction model for the rice supply chain based on the framework of the rice supply chain digital transaction platform, and its operation process mainly includes: a) Each participating enterprise, consumer, and regulatory department are linked to the chain through a smart contract. b) Each participating enterprise and consumer connects with the national government department to form a digital ID card, connects with the exchange to form the digital transformation of individual assets, and connects with the digital wallet to complete the platform token transaction; the three together constitute the rice supply chain digital transaction platform token. c) Based on the token, each participant uses smart contracts to transfer funds and rice. d) This model relies on the sub-chain for fund transfer, and uses asymmetric encryption to encrypt and transmit data to achieve cross-chain.

[0113] The model flow chart is as follows Figure 8 As shown. Each participant first registers on the platform and obtains a unique hash value. The smart contract verifies the hash values ​​of each participating enterprise, consumer and regulator for identity matching verification, and matches the corresponding permissions respectively. After successful verification, different participants will form their own unique platform tokens, namely rice asset mapping, tokens and digital ID cards. The front-end interface of the platform guides the formation of the token, and the back-end verifies the authenticity of the data and matches the data of the filled options based on the smart contract. After the token is formed, the smart contract is used to use the token for rice transactions on the platform, mainly for capital flow and rice flow. All data needs to be stored on the chain. This model adopts the storage mode of "node storage + cloud database", that is, the node stores data indexes, and the cloud database stores specific data content to reduce the pressure on node storage. The underlying blockchain of this model adopts a dual-chain architecture, namely "main chain + sub-chain".

[0114] The rice trading process proposed in this invention is supplemented by the following two points: ① Each call and circulation of the entire platform contract will generate a certain amount of GAS (gas fee) as capital for the operation of the platform. ② The platform is divided into a main chain and a sub-chain, where the main chain is set as an alliance chain and the sub-chain is set as a public chain. The transaction and circulation of tokens in the pass are in the sub-chain, and the sub-chain relies on asymmetric encryption to interact with the main chain for data.

[0115] The completion of the digitalization of rice on the chain needs to be carried out on the exchange, where rice needs to be priced. The present invention formulates the rules for the transfer of rice asset tokens by investigating the current national standards, local standards and industry standards related to rice. The details are shown in Table 1.

[0116] The reference standards for this evaluation form are: GB 1350-1978, GB 1357-1978, NY 20-1986, NY / T 11-1985, NY / T13-1986, NY / T 83-1988, GB / T 17891-1999, GB 2763-1981, GB 13107-1991, GB 14935-1994, NY / T 419-2000, NY 5115-2002, GB / T 5009.114-2003, GB 2762-2005, NY / T 593-2002, NY / T594-2002, NY / T 595-2002, GB / T 17891-2017、GB / T 1354-2018, GB 1350, GB / T17891, GB / T1354, NY / T 593, GB 2762-2017, GB 2761-2017, GB 2760-2014.

[0117] According to the standard, the rice supply chain is divided into 6 basic links, of which the storage link includes 4 small links, the processing link includes 5 small links, and the indicators are divided into 59, including 14 indicators in the planting link, 14 indicators in the storage link, 11 indicators in the processing link, 13 indicators in the warehousing link, 3 indicators in the transportation link, and 4 indicators in the sales link. According to the importance of the indicators, the weight of the indicators is divided into 3 levels. The first level is the pollutant type indicator, the second level is the rice and seed situation indicators, and the third level is the external indicators such as packaging. The token price needs to be given by the buyer, and the specific situation is shown in Table 2. The data given in the table are test data. The scores are given by professionals. The higher the score, the higher the quality of the rice.

[0118] Table 1 Rice Asset Evaluation Table

[0119]

[0120]

[0121]

[0122]

[0123]

[0124]

[0125] Table 2 Token price diagram

[0126]

[0127]

[0128] Example verification:

[0129] Through field research on a rice production and processing base in Henan, it was found that the base has a complete rice enterprise, including production enterprises, processing enterprises, storage enterprises, transportation enterprises, sales enterprises, etc. and consumers. The base currently has problems such as slow transaction process, unreliable transaction environment, and difficulty in locating and determining responsibilities when problems arise. With the participation of a regulatory agency, the base's rice transactions are implemented on the chain of digital rice transactions.

[0130] The prototype system built in this example consists of a front-end web page, server, cloud database, mobile APP, and blockchain network. The system architecture is as follows: Fig. 9 As shown. The system uses C++ development language, JAVA development language and Golang development language for blockchain development, and uses Gin and Vue as front-end and back-end frameworks for full-stack development. Use QT development environment to develop a mobile phone application software adapted to the Android system.

[0131] The core functions of this prototype system include user management, rice evaluation and conversion, token management, real-time monitoring and cross-chain management. User management includes user registration, user token management, token trading management and rice circulation management. Rice evaluation and conversion includes exchange professional scoring and token conversion. The token management function mainly manages personal digital ID cards, rice asset mapping and tokens. Real-time supervision mainly serves regulatory activities such as traceability query for regulatory agencies. Cross-chain management mainly serves the data interaction between the main chain and sub-chains.

[0132] When the base enterprise completes the registration and goes on-chain, each participant logs in through a unique hash value and matches their respective permissions. Participating enterprises trade in this prototype system based on their respective tokens, and rice circulates based on the agreement reached during the capital flow process. This system makes the capital flow, that is, the transaction, much faster than the actual flow of rice, greatly improving the transaction speed and efficiency of rice. At the same time, the blockchain provides a completely trusted and secure environment for this transaction model, making this transaction model possible. The operation of this system relies on part of the GAS fee collected from each contract call.

[0133] For rice circulation, the system is divided into two states: received and not received. However, once the transaction is completed, the goods essentially belong to the buyer. From the perspective of the token, they belong to the buyer, but they may be in the hands of the seller or in transit. When the buyer receives the goods, if there is damage, the contract will mortgage or deduct compensation for its token or asset mapping, and finally unblock the token for this transaction. Before the token is unblocked, it can be traded on the platform but cannot be withdrawn. Only after it is unblocked can it be cashed out on the exchange to prevent transaction fraud.

[0134] Through the actual verification of this base, it is proved that this system can use tokens to realize the rapid transaction of rice and the precise monitoring of regulatory agencies, thus achieving the goal of fully digital transaction of rice assets.

Claims

1. A rice supply chain digital transaction method based on blockchain token, characterized in that: The specific steps are as follows: Step 1: Based on the business process of the rice supply chain, six basic links are extracted: planting, storage, processing, warehousing, transportation and sales; Step 2: According to the business scope of each participating enterprise, they are divided into production enterprises, warehousing enterprises, processing enterprises, transportation enterprises and sales enterprises in the corresponding basic links; all enterprises, consumers and regulatory authorities together constitute platform participants; Step 3: Build a digital trading platform for the rice supply chain including an exchange module, an identity authentication module, a token circulation module, a rice circulation module, and a basic blockchain layer; The identity authentication module is used to authenticate the identities of platform participants and distribute digital wallets and digital ID cards; The exchange module is used to realize the conversion of DaoMi assets and the realization of token prices; The token circulation module is used to realize the circulation of token assets of platform participants; The rice circulation module is used to realize the circulation of rice assets of platform participants; The basic blockchain layer adopts a dual-chain architecture, with the main chain being a consortium chain and the sub-chain being a public chain. The two realize cross-chain data exchange through smart contracts and asymmetric encryption methods. The smart contracts include: query data contract, upload data contract, verification smart contract, data interaction smart contract and data call smart contract; Step 4: Platform participants are authenticated through the identity authentication module, and digital identity tokens and corresponding digital wallets are distributed and saved in the blockchain; Step 5: Platform participants use smart contracts to tokenize Rice assets through the exchange module; Step 6. Platform participants match their own rice token price with their own identity token to form the only token circulating on the platform; The unique token consists of three aspects: a digital ID is used to indicate whether the participant is a buyer or seller; Token assets are the digital currency funds of each participant, which are used to buy and sell rice on the digital trading platform; Rice assets are proof of rights to rice, including various indicators of rice quality and grade; Step 7: Buyers and sellers use their own unique tokens to realize layered transactions of funds and rice; Step 8. The token assets stored in the seller’s digital wallet are used for transactions or redemption in other links.

2. A rice supply chain digital transaction method based on blockchain token as claimed in claim 1, characterized in that: In step 4, the process of generating the digital identity token is as follows: Each participant registers and verifies their identity through a smart contract, which is compared with the real ID card stored by the national government agency. After the verification is passed, an address code is automatically generated as a digital wallet to store the participant's token assets. At the same time, a digital ID card corresponding to the real ID card is generated based on the information.

3. A rice supply chain digital transaction method based on blockchain token as claimed in claim 1, characterized in that: In step 5, the tokenization of Rice assets is specifically as follows: First, each platform participant saves their rice situation to the blockchain, and the verification agency obtains the relevant rice data; Each basic link corresponds to its own evaluation index. Professionals of the exchange will give the token price of each basic link in advance according to the grade and quality of each index and divide it into corresponding score segments; the token price is the guiding unit price of rice; Then, merchants give corresponding weights according to the level and quality of each indicator; through the conversion of scores and weights, the conversion scores of each Rice asset are obtained, which are used for the proportion of token redemption; The specific conversion formula is: use ∑ (score * weight) / weight sum of each indicator to get the converted score, and the percentage of the converted score is the corresponding proportion of the token price redemption; Finally, after the conversion is successful, the smart contract will be backtracked for verification. After passing, the token price will be distributed and the rice token price of each platform participant will be saved in the blockchain.

4. A rice supply chain digital transaction method based on blockchain token as claimed in claim 1, characterized in that: In step 7, the flow process of the buyer and seller to realize the layered transaction of funds and rice is as follows: First, the buyer broadcasts the purchase of rice to the blockchain through a smart contract and publishes its unique token, including the rice asset to be purchased and the token price; Each seller obtains relevant purchase information published by the buyer through the smart contract, and provides the buyer with their own unique token, including their own rice assets, through the smart contract; Then, the buyer selects the seller whose rice quality meets his needs from the unique tokens of each seller and announces the price to the seller. The seller obtains the relevant price information through the smart contract and considers the price appropriate, and the transaction is concluded. The buyer transfers his unique token to the digital trading platform to lock the token assets. Next, the seller circulates the rice, specifically: a) The smart contract automatically verifies whether the buyer’s unique token has been transferred. Once verified, the seller’s rice product is checked and the information is saved to the blockchain; b) The rice products are transported by logistics. After arriving at the buyer, the buyer inspects the rice products and compiles a loss list, which is saved to the blockchain. The smart contract verifies its authenticity and automatically locates and determines the cause of the loss; c) The loss is deducted in tokens through the smart contract, and both the buyer and the seller confirm it; Finally, when the buyer confirms that the rice product received is correct, he will unlock his own locked token and the transaction is completed.

5. A rice supply chain digital transaction method based on blockchain token as claimed in claim 1, characterized in that: The cashing process in step eight is as follows: First, the verification agency obtains the seller’s unique token through a smart contract and verifies whether the token applied for redemption is eligible for unlocking; when the verification is successful, the corresponding proportion of the token price is calculated, and the redemption method is selected to distribute the funds, and all interaction records are saved to the blockchain.