Font Size: a A A

Agricultural Product Supply Chain Traceability System Based On Blockchain Technology

Posted on:2024-02-10Degree:MasterType:Thesis
Country:ChinaCandidate:H J WangFull Text:PDF
GTID:2568307121995109Subject:Agricultural engineering and information technology
Abstract/Summary:PDF Full Text Request
This article aims at the scenario of agricultural product information traceability in the supply chain,considering the numerous links and participants involved in the process from planting to selling agricultural products,and applying blockchain technology to the agricultural product traceability system to ensure the traceability,reliability,and integrity of information when agricultural products circulate in the supply chain.Users can timely obtain traceability information of agricultural products in the supply chain,making the circulation of agricultural products in the supply chain more transparent.This paper improves the traditional PBFT algorithm into TV-PBFT algorithm,which improves the efficiency of consensus algorithm and makes it more suitable for the actual situation of agricultural product supply chain.Then,an agricultural product supply chain traceability system based on blockchain is designed to ensure that agricultural product traceability information can be shared among users,solve the problem of information islands,and ensure the safety and reliability of agricultural product information due to the characteristics of blockchain.Finally,the system is implemented using Hyperledger Fabric technology and tested.The main contents of this paper are as follows:Improved traditional PBFT consensus algorithm: Aiming at the problems of traditional PBFT algorithm such as arbitrary selection of master nodes,too complex consistency protocol flow,low consensus efficiency,and high communication complexity,a Byzantine fault-tolerant algorithm based on node integration(TV-PBFT)was proposed.The improved TV-PBFT consensus algorithm is more suitable for agricultural product supply chain scenarios.The TV-PBFT consensus algorithm introduces a reputation value and voting value scoring mechanism,which selects nodes with high scores and reliable performance as the master node and consensus node.The TV-PBFT algorithm optimizes the consistency protocol flow,which can reduce the communication complexity between nodes and optimize the system performance.The transaction latency and throughput of the TV-PBFT consensus algorithm are also tested,and the results show that the TV-PBFT algorithm has good performance.Design an agricultural product supply chain traceability system based on blockchain: first,analyze the system’s demand,first analyze the overall demand of the system,then analyze the functional requirements of different types of users and the common system functional requirements of all types of users,and then analyze the requirements of the TV-PBFT consensus algorithm;Secondly,the architecture of the system is designed,and the TV-PBFT algorithm is designed in detail.It is also necessary to design the functions of each module of the system;Finally,the smart contract is designed,including the design of storage fields and methods.Implement a blockchain based agricultural product supply chain traceability system: Firstly,deploy the environment required by the system,including configuring the software and hardware environment required for system development,and deploying and starting the environment for Fabric network operation;Secondly,develop the functional modules of each system according to the design requirements of the system,and then demonstrate the implementation of each functional module;Finally,the system is tested,each functional module is tested,and the test results are recorded in a table.The test results prove that the system can operate stably and reliably,and can provide reliable agricultural product information management and traceability functions for users in the supply chain.
Keywords/Search Tags:Agricultural product traceability, blockchain, Hyperledger Fabric, smart contract, consensus algorithm
PDF Full Text Request
Related items