Spatio-temporal Databases

Slides:



Advertisements
Similar presentations
Searching Trajectories by Locations – An Efficiency Study Zaiben Chen 1, Heng Tao Shen 1, Xiaofang Zhou 1, Yu Zheng 2, Xing Xie 2 1 The University of Queensland.
Advertisements

Finding the Sites with Best Accessibilities to Amenities Qianlu Lin, Chuan Xiao, Muhammad Aamir Cheema and Wei Wang University of New South Wales, Australia.
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
Spatial Indexing SAMs. Spatial Indexing Point Access Methods can index only points. What about regions? Z-ordering and quadtrees Use the transformation.
Spatial and Temporal Data Mining V. Megalooikonomou Spatial Access Methods (SAMs) II (some slides are based on notes by C. Faloutsos)
Spatial Join Queries. Spatial Queries Given a collection of geometric objects (points, lines, polygons,...) organize them on disk, to answer point queries.
1 Top-k Spatial Joins
On Spatial-Range Closest Pair Query Jing Shan, Donghui Zhang and Betty Salzberg College of Computer and Information Science Northeastern University.
Nearest Neighbor Queries using R-trees
Indexing and Range Queries in Spatio-Temporal Databases
School of Computer Science and Engineering Finding Top k Most Influential Spatial Facilities over Uncertain Objects Liming Zhan Ying Zhang Wenjie Zhang.
Searching on Multi-Dimensional Data
Nearest Neighbor Queries using R-trees Based on notes from G. Kollios.
Progressive Computation of The Min-Dist Optimal-Location Query Donghui Zhang, Yang Du, Tian Xia, Yufei Tao* Northeastern University * Chinese University.
1 NNH: Improving Performance of Nearest- Neighbor Searches Using Histograms Liang Jin (UC Irvine) Nick Koudas (AT&T Labs Research) Chen Li (UC Irvine)
Efficient Reverse k-Nearest Neighbors Retrieval with Local kNN-Distance Estimation Mike Lin.
Nearest Neighbor Search in Spatial and Spatiotemporal Databases
2-dimensional indexing structure
Quantile-Based KNN over Multi- Valued Objects Wenjie Zhang Xuemin Lin, Muhammad Aamir Cheema, Ying Zhang, Wei Wang The University of New South Wales, Australia.
Spatio-temporal Databases Time Parameterized Queries.
Liang Jin (UC Irvine) Nick Koudas (AT&T) Chen Li (UC Irvine)
Spatial Indexing for NN retrieval
Spatial Indexing SAMs. Spatial Access Methods PAMs Grid File kd-tree based (LSD-, hB- trees) Z-ordering + B+-tree R-tree Variations: R*-tree, Hilbert.
Spatio-Temporal Databases
Spatial Queries Nearest Neighbor and Join Queries.
Spatial Queries Nearest Neighbor Queries.
Euripides G.M. PetrakisIR'2001 Oulu, Sept Indexing Images with Multiple Regions Euripides G.M. Petrakis Dept.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Nearest Neighbor and Reverse Nearest Neighbor Queries for Moving Objects Simonas Šaltenis with Rimantas Benetis, Christian S. Jensen, Gytis Karčiauskas.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
Trip Planning Queries F. Li, D. Cheng, M. Hadjieleftheriou, G. Kollios, S.-H. Teng Boston University.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
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.
M- tree: an efficient access method for similarity search in metric spaces Reporter : Ximeng Liu Supervisor: Rongxing Lu School of EEE, NTU
Computer Science and Engineering Efficiently Monitoring Top-k Pairs over Sliding Windows Presented By: Zhitao Shen 1 Joint work with Muhammad Aamir Cheema.
Efficient Instant-Fuzzy Search with Proximity Ranking Authors: Inci Centidil, Jamshid Esmaelnezhad, Taewoo Kim, and Chen Li IDCE Conference 2014 Presented.
Nearest Neighbor Queries Chris Buzzerd, Dave Boerner, and Kevin Stewart.
Efficient Processing of Top-k Spatial Preference Queries
Spatio-temporal Pattern Queries M. Hadjieleftheriou G. Kollios P. Bakalov V. J. Tsotras.
Bin Yao (Slides made available by Feifei Li) R-tree: Indexing Structure for Data in Multi- dimensional Space.
On Computing Top-t Influential Spatial Sites Authors: T. Xia, D. Zhang, E. Kanoulas, Y.Du Northeastern University, USA Appeared in: VLDB 2005 Presenter:
9/2/2005VLDB 2005, Trondheim, Norway1 On Computing Top-t Most Influential Spatial Sites Tian Xia, Donghui Zhang, Evangelos Kanoulas, Yang Du Northeastern.
August 30, 2004STDBM 2004 at Toronto Extracting Mobility Statistics from Indexed Spatio-Temporal Datasets Yoshiharu Ishikawa Yuichi Tsukamoto Hiroyuki.
Euripides G.M. PetrakisIR'2001 Oulu, Sept Indexing Images with Multiple Regions Euripides G.M. Petrakis Dept. of Electronic.
Information Technology Selecting Representative Objects Considering Coverage and Diversity Shenlu Wang 1, Muhammad Aamir Cheema 2, Ying Zhang 3, Xuemin.
R-Trees: A Dynamic Index Structure For Spatial Searching Antonin Guttman.
Location-based Spatial Queries AGM SIGMOD 2003 Jun Zhang §, Manli Zhu §, Dimitris Papadias §, Yufei Tao †, Dik Lun Lee § Department of Computer Science.
Progressive Computation of The Min-Dist Optimal-Location Query Donghui Zhang, Yang Du, Tian Xia, Yufei Tao* Northeastern University * Chinese University.
1 Reverse Nearest Neighbor Queries for Dynamic Databases SHOU Yu Tao Jan. 10 th, 2003 SIGMOD 2000.
Spatio-Temporal Databases. Term Project Groups of 2 students You can take a look on some project ideas from here:
Spatial Queries Nearest Neighbor and Join Queries Most slides are based on slides provided By Prof. Christos Faloutsos (CMU) and Prof. Dimitris Papadias.
1 Spatial Query Processing using the R-tree Donghui Zhang CCIS, Northeastern University Feb 8, 2005.
Spatial Data Management
Strategies for Spatial Joins
Spatial Queries Nearest Neighbor and Join Queries.
Spatio-Temporal Databases
Progressive Computation of The Min-Dist Optimal-Location Query
KD Tree A binary search tree where every node is a
Nearest Neighbor Queries using R-trees
Spatio-temporal Pattern Queries
Spatio-temporal Databases
Nearest-Neighbor Classifiers
Spatio-Temporal Databases
Probabilistic Data Management
cse 521: design and analysis of algorithms
Spatio-temporal Databases
Continuous Density Queries for Moving Objects
Efficient Processing of Top-k Spatial Preference Queries
Liang Jin (UC Irvine) Nick Koudas (AT&T Labs Research)
C. Faloutsos Spatial Access Methods - R-trees
Presentation transcript:

