Data Compression Algorithms for Energy-Constrained Devices in Delay Tolerant Networks Christopher Sadler Margaret Martonosi Princeton University.

Slides:



Advertisements
Similar presentations
SoNIC: Classifying Interference in Sensor Networks Frederik Hermans et al. Uppsala University, Sweden IPSN 2013 Presenter: Jeffrey.
Advertisements

CS 443 Advanced OS Fabián E. Bustamante, Spring 2005 Implementing Software on Resource-Constrained Mobile Sensors: Experiences with Impala and ZebraNet.
Optimization of intrusion detection systems for wireless sensor networks using evolutionary algorithms Martin Stehlík Faculty of Informatics Masaryk University.
1 Wireless Sensor Networks Akyildiz/Vuran Administration Issues  Take home Mid-term Exam  Assign April 2, Due April 7  Individual work is required 
Impala: A Middleware System for Managing Autonomic, Parallel Sensor Systems Ting Liu and Margaret Martonosi Princeton University.
Dynamic Data Compression in Multi-hop Wireless Networks Abhishek B. Sharma (USC) Collaborators: Leana Golubchik Ramesh Govindan Michael J. Neely.
CSCI 3280 Tutorial 6. Outline  Theory part of LZW  Tree representation of LZW  Table representation of LZW.
Broadcasting Protocol for an Amorphous Computer Lukáš Petrů MFF UK, Prague Jiří Wiedermann ICS AS CR.
Monday, June 01, 2015 ARRIVE: Algorithm for Robust Routing in Volatile Environments 1 NEST Retreat, Lake Tahoe, June
1 ENERGY: THE ROOT OF ALL PERVASIVENESS Anthony Ephremides University of Maryland April 29, 2004.
Compressive Oversampling for Robust Data Transmission in Sensor Networks Infocom 2010.
Distributed Regression: an Efficient Framework for Modeling Sensor Network Data Carlos Guestrin Peter Bodik Romain Thibaux Mark Paskin Samuel Madden.
1 On Handling QoS Traffic in Wireless Sensor Networks 吳勇慶.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
Aggregation in Sensor Networks NEST Weekly Meeting Sam Madden Rob Szewczyk 10/4/01.
SANS A Simple Ad hoc Network Simulator Nicolas Burri Roger Wattenhofer Yves Weber Aaron Zollinger.
Compression & Huffman Codes Fawzi Emad Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Implementing Software on Resource- Constrained Mobile Sensors: Experience with Impala and ZebraNet Ting Liu Christopher M. Sadler Pei Zhang Margaret Martonosi.
The Impact of Spatial Correlation on Routing with Compression in WSN Sundeep Pattem, Bhaskar Krishnamachri, Ramesh Govindan University of Southern California.
Code and Decoder Design of LDPC Codes for Gbps Systems Jeremy Thorpe Presented to: Microsoft Research
Compressibility of WML and WMLScript byte code:Initial results Eetu Ojanen and Jari Veijalainen Department of Computer Science and Information Systems.
TPS: A Time-Based Positioning Scheme for outdoor Wireless Sensor Networks Authors: Xiuzhen Cheng, Andrew Thaeler, Guoliang Xue, Dechang Chen From IEEE.
Adaptive Self-Configuring Sensor Network Topologies ns-2 simulation & performance analysis Zhenghua Fu Ben Greenstein Petros Zerfos.
Maximizing the Lifetime of Wireless Sensor Networks through Optimal Single-Session Flow Routing Y.Thomas Hou, Yi Shi, Jianping Pan, Scott F.Midkiff Mobile.
A Transmission Control Scheme for Media Access in Sensor Networks Alec Woo, David Culler (University of California, Berkeley) Special thanks to Wei Ye.
RACE: Time Series Compression with Rate Adaptivity and Error Bound for Sensor Networks Huamin Chen, Jian Li, and Prasant Mohapatra Presenter: Jian Li.
Data Compression Algorithms for Energy-Constrained Devices in Delay Tolerant Networks Christopher M. Sadler and Margaret Martonosi In: Proc. of the 4th.
External Sorting Chapter 13.. Why Sort? A classic problem in computer science! Data requested in sorted order  e.g., find students in increasing gpa.
Modeling Data-Centric Routing in Wireless Sensor Networks Bhaskar Krishnamachari, Deborah Estrin, Stephan Wicker.
Data Structures and Algorithms Huffman compression: An Application of Binary Trees and Priority Queues.
Compression is the reduction in size of data in order to save space or transmission time. And its used just about everywhere. All the images you get on.
15-853Page :Algorithms in the Real World Data Compression II Arithmetic Coding – Integer implementation Applications of Probability Coding – Run.
CS 712 | Fall 2007 Using Mobile Relays to Prolong the Lifetime of Wireless Sensor Networks Wei Wang, Vikram Srinivasan, Kee-Chaing Chua. National University.
Sharanya Eswaran, Penn State University Matthew Johnson, CUNY Archan Misra, Telcordia Technolgoies Thomas La Porta, Penn State University Utility-driven.
1 Secure Cooperative MIMO Communications Under Active Compromised Nodes Liang Hong, McKenzie McNeal III, Wei Chen College of Engineering, Technology, and.
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS 2007 (TPDS 2007)
296.3Page 1 CPS 296.3:Algorithms in the Real World Data Compression: Lecture 2.5.
The Chinese Univ. of Hong Kong Dept. of Computer Science & Engineering POWER-SPEED A Power-Controlled Real-Time Data Transport Protocol for Wireless Sensor-Actuator.
Fundamental Structures of Computer Science Feb. 24, 2005 Ananda Guna Lempel-Ziv Compression.
Wireless Sensor Networks COE 499 Energy Aware Routing
Introduction to Wireless Sensor Networks
A Simple Distributed Method for Control over Wireless Networks Authors: Miroslav Pajic, Shereyas Sundaram, George J. Pappas and Rahul Mangharam Presented.
X1X1 X2X2 Encoding : Bits are transmitting over 2 different independent channels.  Rn bits Correlation channel  (1-R)n bits Wireless channel Code Design:
Multimedia Data Introduction to Lossless Data Compression Dr Sandra I. Woolley Electronic, Electrical.
ENERGY-EFFICIENT FORWARDING STRATEGIES FOR GEOGRAPHIC ROUTING in LOSSY WIRELESS SENSOR NETWORKS Presented by Prasad D. Karnik.
Lan F.Akyildiz,Weilian Su, Erdal Cayirci,and Yogesh sankarasubramaniam IEEE Communications Magazine 2002 Speaker:earl A Survey on Sensor Networks.
RIDA: A Robust Information-Driven Data Compression Architecture for Irregular Wireless Sensor Networks Nirupama Bulusu (joint work with Thanh Dang, Wu-chi.
PRoPHET+: An Adaptive PRoPHET- Based Routing Protocol for Opportunistic Network Ting-Kai Huang, Chia-Keng Lee and Ling-Jyh Chen.
Mitigating Congestion in Wireless Sensor Networks Bret Hull, Kyle Jamieson, Hari Balakrishnan Networks and Mobile Systems Group MIT Computer Science and.
Fundamental Data Structures and Algorithms Margaret Reid-Miller 24 February 2005 LZW Compression.
Data Compression Meeting October 25, 2002 Arithmetic Coding.
Junfeng Xu, Keqiu Li, and Geyong Min IEEE Globecom 2010 Speak: Huei-Rung, Tsai Layered Multi-path Power Control in Underwater Sensor Networks.
Opportunistic Flooding in Low-Duty- Cycle Wireless Sensor Networks with Unreliable Links Shuo Goo, Yu Gu, Bo Jiang and Tian He University of Minnesota,
Toward a Packet Duplication Control for Opportunistic Routing in WSNs Georgios Z. Papadopoulos, Julien Beaudaux, Antoine Gallais, Periklis Chatzimisios,
CS654: Digital Image Analysis Lecture 34: Different Coding Techniques.
Tufts Wireless Laboratory School Of Engineering Tufts University Paper Review “An Energy Efficient Multipath Routing Protocol for Wireless Sensor Networks”,
Adaptive Sleep Scheduling for Energy-efficient Movement-predicted Wireless Communication David K. Y. Yau Purdue University Department of Computer Science.
KAIS T Using Mobile Relays to Prolong the Lifetime of Wireless Sensor Networks Wei Wang, Vikram Srinivasan, Kee-Chaing Chua MobiCom ‘05 Presentation by.
By: Gang Zhou Computer Science Department University of Virginia 1 Medians and Beyond: New Aggregation Techniques for Sensor Networks CS851 Seminar Presentation.
2016/2/19 H igh- S peed N etworking L ab. Using Soft-line Recursive Response to Improve Query Aggregation in Wireless Sensor Networks High-Speed Networking.
Energy-Efficient Protocol for Cooperative Networks.
Data funneling : routing with aggregation and compression for wireless sensor networks Petrovic, D.; Shah, R.C.; Ramchandran, K.; Rabaey, J. ; SNPA 2003.
Introduction to Wireless Sensor Networks
Exploiting Sink Mobility for Maximizing Sensor Networks Lifetime Z. Maria Wang, Emanuel Melachrinoudis Department of Mechanical and Industrial Engineering.
Structure-Free Data Aggregation in Sensor Networks.
Energy Efficient Data Management in Sensor Networks Sanjay K Madria Web and Wireless Computing Lab (W2C) Department of Computer Science, Missouri University.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Ting Liu Christopher M. Sadler Pei Zhang Margaret Martonosi
Data Collection and Dissemination
Data Collection and Dissemination
Presentation transcript:

Data Compression Algorithms for Energy-Constrained Devices in Delay Tolerant Networks Christopher Sadler Margaret Martonosi Princeton University

2 Why do we care about Compression in Sensor Networks? Short Range 125 m Med. Range 300 m Long Range 15 km Success = Energy Savings Energy = Compute Energy + Transmit Energy ~2 Million! ~32,000 ~4,000

3 Why do we care about Compression in Sensor Networks? Unreliability: Retransmission Extra energy cost Easier to amortize original energy cost of compression Medium Range Radio (CC1000) ~128,000! ~32,000

4 Why do we care about Compression in Sensor Networks? Source Local Energy Tradeoff:  Transmit all data vs.  Compress data  Store data  Transmit compressed data Sink Downstream Energy Tradeoff:  Relay all data vs.  Relay compressed data Downstream Energy Tradeoff:  Relay all data vs.  Relay compressed data Savings Accumulate with Hop Count

5 This work Lossless compression algorithms tailored to static and mobile sensors Generally applicable for WSNs  Aggregation  Spatial-temporal correlation Implementation and evaluation on the real data set  Great Duck Island Monitoring, ZebraNet, …

6 Outline Design Criteria and LZW Compression  What we want in Sensor Compression?  How do we adapt LZW to Sensors? Using Compression to Conserve Energy Conclusions

7 Sensor Network Compression: Energy Savings for Everyone Need a general purpose, lossless compression algorithm that can work across the design space ZebraNet (Princeton): Outdoors, Mobile Great Duck Island (UCB): Outdoors, Stationary SensorScope (EPFL): Indoors, Stationary

8 Sensor Network Compression: What do we want? Low Transmission Overhead Computationally Simple  Compute energy of compression should not outweigh transmission energy savings Bounded Memory Footprint  To fit in small sensor node memories Adaptive to general data sets  Exploit repetition in general input data streams  Work on small blocks of data

9 LZW Compression LZW is a dictionary-based algorithm which encodes new strings based on previously encountered strings. AAAABAAABCC (8bits * 11 = 88bits required) Standard Dic A = 65 B = 66 C = Z = ? = 255 Encoded String Output Stream New Dic entry A 65 AA = 256 AA AAA = 257 A AB = 258 B BA = 259 AAA AAAB = 260 B BC = 261 C CC = 262 C bits required

10 Outline Design Criteria and LZW Compression  What we want in Sensor Compression?  How do we adapt LZW to Sensors? Using Compression to Conserve Energy Conclusions

11 S-LZW: LZW for Sensor Nodes Dictionary decisions  How large should we make the dictionary?  What do we do if the dictionary fills? Data decisions  How much data should we compress at once?  Can we shape the dictionary to improve compression?  Can we shape the data to make it easier to compress?

12 S-LZW: LZW for Sensor Nodes Dictionary decisions  How large should we make the dictionary?  What do we do if the dictionary fills? Data decisions  How much data should we compress at once? Longer data streams => better compression learning But too long => high retransmit cost when packets dropped  Can we shape the dictionary to improve compression?  Can we shape the data to make it easier to compress? Examined by experiments

13 SENSOR DATA – N BYTES GENERATED OVER TIME … 528 B Block (2 Flash Pages) COMP. ALGORITHM Compressed Data Independent groups of 10 or fewer dependent packets …… … … … … 528 B Block (2 Flash Pages) S-LZW Idea 1: Data Size

14 S-LZW Idea 2: Mini-Caching Dictionary Tree Mini- Cache (N entries) 01 Escape Bit 9 Bit Entries10 Bit Entries(Log 2 N)+1 Bit Entries Exploit fine-grained locality even in short sensor data sequences Proposal: Mini-cache to tightly encode MRU entries  Hit => Saves multiple bits. Miss => Costs just 1 extra escape bit

15 S-LZW Idea 3: Data Transforms BWT – Reversible method of transforming data used in bzip2 and applicable for all data Proposal: Structured Transform - Create a matrix of readings and transpose it to create runs  Simple, but effective cb 4e … d5 4e … d8 4e … db 4e 2b 62 … cb d5 d8 db … 4e 4e 4e 4e … b … …......

16 Outline Design Criteria and LZW Compression Using Compression to Conserve Energy  Local and Downstream Energy  The Influence of Unreliable Communications  The Effects of Shaping the Data Conclusions

17 Measurement Methodology: CPU and Radios Evaluation Platform:  TI microcontroller MSP430: 10 kB RAM, 48 kB ROM  Off-Chip Flash: 4 Mbit Atmel  3 Radios: Short (CC2420), Medium (CC1000), and Long (XTend) range 3 Real World Datasets…  SensorScope (SS) – Indoor, Stationary  Great Duck Island (GDI) – Outdoor, Stationary  ZebraNet (ZNet) – Outdoor, Mobile … And one Compression Benchmark  Geo from the Calgary Corpus (Calgeo)

18 Local Energy Savings CC2420 (Short Range) XTend (Long Range) Data Compressed with S-LZW with Mini-Cache Model assumes 100% reliability 2.6X Gain 1.2X Gain 1.7X Gain 1% Loss 15+% Loss Lower is better

19 Downstream Energy Savings CC2420 (Short Range) XTend (Long Range) ZNet data, Compressed with S-LZW with Mini-Cache Model assumes 100% reliability

20 Coping with Unreliability 1.Energy savings increase linearly with hop count GDI Data, Compressed with S-LZW with Mini-Cache CC2420 (Short Range)

21 Coping with Unreliability 1.Energy savings increase linearly with hop count GDI Data, Compressed with S-LZW with Mini-Cache CC2420 (Short Range) 2.At a 90% success rate, we save energy locally

22 Transforms to Improve Performance BWT – Reversible method of transforming data through sorting it XTend (Long Range) We sort with an iterative quicksort algorithm, but this comes at a high computational cost Normalized against sending the data without compression 3.4X Gain 2.4X Gain 7-8% Improvement Top – Radio Energy Middle – Flash Energy Bottom – CPU Energy Model assumes 100% reliability

23 Radio Range? Number of Hops? Data Composition? Number of Hops? StructuredGeneral Radio Range? S-LZW-MC8-ST ~2.3X Savings RLE-ST ~1.9X Savings S-LZW-MC8-ST ~2.4X Savings FewMany Short Medium/ Long S-LZW-MC16-BWT ~1.8X Savings S-LZW-MC32 ~1.4X Savings S-LZW-MC16-BWT ~1.8X Savings FewMany Short Medium/ Long Algorithms Summary MC – Mini-Cache ST – Structured Transform BWT – Unstructured Transform

24 Conclusions Existing techniques (LZW, Cache, BWT …) applied to new application domains (WSNs)  Less novelty and originality  Incremental work  Upper bound 4 points Systematic solution with complete considerations  Dictionary size, data size, local cache, data transformation … Substantial merits proved by sound experiments  Different types of radio transceivers (CC2420, CC1000, XTend)  Real-world data set