JP3037137B2 - Automatic recognition controller for peripheral devices - Google Patents

Automatic recognition controller for peripheral devices

Info

Publication number
JP3037137B2
JP3037137B2 JP13528196A JP13528196A JP3037137B2 JP 3037137 B2 JP3037137 B2 JP 3037137B2 JP 13528196 A JP13528196 A JP 13528196A JP 13528196 A JP13528196 A JP 13528196A JP 3037137 B2 JP3037137 B2 JP 3037137B2
Authority
JP
Japan
Prior art keywords
code number
control unit
computer
peripheral device
automatic recognition
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 - Fee Related
Application number
JP13528196A
Other languages
Japanese (ja)
Other versions
JPH09319695A (en
Inventor
功人 中津
Original Assignee
四国日本電気ソフトウェア株式会社
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 四国日本電気ソフトウェア株式会社 filed Critical 四国日本電気ソフトウェア株式会社
Priority to JP13528196A priority Critical patent/JP3037137B2/en
Publication of JPH09319695A publication Critical patent/JPH09319695A/en
Application granted granted Critical
Publication of JP3037137B2 publication Critical patent/JP3037137B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • Y02B60/1235

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、周辺装置の自動認
識制御装置に関し、特に、電源投入後、周辺装置のID
番号の設定を自動的に行い認識してそれを記憶し管理す
る制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for automatically recognizing a peripheral device, and more particularly, to an identification device for a peripheral device after power is turned on.
The present invention relates to a control device for automatically setting and recognizing a number and storing and managing the number.

【0002】[0002]

【従来の技術】従来の認識制御装置では、周辺装置のI
D番号の設定を行う場合、オペレータが電源を投入する
前にID番号の設定を手動で行い、電源投入後、設定さ
れたID番号が認識されていた。しかしながら、ID番
号の設定をオペレータが手動で行う場合、誤った設定を
行ったとすると、従来の認識制御装置では、その装置の
認識が行われず、各装置間の誤動作を引き起こすことが
あった。
2. Description of the Related Art In a conventional recognition control device, I
When setting the D number, the operator manually sets the ID number before turning on the power, and the set ID number is recognized after the power is turned on. However, when an operator manually sets an ID number and makes an incorrect setting, the conventional recognition control device does not recognize the device and may cause a malfunction between the devices.

【0003】従来の公知例としては特開平1−2731
41号公報が知られている。
A known example of the prior art is disclosed in Japanese Patent Application Laid-Open No. 1-2731.
No. 41 is known.

【0004】この従来の周辺装置自動識別方式について
説明する。
[0004] This conventional peripheral device automatic identification method will be described.

【0005】この従来の周辺装置自動識別方式は、保守
的/試験のためのプログラムを利用するコンピュータシ
ステムに接続される可能性のあるすべての種類の周辺装
置の識別情報を持った識別情報テーブル群を備え、周辺
装置を起動してから得られる応答情報と一致する識別情
報を、識別情報テーブル群の中から選択する識別処理
と、この識別処理により得られた識別情報テーブルの内
容に基づいて、起動した周辺装置の入出力アドレスに相
当する周辺装置制御テーブルを生成するシーケンスを、
すべての入出力アドレスに対して実行し、周辺装置制御
テーブルを自動生成することにより行われる方式であ
る。
This conventional peripheral device automatic identification system uses an identification information table group having identification information of all types of peripheral devices which may be connected to a computer system using a conservative / test program. An identification process for selecting, from the identification information table group, identification information that matches the response information obtained after starting the peripheral device, and based on the content of the identification information table obtained by the identification process, A sequence for generating a peripheral device control table corresponding to the input / output address of the activated peripheral device,
This method is executed for all input / output addresses and is performed by automatically generating a peripheral device control table.

【0006】[0006]

【発明が解決しようとする課題】上述した特開平1−2
73141号公報などの従来の認識制御装置では、ID
番号の設定をオペレータが手動で行う場合、誤った設定
を行ったとすると、その装置の認識が行われず、各装置
間の誤動作を引き起こすという欠点があった。
SUMMARY OF THE INVENTION The above-mentioned Japanese Patent Laid-Open Publication No. 1-2
In a conventional recognition control device such as that described in JP-A-73141,
When the operator manually sets the number, if the setting is wrong, the device is not recognized and a malfunction between the devices occurs.

【0007】[0007]

【課題を解決するための手段】本発明の周辺装置の自動
認識制御装置は、共通バスで接続されるコンピュータと
周辺装置は各々に記憶管理制御部と自動認識制御部とを
備え、前記記憶管理制御部は、自装置および他装置のコ
ード番号と装置型名をコード番号テーブルに記憶し管理
する手段を含み、前記自動認識制御部は、電源投入時
に、他装置との接続の確認を行う応答処理と、他装置の
前記記憶管理制御部に記憶されている装置型名とコード
番号を取り出すコード番号取得処理と、前記コード番号
取得手段が取り出した他装置のコード番号を基に自装置
のコード番号を生成するコード番号生成処理と、前記生
成した自装置のコード番号ならびに前記取り出した他装
置のコード番号および装置型名を自装置の前記記憶管理
制御部に記憶させるコード番号記憶処理と、前記生成し
た自装置のコード番号および装置型名を他装置の前記記
憶管理制御部に記憶させるコード番号追加記憶処理とを
行う手段と、電源切断時に、自装置の前記記憶管理制御
部から自装置のコード番号を削除すると共に他装置の前
記記憶管理制御部から自装置のコード番号および装置型
名を削除するコード番号記憶削除処理を行う手段とを含
んで、成ることを特徴としている。
SUMMARY OF THE INVENTION An automatic recognition control apparatus for a peripheral device according to the present invention comprises a computer connected by a common bus.
Each peripheral device has a memory management control unit and an automatic recognition control unit.
The storage management control unit includes
Code numbers and device model names are stored and managed in the code number table.
The automatic recognition control unit includes a power-on
Response processing to confirm the connection with the other device,
Device type name and code stored in the storage management control unit
Code number acquisition processing for extracting a number, and the code number
The own device based on the code number of the other device retrieved by the acquisition unit
Code number generation processing for generating a code number for
The code number of the own device and the other device
The code number of the device and the model name of the device
A code number storing process to be stored in the control unit;
Enter the code number and model name of your own
Code number addition storage processing to be stored in the memory management control unit.
Means for performing, and when the power is turned off, the storage management control of the own apparatus.
Delete the code number of the own device from the
From the storage management control unit, the code number and device type of the own device
Means for performing code number storage deletion processing for deleting names.
Therefore , it is characterized by comprising .

【0008】[0008]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0009】図1は本発明の周辺装置の自動認識制御装
置に一実施の形態を有するバス5により共通に接続され
ているコンピュータ1,コンピュータ2,周辺装置3,
周辺装置4の構成例を示すブロック図、図2は図1の記
憶管理制御部20にあるコード番号テーブル30の構成
例を示す図、図3は図1の自動認識制御部10の動作を
示すフローチャート、図4は図1の自動認識制御部10
の動作を示すフローチャート、図5は図1の自動認識制
御部10の動作を示すフローチャート、図6は図1のコ
ンピュータ1,コンピュータ2,周辺装置3,周辺装置
4のコード番号テーブル30の構成例を示す図、図7は
図1のコンピュータ1,コンピュータ2,周辺装置3,
周辺装置4のコード番号テーブル30の構成例を示す
図、図8は図1のコンピュータ1,コンピュータ2,周
辺装置3,周辺装置4のコード番号テーブル30の構成
例を示す図、図9は図1のコンピュータ1,コンピュー
タ2,周辺装置3,周辺装置4のコード番号テーブル3
0の構成例を示す図、図10は図1のコンピュータ1,
コンピュータ2,周辺装置3,周辺装置4のコード番号
テーブル30の構成例を示す図、図11は図1のコンピ
ュータ1,コンピュータ2,周辺装置3,周辺装置4の
コード番号テーブル30の構成例を示す図、図12は図
1のコンピュータ1,コンピュータ2,周辺装置3,周
辺装置4のコード番号テーブル30の構成例を示す図、
図13は図1のコンピュータ1,コンピュータ2,周辺
装置3,周辺装置4のコード番号テーブル30の構成例
を示す図である。
FIG. 1 shows a computer 1, a computer 2, a peripheral device 3, and a common device connected to a peripheral device automatic recognition control device of the present invention by a bus 5 having an embodiment.
2 is a block diagram showing a configuration example of the peripheral device 4, FIG. 2 is a diagram showing a configuration example of a code number table 30 in the storage management control unit 20 of FIG. 1, and FIG. 3 shows an operation of the automatic recognition control unit 10 of FIG. FIG. 4 is a flowchart, and FIG.
5 is a flowchart showing the operation of the automatic recognition control unit 10 in FIG. 1, and FIG. 6 is a configuration example of the code number table 30 of the computer 1, computer 2, peripheral device 3, and peripheral device 4 in FIG. FIG. 7 shows the computer 1, the computer 2, the peripheral devices 3,
FIG. 8 is a diagram showing a configuration example of a code number table 30 of the peripheral device 4, FIG. 8 is a diagram showing a configuration example of the code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 of FIG. 1 computer 1, computer 2, peripheral device 3, peripheral device 4 code number table 3
FIG. 10 is a diagram showing a configuration example of a computer 1 of FIG.
FIG. 11 is a diagram showing a configuration example of a code number table 30 of the computer 2, the peripheral device 3, and the peripheral device 4. FIG. 11 is a diagram showing a configuration example of the code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 in FIG. FIG. 12 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 of FIG.
FIG. 13 is a diagram showing a configuration example of the code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 of FIG.

【0010】本発明の実施の形態について、図面を参照
しながら詳細に説明する。
Embodiments of the present invention will be described in detail with reference to the drawings.

【0011】図1において、コンピュータ1,2及び周
辺装置3,4が、バス5により共通に接続されている。
In FIG. 1, computers 1 and 2 and peripheral devices 3 and 4 are commonly connected by a bus 5.

【0012】自動認識制御部10は、自らの装置に電源
を投入させた場合、図3,図4に示すフローチャートの
動作を行う。記憶管理制御部20は、図2に示すコード
番号テーブル30において、自らの装置型名は装置型名
領域31に記憶して持っておく。自らの装置のコード番
号はコード番号領域33に記憶し、他の装置の装置型名
は装置型名領域32に記憶し、他の装置のコード番号は
コード番号領域34に記憶させる。
When the power of the apparatus is turned on, the automatic recognition control section 10 performs the operations of the flowcharts shown in FIGS. The storage management control unit 20 stores its own device type name in the device type name area 31 in the code number table 30 shown in FIG. The code number of the own device is stored in the code number area 33, the device type name of the other device is stored in the device type name region 32, and the code number of the other device is stored in the code number region.

【0013】図6に示すように、最初に、コンピュータ
1,コンピュータ2,周辺装置3,周辺装置4には電源
が投入されていないので、記憶管理制御部20にあるコ
ード番号テーブル30には、他の装置の装置型名とコー
ド番号が記憶されていない。
As shown in FIG. 6, first, the power is not supplied to the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4. Therefore, the code number table 30 in the storage management controller 20 includes The device type name and code number of another device are not stored.

【0014】まず、コンピュータ1の電源が投入された
とすると、図3,図4に示すフローチャートのように、
コンピュータ1にある自動認識制御部10が、バス5に
接続された他の自動認識制御部10に対して、接続応答
処理(動作ステップS11)を行い、接続の確認をす
る。接続応答処理によって、先頭コード番号Tを持って
いる他の自動認識制御部10がないことが接続応答チェ
ック(動作ステップS12)によって判明すると、コン
ピュータ1の自動認識制御部10が、コード番号生成処
理(動作ステップS13)によって、先頭コード番号T
を生成させる。生成された先頭コード番号Tが、コンピ
ュータ1のコード番号となり、コード番号記憶処理(動
作ステップS14)によって、図7に示すように記憶管
理制御部20のコード番号テーブル30に記憶される。
コード番号記憶処理を行った後、コンピュータ1にある
自動認識制御部10が、バス5に接続された他の自動認
識制御部10に対して、接続応答処理(動作ステップS
15)を行い、接続の確認をする。この場合、接続応答
チェック(動作ステップS16)によって、先頭コード
番号Tを持つコンピュータ1以外の装置の接続応答がな
いので、コード番号取得処理(動作ステップS17)及
び、コード番号追加記憶処理(動作ステップS18)は
行われない。
First, assuming that the power of the computer 1 is turned on, as shown in the flowcharts of FIGS.
The automatic recognition control unit 10 in the computer 1 performs a connection response process (operation step S11) to the other automatic recognition control units 10 connected to the bus 5 to confirm the connection. If it is determined by the connection response check (operation step S12) that there is no other automatic recognition control unit 10 having the leading code number T, the automatic recognition control unit 10 of the computer 1 executes the code number generation process. By the (operation step S13), the leading code number T
Is generated. The generated head code number T becomes the code number of the computer 1, and is stored in the code number table 30 of the storage management control unit 20 as shown in FIG. 7 by the code number storing process (operation step S14).
After performing the code number storing process, the automatic recognition control unit 10 in the computer 1 sends a connection response process to the other automatic recognition control units 10 connected to the bus 5 (operation step S
15) to confirm the connection. In this case, since the connection response check (operation step S16) indicates that there is no connection response of any device other than the computer 1 having the leading code number T, the code number acquisition processing (operation step S17) and the code number addition storage processing (operation step S16) S18) is not performed.

【0015】コンピュータ1の次に周辺装置3が電源を
投入した場合、図3,図4のフローチャートが示すよう
に、周辺装置3にある自動認識制御部10が、バス5に
接続されたコンピュータ1の自動認識装置10に対し
て、接続応答処理(動作ステップS11)を行う。接続
応答処理によって、コンピュータ1が先頭コード番号T
を持っていることが接続応答チェック(動作ステップS
12)によって判明すると、周辺装置3の自動認識制御
部10が、コード番号取得処理(動作ステップS21)
によって、図7に示すように、先頭コード番号Tを持っ
ているコンピュータ1の記憶管理制御部20のコード番
号テーブル30に記憶されている装置型名とコード番号
を取り出す。この場合、コンピュータ1以外の装置のコ
ード番号がないので、取り出されたコンピュータ1の装
置型名と先頭コード番号Tをもとに、周辺装置3の自動
認識制御部10にあるコード番号生成処理(動作ステッ
プS22)によって、取り出されたコード番号以外のコ
ード番号Uが生成される。生成されたコード番号Uは、
周辺装置3のコード番号となり、周辺装置3の装置型名
とそのコード番号は、周辺装置3の自動認識制御部10
のコード番号記憶処理(動作ステップS23)によっ
て、図8に示すように周辺装置3の記憶管理制御部20
のコード番号テーブル30に記憶する。また、追加した
周辺装置3の装置型名とコード番号は、バス5により共
通に接続されているコンピュータ1へ、周辺装置3の自
動認識制御部10が、コード番号追加記憶処理(動作ス
テップS24)によって、図8に示すようにコンピュー
タ1の記憶管理制御20のコード番号テーブル30に追
加して記憶される。
When the peripheral device 3 is turned on next to the computer 1, the automatic recognition control unit 10 in the peripheral device 3 connects the computer 1 connected to the bus 5 as shown in the flowcharts of FIGS. A connection response process (operation step S11) is performed on the automatic recognition device 10 of FIG. By the connection response processing, the computer 1 sets the first code number T
Checking the connection response (operation step S
12), the automatic recognition control unit 10 of the peripheral device 3 performs a code number acquisition process (operation step S21).
As a result, as shown in FIG. 7, the device type name and the code number stored in the code number table 30 of the storage management control unit 20 of the computer 1 having the head code number T are extracted. In this case, since there is no code number of a device other than the computer 1, the code number generation process (in the automatic recognition control unit 10 of the peripheral device 3) based on the device type name and the leading code number T of the computer 1 taken out By the operation step S22), a code number U other than the extracted code number is generated. The generated code number U is
It becomes the code number of the peripheral device 3, and the device type name and the code number of the peripheral device 3 are stored in the automatic recognition control unit 10 of the peripheral device 3.
As shown in FIG. 8, the storage management control unit 20 of the peripheral device 3 performs the code number storage process (operation step S23).
In the code number table 30. Further, the device type name and the code number of the added peripheral device 3 are sent to the computer 1 commonly connected by the bus 5 and the automatic recognition control unit 10 of the peripheral device 3 stores the code number additional storage process (operation step S24). Thus, as shown in FIG. 8, the data is additionally stored in the code number table 30 of the storage management control 20 of the computer 1.

