Trusted Sliding-Window Aggregation over Blockchains

Qifeng Shao, Zhao Zhang, Cheqing Jin, Aoying Zhou
{"title":"Trusted Sliding-Window Aggregation over Blockchains","authors":"Qifeng Shao, Zhao Zhang, Cheqing Jin, Aoying Zhou","doi":"10.1109/ICPADS53394.2021.00038","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":309508,"journal":{"name":"2021 IEEE 27th International Conference on Parallel and Distributed Systems (ICPADS)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 27th International Conference on Parallel and Distributed Systems (ICPADS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICPADS53394.2021.00038","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

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.
基于区块链的可信滑动窗口聚合
连续产生无限交易的区块链被广泛应用于许多去中心化应用。应用程序通常更关注最近的交易数据,以发现趋势并做出预测,因此对区块链上滑动窗口聚合的需求越来越大(例如,连续查询过去24小时内比特币交易量的移动平均值)。区块链定期按块提交交易,这使得它可以很好地进行滑动窗口聚合。然而,区块链节点之间的互不信任使得用户同时考虑查询效率和查询认证(例如比特币中的简单支付验证(SPV))。聚合b树可以有效地处理多查询设置中的滑动窗口聚合。为了实现经过身份验证的滑动窗口聚合,一个朴素的方案可能会将Merkle树合并到聚合b树中,但这会使索引结构复杂化,并且会耦合查询逻辑和验证逻辑。本文提出了一种新的身份验证滑动窗口聚合方案,将查询身份验证与查询处理分离开来。通过设计单独的编码Merkle树,验证逻辑可以在不影响查询逻辑的情况下对聚合b树的查询结果进行验证。我们还开发了一种基于FiBA和软件保护扩展(SGX)的优化方案,进一步降低了聚合和摘要更新成本。安全性分析和实证研究验证了该方案的鲁棒性和实用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信