首页|区块链环境下基于RAFT算法的身份共识机制构建研究

区块链环境下基于RAFT算法的身份共识机制构建研究

扫码查看
网络通信需要经过大量中间节点的中继,极有可能因为中间节点遭受攻击而使原通信信息被篡改.区块链组织具有与网络通信相似的拓扑结构,可以将信息打包成区块组织并链状结构安全存储起来,以避免信息被篡改.基于此应用场景,在区块链环境下针对基于RAFT算法的身份共识机制构建方法展开研究.完善区块链智能合约,联合Raft领导者选举条件,设置选举索引规则,完成基于区块链的Raft共识优化.引入预备候选角色,并针对跟随者节点子群实施划分处理,以确保将PreC RPC消息加入到区块链组织中,实现身份共识机制的构建.利用docker容器模拟节点测试上述共识机制的安全性能,与其他方法相比,该方法降低了恶意节点的共识权重,使docker容器可以容纳更多的恶意节点,可提升通信网络鲁棒性,且所需消耗信息资源更少,拥有更强的数据处理能力.
Research on the Construction of Identity Consensus Mechanism Based on RAFT Algorithm in Block Chain Environment
Network communication requires a large number of intermediate nodes to relay,and it is highly likely that the origi-nal communication information will be tampered with due to attacks on intermediate nodes.Block chain organizations have a topology resembling in network communication,which can package information into a block chain organization and securely store it in a chain-like structure to prevent information from being tampered with.Based on this application scenario,research is conducted on the construction method of identity consensus mechanism based on RAFT algorithm in the block chain environment.Improve block chain smart contracts,collaborate with RAFT leader election conditions,set election index rules,and complete block chain based on RAFT consensus optimization.Introduce candidate roles and implement partitioning processing for follower node subgroups to en-sure that PreC RPC messages are added to the block chain organization,achieving the construction of identity consensus mecha-nism.Using a docker container to simulate nodes and test the security performance of the above consensus mechanism,compared with other methods,this method reduces the consensus weight of malicious nodes,allowing the docker container to accommodate more malicious nodes,improving the robustness of communication networks,and requiring less information resources,with stronger data processing capabilities.

block chainRAFT algorithmidentity consensus mechanismsmart contractsprepare candidate rolesPreC RPC message

孙涛、刘海姣

展开 >

酒泉职业技术学院电子与信息工程学院,甘肃酒泉 735000

塔里木大学信息工程学院,新疆阿拉尔 843300

区块链 RAFT算法 身份共识机制 智能合约 预备候选角色 PreC RPC消息

2024

黑龙江工业学院学报(综合版)
鸡西大学

黑龙江工业学院学报(综合版)

影响因子:0.211
ISSN:1672-6758
年,卷(期):2024.24(9)