An Efficient and Scalable Approach to CNN Queries in a Road Network Hyung-Ju Cho and Chin-Wan Chung Dept. of EECS, KAIST VLDB 2005.

Slides:



Advertisements
Similar presentations
Using Trees to Depict a Forest
Advertisements

Efficient Evaluation of k-Range Nearest Neighbor Queries in Road Networks Jie BaoChi-Yin ChowMohamed F. Mokbel Department of Computer Science and Engineering.
1 Top-k Spatial Joins
Nearest Neighbor Queries using R-trees
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Danzhou Liu Ee-Peng Lim Wee-Keong Ng
Movement-Assisted Sensor Deployment Author : Guiling Wang, Guohong Cao, Tom La Porta Presenter : Young-Hwan Kim.
A Generic Framework for Handling Uncertain Data with Local Correlations Xiang Lian and Lei Chen Department of Computer Science and Engineering The Hong.
Stabbing the Sky: Efficient Skyline Computation over Sliding Windows COMP9314 Lecture Notes.
Nearest Neighbor Search in Spatial and Spatiotemporal Databases
Using Trees to Depict a Forest Bin Liu, H. V. Jagadish EECS, University of Michigan, Ann Arbor Presented by Sergey Shepshelvich 1.
CS 128/ES Lecture 12b1 Spatial Analysis (3D)
Wireless Broadcasting with Optimized Transmission Efficiency Jehn-Ruey Jiang and Yung-Liang Lai National Central University, Taiwan.
Location Privacy in Casper: A Tale of two Systems
CS 128/ES Lecture 12b1 Spatial Analysis (3D)
Chapter 9 Graph algorithms. Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Spatio-Temporal Databases
The Fourth WIM Meeting 1 Active Nearest Neighbor Queries for Moving Objects Jan Kolar, Igor Timko.
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
Shortest path algorithm. Introduction 4 The graphs we have seen so far have edges that are unweighted. 4 Many graph situations involve weighted edges.
1 Intrusion Monitoring of Link-State Routing Protocols Akshay Aggarwal Poornima Balasubramanyam Karl Levitt Computer Security Laboratory Department of.
Novel Self-Configurable Positioning Technique for Multihop Wireless Networks Authors : Hongyi Wu Chong Wang Nian-Feng Tzeng IEEE/ACM TRANSACTIONS ON NETWORKING,
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
1 Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network Prof. Yu-Chee Tseng Department of Computer Science National Chiao-Tung University.
Scalable Network Distance Browsing in Spatial Database Samet, H., Sankaranarayanan, J., and Alborzi H. Proceedings of the 2008 ACM SIGMOD international.
Abstract Shortest distance query is a fundamental operation in large-scale networks. Many existing methods in the literature take a landmark embedding.
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Exposure In Wireless Ad-Hoc Sensor Networks S. Megerian, F. Koushanfar, G. Qu, G. Veltri, M. Potkonjak ACM SIG MOBILE 2001 (Mobicom) Journal version: S.
Distance Indexing on Road Networks A summary Andrew Chiang CS 4440.
Fast Subsequence Matching in Time-Series Databases Christos Faloutsos M. Ranganathan Yannis Manolopoulos Department of Computer Science and ISR University.
Chih-Hung Lin, Kai-Cheng Wei VLSI CAD 2008
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS 2007 (TPDS 2007)
Using Dijkstra’s Algorithm to Find a Shortest Path from a to z 1.
VLDB '2006 Haibo Hu (Hong Kong Baptist University, Hong Kong) Dik Lun Lee (Hong Kong University of Science and Technology, Hong Kong) Victor.
Focused Matrix Factorization for Audience Selection in Display Advertising BHARGAV KANAGAL, AMR AHMED, SANDEEP PANDEY, VANJA JOSIFOVSKI, LLUIS GARCIA-PUEYO,
Shih-Chieh Lee 1 Detection and Tracking of Region-Based Evolving Targets in Sensor Networks Chunyu Jiang, Guozhu Dong, Bin Wang Wright State University.
Glasgow 02/02/04 NN k networks for content-based image retrieval Daniel Heesch.
CCAN: Cache-based CAN Using the Small World Model Shanghai Jiaotong University Internet Computing R&D Center.
Speccast 1 Leon Poutievski Dr. Ken Calvert Dr. Jim Griffioen {leon, calvert, University of Kentucky Laboratory for Advanced Networking.
Clustering Moving Objects in Spatial Networks Jidong Chen, Caifeng Lai, Xiaofeng Meng, Renmin University of China Jianliang Xu, and Haibo Hu Hong Kong.
Zibin Zheng DR 2 : Dynamic Request Routing for Tolerating Latency Variability in Cloud Applications CLOUD 2013 Jieming Zhu, Zibin.
Easiest-to-Reach Neighbor Search Fatimah Aldubaisi.
Group 8: Denial Hess, Yun Zhang Project presentation.
Clustering of Uncertain data objects by Voronoi- diagram-based approach Speaker: Chan Kai Fong, Paul Dept of CS, HKU.
Efficient Computing k-Coverage Paths in Multihop Wireless Sensor Networks XuFei Mao, ShaoJie Tang, and Xiang-Yang Li Dept. of Computer Science, Illinois.
Database Management Systems, R. Ramakrishnan 1 Algorithms for clustering large datasets in arbitrary metric spaces.
Location-based Spatial Queries AGM SIGMOD 2003 Jun Zhang §, Manli Zhu §, Dimitris Papadias §, Yufei Tao †, Dik Lun Lee § Department of Computer Science.
03/02/20061 Evaluating Top-k Queries Over Web-Accessible Databases Amelie Marian Nicolas Bruno Luis Gravano Presented By: Archana and Muhammed.
Urban Traffic Simulated From A Dual Perspective Hu Mao-Bin University of Science and Technology of China Hefei, P.R. China
VORONOI DIAGRAM AND CONVEX HULL BASED GEOCASTING AND ROUTING IN WIRELESS NETWORKS 指導教授:許子衡 報告學生:翁偉傑 1 Copyright # 2006 John Wiley & Sons, Ltd. Wirel. Commun.
Efficient Placement and Dispatch of Sensors in a Wireless Sensor Network You-Chiun Wang, Chun-Chi Hu, and Yu-Chee Tseng IEEE Transactions on Mobile Computing.
Zaiben Chen et al. Presented by Lian Liu. You’re traveling from s to t. Which gas station would you choose?
Coverage and Deployment 1. Coverage Problems Coverage: is a measure of the Quality of Service (QoS) of a sensor network How well can the network observe.
2010 IEEE Global Telecommunications Conference (GLOBECOM 2010)
Strategies for Spatial Joins
RE-Tree: An Efficient Index Structure for Regular Expressions
Sameh Shohdy, Yu Su, and Gagan Agrawal
Spatio-temporal Pattern Queries
K Nearest Neighbor Classification
Party-by-Night Problem
Voronoi-based Geospatial Query Processing with MapReduce
Efficient Evaluation of k-NN Queries Using Spatial Mashups
Finding Fastest Paths on A Road Network with Speed Patterns
Fast Nearest Neighbor Search on Road Networks
Graph Indexing for Shortest-Path Finding over Dynamic Sub-Graphs
Histogram-Based Density Discovery in Establishing Road Connectivity
Speaker : Lee Heon-Jong
Continuous Density Queries for Moving Objects
Presentation transcript:

An Efficient and Scalable Approach to CNN Queries in a Road Network Hyung-Ju Cho and Chin-Wan Chung Dept. of EECS, KAIST VLDB 2005

2 Contents Introduction Related Work Nearest Neighbor Search (NN Search) Continuous Nearest Neighbor Search (CNN Search) Performance Study Conclusions

3 Introduction CNN searches in a road network Emerging location-based services and real-life GIS applications. Interesting and intuitive problems from the practical as well as theoretical point of view. The following two conditions are assumed for the CNN searches I.Moving objects (e.g., cars) run on a road network and static objects (e.g., gas stations) are located on the road network. II.The distance measure is defined as the shortest path length (network distance).

4 Fig 1. Example continuous search (a,b,c,d,e : gas stations) Introduction (cont’d) Example Queries on Figure 1 NN Query : Retrieve the 3 closest gas stations from a query point n 1. CNN Query : Find the 2 closest gas stations from all points on the path P from n 1 to n 6 (i.e., P = {n 1, n 2, n 3, n 4, n 5, n 6 }).

5 NN Queries in a Road Network INE (Incremental Network Expansion) Based on Dijkstra’s algorithm INE suffers from highly computational cost when objects of interest are sparsely distributed. VN 3 (Voronoi-based Network NN Search) VN 3 evaluates k NN queries using the Voronoi diagram If the density of objects increases, VN 3 suffers from computational overhead of precalculating network Voronoi polygons Unfortunately, the performance of existing approaches depends largely on the densities of the objects. Figure 2: Sample network Voronoi diagram Related Work

6 CNN Queries in a Road Network UBA (Upper Bound Algorithm) for CNN queries The intuition is that when a query object is moved slightly, it is likely that its k NNs remain the same during the threshold. (k+1) NN queries are used to determine the threshold values and these NN queries are executed using VN 3. However, depending on the data density and the number of NNs requested, it leads to requiring many NN queries for determining these threshold values. Related Work (cont’d)

7 UNICONS (UNIque CONtinuous Search algorithms) for NN queries It incorporates the precomputed NN lists in using Dijkstra’s algorithm for NN queries A node where three or more edges meet is called an intersection point and an intersection point which maintains precomputed NNs is called a condensing point. n1n1 n2n2 {(a, 26), (b, 49)} {(c, 53), (d, 74)} q 6 4 Fig 3. Example NN query processing (n 1,n 2 : condensing points) Q : Which objects are the two NNs of q? A : The two NNs of q are a (4+26) and b (4+49). Nearest Neighbor Search

8 The 1st basic idea To perform a continuous search along a path P ={n i, n i+1, …, n j }, it is sufficient to retrieve objects on the query path and to run a static query at each node n k (i  k  j). The 2nd basic idea The change in the network distance between a moving query point and a static object of interest can be expressed as a piecewise linear equation. Two Basic Ideas of CNN Search a q d(q,a) = |q–a|

9 Example of the two Basic Ideas Fig 4. d(q,a), d(q,b), and d(q,c) q

10 Our CNN search algorithm based on the divide and conquer method proceeds with the following three steps: [Step 1] Divide a query path into subpaths based on intersection points [Step 2] Determine valid intervals for each subpath [Step 3] Merge valid intervals of adjacent subpaths Sketch of CNN Search Algorithm

11 [Step 2] consists of the four sub-steps as follows: [Step 2.1] Retrieve objects on the subpath [Step 2.2] Issue two NN queries from the start and end points of the subpath [Step 2.3] Remove some tuples obtained from Steps 2.1 and 2.2 using the cover relationship [Step 2.4] Divide the subpath into valid intervals Sketch of CNN Search Algorithm (cont’d)

12 The result R of Steps 2.1 and 2.2 is the set of (obj, x, y) tuples If obj (e.g, a) is located on the subpath, x = d(s SP, obj) and y = 0. If obj (e.g, b) is an object satisfying the query predicate at s SP, x = 0 and y = d(s SP, obj ). If obj (e.g, c) is an object satisfying the query predicate at e SP, x = L SP and y = d(e SP, obj) CNN Search Algorithm for the subpath s SP e SP a b c d(s SP, b) d(e SP, c) L SP d(q,obj) (0,0)L SP d(s SP, a) d(s SP, b) d(e SP, c) a b c q Fig 5. Plotting tuples on the chart ( q : location of the query point)

13 The cover relationship It is applied to tuples with the same object A tuple (obj, x, y) on the chart gives the network distance from q to obj as follows: d(q, obj) = |q − x| + y The Cover Relationship Fig 6. t 1 covers t 2 iff y 2 ≥ |x 2 - x 1 |+y 1 q

14 For static objects a to e on the road network of Figure 7, continuously display the two closest objects from any position on the query path P = {n 3, n 5, n 7, n 8 }. Fig 7. Example Road Network [Step1] Divide a query path into subpaths : SP 1 = {n 3,n 5,n 7 } and SP 2 = {n 7,n 8 } [Step 2] Determine valid intervals for each subpath : Detailed explanation is provided in the next slide [Step 3] Merge valid intervals of adjacent subpaths Example of CNN Query Processing

15 [Step 2.1] Retrieve the objects on SP 1 = {n 3,n 5,n 7 } [Step 2.2] Retrieve the qualifying objects on two end points and [Step 2.3] Remove redundant tuples using the cover relationship Fig 8. Plotting 5 tuples in R on the chart q Fig 9. Filtering redundant tuples c q

16 [Step 2.4] Divide the subpath into valid intervals with a set of the same NNs Fig 10. Dividing the query path into valid intervals (a) Initial Result(b) Final Result Fig 11. CNN Search result for SP 1 ={n 3, n 5, n 7 } Example of CNN Query Processing (cont’d) q

17 In the same way, if we compute the CNN result for SP 2 ={n 7, n 8 }, we can obtain [Step 3] Merge and for SP 1 and SP 2, respectively, in order to obtain the final query result R P IntervalResults {a,b} {a,c} [2,4]{c,e} [4,7]{d,e} Fig 12. CNN Search result for P={n 3, n 5, n 7, n 8 } Example of CNN Query Processing (cont’d)

18 Experimental Environment LRU buffer of 16 MB (about 10% of the road data) Map data - Tiger/Line data for the state of Wisconsin Road data : # of nodes = 1,469,468, # of edges = 1,594,867 Object data : shopping centers (178), campgrounds (423), parks (1,154), schools (2,979), lakes or ponds (5,177), and composite data (9,911) # of intersection points : 223,569, # of condensing points : 64,748 The size of precomputed NN list is fixed to 10 Performance Study

19 UNICONS outperforms VN 3 by up to 3.5 times in a realistic experimental environment. Fig 13. Performance comparison for NN queries Experimental Results for NN queries

20 UNICONS outperforms UBA by up to 5 times in a realistic experimental environment. Fig 14. Execution time for CNN queries Experimental Results for CNN queries

21 We developed new continuous search algorithms which answer NN queries at any point of a given path Our continuous search algorithms require a small number of static queries in producing the continuous search result Experimental results with TIGER/Line data demonstrated that UNICONS outperforms its competitors for various number of NNs required and data sets. Conclusions