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

23
Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California Qingfeng Huang and Ying Zhang Palo Alto Research Center (PARC) Inc. SenSys 2004 Presenter Ruey-Chang Chang

Transcript of Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin...

Page 1: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large

Scale Sensor Networks

Xin LiuDepartment of Computer ScienceUniversity of California

Qingfeng Huang and Ying ZhangPalo Alto Research Center (PARC) Inc.

SenSys 2004

Presenter : Ruey-Chang Chang

Page 2: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

2

Outline

Introduction The combing strategy Adaptive comb-needle strategy Simulation Conclusion

Page 3: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

3

Push-based

Page 4: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

4

Pull based

Page 5: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

5

Introduction

Push-pull strategies for discovery– Push-based

The push-based strategy is efficient when there are many sinks constantly in need of the information

A lot of broadcast bandwidth is wasted– Pull-based

The pull-based strategy is relative more efficient than the push-based strategy when the frequency of query is relatively low compared to the frequency of the interested event

– Hybrid (a comb-needle strategies) Combine the advantages of both push and pull strategies

Page 6: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

6

Hybrid (a comb-needle strategies)

Page 7: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

7

The combing strategy

In the comb-needle model– Each 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 node push the data duplication structure like a needle

Page 8: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

8

The combing strategy

l

s

Page 9: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

9

The total cost per query

Cost of Query dissemination

Cost of Query response per each node

Cost of Query response

Cost of data push

fe:the arrival frequency of discovery queriesfq:the arrival frequency of relevant events

Page 10: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

10

The minimal cost

s=2l+1

l

s

sink

sensor

l

s

sink

sensor

Page 11: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

11

Routing protocol

Constrained Geographical Flooding– Whenever a new packet arrives, each node will decide if it

should rebroadcast the packet according to the geographical constraints W

W

Page 12: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

12

fqfe(Global-pull-local-push)

push

pullsink

sensor

Page 13: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

13

fq=fe

push

push

pull

Page 14: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

14

fqfe(Global-push-local-pull)

This paper focuses on fqfe

push

pull

Page 15: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

15

Adaptive comb-needle strategy

The query and event frequencies may be time-varying ,and thus a good query strategy should adapt to such change

fe:the arrival frequency of discovery queries

fq:the probability that a query is generated in a time slot

fd:the probability that a sensor node detects an event in a time slot

Page 16: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

16

Simulation1

fq/fe=0.1(fe= 1 packet/second,fq= 0.1p/s) l={0,1,2,3} s={1,3,5,7} Node:? Simulation:? Topology:grid

Page 17: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

17

Energy consumption(fq/fe=0.1)

L=1 S=3

Page 18: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

18

Energy consumption(fq/fe=1)

L=2 S=5

Page 19: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

19

Energy consumption

Page 20: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

20

Simulation2

3000 time slots 20*20 grid

Page 21: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

21

The query and the event frequency

Page 22: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

22

Adaptive comb vs. ideal comb

Page 23: Combs, Needles, Haystacks: Balancing Push and Pull for Discovery in Large Scale Sensor Networks Xin Liu Department of Computer Science University of California.

23

Conclusion

The comb-needle model– A simple yet efficient data discovery scheme for

supporting queries– A substrate for study the benefit of balancing

push and pull in data gathering and dissemination– Covers a spectrum of the push and pull schemes– An adaptive comb-needle strategy for cases

where the utilization patterns and environmental activity frequency are time-frequency