JPH11305822A - Simulation test method for process control computer and device therefor - Google Patents

Simulation test method for process control computer and device therefor

Info

Publication number
JPH11305822A
JPH11305822A JP11366598A JP11366598A JPH11305822A JP H11305822 A JPH11305822 A JP H11305822A JP 11366598 A JP11366598 A JP 11366598A JP 11366598 A JP11366598 A JP 11366598A JP H11305822 A JPH11305822 A JP H11305822A
Authority
JP
Japan
Prior art keywords
verification
test
item
process control
test scenario
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.)
Withdrawn
Application number
JP11366598A
Other languages
Japanese (ja)
Inventor
Suminori Harada
純典 原田
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP11366598A priority Critical patent/JPH11305822A/en
Publication of JPH11305822A publication Critical patent/JPH11305822A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Control By Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the load of test inspection in the simulation test of the application program of a computer for process control, to simplify the inspection, and to sharply improve the productivity of soft development. SOLUTION: A computer simulation test device 1 for process control is provided with an inspection item designation table automatic generating part 12 for automatically generating an inspection item designation table 18 for setting an inspection item for each event of a test scenario at the time of registering the test scenario, inspection item inputting device 11 for setting the inspection item by inputting a designated item to the inspection item designation table 18, test scenario executing part 13 for executing the registered test scenario, and inspection item automatic outputting part 14 for automatically outputting an executed result for the item whose inspection is designated by referring to the inspection item designation table 18.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本技術は、プロセス制御用計
算機のシミュレーションテスト方法とシミュレーション
テスト装置に関し、特に、プロセス制御用計算機のアプ
リケーションプログラムに対して行ったシミュレーショ
ンテストの結果を検証する技術に関する。
The present invention relates to a simulation test method and a simulation test apparatus for a process control computer, and more particularly to a technique for verifying a result of a simulation test performed on an application program of the process control computer.

【0002】[0002]

【従来の技術】事業所や工場における近年の大規模生産
プロセスは、そのほとんどが自動化され、プロセス制御
用計算機によって制御されている。そして、プロセスや
製造設備の複雑化に伴い、プロセス制御用計算機のアプ
リケーションプログラムもまた複雑化の一途をたどって
おり、これの開発、検証やメンテナンスに多大な時間と
労力を必要とするようになってきている。
2. Description of the Related Art Most of recent large-scale production processes in business establishments and factories are automated and controlled by a computer for process control. And with the complexity of processes and manufacturing equipment, application programs for process control computers are also becoming more and more complex, and the development, verification, and maintenance of these programs require a great deal of time and effort. Is coming.

【0003】プロセス制御用計算機のアプリケーション
プログラムを効率的に検証する方法は、これまでにもい
くつか提案されている。例えば、特開昭53−1090
77号公報には、入力装置、表示装置、記録装置、デー
タ伝送制御装置及びこれらの装置を動作せしめる試験用
計算機から構成される試験装置を制御用計算機に装着
し、制御用計算機のシミュレーションの様子を表示装置
により確認する方法が開示されている。また、特開昭5
4−58177号公報には、プロセス入出力装置とは独
立した入出力装置を持つプロセスシミュレータを設け、
このシュミレータの操作・監視だけで、プロセス制御用
計算機のアプリケーションプログラムの検証を行えるよ
うにする方法が開示されている。
Several methods for efficiently verifying an application program of a process control computer have been proposed. For example, JP-A-53-1090
No. 77 discloses that a control device is equipped with a test device including an input device, a display device, a recording device, a data transmission control device, and a test computer for operating these devices, and a simulation of the control computer. Is disclosed by a display device. In addition, Japanese Unexamined Patent Publication No.
In Japanese Patent Application Laid-Open No. 4-58177, a process simulator having an input / output device independent of a process input / output device is provided.
A method is disclosed in which an application program of a process control computer can be verified only by operating and monitoring the simulator.

【0004】以上のような方法を用いることにより、プ
ロセス制御用計算機のアプリケーションプログラムの検
証を総括的に行えるようになり、検証時の手順を簡略で
きるようになった。
By using the above method, the verification of the application program of the process control computer can be comprehensively performed, and the procedure at the time of verification can be simplified.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、プロセ
ス制御用計算機のアプリケーションプログラムの検証で
は、さまざまな操業ケースのシミュレーションを行わね
ばならず、上記のような方法を用いたとしてもなお、数
多くかつ長時間にわたるテストシナリオを準備し、デバ
ッグ完了まで繰り返しテストする必要がある。このた
め、以下の理由により、テスト結果検証の作業負荷が非
常に大きいという問題点がある。
However, in the verification of the application program of the process control computer, it is necessary to simulate various operation cases. It is necessary to prepare various test scenarios and test repeatedly until debugging is completed. For this reason, there is a problem that the workload for test result verification is very large for the following reasons.

【0006】(A)「テストシナリオのどの部分で何を
監視するか」を、テストごとに仕様書等で指定する必要
があるため、アプリケーションプログラムが大規模なほ
ど、この指定作業に多大な労力を要する。
[0006] (A) "Which part of the test scenario is to be monitored in what part" must be specified in a specification or the like for each test. Therefore, the larger the application program is, the more labor is required for this specification work. Cost.

【0007】(B)数〜数十時間に及ぶテスト期間中
に、人間(作業要員)が張り付いてテスト出力結果を監
視し続けなければならず、また、この作業要員はテスト
期間中は他の業務を行うことができないため、非常に非
効率的である。
(B) During a test period of several to several tens of hours, a human (operating worker) must stick and continuously monitor the test output result. Is very inefficient because it is not possible to perform the tasks of

【0008】(C)テスト結果を記憶装置に出力し、後
で一括して検証結果を確認する方法もあるが、長時間に
及ぶテストの多量の結果データの中から、検証したい特
定のデータを探し出すのは困難を伴う。
(C) There is also a method of outputting test results to a storage device and checking the verification results collectively later. However, from a large amount of result data of a long test, specific data to be verified is stored. Finding it is difficult.

【0009】本発明の目的は、テスト検証の負荷の軽減
と検証の容易化とを達成でき、プロセス制御用計算機の
アプリケーションプログラムのシミュレーションテスト
の生産性の大幅な向上を実現できる、プロセス制御用計
算機のシミュレーションテスト方法及びシミュレーショ
ンテスト装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a process control computer capable of reducing the load of test verification and facilitating the verification and realizing a great improvement in the productivity of the simulation test of the application program of the process control computer. And a simulation test apparatus.

【0010】[0010]

【課題を解決するための手段】本発明のプロセス制御用
計算機のシミュレーションテスト方法は、プロセス制御
用計算機のアプリケーションプログラムをテストシナリ
オを用いて検証するシミュレーションテスト方法におい
て、検証項目の組み合わせを予め定め、テストシナリオ
における各イベントに対して前述の組み合わせを対応付
けて、目的とする検証データを取得する。
A simulation test method for a process control computer according to the present invention is a simulation test method for verifying an application program of a process control computer using a test scenario, wherein a combination of verification items is determined in advance. The above-described combination is associated with each event in the test scenario, and target verification data is acquired.

【0011】本発明のシミュレーションテスト装置は、
プロセス制御用計算機のアプリケーションプログラムを
テストシナリオを用いて検証するシミュレーションテス
ト装置において、テストシナリオにおけるイベントごと
に検証項目を設定するための検証項目指定用テーブルを
前記テストシナリオの登録時に自動生成する検証項目指
定用テーブル自動生成部と、検証項目指定用テーブルに
指定項目を入力しこれによって検証項目指定用テーブル
に対する検証項目の設定を行う検証項目入力装置と、登
録したテストシナリオを実行するテストシナリオ実行部
と、検証項目指定用テーブルを参照し検証指定がある項
目について実行結果を自動出力する検証項目自動出力部
と、を有する。
[0011] The simulation test apparatus of the present invention comprises:
In a simulation test apparatus for verifying an application program of a process control computer using a test scenario, a verification item for automatically generating a verification item specification table for setting a verification item for each event in the test scenario when registering the test scenario A specification table automatic generation unit, a verification item input device for inputting specification items to the verification item specification table and thereby setting verification items for the verification item specification table, and a test scenario execution unit for executing the registered test scenario And a verification item automatic output unit that refers to the verification item specification table and automatically outputs an execution result for an item for which verification is specified.

【0012】本発明のプロセス制御用計算機のシミュレ
ーションテスト装置では、検証項目の組み合わせを検証
グループとして、この検証グループを記述する検証項目
一覧テーブルをさらに設け、検証項目指定用テーブルに
指定項目として検証グループがイベントごとに設定され
るようにすることが好ましい。
In the simulation test apparatus for a process control computer according to the present invention, a combination of verification items is used as a verification group, and a verification item list table for describing the verification group is further provided. Is preferably set for each event.