【0016】次に、周辺装置4が電源を投入した場合、
図3,図4のフローチャートが示すように、周辺装置4
にある自動認識制御部10が、バス5に接続されたコン
ピュータ1、周辺装置3の自動認識装置10に対して、
接続応答処理(動作ステップS11)を行う。接続応答
処理によって、コンピュータ1が先頭コード番号Tを持
っていることが接続応答チェック(動作ステップS1
2)によって判明すると、周辺装置4の自動認識制御部
10が、コード番号取得処理(動作ステップS21)に
よって、図8に示すように、先頭コード番号Tを持って
いるコンピュータ1の記憶管理制御部20のコード番号
テーブル30に記憶されている装置型名とコード番号を
取り出す。この場合、取り出されたコンピュータ1及び
周辺装置3の装置型名とコード番号をもとに、周辺装置
4の自動認識制御部10にあるコード番号生成処理(動
作ステップS22)によって、取り出されたコード番号
以外のコード番号Vが生成される。生成されたコード番
号Vは、周辺装置4のコード番号となり、周辺装置4の
装置型名とそのコード番号は、周辺装置4の自動認識制
御部10のコード番号記憶処理(動作ステップS23)
によって、図9に示すように周辺装置4の記憶管理制御
部20のコード番号テーブル30に記憶する。また、追
加した周辺装置4の装置型名とコード番号は、バス5に
より共通に接続されているコンピュータ1及び周辺装置
3へ、周辺装置4の自動認識制御部10が、コード番号
追加記憶処理(動作ステップS24)によって、図9に
示すようにコンピュータ1及び周辺装置3の記憶管理制
御20のコード番号テーブル30に追加して記憶され
る。
Next, when the peripheral device 4 is turned on,
As shown in the flowcharts of FIGS.
The automatic recognition control unit 10 of the computer 1 connected to the bus 5 and the automatic recognition device 10 of the peripheral device 3
A connection response process (operation step S11) is performed. The connection response processing checks that the computer 1 has the first code number T (operation step S1).
When it is found out by 2), the automatic recognition control unit 10 of the peripheral device 4 executes the code number acquisition process (operation step S21) to execute the storage management control unit of the computer 1 having the leading code number T as shown in FIG. The device model name and the code number stored in the code number table 30 of 20 are taken out. In this case, based on the extracted device type names and code numbers of the computer 1 and the peripheral device 3, the code retrieved by the code number generation processing (operation step S 22) in the automatic recognition control unit 10 of the peripheral device 4. A code number V other than the number is generated. The generated code number V becomes the code number of the peripheral device 4, and the device type name and the code number of the peripheral device 4 are stored in the code number storing process of the automatic recognition control unit 10 of the peripheral device 4 (operation step S23).
Thus, as shown in FIG. 9, the information is stored in the code number table 30 of the storage management control unit 20 of the peripheral device 4. Further, the device type name and the code number of the added peripheral device 4 are sent to the computer 1 and the peripheral device 3 which are commonly connected by the bus 5, and the automatic recognition control unit 10 of the peripheral device 4 performs the code number addition storage process ( By the operation step S24), the data is additionally stored in the code number table 30 of the storage management control 20 of the computer 1 and the peripheral device 3 as shown in FIG.

【0017】次に、コンピュータ2が電源を投入した場
合、図3,図4のフローチャートが示すように、コンピ
ュータ2にある自動認識制御部10が、バス5に接続さ
れたコンピュータ1、周辺装置3、周辺装置4の自動認
識装置10に対して、接続応答処理(動作ステップS1
1)を行う。接続応答処理によって、コンピュータ1が
先頭コード番号Tを持っていることが接続応答チェック
(動作ステップS12)によって判明すると、コンピュ
ータ2の自動認識制御部10が、コード番号取得処理
(動作ステップS21)によって、図9に示すように、
先頭コード番号Tを持っているコンピュータ1の記憶管
理制御部20のコード番号テーブル30に記憶されてい
る装置型名とコード番号を取り出す。この場合、取り出
されたコンピュータ1、周辺装置3、周辺装置4の装置
型名とコード番号をもとに、コンピュータ2の自動認識
制御部10にあるコード番号生成処理(動作ステップS
22)によって、取り出されたコード番号以外のコード
番号Wが生成される。生成されたコード番号Wは、コン
ピュータ2のコード番号となり、コンピュータ2の装置
型名とそのコード番号は、コンピュータ2の自動認識制
御部10のコード番号記憶処理(動作ステップS23)
によって、図10に示すようにコンピュータ2の記憶管
理制御部20のコード番号テーブル30に記憶する。ま
た、追加したコンピュータ2の装置型名とコード番号
は、バス5により共通に接続されているコンピュータ
1、周辺装置3、周辺装置4へ、コンピュータ2の自動
認識制御部10が、コード番号追加記憶処理(動作ステ
ップS24)によって、図10に示すようにコンピュー
タ1、周辺装置3、周辺装置4の記憶管理制御20のコ
ード番号テーブル30に追加して記憶される。
Next, when the power of the computer 2 is turned on, as shown in the flow charts of FIGS. 3 and 4, the automatic recognition control unit 10 in the computer 2 connects the computer 1 connected to the bus 5, the peripheral device 3 In response to the automatic recognition device 10 of the peripheral device 4, the connection response process (operation step S1)
Perform 1). When the connection response check shows that the computer 1 has the leading code number T (operation step S12), the automatic recognition control unit 10 of the computer 2 executes the code number acquisition process (operation step S21). , As shown in FIG.
The device type name and the code number stored in the code number table 30 of the storage management control unit 20 of the computer 1 having the head code number T are extracted. In this case, based on the extracted device type names and code numbers of the computer 1, the peripheral device 3, and the peripheral device 4, the code number generation processing (operation step S) in the automatic recognition control unit 10 of the computer 2 is performed.
By 22), a code number W other than the extracted code number is generated. The generated code number W becomes the code number of the computer 2, and the device type name of the computer 2 and its code number are stored in the code number storing process of the automatic recognition control unit 10 of the computer 2 (operation step S23).
Thus, the code is stored in the code number table 30 of the storage management control unit 20 of the computer 2 as shown in FIG. Further, the device type name and the code number of the added computer 2 are stored in the computer 1, the peripheral device 3, and the peripheral device 4 which are commonly connected by the bus 5, and the automatic recognition control unit 10 of the computer 2 stores the code number additionally. As a result of the processing (operation step S24), the data is additionally stored in the code number table 30 of the storage management control 20 of the computer 1, the peripheral device 3, and the peripheral device 4, as shown in FIG.

【0018】また、上記の動作を行った後、図5のフロ
ーチャートが示すように、先頭コード番号Tを持ってい
るコンピュータ1の電源を切り、コンピュータ1の電源
がすべて切れる前に、コンピュータ1にある自動認識制
御部10が、バス5に接続されたコンピュータ2、周辺
装置3、周辺装置4の自動認識装置10に対して、接続
応答処理(動作ステップS31)を行う。接続応答処理
によって、コンピュータ2、周辺装置3、周辺装置4の
自動認識制御部からの接続が、接続応答チェック(動作
ステップS32)によって判明すると、コンピュータ1
の自動認識制御部10が、コード番号記憶削除処理(動
作ステップS33)によって、図11に示すように、先
頭コード番号Tを持っているコンピュータ1の記憶管理
制御部20のコード番号テーブル30に記憶されている
装置型名とコード番号を消去する。図11に示すよう
に、先頭コード番号Tを持ている装置がなくなった後、
もう一度コンピュータ1の電源を投入した場合、図3,
図4のフローチャートが示すように、コンピュータ1に
ある自動認識制御部10が、バス5に接続された他の自
動認識制御部10に対して、接続応答処理(動作ステッ
プS11)を行い、接続の確認をする。接続応答処理に
よって、先頭コード番号Tを持っている他の自動認識制
御部10がないことが接続応答チェック(動作ステップ
S12)によって判明すると、コンピュータ1の自動認
識制御部10が、コード番号生成処理(動作ステップS
13)によって、先頭コード番号Tを生成させる。生成
された先頭コード番号Tが、コンピュータ1のコード番
号となり、コード番号記憶処理(動作ステップS14)
によって、図12に示すように記憶管理制御部20のコ
ード番号テーブル30に記憶される。コード番号記憶処
理を行った後、コンピュータ1にある自動認識制御部1
0が、バス5に接続された他の自動認識制御部10に対
して、接続応答処理(動作ステップS15)を行い、接
続の確認をする。この場合、接続応答チェック(動作ス
テップS16)によって、先頭コード番号Tを持つコン
ピュータ1以外の装置の接続応答があると判明すると、
コード番号取得処理(動作ステップS17)によって、
先頭コード番号Tの次のコード番号番号Uを持っている
周辺装置3の記憶管理制御部20のコード番号テーブル
30に記憶されている装置型名とコード番号を取り出
す。取り出されたコード番号と装置型名、この場合、周
辺装置3のコード番号Uと装置型名、周辺装置4のコー
ド番号Vと装置型名、コンピュータ2のコード番号Wと
装置型名を、コード番号追加記憶処理(動作ステップS
18)によって、図13に示すようにコンピュータ2の
記憶管理制御部20のコード番号テーブル30に記憶す
る。また、コンピュータ1の自動認識制御部10が、コ
ード番号追加記憶処理(動作ステップS18)によっ
て、コンピュータ1の先頭番号コード番号Tと装置型名
を、周辺装置3、周辺装置4、コンピュータ2の記憶管
理制御部20のコード番号テーブル30に記憶する。
After the above operation is performed, as shown in the flowchart of FIG. 5, the power of the computer 1 having the leading code number T is turned off, and the computer 1 is turned off before the power of the computer 1 is completely turned off. An automatic recognition control unit 10 performs a connection response process (operation step S31) to the automatic recognition devices 10 of the computer 2, the peripheral device 3, and the peripheral device 4 connected to the bus 5. When the connection from the automatic recognition control unit of the computer 2, the peripheral device 3, and the peripheral device 4 is found by the connection response check (operation step S32) by the connection response process, the computer 1
As shown in FIG. 11, the automatic recognition control unit 10 of the computer 1 stores the code number in the code number table 30 of the storage management control unit 20 of the computer 1 having the leading code number T by the code number storage deletion processing (operation step S33). Delete the model name and code number of the device. As shown in FIG. 11, after the device having the leading code number T disappears,
When the power of the computer 1 is turned on again, FIG.
As shown in the flowchart of FIG. 4, the automatic recognition control unit 10 in the computer 1 performs a connection response process (operation step S11) to another automatic recognition control unit 10 connected to the bus 5, and performs connection connection. Make sure. If it is determined by the connection response check (operation step S12) that there is no other automatic recognition control unit 10 having the leading code number T, the automatic recognition control unit 10 of the computer 1 executes the code number generation process. (Operation step S
13), a head code number T is generated. The generated head code number T becomes the code number of the computer 1 and stores the code number (operation step S14).
Thus, the data is stored in the code number table 30 of the storage management control unit 20 as shown in FIG. After performing the code number storing process, the automatic recognition control unit 1 in the computer 1
0 performs a connection response process (operation step S15) to another automatic recognition control unit 10 connected to the bus 5, and confirms the connection. In this case, if it is determined by the connection response check (operation step S16) that there is a connection response of a device other than the computer 1 having the leading code number T,
By the code number acquisition process (operation step S17),
The device type name and the code number stored in the code number table 30 of the storage management control unit 20 of the peripheral device 3 having the code number U following the head code number T are extracted. The extracted code number and device type name, in this case, the code number U and device type name of the peripheral device 3, the code number V and device type name of the peripheral device 4, the code number W and device type name of the computer 2, Number addition storage processing (operation step S
18), the data is stored in the code number table 30 of the storage management control unit 20 of the computer 2 as shown in FIG. In addition, the automatic recognition control unit 10 of the computer 1 stores the start number code number T and the device type name of the computer 1 in the peripheral device 3, the peripheral device 4, and the computer 2 by the code number addition storing process (operation step S <b> 18). It is stored in the code number table 30 of the management control unit 20.

