JPH0719216B2 - Operation confirmation method for computers in the network - Google Patents

Operation confirmation method for computers in the network

Info

Publication number
JPH0719216B2
JPH0719216B2 JP1116167A JP11616789A JPH0719216B2 JP H0719216 B2 JPH0719216 B2 JP H0719216B2 JP 1116167 A JP1116167 A JP 1116167A JP 11616789 A JP11616789 A JP 11616789A JP H0719216 B2 JPH0719216 B2 JP H0719216B2
Authority
JP
Japan
Prior art keywords
computer
status
text
under test
event
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
JP1116167A
Other languages
Japanese (ja)
Other versions
JPH02297224A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1116167A priority Critical patent/JPH0719216B2/en
Publication of JPH02297224A publication Critical patent/JPH02297224A/en
Publication of JPH0719216B2 publication Critical patent/JPH0719216B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ネツトワーク内計算機の動作確認方式に係
り、特に、ネツトワーク内のある計算機における状態遷
移の状況を他の任意の計算機により正確に迅速にかつ簡
単に把握することのできるネツトワーク内計算機の動作
確認方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for checking operation of a computer in a network, and more particularly, to accurately determine the state of state transition in a computer in a network by another arbitrary computer. A method for checking the operation of a computer in a network that can be quickly and easily grasped.

〔従来の技術〕[Conventional technology]

従来、電子計算機ネツトワーク内の任意の計算機の動作
確認のためのテスト/検証方法として、計算機ソフトウ
エアが設計通りに動作しているか否か判定するために、
予めテスト・シナリオを作成し、該テスト・シナリオに
従つて動作確認を行なう方法が知られている。ここで、
テスト・シナリオとは、テストを受ける計算機(被テス
ト計算機)への任意のデータ入力すなわち指令(以下、
「イベント」という)に対し、上記計算機ソフトウエア
の反応を応答データとして出力し、その入出力データの
組合わせにより、上記ソフトウエアの状態(ステータ
ス)を認識するためのものである。この「状態」は、例
えば、ある計算機が今、どのタスクのどのモジユールを
使つてどういう動作をしているかなどといつたことを表
したものである。計算機のある状態は、イベント入力が
あると、その都度、予め決められたシナリオに従つて遷
移することから、イベント入力とそれに対する応答出力
データを調べることにより、遷移の行なわれる前後の計
算機の状態を予測(推定)することができる。
Conventionally, as a test / verification method for confirming the operation of an arbitrary computer in an electronic computer network, in order to determine whether or not the computer software is operating as designed,
A method is known in which a test scenario is created in advance and the operation is confirmed according to the test scenario. here,
A test scenario is an arbitrary data input or command (hereinafter, command) to a computer under test (computer under test).
In response to the "event"), the response of the computer software is output as response data, and the combination of the input / output data is used to recognize the status of the software. This “state” represents, for example, when a certain computer is currently operating with which task, which module, and what kind of operation. When there is an event input, the state of the computer changes according to a predetermined scenario each time.Therefore, by checking the event input and the response output data, the state of the computer before and after the transition is performed. Can be predicted (estimated).

また、上記従来のネツトワークにおいて、遠隔地に存在
する計算機のテスト/検証を行なう場合には、現地まで
出向き、そこで上記のテスト・シナリオを用いてテスト
/検証を行なつている。
Further, in the above-mentioned conventional network, when the test / verification of a computer existing in a remote place is to be carried out, a visit to the site is carried out, and the test / verification is carried out using the above-mentioned test scenario.

なお、この種の、計算機の遷移状態を実際のデータでな
く予測(推定)により求めているテスト/検証方法の例
として、特開昭61−72451号公報がある。
As an example of this type of test / verification method in which the transition state of a computer is obtained by prediction (estimation) instead of actual data, there is JP-A-61-72451.

上記公開公報に記載の方法では、主記憶装置内にイベン
ト・バツフア領域を設け、その(自局の)イベント・バ
ツフアに自局の伝送状態遷移の記録を格納しておき、相
手局にテキストを送信する場合、通信制御装置はテキス
トを相手局側に送出し、修了すると、自局のイベント・
バツフアに、テキストの送信修了の通知を格納するとと
もに、テキストの伝送における状態遷移のデータを格納
する。また、テキストを受信した場合、通信制御装置は
イベント・バツフアにテキスト受信の通知を格納すると
ともにテキストの伝送における状態遷移のデータを格納
するようになつている。つまり、従来技術では、自分の
状態遷移情報を自分のバツフアに格納するだけで、相手
にはその状態遷移情報送らない。
In the method described in the above publication, an event buffer area is provided in the main storage device, a record of the transmission state transition of the own station is stored in the event buffer (of its own station), and a text is written to the other station. When sending, the communication control unit sends the text to the partner station side, and when it completes, the event
The buffer stores a notification of completion of text transmission, and also stores state transition data during text transmission. Further, when the text is received, the communication control device stores the text reception notification in the event buffer and also stores the state transition data in the text transmission. That is, according to the conventional technique, only the own state transition information is stored in the own buffer, and the state transition information is not sent to the other party.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記従来技術は、以下に示す問題があつた。 The above conventional technique has the following problems.

(1)上記テスト・シナリオによるテスト/検証方法で
は、上記ソフトウエアの一つの状態を検知(確定)する
ために、数回の入出力を繰返さなければならないばかり
でなく、場合によつては、状態Aから状態Cに遷移した
のか状態Bから状態Cに遷移したのか判定不可能なもの
も存在する。これは、1回または数回の同じ入出力の組
合わせに対し、幾通りもの状態遷移が存在する可能性が
あるため、上記の予測(推定)による方法では、その状
態遷移を1つに確定できないからである。このように、
相手局の遷移状態を実際のデータではなく予測(推定)
により求める方法では、検証の精度が悪く信頼性に問題
があり、入出力回数が増すにつれ効率も悪くなり、時間
と費用がかさむ問題があつた。
(1) In the test / verification method based on the test scenario, not only the input / output must be repeated several times in order to detect (determine) one state of the software, but in some cases, There are some cases in which it is impossible to determine whether the state A transits to the state C or the state B transits to the state C. This is because there may be many different state transitions for the same input / output combination once or several times. Therefore, the above-mentioned prediction (estimation) method determines only one state transition. Because you can't. in this way,
Predict (estimate) the transition state of the partner station, not the actual data
However, the accuracy of the verification is poor and the reliability is problematic, and as the number of inputs and outputs increases, the efficiency also deteriorates, resulting in a problem of time and cost.

また、遠隔地に存在する計算機まで出向いて検証を行な
う方法では、効率が悪く、人手と時間がかかる。
In addition, the method of going to a computer existing in a remote place to perform verification is inefficient, and requires manpower and time.

そこで、計算機ネツトワークにおいて、遠隔地に存在す
る計算機に対しても、身近な計算機から正確で簡単で、
スピーデイかつ安価な費用で行えるテスト/検証方法を
確立することが望まれる。
Therefore, in the computer network, even for computers located in remote areas, it is accurate and easy from a familiar computer,
It is desirable to establish a test / verification method that can be done speedily and at low cost.

(2)データ端末装置が、同時に複数の相手局を持ち、
複数の相手局に対しテキストを送信する場合、主記憶装
置内のイベント・バツフアの容量が相手局数分必要であ
る点について配慮がされておらず、メモリ容量に問題が
あつた。
(2) The data terminal device has a plurality of partner stations at the same time,
When sending a text to a plurality of partner stations, no consideration was given to the fact that the capacity of the event buffer in the main memory is required for the number of partner stations, and there was a problem with the memory capacity.

(3)イベント・バツフアに記録した伝送状態遷移に確
認がずれた場合について配慮がなされていない。つま
り、上記(1)で述べたように、実際の遷移情報ではな
く、予測した情報なので、誤動作したときに検知できな
いという問題があつた。
(3) No consideration is given to the case where the confirmation is deviated from the transmission state transition recorded in the event buffer. That is, as described in (1) above, since it is not the actual transition information but the predicted information, there is a problem that it cannot be detected when a malfunction occurs.

(4)ソフトウエアの変更や交換により伝送状態遷移の
記録が変わつた場合、イベント・バツフアに再記録しな
くてはならず、メンテナンスに費やす時間やそれに伴う
誤認識の危険性に問題があつた。
(4) If the transmission state transition record changes due to software change or replacement, it has to be re-recorded in the event buffer, and there is a problem in the time spent for maintenance and the risk of misrecognition accompanying it. .

(5)相手局の状態遷移を自計算機で予測しているた
め、テキスト送信とテキスト受信が同時に起こつた場合
の状態遷移のデータ格納順序が逆転する場合があり誤動
作するため、信頼性に重大な問題があつた。
(5) Since the state transition of the partner station is predicted by its own computer, the data storage order of the state transition may be reversed when text transmission and text reception occur at the same time, and malfunction may occur. There was a problem.

