International Journal of Distributed Sensor Networks (Nov 2015)

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

  • Chenhong Cao,
  • Wen Liu,
  • Wei Dong,
  • Jiajun Bu

DOI
https://doi.org/10.1155/2015/450568
Journal volume & issue
Vol. 11

Abstract

Read online

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.