Journal of Computer Applications ›› 2023, Vol. 43 ›› Issue (1): 111-121.DOI: 10.11772/j.issn.1001-9081.2021101853

Special Issue: 数据科学与技术

• Data science and technology • Previous Articles     Next Articles

Range query algorithm for large scale moving objects in distributed environment

MA Yongqiang1,2, CHEN Xiaomeng2, YU Ziqiang1,2   

  1. 1.Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources, Shenzhen Guangdong 518034, China
    2.School of Computer and Control Engineering, Yantai University, Yantai Shandong 264005, China
  • Received:2021-11-01 Revised:2022-01-24 Online:2022-06-20
  • Contact: YU Ziqiang, born in 1984, Ph. D., associate professor. His research interests include database, data mining.
  • About author:MA Yongqiang, born in 1994, M. S. candidate. His research interest includes spatial-temporal data processing;CHEN Xiaomeng, born in 1997, M. S. candidate. Her research interest includes spatial-temporal data processing;
  • Supported by:
    This work is partially supported by National Natural Science Foundation of China (62172351), Open Fund of Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources (KF-2019-04-044).


马永强1,2, 陈晓萌2, 于自强1,2   

  1. 1.自然资源部城市国土资源监测与仿真重点实验室,广东 深圳 518034
    2.烟台大学 计算机与控制工程学院,山东 烟台 264005
  • 作者简介:马永强(1994—),男,山东枣庄人,硕士研究生,主要研究方向:时空数据处理;陈晓萌(1997—),女,山东淄博人,硕士研究生,主要研究方向:时空数据处理;于自强(1984—),男,山东青岛人,副教授,博士,CCF会员,主要研究方向:数据库、数据挖掘。;
  • 基金资助:

Abstract: Continuous range queries over moving objects is essential to many location-based services. Aiming at this issue, a distributed search method was proposed for processing concurrent range queries over large scale moving objects. Firstly, formed by a Global Grid Index (GGI) and a local elastic quadtree, a Distributed Dynamic Index (DDI) structure was proposed. Then, a Distributed Search Algorithm (DSA) was proposed based on DDI structure. At the first time, an incremental strategy of updating the query results as objects and query points continuously changed their locations was introduced by DSA. After that, in the incremental update process, a shared computing optimization strategy for multiple concurrent queries was introduced, to incrementally search the range query results of the moving object according to the existing calculation results. Finally, three moving object datasets with different spatial distributions were simulated on the basis of the German road network, and NS (Naive Search), GI (Grid Index) and Distributed Hybrid Index (DHI) were compared with the proposed algorithm. The results show that compared with DHI, the comparison algorithm with the best performance, DSA decreases the initial query time by 22.7%, while drops the incremental query time by 15.2%, verifying that DSA is superior to the comparison algorithms.

Key words: continuous range query, moving object, quadtree, Distributed Dynamic Index (DDI), location-based service

摘要: 移动对象的连续范围查询是许多基于位置的服务的核心问题。针对该问题,提出一种面向大规模移动对象并发范围查询的分布式搜索方法。首先,设计了一种由全局网格索引(GGI)和局部弹性四叉树构成的移动对象分布式动态索引(DDI)结构。其次,提出了一种基于DDI结构的分布式查询算法(DSA),该算法首先引入了一种在移动对象和查询点的位置连续变化的情况下的查询结果增量更新策略;然后,在增量更新过程中引入一种面向多并发查询的共享计算优化策略,该策略能够根据已有计算结果对移动对象范围查询结果进行增量搜索。最后,基于德国路网模拟了3个具有不同空间分布的移动对象数据集,将DSA与NS(Naive Search)、GI(Grid Index)和分布式混合索引(DHI)进行对比。实验结果表明,与性能最好的对比算法DHI相比,DSA的初始查询时间减少了22.7%,增量查询时间减少了15.2%,性能优于对比算法。

关键词: 连续范围查询, 移动对象, 四叉树, 分布式动态索引, 基于位置的服务

CLC Number: