Font Size: a A A

Design And Implementation Of Antique Trading System Based On Improved Byzantine Fault Tolerance

Posted on:2021-01-31Degree:MasterType:Thesis
Country:ChinaCandidate:Z Q ShaoFull Text:PDF
GTID:2428330626955026Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
In recent years,blockchain has frequently appeared in various news reports.In October 2019,general secretary xi jinping pointed out that blockchain should be taken as an important breakthrough for independent innovation of core technologies in the collective learning,pushing the popularity of blockchain to a new height.Blockchain has become a disruptive technology by virtue of decentralization,immutability,and traceability.As the soul of blockchain,consensus mechanism is a hot topic in blockchain research.Compared with Po W,which is used by Ethereum,Practical Byzantine Fault Tolerance(PBFT)with higher throughput is more suitable for commercial use.However,the PBFT algorithm also has some shortcomings,such as the contradiction between the architecture based on the C/S mode and the decentralized thought of the block chain,the static invariability of the node network,and the inability of throughput to meet the growing commercial demand.This article analyzes the above problems in depth,proposes improved methods,verifies from the perspective of fault tolerance and throughput,and applies them to specific scenarios.The main research contents of this article are as follows:? According to the layered architecture of Ethereum,this paper introduces the underlying technology principle of blockchain,compares the mainstream consensus algorithm,focuses on the analysis of the process and characteristics of PBFT,analyzes the shortcomings and reasons of the algorithm,and provides theoretical basis and improvement ideas for improving PBFT.? The traditional PBFT algorithm has the problems of contradiction between the C/S model and the blockchain decentralization idea,the node network is statically immutable,and the low throughput.It is proposed to cancel the client when the consensus node is highly authoritative.In the original algorithm,the work performed by the client is replaced by the master node,and initiates consensus requests every 10 s.Before each round of consensus,the join or leave requests of nodes were processed,and the number of Byzantine nodes tolerable by the system was updated according to the fault tolerance rate.Delete the view switch step,the initial master node is selected by the vote of the consensus node of the whole network,and the master node will not be changed during the run.Based on the above research,an improved PBFT algorithm is designed and implemented,and it is verified from the perspective of fault tolerance and throughput.The improved PBFT algorithm still satisfies the fault tolerance rate of 1/3,and has certain advantages over other blockchain platforms and traditional PBFT algorithms in throughput.? In view of the long-standing problems in antique market,such as distrust between both parties,geographical limitation and cross-flow of fake goods,the block chain technology was introduced into antique trading,and the improved PBFT algorithm-based antique trading system was specifically designed and implemented from the perspectives of front-end interaction,intelligent contract and block management.By simulating the operation of real transaction business,the improved PBFT algorithm is proved to be able to meet the demand and achieve the consensus work efficiently.
Keywords/Search Tags:Practical Byzantine Fault Tolerance, dynamic node network, view switching protocol, antique trading system
PDF Full Text Request
Related items