Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for...

22
2005/08/03 I-Tsung Shen, MNet Lab 1 Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004

Transcript of Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for...

Page 1: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 1

Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large-Scale Sensor Networks

X. Liu, Q. Huang and Y. ZhangSenSys 2004

Page 2: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 2

OutlineIntroductionComb-Needle Discovery support modelSimulationReliabilityAdaptive comb-needle StrategyConclusion and Discussion

Page 3: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 3

IntroductionMany emerging sensor network applications involve dissemination of observed information to interested clients.

Fire emergency systemEcological environment observationBattlefield monitoring

Page 4: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 4

IntroductionFlooding is a simplest method for obtaining data from a large scale sensor network.

Large costMany strategies have been proposed to reduce the cost of discovery and query in large scale sensor network.

Improve flooding efficiencyReduce discovery/query cost by taking into account application semanticsReduce search cost by using distributed indexing scheme

Page 5: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 5

Introduction(Push-based) Sensor nodes push the sensed information throughout the network.

(Pull-based) The soldier broadcast a query for the information when it is needed.

Page 6: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 6

IntroductionGoal

To investigate efficient and reliable routing mechanisms for supporting queries in large scale ad hoc wireless sensor networks.

This paper intend to combine the advantages of both push and pull strategies and build an efficient query-support mechanism that adapts to the frequencies of query and events

Page 7: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 7

Comb-Needle Discovery support modelEach sensor node pushes its data to a certain neighborhood and the query is disseminated only to a subset of the network.

The query process builds a routing structure dynamically that resembles a comb.The sensor nodes push the data duplication structure like a needle.

Page 8: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 8

Comb-Needle Discovery support modelThe principle of the comb-needle structure:

Adjust the communication strategy based on the frequency of the query and events.

Assuming that events and discovery queries occur uniformly in space and time across the sensor network.

fq: the arrival frequency of discovery queries.fe: the arrival frequency of relevant events.

Page 9: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 9

Comb-Needle Discovery support modelCompute the minimum push/pull cost

Each node sends its data push to 2l of its vertical neighbors.

Data push cost: Cl ∼ 2l

The query process first sends the query vertically then fans out horizontally.

Query dissemination cost:

Page 10: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 10

Comb-Needle Discovery support modelCompute the minimum push/pull cost

The total cost per query:

This minimum of the cost is around

The query cost is reduced to O(√N)

Page 11: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 11

Comb-Needle Discovery support modelThe proposed model can cover the whole spectrum of the push and pull strategies.

fq < fe : the global-pull-local push modelfq = fe : special push-pull strategyfq > fe : reverse combing

Page 12: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 12

Comb-Needle Discovery support model

Page 13: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 13

SimulationThe simulation environment:

Radio propagation Model

Topology ModelRandom grid topology

Routing ProtocolConstrained Geographical Flooding (CGF)Define CFG width (w), inter-spike distance (s), and the needle push length(l)

Page 14: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 14

SimulationGiven query rate and event rate, what is the best spacing for the comb.

fq = 0.1p/s fe = 1p/sfq = 0.1p/s fe = 0.1p/s

Page 15: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 15

SimulationShowing the robustness of the protocol with a varying query (CGF) width

fq = 0.1p/s, fe = 1p/sl=1, s =3

Page 16: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 16

ReliabilityWireless links are unreliable due to the nature of wireless communications.This paper study some reliable query and report strategies.

Local re-enhancementUse interleaving pathsRedundancy scheme

Spacial redundancy

Page 17: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 17

ReliabilitySpacial redundancy

Constructing an additional vertical query propagation path (level-2 redundancy)Extending the needle length to 2s

Called 2-level redundancy schemeeach report can reach two nodes that are on the query propagation path.

Page 18: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 18

Reliability

Page 19: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 19

Adaptive comb-needle StrategyIn practice, the query and event frequencies may be time-varying, and thus a good query strategy should adapt to such changes.Based on the estimate of fq and fd , the query node calculates s.

fd : the probability that a query in generated in a time slot

Page 20: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 20

Adaptive comb-needle StrategyData node estimates the total needle length L by using the query success probability.

Since the value of fd is small, the value of s obtain form previous queries are important for estimating L.

Obtaining s when its data is successfully queriedRotation of the query horizontal duplications

Page 21: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 21

Adaptive comb-needle Strategy

Page 22: Combs, Needles, Haystacks: Balancing Push and Pull for ...€¦ · Balancing Push and Pull for Discovery in Large-Scale Sensor Networks X. Liu, Q. Huang and Y. Zhang SenSys 2004.

2005/08/03 I-Tsung Shen, MNet Lab 22

Conclusion and DiscussionThis paper proposed the comb-needle model for supporting queries in large scale sensor networks.Some enhancement of the reliable schemes have proposed.An adaptive comb-needle Strategy have proposed for the query and event frequencies time-varying environment.The total cost is reduced to O(√N)