JPH0528088A - Method for automatically generating hardware constitution information - Google Patents

Method for automatically generating hardware constitution information

Info

Publication number
JPH0528088A
JPH0528088A JP3181310A JP18131091A JPH0528088A JP H0528088 A JPH0528088 A JP H0528088A JP 3181310 A JP3181310 A JP 3181310A JP 18131091 A JP18131091 A JP 18131091A JP H0528088 A JPH0528088 A JP H0528088A
Authority
JP
Japan
Prior art keywords
information
central processing
processing unit
hardware configuration
configuration 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
JP3181310A
Other languages
Japanese (ja)
Inventor
Shimori Kitamura
士守 北村
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 Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3181310A priority Critical patent/JPH0528088A/en
Publication of JPH0528088A publication Critical patent/JPH0528088A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To automatically generate hardware constitution information without preliminarily generating a system. CONSTITUTION:Device information including device numbers and device attributes which are given for the purpose of specify-ing device typy names and devices is, set to input/output controllers 2 to 4 from the external and is, stored in input/output controllers 2 to 4, and a central processing unit 1 refers to device information in input/output controllers 2 to 4 to search devices 51 to 53, 61 to 63, and 71 to 73 connected to the central processing unit 1 by the initialization processing at the time of starting a control program 11. Hardware constitution information of connected devices 51 to 53, 61 to 63, and 71 to 73 including device classifications, device numbers, access bus numbers, and device attributes is edited from referred device information as a hardware constitution information table for the control program, and this table is generated on the memory of the central processing unit 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はハードウェア構成情報の
自動作成方法に係り、特に制御プログラム走行に必要と
なるハードウェア構成情報を制御プログラム起動時に自
動作成するハードウェア構成情報の自動作成方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for automatically creating hardware configuration information, and more particularly to a method for automatically creating hardware configuration information required for running a control program when the control program is started automatically. ..

【0002】[0002]

【従来の技術】従来の情報処理システムの運転のため、
中央処理装置の制御プログラムでは装置種別、装置を特
定するために付与する装置機番、装置属性、及び装置の
アクセスパス番号から成るデータをハードウェア構成情
報として、中央処理装置の制御プログラム内に事前に格
納する。そして、制御プログラム起動時に制御テーブル
として中央処理装置のメモリ上に展開する。
2. Description of the Related Art For the operation of a conventional information processing system,
In the control program of the central processing unit, data consisting of the device type, the device number assigned to identify the device, the device attribute, and the access path number of the device is used as hardware configuration information in advance in the control program of the central processing unit. To store. Then, when the control program is activated, the control table is expanded in the memory of the central processing unit.

【0003】従来、ハードウェア構成情報を制御プログ
ラムに格納するには、中継方式図等の図面から手作業で
元となるデータを作成し、これを入力としてシステム生
成プログラムと呼ばれるユーティリティプログラムを実
行することにより行われる。
Conventionally, in order to store hardware configuration information in a control program, original data is manually created from a drawing such as a relay system diagram, and a utility program called a system generation program is executed with this data as an input. It is done by

【0004】[0004]

【発明が解決しようとする課題】従来のシステム生成プ
ログラムによるハードウェア構成情報の中央処理装置内
の制御プログラムへの格納は、ハードウェア構成に関す
るデータ作成を人手により行われており、さらに、ユー
ティリティプログラムを実行する必要がある。また、こ
れらの作業をハードウェアの構成が異なる毎に行う必要
があり、作業に多大の稼働を要する。また、データに誤
りが生じ易く、さらにハードウェア構成変更に関する柔
軟性に欠けるという問題がある。その上、システム生成
プログラム走行のための設備を用意しなければならない
という問題もある。
Storage of hardware configuration information in a control program in a central processing unit by a conventional system generation program is performed manually by creating data relating to the hardware configuration, and further, a utility program. Need to run. Further, it is necessary to perform these operations each time the hardware configuration is different, and the operations require a great deal of operation. In addition, there is a problem that data is likely to be erroneous and that the flexibility regarding the hardware configuration change is lacking. In addition, there is a problem that equipment for running the system generation program must be prepared.