従つて、本発明の目的は、上記従来技術の問題点を解消
し、任意の計算機の状態遷移の状況を1回の入出力で一
義的に確認することができて高信頼性の検証を行なうこ
とができると共に、遠隔地から人手を介さずに簡単で汎
用性に富む状態遷移情報の検知を行なうことのできるネ
ツトワーク内計算機の動作確認方式を提供することにあ
る。
Therefore, the object of the present invention is to solve the above-mentioned problems of the conventional technology, and to uniquely confirm the state of state transition of an arbitrary computer with one input / output, thereby performing highly reliable verification. (EN) It is possible to provide an operation confirmation system for a computer in a network that can detect state transition information that is simple and versatile from a remote place without human intervention.

〔課題を解決するための手段〕[Means for Solving the Problems]

上記目的を達成するため、本発明のネツトワーク内計算
機の動作確認方式は、テスタ計算機(テストを行なう計
算機)から入力したテキストに対する、被テスト計算機
(テストを受ける計算機)からの応答テキストに、通常
の応答テキストに加え、この被テスト計算機の被テスト
部での状態情報(以下、「状態遷移情報」,「遷移情
報」,または「ステータス情報」等と称す)を付加する
手段を備えたことを特徴とする。
In order to achieve the above-mentioned object, the operation confirmation method of the computer in the network of the present invention is usually the response text from the computer under test (computer to be tested) to the text input from the tester computer (computer performing the test). In addition to the response text of the above, a means for adding state information (hereinafter referred to as "state transition information", "transition information", or "status information") in the tested part of the computer under test is provided. Characterize.

テスタ計算機が被テスト計算機に対し遠隔地にある場合
にも適用される。
It also applies when the tester computer is remote from the computer under test.

応答テキストに付加される状態遷移情報(ステータス情
報)としては、現在の状態遷移情報(現在のステータ
ス)および一つ前の状態遷移情報(一つ前のステータ
ス)の2つとするのが望ましく、このため、被テスト部
にこれら2つの状態遷移情報格納用テーブルを備える。
It is desirable that the state transition information (status information) added to the response text be the current state transition information (current status) and the previous state transition information (previous status). Therefore, the unit under test is provided with these two state transition information storage tables.

予め作成した被テスト部の状態遷移情報(テストシナリ
オ)は、テスタ計算機に格納しておいてもよいが、被テ
スト部内に格納しておいて、ここで実際の状態遷移情報
と比較し、比較結果を応答テキストに付加してテスタ計
算機に送ることもできる。
The state transition information (test scenario) of the unit under test created in advance may be stored in the tester computer, but it is stored in the unit under test and compared here with the actual state transition information for comparison. The result can be added to the response text and sent to the tester calculator.

状態遷移情報は、応答テキストの一部としてこれに含ま
れる形で付加してもよいし、また、応答テキストとは別
に、遷移情報専用テキストを作つてテスタ計算機に送る
ようにしてもよい。この遷移情報専用テキストに、応答
テキストとの対応をとるデータ(例えば、時間値等のデ
ータ)を付加することができる。
The state transition information may be added in a form included in the response text as a part of the response text, or a text dedicated to the transition information may be created separately from the response text and sent to the tester computer. Data that corresponds to the response text (for example, data such as a time value) can be added to this transition information dedicated text.

〔作用〕[Action]

上記構成による作用を説明する。 The operation of the above configuration will be described.

本発明によれば、被テスト計算機からテスタ計算機へ送
られる応答テキストには、従来の応答テキストのほか、
被テスト部の実際の状態遷移情報が付加されているの
で、(Aステータスにあるはずだとか、Bステータスに
遷移するはずだというように)単に推測(予測)で被テ
スト部の状態または状態遷移の状況を判定するのとは違
つて、この状況を正確に判定確認することができ、誤認
識することがない。
According to the present invention, the response text sent from the computer under test to the tester computer includes the conventional response text,
Since the actual state transition information of the unit under test is added, the state or state transition of the unit under test is simply estimated (predicted) (eg, it should be in A status or B status). Unlike the case of determining the situation described above, this situation can be accurately determined and confirmed, and there is no erroneous recognition.

また、状態遷移情報として、現在の状態遷移情報(現在
のステータス)および一つ前の状態遷移情報(一つ前の
ステータス)の2つを用いる場合の作用は、次の通りで
ある。
Further, the operation when using two pieces of the current state transition information (current status) and the previous state transition information (previous status) as the state transition information is as follows.

被テスト部は、立ち上がると、まず「現在のステータス
格納用テーブル」と「一つ前のステータス格納用テーブ
ル」を初期化する。そして、イベントを入力すると、上
記「現在のステータス格納用テーブル」の内容を上記
「一つ前のステータス格納用テーブル」にコピーする。
遷移後、遷移先ステータスを上記「現在のステータス格
納用テーブル」へ格納する。
When the unit to be tested starts up, it first initializes the “current status storage table” and the “previous status storage table”. When an event is input, the contents of the "current status storage table" are copied to the "previous status storage table".
After the transition, the transition destination status is stored in the "current status storage table".

その後、被テスト部内の応答テキストをテスタ計算機に
返信するモジユールでは、応答テキスト内の「現在のス
テータス格納用データユニツト」に、テーブルに記録し
ている現在のステータスを格納する。また、「一つ前の
ステータス格納用のデータユニツト」に、テーブルに記
録している一つ前のステータスを格納する。そして、テ
スタ計算機に上記応答テキストを返信するものとする。
After that, in the module for returning the response text in the tested part to the tester computer, the current status recorded in the table is stored in the "current status storing data unit" in the response text. Also, the previous status recorded in the table is stored in the "data unit for storing the previous status". Then, the response text is returned to the tester computer.

テスタ計算機は、応答テキストを受信後、上記「現在の
ステータス格納用のデータユニツト」と、上記「一つ前
のステータス格納用のデータユニツト」により、被テス
ト部のソフトウエアの遷移状態を認識する。
After receiving the response text, the tester computer recognizes the transition state of the software of the unit under test from the "current status storing data unit" and the "previous status storing data unit". .

〔実施例〕〔Example〕

以下に、本発明の実施例を図面によつて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1実施例 まず、本発明の第1実施例を第1図ないし第11図により
説明する。最初に、第1図ないし第5図により本実施例
の構成と動作の概要を説明する。
First Embodiment First, a first embodiment of the present invention will be described with reference to FIGS. 1 to 11. First, an outline of the configuration and operation of this embodiment will be described with reference to FIGS.

第1図は、第1実施例の構成図で、1は計算機A、2は
計算機B、3は計算機C、4はパケツト交換網である。
本実施例で、計算機(A)1はテストを行なう側、計算
機(B)2および(C)3はテストを受ける側の計算機
であるとする。5は計算機1が計算機2に向け送信する
イベントテキスト、6は本実施例の特徴である計算機2
の応答テキスト、7は計算機1のテスタ部、8は計算機
2の被テスト部、9は計算機3の被テスト部である。
FIG. 1 is a block diagram of the first embodiment, in which 1 is a computer A, 2 is a computer B, 3 is a computer C, and 4 is a packet switching network.
In this embodiment, it is assumed that the computer (A) 1 is the computer that performs the test, and the computers (B) 2 and (C) 3 are the computers that receive the test. 5 is an event text transmitted from the computer 1 to the computer 2, and 6 is a computer 2 which is a feature of this embodiment.
Is a tester part of the computer 1, 8 is a tested part of the computer 2, and 9 is a tested part of the computer 3.

第2図(a)は、本実施例による応答テキスト6の構成
を示し、該応答テキスト6は、従来の応答テキスト部10
のほかに、特徴として「一つ前(イベント入力前)のス
テータス情報」11と、「現在(イベント入力による遷移
後)のステータス情報」12を加えたものから構成されて
いる。ここで、「従来の応答テキスト部10」には、アド
レス、リフアレンス番号、テキストサイズ、データ長又
は時間値等が含まれている。第2図(b)は上記「イベ
ントテキスト」5の構成を示し、イベント5aと各種のオ
ペランド5b等により構成されている。
FIG. 2 (a) shows the structure of the response text 6 according to the present embodiment, and the response text 6 includes the conventional response text portion 10
In addition to the above, it is configured by adding "previous (pre-event input) status information" 11 and "current (post-transition by event input) status information" 12. Here, the "conventional response text portion 10" includes an address, a reference number, a text size, a data length or a time value. FIG. 2B shows the structure of the above-mentioned "event text" 5, which is composed of the event 5a and various operands 5b.

第3図は、被テスト部8,9に設けた被テスト部テーブル1
7の構成を示し、「一つ前(イベント入力前)のステー
タス格納用テーブル」13と「現在(イベント入力による
遷移後)のステータス格納用テーブル」14から構成され
ている。
FIG. 3 shows the table under test 1 provided on the parts under test 8, 9.
7 shows a configuration of 7, which is composed of a "status storage table one before (event input)" 13 and a "current (post transition by event input) status storage table" 14.

第4図は、上記計算機(A)1のテスタ部7の処理フロ
ーを示す。テスト/検証が行なわれる計算機の選定(10
0)後、一例として上記計算機(B)2を選定したとす
ると、上記計算機(A)1と上記計算機(B)2との間
で通信経路の確立(101)を行う。イベント種別選択(1
02)と各種オペランドの指定(103)を行つた後、上記
イベントテキスト5内の上記イベント欄5aに上記(10
2)で選択したイベント種別を埋め込み。また、上記各
種オペランド欄5bに上記(103)で指定した各種オペラ
ンド(例えば選定計算機名など)を埋め込み、次いでこ
のイベントテキスト5を、バケツト交換網4を経由し
て、テスト/検証される計算機2に向けて、送信(10
5)する。その後、第5図(後述)の被テスト部の処理
を経て、計算機1は、計算機2より、バケツト交換網4
を介して応答テキスト6を受信(106)し、その応答テ
キスト6から「一つ前(イベント入力前)のステータス
情報」11と「現在(遷移後)のステータス情報」12を取
り出し(107)、上記2つのステータス情報11,12の表示
等を行い(108)、オペレータに知らせる。これらの情
報は、上記被テスト部8の実際の遷移情報であるので、
非常に信頼性が高い、ここで、当該計算機のテスト/検
証を継続する番号は(109)、上記イベント種別選択(1
02)へ戻り、終了する場合は(109)、通信経路の解除
(110)を行う。そして、他の計算機のテスト/検証を
行う場合、(111)は、テスト/検証する計算機の選定
(100)へ戻る。他の計算機のテスト/検証を行わない
場合(111)は、処理を終了する。
FIG. 4 shows a processing flow of the tester unit 7 of the computer (A) 1. Selection of computers to be tested / verified (10
0) After that, if the computer (B) 2 is selected as an example, a communication path is established (101) between the computer (A) 1 and the computer (B) 2. Select event type (1
02) and various operands are specified (103), and then the above (10) is entered in the above event column 5a in the above event text 5.
Embed the event type selected in 2). Also, the various operands designated in (103) (for example, the selected computer name) are embedded in the various operand fields 5b, and then this event text 5 is passed through the bucket exchange network 4 to be tested / verified by the computer 2 Sent to (10
5) Do. After that, through the processing of the unit under test in FIG. 5 (described later), the computer 1 is instructed by the computer 2 to execute the bucket exchange network 4
The response text 6 is received via (106), and the "previous (pre-event input) status information" 11 and the "current (post-transition) status information" 12 are extracted from the response text 6 (107), The above two status information 11 and 12 are displayed (108) to notify the operator. Since these pieces of information are the actual transition information of the unit under test 8,
Highly reliable, where the number for continuing the test / verification of the computer is (109), the event type selection (1
When the process returns to 02) and ends (109), the communication path is canceled (110). When testing / verifying another computer, (111) returns to the selection (100) of the computer to be tested / verified. If the test / verification of another computer is not performed (111), the process is terminated.

第5図は、テスト/検証を行う計算機(B)2の被テス
ト部(8)の処理フローを示す。イベント受信(112)
がNoの場合は処理を行わず、Yesの場合は、上記「現在
のステータス格納用テーブル」14の内容を上記「一つ前
のステータス格納用テーブル」13にコピー(113)す
る。遷移後、遷移先のステータスを上記「現在のステー
タス格納用テーブル」14に格納する(114)。このよう
にして、テーブル13,14が共に更新される。その後、上
記応答テキスト6中の「一つ前のステータス情報」11と
「現在のステータス情報」12にそれぞれ、上記「一つ前
(イベント入力前)のステータス格納用テーブル」13と
上記「現在のステータス格納用テーブル」14の更新され
た内容をうめ込んだ後(115)、上記テスタ部7の計算
機(A)1に向けて、上記「応答テキヌト」6を返送す
る(116)。
FIG. 5 shows a processing flow of the unit under test (8) of the computer (B) 2 which performs the test / verification. Event reception (112)
If No, the process is not performed, and if Yes, the contents of the "current status storage table" 14 are copied to the "previous status storage table" 13 (113). After the transition, the status of the transition destination is stored in the "current status storage table" 14 (114). In this way, the tables 13 and 14 are both updated. After that, in the “previous status information” 11 and the “current status information” 12 in the response text 6, the “previous (pre-event input) status storage table” 13 and the “current status” are respectively described. After filling in the updated contents of the "status storing table" (115) (115), the "response technuto" 6 is returned to the computer (A) 1 of the tester section 7 (116).

以上に示したプロトコル構造(イベントテキスト5と応
答テキスト6)を採用したことにより、ネツトワーク15
において、たとえば、計算機(C)3の被テスト部9を
テスタ部にし、計算機(A)1のテスタ部7を被テスト
部にすると、計算機(C)3から計算機(A)1の被テ
スト部をテスト/検証することができる。
By adopting the protocol structure (event text 5 and response text 6) shown above, network 15
In, for example, when the unit under test 9 of the computer (C) 3 is the tester unit and the tester unit 7 of the computer (A) 1 is the unit under test, the unit under test of the computer (C) 3 is tested by the unit under test of the computer (A) 1. Can be tested / verified.

次に、第6図ないし第8図は本実施例を適用することの
できる一般的な状態遷移の一例を示す図、第9図ないし
第11図は同様の一般的な状態遷移の他の例を示す図であ
り、この2つの例によつて、本実施例の特徴を、それぞ
れ従来技術と対比しながら詳しく説明する。(なお、こ
れら2つの例のいずれも、上記第4図および第5図のフ
ローに従つて、送受信が行われる。) ます、第6図〜第8図の例から説明する。
Next, FIGS. 6 to 8 are diagrams showing an example of general state transition to which this embodiment can be applied, and FIGS. 9 to 11 are other examples of the same general state transition. The characteristics of the present embodiment will be described in detail with reference to these two examples in comparison with the related art. (Note that in both of these two examples, transmission / reception is performed in accordance with the flow charts of FIGS. 4 and 5 above.) First, the examples of FIGS. 6 to 8 will be described.

第6図は、被テスト部8の状態遷移図の一例である。S0
ステータス(初期状態がS0)50のとき、e1イベントまた
はe3イベントを入力すると(54,55)S2ステータス52に
遷移し、e2イベントを入力すると(61)S1ステータス51
に遷移する。S1ステータス51のとき、e1イベントを入力
すると(53)遷移せず。e2イベントを入力すると(60)
S0ステータスに遷移し、e3イベントを入力すると(59)
S2ステータスに遷移する。S2ステータス52のとき、e1
e2,またはe3イベントを入力すると(56,57,58)、S0
テータスに遷移する。
FIG. 6 is an example of a state transition diagram of the unit under test 8. S 0
When the status (initial state is S 0 ) is 50, if you input e 1 event or e 3 event, it will transit to (54,55) S 2 status 52, and if you input e 2 event, it will be (61) S 1 status 51.
Transition to. When S 1 status 51, by entering the e 1 event (53) without transition. Enter e 2 event (60)
When transitioning to S 0 status and inputting e 3 event (59)
Transition to S 2 status. When S 2 status is 52, e 1 ,
When an e 2 or e 3 event is input (56,57,58), the status changes to S 0 .

第7図は、第6図の状態遷移図をステータス・マトリク
スで示したもので、例えばS0ステータスのときe1イベン
トを入力すると何も出力しないで(つまり出力φ{空集
合})S2ステータスに遷移する。同様に、S2ステータス
のときe3イベントを入力するとO2(出力2)を出力しS0
に遷移する。
FIG. 7 shows the state transition diagram of FIG. 6 in a status matrix. For example, when the e 1 event is input in the S 0 status, nothing is output (that is, output φ {empty set}) S 2 Transition to status. Similarly, when the e 3 event is input in the S 2 status, O 2 (output 2) is output and S 0
Transition to.

第8図は第7図のステータス・マトリクスのステータス
の把握や動作確認を行うためのテスト・シナリオであ
る。
FIG. 8 shows a test scenario for grasping the status of the status matrix of FIG. 7 and confirming the operation.

