• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2026, Vol. 48 ›› Issue (5): 828-843.doi: 10.3969/j.issn.1007-130X.2026.05.007

• Computer Network and Znformation Security • Previous Articles     Next Articles

A blockchain query system based on grouped skip list

LI Xudong,HUANG Yuhao,CHENG Ziguo,LI Zelin   

  1. (1.College of Software,Nankai University,Tianjin 300457;
    2.Haihe Laboratory of Information Technology Application Innovation,Tianjin 300459;
    3.Tianjin Key Laboratory of Operating System Enterprises,Tianjin 300457,China)
  • Received:2024-10-28 Revised:2025-01-19 Online:2026-05-25 Published:2026-05-21

Abstract: As the amount of stored data grows, blockchain faces the challenge of efficient query under large-scale data. Users hope to understand the trend of blockchain changes through complex queries. But the query cost of the existing blockchain system is high and the results cannot be reused. For this reason, a grouped skip list and a blockchain query system based on it are proposed. The system is incrementally built on the existing blockchain system to provide users with equality query, range query and top-k query solutions. Firstly, a grouped skip list (Gskiplist) data structure is proposed, which aggregates traditional skip list nodes to reduce the number of nodes, thereby improving query efficiency. Users can construct grouped skip list indexes for different fields of blockchain data, and dynamically adjust the index node height according to the conditional probability algorithm and heat value. The index node is persisted in the storage engine at the bottom of the blockchain to retain the decentralized and tamper-proof characteristics of blockchain data. Secondly, a query system is introduced, and index and query modules are added to the query system for users to query efficiently. Finally, a comparative experiment is conducted with mainstream solutions. The experiment uses space cost, insertion efficiency and query efficiency as metrics and uses real block data sets. Experimental results show that the system supports complex queries with good performance on the blockchain at a small space cost, demonstrating the feasibility and superior performance of the proposed system.

Key words: blockchain, grouped skip list, index, equality query, range query, top-k query