moving objects databases

28
1 Moving Objects Databases ران ه ت گاه ش ن دا ر ت و ی پ م و کا رق ت کده ش ن دا ری ص ا ن کان اش رمدی س هدی م

Upload: elon

Post on 14-Jan-2016

34 views

Category:

Documents


2 download

DESCRIPTION

دانشگاه تهران دانشکده برق و کامپیوتر اشکان ناصری مهدی سرمدی. Moving Objects Databases. مباحث موجود. Location technologies, applications Research issues Location modeling/management Linguistic issues Uncertainty/Imprecision Indexing Synthetic datasets Compression/data-reduction - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Moving Objects Databases

1

Moving Objects Databases

تهران دانشگاه

کامپیوتر و برق دانشکده

ناصری اشکان

سرمدی مهدی

Page 2: Moving Objects Databases

2

موجود مباحث• Location technologies, applications

• Research issues• Location modeling/management

• Linguistic issues

• Uncertainty/Imprecision

• Indexing

• Synthetic datasets

• Compression/data-reduction

• Joins and data mining

Page 3: Moving Objects Databases

3

Moving Objects Database Technology

Query/trigger examples:• During the past year, how many times was bus#5 late by more than 10

minutes at station 20, or at some station (past query)• Send me message when helicopter in a given geographic area

(trigger)

• Trucks that will reach destination within 20 minutes (future query)

• Taxi cabs within 1 mile of my location (present query)• Average speed on highway, one mile ahead • Tracking for “context awareness”

GPS

GPS

GPS

Wireless link

Page 4: Moving Objects Databases

4

Applications-- Summary• Geographic resource discovery-- e.g. “Closest gas station”• Digital Battlefield• Transportation (taxi, courier, emergency response, municipal

transportation, traffic control) • Supply Chain Management, logistics• Context-awareness, augmented-reality, fly-through visualization• Location- or Mobile-Ecommerce and Marketing• Mobile workforce management

• Air traffic control (www.faa.gov/freeflight)• Dynamic allocation of bandwidth in cellular network• Querying in mobile environments

Currently built in an ad hoc fashion

Page 5: Moving Objects Databases

5

• Envelope software on top of a Database Management System and a Geographic Information System.

• Platform for Location-based-services application development.

Demo at ACM-SIGMOD’99, NGITS’99, ICDE’00

Moving Objects Database Architecture

Moving Objects S/W GIS

DBMS

Page 6: Moving Objects Databases

6

موقعیت مدیریت و مدلسازی

