JPH0290255A - Automatic recognition system for constitution of input/ output device - Google Patents

Automatic recognition system for constitution of input/ output device

Info

Publication number
JPH0290255A
JPH0290255A JP24176088A JP24176088A JPH0290255A JP H0290255 A JPH0290255 A JP H0290255A JP 24176088 A JP24176088 A JP 24176088A JP 24176088 A JP24176088 A JP 24176088A JP H0290255 A JPH0290255 A JP H0290255A
Authority
JP
Japan
Prior art keywords
input
output
channel
constitution
devices
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
JP24176088A
Other languages
Japanese (ja)
Inventor
Yukihiro Fujiyoshi
藤吉 幸博
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP24176088A priority Critical patent/JPH0290255A/en
Publication of JPH0290255A publication Critical patent/JPH0290255A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To omit a complex means for defining the constitution of I/O devices by automatically recognizing the constitution of the I/O devices at the time of raising a system. CONSTITUTION:A connection channel acquiring means 101 acquires the channel numbers of all channels connected to a computer, a maximum device number acquiring means 102 acquires the maximum device number to be the maximum number of I/O devices to be connected to respective channels and a device attribute acquiring means 103 executes a device attribute acquiring channel command 106 common with all the I/O devices through respective I/O passes and acquires the device names and device attributes of the connected I/O devices. A device constitution acquiring means 104 forms an I/O device constitution table based on the acquired device names, device attributes and I/O passes. Since the I/O devices connected to the computer are automatically recognized by software-like constitution, a complex means for defining the constitution of the I/O devices can be omitted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機システムにおいて計算機にチャネルを介
して接続された種類の異なる複数の入出力装置の構成を
自動的に認識する方式に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for automatically recognizing the configuration of a plurality of input/output devices of different types connected to a computer via a channel in a computer system. .

〔従来の技術〕[Conventional technology]

種類の異なる複数の入出力装置を備えた計算機システム
にあっては、各入出力装置を管理・制御するために入出
力装置構成テーブルを用いている。
In a computer system equipped with a plurality of input/output devices of different types, an input/output device configuration table is used to manage and control each input/output device.

この入出力装置構成テーブルは ・装置名 ・装置属性 ・入出力パス(チャネル番号、装置番号)を含んでおり
、従来は、システム構築時に特別な手段により入出力装
置構成の定義を行い、入出力装置構成テーブルを作成し
ていた。
This input/output device configuration table includes device names, device attributes, and input/output paths (channel numbers, device numbers). Conventionally, the input/output device configuration was defined using special means during system construction, and input/output A device configuration table was created.

なお、装置名とは各入出力装置を識別するために付与さ
れた独立な名前、装置属性とは例えば磁気ディスク装置
におけるシリンダ数、lシリンダ当たりのトラック数、
トランクの記録密度、媒体の掛は替えの可否等の情報や
、磁気テープ装置における装填可能媒体のトラック数、
記録密度等の情報のように、入出力装置をアクセスする
のに必要となる情報をいう。また、入出力パスはチャネ
ル番号と、そのチャネルにおける装置番号とで特定され
る。
Note that a device name is an independent name given to identify each input/output device, and a device attribute is, for example, the number of cylinders in a magnetic disk device, the number of tracks per cylinder,
Information such as the recording density of the trunk, whether or not the media can be replaced, the number of tracks of the removable media in the magnetic tape device, etc.
This refers to information necessary to access an input/output device, such as information such as recording density. Further, an input/output path is specified by a channel number and a device number in that channel.

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

上述したように、従来の方式にあっては、システム構築
時に入出力装置構成の定義を行い、入出力装置構成テー
ブルを作成していたため、次のような欠点があった。
As described above, in the conventional method, the input/output device configuration was defined at the time of system construction and the input/output device configuration table was created, which resulted in the following drawbacks.

■入出力装置構成定義のための特別な手段(オペレータ
と対話的に詳細な情報を定義する機能を有するため複雑
となる。)が必要となる。
(2) Special means for defining input/output device configuration (complicated because it has a function to define detailed information interactively with the operator) is required.

■一般に計算機システム毎に入出力装置構成は異なるの
で計算機システム毎に入出力装置構成の定義が必要とな
る。
- Since the input/output device configuration generally differs for each computer system, it is necessary to define the input/output device configuration for each computer system.

