Deep Re-segmentation Algorithm Based on Unbalanced Data
(College of Computer Science and Technology, Taiyuan Normal University, Jinzhong 030619, China)
Abstract
With the popularization of blockchain technology, the surge in transaction volume poses challenges to network performance. Traditional segmentation methods based on account transactions perform poorly when dealing with unbalanced data, which leads to an increase in cross-segmentation transactions and affects performance. In response to this situation, a Deep Traversal Re-segmentation Algorithm based on transaction frequency is proposed. This algorithm reduces cross-segmentation transactions through initial segmentation, and then conducts deep traversal re-segmentation on the segmentation with dense transactions to solve the problem of data imbalance. By calculating the transaction frequency of accounts, it ensures load balancing and attempts to allocate accounts with frequent transactions to the same segmentation as much as possible. Experimental results show that this algorithm can effectively balance the load, reduce cross-segmentation transactions, and improve network throughput and efficiency.
Keywords
blockchain technology; Deep Traversal Re-segmentation Algorithm; transaction frequency; cross-segmentation transaction
References
- [1] Sun Zhixin, Zhang Xin, Xiang Feng, etc Research progress on scalability of blockchain storage [J]. Journal of Software, 2021, 32 (1): 1-20
- [2] Mao Zhilai, Liu Yanan, Sun Huiping, etc Research on Performance Expansion and Security of Blockchain [J]. Information Network Security, 2020, 20 (3): 56-64
- [3] Pan Chen, Liu Zhiqiang, Liu Zhen, etc Research on Scalability of Blockchain: Issues and Methods [J]. Computer Research and Development, 2018, 55 (10): 2099-2110
- [4] Huang Huawei, Kong Wei, Peng Xiaowen, etc Overview of Blockchain Sharding Technology [J]. Computer Engineering, 2022, 48 (6): 1-10
- [5] Wang Fushen, Li Zhihuai, Tian Na A multi round PBFT verification scheme to enhance the scale and effectiveness of sharding [J]. Computer Engineering and Applications, 2020, 56 (24): 102-108
- [6] Chen Huan, Wang Yijie A lightweight and scalable technology for public blockchains [J]. Computer Research and Development, 2020, 57 (7): 1555-1567
- [7] WU X,JIANG W,SONG M,et al. An Efficient Sharding Consensus Algorithm for Consortium Chains [J]. Scientific Reports,2023,13(1):20.
- [8] ZAMANI M,MOVAHEDI M,RAYKOVA M. Rapidchain: Scaling Blockchain via Full Sharding [C]//Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security.Toronto:ACM,2018:931-948.
- [9] YU G,WANG X,YU K,et al. Survey: Sharding in Blockchains [J].IEEE Access,2020,8:14155-14181.
- [10] LIU Y,LIU J,SALLES M A V,et al. Building Blocks of Sharding Blockchain Systems: Concepts, Approaches, and Open Problems [J/OL].Computer Science Review,2022,46:100513[2024-09-19].https://doi.org/10.1016/j.cosrev.2022.100513.
- [11] LUU L,NARAYANAN V,ZHENG C,et al. A Secure Sharding Protocol for Open Blockchains [C]//Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security.New York:ACM,2016:17-30.
- [12] TEAM Z. Zilliqa Developer Portal [EB/OL].(2024-06-09)[2024-09-10].https://dev.zilliqa.com/zilliqa2/.
- [13] KOKORIS-KOGIAS E,JOVANOVIC P,GASSER L,et al. Omniledger: A Secure,Scale-Out,Decentralized Ledger via Sharding [C]//2018 IEEE Symposium on Security and Privacy (SP).San Francisco:IEEE,2018:583-598.
- [14] Yuan Yong, Ni Xiaochun, Zeng Shuai, etc The Development Status and Prospects of Blockchain Consensus Algorithms [J]. Journal of Automation, 2018, 44 (11): 2011-2022
- [15] Li Jiao, Zhang Xiushan, Ning Yuanhang Blockchain sharding methods to reduce the proportion of cross shard transactions [J]. Computer Applications, 2024, 44 (6): 1889-1896
- [16] Chen Jing, Li Zhihuai, Gao Dongxue, etc Sharding load balancing method using state reduction [J]. Computer Science, 2022, 49 (11): 302-308
- [17] Wu Yi Research on searchable encrypted medical electronic medical record sharing scheme using partitioned blockchain [D]. Harbin: Northeast Forestry University, 2022
- [18] Song Yibo Research on Class Unbalanced Federated Learning Technology Based on Blockchain [D]. Nanjing: Nanjing University of Posts and Telecommunications, 2023
About the authors
Zhao Peng (1973-), male, Han nationality, from Taiyuan, Shanxi, professor, doctoral student, research direction: software engineering, big data, blockchain; Li Jun (1998-), male, Han ethnicity, from Lvliang, Shanxi, currently pursuing a master's degree in blockchain technology and consensus algorithms; Corresponding author: Lu Bo (1988-), male, Han ethnicity, from Jinzhong, Shanxi, teaching assistant, PhD, research direction: protocol security analysis, blockchain; Guo Yunze (1997-), male, Han ethnicity, from Taiyuan, Shanxi, is currently pursuing a master's degree in blockchain technology and cryptography; Chen Wei (1996-), male, Han ethnicity, from Jinzhong, Shanxi Province, is currently pursuing a master's degree in quantum information.