[1]韩昊澎,金瑜.基于哈希值分组和信任主节点选取的共识机制[J].计算机技术与发展,2024,34(05):16-23.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0035]
 HAN Hao-peng,JIN Yu.Consensus Mechanism Based on Hash Grouping and Trust Primary Node Selection[J].,2024,34(05):16-23.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0035]
点击复制

基于哈希值分组和信任主节点选取的共识机制()

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
34
期数:
2024年05期
页码:
16-23
栏目:
分布与并行计算
出版日期:
2024-05-10

文章信息/Info

Title:
Consensus Mechanism Based on Hash Grouping and Trust Primary Node Selection
文章编号:
1673-629X(2024)05-0016-08
作者:
韩昊澎12金瑜12
1.武汉科技大学 计算机科学与技术学院,湖北 武汉 430065;2.湖北省智能信息处理与实时工业系统重点实验室,湖北 武汉 430065
Author(s):
HAN Hao-peng12JIN Yu12
1.School of Computer Science and Technology,Wuhan University of Science and Technology,Wuhan 430065,China;2.Hubei Province Key Laboratory of Intelligent Information Processing and Real-time Industrial System,Wuhan 430065,China
关键词:
区块链共识机制哈希函数信誉模型共识效率
Keywords:
blockchainconsensus mechanismhash functionreputation modelconsensus efficiency
分类号:
TP339
DOI:
10.20165/j.cnki.ISSN1673-629X.2024.0035
摘要:
PBFT(Practical Byzantine Fault Tolerance)算法是当前最流行的共识机制之一,但其采用广播的通信模式导致该算法具有高通信复杂度;将节点分层进行共识的改进方式虽降低了通信规模,但改进后的算法在安全性和效率等方面仍存在不足。基于此,提出一种HBFT改进算法。首先,根据节点MAC地址的哈希值进行分组,增加节点分组的随机性并使拜占庭节点的分布更均匀;其次,优化算法的共识流程、通信内容和视图更换协议,进一步降低通信规模并提高主节点更换和故障处理的速度;最后,引入信誉机制并据此选取主节点,提升主节点的可靠性和算法的安全性。从理论、实验和安全的角度进行分析验证,结果表明HBFT算法的共识效率较PBFT算法和基于分层的改进算法分别提高96.1%~98.6%,51.3%~89.7%,且HBFT算法具有更高的安全性。
Abstract:
Practical Byzantine Fault Tolerance algorithm(PBFT)is one of the most popular consensus mechanisms.However,the com-munication mode of its broadcast leads to high communication complexity.Although the improved method of hierarchical node consensus reduces the communication scale of the algorithm,there are still shortcomings in security and efficiency of the algorithm.Based on this,an improved HBFT algorithm is proposed.Firstly,the nodes are grouped according to the hash value of MAC address,which increases the randomness of node grouping and makes the distribution of Byzantine nodes more uniform.Secondly,the consensus process,commu-nication content and view replacement protocol of the algorithm are optimized to further reduce the communication scale and improve thespeed of master node replacement and fault handling.Finally,the credit mechanism is introduced and the master node is selected based on it.It improves the reliability of the master node and the security of the algorithm.From the perspective of theory,experiment and safety,it is showed that the consensus efficiency of HBFT algorithm is improved by 96.1%~98.6% and 51.3%~89.7% compared with PBFT algorithm and layer-based improved algorithm.In addition,HBFT algorithm has higher security.

相似文献/References:

[1]陈春玲,沈阳,余瀚.去中心化的征信系统模型研究[J].计算机技术与发展,2019,29(03):122.[doi:10.3969/ j. issn.1673-629X.2019.03.026]
 CHEN Chun-ling,SHEN Yang,YU Han.Research on Decentralized Model for Credit Information System[J].,2019,29(05):122.[doi:10.3969/ j. issn.1673-629X.2019.03.026]
