On efficient top-k transaction path query processing in blockchain database

作者:

Highlights:

摘要

With the rapid development of blockchain, user’s daily financial bills and transfer records can be safely and completely stored in a transaction form. These transactions express commercial preferences for various scenarios and can be used to improve the quality of application services such as data analysis, data security, and recommendation systems. Therefore, there is a growing demand for processing diverse queries over blockchain transactions. In this paper, we formulate a new problem of blockchain top-k transaction path query (BCTkPQ) which returns first k transactions in a given query path according to the user-specified conditions. For processing BCTkPQ, we design a novel Collaborative Query Model (CQM) consisting of a set of collaborative peers and each of which contains three key components, i.e., parser, indexer and executor. First, in the parser, we propose a graph-based structure to denote the transaction paths. Then, in the indexer, we propose a two-level index to increase query and verification efficiency. Finally, in the executor, we present an optimized query algorithm for answering BCTkPQ securely and efficiently and further give a verification algorithm to guarantee the correctness of the query results. We conduct extensive experiments to illustrate the efficiency and effectiveness of our solution.

论文关键词:Blockchain,Query processing,Top-k query,Transaction path,Collaborative query model

论文评审过程:Received 11 October 2021, Revised 25 April 2022, Accepted 25 August 2022, Available online 9 September 2022, Version of Record 16 September 2022.

论文官网地址:https://doi.org/10.1016/j.datak.2022.102079