区块链

基于深度强化学习的分片区块链节点多维评估和智能动态重构方案

  • 孟令洋 ,
  • 李鹏 ,
  • 孙丽 ,
  • 杜剑
展开
  • 1. 青岛科技大学 信息科学技术学院, 山东 青岛 266061;
    2. 山东海科物联科技有限公司, 山东 青岛 266061

收稿日期: 2026-01-20

  网络出版日期: 2026-10-09

基金资助

国家自然科学基金(No.62571289,No.62172249,No.62472441);山东省自然科学基金(No.ZR2025MS1089,No.ZR2023MF082);青岛市自然科学基金(No.23-2-1-164-zyyd-jch,No.24-8-4-zrjj-3-jch)

A Multi-dimensional Evaluation and Intelligent Dynamic Reconfiguration Scheme for Sharded Blockchain Nodes Based on Deep Reinforcement Learning

  • MENG Lingyang ,
  • LI Peng ,
  • SUN Lijun ,
  • DU Jian
Expand
  • 1. College of Information Science and Technology, Qingdao University of Science & Technology, Qingdao 266061, Shandong, China;
    2. Shandong Haike IoT Technology Co., Ltd, Qingdao 266061, Shandong, China

Received date: 2026-01-20

  Online published: 2026-10-09

摘要

区块链因吞吐量低、扩展性差,难以实现规模化落地应用。分片技术虽可借助并行处理优化性能,但传统分片方案存在重配置灵活性不足、节点评估维度单一的缺陷,无法兼顾系统吞吐量与安全性。为此,本文提出一种基于深度强化学习的分片区块链节点多维评估和智能动态重构方案,旨在实现分片重配置过程中吞吐量性能与系统安全性的动态平衡。首先设计一种多维评估方法,为节点构建更全面的动态画像,并对分片吞吐量与安全性展开量化分析;其次引入深度强化学习算法,根据系统状态识别响应网络条件的最佳分片策略,同时动态均衡节点分配,最终实现分片重配置的智能自适应调整。实验结果表明,相较于传统方案,本文方法能有效提高吞吐量,降低分片风险,实现吞吐量和安全性的长期动态平衡,为区块链在大规模场景下的应用提供了可行方案。

本文引用格式

孟令洋 , 李鹏 , 孙丽 , 杜剑 . 基于深度强化学习的分片区块链节点多维评估和智能动态重构方案[J]. 应用科学学报, 2026 , 44(5) : 752 -770 . DOI: 10.3969/j.issn.0255-8297.2026.05.004

Abstract

Blockchain suffers from low throughput and poor scalability, thus making it difficult to achieve large-scale practical applications. Although sharding technology can improve performance through parallel processing, traditional sharding schemes have limitations including insufficient reconfiguration flexibility and a single-dimensional node evaluation metric, and cannot balance system throughput and security. To this end, this paper introduced a multi-dimensional node evaluation and intelligent dynamic reconfiguration scheme for sharded blockchain nodes based on deep reinforcement learning (DRL), aiming to balance throughput performance and system security during sharding reconfiguration. Specifically, it designed a multi-dimensional evaluation method to construct more comprehensive dynamic profiles for nodes and quantitatively analyze shard throughput and security. Meanwhile, the DRL algorithm was introduced to identify optimal sharding strategies responsive to network conditions based on system states. Simultaneously, node allocation was dynamically balanced, ultimately achieving intelligent and adaptive adjustment of sharding reconfiguration. The experimental results show that compared with the traditional scheme, the proposed method can effectively improve throughput and reduce sharding risk. Additionally, it achieves a long-term dynamic balance between throughput and security, providing a feasible solution for the application of blockchain in large-scale scenarios.

参考文献