従来技術による方法では、計算機(B)2の応答テキス
トは、第2図の10の部分(従来の応答テキスト)のみか
ら成り、ステータス情報11,12を含んでいない。そのた
め、テスタ部7は、出力情報10から、計算機(B)2の
ステータスを推定せざるを得ない。今、上記被テスト部
8のイベント入力前のステータス情報11がS0ステータス
であつた場合、従来技術の方法によると、e1イベントを
入力すれば、そのときの応答出力φをみて、このS0ステ
ータスであつたことが一応推定できる(つまり、第7図
よりe1イベントを入力して出力がφ{空集合}であるの
はS0ステータスのときだけであるから)。しかし、上記
イベント入力前のステータス情報11がS1ステータスであ
つた場合、第8図の項番2に示すように、e1,e2,e3
ベント順に入力してみなければ推定することができな
い。つまり、e1イベントを入力するとS1,S2ステータス
共に出力はO1であるので、1つ前のステータスがS1,S2
のいずれであつたかを判別することができない。(S0
テータス以外のときは判別ができない)。遷移後、その
前にS1ステータスであつた場合はS1ステータスへ、S2
テータスであつた場合はS0ステータスへ遷移する。つい
で、e2イベントを入力すると、S1,S0ステータス共に出
力φで判別できず、S1ステータスのときはS0ステータス
へ、S0ステータスのときはS1ステータスへ遷移する。そ
の後、e3イベントを入力すると、S0ステータスのときの
出力はO2、S1ステータスのときの出力はφであるため、
3回目のイベント入力でやつと判別することができる。
In the method according to the prior art, the response text of the computer (B) 2 consists only of the part 10 (conventional response text) in FIG. 2 and does not include the status information 11 and 12. Therefore, the tester unit 7 has no choice but to estimate the status of the computer (B) 2 from the output information 10. Now, if the status information 11 before the event input of the part under test 8 is the S 0 status, according to the method of the prior art, if the e 1 event is input, the response output φ at that time is checked and this S It can be estimated that it was 0 status (that is, the e 1 event is input from FIG. 7 and the output is φ {empty set} only in S 0 status). However, if the status information 11 before the above event input is the S 1 status, as shown in item 2 of FIG. 8, it is estimated if you do not input e 1 , e 2 , e 3 events in order. I can't. That is, when the e 1 event is input, the output is O 1 for both S 1 and S 2 status, so the previous status is S 1 , S 2
It is not possible to determine which of the above. (Cannot be discriminated except in S 0 status). After the transition, if it is the S 1 status before that, it transits to the S 1 status, and if it is the S 2 status, it transits to the S 0 status. Then, entering e 2 events can not be determined at the output φ to S 1, S 0 status both when the S 1 status to the S 0 status, when the S 0 status transitions to S 1 status. After that, when the e 3 event is input, the output in the S 0 status is O 2 , and the output in the S 1 status is φ.
It can be identified as the one by the third event input.

上記イベント入力前のステータス情報11がS1ステータス
であつた場合も同様に、e1,e2,e3イベントを順に入力
しなければならない(第7図,第8図参照)。このよう
に、従来の方法では、ある任意の時間に上記被テスト部
8がどの状態にあるのか知るために、S1ステータスやS2
ステータスの場合は、各々3つのイベントを入力しなけ
ればならない。
Similarly, when the status information 11 before the event input is the S 1 status, the events e 1 , e 2 , e 3 must be sequentially input (see FIGS. 7 and 8). As described above, according to the conventional method, in order to know in which state the tested part 8 is in a certain arbitrary time, S 1 status and S 2
For status, you must enter 3 events each.

実際のステータスマトリクスは、第7図に示したような
イベント総数3つ、ステータス総数3つの単純なもので
ない。そのためイベント入力数は更に増えることにな
る。
The actual status matrix is not a simple one, as shown in FIG. 7, with three events and three statuses. Therefore, the number of event inputs will increase further.

これに対し、本実施例では、従来の応答テキスト(出力
情報)10に、1つ前のステータス11および現在のステー
タス12の付加された応答テキスト6がテスタ部7に送ら
れる。例えば、1つ前のステータスがS0のとき、イベン
ト入力e1に対して、出力10(この場合は空集合φ)と共
に、1つ前のステータスS0と現在のステータスS2がテス
タ部7に送られる。
On the other hand, in the present embodiment, the response text 6 in which the previous status 11 and the current status 12 are added to the conventional response text (output information) 10 is sent to the tester unit 7. For example, when the previous status is S 0 , the event input e 1 is output 10 (in this case, an empty set φ), and the previous status S 0 and the current status S 2 are displayed together with the tester unit 7. Sent to.

従つて、本実施例によれば、どのようなステータスであ
ろうが、イベントを一つ入力すれば、一つ前(イベント
入力前)のステータス情報11と現在(遷移後)のステー
タス情報12を直接見て確認することができ、しかも予測
した(推定した)情報でなく実際の情報であるので、効
率が良い上に、信頼性の高い情報を得ることができる。
Therefore, according to the present embodiment, regardless of the status, if one event is input, the status information 11 one before (before the event input) and the current status information 12 (after the transition) are displayed. Since the information can be directly checked and confirmed, and the information is not the predicted (estimated) information but the actual information, it is possible to obtain highly efficient and highly reliable information.

次に、第9図ないし第11図の例(変形例)について説明
する。本変形例は、入力,出力が同じでも、プログラム
内の条件(例えば、何円以上と以下など、任意の変数の
値)により、遷移する状態が異なる場合の例である。そ
の境界値を、第9図〜第11図ではf0で示す。
Next, the example (modification) of FIGS. 9 to 11 will be described. This modified example is an example in which the transition state is different depending on the condition in the program (for example, the value of an arbitrary variable such as more than or equal to some yen) even if the input and the output are the same. The boundary value is indicated by f 0 in FIGS. 9 to 11.

第9図は本変形例を説明するための状態遷移図である。
第9図において、S3ステータス70のとき、e4またはe5
ベント入力76または82があれば、S5またはS3ステータス
72または70に遷移し、e6イベント入力77または81があれ
ば、条件により遷移先が異なり、条件≧f0ではS5ステー
タス72に、条件<f0ではS4ステータスに遷移する。S4
テータス71のとき、e4,e5またはe6イベント入力78,80,
または79があると、S5,S3,またはS5ステータス72,70
または72に遷移し、S5ステータス72のとき、e4,e5,ま
たはe6イベント入力73,74,75があると、いずれもS3ステ
ータス70に遷移する。
FIG. 9 is a state transition diagram for explaining this modification.
In FIG. 9, when the S 3 status 70, if there is e 4 or e 5 event input 76 or 82, S 5 or S 3 Status
If there is a transition to 72 or 70, and there is an e 6 event input 77 or 81, the transition destination differs depending on the condition. If the condition ≧ f 0 , the S 5 status 72 is entered, and if the condition <f 0 , the S 4 status is entered. When S 4 status 71, e 4 , e 5 or e 6 event input 78, 80,
Or 79, S 5 , S 3 , or S 5 status 72,70
Or 72, and in the S 5 status 72, if there is an e 4 , e 5 , or e 6 event input 73, 74, 75, all transition to the S 3 status 70.

第10図は、第9図の状態遷移図をステータス・マトリク
スで示したものであり、第11図は第10図のステータス・
マトリクスのステータスの把握や動作確認を行なうため
のテスト・シナリオである。
FIG. 10 shows the state transition diagram of FIG. 9 in a status matrix, and FIG. 11 shows the status transition diagram of FIG.
This is a test scenario for grasping the matrix status and confirming the operation.

第11図の項番1と2では、イベント5が同じe4、従来の
応答テキスト部10がφ(空集合)、現在(遷移後)のス
テータス12がS5ステータスと同じであるので、従来技術
による方法では、現在のステータスがS5であることは一
応推定できるが(e4入力に対する出力がφである場合
は、現在のステータスがS5の場合しかない。)一つ前
(イベント入力前)のステータス11がS3ステータスであ
るのか、S4ステータスであるのか推定することはできな
い。これに対し、本実施例では、S3ステータスに遷移し
たのか、S4ステータスからS5ステータスに遷移したのか
は、上記一つ前(イベント入力前)のステータス11と上
記現在(遷移後)のステータス12を直接見ることにより
知ることができる。第11図の項番3と項番4も同様であ
る。
In item numbers 1 and 2 in FIG. 11, event 5 is the same as e 4 , the conventional response text part 10 is φ (empty set), and the current (after transition) status 12 is the same as S 5 status. With the method by technology, it is possible to estimate that the current status is S 5 (if the output for e 4 input is φ, the current status is S 5 only). It is impossible to estimate whether the status 11 of the previous) is the S 3 status or the S 4 status. In contrast, in the present embodiment, whether the transition to S 3 status, is one of S 4 status of the transition to the S 5 status, the previous (event input ago) status 11 and the current (post-transition) You can find out by looking directly at status 12. The same applies to item number 3 and item number 4 in FIG.