【0005】本発明は上記の点に鑑みなされたもので、
事前にシステム生成を行うことが不要となり、システム
生成プログラム用のデータ作成ミスによるトラブルやこ
れらの作業に必要であった人的資源、及び計算機設備を
省くことができるハードウェア構成情報の自動作成方法
を提供することを目的とする。
The present invention has been made in view of the above points,
Automatic generation of hardware configuration information that eliminates the need for system generation in advance and eliminates troubles due to data generation mistakes for system generation programs, human resources required for these operations, and computer equipment The purpose is to provide.

【0006】[0006]

【課題を解決するための手段】情報処理システム運転の
ため中央処理装置の制御プログラムが参照するデータの
1つであるハードウェア構成情報の作成において、装置
型名と装置を特定するために付与する装置機番と装置属
性を含む装置情報を入出力制御装置に外部から設定し、
設定した装置情報は入出力制御装置側に格納され、制御
プログラム起動時に中央処理装置は初期設定処理として
中央処理装置に接続される装置を入出力制御装置より装
置情報を参照することにより探索し、参照した装置情報
より装置種別、装置機番、アクセスパス番号及び装置属
性を含む接続される装置のハードウェア構成情報を制御
プログラム用のハードウェア構成情報テーブルとして編
集し、中央処理装置のメモリ上に作成する。
In the creation of hardware configuration information, which is one of the data referred to by the control program of the central processing unit for operating the information processing system, it is added to identify the device type name and the device. Set device information including device number and device attribute to the input / output control device from the outside
The set device information is stored in the input / output control device side, and when the control program is started, the central processing unit searches for a device connected to the central processing unit as an initialization process by referring to the device information from the input / output control device, Edit the hardware configuration information of the connected device including the device type, device number, access path number, and device attribute from the referenced device information as a hardware configuration information table for the control program, and store it in the memory of the central processing unit. create.

【0007】[0007]

【作用】本発明は中央処理装置内の制御プログラムが必
要とするハードウェア構成情報をシステム初期設定時に
ハードウェア構成情報テーブルに自動的に編集、生成す
ることにより、従来のような事前に手作業によりハード
ウェア構成に関するデータを作成し、ユーティリティプ
ログラムであるシステム生成プログラムを実行する必要
がない。
According to the present invention, the hardware configuration information required by the control program in the central processing unit is automatically edited and generated in the hardware configuration information table at the time of initializing the system, so that manual work can be performed in advance as in the conventional case. Therefore, it is not necessary to create data relating to the hardware configuration and execute the system generation program which is a utility program.

【0008】[0008]

【実施例】図1は本発明の一実施例のハードウェア構成
情報の自動作成方法の原理構成図を示す。本実施例の構
成は中央処理装置1、入出力制御装置2〜4及び、それ
ら入出力制御装置2〜4に接続される装置51〜53、
61〜63、71〜73よりなる。中央処理装置1は初
期設定部111を有する制御プログラム11、アクセス
パス番号生成部121及び装置情報参照部122を有す
る装置探索部12、装置情報解析部13、ハードウェア
構成情報編集部14、ハードウェア構成情報テーブル1
5を含む。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a principle block diagram of a method for automatically creating hardware configuration information according to an embodiment of the present invention. The configuration of the present embodiment includes a central processing unit 1, input / output control devices 2 to 4 and devices 51 to 53 connected to the input / output control devices 2 to 4,
61 to 63, 71 to 73. The central processing unit 1 includes a control program 11 having an initial setting unit 111, a device search unit 12 having an access path number generation unit 121 and a device information reference unit 122, a device information analysis unit 13, a hardware configuration information editing unit 14, and hardware. Configuration information table 1
Including 5.

【0009】入出力装置2〜3はそれぞれ、装置情報格
納部21、31、41及び、装置情報設定部22、3
2、42を有する。このうち、装置情報格納部21、3
1、41はそれぞれに接続される装置51〜53、61
〜63、71〜73の装置情報を格納する。装置情報設
定部22、32、42は外部より入力される装置型名、
装置機番、装置属性からなる装置情報を装置情報格納部
21、31、41に格納する。
The input / output devices 2-3 are device information storage units 21, 31, 41 and device information setting units 22, 3 respectively.
2, 42. Of these, the device information storage units 21 and 3
1, 41 are devices 51 to 53, 61 connected to them, respectively.
.., 63, 71 to 73 are stored. The device information setting units 22, 32, and 42 are device model names input from the outside,
The device information including the device number and the device attribute is stored in the device information storage units 21, 31, 41.

【0010】図2は本発明の一実施例の入出力制御装置
の装置情報格納部の一構成例を示す。同図中“00”、
“01”、“02”…は入出力制御装置2、3、4単位
で各装置51〜53、61〜63、71〜73に付与さ
れるアドレスである。装置機番は装置を特定するために
装置単位にそれぞれ付与される識別子である。装置属性
は装置の種類、機能、諸元等のデータである。
FIG. 2 shows an example of the configuration of the device information storage unit of the input / output control device of one embodiment of the present invention. In the figure, "00",
“01”, “02” ... Are addresses assigned to the respective devices 51 to 53, 61 to 63, 71 to 73 in units of the input / output control devices 2, 3, and 4. The device number is an identifier assigned to each device to identify the device. The device attribute is data such as the type, function, and specifications of the device.

【0011】中央処理装置1では、制御プログラム1
1、装置探索部12、装置情報解析部13、ハードウェ
ア構成情報編集部14が走行する。中央処理装置1のハ
ードウェア構成情報テーブル15は制御プログラム11
が参照する形式に編集されたハードウェア構成情報を格
納する。図3は本発明の一実施例の中央処理装置のハー
ドウェア構成情報テーブルの構成例を示す。中央処理装
置1内のハードウェア構成情報テーブル15は装置種
別、装置機番、装置属性、アクセスパス番号の情報によ
り構成される。中央処理装置1内の装置探索部12はア
クセスパス番号を順次生成するアクセスパス番号生成部
121と、アクセスパス番号をパラメータとして、入出
力制御装置2〜4に装置情報参照コマンドa〜cを発行
する装置情報参照部122より構成される。装置情報解
析部13は装置情報参照コマンドa〜cの実行結果のチ
ェックと入出力制御装置2〜4から取得された装置情報
d〜fから装置種別の判断等を行い、ハードウェア構成
情報編集部14に渡すパラメータを作成する。
In the central processing unit 1, the control program 1
1, the device search unit 12, the device information analysis unit 13, and the hardware configuration information editing unit 14 run. The hardware configuration information table 15 of the central processing unit 1 is the control program 11
The edited hardware configuration information is stored in the format referred to by. FIG. 3 shows a configuration example of the hardware configuration information table of the central processing unit according to the embodiment of the present invention. The hardware configuration information table 15 in the central processing unit 1 is composed of information on the device type, device number, device attribute, and access path number. The device search unit 12 in the central processing unit 1 issues the device information reference commands a to c to the input / output control devices 2 to 4 using the access path number generation unit 121 that sequentially generates the access path numbers and the access path number as a parameter. The device information reference unit 122 is configured to operate. The device information analysis unit 13 checks the execution results of the device information reference commands a to c and determines the device type from the device information d to f acquired from the input / output control devices 2 to 4, and the hardware configuration information editing unit. Create the parameters to be passed to 14.

【0012】次にハードウェア構成情報の自動作成の動
作について説明する。図4は本発明の一実施例のハード
ウェア構成情報の自動作成方法のフローチャートを示
す。同図のフローチャートでは中央処理装置1の装置探
索部12、装置情報解析部13、及びハードウェア構成
情報編集部14の動作を示す。 (ステップ41)中央処理装置1の制御プログラム11
が起動されると、最初に制御プログラム11内の初期設
定部111が走行し、初期設定部111より装置探索部
12が呼び出される。装置探索部12のアクセスパス番
号生成部121はアクセスパス番号を生成する。 (ステップ42)ステップ41で生成されたアクセスパ
ス番号をパラメータとして装置情報参照コマンドa〜c
をそれぞれ入出力制御装置2〜4に発行する。 (ステップ43)中央処理装置1の装置情報解析部13
はコマンドa〜cに対するコマンドの応答の有無により
接続される装置の有無を判断する。応答が無い場合には
接続される装置が存在しないと判断し、最初の処理に戻
って次のアクセスパス番号を生成し、同様の処理を行
う。 (ステップ44)コマンドが正常に実行され、入出力装
置2〜4より装置情報d〜fを取得できた場合、中央処
理装置1はその情報の中の装置型名から判断した装置種
別、所得情報から抽出した装置機番、装置属性、及び装
置参照コマンドを発行したときのアクセスパス番号をパ
ラメータとしてハードウェア構成情報編集部14を呼び
出す。 (ステップ45)中央処理装置1のハードウェア構成情
報編集部14では引き渡されたパラメータをもとに制御
プログラムが参照する形式に編集し、ハードウェア構成
情報テーブル15に登録する。 (ステップ46)上記の各ステップの処理を全アクセス
パス番号に対して行い、全アクセスパス番号の参照が終
了していなければステップ41に戻り、一方、全アクセ
スパス番号の参照が終了していれば、ハードウェア構成
情報テーブルの作成が終了となる。
Next, the operation of automatically creating the hardware configuration information will be described. FIG. 4 shows a flowchart of a method for automatically creating hardware configuration information according to an embodiment of the present invention. The flowchart of FIG. 1 shows the operations of the device search unit 12, the device information analysis unit 13, and the hardware configuration information editing unit 14 of the central processing unit 1. (Step 41) Control program 11 of central processing unit 1
When is started, the initial setting unit 111 in the control program 11 first runs, and the device searching unit 12 is called by the initial setting unit 111. The access path number generation unit 121 of the device search unit 12 generates an access path number. (Step 42) Device information reference commands ac using the access path number generated in step 41 as a parameter
Are issued to the input / output control devices 2 to 4, respectively. (Step 43) Device information analysis unit 13 of the central processing unit 1
Determines the presence / absence of a connected device based on the presence / absence of a command response to the commands a to c. If there is no response, it is determined that there is no device to be connected, the process returns to the first process, the next access path number is generated, and the same process is performed. (Step 44) When the command is normally executed and the device information d to f can be acquired from the input / output devices 2 to 4, the central processing unit 1 judges the device type and income information from the device type name in the information. The hardware configuration information editing unit 14 is called with the device number, the device attribute, and the access path number when the device reference command is extracted extracted from the parameters. (Step 45) The hardware configuration information editing unit 14 of the central processing unit 1 edits the parameters to the format referred to by the control program based on the delivered parameters, and registers them in the hardware configuration information table 15. (Step 46) The processing of the above steps is performed for all access path numbers, and if the reference of all access path numbers is not completed, the procedure returns to step 41, while the reference of all access path numbers is completed. If so, the creation of the hardware configuration information table ends.

【0013】上記の処理の終了後に制御を制御プログラ
ムに戻す。制御プログラムはその後の処理を上記で作成
したハードウェア構成情報テーブルを参照する。
After the above processing is completed, the control is returned to the control program. The control program refers to the hardware configuration information table created above for the subsequent processing.

【0014】[0014]

