Efficient computation of unique input/output sequences in finite-state machines

被引:27
|
作者
Naik, K
机构
[1] Department of Computer Software, University of Aizu, Aizu-Wakamatsu
关键词
communication protocol; finite-state machine; interference rule; path vector; projection; testing; UIO sequence; UIO tree;
D O I
10.1109/90.649519
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper makes two contributions toward computing unique input/output (UIO) sequences in finite-state machines. Our first contribution is to compute all UIO sequences of minimal lengths in a finite-state machine. Our second contribution is to present a generally efficient algorithm to compute a UIO sequence for each state, if it exists. We begin by defining a path vector, vector perturbation, and UIO tree. The perturbation process allows us to construct the complete UIO tree for a machine. Each sequence of input/output from the initial vector of a UIO tree to a singleton vector represents a UIO sequence. Next, we define the idea of an inference rule that allows us to infer UIO sequences of a number of states from the UIO sequence of some state. That is, for a large class of machines, it is possible to compute UIO sequences for all possible states from a small set of initial UIO's. Thus, there is neither any need for individually computing UIO sequences nor any need to construct the complete UIO tree. We give a modified depth-first algorithm, called the hybrid approach, that computes a partial UIO tree, called an essential subtree, from which UIO sequences of all possible states can be inferred. Using the concept of projection machines, we show that sometimes it is unnecessary to construct even a partial subtree. We prove that if a machine remains strongly connected after deleting all the converging transitions, then all of the states have UIO sequences. To demonstrate the effectiveness of our approach, we develop a tool to perform experiments using both small and large machines. Experimental results show that the maximum essential subtree for a machine is much smaller than the complete UIO tree. An immediate impact of the inference mechanism is that UIO sequences may be unnecessarily long leading to longer test sequences. Since longer test sequences incur extra cost, we suggest how to reduce-and even eliminate-the impact of the inference mechanism by generating UIO sequences depending on how they are used in some representative test generation methods.
引用
收藏
页码:585 / 599
页数:15
相关论文
共 50 条
  • [1] LANG - algorithm for constructing unique input/output sequences in finite-state machines
    Ahmad, I
    Ali, FM
    Das, AS
    IEE PROCEEDINGS-COMPUTERS AND DIGITAL TECHNIQUES, 2004, 151 (02): : 131 - 140
  • [2] MINIMAL INPUT-MEMORY AND OUTPUT-MEMORY FINITE-STATE MACHINES
    VAIRAVAN, K
    IEEE TRANSACTIONS ON COMPUTERS, 1972, C 21 (06) : 598 - &
  • [3] REALIZATION OF CONSISTENT INPUT-OUTPUT SEQUENCES BY FINITE STATE MACHINES
    HEUN, KD
    VAIRAVAN, K
    INFORMATION AND CONTROL, 1976, 31 (02): : 97 - 106
  • [4] State Assignment of Finite-State Machines by Using the Values of Input Variables
    Salauyou, Valery
    Ostapczuk, Michal
    COMPUTER INFORMATION SYSTEMS AND INDUSTRIAL MANAGEMENT (CISIM 2017), 2017, 10244 : 592 - 603
  • [5] DONT CARE SEQUENCES AND THE OPTIMIZATION OF INTERACTING FINITE-STATE MACHINES
    RHO, JK
    SOMENZI, F
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1994, 13 (07) : 865 - 874
  • [6] Test sequences selection based on deterministic finite-state machines
    Zhang, Yong
    Qian, Le-Qiu
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2002, 39 (09): : 1144 - 1150
  • [7] IN FINITE-STATE MACHINES, LIVING MACHINES
    KRUGER, T
    ARCHITECTURAL DESIGN, 1994, (111) : R14 - R15
  • [8] Logical Computation on Stochastic Bit Streams with Linear Finite-State Machines
    Li, Peng
    Lilja, David J.
    Qian, Weikang
    Riedel, Marc D.
    Bazargan, Kia
    IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (06) : 1473 - 1485
  • [9] Periodic finite-state machines
    Kopetz, H.
    El-Salloum, C.
    Huber, B.
    Obermaisser, R.
    10TH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT AND COMPONENT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2007, : 10 - +
  • [10] ON COMMUNICATING FINITE-STATE MACHINES
    BRAND, D
    ZAFIROPULO, P
    JOURNAL OF THE ACM, 1983, 30 (02) : 323 - 342