第11図の項番5と項番6は、一つ前(イベント入力前)
のステータス11がS3ステータスの場合について記述して
いる。これはe6イベントを入力した場合、条件により遷
移先が異なる例である。従来技術による方法では、テス
タ部7で条件f0がわからないとき、S3ステータスからS5
ステータスに遷移したのかS4ステータスに遷移したか知
るために(いずれの場合も出力がO3で同じため、判別で
きない)、第11図の項番5,6に示すように、e6イベント
を2度入力しなければならない。つまり、2度目のe6
ベント入力により、出力が、〔条件〕≧f0のときO3
〔条件〕<f0のきφ(空集合)と条件により異なるの
で、始めて、遷移状態がわかる。
Item No. 5 and No. 6 in Fig. 11 are one before (before event input)
The case where the status 11 of S is the S 3 status is described. This is an example where the transition destination differs depending on the condition when the e 6 event is input. In the method according to the prior art, when you do not know the condition f 0 in the tester unit 7, S 5 from S 3 Status
In order to know whether it has transited to status or S 4 status (in any case, the output is the same at O 3, it is impossible to determine), so as shown in item 5 and 6 of Fig. 11, the e 6 event You have to enter it twice. In other words, when the condition is ≧ f 0 by the second e 6 event input, O 3 ,
[Conditions] <φ of 0 (empty set) and it depends on the conditions, so the transition state can be known for the first time.

これに対し、本実施例のプロトコル構造を用いれば、現
在のステータス12および一つ前のステータスを合わせて
応答テキストとしてテスタ部に送られるので、どんなス
テータス・マトリクスにおいても、一つのイベント5を
入力すれば、遷移状態を知ることができる。
On the other hand, if the protocol structure of this embodiment is used, the current status 12 and the previous status are combined and sent to the tester section as a response text, so that one event 5 is input in any status matrix. Then, the transition state can be known.

以上説明したように、本実施例によれば、従来の方法の
ようにムダなメモリを使わず、実際の情報により被テス
ト部8の遷移状態を知ることができる。(テスタ部に予
め作成した遷移状態テーブルを設ける場合には、各被テ
スト部の遷移情報が同じとは限らないので、被テスト部
数分必要になる。) その上、1イベントの入力により被テスト部8のステー
タス情報を知ることができるので、効率が非常に良い
上、信頼性が高い、また、ネツトワークにおいての汎用
性も高い。
As described above, according to the present embodiment, the transition state of the unit under test 8 can be known from the actual information without using a wasteful memory unlike the conventional method. (When the transition state table created in advance is provided in the tester unit, the transition information of each unit under test is not necessarily the same, so the number of units under test is required.) Moreover, the input of one event causes the unit under test to be tested. Since the status information of the unit 8 can be known, the efficiency is very high, the reliability is high, and the versatility in the network is high.

第2実施例 次に、本発明の第2実施例を第12図,第2図(b),第
3図,第13図,第14図,第15図により説明する。
Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIG. 12, FIG. 2 (b), FIG. 3, FIG. 13, FIG. 14 and FIG.

第12図は、本実施例の構成図を示し、計算機(A)1,計
算機(B)2,バケツト交換網4,イベントテキスト5,テス
タ部7,被テスト部8,従来の応答テキスト10,および遷移
情報専用テキスト20から構成されている。
FIG. 12 shows a block diagram of this embodiment, which includes a computer (A) 1, a computer (B) 2, a bucket exchange network 4, an event text 5, a tester section 7, a tested section 8, a conventional response text 10, And transition information dedicated text 20.

第2図(b)は、上記イベントテキスト5の構成を示
し、イベント5aと各種オペランド5b等により構成されて
いる。
FIG. 2 (b) shows the structure of the event text 5, which is composed of an event 5a and various operands 5b.

第3図は、被テスト部テーブル17の構成を示し「一つ前
(イベント入力前)のステータス格納用テーブル」13と
「現在(遷移後)のステータス格納用テーブル」14から
構成されている。
FIG. 3 shows the structure of the unit-under-test table 17, which is composed of a "previous (pre-event input) status storage table" 13 and a "current (post-transition) status storage table" 14.

第13図は、従来の応答テキスト10と遷移情報専用テキス
ト20の構成を示し、上記従来の応答テキスト10(そのデ
ータ内容は第2図(a)の部分10と同様)と上記遷移情
報専用テキスト20内に時間値等のデータユニツト21を設
け、同じ数値をそのつど書き込むものとする。すなわ
ち、これらのデータユニツト21には、「従来の応答テキ
スト」と「遷移情報専用テキスト」を受信した計算機内
で、その対応付けを行なうために、時間値(年月日時分
秒)を書き込む。但し、時間値以外でも、対応付けがわ
かるデータであれば何でもよい。また、上記遷移情報専
用テキスト20に「一つ前(イベント入力前)のステータ
ス情報」11のデータユニツトと「現在(遷移後)のステ
ータス情報」12のデータユニツトを設けている。
FIG. 13 shows the structure of the conventional response text 10 and the transition information dedicated text 20. The conventional response text 10 (the data content thereof is the same as the portion 10 of FIG. 2A) and the transition information dedicated text. A data unit 21 such as a time value is provided in 20 and the same numerical value is written each time. That is, a time value (year / month / day / hour / minute / second) is written in the data unit 21 in order to make the correspondence between the “conventional response text” and the “transition information dedicated text” in the computer. However, any data other than the time value may be used as long as the data can be associated. In addition, the transition information dedicated text 20 is provided with a data unit of "previous (pre-event input) status information" 11 and a "current (post-transition) status information" 12.

第14図は、上記計算機(A)1のテスタ部7の処理フロ
ーを示す。まず、テスト/検証の行なわれる計算機の選
定(100)を行い(本実施例では計算機(B)2)、通
信経路の確立(101)を行う。イベント種別の選択(10
2)、それに伴う各種オペランドの指定(103)を行つた
後、選択したイベントテキスト5に各種オペランド等を
埋め込む(104)。そして、上記イベントテキスト5を
被テスト部8へ向け送信する(105)。
FIG. 14 shows a processing flow of the tester unit 7 of the computer (A) 1. First, a computer to be tested / verified is selected (100) (computer (B) 2 in this embodiment) and a communication path is established (101). Select event type (10
2) Then, after specifying various operands (103) accordingly, various operands and the like are embedded in the selected event text 5 (104). Then, the event text 5 is transmitted to the unit under test 8 (105).

被テスト部8が第15図で示す処理(後述)を行つた後、
従来の応答テキスト10の受信(150)と遷移情報専用テ
キスト20の受信(151)を行う。時間値等のデータユニ
ツト21の値より、上記従来の応答テキスト10と上記遷移
情報専用テキスト20の対応付け(152)を行い、上記遷
移情報専用テキスト20から「一つ前(イベント入力前)
のステータス情報」11と「現在(遷移後)のステータス
情報」12を取り出し(107)、上記2つのステータス情
報11,12の表示や各種処理(108)(例えば、入力したイ
ベント5とステータス情報11,12と出力10をセツトで表
示・印字するなど。)を行う。当該計算機のテスト/検
証の継続の判定(109)をし、行う場合はイベント種別
の選択(102)へ戻り、終了する場合は通信経路解除(1
10)を行つた後、他の計算機のテスト/検証を行うかの
判定(111)を行い、行う場合は「テスト/検証する計
算機の選定」(100)に戻り、行わない場合は本処理を
終了する。
After the tested part 8 performs the processing shown in FIG. 15 (described later),
The conventional response text 10 is received (150) and the transition information dedicated text 20 is received (151). From the value of the data unit 21 such as the time value, the conventional response text 10 and the transition information dedicated text 20 are associated (152), and the transition information dedicated text 20 is read as "one before (event input)".
Status information ”11 and“ current (post-transition) status information ”12 (107), and display the above two status information 11 and 12 and various processes (108) (for example, input event 5 and status information 11). , 12 and output 10 are displayed and printed in a set.). It is judged whether the test / verification of the computer is continued (109), and if it is done, the process returns to the event type selection (102), and if it is ended, the communication route is canceled (1
After performing 10), determine whether to test / verify another computer (111), and if yes, return to “Selecting a computer to test / verify” (100). If not, perform this process. finish.

第15図は、上記計算機(B)2の被テスト部8の処理フ
ローを示す。第14図のイベントテキスト送信(105)
後、被テスト部8は、イベントを受信(112)すると
「現在(遷移後)のステータス格納用テーブル」14の内
容を「1つ前(イベント入力前)のステータス格納用テ
ーブル」13に書き込む(113)。遷移(153)後、遷移先
のステータスを上記「現在(遷移後)のステータス格納
用テーブル」14へ書き込む(114)。次に、「従来の応
答テキスト」10と「遷移情報専用テキスト」20内の「時
間値等のデータユニツト」21に同じ時間値をうめ込む
(154)。そして、従来の応答テキスト10を返信(155)
し、「遷移情報専用テキスト」20に「現在(遷移後)の
ステータス格納用テーブル」14の内容と「一つ前(イベ
ント入力前)のステータス格納用テーブル」13の内容を
それぞれ「現在(遷移後)のステータス情報」12のデー
タユニツトと「一つ前(イベント入力前)のステータス
情報」11のデータユニツトに書き込み(156)、遷移情
報専用テキスト20をテスタ部7へ向け返信(157)し、
処理を終了する。
FIG. 15 shows a processing flow of the unit under test 8 of the computer (B) 2. Event text transmission in Fig. 14 (105)
After that, when receiving the event (112), the unit under test 8 writes the contents of the “current (post-transition) status storage table” 14 into the “previous (pre-event input) status storage table” 13 ( 113). After the transition (153), the status of the transition destination is written in the "current (after transition) status storage table" 14 (114). Next, the same time value is embedded in the "data unit for time value etc." 21 in the "conventional response text" 10 and the "transition information dedicated text" 20 (154). And reply the conventional response text 10 (155)
Then, the contents of “current (after transition) status storage table” 14 and “previous (before event input) status storage table” 13 are added to “current (transition)” in “transition information dedicated text” 20, respectively. Write the status information "after" to the data unit of "12" and the status unit of "status information of one before (event input)" (156), and send the transition information dedicated text 20 to the tester unit 7 (157). ,
The process ends.

