JPH0822399A - Verifying system of information processor - Google Patents

Verifying system of information processor

Info

Publication number
JPH0822399A
JPH0822399A JP6156978A JP15697894A JPH0822399A JP H0822399 A JPH0822399 A JP H0822399A JP 6156978 A JP6156978 A JP 6156978A JP 15697894 A JP15697894 A JP 15697894A JP H0822399 A JPH0822399 A JP H0822399A
Authority
JP
Japan
Prior art keywords
test
information file
information processing
configuration definition
definition information
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.)
Pending
Application number
JP6156978A
Other languages
Japanese (ja)
Inventor
Yasutoyo Nakano
泰豊 中野
Kunio Asano
邦夫 浅野
Seiji Suzuki
清司 鈴木
Yoshihiro Takeda
好宏 竹田
Yuriko Ono
祐里子 小野
Kiyotaka Nakazawa
清孝 中澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Electronics Services Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Electronics Services Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Electronics Services Co Ltd filed Critical Hitachi Ltd
Priority to JP6156978A priority Critical patent/JPH0822399A/en
Publication of JPH0822399A publication Critical patent/JPH0822399A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute a test even when the initialization setting of an information processor adding an operation system is not executed through the use of a test configuration defining information file. CONSTITUTION:A test configuration defining information file generating means 10 generates the test configuration defining information file 30 of the same format as that of a configuration defining information file which is held by the operation system based on hardware configuration information obtained by the information processor. A test executing means 20 reads a test program 50 which is designed so as to be operated by an application level from an external storage device 40 by following information of the test configuration defining information file 30 and executes it. Thus, even when the initialization setting of the information processor adding the operating system is not executed, the test is executed and also an operation is executed without being affected by the kind of the operating system.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、オペレーションシステ
ム配下における情報処理装置及び前記情報処理装置に接
続されるI/O装置の検証を行う場合に、ハードウェア
の構成を自動的に認識し、そのハードウェアの構成に合
ったテストを選択し自動的にテストを実施する検証方式
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention automatically recognizes a hardware configuration when verifying an information processing device under an operating system and an I / O device connected to the information processing device, and The present invention relates to a verification method for automatically executing a test by selecting a test suitable for the hardware configuration.

【0002】[0002]

【従来の技術】従来の検証方式では、特開平5−189
262号公報の技術に有るようにオペレーティングシス
テムの中にテスト機能を設けることにより、オペレーテ
ィングシステム配下でテストを行う方式が有る。
2. Description of the Related Art A conventional verification method is disclosed in Japanese Patent Laid-Open No. 5-189.
There is a method of performing a test under the control of the operating system by providing a test function in the operating system as in the technique of Japanese Patent No. 262.

【0003】しかし、この方式では、オペレーティング
システムを含めた情報処理装置の初期設定がなされてい
ない場合や、オペレーティングシステムの種類が異なっ
た場合はテストの実施が出来なくなる。
However, in this method, the test cannot be performed when the information processing apparatus including the operating system has not been initialized or when the type of the operating system is different.

【0004】[0004]

【発明が解決しようとする課題】従来の技術では、オン
ライン動作中の情報処理装置においてオペレーティング
システムを含めた情報処理装置の初期設定がなされてい
ない場合や、オペレーティングシステムの種類が異なっ
た場合テストが実施できないという問題が有る。
In the prior art, a test is performed when the information processing apparatus including the operating system is not initialized in the information processing apparatus operating online or when the type of the operating system is different. There is a problem that it cannot be implemented.

【0005】本発明は、テスト用の構成定義情報の作成
や、アプリケーションレベルでテストプログラムを動作
させることにより前記問題を改善し、テストの動作条件
を緩和した検証方式とすることを目的とする。
An object of the present invention is to provide a verification system in which the above-mentioned problem is improved by creating configuration definition information for testing and operating a test program at the application level, and the operating condition of the test is relaxed.

【0006】[0006]

【課題を解決するための手段】本発明は、テストプログ
ラムを格納する外部記憶装置を備えたオンライン動作中
の情報処理装置において情報処理装置より得られるハー
ドウェア構成情報をもとにテスト用構成定義情報ファイ
ルを作成するテスト用構成定義情報ファイル作成手順
と、前記テスト用構成定義情報ファイルの情報に従い外
部記憶装置より予め準備されたアプリケーションレベル
で動作するテストプログラムを読み出す手順を含み、前
記テスト用構成定義情報ファイルの情報に従い該当する
テストを実行するテスト実行手段を備えたことを特徴と
する。
The present invention provides a test configuration definition based on hardware configuration information obtained from the information processing device in an online information processing device having an external storage device for storing a test program. The test configuration including a test configuration definition information file creation procedure for creating an information file and a procedure for reading a test program that operates at an application level prepared in advance from an external storage device according to the information in the test configuration definition information file. It is characterized by comprising a test execution means for executing a corresponding test according to the information of the definition information file.

【0007】[0007]

【作用】テスト用構成定義情報ファイル作成手段は、情
報処理装置より得られるハードウェア構成情報をもとに
テスト用構成定義情報ファイルを作成する。
The test configuration definition information file creating means creates the test configuration definition information file based on the hardware configuration information obtained from the information processing apparatus.

【0008】テスト用構成定義情報ファイルはオペレー
ティングシステムの持つ構成定義情報ファイルと同じフ
ォーマットであり、ドライバ番号、デバイス番号、デー
タ属性、アクセス権により構成されている。 テスト実
行手段は、前記テスト用構成定義情報ファイルの情報に
従いアプリケーションレベルで動作するよう設計された
テストプログラムを外部記憶装置より読み込み、実行す
る。
The test configuration definition information file has the same format as the configuration definition information file of the operating system, and is composed of driver numbers, device numbers, data attributes, and access rights. The test execution means reads a test program designed to operate at an application level from an external storage device according to the information in the test configuration definition information file, and executes it.

【0009】以上のことより、オペレーティングシステ
ムを含めた情報処理装置の初期設定が無されていない場
合においてもテストの実施が可能となる。 また、テス
トプログラムをアプリケーションレベルで動作するよう
に設計するためオペレーティングシステムの種類による
影響を受けずに動作することができる。
As described above, the test can be performed even when the initial setting of the information processing apparatus including the operating system has not been completed. In addition, since the test program is designed to operate at the application level, it can operate without being affected by the type of operating system.

【0010】[0010]

【実施例】本発明の実施例について図面を参照し説明す
る。
An embodiment of the present invention will be described with reference to the drawings.

【0011】図1は、本発明の実施例を示すブロック構
成図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0012】図2は、テスト用構成定義情報ファイルフ
ォーマットを示す図である。
FIG. 2 is a diagram showing a test configuration definition information file format.

【0013】図3は、本発明のプログラム動作を示すフ
ローチャートである。
FIG. 3 is a flow chart showing the program operation of the present invention.

【0014】図4は、テスト内I/O命令の実行形態を
示す図である。
FIG. 4 is a diagram showing an execution form of the in-test I / O instruction.

【0015】図1及び図2を用いて本発明を構成する機
能について説明する。
Functions constituting the present invention will be described with reference to FIGS. 1 and 2.

【0016】図1においてテスト用構成定義情報ファイ
ル作成手段10は、情報処理装置(図示していない)よ
り得られるハードウェア構成情報をもとに接続される全
てのI/O装置(例えばHDDやCD−ROM、LB
P、イメージスキャナ等)ごとのテスト用構成定義情報
ファイル30を作成するものである。
In FIG. 1, the test configuration definition information file creating means 10 includes all I / O devices (for example, HDD and HDD) to be connected based on hardware configuration information obtained from an information processing device (not shown). CD-ROM, LB
A test configuration definition information file 30 is created for each P, image scanner, etc.).

【0017】このテスト用構成定義情報ファイル30
は、図2で示すように使用するドライバを示すドライバ
番号201、使用するI/O装置の論理番号を示すデバ
イスアドレス202、I/Oがあつかうデータの属性を
示すデータ属性203、アクセスの権利を示すアクセス
権204によって構成されている。このテスト用構成情
報ファイルは、想定される全てのI/O装置に対して一
つずつ作成される。
This test configuration definition information file 30
2, a driver number 201 indicating a driver to be used, a device address 202 indicating a logical number of an I / O device to be used, a data attribute 203 indicating an attribute of data used by I / O, and an access right. It is configured by the access right 204 shown. This test configuration information file is created one by one for all assumed I / O devices.

【0018】図1のテスト実行手段20は、個々のテス
ト用構成定義情報ファイルが示すI/Oに対するアプリ
ケーションレベルで動作するテストプログラムを、予め
外部記憶装置40の中に格納されているテストプログラ
ム群より読み出し実行する。
The test execution means 20 of FIG. 1 is a group of test programs in which a test program that operates at the application level for I / O indicated by each test configuration definition information file is stored in the external storage device 40 in advance. Read out and execute.

【0019】次に、図3を用いて上記機能の実現内容に
ついて説明する。
Next, the contents of implementation of the above functions will be described with reference to FIG.

【0020】図1内のテスト用構成定義情報ファイル作
成手段10は図3のフローチャートのステップ301〜
305により実現される。
The test configuration definition information file creating means 10 in FIG.
It is realized by 305.

【0021】情報処理装置より得られるハードウェア構
成情報は、アダプタ(例えばSCSIなど)までの情報
しか無いため、想定される全I/O装置分のテスト用構
成定義情報ファイルを作成する(ステップ301)。
Since the hardware configuration information obtained from the information processing device only includes information up to the adapter (such as SCSI), test configuration definition information files for all assumed I / O devices are created (step 301). ).

【0022】次に、301で作成した全I/O装置分の
テスト用構成定義情報ファイルに対応した全I/O装置
に起動指示信号を送信し、I/O装置からの応答の有無
によりI/O装置の有無を判定する(ステップ30
2)。
Next, a start instruction signal is transmitted to all the I / O devices corresponding to the test configuration definition information files for all the I / O devices created in 301, and the I / O device determines whether the I / O device responds or not. The presence / absence of an I / O device is determined (step 30
2).

【0023】I/O装置が無かった場合は無いI/O装
置に対するテスト用構成定義情報ファイルを削除する
(ステップ303)。
When there is no I / O device, the test configuration definition information file for the I / O device which is not present is deleted (step 303).

【0024】ステップ302、303の作業を全テスト
用構成定義情報ファイルのチェックが終了するまでテス
ト用構成定義情報ファイルのポインタを更新(ステップ
305)しながら実施すること(ステップ304)によ
り情報処理装置に接続される全I/O装置分のテスト用
構成定義情報ファイルが作成される。
By executing the work of steps 302 and 303 while updating the pointers of the test configuration definition information file (step 305) until the check of all the test configuration definition information files is completed (step 304). The test configuration definition information files for all I / O devices connected to are created.

【0025】次に、図1内のテスト実行手段20は図3
のフローチャートにおけるステップ306〜309によ
り実現される。
Next, the test execution means 20 in FIG.
This is realized by steps 306 to 309 in the flowchart of FIG.

【0026】個々のテスト用構成定義情報ファイル内の
情報が示すI/O装置に対するアプリケーションレベル
で動作するテストプログラムを、予め外部記憶装置40
の中に格納されているテストプログラム群より読みだし
(ステップ306)読みだされたテストプログラムを実
行する(ステップ307)。
A test program that operates at the application level for the I / O device indicated by the information in each test configuration definition information file is stored in advance in the external storage device 40.
It is read from the test program group stored in (step 306) and the read test program is executed (step 307).

【0027】そしてステップ306、307の作業を、
接続が確認されたI/O装置のテストプログラムの実行
指示が終了するまでテスト用構成定義情報ファイルのポ
インタを更新(ステップ309)しながら実施すること
(ステップ308)により情報処理装置に接続される全
I/O装置分のテストが実施される。
Then, the work of steps 306 and 307 is
It is connected to the information processing apparatus by updating the pointer of the test configuration definition information file (step 309) (step 308) until the execution instruction of the test program of the I / O device whose connection is confirmed is completed. Tests for all I / O devices are performed.

【0028】次に、図4を用いて上記機能にて実行され
るテストプログラム内のI/O装置に対するI/O命令
の実行形態について説明する。
Next, the execution form of the I / O instruction to the I / O device in the test program executed by the above function will be described with reference to FIG.

【0029】図1内のテスト実行手段20により実行指
示がだされたテストプログラム400は、テスト用構成
定義情報ファイル内の情報を使用するよう作成されたI
/O命令群401により構成されており、このI/O命
令が実行されるとオペレーティングシステム410内、
タスク制御部411はI/O命令に該当するテスト用構
成定義情報ファイル412をアクセスし、I/O命令に
該当するドライバ414、I/O420を認識しI/O
命令を発行する。以上のことより、オンライン動作中の
情報処理装置において、オペレーティングシステムによ
って情報処理装置の初期設定がなされていない場合にお
いても、テストの実施が可能となる。
The test program 400 instructed to be executed by the test executing means 20 in FIG. 1 is prepared to use the information in the test configuration definition information file.
/ O instruction group 401, and when this I / O instruction is executed, in the operating system 410,
The task control unit 411 accesses the test configuration definition information file 412 corresponding to the I / O instruction, recognizes the driver 414 and I / O 420 corresponding to the I / O instruction, and recognizes the I / O.
Issue an order. As described above, in the information processing apparatus that is operating online, the test can be performed even when the information processing apparatus is not initialized by the operating system.

【0030】またオペレーティングシステムの種類によ
る影響を受けず動作することが出来る。
Further, it can operate without being affected by the type of operating system.

【0031】[0031]

【発明の効果】以上、説明したように本発明は、オンラ
イン動作中の情報処理装置においてオペレーティングシ
ステムを含めた情報処理装置の初期設定がなされていな
い場合においても、テスト用構成定義情報ファイルを自
動的に作成し用いることによりテストの実施が可能とな
った。
As described above, according to the present invention, even if the information processing apparatus including the operating system is not initialized in the information processing apparatus operating online, the test configuration definition information file is automatically generated. It became possible to conduct the test by creating and using it.

【0032】また、テストプログラムをアプリケーショ
ンレベルで動作するように設計するため、オペレーティ
ングシステムの種類による影響を受けず動作することが
出来るという効果がある。
Further, since the test program is designed to operate at the application level, there is an effect that it can operate without being affected by the type of operating system.

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

【図1】本発明実施例のブロック構成図FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】テスト用構成定義情報ファイルフォーマット図[Figure 2] Test configuration definition information file format diagram

【図3】本発明のプログラム動作を示すフローチャートFIG. 3 is a flowchart showing the program operation of the present invention.

【図4】テスト内命令の実行形態を示す図FIG. 4 is a diagram showing an execution form of an in-test instruction.

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

