Department of Informatics

TU München - Fakultät für Informatik
Chair IV: Software & Systems Engineering

TUM
 
PDF-Datei  Using Protocol Buffers for Resource-Constrained Distributed Embedded Systems

Technical Report

Author:Wolfgang Schwitzer, Vlad Popa
Month:November
Year:2011
Link:http://www.in.tum.de/forschung/publikationen/technische-berichte.html
Abstract:Protocol Buffers are a widely used, robust and efficient data interchange format contributed and maintained by Google. Specifications of custom messages, fields and enumerations are comfortably defined in the Proto language and then compiled to a large variety of target programming languages like C++, Java and Python. This makes Protocol Buffers an excellent choice when heterogeneous system platforms and programming environments have to communicate with each other. In this paper, we present our compiler Protobuf-Embedded-C that generates C as target language. This compiler generates lean and self-contained C-code for resource-constrained, distributed and embedded real-time systems. We implemented this new compiler from scratch, because an alternative Protocol Buffers compiler targeting at resource-constrained and real-time systems was not available at the moment of writing. We discuss the features and architecture of this compiler that accepts a subset of the Proto language and give an outline of possible future extensions. To show the practicability, we present a successful application of generated Protobuf-Embedded-C code for an E-Energy-Grid demonstrator, developed together with a major German power supplier during the national research joint-project SPES2020.
 
BibTeX

(c) 1999-2006 - Lehrstuhl Software & Systems Engineering
Sitemap |  Contact