分片负载的多轮均衡化验证方案
Multi-Round Balancing Verification Scheme for Sharding Load
摘要: 分片技术是区块链扩容的链上核心解决方案。针对区块链分片随机分配交易机制产生的区块链分片间负载不均衡问题,提出了一种基于节点验证能力评级的区块链分片负载的多轮均衡化验证方案。首先,根据选定的节点评级模型,对节点验证交易的能力进行评级;其次,将分片内的交易验证分为多轮,在每轮验证后,根据各分片未验证交易数对剩余负载进行判断;最后,根据各分片剩余负载,分配验证能力较高的节点到负载较大的分片进行下一轮验证。通过实验验证,本文提出的多轮均衡化验证方案,可以有效提高高负载分片的交易验证率,促进分片间负载的均衡化,优化分片的区块链链上扩容。
Abstract: Sharding technology is the core solution for blockchain expansion. Aiming at the problem of unbalanced load among blockchain shards caused by the random distribution of transaction mechanism of blockchain shards, a multi-round balanced verification scheme of blockchain shard load based on node verification ability rating is proposed. First, according to the selected node rating model, the ability of the node to verify transactions is rated; second, the transaction verification within the shard is divided into multiple rounds. After each round of verification, the remaining load is calculated according to the number of unverified transactions in each shard to make judgments; finally, according to the remaining load of each shard, assign nodes with higher verification capabilities to shards with higher load for the next round of verification. Through experimental verification, the multi-round balanced verification scheme proposed in this paper can effectively improve the transaction verification rate of high-load shards, promote the balance of load among shards, and optimize the expansion of the shards on the blockchain.
文章引用:李敏, 李志淮, 白兵, 陈玉华. 分片负载的多轮均衡化验证方案[J]. 计算机科学与应用, 2021, 11(1): 45-55. https://doi.org/10.12677/CSA.2021.111006

参考文献

[1] Nakamoto, S. (2008) Bitcoin: A Peer-to-Peer Electronic Cash System. http://bitcoin.org/bitcoin.pdf
[2] 吴璨, 王小宁, 肖海力, 等. 分布式消息系统研究综述[J]. 计算机科学, 2019(B6): 1-5.
[3] 袁勇, 倪晓春. 区块链共识算法的发展现状与展望[J]. 自动化学报, 2016, 44(11): 2011-2022.
[4] 潘晨, 刘志强, 刘振. 区块链可扩展性研究:问题与方法[J]. 计算机研究与发展, 2018, 55(10): 7-18.
[5] 喻辉, 张宗洋, 刘建伟. 比特币区块链扩容技术研究[J]. 计算机研究与发展, 2017, 54(10): 2390-2403.
[6] 常兴, 赵运磊. 比特币扩容技术的发展现状与展望[J]. 计算机应用与软件, 2019, 36(3): 55-62.
[7] Khalilov, M.C.K. and Levi, A. (2018) A Survey on Anonymity and Privacy in Bitcoin-Like Digital Cash Systems. IEEE Communications Surveys & Tutorials.
[8] Li, W., Sforzin, A., Fedorov, S., et al. (2017) Towards Scalable and Private Industrial Blockchains. Proceedings of the ACM Workshop on Blockchain, Cryptocurrencies and Contracts, Abu Dhabi, 2 April 2017, 9-14. [Google Scholar] [CrossRef
[9] Chen, J. and Micali, S. (2019) Algorand: A Secure and Efficient Distributed Ledger. Theoretical Computer Science, 777, 155-183. [Google Scholar] [CrossRef
[10] Luu, L., Narayanan, V., Zheng, C., et al. (2016) A Secure Sharding Protocol for Open Blockchains. Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, Vienna, 24-28 October 2016, 17-30. [Google Scholar] [CrossRef
[11] Zamani, M., Movahedi, M. and Raykova, M. (2018) RapidChain: Scaling Blockchain via Full Sharding. Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, 15-19 October 2018, 931-948. [Google Scholar] [CrossRef
[12] 潘业达, 陈恭亮, 郭乃网. 区块链吞吐率提升研究[J]. 通信技术, 2019, 52(1): 134-140.
[13] 张翼. TPS和区块链的关系以及解决方案的相关探索[J]. 中国新通信, 2018, 20(22): 70-71.
[14] 杨晶, 刘天时, 马刚. 分布式数据库数据分片与分配[J]. 现代电子技术, 2006, 29(18): 119-121.
[15] 韩璇, 刘亚敏. 区块链技术中的共识机制研究[J]. 信息网络安全, 2017, 201(9): 147-152.
[16] Wood, G. (2014) Ethereum: A Secure Decentralized Generalized Transaction Ledger. Ethereum Project Yellow Paper 151, 1-32.
[17] 任超, 李战怀, 张英. 异构P2P网络的分布式查询协议[J]. 电子科技大学学报, 2009, 38(1): 108-112.
[18] 王夫森, 李志淮, 田娜. 提升分片规模和有效性的多轮PBFT验证方案[J/OL]. 计算机工程与应用. http://kns.cnki.net/kcms/detail/11.2127.TP.20191207.0904.002.html, 2019-12-17.