Dynamic Alternation of Huffman Codebooks for Sensor Data Compression

Signal compression is crucial for reducing the amount of communication, and hence power consumption of wireless sensors. Lossless compression techniques, such as Huffman coding, are often used in healthcare applications since they do not compromise the integrity of vital signals. Techniques that adapt to changing signal patterns have been proposed. However, most of them involve significant computation overhead or are too simple to maintain high compression rates under changing signal patterns. In this letter, we propose a technique that makes use of multiple codebooks, which are generated offline based on the signal context. In the applications we study, we observe that the symbols that compose a big variety of signals follow Laplacian distributions in which the spread changes over time. This can be effectively utilized to generate a set of codebooks. Then, appropriate codebooks are selected online depending on the currently measured spread, which ensures high compression efficiency and the adaptability to changing signal patterns. Our experiments on real-world medical datasets show that our approach is computationally very efficient, and exhibits competitive compression rates. Our proposed technique outperforms a state-of-the-art compression algorithm, FAS-LEC, in terms of average data reduction by 4.3%, while consuming a similar amount of energy. Compared to the adaptive Huffman method, which achieves near-optimal compression rates, our results indicate energy savings of 19% due to the reduced computational complexity, while the compression rate is improved by 0.6%.

[1]  Wei Peng,et al.  Minimizing energy consumptions in wireless sensor networks via two-modal transmission , 2010, CCRV.

[2]  Jeffrey M. Hausdorff,et al.  Physionet: Components of a New Research Resource for Complex Physiologic Signals". Circu-lation Vol , 2000 .

[3]  Ralf Bousseljot,et al.  Nutzung der EKG-Signaldatenbank CARDIODAT der PTB über das Internet , 2009 .

[4]  Michael Mitzenmacher,et al.  On the hardness of finding optimal multiple preset dictionaries , 2001, Proceedings DCC 2001. Data Compression Conference.

[5]  Samuel Kotz,et al.  The Laplace Distribution and Generalizations: A Revisit with Applications to Communications, Economics, Engineering, and Finance , 2001 .

[6]  Ralf Steinmetz,et al.  Trimming the Tree: Tailoring Adaptive Huffman Coding to Wireless Sensor Networks , 2010, EWSN.

[7]  Paul Lukowicz,et al.  Collecting complex activity datasets in highly rich networked sensor environments , 2010, 2010 Seventh International Conference on Networked Sensing Systems (INSS).

[8]  P. Vanaja Ranjan,et al.  Design of Modified Adaptive Huffman Data Compression Algorithm for Wireless Sensor Network , 2009 .

[9]  Francesco Marcelloni,et al.  Adaptive Lossless Entropy Compressors for Tiny IoT Devices , 2014, IEEE Transactions on Wireless Communications.

[10]  Francesco Marcelloni,et al.  An Efficient Lossless Compression Algorithm for Tiny Nodes of Monitoring Wireless Sensor Networks , 2009, Comput. J..

[11]  Ralph G Andrzejak,et al.  Nonrandomness, nonlinear dependence, and nonstationarity of electroencephalographic recordings from epilepsy patients. , 2012, Physical review. E, Statistical, nonlinear, and soft matter physics.

[12]  Ralf Steinmetz,et al.  Pre-allocating code mappings for energy-efficient data encoding in Wireless Sensor Networks , 2013, 2013 IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops).

[13]  Eugene S. Schwartz,et al.  Generating a canonical prefix encoding , 1964, CACM.