Font Size: a A A

Research On The Application Of Blockchain Technology In Food Trustable Traceability

Posted on:2023-05-18Degree:MasterType:Thesis
Country:ChinaCandidate:Y W WangFull Text:PDF
GTID:2531307058463894Subject:Control engineering
Abstract/Summary:PDF Full Text Request
Food safety incidents not only endanger people’s physical and mental health,but also have a huge impact on the society.In order to ensure food quality and safety,most of the current mainstream food traceability schemes are designed in a centralized mode.Such schemes have poor data sharing,low traceability efficiency and cannot truly achieve one object and one code.Blockchain technology has the advantages of time sequence irreversibility and data immutability.Applying it to food traceability scenarios can create a new model for food traceability.This paper designs and implements a food trustable traceability scheme based on blockchain technology,some of the related key technologies are enhanced and improved.This paper presents an improved PBFT consensus algorithm model with linear message complexity,called RPBFT consensus algorithm.This algorithm optimizes the PBFT consensus mechanism by transferring the PBFT consensus process to RAFT consensus network group with high consensus efficiency.The experiment compares the improved algorithm with PBFT in terms of throughput,delay and scalability.The results show that the improved algorithm can effectively reduce the communication complexity of PBFT and improve the network fault tolerance of the consensus algorithm.A dynamic coding based on EPC food trustable traceability mechanism is proposed,and a coding mechanism is designed that will dynamically expand and change with the EPC coding in food circulation.The data structure design of each system user in the smart contract is improved to a parent-child model,which realizes the local and whole process information of EPC code releasable and traceable food circulation,and realizes the accurate identification of one object and one code in the traceability system.In order to improve the large amount of information and the low efficiency of user traceability block ledgers in the process of food circulation,this paper proposed an improved storage mode of chain plus de-chain.The information summary,transaction number and block number of the original food are stored in the My SQL auxiliary database,which improves the efficiency of traceability and also ensures the security of system data.Combined with the above improvements and innovations,based on the in-depth analysis of the system and functions of the traceability scheme,a food trustable traceability scheme based on blockchain technology is designed and implemented,and the interaction mode of entry and query data is optimized through EJS mechanism,which improves the maintainability of the page and the security of data transmission.
Keywords/Search Tags:Food trustable traceability, Blockchain technology, PBFT improved algorithm, EPC dynamic coding, Smart Contract Improvements, Chain plus de-chain, EJS interaction
PDF Full Text Request
Related items