Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries
description
Transcript of Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries
![Page 1: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/1.jpg)
1Department of Computer ScienceCity University of Hong Kong
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in Location
Dependent Continuous Queries
Song Han and Edward Chan
Department of Computer Science, City University of Hong Kong83 Tat Chee Avenue, Kowloon, HONG KONG
![Page 2: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/2.jpg)
2
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Agenda
Introduction Objective System Model Methodology Performance Analysis Conclusion
![Page 3: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/3.jpg)
3
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
IntroductionModeling of Moving Object
Moving Object Spatio -Temporal (MOST) Model For location management and location prediction To reduce the update cost (frequency of Update)
Predictive Approach If next update time is t1, at time t’ during [t0 ,t1], the position of A
<x’,y’> is predicted as:
x’ = x0 + v0 * cosα0 * (t’ – t0); y’ = y0 + v0 * sinα0 * (t’ – t0)
Mobile Object Update Time Position Speed Direction
A t0 <x0 ,y0> v0 α0
![Page 4: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/4.jpg)
4
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
IntroductionWhat is a LDCQ?
Example: A user walking along a road wants to know whether there exists a taxi inside the range of 1km around him from now to 10 min later.
Special Features: 1. Location Dependent
Different time, Different Position, Different Query Result
2. Continuous Query The active period of the query is from now to 10 min later
![Page 5: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/5.jpg)
5
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
IntroductionBasic Location Update Methods
Time-based Location Update (TB) A periodic update scheme Generate an update every fixed time threshold T How to define T?
Distance-based Location Update (DB) If the difference between current location and last
update location is larger than the distance threshold D, an update is generated How to define D?
![Page 6: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/6.jpg)
6
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Introduction
Time-based Update Distance-based Update
![Page 7: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/7.jpg)
7
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
IntroductionBasic Location Update Methods
Hybrid (time-based + distance-based) Either condition from Time-based Location Update or
Distance-based Location Update is satisfied, an update is generated.
Speed-dead-reckoning (SDR) An update is generated if the deviation of its current
location is greater than the predicted location by a pre-defined distance threshold
![Page 8: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/8.jpg)
8
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Introduction
Hybrid Method Speed-dead-reckoning
![Page 9: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/9.jpg)
9
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Objective
To formulate an update strategy to meet user fidelity requirement.
To related the update frequency to the overall accuracy of the query.
![Page 10: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/10.jpg)
10
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
System Model
The system architecture of a mobile computing system
Location Database Server
Query Processor
Moving Objects
Database
Location Updates
Moving Objects
Continuous Queries
Wireless Network
![Page 11: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/11.jpg)
11
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Uncertainty Model
Definition 1 : Uncertainty Region
An Uncertainty Region of mobile object M at time t, U (p, t), is a closed region such that M can be found inside this region with a probability p.
Definition 2 : Uncertainty PDF
Uncertainty Probability Density Function of a mobile object M at time t, f (x, y, t), is the probability density function of M ’s location at time t and
( , )
( , , )U p t
f x y t dxdy p
![Page 12: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/12.jpg)
12
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Methodology
Probabilistic Continuous Update Scheme Object Location Update (OLU):
Issued by both Query Object and Moving Object To guarantee at time t, the mobile object ’s position will
not be outside its uncertainty region U (p, t). Query Accuracy Update (QAU):
Issued only by Moving Object When the change of the moving object’s uncertainty
region will affect the answer set for a certain Q with a probability p which is specified by the user.
![Page 13: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/13.jpg)
13
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Example of OLU
![Page 14: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/14.jpg)
14
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Example of QAU
![Page 15: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/15.jpg)
15
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Generation of OLU
Calculation is independent and same for moving objects and query objects
The uncertainty PDF for the position of MO satisfy normal distribution X ~ N (xP, σX), Y ~ N (yP, σY)
An update will be issued if its actual position at time t exceeds the predicted position’s confidence interval c (xP - u (1-c)/2 * σX, xP - u (1-c)/2 * σX)
(yP - u (1-c)/2 * σy, yP - u (1-c)/2 * σy)
![Page 16: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/16.jpg)
16
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Generation of OLU
Improvement in Generation of Object Location Update
![Page 17: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/17.jpg)
17
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Generation of OLU
02 sin( )R R
L t H LB B D B B B
0
min
0 min
min
0 0 min
20 min
1 (log ( 1))( )
{ , 1 (log ( 1)) }
x tH t H L
x t tH H t H L
B B B t t t tf t
MIN B B B B t t t
Condition :
Update Threshold :
Where
0
min
cos( )R Rt
R
Dt
v
![Page 18: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/18.jpg)
18
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Generation of QAU
In a range query, all moving objects are independent. We consider the calculation between OM and OQ.
XM ~ N (xMP, σx
2),YM ~ N (yMP, σy
2),
XQ ~ N (xQP, σx
’2), YQ ~ N (yQP, σy
’2)
xMP = xM + vM * (t - tM) * cos(α)
yMP = yM + vM * (t - tM) * sin(α)
xQP = xQ + vQ * (t - tQ) * cos(β)
yQP = yQ + vQ * (t - tQ) * sin(β)
![Page 19: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/19.jpg)
19
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Generation of QAU
The relative movement of OM and OQ. <X’, Y’> X’ = XM -XQ => X’ ~ N (xM
P-xQP, σx
2+σx’2)
Y’ = YM -YQ => Y’ ~ N (yMP- yQ
P, σy2 +σy
’2)
The probability that the OM will cross the query boundary at time t.μ1 = xM
P - xQP, μ2 = yM
P - yQP σ1
2 = σx2 +σx
’2, σ22 = σy
2 +σy’2
'')()(
2
1
21
2
2
2'
2
1
1'
2
1dYdXeP
YX
QB
![Page 20: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/20.jpg)
20
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Generation of QAU
Integration Area Ω is different depending on M’s moving Direction
![Page 21: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/21.jpg)
21
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Prediction of the next QAU time2 2 2
2 2 2
2 2 2
2 2 2
' 2 2 2
'
cos 0 (cos 0 ( ) sin ) (1)( cos ( ) sin ) /
( cos ( ) sin ) /cos 0 ( ) sin
( cos ( ) sin ) /
( co
begin
Rend
begin
Rend
Rbegin
end
t nowor and R b a
t a b R a v
t nowR b a b R
t a R b a vand R b a
t a R b a v
t a
2 2 2
2 2 2
2 2 2
2 2 2
2 2
2 2 2
(2 * )
s ( ) sin ) /
cos 0 (cos 0 ( ) sin ) (3)
( cos ( ) sin ) /( ) sin
( cos ( ) scos 0 ( ) sin
R
begin
end
Rbegin
end
b R a v
tor and b R a
t
t a b R a vR b aa b R
t a R b aand b R a
2
2 2 2
2 2 2
2 2 2
2 2 2
2 2 2
(4)in ) /
( cos ( ) sin ) /( ) sin (5)
( cos ( ) sin ) /
( cos ( ) sin ) /(6
( cos ( ) sin ) /
R
Rbegin
Rend
Rbegin
Rend
v
t a b R a vR b a
t a b R a v
t a R b a va R b
t a b R a v
)
![Page 22: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/22.jpg)
22
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Simulation Model
Random Waypoint Mobility Model Continuous query length: 1000 sec Query Boundary: 200 m Number of Moving Object: 100 Size of the area: 1000 m * 1000 m Fidelity Requirement: 95% Confidence Level: 95% Speed of the moving object: U [12km/h, 60km/h]
![Page 23: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/23.jpg)
23
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Performance Analysis
Fidelity vs. Object Location Variance Number of updates vs. OLV
![Page 24: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/24.jpg)
24
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Performance Analysis
Total number of updates vs. OLV Fidelity vs. Number of Updates
![Page 25: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/25.jpg)
25
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Conclusion
Probabilistic Continuous Update Scheme is proposed to meet user fidelity requirement
Goes beyond traditional location update schemes Related the update frequency to the overall
accuracy of the query.
![Page 26: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/26.jpg)
26
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Future Work
Adaptive OLU generation How to calculate the predicted update time
directly How to reduce to calculation complexity in
calculating the predicted update time Extend Entity Query to Count Query Extend RQ to NNQ and kNNQ
![Page 27: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/27.jpg)
27
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
References [1] M. H. Dunham and V. Kumar, Location Dependent Data and its
Management in Mobile Database, Database and Expert Systems Applications, 1998, Proc. 9h International Workshop on Database and Expert Systems Applications, 1998.
[2] A. P. Sistla, O. Wolfson, S. Chamberlain, and S. Dao, Querying the Uncertain Position of Moving Objects, Temporal Database – Research and Practice Lecture Notes in Computer Science 1399, 1998.
[3] O. Wolfson, S. Chamberlain, S. Dao, L. Jiang and G. Mendez, Cost and Imprecision in Modeling the Position of Moving Objects, Proc. 14th International Conference on Data Engineering, 1998.
[4] Reynold Cheng, Dmitri V. Kalashnikov, and Sunil Prabhakar, Querying imprecise data in moving object environments, IEEE Trans. on Knowledge and Data Engineering, Vol. 16(7), July 2004.
[5] Jinfeng Ni and C. V. Ravishankar, Probabilistic Spatial Database Operations, Proc. 8th Intl. Symposium on Spatial and Temporal Databases (SSTD), 2003.
![Page 28: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/28.jpg)
28
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Thank you!
![Page 29: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/29.jpg)
29
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Simulation Metrics
Fidelity of the Probabilistic Range Query It measures the deviation of the results in the database from
the correct results for a range query Q. Based on the concepts of false positives and false negatives Sdbase (Q, t) is the result set of Q at time t from database
Sideal (Q, t) is the result set of Q at time t from actual location
f+ (Q, t) measures the fraction of objects wrongly included into the answer of Q and f - (Q, t) measures the portion of objects that are missing in the correct answer of Q.
|),(|
|),(),(|),(
tQS
tQStQStQf
dbase
idealdbase
|),(|
|),(),(|),(
tQS
tQStQStQf
ideal
dbaseideal
![Page 30: Probabilistic Continuous Update Scheme in Location Dependent Continuous Queries](https://reader035.fdocuments.in/reader035/viewer/2022070410/56814556550346895db2248d/html5/thumbnails/30.jpg)
30
Department of Computer Science
City University of Hong Kong
Probabilistic Continuous Update Scheme in LDCQ
Simulation Metrics
Fidelity of Continuous Range Query
E (t) = f+ (Q, t) + f - (Q, t) < ε where E (t) is the error ratio of Q at time t and ε, the fidelity requirement, is a real-valued system parameter for Q.
( )_ ( )
end
begin
t
t
end begin
F t dtoverall fidelity Q
t t
otherwise
tEtF
1
)(0)(