【発明の効果】上述のように本発明によれば、中央処理
装置の制御プログラムが必要とするハードウェア構成情
報テーブルがシステム初期設定時に自動的に作成できる
ために、従来の様に事前にシステム生成を行うことが不
要となり、システム生成プログラム用のデータ作成ミス
によるトラブルやこれらの作業に必要であった人的資
源、および計算機設備を省くことができる。
As described above, according to the present invention, since the hardware configuration information table required by the control program of the central processing unit can be automatically created at the time of system initialization, the system can be preliminarily prepared as in the conventional system. It becomes unnecessary to generate data, and troubles due to mistakes in creating data for the system generation program, human resources required for these operations, and computer equipment can be saved.

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

【図1】本発明の一実施例のハードウェア構成情報の自
動作成方法の原理構成図である。
FIG. 1 is a principle configuration diagram of a method for automatically creating hardware configuration information according to an embodiment of the present invention.

【図2】本発明の一実施例の入出力装置の装置情報格納
部の構成例を示す図である。
FIG. 2 is a diagram showing a configuration example of a device information storage unit of an input / output device according to an embodiment of the present invention.

【図3】本発明の一実施例の中央処理装置のハードウェ
ア構成情報テーブルの構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of a hardware configuration information table of the central processing unit according to the embodiment of the present invention.

【図4】本発明の一実施例のハードウェア構成情報の自
動作成方法のフローチャートである。 1 中央処理装置 2,3,4 入出力制御装置 11 制御プログラム 12 装置探索部 13 装置情報解析部 14 ハードウェア構成情報編集部 15 ハードウェア構成情報テーブル 21,31,41 装置情報格納部 22,32,42 装置情報設定部 51,52,53,61,62,63,71,72,7
3 装置 111 初期設定部 121 アクセスパス番号生成部 122 装置情報参照部
FIG. 4 is a flowchart of a method for automatically creating hardware configuration information according to an embodiment of the present invention. 1 Central Processing Unit 2, 3, 4 I / O Control Unit 11 Control Program 12 Device Search Unit 13 Device Information Analysis Unit 14 Hardware Configuration Information Editing Unit 15 Hardware Configuration Information Table 21, 31, 41 Device Information Storage Unit 22, 32 , 42 Device information setting unit 51, 52, 53, 61, 62, 63, 71, 72, 7
3 device 111 initial setting part 121 access path number generation part 122 device information reference part

Claims (1)

【特許請求の範囲】 【請求項1】 情報処理システム運転のため中央処理装
置の制御プログラムが参照するデータの1つであるハー
ドウェア構成情報の作成において、 装置型名と装置を特定するために付与する装置機番と装
置属性を含む装置情報を入出力制御装置に外部から設定
し、設定した装置情報は入出力制御装置側に格納され、 前記制御プログラム起動時に前記中央処理装置は初期設
定処理として前記中央処理装置に接続される装置を前記
入出力制御装置より前記装置情報を参照することにより
探索し、 参照した前記装置情報より装置種別、装置機番、アクセ
スパス番号及び装置属性を含む前記接続される装置のハ
ードウェア構成情報を制御プログラム用のハードウェア
構成情報テーブルとして編集し、前記中央処理装置のメ
モリ上に作成することを特徴とするハードウェア構成情
報の自動作成方法。
What is claimed is: 1. In creating hardware configuration information, which is one of the data referred to by the control program of the central processing unit for operating the information processing system, in order to identify the device type name and the device. The device information including the device number and the device attribute to be given is externally set in the input / output control device, and the set device information is stored in the input / output control device side, and when the control program is started, the central processing unit performs the initial setting process. The device connected to the central processing unit is searched by referring to the device information from the input / output control device, and the device type, the device number, the access path number and the device attribute are included from the referred device information. The hardware configuration information of the connected device is edited as a hardware configuration information table for the control program, and is edited on the memory of the central processing unit. Auto create a hardware configuration information, wherein the creating.
JP3181310A 1991-07-22 1991-07-22 Method for automatically generating hardware constitution information Pending JPH0528088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3181310A JPH0528088A (en) 1991-07-22 1991-07-22 Method for automatically generating hardware constitution information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3181310A JPH0528088A (en) 1991-07-22 1991-07-22 Method for automatically generating hardware constitution information

