Efficient Path Query Processing Through Cloud-Based Mapping Services

Shortest path queries have been widely used in location-based services (LBSs). To calculate the shortest path from an origin to a destination, an LBS provider usually needs to know the map data of the underlying road network, which can be rather costly especially if such data need to be kept continuously and up to date. A cost-effective way is that LBS providers outsource the shortest path query processing to cloud-based mapping services such as Google Maps, by retrieving the detailed path information from them through external requests. Due to the high cost of accessing data through external requests and the usage limits of mapping services, we propose two optimization techniques in this paper, namely, path sharing and path caching, to reduce the number of external requests and the user query response time. Unlike previous work where the underlying road network is given, this paper optimizes path query processing only based on query origins and destinations. The basic idea of path sharing optimization is that the path information of a query can be shared with another query $q$ if $q$ values origin and destination both lie on the path. To achieve this, we propose an effective method to compute whether or not a query origin/destination lies on a path only based on the Euclidean distance between them. Path caching, an extension of path sharing, lets an LBS provider answer path queries directly based on cached paths. To accomplish this, we first formulate the problem of constructing path cache as a knapsack problem and design a greedy algorithm to solve it; then, we devise an effective cache structure to support efficient cache lookup. Extensive experiments on Bing Maps and real data sets are conducted, and the results show the efficiency, scalability, and applicability of our proposed approaches.

[1]  Chi-Yin Chow,et al.  Efficient evaluation of shortest travel-time path queries through spatial mashups , 2017, GeoInformatica.

[2]  T. Lindvall ON A ROUTING PROBLEM , 2004, Probability in the Engineering and Informational Sciences.

[3]  Man Lung Yiu,et al.  Route-Saver: Leveraging Route APIs for Accurate and Efficient Query Processing at Location-Based Services , 2015, IEEE Transactions on Knowledge and Data Engineering.

[4]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[5]  Özgür Ulusoy,et al.  Static query result caching revisited , 2008, WWW.

[6]  Xing Xie,et al.  Mining interesting locations and travel sequences from GPS trajectories , 2009, WWW '09.

[7]  Chi-Yin Chow,et al.  SMashQ: spatial mashup framework for k-NN queries in time-dependent road networks , 2012, Distributed and Parallel Databases.

[8]  Andrew V. Goldberg,et al.  PHAST: Hardware-Accelerated Shortest Path Trees , 2011, 2011 IEEE International Parallel & Distributed Processing Symposium.

[9]  Christian S. Jensen,et al.  Effective caching of shortest paths for location-based services , 2012, SIGMOD Conference.

[10]  Chi-Yin Chow,et al.  A Spatial Mashup Service for Efficient Evaluation of Concurrent k-NN Queries , 2016, IEEE Trans. Computers.

[11]  Christian Sommer,et al.  Shortest-path queries in static networks , 2014, ACM Comput. Surv..

[12]  Ulrich Meyer,et al.  [Delta]-stepping: a parallelizable shortest path algorithm , 2003, J. Algorithms.

[13]  Mohamed F. Mokbel,et al.  Preference query evaluation over expensive attributes , 2010, CIKM.

[14]  Vasiliki Kalavri,et al.  The shortest path is not always a straight line , 2016, Proc. VLDB Endow..

[15]  Aart J. C. Bik,et al.  Pregel: a system for large-scale graph processing , 2010, SIGMOD Conference.

[16]  Nils J. Nilsson,et al.  A Formal Basis for the Heuristic Determination of Minimum Cost Paths , 1968, IEEE Trans. Syst. Sci. Cybern..

[17]  Eduardo Mena,et al.  Location-dependent query processing: Where we are and where we are heading , 2010, CSUR.

[18]  Ying Zhang,et al.  Efficient Cache-Supported Path Planning on Roads , 2016, IEEE Transactions on Knowledge and Data Engineering.

[19]  Chi-Yin Chow,et al.  Efficient Evaluation of k-NN Queries Using Spatial Mashups , 2011, SSTD.

[20]  Shuigeng Zhou,et al.  Shortest path and distance queries on road networks: towards bridging theory and practice , 2013, SIGMOD '13.

[21]  Peter Sanders,et al.  Fast Routing in Road Networks with Transit Nodes , 2007, Science.

[22]  Chi-Yin Chow,et al.  Efficient Evaluation of Shortest Travel-Time Path Queries in Road Networks by Optimizing Waypoints in Route Requests Through Spatial Mashups , 2016, APWeb.