Journal of Computer Applications ›› 2022, Vol. 42 ›› Issue (11): 3429-3437.DOI: 10.11772/j.issn.1001-9081.2021111933

• 2021 CCF China Blockchain Conference (CCF CBCC 2021) • Previous Articles    

Blockchain construction and query method for spatio‑temporal data

Yazhou HUA, Linlin DING(), Ze CHEN, Junlu WANG, Zhu ZHU   

  1. College of Information,Liaoning University,Shenyang Liaoning 110036,China
  • Received:2021-11-13 Revised:2021-12-20 Accepted:2022-01-05 Online:2022-01-24 Published:2022-11-10
  • Contact: Linlin DING
  • About author:HUA Yazhou, born in 1996, M. S. candidate. His research interests include blockchain.
    DING Linlin, born in 1983, Ph. D., associate professor. Her research interests include big data management,graph data management, blockchain.
    CHEN Ze, born in 1996, M. S. candidate. His research interests include natural language processing, data mining.
    WANG Junlu, born in 1988, Ph. D. candidate. His research interests include blockchain, time series flow.
    ZHU Zhu, born in 1983, Ph. D., associate professor. Her research interests include logistics and supply chain, blockchain.
  • Supported by:
    National Natural Science Foundation of China(72102096)

面向时空数据的区块链构建及查询方法

华亚洲, 丁琳琳(), 陈泽, 王俊陆, 朱珠   

  1. 辽宁大学 信息学院,沈阳 110036
  • 通讯作者: 丁琳琳
  • 作者简介:华亚洲(1996—),男,山东济宁人,硕士研究生,主要研究方向:区块链
    丁琳琳(1983—),女,辽宁锦州人,副教授,博士,CCF会员,主要研究方向:大数据管理、图数据管理、区块链 dinglinlin@lnu.edu.cn
    陈泽(1996—),男,辽宁锦州人,硕士研究生,CCF会员,主要研究方向:自然语言处理、数据挖掘
    王俊陆(1988—),男,辽宁丹东人,博士研究生,CCF会员,主要研究方向:区块链、时序流
    朱珠(1983—),女,贵州赫章人,副教授,博士,CCF会员,主要研究方向:物流与供应链、区块链。
  • 基金资助:
    国家自然科学基金资助项目(72102096)

Abstract:

As a type of data with both temporal and spatial dimensions, spatio?temporal data is widely used in supply chain management, e?commerce and other fields, which integrity and security are of great importance in practical applications. Aiming at the problems of lack of transparency and easily being tampered of data in the current centralized storage of spatial?temporal datasets, a blockchain construction and query method for spatio?temporal data was proposed by combining the decentralized, tamper?proof and traceable characteristics of blockchain technology with spatio?temporal data management. Firstly, an improved Directed Asycline Graph Blockchain (Block?DAG) based blockchain architecture for spatio?temporal data, namely ST_Block?DAG (Spatio?Temporal Block?DAG), was proposed. Secondly, to improve the efficiency of spatio?temporal data storage and query, a storage structure based on quadtree and single linked list was adopted to store spatio?temporal data in the ST_Block?DAG blockchain. Finally, a variety of spatio?temporal data query algorithms were implemented on the basis of the storage structure of ST_Block?DAG, such as single?value query and range query. Experimental results show that compared with STBitcoin (Spatio?Temporal Bitcoin), Block?DAG and STEth (Spatio?Temporal Ethereum), ST_Block?DAG has the spatio?temporal data processing efficiency improved by more than 70% and the comprehensive query performance of spatio?temporal data improved by more than 60%. The proposed method can realize fast storage and query of spatio?temporal data, and can effectively support the management of spatio?temporal data.

Key words: blockchain, spatio?temporal data, storage architecture, index structure, query algorithm

摘要:

时空数据作为一种同时具有时间维度及空间维度的数据类型,被广泛应用于供应链管理、电子商务等领域,它的完整性及安全性在实际应用中具有重要意义。针对目前时空数据集中式存储方式存在数据不透明且易被篡改的问题,将区块链技术的去中心化、防篡改、可追溯等特性与时空数据管理相结合,提出面向时空数据的区块链构建及查询方法。首先,提出一种基于改进图型区块链(Block?DAG)的时空数据区块链架构ST_Block?DAG;其次,为了提升时空数据的存储及查询效率,在ST_Block?DAG区块链内部采取基于四叉树及单链表的结构存储时空数据;最后,在ST?Block?DAG存储结构基础上实现了多种时空数据查询算法,如单值查询、范围查询等。实验结果表明,与STBitcoin、Block?DAG以及STEth相比,ST_Block?DAG的时空数据处理效率提升了70%以上,时空数据综合查询性能提升了60%以上。所提方法能够实现时空数据的快速存储及查询,可以有效支持时空数据的管理。

关键词: 区块链, 时空数据, 存储架构, 索引结构, 查询算法

CLC Number: