Distributed runtime verification by past-CTL and the field calculus

被引:5
|
作者
Audrito, Giorgio [1 ]
Damiani, Ferruccio [1 ]
Stolz, Volker [2 ]
Torta, Gianluca [1 ]
Viroli, Mirko [3 ]
机构
[1] Univ Torino, Turin, Italy
[2] Western Norway Univ Appl Sci, Bergen, Norway
[3] Univ Bologna, Alma Mater Studiorum, Cesena, Italy
关键词
Distributed systems; Runtime verification; Field calculus; Temporal logic; SAFETY;
D O I
10.1016/j.jss.2022.111251
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Recent trends in the engineering of software-intensive systems increasingly promote the adoption of computation at the edge of the network, in the proximity of where sensing and actuation are performed. Applications are executed directly in IoT devices deployed in the physical environment, possibly with the aid of edge servers: there, interactions are essentially based on physical proximity, and communication with the cloud is sporadic if not absent. The challenge of monitoring the execution of such system, by relying on local interactions only, naturally arises. We address this challenge by proposing a rigorous approach to distributed runtime monitoring for space-based networks of devices. We introduce the past-CTL logic, an extension of past-LTL able to express a variety of properties concerning the knowable past of an event. We formally define a procedure to derive, from a past-CTL formula, monitors that can be distributed on each device and whose collective behaviour verifies the validity of the formula at runtime across space and time. This is achieved by relying on the field calculus, a core programming language used to specify the behaviour of a collection of devices by viewing them as an aggregate computing machine, carrying out altogether a distributed computational process. The field calculus is shown to be a convenient language for our goals, since its functional composition approach provides a natural way of translating in a syntax-directed way properties expressed in a given logic into monitors for such properties. We show that the monitor process executing in each single device runs using local memory, message size, and computation time that are all linear in the size of the formula (1 bit per temporal connective). This matches the efficiency of the best available previous results for (non-distributed) monitors derived from past-LTL formulas. Finally, we empirically evaluate the applicability of the approach to sample problems in distributed computing, through simulated experiments with monitors written through a C++ library implementing the field calculus programming constructs. (C) 2022 Elsevier Inc. All rights reserved.
引用
收藏
页数:15
相关论文
共 29 条
  • [1] Specification in CTL plus past for verification in CTL
    Laroussinie, F
    Schnoebelen, P
    INFORMATION AND COMPUTATION, 2000, 156 (1-2) : 236 - 263
  • [2] On Distributed Runtime Verification by Aggregate Computing
    Audrito, Giorgio
    Damiani, Ferruccio
    Stolz, Volker
    Viroli, Mirko
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2019, (302): : 47 - 61
  • [3] Distributed runtime verification of metric temporal properties
    Ganguly, Ritam
    Xue, Yingjie
    Jonckheere, Aaron
    Ljung, Parker
    Schornstein, Benjamin
    Bonakdarpour, Borzoo
    Herlihy, Maurice
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2024, 185
  • [4] Distributed Runtime Verification of JADE Multiagent Systems
    Briola, Daniela
    Mascardi, Viviana
    Ancona, Davide
    INTELLIGENT DISTRIBUTED COMPUTING VIII, 2015, 570 : 81 - 91
  • [5] RETRACTED: Calculus-based Runtime Verification (Retracted Article)
    Hai, Benzhai
    Li, Fangfang
    Xie, Ruiyun
    Chen, Yanhao
    PROCEEDINGS 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, (ICCSIT 2010), VOL 1, 2010, : 271 - 275
  • [6] A Calculus for Distributed Firewall Specification and Verification
    Pene, Liviu
    Adi, Kamel
    NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2006, 147 : 301 - 315
  • [7] Challenges in Fault-Tolerant Distributed Runtime Verification
    Bonakdarpour, Borzoo
    Fraigniaud, Pierre
    Rajsbaum, Sergio
    Travers, Corentin
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: DISCUSSION, DISSEMINATION, APPLICATIONS, ISOLA 2016, PT II, 2016, 9953 : 363 - 370
  • [8] Decentralized Runtime Verification of LTL Specifications in Distributed Systems
    Mostafa, Menna
    Bonakdarpour, Borzoo
    2015 IEEE 29TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2015, : 494 - 503
  • [9] Runtime verification of partially-synchronous distributed system
    Ganguly, Ritam
    Momtaz, Anik
    Bonakdarpour, Borzoo
    FORMAL METHODS IN SYSTEM DESIGN, 2024, : 146 - 177
  • [10] Runtime Verification for Distributed Cyber-Physical Systems
    Momtaz, Anik
    2021 40TH INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS 2021), 2021, : 349 - 350