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

JPH0697434B2 - Automatic test method - Google Patents

Automatic test method

Info

Publication number
JPH0697434B2
JPH0697434B2 JP62235508A JP23550887A JPH0697434B2 JP H0697434 B2 JPH0697434 B2 JP H0697434B2 JP 62235508 A JP62235508 A JP 62235508A JP 23550887 A JP23550887 A JP 23550887A JP H0697434 B2 JPH0697434 B2 JP H0697434B2
Authority
JP
Japan
Prior art keywords
test
monitoring device
functional units
instruction
initial setting
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
JP62235508A
Other languages
Japanese (ja)
Other versions
JPS6476333A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62235508A priority Critical patent/JPH0697434B2/en
Publication of JPS6476333A publication Critical patent/JPS6476333A/en
Publication of JPH0697434B2 publication Critical patent/JPH0697434B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 〔概要〕 監視装置と監視装置からの指示に基づき各種機能単位の
初期設定が行われる装置において、機能単位の初期設定
を監視装置が自動的に実施することで、装置が備える総
ての機能をテストする際に、人手の介入を不要とする自
動試験方式に関し、 人手の介入を不要として、装置が実装する機能単位の総
ての組合わせに対するテストを完了させることを目的と
し、 装置には、機能単位の構成情報と初期設定パラメータの
送出を監視装置に要求される指示を行う指示手段を設
け、監視装置には、機能単位の構成情報と初期設定パラ
メータの送出要求に対し、装置の設置時に実装された機
能単位の構成情報と、装置の各機能単位に対する初期設
定パラメータの送出を行うことを指示する指示手段を設
け、監視装置から装置のテストを指示された時、監視装
置から転送された装置に実装されている機能単位の構成
情報に基づき、装置が作成した各種のテスト環境に必要
な機能単位の組合わせ情報に対応して、監視装置が初期
設定パラメータを装置に送出し、装置の各機能単位を夫
々指定された機能に設定した後、装置にテストを実行さ
せる動作を繰り返すことで、人手の介入を要さずに装置
が実装する機能単位の総ての組合わせに対するテストを
実行する構成とする。
DETAILED DESCRIPTION [Outline] In a monitoring device and a device in which various functional units are initialized based on an instruction from the monitoring device, the monitoring device automatically performs the initial setting of each functional unit Concerning the automatic test method that does not require manual intervention when testing all the functions of the device, it is necessary to complete the test for all combinations of the functional units implemented by the device without the need for manual intervention. For this purpose, the device is provided with an instruction means for instructing the monitoring device to send the functional unit configuration information and the initialization parameter, and the monitoring device is requested to send the functional unit configuration information and the initialization parameter sending request. In response to the configuration information of the functional unit installed at the time of installation of the device and an instruction means for instructing to send the initial setting parameter to each functional unit of the device, the monitoring device is provided. When instructed to test the device, it corresponds to the combination information of the functional units necessary for various test environments created by the device, based on the configuration information of the functional units installed in the device transferred from the monitoring device. The monitoring device sends initial setting parameters to the device, sets each functional unit of the device to the specified function, and then repeats the operation of causing the device to execute a test, thereby eliminating the need for human intervention. The test is executed for all combinations of functional units implemented by.

〔産業上の利用分野〕[Industrial application field]

本発明は監視装置と該監視装置からの指示に基づき各種
機能単位の初期設定が行われる装置に係り、特に該装置
が指示する各種のテスト環境に合致するように、各機能
単位の初期設定を該監視装置が自動的に実施すること
で、該装置が該装置の備える総ての機能をテストする際
に、人手の介入を不要とする自動試験方式に関する。
The present invention relates to a monitoring device and a device in which various functional units are initialized based on an instruction from the monitoring device, and particularly, initial setting of each functional unit is performed so as to match various test environments instructed by the device. The present invention relates to an automatic test method that does not require human intervention when the monitoring device automatically tests all the functions of the device by being automatically executed.

計算機システムに回線を経由して各種端末装置を接続
し、データを転送することで情報処理を行うことが盛ん
となって来た。この場合、通常計算機システム側に通信
制御装置を設け、この通信制御装置に複数の回線を接続
し、各種端末装置とのデータ転送を制御している。
It has become popular to perform information processing by connecting various terminal devices to a computer system via a line and transferring data. In this case, a communication control device is usually provided on the computer system side, and a plurality of lines are connected to this communication control device to control data transfer with various terminal devices.

計算機システムには計算機システムの動作を監視する監
視装置が設けられ、この監視装置により通信制御装置も
動作を監視されている。そして、この通信制御装置は監
視装置から必要に応じて通信制御装置が備える機能のテ
ストが実施されるが、このテストを効果的に実施するた
めには、テスト環境に合った機能単位の構成情報の作成
や該機能単位の初期設定等を人手を必要とせずに実施出
来ることが望ましい。
The computer system is provided with a monitoring device for monitoring the operation of the computer system, and the communication control device is also monitored for operation by this monitoring device. Then, this communication control device is tested by the monitoring device for the function of the communication control device as needed. In order to effectively carry out this test, the configuration information of the functional unit suitable for the test environment is used. It is desirable to be able to carry out the creation of the above and the initial setting of the functional unit without requiring human labor.

〔従来の技術〕[Conventional technology]

第3図は従来の技術を説明するブロック図である。 FIG. 3 is a block diagram illustrating a conventional technique.

1は通信制御装置、2は監視装置、3はホストコンピュ
ータである。通信制御装置1はホストコンピュータ3と
回線制御アダプタ4〜6に回線を経由して接続される端
末装置との間のデータ転送を制御する。この場合、各回
線毎にプロトコルが相違することが多く、回線制御アダ
プタ4〜6は、夫々異なる機能単位を構成することが多
い。
Reference numeral 1 is a communication control device, 2 is a monitoring device, and 3 is a host computer. The communication control device 1 controls data transfer between the host computer 3 and terminal devices connected to the line control adapters 4 to 6 via lines. In this case, the protocol is often different for each line, and the line control adapters 4 to 6 often form different functional units.

そして、通信制御装置1は監視装置2から動作を監視さ
れており、通信制御装置1のテストが行われる場合、通
常は監視装置2の制御により通信制御装置1の電源が投
入された時、オペレータが監視装置2から通信制御装置
1の機能単位の構成情報、即ち、回転制御アダプタ4〜
6の組合わせ情報やその初期設定パラメータをキーボー
ド等から監視装置2に入力し、この機能単位の構成情報
と初期設定に合ったテストプログラムを指定して、監視
装置2から該テストプログラムを起動させていた。
The operation of the communication control device 1 is monitored by the monitoring device 2, and when the communication control device 1 is tested, normally, when the power of the communication control device 1 is turned on under the control of the monitoring device 2, the operator From the monitoring device 2 to the configuration information of the functional unit of the communication control device 1, that is, the rotation control adapter 4 to.
The combination information of 6 and its initial setting parameters are input to the monitoring device 2 from a keyboard or the like, the configuration information of this functional unit and the test program that matches the initial setting are specified, and the test program is activated from the monitoring device 2. Was there.

例えば、先ず、キーボードから回線制御アダプタ4を高
速のデータ転送用に、回線制御アダプタ5と6を中速の
データ転送用に設定した組合わせを想定し、この回線制
御アダプタ4〜5の高速、中速、中速といった組合わせ
情報と、回線制御アダプタ4を高速に、回線制御アダプ
タ5と6を中速に夫々設定するために必要なプロトコル
に基づく初期設定パラメータを入力し、この組合わせに
対応するテストプログラムを指定して、このテストプロ
グラムを起動させることで、通信制御装置1のテストを
行わせる。
For example, first, assuming a combination in which the line control adapter 4 is set for high speed data transfer from the keyboard and the line control adapters 5 and 6 are set for medium speed data transfer, the high speeds of the line control adapters 4 to 5, The combination information such as medium speed and medium speed and the initial setting parameters based on the protocol necessary for setting the line control adapter 4 at high speed and the line control adapters 5 and 6 at medium speed are input, and this combination is set. The communication control device 1 is tested by designating the corresponding test program and starting this test program.