[2]董蓉,苑明海,周灼.基于区块链的云制造信息数据记录技术[J].计算机技术与发展,2019,29(05):97.[doi:10. 3969 / j. issn. 1673-629X. 2019. 05. 021]
 DONG Rong,YUAN Ming-hai,ZHOU Zhuo.Cloud Manufacturing Service Transaction Information Recording Technology Based on Block Chain[J].,2019,29(05):97.[doi:10. 3969 / j. issn. 1673-629X. 2019. 05. 021]
[3]董黛莹,汪学明.基于区块链的电子医疗记录共享研究[J].计算机技术与发展,2019,29(05):121.[doi:10. 3969 / j. issn. 1673-629X. 2019. 05. 026]
 DONG Dai-ying,WANG Xue-ming.Research on Electronic Medical Record Sharing Model Based on Blockchain[J].,2019,29(05):121.[doi:10. 3969 / j. issn. 1673-629X. 2019. 05. 026]
[4]李青鹏,赵相福,陈中育,等.基于区块链的网约车安全风险规避模式[J].计算机技术与发展,2019,29(09):152.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 029]
 LI Qing-peng,ZHAO Xiang-fu,CHEN Zhong-yu,et al.Risk Avoidance for Safe Network Car System Based on Blockchain[J].,2019,29(05):152.[doi:10. 3969 / j. issn. 1673-629X. 2019. 09. 029]
[5]魏 艳,毛燕琴,沈苏彬.一种基于区块链的数据完整性验证解决方案[J].计算机技术与发展,2020,30(01):76.[doi:10. 3969 / j. issn. 1673-629X. 2020. 01. 014]
 WEI Yan,MAO Yan-qin,SHEN Su-bin.A Data Integrity Verification Solution Based on Blockchain[J].,2020,30(05):76.[doi:10. 3969 / j. issn. 1673-629X. 2020. 01. 014]
[6]贾花萍.“区块链+电商”在渭南市农产品电商领域的应用[J].计算机技术与发展,2020,30(06):191.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 037]
 JIA Hua-ping.Application of “Blockchain+E-commerce” in E-commerce of Agricultural Products in Weinan[J].,2020,30(05):191.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 037]
[7]汪 菲,沈苏彬.一种基于区块链的可信数据共享解决方案[J].计算机技术与发展,2020,30(09):115.[doi:10. 3969 / j. issn. 1673-629X. 2020. 09. 021]
 WANG Fei,SHEN Su-bin.A Solution for Decentralized Data Sharing Based on Blockchain[J].,2020,30(05):115.[doi:10. 3969 / j. issn. 1673-629X. 2020. 09. 021]
[8]朱诗生,李朝清,黄仁俊,等.基于区块链的医疗数据安全共享模型与机制[J].计算机技术与发展,2020,30(10):123.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 023]
 ZHU Shi-sheng,LI Chao-qing,HUANG Ren-jun,et al.Secure Sharing Model and Mechanism of Medical Data Based on Block Chain[J].,2020,30(05):123.[doi:10. 3969 / j. issn. 1673-629X. 2020. 10. 023]
[9]文必龙,陈友良.基于区块链的企业数据共享模式研究[J].计算机技术与发展,2021,31(01):175.[doi:10. 3969 / j. issn. 1673-629X. 2021. 01. 031]
 WEN Bi-long,CHEN You-liang.Research on Enterprise Data Sharing Mode Based on Blockchain[J].,2021,31(05):175.[doi:10. 3969 / j. issn. 1673-629X. 2021. 01. 031]
[10]于爱荣,王 俊*,孙 海,等.基于区块链和智能合约的财务管理系统建设[J].计算机技术与发展,2021,31(04):164.[doi:10. 3969 / j. issn. 1673-629X. 2021. 04. 028]
 YU Ai-rong,WANG Jun*,SUN Hai,et al.Financial Management System Construction Based onBlockchain and Smart Contract[J].,2021,31(05):164.[doi:10. 3969 / j. issn. 1673-629X. 2021. 04. 028]
[11]翟社平,李兆兆,段宏宇,等.区块链关键技术中的数据一致性研究[J].计算机技术与发展,2018,28(09):94.[doi:10.3969/ j. issn.1673-629X.2018.09.020]
 ZHAI She-ping,LI Zhao-zhao,DUAN Hong-yu,et al.Research on Data Consistency of Key Technologies of Blockchain[J].,2018,28(05):94.[doi:10.3969/ j. issn.1673-629X.2018.09.020]
[12]宁 卓,李牧阳.基于联盟区块链的物流信息平台 LIP-Chain[J].计算机技术与发展,2019,29(08):190.[doi:10. 3969 / j. issn. 1673-629X. 2019. 08. 036]
 NING Zhuo,LI Mu-yang.LIP-Chain:A Logistics Information Platform Based on Permissioned Blockchain[J].,2019,29(05):190.[doi:10. 3969 / j. issn. 1673-629X. 2019. 08. 036]
[13]张富宝,李 国,王滔滔.基于区块链技术的电动汽车充电链[J].计算机技术与发展,2020,30(04):161.[doi:10. 3969 / j. issn. 1673-629X. 2020. 04. 031]
 ZHANG Fu-bao,LI Guo,WANG Tao-tao.Electric Vehicle Charging Chain Based on Blockchain Technology[J].,2020,30(05):161.[doi:10. 3969 / j. issn. 1673-629X. 2020. 04. 031]
[14]刘 俊,陈 慧,王 军.基于区块链的 ICS 数据安全策略研究[J].计算机技术与发展,2021,31(01):149.[doi:10. 3969 / j. issn. 1673-629X. 2021. 01. 027]
 LIU Jun,CHEN Hui,WANG Jun.Research on Data Security Strategy of ICS Based on Blockchain[J].,2021,31(05):149.[doi:10. 3969 / j. issn. 1673-629X. 2021. 01. 027]
[15]曹迪龙,杨文晖,苗 放.基于区块链的数字作品交易系统的研究[J].计算机技术与发展,2021,31(04):192.[doi:10. 3969 / j. issn. 1673-629X. 2021. 04. 033]
 CAO Di-long,YANG Wen-hui,MIAO Fang.Research on Digital Works Transaction System Based on Block Chain[J].,2021,31(05):192.[doi:10. 3969 / j. issn. 1673-629X. 2021. 04. 033]
[16]沈 瑞,李玲娟.一种基于积分制的改进实用拜占庭容错算法[J].计算机技术与发展,2021,31(06):59.[doi:10. 3969 / j. issn. 1673-629X. 2021. 06. 011]
 SHEN Rui,LI Ling-juan.An Improved PBFT Algorithm Based on Point System[J].,2021,31(05):59.[doi:10. 3969 / j. issn. 1673-629X. 2021. 06. 011]
[17]李莎莎,姬永清,罗 盘,等.针对主从多链的区块链集成共识机制研究[J].计算机技术与发展,2021,31(08):82.[doi:10. 3969 / j. issn. 1673-629X. 2021. 08. 014]
 LI Sha-sha,JI Yong-qing,LUO Pan,et al.Research on Blockchain Integrated Consensus Mechanisms of Master and Slave Multi-chain[J].,2021,31(05):82.[doi:10. 3969 / j. issn. 1673-629X. 2021. 08. 014]
[18]左康达,孙知信.基于区块链技术的土建工程项目管理平台[J].计算机技术与发展,2021,31(12):187.[doi:10. 3969 / j. issn. 1673-629X. 2021. 12. 031]
 ZUO Kang-da,SUN Zhi-xin.A Civil Engineering Project Management Platform Based onBlockchain Technology[J].,2021,31(05):187.[doi:10. 3969 / j. issn. 1673-629X. 2021. 12. 031]

更新日期/Last Update: 2024-05-10