JPH04140866A - Detachment system for input/output device - Google Patents

Detachment system for input/output device

Info

Publication number
JPH04140866A
JPH04140866A JP2263087A JP26308790A JPH04140866A JP H04140866 A JPH04140866 A JP H04140866A JP 2263087 A JP2263087 A JP 2263087A JP 26308790 A JP26308790 A JP 26308790A JP H04140866 A JPH04140866 A JP H04140866A
Authority
JP
Japan
Prior art keywords
input
unauthorized
time
output
interrupt
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
JP2263087A
Other languages
Japanese (ja)
Inventor
Hitoshi Aoki
仁 青木
Osamu Murakami
修 村上
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP2263087A priority Critical patent/JPH04140866A/en
Publication of JPH04140866A publication Critical patent/JPH04140866A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To remarkably improve the operation efficiency by detaching the connection of an input/output device and a central processor, and also, reporting the generation of unauthorized interruption, when a detection by a counter is generated, and also, a detection by a timer is generated. CONSTITUTION:When a unauthorized interruption is generated from an IOE 2, the number of times thereof is counted, and a unauthorized interruption counter WIC 21 for detecting a fact that its number of times becomes a prescribed number of times, and an elapsed time after the unauthorized interruption is generated first are monitored. When this time becomes a prescribed time, a unauthorized state continuation timer WRT 22 for detecting it is provided. In accordance with generation of the unauthorized interruption, the WRT 22 monitors the elapsed time therefrom, and when this time reaches a prescribed time, its detection output is sent out, and on the other hand, in accordance with generation of the unauthorized interruption, the WIC 21 executes metering. When the detection output is overlapped, an IOC 3 executes detachment of the IOE 2, and its report to a CPU 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央処理装置と、複数の入出力装置とからな
るデータ処理装置において、いずれかの入出力装置から
不正な割り込みが反復して発生した場合、この入出力装
置を自動的に切り離す方式%式% 〔従来の技術〕 一般に、かかるデータ処理装置においては、各入出力装
置(以下、l0E)毎に、かつ、各10Eと中央処理装
置(以下、CPtJ)との間に5人出力制御装置(以下
、l0C)が介在しており。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is directed to a data processing device consisting of a central processing unit and a plurality of input/output devices, in which unauthorized interrupts are repeatedly received from any of the input/output devices. [Prior art] In general, in such a data processing device, each input/output device (hereinafter referred to as 10E) is separated from each other, and each 10E and the central processing A five-person output control device (hereinafter referred to as 10C) is interposed between the equipment (hereinafter referred to as CPtJ).

これを介して各IOEからCPUに対して割り込みの要
求を行ない、これにCPUが応動してから両者間のデー
タ授受を行なうものとなっているが、いずれかのIOE
から不正な割り込みが発生した場合には、CPUのソフ
トウェアによりこれを判断すると共に、これの発生回数
をカウントし、このカウント値が所定回数となったとき
に、当該IOEをデータ授受の対象から除外し、切り離
しを行なうものとなっている。
Through this, each IOE issues an interrupt request to the CPU, and after the CPU responds to this, data is exchanged between the two.
If an illegal interrupt occurs, the CPU software determines this, counts the number of times this occurs, and when this count reaches a predetermined number of times, excludes the IOE from being subject to data exchange. It is intended to be used for separation.

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

しかし、CPUのソフトウェアによる場合では、当該1
0Eの切り離しを決定するまでの間、不正な割り込みが
発生し続け、これの処理にCPUが占有されるため、本
来のアプリケーションソフトウェアを実行する時間が制
約され、全般的な稼働効率が低下する欠点を生じている
However, in the case of CPU software, the said 1
Until a decision is made to disconnect 0E, invalid interrupts continue to occur and the CPU is occupied processing them, which limits the time to run the original application software and reduces overall operating efficiency. is occurring.

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

本発明はつぎの手段により構成するものとなっている。 The present invention is constructed by the following means.

