Font Size: a A A

Research On Improvement And Application Of Consortium Blockchain Consensus Algorithm

Posted on:2024-08-28Degree:MasterType:Thesis
Country:ChinaCandidate:W Y WangFull Text:PDF
GTID:2568307055470734Subject:Electronic information
Abstract/Summary:PDF Full Text Request
Blockchain 3.0 refers to the application scenarios of blockchain technology in industries other than the financial industry,which can satisfy more complex business logic.Blockchain 3.0 is called a new generation of technological innovation after Internet technology,which is enough to drive greater industrial reform.As a special private blockchain,alliance chain is widely used in various fields in the era of blockchain 3.0 due to its characteristics of decentralization,data tamper-proof traceability and high security.Consensus algorithm is one of the important research contents of blockchain technology,which is related to the consensus efficiency and security of blockchain.At present,Raft(Replication and fault-tolerant)algorithms and PBFT(Practical Byzantine Fault)are the mainstream of alliance chain Tolerance algorithms have problems such as high consensus time delay,low throughput and poor security due to node evil.Therefore,the technical challenges that blockchain technology can solve for that defects of the above two consensus algorithms in the alliance chain.This paper designs and implements an asset management system based on Hyperledger Fabric to solve the shortcomings of the traditional system such as poor security,high degree of system centralization and high storage cost,and ensures the data security by means of the alliance’s own data traceability,decentralization,and immutable uploaded data.Improve the degree of decentralization of the system and reduce the storage cost.To ensure the asset information security of users,the proposed two improvement schemes of consensus algorithm are implemented and used as the consensus algorithm of the consensus layer of the system to improve the performance and security of the system.The content of this paper is summarized as follows:(1)The Decision Tree Byzantine Fault Tolerance(DTBFT)algorithm is proposed to solve the problems of excessive communication overhead,node credibility cannot be guaranteed,and dynamic node addition or deletion of PBFT consensus algorithm in alliance chain.Firstly,the consistency protocol of PBFT algorithm is simplified and the communication cost is reduced for the application scenario of alliance chain.Secondly,considering the problem of system security,the credit scoring mechanism is introduced and the decision tree classification algorithm is added.After each round of consensus is completed,node behaviors are counted and nodes are classified,so that the system can dynamically eliminate Byzantine nodes and improve system security.Finally,in order to prevent the Byzantine node from being elected as the master node,the view switching protocol is improved to narrow the selection scope of the master node to the advanced node with good reputation,so as to ensure the credibility of the master node.The experiment shows that DTBFT algorithm has certain improvement over PBFT algorithm in throughput and security.(2)Raft consensus algorithm is vulnerable to Byzantine attacks and the Leader node election efficiency is not High.Combined with practical application scenarios of alliance chain,HARaft(High Availability Replication and Fault-Tolerant)consensus algorithm is proposed.Firstly,Monitor node is added to node identity to ensure that HARaft consensus algorithm can resist Byzantine attacks.Secondly,log replication is changed from a single Leader node to all nodes in the system in parallel to multiple Candidate nodes to other nodes,reducing the load of the original Leader node.In addition,the Monitor node supervises the Leader node by comparing log calculation results to ensure that the log replication phase can resist Byzantine attacks,reduce consensus delay,and reduce the load of the Leader node.Experiments show that compared with Raft consensus algorithm,HARaft has certain improvements in throughput,consensus delay,election efficiency of Leader node and algorithm security.(3)The current enterprise asset management system adopts the relational database system with a high degree of centralization,which is prone to computer system failure,network failure and hacker attack,resulting in data loss,requiring a large amount of storage equipment and space,and having high construction cost.A federated chain asset management system based on Hyperledger Fabric is proposed.Alliance chain has the advantages of node supervision,strong data storage security,low data storage cost.Based on the plug ability of the Hyperledger Fabric consensus algorithm,two improved algorithms are introduced to improve the consensus efficiency and security of the system.
Keywords/Search Tags:Blockchain, Consensus algorithm, PBFT, Raft, Asset management system
PDF Full Text Request
Related items