JPH0535460B2 - - Google Patents

Info

Publication number
JPH0535460B2
JPH0535460B2 JP60230244A JP23024485A JPH0535460B2 JP H0535460 B2 JPH0535460 B2 JP H0535460B2 JP 60230244 A JP60230244 A JP 60230244A JP 23024485 A JP23024485 A JP 23024485A JP H0535460 B2 JPH0535460 B2 JP H0535460B2
Authority
JP
Japan
Prior art keywords
central processing
time
processing unit
time monitoring
monitoring 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.)
Expired - Fee Related
Application number
JP60230244A
Other languages
Japanese (ja)
Other versions
JPS6289160A (en
Inventor
Akira Fukuda
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60230244A priority Critical patent/JPS6289160A/en
Publication of JPS6289160A publication Critical patent/JPS6289160A/en
Publication of JPH0535460B2 publication Critical patent/JPH0535460B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数の中央処理装置を有するコンピユ
ータシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer system having a plurality of central processing units.

〔従来の技術〕[Conventional technology]

従来、この種のコンピユータシステムにおい
て、1台の央処理装置が故障した時、それを他の
中央処理装置に知らせる場合、中央処理装置間で
通信を行い相互に確認するという方法がとられて
いた。
Conventionally, in this type of computer system, when one central processing unit malfunctioned, the other central processing units were notified of the failure by communication between the central processing units and mutual confirmation. .

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

上述した従来のコンピユータシステムの監視方
式は、中央処理装置の台数が増えれば増える程、
中央処理装置間の通信が増大するため、システム
性能を低下させるという欠点がある。
The conventional computer system monitoring method described above becomes more difficult as the number of central processing units increases.
This has the disadvantage of reducing system performance due to increased communication between central processing units.

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

本発明のコンピユータシステムは、各中央処装
置に対応して、当該中央処理装置によるプログラ
ム処理が予め設定された監視時間内に終了しない
ときには障害が発生したものと解釈し、予め設定
された1ないし複数の他の中央処理装置に割込み
を起こして、その旨を通知する時間監視装置が設
けられ、各中央処理装置は、対応する時間監視装
置に対して監視時間、割込みを起こす中央処理装
置を設定した後、時間監視動作を開始させる動作
開始コマンドを送信する制御手段を備えたことを
特徴とする。
The computer system of the present invention interprets that a failure has occurred when the program processing by the central processing unit does not end within a preset monitoring time, and selects a preset number of 1 to 1 for each central processing unit. A time monitoring device is provided that causes an interrupt to a plurality of other central processing units and notifies them, and each central processing unit sets the monitoring time and the central processing unit that causes the interrupt to the corresponding time monitoring device. The present invention is characterized by comprising a control means for transmitting an operation start command to start a time monitoring operation after the time monitoring operation is performed.

したがつて、中央処理装置間の通信が増大せ
ず、システム性能が低下しない。
Therefore, communication between central processing units does not increase and system performance does not deteriorate.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明す
る。
Embodiments of the present invention will be described with reference to the drawings.

第1図は本発明のコンピユータシステムの一実
施例の概略構成図である。
FIG. 1 is a schematic diagram of an embodiment of a computer system according to the present invention.

本実施例のコンピユータシステムでは、2台の
中央処理装置1,3と、それぞれ中央処理装置
1,3が実行するプログラムの処理時間を監視す
る時間監視装置2,4と、入出力制御装置6,7
と、中央処理装置1または中央処理装置3が実行
するプログラムまたは入出力制御装置6または7
との間で転送されたデータなどが格納されている
メモリ装置5がシステムの共通バス8に接続され
ている。
The computer system of this embodiment includes two central processing units 1 and 3, time monitoring devices 2 and 4 that monitor the processing time of programs executed by the central processing units 1 and 3, respectively, and an input/output control device 6, 7
and a program or input/output control device 6 or 7 executed by the central processing unit 1 or the central processing unit 3.
A memory device 5 in which data transferred between the two is stored is connected to a common bus 8 of the system.

中央処理装置1,3はシステムの初期化におい
て、それぞれ時間監視装置2,4に対して監視時
間を設定する指令を送信し、次に、障害が発生し
た場合の通知先である中央処理装置3,1の番号
を設定する指令を送信し、この後時間監視装置
2,4の監視動作開始コマンドを送信する。な
お、中央処理装置1,3により実行される1つの
プログラムの処理時間はそれぞれ監視装置2,4
で監視されている時間以内に終了するようになつ
ている。中央処理装置1は1つのプログラムを処
理する毎にそれぞれ時間監視装置2,4を起動
し、時間監視装置2,4は、中央処理装置1,3
で実行されるプログラムの処理時間を監視する。
When initializing the system, the central processing units 1 and 3 send a command to set the monitoring time to the time monitoring units 2 and 4, respectively, and then send a command to the central processing unit 3, which is the notification destination in the event of a failure. , 1 is transmitted, and thereafter a command to start the monitoring operation of the time monitoring devices 2 and 4 is transmitted. Note that the processing time of one program executed by the central processing units 1 and 3 is
It is designed to be completed within the time monitored by Each time the central processing unit 1 processes one program, the time monitoring devices 2 and 4 are started, and the time monitoring devices 2 and 4 are activated by the central processing units 1 and 3.
Monitor the processing time of programs executed in .

第2図は時間監視装置2(時間監視装置4も同
様)のブロツク図である。
FIG. 2 is a block diagram of the time monitoring device 2 (the same applies to the time monitoring device 4).

バス制御回路22は共通バス8を介して中央処
理装置1,3と信号の送受信を行なう。バスレジ
スタ制御回路22は内部にレジスタを有し、中央
処理装置1から送られてきた監視時間、障害発生
時の通知先情報処理装置(この場合、中央処理装
置3)の番号がこのレジスタに保持される。メモ
リ24にはバスレジスタ制御回路21にセツトさ
れている監視時間、通知先情報処理装置3の番号
が格納される。プロセツサ23は、中央処理装置
1から送られてきた動作開始コマンドを検出する
と、メモリ24に格納されている監視時間を時間
監視回路25にセツトして時間監視回路25を起
動し、信号線52により監視時間が経過したこと
が知らされると、メモリ24に格納されている中
央処理装置3の番号をバスレジスタ制御回路21
にセツトし、バス制御回路22を起動して割込み
を起こす。時間監視回路25は中央処理装置1か
ら送信されてきた動作開始コマンドをプロセツサ
23が検出することにより、メモリ3に格納され
ている監視時間がセツトされて時間監視を開始
し、予め定められた時間が経過すると内部のカウ
ンタを−1し、ゼロになると信号線52を介して
プロセツサ23に通知する。
The bus control circuit 22 transmits and receives signals to and from the central processing units 1 and 3 via the common bus 8. The bus register control circuit 22 has an internal register, and the monitoring time sent from the central processing unit 1 and the number of the notification destination information processing device (in this case, the central processing unit 3) when a failure occurs are held in this register. be done. The memory 24 stores the monitoring time set in the bus register control circuit 21 and the number of the notification destination information processing device 3. When the processor 23 detects the operation start command sent from the central processing unit 1, it sets the monitoring time stored in the memory 24 in the time monitoring circuit 25, activates the time monitoring circuit 25, and transmits the monitoring time via the signal line 52. When notified that the monitoring time has passed, the bus register control circuit 21 stores the number of the central processing unit 3 stored in the memory 24.
, and activates the bus control circuit 22 to generate an interrupt. When the processor 23 detects the operation start command transmitted from the central processing unit 1, the time monitoring circuit 25 sets the monitoring time stored in the memory 3 and starts time monitoring, and the time monitoring circuit 25 starts time monitoring for a predetermined period of time. When elapses, the internal counter is decremented by 1, and when it reaches zero, it is notified to the processor 23 via the signal line 52.

次に、本実施例の動作を説明する。 Next, the operation of this embodiment will be explained.

システムの初期化において中央処理装置1は時
間監視装置2に対し監視時間を設定する指令を送
信する。中央処理装置1から時間設定コマンドを
受信すると、時間監視装置2はバス制御回路22
により設定時間をバスレジスタ制御回路21内の
レジスタにセツトすると同時にプロセツサ23に
信号線51を介して知らせる。プロセツサ23は
これを検出するとバスレジスタ制御回路21内の
レジスタにセツトされている設定時間をメモリ2
4の指定のエリアに格納する。中央処理装置1は
次に、その後障害が発生した時にそれを中央処理
装置3に知らせるため時間監視装置2に中央処理
装置3の番号を設定する指令を送信する。中央処
理装置1から中央処理装置3の番号を設定するコ
マンドを受信すると、時間監視装置2はバス制御
回路22により番号をバスレジスタ制御回路21
内のレジスタにセツトすると同時にプロセツサ2
3に信号線51を介して知らせる。プロセツサ2
3は設定時間を同様に番号をメモリ24の指定の
エリアに格納する。
In initializing the system, the central processing unit 1 sends a command to the time monitoring device 2 to set a monitoring time. Upon receiving the time setting command from the central processing unit 1, the time monitoring device 2 controls the bus control circuit 22.
The set time is set in the register in the bus register control circuit 21 and at the same time is notified to the processor 23 via the signal line 51. When the processor 23 detects this, it transfers the setting time set in the register in the bus register control circuit 21 to the memory 2.
Store it in the designated area in step 4. The central processing unit 1 then sends a command to the time monitoring device 2 to set the number of the central processing unit 3 in order to notify the central processing unit 3 of any subsequent failure. Upon receiving a command to set the number of the central processing unit 3 from the central processing unit 1, the time monitoring device 2 uses the bus control circuit 22 to set the number to the bus register control circuit 21.
At the same time, processor 2
3 via the signal line 51. processor 2
3 stores the number of the set time in a designated area of the memory 24.

以上の処理が終ると中央処理装置は時間監視装
置2の動作を開始させる動作開始コマンドを送信
する。時間監視装置2はバス制御回路22により
中央処理装置1から動作開始コマンドを受信する
と、同様にプロセツサ22がこれを検出して動作
開始と解釈し、メモリ24の指定のエリアに格納
されている設定時間値を時間監視回25にセツト
すると同時に動作を開始させる。時間監視回路2
5はあらかじめ定められた時間が経過すると内部
のカウンタを−1とする。本動作は中央処理装置
1から次の動作開始コマンドを受信するまで繰り
返されるが、次の動作開始コマンドを受信すると
時間監視回路25をリセツトし、メモリ24から
再び設定時間値を取つてきて時間監視回路25に
セツトし、上記動作を繰り返す。
When the above processing is completed, the central processing unit sends an operation start command to start the operation of the time monitoring device 2. When the time monitoring device 2 receives an operation start command from the central processing unit 1 through the bus control circuit 22, the processor 22 similarly detects this and interprets it as the start of operation, and outputs the settings stored in a designated area of the memory 24. The operation is started at the same time as the time value is set in the time monitoring circuit 25. Time monitoring circuit 2
5 sets an internal counter to -1 when a predetermined time has elapsed. This operation is repeated until the next operation start command is received from the central processing unit 1, but when the next operation start command is received, the time monitoring circuit 25 is reset, the set time value is fetched from the memory 24 again, and the time The monitor circuit 25 is set, and the above operation is repeated.

いま、何らかの障害で中央処理装置1から開始
コマンドが受信されないと、時間監視回路25内
のカウンタがゼロになり信号線52を介してプロ
セツサ23に知らされる。プロセツサ23はこれ
を検出すると中央処理装置1によるプログラム処
理に障害が発生したものと解釈し、あらかじめメ
モリ24の指定のエリアに格納されている中央処
理装置3の番号をバスレジスタ制御回路21にセ
ツトし、バス制御回路22を起動して割込みをお
こす。
Now, if the start command is not received from the central processing unit 1 due to some failure, the counter in the time monitoring circuit 25 becomes zero and this is notified to the processor 23 via the signal line 52. When the processor 23 detects this, it interprets it as a failure in the program processing by the central processing unit 1, and sets the number of the central processing unit 3 stored in a designated area of the memory 24 in the bus register control circuit 21 in advance. Then, the bus control circuit 22 is activated and an interrupt is generated.

以上により、中央処理装置1による処理で障害
が発生した時に、時間監視装置2から中央処理装
置3に対し割込みを起こしてこれを知らせること
ができる。
As described above, when a failure occurs in the processing by the central processing unit 1, the time monitoring device 2 can cause an interrupt to the central processing unit 3 to notify it.

また、中央処理装置3による処理で障害が発生
した時、同様にして中央処理装置1に対し割込み
で知らせる。また、本実施例は中央処理装置が2
台接続されている場合であるが中央処理装置が3
台以上の場合も同様に本発明は適用することがで
きる。
Further, when a failure occurs in processing by the central processing unit 3, the central processing unit 1 is similarly notified by an interrupt. In addition, in this embodiment, the central processing unit is
If the central processing unit is connected to three
The present invention can be similarly applied to cases where the number of units is more than 1000 yen.

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

以上説明したように本発明は、時間監視装置を
設け、指定の中央処理装置によるプログラムの処
理が指定の時間以外に終了しなかつた時、障害が
発生したと解釈しそれを指定された1つないし複
数の他の中央処理内に割込みを起こして知らせる
ことにより、中央処理装置間の通信が増大せず、
システム性能が低下しないという効果がある。
As explained above, the present invention provides a time monitoring device, and when the processing of a program by a designated central processing unit does not end at a time other than the designated time, it is interpreted that a failure has occurred. By causing an interrupt in multiple other central processing units to notify them, communication between central processing units does not increase, and
This has the effect that system performance does not deteriorate.

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

第1図は本発明のコンピユータシステムの一実
施例の概略構成図、第2図は第1図中の時間監視
装置2のブロツク図である。 1,3……中央処理装置、2,4……時間監視
装置、5……メモリ装置、6,7……入出力制御
装置、8……共通バス、21……バスレジスタ制
御回路、22……バス制御回路、23……プロセ
ツサ、24……メモリ、25……時間監視回路。
FIG. 1 is a schematic diagram of an embodiment of the computer system of the present invention, and FIG. 2 is a block diagram of the time monitoring device 2 shown in FIG. 1, 3... Central processing unit, 2, 4... Time monitoring device, 5... Memory device, 6, 7... Input/output control device, 8... Common bus, 21... Bus register control circuit, 22... ... Bus control circuit, 23 ... Processor, 24 ... Memory, 25 ... Time monitoring circuit.

Claims (1)

【特許請求の範囲】 1 複数の中央処理装置を有するコンピユータシ
ステムにおいて、 各中央処理装置に対応して、当該中央処理装置
によるプログラム処理が予め設定された監視時間
内に終了しないときには障害が発生したものと解
釈し、予め設定された1ないし複数の他の中央処
理装置に割込みを起こしてその旨を通知する時間
監視装置が設けられ、 各中央処理装置は、対応する時間監視装置に対
して監視時間、割込みを起こす中央処理装置を設
定した後、時間監視動作を開始させる動作開始コ
マンドを送信する制御手段を備えたことを特徴と
する障害検出機能付コンピユータシステム。
[Claims] 1. In a computer system having a plurality of central processing units, a failure occurs when program processing by the central processing unit does not finish within a preset monitoring time corresponding to each central processing unit. A time monitoring device is provided that interprets the time as the current time and interrupts one or more other central processing units set in advance to notify the user of the interruption, and each central processing unit monitors the corresponding time monitoring device. 1. A computer system with a failure detection function, comprising a control means for transmitting an operation start command to start a time monitoring operation after setting a central processing unit that causes a time and interrupt.
JP60230244A 1985-10-15 1985-10-15 Computer system equipment with trouble detecting function Granted JPS6289160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60230244A JPS6289160A (en) 1985-10-15 1985-10-15 Computer system equipment with trouble detecting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60230244A JPS6289160A (en) 1985-10-15 1985-10-15 Computer system equipment with trouble detecting function

Publications (2)

Publication Number Publication Date
JPS6289160A JPS6289160A (en) 1987-04-23
JPH0535460B2 true JPH0535460B2 (en) 1993-05-26

Family

ID=16904778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60230244A Granted JPS6289160A (en) 1985-10-15 1985-10-15 Computer system equipment with trouble detecting function

Country Status (1)

Country Link
JP (1) JPS6289160A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01183744A (en) * 1988-01-14 1989-07-21 Nec Corp Monitor device for processor stall

Also Published As

Publication number Publication date
JPS6289160A (en) 1987-04-23

Similar Documents

Publication Publication Date Title
JPH0535460B2 (en)
JPS60194647A (en) Data transmission system
JP3052595B2 (en) Computer redundancy control method
JPH01166161A (en) Mutual monitoring system for multiprocessor system
JPS6389941A (en) Monitor and control equipment for microprocessor applied equipment
JPH0236971B2 (en)
JPH0343653B2 (en)
JP2533152B2 (en) Direct memory access status judgment circuit
JP2725107B2 (en) Interrupt device
JP3105025B2 (en) Redundant controller
JPS616755A (en) Data transfer system
JPH01183744A (en) Monitor device for processor stall
JPH0625976B2 (en) Abnormality monitoring circuit for transmission unit for multidrop serial bus
JPS62245456A (en) Time monitor and control system
JPH04324568A (en) Cpu runaway monitoring device
JPH0454549A (en) Data transfer system
JPS60220639A (en) Serial bus communication device
JPS6038951A (en) Communication processing device
JPH02115967A (en) Microcomputer resetting method
JPH06149686A (en) Channel interruption control system
JPS61221849A (en) Bus control system
JPS6118292A (en) Interruption control system of electronic exchange
JPS62106564A (en) Using/spare processor switching control system for information processing system
JPH04102154A (en) Information processor
JPS60189037A (en) Special unit of programmable controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees