Research on the Cross-Chain Model of Rice Supply Chain Supervision Based on Parallel Blockchain and Smart Contracts
Abstract
:1. Introduction
- The research on blockchains in the rice supply chain is mostly on single-link blockchains such as the “production blockchain”, “processing blockchain”, and “storage blockchain” [23,24,25]. Blockchain research in the rice supply chain is mostly the in the mode of “blockchain + local database” or “blockchain + cloud database” [26]. It is difficult for data to be interconnected in a timely and effective manner between all links of the rice supply chain. There are security risks in the data interaction between the blockchain and the local database.
- Due to the numerous links in the rice supply chain and the huge actual circulation of rice, the amount of data generated by the rice supply chain is huge [27,28]. The blockchain itself has limited storage space, and the single-chain architecture cannot afford the huge amount of data in the rice supply chain [29]. The single-chain architecture has problems such as high latency and high storage costs [30].
- The data storage for the rice supply chain is decentralized, and the basic information, harmful substance information, and personnel identity information of each link are weakly correlated [31,32,33,34]. The management of rice supply chain data is sloppy, and regulators can only supervise rice data, so it is difficult to effectively supervise related fraudulent activities of enterprises [35,36,37].
- It is difficult to effectively interconnect each link of the rice supply chain, and the data interaction between the blockchain and the off-chain database is characterized by security risks [38,39]. We designed a multichain model of “main chain + parallel chain “suitable for rice supply chain supervision based on parallel blockchains and smart contracts. This model allowed the whole life cycle data of the rice supply chain to be stored on the blockchain, and the convenience and security of data interaction between various links were improved.
- In view of the many links in the rice supply chain, the participants are complex, and the rice circulation is huge [40,41,42]. A cross-chain mechanism based on a hash locking mechanism, smart contract technology, and relay chain architecture was designed. A concurrency mechanism based on the K-means algorithm and a Bloom filter was designed. An SPBFT consensus mechanism based on the PBFT consensus mechanism was designed. These mechanisms effectively reduced the delay in complex data interaction in the rice supply chain, and greatly reduced the cost of data storage.
- In view of the characteristics of scattered data storage in the rice supply chain, and since it is difficult for regulators to supervise corporate behavior, four types of smart contracts were customized. The design of these smart contracts strengthened the coupling between rice supply chain data, basic information, harmful substance information, and personnel identity information, and a refined management of rice supply chain data and personnel was realized.
2. Literature Review
3. Analysis of Supervision Information on the Rice Supply Chain and Division of Parallel Chains
4. Design of the Cross-Chain Model
4.1. Cross-Chain Framework of Rice Supply Chain Supervision
4.2. Mechanism
4.2.1. Cross-Chain Mechanism Based on Hash Lock, Smart Contract, and Relay Chain
- (1)
- Collection cross-chain mechanism
Algorithm 1 Collect cross-chain smart contract A(CCSC-A) |
Input: H(user); D; Dn; DATA; Ds; T; AD; CCSC-B; pkp; Y; F; 1:func Certification(H(user)) (D) // Data acquisition module 2:func Hash lock(D)// Data encryption module 3:func Slice(DATA)// Data fragmentation module 4:func Game(Relay chain (node))// Game module 5:func Get(AD)// Storage module |
Algorithm 2 Collect cross-chain smart contract B(CCSC-B) |
Input: DATA; CCSC- A; N; skp func Get-Crack (DATA,skp)// Obtain DATA and use user skp to decrypt to obtain Ds, etc. func Pre-stored(Ds)// Pre-storage based on data summary, get AD func Get(N)// Obtain N through data interaction, and generate Y/F to CCSC-A func Storage(D)// Store according to the pre-stored address |
- (2)
- Regulatory cross-chain mechanism
Algorithm 3 Supervise cross-chain smart contract A(SCSC-A) |
Input H(S); Ds; PA; SCSC-B; V; IR 1: func Certification(H(S))//Verify Permissions 2: func Pretreatment(D)//Cross-chain request preprocessing 3: func Integration(Data)//Form a supervised cross-chain data Data 4: func Slice(DATA)//DATA slices are stored in the relay chain 5: func Storage(IR)//Interactive record storage 6: func Destroy(S)//Call SCSC-B, decrypt, and get S 7: func Determine(V)//Time lock trigger design, including trigger conditions and trigger results |
Algorithm 4 Supervise cross-chain smart contract B(SCSC-B) |
Input Data; N; SCSC-A; skp; T; DATA func Decrypt(DATA)//Decrypt DATA with skp func Get(N)//Get N, pass S func Get(Data)//Decrypt to get Data func Transport(Data) func Self-defense(T, SCSC-A)//Anti-attack design |
4.2.2. Concurrency Mechanism Based on K-Means Algorithm and Bloom Filter
- (1)
- Initial clustering. First, initialize the k value according to the preset nine parallel blockchain data storage ranges. The k value is the number of m across the parallel blockchain in the data packet, which is determined by the maximum and minimum values of m. In addition, we determined the corresponding initial test centroid according to the value of m, as shown in Equation (4):
- (2)
- Secondary clustering. According to the similarity of the values of i and j, two clusters were performed based on the first clustering to form the distribution state of II shown in Figure 5. The different colors in II represent the data classified into different categories after the secondary clustering.
4.2.3. SPBFT Consensus Mechanism
SPBFT Consensus Algorithm
SPBFT Consensus Process
5. Results and Analysis
5.1. Operation Process Analysis
5.2. Security Analysis
5.3. Efficiency Analysis
5.4. Scalable Analysis
5.5. Discussion
6. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A
Algorithm A1: Collect cross-chain smart contract A(CCSC-A) |
Input: H(user); D; Dn; DATA; Ds; T; AD; CCSC-B; pkp; Y; F; 1: func Certification((user)) (D) // Data acquisition module { For t in range () If (user) permissions match Matching collection information:{Hazardous Material Information or corporate information or consumer information or regulatory agency information or transaction records or cost information or data interaction records or health records or other information} If Data validation after data standardization Return Step 2 } 2: func Hash lock()// Data encryption module { For t in range (m) If D standards compliant Get data summaries Ds DNH(N)// D takes a random number N and generates the corresponding hash value H(N) DnEncrypt H(N)(D)// Encrypt D using H(N) to generate ciphertext Dn DATAEncryptpkp(Dn, H(N), Ds)// Use the user’s public key to integrate and encrypt Dn, H(N), and Ds to generate data packets DATA If Ds, H (N), Dn, DATA generate Return true Return false } 3:func Slice(DATA)// Data Fragmentation Module{ For t in range (m) If Step 2 returns true Slice(DATA)//DATA Fragmentation Send(DATA)Relay chain (node)// Data shards are stored in each node of the relay chain Return true Return false } 4:func Game(Relay chain (node))// Game module { For t in range (m) If Step 3 returns true Game(node)// The game of each node of the relay chain obtains the right of reorganization Return Relay chain (node)DATA// Data normalization Each node encrypts data shards and returns H(DATA) to the contract If Judgment complete: Set(T)// Set time lock T Verify(H(DATA)>51%)// The amount of H (DATA) returned within T time is greater than 50% Return true Return exit } 5: func Get(AD)// storage module { If Step 4 returns true Transfer(CCSC-B) Return CCSC-AN; ADCCSC-A// N and AD exchange to obtain Store AD to the blockchain If Store successfully verified: Verify(Decrypt (D)) Y/F// Verification of CCSC-B decryption result notification Y/F Return Storage(AD) and true Return Exit and false //main chain, exit is interrupt cross-chain transmission in time } |
Algorithm A2: Collect cross-chain smart contract B(CCSC-B) |
Input: DATA; CCSC- A; N; skp 1:func Get-Crack (DATA, skp)// Obtain DATA and use user skp to decrypt to obtain Ds, etc. { For t in range (m) If Preliminary decryption of DATA: Get user private key skp Decrypt DATA Return Dn, H(N), Ds and true } 2: func Pre-stored(Ds)// Pre-storage based on data summary, get AD { For t in range (m) If data pre-storage: Data preprocessing based on data summaries Return AD Return false } 3:func Get(N)// Obtain N through data interaction { For t in range (m) If Get random number N: Transfer(CCSC-A) Return CCSC-AN; ADCCSC-A// N and AD exchange to obtain If decrypt DATA: Decrypt with N to get D Get H(D) for D hash, verify whether D has been tampered with } 4: func Storage(D)// Store according to the pre-stored address { For t in range (m) If Data storage to parallel blockchain: Store D to the corresponding parallel blockchain Return Send Y/F to CCSC-A } |
Algorithm A3: Supervise cross-chain smart contract A(SCSC-A) |
Input H(S); Ds; S; SCSC-B; V; IR;DATA 1: func Certification(H(S))// Verify Permissions { For t in range (m) If Return Accept cross-chain requests Return false } 2: func Pretreatment(D)// Cross-chain request preprocessing { If Data request preprocessing: Request preprocessing based on concurrency mechanism based on K-means algorithm and Bloom filter Return The location of the parachain where the requested data resides } 3: func Integration(Data)// Form a supervised cross-chain data Data { For t in range (m) If Cross-chain supervision data processing: Extract each parachain data to form Data Generate a random number N, take the hash H(N), use H(N) to encrypt the Data, and get Dn Get user pkp, encrypt H(N), Dn, get DATA Return true Return false } 4: func Slice(DATA)// DATA slices are stored in the relay chain { For t in range (m) If Relay chain data processing: Set the hash lock T Data slices are stored to relay chain nodes Each node of the relay chain plays a game, sorts the DATA, and transmits it to SCSC-B If T ends Return The DATA fragments of each node in the relay chain are automatically encrypted, and H(D) is sent to SCSC-A If H(D)>=51% Return true Return false Return false } 5: func Storage(IR)// Interactive record storage { If IR deal with: IR: {Initiate the request related person information, request information, data transmission process information} Stored in the blockchain main chain Return ture else Return false } |
Algorithm A4: Supervise cross-chain smart contract B(SCSC-B) |
InputData; N; SCSC-A; skp; T; DATA 1: func Decrypt(DATA)// Decrypt DATA with skp { For t in range (m) If DATA processing: Get user private key skp Decrypt DATA, get Dn, H(N) } 2: func Get(N)// Get N, pass S { For t in range (m) If S processing: Use the same H(N) for data encryption If data exchange: Transfer(SCSC-B) Return SCSC-AS; NSCSC-B// Exchange N and S to obtain Return false } 3: func Get(Data)// Decrypt to get Data { For t in range (m) If Dn processing: Decrypt Dn to get Data Hash Ds to verify whether it has been tampered with Return ture Return false } 4: func Transport(Data) { For t in range (m) If Data verification without tampering Return Regulatory Authority and ture Return false } 5: func Self-defense(T, SCSC-A)// Anti-attack design { For t in range (m) If Step 4 Back ture Send (V)SCSC-A If Attack handling: Received the attack information of SCSC-A Return Data is automatically encrypted } |
References
- Hao, Z.; Wang, G.; Mao, D.; Zhang, B.; Li, H.; Zuo, M.; Zhao, Z.; Yen, J. A novel method for food market regulation by emotional tendencies predictions from food reviews based on blockchain and saes. Foods 2021, 10, 1398. [Google Scholar] [CrossRef] [PubMed]
- Wu, Q.; Wu, J.; Ren, M.; Zhang, X.; Wang, L. Modification of insoluble dietary fiber from rice bran with dynamic high pressure microfluidization: Cd(II) adsorption capacity and behavior. Innov. Food Sci. Emerg. Technol. 2021, 73, 102765. [Google Scholar] [CrossRef]
- Wei, L.; Zhang, J.; Wang, C.; Liao, W. Recent progress in the knowledge on the alleviating effect of nitric oxide on heavy metal stress in plants. Plant Physiol. Biochem. 2020, 147, 161–171. [Google Scholar] [CrossRef]
- Li, Y.; Li, Y.; Chen, Z.; Bu, L.; Shi, F.; Huang, J. High-temperature air fluidization improves cooking and eating quality and storage stability of brown rice. Innov. Food Sci. Emerg. Technol. 2020, 67, 102536. [Google Scholar] [CrossRef]
- Zhou, Z.; Wang, B.; Dong, M.; Ota, K. Secure and Efficient Vehicle-to-Grid Energy Trading in Cyber Physical Systems: Integration of Blockchain and Edge Computing. IEEE Trans. Syst. Man Cybern. Syst. 2019, 50, 43–57. [Google Scholar] [CrossRef]
- Saad, M.; Qin, Z.; Ren, K.; Nyang, D.; Mohaisen, D. e-PoS: Making Proof-of-Stake Decentralized and Fair. IEEE Trans. Parallel Distrib. Syst. 2021, 32, 1961–1973. [Google Scholar] [CrossRef]
- Shayan, M.; Fung, C.; Yoon, C.J.M.; Beschastnikh, I. Biscotti: A Blockchain System for Private and Secure Federated Learning. IEEE Trans. Parallel Distrib. Syst. 2020, 32, 1513–1525. [Google Scholar] [CrossRef]
- Yuan, Y.; Wang, F.Y. Towards blockchain-based intelligent transportation systems. In Proceedings of the 2016 IEEE 19th International Conference on Intelligent Transportation Systems (ITSC), Rio de Janeiro, Brazil, 1–4 November 2016; pp. 2663–2668. [Google Scholar]
- Yu, W.; Luo, K.; Ding, Y.; You, G.; Hu, K. A Parallel Smart Contract Model. In Proceedings of the 2018 International Conference on Machine Learning and Machine Intelligence, Ha Noi, Vietnam, 28–30 September 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 72–77. [Google Scholar] [CrossRef]
- Egala, B.S.; Pradhan, A.K.; Badarla, V.; Mohanty, S.P. Fortified-Chain: A Blockchain-Based Framework for Security and Privacy-Assured Internet of Medical Things with Effective Access Control. IEEE Internet Things J. 2021, 8, 11717–11731. [Google Scholar] [CrossRef]
- Li, W.; Feng, C.; Zhang, L.; Xu, H.; Cao, B.; Imran, M.A. A Scalable Multi-Layer PBFT Consensus for Blockchain. IEEE Trans. Parallel Distrib. Syst. 2020, 32, 1146–1160. [Google Scholar] [CrossRef]
- Agyekum, K.O.-B.O.; Xia, Q.; Sifah, E.B.; Cobblah, C.N.A.; Xia, H.; Gao, J. A Proxy Re-Encryption Approach to Secure Data Sharing in the Internet of Things Based on Blockchain. IEEE Syst. J. 2021, 16, 1685–1696. [Google Scholar] [CrossRef]
- Peng, S.; Hu, X.; Zhang, J.; Xie, X.; Long, C.; Tian, Z.; Jiang, H. An Efficient Double-Layer Blockchain Method for Vaccine Production Supervision. IEEE Trans. NanoBioscience 2020, 19, 579–587. [Google Scholar] [CrossRef] [PubMed]
- Rachakonda, L.; Bapatla, A.K.; Mohanty, S.P.; Kougianos, E. SaYoPillow: Blockchain-Integrated Privacy-Assured IoMT Framework for Stress Management Considering Sleeping Habits. IEEE Trans. Consum. Electron. 2020, 67, 20–29. [Google Scholar] [CrossRef]
- Yanez, W.; Mahmud, R.; Bahsoon, R.; Zhang, Y.; Buyya, R. Data Allocation Mechanism for Internet-of-Things Systems with Blockchain. IEEE Internet Things J. 2020, 7, 3509–3522. [Google Scholar] [CrossRef]
- Huang, C.; Wang, Z.; Chen, H.; Hu, Q.; Zhang, Q.; Wang, W.; Guan, X. RepChain: A Reputation-Based Secure, Fast, and High Incentive Blockchain System via Sharding. IEEE Internet Things J. 2021, 8, 4291–4304. [Google Scholar] [CrossRef]
- Wang, L.; He, Y.; Wu, Z. Design of a Blockchain-Enabled Traceability System Framework for Food Supply Chains. Foods 2022, 11, 744. [Google Scholar] [CrossRef] [PubMed]
- Giraldo, F.D.; Barbosa Milton, C.; Gamboa, C.E. Electronic Voting Using Blockchain and Smart Contracts: Proof of Concept. IEEE Lat. Am. Trans. 2020, 18, 1743–1751. [Google Scholar] [CrossRef]
- Kshetri, N.; DeFranco, J. The Economics Behind Food Supply Blockchains. Computer 2020, 53, 106–110. [Google Scholar] [CrossRef]
- Katsikouli, P.; Wilde, A.S.; Dragoni, N.; Høgh-Jensen, H. On the benefits and challenges of blockchains for managing food supply chains. J. Sci. Food Agric. 2020, 101, 2175–2181. [Google Scholar] [CrossRef]
- Li, X.; Huang, D. Research on Value Integration Mode of Agricultural E-Commerce Industry Chain Based on Internet of Things and Blockchain Technology. Wirel. Commun. Mob. Comput. 2020, 2020, 8889148. [Google Scholar] [CrossRef]
- Shahid, A.; Almogren, A.; Javaid, N.; Al-Zahrani, F.A.; Zuair, M.; Alam, M. Blockchain-Based Agri-Food Supply Chain: A Complete Solution. IEEE Access 2020, 8, 69230–69243. [Google Scholar] [CrossRef]
- Lin, C.; He, D.; Huang, X.; Xie, X.; Choo, K.-K.R. PPChain: A Privacy-Preserving Permissioned Blockchain Architecture for Cryptocurrency and Other Regulated Applications. IEEE Syst. J. 2020, 15, 4367–4378. [Google Scholar] [CrossRef]
- Iftekhar, A.; Cui, X.; Yang, Y. Blockchain Technology for Trustworthy Operations in the Management of Strategic Grain Reserves. Foods 2021, 10, 2323. [Google Scholar] [CrossRef] [PubMed]
- Liu, Y.; Ma, X.; Shu, L.; Hancke, G.P.; Abu-Mahfouz, A.M. From Industry 4.0 to Agriculture 4.0: Current Status, Enabling Technologies, and Research Challenges. IEEE Trans. Ind. Inform. 2020, 17, 4322–4334. [Google Scholar] [CrossRef]
- Ferrag, M.A.; Derdour, M.; Mukherjee, M.; Derhab, A.; Maglaras, L.; Janicke, H. Blockchain Technologies for the Internet of Things: Research Issues and Challenges. IEEE Internet Things J. 2019, 6, 2188–2204. [Google Scholar] [CrossRef] [Green Version]
- Li, H.; Han, D.; Tang, M. A Privacy-Preserving Charging Scheme for Electric Vehicles Using Blockchain and Fog Computing. IEEE Syst. J. 2020, 15, 3189–3200. [Google Scholar] [CrossRef]
- Son, N.M.; Nguyen, T.-L.; Huong, P.T.; Hien, L.T. Novel System Using Blockchain for Origin Traceability of Agricultural Products. Sens. Mater. 2021, 33, 601. [Google Scholar] [CrossRef]
- Feng, H.; Wang, X.; Duan, Y.; Zhang, J.; Zhang, X. Applying blockchain technology to improve agri-food traceability: A review of development methods, benefits and challenges. J. Clean. Prod. 2020, 260, 121031. [Google Scholar] [CrossRef]
- Bhat, S.A.; Huang, N.-F.; Sofi, I.B.; Sultan, M. Agriculture-Food Supply Chain Management Based on Blockchain and IoT: A Narrative on Enterprise Blockchain Interoperability. Agriculture 2021, 12, 40. [Google Scholar] [CrossRef]
- Ray, P.P.; Dash, D.; Salah, K.; Kumar, N. Blockchain for IoT-Based Healthcare: Background, Consensus, Platforms, and Use Cases. IEEE Syst. J. 2020, 15, 85–94. [Google Scholar] [CrossRef]
- Xue, Y.; Liang, X.; Zhao, D. A blockchain-based rice supply chain system. MATEC Web Conf. 2021, 336, 09003. [Google Scholar] [CrossRef]
- Iftekhar, A.; Cui, X. Blockchain-Based Traceability System That Ensures Food Safety Measures to Protect Consumer Safety and COVID-19 Free Supply Chains. Foods 2021, 10, 1289. [Google Scholar] [CrossRef] [PubMed]
- Mondal, S.; Wijewardena, K.P.; Karuppuswami, S.; Kriti, N.; Kumar, D.; Chahal, P. Blockchain Inspired RFID-Based Information Architecture for Food Supply Chain. IEEE Internet Things J. 2019, 6, 5803–5813. [Google Scholar] [CrossRef]
- Zhang, X.; Sun, P.; Xu, J.; Wang, X.; Yu, J.; Zhao, Z.; Dong, Y. Blockchain-Based Safety Management System for the Grain Supply Chain. IEEE Access 2020, 8, 36398–36410. [Google Scholar] [CrossRef]
- He, W.; Da Xu, L. Integration of Distributed Enterprise Applications: A Survey. IEEE Trans. Ind. Inform. 2012, 10, 35–42. [Google Scholar] [CrossRef]
- Vu, N.; Ghadge, A.; Bourlakis, M. Blockchain adoption in food supply chains: A review and implementation framework. Prod. Plan. Control 2021, 2021, 1–18. [Google Scholar] [CrossRef]
- Tao, Q.; Cui, X.; Huang, X.; Leigh, A.M.; Gu, H. Food Safety Supervision System Based on Hierarchical Multi-Domain Blockchain Network. IEEE Access 2019, 7, 51817–51826. [Google Scholar] [CrossRef]
- He, Y.; Zhang, C.; Wu, B.; Yang, Y.; Xiao, K.; Li, H. A cross-chain trusted reputation scheme for a shared charging platform based on blockchain. IEEE Internet Things J. 2021, 1. [Google Scholar] [CrossRef]
- Zhu, S.; Cai, Z.; Hu, H.; Li, Y.; Li, W. zkCrowd: A Hybrid Blockchain-Based Crowdsourcing Platform. IEEE Trans. Ind. Inform. 2019, 16, 4196–4205. [Google Scholar] [CrossRef]
- Wang, J.; Zhang, X.; Xu, J.; Wang, X.; Li, H.; Zhao, Z.; Kong, J. Blockchain-Based Information Supervision Model for Rice Supply Chains. Comput. Intell. Neurosci. 2022, 2022, 2914571. [Google Scholar] [CrossRef]
- Chen, Q.; Zhao, Z.; Wang, X.; Xiong, K.; Shi, C. Microbiological predictive modeling and risk analysis based on the one-step kinetic integrated Wiener process. Innov. Food Sci. Emerg. Technol. 2022, 75, 102912. [Google Scholar] [CrossRef]
Category | Main Content | References |
---|---|---|
A theoretical study on the framework or model of agricultural products and food management based on the blockchain and smart contracts | Exploring the advantages of blockchain applications in agricultural products and food management frameworks or models | [19,20,25,29] |
Research on information management of agricultural products and food based on the blockchain and smart contracts | Focus on changing the traditional centralized management model through the decentralized nature of the blockchain, which is used to strengthen the information control ability of agricultural products and food | [1,24,32,35,38] |
Research on traceability of agricultural products and food information based on the blockchain and smart contracts | Improve information traceability of agricultural and food products by using the characteristics of the blockchain such as nontamperability and transparency | [21,22,33] |
Blockchain-based applications for the integration of agricultural products and food with the Internet of Things, etc. | The integration of technologies such as the Internet of Things and the blockchain is used to improve the information traceability and management of agricultural products and food. | [17,28,30,34] |
Batch: | ||
---|---|---|
Parallel Blockchain | Key Data | |
I | Hazard information | Mycotoxins, heavy metals, pesticide residues, pests, fumigants and herbicide residues, abnormal temperature and humidity, mildew, generated fungi, and toxins. |
II | Corporate information | Company name, company address, company contact information, business license, main business, legal representative, legal person contact information, registered capital, and enterprise nature. |
III | Consumer information | Identity information, contact information, home address, the purpose of the purchase, time of purchase, place of purchase, goods purchased, and product shelf life. |
IV | Regulatory information | Institution name, department, supervision link, link standard description, rules and regulations, prevention and control strategies, supervision data, supervision progress, information of responsible personnel, problem product records, qualified product records, supervision time, and supervision methods. |
V | Transaction record | Purchase price, purchase source, purchase time, purchase amount of fertilizers, seeds, pesticides, films, etc.; use of planting equipment, purchaser information, seller information, real-time purchase price, purchase time, etc., drying equipment purchase information record, drying staff salary record, plant expense records, etc., impurity removal equipment, drug purchase information records, site expense records, etc., storage time, expense information records, rice batches, ridge equipment purchase information records, equipment maintenance costs, parts purchase records, rice milling equipment purchases information record, color sorting equipment purchase information record, polishing equipment purchase information record, impurity removal equipment purchase information record, worker salary record, storage time, expense record; management record, transportation distance record, driver salary record, distance cost record, sales batch second, sales records, and venue rental records. |
VI | Cost information | Seed price, fertilizer price, labor cost, total cost, sales price, labor cost, drying (equipment, etc.) cost, cleaning (medicine, equipment, etc.) cost, storage (warehouse, tools, etc.) cost, storage price, ridged valley (equipment, etc.) cost, rice milling (equipment, etc.) cost, color sorting (equipment, etc.) cost, polishing (equipment) cost, packaging cost, primary product price, warehousing cost, outgoing price, transportation cost, driver’s salary, high-speed fee, purchase price, sales price, venue cost, sales staff salary, and publicity expenses. |
VII | Data interaction record | Supervision, query data records, traceability records, and access records. |
VIII | Health record | Site hygiene conditions, daily dressing records, daily disinfection records, and cleaning records. |
IX | Information | Seed source, production site, planting/harvesting time, rice yield rate, fertilizer/pesticide use information, purchase batch, purchase inspection report, drying record report, pharmaceutical use record, impurity content, impurity removal rate, inventory number, product batch, product source, quality inspection report, product category, product quantity, ridged grain method, equipment inspection record, ridged grain time, roughness removal/husking rate, rice milling method, equipment inspection record, entire rice/broken rice rate, color selection accuracy, carry-out ratio, polishing method, polishing rate, packaging material source, packaging material qualification certificate, product quality information, temperature and humidity record report, storage time, storage time, transportation vehicle information, vehicle disinfection report, departure place, route, arrival time, driver information, product name, product integrity rate, purchase time, sales time, sales address, and product quantity. |
Batch: | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Node | Function Permissions | |||||||||
I | II | III | IV | V | VI | VII | VIII | IX | ||
Regulatory Authority | National Grain Administration | √ | √ | √ | √ | √ | √ | √ | √ | √ |
Ministry of Finance | √ | √ | √ | √ | √ | √ | √ | √ | ||
Ministry of Health | √ | √ | √ | √ | √ | √ | √ | |||
State Administration for Industry and Commerce | √ | √ | √ | √ | √ | √ | ||||
General Administration of Quality Supervision, Inspection and Quarantine | √ | √ | √ | √ | √ | √ | √ | √ | ||
Ministry of Agriculture | √ | √ | √ | √ | √ | √ | √ |
Attack Type | Description |
---|---|
Consensus mechanism challenge | Whether the consensus algorithm between the parallel blockchain and the main chain can achieve real security. |
Witch attack | A malicious node illegally presents multiple identities to the outside world and conducts malicious behaviors after mastering multiple nodes. |
Data leakage risk | When data is transmitted between the parallel blockchain and the main chain, malicious nodes attack, resulting in the leakage of data information. |
Data tampering risk | In the cross-chain process, malicious nodes attack and tamper with the data during data transmission, resulting in untrustworthy data. |
Data loss risk | In the cross-chain process, data is “dropped out”, resulting in data loss. |
Performance | Index | Ref. [10] | Ref. [13] | Ref. [14] | Our Study |
---|---|---|---|---|---|
Security | Fault Tolerance | Middle | High | High | Middle |
Attack Diversity | High | High | Low | High | |
Security Recovery | High | High | Middle | High | |
Attack Cost | High | High | Middle | High | |
Model Efficiency | Throughout Capacity | High | Middle | Middle | High |
Delay | Middle | Middle | High | low | |
Scalability | Resource Consumption | High | High | High | High |
Application Scalability | Middle | Low | Low | High |
Category | Information Regulation Method | Labor Cost | Equipment Cost | Security Level |
---|---|---|---|---|
Traditional centralized management model | Manual processing | High | High | Low |
Blockchain + InterPlanetary File System (IPFS) | Machine processing | Low | High | Middle |
Blockchain + local database | Machine processing | Low | High | Middle |
Blockchain + cloud database | Machine processing | Low | High | Middle |
This study | Machine processing | Low | Low | High |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Peng, X.; Zhang, X.; Wang, X.; Li, H.; Xu, J.; Zhao, Z.; Wang, Y. Research on the Cross-Chain Model of Rice Supply Chain Supervision Based on Parallel Blockchain and Smart Contracts. Foods 2022, 11, 1269. https://doi.org/10.3390/foods11091269
Peng X, Zhang X, Wang X, Li H, Xu J, Zhao Z, Wang Y. Research on the Cross-Chain Model of Rice Supply Chain Supervision Based on Parallel Blockchain and Smart Contracts. Foods. 2022; 11(9):1269. https://doi.org/10.3390/foods11091269
Chicago/Turabian StylePeng, Xiangzhen, Xin Zhang, Xiaoyi Wang, Haisheng Li, Jiping Xu, Zhiyao Zhao, and Yanhong Wang. 2022. "Research on the Cross-Chain Model of Rice Supply Chain Supervision Based on Parallel Blockchain and Smart Contracts" Foods 11, no. 9: 1269. https://doi.org/10.3390/foods11091269
APA StylePeng, X., Zhang, X., Wang, X., Li, H., Xu, J., Zhao, Z., & Wang, Y. (2022). Research on the Cross-Chain Model of Rice Supply Chain Supervision Based on Parallel Blockchain and Smart Contracts. Foods, 11(9), 1269. https://doi.org/10.3390/foods11091269