Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2590277B2 - System test equipment - Google Patents
[go: Go Back, main page]

JP2590277B2 - System test equipment - Google Patents

System test equipment

Info

Publication number
JP2590277B2
JP2590277B2 JP1333556A JP33355689A JP2590277B2 JP 2590277 B2 JP2590277 B2 JP 2590277B2 JP 1333556 A JP1333556 A JP 1333556A JP 33355689 A JP33355689 A JP 33355689A JP 2590277 B2 JP2590277 B2 JP 2590277B2
Authority
JP
Japan
Prior art keywords
under test
event
system under
state
action
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1333556A
Other languages
Japanese (ja)
Other versions
JPH03194420A (en
Inventor
幸博 三原
勝博 井上
文彰 手島
薫 紅林
卓也 岸本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba AVE Co Ltd
Original Assignee
Toshiba Corp
Toshiba AVE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba AVE Co Ltd filed Critical Toshiba Corp
Priority to JP1333556A priority Critical patent/JP2590277B2/en
Priority to US07/543,371 priority patent/US5161115A/en
Publication of JPH03194420A publication Critical patent/JPH03194420A/en
Application granted granted Critical
Publication of JP2590277B2 publication Critical patent/JP2590277B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、被テストシステムが要求されている仕様通
り動作しているか否かを自動的に検証するシステムテス
ト装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Field of Industrial Application) The present invention relates to a system test apparatus that automatically verifies whether a system under test is operating as required.

(従来の技術) 従来、被テスト装置のテストを行なう場合、予めテス
トする項目に従ってデータを作成し、その通りに被テス
ト装置が動作することを確認する方法で行なっていた。
即ち、設計仕様に基づいて試験項目毎に被テスト装置に
与えるデータと、被テスト装置が与えられたデータに応
じて出力するデータの期待値を時間軸に沿って作成して
いた。
2. Description of the Related Art Conventionally, when a test of a device under test is performed, data is created in advance according to items to be tested, and a method of confirming that the device under test operates as it is has been performed.
That is, the data to be provided to the device under test for each test item based on the design specification and the expected value of the data to be output according to the data provided by the device to be tested are created along the time axis.

第5図に従来のシステムテスト方法の概略を示した。 FIG. 5 shows an outline of a conventional system test method.

第5図(A)はテスト装置の構成を示す図で、テスト
装置1は、被テスト装置2に設定データを与える信号出
力部3、被テスト装置2から出力される検出データを入
力する信号入力部4、およびこの信号入力部4に入力さ
れた検出データと被テスト装置に与えられた設定データ
に対応して出力された検出データの期待値とを比較する
比較部5からなる。
FIG. 5 (A) is a diagram showing a configuration of the test apparatus. The test apparatus 1 has a signal output unit 3 for providing setting data to the device under test 2 and a signal input for inputting detection data output from the device under test 2. And a comparison section 5 for comparing the detection data input to the signal input section 4 with an expected value of the detection data output corresponding to the setting data given to the device under test.

ここで、被テスト装置2、例えば冷蔵庫に第5図
(B)に示すような設計仕様があるとする。この設定仕
様に従って、「被テスト装置上でスイッチが押される」
ということはSW6の端子の信号が5Vから0Vに変化するこ
とである。
Here, it is assumed that the device under test 2, for example, a refrigerator has design specifications as shown in FIG. 5 (B). According to this setting specification, "the switch is pressed on the device under test"
This means that the signal at the terminal of SW6 changes from 5V to 0V.

「モータを回転させる」ということはモータ7の端子
の信号を5Vから0Vに変化させることである。
“Rotating the motor” means changing the signal of the terminal of the motor 7 from 5V to 0V.

「LEDを点灯する」ということはLED8の端子の信号が0
Vから5Vに変化することである。
"Lighting the LED" means that the signal of the terminal of LED8 is 0
Change from V to 5V.

そして、「センサー電圧」はセンサー9の端子の電圧
であり、リニアに変化する。
The “sensor voltage” is the voltage of the terminal of the sensor 9 and changes linearly.

これらの条件を前提にして、テストデータ作成者は、
第5図(B)に示すSW6およびセンサー9に対応する設
定データ10とモータ7およびLED8に対応する期待値11と
を作成する。設定データ10は信号出力部3に、また期待
値11は比較部5にそれぞれ保持される。
Given these conditions, the test data creator
The setting data 10 corresponding to the SW 6 and the sensor 9 and the expected value 11 corresponding to the motor 7 and the LED 8 shown in FIG. The setting data 10 is held in the signal output unit 3, and the expected value 11 is held in the comparison unit 5.

次に、上記従来のテスト装置1において被テスト装置
2の動作を確認する場合の動作について説明する。
Next, the operation of the conventional test apparatus 1 for checking the operation of the device under test 2 will be described.

