应用科学学报 ›› 2021, Vol. 39 ›› Issue (1): 79-89.doi: 10.3969/j.issn.0255-8297.2021.01.007

• 区块链 • 上一篇    

基于信誉投票的PBFT改进方案

涂园超1,2, 陈玉玲1,2, 李涛1,2, 任晓军3, 卿欣艺1,2   

  1. 1. 贵州大学 计算机科学与技术学院, 贵州 贵阳 550025;
    2. 贵州大学 公共大数据国家重点实验室, 贵州 贵阳 550025;
    3. 潍坊科技学院 农蔬区块链实验室, 山东 寿光 262700
  • 收稿日期:2020-11-12 发布日期:2021-02-04
  • 通信作者: 陈玉玲,副教授,研究方向为大数据安全与隐私保护、区块链等。E-mail:ylchen3@gzu.edu.cn E-mail:ylchen3@gzu.edu.cn
  • 基金资助:
    国家自然科学基金(No.61962009);贵州省科技重大专项计划基金(No.20183001);贵州省公共大数据重点实验室开放课题基金(No.2018BDKFJJ003,No.2019BDKFJJ011)资助

Improved PBFT Scheme Based on Reputation Voting

TU Yuanchao1,2, CHEN Yuling1,2, LI Tao1,2, REN Xiaojun3, QING Xinyi1,2   

  1. 1. College of Computer Science and Technology, Guizhou University, Guiyang 550025, Guizhou, China;
    2. State Key Laboratory of Public Big Data, Guizhou University, Guiyang 550025, Guizhou, China;
    3. Blockchain Laboratory of Agricultural Vegetables, Weifang University of Science and Technology, Shouguang 262700, Shandong, China
  • Received:2020-11-12 Published:2021-02-04

摘要: 区块链作为一种去中心化、防篡改的分布式账本,其性能从根本上受共识机制效率的影响。实用拜占庭容错算法以视图切换随机选取主节点的方式会导致安全问题,且在节点较多时共识效率变低。针对这两个问题,提出了基于信誉投票的PBFT改进方案。根据节点划分机制评估节点的可靠性,动态地选取高信誉值节点来参与共识,降低恶意节点成为共识节点的概率,增加系统的安全性;根据节点状态转移机制转换节点的角色,维持系统的正确运行,提高系统的稳定性。将所提方案与PBFT方案进行对比实验的结果表明:在系统长期运行中,所提方案能减少共识过程中的拜占庭节点和通信开销,提高容错率和吞吐量。

关键词: 区块链, 实用拜占庭容错, 共识机制, 信誉积分, 投票选举

Abstract: As a decentralized, tamper-proof distributed ledger, the performance of blockchain is fundamentally affected by the efficiency of consensus mechanisms. Practical Byzantine fault tolerance (PBFT) algorithm randomly selects master nodes through view-switching, leading to problems of security vulnerabilities and low consensus efficiency in the case of large number of nodes. In response to the two problems, a PBFT improvement scheme based on reputation voting is proposed. The reliability of nodes is evaluated according to node division mechanism, where high reputation nodes are dynamically selected to participate in the consensus, and a malicious node is assigned with lower probability of becoming a consensus node, accordingly increasing the security of the system. By switching the role of nodes according to node state transfer mechanism, the scheme can maintain the correct operation of the system and improve the stability of the system. Experiments on the proposed and the traditional PBFT schemes show that the proposed one can reduce Byzantine nodes and communication overhead in long-term consensus processes, and improve the fault tolerance rate and the data throughput of transaction.

Key words: blockchain, practical Byzantine fault tolerance (PBFT), consensus mechanism, credit score, vote by ballot

中图分类号: