摘要
针对Fabric区块链中orderer节点一旦故障,造成正在打包的消息序列和未及时发送出去的区块的丢失问题,提出为orderer节点增加一个容错机制。设计此容错机制的实现算法,主要包括两部分,其一是安全可靠性测试,其二是可靠性保障。安全可靠性测试是通过备用orderer实时检测主orderer的运行状态,一旦检测出故障,就立刻启动可靠性保障机制,即备用orderer恢复主orderer丢失的数据,并接管其业务,从而保障系统的正常运转,并通过模拟实验进行验证。
In order to tackle with the failure of the orderer node in the Fabric blockchain,which causes the loss of the message sequence being packaged and the block that was not sent out in time,this paper proposes a fault-tolerant mechanism for the orderer node.The algorithm for implementing this fault-tolerant mechanism was designed.It was mainly divided into two parts,one was the security reliability test,and the other was the reliability guarantee.The security reliability test was to detect the running status of the main orderer in real time through the standby orderer.Once a failure was detected,the reliability guarantee mechanism was immediately started.The standby orderer recovered the data lost by the main orderer and took over its business,thereby ensuring the normal operation of the system,and this was verified by simulation experiments.
作者
赵会群
任杰
Zhao Huiqun;Ren Jie(School of Information,North China University of Technology,Beijing 100144,China;Beijing Key Laboratory of Large-scale Stream Data Integration and Analysis Technology,North China University of Technology,Beijing 100144,China)
出处
《计算机应用与软件》
北大核心
2021年第12期30-35,66,共7页
Computer Applications and Software
基金
国家自然科学基金项目(61672041)。
关键词
区块链
容错机制
可靠性
测试
Blockchain
Fault tolerance mechanism
Reliability
Test