以上のように、本実施例により、遷移情報を従来の応答
テキスト10とは別の専用テキストにより、被テスト部8
からテスタ部7へ返信するため、テスタ部7でいくつか
のイベントテキスト5に対する遷移情報専用テキスト20
をためておき、バツチ処理のように一度にまとめて遷移
情報を取り出すことができるので効果的である。
As described above, according to the present exemplary embodiment, the transition information is transmitted to the tested part 8 by using the dedicated text different from the conventional response text 10.
From the tester part 7 to the tester part 7, the text dedicated to the transition information for some event texts 5
Therefore, it is effective that the transition information can be collectively extracted at one time like the batch processing.

第3実施例 次に、本実施例の第3実施例を第16図,第2図(b),
第17図,第18図,第19図,第4図,および第20図により
説明する。
Third Embodiment Next, a third embodiment of this embodiment is shown in FIG. 16, FIG. 2 (b),
This will be described with reference to FIGS. 17, 18, 19, 19, and 20.

第16図は、本実施例の構成図を示し、計算機(A)1,計
算機(B)2,バケツト交換網4,イベントテキスト5,テス
タ部7,被テスト部8,被テスト部遷移情報テーブル30,応
答テキスト31から構成されている。
FIG. 16 shows a block diagram of this embodiment, which is a computer (A) 1, a computer (B) 2, a bucket exchange network 4, an event text 5, a tester section 7, a tested section 8, a tested section transition information table. It consists of 30, response text 31.

第2図(b)は、上記イベントテキスト5の構成を示
し、イベント5aと各種オペランド5b等により構成されて
いる。
FIG. 2 (b) shows the structure of the event text 5, which is composed of an event 5a and various operands 5b.

第17図は、本実施例の応答テキストの構成を示し「従来
の応答テキスト部」10と「一つ前(イベント入力前)の
ステータス情報」11と「現在(遷移後)のステータス情
報」12と「判定結果データユニツト」32から構成されて
いる。
FIG. 17 shows the structure of the response text of this embodiment, which is “conventional response text part” 10, “previous (before event input) status information” 11 and “current (after transition) status information” 12 And the “determination result data unit” 32.

第18図は、本実施例の被テスト部テーブル36の構成を示
し、「一つ前(イベント入力前)のステータス格納用テ
ーブル」13と「現在(遷移後)のステータス格納用テー
ブル」14と「イベント格納テーブル」33と「出力格納テ
ーブル」34と「判定結果テーブル」35から構成されてい
る。
FIG. 18 shows the configuration of the unit-under-test table 36 of the present embodiment, which includes a “previous (pre-event input) status storage table” 13 and a “current (post-transition) status storage table” 14 It is composed of an "event storage table" 33, an "output storage table" 34, and a "judgment result table" 35.

第19図は、被テスト部8内に存在する(予め作成してあ
る)「被テスト部遷移情報テーブル」30の構成を示し、
存在しえる全部の「イベント」5と「一つ前(イベント
入力前)のステータス情報」11と「現在(遷移後)のス
テータス情報」12と「従来の応答テキスト(出力)」10
の組合わせを記録したテーブル(自己の状態遷移情報格
納テーブル)である。
FIG. 19 shows the structure of the “tested part transition information table” 30 existing in the tested part 8 (created in advance),
All possible "events" 5, "previous (before event input) status information" 11, "current (after transition) status information" 12 and "conventional response text (output)" 10
It is a table (composition of its own state transition information storage) recording the combination of.

第4図は、上記計算機(A)1のテスタ部7の処理フロ
ーを示す。まず、テスト/検証する計算機の選定(10
0)を行い(本実施例では計算機(B)2)、通信経路
の確立(101)を行う。イベント種別の選択(102)、そ
れに伴う各種オペランドの指定(103)を行つた後、選
択したイベントテキスト5に各種オペランド等を埋め込
む(104)。そして、上記イベントテキスト5を被テス
ト部8へ向け送信(105)する。
FIG. 4 shows a processing flow of the tester unit 7 of the computer (A) 1. First, select the computer to test / verify (10
0) is performed (computer (B) 2 in this embodiment) and the communication path is established (101). After selecting an event type (102) and specifying various operands (103) accordingly, various operands and the like are embedded in the selected event text 5 (104). Then, the event text 5 is transmitted to the unit under test 8 (105).

被テスト部8が第20図で示す処理(後述する)を行つた
後、本実施例による応答テキスト31の受信(106)を行
う。上記本実施例による応答テキスト31から、「一つ前
(イベント入力前)のステータス情報」11と「現在(遷
移後)のステータス情報」12と「従来の応答テキスト
(出力)」10と「判定結果データユニツト」32の値をす
べて取り出し(107)、表示等(108)を行う。ここで、
判定結果は「0」のとき「異常」で、「1」のとき「正
常」であるので、これも表示または印字する(各種処
理)。その後、当該計算機のテスト/検証の継続の判定
(109)をし、行う場合はイベント種別の選択(102)へ
戻り、終了する場合は通信経路解除(110)を行つた
後、他の計算機のテスト/検証を行うかの判定(111)
を行い、行う場合は「テスト/検証する計算機の選定」
(100)に戻り、行わない場合は本処理を終了する。
After the tested part 8 performs the processing shown in FIG. 20 (described later), the response text 31 according to the present embodiment is received (106). From the response text 31 according to the above-described embodiment, "previous (pre-event input) status information" 11, "current (after transition) status information" 12, "conventional response text (output)" 10 and "judgment" All the values of the "result data unit" 32 are taken out (107) and displayed (108). here,
Since the determination result is "abnormal" when it is "0" and "normal" when it is "1", this is also displayed or printed (various processes). After that, it is judged whether the test / verification of the computer is continued (109), if it is done, the process returns to the selection of the event type (102), and if it is finished, the communication route is canceled (110), and then the other computer's Determining whether to test / verify (111)
If you do, perform "selection of computer to test / verify"
Return to (100), and if not performed, end this processing.

第20図は、上記計算機(B)2の被テスト部8の処理フ
ローを示す。第4図のイベントテキスト送信(105)
後、被テスト部8は、イベントを受信(112)するとイ
ベント5の種別を「イベント格納テーブル」33に書き込
む(160)。次に「現在(遷移後)のステータス格納用
テーブル」14の内容を「一つ前(イベント入力前)のス
テータス格納用テーブル」13に書き込む(113)。遷移
(161)後、遷移先のステータスを上記「現在(遷移
後)のステータス格納用テーブル」14へ書き込む(11
4)。その後、本実施例による「応答テキスト」31の
「従来の応答テキスト」10にうめ込む出力を「出力格納
テーブル」34にも書き込む(162)。次に本実施例の
「被テスト部テーブル」36の上記「一つ前(イベント入
力前)のステータス格納用テーブル」13と「現在(遷移
後)のステータス格納用テーブル」14と「イベント格納
テーブル」33と「出力格納テーブル」34の内容の組合わ
せのものが「被テスト部遷移情報テーブル」30に存在す
るか否かサーチ(163)し、図示しない判定手段(比較
手段)により判定(164)する。存在する場合は「正
常」であるため「判定結果テーブル」35に「1」を書き
込み(166)、存在しない場合は「異常」であるため
「判定結果テーブル」35に「0」を書き込む(165)。
FIG. 20 shows a processing flow of the unit under test 8 of the computer (B) 2. Event text transmission of Figure 4 (105)
After that, the unit under test 8 receives the event (112) and writes the type of the event 5 in the “event storage table” 33 (160). Next, the contents of the "current (after transition) status storage table" 14 are written into the "previous (before event input) status storage table" 13 (113). After the transition (161), the status of the transition destination is written in the "current (after transition) status storage table" 14 (11
Four). After that, the output to be embedded in the "conventional response text" 10 of the "response text" 31 according to this embodiment is also written in the "output storage table" 34 (162). Next, the "previous (pre-event input) status storage table" 13 and "current (post-transition) status storage table" 14 and "event storage table" of the "test part table" 36 of the present embodiment It is searched whether a combination of the contents of "33" and "output storage table" 34 exists in the "tested part transition information table" 30 (163), and a judgment means (comparing means) not shown makes a judgment (164). ) Do. If it exists, it is “normal” and therefore “1” is written to the “judgment result table” 35 (166). If it does not exist, it is “abnormal” and “0” is written to the “judgment result table” 35 (165). ).

