JPS61224056A - Processing system for detecting trouble of channel - Google Patents

Processing system for detecting trouble of channel

Info

Publication number
JPS61224056A
JPS61224056A JP60065801A JP6580185A JPS61224056A JP S61224056 A JPS61224056 A JP S61224056A JP 60065801 A JP60065801 A JP 60065801A JP 6580185 A JP6580185 A JP 6580185A JP S61224056 A JPS61224056 A JP S61224056A
Authority
JP
Japan
Prior art keywords
channel
processor
response
processing unit
central processing
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
JP60065801A
Other languages
Japanese (ja)
Inventor
Shigeharu Matsuzaki
松崎 重治
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60065801A priority Critical patent/JPS61224056A/en
Publication of JPS61224056A publication Critical patent/JPS61224056A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect effectively even a hang-up trouble or the like by providing a timer monitor device in a CPU and performing the channel trouble detection processing directly or through a service processor if response does not come from a channel processor within a prescribed time. CONSTITUTION:When a channel start instruction is issued, a CPU 1 checks the physical connection state on a channel table 5. If the channel is not connected as the check result, a condition code is set as channel unconnection to terminate the instruction execution. If the channel is connected, its channel processor, for example, 202 is started, and the CPU waits for response by a timer monitor device 4. When response comes within the prescribed time, a condition code is set by the report from the processor 2-2 to terminate the instruction execution. If response does not come within the prescribed time, the CPU 1 clears the processor 2-2 directly or through a service processor 3 and performs the channel trouble processing of the processor 2-2.

Description

【発明の詳細な説明】 〔概要〕 中央処理装置と1つまたは複数のチャネル・プロセッサ
とを有するデータ処理システムにおいて。
DETAILED DESCRIPTION OF THE INVENTION Overview: In a data processing system having a central processing unit and one or more channel processors.

起動指示を行ったチャネル・プロセッサからの応答の有
無を中央処理装置が調べかつ無応答時にチャネル・プロ
セッサの障害処理を起動しまたは起動させるようにし、
チャネル・プロセッサのハング・アップ時などにおいて
当8亥チャネル・プロセッサの障害を中央処理装置が検
出するようにすることが開示されている。
The central processing unit checks whether there is a response from the channel processor to which the activation instruction has been issued, and activates or activates failure processing for the channel processor when there is no response;
It is disclosed that a central processing unit detects a failure of a channel processor when the channel processor hangs up.

〔産業上の利用分野〕[Industrial application field]

本発明は、チャネル障害検出処理方式、特に。 The present invention relates to a channel failure detection processing method, and more particularly to a channel failure detection processing method.

チャネル・プロセッサ自体が自己の障害を検出できない
状態にある場合に、中央処理装置がそれを検出できるよ
うにしたチャネル障害検出処理方式%式% 〔従来の技術〕 従来から1例えば第1図に示すように、中央処理装置1
と複数台のチャネル・プロセッサ2−0゜2−1.・・
・とが接続されているデータ処理システムが知られてい
る。この場合に、第1図図示の如く、サービス・プロセ
ッサ3が接続されているシステムも存在する。
A channel failure detection processing method that allows the central processing unit to detect failures when the channel processor itself is in a state where it cannot detect the failures. As in, central processing unit 1
and a plurality of channel processors 2-0゜2-1.・・・
・Data processing systems in which the and are connected are known. In this case, as shown in FIG. 1, there is also a system to which a service processor 3 is connected.

従来、このようなデータ処理システムにおいて。Conventionally, in such data processing systems.

チャネル・プロセッサ例えば2−2を中央処理装置1が
起動した後に当該チャネル・プロセッサ2−2から応答
がない場合には、一般には、コンディション・コードに
無応答を設定して、当該チャネル起動命令を終結させる
に止まっていた。またチャネル・プロセッサ2−2にお
ける障害は、当該チャネル・プロセッサ2−2自身によ
って、あるいは上記サービス・プロセッサ3などの監視
装置によって、中央処理装置1に対する割り込み要求と
して報告されるようになっていた。
If there is no response from the channel processor 2-2 after the central processing unit 1 activates the channel processor 2-2, generally, the condition code is set to no response and the channel activation command is issued. It was all I could do to end it. Further, a failure in the channel processor 2-2 is reported as an interrupt request to the central processing unit 1 by the channel processor 2-2 itself or by a monitoring device such as the service processor 3.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来上記の如き制御態様がとられていたが、チャネル・
プロセッサ2−2が例えばハング・アップ状態になった
場合には、当該チャネル・プロセッサ2−2は勿論のこ
と、サービス・プロセッサま 2−2によっても当該ハング・アップを検出できない場
合が多い。そして、当該チャネル・プロセッサ2−2に
接続されている下位側の入出力装置を制御するに当たっ
て時間的制限がある場合には。
Conventionally, the above control mode was used, but the channel
When the processor 2-2 becomes, for example, in a hang-up state, the hang-up is often not detected by the service processor 2-2 as well as the channel processor 2-2. If there is a time limit in controlling the lower-level input/output device connected to the channel processor 2-2.

場合によってシステム・ダウンに通じることがある。特
にチャネル・プロセッサがマイクロ・プロセッサによる
制御によって構成されている場合に。
In some cases, this may lead to system failure. Especially when the channel processor is configured under microprocessor control.

上記の問題が顕著になる。The above problem becomes obvious.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記の点を解決することを目的としており、第
1図は本発明の原理ブロック図を示す。
The present invention aims to solve the above-mentioned problems, and FIG. 1 shows a block diagram of the principle of the present invention.

図中の符号1は中央処理装置、2−0.2−1゜・・・
・・・は夫々チャネル・プロセッサ、3はサービス・プ
ロセッサ、4はタイム監視手段、5はチャネル・テーブ
ルを表している。
The code 1 in the figure is the central processing unit, 2-0.2-1°...
. . . represent channel processors, 3 a service processor, 4 a time monitoring means, and 5 a channel table.

チャネル・テーブル5は、各チャネル・プロセッサの論
理チャネル・ナンバにて索引されるメモリで構成され、
物理チャネル・ナンバや当該チャネルが物理的に接続さ
れているか否かを指示する接続フラグなどが格納されて
いる。またタイム監視手段4は、中央処理装置1がチャ
ネル・プロセッサ例えば2−2に対して起動を行った以
後の時間を監視し、チャネル・プロセッサ2−2からの
応答の有無をチェックする役割をもっている。
The channel table 5 consists of a memory indexed by the logical channel number of each channel processor,
A physical channel number, a connection flag indicating whether the channel is physically connected, etc. are stored. The time monitoring means 4 also has the role of monitoring the time since the central processing unit 1 activated the channel processor 2-2, for example, and checking whether there is a response from the channel processor 2-2. .

〔作用〕[Effect]

中央処理装置1は、チャネル起動命令が発行されたとき
、該当するチャネルが中°央処理装置1に対して物理的
に接続されているか否かを、上記チャネル・テーブル5
によって調べる。接続されていなければ、チャネル未接
続としてコンディション・コード(CC=3)を設定し
て、命令実行を終結する。
When the channel activation command is issued, the central processing unit 1 determines whether the corresponding channel is physically connected to the central processing unit 1 using the channel table 5.
Find out by. If it is not connected, a condition code (CC=3) is set to indicate that the channel is not connected, and the instruction execution is terminated.

接続されていれば、当該チャネル・プロセッサ例えば2
−2を起動し、中央処理装置1はチャネル応答待ちとな
る。規定時間内に応答があれば。
If connected, the corresponding channel processor e.g.
-2, and the central processing unit 1 waits for a channel response. If there is a response within the stipulated time.

チャネル・プロセッサ2−2からの報告によって。By reporting from channel processor 2-2.

コンディション・コードを設定し命令実行を終結する。Sets the condition code and terminates instruction execution.

タイム監視手段4による規定時間内に応答がないときタ
イム・アウトとなるが、このとき。
A timeout occurs when there is no response from the time monitoring means 4 within a specified time.

中央処理装置1は自身であるいは図示のサービス・プロ
セッサ3に指示する。これにより、チャネル・プロセッ
サ2−2をクリヤしかつ当該チャネル・プロセッサ2−
2に対するチャネル障害処理を行う処理が実行される。
The central processing unit 1 instructs itself or the illustrated service processor 3. This clears the channel processor 2-2 and clears the channel processor 2-2.
2 is executed.

〔実施例〕〔Example〕

第2図は中央処理装置における処理の一実施例構成を示
し、第3図は起動処理の態様を説明する説明図を示して
いる。
FIG. 2 shows the configuration of an embodiment of processing in the central processing unit, and FIG. 3 shows an explanatory diagram illustrating aspects of startup processing.

第2図において、処理(alにおいて、第3図を参照し
て後述する如くチャネル・テーブル5の内容を調べる。
In FIG. 2, in process (al), the contents of the channel table 5 are examined as will be described later with reference to FIG.

そして該当するチャネル・ブロモ・ノサ例えば2−2が
接続されていなければ、上述の如<、CC=3を発生す
る。処理伽)において、チャネル・プロセッサ2−2か
らの応答の有無をチェックし、応答があれば、報告に対
応して、CC=0ないしCC=3を発生して命令実行を
終結する。
If the corresponding channel bromo, for example 2-2, is not connected, CC=3 is generated as described above. In process 2-2, the presence or absence of a response from the channel processor 2-2 is checked, and if there is a response, CC=0 to CC=3 are generated in response to the report, and instruction execution is terminated.

応答がなくタイム・アウトになれば、中央処理装置1に
よって、処理(C)において、CC=3を発しかつエラ
ー処理を実行せしめることとなる。
If there is no response and a timeout occurs, the central processing unit 1 issues CC=3 in process (C) and executes error handling.

第3図図示の符号5は第1図図示のチャネルテーブルで
あり、起動命令6によって指示される論理チャネル・ナ
ンバ(値は(Bt)+Dz)によって索引されるメモリ
である。当該テーブル5内には、該当するチャネル・プ
ロセッサの物理チャネル・ナンバや接続フラグなどが格
納されている。
Reference numeral 5 in FIG. 3 is the channel table shown in FIG. 1, which is a memory indexed by the logical channel number (value: (Bt)+Dz) specified by the startup instruction 6. The table 5 stores the physical channel number, connection flag, etc. of the corresponding channel processor.

そして、起動命令6が発行されたとき。Then, when activation command 6 is issued.

(B、)+Dt によって論理チャネル・ナンバを得て、中央処理装置1
が当該テーブル5を索引する。このとき読み出される接
続フラグによって、言亥当するチャネル・プロセッサ例
えば2−2が物理的に接続されているか否かを判別する
Obtain the logical channel number by (B, )+Dt and central processing unit 1
indexes the table 5. Based on the connection flag read at this time, it is determined whether the relevant channel processor, for example 2-2, is physically connected.

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

