Font Size: a A A

Research And Implementation Of Agricultural Products Traceability System Based On Block-Chain Technology

Posted on:2021-11-23Degree:MasterType:Thesis
Country:ChinaCandidate:G C ChenFull Text:PDF
GTID:2481306107982929Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the improvement of the national economy and the upgrading of consumption structure,people pay more attention to food quality than food prices.The rise and fall of food quality and safety issues have further stimulated people's attention to agricultural products and the pursuit of healthy and green food.How to achieve effective traceability of agricultural production information and enhance consumers' "green confidence" in agricultural products has become the industry's research focus.In the process of rapid development of Internet technology,many agricultural product traceability systems have been spawned.Most of these traceability systems are based on a centralized database,and the centralization of data leads to data security and effectiveness that cannot be guaranteed,and is prone to data security problems such as data pollution and data leakage.At the same time,the traditional centralized database cannot provide technical support such as data tracing.When a food safety problem occurs,the problem data cannot be located,and it is difficult to quickly determine the responsibility of the problem.In order to solve the above problems,this article uses the Ethereum private chain as the underlying storage of traceable data,implements related business logic in the form of smart contracts,and uses the technical characteristics of decentralization,immutability and traceability of block-chain technology to solve the traditional Problems in the traceability system.This paper mainly completes the following work.(1)Clarify project requirements and technical difficulties.By referring to the relevant literature,the current status of the traceability system at home and abroad was investigated,and the business pain points of the traceability course system were analyzed,the business requirements of the traceability system were determined,the technical difficulties of the traceability system were clarified,and the core technologies involved were briefly introduced.(2)Build the Ethereum private chain as the storage environment of the traceability system and the deployment environment of smart contracts.A dual-chain storage strategy based on block-chain and My SQL is proposed,which not only satisfies the data structured query of the traceability system,but also ensures the data response speed.(3)Based on the Ethereum private chain,the relevant functional modules of the agricultural product traceability system are designed and implemented,mainly including user management,agricultural product management,source code traceability,after-sales information feedback statistics and other functional modules.According to the business logic and function module division of the traceability system,the design and implementation of the corresponding smart contract are completed and successfully deployed to each node of the private chain.(4)Perform functional testing on the traceability system that has been developed.Perform performance testing on the Ethereum private chain using fault injection,including transaction throughput and transaction delay,to ensure the system performance of the block-chain.
Keywords/Search Tags:traceability system, block-chain, smart contract, decentralization
PDF Full Text Request
Related items