Time-triggered runtime verification

被引:20
作者
Bonakdarpour, Borzoo [1 ]
Navabpour, Samaneh [2 ]
Fischmeister, Sebastian [2 ]
机构
[1] Univ Waterloo, Sch Comp Sci, Waterloo, ON N2L 3G1, Canada
[2] Univ Waterloo, Dept Elect & Comp Engn, Waterloo, ON N2L 3G1, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Runtime verification; Monitoring; Time-triggered; Predictability; Overhead; Real-time; Embedded systems; SYNTHESIZING MONITORS; LTL;
D O I
10.1007/s10703-012-0182-0
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The goal of runtime verification is to monitor the behavior of a system to check its conformance to a set of desirable logical properties. The literature of runtime verification mostly focuses on event-triggered solutions, where a monitor is invoked when an event of interest occurs (e.g., change in the value of some variable). At invocation, the monitor evaluates the set of properties of the system that are affected by the occurrence of the event. This constant invocation introduces two major defects to the system under scrutiny at run time: (1) significant overhead, and (2) unpredictability of behavior. These defects are serious obstacles when applying runtime verification on safety-critical systems that are time-sensitive by nature. To circumvent the aforementioned defects in runtime verification, in this article, we introduce a novel time-triggered approach, where the monitor takes samples from the system with a constant frequency, in order to analyze the system's health. We describe the formal semantics of time-triggered monitoring and discuss how to optimize the sampling period using minimum auxiliary memory. We show that such optimization is NP-complete and consequently introduce a mapping to Integer Linear Programming. Experiments on a real-time benchmark suite show that our approach introduces bounded overhead and effectively reduces the involvement of the monitor at run time by using negligible auxiliary memory. We also show that in some cases it is even possible to reduce the overall overhead of runtime verification by using our time-triggered approach when the structure of the system allows choosing a long enough sampling period.
引用
收藏
页码:29 / 60
页数:32
相关论文
共 44 条
[1]  
[Anonymous], 2011, RV. LNCS, DOI [10.1007/978-3-642-29860-815, DOI 10.1007/978-3-642-29860-815]
[2]  
Artho C, 2003, LECT NOTES COMPUT SC, V2589, P87
[3]  
Barringer H, 2004, LECT NOTES COMPUT SC, V2937, P44
[4]  
Bauer A, 2009, ACM T SOFTW IN PRESS
[5]   Runtime Verification for LTL and TLTL [J].
Bauer, Andreas ;
Leucker, Martin ;
Schallhart, Christian .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2011, 20 (04)
[6]   Comparing LTL Semantics for Runtime Verification [J].
Bauer, Andreas ;
Leucker, Martin ;
Schallhart, Christian .
JOURNAL OF LOGIC AND COMPUTATION, 2010, 20 (03) :651-674
[7]  
Bodden E., 2010, Proceedings of the 32nd ACM/IEEE international Conference on Software Engineering, P5
[8]  
Bodden E., 2008, P 16 ACM SIGSOFT INT, P36, DOI [10.1145/1453101.1453109, DOI 10.1145/1453101.1453109]
[9]  
Bodden E, 2007, LECT NOTES COMPUT SC, V4839, P22
[10]  
Bodden E, 2007, LECT NOTES COMPUT SC, V4609, P525