JPH03220661A - System for communication between processors - Google Patents
System for communication between processorsInfo
- Publication number
- JPH03220661A JPH03220661A JP2015025A JP1502590A JPH03220661A JP H03220661 A JPH03220661 A JP H03220661A JP 2015025 A JP2015025 A JP 2015025A JP 1502590 A JP1502590 A JP 1502590A JP H03220661 A JPH03220661 A JP H03220661A
- Authority
- JP
- Japan
- Prior art keywords
- command
- time
- processing device
- processor
- control circuit
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 16
- 230000005856 abnormality Effects 0.000 abstract description 7
- 230000002457 bidirectional effect Effects 0.000 abstract description 7
- 238000012544 monitoring process Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は複数個の処理装置からなるコンピュータ・シス
テムの処理装置間の通信方式に係シ、特に処理装置間の
通信異常を監視するために、送信元処理装置がコマンド
を発行してから受信先処理装置がそのコマンドの処理を
完了して、応答を返すまでの時間のタイムアウトを監視
する処理装置間の通信方式に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a communication system between processing units of a computer system consisting of a plurality of processing units, and particularly to a method for monitoring communication abnormalities between processing units. , relates to a communication system between processing devices that monitors a timeout from when a source processing device issues a command to when a destination processing device completes processing of the command and returns a response.
従来、この種の通信方式のタイムアウト監視は、受信先
処理装置の状態やコマンドに無関係に、最大処理時間を
基に固定した時間を定めて、送信元処理装置がタイムア
ウト監視を行っていた。Conventionally, timeout monitoring in this type of communication system has been performed by the source processing device by determining a fixed time based on the maximum processing time, regardless of the state or command of the destination processing device.
上述した従来の通信方式によるタイムアウト監視は、受
信先処理装置の状態やコマンドの種類を゛無視して、固
定的なタイムアウト時間を使用しているため、通常はマ
イクロ秒単位で受信先処理装置での処理が完了するコマ
ンドであっても、受信先処理装置がたまたま、他の処理
のためにビジーで応答できない場合でも、タイムアウト
を誤検出しないように秒単位のタイムアウト監視を設定
していた。Timeout monitoring using the conventional communication method described above uses a fixed timeout time, ignoring the status of the receiving processing device and the type of command. Even if the command completes processing, timeout monitoring is set in seconds to avoid false detection of a timeout even if the destination processing device happens to be busy with other processing and cannot respond.
このため、タイムアウト時間監視による処理装置間の通
信異常を検出するのに時間がかかシ、エラー回復処理が
遅れるために、コンピュータ・システム上の関連するジ
ョブの実行が遅れるという課題があった。For this reason, it takes time to detect a communication abnormality between processing devices by monitoring the timeout period, and error recovery processing is delayed, resulting in a delay in the execution of related jobs on the computer system.
本発明の処理装置間の通信方式は、複数個の処理装置か
らなるコンピュータ・システムの処理装置間の通信方式
において、各処理装置はコマンドを受信する受信手段と
、この受信手段に設定されたコマンドを解析する解析手
段と、この解析手段により解析されたコマンドの種類と
受信処理装置の状態に対応したタイムアウト時間を算出
する制御回路と、この制御回路により算出したタイムア
ウト時間を送信元処理装置に送出する手段を備え、上記
送信元処理装置からコマンドを受信した際、上記制御回
路で算出したタイムアウト時間をその送信元処理装置に
報告するようにしたものである。The communication method between processing devices of the present invention is a communication method between processing devices of a computer system consisting of a plurality of processing devices, in which each processing device has a receiving means for receiving commands, and a command set in the receiving means. an analysis means for analyzing the command, a control circuit for calculating a timeout time corresponding to the type of command analyzed by the analysis means and the state of the receiving processing device, and sending the timeout time calculated by the control circuit to the source processing device. When a command is received from the source processing device, the timeout period calculated by the control circuit is reported to the source processing device.
本発明においては、受信先処理装置でコマンドを受信し
た場合、その時点の受信先処理の状態とコマンドの種類
に対応した最適なタイムアウト時間長を送信元処理装置
に送出する。In the present invention, when a command is received by a destination processing device, an optimal timeout period corresponding to the state of the destination processing at that time and the type of command is sent to the source processing device.
以下、図面に基づき本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail based on the drawings.
第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.
図において、1および100は処理装置で、この処理装
置1および100は双方向バス3と制御線4゜5よシな
るインタフェースを有している。ここで、処理装置10
0の内部構造は処理装置1と同等であるので省略しであ
る。2はステータス線である。In the figure, reference numerals 1 and 100 indicate processing units, and the processing units 1 and 100 have an interface consisting of a bidirectional bus 3 and a control line 4.5. Here, the processing device 10
The internal structure of 0 is the same as that of processing device 1, so it is omitted. 2 is a status line.
6はデータバス3からのコマンドを受信するCMRレジ
スタで、このCMRレジスタ6はコマンドを受信する受
信手段を構成している。7はデータバス3からのデータ
を受信するWDATレジスタ、8はCMRレジスタTの
出力に接続されたデコダで、このデコーダ8は上記受信
手段に設定されたコマンドを解析する解析手段を構成し
ている。A CMR register 6 receives commands from the data bus 3, and this CMR register 6 constitutes receiving means for receiving commands. 7 is a WDAT register that receives data from the data bus 3; 8 is a decoder connected to the output of the CMR register T; this decoder 8 constitutes analysis means that analyzes the command set in the above-mentioned receiving means. .
9はステータス線2からの処理装置1の内部状態信号と
デコーダ8からのコマン、ドの種類にしたがって最適な
タイムアウト時間長を算出し、その値をRDATレジス
タ10に送出する制御回路で、この制御回路9は上記解
析手段により解析されたコマンドの種類と受信処理装置
の状態に対応したタイムアウト時間を算出するように構
成されている。Reference numeral 9 denotes a control circuit that calculates an optimal timeout time length according to the internal state signal of the processing device 1 from the status line 2 and the type of command and code from the decoder 8, and sends the value to the RDAT register 10. The circuit 9 is configured to calculate a timeout time corresponding to the type of command analyzed by the analysis means and the state of the reception processing device.
RDATレジスタ10は送信コマンド/データや応答を
保持するレジスタで、とのRDATレジスタ10は制御
回路9により算出したタイムアウト時間を送信元処理装
置□送出する手段t−構成している。The RDAT register 10 is a register that holds transmission commands/data and responses, and the RDAT register 10 constitutes a means for transmitting the timeout time calculated by the control circuit 9 to the source processing device □.
11はインタフェース制御回路で、このインタフェース
制御回路11は他処理装置との通信を制御線4.5によ
り制御し、CMRレジスタ6およびWDATレジスタ7
に対するストローブ信号12および13を生成したシ、
制御回路9からの指示にヨ少ストローブ信号14をイン
タフェース上に出力するように構成されている。Reference numeral 11 denotes an interface control circuit. This interface control circuit 11 controls communication with other processing devices through a control line 4.5, and controls a CMR register 6 and a WDAT register 7.
a system which generated the strobe signals 12 and 13 for the
It is configured to output a strobe signal 14 onto the interface in response to an instruction from the control circuit 9.
そして、送信元処理装置からコマンドを受信した際、制
御回路9で算出したタイムアウト時間をその送信元処理
装置に報告するように構成されている。When a command is received from the source processing device, the timeout time calculated by the control circuit 9 is reported to the source processing device.
第2図は第1図の動作説明に供するタイムチャートで、
−)は双方向バス3を示したものであり1(b)はスト
ローブ信号12、(c)はストローブ信号14、(d)
はストローブ信号13を示したものである。Figure 2 is a time chart used to explain the operation of Figure 1.
-) shows the bidirectional bus 3, 1 (b) is the strobe signal 12, (c) is the strobe signal 14, (d)
shows the strobe signal 13.
つぎに第1図に示す実施例の動作を第2図を参照して説
明する。ここでは、送信元が処理装置100、受信先が
処理装置1の場合について説明する。Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIG. 2. Here, a case where the transmission source is the processing device 100 and the reception destination is the processing device 1 will be described.
まず、処理装置100からコマンドが発行されると、処
理装置1のCMRレジスタ6にそのコマンドがストロー
ブ信号12(第2図伽〉参照)によりセットされる。そ
して、このコマンドはデコーダ8により解析され、制御
回路9に報告される。制御回路9はその時点の処理装置
1の内部状態をステータス線2により認識し、受信した
コマンドに対応した最適なタイムアウト時間長’zRD
ATレジスタ10に送出する。このデータは双方向バス
3を通して処理装置100に送出される。これと同時に
、そのデータを処理装置100側でストローブするため
の信号としてストローブ信号14(第2図(c)参照)
が生成、送出される。First, when a command is issued from the processing device 100, the command is set in the CMR register 6 of the processing device 1 by a strobe signal 12 (see FIG. 2). This command is then analyzed by the decoder 8 and reported to the control circuit 9. The control circuit 9 recognizes the internal state of the processing device 1 at that time from the status line 2, and determines the optimum timeout time length 'zRD corresponding to the received command.
Send to AT register 10. This data is sent to processing device 100 via bidirectional bus 3. At the same time, a strobe signal 14 (see FIG. 2(c)) is used as a signal to strobe the data on the processing device 100 side.
is generated and sent.
つぎに、処理装置100では受信したデータ(タイムア
ウト時間長)を基にタイムアウト時間監視を開始する。Next, the processing device 100 starts timeout time monitoring based on the received data (timeout time length).
処理装置100からは引き続き、コマンドに付随したデ
ータが双方向バス3を介して処理装置1のWDATレジ
スタ7に送出され、このWDATレジスタTにはストロ
ーブ信号13(第2図(d)参照)により次々とセット
される。The data associated with the command is subsequently sent from the processing device 100 to the WDAT register 7 of the processing device 1 via the bidirectional bus 3, and the data is sent to the WDAT register T by the strobe signal 13 (see FIG. 2(d)). are set one after another.
そして、異常が無ければ、タイムアウト監視時間内に処
理装置1内の動作が完了し、その応答がRDATレジス
タ10釦よび双方向バス3を通して制御回路9よシ処理
装置100に報告され、この処理装置100はタイムア
ウト監視を終了する。ここで、もし、処理装置1内で異
常が発生し、応答が処理装置100に返送されないと、
処理装置100でタイムアラトラ検出し、直ちに回復処
理を行う。If there is no abnormality, the operation within the processing device 1 is completed within the timeout monitoring period, and the response is reported to the processing device 100 from the control circuit 9 through the RDAT register 10 button and the bidirectional bus 3. 100 ends timeout monitoring. Here, if an abnormality occurs in the processing device 1 and a response is not sent back to the processing device 100,
The processing device 100 detects the time delay and immediately performs recovery processing.
以上説明、したように本発明は、受信先処理装置でコマ
ンドを受信した場合、その時点の受信先処理の状態とコ
マンドの種類に対応した最適なタイムアウト時間長を送
信元処理装置に送出することにより、処理装置間の通信
異常を常に最適な数夜時間で検出することができる効果
がある。As explained above, when a command is received by a destination processing device, the present invention sends an optimal timeout length corresponding to the state of the destination processing at that time and the type of command to the source processing device. This has the effect that communication abnormalities between processing devices can always be detected within an optimal number of hours.
第1図は本発明の一実施例を示すブロック図、第2図は
第1図の動作説明に供するタイムチャートである。
1・・・・処理装置、2・・・・ステータス線、3・・
・・双方向バス、4,5・・・・制御線、6・・・・C
MRレジスタ、γ・・・・WDATレジスタ、8・・・
・デコーダ、9・・・・制御回路、10・・・・RDA
Tレジスタ、11・・・・インタフェース制御回路、1
00・・・・処理装置。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a time chart for explaining the operation of FIG. 1...Processing device, 2...Status line, 3...
...Bidirectional bus, 4,5...Control line, 6...C
MR register, γ...WDAT register, 8...
・Decoder, 9...control circuit, 10...RDA
T register, 11...Interface control circuit, 1
00...Processing device.
Claims (1)
理装置間の通信方式において、各処理装置はコマンドを
受信する受信手段と、この受信手段に設定されたコマン
ドを解析する解析手段と、この解析手段により解析され
たコマンドの種類と受信処理装置の状態に対応したタイ
ムアウト時間を算出する制御回路と、この制御回路によ
り算出したタイムアウト時間を送信元処理装置に送出す
る手段を備え、前記送信元処理装置からコマンドを受信
した際、前記制御回路で算出したタイムアウト時間を該
送信元処理装置に報告するようにしたことを特徴とする
処理装置間の通信方式。In a communication system between processing units in a computer system consisting of a plurality of processing units, each processing unit has a receiving unit for receiving commands, an analyzing unit for analyzing the command set in the receiving unit, and a communication unit for analyzing commands set in the receiving unit. A control circuit that calculates a timeout time corresponding to the type of the analyzed command and the state of the reception processing device, and a means for sending the timeout time calculated by the control circuit to the source processing device, from the source processing device to the source processing device. A communication system between processing devices, characterized in that when a command is received, a timeout time calculated by the control circuit is reported to the source processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015025A JPH03220661A (en) | 1990-01-26 | 1990-01-26 | System for communication between processors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015025A JPH03220661A (en) | 1990-01-26 | 1990-01-26 | System for communication between processors |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03220661A true JPH03220661A (en) | 1991-09-27 |
Family
ID=11877300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015025A Pending JPH03220661A (en) | 1990-01-26 | 1990-01-26 | System for communication between processors |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03220661A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0644201A (en) * | 1992-03-16 | 1994-02-18 | Matsushita Graphic Commun Syst Inc | Monitor device for computer system using shared memory |
JPH0644195A (en) * | 1992-03-30 | 1994-02-18 | Internatl Business Mach Corp <Ibm> | Method and device for combination type data processing system |
JP2001147866A (en) * | 1999-11-19 | 2001-05-29 | Nec Corp | System and method for monitoring input/output executing time |
US9253046B2 (en) | 1998-09-10 | 2016-02-02 | International Business Machines Corporation | Controlling the state of duplexing of coupling facility structures |
-
1990
- 1990-01-26 JP JP2015025A patent/JPH03220661A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0644201A (en) * | 1992-03-16 | 1994-02-18 | Matsushita Graphic Commun Syst Inc | Monitor device for computer system using shared memory |
JPH0644195A (en) * | 1992-03-30 | 1994-02-18 | Internatl Business Mach Corp <Ibm> | Method and device for combination type data processing system |
US9253046B2 (en) | 1998-09-10 | 2016-02-02 | International Business Machines Corporation | Controlling the state of duplexing of coupling facility structures |
US9565013B2 (en) | 1998-09-10 | 2017-02-07 | International Business Machines Corporation | Controlling the state of duplexing of coupling facility structures |
US9860315B2 (en) | 1998-09-10 | 2018-01-02 | International Business Machines Corporation | Controlling the state of duplexing of coupling facility structures |
JP2001147866A (en) * | 1999-11-19 | 2001-05-29 | Nec Corp | System and method for monitoring input/output executing time |
US10491675B2 (en) | 2001-10-01 | 2019-11-26 | International Business Machines Corporation | Controlling the state of duplexing of coupling facility structures |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20000006576A (en) | System and method for facilitating the sharing of resources such as storage subsystems among a plurality of host computers in a digital data processing system | |
JP2002297336A (en) | Printer system | |
JPH03220661A (en) | System for communication between processors | |
JPH05324411A (en) | System for monitoring digital processing system | |
JPH01166161A (en) | Mutual monitoring system for multiprocessor system | |
JPH04160656A (en) | Input/output operation monitoring system | |
JP2783201B2 (en) | Bus failure detection device | |
JP2513121B2 (en) | Transmission device for serial bus | |
JPH0358154A (en) | Time-out monitor system for input/output controller | |
JPS6356755A (en) | Slave processor error monitoring method | |
JPH01121921A (en) | Detection of power-off of printer | |
JP2001075935A (en) | Inter-processor communication method | |
JP2858493B2 (en) | Failure information storage method | |
JPS62162155A (en) | Information processing system | |
JPS63117530A (en) | Transmission equipment | |
JPH01248843A (en) | Data transmission system | |
JPH05108397A (en) | Hardware fault monitoring system | |
JPH022180B2 (en) | ||
JPH08179816A (en) | Distributed control system | |
JPH04139556A (en) | Retry control system | |
JPH04329378A (en) | Automatic test system for power source control device | |
JPS63305647A (en) | Data transmission system | |
JPS62293453A (en) | Multiple bus system data processor | |
JPH0535460B2 (en) | ||
JPH05167476A (en) | Data transmitter |