Font Size: a A A

Research On Blockchain Fault Tolerance Mechanism And Algorithm

Posted on:2021-01-13Degree:MasterType:Thesis
Country:ChinaCandidate:J RenFull Text:PDF
GTID:2428330611480621Subject:Computer science and technology
Abstract/Summary:PDF Full Text Request
Since the emergence of Bitcoin,blockchain technology has been widely concerned.The mainstream blockchain platforms include Ethereum,Asch,and Hyperledger Fabric.The Fabric blockchain is favored on many platforms for its development and advanced technology.The fabric system structure is characterized by a centralized scheduling mechanism,that is,the Order node is responsible for sorting the transaction information generated between users and packaging it into blocks.Once the Order node fails,it will cause the problem of the loss of the packaged message sequence and the block that was not sent out in time,although the Fabric blockchain system will retransmit the transaction through the Peer node not receiving the block within the specified time limit.Information to sol ve this problem,but there are still problems in this process that the Order node failure cannot be found in time,the client re-sends the transaction information,and the Order node re-orders and packs the transaction.Aiming at the above problems,this paper proposes the fault tolerance mechanism of the Order node.The fault tolerance mechanism mainly adds two fault tolerance functions.On the one hand,it is to detect the failure of the Order node in time,and on the other hand,it is to backup and restore the business data of the Order node.This paper presents the algorithm to realize the above fault tolerance mechanism: one is the safety detection algorithm for finding faults in time,and the other is the reliability assurance algorithm for data backup and recovery;the two complement each other.When the safety detection algorithm passes through the main Order node During the running state tracking,the reliability guarantee algorithm also performs data backup synchronously.After the detection algorithm finds a fault,it notifies the system and starts the new main Order node to realize data recovery,thus ensuring the normal operation of the system.Experimental analysis of the algorithm proposed above.Combined with the securities trading,the comparison data of the system scheduling process before and after the Order node proposes the fault tolerance mechanism is given to simulate the scenario where the virus attacks the main Order node.Experiments show that the proposed fault-tolerant mechanism has a security guarantee.
Keywords/Search Tags:Blockchain, Fault Tolerance Mechanism, Security Detection, Reliability Guarantee
PDF Full Text Request
Related items