Font Size: a A A

Design And Implementation Of Pork Traceability System Based On Hyperledger Fabric

Posted on:2021-07-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y S QiaoFull Text:PDF
GTID:2518306050472824Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
"Hunger breeds discontentment,food to safety first",food safety concerns the national economy and people's livelihood.As one of the main sources of meat for Chinese residents,pork has always been the focus of attention.However,negative reports such as "waterinjected pork","lean meat extract",and "sick dead pork" have occurred from time to time.In 2019,it is because of "African swine fever" that the topic of pork has once again become the focus of attention.The terms "organic pork" and "native pork" advertised by merchants during marketing and publicity cannot prove the quality of the meat,because consumers know little about the pork they bought.When meat quality problems occur,the regulatory authorities cannot lock in the source for the first time.All of these problems are expected to have a well-designed,low-cost,highly recognized traceability system.Although there are traces of the origin of pork used in some cities,the penetration rate is low and the cost is high.This article will build a set of pork traceability system based on blockchain technology and Internet technology.Starting from the pig breeding,the production,wholesale,logistics,retail and other processes will be tracked.Because block chain has the characteristics of open account,decentralization and tamper-proof,block chain technology is used to solve the pain points in the whole industry chain such as opaque information,irregular process and no basis for accountability.At the same time,the mechanism of endorsement and then bookkeeping of chain code is used to reduce the possibility of fraud in the sales process and ensure the authenticity of transactions.The system adopts the current mainstream RESTful architecture style and uses the Http interface for communication between services.The system is divided into three parts: UI service,business services,and the underlying blockchain network.According to the characteristics of pork traceability system,business services are divided into multiple subsystems such as system management,breeding management,slaughtering and processing,warehousing logistics,and wholesale and retail.In terms of data storage,a design scheme is adopted in which on-chain data is separated from business data,business data is bound to its corresponding microservices,and source-tracking data on the chain is independently managed to fully improve system efficiency.This article introduces the design and implementation of each module in detail.Finally,the system is guaranteed to be safe and reliable through functional tests and performance tests.The source tracing system guarantees the authenticity of the source tracing information by reasonably planning the functions of each participant to ensure that each key process is jointly maintained by multiple parties,thereby safeguarding the legitimate rights and interests of consumers.At the same time,the participation of all parties has been improved,which has the characteristics of accuracy and immediacy,facilitates accountability after the fact,raises the cost of counterfeiting,and has great social significance and application value.
Keywords/Search Tags:Pork traceability, blockchain, RESTful, Software System Design
PDF Full Text Request
Related items