Jaghoori Mohammad Mahdi, de Boer Frank, Longuet Delphine, Chothia Tom, Sirjani Marjan
AMC, Amsterdam, The Netherlands.
CWI, Amsterdam, The Netherlands.
Acta Inform. 2017;54(4):343-378. doi: 10.1007/s00236-015-0254-x. Epub 2016 Jan 25.
We present an extension of the actor model with real-time, including deadlines associated with messages, and explicit application-level scheduling policies, e.g.,"earliest deadline first" which can be associated with individual actors. Schedulability analysis in this setting amounts to checking whether, given a scheduling policy for each actor, every task is processed within its designated deadline. To check schedulability, we introduce a compositional automata-theoretic approach, based on maximal use of model checking combined with testing. Behavioral interfaces define what an actor expects from the environment, and the deadlines for messages given these assumptions. We use model checking to verify that actors match their behavioral interfaces. We extend timed automata refinement with the notion of deadlines and use it to define compatibility of actor environments with the behavioral interfaces. Model checking of compatibility is computationally hard, so we propose a special testing process. We show that the analyses are decidable and automate the process using the Uppaal model checker.
我们提出了一种具有实时性的参与者模型扩展,包括与消息相关的截止期限,以及明确的应用层调度策略,例如可与单个参与者相关联的“最早截止期限优先”。在这种情况下,可调度性分析相当于检查在给定每个参与者的调度策略的情况下,每个任务是否在其指定的截止期限内得到处理。为了检查可调度性,我们引入了一种基于模型检查与测试相结合的组合自动机理论方法。行为接口定义了参与者对环境的期望,以及在这些假设下消息的截止期限。我们使用模型检查来验证参与者是否符合其行为接口。我们用截止期限的概念扩展了定时自动机细化,并使用它来定义参与者环境与行为接口的兼容性。兼容性的模型检查在计算上是困难的,因此我们提出了一个特殊的测试过程。我们证明这些分析是可判定的,并使用Uppaal模型检查器使该过程自动化。