■同一計算機システムにおいてもシステム規模拡張等に
よる装置構成の変更時にはその都度入出力装置構成の再
定義が必要となる。
■Even in the same computer system, the input/output device configuration must be redefined each time the device configuration is changed due to system scale expansion or the like.

本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、計算機に接続された入出力装置をソ
フトウェア的な簡易な構成により自動的に認識すること
のできる入出力装置構成の自動認識方式を提供すること
にある。
The present invention has been proposed in view of the above points, and its purpose is to provide an input/output device configuration that can automatically recognize input/output devices connected to a computer using a simple software configuration. The purpose of this invention is to provide an automatic recognition method.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するため、複数の入出力装置
を入出力装置構成テーブルに従って管理・制御する計算
機システムにおいて、 計算機に接続されている全チャネルのチャネル番号を得
る接続チャネル取得手段と、 各チャネルに接続可能な最大入出力装置数である最大装
置番号を得る最大装置番号取得手段と、全入出力装置共
通の装置属性取得チャネルコマンドを各入出力パスで実
行し、接続されている入出力装置の装置名および装置属
性を得る装置属性取得手段と、 取得した装置名、装置属性、入出力パスに基づいて入出
力装置構成テーブルを作成する装置構成取得手段とを備
えるようにしている。
In order to achieve the above object, the present invention provides a computer system that manages and controls a plurality of input/output devices according to an input/output device configuration table, and includes: connection channel acquisition means for acquiring channel numbers of all channels connected to a computer; The maximum device number acquisition means obtains the maximum device number, which is the maximum number of input/output devices that can be connected to each channel, and the device attribute acquisition channel command common to all input/output devices is executed on each input/output path. The apparatus includes a device attribute acquisition means for acquiring the device name and device attributes of the output device, and a device configuration acquisition means for creating an input/output device configuration table based on the acquired device name, device attributes, and input/output path.

〔作用〕[Effect]

本発明の入出力装置構成の自動認識方式にあっては、接
続チャネル取得手段が計算機に接続されている全チャネ
ルのチャネル番号を取得し、最大装置番号取得手段が各
チャネルに接続可能な最大入出力装置数である最大装置
番号を取得し、装置属性取得手段が全入出力装置共通の
装置属性取得チャネルコマンドを各入出力パスで実行し
て接続されている入出力装置の装置名および装置属性を
取得し、装置構成取得手段が取得した装置名、装置属性
、入出力パスに基づいて入出力装置構成テーブルを作成
する。
In the automatic recognition method of the input/output device configuration of the present invention, the connection channel acquisition means acquires the channel numbers of all channels connected to the computer, and the maximum device number acquisition means acquires the maximum number of channels that can be connected to each channel. The device attribute acquisition means acquires the maximum device number, which is the number of output devices, and executes the device attribute acquisition channel command common to all input/output devices on each input/output path to obtain the device name and device attributes of the connected input/output devices. and creates an input/output device configuration table based on the device name, device attributes, and input/output path acquired by the device configuration acquisition means.

〔実施例〕〔Example〕

以下、本発明の実施例につき図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の入出力装置構成の自動認識方式の一実
施例の構成図である。
FIG. 1 is a block diagram of an embodiment of an automatic recognition system for an input/output device configuration according to the present invention.

第1図(a)は計算機と入出力装置との接続の例を示し
たものであり、計算機100にはチャネル20.21,
22.・・・、2n(チャネル番号0.1゜2、・・・
、n)が接続され、チャネル20,21゜22、・・・
、2nにはそれぞれ入出力装置300〜30mo 、3
10〜31m+ 、−,3nO〜3nm n (装置番
号0−m@ 、  O〜m+ 、 −、O〜ma)が接
続されている。
FIG. 1(a) shows an example of the connection between a computer and an input/output device, and the computer 100 has channels 20, 21,
22. ..., 2n (channel number 0.1゜2, ...
, n) are connected, and channels 20, 21° 22, . . .
, 2n have input/output devices 300 to 30mo, 3, respectively.
10-31m+, -, 3nO-3nm n (device numbers 0-m@, O-m+, -, O-ma) are connected.

