A software architecture for embedded telematics devices on Linux
Examensarbete för masterexamen
This master thesis proposes a Linux-based software architecture for modern telematics devices. Our device is installed in trucks and has the purpose of forwarding collected GPS data to an online data center in a robust way. Telematics units are are highly concurrent systems where a crucial part of the software architecture is the communication schema: Within the system, sensor data need to be independently gathered and processed. Relevant information is then presented to the truck driver or forwarded to an online data center. We investigate D-Bus, an IPC system that is mostly used in desktop Linux systems, as a potential replacement for traditonal, in-kernel message passing. When moving to more elaborated embedded hardware platforms, such higher level programming paradigms and protocols become more attractive than pure low level programming. This thesis highlights the possibility of incorporating such techniques also in embedded Linux systems. We demonstrate an event-driven system architecture, implemented using the Qt C++ framework. D-Bus is used for the system’s interprocess communication, in contrast to TCP sockets that were used in the previous product. We make low level sensor data available via D-Bus by two layers of abstraction: a Linux I2C chip driver and Linux daemon using D-Bus.
Systemteknik , Informations- och kommunikationsteknik , Systems engineering , Information & Communication Technology