计算机科学与应用

BalChain:一种基于信誉与负载的分片区块链系统

  • 陈强斌 ,
  • 姚中原 ,
  • 田浩 ,
  • 斯雪明
展开
  • 1. 中原工学院 网络空间安全学院, 河南 郑州 450007;
    2. 河南省区块链与数据共享国际联合实验室(中原工学院), 河南 郑州 450007

收稿日期: 2025-01-02

  网络出版日期: 2025-10-16

基金资助

国家重点研发计划(No. 2023YFB2703600, No. 2023YFB2704600)

BalChain: a Sharded Blockchain System Based on Reputation and Load

  • CHEN Qiangbin ,
  • YAO Zhongyuan ,
  • TIAN Hao ,
  • SI Xueming
Expand
  • 1. College of Cyberspace Security, Zhongyuan University of Technology, Zhengzhou 450007, Henan, China;
    2. Henan International Joint Laboratory of Blockchain and Data Sharing (Zhongyuan University of Technology), Zhengzhou 450007, Henan, China

Received date: 2025-01-02

  Online published: 2025-10-16

摘要

分片技术是提高区块链系统扩展性的重要手段,现有的分片设计往往忽略了分片间负载不均以及节点异质性的问题,从而导致资源浪费和系统性能的下降。为此,本文提出了一种基于信誉与负载的分片区块链系统BalChain,用来提升系统吞吐量和安全性。BalChain采用双链架构,包括交易链和誉载链,分别使用Raft协议和集体签名的拜占庭容错共识机制,确保交易的高效处理和系统的安全防护。本文还提出了一种誉载相配分片算法,根据分片的负载情况动态分配计算资源,充分利用节点的异质性。同时,系统通过Metis图划分算法减少了跨分片交易的发生,进一步提升了交易处理效率。实验结果表明,BalChain在吞吐量、延迟和跨分片交易处理效率等方面均优于现有的分片区块链系统,证明了该设计在实际应用中的有效性和可扩展性。

本文引用格式

陈强斌 , 姚中原 , 田浩 , 斯雪明 . BalChain:一种基于信誉与负载的分片区块链系统[J]. 应用科学学报, 2025 , 43(5) : 863 -876 . DOI: 10.3969/j.issn.0255-8297.2025.05.012

Abstract

Sharding technology is a crucial method to improve the scalability of blockchain systems. However, current sharding designs often overlook the issues of load imbalance between shards and the heterogeneity of nodes, leading to resource waste and a decline in system performance. To solve this problem, this paper proposed BalChain, a sharded blockchain system based on reputation and load, aimed at enhancing system throughput and security. BalChain employed a dual-chain architecture, consisting of a transaction chain and a reputation chain, utilizing the Raft protocol and a collective signature Byzantine fault tolerance (CSBFT) mechanism, respectively, to ensure efficient transaction processing and robust system security. This paper also introduced a reputation-load matching sharding algorithm, which dynamically allocated computing resources based on shard load, fully utilizing the heterogeneity of nodes. Moreover, the system reduced cross-shard transactions through Metis graph partitioning algorithm, further improving transaction processing efficiency. Experimental results demonstrate that BalChain outperforms existing sharded blockchain systems in terms of throughput, latency, and cross-shard transaction processing efficiency, which proved the effectiveness and scalability of the design in real-world applications.

参考文献

[1] Squarepants S. Bitcoin: a peer-to-peer electronic cash system [J]. SSRN Electronic Journal, 2008: 3440802.
[2] Sanka A I, Cheung R C C. A systematic review of blockchain scalability: issues, solutions, analysis and future research [J]. Journal of Network and Computer Applications, 2021, 195: 103232.
[3] 章峰, 史博轩, 蒋文保. 区块链关键技术及应用研究综述[J]. 网络与信息安全学报, 2018, 4(4): 22-29. Zhang F, Shi B X, Jiang W B. Review of key technology and its application of blockchain [J]. Chinese Journal of Network and Information Security, 2018, 4(4): 22-29. (in Chinese)
[4] Durneva P, Cousins K, Chen M. The current state of research, challenges, and future research directions of blockchain technology in patient care: systematic review [J]. Journal of Medical Internet Research, 2020, 22(7): e18619.
[5] Dai H N, Zheng Z B, Zhang Y. Blockchain for Internet of things: a survey [J]. IEEE Internet of Things Journal, 2019, 6(5): 8076-8094.
[6] Khan D, Jung L T, Hashmani M A. Systematic literature review of challenges in blockchain scalability [J]. Applied Sciences, 2021, 11(20): 9372.
[7] Zhou Q H, Huang H W, Zheng Z B, et al. Solutions to scalability of blockchain: a survey [J]. IEEE Access, 2020, 8: 16440-16455.
[8] 邵奇峰, 金澈清, 张召, 等. 区块链技术: 架构及进展[J]. 计算机学报, 2018, 41(5): 969-988. Shao Q F, Jin C Q, Zhang Z, et al. Blockchain: architecture and research progress [J]. Chinese Journal of Computers, 2018, 41(5): 969-988. (in Chinese)
[9] Bez M, Fornari G, Vardanega T. The scalability challenge of Ethereum: an initial quantitative analysis [C]//IEEE International Conference on Service-Oriented System Engineering (SOSE), 2019: 167-176.
[10] Jia D Y, Xin J C, Wang Z Q, et al. Optimized data storage method for sharding-based blockchain [J]. IEEE Access, 2021, 9: 67890-67900.
[11] Scott I J, De Castro N M, Pinheiro F L. Bringing trust and transparency to the opaque world of waste management with blockchain: a polkadot parathread application [J]. Computers & Industrial Engineering, 2023, 182: 109347.
[12] Li J, Ning Y H. Blockchain transaction sharding algorithm based on account-weighted graph [J]. IEEE Access, 2024, 12: 24672-24684.
[13] Huang C Y, Wang Z Y, Chen H X, et al. RepChain: a reputation-based secure, fast, and high incentive blockchain system via sharding [J]. IEEE Internet of Things Journal, 2021, 8(6): 4291-4304.
[14] Kokoris-Kogias E, Jovanovic P, Gailly N, et al. Enhancing bitcoin security and performance with strong consistency via collective signing [C]//25th USENIX Conference on Security Symposium, 2016: 279-296.
[15] Eyal I, Gencer A E, Sirer E G, et al. Bitcoin-NG: a scalable blockchain protocol[C]//13th USENIX Symposium on Networked Systems Design and Implementation (NSDI 16), 2016: 45- 59.
[16] Chong B. State-of-the-art and future trends of blockchain based on DAG structure [C]//Structured Object-Oriented Formal Language and Method, 2019: 183-196.
[17] Zhang C, Zhao M Y, Liang J W, et al. NANO: cryptographic enforcement of readability and editability governance in blockchain databases [J]. IEEE Transactions on Dependable and Secure Computing, 2024, 21(4): 3439-3452.
[18] Lin J H, Primicerio K, Squartini T, et al. Lightning network: a second path towards centralisation of the Bitcoin economy [J]. New Journal of Physics, 2020, 22(8): 083022.
[19] 谭朋柳, 徐滕, 涂若欣. 区块链分片技术研究综述[J]. 计算机科学, 2024, 51(11): 307-320. Tan P L, Xu T, Tu R X. Review of research on blockchain sharding techniques [J]. Computer Science, 2024, 51(11): 307-320. (in Chinese)
[20] Luu L, Narayanan V, Zheng C D, et al. A secure sharding protocol for open blockchains [C]//ACM SIGSAC Conference on Computer and Communications Security, 2016: 17-30.
[21] Kokoris-Kogias E, Jovanovic P, Gasser L, et al. OmniLedger: a secure, scale-out, decentralized ledger via sharding [C]//IEEE Symposium on Security and Privacy (SP), 2018: 583-598.
[22] Yang J, Jia Z H, Su R G, et al. Improved fault-tolerant consensus based on the PBFT algorithm [J]. IEEE Access, 2022, 10: 30274-30283.
[23] Zamani M, Movahedi M, Raykova M. RapidChain: scaling blockchain via full sharding [C]//ACM SIGSAC Conference on Computer and Communications Security, 2018: 931-948.
[24] Mu K, Wei X T. EfShard: toward efficient state sharding blockchain via flexible and timely state allocation [J]. IEEE Transactions on Network and Service Management, 2023, 20(3): 2817- 2829.
[25] Staum J. Incomplete markets [J]. Handbooks in Operations Research and Management Science, 2007, 15: 511-563.
[26] Yu J S, Kozhaya D, Decouchant J, et al. RepuCoin: your reputation is your power [J]. IEEE Transactions on Computers, 2019, 68(8): 1225-1237.
[27] Liu Y Z, Liu J W, Yin J Y, et al. Cross-shard transaction processing in sharding blockchains [C]//International Conference on Algorithms and Architectures for Parallel Processing, 2020: 324-339.
[28] Hong Z C, Guo S, Li P, et al. Pyramid: a layered sharding blockchain system [C]//IEEE Conference on Computer Communications, 2021: 1-10.
[29] Wang J, Wang H. Monoxide: scale out blockchains with asynchronous consensus zones [C]//16th USENIX Symposium on Networked Systems Design and Implementation (NSDI 19), 2019: 95-112.
[30] Huang H W, Peng X W, Zhan J Z, et al. BrokerChain: a cross-shard blockchain protocol for account/balance-based state sharding [C]//IEEE Conference on Computer Communications, 2022: 1968-1977.
文章导航

/