10 テスト用構成定義情報ファイル作成手段 20 テスト実行手段 30 テスト用構成定義情報ファイル 40 入出力装置 50 テストプログラム 200 テスト用構成定義情報ファイルフォーマット 400 テストプログラム 401 テストプログラム内I/O命令 410 オペレーティングシステム 411 タスク制御部 412 テスト用構成定義情報ファイル 413 構成定義情報ファイル 414 ドライバ 420 I/O 10 Test Configuration Definition Information File Creating Unit 20 Test Execution Unit 30 Test Configuration Definition Information File 40 Input / Output Device 50 Test Program 200 Test Configuration Definition Information File Format 400 Test Program 401 Test Program I / O Command 410 Operating System 411 Task control unit 412 Test configuration definition information file 413 Configuration definition information file 414 Driver 420 I / O

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 清司 東京都千代田区内神田二丁目14番6号 日 立電子サービス株式会社内 (72)発明者 竹田 好宏 東京都千代田区内神田二丁目14番6号 日 立電子サービス株式会社内 (72)発明者 小野 祐里子 東京都千代田区内神田二丁目14番6号 日 立電子サービス株式会社内 (72)発明者 中澤 清孝 神奈川県海老名市下今泉810番地 株式会 社日立製作所オフィスシステム事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kiyoji Suzuki 2-14-6 Kanda, Chiyoda-ku, Tokyo Inside Ritsuden Electronic Service Co., Ltd. (72) Yoshihiro Takeda 2-14, Uchikanda, Chiyoda-ku, Tokyo No. 6 in Nikkei Electronic Service Co., Ltd. (72) Inventor Yuriko Ono 2-14-6 Kanda, Chiyoda-ku, Tokyo Inside Nikkei Electronic Service Co., Ltd. (72) Inventor Kiyotaka Nakazawa 810 Shimoimaizumi, Ebina City, Kanagawa Prefecture Bachi Stock Company, Hitachi Ltd. Office Systems Division

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のI/O装置と接続し、該I/O装置
を通じてデータの入出力を行うとともに様々な情報処理
を行う情報処理装置において、 当該情報処理装置に接続可能なI/O装置毎に、その接
続状態及び動作等のチェックを行うテストプログラム群
と、 該テストプログラム群を格納する外部記憶装置とを備
え、 前記情報処理装置に接続される可能性のあるI/O装置
に対し接続確認信号を送り、該確認信号に応答したI/
O装置に対応するテストプログラムを前記記憶装置から
読み出して実行することを特徴とする情報処理装置の検
証方式。
1. An information processing device which is connected to a plurality of I / O devices, inputs and outputs data through the I / O devices, and performs various information processing, and which is connectable to the information processing devices An I / O device that is likely to be connected to the information processing device is provided with a test program group that checks the connection state and operation of each device, and an external storage device that stores the test program group. A connection confirmation signal is sent to the I / O that responds to the confirmation signal.
A verification method for an information processing apparatus, comprising: reading a test program corresponding to an O device from the storage device and executing the read test program.
JP6156978A 1994-07-08 1994-07-08 Verifying system of information processor Pending JPH0822399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6156978A JPH0822399A (en) 1994-07-08 1994-07-08 Verifying system of information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6156978A JPH0822399A (en) 1994-07-08 1994-07-08 Verifying system of information processor

Publications (1)

Publication Number Publication Date
JPH0822399A true JPH0822399A (en) 1996-01-23

Family

ID=15639497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6156978A Pending JPH0822399A (en) 1994-07-08 1994-07-08 Verifying system of information processor

Country Status (1)

Country Link
JP (1) JPH0822399A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11282724A (en) * 1998-03-30 1999-10-15 Hitachi Ltd Network management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11282724A (en) * 1998-03-30 1999-10-15 Hitachi Ltd Network management system

Similar Documents

Publication Publication Date Title
JPH0793186A (en) Reusing method for existing test program
JPH0546435A (en) Method and device for automatic test
JPH0822399A (en) Verifying system of information processor
JPH0895835A (en) Method for reserving file space
JP2653276B2 (en) Keyboard simulator
CN108920695B (en) A kind of data query method, apparatus, equipment and storage medium
JP3392505B2 (en) Program module execution controller
JPH0895817A (en) Method for testing information processor
JPH08314658A (en) Printer function verifying device
JPH056318A (en) Dynamic loading system for application program in pos controller
JPS63201740A (en) Data editing system for service processor
JP2001084136A (en) System and method for preparing test specification
JPH06168074A (en) Common ionput/output device
JP2000276344A (en) Program generation system using object and its program generating method
JPH11353159A (en) Computer, re-setup method for computer, and recording medium where re-setup program is recorded
JPH05265822A (en) Naming system for file
JPH03139719A (en) Installation verification system for program
JPS59151247A (en) Testing device of information processing device
JPH03139722A (en) On-line programming system
JPH0535455A (en) Scroll display system for program
JPH05120166A (en) On-line system having terminal simulating function
JPH03137719A (en) Initialization method in information processor
JPH04177450A (en) Automatic generating/checking device for on-line screen program
JPS6277656A (en) Program debugging system
JPH1049352A (en) Dll automatic generation system