まず、第1ステップでSW6の端子を5Vに初期化し、続
いて、第2ステップでSW6の端子を0Vに変化させ、SW6が
押された状態を作る。ここで、被テスト装置2から信号
入力部4にモータ7の端子の信号として、第1ステップ
で5V、第2ステップで0Vが入力されると、比較部5にお
いて信号入力部4に入力された検出データと比較部5に
保持されている期待値11とが比較され、第2ステップで
「スイッチが押されたらモータを回転させる」という設
計仕様の検証データが完成する。
First, the terminal of SW6 is initialized to 5V in the first step, and subsequently, the terminal of SW6 is changed to 0V in the second step to create a state where SW6 is pressed. Here, when 5 V is input in the first step and 0 V in the second step as a signal of the terminal of the motor 7 from the device under test 2 to the signal input unit 4, the signal is input to the signal input unit 4 in the comparison unit 5. The detected data is compared with the expected value 11 held in the comparing unit 5, and in the second step, the verification data of the design specification of "rotate the motor when the switch is pressed" is completed.

このように、第5図(C)のSW6あるいはセンサー9
に対応する設定データ10を順次被テスト装置2に与えな
がら、被テスト装置2が出力するモータ7あるいはLED8
の信号データをモニタして、期待値11と比較を行なうこ
とで、設計仕様通りに動作していることを検証してい
た。
As described above, the SW6 or the sensor 9 shown in FIG.
Is sequentially supplied to the device under test 2 while the motor 7 or the LED 8 output from the device under test 2 is provided.
By monitoring the signal data and comparing it with the expected value 11, it was verified that the device was operating as designed.

(発明が解決しようとする課題) しかしながら、上記した検証装置では、システムの検
証をシステム動作を期待値と検出値を時間軸に沿って照
合しており、検出装置が有する誤差やシステムのセンサ
ーが有する誤差などによって、時間に対して厳密に確定
できない情報が存在する。
(Problems to be Solved by the Invention) However, in the above-described verification device, the verification of the system is performed by collating the expected value and the detected value of the system operation along the time axis. There is information that cannot be strictly determined with respect to time due to an error or the like.

例えば、被テストシステムが温度を取扱うシステム
で、「温度が−21.5℃になる」という状態を承認する場
合、温度はセンサーにより検出されるが、センサーには
誤差がありその性能から±0.5℃の誤差が許されるとす
ると−21.0℃から−22.0℃の間のいずれかの時点で上記
状態になったと考えられるが、どの時点で−21.5℃とな
ったのか確定できないという問題がある。
For example, if the system under test handles temperature and approves the condition that the temperature will be -21.5 ° C, the temperature is detected by the sensor, but the sensor has an error and the performance is ± 0.5 ° C. If an error is allowed, it is considered that the above-mentioned state is reached at any time between −21.0 ° C. and −22.0 ° C. However, there is a problem that it is not possible to determine at which time −21.5 ° C. has been reached.

また、この種のシステムの検証を自動化する場合、こ
のような誤差を含んだ情報を取扱うことが必要である
が、現状では、これに対する技法は確立されていない。
In order to automate the verification of this type of system, it is necessary to handle information including such errors, but at present, no technique has been established for this.

さらに、システムの仕様そのものに冗長性が含まれて
いる場合がある。例えば第6図の仕様はタイマが6分を
経過しかつ温度が−13℃を越えた時にコンプレッサを運
転することを示している。タイマと温度という2種類の
イベントが同時に発生した時システムがどちらを先に処
理しても全く同じ結果になるようにするために状態ST
1、ST2という中間状態を設けている。
Furthermore, there are cases where the system specifications themselves include redundancy. For example, the specification of FIG. 6 indicates that the compressor should be run when the timer has passed 6 minutes and the temperature has exceeded -13.degree. When two types of events, timer and temperature, occur at the same time, the state ST is set so that the same result will be obtained regardless of which system is processed first.
1. An intermediate state called ST2 is provided.

このような場合、システムの動作状態がST1、ST2のい
ずれにあるか外部から判定するのは難しく、冗長性を含
んだシステムに対するテスト技法は確立されていない。
In such a case, it is difficult to externally determine whether the operation state of the system is ST1 or ST2, and a test technique for a system including redundancy has not been established.

本発明は、上記事情に鑑みてなされたもので、誤差や
冗長性を含む情報を取扱うシステムの動作を自動的に検
証することのできるシステムテスト装置を提供すること
を目的としている。
The present invention has been made in view of the above circumstances, and has as its object to provide a system test apparatus that can automatically verify the operation of a system that handles information including errors and redundancy.

[発明の構成] (課題を解決するための手段) 本発明のシステムテスト装置は、被テストシステムに
要求されている仕様における期待情報を時間情報を含め
て、有限状態機械モデルに基づく記述で記憶する記憶手
段と、被テストシステムにおけるイベントとアクション
との組合せからなる動作情報を検出する検出手段と、こ
の検出手段で検出された動作情報を受取り、該動作情報
から被テストシステムの状態を推定し、推定した被テス
トシステムの状態に対応する有限状態機械モデルを実行
させる非決定性オートマトンと、この非決定性オートマ
トンにより実行された有限状態機械モデルに基づいて、
動作情報を被テストシステムの仕様と照合し、その間に
矛盾を発見したとき、被テストシステムの状態を推定す
る段階に遡ってこの被テストシステムにおけるイベント
とアクションとの別の組合せを動作情報として選択し、
選択した動作情報から被テストシステムの状態を再度推
定して照合のやり直しを行う検証手段とを備えたことを
特徴としている。
[Configuration of the Invention] (Means for Solving the Problems) A system test apparatus of the present invention stores expected information in specifications required of a system under test, including time information, in a description based on a finite state machine model. Storage means for performing the operation, and detecting means for detecting operation information comprising a combination of an event and an action in the system under test; receiving the operation information detected by the detecting means; and estimating the state of the system under test from the operation information. Based on a non-deterministic automaton that executes a finite state machine model corresponding to the estimated state of the system under test and a finite state machine model executed by the non-deterministic automaton,
The operation information is compared with the specifications of the system under test, and if inconsistencies are found during that time, another combination of events and actions in the system under test is selected as operation information going back to the stage of estimating the state of the system under test. And
A verification means for re-estimating the state of the system under test from the selected operation information and performing the verification again is provided.

(作 用) 本発明では、被テストシステムに要求されている仕様
における期待情報を時間情報を含めて有限状態機械モデ
ルに基づく記述で記憶させる一方、被テストシステムの
動作情報を検出して、この検出された動作情報から被テ
ストシステムの状態を推定する。
(Operation) In the present invention, while the expected information in the specification required for the system under test is stored in a description based on the finite state machine model including the time information, the operation information of the system under test is detected. The state of the system under test is estimated from the detected operation information.

そして、推定した被テストシステムの状態に対応する
有限状態機械モデルを実行させ、あらかじめ記憶させて
おいた被テストシステムの仕様と状態とを照合し、矛盾
がないかどうかを検証する。
Then, a finite state machine model corresponding to the estimated state of the system under test is executed, the specification of the system under test stored in advance is compared with the state, and it is verified whether there is any contradiction.

ここで検証される動作情報は、テスト開始時から終了
時までに起こり得る可能なイベントとアクションとを組
合せた系列情報として捉えられる。
The operation information to be verified here is regarded as series information in which possible events and actions that can occur from the start to the end of the test are combined.

この組合せは、それぞれ発生した時区間の重なってい
るイベントとアクションとの可能な組合せの中から一つ
が選択され、この被テストシステムの状態(どのような
イベントが生じて、そのイベントによりどのようなアク
ションが引起こされているか)として推定される。
As this combination, one of the possible combinations of the event and the action that overlap each other in the time interval that occurred is selected, and the state of the system under test (what kind of event occurs, Action is triggered).

次いで、この推定された状態を、被テストシステムの
仕様を記述した有限状態機械モデルに従って照合、検証
するのである。
Next, the estimated state is collated and verified according to a finite state machine model describing the specifications of the system under test.

有限状態機械モデルに従った照合はオートマトンによ
って実行され、検証部で検証される。
The matching according to the finite state machine model is performed by the automaton, and is verified by the verification unit.

もし、この検証結果がエラーとなった場合には、オー
トマトンを、イベントとアクションとの可能な組合せの
中から一つを選択する段階まで遡って戻し(以下バック
トラックと称する)、被テストシステムの別の可能な状
態について照合、検証のやり直しを行う。
If the verification results in an error, the automaton is returned to the stage of selecting one of the possible combinations of events and actions (hereinafter referred to as backtracking), and the system under test is returned. Recheck and verify again for another possible state.

検証結果のエラーは、オートマトンが推定した被テス
トシステムの状態と、「このようなイベントが生じた場
合にはこういうアクションが発生するはずである」とい
う被テストシステムの仕様における期待情報との間に矛
盾が生じた時に起こるものであり、テスト時間中の可能
な状態すべてについてオートマトンを実行させて検証を
行い、これらすべての場合の結果がエラーとなった時、
初めて被テストシステムは不良であると判断される。
The error in the verification result is between the state of the system under test estimated by the automaton and the expected information in the specification of the system under test that "if such an event occurs, such an action should occur." An inconsistency occurs when all possible states during the test time are verified by running the automaton, and when the result in all these cases is an error,
For the first time, the system under test is determined to be defective.

したがって、センサの誤差、動作検出の誤差等の測定
誤差や冗長性を含んだシステムの検証を実際にシステム
を実行させつつ、自動化することができる。
Therefore, it is possible to automate the verification of the system including the measurement error such as the error of the sensor and the error of the operation detection and the redundancy while actually executing the system.

(実施例) 以下、本発明の一実施例を図面を参照して説明する。Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のシステムテスト装置の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a system test apparatus according to one embodiment of the present invention.

同図において、このシステムテスト装置はテスト装置
21と被テスト装置22からなるものであり、この実施例に
おいては、被テスト装置22として冷蔵庫を用いた。
In this figure, this system test device is a test device.
The device comprises a test device 21 and a device under test 22. In this embodiment, a refrigerator is used as the device under test 22.

被テスト装置22としての冷蔵庫は、冷凍室の温度を測
定するセンサ23の測定温度に基づいて冷蔵庫制御部24が
コンプレッサ(図示省略)を駆動するモータ25の回転制
御を行なう。被テスト装置22からテスト装置21へは、電
源スイッチ26の信号、センサ23で測定された温度デー
タ、モータ25の回転データ、および冷蔵庫制御部24内の
図示しないタイマの信号が冷蔵庫の動作を示す検出信号
として出力される。
In the refrigerator as the device under test 22, the refrigerator control unit 24 controls the rotation of a motor 25 for driving a compressor (not shown) based on the temperature measured by a sensor 23 that measures the temperature of the freezer compartment. From the device under test 22 to the test device 21, the signal of the power switch 26, the temperature data measured by the sensor 23, the rotation data of the motor 25, and the signal of a timer (not shown) in the refrigerator control unit 24 indicate the operation of the refrigerator. It is output as a detection signal.

検出信号はテスト装置21における信号入力部27に入力
され、この信号入力部27に入力された検出信号から有限
状態機械モデルに基づいてイベントはイベント抽出部28
へ、また、アクションはアクション抽出部29へ、それぞ
れ抽出される。
The detection signal is input to a signal input unit 27 of the test apparatus 21. From the detection signal input to the signal input unit 27, an event is extracted based on a finite state machine model into an event extraction unit 28.
And the action is extracted to the action extraction unit 29.

一方、被テスト装置22に要求されている仕様は、期待
情報といて仕様データファイル30に有限状態機械モデル
に基づいた記述で収納されている。イベント抽出部28と
アクション抽出部29において抽出されたデータは、仕様
データファイル30に収納されている仕様に基づいて被テ
スト装置22の状態を管理するオートマトン31に従って、
検証部32において仕様と照合することにより検証され
る。
On the other hand, the specification required for the device under test 22 is stored in the specification data file 30 as expected information in a description based on the finite state machine model. Data extracted in the event extraction unit 28 and the action extraction unit 29, according to the automaton 31 that manages the state of the device under test 22 based on the specifications stored in the specification data file 30,
The verification is performed by the verification unit 32 by collating with the specification.

なお、仕様データファイル30には、テーブル形式で、
例えば各種事象名、発生モード、許容誤差等からなるイ
ベントデータ、アクションデータ、および状態遷移デー
タが収納されている。
The specification data file 30 has a table format.
For example, event data including various event names, occurrence modes, allowable errors, etc., action data, and state transition data are stored.

また、オートマトン31は非決定性オートマトンを用い
る。すなわち、イベント抽出部28とアクション抽出部29
において抽出されたデータからなる被テスト装置22の動
作情報が複数組存在する場合、これらの情報を順次実行
して行き、矛盾が生じた場合は情報選択の段階にバック
トラックして再び実行するものである。
The automaton 31 uses a non-deterministic automaton. That is, the event extraction unit 28 and the action extraction unit 29
In the case where there are a plurality of sets of operation information of the device under test 22 consisting of the data extracted in the above, the information is sequentially executed, and if inconsistency occurs, the information is backtracked to the information selection stage and executed again. It is.

検証部32における検証結果は、オートマトン31を介し
て表示部33とレポート部34にそれぞれ入力され、CRTデ
ィスプレイ35に表示されるとともにレポートファイル36
に保存される。
The verification result in the verification unit 32 is input to the display unit 33 and the report unit 34 via the automaton 31 and is displayed on the CRT display 35 and the report file 36
Is stored in

ここで、有限状態機械モデルについて説明する。有限
状態機械モデルとは、有限個の状態とイベント(入力信
号)の発生により起こる状態遷移の集合により表現さ
れ、イベントの発生に対する状態遷移時になんらかのア
クション(入力信号に対する動作)が引起こされるもの
をいい、このとき、測定誤差等の範囲とシステム仕様の
冗長性を考慮して、イベントまたはアクションの生起時
間を時点ではなく、生起可能な時区間として表現する。
Here, the finite state machine model will be described. A finite state machine model is represented by a set of state transitions caused by the occurrence of a finite number of states and events (input signals). A model in which some action (operation on an input signal) is caused at the time of state transitions for the occurrence of an event. In this case, in consideration of the range of the measurement error and the like and the redundancy of the system specifications, the occurrence time of the event or the action is expressed not as a time point but as a possible time interval.

即ち、その事象の生起した可能性を生じた時点、およ
びその事象が完結した時点により事象の生起時間を表現
する。例えば「冷凍室温度>−21.5℃」というイベント
は、冷凍室の温度が−21.5℃より高くなったときに生起
し、これは冷凍室の温度を測定しているセンサーにより
識別される。
That is, the occurrence time of the event is expressed by the time when the possibility of occurrence of the event occurs and the time when the event is completed. For example, the event "freezer temperature> -21.5 ° C" occurs when the temperature of the freezer is higher than -21.5 ° C, which is identified by a sensor measuring the temperature of the freezer.

ところで、センサーは測定誤差を有するのが通常であ
り、この測定誤差を±0.5℃とすると、「冷凍室温度>
−21.5℃」というイベントは−21℃〜−22℃の間のどこ
かで生起するはずであり、これを正確に検出することが
できない。従って、センサーの有する±0.5℃の測定誤
差を考慮すると、第2図(A)、(B)に示す誤差範囲
のように、イベント開始時間TESからイベント終了時間T
EEまでの区間を生起時間として取り扱う。アクションに
ついても、イベントと同様に時区間で捉える。
By the way, the sensor usually has a measurement error, and if this measurement error is ± 0.5 ° C., “freezing room temperature>
The event “−21.5 ° C.” must occur somewhere between −21 ° C. and −22 ° C. and cannot be detected accurately. Therefore, considering a measurement error of ± 0.5 ° C. with the sensor, FIG. 2 (A), as the error range (B), the event end time from the event start time T ES T
The section up to EE is treated as the occurrence time. Actions are also captured in time intervals, similar to events.

上記のように、イベントとアクションを生起可能な時
区間で捉え、イベントとアクションの対応付けを示した
のが第3図である。
As described above, FIG. 3 shows the correspondence between the event and the action, which is captured in the time interval in which the event and the action can occur.

同図に示すように、第3図(A)および第3図(B)
におけるイベントとアクションの生起時間の理論積によ
り決定されるTSからTEの間ではイベントとアクションの
対応が取れており、この区間は、イベントの発生に対す
るアクションが引起こされた状態に遷移したことを示す
ものである。このように、イベントとアクションの対応
により、ある状態に遷移した時の時間(状態時間)も時
区間で表現できる。つまり、第3図(A)、第3図
(B)においては、TSからTEの区間が状態時間である。
As shown in FIG. 3, FIG. 3 (A) and FIG. 3 (B)
Between T S and T E determined by the theoretical product of the occurrence time of the event and the action in, there is a correspondence between the event and the action, and this section transits to the state where the action for the occurrence of the event has been triggered It shows that. As described above, the time (state time) when the state transits to a certain state can be expressed by the time interval by the correspondence between the event and the action. That is, in FIGS. 3A and 3B, a section from T S to T E is a state time.

一方、第3図(C)においては、イベントとアクショ
ンの対応が取れておらず、状態時間が存在しない。この
場合は、システムに矛盾が発生していることを示す。
On the other hand, in FIG. 3 (C), there is no correspondence between events and actions, and there is no state time. In this case, it indicates that a contradiction has occurred in the system.

第3図(D)は、生起可能なイベントとアクションの
組が複数存在し、どの組が実際に先に発生したかが確定
できない例である。この例では、イベント2種類、アク
ション2種類の組合せで4通りの可能性がある。実際に
は、これらの組合せの中で許されていない組合せを除い
た組合せの数が複数存在するとき不確定となる。
FIG. 3D shows an example in which there are a plurality of pairs of events and actions that can occur, and it cannot be determined which pair actually occurred first. In this example, there are four possible combinations of two types of events and two types of actions. Actually, when there are a plurality of combinations excluding an unacceptable combination among these combinations, it is uncertain.

不確定な状態になった時、組合せ可能な組の中から任
意(あるいは確率の高いもの)をとりあえず選択し、検
証を進めていき、矛盾が発生すると先の不確定な状態に
遡って、イベントとアクションとの別の組合せを選択し
て再度検証を行う。
When the state becomes uncertain, select an arbitrary (or high-probability) one from among the possible combinations, and proceed with the verification. If inconsistency occurs, go back to the previous uncertain state and make an event Select another combination of and action and perform the verification again.

このように、イベント、アクション、および状態時間
を時区間で捉え、不確定な状態ではとりあえず一つの可
能なイベントとアクションとの組合せを被テストシステ
ムの動作情報として選択し、後に矛盾が発生すれば、選
択段階までバックトラックして動作情報を選択し直すこ
とにより、誤差や冗長性を含んだシステムについても検
証することができる。
In this way, the event, action, and state time are captured in time intervals, and in the uncertain state, one possible combination of event and action is selected as the operation information of the system under test, and if a contradiction occurs later, By backtracking to the selection stage and re-selecting the operation information, it is also possible to verify a system including errors and redundancy.

