Blockchain, as an emerging technology, has been widely studied by the researchers from academia and industry. Alliance chain, as an important form of blockchain, is often applied to smart grids, smart city and the Internet of Things to ensure the authenticity and reliability of data. Practical Byzantine Fault Tolerance (PBFT) algorithm is a key technology to ensure data consistency in the alliance chains, and it plays a critical role in improving system performance, security and scalability. However, with the increase of the number of nodes and transactions, the ability of PBFT to process transactions is challenged. In particular, PBFT’s linear transaction processing also limits its ability to process transactions in parallel. In view of the problems existing in PBFT, this paper studies the consensus mechanism optimization, and puts forward a consensus mechanism with better performance. In this paper, in order to solve the problem of weak parallel transaction processing capability of PBFT, we propose a novel Consensus Mechanism based on Dynamic Sharding (CMDS). CMDS firstly constructs a dynamic fragmentation model based on consistent hash algorithm to segment nodes, and then constructs a voting consensus mechanism based on reputation weight to achieve global state consistency. The experimental results show that CMDS can significantly improve the ability of parallel transaction processing and the performance of blockchain system.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

A Novel Consensus Mechanism Based on Dynamic Sharding

  • Jingyu Zhang,
  • Yilong Teng,
  • Yongtao Sun,
  • Shi Zhu,
  • Fangliao Yang,
  • Lailong Luo

摘要

Blockchain, as an emerging technology, has been widely studied by the researchers from academia and industry. Alliance chain, as an important form of blockchain, is often applied to smart grids, smart city and the Internet of Things to ensure the authenticity and reliability of data. Practical Byzantine Fault Tolerance (PBFT) algorithm is a key technology to ensure data consistency in the alliance chains, and it plays a critical role in improving system performance, security and scalability. However, with the increase of the number of nodes and transactions, the ability of PBFT to process transactions is challenged. In particular, PBFT’s linear transaction processing also limits its ability to process transactions in parallel. In view of the problems existing in PBFT, this paper studies the consensus mechanism optimization, and puts forward a consensus mechanism with better performance. In this paper, in order to solve the problem of weak parallel transaction processing capability of PBFT, we propose a novel Consensus Mechanism based on Dynamic Sharding (CMDS). CMDS firstly constructs a dynamic fragmentation model based on consistent hash algorithm to segment nodes, and then constructs a voting consensus mechanism based on reputation weight to achieve global state consistency. The experimental results show that CMDS can significantly improve the ability of parallel transaction processing and the performance of blockchain system.