Font Size: a A A

Edible Agricultural Products Traceability System Based On Blockchain Technology

Posted on:2023-11-15Degree:MasterType:Thesis
Country:ChinaCandidate:L Y CaoFull Text:PDF
GTID:2568306800459984Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The quality and safety of edible agricultural products is one of the most concerned issues of the government and the general public.In recent years,food safety incidents occur frequently in China,and the traditional traceability system of edible agricultural products has been unable to meet the needs of the existing traceability system due to the disadvantages of easy to lose and tamper,low cost of fraud and information island.Due to its characteristics,blockchain technology is extremely in line with the requirements of the current traceability system of edible agricultural products,so it is important and urgent to build the traceability system of edible agricultural products based on blockchain technology.The main research contents of the thesis are as follows:(1)Analyze the importance and feasibility of combining blockchain technology with the traceability of edible agricultural products.From the background and significance of the topic selection,the importance and urgency of the topic selection are clarified.From the current situation of the traceability system of edible agricultural products and the application of blockchain technology,domestic and foreign countries are selected as different perspectives,and the necessity and feasibility of the topic are clarified.(2)Analyze the corresponding blockchain technology and select the underlying technical framework of the system.According to the needs of the traceability system of edible agricultural products,based on the structure,principle and characteristics of the blockchain technology,the advantages and disadvantages and applicable scenarios of different blockchain technology platforms are analyzed and compared,and Hyperledger Fabric is selected as the underlying blockchain framework of the system.This thesis introduces the application of blockchain technology in the field of agricultural product traceability,further clarifies the feasibility of the topic selection,and provides a guiding experience for the design and development of the system.(3)The improved RAFT algorithm PE-RAFT(Priority Evolution RAFT)is proposed.In view of the original RAFT algorithm reducing efficiency or even generating data loss in network fluctuation and network failure scenarios,the PE-RAFT algorithm proposes the network detection mechanism.For the problem that the original RAFT algorithm is too randomized when electing leaders,the PE-RAFT algorithm proposes an improved election mechanism combining prioritization and evolutionary algorithms.We at the energy-consuming problem of log replication of the original RAFT algorithm.Finally,the PE-RAFT algorithm is compared with some classical distributed consistency algorithms,so that the improved PE-RAFT algorithm has fewer elections than other algorithms in the same time,and the PE-RAFT algorithm can greatly improve the certainty of leader election.(4)Design and implement a blockchain-based edible agricultural products traceability system.After selecting the development framework,the use of software engineering method for the system demand analysis,system design,system implementation and testing,briefly gives the system use case analysis,activity analysis,database design,block,chain function design,etc.,introduces the main functions of the system,including block chain network construction process,traceability business effect,traceability supervision and traceability query business effect.Finally,a simple functional test is conducted on the system,and the test results show that the system can complete the traceability of edible agricultural products and ensure the authenticity and reliability of the traceability information.
Keywords/Search Tags:Blockchain traceability, Traceability of edible agricultural products, Improved PE-RAFT consensus algorithm, Hyperledger Fabric
PDF Full Text Request
Related items