そして、次に、回線制御アダプタ4〜6を例えば総て中
速に設定した組合わせを想定し、この組合わせ情報とプ
ロトコルに基づく初期設定パラメータを入力し、この組
合わせに対応するテストプログラムを指定して通信制御
装置1のテストを行わせ、次に、回線制御アダプタ4と
6を中速に設定し、回線制御アダプタ5は使用しない組
合わせを想定し、テストを行わせるというように、回線
制御アダプタ4〜6に対する総ての組合わせを想定し
て、各テスト項目毎にオペレータが監視装置2に人手に
より機能単位の組合わせ情報と初期設定パラメータの入
力及びこれに対応するテストプログラの指定を行うこと
で、総ての機能のテストを完了させていた。
Then, assuming a combination in which the line control adapters 4 to 6 are all set to medium speed, the combination setting information and initial setting parameters based on the protocol are input, and a test program corresponding to this combination is input. Designate the communication control device 1 to test, then set the line control adapters 4 and 6 to medium speed, and test the line control adapter 5 assuming a combination that is not used. Assuming all combinations for the line control adapters 4 to 6, the operator manually inputs combination information of function units and initial setting parameters to the monitoring device 2 for each test item, and a test program corresponding thereto. By specifying it, all the functions were tested.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記の如く、従来はテスト項目毎にオペレータが監視装
置のキーボード等から、機能単位の組合わせ情報と初期
設定パラメータの入力及び対応するテストプログラムの
指定を実施しており、通信制御装置のテストに人手の介
入が必要で煩わしく、効率が悪いという問題がある。
As described above, conventionally, the operator inputs the combination information of each function and the initial setting parameter and specifies the corresponding test program from the keyboard of the monitoring device for each test item, and tests the communication control device. There is a problem that it requires manual intervention, is cumbersome, and is inefficient.

本発明は通信制御装置に予め想定される総ての機能単位
の組合わせに対して、夫々テストしようとするテスト環
境を実現させる組合わせ情報を作成させ、この組合わせ
情報に対し、監視装置を初期設定パラメータを自動的に
送出して、各機能単位を夫々指定された機能に設定した
後、通信制御装置にテストを実行させる動作を繰り返す
ことで、通信制御装置が人手の介入を不要として、通信
制御装置を備える総ての機能のテストを完了させること
を目的としている。
The present invention causes the communication control device to create combination information for realizing a test environment to be tested for each combination of all functional units assumed in advance, and a monitoring device for this combination information. After automatically sending the initial setting parameters and setting each functional unit to the specified function respectively, by repeating the operation to make the communication control device execute the test, the communication control device does not need manual intervention, It is intended to complete the test of all functions equipped with a communication controller.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

通信制御装置1には、該通信制御装置1に実装された機
能単位の各種の組合わせに対応してテストを実施するた
め、該通信制御装置1に実装された機能単位の構成情報
の送出を該監視装置2に対して要求させる指示と、該監
視装置2から与えられた該機能単位の構成情報に基づ
き、通信制御装置1にテストしようとするテスト環境に
合致した該機能単位の各種の組合わせ情報の作成を指示
し、この指示により作成された機能単位の各種の組合わ
せに夫々対応してテストを行うテストプログラム毎に、
そのテスト環境を実現する各機能単位毎の機能を設定す
るための初期設定パラメータの送出を、該監視装置2に
対して要求させる指示を行う指示手段7を設けられてい
る。
The communication control device 1 sends out the configuration information of the functional units installed in the communication control device 1 in order to perform a test corresponding to various combinations of the functional units installed in the communication control device 1. Various sets of the functional units that match the test environment to be tested by the communication control device 1 based on the instruction to the monitoring device 2 and the configuration information of the functional unit provided from the monitoring device 2. For each test program that instructs creation of combination information and tests corresponding to each combination of functional units created by this instruction,
There is provided an instructing means 7 for instructing the monitoring device 2 to send out initial setting parameters for setting the function of each function unit that realizes the test environment.

又、監視装置2には、該通信制御装置1から前記機能単
位の構成情報の送出要求が入力した時、該通信制御装置
1が設置された時実装された機能単位の構成情報を送出
する指示と、該通信制御装置(1)から初期設定パラメ
ータ送出を要求された時、テストプログラムが送出した
前記テスト環境を実現するための機能単位の組合わせ情
報に基づき、該通信制御装置1の各機能単位に対して初
期設定パラメータの送出を行うことを指示する指示手段
8が設けられている。
When the communication control device 1 sends a request to send the configuration information of the functional unit to the monitoring device 2, an instruction to send the configuration information of the functional unit installed when the communication control device 1 is installed. And when the communication control device (1) requests the initial setting parameter transmission, each function of the communication control device 1 is based on the combination information of the functional units for realizing the test environment transmitted by the test program. Instructing means 8 for instructing to send the initial setting parameters to the unit is provided.

監視装置2は通信制御装置1の電源投入を行うと、テス
トプログラムと指示手段7を通信制御装置1にローディ
ングする。通信制御装置1にローディングされた指示手
段7は、テスト開始を指示されると、監視装置2に対
し、回線制御アダプタの構成情報の送出を要求するよう
に通信制御装置1に指示する。
When the monitoring device 2 turns on the power of the communication control device 1, it loads the test program and the instruction means 7 into the communication control device 1. When instructed to start the test, the instruction means 7 loaded in the communication control device 1 instructs the communication control device 1 to request the monitoring device 2 to send out the configuration information of the line control adapter.

監視装置2は指示手段8の指示に基づき、上記要求を受
信すると、通信制御装置1が設置された時に実装された
回線制御アダプタの構成情報を通信制御装置1に送出す
る。
When the monitoring device 2 receives the request based on the instruction from the instruction means 8, the monitoring device 2 sends to the communication control device 1 the configuration information of the line control adapter installed when the communication control device 1 is installed.

通信制御装置1はこの回線制御アダプタの構成情報を受
信すると、指示手段7の指示に基づき、この構成におい
てテストを実施し得る総ての組合わせ情報を作成する。
例えば、回線制御アダプタのデータ転送速度を機番毎に
変えるとか、機番に次番を設ける(未実装状態とする)
とか、機番を変更するとかしたテスト環境の組合わせを
作成する。そして、このテスト環境の組合わせの中から
一つのテスト環境情報を監視装置2に送出し、各回線制
御アダプタに対する初期設定パラメータの送出要求を監
視装置2に対し送出する。
When the communication control device 1 receives the configuration information of this line control adapter, it creates all the combination information that can be tested in this configuration based on the instruction of the instruction means 7.
For example, change the data transfer rate of the line control adapter for each machine number, or set the next machine number for the machine number (not yet mounted)
Create a combination of test environments, such as changing the machine number. Then, one piece of test environment information is sent from the combination of the test environments to the monitoring device 2, and a sending request for sending initial setting parameters to each line control adapter is sent to the monitoring device 2.

監視装置2は指示手段8の指示により、通信制御装置1
が送出した上記一つのテスト環境情報に対応して、初期
設定パラメータを通信制御装置1に送出し、該テスト環
境情報の指示に基づく、回線制御アダプタの高速設定と
か、中速設定とか、機番を変更する等の設定を行う。
The monitoring device 2 is instructed by the instructing means 8 so that the communication control device 1
Corresponding to the one test environment information transmitted by the communication control device 1, and transmits the initial setting parameter to the communication control device 1 to set the high speed setting, the medium speed setting, or the machine number of the line control adapter based on the instruction of the test environment information. Make settings such as changing.

通信制御装置1のテストプログラムは上記設定に対し、
テストの実行を通信制御装置1に指示し、通信制御装置
1はこのテストが完了すると、又、次のテスト環境情報
に基づく、初期設定パラメータの送出要求を監視装置2
に送出する。
The test program of the communication control device 1 is
The communication control device 1 is instructed to execute a test, and when this test is completed, the monitoring device 2 sends a request for sending initial setting parameters based on the next test environment information.
Send to.

このような動作を繰り返し、総ての組合わせに対するテ
ストが完了すると、通信制御装置1はテスト動作を終了
する。
When the test for all the combinations is completed by repeating such an operation, the communication control device 1 ends the test operation.

〔作用〕[Action]

上記の如く構成することにより、通信制御装置1は指示
手段7の指示により、通信制御装置1の回線制御アダプ
タの構成を監視装置2に要求し、監視装置2は指示手段
8の指示により、該構成情報を通信制御装置1に送出す
るため、通信制御装置1は指示手段7の指示により、こ
の構成に基づきテスト環境に必要な組合わせ情報を作成
して、このテスト環境となるように監視装置2に対し、
初期設定パラメータの送出を要求して回線制御アダプタ
を夫々の機能に設定させるため、自動的に回線制御アダ
プタの総ての組合わせに対するテストを完了させること
が可能となり、人手の介入を不要とすることが出来る。
With the above configuration, the communication control device 1 requests the configuration of the line control adapter of the communication control device 1 to the monitoring device 2 according to the instruction of the instruction means 7, and the monitoring device 2 instructs the configuration of the line control adapter of the communication means 1 according to the instruction of the instruction means 8. In order to send the configuration information to the communication control device 1, the communication control device 1 creates the combination information necessary for the test environment based on this configuration according to the instruction of the instructing means 7, and the monitoring device becomes the test environment. For 2,
Requesting the sending of initial setting parameters to set the line control adapters to their respective functions makes it possible to automatically complete the test for all combinations of line control adapters, eliminating the need for human intervention. You can

〔実施例〕〔Example〕

第2図は本発明の一実施例を示す回路のブロック図であ
る。
FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.

監視装置2のプロセッサ15は、ROM16に格納されている
初期設定用プログラムを読出して動作し、ディスク制御
回路18を経てディスク19からプログラムを読出し、RAM2
0にこのプログラムをローディングする。
The processor 15 of the monitoring device 2 reads and operates the initialization program stored in the ROM 16, reads the program from the disk 19 via the disk control circuit 18, and the RAM 2
Load this program at 0.

このRAM20に格納されるプログラムには、通信制御装置
1から回線制御アダプタの構成情報送出要求が入力した
時、通信制御装置1が設置された時実装されていた回線
制御アダプタの構成情報を送出する指示と、通信制御装
置1から初期設定パラメータ送出を要求された時、通信
制御装置1が送出したテスト環境情報に基づき、通信制
御装置1の各回線制御アダプタに対する初期設定パラメ
ータを送出する指示を行う指示プログラム21が含まれて
いる。
To the program stored in the RAM 20, when the communication control device 1 receives a request for sending the configuration information of the line control adapter, the configuration information of the line control adapter installed when the communication control device 1 is installed is transmitted. Based on the instruction and the test environment information sent by the communication control device 1 when the communication control device 1 is requested to send the initial setting parameter, an instruction to send the initial setting parameter to each line control adapter of the communication control device 1 is issued. Instruction program 21 is included.

プロセッサ15はキーボード23から通信制御装置1の電源
投入を指示されると、図示省略した電源制御回路を経て
通信制御装置1の電源を投入する。
When the processor 15 is instructed by the keyboard 23 to turn on the power of the communication control device 1, the processor 15 turns on the power of the communication control device 1 via a power supply control circuit (not shown).

そして、インタフェース回路17と通信制御装置1のイン
タフェース回路14を経て、ディスク19から読出したプロ
グラムを通信制御装置1に送出する。通信制御装置1の
プロセッサ9はROM10に格納されている初期設定用プロ
グラムを読出して動作し、インタフェース回路14から入
力するプログラムをRAM12に格納する。
Then, the program read from the disk 19 is sent to the communication control device 1 via the interface circuit 17 and the interface circuit 14 of the communication control device 1. The processor 9 of the communication control device 1 operates by reading the initial setting program stored in the ROM 10, and stores the program input from the interface circuit 14 in the RAM 12.

このRAM12に格納されたプログラムには、テストプログ
ラムと該テストプログラムに対し、通信制御装置1に実
装された回線制御アダプタの予め想定される総ての組合
わせ状態に対するテストを実施するため、通信制御装置
1に実装されている回線制御アダプタ4〜6の構成情報
を監視装置2に送出させる指示と、この指示で監視装置
2から与えられた該回線制御アダプタ4〜6の構成情報
に基づき、テストしようとするテスト環境に合致した該
回線制御アダプタ4〜6の各種の組合わせ情報の作成を
指示し、この指示で作成された回線制御アダプタ4〜6
の各種の組合わせに夫々対応するテストプログラム毎
に、そのテスト環境を作成するために、各回線制御アダ
プタの機能を設定する初期設定パラメータの送出を、監
視装置2に対し要求させる指示を行う指示プログラム13
が含まれている。
In the program stored in the RAM 12, a test program and a test for the test program are carried out for all presumed combinations of the line control adapters installed in the communication control device 1. A test is performed based on an instruction to send the configuration information of the line control adapters 4 to 6 mounted on the device 1 to the monitoring device 2 and the configuration information of the line control adapters 4 to 6 given from the monitoring device 2 by this instruction. It is instructed to create various combination information of the line control adapters 4 to 6 that match the test environment to be tested, and the line control adapters 4 to 6 created by this instruction.
For instructing the monitoring device 2 to send initial setting parameters for setting the function of each line control adapter in order to create a test environment for each test program corresponding to each of the various combinations of Program 13
It is included.

