M. Vierhauser, H. Marah, A. Garmendia, J. Cleland-Huang, M. Wimmer: Towards a Model-Integrated Runtime Monitoring Infrastructure for Cyber-Physical Systems, 43rd International Conference on Software Engineering - New Ideas and Emerging Results, Virtual (originally in Madrid, Spain), May 25-28, 2021.
Runtime monitoring is essential for ensuring the safe operation and enabling self-adaptive behavior of Cyber-Physical Systems (CPS). It requires the creation of system monitors, instrumentation for data collection, and the definition of constraints. All of these aspects need to evolve to accommodate changes in the system. However, most existing approaches lack support for the automated generation and set up of monitors and constraints for diverse technologies and do not provide adequate support for evolving the monitoring infrastructure. Without this support, constraints and monitors can become stale and become less effective in long-running, rapidly changing CPS. In this “new and emerging results” paper we propose a novel framework for model-integrated runtime monitoring. We combine model-driven techniques and runtime monitoring to automatically generate large parts of the monitoring framework and to reduce the maintenance effort necessary when parts of the monitored system change. We build a prototype and evaluate our approach against a system for controlling the flights of unmanned aerial vehicles.