













































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














































11/29/
Data Streams: Lecture 18
11/29/
Data Streams: Lecture 18
11/29/
Data Streams: Lecture 18
Monitor Leach’s Storm Petrel (seabird) nestingactivity
Want frequent measurements, but do not want toenter colony frequently
Solution: Deploy sensors to monitor microclimates
Scientists can follow activity throughout thenesting season
http://www.greatduckisland.net/
11/29/
Data Streams: Lecture 18
Other Examples…
11/29/
Data Streams: Lecture 18
Mote:
Sensor (attaches to Mote)
Berkeley
Mote
11/29/
Data Streams: Lecture 18
Mica2DotMica2Dot
Mica Mote
Mica2Dot
http://computer.howstuffworks.com/mote.htm
11/29/
Data Streams: Lecture 18
Sensors attach via daughtercard
•Weather
–Temperature–Light x 2 (highintensity PAR, lowintensity, fullspectrum)–Air Pressure–Humidity
•Vibration
–2 or 3 axisaccelerometers
•Tracking
–Microphone (for rangingand acoustic signatures)–Magnetometer
GPS
Slide courtesy: Wei Hong,Sam Madden (ICDE 2004)
11/29/
Data Streams: Lecture 18
Low cost, small
Radio off consumes < 1 microamp, receiving10 milliamps, transmitting 25 milliamps
Allow sensing of information at highresolution and with minimal human presnce
Lifetime: days (full power) to months oryears (if power is conserved)
11/29/
Data Streams: Lecture 18
Power Consumption Breakdown 0 908070 6050 40302010
Radio
Sensors
Processor
Hardware Element
Percentage of Total Power
Processor Energy Breakdow 5 0 504540353025201510
Idle
Waitingfor Radio
Waiting
for Sensors
Sending
Processing Phas
11/29/
Data Streams: Lecture 18
Mote Hardware/Software Structure
Mote TinyOS
TinyDB
11/29/
Data Streams: Lecture 18
Motivation - Programming Sensor NetApplications is Hard
Solution – A Tiny Database!
11/29/
Data Streams: Lecture 18
Declarative Query Processor for SensorNetworks
Queries abstract away much of thecomplexity
Platform: Berkeley Motes + TinyOS
11/29/
Data Streams: Lecture 18
SQL-like queries over a sensor network(TinySQL)
Selection, join, projection, aggregation
Support for windows and subqueries
Epoch duration (a.k.a. sample period) – timebetween successive samples
11/29/
Data Streams: Lecture 18
“Blocking operations” (sort and symmetricjoin) not allowed over streams unless awindow is specified