论文标题
在基于交互的离线运行时验证分布式系统中的可观察性
Dealing with observability in interaction-based Offline Runtime Verification of Distributed Systems
论文作者
论文摘要
交互是形式模型,描述了分布式系统(DS)中异步通信。它们可以以序列图的方式绘制,并通过类似于过程代数的操作语义执行。 DS的执行可以以局部痕迹(每个子系统)的元素为特征,称为多轨迹。对于给定的执行,可以通过监视收集这些本地轨迹,并且可以使用离线运行时验证(RV)分析所得的多迹线。为此,互动可以用作形式参考。但是,实际上,并非所有子系统都可以观察到所有子系统,并且如果不同步不同子系统的监视,则可能不会观察到某些事件,例如可以观察到消息的接收,但不能观察到相应的发射。为了能够考虑所有此类部分观察案例,我们提出了一种脱机RV算法,该算法使用删除操作来限制直接的参考相互作用,无视与不再观察到的子系统有关的部分。我们证明了算法的正确性并评估实施的性能。
Interactions are formal models describing asynchronous communications within a Distributed System (DS). They can be drawn in the fashion of sequence diagrams and executed thanks to an operational semantics akin to that of process algebras. Executions of DS can be characterized by tuples of local traces (one per subsystem) called multi-traces. For a given execution, those local traces can be collected via monitoring and the resulting multi-trace can be analysed using offline Runtime Verification (RV). To that end, interactions may serve as formal references. In practice, however, not all subsystems may be observed and, without synchronising the end of monitoring on different subsystems, some events may not be observed, e.g. the reception of a message may be observed but not the corresponding emission. So as to be able to consider all such cases of partial observation, we propose an offline RV algorithm which uses removal operations to restrict the reference interaction on-the-fly, disregarding the parts concerning no longer observed subsystems. We prove the correctness of the algorithm and assess the performance of an implementation.