次に、上記「出力格納テーブル」34と上記「一つ前(イ
ベント入力前)のステータス格納用テーブル」13と上記
「現在(遷移後)のステータス格納用テーブル」14と上
記「判定結果テーブル」35の内容を、それぞれ「従来の
応答テキスト部」10と「一つ前(イベント入力前)のス
テータス情報」11と「現在(遷移後)のステータス情
報」12と「判定結果」32の各データユニツトにうめ込む
(167)。そして、本実施例による「応答テキスト」31
をテスタ部7へ向け返信(116)し、処理を終了する。
Next, the "output storage table" 34, the "previous (before event input) status storage table" 13, the "current (after transition) status storage table" 14, and the "judgment result table" The contents of 35 are the data of "conventional response text part" 10, "previous (before event input) status information" 11, "current (after transition) status information" 12, and "judgment result" 32, respectively. Fill the unit (167). Then, the “response text” 31 according to the present embodiment
Is returned to the tester unit 7 (116), and the process ends.

以上のように、本実施例によれば、以下の1および2の
効果がある。
As described above, according to this embodiment, there are the following 1 and 2 effects.

1.テスタ部7でオペレータが、被テスト部8の遷移情報
である上記「一つ前(イベント入力前)のステータス情
報」11と上記「現在(遷移後)のステータス情報」12
を、ステータス・マトリクスでいちいちチエツクしなく
ても(または遷移前後のステータスをいちいち追つて行
かなくても)、被テスト部8でチエツクした「判定結果
データユニツト32の値(「1」=正常,「0」=「異
常」)を自動的に得ることができるので、正確かつ時間
的に能率良くテスト/検証できる。
1. The operator in the tester unit 7 uses the above-mentioned "status information of one before (event input)" 11 and "current (post-transition) status information" 12 which are transition information of the tested part 8
Even if the status matrix is not checked (or the status before and after the transition is not tracked), the value of the judgment result data unit 32 (“1” = normal, Since “0” = “abnormal”) can be automatically obtained, the test / verification can be performed accurately and efficiently in time.

2.テスタ部7に被テスト部8の遷移情報テーブルをもた
せると、被テスト部8であるソフトウエアが同じである
とは限らないので、遷移情報テーブルを被テスト部8数
分持たなくてはいけない。しかし、本実施例では、各々
の被テスト部8が自己の遷移情報テーブルを持つている
だけで良いので、テスタ部7のメモリを浪費せず、効率
良く使える。
2. If the tester unit 7 is provided with the transition information table of the unit under test 8, the software as the unit under test 8 is not necessarily the same, so it is necessary to have as many transition information tables as the units under test 8. should not. However, in the present embodiment, each tested part 8 need only have its own transition information table, so that the memory of the tester part 7 is not wasted and can be used efficiently.

また、上記第1〜第3実施例では、「現在」および「一
つ前」の2つのステータスを含むとしたが、更に、それ
異常のステータスを追加して応答テキストを構成するこ
ともできる。
Further, in the first to third embodiments described above, the two statuses of "current" and "one before" are included, but the status of the abnormality can be further added to form the response text.

以上の各実施例で、テスタ部と被テスタ部とを交換する
ことにより、ネツトワーク内のどの計算機からでも他の
計算機のテスト/検証ができるので、汎用性が高く、経
済的にも優れた効果がある。
In each of the above embodiments, by exchanging the tester portion and the tester portion, it is possible to test / verify other computers from any computer in the network, which is highly versatile and economically superior. effective.

〔発明の効果〕〔The invention's effect〕

以上詳しく説明したように、本発明によれば、被テスト
計算機の被テスト部であるプログラム自身が応答する通
常の応答テキストに、前記被テスト部であるプログラム
自身の一つ前及び現在の状態遷移情報を付加したので、
単なる予測や推測ではなく、特別の専用装置や診断プロ
グラムを用いることなく、任意の計算機から他の計算機
の被テスト部であるプログラム自身のイベント入力前後
の実際の状態や状態遷移の状況をリアルタイムで正確に
確認(テスト及び検証)することができる結果、効率が
よく信頼性の高い動作確認が行なわれる効果を奏する。
As described in detail above, according to the present invention, the normal response text to which the program under test of the computer under test responds to the normal response text, and the previous and current state transition of the program under test itself. Since I added information,
It is not just prediction or guessing, but the real state and state of state transition before and after the event input of the program itself, which is the tested part of another computer, from any computer in real time, without using a special dedicated device or diagnostic program. As a result of accurate confirmation (testing and verification), there is an effect that efficient and highly reliable operation confirmation is performed.

また、計算機同志が離れている場合にも、現地に行かな
いで、身近な計算機から少ない手順で短時間に実際の状
態遷移情報(ステータス)により正しい判断を行なうこ
とができる効果を奏する。
Further, even when the computers are separated from each other, it is possible to make a correct decision from the familiar computer in a short time with the actual state transition information (status) without going to the site.

また、予め作成した状態遷移情報テーブルを該テーブル
を被テストに設けた場合には、テスタ部に設ける場合に
比べて、必要なメモリ容量も少なくて済む効果を奏す
る。
Further, when the state transition information table created in advance is provided in the device under test, the required memory capacity can be reduced as compared with the case where the table is provided in the tester section.

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

