arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.18258cs.DBcs.SE
收藏

MulChain:在混合存储区块链中实现高级跨模态查询

MulChain: Enabling Advanced Cross-Modal Queries in Hybrid-Storage Blockchains

Zhiyuan Peng, Xin Yin, Gang Wang, Chenhao Ying, Wei Chen, Xikun Jiang, Yibin Xu, Yuan Luo

AI总结:

针对混合存储区块链中多模态数据高级查询的挑战,提出中间件架构MulChain,其核心BHashTree动态切换树与哈希节点,实现高效插入查询,并统一跨平台接口。

摘要:

凭借其去中心化和不可篡改性,区块链已成为数据管理和查询的可信基础。由于区块链存储空间有限,大型多模态数据文件(如视频)通常存储在链下,链上仅保留轻量级元数据。虽然这种混合存储方法提高了存储效率,但它为在多模态数据上执行高级查询带来了重大挑战。链上存储的元数据通常很少,可能不包含时间范围或模糊查询等查询所需的所有属性。此外,现有区块链不提供对多模态数据查询的原生支持。实现这一能力需要对底层区块链框架进行大量修改,甚至重构其核心架构。因此,使区块链具备多模态查询能力仍然是一个重大问题,需要克服以下三个关键挑战:(1)设计高效的索引方法以适应涉及频繁插入和查询操作的不同工作负载;(2)在不改变底层基础设施的情况下实现与现有区块链的无缝集成;(3)在最小化燃料消耗的同时确保高查询性能。为了应对这些挑战,我们提出了MulChain,一种新颖的中间件架构,以实现与现有区块链的平滑集成。MulChain的核心是BHashTree,一种灵活的数据结构,可根据工作负载特征在树节点和哈希节点之间动态切换,确保高效的插入和查询操作。此外,该中间件为区块链系统提供标准化接口,统一不同平台上的查询方法。

英文摘要:

With its decentralization and immutability, blockchain has emerged as a trusted foundation for data management and querying. Because blockchain storage space is limited, large multimodal data files, such as videos, are often stored offline, leaving only lightweight metadata on the chain. While this hybrid storage approach enhances storage efficiency, it introduces significant challenges for executing advanced queries on multimodal data. The metadata stored on-chain is often minimal and may not include all the attributes necessary for queries like time range or fuzzy queries. In addition, existing blockchains do not provide native support for multimodal data querying. Achieving this capability would necessitate extensive modifications to the underlying blockchain framework, even reconstructing its core architecture. Consequently, enabling blockchains with multimodal query capabilities remains a significant problem, which necessitates overcoming the following three key challenges: (1) Designing efficient indexing methods to adapt to varying workloads that involve frequent insertions and query operations; (2) Achieving seamless integration with existing blockchains without altering the underlying infrastructure; (3) Ensuring high query performance while minimizing gas consumption. To address these challenges, we propose MulChain, a novel middleware architecture to enable smooth integration with existing blockchains. At the core of MulChain is the BHashTree, a flexible data structure that dynamically switches between tree and hash nodes based on workload characteristics, ensuring efficient insertion and query operations. Furthermore, the middleware provides standardized interfaces for blockchain systems, unifying query methods across different platforms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