aisp workshop, may 2, 20071 querying in wireless sensor networks bhaskar krishnamachari ming hsieh...
TRANSCRIPT
![Page 1: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/1.jpg)
AISP Workshop, May 2, 2007 1
Querying in Wireless Sensor Networks
Bhaskar Krishnamachari
Ming Hsieh Department of Electrical Engineering
USC Viterbi School of Engineering
![Page 2: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/2.jpg)
2
Example: Interference-Free Channel Allocation
Prior Work: Phase Transitions and Complexity in Wireless Networks
Work with Ramon Bejar, Stephen Wicker, Cesar Fernandez, Bart Selman, Ashish Goel, Sanatan Rai
![Page 3: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/3.jpg)
3
Wireless Sensor Networks
• Large scale networks of small embedded devices, each with sensing, computation and communication capabilities.
• Use of wireless networks of embedded computers “could well dwarf previous milestones in the information revolution” – National Research Council Report: Embedded, Everywhere, 2001.
![Page 4: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/4.jpg)
4
Structural monitoring Bio-habitat monitoring
Military surveillanceDisaster management
Industrial monitoring
Note: images used may be copyrighted. Used here for limited educational purposes only. Not intended for commercial or public use.
Home/building security
Wide Ranging Applications
![Page 5: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/5.jpg)
5
Two Paradigms
• Continuous collection
• Distributed storage and querying
![Page 6: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/6.jpg)
6
Focus of this Talk
• Analysis and Design of Mechanisms for Storage and Querying:
– Fundamental Scaling Laws– Comparison of Push-Pull Query Mechanisms– Enhancing Random Walk-based Queries
![Page 7: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/7.jpg)
7
Fundamental Scaling Lawsfor Store and Query Sensor Networks
Joon Ahn and Bhaskar Krishnamachari, "Fundamental Scaling Laws for Energy-Efficient Storage and Querying in Wireless Sensor Networks", ACM MobiHoc, May 2006.
![Page 8: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/8.jpg)
8
• Race between increasing supply and demand:
- Energy and storage
- Application-specific event and query traffic
• The winner of this race determines scalability.
In a Nutshell
![Page 9: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/9.jpg)
9
• N nodes deployed in a 2D area with constant density for some time duration T
• m atomic events and qi queries for the ith event, all uniformly distributed
• Can create ri replicas for event i to reduce search cost (at the expense of increased replication cost)
• Each transmission incurs a unit energy cost
Preliminaries
![Page 10: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/10.jpg)
10
Data-Centric Querying Approaches
• Unstructured: expanding ring searches, random walks.
• Structured: Geographic Hash Table, DIFS, DIM
![Page 11: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/11.jpg)
11
Energy Cost Scaling
• Creplication = c1
r : # of copies of an event
N : # of nodes
• Csearch(unstructured) = c2 • Csearch(structured) = c3
EVENTEVENT REPLICATIONUNSTRUCTURED QUERYSTRUCTURED QUERY
![Page 12: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/12.jpg)
12
Energy Optimization Formulation
S : total storage size
m : the total number of events
qi : the query rate for ith event
ri : the number of copies of ith event
Cs(ri) : the expected minimum search cost of ith event
Cr(ri) : the expected replication cost of ith event
Cr(r) = c1 Cs(r) = c2
![Page 13: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/13.jpg)
13
Optimization Solution
Minimizer
The Optimized Total Cost
(inactive constraint)
(active constraint)
qi : # of queries for event i
N : # of nodesS : total storage
sizem : # of events
![Page 14: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/14.jpg)
14
Optimal Total Cost
Simplified, assuming : q : # of queries per event
N : # of nodesS : total storage
sizem : # of eventsif
if
![Page 15: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/15.jpg)
15
Illustration of Energy Scaling
m : # of eventsq : # of queries
per event
![Page 16: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/16.jpg)
16
I - Storage and Energy Scalability Results
Energy Condition
The energy requirement per node is bounded
if and only if mq1/2 = O(N1/4)
Energy constraint is stricter than storage constraint
m : # of eventsq : # of queries per eventN : # of nodes
Storage ConditionA network scales efficiently with bounded storage per node
if mq1/2 = o(N3/4)
![Page 17: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/17.jpg)
17
II - Fixed Energy Budget Results
S – successful operation region
N : # of nodese: per-node energy budget
![Page 18: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/18.jpg)
18
III - Network Lifetime Scaling Results
Network Lifetime as a function of Network Size
![Page 19: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/19.jpg)
19
Summary• Only certain classes of applications can be sustained in arbitrarily
large sensor networks.
• Specifically, if mq1/2 = O(N1/4) for unstructured networks, and mq2/3 = O(N1/2) for structured networks:
a. The network can operate with bounded energy and storage per node.
b. The network lifetime does not decrease with network size for a given energy budget.
• These results generalize in a straightforward manner to 1D and 3D deployments. 3D deployments are inherently more scalable.
• The results can be reinterpreted to understand how to tier sensor networks into zones with localized queries
![Page 20: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/20.jpg)
20
Comparison of Push-Pull Schemesfor Querying
Shyam Kapadia and Bhaskar Krishnamachari, "Comparative Analysis of Push-Pull Query Strategies for Wireless Sensor Networks," DCOSS, 2006.
![Page 21: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/21.jpg)
21
Overview
• Two Hybrid Push-Pull Schemes: – Geographic Hash Tables/Data Centric Storage [1]– Comb-Needles [2]
[1] S. Shenker et al., Data-centric storage in sensornets, ACM CCR, Jan 2003.
[2] X. Liu et al., Combs, needles, haystacks: balancing push and pull for discovery in large-scale sensor networks, ACM SenSys '04.
![Page 22: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/22.jpg)
22
- sink/querier
- source/event node
-Hashed location where events are stored
N
N
Data Centric Storage (DCS)
![Page 23: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/23.jpg)
23
- sink/querier
- source/event node
Needles
Query path (comb)
s
N
N
Comb Needles (CN)
![Page 24: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/24.jpg)
24
Model Assumptions• Square Grid of N nodes• Sink located at left-bottom corner • Events (say E) valid for an epoch
– Single attribute (event type)
– Uniform distribution of events across nodes
• Energy measured in number of unicast transmissions• Query probability Q• Aggregation
– One packet summary of all events
• No modeling of collisions and contention
![Page 25: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/25.jpg)
25
0 10 20 30 40 50 60 70 80 90 1000
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Average no of events (E)
Qu
ery
Pro
ba
bili
ty (
Q) DCS is better
CN is better
ALL-Type Query: DCS vs CN (Without Summaries)
(2 2 )CNC N Q Q E E Q
![Page 26: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/26.jpg)
26
0 10 20 30 40 50 60 70 80 90 1000
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Average no of events (E)
Qu
ery
Pro
ba
bili
ty (
Q)
CN is better
DCS is better
ALL-Type Query: DCS vs CN (With Summaries)
Θ ~ 39.78
2 2 4CNC N Q E N Q
![Page 27: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/27.jpg)
27
0 1 2 3 4 5 6 7 8 9 100
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Average no of events (E)
Qu
ery
Pro
ba
bili
ty (
Q)
DCS is better
SCN is better
upper
lower
ANY-Type Query: DCS vs SCN
Θlower ~ 1.56
Θupper ~ 3.16
22 2
1 1SCN
N Q E NC
E E
![Page 28: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/28.jpg)
28
Random Walk QueriesFor Heterogeneous Networks
Marco Zuniga, Chen Avin, and Bhaskar Krishnamachari, "Using Heterogeneity to Enhance Random Walk-based Queries," USC Computer Engineering Technical Report CENG-2006-8, August 2006.
![Page 29: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/29.jpg)
29
Random Walk QueriesFor Heterogeneous Networks
Marco Zuniga, Chen Avin, and Bhaskar Krishnamachari, "Using Heterogeneity to Enhance Random Walk-based Queries," USC Computer Engineering Technical Report CENG-2006-8, August 2006.
![Page 30: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/30.jpg)
30
Simple Enhancementfor Heterogeneous Networks
• Push event greedily to high degree nodes (local maximum)
• Querier issues simple random walk
![Page 31: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/31.jpg)
31
Simulation Results
A small fraction of high-degree cluster-heads (<10%) can provide a query cost improvement between 30% and 90%.
![Page 32: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/32.jpg)
32
Analysis on Linear Topology
dk k
![Page 33: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/33.jpg)
33
Resistance Method
• Hitting time (huv) : expected time taken by a random walk starting at u to reach.
• Commute time (Cuv) : expected time taken by a random walk starting at u to reach v and come back to u.
• Cuv = huv + hvu , in general huv ≠ hvu but in case of symmetry huv = hvu
1 ohm resistors
Cuv = 2 m Ruv
• m : number of edges
• Ruv : effective resistance between u and v
Chandra et al., 1989, The electrical resistance of a graph captures its commute and cover times, ACM STOC
![Page 34: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/34.jpg)
34
dk
Region 1
Region 2
Region 3
r(k) r(k)
k
k
d
k
d
3 Regions
2k <= d
k < d <2k
d <= k
![Page 35: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/35.jpg)
35
Region 1 [ 2k <= d]
dk k
![Page 36: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/36.jpg)
36
d-kr(d-k)
1/2
< <
=α = 2k-d
d-k
r(d-k)
1/2
Region 2 [ k < d < 2k ]
α
r(d-k)
r(d-k)
r(d-k)
r(d-k)
![Page 37: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/37.jpg)
37
=
Region 3 [ d =k ]
d
![Page 38: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/38.jpg)
38
Expected Hitting Time
![Page 39: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/39.jpg)
39
Result
The first local minima for the query cost is obtained when the fraction of high-degree nodes is 4/5k, where cost is reduced by a factor of Θ(k2)
![Page 40: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/40.jpg)
40
Enhancing Random Walks Using Power of Choice
Chen Avin and Bhaskar Krishnamachari, "The Power of Choice in Random Walks: An Empirical Study," 9th ACM/IEEE International Symposium on Modeling, Analysis and Simulation of Wireless and Mobile Systems, (MSWiM), Malaga, Spain, October 2006. (Best Paper Award)
![Page 41: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/41.jpg)
41
Cover Time Visit Load
![Page 42: AISP Workshop, May 2, 20071 Querying in Wireless Sensor Networks Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC Viterbi School](https://reader035.vdocuments.us/reader035/viewer/2022062800/56649dea5503460f94ae50dc/html5/thumbnails/42.jpg)
42
Thanks