【0013】[0013]

【発明の実施の形態】次に、本発明の好ましい実施の形
態について、図面を参照して説明する。図1は、本発明
の実施の一形態のプロセス制御用計算機シミュレーショ
ンテスト装置の構成を示すブロック図である。なお、図
1において、実線の矢印は処理フローを示し、破線の矢
印はデータフローを示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a preferred embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a computer simulation test apparatus for process control according to an embodiment of the present invention. In FIG. 1, solid arrows indicate a processing flow, and broken arrows indicate a data flow.

【0014】プロセス制御用計算機シミュレーションテ
スト装置1は、プロセス制御用計算機のアプリケーショ
ンプログラムに対してシミュレーションテストを実行す
る際に使用されるものであって、テスト対象のアプリケ
ーションプログラム(テスト対象アプリケーションプロ
グラム2)に対してテストデータを与え、プロセス制御
用計算機がこのテスト対象アプリケーションプログラム
2を実行した際にテスト対象アプリケーションプログラ
ム2から出力されてそのプロセス制御用計算機の内部に
蓄積されるテスト結果情報3を取り込んで、テスト結果
の検証を行うものである。テスト結果情報3は、例え
ば、プロセス制御用計算機のメモリの状態を示すメモリ
情報31、プロセス制御用計算機から出力される電文
(メッセージ)を蓄積したバッファの内容を示す伝文出
力バッファ情報32、プロセス制御用計算機の表示装置
の画面上の表示内容を示す画面情報33、プロセス制御
用計算機から印字出力される帳票の内容を示す帳票情報
34等の項目によって構成されている。プロセス制御用
計算機シミュレーションテスト装置1には、テスト結果
を出力するためのテスト結果出力デバイス4が接続して
いる。
The process control computer simulation test apparatus 1 is used for executing a simulation test on an application program of the process control computer, and is a test target application program (test target application program 2). , And the test result information 3 output from the test target application program 2 and accumulated in the process control computer when the process control computer executes the test target application program 2 is fetched. Is used to verify the test results. The test result information 3 includes, for example, memory information 31 indicating the state of the memory of the process control computer, message output buffer information 32 indicating the contents of a buffer storing messages (messages) output from the process control computer, It is composed of items such as screen information 33 indicating the display contents on the screen of the display device of the control computer, and form information 34 indicating the contents of the form printed out from the process control computer. A test result output device 4 for outputting a test result is connected to the computer simulation test apparatus 1 for process control.

【0015】プロセス制御用計算機シミュレーションテ
スト装置1は、CRTやキーボードなどを備えた検証項
目入力装置11と、実際に処理を実行する部分である検
証項目指定用テーブル自動生成部12、テストシナリオ
実行部13及び検証項目自動出力部14とを備えるとと
もに、シミュレーションテストの実行に使用する各種の
データやシナリオ類を蓄積する登録前テストシナリオフ
ァイル15、登録後テストシナリオファイル16、検証
項目一覧テーブル17及び検証項目指定用テーブル18
を有している。
The process control computer simulation test apparatus 1 includes a verification item input device 11 having a CRT, a keyboard, and the like, a verification item designation table automatic generation unit 12 which is a unit for actually executing processing, and a test scenario execution unit. 13 and a verification item automatic output unit 14, and stores a pre-registration test scenario file 15, a post-registration test scenario file 16, a verification item list table 17, and a verification item list for storing various data and scenarios used for executing a simulation test. Item designation table 18
have.

【0016】検証項目入力装置11は、シミュレーショ
ンテストを実行する作業者が、登録前テストシナリオフ
ァイル15や検証項目一覧テーブル17の作成を行い、
また検証項目指定用テーブル18へ、イベントごとの必
要情報の入力を行うために用いられる。検証項目指定用
テーブル自動生成部12は、登録前テストシナリオファ
イル12に予め記述されている情報を取込んで登録後テ
ストシナリオファイル16を生成すると同時に、予め入
力されている検証項目一覧テーブル17と登録前テスト
シナリオファイル15をもとに検証項目指定用テーブル
18を自動生成するものである。
The verification item input device 11 allows a worker who executes a simulation test to create a pre-registration test scenario file 15 and a verification item list table 17.
It is also used to input necessary information for each event into the verification item specification table 18. The verification item specification table automatic generation unit 12 takes in the information described in advance in the pre-registration test scenario file 12 to generate the post-registration test scenario file 16 and, at the same time, generates the verification item list table 17 The verification item specification table 18 is automatically generated based on the pre-registration test scenario file 15.

