[go: up one dir, main page]

JPH04330548A - Information processing system - Google Patents

Information processing system

Info

Publication number
JPH04330548A
JPH04330548A JP2400319A JP40031990A JPH04330548A JP H04330548 A JPH04330548 A JP H04330548A JP 2400319 A JP2400319 A JP 2400319A JP 40031990 A JP40031990 A JP 40031990A JP H04330548 A JPH04330548 A JP H04330548A
Authority
JP
Japan
Prior art keywords
device name
peripheral control
command
input
control device
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.)
Granted
Application number
JP2400319A
Other languages
Japanese (ja)
Other versions
JP2606630B2 (en
Inventor
Kunio Tagami
田上 邦夫
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 JP2400319A priority Critical patent/JP2606630B2/en
Publication of JPH04330548A publication Critical patent/JPH04330548A/en
Application granted granted Critical
Publication of JP2606630B2 publication Critical patent/JP2606630B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To detect the connection error before operation by receiving a device name set command and normally terminating the device name set command in the case of indication of setting of the same device name whether it is not set yet or is already set but abnormally terminating it in the case of indication of a different device name. CONSTITUTION:A central processing unit 1 provided with a program 4 and input/output ports 11 to 14, peripheral controllers 31 and 32 of the same type, and input/output interface busses 21 to 24 which connect peripheral controllers 31 and 32 to the central processing unit 1 are provided. In this case, the device name set command is used by the program 4 to indicate setting of the device name to peripheral controllers 31 and 32 from all input/output interface busses 21 to 24. When peripheral controllers 31 and 32 receive the device name set command, they normally terminate it in the case of indication of setting of the same device name whether it is not set yet or is already set, but they abnormally terminate it in the case of indication of setting of a different device name. After normal termination of the first command, the program 4 issues the device name set command to a next input/output port 12.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は情報処理システムに関し
、特に、複数の周辺制御装置と、その周辺制御装置の各
々を中央処理装置に接続する複数の入出力インタフェ―
スバスを有し、その複数の入出力インタフェ―スバスが
正しく周辺制御装置を接続しているかを確認するように
した情報処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system, and in particular to a plurality of peripheral control devices and a plurality of input/output interfaces connecting each of the peripheral control devices to a central processing unit.
The present invention relates to an information processing system that has a plurality of input/output interface buses and is configured to check whether peripheral control devices are correctly connected to the plurality of input/output interface buses.

【0002】0002

【従来の技術】負荷分散および信頼性向上の目的から、
中央処理装置と周辺制御装置の間に複数の入出力インタ
フェ―スバスを設ける、いわゆるクロスコール接続が従
来から行なわれているが、その入出力インタフェ―スバ
スの実体であるケーブルの接続は、人手によるものであ
り、中央処理装置側の目的とするポートから正しく目的
とする周辺制御装置へケーブルが接続されているか否か
は、該周辺制御装置へ入出力コマンドを発行してみるテ
ストによっていた。
[Background Art] For the purpose of load distribution and reliability improvement,
A so-called cross-call connection, in which multiple input/output interface buses are provided between a central processing unit and a peripheral control unit, has traditionally been used, but the cables that constitute the input/output interface buses have to be connected manually. Whether or not the cable is correctly connected from the intended port on the central processing unit side to the intended peripheral control device is determined by a test in which input/output commands are issued to the peripheral control device.

【0003】0003

【発明が解決しようとする課題】ところがこれではケー
ブルが物理的に正しく周辺制御装置に接続されているこ
とはテストできるが、目的とする周辺制御装置に接続さ
れているのかどうかは確認できない。同型の周辺制御装
置が複数接続されるような情報処理システムでは図2の
ように接続するつもりで図1のように接続してしまって
も、システムを実際に使い始めてみるまでその間違いに
気づかなかったということもあった。
[Problem to be Solved by the Invention] However, although this method can test whether the cable is physically correctly connected to the peripheral control device, it cannot be confirmed whether the cable is connected to the intended peripheral control device. In an information processing system where multiple peripheral control devices of the same type are connected, even if you connect them as shown in Figure 1 with the intention of connecting them as shown in Figure 2, you will not realize the mistake until you actually start using the system. There were times when it happened.

【0004】0004

【課題を解決するための手段】本発明は、中央処理装置
と、複数の周辺制御装置と、その周辺制御装置の各々を
前記中央処理装置に接続する複数の入出力インタフェ―
スバスとを具備する情報処理システムにおいて、前記中
央処理装置が、各々の前記周辺制御装置に対して複数存
在する入出力インタフェ―スバスのそれぞれを使用して
順次、システムで一意に名付けた周辺制御装置の論理名
を該周辺制御装置に対して設定指示する装置名設定コマ
ンドを出力し、その結果、装置名不一致の報告が周辺制
御装置から報告されれば、その旨を表示する手段とを有
し、前記周辺制御装置が、前記装置名設定コマンドが入
力されたとき、装置名が未設定であれば、該コマンドに
付属する装置名を記憶し、かつコマンドを正常に終了し
たと前記中央処理装置に報告し、すでに設定済みであれ
ばその記憶している装置名と該コマンドにより送り込ま
れてきた装置名とを比較し、一致すれば正常終了を報告
し、不一致であれば“装置名不一致”の異常終了を報告
する手段を有することの特徴とするものである。
Means for Solving the Problems The present invention provides a central processing unit, a plurality of peripheral control devices, and a plurality of input/output interfaces that connect each of the peripheral control devices to the central processing unit.
In the information processing system, the central processing unit sequentially uses each of the plurality of input/output interface buses for each of the peripheral control devices to identify peripheral control devices uniquely named in the system. means for outputting a device name setting command for instructing the peripheral control device to set a logical name for the peripheral control device, and, if a device name mismatch is reported from the peripheral control device as a result, displaying the fact. , when the device name setting command is input, the peripheral control device stores the device name attached to the command if the device name has not been set, and the central processing unit determines that the command has been successfully completed. If it has already been set, compare the stored device name with the device name sent by the command, and if they match, report normal completion, and if they do not match, "device name mismatch". It is characterized by having a means for reporting abnormal termination.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0006】図1は本発明の一実施例の構成図である。 この情報処理システムは、プログラム4および入出力ポ
ート11〜14を有する中央処理装置1と、まったく同
一タイプの周辺制御装置31,32と、周辺制御装置3
1,32を中央処理装置1に接続する入出力インタフェ
―スバス21〜24とを具備する。
FIG. 1 is a block diagram of one embodiment of the present invention. This information processing system includes a central processing unit 1 having a program 4 and input/output ports 11 to 14, peripheral control devices 31 and 32 of exactly the same type, and a peripheral control device 3.
1 and 32 to the central processing unit 1.

【0007】またこの実施例のシステムでは、周辺制御
装置は個別に論理名をつけて識別されるものとし、ここ
では周辺制御装置31をMS01,周辺制御装置32を
MS02と名付けているものとする。
In the system of this embodiment, it is assumed that the peripheral control devices are individually identified by giving logical names, and here, the peripheral control device 31 is named MS01, and the peripheral control device 32 is named MS02. .

【0008】さて、この例では本来図2のような構成を
するつもりでいたものとする。すなわち、中央処理装置
側の入出力ポート11と入出力ポート12で周辺制御装
置31と接続し、入出力ポート13と入出力ポート14
で周辺制御装置32と接続するつもりであった。したが
って前もってシステム内に用意される構成要素は図3の
ものである。
Now, in this example, it is assumed that the configuration as shown in FIG. 2 was originally intended. That is, the input/output ports 11 and 12 on the central processing unit side are connected to the peripheral control device 31, and the input/output ports 13 and 14 are connected to the peripheral control device 31.
The intention was to connect it to the peripheral control device 32. The components previously provided in the system are therefore those of FIG.

【0009】それを図1のように接続間違いをしてしま
ったとする。物理的な接続は正しいし、かつ周辺制御装
置31,32とも同一タイプのものであるので、従来の
、ただ物理的な接続の確認を周辺制御装置に対してその
周辺制御装置に固有の入出力コマンドを使用して行なっ
ても、入出力インタフェ―スバスの接続間違いは検出で
きない。
Suppose that a connection error is made as shown in FIG. Since the physical connection is correct and both peripheral control devices 31 and 32 are of the same type, the conventional method of simply checking the physical connection is to check the input/output specific to the peripheral control device. Even if you use a command, incorrect connection of the input/output interface bus cannot be detected.

【0010】そこで、この実施例では、そのような間違
いを検出するためのプログラム4を用意する。図4はプ
ログラム4の処理フローを示す。プログラム4は、前も
って存在するシステムの構成情報(図3)をもとにすべ
ての入出力インタフェ―スバスに対して、順次、装置名
設定コマンドを発行していく。まず、入出力ポート11
を使用して“MS01”と指示する装置名設定コマンド
が発行される。これは周辺制御装置31で受け取られる
。周辺制御装置31はその時点では装置名が未設定の状
態であるのでこのコマンドを受け入れ、自身のしかるべ
き記憶域に“MS01”という装置名を設定し、コマン
ドを正常終了させる。
Therefore, in this embodiment, a program 4 for detecting such mistakes is prepared. FIG. 4 shows the processing flow of program 4. The program 4 sequentially issues device name setting commands to all input/output interface buses based on previously existing system configuration information (FIG. 3). First, input/output port 11
A device name setting command that specifies "MS01" is issued using . This is received by the peripheral control device 31. Since the peripheral control device 31 has no device name set at that point, it accepts this command, sets the device name "MS01" in its own appropriate storage area, and normally terminates the command.

【0011】プログラム4は、一回目のコマンドが正常
終了すると次の入出力ポート12へ装置名設定コマンド
を発行していく。このときも図3の構成情報によると設
定すべき装置名は“MS01”である。ところが入出力
ポート12は周辺制御装置32に接続されている。周辺
制御装置32はこの時点では装置名が未設定の状態であ
るのでこのコマンドを受け入れ、自身のしかるべき領域
に“MS01”という装置名を設定し、コマンドを正常
終了させる。
When the first command ends normally, the program 4 issues a device name setting command to the next input/output port 12. At this time as well, according to the configuration information in FIG. 3, the device name to be set is "MS01". However, the input/output port 12 is connected to the peripheral control device 32. Since the peripheral control device 32 has no device name set at this point, it accepts this command, sets the device name "MS01" in its own appropriate area, and normally terminates the command.

【0012】プログラム4は、二回目のコマンドが正常
終了すると次の入出力ポート13へ装置名設定コマンド
を発行していく。このときは図3の構成情報によると設
定すべき装置名は“MS02”である。ところが入出力
ポート13は周辺制御装置31に接続されている。周辺
制御装置31にはすでに“MS01”という装置名が設
定されている。そこで周辺制御装置31はその設定済み
の“MS01”と、いま装置名設定コマンドで受け取っ
た“MS02”とを比較し同一でないのでこのコマンド
を異常終了させる。その際プログラム4に対して設定済
みの装置名は“MS01”であるということも同時に報
告する。
When the second command is successfully completed, the program 4 issues a device name setting command to the next input/output port 13. At this time, according to the configuration information shown in FIG. 3, the device name to be set is "MS02". However, the input/output port 13 is connected to the peripheral control device 31. The device name "MS01" has already been set in the peripheral control device 31. Therefore, the peripheral control device 31 compares the already set "MS01" with "MS02" that has just been received in the device name setting command, and since they are not the same, it abnormally terminates this command. At this time, it is also reported to the program 4 that the already set device name is "MS01".

【0013】プログラム4は、三回目の装置名設定コマ
ンドが異常終了すると、そのコマンドを発行したときの
ポート番号と、設定しようとした装置名と、周辺制御装
置から報告された既設定済みの装置名とを含むエラーメ
ッセージを表示する。
[0013] When the third device name setting command terminates abnormally, program 4 stores the port number when the command was issued, the device name that was attempted to be set, and the already set device reported by the peripheral control device. Display an error message containing the name.

【0014】つぎにプログラム4は、次の入出力ポート
14へ装置名設定コマンドを発行していく。このときは
図3の構成情報によると設定すべき装置名は“MS02
”である。入出力ポート14は正しく接続されているが
、周辺制御装置32にはすでに“MS01”という装置
名が設定されている。そこで周辺制御装置32はその設
定済みの“MS01”と、いま装置名設定コマンドで受
け取った“MS02”とを比較し同一でないのでこのコ
マンドを異常終了させる。その際プログラム4に対して
設定済みの装置名は“MS01”であるということも同
時に報告する。
Next, the program 4 issues a device name setting command to the next input/output port 14. At this time, according to the configuration information in Figure 3, the device name to be set is “MS02
". The input/output port 14 is connected correctly, but the device name "MS01" is already set in the peripheral control device 32. Therefore, the peripheral control device 32 uses the already set "MS01" and the device name "MS01". It compares it with "MS02" that was just received with the device name setting command, and since they are not the same, the command is abnormally terminated.At this time, it is also reported to the program 4 that the already set device name is "MS01."

【0015】プログラム4は、四回目の装置名設定コマ
ンドが異常終了すると、そのコマンドを発行したときの
ポート番号と、設定しようとした装置名と、周辺制御装
置から報告された既設定済みの装置名とを含むエラーメ
ッセージを表示する。
When the fourth device name setting command terminates abnormally, program 4 stores the port number when the command was issued, the device name that was attempted to be set, and the already set device reported by the peripheral control device. Display an error message containing the name.

【0016】この実施例では周辺制御装置の構成は以上
のものですべてであるのでここでプログラムは終了する
In this embodiment, the configuration of the peripheral control device is as described above, so the program ends here.

【0017】プログラム実行の結果は、例えば以下のよ
うなエラーメッセージが表示されたことになる。
As a result of program execution, the following error message is displayed, for example.

【0018】   ILLIGAL PATH CONNECTION
   PORT#3  REQ=MSO2  RES=
MSO1  ILLIGAL PATH CONNEC
TION   PORT#3  REQ=MSO2  
RES=MSO1  ILLIGAL PATH CO
NNECTION   PORT#4  REQ=MS
O2  RES=MSO1 ここで、REQ=は装置名設定コマンドで設定しようと
した装置名、RES=は実際に設定済みの装置名を示す
。このメッセージによってMS01とMS02との間で
入出力インタフェ―スバスの接続間違いがあることがわ
かる。
ILLIGAL PATH CONNECTION
PORT#3 REQ=MSO2 RES=
MSO1 ILLIGAL PATH CONNEC
TION PORT#3 REQ=MSO2
RES=MSO1 ILLIGAL PATH CO
NNECTION PORT#4 REQ=MS
O2 RES=MSO1 Here, REQ= indicates the device name to be set using the device name setting command, and RES= indicates the actually set device name. This message indicates that there is a connection error in the input/output interface bus between MS01 and MS02.

【0019】[0019]

【発明の効果】以上説明したように本発明は、装置名設
定コマンドを用いてすべての入出力インタフェ―スバス
から周辺制御装置に対して装置名を設定指示するプログ
ラムと、装置名設定コマンドを受けたとき未設定および
設定済みでも同一装置名の設定指示ならこれを正常終了
させ、異なる装置名ならこれを異常終了させる周辺制御
装置とにより構成することにより、各々の周辺制御装置
がそれぞれ複数の入出力インタフェ―スバスを接続する
場合において、その接続間違いをシステムの運用に入る
前の段階で速かに検出できるという効果を奏する。
[Effects of the Invention] As explained above, the present invention provides a program that instructs a peripheral control device to set a device name from all input/output interface buses using a device name setting command, and a program that uses a device name setting command to set a device name. By configuring the peripheral control device with a peripheral control device that terminates normally if the same device name is specified and terminates abnormally if the device name is different, each peripheral control device can have multiple inputs. When connecting an output interface bus, it is possible to quickly detect a connection error before the system starts operating.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】本発明の一実施例の構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】同実施例における構成情報を示す図である。FIG. 3 is a diagram showing configuration information in the same embodiment.

【図4】図1中のプログラムの処理を示すフロー図であ
る。
FIG. 4 is a flow diagram showing the processing of the program in FIG. 1;

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

1    中央処理装置 4    プログラム 11    入出力ポート 12    入出力ポート 13    入出力ポート 14    入出力ポート 21    入出力インタフェ―スバス22    入
出力インタフェ―スバス23    入出力インタフェ
―スバス24    入出力インタフェ―スバス31 
   周辺制御装置 32    周辺制御装置
1 Central processing unit 4 Program 11 Input/output port 12 Input/output port 13 Input/output port 14 Input/output port 21 Input/output interface bus 22 Input/output interface bus 23 Input/output interface bus 24 Input/output interface bus 31
Peripheral control device 32 Peripheral control device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  中央処理装置と、複数の周辺制御装置
と、その周辺制御装置の各々を前記中央処理装置に接続
する複数の入出力インタフェ―スバスとを具備する情報
処理システムにおいて、前記中央処理装置が、各々の前
記周辺制御装置に対して複数存在する入出力インタフェ
―スバスのそれぞれを使用して順次、システムで一意に
名付けた周辺制御装置の論理名を該周辺制御装置に対し
て設定指示する装置名設定コマンドを出力し、その結果
、装置名不一致の報告が周辺制御装置から報告されれば
、その旨を表示する手段とを有し、前記周辺制御装置が
、前記装置名設定コマンドが入力されたとき、装置名が
未設定であれば、該コマンドに付属する装置名を記憶し
、かつコマンドを正常に終了したと前記中央処理装置に
報告し、すでに設定済みであればその記憶している装置
名と該コマンドにより送り込まれてきた装置名とを比較
し、一致すれば正常終了を報告し、不一致であれば“装
置名不一致”の異常終了を報告する手段を有することの
特徴とする情報処理システム。
1. An information processing system comprising a central processing unit, a plurality of peripheral control devices, and a plurality of input/output interface buses connecting each of the peripheral control devices to the central processing unit, wherein the central processing unit The device sequentially uses each of the plurality of input/output interface buses for each peripheral control device to instruct the peripheral control device to set a logical name for the peripheral control device that is uniquely named in the system. means for outputting a device name setting command to output a device name setting command, and, if a peripheral control device reports a device name mismatch as a result, displaying a notification to that effect, the peripheral control device outputs a device name setting command to When input, if the device name has not been set, it stores the device name attached to the command and reports to the central processing unit that the command has completed normally, and if it has already been set, it remembers the device name attached to the command. The device name sent by the command is compared with the device name sent by the command, and if they match, a normal termination is reported, and if they do not match, an abnormal termination of "device name mismatch" is reported. information processing system.
JP2400319A 1990-12-04 1990-12-04 Information processing system Expired - Lifetime JP2606630B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2400319A JP2606630B2 (en) 1990-12-04 1990-12-04 Information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2400319A JP2606630B2 (en) 1990-12-04 1990-12-04 Information processing system

Publications (2)

Publication Number Publication Date
JPH04330548A true JPH04330548A (en) 1992-11-18
JP2606630B2 JP2606630B2 (en) 1997-05-07

Family

ID=18510231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2400319A Expired - Lifetime JP2606630B2 (en) 1990-12-04 1990-12-04 Information processing system

Country Status (1)

Country Link
JP (1) JP2606630B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005115926A (en) * 2003-09-19 2005-04-28 Canon Inc Peripheral control device and control method of peripheral device
JP2007200357A (en) * 2007-04-20 2007-08-09 Hitachi Ltd Disk controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005115926A (en) * 2003-09-19 2005-04-28 Canon Inc Peripheral control device and control method of peripheral device
US7689725B2 (en) 2003-09-19 2010-03-30 Canon Kabushiki Kaisha Peripheral control device and method for controlling peripheral device
US7895367B2 (en) 2003-09-19 2011-02-22 Canon Kabushiki Kaisha Peripheral control device and method for controlling peripheral device
JP2007200357A (en) * 2007-04-20 2007-08-09 Hitachi Ltd Disk controller

Also Published As

Publication number Publication date
JP2606630B2 (en) 1997-05-07

Similar Documents

Publication Publication Date Title
US4684885A (en) Arrangement for on-line diagnostic testing of an off-line standby processor in a duplicated processor configuration
EP0498367B1 (en) Program debugging device and process
US20010010030A1 (en) Method for inspecting wireharness
JPH04330548A (en) Information processing system
CN110988734B (en) Fault detection device, method and equipment
JP2800328B2 (en) Common bus diagnostic method
JP2521996B2 (en) Communication system diagnostic method
JPH08153017A (en) Port connection recognizing method
JPH0326459Y2 (en)
JP2693089B2 (en) Bus connection confirmation method
JPS60147860A (en) GP-IB interface status display device
JPH01140834A (en) System for detecting communication fault
CN112100109A (en) Cable connection fault-tolerant connection device and method
JPS63124140A (en) Test circuit for picture signal switching control device
JPH03106154A (en) bite circuit
JPH055419B2 (en)
JPH06282454A (en) Automatic failure diagnosis method
JPH05108394A (en) Initializing diagnostic system for computer system
JPH0362752A (en) Communication system
JPH05158724A (en) Inter-lsi connection diagnostic system
JPH039439A (en) Diagnostic control system
JPH0454747A (en) Data transfer system
JPS63136235A (en) Method for changing control constant of multiplex digital control device
HK1005214B (en) Program debugging device and process
JPH01120922A (en) Diagnostic system for communication control processing system

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: 19961224