Font Size: a A A

Research On Storage And Sharing Of Agricultural Product Traceability Data Based On Double Blockchain

Posted on:2022-04-17Degree:MasterType:Thesis
Country:ChinaCandidate:Y J LiuFull Text:PDF
GTID:2518306542991489Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The issue of agricultural product safety traceability has become more and more serious in recent years,and it has been highly valued by more and more consumers,relevant departments and enterprises.The safety of agricultural products is not only directly related to the healthy development of the country's primary industry,but also related to the needs of society and people's livelihood.However,most of the traditional agricultural product traceability solutions have the problem of data storage centralization.This storage method greatly increases the probability of the traceability data being artificially tampered with,intruded or accidentally leaked,and it loses the reliability and security that the traceability data should have.It also causes the traceability of the entire supply blockchain to lose its original supervisory responsibility.In response to the above problems,the emerging blockchain technology provides a better solution.The characteristics of blockchain technology,such as decentralization,non-tampering of data,and traceability of data,are consistent with the problems existing in the traceability of agricultural products.It can well solve the problems of insecure and untrustworthy data caused by the centralization of data storage in the process of traceability of agricultural products in the traditional supply blockchain.Based on the analysis of blockchain technology and traditional agricultural product traceability technology,this paper carries out the improvement of the DPoS consensus algorithm based on the consortium blockchain,the construction of the agricultural product traceability model based on the inter-enterprise consortium blockchain and the private blockchain of the enterprise,and the prototype design of the double blockchain agricultural product traceability platform.The research work of this paper is as follows:(1)First,the current problems in the traceability of agricultural products are analyzed,and the research status of blockchain technology and the application research of blockchain technology in the traceability of agricultural products are further discussed and reviewed.Subsequently,based on the comparative analysis of mainstream blockchain consensus algorithms,a DPoS consensus algorithm improvement scheme based on the witness election mechanism WM-DPoS(Witness Mechanism-Delegated Proof of Stake)was proposed.Finally,the WM-DPoS and the two-existing improved DPoS algorithms are compared and analyzed in terms of block power distribution,node wealth distribution,and malicious node reproduction block.Experiments show that the improved WM-DPoS consensus algorithm effectively improves the fairness in the election of witness nodes,the distribution of node wealth is relatively even,and the probability of malicious nodes producing blocks again is also significantly reduced.(2)First,the current mainstream blockchain platform is sorted out and analyzed.Combining the characteristics of the agricultural product traceability scenario,a double blockchain agricultural product traceability model based on consortium blockchain and private blockchain is proposed.In this model,the consortium blockchain is mainly used for the query and sharing of agricultural product traceability information,and the private blockchain is mainly used for the collection and storage of agricultural product traceability and transaction information.Secondly,on the basis of the above,the traceability process of agricultural products and the traceability data generation process were designed respectively.Furthermore,the analysis from the aspect of security illustrates the advantages of this model in the traceability of agricultural products,which effectively improves the scalability of the model and the credibility of the data.(3)Combining the improved WM-DPoS algorithm and the constructed double blockchain traceability model,starting from the general-oriented and business-oriented functional modules,the prototype of the double blockchain agricultural product traceability platform was designed.Among them,the business function module mainly includes two kinds of internal private blockchain storage and inter-enterprise consortium blockchain information sharing.Finally,the platform designed in this paper is compared and analyzed with the current traceability platform of the same kind,and the experiment proves that this platform has higher data query efficiency.
Keywords/Search Tags:traceability of agricultural products, blockchain, DPoS consensus algorithm, ethereum, witness election mechanism
PDF Full Text Request
Related items