【0017】テストシナリオ実行部13は、登録後テス
トシナリオファイル16に登録されたシナリオの個々の
イベントの時刻情報に基づいて自動起動するものであっ
て、あわせて検証項目自動出力部14を起動する。そし
て、登録後テストシナリオファイル16のイベント情報
を基にテストデータを生成し、プロセス制御用計算機の
テスト対象アプリケーションプログラム2にそのテスト
データを出力する。検証項目自動出力部14は、検証項
目指定用テーブル18を参照して指定された検証項目を
求め、プロセス制御用計算機の内部に蓄積されているテ
スト結果情報3の中から必要な情報を取り込み、テスト
結果をテスト結果出力デバイス4に出力するものであ
る。
The test scenario execution unit 13 automatically starts based on the time information of each event of the scenario registered in the test scenario file 16 after registration, and also starts the verification item automatic output unit 14. . Then, test data is generated based on the event information of the test scenario file 16 after registration, and the test data is output to the test target application program 2 of the process control computer. The verification item automatic output unit 14 obtains the specified verification item with reference to the verification item specification table 18 and fetches necessary information from the test result information 3 stored inside the process control computer. The test result is output to the test result output device 4.

【0018】次に、このプロセス制御用シミュレーショ
ンテスト装置を用いたシミュレーションテストの手順に
ついて、図2の処理フロー図を用いて説明する。
Next, the procedure of a simulation test using the process control simulation test apparatus will be described with reference to the processing flowchart of FIG.

【0019】まず、作業者が、検証項目入力装置11を
用いて、登録前シナリオファイル15及び検証項目一覧
テーブル17の事前作成を行う(ステップ101)。登
録前テストシナリオファイル15は、図3に示すよう
に、実行するシミュレーションのシナリオを記述するも
のであって、シミュレーションで実行されるイベントご
とに、イベント番号(イベントNo.)、イベント名称、
イベント発生時刻及び発生データにより構成されてい
る。また、検証項目一覧テーブル17は、検証グループ
に関する情報を格納するものであって、図4に示すよう
に、検証グループごとに、検証グループ番号(検証グル
ープNo.)、その検証グループの名称及び検証指定フラ
グとから構成されている。ここで検証指定フラグは、テ
スト情報結果3のうちどの項目について検証を行うかを
指定するものであって、メモリ情報、伝文情報(伝文出
力バッファ情報のうち出力された伝文に関する情報)、
画面情報及び帳票情報の各項目を個別に指定できる。図
において、検証指定フラグが“1”(オン)であれば、
その項目についてテスト情報を収集してテスト結果を検
証する。
First, an operator creates a pre-registration scenario file 15 and a verification item list table 17 in advance using the verification item input device 11 (step 101). The pre-registration test scenario file 15, as shown in FIG. 3, describes a simulation scenario to be executed. For each event executed in the simulation, an event number (event number), an event name,
It consists of event occurrence time and occurrence data. The verification item list table 17 stores information on verification groups. As shown in FIG. 4, for each verification group, a verification group number (verification group number), a name of the verification group, and verification It consists of a designated flag. Here, the verification designation flag specifies which item of the test information result 3 is to be verified, and includes memory information and message information (information related to the output message among the message output buffer information). ,
Each item of screen information and form information can be individually specified. In the figure, if the verification designation flag is "1" (on),
Collect test information for the item and verify test results.

【0020】事前にさまざまなテストパターンの検証グ
ループ番号を定義しておけば、テストを実行する都度、
検証グループ番号を後述する検証項目指定用テーブル1
8に入力するだけで、簡単に検証項目指定を行うことが
できる。
If the verification group numbers of various test patterns are defined in advance, each time a test is executed,
Verification item designation table 1 for describing verification group numbers to be described later
The verification item can be easily specified simply by inputting the information into the field 8.

【0021】次に、検証項目指定用テーブル自動生成部
12により、登録前テストシナリオファイル15から登
録後テストシナリオファイル16を作成し(ステップ1
02)、あわせて、登録前テストシナリオファイル15
と検証項目一覧テーブル17の内容を基にして、検証項
目指定用テーブル18を作成する(ステップ103)。
登録後テストシナリオファイル16の構成は、登録前テ
ストシナリオファイル15の構成と同様である。また、
検証項目指定用テーブル18は、図5に示すように、シ
ミュレーションでの各イベントごとに、イベント番号、
イベント名称、イベント発生時刻及び検証グループ番号
は、検証項目指定用テーブル自動作成部12が登録前テ
ストシナリオファイル15を参照することにより、自動
的に値が設定される。
Next, the post-registration test scenario file 16 is created from the pre-registration test scenario file 15 by the verification item specification table automatic generation unit 12 (step 1).
02) Also, the pre-registration test scenario file 15
Then, a verification item designation table 18 is created based on the contents of the verification item list table 17 (step 103).
The configuration of the test scenario file 16 after registration is the same as the configuration of the test scenario file 15 before registration. Also,
As shown in FIG. 5, the verification item designation table 18 stores an event number,
The event name, event occurrence time, and verification group number are automatically set by the verification item specification table automatic creation unit 12 by referring to the pre-registration test scenario file 15.

【0022】次に、作業者は、検証項目入力装置11を
使用して、検証項目指定用テーブル18の各イベントご
との検証グループ番号フィールドに対し、検証項目一覧
テーブル17に作成した検証グループの中から目的とす
る検証内容の組み合わせを持つものの検証グループ番号
を入力する(ステップ104)。これにより、検証項目
指定用テーブル18の各イベントが、それぞれ、検証項
目一覧テーブル17での検証グループ番号と紐付けられ
る(関連付けられる)ことになる。
Next, the operator uses the verification item input device 11 to check the verification group number field for each event in the verification item specification table 18 and check the verification group created in the verification item list table 17. , The verification group number of the one having the target combination of verification contents is input (step 104). As a result, each event in the verification item specification table 18 is associated (associated) with the verification group number in the verification item list table 17.

【0023】続いて、テストシナリオ実行部13に制御
が移り、テストシナリオ実行部13は、登録後テストシ
ナリオファイル16に記載されたイベント発生時刻に従
って、登録後テストシナリオファイル16に登録された
テストデータを生成し、このテストデータをテスト対象
アプリケーションプログラム2に出力する(ステップ1
05)。そしてテストシナリオ実行部13は、テストデ
ータの出力より一定時間後に、テスト対象アプリケーシ
ョンプログラム2が動作完了するのを待って、検証項目
自動出力部14を起動する(ステップ106)。一定時
間の経過を待つのではなく、全アプリケーションプログ
ラムの稼動状況をフラグ等で管理し、動作完了している
のを確認した上で、検証項目自動出力部14を起動する
などの方法を採用してもよい。
Subsequently, the control is transferred to the test scenario execution unit 13, and the test scenario execution unit 13 executes the test data registered in the registered test scenario file 16 in accordance with the event occurrence time described in the registered test scenario file 16. Is generated and the test data is output to the test target application program 2 (step 1).
05). Then, the test scenario execution unit 13 activates the verification item automatic output unit 14 after a certain period of time from the output of the test data until the test target application program 2 completes its operation (step 106). Instead of waiting for a certain period of time, the operating status of all application programs is managed by flags and the like, and after confirming that the operation is completed, the verification item automatic output unit 14 is started. You may.

