Title
CoMID: Context-Based Multiinvariant Detection for Monitoring Cyber-Physical Software
Abstract
Cyber-physical software delivers context-aware services through continually interacting with its physical environment and adapting to the changing surroundings. However, when the software's assumptions on the environment no longer hold, the interactions can introduce errors for leading to unexpected behaviors and even system failures. One promising solution to this problem is to conduct runtime monitoring of <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">invariants</italic> . Violated invariants reflect latent erroneous states (i.e., <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">abnormal states</italic> that could lead to failures). In turn, monitoring when program executions violate the invariants can allow the software to take alternative measures to avoid danger. In this article, we present context-based Multiinvariant detection (CoMID), an approach that automatically infers invariants and detects abnormal states for cyber-physical programs. CoMID consists of two novel techniques, namely <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">context-based trace grouping</italic> and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">multiinvariant detection</italic> . The former infers contexts to distinguish different effective scopes for CoMID's derived invariants, and the latter conducts ensemble evaluation of multiple invariants to detect abnormal states during runtime monitoring. We evaluate CoMID on real-world cyber-physical software. The results show that CoMID achieves a 5.7–28.2% higher true-positive rate and a 6.8–37.6% lower false-positive rate in detecting abnormal states, as compared with the existing approaches. When deployed in field tests, CoMID's runtime monitoring improves the success rate of cyber-physical software in its task executions by 15.3–31.7%.
Year
DOI
Venue
2020
10.1109/TR.2019.2933324
IEEE Transactions on Reliability
Keywords
DocType
Volume
Monitoring,Software,Runtime,Uncertainty,Robot sensing systems
Journal
69
Issue
ISSN
Citations 
1
0018-9529
0
PageRank 
References 
Authors
0.34
0
5
Name
Order
Citations
PageRank
Yi Qin102.03
Tao Xie25978304.97
Chang Xu348736.94
Angello Astorga462.50
Jian Lü5139397.91