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

计算机工程 ›› 2021, Vol. 47 ›› Issue (7): 117-125,134. doi: 10.19678/j.issn.1000-3428.0058362

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

基于备选投票机制的低时延PBFT改进研究

吴晓彤, 柳平增   

  1. 山东农业大学 信息科学与工程学院, 山东 泰安 271018
  • 收稿日期:2020-05-18 修回日期:2020-07-07 发布日期:2020-07-15
  • 作者简介:吴晓彤(1995-),男,硕士研究生,主研方向为区块链技术、共识算法;柳平增(通信作者),教授、博士生导师。
  • 基金资助:
    山东省重点研发计划(公益类专项)项目“基于区块链的可信溯源系统关键技术研究”(2019GNC106103);农业农村部单品大数据建设项目“蔬菜单品大数据监测分析系统研究”(11190068)。

Delay Optimization for PBFT Based on Alternative Voting Mechanism

WU Xiaotong, LIU Pingzeng   

  1. College of Information Science and Engineering, Shandong Agricultural University, Taian, Shandong 271018, China
  • Received:2020-05-18 Revised:2020-07-07 Published:2020-07-15

摘要: 针对实用拜占庭容错算法PBFT共识时延高、视图切换效率低、动态性不足等问题,提出一种基于备选投票机制的低时延共识算法IPBFT。通过增设候补集合,使系统的共识节点能够支持动态增加和减少,同时优化视图切换协议,使算法能够在只有两个阶段的情况下完成共识过程,降低系统的通信开销。在此基础上,将算法的主节点选取方式改进为投票选举机制,在节点进行共识的过程中实现主节点的选举,从而减少视图切换所需的通信次数和时延。实验结果表明,IPBFT算法较原始PBET算法具有更低的共识时延和更高的吞吐量,并且能够较好地支持节点动态的加入或退出。

关键词: 区块链, 共识算法, PBFT算法, 备选投票机制, 低时延

Abstract: The Practical Byzantine Fault-Tolerance(PBFT) algorithm is limited by the high latency of consensus, inefficient view switching and lack of dynamicity.To address the problems,an improved algorithm called IPBFT with lower delay based on alternative voting mechanism is proposed.By adding an alternate set,the algorithm enables the number of consensus nodes in the system to be dynamically adjusted.At the same time,the view switching protocol is improved to allow the algorithm to complete the consensus process in only two phases,reducing the communication overhead of the system.On this basis,the way of selecting the primary node is changed to a voting election mechanism, which realizes primary node election in the process of node consensus to reduce the number of communication times and latency required for view switching.The experimental results show that the IPBFT algorithm has lower consensus delay and higher throughput than the original PBET algorithm.Meanwhile,it can support the nodes to dynamically join or exit.

Key words: blockchain, consensus algorithm, PBFT algorithm, alternative voting mechanism, low delay

中图分类号: