Optimizing the length of checking sequences

被引:69
作者
Hierons, RM [1 ]
Ural, H
机构
[1] Brunel Univ, Sch Informat Syst Comp & Math, Uxbridge UB8 3PH, Middx, England
[2] Univ Ottawa, Sch Informat Technol & Engn, Ottawa, ON K1N 6N5, Canada
基金
英国工程与自然科学研究理事会; 加拿大自然科学与工程研究理事会;
关键词
finite state machine; checking sequence; test minimization; distinguishing sequence;
D O I
10.1109/TC.2006.80
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A checking sequence, generated from a finite state machine, is a test sequence that is guaranteed to lead to a failure if the system under test is faulty and has no more states than the specification. The problem of generating a checking sequence for a finite state machine M is simplified if M has a distinguishing sequence: an input sequence (D) over bar D with the property that the output sequence produced by M in response to (D) over bar D is different for the different states of M. Previous work has shown that, where a distinguishing sequence is known, an efficient checking sequence can be produced from the elements of a set A of sequences that verify the distinguishing sequence used and the elements of a set Upsilon of subsequences that test the individual transitions by following each transition t by the distinguishing sequence that verifies the final state of t. In this previous work, A is a predefined set and Upsilon is defined in terms of A. The checking sequence is produced by connecting the elements of Upsilon and A to form a single sequence, using a predefined acyclic set E-c of transitions. An optimization algorithm is used in order to produce the shortest such checking sequence that can be generated on the basis of the given A and E-c. However, this previous work did not state how the sets A and E-c should be chosen. This paper investigates the problem of finding appropriate A and E-c to be used in checking sequence generation. We show how a set A may be chosen so that it minimizes the sum of the lengths of the sequences to be combined. Further, we show that the optimization step, in the checking sequence generation algorithm, may be adapted so that it generates the optimal E-c. Experiments are used to evaluate the proposed method.
引用
收藏
页码:618 / 629
页数:12
相关论文
empty
未找到相关数据