第1図は本発明の第1実施例の構成図、第2図は応答テ
キストおよびイベントテキストの構成図、第3図は被テ
スト部内テーブルの構成図、第4図はテスタ計算機の処
理を示すフローチヤート、第5図は被テスト部の処理を
示すフローチヤート、第6図は本発明の第1実施例に適
用される一般的な状態遷移図、第7図は第6図のステー
タス・マトリクスの一例を示す構成図、第8図は第7図
のテストシナリオの一例を示す構成図、第9図は本発明
の第1実施例に適用される他の一般的な状態遷移図、第
10図は第9図のステータス・マトリクスの一例を示す構
成図、第11図は第9図および第10図のテストシナリオの
一例を示す構成図、第12図は本発明の第2実施例の構成
図、第13図は第2実施例の応答テキスト部および遷移情
報専用テキストの構成図、第14図は第2実施例のテスタ
部の処理を示すフローチヤート、第15図は第2実施例の
被テスト部の処理を示すフローチヤート、第16図は本発
明の第3実施例の構成図、第17図は第2実施例の応答テ
キストの構成図、第18図は第2実施例の被テスト部内ワ
ークテーブルの構成図、第19図は第2実施例の被テスト
部の遷移情報テーブルの構成図、第20図は第2実施例の
被テスト部の処理を示すフローチヤートである。 1……計算機A、2……計算機B、3……計算機C、4
……パケツト交換網、5……イベントテキスト、5a……
イベント欄、5b……各種オペランド欄、6……本発明に
よる応答テキスト、7……テスタ部、8……被テスト
部、9……被テスト部、10……従来の応答テキスト、11
……一つ前(イベント入力前)のステータス情報、12…
…現在(遷移後)のステータス情報、13……一つ前(イ
ベント入力前)のステータス格納用テーブル、14……現
在(遷移後)のステータス格納用テーブル、15……ネツ
トワーク、16……入力イベント数、17……被テスト部テ
ーブル、20……遷移情報専用テキスト、21……時間値等
のデータユニツト、30……被テスト部遷移情報テーブ
ル、31……応答テキスト、32……判定結果データユニツ
ト、33……イベント格納テーブル、34……出力格納テー
ブル、35……判定結果テーブル、36……被テスト部テー
ブル、50〜52……ステータス、53〜61……イベント、70
〜72……ステータス、73〜82……イベント、100〜111…
…テスタ計算機の処理フローのステツプ、112〜116……
被テスト部の処理フローのステツプ、150〜152……テス
タ部の処理フローのステツプ、153〜157……被テスト部
の処理フローのステツプ、160〜167……被テスト部の処
理フローのステツプ。
FIG. 1 is a block diagram of the first embodiment of the present invention, FIG. 2 is a block diagram of response text and event text, FIG. 3 is a block diagram of a table under test, and FIG. 4 shows processing of a tester computer. Flow chart, FIG. 5 is a flow chart showing the processing of the portion to be tested, FIG. 6 is a general state transition diagram applied to the first embodiment of the present invention, and FIG. 7 is a status matrix of FIG. FIG. 8 is a block diagram showing an example of the test scenario of FIG. 7, FIG. 9 is another general state transition diagram applied to the first embodiment of the present invention, FIG.
FIG. 10 is a block diagram showing an example of the status matrix of FIG. 9, FIG. 11 is a block diagram showing an example of the test scenario of FIGS. 9 and 10, and FIG. 12 is a block diagram of the second embodiment of the present invention. Configuration diagram, FIG. 13 is a configuration diagram of a response text part and a transition information dedicated text of the second embodiment, FIG. 14 is a flow chart showing processing of a tester part of the second embodiment, and FIG. 15 is a second embodiment. 16 is a flow chart showing the processing of the portion to be tested, FIG. 16 is a block diagram of the third embodiment of the present invention, FIG. 17 is a block diagram of the response text of the second embodiment, and FIG. 18 is the second embodiment. FIG. 19 is a configuration diagram of a work table in the unit under test, FIG. 19 is a configuration diagram of a transition information table of the unit under test of the second embodiment, and FIG. 20 is a flow chart showing processing of the unit under test of the second embodiment. 1 ... Computer A, 2 ... Computer B, 3 ... Computer C, 4
…… Packet exchange network, 5 …… Event text, 5a ……
Event column, 5b ... Various operand columns, 6 ... Response text according to the present invention, 7 ... Tester section, 8 ... Tested section, 9 ... Tested section, 10 ... Conventional response text, 11
...... Status information of the previous one (before event input), 12 ...
… Current (after transition) status information, 13 …… Previous (before event input) status storage table, 14 …… Current (after transition) status storage table, 15 …… Network, 16 …… Number of input events, 17 ... Tested table, 20 ... Transition information dedicated text, 21 ... Time unit data unit, 30 ... Tested portion transition information table, 31 ... Response text, 32 ... Judgment Result data unit, 33 ... Event storage table, 34 ... Output storage table, 35 ... Judgment result table, 36 ... Tested part table, 50-52 ... Status, 53-61 ... Event, 70
~ 72 …… Status, 73 ~ 82 …… Event, 100 ~ 111…
… Steps of processing flow of tester computer, 112-116 ……
Steps of the processing flow of the tested part, 150 to 152 ... Steps of the processing flow of the tester part, 153 to 157 ... Steps of the processing flow of the tested part, 160 to 167 ... Steps of the processing flow of the tested part.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】ネットワーク内の任意の計算機間で、ある
テスタ計算機が他の被テスト計算機内の被テスト部の動
作確認を行なうネットワーク内計算機の動作確認方式に
おいて、前記テスタ計算機から入力したテキストに対す
る前記被テスト計算機の被テスト部であるプログラム自
身が応答する通常の応答テキストに、前記被テスト部で
あるプログラム自身の一つ前及び現在の状態遷移情報を
付加する手段を備えたことを特徴とするネットワーク内
計算機の動作確認方式。
1. A text input from a tester computer in an operation confirmation system of a computer in a network in which a tester computer confirms the operation of a unit under test in another computer under test between arbitrary computers in the network. A means for adding the previous and current state transition information of the program under test to the normal response text to which the program under test of the computer under test responds. A method for checking the operation of computers in the network.
【請求項2】前記テスタ計算機は、前記テキストを前記
被テスト計算機に向け送信する手段と、前記被テスト計
算機からの状態遷移情報を受信する手段と、受信した状
態遷移情報に基いて、前記被テスト計算機の被テスト部
の状態遷移の実体を遠隔地において確認する手段とを備
えたことを特徴とする請求項1記載のネットワーク内計
算機の動作確認方式。
2. The tester computer, based on the received state transition information, means for transmitting the text to the computer under test, means for receiving state transition information from the computer under test, and The operation confirmation system for a computer in a network according to claim 1, further comprising means for confirming a substance of a state transition of a tested part of the test computer at a remote location.
【請求項3】前記被テスト部に、現在の状態遷移情報格
納用デーブルおよび一つ前の状態遷移情報格納用テーブ
ルを備えたことを特徴とする請求項1記載のネットワー
ク内計算機の動作確認方式。
3. The operation confirming method for a computer in a network according to claim 1, wherein the unit under test is provided with a table for storing current state transition information and a table for storing previous state transition information. .
【請求項4】前記被テスト部は、前記テスタ計算機から
入力したテキストに対し、状態遷移情報を付加しない応
答テキストを出力すると共に、状態遷移情報を該応答テ
キストとは別の遷移情報専用テキストにより出力するよ
うに構成したことを特徴とする請求項1記載のネットワ
ーク内計算機の動作確認方式。
4. The device under test outputs a response text to which the state transition information is not added to the text input from the tester computer, and the state transition information is transmitted by a transition information dedicated text different from the response text. The operation confirmation system for a computer in a network according to claim 1, characterized in that the operation is confirmed.
【請求項5】前記遷移情報専用テキストに、前記応答テ
キストとの対応をとるデータを付加したことを特徴とす
る請求項4記載のネットワーク内計算機の動作確認方
式。
5. The operation confirming method for a computer in a network according to claim 4, wherein data corresponding to said response text is added to said transition information dedicated text.
【請求項6】前記状態遷移情報は、遷移前と後の状態情
報を含むことを特徴とする請求項1,4,5のいずれか1項
記載のネットワーク内計算機の動作確認方式。
6. The operation confirmation method for a computer in a network according to claim 1, wherein the state transition information includes state information before and after the transition.
【請求項7】前記被テスト部に、予め当該被テスト計算
機の状態遷移情報を作成格納しておき、テキストが入力
されたとき、実際の状態遷移情報と前記予め作成格納さ
れている状態遷移情報とを比較し、その比較結果を前記
応答テキスト中に付加する手段を備えたことを特徴とす
る請求項1,4,5,6のいずれか1項記載のネットワーク内
計算機の動作確認方式。
7. The state transition information of the computer under test is created and stored in advance in the unit under test, and when the text is input, the actual state transition information and the state transition information created and stored in advance are stored. 7. An operation confirmation system for a computer in a network according to claim 1, 4, 5, or 6, further comprising means for comparing the comparison result and the result of comparison and adding the comparison result to the response text.
JP1116167A 1989-05-11 1989-05-11 Operation confirmation method for computers in the network Expired - Lifetime JPH0719216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1116167A JPH0719216B2 (en) 1989-05-11 1989-05-11 Operation confirmation method for computers in the network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1116167A JPH0719216B2 (en) 1989-05-11 1989-05-11 Operation confirmation method for computers in the network

Publications (2)

Publication Number Publication Date
JPH02297224A JPH02297224A (en) 1990-12-07
JPH0719216B2 true JPH0719216B2 (en) 1995-03-06

Family

ID=14680449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1116167A Expired - Lifetime JPH0719216B2 (en) 1989-05-11 1989-05-11 Operation confirmation method for computers in the network

Country Status (1)

Country Link
JP (1) JPH0719216B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05158728A (en) * 1991-12-09 1993-06-25 Fujitsu Ltd Test method for loosely coupled multiprocessor system
JP2016001825A (en) * 2014-06-12 2016-01-07 三菱電機株式会社 Communication test device and verification operation support method

Also Published As

Publication number Publication date
JPH02297224A (en) 1990-12-07

Similar Documents

Publication Publication Date Title
US7020089B2 (en) Information processing apparatus and method of controlling the information processing apparatus
US5365526A (en) Trace system for an I/O channel
JPH10285252A (en) Method for testing and measuring communication equipment and its device
CN113485881A (en) Testing method and device of temporary speed limiting server, electronic equipment and medium
JP3395163B2 (en) Apparatus and method for automatically verifying communication software
CN113094251B (en) Method and device for testing embedded system, computer equipment and storage medium
CN107864209A (en) The method, apparatus and server of data write-in
JPH0719216B2 (en) Operation confirmation method for computers in the network
CN101751311A (en) Request processing device, request processing system, and access testing method
KR100297590B1 (en) Path test method of switch network at exchange
CN113760696A (en) Program problem positioning method and device, electronic equipment and storage medium
CN107229481A (en) A kind of testing method and tool based on Excel
JPS59502036A (en) Method and apparatus for testing internal interconnection structures between n terminals of an electrical network
JP2021082873A (en) Predictor monitoring device, predictor monitoring method, and program
KR100692726B1 (en) An apparatus and a method for detection failure of telematics system
JPH01155452A (en) System for confirming connection of data processing system
KR950022652A (en) Routing Specifications Management Method of Signaling Network Management System
CN116862485A (en) Pressure measurement method and system for simulated shunt of payment system
US8488606B2 (en) System controller, semiconductor device, and method of testing interface
CN116450602A (en) Data migration method and device, electronic equipment and storage medium
KR0161126B1 (en) Apparatus and method for searching the signal line status on the system bus in the computer
KR20030008111A (en) A system and method for checking data in distributed database on a memory
CN116540920A (en) Data writing method and device and electronic equipment
JPS61133453A (en) Memory controller
CN115484200A (en) Embedded point testing method, device, server, storage medium and system