L12-S1 Spatiotmporal DB 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.

Slides:



Advertisements
Similar presentations
1 14. Interoperability Database interoperability --- Is the problem of making the data and queries of one database system usable to the users of another.
Advertisements

Indexing and Range Queries in Spatio-Temporal Databases
L3-S1 Practical Solutions 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L8-S1 Datalog Queries 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
Fall 2002 SJSU -- CmpE Enterprise & Application Frameworks Dr. M.E. Fayad, Professor Computer Engineering Department – RM# College of Engineering San José.
SPATIO-TEMPORAL DATABASES
L3-1-S1 OO Concepts © M.E. Fayad SJSU -- CMPE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
L4-1-S1 UML Overview © M.E. Fayad SJSU -- CmpE Software Architectures Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
L3-5c-S1 Object Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department,
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
SPATIO-TEMPORAL DATABASES Intro. “Space by itself, and time by itself, are doomed to fade away into mere shadows, and only a kind union of the two will.
Spatio-Temporal Databases
L16-S1 Object Diagrams 2003 SJSU -- CmpE Software Patterns Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L28-S1 Interaction Diagrams 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
Computer Science Spatio-Temporal Aggregation Using Sketches Yufei Tao, George Kollios, Jeffrey Considine, Feifei Li, Dimitris Papadias Department of Computer.
L19-S1 More on Class Diagrams 2003 SJSU -- CmpE Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
 Fayad SJSU – CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L21-S1 Model-Based Arch SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Spatio-Temporal Databases. Introduction Spatiotemporal Databases: manage spatial data whose geometry changes over time Geometry: position and/or extent.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
L3-5d-S1 Class Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L26-S1 Interactions 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
Time Chapter 10 © Worboys and Duckham (2004)
L06-2-S1 Activity Diagrams 2003 SJSU -- CmpE Software Engineering II Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
P2-S1 MySQL 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
SJSU -- CmpE © Dr. M. E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
L5-S1 Class Diagrams 2003 SJSU -- CmpE Software Patterns Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
L8-S1 CRC Cards 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
© M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José.
1999 – 2006 M.E. Fayad SJSU -- CmpE Software Engineering Management Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Indexing Spatio-Temporal Data Warehouses Dimitris Papadias, Yufei Tao, Panos Kalnis, Jun Zhang Department of Computer Science Hong Kong University of Science.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Spatio-Temporal Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases …..
L18-S1 Getting Started 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
1 13. Spatiotemporal Databases Extreme Point Data Models Parametric Extreme Point Data Models Geometric Transformation Data Models Queries.
© M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
L3-6b-S1 Sequence Diagrams © M.E. Fayad SJSU -- CmpE Software System Engineering Dr. M.E. Fayad, Professor Computer Engineering Department, Room.
Constraint Databases and Temporal Reasoning Peter Revesz University of Nebraska-Lincoln.
L1-S1Introduction 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
CSIS7101 – Advanced Database Technologies Spatio-Temporal Data (Part 1) On Indexing Mobile Objects Kwong Chi Ho Leo Wong Chi Kwong Simon Lui, Tak Sing.
L4-S1 Modeling Concepts 2003 SJSU -- CMPE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I.
L6-S1 UML Overview 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
1 Spatio-Temporal Predicates Martin Erwig and Markus Schneider IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING Presented by Mamadou Hassimiou Diallo.
L8-2-S1 Misc Topics © M.E. Fayad SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of.
Spatio-Temporal Databases
L6-S1 MLPQ 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Spatio-Temporal Databases. Term Project Groups of 2 students You can take a look on some project ideas from here:
L1-S1 Infinite R-DB 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San.
3D Rendering 2016, Fall.
Object-Oriented Analysis & Design
Geometric Solids.
Advanced Object-Oriented Analysis & Design
Database Design Dr. M.E. Fayad, Professor
Component-Based & Software Reuse
Software System Engineering
Object-Oriented Analysis & Design
Spatio-Temporal Databases
Software System Engineering
Continuous Motion Pattern Query
Database Design Dr. M.E. Fayad, Professor
Database Design Dr. M.E. Fayad, Professor
Database Design Dr. M.E. Fayad, Professor
Software System Engineering
Object-Oriented Analysis & Design
Presentation transcript:

L12-S1 Spatiotmporal DB 2003 SJSU -- CmpE Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering San José State University One Washington Square San José, CA

L12-S2 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 2 Lesson 12: Spatiotemporal Databases

L12-S3 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Lesson Objectives 3 Understand Extreme Point Data Models Explore Parametric Extreme Point Data Models Explore Geometric Transformation Data Models Write Queries

L12-S4 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Spatial applications deals with objects whose position shape and size change over time. So called spatiotemporal object Real World Examples: –Vehicle or human trajectories archival data –Fire front monitoring –Flight simulators –Weather forecast 4 Spatiotemporal Objects

L12-S5 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Identified by oid is time evolving spatial object. Its evolution (or history) is represented by a set of instances (oid, si, ti) where si is space stamp and ti is timestamp. These applications require efficient indexing because of high volume and complexity of data. 4 Spatiotemporal Objects

