Querying Mobile Objects in Spatio-Temporal Databases Kriengkrai Porkaew 1 Iosif Lazaridis 2 Sharad Mehrotra 2 1 King Monkut’s University of Technology.

Slides:



Advertisements
Similar presentations
Finding the Sites with Best Accessibilities to Amenities Qianlu Lin, Chuan Xiao, Muhammad Aamir Cheema and Wei Wang University of New South Wales, Australia.
Advertisements

Ranking Outliers Using Symmetric Neighborhood Relationship Wen Jin, Anthony K.H. Tung, Jiawei Han, and Wei Wang Advances in Knowledge Discovery and Data.
Computer Science and Engineering Inverted Linear Quadtree: Efficient Top K Spatial Keyword Search Chengyuan Zhang 1,Ying Zhang 1,Wenjie Zhang 1, Xuemin.
Spatio-temporal Databases
Efficient Evaluation of k-Range Nearest Neighbor Queries in Road Networks Jie BaoChi-Yin ChowMohamed F. Mokbel Department of Computer Science and Engineering.
Indexing and Range Queries in Spatio-Temporal Databases
Danzhou Liu Ee-Peng Lim Wee-Keong Ng
School of Computer Science and Engineering Finding Top k Most Influential Spatial Facilities over Uncertain Objects Liming Zhan Ying Zhang Wenjie Zhang.
CircularTrip: An Effective Algorithm for Continuous kNN Queries Muhammad Aamir Cheema Database Research Group, The School of Computer Science and Engineering,
Department of Computer Science Spatio-Temporal Histograms Hicham G. Elmongui*Mohamed F. Mokbel + Walid G. Aref* *Purdue University, Department of Computer.
Continuous Intersection Joins Over Moving Objects Rui Zhang University of Melbourne Dan Lin Purdue University Kotagiri Ramamohanarao University of Melbourne.
Preferential top-k search over local data dissertation thesis RNDr. Martin Šumák supervisor: doc. RNDr. Stanislav Krajči, PhD. consultant: RNDr. Peter.
Nearest Neighbor Search in Spatial and Spatiotemporal Databases
--Presented By Sudheer Chelluboina. Professor: Dr.Maggie Dunham.
Spatio-temporal Databases Time Parameterized Queries.
Spatio-Temporal Databases
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
Progressive Approximate Aggregate Queries with a Multi-Resolution Tree Structure Iosif Lazaridis, Sharad Mehrotra University of California, Irvine SIGMOD.
1 SINA: Scalable Incremental Processing of Continuous Queries in Spatio-temporal Databases Mohamed F. Mokbel, Xiaopeng Xiong, Walid G. Aref Presented by.
Spatial Queries Nearest Neighbor and Join Queries.
Indexing of Network Constrained Moving Objects Dieter Pfoser Christian S. Jensen Chia-Yu Chang.
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
The Tornado Model: Uncertainty Model for Continuously Changing Data Byunggu Yu 1, Seon Ho Kim 2, Shayma Alkobaisi 2, Wan Bae 2, Thomas Bailey 3 Department.
San Diego, 06/12/03 San Diego, 06/12/03 Martin Pfeifle, Database Group, University of Munich Using Sets of Feature Vectors for Similarity Search on Voxelized.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
1 Indexing Large Trajectory Data Sets With SETI V.Prasad Chakka Adam C.Everspaugh Jignesh M.Patel University of Michigan Presented by Guangyue Jia.
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
Image Based Positioning System Ankit Gupta Rahul Garg Ryan Kaminsky.
Improving Min/Max Aggregation over Spatial Objects Donghui Zhang, Vassilis J. Tsotras University of California, Riverside ACM GIS’01.
AAU A Trajectory Splitting Model for Efficient Spatio-Temporal Indexing Presented by YuQing Zhang  Slobodan Rasetic Jorg Sander James Elding Mario A.
Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Join-Queries between two Spatial Datasets Indexed by a Single R*-tree Michael Vassilakopoulos.
Dept. of Electrical Engineering and Computer Science, Northwestern University Context-Aware Optimization of Continuous Query Maintenance for Trajectories.
The X-Tree An Index Structure for High Dimensional Data Stefan Berchtold, Daniel A Keim, Hans Peter Kriegel Institute of Computer Science Munich, Germany.
1 Introduction to Spatial Databases Donghui Zhang CCIS Northeastern University.
Universität Stuttgart Institute of Parallel and Distributed Systems (IPVS) Universitätsstraße 38 D Stuttgart Scalable Processing of Trajectory-Based.
Benjamin AraiUniversity of California, Riverside Reliable Hierarchical Data Storage in Sensor Networks Song Lin – Benjamin.
CSIS7101 – Advanced Database Technologies Spatio-Temporal Data (Part 1) On Indexing Mobile Objects Kwong Chi Ho Leo Wong Chi Kwong Simon Lui, Tak Sing.
DIST: A Distributed Spatio-temporal Index Structure for Sensor Networks Anand Meka and Ambuj Singh UCSB, 2005.
Nearest Neighbor Queries Chris Buzzerd, Dave Boerner, and Kevin Stewart.
Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras.
Spatial Query Processing Spatial DBs do not have a set of operators that are considered to be basic elements in a query evaluation. Spatial DBs handle.
Exact indexing of Dynamic Time Warping
August 30, 2004STDBM 2004 at Toronto Extracting Mobility Statistics from Indexed Spatio-Temporal Datasets Yoshiharu Ishikawa Yuichi Tsukamoto Hiroyuki.
Monitoring k-NN Queries over Moving Objects Xiaohui Yu University of Toronto Joint work with Ken Pu and Nick Koudas.
Continual Neighborhood Tracking for Moving Objects Yoshiharu Ishikawa Hiroyuki Kitagawa Tooru Kawashima University of Tsukuba, Japan
Efficient OLAP Operations in Spatial Data Warehouses Dimitris Papadias, Panos Kalnis, Jun Zhang and Yufei Tao Department of Computer Science Hong Kong.
1 Complex Spatio-Temporal Pattern Queries Cahide Sen University of Minnesota.
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.
Spatio-Temporal Databases
DASFAA 2005, Beijing 1 Nearest Neighbours Search using the PM-tree Tomáš Skopal 1 Jaroslav Pokorný 1 Václav Snášel 2 1 Charles University in Prague Department.
Spatio-Temporal Databases. Term Project Groups of 2 students You can take a look on some project ideas from here:
Jeremy Iverson & Zhang Yun 1.  Chapter 6 Key Concepts ◦ Structures and access methods ◦ R-Tree  R*-Tree  Mobile Object Indexing  Questions 2.
1 Spatial Query Processing using the R-tree Donghui Zhang CCIS, Northeastern University Feb 8, 2005.
Keogh, E. , Chakrabarti, K. , Pazzani, M. & Mehrotra, S. (2001)
Spatial Data Management
A Unified Algorithm for Continuous Monitoring of Spatial Queries
Spatio-Temporal Databases
Spatio-temporal Pattern Queries
Spatio-temporal Databases
Introduction to Spatial Databases
Spatio-Temporal Databases
Finding Fastest Paths on A Road Network with Speed Patterns
Dynamic Queries over Mobile Objects
Presented by: Mahady Hasan Joint work with
Spatio-temporal Databases
Continuous Density Queries for Moving Objects
Spatial Databases: Spatio-Temporal Databases
Presentation transcript:

