Open Access iconOpen Access

ARTICLE

crossmark

Blockchain Sharding Algorithm Based on Account Degree and Frequency

Jiao Li, Xiaoyu Song*

School of Computer Science, Xi’an Shiyou University, Xi’an, 710065, China

* Corresponding Author: Xiaoyu Song. Email: email

Computers, Materials & Continua 2025, 84(3), 5239-5254. https://doi.org/10.32604/cmc.2025.065504

Abstract

The long transaction latency and low throughput of blockchain are the key challenges affecting the large-scale adoption of blockchain technology. Sharding technology is a primary solution by divides the blockchain network into multiple independent shards for parallel transaction processing. However, most existing random or modular schemes fail to consider the transactional relationships between accounts, which leads to a high proportion of cross-shard transactions, thereby increasing the communication overhead and transaction confirmation latency between shards. To solve this problem, this paper proposes a blockchain sharding algorithm based on account degree and frequency (DFSA). The algorithm takes into account both account degree and weight relationships between accounts. The blockchain transaction network is modeled as an undirected weighted graph, and community detection algorithms are employed to analyze the correlations between accounts. Strong-correlated accounts are grouped into the same shard, and a multi-shard blockchain network is constructed. Additionally, to further reduce the number of cross-shard transactions, this paper designs a random redundancy strategy based on account correlation, which randomly selects strong-correlated accounts and stores them redundantly in another shard, thus original cross-shard transactions can be verified and confirmed within the same shard. Simulation experiments demonstrate that DFSA outperforms the random sharding algorithm (RSA), modular sharding algorithm (MSA), and label propagation algorithm (LPA) in terms of cross-shard transaction proportion, latency, and throughput. Therefore, DFSA can effectively reduce cross-shard transaction proportion and lower transaction confirmation latency.

Keywords

Blockchain scalability; transaction sharding; community detection; cross-shard transaction proportion

Cite This Article

APA Style
Li, J., Song, X. (2025). Blockchain Sharding Algorithm Based on Account Degree and Frequency. Computers, Materials & Continua, 84(3), 5239–5254. https://doi.org/10.32604/cmc.2025.065504
Vancouver Style
Li J, Song X. Blockchain Sharding Algorithm Based on Account Degree and Frequency. Comput Mater Contin. 2025;84(3):5239–5254. https://doi.org/10.32604/cmc.2025.065504
IEEE Style
J. Li and X. Song, “Blockchain Sharding Algorithm Based on Account Degree and Frequency,” Comput. Mater. Contin., vol. 84, no. 3, pp. 5239–5254, 2025. https://doi.org/10.32604/cmc.2025.065504



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1044

    View

  • 545

    Download

  • 0

    Like

Share Link