作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2020, Vol. 46 ›› Issue (10): 120-130,136. doi: 10.19678/j.issn.1000-3428.0057993

• 网络空间安全 • 上一篇    下一篇

基于信任委托的区块链分层共识优化

段靓a, 吕鑫a,b, 刘凡a,b   

  1. 河海大学 a. 计算机与信息学院;b. 海岸灾害及防护教育部重点实验室, 南京 210098
  • 收稿日期:2020-04-07 修回日期:2020-06-15 发布日期:2020-07-07
  • 作者简介:段靓(1989-),女,博士研究生,主研方向为区块链算法、金融监管信息化;吕鑫,讲师、博士;刘凡,教授、博士。
  • 基金资助:
    国家自然科学基金(61602150);教育部重点实验室开放基金(201905)。

Hierarchical Consensus Optimization of Blockchain Based on Trust Delegation

DUAN Jinga, Lü Xina,b, LIU Fana,b   

  1. a. College of Computer and Information;b. Key Laboratory of Coastal Disaster and Defence of Ministry of Education, Hohai University, Nanjing 210098, China
  • Received:2020-04-07 Revised:2020-06-15 Published:2020-07-07

摘要: 联盟链是政府和企业构建行业应用首选的区块链方案,但其核心共识协议实用拜占庭容错(PBFT)机制存在扩展性问题。采用分片技术和代理人节点可以有效降低共识消息复杂度,其中代理人在选举方式、改进和干预协议过程等是当前的主要研究方向。基于此,提出一种分层共识优化机制TDH-PBFT,将共识节点划分为互相独立的组,对组内节点间共识过程的行为进行评价得到节点信任度,根据信任度选举出委托代理人参与局部和全局共识,并证明TDH-PBFT共识机制的完备性。实验结果表明,当节点数量增大时,该算法可以有效减少共识时间,提升系统吞吐量,保障共识服务质量。

关键词: 区块链, 共识协议, 实用拜占庭容错机制, 分层共识, 联盟链

Abstract: Consortium chain is currently the preferredblockchain solution for governments and enterprises to build industry applications,but its core consensus mechanism,Practically Byzantine Fault Tolerance(PBFT),has scalability problems.Using the sharding technology and agent node can effectively reduce the complexity of consensus messages,and relevant researches focus on the agent’s mechanisms of the election mode,improvement and intervention protocol process.Therefore,this paper proposes a hierarchical consensus optimization mechanism,TDH-PBFT,based on trust delegation.The mechanism divides the consensus nodes into independent groups,and the behaviors of the consensus process among the nodes within the group are evaluated to obtain the trust degree of nodes.Based on the trust degree,the entrusted agent is elected to participate in the local and global consensus.The completeness of TDH-PBFT is proved theoretically.Experimental results show that when the number of nodes increases,the proposed algorithm can effectively reduce consensus time,increase system throughput,and ensure consensus service quality.

Key words: blockchain, consensus protocol, Practical Byzantine Fault Tolerance(PBFT) mechanism, hierarchical consensus, consortium chain

中图分类号: