JPH0962529A - Test program running device - Google Patents
Test program running deviceInfo
- Publication number
- JPH0962529A JPH0962529A JP7220396A JP22039695A JPH0962529A JP H0962529 A JPH0962529 A JP H0962529A JP 7220396 A JP7220396 A JP 7220396A JP 22039695 A JP22039695 A JP 22039695A JP H0962529 A JPH0962529 A JP H0962529A
- Authority
- JP
- Japan
- Prior art keywords
- test
- test program
- management table
- execution
- executed
- 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.)
- Granted
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
(57)【要約】
【課題】試験プログラムの走行状況を管理し、実行経過
を引き継いでこれを実行して全ての装置を均一的に試験
できる試験プログラム走行装置の提供。
【解決手段】各装置の試験が実行中なのか実行完了なの
か未実行なのかを示す試験走行情報を格納する試験走行
管理テーブル31を有し、システム操作卓40からの試
験プログラムの実行指示に応答して試験装置管理部Aは
試験走行管理テーブル31を参照して順に実行中の装置
次いで未実行の装置を試験対象装置として試験プログラ
ム実行部Bで試験プログラムの実行を行なわせその試験
結果の供給に応答して対応する装置の試験走行情報を実
行完了に変更しその試験結果をシステム操作卓40に供
給する。
(57) [Abstract] [PROBLEMS] To provide a test program running device capable of managing the running condition of a test program, taking over the execution progress, and executing this to uniformly test all devices. SOLUTION: A test travel management table 31 storing test travel information indicating whether a test of each device is being executed, execution completed, or not executed, and a test program execution instruction from a system operation console 40 is provided. In response, the test device management unit A refers to the test run management table 31 and causes the test program execution unit B to execute the test program with the device being executed in order and the device not yet executed as the test target device. In response to the supply, the test run information of the corresponding device is changed to the execution completion and the test result is supplied to the system operation console 40.
Description
【0001】[0001]
【発明の属する技術分野】本発明は試験プログラム走行
装置に関し、特に試験プログラムの走行状況を把握し、
試験対象の装置に対する試験回数が均一になる試験プロ
グラム走行装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test program running device, and more particularly, to a running condition of a test program,
The present invention relates to a test program running device that allows a test target device to have a uniform number of tests.
【0002】[0002]
【従来の技術】従来のコンピュータシステムに複数接続
されているハードウエア装置に対する試験プログラムの
実行は、たとえば特開昭61−153742号公報の試
験プログラムの起動制御方式に示されるように、コンピ
ュータシステムにおいて周辺装置の装置名とその装置の
装置情報および装置種別の対応を示すテーブルと試験プ
ログラムと装置種別の対応を示すテーブルとを主記憶装
置にあらかじめ格納しておき、操作者が試験プログラム
の起動を中央処理装置に通知することで、中央処理装置
が上記二つのテーブルより現在運用から切り離されてい
る周辺装置を探し出して、その周辺装置に対応する試験
プログラムを検索し起動している。2. Description of the Related Art The execution of a test program for a plurality of hardware devices connected to a conventional computer system is performed in a computer system as disclosed in, for example, Japanese Patent Laid-Open No. 61-153742. A table indicating the correspondence between the device name of the peripheral device, the device information of the device and the device type, and the table indicating the correspondence between the test program and the device type are stored in the main storage device in advance, and the operator activates the test program. By notifying the central processing unit, the central processing unit searches the above two tables for a peripheral device that is currently disconnected from operation, searches for a test program corresponding to the peripheral device, and activates the test program.
【0003】この従来の試験プログラムの起動方式は、
主記憶装置に格納され各周辺装置とその装置情報および
装置種別を示すシステム資源管理テーブルと、各装置種
別と試験プログラム名の対応を示す試験プログラムテー
ブルと、操作員からの試験プログラムの実行指示によ
り、システム資源管理テーブルの装置情報を順次、読み
出して、当該周辺装置が運用体制から切り離されている
かどうか調べ、切り離されている場合に、対応する装置
種別をもとにして試験プログラムテーブルを検索して当
該装置種別に対応する試験プログラムを取り出し、この
試験プログラム名の試験プログラムを実行させる手段を
備えており、システム資源管理テーブルと試験プログラ
ムテーブルとの二つのテーブルを主記憶装置にあらかじ
め用意しておくことにより、中央処理装置に試験プログ
ラムの実行指示を与えるだけで、運用から切り離されて
いる周辺装置に対して所定のプログラムを選択、起動す
ることができる。This conventional test program starting method is as follows:
A system resource management table that stores each peripheral device and its device information and device type stored in the main memory, a test program table that shows the correspondence between each device type and the test program name, and an instruction to execute the test program from the operator. , The device information in the system resource management table is sequentially read to check whether the peripheral device is disconnected from the operating system, and if it is disconnected, the test program table is searched based on the corresponding device type. The test program corresponding to the device type is retrieved and the test program having this test program name is executed, and two tables, a system resource management table and a test program table, are prepared in the main storage device in advance. By issuing the instruction, the central processing unit is instructed to execute the test program. Only that, selecting a predetermined program to the peripheral device is disconnected from the production can be started.
【0004】一方、従来の一般的なコンピュータシステ
ムに複数接続されているハードウエア装置に対する試験
プログラムの走行装置は、図7のブロック図に示すよう
に、コンピュータシステム全体を制御する中央処理装置
100と、試験プログラムの実行を入力したり試験プロ
グラムの実行結果を示すメッセージを表示するシステム
操作卓400とで構成される。On the other hand, as shown in the block diagram of FIG. 7, a running device for a test program for a hardware device connected to a conventional general computer system includes a central processing unit 100 for controlling the entire computer system. , A system operation console 400 for inputting the execution of the test program and displaying a message indicating the execution result of the test program.
【0005】中央処理装置100には、システムに接続
されている全ての装置を知るための装置構成管理テーブ
ル210をあらかじめ記録している記憶部200が格納
されている。中央処理装置100にはさらに、システム
操作卓400から試験プログラムの実行指示を受け取
り、装置構成管理テーブル210を参照して使用可能状
態″S″となっている装置に対してのみ試験プログラム
を実行させ、その実行結果を受け取り実行結果をシステ
ム操作卓400へ表示する試験装置管理部Cと試験装置
管理部Cより試験プログラムの実行指示を受け取り、装
置に対して試験プログラムを実行する試験プログラム実
行部Dとを有する。The central processing unit 100 stores a storage unit 200 in which a device configuration management table 210 for knowing all the devices connected to the system is recorded in advance. The central processing unit 100 further receives an instruction to execute the test program from the system console 400, refers to the device configuration management table 210, and causes the test program to be executed only for the device in the available state "S". , A test apparatus management unit C for receiving the execution result and displaying the execution result on the system console 400, and a test program execution section D for receiving the test program execution instruction from the test apparatus management unit C and executing the test program on the apparatus. Have and.
【0006】記憶部200の装置構成管理テーブル21
0の形式は図8に示す通り、装置名220と使用可/不
可情報230とで構成され、使用可/不可情報230と
して、Sは使用可能状態を、Uは使用不可能状態を表
す。A device configuration management table 21 of the storage unit 200
As shown in FIG. 8, the format of 0 is composed of a device name 220 and usable / unusable information 230. As usable / unusable information 230, S represents a usable state and U represents an unusable state.
【0007】図9は図7の試験走行管理部の動作を説明
するための流れ図、図10は試験プログラム実行部の動
作を説明するための流れ図である。FIG. 9 is a flow chart for explaining the operation of the test run management unit of FIG. 7, and FIG. 10 is a flow chart for explaining the operation of the test program execution unit.
【0008】次に、従来の試験プログラム走行装置につ
いて図7〜図10を参照して説明する。Next, a conventional test program running device will be described with reference to FIGS.
【0009】図7において、システム操作卓400より
試験プログラムの実行を指示する。試験装置管理部C
は、図9の流れ図に示すように、システム操作卓400
より試験プログラムの実行を指示されると(ステップC
1)、記憶部200内の装置構成管理テーブル210の
先頭から順に使用可/不可情報230が使用可能状態″
S″となっている装置の装置名220を1つだけ入力し
(ステップC2)、装置名220を入力することができ
たかを判定し(ステップC3)、装置名220が入力で
きた場合は、入力した装置名220を試験プログラム実
行部Dに渡す(ステップC4)。In FIG. 7, the execution of the test program is instructed from the system operation console 400. Test equipment management section C
As shown in the flow chart of FIG.
When instructed to execute the test program (step C
1), the usable / unusable information 230 is in the usable state in order from the head of the device configuration management table 210 in the storage unit 200 ″
Only one device name 220 of the device having S ″ is input (step C2), it is determined whether the device name 220 can be input (step C3), and if the device name 220 can be input, The input device name 220 is passed to the test program execution unit D (step C4).
【0010】このとき、試験プログラム実行部Dは、図
10の流れ図のように、試験装置管理部Cより渡された
装置名220に対する試験プログラムを実行し(ステッ
プD1)、試験プログラムが正常終了したかを判定し
(ステップD2)、正常終了した場合には、その旨を試
験装置管理部Cに渡し(ステップD3)、異常終了した
場合には、その旨を試験装置管理部Cに渡す(ステップ
D4)。At this time, the test program execution section D executes the test program for the device name 220 passed from the test apparatus management section C as shown in the flowchart of FIG. 10 (step D1), and the test program ends normally. It is determined (step D2), and if it ends normally, it is passed to the test apparatus management unit C (step D3). If it is abnormally ended, that fact is passed to the test apparatus management unit C (step D3). D4).
【0011】試験プログラムの終了結果は、図9の流れ
図、ステップC5にて試験装置管理部Cが受け取り、試
験プログラムの結果が正常終了したかを判定し(ステッ
プC6)、異常終了の場合は、その旨をシステム操作卓
400に表示して試験プログラムを中断する(ステップ
C8)。正常終了の場合は、装置構成管理テーブル21
0から使用可/不可情報230が使用可能状態″S″と
なっている次の装置名220を入力し(ステップC
7)、ステップC3の処理に戻る。ステップC3では装
置名220を入力できたかの判定するが装置名220が
入力できなかった場合は試験すべき全ての装置の装置名
220は入力し終えたので、試験プログラムが終了した
旨をシステム操作卓400に表示して(ステップC
9)、処理を終了する。The end result of the test program is received by the test apparatus management section C at step C5 in the flowchart of FIG. 9, and it is judged whether the result of the test program is normally completed (step C6). This is displayed on the system console 400 and the test program is interrupted (step C8). In the case of normal termination, the device configuration management table 21
From 0, enter the next device name 220 whose usable / unusable information 230 is in the usable state "S" (step C
7) and returns to the process of step C3. In step C3, it is determined whether the device name 220 has been input. If the device name 220 cannot be input, the device names 220 of all the devices to be tested have been input. Display on 400 (Step C
9), end the processing.
【0012】[0012]
【発明が解決しようとする課題】従来の特開昭61−1
53742号公報の試験プログラムの起動方式ではシス
テムから切り離された状態である装置が試験の対象装置
となっており、コンピュータシステム運用中の装置に対
して試験プログラムを起動できないという問題がある。DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In the test program start-up method of Japanese Patent No. 53742, there is a problem that a device that is in a state of being disconnected from the system is a test target device and the test program cannot be started for a device that is operating a computer system.
【0013】従来の一般的な試験プログラム走行装置で
は、試験プログラムが実行されている途中でシステムの
障害や電源の障害によるシステム緊急停止や、一日の処
理が終了してシステムを停止した場合に、前回試験プロ
グラムが装置構成管理テーブルに記録されている何台目
の装置まで実行されていたかが分らないため、再度試験
プログラムを実行しようとするとき、常に装置構成管理
テーブルの先頭に記録されている装置から順に試験プロ
グラムを実行し直すこととなる。In the conventional general test program running apparatus, when the test program is being executed, an emergency stop of the system due to a failure of the system or a failure of the power supply, or a case where the system is stopped after the processing of one day is completed. , It is always recorded at the beginning of the device configuration management table when trying to execute the test program again because it is not known how many devices that were previously recorded in the device configuration management table have been executed. The test program is re-executed in order from the device.
【0014】そのため、前回試験プログラムが実行され
なかった装置に対して試験プログラムを実行するために
は、前回の試験で実行済みの装置に対して再度試験プロ
グラムを実行し、その後に実行されることとなる。した
がって、装置構成管理テーブルの最後尾に記録されてい
る装置は比較的試験プログラムの実行回数が少なくな
り、全ての装置に対して均一的に試験を実行することが
困難であるという問題がある。Therefore, in order to execute the test program on the device for which the test program was not executed last time, the test program should be executed again for the device executed in the previous test and then executed. Becomes Therefore, the device recorded at the end of the device configuration management table has a relatively small number of executions of the test program, and there is a problem that it is difficult to uniformly execute the test on all devices.
【0015】本発明の目的は、システムにある使用可能
な装置の試験プログラムの走行状況を管理し、実行経過
を引き継いで試験プログラムを実行することにより、全
ての装置を均一的に試験できる試験プログラム走行装置
を提供することにある。An object of the present invention is to manage a running condition of a test program of usable devices in a system, to carry out the test program while taking over the execution progress, and to test all devices uniformly. To provide a traveling device.
【0016】[0016]
【課題を解決するための手段】第1の発明の試験プログ
ラム走行装置は、システムに接続される複数の装置のそ
れぞれの物理的接続状態に基ずく前記各装置の使用可能
か否かを示す使用状態情報を格納する装置構成管理テー
ブルを予め記憶する第1の記憶手段と、前記各装置の試
験プログラムによる試験がそれぞれの前記装置に対し実
行中なのか実行完了なのが未実行なのかを示す試験走行
情報を格納する試験走行管理テーブルを記憶する第2の
記憶手段と、前記試験プログラムの実行指示を入力し前
記試験プログラムの実行結果を示すメッセージを出力す
る入出力手段と、試験プログラム実行対象の装置識別子
の供給に応答して前記装置識別子に対応する装置に対応
する試験プログラムを実行してその結果を出力する試験
プログラム実行手段と、前記入出力手段からの試験プロ
グラムの実行指示の供給に応答して前記試験走行管理テ
ーブルを参照して順に前記試験走行情報が実行中の装置
次いでに未実行の装置を前記試験走行情報を実行中に更
新して試験対象装置として前記試験プログラム実行手段
にこの試験対象装置の識別子を供給し前記試験走行管理
テーブルが未作成のときには前記装置構成管理テーブル
を参照して前記使用状態情報が使用可能状態となってい
る全ての装置に対してその試験走行情報を未実行に設定
した試験走行管理テーブルを作成してこれを参照して順
に前記試験走行情報を実行中に更新して試験対象装置と
して前記試験プログラム実行手段にこの試験対象装置の
識別子を供給し前記試験プログラム実行手段からの試験
結果の供給に応答して対応する装置の試験走行情報を実
行完了に変更しその試験結果を前記入出力手段に供給す
る試験装置管理手段とを含むことを特徴とする試験プロ
グラム走行装置。A test program running device according to a first aspect of the present invention uses a device for indicating whether or not each device is usable based on a physical connection state of each of a plurality of devices connected to a system. A first storage unit that stores in advance a device configuration management table that stores state information, and a test that indicates whether a test by a test program of each device is being executed or has not been executed for each device. Second storage means for storing a test travel management table for storing travel information, input / output means for inputting an execution instruction of the test program and outputting a message indicating an execution result of the test program, and a test program execution target A test program executor that executes a test program corresponding to the device corresponding to the device identifier in response to the supply of the device identifier and outputs the result. In response to the supply of the test program execution instruction from the input / output means, the test running management table is referred to and the device in which the test running information is being executed and then the unexecuted device The identifier of the test target device is supplied to the test program execution means as a test target device which is updated during execution, and when the test travel management table is not created, the device configuration management table is referenced to use the usage status information. A test run management table in which the test run information is set to unexecuted is created for all the devices in the enabled state, and the test run information is updated in execution by sequentially referring to this table and the test target device is set. As an identifier, the identifier of the device to be tested is supplied to the test program executing means, and the corresponding device responds to the supply of the test result from the test program executing means. Test drive information to change the execution completion test program running device which comprises a test device management means for supplying the test result to the output means.
【0017】第2の発明の試験プログラム走行装置は、
第1の発明の試験プログラム走行装置において、試験走
行管理テーブルを記憶する第2の記憶手段は不揮発性記
憶手段であることを特徴としている。The test program running device of the second invention is
In the test program running device of the first invention, the second storage means for storing the test travel management table is a non-volatile storage means.
【0018】[0018]
【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0019】図1は本発明の試験プログラム走行装置の
一実施の形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a test program running device of the present invention.
【0020】本実施の形態の試験プログラム走行装置
は、図1に示すように、コンピュータシステム全体を制
御する中央処理装置10と、試験走行管理テーブル31
を記録する磁気デイスク装置30と、試験プログラムの
実行を入力したり試験プログラムの実行結果を示すメッ
セージを表示するシステム操作卓40とを含んで構成さ
れる。As shown in FIG. 1, the test program running device of the present embodiment has a central processing unit 10 for controlling the entire computer system and a test running management table 31.
And a system operation console 40 for inputting the execution of the test program and displaying a message indicating the execution result of the test program.
【0021】中央処理装置10には、システムに接続さ
れている全ての装置を知るための装置構成管理テーブル
21をあらがじめ記憶している記憶部20が格納されて
いる。The central processing unit 10 stores a storage unit 20 that preliminarily stores a device configuration management table 21 for knowing all the devices connected to the system.
【0022】図2は、図1の記憶部20に記録され装置
の物理的接続状態を管理する装置構成管理テーブル21
の形式を示すフオーマット図である。記憶部20の装置
構成管理テーブル21の形式は、装置名22と使用可/
不可情報23とで構成され、使用可/不可情報23とし
ては、Sは使用可能状態を、Uは使用不可能状態を表
す。FIG. 2 is a device configuration management table 21 which is recorded in the storage unit 20 of FIG. 1 and manages the physical connection state of the device.
It is a format diagram showing the format of. The format of the device configuration management table 21 of the storage unit 20 is device name 22 and usable /
In the usable / unusable information 23, S represents a usable state and U represents an unusable state.
【0023】ここで、使用可能状態とは物理的にシステ
ムに接続されている状態をいう。ある業務について使用
されていない装置、すなわち、その業務についてシステ
ムの運用から切り離されている装置でも、物理的にシス
テムに接続されている装置は使用可能状態とする。Here, the usable state means a state in which the system is physically connected to the system. A device that is not used for a certain work, that is, a device that is separated from the operation of the system for the work, but physically connected to the system, is made available.
【0024】図3は、図1の磁気デイスク装置30に記
録され、試験プログラムの走行状態を管理する試験走行
管理テーブル31の形式を示すフオーマット図である。
磁気デイスク装置30の試験走行管理テーブル31の形
式は、装置名32と試験プログラム走行情報33とで構
成され、試験プログラム走行情報33として、Rは試験
プログラム実行中状態を、Eは試験プログラム実行完了
状態を、Nは試験プログラム未実行状態を表す。FIG. 3 is a format diagram showing the format of the test running management table 31 recorded in the magnetic disk device 30 of FIG. 1 and managing the running state of the test program.
The format of the test run management table 31 of the magnetic disk device 30 is composed of a device name 32 and test program run information 33. As the test program run information 33, R is a test program running state and E is a test program run complete. A state, N represents a test program unexecuted state.
【0025】試験走行管理テーブルを格納する記憶手段
としては、電源の障害等でも記憶内容が消滅しない不揮
発性記憶手段が望ましい。As the storage means for storing the test run management table, it is desirable to use a non-volatile storage means that does not lose its stored contents even if the power supply fails.
【0026】図1の中央処理装置10には、システム操
作卓40から試験プログラムの実行指示を受け取り、装
置構成管理テーブル21を参照して試験走行管理テーブ
ル31の作成および更新を行ない、ある装置に対する試
験プログラムを実行させ、その実行結果を受け取り、実
行結果をシステム操作卓40へ表示する試験装置管理部
Aと試験装置管理部Aより試験プログラムの実行指示を
受け取り、装置に対して試験プログラムを実行する試験
プログラム実行部Bを有している。The central processing unit 10 shown in FIG. 1 receives a test program execution instruction from the system console 40, refers to the device configuration management table 21, and creates and updates the test run management table 31. The test program is executed, the execution result is received, and the execution result is displayed on the system console 40. The test apparatus management unit A and the test apparatus management unit A receive the test program execution instruction and execute the test program on the apparatus. It has a test program execution unit B for executing.
【0027】図4は試験走行管理部の動作の一部を説明
するための流れ図、図5は試験走行管理部の図4以外の
動作を説明するための流れ図、図6は試験プログラム実
行部の動作を説明するための流れ図である。FIG. 4 is a flow chart for explaining a part of the operation of the test run management section, FIG. 5 is a flow chart for explaining the operation of the test run management section other than FIG. 4, and FIG. 6 is a test program execution section. 6 is a flowchart for explaining the operation.
【0028】次に、本実施の形態の動作について図1〜
図6を参照して説明する。Next, the operation of the present embodiment will be described with reference to FIGS.
This will be described with reference to FIG.
【0029】まず、図1において、システム操作卓40
より試験プログラムの実行を試験装置管理部Aに指示す
る。次に図4において、試験装置管理部Aは、システム
操作卓40より試験プログラムの実行を指示されると
(ステップA1)、磁気デイスク装置30に試験走行管
理テーブル31が存在するかを確認し(ステップA
2)、存在しない場合は(ステップA2のNO枝)、記
憶部20内の装置構成管理テーブル21から使用可/不
可情報23が使用可能状態″S″となっている装置の装
置名22のみを参照して磁気デイスク装置30内に試験
走行管理テーブル31を作成し(ステップA9)、試験
走行管理テーブル31の試験プログラム走行情報33を
全て試験プログラム未実行状態″N″に設定する(ステ
ップA10)。磁気デイスク装置30内の試験走行管理
テーブル31が存在する場合には(ステップA2のYE
S枝)、試験走行管理テーブル31の試験プログラム走
行情報33が全て試験プログラム実行完了状態″E″の
状態かを確認し(ステップA3)、試験プログラム走行
情報33が全て実行完了状態″E″である場合には(ス
テップA3のYES枝)、前述のステップA10の通
り、試験プログラム走行情報33を全て未実行状態″
N″に設定する。First, referring to FIG. 1, the system console 40
Instructs the test apparatus management unit A to execute the test program. Next, in FIG. 4, when the test apparatus management unit A is instructed to execute the test program by the system operator console 40 (step A1), the test apparatus management unit A confirms whether the test drive management table 31 exists in the magnetic disk device 30 (( Step A
2) If it does not exist (NO branch of step A2), only the device name 22 of the device whose usable / unusable information 23 is in the usable state “S” is stored from the device configuration management table 21 in the storage unit 20. By referring to the test drive management table 31 in the magnetic disk device 30 (step A9), all the test program drive information 33 of the test drive management table 31 is set to the test program non-execution state "N" (step A10). . If the test drive management table 31 in the magnetic disk device 30 exists (YES in step A2)
S branch), it is confirmed whether all the test program running information 33 of the test running management table 31 is in the test program execution completion state "E" (step A3), and the test program running information 33 is all execution completion state "E". If there is (YES branch in step A3), all the test program running information 33 is in the unexecuted state as in step A10 described above.
Set to N ″.
【0030】次に試験プログラム走行情報33に試験プ
ログラム実行中状態″R″が存在するかを確認し(ステ
ップA4)、″R″が設定された試験プログラム走行情
報33が存在する場合は(ステップA4のYES枝)、
試験プログラム走行情報33の実行中状態″R″に対応
する装置名32を試験プログラム実行部Bに渡す(ステ
ップA5)。″R″が設定された試験プログラム走行情
報33が存在しない場合は(ステップA4のNO枝)、
試験プログラム走行情報33に未実行状態″N″が存在
するかを確認し(ステップA11)、″N″が設定され
た試験プログラム走行情報33が存在する場合は、試験
プログラム走行情報33の先頭の未実行状態″N″を実
行中状態″R″に設定し(ステップA12)、試験プロ
グラム走行情報33の実行中状態″R″に対応する装置
名32を試験プログラム実行部Bに渡す(ステップA
5)。Next, it is confirmed whether or not the test program running information "R" exists in the test program running information 33 (step A4), and if the test program running information 33 with "R" set exists (step A4). YES branch of A4),
The device name 32 corresponding to the running state "R" of the test program running information 33 is passed to the test program execution unit B (step A5). When the test program running information 33 in which "R" is set does not exist (NO branch of step A4),
It is confirmed whether or not the unexecuted state "N" exists in the test program running information 33 (step A11). If the test program running information 33 with "N" set exists, the test program running information 33 The non-execution state "N" is set to the execution state "R" (step A12), and the device name 32 corresponding to the execution state "R" of the test program running information 33 is passed to the test program execution section B (step A).
5).
【0031】このとき、試験プログラム実行部Bは、図
6の流れ図のように、試験装置管理部Aより渡された装
置名32に対する試験プログラムを実行し(ステップB
1)、試験プログラムが正常終了したかを判定し(ステ
ップB2)、正常終了した場合には、その旨を試験装置
管理部Aに渡し(ステップB3)、異常終了した場合に
は、その旨を試験装置管理部Aに渡す(ステップB
4)。At this time, the test program execution unit B executes the test program for the device name 32 passed from the test device management unit A as shown in the flowchart of FIG. 6 (step B
1) It is determined whether the test program has ended normally (step B2). If the test program ends normally, the fact is passed to the test apparatus management section A (step B3). If it ends abnormally, the fact is notified. Hand over to the test equipment management section A (step B
4).
【0032】試験プログラムの終了結果は、図4の流れ
図、ステップA6にて試験装置管理部Aが受けとる(ス
テップA6)。次に、試験プログラムの結果が正常終了
したかを判定し(ステップA7)、異常終了の場合は、
その旨をシステム操作卓40に表示し、試験プログラム
を中断する(ステップA13)。正常終了の場合は、試
験プログラム走行情報33の実行中状態″R″を実行完
了状態″E″に設定し(ステップA8)、ステップA4
の処理に戻る。The end result of the test program is received by the test apparatus management section A at step A6 in the flowchart of FIG. 4 (step A6). Next, it is judged whether or not the result of the test program has ended normally (step A7).
The fact is displayed on the system console 40 and the test program is interrupted (step A13). In the case of normal termination, the running state "R" of the test program running information 33 is set to the execution completed state "E" (step A8), and step A4
Return to processing.
【0033】図4の流れ図、ステップA11で未実行状
態″N″が存在しない場合には(ステップA11のNO
枝)、図5の流れ図に示すように、試験プログラム走行
情報33が全て実行完了状態″E″であるかを判定し
(ステップA14)、全て実行完了状態″E″の場合は
試験プログラムが終了した旨をシステム操作卓40に表
示し(ステップA15)、1つでも実行完了状態″E″
でない装置がある場合は、磁気デイスク装置30内の試
験走行管理テーブル31にエラーが発生した旨をシステ
ム操作卓40に表示し、磁気デイスク装置30内の試験
走行管理テーブル31を削除する(ステップA16)。In the flow chart of FIG. 4, if the unexecuted state "N" does not exist in step A11 (NO in step A11).
Branch), as shown in the flow chart of FIG. 5, it is judged whether all the test program running information 33 is in the execution completion state "E" (step A14), and if all the execution completion state "E", the test program ends. This is displayed on the system console 40 (step A15), and even one execution completed state "E"
If there is a device other than the above, the fact that an error has occurred in the test drive management table 31 in the magnetic disk device 30 is displayed on the system console 40, and the test drive management table 31 in the magnetic disk device 30 is deleted (step A16). ).
【0034】以上説明したように、コンピュータシステ
ムの運用中において、試験プログラムを実行する際、磁
気デイスク装置に試験走行管理テーブルを作成/更新
し、試験走行管理テーブルにて試験プログラムの実行中
状態、未実行状態、実行完了状態を管理することによ
り、コンピュータシステムが停止した場合でも試験プロ
グラムを最初の装置から実行するのではなく、実行経過
を引き継いで試験プログラムを実行していない装置から
常に実行を再開することができ、全ての装置に対して均
一的に試験プログラムを実行することができるという効
果を有する。As described above, when the test program is executed during the operation of the computer system, the test run management table is created / updated in the magnetic disk device, and the test run management table shows the running state of the test program. By managing the unexecuted state and the execution completed state, even if the computer system is stopped, the test program is not executed from the first device, but the execution progress is taken over and the test program is always executed from the device that is not executing the test program. It has the effect that it can be restarted and the test program can be uniformly executed for all the devices.
【0035】[0035]
【発明の効果】以上説明したように、本発明の試験プロ
グラム走行装置は、コンピュータシステムの運用中にお
いて試験プログラムを実行する際、磁気デイスク装置に
試験走行管理テーブルを作成し、試験走行管理テーブル
にて試験プログラムの実行中状態、未実行状態、実行完
了状態を管理することにより、コンピュータシステムが
停止した場合でも試験プログラムを最初の装置から実行
するのではなく、実行経過を引き継いで試験プログラム
を実行していない装置から常に実行を再開することがで
きることから、全ての装置に対して均一的に試験プログ
ラムを実行することができるという効果を有する。As described above, the test program running device of the present invention creates the test run management table in the magnetic disk device and executes the test run management table in the test run management table when executing the test program during the operation of the computer system. By managing the running state, unexecuted state, and execution completed state of the test program, the test program is not executed from the first device even if the computer system is stopped, but the execution progress is taken over and the test program is executed. Since the execution can always be resumed from the non-executed device, the test program can be uniformly executed in all the devices.
【図1】本発明の試験プログラム走行装置の一実施の形
態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of a test program running device of the present invention.
【図2】図1の装置の装置構成管理テーブルの内容を示
すフオーマット図である。FIG. 2 is a format diagram showing the contents of a device configuration management table of the device of FIG.
【図3】図1の試験走行管理テーブルの内容を示すフオ
ーマット図である。FIG. 3 is a format diagram showing the contents of the test travel management table of FIG.
【図4】図1の試験走行管理部の動作の一部を説明する
ための流れ図である。FIG. 4 is a flowchart for explaining a part of the operation of the test travel management unit in FIG.
【図5】図1の試験走行管理部の図4以外の動作を説明
するための流れ図である。5 is a flowchart for explaining the operation of the test travel management unit of FIG. 1 other than that of FIG. 4;
【図6】図1の試験プログラム実行部の動作を説明する
ための流れ図である。FIG. 6 is a flowchart for explaining the operation of the test program execution unit in FIG.
【図7】従来の試験プログラム走行装置の一例のブロッ
ク図である。FIG. 7 is a block diagram of an example of a conventional test program running device.
【図8】図7の装置構成管理テーブルの内容を示すフオ
ーマット図である。8 is a format diagram showing the contents of the device configuration management table of FIG.
【図9】図7の試験走行管理部の動作を説明するための
流れ図である。9 is a flowchart for explaining the operation of the test travel management unit of FIG.
【図10】図7の試験プログラム実行部の動作を説明す
るための流れ図である。FIG. 10 is a flowchart for explaining the operation of the test program execution unit in FIG.
10、100 中央処理装置 20、200 記憶部 21、210 装置構成管理テーブル 22、32、220 装置名 23、230 使用可/不可情報 30 磁気デイスク装置 31 試験走行管理テーブル 33 試験プログラム走行情報 40、400 システム操作卓 A、C 試験装置管理部 B、D 試験プログラム実行部 10, 100 Central processing unit 20, 200 Storage unit 21, 210 Device configuration management table 22, 32, 220 Device name 23, 230 Usable / unusable information 30 Magnetic disk device 31 Test run management table 33 Test program run information 40, 400 System operation console A, C Test equipment management unit B, D Test program execution unit
Claims (2)
ぞれの物理的接続状態に基ずく前記各装置の使用可能か
否かを示す使用状態情報を格納する装置構成管理テーブ
ルを予め記憶する第1の記憶手段と、前記各装置の試験
プログラムによる試験がそれぞれの前記装置に対し実行
中なのか実行完了なのが未実行なのかを示す試験走行情
報を格納する試験走行管理テーブルを記憶する第2の記
憶手段と、前記試験プログラムの実行指示を入力し前記
試験プログラムの実行結果を示すメッセージを出力する
入出力手段と、試験プログラム実行対象の装置識別子の
供給に応答して前記装置識別子に対応する装置に対応す
る試験プログラムを実行してその結果を出力する試験プ
ログラム実行手段と、前記入出力手段からの試験プログ
ラムの実行指示の供給に応答して前記試験走行管理テー
ブルを参照して順に前記試験走行情報が実行中の装置次
いでに未実行の装置を前記試験走行情報を実行中に更新
して試験対象装置として前記試験プログラム実行手段に
この試験対象装置の識別子を供給し前記試験走行管理テ
ーブルが未作成のときには前記装置構成管理テーブルを
参照して前記使用状態情報が使用可能状態となっている
全ての装置に対してその試験走行情報を未実行に設定し
た試験走行管理テーブルを作成してこれを参照して順に
前記試験走行情報を実行中に更新して試験対象装置とし
て前記試験プログラム実行手段にこの試験対象装置の識
別子を供給し前記試験プログラム実行手段からの試験結
果の供給に応答して対応する装置の試験走行情報を実行
完了に変更しその試験結果を前記入出力手段に供給する
試験装置管理手段とを含むことを特徴とする試験プログ
ラム走行装置。1. A device configuration management table that stores in advance a device configuration management table that stores usage status information indicating whether or not each device can be used based on the physical connection status of each device connected to the system. And a second storage means for storing a test travel management table storing test travel information indicating whether a test by the test program of each device is being executed or has not been executed for each device. Storage means, input / output means for inputting an execution instruction of the test program and outputting a message indicating an execution result of the test program, and a device corresponding to the device identifier in response to supply of the device identifier of the test program execution target. The test program executing means for executing the test program corresponding to the above and outputting the result, and the instruction for executing the test program from the input / output means are provided. In response to the supply, referring to the test run management table, the device in which the test run information is being executed and then the unexecuted device are updated while the test run information is being executed to execute the test program as the device to be tested. The identifier of this device to be tested is supplied to the means, and when the test travel management table is not created, the device configuration management table is referred to and the usage status information is applied to all devices in the available status. The test travel management table in which the test travel information is set to unexecuted is created, and the test travel information is sequentially updated by referring to this table and the test program execution means is set as the test target device to the test program execution means. In response to the supply of the test result from the test program executing means, the test run information of the corresponding device is changed to the execution completion, and the test result is input / output. Test program running device which comprises a test device management means for supplying the means.
記憶手段は不揮発性記憶手段であることを特徴とする請
求項1記載の試験プログラム走行装置。2. The test program running device according to claim 1, wherein the second storage means for storing the test travel management table is a non-volatile storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7220396A JP2928139B2 (en) | 1995-08-29 | 1995-08-29 | Test program traveling device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7220396A JP2928139B2 (en) | 1995-08-29 | 1995-08-29 | Test program traveling device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0962529A true JPH0962529A (en) | 1997-03-07 |
| JP2928139B2 JP2928139B2 (en) | 1999-08-03 |
Family
ID=16750467
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7220396A Expired - Fee Related JP2928139B2 (en) | 1995-08-29 | 1995-08-29 | Test program traveling device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2928139B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0480832A (en) * | 1990-07-23 | 1992-03-13 | Nec Corp | Execution system for diagnostic program |
| JPH0675806A (en) * | 1992-08-27 | 1994-03-18 | Nec Corp | Information processor capable of test diagnosis of hardware |
-
1995
- 1995-08-29 JP JP7220396A patent/JP2928139B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0480832A (en) * | 1990-07-23 | 1992-03-13 | Nec Corp | Execution system for diagnostic program |
| JPH0675806A (en) * | 1992-08-27 | 1994-03-18 | Nec Corp | Information processor capable of test diagnosis of hardware |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2928139B2 (en) | 1999-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7134049B2 (en) | System and method for sequencing and performing very high speed software downloads concurrent with system testing in an automated production environment | |
| US20050114854A1 (en) | System and method for dynamic cooperative distributed execution of computer tasks without a centralized controller | |
| JPS59195749A (en) | Non-synchronous check pointing system for recovery of errors | |
| JP2006119848A (en) | Software update program, software update apparatus, and software update method | |
| US7673178B2 (en) | Break and optional hold on failure | |
| US20120089571A1 (en) | Computer process management | |
| WO2019196227A1 (en) | Platform integration method and apparatus, and computer device and storage medium | |
| JP2003140918A (en) | Computer failure recovery support apparatus and method, and computer failure recovery support program | |
| JP2928139B2 (en) | Test program traveling device | |
| JPH05250168A (en) | Program startup method and program installation method | |
| US8055757B2 (en) | Apparatus and methods for a message buffering system | |
| US20070185929A1 (en) | Method and apparatus for processing monitoring | |
| JP3159357B2 (en) | Multicomputer debugger | |
| JPH1040123A (en) | System and method for job management | |
| JPH11120028A (en) | Program transporting support system | |
| JPH01259432A (en) | Reexecution system for batch job | |
| JP2000315190A (en) | Job recovery system | |
| CN119336357A (en) | Automatic upgrade system for server components, readable medium and electronic device | |
| JP2818100B2 (en) | Data processing device | |
| JP3003035B2 (en) | Backup data management method | |
| JPS58223859A (en) | Virtual dasd starter system | |
| JP2003271395A (en) | Business transaction management program, system and method | |
| JP2006072880A (en) | Information processing method, information processing program, and information processing system | |
| JPS62221042A (en) | Automatic restoring system for diagnosis of fault | |
| JPH09293009A (en) | File backup system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19990413 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090514 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |