TY - GEN
T1 - Trusted Sliding-Window Aggregation over Blockchains
AU - Shao, Qifeng
AU - Zhang, Zhao
AU - Jin, Cheqing
AU - Zhou, Aoying
N1 - Publisher Copyright:
© 2021 IEEE.
PY - 2021
Y1 - 2021
N2 - Blockchain that continuously generates infinite transactions is widely applied to many decentralized applications. Applications generally focus more on the most recent transaction data to discover trends and make predictions, and thus there is an increasing demand for sliding-window aggregation over blockchains (e.g., a continuous query for the moving average of Bitcoin transaction volume over the last 24 hours). Blockchain submits transactions by block periodically, which makes it work well for sliding-window aggregation. However, the mutual distrust between blockchain nodes makes users consider both query efficiency and query authentication (e.g., simple payment verification (SPV) in Bitcoin). Aggregate B-tree can process sliding-window aggregation in a multi-query setting efficiently. In order to achieve authenticated sliding-window aggregation, a naive scheme may incorporate the Merkle tree into the aggregate B-tree, but that will complicate the index structure, and couple query logic and verification logic. In this paper, we propose a novel authenticated sliding-window aggregation scheme that separates query authentication from query processing. By designing a separate encoded Merkle tree, verification logic can authenticate query results of the aggregate B-tree by itself, without affecting query logic. We also develop an optimized scheme based on FiBA and software guard extensions (SGX), which further reduces aggregate and digest update costs. Security analysis and empirical study validate the robustness and practicality of the proposed scheme.
AB - Blockchain that continuously generates infinite transactions is widely applied to many decentralized applications. Applications generally focus more on the most recent transaction data to discover trends and make predictions, and thus there is an increasing demand for sliding-window aggregation over blockchains (e.g., a continuous query for the moving average of Bitcoin transaction volume over the last 24 hours). Blockchain submits transactions by block periodically, which makes it work well for sliding-window aggregation. However, the mutual distrust between blockchain nodes makes users consider both query efficiency and query authentication (e.g., simple payment verification (SPV) in Bitcoin). Aggregate B-tree can process sliding-window aggregation in a multi-query setting efficiently. In order to achieve authenticated sliding-window aggregation, a naive scheme may incorporate the Merkle tree into the aggregate B-tree, but that will complicate the index structure, and couple query logic and verification logic. In this paper, we propose a novel authenticated sliding-window aggregation scheme that separates query authentication from query processing. By designing a separate encoded Merkle tree, verification logic can authenticate query results of the aggregate B-tree by itself, without affecting query logic. We also develop an optimized scheme based on FiBA and software guard extensions (SGX), which further reduces aggregate and digest update costs. Security analysis and empirical study validate the robustness and practicality of the proposed scheme.
KW - Intel SGX
KW - blockchain
KW - query authentication
KW - sliding-window aggregation
UR - https://www.scopus.com/pages/publications/85129888015
U2 - 10.1109/ICPADS53394.2021.00038
DO - 10.1109/ICPADS53394.2021.00038
M3 - 会议稿件
AN - SCOPUS:85129888015
T3 - Proceedings of the International Conference on Parallel and Distributed Systems - ICPADS
SP - 257
EP - 265
BT - Proceedings - 2021 IEEE 27th International Conference on Parallel and Distributed Systems, ICPADS 2021
PB - IEEE Computer Society
T2 - 27th IEEE International Conference on Parallel and Distributed Systems, ICPADS 2021
Y2 - 14 December 2021 through 16 December 2021
ER -