Nearest Neighbor Query Algorithm of Mixed Data in Road Network

被引:0
|
作者
Zhang L. [1 ]
Zhang X. [1 ]
Jin F. [1 ]
Li S. [1 ]
机构
[1] College of Computer Science and Technology, Harbin University of Science and Technology, Harbin
来源
Wuhan Daxue Xuebao (Xinxi Kexue Ban)/Geomatics and Information Science of Wuhan University | 2022年 / 47卷 / 04期
基金
中国国家自然科学基金;
关键词
Mixed data; Nearest neighbor query; Road network; Space filling curve; Spatial database;
D O I
10.13203/j.whugis20200075
中图分类号
学科分类号
摘要
Objectives: The k nearest neighbor query method under the road network environment plays an important role in geographic information system, point of interest discovery, smart city, data mining and material distribution. The existing methods mainly deal with the query problem that the query object and data object are single data type. However, in reality, the data object type of the target object set is often not single, and the query problem will become more complex. The existing nearest neighbor query methods in road network cannot directly solve the neighbor query problem in which the query object is a point and the data object includes the data mixed with points and line segments. In order to make up for the shortcomings of the existing methods, the nearest neighbor query algorithm of mixed complex data in the road network is proposed. Methods: The query process is divided into three parts: Preprocessing, data set reduction and data set refining. Firstly, the data set is preprocessed, the line segments are transformed into points. A mapping relationship is formed between the intersection of line segments in the road network and line segments, and the corresponding line segments are found by querying the location of the points. The query points, data points and Hilbert values are stored using arrays. Secondly, the data object set is refined preliminarily by pruning method and shortest path theorem to reduce the number of data objects, and the data set filtering algorithm is given. Finally, the points in the data set are further pruned to calculate the shortest path network distance from the query point to the points in the candidate set. Compared with these distances, the shortest path distance can be determined, and then the nearest neighbor is accurately found. Results: Experimental results show that the proposed algorithm effectively reduces the data set and the amount of calculation in the query process, further refines the nearest neighbor candidate set and reduces the query scope and the query time. There is no need to store the distance information between all boundary nodes in the road network, so a large amount of redundant distance information is eliminated.The data points and road network data that meet the pruning conditions around the query points are pruned. Therefore, the increase of road network scale has little impact on the time cost of the algorithm. Conclusions: The proposed algorithm can directly deal with the nearest neighbor query of mixed data in the road network environment. When the number of data objects and the scale of the road network are large, the algorithm has obvious advantages in central processing unit running time and input/output cost. © 2022, Editorial Board of Geomatics and Information Science of Wuhan University. All right reserved.
引用
收藏
页码:589 / 596
页数:7
相关论文
共 20 条
  • [1] Roussopoulos N, Kelley S, Vincent F., Nearest Neighbor Queries, The ACM SIGMOD International Conference on Management of Data, (1995)
  • [2] Hu L, Ku W S, Bakiras S, Et al., Verifying Spatial Queries Using Voronoi Neighbors, The 18th SIGSPATIAL International Conference on Advances in Geographic Information Systems, (2010)
  • [3] Zhang Dengyi, Li Xiang, A k-Nearest Neighbor Query Algorithm for Density Grid-Based Index, Acta Electronica Sinica, 45, 2, pp. 376-383, (2017)
  • [4] Li S, Li B H, Yu J X, Et al., Probabilistic Threshold K-ANN Query Method Based on Uncertain Voronoi Diagram in Internet of Vehicles, IEEE Transactions on Intelligent Transportation Systems, 22, 6, pp. 3592-3602, (2021)
  • [5] Zhao Longfei, Zhao Xuesheng, Zhu Sikun, Et al., A Multi-level Adjacent Searching Algorithm of Degenerate Quadtree Grid on Spherical Facet, Geomatics and Information Science of Wuhan University, 43, 4, pp. 529-535, (2018)
  • [6] Xiang Longgang, Gao Meng, Wang Dehao, Et al., Geohash-Trees: An Adaptive Index Which can Organize Large-Scale Trajectories, Geomatics and Information Science of Wuhan University, 44, 3, pp. 436-442, (2019)
  • [7] Gong Jun, Xie Xiao, Three-Dimension Visualization Query Method Based on R-Tree, Geomatics and Information Science of Wuhan University, 36, 10, pp. 1140-1143, (2011)
  • [8] Cui Ningning, Yang Xiaochun, Wang Bin, Et al., Research on Authentication of Moving k-Dominant NN Queries, Chinese Journal of Computers, 41, 8, pp. 1780-1797, (2018)
  • [9] Kim H I, Chang J W., k-Nearest Neighbor Query Processing Algorithms for a Query Region in Road Networks, Journal of Computer Science and Technology, 28, 4, pp. 585-596, (2013)
  • [10] Huang Y K, Lin L F., Processing Probabilistic k-Nearest Neighbor Query Using RLSD-Tree, The 28th International Conference on Advanced Information Networking and Applications, (2014)