[1] Nakamoto S. Bitcoin: a peer-to-peer electronic cash system [EB/OL]. 2008[2026-01-20]. https://bitcoin.org/en/bitcoin-paper.
[2] Liu Y Z, Liu J W, Vaz Salles M A, et al. Building blocks of sharding blockchain systems: concepts, approaches, and open problems [J]. Computer Science Review, 2022, 46: 100513.
[3] 唐海波, 张焕, 张召, 等. 区块链分片技术研究进展[J]. 软件学报, 2025, 36(3): 1040-1064. Tang H B, Zhang H, Zhang Z, et al. Research progress on blockchain sharding technology [J]. Journal of Software, 2025, 36(3): 1040-1064. (in Chinese)
[4] 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.
[5] Zhang Y Z, Pan S R, Yu J S. TxAllo: dynamic transaction allocation in sharded blockchain systems [C]//39th International Conference on Data Engineering (ICDE), 2023: 721-733.
[6] Zhang P Y, Guo W F, Liu Z J, et al. Optimized blockchain sharding model based on node trust and allocation [J]. IEEE Transactions on Network and Service Management, 2023, 20(3): 2804-2816.
[7] Cai T, Chen W H, Zhang J T, et al. SmartChain: a dynamic and self-adaptive sharding framework for IoT blockchain [J]. IEEE Transactions on Services Computing, 2024, 17(2): 674-688.
[8] Huang H W, Kong W, Zhou S C, et al. A survey of state-of-the-art on blockchains: theories, modelings, and tools [J]. ACM Computing Surveys, 2021, 52(2): 1-42.
[9] 黄华威, 孔伟, 彭肖文, 等. 区块链分片技术综述[J]. 计算机工程, 2022, 48(6): 1-10. Huang H W, Kong W, Peng X W, et al. Survey on blockchain sharding technology [J]. Computer Engineering, 2022, 48(6): 1-10. (in Chinese)
[10] Xiao Y, Zhang N, Lou W J, et al. A survey of distributed consensus protocols for blockchain networks [J]. IEEE Communications Surveys & Tutorials, 2020, 22(2): 1432-1465.
[11] Castro M, Liskov B. Practical Byzantine fault tolerance [C]//3th Symposium on Operating Systems Design and Implementation, 1999: 173-186.
[12] Yin M F, Malkhi D, Reiter M K, et al. HotStuff: BFT consensus with linearity and responsiveness [C]//ACM Symposium on Principles of Distributed Computing, 2019: 347-356.
[13] Zhou K, Zhang X L, Wang C P, et al. Accelerating cross-shard blockchain consensus via decentralized coordinators service with verifiable global states [J]. IEEE Transactions on Services Computing, 2024, 17(4): 1340-1353.
[14] Liu A D, Liu Y Z, Wu Q H, et al. CHERUBIM: a secure and highly parallel cross-shard consensus using quadruple pipelined two-phase commit for sharding blockchains [J]. IEEE Transactions on Information Forensics and Security, 2024, 19: 3178-3193.
[15] 陈骁, 黄牧鸿, 田一凡, 等. 基于分片区块链的车联网数据共享方案[J]. 计算机研究与发展, 2024, 61(9): 2246-2260. Chen X, Huang M H, Tian Y F, et al. Internet of vehicles data sharing scheme via blockchain sharding [J]. Journal of Computer Research and Development, 2024, 61(9): 2246-2260. (in Chinese)
[16] 刘雪娇, 钟强, 夏莹杰. 基于双层分片区块链的车联网跨信任域高效认证方案[J]. 通信学报, 2023, 44(5): 213-223. Liu X J, Zhong Q, Xia Y J. Efficient authentication scheme for cross-trust domain of IoV based on double-layer shard blockchain [J]. Journal on Communications, 2023, 44(5): 213-223. (in Chinese)
[17] Sun L J, Yang Q M, Li P, et al. VETchain: a scalable vehicular energy trading blockchain with optimized trade matching [J]. IEEE Transactions on Mobile Computing, 2026, 25(3): 3874-3888.
[18] 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.
[19] Zamani M, Movahedi M, Raykova M. RapidChain: scaling blockchain via full sharding [C]//ACM SIGSAC Conference on Computer and Communications Security, 2018: 931-948.
[20] Huang, H W, Yin Z K, Chen Q D, et al. BrokerChain: a blockchain sharding protocol by exploiting broker accounts [J]. IEEE Transactions on Networking, 2025, 33(4): 1930-1945.
[21] Huang H W, Zheng J, Zhu X Y, et al. ShardCutter: a blockchain sharding protocol achieving transaction workload balance across state shards [J]. IEEE Transactions on Networking, 2026, 34: 3393-3407.
[22] Jia L P, Liu Y X, Wang K Y, et al. Estuary: a low cross-shard blockchain sharding protocol based on state splitting [J]. IEEE Transactions on Parallel and Distributed Systems, 2024, 35(3): 405-420.
[23] Yun J, Goh Y, Chung J M. DQN-based optimization framework for secure sharded blockchain systems [J]. IEEE Internet of Things Journal, 2020, 8(2): 708-722.
[24] Yuan, S J, Li J, Liang J H, et al. Sharding for blockchain based mobile edge computing system: a deep reinforcement learning approach [C]//IEEE Global Communications Conference (GLOBECOM), 2021: 1-6.
[25] Lei K, Zhang Q C, Xu L M, et al. Reputation-based Byzantine fault-tolerance for consortium blockchain [C]//24th International Conference on Parallel and Distributed Systems (ICPADS), 2018: 604-611.
[26] 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, 2020, 8(6): 4291-4304.
[27] Xu J, Ming Y L, Wu Z H, H, et al. X-shard: optimistic cross-shard transaction processing for sharding-based blockchains [J]. IEEE Transactions on Parallel and Distributed Systems, 2024, 35(4): 548-559.
文章导航

/

〈 〉