Querying Mobile Objects in Spatio-Temporal Databases Kriengkrai Porkaew 1 Iosif Lazaridis 2 Sharad Mehrotra 2 1 King Monkut’s University of Technology at Thonburi, Thailand 2 University of California, Irvine SSTD 2001, Redondo Beach, CA

Talk Outline zRelated Work zQuery Types over Mobile Objects zIndexing & Query Evaluation Strategies yNative Space Indexing (NSI) yParametric Space Indexing (PSI) zExperiments zConclusions

Motivation - VGIS zVGIS ya 3D terrain visualization system zData yterrain, weather data, static & dynamic 3D objects zFunctionality yspatio-temporal queries over mobile objects

Update Model zLinear Motion with constant velocity zUpdate consists of zNext update arrives at time of previous update’s expiration t e. zBoth historical and future queries are supported time location

Related Work Spatio-Temporal Index Structures zTheodoridis et. al. SSDBM 1998 “Specifications for Efficient Indexing in Spatio-Temporal Databases” Indexing Mobile Objects zTayeb et. al. Computer Journal 41(3) “A quadtree based dynamic attribute indexing method” zKollios et. al. PODS 1999 “On Indexing Mobile Objects” zSaltenis et. al. SIGMOD 2000 “Indexing the Positions of Continuously Moving Objects” General zWolfson et. al. SSDBM 1998 “Moving Objects Databases: Issues and Solutions” Focus of Current Techniques: zFuture Spatio-Temporal Range Queries

Query Types Spatial/Temporal Range Which objects were in spatial range [Q.x L,Q.x iL ] during time interval [Q.t L,Q.t L ]? time location Q.t L Q.t H Q.x L Q.x H

Query Types Temporal kNN k top objects closest temporally to query time Q.t that lie in spatial range [Q.x L, Q.x H ], ordered by time time location Q.t Q.x L Q.x H

Query Types Spatial kNN time location Q.t L 1 3 Q.t H 4 Q.x 2 k top objects closest spatial to query location Q.x during time interval [Q.t L, Q.t H ], ordered by proximity

Indexing Approaches Native Space Indexing (NSI) zrepresents objects with bounding boxes in native space (time/location) ybounding box: yL =R.t L,R.x 1L,…,R.x nL ; H=R.t H,R.x 1H,…,R.x nH L s e H X Time Object’s trajectory Y zTo eliminate false admission: yline-segment: ys=O.t s,O.x 1s,…,O.x ns ; e=O.t e,O.x 1e,…,O.x ne

zRange Query Q zFor a Bounding Box R: yif overlaps (Q, R), i.e., Q overlaps with R along the temporal and all spatial dimensions  explore node zFor a line segment L: yif L does not overlap with Q in time  ignore yelse … Native Space Indexing Range Query

Native Space Indexing Range Query – Line Segment time Q.x iH TiTi time O.T Q.T L i.T=time interval that the line of the object cuts the upper/lower boundary of the query along dimension i L i.T Q.x iL location T i =Q.T  O.T  L i.T T =  i T i — If T is empty, ignore — Else retrieve

k Nearest Neighbor Algorithm A B ABAB Priority Queue A CDECDE C D E BCDEBCDE B fghfgh f g h fCDEghfCDEgh f answer

Native Space Indexing Temporal kNN  Temporal kNN query:  retrieve objects in with minimum t=|Q.t-O.t|  explore nodes in ascending order of t using a priority queue zBounding Box testing yfor each i, if [R.x iL, R.x iH ] not overlap [Q.x iL, Q.x iH ]  ignore yelse, compute t and insert in the priority queue

Native Space Indexing Temporal kNN – Line Segment time location O.T L i.T TiTi Q.t T i = O.T  L i.T T ov =  i T i

 Spatial kNN query:  retrieve the k nearest objects to Q.x i during the time interval [ Q.t L, Q.t H ] yexplore node in ascending order of d = distance from Q.x i zBounding Box testing  if [ R.t L, R.t H ] not overlap [ Q.t L, Q.t H ]  ignore R yelse, compute d = mindist (P, Q) = [  I d i 2 ] 1/2 Native Space Indexing Spatial kNN xixi Q.x i d i =R.x L -Q.x H d i = Q.x L -R.x H d i =0 time Q Q Q Bounding Box Line Segment

Indexing Approaches Parametric Space Indexing (PSI) zrepresent objects with their motion parameters ê time ê starting location O.x i ê velocity O.v i zLocation Function O.x i (t)=O.x i +O.v i (t - O.t s ) where t s  t  t e zBounding box R= Velocity (v) Time (t) Location (x) Object’s motion Spatio-temporal Query (projected on a bounding box) zHistorical Queries feasible since past segments are kept in index zMaximum locality since t s the time reference of the most recent update is used

zBounding Box testing yif [Q.t L,Q.t H ] not overlap [R.t L,R.t H ]  ignore R; yelse compute time interval t ov,i that R overlaps Q in the native space along dimension i: T ov,i =T i  Q.T  R.T yif T ov,I is not empty on all dimensions, then explore R, else ignore it time v iH location TiTi Parametric Space Indexing Range Query Q.T v iL R.T R T ov,i

zBounding Box testing ycompute time interval T ov,i that R overlaps Q in the native space along dimension i T ov,i = T i  R.T T ov =  i T i v iH v iL time Bounding Box R t priority Parametric Space Indexing Temporal kNN Q.t TiTi R.T location T ov,i

yFirst, compute the temporal overlap: K.T= Q.T  R.T yThen, compute S i the extent of R in dimension i within the time range K.T yCompute s priority by taking the mindist of the query point Q.x i and the range S i and summing up over all dimensions Parametric Space Indexing Spatial kNN v iH time xixi Bounding Box R Query SiSi didi Q.x i v iL R.T Q.T K.T S priority = [  i d i 2 ] 1/2

Experiments zData y5,000 mobile objects moving in a 100x100 grid yObjects send ~1 update/time unit ySimulations with 1, 2, 4 velocity units were run yDuration of simulation 100 time units (~500,000 line segments in index) zQueries yRanges of sizes 0.25 to 10 along each spatial dim. yAverage results over 1,000-query loads

Range Queries I/O Cost

Range Queries CPU Cost

Range Queries Varying Object Speed

Temporal kNN I/O Cost

Spatial kNN I/O Cost

Interpretation Parametric Space Indexing + compact representation + no false alarms - need transformation - not so good locality - specific to the type of motion used Native Space Indexing + good locality + general for all kinds of motions: linear, circular, constant speed, constant acceleration + easy to deal with - highly overlapped boxes

Conclusions zClassification of selection queries over mobile objects with range or nearest neighbor predicate on space/time zQuery processing techniques using two indexing approaches: Native– and Parametric-Space Indexing zNative Space Indexing outperforms Parametric Space Indexing besides being conceptually simpler