以上説明した如(1本発明によれば9本来当然にあるべ
き応答が到来しないことを条件に、中央処理装置lが、
チャネル・プロセッサのハング・アップなどを検出し1
強制的にチャネル・プロセッサをクリヤするなどの処理
に入るようにする。
As explained above (1) According to the present invention, on the condition that the response that should naturally exist does not arrive, the central processing unit l
Detects channel processor hang-up, etc.
Forces processing such as clearing the channel processor.

したがって、従来検出することがむづかしかったハング
・アップなどにも正しく対処することが可能となる。
Therefore, it becomes possible to correctly deal with hang-ups, which have been difficult to detect in the past.

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

第1図は本発明の原理ブロック図、第2図は本発明の一
実施例構成、第3図は起動処理の態様を説明する説明図
を示す。 図中、1は中央処理装置、2はチャネル・プロセッサ、
3はサービス・プロセッサ、4はタイム監視手段、5は
チャネル・テーブルを表してしする。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a configuration of an embodiment of the present invention, and FIG. 3 is an explanatory diagram illustrating aspects of startup processing. In the figure, 1 is a central processing unit, 2 is a channel processor,
3 represents a service processor, 4 represents a time monitoring means, and 5 represents a channel table.

Claims (1)

【特許請求の範囲】 中央処理装置(1)と1つまたは複数のチャネル・プロ
セッサ(2−i)とを有するデータ処理システムにおい
て、 上記中央処理装置(1)が、上記チャネル・プロセッサ
(2−i)対応に当該チャネル・プロセッサが物理的に
接続されているか否かを指示する接続フラグを保持する
チャネル・テーブル(5)をもうけると共に、 当該中央処理装置(1)からの起動に対応して該当する
チャネル・プロセッサからの応答の有無を監視するタイ
ム監視手段(4)をもうけ、 上記中央処理装置(1)は、チャネル起動命令に対応し
て上記チャネル・テーブル(5)を索引し当該チャネル
・プロセッサが物理的に接続されているか否かを調べ、
かつ接続されている状態で上記タイム監視手段(4)か
らのタイム・アウトに対応して、当該チャネル・プロセ
ッサの状態をクリヤしかつ当該チャネル・プロセッサに
対する障害処理を実行する処理を実行しまたは発動させ
るようにしたことを特徴とするチャネル障害検出処理方
式。
[Scope of Claims] A data processing system having a central processing unit (1) and one or more channel processors (2-i), wherein the central processing unit (1) i) Create a channel table (5) that holds a connection flag indicating whether the channel processor is physically connected or not, and The central processing unit (1) includes a time monitoring means (4) for monitoring the presence or absence of a response from the corresponding channel processor, and the central processing unit (1) indexes the channel table (5) in response to the channel activation command and determines whether or not there is a response from the corresponding channel processor.・Check whether the processor is physically connected or not.
and in the connected state, in response to a timeout from the time monitoring means (4), executes or activates processing to clear the state of the channel processor and perform fault processing for the channel processor. A channel failure detection processing method characterized in that:
JP60065801A 1985-03-29 1985-03-29 Processing system for detecting trouble of channel Pending JPS61224056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60065801A JPS61224056A (en) 1985-03-29 1985-03-29 Processing system for detecting trouble of channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60065801A JPS61224056A (en) 1985-03-29 1985-03-29 Processing system for detecting trouble of channel

Publications (1)

Publication Number Publication Date
JPS61224056A true JPS61224056A (en) 1986-10-04

Family

ID=13297492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60065801A Pending JPS61224056A (en) 1985-03-29 1985-03-29 Processing system for detecting trouble of channel

Country Status (1)

Country Link
JP (1) JPS61224056A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63292342A (en) * 1987-05-26 1988-11-29 Nec Corp Error detecting circuit
JPS6476353A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Control system for input/output instruction
JPH07271685A (en) * 1994-03-29 1995-10-20 Kofu Nippon Denki Kk Information processor and its asynchronous transfer method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63292342A (en) * 1987-05-26 1988-11-29 Nec Corp Error detecting circuit
JPS6476353A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Control system for input/output instruction
JPH07271685A (en) * 1994-03-29 1995-10-20 Kofu Nippon Denki Kk Information processor and its asynchronous transfer method

Similar Documents

Publication Publication Date Title
JPS61224056A (en) Processing system for detecting trouble of channel
JPH06324721A (en) Method for detecting falling-off of connection unit
JPS6146543A (en) Fault processing system of transfer device
JP2746184B2 (en) Fault logging system
JPH0264745A (en) Interface controller
JPS6298435A (en) Defecting method for abnormality of computer
JP2599971B2 (en) Bus error detection processing method of communication processor
JPS59148961A (en) Monitoring system of operation of processor
JPH01314341A (en) Trouble processing system for information processor
JPH0469744A (en) Runaway detector for microcomputer
JPS632922Y2 (en)
JPH04105151A (en) Input/output controller
JPH01243132A (en) System for processing trouble
JPH01154258A (en) Malfunction detecting device using watchdog timer
JPH04333963A (en) Fault processing system
JPS5827538B2 (en) Mutual monitoring method
JPH01116739A (en) Monitor equipment for cpu
JPS59180758A (en) Loop detecting system of ncp
JPS5858662A (en) Device testing system
JPS61224048A (en) Error display control system
JPH01314340A (en) Trouble processing system for information processor
JPS6295646A (en) Microprogram controller with run monitoring function
JPH1139032A (en) Multi cpu type centralized monitoring device
JPH0293738A (en) Interruption processing system
JPS61188642A (en) Abnormality detecting system in program execution