【0019】この構成例によって、コンピュータ及び周
辺装置が自動的に接続を認識し、それぞれにおいて記憶
し管理を行う。
According to this configuration example, the computer and the peripheral device automatically recognize the connection and store and manage the connection.

【0020】[0020]

【発明の効果】以上説明したように、本発明の周辺装置
の自動認識制御装置は、記憶管理制御部を追加すること
により、各周辺装置が接続の設定を記憶して管理を行う
ため、各周辺装置間の誤動作の防止ができると共に、自
動認識制御部を追加することにより、自動的に各装置間
の接続の設定を行い、認識することができるため、以前
のような各周辺装置間の接続の設定を手動で行うことを
不要にすることができるという効果を奏する。
As described above, the peripheral device automatic recognition control device according to the present invention adds a storage management control unit, so that each peripheral device stores and manages connection settings. By preventing malfunctions between peripheral devices, and by adding an automatic recognition control unit, it is possible to automatically set and recognize the connection between each device, so that the There is an effect that it is not necessary to manually set the connection.

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

【図1】本発明の周辺装置の自動認識制御装置に一実施
の形態を有するバス5により共通に接続されているコン
ピュータ1,コンピュータ2,周辺装置3,周辺装置4
の構成例を示すブロック図である。
FIG. 1 shows a computer 1, a computer 2, a peripheral device 3, and a peripheral device 4 which are commonly connected to a peripheral device automatic recognition control device of the present invention by a bus 5 having an embodiment.
FIG. 3 is a block diagram illustrating a configuration example of FIG.