なお、イベント、アクション、および状態時間が時刻
で正確に捉えられるシステムにおいても冗長性に関して
は本発明の適用により検証可能である。
It should be noted that even in a system in which events, actions, and state times are accurately captured by time, redundancy can be verified by applying the present invention.

続いて、上記構成のシステムテスト装置を冷蔵庫に適
用して実際に検証を行った例について説明する。
Next, an example in which the system test apparatus having the above configuration is applied to a refrigerator and actually verified will be described.

ここで使用した冷蔵庫は、次の仕様を有しているもの
とする。
The refrigerator used here shall have the following specifications.

電源投入時は、必ずコンプレッサを運転する。 Always operate the compressor when turning on the power.

冷凍室温度が−20℃より上がると、コンプレッサを
運転して室内温度を下げる。
When the freezing room temperature rises above -20 ° C, the compressor is operated to lower the room temperature.

冷凍室温度が−30℃より下がると、コンプレッサを
停止してこれ以上室内温度を下げない。
When the freezing room temperature falls below -30 ° C, the compressor is stopped and the room temperature is not further reduced.

いったんコンプレッサが停止すると、5分間は運転
を再開しない。
Once the compressor stops, it does not resume operation for 5 minutes.

冷凍室のドアが開けられると閉じられるまでコンプ
レッサを運転する。
When the freezer door is opened, the compressor runs until it is closed.

上記仕様を状態遷移図で示したものが第4図であり、
第4図に従って冷蔵庫の動作を説明する。
FIG. 4 shows the above specifications in a state transition diagram.
The operation of the refrigerator will be described with reference to FIG.

まず、状態0(STO)から、「イベント:電源ON」と
「アクション:コンプレッサ運転」の対応をイベント抽
出部28およびアクション抽出部29で抽出されたイベント
データおよびアクションデータと仕様データファイル30
に格納されている期待情報とを検証部32において照合す
ることにより検証する。
First, from the state 0 (STO), the correspondence between “event: power ON” and “action: compressor operation” is determined based on the event data and action data extracted by the event extraction unit 28 and the action extraction unit 29, and the specification data file 30.
The verification is performed by comparing the expected information stored in the verification unit 32 with the expected information.

STOにおける対応が取れたことがオートマトン31によ
って確認されると、状態はST1に遷移する。この遷移で
は、検出誤差が加味されている。なお、検証部32による
検証は以下の各状態においても行われる。
When the automaton 31 confirms that the correspondence in the STO has been taken, the state transits to ST1. In this transition, a detection error is added. The verification by the verification unit 32 is also performed in each of the following states.

ST1では、「イベント:冷凍室温度−30℃以下」と
「アクション:コンプレッサ停止、コンプレッサ保護タ
イマ初期化」の対応を取る。この時点では、温度センサ
の誤差と検出誤差を考慮して、生起時間の考え方を用い
てイベントとアクションの対応を取る。対応が取れれ
ば、状態はST1からST3に遷移する。
In ST1, "event: freezing room temperature -30 ° C or less" and "action: compressor stop, compressor protection timer initialization" are taken. At this point, taking into account the error of the temperature sensor and the detection error, a correspondence between the event and the action is taken using the concept of the occurrence time. If the correspondence is established, the state transits from ST1 to ST3.

ST3では、イベントとアクションの対応により、ST3の
状態時間が求められ、この状態時間から「保護タイマ5
分」が検出され、ST2に遷移する。内部タイマは内部事
象として扱っている。
In ST3, the state time of ST3 is determined by the correspondence between the event and the action.
Minute ”is detected, and the process transits to ST2. The internal timer is treated as an internal event.

ST2では、「イベント1:冷凍室温度−20℃以上」なら
「アクション:コンプレッサ運転」を、「イベント2:冷
凍室ドア開」なら同じく「アクション:コンプレッサ運
転」のアクションをとって各々状態ST1、ST4へ遷移す
る。
In ST2, if "Event 1: freezer compartment temperature -20 ° C or higher", take the action of "Action: Compressor operation", and if "Event 2: Freezer compartment door open", take the same action of "Action: Compressor operation". Transition to ST4.

ST4では、「イベント:冷凍室ドア閉」なら「アクシ
ョン:コンプレッサの停止、コンプレッサ保護タイマ初
期化」の対応を検出してST3へ遷移する。
In ST4, if "event: freezer compartment door closed", a response of "action: compressor stoppage, compressor protection timer initialization" is detected, and a transition is made to ST3.

