Journal of Applied Sciences ›› 2022, Vol. 40 ›› Issue (4): 623-638.doi: 10.3969/j.issn.0255-8297.2022.04.007

• Blockchain • Previous Articles    

An Efficient Query Method for Blockchain Traceability

LIU Wei1,3, WANG Dong2,3, SHE Wei1,3, PAN Heng4, SONG Xuan1, TIAN Zhao1   

  1. 1. School of Software, Zhengzhou University, Zhengzhou 450002, Henan, China;
    2. School of Information Engineering, Zhengzhou University, Zhengzhou 450001, Henan, China;
    3. Henan Collaborative Innovation Center of Internet Medical and Health Services, Zhengzhou University, Zhengzhou 450052, Henan, China;
    4. The Frontier Information Technology Research Institute, Zhongyuan University of Technology, Zhengzhou 450007, Henan, China
  • Received:2021-11-13 Published:2022-08-03

Abstract: In view of the low query efficiency of existing blockchain traceability systems, and the risk of data tampering coming up with the introduction of external databases, we proposes an efficient query method with blockchain-oriented traceability in this paper. First, by combining Bloom filter and Merkle tree, a BMerkle tree is proposed in order to form a new block structure. Under this block structure, the existence of transactions can be quickly retrieved, and the specific content of existing transactions can be found. Then, an optimized skip list structure hot_skiplist is proposed by adding an index outside the blockchain, realizing rapid block positioning, adjusting the index level dynamically based on the number of block accesses, and improving the query efficiency of frequently accessed blocks. Experiments show that this method can effectively improve the efficiency of traceability query under the condition of not tampering with blockchain data.

Key words: blockchain, Merkle tree, query efficiency, Bloom filter, skip list

CLC Number: