###
计算机系统应用英文版:2024,33(4):179-186
本文二维码信息
码上扫一扫!
面向物联网的改进PBFT共识算法
(1.西南科技大学 计算机科学与技术学院 射频识别与物联网实验室, 绵阳 621010;2.绵阳市移动物联射频识别技术重点实验室, 绵阳 621010)
Improved PBFT Consensus Algorithm for Internet of Things
(1.RFID & IoT Laboratory, School of Computer Science and Technology, Southwest University of Science and Technology, Mianyang, 621010, China;2.Mobile Internet of Things and Radio Frequency Identification Technology Key Laboratory of Mianyang, Mianyang, 621010, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 72次   下载 209
Received:September 11, 2023    Revised:October 09, 2023
中文摘要: 随着物联网的发展, 高效的共识算法是区块链技术应用于物联网的关键. 针对实用拜占庭容错 (practical Byzantine fault tolerance, PBFT)算法在物联网场景中通信次数多、未考虑共识功耗、共识时延高等问题, 本文提出了一种基于二分K均值算法的改进PBFT共识算法(binary K-means practical Byzantine fault tolerance algorithm, BK-PBFT). 首先, 获取节点地理坐标并计算节点综合评价值, 通过二分K均值算法将节点划分为一个双层多中心聚类集群. 然后, 先在下层集群再在上层集群对区块进行PBFT共识. 最后, 集群验证执行并存储区块, 完成共识. 此外, 本文证明了当节点均匀分布在每个簇时算法通信次数可以达到最少, 以及通信次数最少时的最优聚类数. 分析与仿真结果表明, 本文算法可以有效减少通信次数、降低共识功耗和共识时延.
Abstract:With the development of the Internet of Things (IoT), efficient consensus algorithms are the key to applying blockchain technology to the IoT. This study proposes an improved PBFT consensus algorithm based on the binary K-means practical Byzantine fault tolerance algorithm (BK-PBFT) to address the issues of high communication times, lack of consideration for consensus power consumption, and high consensus latency in IoT scenarios. Firstly, it obtains the geographic coordinates of the nodes, calculates the comprehensive evaluation values of the nodes, and divides the nodes into a two-layer multi-center clustering cluster by the binary K-means algorithm. Then, PBFT consensus is performed on the blocks in the lower-level cluster and then in the upper-level cluster. Finally, the cluster validates and stores the blocks to complete the consensus. Additionally, this study proves that the algorithm can achieve the minimum number of communication times when nodes are evenly distributed in each cluster, and obtain the optimal cluster number under the least communication times. The analysis and simulation results show that the proposed algorithm can effectively reduce communication times, consensus power consumption, and consensus latency.
文章编号:     中图分类号:    文献标志码:
基金项目:国家自然科学基金面上项目(614713606); 四川省自然科学基金(2022NSFSC0548); 四川省重点研发计划(2020YFS0360); 四川省教育厅教改项目(JG2021-1414)
引用文本:
叶博文,贾小林,顾娅军.面向物联网的改进PBFT共识算法.计算机系统应用,2024,33(4):179-186
YE Bo-Wen,JIA Xiao-Lin,GU Ya-Jun.Improved PBFT Consensus Algorithm for Internet of Things.COMPUTER SYSTEMS APPLICATIONS,2024,33(4):179-186