Top Banner
Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint work with Q. Huang & Y. Zhang, PARC
54

Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Comb, Needle, and Haystacks:Balancing Push and Pull for Information Discovery

Xin LiuDepartment of Computer Science

University of California, Davis

Joint work with Q. Huang & Y. Zhang, PARC

Page 2: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Comb-Needle Query Structure

Objective Simple, reliable, and efficient on-demand

information discovery mechanisms Constraints

Limited communication capacity and battery power

Page 3: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Where are the tanks?

Page 4: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Pull-based Strategy

Page 5: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Pull-based Cont’d

Page 6: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Push-based Strategy

Page 7: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Comb-Needle Structure

Page 8: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Application Scenarios

On-demand information query Any node can be the query entry point Queries may be generated at anytime Events can happen anywhere and anytime Examples:

Firefighters query information in the field Surveillance

Assume sensor nodes know their locations

Page 9: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

When an Event Happens

Event

Page 10: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

When a Query is Generated

Event

Query

Event

Page 11: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Tuning Comb-Needle

Page 12: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Reverse Comb

Query

Event

When query frequency > event frequency

Page 13: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

The Spectrum of Push and Pull

Pull Push

Global pull +Local push

Global push +Local pull

Push & Pull

Inter-spike spacing increases

Reverse comb

Relative query frequency increases

Page 14: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Comparison

Page 15: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Simulations

Radio model Path loss and random error

Topology model Regular grid with random shifts

Routing Constrained Geographical Flooding (CFG) for

random topology Based on simulator Prowler

Page 16: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

An instance of connectivity

Page 17: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Simulation Cont’d

f_e=1f_q=0.1

Page 18: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Simulation Cont’d

f_e=1f_q=1

Page 19: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Random Topology

Page 20: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Constrained geographical flooding

Needles and combs have certain widths

Page 21: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Success Rate

Page 22: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Power consumption

Page 23: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

A few issues

Adaptive scheme Reliability Single fixed query entry point Yes-or-No query

Page 24: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Adaptive Scheme

Comb granularity depends on the query and event frequencies

Nodes estimate the query and event frequencies Important to match needle length and inter-spike

spacing Comb rotates

Load balancing Broadcast information of current inter-spike spacing

Page 25: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

An illustration

Regular grid Communication cost: hop counts No node failure Adaptive scheme

Page 26: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Event & Query Frequencies

Page 27: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Tracking the Ideal Inter-Spike Spacing

Page 28: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Simulation Results

Gain depends on the query and event frequencies Even if needle length < inter-spike spacing, there is a

chance of success. Tradeoff between success ratio and cost

99.33% success ratio and 99.64% power consumption compared to the ideal case

Page 29: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Strategies for Improving Reliability

Local enhancement Interleaved mesh Routing update

Spatial diversity Correlated failures Enhance and balance query success rate at

different geo-locations

Page 30: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Spatial Diversity

Query

xEvent

Page 31: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Fixed-Node Query

Only one fixed query entry point Depends on relative frequency Depends on the length of the query

E.g., 5 seconds vs. 30 minutes

Page 32: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Numerical illustration

Page 33: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Binary query

Is there a tank in the field? Ans: Yes or No. If not delay sensitive

Sequential query process Optimal comb width is shorter

Intuition: can stop earlier

Page 34: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Numerical illustration

Page 35: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Summary

Balance query cost vs. event report cost Adapt to system changes

Pull Push

Global pull +Local push

Global push +Local pull

Push & Pull

Relative query frequency increases

Page 36: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Future work

Data compression A more realistic model for communication

cost Build a fixed comb structure for random

networks for better success rate What if no/limited location knowledge? Consider delay tradeoff Accommodate sleep-awake pattern

Page 37: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Page 38: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Joint work with P. Mohapatra, C. Chuah, P. Cheng

On the Deployment of Wireless Sensor Networks

Page 39: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Many-to-One Communication

Page 40: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Network Deployment

Many-to-one communication Data from all nodes directed to a sink

node/fusion center Unbalanced traffic load Uneven power consumption

Limitations on network lifetime if uniformly distributed “Important” nodes in the route die quickly

Capacity bottleneck and Power bottleneck Desire for long-lived sensor networks

Linear and planar networks

Page 41: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Precise placement With access Expensive nodes Higher layer of a hierarchical structure

Random placement No access Cheap nodes Lower layer of the hierarchy Coverage and connectivity properties

Precise vs. Random Placement

Page 42: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Maximize coverage area Given the desired lifetime and # of node

available Maximize the lifetime of the network

Given the number of nodes and coverage area Minimize the number of nodes required

Given the coverage area and the desired lifetime

Consider large networks with long lifetime requirements

Objectives

Page 43: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Why linear networks? Applications: Traffic monitoring, border line control,

train rail monitoring, etc. Abstract model for narrow-and-long applications

Duck island Tractability, insights for general cases

Highly asymmetric traffic load & location-dependent power consumption

Focus on communications What options do we have?

Linear Networks

Page 44: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Possible Solutions

More energy for nodes with heavier load

More nodes in the area closer to the sink

Nodes closer to each other

Load balancingPlacement involves

topology control, routing, power allocation

Page 45: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

System Model

Page 46: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Total energy constraint: (n-1)E Energy can be arbitrarily allocated among

nodes The network dies when no energy left

Thus,

i

Total Energy Constraint

Page 47: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Problem Formulation

Numerical results as benchmark

Page 48: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Homogenous initial energy allocation Observation: longer hops consume

more energy “jump” may not be a good idea

Observation: we do not want residual energy when the network dies. Power consumption per unit time should

be the same for all nodes Consider large T (desired lifetime)

A Greedy Algorithm

Page 49: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

A Greedy Algorithm

Page 50: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Numerical Result

Page 51: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Performance Analysis

Lifetime, power, and coverage

=4, 19% more node to double lifetime

=4, 138% more node to double coverage

Page 52: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

Extensions

Miscellaneous power consumption PT=c1+ R d

PR = c2

Transmit at max power at max rate to near nodes Similar results hold Intuition: shorter links, higher rate, less time for T/R.

Non-uniform traffic density Estimation errors on traffic density during the

deployment

Page 53: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05

The effect of arbitrary energy allocation is negligible

Greedy algorithm Compensate for nodes with heavy load by

reducing communication distance Performs very well and adapts to various

conditions 2-D case Data aggregation

Summary

Page 54: Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Department of Computer Science University of California, Davis Joint.

Berkeley, 04/20/05