检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李求德 易文龙[1,2] 赵应丁 殷华[1,2] 徐亦璐 Li Qiude;Yi Wenlong;Zhao Yingding;Yin Hua;Xu Yilu(School of Software,Jiangxi Agricultural University,Nanchang 330044,Jiangxi,China;Key Laboratory of Agricultural Information Technology of Colleges and Universities in Jiangxi Province,Nanchang 330044,Jiangxi,China)
机构地区:[1]江西农业大学软件学院,江西南昌330044 [2]江西省高等学校农业信息技术重点实验室,江西南昌330044
出 处:《计算机应用与软件》2025年第2期336-342,397,共8页Computer Applications and Software
基 金:国家重点研发计划项目(2020YFD1100603,2020YFD1100605);国家自然科学基金项目(61762048)。
摘 要:针对传统联盟链Raft共识算法存在不同候选节点分票风险,导致无一节点选举票数过半、选举失败问题,提出一种授权选举Raft算法(Authorize election-Raft,AE-Raft)。挑选联盟链中一半节点设置为授权节点;借助心跳机制遴选达到超时时长的授权节点为候选节点,其余节点维持原状;选择获得过半票数的候选节点为Leader。在实验中采用Golang语言对AE-Raft算法进行编程实现。运行结果表明,AE-Raft算法在稳定性和时间效率方面要优于传统Raft算法;统计T检验p值小于0.05,AE-Raft的性能具备显著性。该算法能够用较小代价竞选出新Leader节点,该研究具备一定的实践与应用价值。In view of the risk of votes splitted among different candidate nodes in the traditional Raft consensus algorithm of the consortium blockchain,none of the nodes has more than half of the votes in the election,which leads to election failure,this paper proposes authorize election-raft(AE-Raft).Half of the nodes in the consortium blockchain were set as authorized nodes.Candidate nodes were selected by using the heartbeat mechanism in authorized nodes that had reached the timeout period,while the remaining nodes remain as they were.A leader was chosen in the candidate nodes that received more than half of the votes.In the experiment,Golang language was used to program and implement the AE-Raft algorithm.The results show that the AE-Raft algorithm is better than the traditional Raft algorithm in terms of stability and time efficiency.The p value of the statistical T-test is less than 0.05,and the performance of the AE-Raft is significant.The algorithm can elect a new leader node at a smaller cost,which has certain practical and application value.
关 键 词:联盟链 RAFT 一致性 分布式 AE-Raft 节点授权
分 类 号:TP319[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.14.251.87