Canonical finite state machines for distributed systems

被引:8
|
作者
Hierons, Robert M. [1 ]
机构
[1] Brunel Univ, Sch Informat Syst & Comp Math, Uxbridge UB8 3PH, Middx, England
关键词
Finite state machine; Equivalence; Distributed test architecture; Canonical; OBSERVABILITY; GENERATION; REDUCTION; SEQUENCES;
D O I
10.1016/j.tcs.2009.09.039
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
There has been much interest in testing from finite state machines (FSMs) as a result of their suitability for modelling or specifying state-based systems. Where there are multiple ports/interfaces a multi-port FSM is used and in testing, a tester is placed at each port. If the testers cannot communicate with one another directly and there is no global clock then we are testing in the distributed test architecture. It is known that the use of the distributed test architecture can affect the power of testing and recent work has characterised this in terms of local s-equivalence: in the distributed test architecture we can distinguish two FSMs, such as an implementation and a specification, if and only if they are not locally s-equivalent. However, there may be many FSMs that are locally s-equivalent to a given FSM and the nature of these FSMs has not been explored. This paper examines the set of FSMs that are locally s-equivalent to a given FSM M. It shows that there is a unique smallest FSM X-min(M) and a unique largest FSM X-max(M) that are locally s-equivalent to M. Here smallest and largest refer to the set of traces defined by an FSM and thus to its semantics. We also show that for a given FSM M the set of FSMs that are locally s-equivalent to M defines a bounded lattice. Finally, we define an FSM that, amongst all FSMs locally s-equivalent to M, has fewest states. We thus give three alternative canonical FSMs that are locally s-equivalent to an FSM M: one that defines the smallest set of traces, one that defines the largest set of traces, and one with fewest states. All three provide valuable information and the first two can be produced in time that is polynomial in terms of the number of states of M. We prove that the problem of finding an s-equivalent FSM with fewest states is NP-hard in general but can be solved in polynomial time for the special case where there are two ports. (C) 2009 Elsevier B.V. All rights reserved.
引用
收藏
页码:566 / 580
页数:15
相关论文
共 50 条
  • [1] Verifying and Comparing Finite State Machines for Systems that Have Distributed Interfaces
    Hierons, Robert M.
    IEEE TRANSACTIONS ON COMPUTERS, 2013, 62 (08) : 1673 - 1683
  • [2] Abstract state machines: Designing distributed systems with state machines and B
    Stoddart, B
    Dunne, S
    Galloway, A
    Shore, R
    B'98: RECENT ADVANCES IN THE DEVELOPMENT AND USE OF THE B METHOD, 1998, 1393 : 226 - 242
  • [3] Integratf Pftri nfts and communicating finite state machines in the analysis of distributed communication systems
    Jiang, T.M.
    Singapore ICCS '90 - Conference Proceedings, 1990,
  • [5] Modeling and verification of distributed real-time systems using periodic finite state machines
    Obermaisser, R.
    EI-Salloum, C.
    Huber, B.
    Kopetz, H.
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2008, 23 (04): : 289 - 301
  • [6] Modeling and verification of distributed real-time systems using periodic finite state machines
    Obermaisser, R.
    EI-Salloum, C.
    Huber, B.
    Kopetz, H.
    COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2007, 22 (06): : 333 - 347
  • [7] Modeling and verification of distributed real-time systems using periodic finite state machines
    Vienna University of Technology
    Comput Syst Sci Eng, 2007, 6 (333-347):
  • [8] Distributed extended Finite-State Machines: Communication and control
    Mannani, A.
    Yang, Y.
    Gohari, P.
    WODES 2006: EIGHTH INTERNATIONAL WORKSHOP ON DISCRETE EVENT SYSTEMS, PROCEEDINGS, 2006, : 161 - +
  • [9] Fused State Machines for Fault Tolerance in Distributed Systems
    Balasubramanian, Bharath
    Garg, Vijay K.
    PRINCIPLES OF DISTRIBUTED SYSTEMS, 2011, 7109 : 266 - 282
  • [10] Hierarchical finite state machines for autonomous mobile systems
    Kurt, Arda
    Oezguener, Uemit
    CONTROL ENGINEERING PRACTICE, 2013, 21 (02) : 184 - 194