Rule-based runtime verification revisited

被引:0
|
作者
Klaus Havelund
机构
[1] California Institute of Technology,Laboratory for Reliable Software, Jet Propulsion Laboratory
关键词
Runtime verification; Rule-based systems; algorithm; Internal DSL;
D O I
暂无
中图分类号
学科分类号
摘要
Runtime verification (RV) consists in part of checking execution traces against user-provided formalized specifications. Throughout the last decade many new systems have emerged, most of which support specification notations based on state machines, regular expressions, temporal logic, or grammars. The field of artificial intelligence (AI) has for an even longer period of time studied rule-based production systems, which at a closer look appear to be relevant for RV, although seemingly focused on slightly different application domains, such as, for example, business processes and expert systems. The core algorithm in many of these systems is the Rete algorithm. We have implemented a rule-based system, named LogFire, for runtime verification, founded on the Rete algorithm, as an internal DSL in the Scala programming language (in essence a library). Using Scala’s support for defining DSLs allows to write rules elegantly as part of Scala programs. This combination appears attractive from a practical point of view. Our contribution is part conceptual in arguing that such rule-based frameworks originating from AI are suited for RV. Our contribution is technical by implementing an internal rule DSL in Scala; by illustrating how specification patterns can easily be encoded that generate rules, and by adapting and optimizing the Rete algorithm for RV purposes. An experimental evaluation is performed comparing to six other trace analysis systems. LogFire is currently being used to process telemetry from the Mars Curiosity rover at NASA’s Jet Propulsion Laboratory.
引用
收藏
页码:143 / 170
页数:27
相关论文
共 50 条
  • [1] Rule-based runtime verification revisited
    Havelund, Klaus
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2015, 17 (02) : 143 - 170
  • [2] Rule-based runtime verification
    Barringer, H
    Goldberg, A
    Havelund, K
    Sen, K
    [J]. VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, PROCEEDINGS, 2004, 2937 : 44 - 57
  • [3] Rule-based query optimization, revisited
    Warshaw, LB
    Miranker, DP
    [J]. PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON INFORMATION KNOWLEDGE MANAGEMENT, CIKM'99, 1999, : 267 - 275
  • [4] Rule-based verification of Web sites
    M. Alpuente
    D. Ballis
    M. Falaschi
    [J]. International Journal on Software Tools for Technology Transfer, 2006, 8 (6) : 565 - 585
  • [5] Beyond rule-based physical verification
    Hoppe, Wolfgang
    Roessler, Thomas
    Torres, J. Andres
    [J]. PHOTOMASK TECHNOLOGY 2006, PTS 1 AND 2, 2006, 6349
  • [6] A Rule-based System for Web site Verification
    Ballis, D.
    Garcia-Vivo, J.
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 157 (02) : 11 - 17
  • [7] A synthesis of fuzzy rule-based system verification
    Viaene, S
    Wets, G
    [J]. 1998 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AT THE IEEE WORLD CONGRESS ON COMPUTATIONAL INTELLIGENCE - PROCEEDINGS, VOL 1-2, 1998, : 985 - 990
  • [8] KNOWLEDGE VERIFICATION IN RULE-BASED INTELLIGENT SYSTEMS
    ZYKOVA, SA
    KOLCHIN, AF
    [J]. JOURNAL OF COMPUTER AND SYSTEMS SCIENCES INTERNATIONAL, 1994, 32 (06) : 87 - 105
  • [9] RULE-BASED SYSTEM PROVIDES DESIGN VERIFICATION
    GOERING, R
    [J]. COMPUTER DESIGN, 1988, 27 (12): : 32 - 32
  • [10] Knowledge verification of active rule-based systems
    Chavarria-Baez, Lorena
    Li, Xiaoou
    [J]. INTELLIGENT CONTROL AND AUTOMATION, 2006, 344 : 676 - 687