Font Size: a A A

Design And Implementation Of Blockchain Traceability System Based On Improved PBFT Algorithm

Posted on:2020-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:L L YangFull Text:PDF
GTID:2428330572473688Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The decentralization,transparency and transaction traceability of the block chain make it have a wide application scenario,which includes supply chain tracing.Traditional supply chain tracing system has some pain points such as commodity production circulation is not transparent,transaction records are hardly to be tranced back,proof and accountability are difficult.The character~istics of blockchain trading that cannot be tampered with,traceable,and publicly transparent are in line with the demands of traditional supply chains.As the core and difficulty of blockchain technology,the consensus algorithm has received great attention from the industry.How to quickly and effectively reach consensus in the blockchain system has become the focus of research.The research of consensus algorithm also has great practical significance for applying blockch ain technology to supply chain traceability.Practical Byzantine Fault Tolerance(PBFT)is a partially decentralized consensus algorithm.Compared to traditional public chain algorithms,this algorithm does not require mining and monetary incentives,so it is more suitable for the actual production environment.The PBFT algorithm achieves consensus by adopting a three-stage protocol,reducing the complexity of the traditional Byzantine fault-tolerant algorithm from exponential to polynomial.However,the PBFT algorithm still has many problems in practical applications.For example,the convergence time of the algorithm is high,the selection strategy of the master node needs to be improved,and the nodes cannot be dynamically monitored.Aiming at the above problems,this paper proposes an improved strategy.In the absence of Byzantine nodes,the two-stage protocol is used to reach consensus,and the corresponding view switching and master node selection strategy are designed.While ensuring the fault tolerance of the algorithm,the transmission consumption in the consensus process is reduced,and the time for reaching consensus is shortened.Based on the above research content,this paper designs and implements a blockchain traceability system.The system adopts the improved PBFT algorithm as the consensus mechanism.The system can upload all the records from the production,distribution,retail to the consumer's hands to the blockchain,and the consumer can query the complete circulation process of the product in the system.This paper describes in detail the requirements analysis of the blockchain traceability system,the basic structure of the system,and the basic process of system operation.Finally,the detailed function design and implementation of the system are given.
Keywords/Search Tags:blockchain, consensus algorithm, pbft, supplychai
PDF Full Text Request
Related items