【0024】検証項目自動出力部14は、起動された
後、検証項目選択処理として、検証項目指定用テーブル
18を参照しそのイベントについての検証指定フラグが
“1”である項目を検索して、出力すべき項目を識別す
る(ステップ107)。ステップ107において、メモ
リ情報に関する検証指定フラグが“1”の場合には、検
証項目自動出力部14は、テスト結果情報3のうちメモ
リ情報31を取り込んでテスト結果出力デバイス4に出
力し、これによって、テスト結果出力デバイス4がメモ
リ情報31を印字出力する(ステップ108)。ステッ
プ107において、伝文出力バッファ情報に関する検証
指定フラグが“1”の場合には、検証項目自動出力部1
4は、テスト結果情報3のうち伝文出力バッファ情報3
2を取り込んでテスト結果出力デバイス4に出力し、こ
れによって、テスト結果出力デバイス4が伝文出力バッ
ファ情報31を印字出力する(ステップ109)。ステ
ップ107において、画面情報に関する検証指定フラグ
が“1”の場合には、検証項目自動出力部14は、テス
ト結果情報3のうち指定された画面の画面情報33を取
り込んでこれをテスト結果出力デバイス4に出力してテ
スト結果出力デバイス4のCRTの画面上に表示させ
(ステップ110)、さらに、その画面のハードコピー
を印字させる(ステップ111)。ステップ107にお
いて、帳票情報に関する検証指定フラグが“1”の場合
には、検証項目自動出力部14は、テスト結果情報3の
うち帳票情報34を取り込んでテスト結果出力デバイス
4に出力し、これによって、テスト結果出力デバイス4
が帳票31を印字出力する(ステップ112)。
After being activated, the verification item automatic output unit 14 refers to the verification item specification table 18 as a verification item selection process, searches for an item whose verification specification flag is "1" for the event, and An item to be output is identified (step 107). In step 107, when the verification designation flag relating to the memory information is “1”, the verification item automatic output unit 14 takes in the memory information 31 of the test result information 3 and outputs it to the test result output device 4, whereby Then, the test result output device 4 prints out the memory information 31 (step 108). In step 107, if the verification designation flag relating to the message output buffer information is “1”, the verification item automatic output unit 1
4 is the message output buffer information 3 of the test result information 3
2 is output to the test result output device 4, and the test result output device 4 prints out the message output buffer information 31 (step 109). If the verification designation flag relating to the screen information is “1” in step 107, the verification item automatic output unit 14 takes in the screen information 33 of the specified screen from the test result information 3 and outputs it to the test result output device. 4 to display it on the screen of the CRT of the test result output device 4 (step 110), and print a hard copy of the screen (step 111). If the verification designation flag relating to the form information is “1” in step 107, the verification item automatic output unit 14 takes in the form information 34 of the test result information 3 and outputs the form information 34 to the test result output device 4. , Test result output device 4
Prints out the form 31 (step 112).

【0025】以上、ステップ108,109,111,1
12を終えたら、ステップ113において、“1”であ
る全ての検証指定フラグに対してステップ107以降の
処理を終えたかどうかを判定し(ステップ113)、ま
だである場合にはステップ107に戻って処理を繰り返
し、“1”である全ての検証指定フラグに対して処理を
行っているのであれば、ステップ114に移行する。ス
テップ114では、登録後テストシナリオファイル16
の全てのイベントについてステップ105〜113の処
理を行ったかどうかを判断し、シナリオ中の全てのイベ
ントに対して完了しているときはそのまま処理を終了
し、そうでない場合には、シナリオ中での次のイベント
についてステップ105〜113の処理を実行するため
にステップ105に戻る。ステップ105に戻った場
合、テストシナリオ実行部13は、シナリオでの当該次
のイベントの時刻にしたがって、自動的にタイマー起動
する。
Steps 108, 109, 111, 1
After completing step 12, in step 113, it is determined whether or not the processing after step 107 has been completed for all the verification designation flags of “1” (step 113), and if not, the processing returns to step 107. The process is repeated, and if the process has been performed for all the verification designation flags of “1”, the process proceeds to step 114. In step 114, the test scenario file 16 after registration
It is determined whether or not the processing of steps 105 to 113 has been performed for all of the events. If the processing has been completed for all of the events in the scenario, the processing is terminated as it is. The process returns to step 105 to execute the processing of steps 105 to 113 for the next event. When returning to step 105, the test scenario execution unit 13 automatically starts the timer according to the time of the next event in the scenario.

【0026】以上の処理によって、作業者が検証項目入
力装置11を用いて登録前テストシナリオファイル15
と検証項目一覧テーブルを作成し、検証項目指定用テー
ブル18に検証グループ番号を登録するだけで、プロセ
ス制御用計算機のアプリケーションプログラムのシミュ
レーションテストが自動的に実行され、必要とする検証
項目のデータが収集されてテスト結果出力デバイス4か
ら印字出力されることになる。その結果、シミュレーシ
ョンテスト時に作業員が張り付いて監視し続けなくても
よいようになり、ソフトウェア開発の大幅な生産性向上
が図られる。
With the above processing, the operator uses the verification item input device 11 to execute the test scenario file 15 before registration.
By simply creating a verification item list table and registering the verification group number in the verification item specification table 18, the simulation test of the application program of the process control computer is automatically executed, and the necessary verification item data is stored. The data is collected and printed out from the test result output device 4. As a result, it is not necessary for the operator to stick and monitor during the simulation test, and the productivity of software development is greatly improved.

【0027】[0027]

【発明の効果】以上説明したように本発明は、プロセス
制御用計算機のアプリケーションプログラムのシミュレ
ーションテストにおいて、検証項目の指示が簡易にな
り、かつ実行時に検証結果の自動出力が可能となり、こ
れによって、人間が張り付いて監視し続ける必要性がな
くなってシミュレーションテストにおける作業負荷が大
幅に軽減され、ソフト開発の生産性向上を実現できると
いう効果がある。例えば、プロセス制御用計算機の例と
して鉄鋼業における高炉制御用計算機を取り上げると、
アプリケーションプログラムのシミュレーションテスト
を行う場合には、通常、5〜8時間分のテストシナリオ
を複数本準備し、繰り返しテストを行っている。従来
は、テストの実行の都度、事前に作業指揮者が他の作業
者に対し検証項目・検証タイミングを指示し、テスト期
間中は全作業者が張付いて監視する必要があった。本発
明の適用により、作業指揮者が検証項目をシステムに事
前インプットするだけで無人でテスト実行が出来るよう
になり、人がいない夜間などであってもテストを実行す
ることができるようになった。これにより各作業者は、
デバッグ等の業務に集中して取組むことができ、本発明
を適用することにより、シミュレーションテストにおけ
るソフト開発生産性は約2倍に向上できた。
As described above, according to the present invention, in the simulation test of the application program of the process control computer, the designation of the verification item is simplified, and the verification result can be automatically output at the time of execution. This eliminates the need for humans to stick and keep monitoring, greatly reducing the work load in simulation tests, and improving the productivity of software development. For example, taking a blast furnace control computer in the steel industry as an example of a process control computer,
When a simulation test of an application program is performed, usually, a plurality of test scenarios for 5 to 8 hours are prepared and the test is repeatedly performed. Conventionally, each time a test is executed, a work leader instructs another worker on verification items and verification timing in advance, and it is necessary for all workers to stick and monitor during the test period. By applying the present invention, the work leader can execute the test unattended only by inputting the verification items into the system in advance, and the test can be executed even at night when there are no people. . This allows each worker to:
It was possible to concentrate on tasks such as debugging, and by applying the present invention, software development productivity in a simulation test could be approximately doubled.

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

【図1】本発明の実施の一形態のプロセス制御用計算機
シミュレーションテスト装置の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of a computer simulation test apparatus for process control according to an embodiment of the present invention.

【図2】図1の装置を用いたシミュレーションテストの
実行手順を示す処理フロー図である。
FIG. 2 is a process flowchart showing an execution procedure of a simulation test using the apparatus of FIG. 1;

【図3】登録前テストシナリオファイル及び登録後テス
トシナリオファイルの構成を説明する図である。
FIG. 3 is a diagram illustrating a configuration of a test scenario file before registration and a test scenario file after registration.

【図4】検証項目一覧テーブルの構成を説明する図であ
る。
FIG. 4 is a diagram illustrating a configuration of a verification item list table.

【図5】検証項目指定用テーブルの構成を説明する図で
ある。
FIG. 5 is a diagram illustrating a configuration of a verification item designation table.

【符号の説明】[Explanation of symbols]

