观测移动目标——来自嵌入式移动设备的调试日志可靠传输
分布式、并行与集群计算
2021-10-06 v2
摘要
物联网(IoT)的移动嵌入式设备面临严格的资源约束与不确定环境,包括能量匮乏与连接不稳定。这加剧了调试、优化、监测等工作的难度;为此,日志信息必须在开发与产品生命周期的所有阶段均可获取。本文针对应用需求(如带宽)、资源消耗(如内存)、运行约束(如电源)以及介质(如 UART、WiFi)比较了日志传输方法。定性比较表明,方法的适用性取决于具体应用及生命周期阶段。我们报告了案例研究经验,其中嵌入式移动设备由自动驾驶轨道赛车(Carrera D132)代表。该目标设备需交换故障日志、新固件与监测数据。所获经验支撑了我们的定性讨论:无线技术可满足生命周期多阶段需求,但尤为明显的是能耗至关重要。在加载无线协议栈且传输日志时,赛车在约 20 ms 断电内的工作电压跌落约为 1.6 倍之高。这极大限制了通信灵活性。
引用
@article{arxiv.2110.01412,
title = {Observing a Moving Target -- Reliable Transmission of Debug Logs from Embedded Mobile Devices},
author = {Björn Daase and Leon Matthes and Lukas Pirl and Lukas Wenzel},
journal= {arXiv preprint arXiv:2110.01412},
year = {2021}
}
备注
to be presented at the 1st International Workshop on Testing Distributed Internet of Things Systems; associated implementation code can be found at https://gitlab.com/hpi-potsdam/osm/self-driving-carrera