一方、第1図(b)は本発明の主要部の構成を示したも
のであり、接続チャネル取得手段101と、最大装置番
号取得手段102と、装置属性取得手段103と、装置
構成取得手段104とから構成されている。なお、10
5はチャネルプログラム、106は装置属性取得手段1
03で用いられる入出力装置種別に関係ない全入出力装
置共通の装置属性取得チャネルコマンド、107は装置
構成取得手段104によって最終的に作成される入出力
装置構成テーブルである。
On the other hand, FIG. 1(b) shows the configuration of the main parts of the present invention, which include connection channel acquisition means 101, maximum device number acquisition means 102, device attribute acquisition means 103, and device configuration acquisition means 104. It is composed of. In addition, 10
5 is a channel program, 106 is device attribute acquisition means 1
03 is a device attribute acquisition channel command common to all input/output devices regardless of the type of input/output device, and 107 is an input/output device configuration table finally created by the device configuration acquisition means 104.

以下、上記の各部の機能および動作を第2図のフローチ
ャートに沿って説明し、実施例全体の動作説明とする。
Hereinafter, the functions and operations of the above-mentioned parts will be explained along the flowchart of FIG. 2, and the operation of the entire embodiment will be explained.

システムの運用が開始されると(ステップSl)、接続
チャネル取得手段101により計算機100に接続され
たチャネル20,21,22.・・・、2nのチャネル
番号0,1,2.・・・、nが取得される(ステップS
2)。例えば、チャネル接続時に行われる動作チエツク
の情報(記憶エリアに格納されている情報)等をもとに
第3図に示すような、接続されているチャネルのチャネ
ル番号に対応するピントがオン(−1)となるデータが
得られる。
When the system starts operating (step Sl), the channels 20, 21, 22 . ..., 2n channel numbers 0, 1, 2 . ..., n is obtained (step S
2). For example, based on the operation check information (information stored in the storage area) performed when a channel is connected, the focus corresponding to the channel number of the connected channel is turned on (- 1) Data is obtained.

次いで、最大装置番号取得手段102により、計算機1
00に接続されているチャネル20,21 ・・・、2
nの個々に接続可能な最大入出力装置数すなわち最大装
置番号m* + ITl+ + ・・・1m9が取得さ
れる(ステップ53)0例えば、チャネルのファームウ
ェアの有する最大装置数にかかる情報を読み出すことに
より最大装置番号が取得される。しかして、チャネル番
号と最大装置番号が得られたことにより、全ての入出力
パスが認識されたことになる。第4図は入出力パスの表
現形式の例を示したものであり、チャネル番号と装置番
号(O〜最大装置番号)との組で1つの入出力パスを特
定することになる。
Next, the maximum device number acquisition means 102 selects the computer 1.
Channels 20, 21..., 2 connected to 00
The maximum number of individually connectable input/output devices of n, that is, the maximum device number m* + ITl+ + . . . 1m9 is obtained (step 53) 0. For example, information regarding the maximum number of devices possessed by the firmware of the channel is read. The maximum device number is obtained by Since the channel number and maximum device number have been obtained, all input/output paths have been recognized. FIG. 4 shows an example of the representation format of an input/output path, and one input/output path is specified by a set of a channel number and a device number (O to maximum device number).

次いで、装置属性取得手段103により各人出カバスに
接続された入出力装置の装置名および装置属性が取得さ
れる(ステップS4)、すなわち、各チャネル毎に装置
番号を0から最大装置番号の間で設定して入出力パスを
指定し、その入出力パスで装置属性取得チャネルコマン
ド106を実行することにより、例えば、入出力装置の
ファームウェアの有する情報を読み出し、装置名および
その装置をアクセスするのに必要な装置属性を取得する
Next, the device attribute acquisition means 103 acquires the device name and device attribute of the input/output device connected to each output bus (step S4), that is, the device number is set between 0 and the maximum device number for each channel. By setting and specifying an input/output path and executing the device attribute acquisition channel command 106 on that input/output path, for example, you can read the information held by the firmware of the input/output device, specify the device name, and access the device. Get the required device attributes.

しかして、装置構成取得手段104においては接続チャ
ネル取得手段101.最大装置番号取得手段102.装
置属性取得手段103で得られた情報をもとに入出力装
置構成テーブル107が作成され(ステップS5)、全
ての入出力パスについて同様の処理が繰り返される(ス
テップS6)。
Therefore, in the device configuration acquisition means 104, the connection channel acquisition means 101. Maximum device number acquisition means 102. An input/output device configuration table 107 is created based on the information obtained by the device attribute acquisition means 103 (step S5), and the same process is repeated for all input/output paths (step S6).

第5図は入出力装置構成テーブル107の論理的構成を
示したものであり、入出力装置毎に・装置名 ・装置属性 ・入出力パス が特定されるようになっている。なお、入出力パスが2
個以上ある場合にはそれらの全てが格納される。例えば
、第1図(a)における入出力装置310〜31m1は
チャネル21.22の装置番号0〜m1で特定される2
通りの入出力パスが存在している。
FIG. 5 shows the logical structure of the input/output device configuration table 107, in which the device name, device attributes, and input/output path are specified for each input/output device. Note that the input/output path is 2.
If there are more than one, all of them are stored. For example, the input/output devices 310 to 31m1 in FIG.
The same input/output path exists.

全入出力パスの処理が終了したならば、入出力装置構成
の認識が完了したことになり、業務が開始される(ステ
ップS7)、そして、業務開始後の入出力装置のアクセ
スは、入出力装置構成テーブル107に基づいて制御さ
れることになる。
Once the processing of all input/output paths has been completed, recognition of the input/output device configuration has been completed, and the job is started (step S7). After the job starts, access to the input/output devices is It will be controlled based on the device configuration table 107.

なお、システム運用開始時に常に入出力装置構成の認識
を行うことから、システム規模が大きくなって接続され
る入出力装置の台数が増えた場合には、システム立ち上
げ時間が長くなってしまう事態も考えられるが、その場
合は作成した入出力装置構成テーブル107を外部記憶
媒体上に格納する手段とシステム立ち上げ方法を指定す
る手段とを新たに設け、システム立ち上げ方法を指定す
る手段により指定された時のみ入出力装置構成の認識す
なわち第2図のステップS2〜S6を行い、その際に作
成された入出力装置構成テーブル107を外部記憶媒体
に格納するようにし、指定がなければ外部記憶媒体より
既に格納された入出力装置構成テーブル107を読み出
すようにすればよい。
Furthermore, since the input/output device configuration is always recognized at the start of system operation, if the system scale increases and the number of connected input/output devices increases, the system startup time may become longer. However, in that case, a means for storing the created input/output device configuration table 107 on an external storage medium and a means for specifying the system startup method are newly provided, and the system startup method is specified by the means for specifying the system startup method. Only when the input/output device configuration is recognized, steps S2 to S6 in FIG. 2 are performed, and the input/output device configuration table 107 created at that time is stored in the external storage medium. What is necessary is to read out the input/output device configuration table 107 that has already been stored.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の入出力装置構成の自動認
識方式にあっては、システム立ち上げ時に自動的に入出
力装置構成の認識を行うことができるため、 ■入出力装置構成定義のための複雑な手段が不要となり
、オペレータの負担もなくなる。
As explained above, in the automatic recognition method of the input/output device configuration of the present invention, the input/output device configuration can be automatically recognized at the time of system startup. This eliminates the need for complicated means and the burden on the operator.

■入出力装置構成の異なる計算機システムに共通に適用
できる。
■Can be commonly applied to computer systems with different input/output device configurations.

■システム規模拡張等により装置構成を変更しても通常
と同様に装置構成を認識できる。
■Even if the device configuration is changed due to system scale expansion, etc., the device configuration can be recognized in the same way as usual.

等の効果がある。There are other effects.

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

第1図は本発明の入出力装置構成の自動認識方式の一実
施例の構成図、 第2図は実施例の動作のフローチャート、第3図は接続
チャネル取得手段の説明図、第4図は入出力パスの表現
形式例を示す図および、 第5図は入出力装置構成テーブルの論理的構成図である
。 図において、 100・・・計算機 101・・・接続チャネル取得手段 102・・・最大装置番号取得手段 103・・・装置属性取得手段 104・・・装置構成取得手段 105・・・チャネルプログラム 106・・・装置属性取得チャネルコマンド107・・
・入出力装置構成テーブル 20〜2n・・・チャネル 300〜3nms・・・入出力装置
Fig. 1 is a block diagram of an embodiment of the automatic recognition system for input/output device configuration of the present invention, Fig. 2 is a flowchart of the operation of the embodiment, Fig. 3 is an explanatory diagram of connection channel acquisition means, and Fig. 4 is A diagram showing an example of an input/output path representation format and FIG. 5 are a logical configuration diagram of an input/output device configuration table. In the figure, 100...Computer 101...Connection channel acquisition means 102...Maximum device number acquisition means 103...Device attribute acquisition means 104...Device configuration acquisition means 105...Channel program 106...・Device attribute acquisition channel command 107...
・I/O device configuration table 20-2n...Channel 300-3nms...I/O device