Publications (1)

Publication Number Publication Date
JPH0528088A true JPH0528088A (en) 1993-02-05

Family

ID=16098445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3181310A Pending JPH0528088A (en) 1991-07-22 1991-07-22 Method for automatically generating hardware constitution information

Country Status (1)

Country Link
JP (1) JPH0528088A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916509A (en) * 1995-06-28 1997-01-17 Nec Field Service Ltd Maintenance managing device for peripheral equipment of general purpose computer system
JPH09218777A (en) * 1996-02-09 1997-08-19 Nec Corp Computer system
US7035973B2 (en) 2003-04-08 2006-04-25 Hitachi, Ltd. Storage control apparatus and method for controlling logical volumes by referring to mounting information indicating mounting states of the logical volumes
US7085763B2 (en) * 1999-04-27 2006-08-01 Canon Kabushiki Kaisha Device search system
US7583193B2 (en) 2006-10-18 2009-09-01 Hitachi, Ltd. Method for supporting an antenna wiring, and a system
US7689728B2 (en) 2006-02-24 2010-03-30 Nec Corporation Method and apparatus for describing ACPI machine language in computer having multibridge PCI structure, and program thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916509A (en) * 1995-06-28 1997-01-17 Nec Field Service Ltd Maintenance managing device for peripheral equipment of general purpose computer system
JPH09218777A (en) * 1996-02-09 1997-08-19 Nec Corp Computer system
US7085763B2 (en) * 1999-04-27 2006-08-01 Canon Kabushiki Kaisha Device search system
US7035973B2 (en) 2003-04-08 2006-04-25 Hitachi, Ltd. Storage control apparatus and method for controlling logical volumes by referring to mounting information indicating mounting states of the logical volumes
US7689728B2 (en) 2006-02-24 2010-03-30 Nec Corporation Method and apparatus for describing ACPI machine language in computer having multibridge PCI structure, and program thereof
US7583193B2 (en) 2006-10-18 2009-09-01 Hitachi, Ltd. Method for supporting an antenna wiring, and a system

Similar Documents

Publication Publication Date Title
JPH0528088A (en) Method for automatically generating hardware constitution information
JP2000284815A (en) Program generating device
JPH0934698A (en) Software generating method and software developing and supporting method
JPH06110733A (en) Test case generating device of program
JP3255121B2 (en) Database search device, database search method, information processing device, recording medium storing program for causing computer to execute database search method
JPH056291A (en) Method for preparing and managing test resources
JPH0784620A (en) Conversion processing method for tool route information
JP2642145B2 (en) Failure mode effect analysis simulation method
JP2658699B2 (en) Method of managing device under test of input / output device test program
JP2724240B2 (en) Automatic program generator with block diagram processing function
JPH0659871A (en) Software development device
JPH0357020A (en) System processing program generating device
JP2003085013A (en) Pdm system and programming method for system connection
JPH04373020A (en) Function correspondence table preparing device
JPH07160536A (en) Program test supporting device for interactive system
WO1991007706A1 (en) Set data retaining method
JPS60178535A (en) Execution definition type command system for processing
JPH0290255A (en) Automatic recognition system for constitution of input/ output device
JPH06236259A (en) Automatic program generator
JPH05181731A (en) File saving system
JPH0773026A (en) Automatic generation system for label name
JPH04137145A (en) Diagnostic program execution system
JPS63141180A (en) Preparing device for circuit diagram with inter-page collating information
JPH0713752A (en) Control method/device for program revision
JPH07160558A (en) Data base retrieval sentence preparing device