【図2】図1の記憶管理制御部20にあるコード番号テ
ーブル30の構成例を示す図である。
FIG. 2 is a diagram showing a configuration example of a code number table 30 in the storage management control unit 20 of FIG.

【図3】図1の自動認識制御部10の動作を示すフロー
チャートである。
FIG. 3 is a flowchart showing an operation of the automatic recognition control unit 10 of FIG.

【図4】図1の自動認識制御部10の動作を示すフロー
チャートである。
FIG. 4 is a flowchart showing an operation of the automatic recognition control unit 10 of FIG.

【図5】図1の自動認識制御部10の動作を示すフロー
チャートである。
FIG. 5 is a flowchart showing an operation of the automatic recognition control unit 10 of FIG.

【図6】図1のコンピュータ1,コンピュータ2,周辺
装置3,周辺装置4のコード番号テーブル30の構成例
を示す図である。
FIG. 6 is a diagram showing a configuration example of a code number table 30 of the computer 1, computer 2, peripheral device 3, and peripheral device 4 of FIG.

【図7】図1のコンピュータ1,コンピュータ2,周辺
装置3,周辺装置4のコード番号テーブル30の構成例
を示す図である。
7 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 in FIG.

【図8】図1のコンピュータ1,コンピュータ2,周辺
装置3,周辺装置4のコード番号テーブル30の構成例
を示す図である。
8 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 in FIG.

【図9】図1のコンピュータ1,コンピュータ2,周辺
装置3,周辺装置4のコード番号テーブル30の構成例
を示す図である。
9 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 in FIG.

【図10】図1のコンピュータ1,コンピュータ2,周
辺装置3,周辺装置4のコード番号テーブル30の構成
例を示す図である。
FIG. 10 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 of FIG.

【図11】図1のコンピュータ1,コンピュータ2,周
辺装置3,周辺装置4のコード番号テーブル30の構成
例を示す図である。
11 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 in FIG.

【図12】図1のコンピュータ1,コンピュータ2,周
辺装置3,周辺装置4のコード番号テーブル30の構成
例を示す図である。
FIG. 12 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 of FIG.

【図13】図1のコンピュータ1,コンピュータ2,周
辺装置3,周辺装置4のコード番号テーブル30の構成
例を示す図である。
13 is a diagram showing a configuration example of a code number table 30 of the computer 1, the computer 2, the peripheral device 3, and the peripheral device 4 in FIG.