Claims (1)

【特許請求の範囲】 複数の入出力装置を入出力装置構成テーブルに従って管
理・制御する計算機システムにおいて、計算機に接続さ
れている全チャネルのチャネル番号を得る接続チャネル
取得手段と、 各チャネルに接続可能な最大入出力装置数である最大装
置番号を得る最大装置番号取得手段と、全入出力装置共
通の装置属性取得チャネルコマンドを各入出力パスで実
行し、接続されている入出力装置の装置名および装置属
性を得る装置属性取得手段と、 取得した装置名、装置属性、入出力パスに基づいて入出
力装置構成テーブルを作成する装置構成取得手段とを備
えたことを特徴とする入出力装置構成の自動認識方式。
[Scope of Claim] In a computer system that manages and controls a plurality of input/output devices according to an input/output device configuration table, there is provided a connection channel acquisition means for acquiring channel numbers of all channels connected to a computer, and connectable to each channel. The maximum device number acquisition means obtains the maximum device number that is the maximum number of input/output devices, and the device attribute acquisition channel command common to all input/output devices is executed on each input/output path to obtain the device name of the connected input/output device. an input/output device configuration characterized by comprising: device attribute acquisition means for acquiring device attributes; and device configuration acquisition means for creating an input/output device configuration table based on the acquired device name, device attributes, and input/output path. automatic recognition method.
JP24176088A 1988-09-27 1988-09-27 Automatic recognition system for constitution of input/ output device Pending JPH0290255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24176088A JPH0290255A (en) 1988-09-27 1988-09-27 Automatic recognition system for constitution of input/ output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24176088A JPH0290255A (en) 1988-09-27 1988-09-27 Automatic recognition system for constitution of input/ output device

Publications (1)

Publication Number Publication Date
JPH0290255A true JPH0290255A (en) 1990-03-29

Family

ID=17079120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24176088A Pending JPH0290255A (en) 1988-09-27 1988-09-27 Automatic recognition system for constitution of input/ output device

Country Status (1)

Country Link
JP (1) JPH0290255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0721111A (en) * 1993-07-06 1995-01-24 Nec Corp Priority level determination system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60222946A (en) * 1984-04-20 1985-11-07 Fujitsu Ltd Check system of channel mounting
JPS6180446A (en) * 1984-09-28 1986-04-24 Nec Corp Recognition system for constitution of device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60222946A (en) * 1984-04-20 1985-11-07 Fujitsu Ltd Check system of channel mounting
JPS6180446A (en) * 1984-09-28 1986-04-24 Nec Corp Recognition system for constitution of device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0721111A (en) * 1993-07-06 1995-01-24 Nec Corp Priority level determination system

Similar Documents

Publication Publication Date Title
JPH0793186A (en) Reusing method for existing test program
JPH0290255A (en) Automatic recognition system for constitution of input/ output device
JPH0528088A (en) Method for automatically generating hardware constitution information
JPS62127932A (en) Print spooling control system
JPH08171611A (en) Character recognizing system
JPH05165625A (en) Enforcement patch summary management output system classified by every module
JPH01137348A (en) Data writing system
JPH0765065A (en) Production control system generating device
JPH0594282A (en) Automatic jcl preparing system for file maintenance
JPH05143302A (en) Device and method for forming system design
JPH03209542A (en) System and device for automatic production of interlocking test data on communication control program
JPH035807A (en) Data record input/output system
JPH03137869A (en) Magnetic tape data recording system
JPH0561741A (en) File writing system
JPH0546364A (en) Job control language generating device
JPS63198139A (en) Data editing system for service processor
JPH04305732A (en) System forming method
JPH0628286A (en) Method and device for controlling communication
JPH05313830A (en) Retrieving system for generation control file
JPH08328911A (en) Command log system and command log method for computer system
JPH03124252U (en)
JPH0573392A (en) Data base update system
JPH07295874A (en) Cad system
JPS63201740A (en) Data editing system for service processor
JPH04347760A (en) Interlocking system generation method for online environment