2005/11/09 Continuous Queries in P2P Networks. Motivation.
-
Upload
claribel-pearson -
Category
Documents
-
view
218 -
download
2
Transcript of 2005/11/09 Continuous Queries in P2P Networks. Motivation.
![Page 1: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/1.jpg)
2005/11/09
Continuous Queries in P2P Networks
![Page 2: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/2.jpg)
Motivation
![Page 3: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/3.jpg)
Motivation - Cardinality
How many people are currently listening POP
music?
Rock
Classic
Classic
POPPOP
Result =2
![Page 4: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/4.jpg)
Motivation – Top-K
“Because of you” by Kelly Clarkson
What is the Top-2 Songs?
“Because of you” by Kelly Clarkson
“Wake Me Up When September Ends” by Green Day
“Wake Me Up When September Ends” by Green Day
“Shake It Off”by Mariah Carey
![Page 5: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/5.jpg)
Motivation – Top-K
“Because of you” by Kelly Clarkson
What is the Top-2 Songs?
“Because of you” by Kelly Clarkson
“Wake Me Up When September Ends” by Green Day
“Wake Me Up When September Ends” by Green Day
“Shake It Off”by Mariah Carey
![Page 6: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/6.jpg)
Motivation – Social Network
Rock
Classic
Classic
POPPOP
I want to make friends who have similar
interests as I have
![Page 7: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/7.jpg)
Motivation – Social Network
Rock
Classic
Classic
POPPOP
I want to make friends who have similar
interests as I have
![Page 8: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/8.jpg)
Motivation – Social Network
Rock
Classic
Classic
POPPOP
I want to make friends who have similar
interests as I have
![Page 9: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/9.jpg)
Motivation – Social Network
Rock
Classic
Classic
POPPOP
I want to make friends who have similar
interests as I have
![Page 10: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/10.jpg)
Motivation - Ontology
Search “Shake Your Bon Bon” by Ricky Mart
in
![Page 11: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/11.jpg)
Motivation - Ontology
Search “Shake Your Bon Bon” by Ricky Mart
in
Sorry, I have none
I have “Shake Your Bon Bon”
Dude, get away from me
I do have this song but its
name is “Martin’s Ass”
![Page 12: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/12.jpg)
Motivation - Ontology
Search “Shake Your Bon Bon” by Ricky Mart
in
The result of exact matching = 1By we want to get the actual result 2
Ontology
![Page 13: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/13.jpg)
Continuous Queries
Cardinality Top-K Social network Ontology
![Page 14: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/14.jpg)
Cardinality
The state-of-the-art Aggregation in P2P system
Montresor et al. DSN'04 Epidemic, adaptive
Aggregation with streaming data Das et al. VLDB04
Global knowledge of frequent items
![Page 15: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/15.jpg)
Cardinality (Cont’d.)
As far as we know, there is no study focus on this issue in P2P environment with streaming data
Progress after our summer presentation Use statistics distribution to estimate changes
![Page 16: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/16.jpg)
Top-K
The state-of-the-art Traditional Top-K problem
Combine information for database systems [Fagin]
Approximation on data streams Proposed for data streams under guaranteed
tolerance, but can’t be deployed to P2P.
Super peer based Top-k in P2P Iteratively query
Locality was mentioned, but the method is straight-forward
![Page 17: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/17.jpg)
Top-K (Cont’d.)
Assumptions Based on superpeer-structured P2P networks du
e to the heterogeneity of peers Each super-peer would maintain a routing table
and some metadata for Top-k query
P
P
P
P
P
PP
PSP2
SP1
SP3
SP4
![Page 18: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/18.jpg)
Top-K (Cont’d.)
Problem Query whom? →Locality
space Interest
Query routing (routing table) Reduce the size of table Minimize the communication
peer’s update occurs load balance
T2SP4
T1SP3
T1SP2
TypeNode
![Page 19: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/19.jpg)
Social network + Ontology
The state-of-the-art Similarity computing
Compute the similarity between two nodes/peers, and fix-point scores will be assigned
![Page 20: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/20.jpg)
Social network + Ontology
Our thoughts Using some hierarchical domain structures Ontology / classification
Avril LavigneA: a1, a2B: a3, a4C: a1, b1, b2
Rock
Bon Jovi
a1 a2 a3 a4 b1 b2 b3
![Page 21: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/21.jpg)
Thank You!
![Page 22: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/22.jpg)
What is ontology
A formal, explicit specification of a shared conceptualization
Object
attribute
Objectrelation
Class
Back
![Page 23: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/23.jpg)
Example
![Page 24: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/24.jpg)
Example
Ballet Swim Kung Fu
![Page 25: 2005/11/09 Continuous Queries in P2P Networks. Motivation.](https://reader036.fdocuments.us/reader036/viewer/2022081515/56649d135503460f949e7940/html5/thumbnails/25.jpg)
Example
Ballet Swim Kung Fu
Back