【符号の説明】 1 コンピュータ 2 コンピュータ 3 周辺装置 4 周辺装置 5 バス 10 自動認識制御部 20 記憶管理制御部 30 コード番号テーブル 31 装置型名領域 32 装置型名領域 33 コード番号領域 34 コード番号領域[Description of Signs] 1 Computer 2 Computer 3 Peripheral device 4 Peripheral device 5 Bus 10 Automatic recognition control unit 20 Storage management control unit 30 Code number table 31 Device model name area 32 Device model name area 33 Code number area 34 Code number area

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 共通バスで接続されるコンピュータと周
辺装置は各々に記憶管理制御部と自動認識制御部とを備
え、 前記記憶管理制御部は、 自装置および他装置のコード番号と装置型名をコード番
号テーブルに記憶し管理する手段を含み、 前記自動認識制御部は、 電源投入時に、他装置との接続の確認を行う応答処理
と、他装置の前記記憶管理制御部に記憶されている装置
型名とコード番号を取り出すコード番号取得処理と、前
記コード番号取得手段が取り出した他装置のコード番号
を基に自装置のコード番号を生成するコード番号生成処
理と、前記生成した自装置のコード番号ならびに前記取
り出した他装置のコード番号および装置型名を自装置の
前記記憶管理制御部に記憶させるコード番号記憶処理
と、前記生成した自装置のコード番号および装置型名を
他装置の前記記憶管理制御部に記憶させるコード番号追
加記憶処理とを行う手段と、 電源切断時に、自装置の前記記憶管理制御部から自装置
のコード番号を削除すると共に他装置の前記記憶管理制
御部から自装置のコード番号および装置型名を削除する
コード番号記憶削除処理を行う手段とを含んで、 成る ことを特徴とする周辺装置の自動認識制御装置。
1. A computer connected to a computer connected to a common bus.
Each of the edge devices has a memory management control unit and an automatic recognition control unit.
The storage management control unit stores the code number of the own device and the other device and the device type name as the code number.
Comprises means for managing stored in No. table, the automatic recognition control section, when the power is turned on, the response process to verify the connection with the other device
And a device stored in the storage management control unit of another device
Code number acquisition processing to extract the model name and code number
Code number of the other device retrieved by the code number acquisition means
Code number generation process that generates the code number of the own device based on
And the code number of the generated own device and the
The code number and model name of the other device
Code number storage processing to be stored in the storage management control unit
And the generated code number and device type name of the own device.
A code number added to be stored in the storage management control unit of another device.
Means for performing an additional storage process, and when the power is turned off, the storage management controller of the own device
And the storage management system of another device.
Delete the code number and device type name of your own device from the control
And means for performing code number storage deletion process, the automatic recognition control unit of the peripheral device characterized by comprising.
JP13528196A 1996-05-29 1996-05-29 Automatic recognition controller for peripheral devices Expired - Fee Related JP3037137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13528196A JP3037137B2 (en) 1996-05-29 1996-05-29 Automatic recognition controller for peripheral devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13528196A JP3037137B2 (en) 1996-05-29 1996-05-29 Automatic recognition controller for peripheral devices

Publications (2)

Publication Number Publication Date
JPH09319695A JPH09319695A (en) 1997-12-12
JP3037137B2 true JP3037137B2 (en) 2000-04-24

Family

ID=15148044

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13528196A Expired - Fee Related JP3037137B2 (en) 1996-05-29 1996-05-29 Automatic recognition controller for peripheral devices

Country Status (1)

Country Link
JP (1) JP3037137B2 (en)

Also Published As

Publication number Publication date
JPH09319695A (en) 1997-12-12

Similar Documents

Publication Publication Date Title
US20040187105A1 (en) Driver software installing system
JP2000181687A (en) Controller, electronic equipment, environment setting method, and computer-readable recording medium storing program
EP1179783A2 (en) Electronic device having a data memory unit, apparatus using the same, and method of reading out data
CN112506539B (en) Firmware updating method and device, electronic equipment and storage medium
JP3037137B2 (en) Automatic recognition controller for peripheral devices
JP2898951B2 (en) Communication device
US5555410A (en) Generation management system and method for managing resource generation using pre-edit and post-edit line renumbering
JP3028055B2 (en) PC card system and program rewriting method
JPH08147062A (en) Password collating method of computer
JPH09330272A (en) Bios control system
JP4362777B2 (en) Programming device, symbol automatic registration method, program, and recording medium
JP2001092713A (en) Device and method for writing data
JP2820200B2 (en) Switching device and switching device restart processing method
JPH08171621A (en) Ic card
JP4434428B2 (en) Information terminal equipment
JPH09160783A (en) Program download method
JP2018032056A (en) USB communication method
JP2000010919A (en) Automatic recognition system for line information and terminal information of on-line system
JPH0511987A (en) Application program starting method
JPH064167A (en) Restoring system for fault of disk medium
JPH05173812A (en) Exclusive control system
JP3891128B2 (en) Online transaction processing system terminal definition generation / update method
JP2679631B2 (en) Terminal information change method in online system
CN113726554A (en) Method for restoring network equipment version and network equipment
JP2875640B2 (en) Document processing apparatus and method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000201

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees