Empowering Authenticated and Efficient Queries for STK Transaction-based Blockchains

Hao Xu,Bin Xiao,Xiulong Liu,Li Wang,Shan Jiang,Weilian Xue,Jianrong Wang,Keqiu Li
DOI: https://doi.org/10.1109/tc.2023.3241263
IF: 3.183
2023-01-01
IEEE Transactions on Computers
Abstract:Owing to the attractive properties of decentralization, unforgeability, transparency, and traceability, blockchain is increasingly being used in various scenarios such as supply chain and public services, where massive Spatial-Temporal-Keywords (STK) transactions need to be packaged to the blockchain systems. However, due to the multi-dimensionality of STK transactions and transaction randomness among different blocks, existing solutions fail to enable queries in a verifiable and efficient way for blockchains storing multidimensional transactions. To this end, this paper takes the first step to innovatively propose an authenticated and efficient query approach in hybrid blockchain systems consisting of on-chain and off-chain parts. We first design a new data structure named MRK-Tree in the block body, which organizes STK transactions for efficient nodes pruning of both kNN and range queries. Then we propose an improved block header, which improves the efficient pruning of blocks on the basis of ensuring the authentication of query results. Also, we design a cross-block searching algorithm named Efficient Block Pruning (EBP) and intra-block searching algorithms named Authenticated kNN/Range Query (AKQ/ARQ) to accelerate authenticated queries for multiple MRK-Trees in the hybrid blockchain systems. Authentication mechanisms are proposed to ensure the soundness and completeness of query results. Rigorous security analysis validates the practicability of the proposed approach. We build a blockchain prototype to comprehensively evaluate the performance of proposed query schemes. Extensive evaluation results with real datasets reveal that our approach can ensure authenticated queries, meanwhile improving the time efficiency by up to 36.45x and space efficiency by up to 4 orders of magnitude compared with the well-known benchmark query schemes.
engineering, electrical & electronic,computer science, hardware & architecture
What problem does this paper attempt to address?