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

使用自动机进行交互的运行时验证

Runtime Verification of Interactions Using Automata

Université Paris-Saclay, CEA, List(巴黎萨克雷大学,法国原子能和替代能源委员会,列表)

Chana Weil-Kennedy, Darine Rammal, Christophe Gaston, Arnault Lapitre

AI总结:

针对无全局时钟的分布式系统,提出两种基于自动机理论的方法判定多重轨迹是否满足交互规范,并比较了其性能与可重用性。

摘要:

运行时验证包括观察和收集系统的执行轨迹,并对照规范进行检查,目标是在轨迹不满足规范时引发错误。我们考虑由通过消息传递进行通信的子系统组成的分布式系统。在每个子系统上收集由发送和接收事件组成的本地执行轨迹。我们不假设子系统具有共享的全局时钟,因为全局时钟允许对本地轨迹进行重新排序。相反,我们操纵多重轨迹,即本地轨迹的集合。我们使用交互模型作为规范:它们描述了多个组件之间的通信场景,从而指定了所需的全局行为。我们提出了两种基于自动机理论技术的程序,用于判定多重轨迹是否满足交互。第一种程序简单直接,而第二种程序提供了更多关于错误类型的信息,并集成了可重用性的思想:由于许多多重轨迹会与一个交互进行比较,因此一些预处理可以在开始时执行一次。我们实现了这两种程序并对它们进行了比较。

英文摘要:

Runtime verification consists in observing and collecting the execution traces of a system and checking them against a specification, with the objective of raising an error when a trace does not satisfy the specification. We consider distributed systems consisting of subsystems which communicate by message-passing. Local execution traces consisting of send and receive events are collected on each subsystem. We do not assume that the subsystems have a shared global clock, which would allow a reordering of the local traces. Instead, we manipulate multitraces, which are collections of local traces. We use interaction models as specifications: they describe communication scenarios between multiple components, and thus specify a desired global behaviour. We propose two procedures to decide whether a multitrace satisfies an interaction, based on automata-theoretic techniques. The first procedure is straightforward, while the second provides more information on the type of error and integrates the idea of reusability: because many multitraces are compared against one interaction, some preprocessing can be done once at the beginning. We implement both procedures and compare them.

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

↑