ST2で(イベント1、アクション)、(イベント2、
アクション)の2つの組合せが生起可能(選択可能)な
状態になったとする。ここで(イベント1、アクショ
ン)を先ず選択するとST1に遷移するが、冷凍室温度が
−30℃に達しなかったとすると評価されなかったイベン
ト2とドア閉イベント、コンプレッサ停止アクション等
々が認識されるが生起可能時間の関係から矛盾が発見さ
れたとする。
In ST2, (Event 1, Action), (Event 2,
It is assumed that the two combinations (action) can be caused (selectable). When (Event 1, Action) is selected first, the process transitions to ST1, but Event 2 which was not evaluated that the freezer compartment temperature did not reach -30 ° C, a door closing event, a compressor stop action, etc. are recognized. Suppose that a contradiction was found from the relationship between the possible occurrence times.

この場合、先のST2に戻って今後は(イベント2、ア
クション)を選択してST4に遷移し以下、この動作を繰
返す。
In this case, the process returns to the previous ST2, selects (event 2, action) in the future, transits to ST4, and thereafter repeats this operation.

この例では、ST2でドアを開けたために−20℃を越え
てしまったもので、−20℃を越えたというイベントは評
価する必要はない。これはシステム仕様の冗長性から発
生する減少であるが本方法を用いることにより、それに
もかかわらず検証可能になる。
In this example, since the door was opened in ST2, the temperature exceeded -20 ° C, and the event of exceeding -20 ° C does not need to be evaluated. This is a reduction arising from the redundancy of the system specification, but using the method nevertheless makes it verifiable.

このように、被テストシステムの仕様を記述した有限
状態機械モデルに基づいてイベントとアクションとの生
起可能な組合せを被テストシステムと動作情報として捉
え、不確定な場合は先ず一組を選択してオートマトンに
より実行させ、矛盾が発見されると不確定な状態に戻っ
て検証をやり直すことにより、センサの誤差、動作の検
出の誤差等の誤差および冗長性を含んだシステムの検証
を自動的に行なうことができる。
In this way, based on the finite state machine model describing the specifications of the system under test, a possible combination of an event and an action is considered as the system under test and operation information, and if uncertain, one pair is selected first. Automatically verifies the system including errors such as sensor errors, motion detection errors, and redundancy by causing the automaton to execute and returning to an uncertain state if inconsistencies are found be able to.

なお、本発明のシステムテスト装置は上記実施例に限
定されることなく、種々変化可能なことは勿論である。
The system test apparatus of the present invention is not limited to the above embodiment, but can be variously changed.

[発明の効果] 以上説明したように、本発明のシステムテスト装置で
は、被テストシステムの仕様を有限状態機械モデルで記
述し、システムや検査機器の誤差が検証に与える影響を
考慮してオートマトンを拡張した非決定性オートマトン
を導入している。
[Effects of the Invention] As described above, in the system test apparatus of the present invention, the specification of the system under test is described by a finite state machine model, and the automaton is considered in consideration of the influence of the error of the system or the inspection equipment on the verification. An extended non-deterministic automaton is introduced.

この非決定性オートマトンを用いて、被テストシステ
ムの可能な状態すべてについて実行を繰返し行うことに
より、システムテストの自動化、信頼性の向上を図るこ
とができる。
By using this non-deterministic automaton to repeatedly execute all possible states of the system under test, it is possible to automate the system test and improve the reliability.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の一実施例のシステムテスト装置の構成
を示す図、第2図はセンサの誤差の範囲を示す図、第3
図はイベントとアクションとの対応付けを示す図、第4
図は本発明の一実施例における状態を遷移を示す状態遷
移図、第5図は従来のシステムテスト装置の構成を示す
図、第6図はシステム仕様の冗長性を示す状態遷移図で
ある。 21……テスト装置 22……被テスト装置 27……信号入力部 28……イベント抽出部 29……アクション抽出部 30……仕様データファイル 31……オートマトン 32……検証部
FIG. 1 is a diagram showing a configuration of a system test apparatus according to an embodiment of the present invention, FIG. 2 is a diagram showing a range of a sensor error, and FIG.
The figure shows the correspondence between events and actions.
FIG. 5 is a state transition diagram showing a state transition in one embodiment of the present invention, FIG. 5 is a diagram showing a configuration of a conventional system test apparatus, and FIG. 6 is a state transition diagram showing redundancy of system specifications. 21 Test device 22 Device under test 27 Signal input unit 28 Event extraction unit 29 Action extraction unit 30 Specification data file 31 Automaton 32 Verification unit

フロントページの続き (72)発明者 手島 文彰 神奈川県川崎市幸区柳町70番地 株式会 社東芝柳町工場内 (72)発明者 紅林 薫 神奈川県川崎市幸区柳町70番地 株式会 社東芝柳町工場内 (72)発明者 岸本 卓也 神奈川県横浜市磯子区新杉田町8 東芝 オーディオ・ビデオエンジニアリング株 式会社開発事業所内 (56)参考文献 特開 平1−260544(JP,A) 特開 平1−260545(JP,A)Continued on the front page (72) Inventor Fumiaki Teshima 70, Yanagicho, Saiwai-ku, Kawasaki-shi, Kanagawa Prefecture Inside the Toshiba Yanagicho Plant Co., Ltd. (72) Inventor Takuya Kishimoto 8 Shinsugita-machi, Isogo-ku, Yokohama-shi, Kanagawa Prefecture Toshiba Audio-Video Engineering Co., Ltd. Development Office (56) References JP-A 1-260544 (JP, A) JP 1-260545 ( JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】被テストシステムに要求されている仕様に
おける期待情報を時間情報を含めて、有限状態機械モデ
ルに基づく記述で記憶する記憶手段と、 前記被テストシステムにおけるイベントとアクションと
の組合せからなる動作情報を検出する検出手段と、 この検出手段で検出された動作情報を受取り、該動作情
報から前記被テストシステムの状態を推定し、推定した
被テストシステムの状態に対応する有限状態機械モデル
を実行させる非決定性オートマトンと、 この非決定性オートマトンにより実行された有限状態機
械モデルに基づいて、前記動作情報を前記被テストシス
テムの仕様と照合し、その間に矛盾を発見したとき、前
記被テストシステムの状態を推定する段階に遡ってこの
被テストシステムにおけるイベントとアクションとの別
の組合せを動作情報として選択し、選択した動作情報か
ら前記被テストシステムの状態を再度推定して照合のや
り直しを行う検証手段と を備えたことを特徴とするシステムテスト装置。
1. A storage means for storing expected information in specifications required for a system under test, including time information, in a description based on a finite state machine model, and a combination of an event and an action in the system under test. Detecting means for detecting the operation information, and receiving the operation information detected by the detection means; estimating the state of the system under test from the operation information; and a finite state machine model corresponding to the estimated state of the system under test. Based on the finite state machine model executed by the nondeterministic automaton, the operation information is checked against the specification of the system under test, and when an inconsistency is found therebetween, the system under test Going back to the stage of estimating the state of the Select a different combination as the operation information, system test apparatus characterized by comprising a verification means for performing again the match by estimating the state of the system under test again selected operation information.
JP1333556A 1989-09-12 1989-12-22 System test equipment Expired - Lifetime JP2590277B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP1333556A JP2590277B2 (en) 1989-12-22 1989-12-22 System test equipment
US07/543,371 US5161115A (en) 1989-09-12 1990-06-26 System test apparatus for verifying operability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1333556A JP2590277B2 (en) 1989-12-22 1989-12-22 System test equipment

Publications (2)

Publication Number Publication Date
JPH03194420A JPH03194420A (en) 1991-08-26
JP2590277B2 true JP2590277B2 (en) 1997-03-12

Family

ID=18267362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1333556A Expired - Lifetime JP2590277B2 (en) 1989-09-12 1989-12-22 System test equipment

Country Status (1)

Country Link
JP (1) JP2590277B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104359699A (en) * 2014-12-02 2015-02-18 中国北方车辆研究所 Multi-parameter target simulation test device under unified heat source

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005107372A2 (en) * 2004-05-10 2005-11-17 Nibea Quality Management Solutions Ltd. Product functionality assurance and guided troubleshooting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104359699A (en) * 2014-12-02 2015-02-18 中国北方车辆研究所 Multi-parameter target simulation test device under unified heat source
CN104359699B (en) * 2014-12-02 2017-09-26 中国北方车辆研究所 A kind of multi-parameter target simulation experimental rig under unified thermal source

Also Published As

Publication number Publication date
JPH03194420A (en) 1991-08-26

Similar Documents

Publication Publication Date Title
US5161115A (en) System test apparatus for verifying operability
US6535769B1 (en) Monitoring system for monitoring processing equipment
JP3063708B2 (en) Non-stop power supply system, backup target device used therefor, and recording medium recording program for operating computer as backup target device
US4866713A (en) Operational function checking method and device for microprocessors
US4183462A (en) Fault diagnosis apparatus and method for sequence control system
JP2590277B2 (en) System test equipment
US4472789A (en) Vital timer
KR101651570B1 (en) Method and apparatus for testing a fingerprint recognition device
JP2007140997A (en) Apparatus for diagnosing fault
JPH0399227A (en) System testing method
JPH0577143A (en) Failure diagnosis device for automated line
JP2554282B2 (en) Fault diagnosis device for sequence controller
JP3731423B2 (en) Method for creating reference pattern for failure diagnosis and failure diagnosis apparatus
JPH0334055A (en) Automatic check device and simulation device
SU1278855A1 (en) Device for checking and diagnostic testing of digital units
CN119254681A (en) A bus type servo test method and related equipment
JPH0460435A (en) Automatic apparatus for verification
JPH0934536A (en) Failure diagnosis device and method
JPH0250206A (en) FA controller failure diagnosis device
JP2549690B2 (en) Pseudo-fault test method for channel processor
JPS594724B2 (en) Koshiyou Shindan Houshiki
JP3309533B2 (en) Fault diagnosis device
JPS5849900B2 (en) Diagnosis method during IPL
JPH01292445A (en) Firmware debugging system
JPH04316131A (en) Fault identification method