プロセッサ9はRAM12に対するプログラムのローディン
グが完了すると、インタフェース回路14と17を経て、プ
ロセッサ15に終了を報告し、プロセッサ15は表示部22に
初期設定完了を表示する。そして、キーボード23から通
信制御装置1のテストを指示されると、インタフェース
回路17と14を経てプロセッサ9に対しテストプログラム
の起動を指示する。
When the loading of the program into the RAM 12 is completed, the processor 9 reports the end to the processor 15 via the interface circuits 14 and 17, and the processor 15 displays the completion of the initialization on the display unit 22. When the keyboard 23 is instructed to test the communication control device 1, the processor 9 is instructed to start the test program via the interface circuits 17 and 14.

プロセッサ9はRAM12に格納されたテストプログラムと
指示プログラム13を読出し、指示プログラム13の指示に
基づき、インタフェース回路14と17を経て監視装置2の
プロセッサ15に、回線制御アダプタ4〜6の構成情報送
出を要求する。
The processor 9 reads the test program and the instruction program 13 stored in the RAM 12, and transmits the configuration information of the line control adapters 4 to 6 to the processor 15 of the monitoring device 2 via the interface circuits 14 and 17 based on the instruction of the instruction program 13. To request.

プロセッサ15は指示プログラム21の指示に基づき、ディ
スク制御回路18を経てディスク19から通信制御装置1の
回線制御アダプタ4〜6の構成情報、即ち、通信制御装
置1が設置された時に実装された回線制御アダプタの構
成情報(これはユーザの要求に従って決定されるため装
置の納入時にディスク19に書込まれる)を読出させ、RA
M20に格納してから読出してインタフェース17と14を経
て送出し、プロセッサ9はこの回線制御アダプタの構成
情報をRAM12に格納する。
Based on the instruction of the instruction program 21, the processor 15 transmits the configuration information of the line control adapters 4 to 6 of the communication control device 1 from the disk 19 via the disk control circuit 18, that is, the line installed when the communication control device 1 is installed. Read the configuration information of the control adapter (which is written on the disk 19 when the device is delivered because it is determined according to the user's request) and RA
After being stored in the M20, read out and sent out via the interfaces 17 and 14, the processor 9 stores the configuration information of this line control adapter in the RAM 12.

プロセッサ9は指示プログラム13とテストプログラムの
指示により、RAM12に格納した回線制御アダプタの構成
情報から、通信制御装置1に実装されている回線制御ア
ダプタ4〜6の総ての組合わせを想定し、前記の如く各
種のテスト環境情報を作成する。そして、その中の一つ
のテスト環境情報を前記同様プロセッサ15に送出し、こ
のテスト環境に合致する初期設定パラメータの送出を要
求する。
The processor 9 assumes all combinations of the line control adapters 4 to 6 mounted on the communication control device 1 from the configuration information of the line control adapter stored in the RAM 12 according to the instructions of the instruction program 13 and the test program, As described above, various test environment information is created. Then, one of the test environment information is sent to the processor 15 similarly to the above, and the sending of the initial setting parameter that matches this test environment is requested.

プロセッサ15は指示プログラム21の指示に基づき、プロ
セッサ9が送出したテスト環境になるように、インタフ
ェース回路17と14を経て初期設定パラメータを回線制御
アダプタ4〜6に夫々送出する。即ち、例えば、回線制
御アダプタ4を高速のデータ転送速度に、回線制御アダ
プタ5と6を中速のデータ転送速度に設定する。
Based on the instruction of the instruction program 21, the processor 15 sends the initial setting parameters to the line control adapters 4 to 6 via the interface circuits 17 and 14 so that the test environment sent by the processor 9 is obtained. That is, for example, the line control adapter 4 is set to a high data transfer rate, and the line control adapters 5 and 6 are set to a medium data transfer rate.

プロセッサ15は初期設定パラメータの送出が完了する
と、終了通知をインタフェース回路17と14を経て、プロ
セッサ9に送出する。プロセッサ9は終了通知を受信す
ると、このテスト環境に合致するテストプログラムの指
示に基づき、回線制御アダプタ4〜6の動作をテストす
る。
When the sending of the initial setting parameters is completed, the processor 15 sends an end notification to the processor 9 via the interface circuits 17 and 14. When the processor 9 receives the end notification, it tests the operation of the line control adapters 4 to 6 based on the instruction of the test program that matches this test environment.

プロセッサ9はこのテストが完了すると、先に制作した
各種のテスト環境情報の中から、次のテスト環境情報を
前記同様にして、プロセッサ15に送出し、このテスト環
境に合致する初期設定パラメータの送出を要求する。
When this test is completed, the processor 9 sends the next test environment information from the various kinds of test environment information created earlier to the processor 15 in the same manner as described above, and sends the initial setting parameters that match this test environment. To request.

従って、プロセッサ15は前記同様回線制御アダプタ4〜
6に初期設定パラメータを送出し、例えば、回線制御ア
ダプタ4を中速のデータ転送速度に設定し、回線制御ア
ダプタ5を次番とし、回線制御アダプタ6を高速のデー
タ転送速度に設定する。
Therefore, the processor 15 uses the line control adapters 4 ...
An initial setting parameter is sent to 6, for example, the line control adapter 4 is set to a medium data transfer rate, the line control adapter 5 is set to the next number, and the line control adapter 6 is set to a high data transfer rate.

このようにして、テストプログラムが作成した各種のテ
スト環境を総て実行すると、プロセッサ9はプロセッサ
15にテスト完了を通知する。
In this way, when all of the various test environments created by the test program are executed, the processor 9
Notify 15 of test completion.

プロセッサ9はインタフェース回路11を経てホストコン
ピュータ3と結合しており、回線制御アダプタ4〜6を
経て端末装置とホストコンピュータ3の間のデータ転送
を制御する。
The processor 9 is connected to the host computer 3 via the interface circuit 11, and controls the data transfer between the terminal device and the host computer 3 via the line control adapters 4 to 6.

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

以上説明した如く、本発明はテストプログラムの制御の
もとに、通信制御装置のテストに最適な環境を構築する
ことが出来るため、テスト環境の設定のためのオペレー
タの介入を不要とすることが可能となる。従って、テス
ト時間の短縮とテスト環境設定ミスによる作業効率の低
下とテスト品質の低下を防止出来る。
As described above, according to the present invention, it is possible to construct an optimum environment for testing the communication control device under the control of the test program, and thus it is possible to eliminate the operator's intervention for setting the test environment. It will be possible. Therefore, it is possible to prevent a reduction in test time and a reduction in work efficiency and a reduction in test quality due to an error in setting the test environment.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す回路のブロック図、 第3図は従来の技術を説明するブロック図である。 図において、 1は通信制御装置、2は監視装置、 3はホストコンピュータ、 4,5,6は回線制御アダプタ、 7,8は指示手段、9,15はプロセッサ、 10,16はROM、 11,14,17はインタフェース回路、 12,20はRAM、13,21は指示プログラム、 18はディスク制御回路、 19はディスク、22は表示部、 23はキーボードである。 FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. 3 is a block diagram for explaining a conventional technique. In the figure, 1 is a communication control device, 2 is a monitoring device, 3 is a host computer, 4, 5 and 6 are line control adapters, 7 and 8 are instruction means, 9 and 15 are processors, 10 and 16 are ROMs, and 11, Reference numerals 14 and 17 are interface circuits, 12 and 20 are RAMs, 13 and 21 are instruction programs, 18 is a disk control circuit, 19 is a disk, 22 is a display section, and 23 is a keyboard.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】監視装置(2)と、該監視装置(2)が送
出する初期設定パラメータに基づき、実装された複数の
機能単位が夫々指定された機能に設定される装置(1)
において、 該装置(1)には、該装置(1)に実装された機能単位
の各種の組合わせに対応してテストを実施するため、該
装置(1)に実装された機能単位の構成情報の送出を該
監視装置(2)に対して要求させる指示と、該要求に基
づき該監視装置(2)から与えられた該機能単位の構成
情報に基づき、該装置(1)をテストしようとするテス
ト環境に合致した該機能単位の各種の組合わせ情報の作
成を指示し、この指示により作成された機能単位の各種
の組合わせに夫々対応してテストを行うテストプログラ
ム毎に、そのテスト環境を実現する各機能単位毎の機能
を設定するための初期設定パラメータの送出を、該監視
装置(2)に対して要求させる指示を行う指示手段
(7)を設け、 該監視装置(2)には、該装置(1)から前記機能単位
の構成情報の送出要求が入力した時、該装置(1)が設
置された時実装された機能単位の構成情報を送出する指
示と、該装置(1)から初期設定パラメータ送出を要求
された時、該装置(1)が送出した前記テスト環境を実
現するための機能単位の組合わせ情報に基づき、該装置
(1)の各機能単位に対して初期設定パラメータの送出
を行うことを指示する指示手段(8)を設け、 該監視装置(2)から該装置(1)にテスト開始が指示
された場合、該監視装置(2)から転送された該装置
(1)に実装されている機能単位の構成情報に基づき、
該装置(1)が作成して送出した各種のテスト環境に必
要な機能単位の組合わせ情報に対応して、該監視装置
(2)が初期設定パラメータを該装置(1)に送出し、
該装置(1)の各機能単位を夫々指定された機能に設定
した後、該装置(1)にテストを実行させる動作を繰り
返すことで、人手の介入を要さずに該装置(1)が実装
する機能単位の予め想定された総ての組合わせに対する
テストを完了することを特徴とする自動試験方式。
1. A monitoring device (2) and a device (1) in which a plurality of installed functional units are set to designated functions based on initial setting parameters sent by the monitoring device (2).
In the apparatus (1), in order to perform a test corresponding to various combinations of the functional units mounted in the apparatus (1), the configuration information of the functional units mounted in the apparatus (1) To test the device (1) based on an instruction to request the monitoring device (2) to send out the data and the configuration information of the functional unit given from the monitoring device (2) based on the request. The test environment is instructed for each test program for instructing the creation of various combination information of the functional units that match the test environment and performing the test corresponding to each combination of the functional units created by this instruction. The monitoring device (2) is provided with instruction means (7) for instructing the monitoring device (2) to send initial setting parameters for setting the function of each function unit to be realized. , The device (1) to the machine When a unit configuration information transmission request is input, an instruction to transmit the configuration information of the functional unit implemented when the device (1) is installed and an initial setting parameter transmission request from the device (1) At this time, based on the combination information of the functional units for realizing the test environment transmitted by the device (1), it is instructed to transmit the initial setting parameter to each functional unit of the device (1). The instruction means (8) is provided, and when the monitoring device (2) instructs the device (1) to start a test, the function implemented in the device (1) transferred from the monitoring device (2). Based on the unit configuration information,
The monitoring device (2) sends initial setting parameters to the device (1) corresponding to the combination information of the functional units necessary for various test environments created and sent by the device (1),
After the respective functional units of the device (1) are set to the designated functions respectively, the operation of causing the device (1) to execute the test is repeated, whereby the device (1) can be operated without manual intervention. An automatic test method characterized by completing tests for all combinations of functional units to be implemented that have been assumed in advance.
JP62235508A 1987-09-18 1987-09-18 Automatic test method Expired - Lifetime JPH0697434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62235508A JPH0697434B2 (en) 1987-09-18 1987-09-18 Automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62235508A JPH0697434B2 (en) 1987-09-18 1987-09-18 Automatic test method

Publications (2)

Publication Number Publication Date
JPS6476333A JPS6476333A (en) 1989-03-22
JPH0697434B2 true JPH0697434B2 (en) 1994-11-30

Family

ID=16987039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62235508A Expired - Lifetime JPH0697434B2 (en) 1987-09-18 1987-09-18 Automatic test method

Country Status (1)

Country Link
JP (1) JPH0697434B2 (en)

Also Published As

Publication number Publication date
JPS6476333A (en) 1989-03-22

Similar Documents

Publication Publication Date Title
JPH0525332B2 (en)
CN112416804A (en) Real-time simulation test system and method
JPH1198215A (en) Serial transmission method
JPH0697434B2 (en) Automatic test method
JP2003140711A (en) Simulator for process controller and its program and program recording medium
JP3536547B2 (en) Monitor system and monitor method
JPH0466439B2 (en)
JP3102069B2 (en) Numerical control group management method
JP3538155B2 (en) USB connection port display method
JPS632636B2 (en)
JPH0229141A (en) Procedure switching processing system
JPS6184707A (en) Programmable logic controller, program method and device
JPH028334B2 (en)
JPH05224583A (en) Plant simulation equipment
JPH03268159A (en) Console connection system for maintenance
JPH0756495A (en) Virtual controller
JP2692078B2 (en) Information processing device
JPH07319783A (en) Protocol converter
JP3291036B2 (en) Remote monitoring and control system
JPH05173919A (en) Online information processing system
JP2561366B2 (en) Data transfer device having function confirmation function
JPH05197575A (en) Virtual computer monitoring device
JPH02730B2 (en)
JPH02257239A (en) Network information transfer system for computer system
JPH0810444B2 (en) Multi-channel function test equipment