L12-S6 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Has a spatial extent and a temporal extent. Spatial extent = a set of points in space. Temporal extent is set of time instances when an object exists. Each spatiotemporal data model captures both extents of the object. 4 Spatiotemporal Objects

L12-S7 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Extreme points – the endpoints of intervals and the corner vertices of polygonal or polyhedral objects Examples: extreme points data models include: Rectangle data model and Worboys ’ data model 5 Extreme Point Data Models (1)

L12-S8 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Rectangles data model --- for each object Spatial extent : a rectangle of a union of a set of rectangles. Temporal extent: a time interval or a union of a set of time intervals. 6 Extreme Point Data Models (2)

L12-S9 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 7 Extreme Point Data Models (3)

L12-S10 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad  Rectangles data model represents the spatial extent of d- dimensional rectangle as the cross product of d intervals, one for each dimension.  Each spatial and temporal interval is represented by its endpoints which called extreme points of the intervals.  Each tuple of the rectangle model represents just a combination of one rectangle and one time interval.  Several tuples need to be used to describe objects whose spatial or temporal extents are composed of a set of intervals. 6 Extreme Point Data Models (4)

L12-S11 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 8 Rectangles Data Model Archaeological Site (Figure 13.1) IdXYT 1[3,6] [100,200] 2[8,11][3,7][150,350] 3[2,4][5,10][250,400] 3[2,10][8,10][250,400]

L12-S12 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Worboys ’ Data Model --- for each object Spatial extent: a set of triangles, represented by corner vertices Temporal extent: a set of time intervals, represented by From and To endpoints 9 Worboys’ Data Model (1)

L12-S13 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 10 Worboys’ Data Model (2)

L12-S14 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 11 Worboys’ Data Model (3) Park (Figure 13.2) IdAxAyBxByCxCyFromTo Fountain Road Road Tulip Park ………………………

L12-S15 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad In rectangle data model – spatial and temporal extents are independent of each other. In Worboy ’ s data model – spatial extents are related to each other but the spatial and temporal extents are still independent of each other. 12 Rectangle vs. Worboys

L12-S16 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Conclusions: only represent objects that appear and disappear suddenly Hence, they cannot represent continuously moving objects 12 Extreme point spatiotemporal data models

L12-S17 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Use a time parameter t and can represent continuously moving objects. Extend the extreme point data models by specifying the extreme points as linear, polynomial, or periodic functions of time Examples: parametric rectangles and parametric 2-spaghetti data models 12 Parametric Extreme Point Data Models

L12-S18 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Parametric Rectangles Data Model ---for each object Spatial extent: a set of intervals, whose endpoints are represented by functions of time (time t is the only parameter) Temporal extent: a time interval, whose endpoints are represented by From and To constants 13 Parametric Rectangles Data Model (1)

L12-S19 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 14 Parametric Rectangles Data Model (2) Example: Plankton X Y T [5+t, 10+2t] [5+t, 15+3t] [0, 20]

L12-S20 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad  The Parametric 2-Spaghetti Data Model--- for each object Spatial Extent: set of triangles, whose corner vertices represented as functions of time Temporal Extent: A constant time interval Example: Net The Parametric 2-Spaghetti Data Model Ax Ay Bx By Cx Cy From To 3 3-t4+0.5t 4-0.5t 5+t

L12-S21 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Periodic movements can be classified as either cyclic (where object repeats its movement from the same position and with the same velocity every period.) or acyclic periodic movement (is the composition of cyclic periodic movement and nonperiodic movement, such as movement of light. Periodic Parametric Rectangles Data Model --- Spatial Extent: a set of triangles, whose corner vertices are represented as periodic functions of time Temporal Extent: Periodic intervals 16 Periodic Parametric Data Models

L12-S22 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad 17 Periodic Parametric Rectangles Data Model :00 am 3:00 am 5:00 am Parking Lot

L12-S23 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Periodic Parametric Rectangles Data Model Example: Tide (Figure 13.6) Ax Ay Bx By Cx Cy From To P End t ’ t ’ ∞ ∞ t ’ ∞ t ’ 3 6-t ’ ∞ ∞ ∞ t ’ ∞

L12-S24 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Generalize geometric transformations by using a time parameter. Types of geometric transformations: scaling, translation, linear, affine. 19 Geometric Transformation Data Models (1)

L12-S25 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad  Geometric Transformation -- a bijection of d- dimensional space into itself. Example: Affine Motion: x ’ = Ax + B Linear Motion: x ’ = Ax Scaling:x ’ = Ax where A is diagonal Translation:x ’ = x + B Identity:x ’ = x 20 Geometric Transformation Data Models (2)

L12-S26 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Geometric Transformation Data Model -- defines each spatiotemporal object as some spatial object together with a continuous transformation that produces an image of the spatial object for every time instant 21 Geometric Transformation Data Models (3)

L12-S27 Spatiotmporal DB 2003 SJSU – CmpE --- M.E. Fayad Querying Parametric Extreme Point Databases --- allow only the constraints of the type x=c, x = c. Example: Find where and when will it snow given Clouds(X, Y, T, humidity) Region(X, Y, T, temperature) (SELECT x, y, t FROM Clouds WHERE humidity >= 80) INTERSECT (SELECT x, y, t FROM Region WHERE temperature <= 32) 22 Queries