arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.02282cs.SE
收藏

CoMID:基于上下文的多不变量检测及其在网络物理软件监控中的应用

CoMID: Context-based Multi-Invariant Detection for Monitoring Cyber-Physical Software

Yi Qin, Tao Xie, Chang Xu, Angello Astorga, Jian Lu

摘要:

网络物理软件不断与其物理环境进行交互以进行适应,从而提供智能服务。然而,当软件对其环境的假设不再成立时,交互可能会出现各种错误,从而导致意外的错误行为甚至失败。为了解决这个问题,一个有希望的方法是对不变量进行运行时监控,以防止网络物理软件输入此类错误(也称为“错误”)。异常状态)。为了有效地检测异常状态,本文提出了一种基于上下文的多不变量检测(CoMID)方法,该方法由两种技术组成:基于上下文的轨迹分组和多不变量检测。前者通过上下文推断来区分CoMID导出的不变量的不同有效范围,后者对多个不变量进行集成评估来检测异常状态。我们在现实世界的网络物理软件上实验评估CoMID。结果表明,与最先进的方法(即,Daikon和ZoomIn)。当部署在现场测试中时,CoMID的运行时监控将网络物理软件执行任务的成功率提高了15.3- 31.7%。

英文摘要:

Cyber-physical software continually interacts with its physical environment for adaptation in order to deliver smart services. However, the interactions can be subject to various errors when the software's assumption on its environment no longer holds, thus leading to unexpected misbehavior or even failure. To address this problem, one promising way is to conduct runtime monitoring of invariants, so as to prevent cyber-physical software from entering such errors (a.k.a. abnormal states). To effectively detect abnormal states, we in this article present an approach, named Context-based Multi-Invariant Detection (CoMID), which consists of two techniques: context-based trace grouping and multi-invariant detection. 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. We experimentally 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 state-of-the-art approaches (i.e., Daikon and ZoomIn). 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%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