すなわち、上述のデータ処理装置において、入出力装置
からの不正割り込みが生じてから一定時間経過したこと
を検出するタイマーと、入出力装置からの不正割り込み
回数が所定回数となったことを検出するカウンタとを備
え、このカウンタによる検出が生じかつタイマーによる
検出が生じたとき当該入出力装置と中央処理装置との接
続を切り離すと共に不正割り込みの発生を中央処理装置
へ通報する入出力制御装置を設けたものである。
That is, in the data processing device described above, there is a timer that detects when a certain period of time has elapsed since the occurrence of an unauthorized interrupt from an input/output device, and a counter that detects when the number of unauthorized interrupts from the input/output device reaches a predetermined number. and an input/output control device that disconnects the input/output device from the central processing unit when detection by the counter occurs and detection by the timer occurs, and notifies the central processing unit of the occurrence of an unauthorized interrupt. It is something.

〔作 用〕 したがって、IOCが自己の備えるカウンタおよびタイ
マーにより、不正割り込みの発生回数と、これが最初に
生じてからの経過時間とを監視し、発生回数および経過
時間に応じてIOEの切離しおよび、これのCPUに対
する通報を行なうものとなる。
[Function] Therefore, the IOC uses its own counter and timer to monitor the number of occurrences of unauthorized interrupts and the elapsed time since the first occurrence, and depending on the number of occurrences and the elapsed time, disconnects the IOE and This will be reported to the CPU.

〔実施例〕〔Example〕

以下、実施例を示す図によって本発明の詳細な説明する
Hereinafter, the present invention will be explained in detail with reference to figures showing examples.

第1図は、全構成のブロック図であり、CPU1と、複
数のl0E2とが設けであると共に、これら毎に、かつ
、各l0E2とCPUIとの間に介在してl0C3が設
けてあり、いずれかの10E2が必要を生じたときには
、l0C3を介してCPU1へ割り込みの要求を行ない
、これにCPU1が応動すれば、当該l0E2とCPU
1とのデータ授受が行なわれるものとなっている。
FIG. 1 is a block diagram of the entire configuration, in which a CPU 1 and a plurality of l0E2 are provided, and an l0C3 is provided for each of these and interposed between each l0E2 and the CPUI. When the 10E2 becomes necessary, it requests an interrupt to the CPU1 via the l0C3, and if the CPU1 responds to this, the l0E2 and the CPU
Data is exchanged with 1.

第2図は、l0C3の内容を示す構成図であり、対応す
るl0E2から不正割り込みが発生したとき、これの回
数をカウントし、この回数が所定回数となったことを検
出する不正割り込みカウンタ(以下、WIC)2L お
よび、不正割り込みが最初に生じてからの経過時間を監
視し、この時間が一定時間となったときに、これの検出
を行なう不正状態継続タイマー(以下、WRT)22が
設けてあり、不正割り込みの発生に応じてWRT 22
がこれからの経過時間を監視し、この時間が一定時間に
達すれば、これの検出出力を送出する一方、不正割り込
みの発生に応じてWIC21が登算を行ない、このカウ
ント値が所定回数に達すると、これの検出出力を送出す
るものとなっており、これらの検出出力が重複したとき
l0C3は、l0E2の切離し、および、これのCPU
1に対する通報を行なうものとなっている。
FIG. 2 is a block diagram showing the contents of l0C3. When an illegal interrupt occurs from the corresponding l0E2, it counts the number of times this occurs and detects when this number reaches a predetermined number. , WIC) 2L and an illegal state duration timer (hereinafter referred to as WRT) 22 that monitors the elapsed time since the first occurrence of an illegal interrupt and detects this when this time reaches a certain period of time. Yes, WRT 22 depending on the occurrence of illegal interrupt
monitors the elapsed time, and when this time reaches a certain time, it sends out a detection output, while the WIC 21 performs registration in response to the occurrence of an illegal interrupt, and when this count value reaches a predetermined number of times. , and send out the detection outputs of this, and when these detection outputs overlap, l0C3 disconnects l0E2 and sends its CPU.
1 is to be notified.

第3図は、l0C3による割り込み処理の状況を示すフ
ローチャートであり、l0C3中のマイクロプロセッサ
等により実行される。
FIG. 3 is a flowchart showing the status of interrupt processing by the l0C3, which is executed by a microprocessor or the like in the l0C3.