ها ( • شبکه در سلولی معماری (در

معماری • Moving object در

Page 7: Moving Objects Databases

7

محیط در موقعیت مدیریتسلولی

آن • اتصال هنگام نود هر سلول و موقعیت از شبکهشود می مطلع شبکه به نود

مجموعه • شامل رکورد ( Key,cellId )هر

داریم • عملیات نوع دونود – یک فعلی موقعیت جستجوینود – یک موقعیت رسانی روز به

باشند • بهینه باید ها عملیات .این

Page 8: Moving Objects Databases

8

تحقیقاتی های ضمینه

• Data allocation and replication of the location records (key, cell-id)

Where is each record stored/replicated/cached ?

How frequently is it updated?

How is it searched?

Page 9: Moving Objects Databases

9

سلولی معماری

support stationMSS

Mobile

Moving Object

Moving Object

support stationMSS

Moving Object

Mobile

Moving Object

Moving Object

Moving Object

support stationMSS

Mobile

Moving Object

Moving Object

Wireless linkWireless link

Moving Object

Page 10: Moving Objects Databases

10

موجود های روش•Centralized database : مرکز در اطالعات تمام

شوند می نگهداری–Drawback : یا جستجو هر در مرکز از درخواست به نیاز

رسانی زور به

•Fully replicated : هر را Mss در مرکز اطالعات ماکنیم نگهداری

–Drawback : روز به باید همه رسانی روز به هر برایشوند

•Partitioned :هر MSS نودهای اطالعات فقطکند می نگهداری را خود درون

–Drawback : همه جستجو یک بررسی MSS برای باید هاشوند

Page 11: Moving Objects Databases

11

Hierarchical Solution

• When a moves from 1 to 2 LA database is updated, but not central database.

• A call that originates in 2 needs to search only the LA database.• This scheme exploits the locality of calls and moves.• Can obviously be generalized to arbitrary number of levels.• Call execution uses a different network.

Central Databasea - A

Location Area Aa - 1

MSSMSSMSS

a

1 2 3

Page 12: Moving Objects Databases

12

Variant• Partition the centralized database

a - k s - zl - r

LA

MSS

LA LA

MSS MSS MSS MSS MSS MSS MSS

Page 13: Moving Objects Databases

13

European and North American Standard• Notion of home location• Partition centralized database based on home location of

subscribers

LA

MSS MSS MSS

HLRVLR

HLRVLR

LA

MSS MSS MSS

Home Location Register – Profile and MSS of local subscriberVisitor Location Register – MSS of visitor in LAMove – Update HLR to point to new MSS or foreign VLR, or update VLRy call x – Check local VLR of y, if not found check HLR of x

Page 14: Moving Objects Databases

14

Variant

• Don’t update on local cellular move, only LA move• Call: Page in LA• Database update activity is reduced at the expense of paging activity.• Useful for users that move a lot, but do not get many calls.• Paging overhead can be further reduced by prediction

LA

MSS

LA LA

MSS MSS MSS MSS MSS

No update Update

Page 15: Moving Objects Databases

15

Variant

• Cache in LA database the MSS of remote users called recently

LA

MSS

LA LA

MSS MSS MSS MSS MSS MSS MSS

Page 16: Moving Objects Databases

16

Other Variants• Designate some cells as reporting cells

(moving objects must update upon entering them); calls processed by paging neighborhood of last reporting cell

• Distance/movement/time-based updates

r

rr

r r r

Page 17: Moving Objects Databases

17

Other Variants (continued)

• Data mining and prediction mechanisms to reduce location-update traffic and compensate for this by a smart search/paging on calls.

• Objective: tradeoff between search and update overhead to balance total load

• Comprehensive survey: Pitoura & Samaras 99

Page 18: Moving Objects Databases

18

Geolocation management

• Why is it different?• Higher resolution

Joe, pick up a customer in cell 75 ! -- doesn’t work since diameter may be > 3 miles

• Interested in past and future location

• Variety of queries

Page 19: Moving Objects Databases

19

Model of a trajectory for geolocation management

Y

X

Time

Present time

2d-ROUTE

3d-TRAJECTORY

Approximation: does not capture acceleration/deceleration

Point Objects: modelneeds to be extended for objects with extent, eg, hurricanes

Page 20: Moving Objects Databases

20

Trajectory Construction - example

• Based on GPS points (x1,y1,t1), (x2,y2,t2),…

• For vehicles moving on road networks, construction uses a map.

Page 21: Moving Objects Databases

21

Map• A relation

tuple <----> block, i.e. section of street between two intersections

… …

… …

… …

… …

… …

864

906

728

312

R_f_add

891No25A31HALSTED167981

782No25A40CABRINI167985

398No25A40ARTHINGTON167980

956

R_t_addpolyline

No

one_way

A31

category

25HALSTED167982

Avg speed

namebid

A region taken from the map of Chicago

Page 22: Moving Objects Databases

22

Past-trajectory construction

• Based on GPS points (x1,y1,t1), (x2,y2,t2),…

• “Snap” points on road network

• Find shortest path on map between consecutive gps points

Page 23: Moving Objects Databases

23

Future-trajectory construction

• Client informs location server of: – start-time of trip– start-location– destination(s)

• Server finds shortest path on a map

• Converts path into a trajectory using drive-time attribute

Page 24: Moving Objects Databases

24

Enables Prediction

• Time-travel queries

e.g. Where will object X be in 10 mins?

Page 25: Moving Objects Databases

25

Trajectory Poly-line as Current-Location attribute

• Similar to Location attribute for static objects

• DBMS provides an abstraction of the trajectory data – Dynamic Attribute

• Value of Dynamic Attribute continuously changes as time progresses

• Vast implications for query processing -- open research problem

• Moreover: Dynamic Attribute should account for uncertainty.

Page 26: Moving Objects Databases

26

Other Applications of Dynamic Attributes – Modeling continuous phenomena

• Fuel Consumption

• Temperature

• Weather conditions

Page 27: Moving Objects Databases

27

New Research Topics (Continued)

• Privacy/Security

• Location prediction

• Performance/indexing for join queries

Page 28: Moving Objects Databases

28

منابع• Goce Trajcevski, Ouri Wolfson, Bo Xuniversity of Illinois , Research Directions in Moving Objects Databases,

• Catharina Riedemann & Werner Kuhn,Institute for Geoinformatics, University of Muenster, Robert-Koch, “"Component-Based GIS Architectures: GeoMedia and Oracle Spatial as an Example"”

• Sotiris Brakatsoulas,Dieter Pfoser,Nectaria Tryfona,”Modeling, Storing and Mining Moving Object Databases”