1 Query Processing in Spatial Network Databases presented by Hao Hong Dimitris Papadias Jun Zhang Hong Kong University of Science and Technology Nikos.

Slides:



Advertisements
Similar presentations
6/26/2006ICPS'06 Tracking Nearest Surrounders in Moving Object Environments * Ken C. K. Lee 1 Josh Schiffman 1 Baihua Zheng 2 Wang-Chien Lee 1 Hong Va.
Advertisements

M. Belkin and P. Niyogi, Neural Computation, pp. 1373–1396, 2003.
Efficient Evaluation of k-Range Nearest Neighbor Queries in Road Networks Jie BaoChi-Yin ChowMohamed F. Mokbel Department of Computer Science and Engineering.
Quality Aware Privacy Protection for Location-based Services Zhen Xiao, Xiaofeng Meng Renmin University of China Jianliang Xu Hong Kong Baptist University.
1 Finding Shortest Paths on Terrains by Killing Two Birds with One Stone Manohar Kaul (Aarhus University) Raymond Chi-Wing Wong (Hong Kong University of.
School of Computer Science and Engineering Finding Top k Most Influential Spatial Facilities over Uncertain Objects Liming Zhan Ying Zhang Wenjie Zhang.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
CS171 Introduction to Computer Science II Graphs Strike Back.
CircularTrip: An Effective Algorithm for Continuous kNN Queries Muhammad Aamir Cheema Database Research Group, The School of Computer Science and Engineering,
Similarity Search in High Dimensions via Hashing
Da Yan, Zhou Zhao and Wilfred Ng The Hong Kong University of Science and Technology.
U of Minnesota Spatial and Spatio-temporal Data Uncertainty: Modeling and Querying Mohamed F. Mokbel Department of Computer Science and Engineering University.
A Generic Framework for Handling Uncertain Data with Local Correlations Xiang Lian and Lei Chen Department of Computer Science and Engineering The Hong.
Nearest Neighbor Search in Spatial and Spatiotemporal Databases
Small Codes and Large Image Databases for Recognition CVPR 2008 Antonio Torralba, MIT Rob Fergus, NYU Yair Weiss, Hebrew University.
Complex Networks for Representation and Characterization of Object For CS790g Project Bingdong Li 11/9/2009.
On Efficient Spatial Matching Raymond Chi-Wing Wong (the Chinese University of Hong Kong) Yufei Tao (the Chinese University of Hong Kong) Ada Wai-Chee.
Computer Science Spatio-Temporal Aggregation Using Sketches Yufei Tao, George Kollios, Jeffrey Considine, Feifei Li, Dimitris Papadias Department of Computer.
Approximate querying about the Past, the Present, and the Future in Spatio-Temporal Databases Jimeng Sun, Dimitris Papadias, Yufei Tao, Bin Liu.
1 Continuous k-dominant Skyline Query Processing Presented by Prasad Sriram Nilu Thakur.
ICNP'061 Benefit-based Data Caching in Ad Hoc Networks Bin Tang, Himanshu Gupta and Samir Das Department of Computer Science Stony Brook University.
An Intelligent & Incremental Approach to kNN using R-trees DJ Oneil & Esten Rye (G01)
Clustering. 2 Outline  Introduction  K-means clustering  Hierarchical clustering: COBWEB.
A Study of the Relationship between SVM and Gabriel Graph ZHANG Wan and Irwin King, Multimedia Information Processing Laboratory, Department of Computer.
Scalable Network Distance Browsing in Spatial Database Samet, H., Sankaranarayanan, J., and Alborzi H. Proceedings of the 2008 ACM SIGMOD international.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
ICPCA 2008 Research of architecture for digital campus LBS in Pervasive Computing Environment 1.
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Click to edit Present’s Name Trends in Location-based Services Muhammad Aamir Cheema.
Information Technology Trends in Location Based Services Muhammad Aamir Cheema Monash University, Australia Contact:
Research Overview Kyriakos Mouratidis Assistant Professor School of Information Systems Singapore Management University
Qian Zhang and Christopher LIM Department of Computer Science and Engineering, Hong Kong University of Science and Technology IEEE ICC 2009.
VLDB '2006 Haibo Hu (Hong Kong Baptist University, Hong Kong) Dik Lun Lee (Hong Kong University of Science and Technology, Hong Kong) Victor.
1 On Querying Historical Evolving Graph Sequences Chenghui Ren $, Eric Lo *, Ben Kao $, Xinjie Zhu $, Reynold Cheng $ $ The University of Hong Kong $ {chren,
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Maximal Vector Computation in Large Data Sets The 31st International Conference on Very Large Data Bases VLDB 2005 / VLDB Journal 2006, August Parke Godfrey,
Nearest Neighbor Searching Under Uncertainty
IEEE Int'l Symposium on Signal Processing and its Applications 1 An Unsupervised Learning Approach to Content-Based Image Retrieval Yixin Chen & James.
1 The MV3R-Tree: A Spatio- Temporal Access Method for Timestamp and Interval Queries Yufei Tao and Dimitris Papadias Hong Kong University of Science and.
Easiest-to-Reach Neighbor Search Fatimah Aldubaisi.
Group 8: Denial Hess, Yun Zhang Project presentation.
On Computing Top-t Influential Spatial Sites Authors: T. Xia, D. Zhang, E. Kanoulas, Y.Du Northeastern University, USA Appeared in: VLDB 2005 Presenter:
A New Spatial Index Structure for Efficient Query Processing in Location Based Services Speaker: Yihao Jhang Adviser: Yuling Hsueh 2010 IEEE International.
Network Coordinates : Internet Distance Estimation Jieming ZHU
CCR = Connectivity Residue Ratio = Pr. [ node pair connected by an edge are together in a common page on computer disk drive.] “U of M Scientists were.
Spatial Computing Shashi Shekhar McKnight Distinguished University Professor Dept. of Computer Sc. and Eng. University of Minnesota
Range Monitoring Queries in Location-based Services Kien A. Hua School of EECS University of Central Florida.
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
Location-based Spatial Queries AGM SIGMOD 2003 Jun Zhang §, Manli Zhu §, Dimitris Papadias §, Yufei Tao †, Dik Lun Lee § Department of Computer Science.
Indexing Time Series. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases Time Series databases Text databases.
The Power-Method: A Comprehensive Estimation Technique for Multi- Dimensional Queries Yufei Tao U. Hong Kong Christos Faloutsos CMU Dimitris Papadias Hong.
Global spaces of knowledge in advertising and law professional service firms James Faulconbridge Department of Geography.
Cost Modeling of Spatial Query Operators Using Nonparametric Regression Songtao Jiang Department of Computer Science University of Vermont October 10,
Pervasive Query HKUST Qiong Luo Hong Kong University of Science & Technology
Junchao Ma +, Wei Lou +, Yanwei Wu *, Xiang-Yang Li *, and Guihai Chen & Energy Efficient TDMA Sleep Scheduling in Wireless Sensor Networks + Department.
Nearest-Neighbor Searching Under Uncertainty Wuzhou Zhang Joint work with Pankaj K. Agarwal, Alon Efrat, and Swaminathan Sankararaman. To appear in PODS.
Data Management Bin Yao (Assistant Professor) Department of computer science and engineering Shanghai Jiao Tong University.
Density-based Place Clustering in Geo-Social Networks Jieming Shi, Nikos Mamoulis, Dingming Wu, David W. Cheung Department of Computer Science, The University.
Ride Analytics on new York City taxi data
Efficient Evaluation of k-NN Queries Using Spatial Mashups
Finding Fastest Paths on A Road Network with Speed Patterns
Prepared by: Mahmoud Rafeek Al-Farra
Fast Nearest Neighbor Search on Road Networks
CLUSTER BY: A NEW SQL EXTENSION FOR SPATIAL DATA AGGREGATION
Scale-Space Representation for Matching of 3D Models
Uncertain Data Mobile Group 报告人:郝兴.
Spatial Interpolation (Discrete Point Data)
Wai-man WONG (Ms), Librarian The Open University of Hong Kong
Line Graphs.
Presentation transcript:

1 Query Processing in Spatial Network Databases presented by Hao Hong Dimitris Papadias Jun Zhang Hong Kong University of Science and Technology Nikos MamoulisUniversity of Hong Kong Yufei TaoCity University of Hong Kong

2 Outline Introduction Related work Spatial query processing in Euclidean Space Disk-based graph representations- CCAM structure Spatial query in network databases Architecture Spatial queries: Nearest neighbor query Other queries Performances Summary

3 Introduction Motivation Euclidean distance vs. network distance Euclidean distance <= network distance Conventional spatial queries: K Nearest neighbor query: retrieves the k ponits closest to the query location Range query: retrieves the points covered by certain range Intersection join: retrieves all the intersected points from the query location sets

4 Outline Introduction Related work Spatial query processing in Euclidean Space Disk-based graph representations- CCAM structure Spatial query in network databases Architecture Spatial queries: Nearest neighbor query Other queries Performances Summary

5 Spatial query processing in Euclidean Space An R-tree index Multidimentional extension of B-tree (quoted from Query Processing in Spatial Network Databases) MBR: Minimum Bounding Rectangle Spatial points are clustered according to the distances between their MBR Hereby, R-tree is fast for spatial query

6 Spatial query processing in Euclidean Space an example n1 n3 n4 n6 n8 E1E2 E3 E4 n2 n5 n7 E5 E6E1 E2 n9 E5E6E3E4 n1n2n7n8n9n3n4n5n6

7 Disk-based graph representations- CCAM structure A graph can be represented as An adjacency list Two-dimensional matrix The Connectivity-clustered Access Method (CCAM) structure Stores the single dimensional lists Stores the lists of neighbor nodes together

8 Disk-based graph representations- CCAM structure An example n1 n2 n3 n4 n5 A graph n1n4 A B-tree in order of node id n1n2n3n4n5 Disk pages List List 5 List List 4 page1 page n22n47 7 n55 null Adjacency list of n1

9 Outline Introduction Related work Spatial query processing in Euclidean Space Disk-based graph representations- CCAM structure Spatial query in network databases Architecture Spatial queries: Nearest neighbor query Other queries Performances Summary

10 Architecture The above example n1 n2 n3 n4 n5 The network E1E2 Network R-tree n1n2n3n4n E1 E2 Adjacency component List List 5 List List 4 page1 page2 Adjacency list of n1 2MBR(n1, n2) page17MBR(n1, n4) page15MBR(n1, n5)

11 Architecture E1E2 Network R-tree n1n2n3n4n5 page1 page2 listPtr Disk pages 2MBR(n1, n2) listPtr7MBR(n1, n4) listPtr5MBR(n1, n5) Adjacency component : Enanle fast access to Neighbor nodes and the corresponding polyline listPtr4MBR(n4, n5) pageN pageM polyline Component: Stores the endpoints And the MBR of each segment Polyline of n1,n2 Page2 Polyline of n1,n4 Polyline of n1, n5... page1... pageNMBR(n1, n2) pageNMBR(n1, n4) pageNMBR(n1, n5)...

12 Primitive operations Check_entity(seg,p): if entity p is covered by seg, then it returns true Find_segment(p): returns the segment which covers entity p If there are more than one result, then return the first one If there is no result, then return the most appoximate one Find_entities(seg): returns the entities which are covered by the specified segment seg Compute_ND(p1, p2): returns the network distance between the specified entities p1 and p2 P1 and p2 are arbitrary points in the network

13 Outline Introduction Related work Spatial query processing in Euclidean Space Disk-based graph representations- CCAM structure Spatial query in network databases Architecture Spatial queries: Nearest neighbor query Other queries Performances Summary

14 Nearest neighbor query Incremental Euclidean Restriction (IER) algorithm: Find the first 1 nearest neighbors of location q n1 n2 n3 n4 n Find the Euclidean nearest neighbor n3 Compute the network distance: d N (q, n3)= Compute_ND(q, n3) Set d Emax = d N (q, n3) Repeat the process of retrieving other nodes. To node nk, if d N (q, nk) < d N (q, n3), then set d Emax = d N (q, nk) Otherwise, return the node which has set d Emax and stop q 1

15 Nearest neighbor query Incremental Euclidean Restriction (IER) algorithm: Find the k nearest neighbors of location q Has the R-tree sorted in ascending order of their network distance to q If the k th node is n k, then set d Emax = d N (q, n k ) Repeat the process of retrieving other nodes (n k+1, n k+2,..., n m ), for node n i, if d N (q, n i ) <= d Emax, then set d Emax = d N (q, n i ) Insert n i to the queue of k nesrest neighbors Remove the former k th node Otherwise, return the node which has set d Emax and stop

16 Nearest neighbor query In this case, according to IER algorithm, p5 will be retrieved as the last one, because it has the largest Euclidean distance to q Quoted from Query Processing in Spatial Network Databases

17 Nearest neighbor query Incremental Network Expansion (INE) algorithm Performe the nodes checking in the order of encounting sequence Initiate the Q to be (n1, n2), which covers q Since (n1, n2) doesn ‘ t cover any entity, expand n1 with n7, and Q = Repeate the expansion Expand n2 with n4 and n3, Q = Here p5 is covered by segment (n2, n4), set threshold d Nmax = d N (q, p5) = 6 Since the next one in the Q has d N (q, n4) > d Nmax, the algorithm terminates, returning p5.

18 Other queries Other queries: Range query Closest-Pairs E-distance joins Provide algorithms which process queries in euclidean space and network spaces

19 Outline Introduction Related work Spatial query processing in Euclidean Space Disk-based graph representations- CCAM structure Spatial query in network databases Architecture Spatial queries: Nearest neighbor query Other queries Performances Summary

20 Performancess Experiments comparing between Euclidean restriction (ER) and Network Expansion (NE) Experimental targets: Page accesses CPU cost

21 Nearest Neighbor Queries Experiments |S|=the number of the entity set and |N|=the number of segments When |S| / |N| decrease, the entities among segments are relatively sparse, which relatively increases false hits. Therefore, the amount of network computation is increased. Quoted from Query Processing in Spatial Network Databases

22 Outline Introduction Related work Spatial query processing in Euclidean Space Disk-based graph representations- CCAM structure Spatial query in network databases Architecture Spatial queries: Nearest neighbor query Other queries Performances Summary

23 Relating to DE3 project Our idea: Spatial network is represented by Oracle Spatial (SDO_Geometry) Indexing with R-tree Tracking moving objects with segment-based policy We have in common: Processing NN query and Range query in Euclidean space and network space Using R-tree index We can borrow the idea: The network expansion policy

24 Summary Strong points Contribution: the data structure is high efficient Support more than one query Weak points It is not wasy to read, because there are too many brackets among lines.