先ず、rIOEからの割り込み発生」】01に応じ、r
lOEの状態を調べる」102により「不正割り込みか
?J103を判断し、これがY(YES)であれば[初
回の割り込みが?J11.1もチエツクし、これのYに
したがいrCPUに割り込みを出す」112を行ったう
え、rWRTをリセットし、再スタートさせる」113
によりWRT22の計時動作を開始し、ついで、rwr
cに1を加える」114により、WIC21を登算する
First, in response to the occurrence of an interrupt from rIOE
Check the state of lOE" 102 to determine whether it is an illegal interrupt? J103, and if it is Y (YES) [Is this the first interrupt? Check J11.1 as well, and issue an interrupt to rCPU according to this Y" 112, reset rWRT, and restart.''113
starts the timing operation of WRT22, and then rwr
"Add 1 to c" 114 to register the WIC21.

ついで、rWRTが一定時間を超えたか?」121をW
RT22のチエツクにより判断し、これがN (No)
の間はステップ101以降を反復するのに対し、ステッ
プ121がYとなれば、WRT22が検出を行なったた
め、WIC21のチエツクによりrWICが所定回数を
超えたか?」122を判断し、これのNに応じてはrw
icをリセット」123のうえステップ101以降を反
復する。
Then, did rWRT exceed a certain time? ”121 to W
Judging by the check of RT22, this is N (No)
During this time, steps 101 and subsequent steps are repeated, whereas if step 121 is Y, the WRT 22 has performed the detection, and the WIC 21 checks whether rWIC has exceeded the predetermined number of times. ”122, and depending on the N of this, rw
"Reset IC" 123 and repeat steps 101 and subsequent steps.

これに対し、ステップ122がYであれば、WIC21
が検出を行ない、不正割り込みが一定時間中に所定回教
生じたため、自己のl0E2が異常を来したものと判断
し、当該rIOEを切り離す」131を行なうと共に、
rCPUにIOE切り離しを通知するために割り込みを
出す」I32を行なう。
On the other hand, if step 122 is Y, WIC21
detects that the rIOE2 has detected an abnormal interrupt a predetermined number of times within a certain period of time, determines that its own l0E2 has become abnormal, and disconnects the rIOE.
"Issuing an interrupt to notify rCPU of IOE disconnection" I32 is performed.

一方、ステップ103がNの場合は、rWIcをリセッ
ト」141を行なってから、「通常の割り込み処理」1
42へ移行する。
On the other hand, if step 103 is N, after performing "reset rWIc" 141, "normal interrupt processing" 1
42.

したがって、WIC21およびWRT22が各々所定回
数および一定時間軽過の検出を重複して行なうと、これ
に応じてfOE2の切り離しおよびCPU1への通報が
l0C3からなされ、CPU1は不正割り込みに対する
処理を行なう必要がなくなるため、これの稼働負荷が軽
減され、本来のアプリケーションソフトウェアのみを実
行すればよいものとなり、CPU1の稼働効率が大幅に
向上する。
Therefore, when the WIC 21 and the WRT 22 each detect a minor overload for a predetermined number of times and for a certain period of time, the fOE2 is disconnected and the CPU 1 is notified from the l0C3, and the CPU 1 is required to process the unauthorized interrupt. Therefore, the operating load of the CPU 1 is reduced, and only the original application software needs to be executed, thereby greatly improving the operating efficiency of the CPU 1.

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

以上の説明により明らかなとおり本発明によれば 入出
力装置からの不正割り込みが生じてから一定時間軽過し
たことを検出するタイマーと、入出力装置からの不正割
り込み回数が所定回数となったことを検出するカウンタ
とを入出力制御装置に備え、このカウンタによる検出が
生じかつタイマーによる検出が生じたとき当該入出力装
置と中央処理装置との接続を切り離すと共に不正割り込
みの発生を中央処理装置へ入出力制御装置から通報する
ものとしたことにより、中央処理装置は不正割り込みに
対する処理が不要となり、これの稼働効率が大幅に向上
するため、各種データ処理装置において顕著な効果が得
られる。
As is clear from the above explanation, according to the present invention, there is provided a timer that detects that a certain period of time has passed since the occurrence of an unauthorized interrupt from an input/output device, and a timer that detects when the number of unauthorized interrupts from the input/output device reaches a predetermined number. The input/output control device is equipped with a counter that detects an interrupt, and when a detection by this counter occurs and a detection by a timer occurs, the connection between the input/output device and the central processing unit is disconnected, and the occurrence of an unauthorized interrupt is sent to the central processing unit. By making the notification from the input/output control device, the central processing unit does not need to process unauthorized interrupts, and the operating efficiency of the central processing unit is greatly improved, so that a remarkable effect can be obtained in various data processing devices.

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

図は本発明の実施例を示し、第1図は全構成のブロック
図、第2図は入出力制御装置の内容を示す構成図、第3
図は割り込み処理の状況を示すフローチャートである。 1・・・・中央処理装置、2・・・・入出力装置、3・
・・・入出力制御装置、21・・・・不正割り込みカウ
ンタ、22・・・・不正状態継続タイマー
The figures show an embodiment of the present invention, with Fig. 1 being a block diagram of the entire configuration, Fig. 2 being a block diagram showing the contents of the input/output control device, and Fig. 3 being a block diagram showing the contents of the input/output control device.
The figure is a flowchart showing the status of interrupt processing. 1... central processing unit, 2... input/output device, 3...
... Input/output control device, 21 ... Illegal interrupt counter, 22 ... Illegal state continuation timer

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置と、複数の入出力装置と、これら各入出力
装置毎にかつ各入出力装置と前記中央処理装置との間に
介在する入出力制御装置とからなるデータ処理装置にお
いて、前記入出力装置からの不正割り込みが生じてから
一定時間経過したことを検出するタイマーと、前記入出
力装置からの不正割り込み回数が所定回数となつたこと
を検出するカウンタとを備え、このカウンタによる検出
が生じかつ前記タイマーによる検出が生じたとき当該入
出力装置と前記中央処理装置との接続を切り離すと共に
不正割り込みの発生を中央処理装置へ通報する前記入出
力制御装置を設けたことを特徴とする入出力装置の切り
離し方式。
In a data processing device comprising a central processing unit, a plurality of input/output devices, and an input/output control device interposed for each of these input/output devices and between each input/output device and the central processing unit, the input/output The apparatus includes a timer that detects when a certain period of time has elapsed since the occurrence of an unauthorized interrupt from the device, and a counter that detects when the number of unauthorized interrupts from the input/output device reaches a predetermined number. and an input/output control device that disconnects the input/output device from the central processing unit when detected by the timer and notifies the central processing unit of the occurrence of an unauthorized interrupt. Device disconnection method.
JP2263087A 1990-10-02 1990-10-02 Detachment system for input/output device Pending JPH04140866A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2263087A JPH04140866A (en) 1990-10-02 1990-10-02 Detachment system for input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2263087A JPH04140866A (en) 1990-10-02 1990-10-02 Detachment system for input/output device

Publications (1)

Publication Number Publication Date
JPH04140866A true JPH04140866A (en) 1992-05-14

Family

ID=17384650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2263087A Pending JPH04140866A (en) 1990-10-02 1990-10-02 Detachment system for input/output device

Country Status (1)

Country Link
JP (1) JPH04140866A (en)

Similar Documents

Publication Publication Date Title
CA2124772C (en) Processor shelf controller
CN109298961A (en) Fault handling method, device and the network equipment of multi-core processor
JPH04140866A (en) Detachment system for input/output device
JP3313667B2 (en) Failure detection method and method for redundant system
TWI803307B (en) Interrupt handling device, method and computer system
JP2000307600A (en) Heart beat circuit for device system
JP2000148525A (en) Method for reducing load of active system in service processor duplex system
JPH03233731A (en) Temperature abnormality processing system
JP2746184B2 (en) Fault logging system
JP3090054B2 (en) Stall monitoring method
JP2725107B2 (en) Interrupt device
JPS6375843A (en) Abnormality monitor system
JPH04102999A (en) Alarm collecting system
JPS6084651A (en) Control system of input and output device
JPS6389941A (en) Monitor and control equipment for microprocessor applied equipment
JPH1153222A (en) Self-diagnostic method in multiple computer system
JPH01116739A (en) Monitor equipment for cpu
JPH1174948A (en) Communication equipment
JPH04340649A (en) Detection of subsystem down
JPS6289160A (en) Computer system equipment with trouble detecting function
JPH02310755A (en) Health check system
JPH04149660A (en) Multiprocessor system
JPH04133162A (en) Operation monitor for processor
JPS61244151A (en) Detection system for trouble interruption
JPH0651935U (en) Failure management device in multi-CPU system