Spatio-temporal Databases Time Parameterized Queries

Intro The results of conventional spatial queries are not very useful in dynamic environments because they may be invalidated very soon due to the movements of objects and queries.

The Time Parameterized (TP) Window Query Returns: The current query result R The validity period T of R The change of result C at the end of T Result: R={b}

The TP Window Query Returns: The current query result R The validity period T of R The change of result C at the end of T Result: R={b}, T=1, C={-b}

The TP Nearest Neighbor Query Returns: The current query result R The validity period T of R The change of result C at the end of T Result: R={d}

The TP Nearest Neighbor Query Returns: The current query result R The validity period T of R The change of result C at the end of T Result: R={d}, T=1.5, C={f}

The TP Spatial Join Query Result: R={(A1, B1), (B3, A4)}

The TP Spatial Join Query Result: R={(A1, B1), (B3, A4)} T={1} C={A3, B2}

Point Nearest Neighbor (NN) Queries [Roussopoulos et al SIGMOD95, Hjaltason and Samet TODS 99] Branch and bound algorithms use mindist between the query point q and an R-tree entry E, to prune the search space: mindist(E, q) = The minimum distance between E and q

Nearest Neighbor Search (NN) with R-Trees Depth-first (DF) and Best-first (BF) algorihms:

Reducing TP Window Queries to NN Search Definition: The influence time TINF(o, q) of a data object o indicates the time when o will change the current result of q. The object (C component) invalidating the current query result is the one with the smallest influence time (T component), i.e., a NN query using TINF as the distance metric.

Reducing TP Window Queries to NN Search Definition: The influence time TINF(o, q) of a data object o indicates the time when o will change the current result of q. The object (C component) invalidating the current query result is the one with the smallest influence time (T component), i.e., a NN query using TINF as the distance metric.

Nearest Neighbor (NN) Search with R-trees The algorithm is based on the Branched and Bound framework. We need 2 metrics: (i) dist(o, q), and (ii) mindist(E, q). mindist(p1, q) NN query q o1 2 o2 mindist(p3, q) 3 p1 2.5 3 mindist(p2, q) o7 o6 o3 o5 p3 o4 p2 p1 p2 p3 o1 o2 o3 o4 o5 o6 o7

Processing TP Queries Treating TINF as the distance function, we may apply the branch and bound paradigm to answer TP queries. Of course we must derive TINF for specific query types. Similar to mindist(E, q) for the NN search, we also need TMININF(E, q), which is the minimum influence time TINF(o, q) among all objects o that can be in the subtree of E.

TINF for TP Window Query If an object intersects query q now, its TINF equals the earliest time it stops intersecting q in the future. If an object does not intersect query q now, its TINF equals the earliest time it starts intersecting q in the future. current time 0 TINF(u, q)=2, TINF(v, q)=1

TMININF for TP Window Query TMININF(E, q) equals the earliest future time E starts to intersect q if, at the current time E does not intersect query q, or E is contained query q TMININF(E, q)=0 if E intersects (but is not contained in) q TMININF(E, q)=1 TMININF(E, q)=0

TINF for TP NN Query Assume PNN be the current nearest neighbor of query q; TINF of a data point o equals the time q crosses the perpendicular bisector of line segment PNNo TINF(o, q)=1.5 Note that TINF for a TP NN query relies on the current result (i.e., the current NN), while TINF for a TP window query does not.

TMININF for TP NN Query TMININF(E, q) of a non-leaf entry E equals the time mindist(E, q)=dist(q, PNN). As with TINF, it depends on the current query result.

BaB Algorithms for TP Queries For those queries (e.g., TP window) where TMIN and TMININF do not depend on the current query result, the T and C components can be retrieved together with the R component in a single traversal of the index structure. For other queries (e.g., TP K-NN) where TMIN and TMININF depend on the current query result, the T and C components can be retrieved together with the R component in separate traversals of the index structure.

TP Spatial Join The TP spatial join is reduced to a closest pair query following the similar idea. A1 A2 A3 A4 A5 B1 2  B2 1 B3 4

Processing Complex Queries The proposed algorithms apply to other mobility combination of objects and queries as well (i.e., mobile objects and static queries, mobile objects and mobile queries). TP queries are preliminary components for Continuous queries Earliest event queries

Conclusions The time-parameterized query can be integrated with any spatial query type to retrieve predictive information. Processing of TP queries can be reduced to NN search by defining appropriate distance functions. TP queries are preliminary building blocks for more complex queries.