TOC: Lightweight Event Tracing Using Online Compression for Networked Embedded Systems

Many trace-based diagnostic techniques have been proposed for abnormal detection and fault diagnosis in networked embedded systems such as wireless sensor networks (WSNs). Event tracing is a nontrivial task for resource-constrained embedded devices. Existing tracing approaches employ compression alg...

Full description

Bibliographic Details
Main Authors: Chenhong Cao, Wen Liu, Wei Dong, Jiajun Bu
Format: Article
Language:English
Published: SAGE Publishing 2015-11-01
Series:International Journal of Distributed Sensor Networks
Online Access:https://doi.org/10.1155/2015/450568
Description
Summary:Many trace-based diagnostic techniques have been proposed for abnormal detection and fault diagnosis in networked embedded systems such as wireless sensor networks (WSNs). Event tracing is a nontrivial task for resource-constrained embedded devices. Existing tracing approaches employ compression algorithms to reduce the trace size. However, these approaches either are inapplicable or perform poorly. In this paper, we propose TOC, a novel event tracing technique using online compression. TOC combines periodical pattern mining and efficient token assignment, effectively reducing the trace size with acceptable execution overhead. We implement TOC based on TinyOS 2.1.2 and evaluate its effectiveness by case studies in sensor network applications. Results show that TOC reduces the trace size by 52.2%, compared with LIS—a state-of-the-art event tracing method.
ISSN:1550-1477