基于可执行模型的可执行性验证:时间轨迹的动态匹配
Runtime Verification Based on Executable Models: On-the-Fly Matching of Timed Traces
摘要:
验证是检查系统执行是否满足或违反给定的正确性属性。一个自动地(通常是动态地)验证系统行为是否符合指定属性的过程称为监视器。目前,各种各样的形式主义被用来表示计算机系统的观测行为的性质,并且已经提出了许多方法来构造监视器。然而,这是一个常见的情况下,先进的形式主义和方法是不需要的,因为系统的可执行模型是可用的。模型的原始目的和结构并不重要;相反,需要的是系统及其模型具有类似的接口集。在这种情况下,监测如下进行。两个“黑盒子”,系统和它的参考模型,被并行执行,并用相同的输入序列进行激励;监视器动态地捕获它们的输出轨迹,并试图匹配它们。主要的问题是,模型通常比实际系统更抽象,无论是在功能方面还是在时间方面。因此,跟踪到跟踪的匹配并不简单,并且允许系统以不同的顺序产生事件,甚至错过其中的一些事件。本文研究了时间系统的动态一致性关系(即,输入和输出沿时间轴分布的系统)。它还提出了一种面向实践的方法,用于创建和配置基于可执行模型的定时系统的监视器。该方法已成功地应用于一些工业项目的基于仿真的硬件验证。
英文摘要:
Runtime verification is checking whether a system execution satisfies or violates a given correctness property. A procedure that automatically, and typically on the fly, verifies conformance of the system's behavior to the specified property is called a monitor. Nowadays, a variety of formalisms are used to express properties on observed behavior of computer systems, and a lot of methods have been proposed to construct monitors. However, it is a frequent situation when advanced formalisms and methods are not needed, because an executable model of the system is available. The original purpose and structure of the model are out of importance; rather what is required is that the system and its model have similar sets of interfaces. In this case, monitoring is carried out as follows. Two "black boxes", the system and its reference model, are executed in parallel and stimulated with the same input sequences; the monitor dynamically captures their output traces and tries to match them. The main problem is that a model is usually more abstract than the real system, both in terms of functionality and timing. Therefore, trace-to-trace matching is not straightforward and allows the system to produce events in different order or even miss some of them. The paper studies on-the-fly conformance relations for timed systems (i.e., systems whose inputs and outputs are distributed along the time axis). It also suggests a practice-oriented methodology for creating and configuring monitors for timed systems based on executable models. The methodology has been successfully applied to a number of industrial projects of simulation-based hardware verification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。