1 プロセス制御用計算機シミュレーションテスト装
置 2 テスト対象アプリケーションプログラム 3 テスト結果情報 4 テスト結果出力デバイス 11 検証項目入力装置 12 検証項目指定用テーブル自動生成部 13 テストシナリオ実行部 14 検証項目自動出力部 15 登録前テストシナリオファイル 16 登録後テストシナリオファイル 17 検証項目一覧テーブル 18 検証項目指定用テーブル 31 メモリ情報 32 伝文出力バッファ情報 33 画面情報 34 帳票情報 101〜114 ステップ
1 Computer simulation test device for process control 2 Application program to be tested 3 Test result information 4 Test result output device 11 Verification item input device 12 Automatic generation table for verification item specification 13 Test scenario execution unit 14 Verification item automatic output unit 15 Before registration Test scenario file 16 Test scenario file after registration 17 Verification item list table 18 Verification item specification table 31 Memory information 32 Message output buffer information 33 Screen information 34 Form information 101 to 114 steps

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プロセス制御用計算機のアプリケーショ
ンプログラムをテストシナリオを用いて検証するシミュ
レーションテスト方法において、 検証項目の組み合わせを予め定め、 前記テストシナリオにおける各イベントに対して前記組
み合わせを対応付けて、目的とする検証データを取得す
ることを特徴とする、プロセス制御用計算機のシミュレ
ーションテスト方法。
In a simulation test method for verifying an application program of a process control computer using a test scenario, a combination of verification items is determined in advance, and the combination is associated with each event in the test scenario. A simulation test method for a computer for process control, characterized by acquiring verification data.
【請求項2】 プロセス制御用計算機のアプリケーショ
ンプログラムをテストシナリオを用いて検証するシミュ
レーションテスト装置において、 前記テストシナリオにおけるイベントごとに検証項目を
設定するための検証項目指定用テーブルを前記テストシ
ナリオの登録時に自動生成する検証項目指定用テーブル
自動生成部と、 前記検証項目指定用テーブルに指定項目を入力しこれに
よって前記検証項目指定用テーブルに対する検証項目の
設定を行う検証項目入力装置と、 前記登録したテストシナリオを実行するテストシナリオ
実行部と、 前記検証項目指定用テーブルを参照し検証指定がある項
目について実行結果を自動出力する検証項目自動出力部
と、を有することを特徴とするプロセス制御用計算機の
シミュレーションテスト装置。
2. A simulation test apparatus for verifying an application program of a process control computer by using a test scenario, wherein a test item specification table for setting a verification item for each event in the test scenario is registered in the test scenario. A verification item specification table automatic generation unit that automatically generates a verification item at a time, a verification item input device that inputs a specification item to the verification item specification table and thereby sets a verification item for the verification item specification table, A process control computer, comprising: a test scenario execution unit that executes a test scenario; and a verification item automatic output unit that refers to the verification item specification table and automatically outputs an execution result for an item for which verification is specified. Simulation test equipment.
【請求項3】 検証項目の組み合わせを検証グループと
して、前記検証グループを記述する検証項目一覧テーブ
ルをさらに有し、 前記検証項目指定用テーブルに前記指定項目として前記
検証グループが前記イベントごとに設定される請求項2
に記載のプロセス制御用計算機のシミュレーションテス
ト装置。
3. A verification item list table that describes the verification group with a combination of verification items as a verification group, wherein the verification group is set as the specified item in the verification item specification table for each event. Claim 2
3. A simulation test apparatus for a computer for process control according to claim 1.
JP11366598A 1998-04-23 1998-04-23 Simulation test method for process control computer and device therefor Withdrawn JPH11305822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11366598A JPH11305822A (en) 1998-04-23 1998-04-23 Simulation test method for process control computer and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11366598A JPH11305822A (en) 1998-04-23 1998-04-23 Simulation test method for process control computer and device therefor

Publications (1)

Publication Number Publication Date
JPH11305822A true JPH11305822A (en) 1999-11-05

Family

ID=14618065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11366598A Withdrawn JPH11305822A (en) 1998-04-23 1998-04-23 Simulation test method for process control computer and device therefor

Country Status (1)

Country Link
JP (1) JPH11305822A (en)

Similar Documents

Publication Publication Date Title
JPH07105044A (en) Method and system for simulation of execution of computer program
JP2008225683A (en) Screen operation system and program
JPH0721058A (en) Program test system
JPH11305822A (en) Simulation test method for process control computer and device therefor
US6470491B1 (en) Method for monitoring computer programs on window-based operating platforms
JP2861962B2 (en) Computer program simulation apparatus and method
JPH0713809A (en) Program evaluation system
US20230418728A1 (en) Method and system for generating real-time test environment activity view for functional simulations
Patil et al. Automated software testing for high-end touch screen automotive displays
JP2001256077A (en) Method for sorting program test using test scenario management system
JPH08194634A (en) Test execution system
JP3179353B2 (en) Program test automation system
JP2581428B2 (en) Production simulation equipment
JPS63157244A (en) Debugging system for test program of peripheral device
JP2009288954A (en) Actual machine simulation data simulator device
JP3033723B2 (en) Simulated test method and program recording medium for stored exchange program controlled electronic exchange
CN116644132A (en) Cross-platform data synchronization method, system and equipment based on browser data acquisition technology
JPH07105045A (en) Debugging system for information processor function test program
JPH0520051A (en) Software conversion operation controller
JPS61184647A (en) Performance test system of computer equipment
JP2000148449A (en) Analyzer
JP2004272693A (en) Simulation system and simulation method
JPH05143673A (en) Logical simulation system
JP2002278795A (en) Method and device for supporting test for object oriented development
JPH08235025A (en) Program test support management device and its method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050705