Top Banner
Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan, and Prashant Shenoy University of Massachusetts, Amherst (*PRE dictive STO rage)
30

Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

Dec 22, 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: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

Department of Computer ScienceUniversity of Massachusetts, Amherst

PRESTO: Feedback-driven Data Management in Sensor Network

Ming Li, Deepak Ganesan, and Prashant ShenoyUniversity of Massachusetts, Amherst

(*PREdictive STOrage)

Page 2: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Emerging large-scale sensor networks

◊ Hierarchical wireless networks composed of low power sensors.

◊ Enables densely and closely monitoring of phenomena.

Tracking

Surveillance

Structure/Machinery Monitoring

Page 3: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Hierarchical Sensor Network Architecture

Internet

Client Data Browsing, Querying and Processing

Mesh Network

Base-station

Sensor Proxy

Remote Sensors

Sensor Proxy

Remote Sensors

Page 4: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Approaches to Proxy-Sensor Interaction

Sensor-centric Architecture Proxy-centric Architecture

Page 5: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Proxy-Centric Architecture

◊ Overview Proxy determines when to pull

data, which sensor to query, and what data to pull using complex modeling and query processing mechanisms.

◊ Pros: Intelligence placed where

resources are available. More complex algorithms possible.

◊ Cons: Cannot capture anomalies. Less energy-efficiency Greater query error.

BBQ [Deshpande04]

Page 6: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor-Centric Architecture

◊ Overview Forward queries into the

sensor network. Perform data fusion, query processing and filtering within the network.

◊ Pros: Greater query accuracy Better energy-efficiency.

◊ Cons: Greater sensor complexity. Greater query latency. Directed Diffusion [Heidemann01]

Page 7: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

PRESTO Model

Sensor-centric Proxy-centricPRESTO

Page 8: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Key Ideas in PRESTO

◊ Steal from the rich (proxy) and give to the poor (sensors).

◊ Exploit predictable structure in sensor data when possible.

◊ Adapt to data & query dynamics to minimize energy usage.

◊ Exploit low-power storage for efficient archival querying.

Page 9: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Outline

◊ Motivation◊ Key Ideas◊ Example◊ ARIMA Model◊ Evaluation◊ Summary & Future Work

Page 10: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor Proxy

Example-Modeling

Data

11 −− += ttt eXX θModel

11 −− += ttt eXX θ

Build Model

Page 11: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor

Example-Model Driven Push

?|| δ>− tt XT

Proxy

tX

tt confX ,Predict

11 −− += ttt eXX θ

Predict11 −− += ttt eXX θ

11, −− tt eX

11, −− tt eX

tT

Yes tT

Page 12: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor

Example-Query

ProxyQuery

What is the reading at time t with confidence c?

tt confX ,

?cconft ≤Yes tXNoPull Tt

Page 13: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor Proxy

Example-Feedback

11 ' −− += ttt eXX θ

Build Model

11 −− += ttt eXX θ

11 ' −− += ttt eXX θModel

Page 14: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor

Example - Update Cache after Push

Push Tt

Proxy

Interpolation

Ttt eTT

TtXX

'

''

−−

−=

Interpolation

Ttt eTT

TtXX

'

''

−−

−=

Page 15: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Sensor

Example - Update Cache after Pull

Pull Tt

Proxy

Interpolation

Interpolation

Re-prediction

Re-prediction

Page 16: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Outline

◊ Motivation◊ Key Ideas◊ Example◊ ARIMA Model◊ Evaluation◊ Summary & Future Work

Page 17: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Goals

◊ Catches data trends

◊ Easy to compute on sensors

Page 18: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Data Trends

◊ Temperature data trace shows very obvious temporal trend

◊ Shows both long term trend and short term trend.

Seasonal Period

Page 19: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Data Trends

◊ ARIMA model can catch both of these trends

( ) ( ) (1 ) (1 ) ( ) ( )S S D d SP p t Q q tB B B B X B B eφ θΦ ⋅ ⋅ − ⋅ − ⋅ =Θ ⋅ ⋅

Long Term Trend

Short Term Trend

Page 20: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Computation

◊ Easy to predict Five additions and three multiplies

1111 ' −−−−−−−− Θ+Θ−+−+= StSttStSttt eeeXXXX θ

Previous prediction results Previous prediction errors

Page 21: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Outline

◊ Motivation◊ Key Ideas◊ Example◊ ARIMA Model◊ Evaluation◊ Summary & Future Work

Page 22: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Evaluations

◊ Both numerical simulations and real deployments

◊ Test Bed: 1 Stargate (Proxy) / 20 Tmote’s (Sensor) 1 Stargate acts as emulator

◊ Data Trace: James Reserve

Page 23: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Micro Benchmark

Component OperationEnergy (nJ)

NAND Flash20B Read + 8B Write

152

MSP430 Processor

Predict 1 Sample 24

CC2420 Radio

Transmit 1 byte 2000

Model Asymmetry

Component Operation Energy (nJ)

Stargate Model Building 11000

Telos MotePredict 1 Sample

24

Cost of model building is 500x more than prediction

Total cost of prediction and storage is 10x less than communication.

Breakdown of Energy Costs

Page 24: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Model-driven Push Performance

◊ Matlab simulation shows that Model-driven push performs better than model-driven pull.

Page 25: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Scalability

◊ Impact of System Scale Uses emulator to get large network scale

Support up to 100 sensor nodes per proxy

Page 26: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Scalability

◊ Impact of Query Frequency System adapts to high query frequency. Query latency does increase with query frequency

Most of the queries are answered using proxy cache

Page 27: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Adaptation

◊ Adapt to query dynamics Reduce query latency by 50% compared to

before adaptation

Adapt to the low query tolerance after a short period

Average query tolerance changes to a lower value which brings more pulls

Page 28: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Adaptation

◊ Adapt to data dynamics Reduce communication by 30% compared to

non-adaptive scheme

Reduces 30% of communications

Page 29: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Failure Detection

◊ Detect sensor failure using pulling messages Detection latency decreases with query interval,

as well as query tolerance.

Longest detection latency less than 2 hours

Page 30: Department of Computer Science University of Massachusetts, Amherst PRESTO: Feedback-driven Data Management in Sensor Network Ming Li, Deepak Ganesan,

UNIVERSITY OF MASSACHUSETTS, AMHERST

Summary and Future Work