Query Processing Using Distance Oracles for Spatial Networks

被引:38
|
作者
Sankaranarayanan, Jagan [1 ]
Samet, Hanan [1 ]
机构
[1] Univ Maryland, Ctr Automat Res, Inst Adv Comp Studies, Dept Comp Sci, College Pk, MD 20742 USA
基金
美国国家科学基金会;
关键词
Road networks; distance oracle; query processing; DECOMPOSITION; MODEL;
D O I
10.1109/TKDE.2010.75
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The popularity of location-based services and the need to do real-time processing on them has led to an interest in performing queries on transportation networks, such as finding shortest paths and finding nearest neighbors. The challenge here is that the efficient execution of spatial operations usually involves the computation of distance along a spatial network instead of "as the crow flies," which is not simple. Techniques are described that enable the determination of the network distance between any pair of points (i.e., vertices) with as little as O(n) space rather than having to store the n(2) distances between all pairs. This is done by being willing to expend a bit more time to achieve this goal such as O(logn) instead of O(1), as well as by accepting an error epsilon in the accuracy of the distance that is provided. The strategy that is adopted reduces the space requirements and is based on the ability to identify groups of source and destination vertices for which the distance is approximately the same within some epsilon. The reductions are achieved by introducing a construct termed a distance oracle that yields an estimate of the network distance (termed the epsilon-approximate distance) between any two vertices in the spatial network. The distance oracle is obtained by showing how to adapt the well-separated pair technique from computational geometry to spatial networks. Initially, an epsilon-approximate distance oracle of size O(n/epsilon(2)) is used that is capable of retrieving the approximate network distance in O(logn) time using a B-tree. The retrieval time can be theoretically reduced further to O(1) time by proposing another epsilon-approximate distance oracle of size O(n log n/epsilon(2)) that uses a hash table. Experimental results indicate that the proposed technique is scalable and can be applied to sufficiently large road networks. For example, a 10-percent-approximate oracle (epsilon = 0.1) on a large network yielded an average error of 0.9 percent with 90 percent of the answers having an error of 2 percent or less and an average retrieval time of 68 mu seconds. The fact that the network distance can be approximated by one value is used to show how a number of spatial queries can be formulated using appropriate SQL constructs and a few built-in primitives. The result is that these operations can be executed on almost any modern database with no modifications, while taking advantage of the existing query optimizers and query processing strategies.
引用
收藏
页码:1158 / 1175
页数:18
相关论文
共 50 条
  • [1] Distance Oracles for Spatial Networks
    Sankaranarayanan, Jagan
    Samet, Hanan
    [J]. ICDE: 2009 IEEE 25TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2009, : 652 - 663
  • [2] Approximate Distance Oracles with Improved Query Time
    Wulff-Nilsen, Christian
    [J]. PROCEEDINGS OF THE TWENTY-FOURTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS (SODA 2013), 2013, : 539 - 549
  • [3] Approximate Distance Oracles with Constant Query Time
    Chechik, Shiri
    [J]. STOC'14: PROCEEDINGS OF THE 46TH ANNUAL 2014 ACM SYMPOSIUM ON THEORY OF COMPUTING, 2014, : 654 - 663
  • [4] Privacy protected query processing on spatial networks
    Ku, Wei-Shinn
    Zimmermann, Roger
    Peng, Wen-Chih
    Shroff, Sushama
    [J]. 2007 IEEE 23RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOP, VOLS 1-2, 2007, : 215 - +
  • [5] Instance optimal query processing in spatial networks
    Ke Deng
    Xiaofang Zhou
    Heng Tao Shen
    Shazia Sadiq
    Xue Li
    [J]. The VLDB Journal, 2009, 18 : 675 - 693
  • [6] Instance optimal query processing in spatial networks
    Deng, Ke
    Zhou, Xiaofang
    Shen, Heng Tao
    Sadiq, Shazia
    Li, Xue
    [J]. VLDB JOURNAL, 2009, 18 (03): : 675 - 693
  • [7] Effective Spatial Keyword Query Processing on Road Networks
    Fang, Hailin
    Zhao, Pengpeng
    Sheng, Victor S.
    Wu, Jian
    Xu, Jiajie
    Liu, An
    Cui, Zhiming
    [J]. DATABASES THEORY AND APPLICATIONS, 2015, 9093 : 194 - 206
  • [8] Spatial query processing in wireless sensor networks - A survey
    da Silva, Rone Ilidio
    Macedo, Daniel Fernandes
    Nogueira, Jose Marcos S.
    [J]. INFORMATION FUSION, 2014, 15 : 32 - 43
  • [9] An Air Index for Spatial Query Processing in Road Networks
    Sun, Weiwei
    Chen, Chunan
    Zheng, Baihua
    Chen, Chong
    Liu, Peng
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2015, 27 (02) : 382 - 395