Elsevier

Science of Computer Programming

Volume 165, 1 November 2018, Pages 24-37
Science of Computer Programming

Design and implementation of a cross-layer IoT protocol

https://doi.org/10.1016/j.scico.2017.08.008Get rights and content
Under an Elsevier user license
open archive

Highlights

  • A cross-layer protocol design with tight interactions between sub-protocols can be implemented in a modular and light way.

  • Pig-tailing cross-layer metadata to regular messages can be more efficient than explicitly exchanging control messages.

Abstract

Cross-layer communication protocols can significantly improve several aspects of wireless networks, particularly energy consumption and bandwidth. However, they break with the traditional layered architecture that has been so successful for over 30 years. A fully fledged cross-layer stack requires a sophisticated software design to be maintainable and reusable. The Trustful Space-Time Protocol (TSTP) is a cross-layer protocol designed to deliver authenticated, encrypted, timed, and georeferenced messages containing data compliant with the International System of Units (SI) in a resource-efficient way. By integrating shared data from multiple networking services into a single communication infrastructure, TSTP is able to eliminate replication of information across services, achieving small overhead regarding control messages. The complexity of TSTP's features, its broad range – from the application to the Medium Access Control, – and its experimental nature bring diverse requirements beyond those usually considered in most software designs. In this work, we show how we avoided a monolithic implementation of the cross-layer approach with a component-based design, exploring template metaprogramming techniques to adapt and combine basic building blocks. An event-driven architecture that makes use of zero-copy buffers and metadata is used to handle crosscutting concerns. We validate the proposed design with an implementation for IEEE 802.15.4 networks and a set of OMNet++ simulations for relevant scenarios, showing that we achieve a light TSTP implementation that is successfully able to save energy and bandwidth while keeping a delivery ratio close to 100%.

Keywords

Cross-layer design
Communication protocols
Internet of Things
Wireless Sensor Networks

Cited by (0)