Font Size: a A A

Research And Implementation Of Trusted Agricultural Products Traceability System Based On Blockchain

Posted on:2024-04-13Degree:MasterType:Thesis
Country:ChinaCandidate:Y N ZhangFull Text:PDF
GTID:2568306935499484Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the improvement of people’s living standards,the quality and safety of agricultural products have attracted more and more attention.How to realize the credible traceability of agricultural products and how to ensure the quality and safety of agricultural products have become important issues in the current society.The traceability of agricultural products involves multiple links.The traditional agricultural product traceability system adopts a centralized management mechanism,and each enterprise user stores data on their servers,making it difficult to share data.It is easy to generate information islands,information opacity,and data easily tampered with.To solve the above problems,this thesis adopts blockchain and cryptography technology and uses its characteristics of openness,transparency,and nontampering to build a blockchain-based agricultural product traceability system.The main research contents are as follows:(1)This thesis proposes a privacy-preserving storage model for data sharing.Given the open and transparent nature of data on the blockchain,a data segmentation scheme is proposed,which divides data horizontally into structured data and unstructured data,and vertically into sensitive data and public data,and combines SM4 algorithm and IPFS to design data sharing Privacy protection storage model to solve the problems of user privacy data leakage and data storage explosion.In addition,access control policies are set according to user attributes to achieve the purpose of access control.(2)This thesis designs a blockchain-based agricultural product traceability model.The model covers five links of agricultural product production,processing,warehousing,logistics and sales,and a corresponding chain code is developed for each link.Aiming at the problem of solidification of the traceability process,this thesis proposes a cross-link data traceability process,all links can be traced,and it is realized by calling the chain code of different links.(3)This thesis designs and implements a blockchain-based agricultural product traceability system.The system is composed of functional modules such as system management,process traceability and traceability management to build a complete agricultural product traceability system.The Fabric multi-machine multi-node blockchain network serves as the basic environment,and each traceability subject joins the network as an organization node and reaches an agreement through a consensus mechanism.At the same time,the chain code is developed,and the Java SDK is used to realize the upload,retrieval and traceability of the web end users.This thesis applies the designed model to the traceability system of agricultural products,and uses distributed storage to ensure that the data after being uploaded to the chain cannot be tampered with,ensuring the credibility of the traceability results.The experiment verifies the feasibility of the scheme.
Keywords/Search Tags:blockchain, Hyperledger Fabric, traceability of agricultural products, data security, privacy protection
PDF Full Text Request
Related items