JPS603778A - Processor reset system - Google Patents

Processor reset system

Info

Publication number
JPS603778A
JPS603778A JP58111416A JP11141683A JPS603778A JP S603778 A JPS603778 A JP S603778A JP 58111416 A JP58111416 A JP 58111416A JP 11141683 A JP11141683 A JP 11141683A JP S603778 A JPS603778 A JP S603778A
Authority
JP
Japan
Prior art keywords
processor
processors
communication
communication right
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
Application number
JP58111416A
Other languages
Japanese (ja)
Inventor
Yutaka Moriyama
裕 盛山
Yukihiro Ando
幸弘 安藤
Shigeru Oe
大江 茂
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 JP58111416A priority Critical patent/JPS603778A/en
Publication of JPS603778A publication Critical patent/JPS603778A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • G06F13/364Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control using independent requests or grants, e.g. using separated request and grant lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Retry When Errors Occur (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To reset an abnormal processor without the influence upon the other processors when the processor becomes abnormal, by providing a communication right control part, a timer, a processor operation state monitor means, etc. CONSTITUTION:When a subprocessor 2 performs communication, it outputs a communication right request signal to a communication right control circuit 6. The circuit 6 gives the communication right to the processor 2, and then, a timer circuit 7 is started. In this case, if an abnormality occurs in the processor 2, the circuit 6 cancels the permission of the communication right given to the processor 2 through the circuit 7. A main processor 1 outputs an operation state reporting command to processors 2, 3, etc. successively from its operation monitor part 1-0, and processors 2, 3, etc. report operation states. However, the processor where an abnormality occurs does not report the operation state, and the processor 1 outputs a reset signal to this processor to reset it. The circuit 1-0, the circuit 7, etc. are provided to reset the processor, where an abnormality occurs, without exerting the influence upon the other processors when an abnormality occurs in the processor.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は複数のプロセッサにより構成され。[Detailed description of the invention] [Technical field of invention] The present invention is constituted by a plurality of processors.

各プルセッサ間に通信を行う場合において、プロセッサ
間通信によりプロセッサの異常を検出し、その異常の発
生したプロセッサをリセットするようにしたプロセッサ
リセット方式に関する。
The present invention relates to a processor reset method that detects an abnormality in a processor through inter-processor communication when communicating between processors, and resets the processor in which the abnormality has occurred.

〔従来技術と問題点〕[Prior art and problems]

例えば第1図に示す如く、CPU0.CPU1。 For example, as shown in FIG. CPU1.

CPU2、・・・CPUnにより構成され、各CPU0
〜n間に互に通信を行ってデータ処理を行うような装置
においてはCPU0〜nがそれぞれ機能分担を行ってデ
ータ処理が行われる。この場合、各CPU間の通信を行
うときバスBの競合を防ぐため通信権制御回路Cを設け
、バスBを使用したい場合にこの通信権制御回路Cより
使用要求の行われたCPUに対し許可を与える。この使
用許可が与えられたCPUは正常に通信が終れば終了報
告を通信権制御回路Cに対しで送出するが、もしも使用
許可が与えられたCPUに異常が発生したとき正常通信
終了信号が返送されないことになり他のCPUがバスB
を使用できないことになるので。
Consisting of CPU2, ... CPUn, each CPU0
In a device that performs data processing by communicating with each other between CPUs 0 to n, the CPUs 0 to n perform data processing by sharing functions, respectively. In this case, a communication right control circuit C is provided to prevent contention on bus B when communicating between CPUs, and when a user wants to use bus B, this communication right control circuit C grants permission to the CPU that has requested the use of bus B. give. If the CPU that has been given permission to use this communication completes normally, it will send a completion report to the communication right control circuit C, but if an abnormality occurs in the CPU that has been given permission to use it, a normal communication completion signal will be returned. This means that other CPUs are not connected to bus B.
Because you will not be able to use it.

通信権制御回路Cはタイマを設け、一定時間後に正常通
信終了報告が返送されてこないとき、先の使用許可を取
消し、他のCPUに対して通信権を付与している。
The communication right control circuit C is provided with a timer, and when a normal communication end report is not returned after a certain period of time, the previous usage permission is canceled and the communication right is granted to another CPU.

従来ではこのような異常が発生した場合、各プロセッサ
毎に異常検出を行っており、これにより異常の発生した
CPUのみリセットを行う方式と。
Conventionally, when such an abnormality occurs, the abnormality is detected for each processor, and only the CPU in which the abnormality has occurred is reset.

どのプロセッサが異常検出しても全プロセッサをリセッ
トする方式がある。
There is a method that resets all processors no matter which processor detects an error.

しかし前者は当該プロセッサがリセットにより初期化さ
れ、他のプロセッサとの状態に相異が生じ、しかもこの
リセット状態が他のプロセッサに報告されないため状態
の一致が困難となり、データ処理の遂行上問題がある。
However, in the former case, the processor is initialized by a reset, causing a difference in state from other processors, and this reset state is not reported to other processors, making it difficult to match the states, which causes problems in data processing. be.

また後者の場合には装置全体が初期化されることになり
、それまで正常であった動作までが中断されることにな
るという問題が存在する。
In the latter case, there is a problem in that the entire device is initialized, and even normal operations up to that point are interrupted.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記問題点を改善するため。 The purpose of the present invention is to improve the above problems.

このようなマルチプロセッサ間で通信を行いなからデー
タ処理を行うような装置において、通信権許可要求が生
じてから一定時間経過後に自動的にこの通信権許可を落
すようにするとともに、中心となるプロセッサを設けて
他のプロセッサの動作監視を行なわせ、その異常検出を
行ったときそのプロセッサのみをリセットし、リセット
したプロセッサを認識することにより他の正常のプロセ
ッサに影響のないようにしたプロセッサリセット方式を
提供することである。
In such devices that perform data processing without communicating between multiprocessors, the communication right permission is automatically dropped after a certain period of time has passed after a communication right permission request occurs, and the central Processor reset: A processor is installed to monitor the operation of other processors, and when an abnormality is detected, only that processor is reset, and the reset processor is recognized so that other normal processors are not affected. The purpose is to provide a method.

〔発明の構成〕[Structure of the invention]

この目的を達成するため2本発明のプロセッサリセット
方式では、複数のプロセッサを有しプロセッサ間通信を
行うデータ処理装置において、プロセッサに通信権を付
与する通信権制御部と、タイマ一手段を設けるとともに
プロセッサの1つに他のプロセッサの動作状態を監視す
る動作状態監視手段を設け、上記通信権制御部により許
可された通信権の使用に制限時間を設けこの制限時間を
超過したとき許可した通信権を拒否し、また上記動作状
態監視手段を有するプロセッサが他のプロセッサの動作
を周期的に監視制御を行ってその異常の有無を検出し、
異常を検出したとき当該プロセッサをリセットするよう
にしたことを特徴とする。
In order to achieve this object, in the processor reset method of the present invention, in a data processing device that has a plurality of processors and performs inter-processor communication, a communication right control unit that grants communication rights to the processors and a timer means are provided. One of the processors is provided with an operating state monitoring means for monitoring the operating state of the other processor, and a time limit is set for the use of the communication right granted by the communication right control section, and when the time limit is exceeded, the authorized communication right is used. and the processor having the operating state monitoring means periodically monitors and controls the operation of other processors to detect the presence or absence of abnormality therein;
The present invention is characterized in that the processor is reset when an abnormality is detected.

〔発明の実施例〕[Embodiments of the invention]

本発明の一実施例を第2図にもとづき説明する。 An embodiment of the present invention will be described based on FIG.

図中、1は主プロセッサで後述する動作監視部1−0を
有するもの、2,3・・4は副プロセッサ。
In the figure, 1 is a main processor having an operation monitoring section 1-0, which will be described later, and 2, 3, . . . 4 are sub-processors.

5は通信回路、6は通信権制御回路、7はタイマ回路、
8−1〜8−nはアンド・ゲートである。
5 is a communication circuit, 6 is a communication right control circuit, 7 is a timer circuit,
8-1 to 8-n are AND gates.

主プロセッサ1は副プロセッサ2.3・・・4等ととも
にデータ処理を行うものであるが、副プロセッサ2,3
・・・4の動作状態を監視しこれに応じてデータ処理状
態を制御する機能を有するものである。上記動作状態を
監視するために副プロセッサ2.3・・・4に対して順
次動作状態報告コマンドを出力する。もし副プロセッサ
2,3・・・4が正常な動作状態にあればこれに対し応
答が行われるが。
The main processor 1 performs data processing together with sub-processors 2, 3...4, etc.
. . 4 has a function of monitoring the operating state of the controller 4 and controlling the data processing state accordingly. In order to monitor the above-mentioned operating states, operating state reporting commands are sequentially output to the sub-processors 2, 3, . . . , 4. If the sub-processors 2, 3, . . . 4 are in a normal operating state, a response will be made.

異常の場合には応答しない。それ故、動作監視部1−0
ではカウンタと、リセット信号出力回路を内蔵している
ので、上記動作状態報告コマンドを規定回数特定の副プ
ロセッサに送出しても応答がなければ、該副プロセッサ
に対してリセット信号を出力してこれをリセットする。
It does not respond in case of abnormality. Therefore, the operation monitoring unit 1-0
Since it has a built-in counter and a reset signal output circuit, if there is no response even after sending the above operating status report command to a specific sub-processor a specified number of times, it outputs a reset signal to the sub-processor and outputs a reset signal to the sub-processor. Reset.

通信回路5は主プロセッサ1.副プロセッサ2、3・・
・4等の各プロセッサ間の通信を行うものである。
The communication circuit 5 is connected to the main processor 1. Sub-processor 2, 3...
・It performs communication between each processor such as No. 4.

通信権制御回路6は各プロセッサにおいて通信要求が競
合したとき特定の1つに対して通信権を許可するもので
ある。
The communication right control circuit 6 grants communication rights to a specific processor when communication requests conflict among the processors.

タイマ回路7は通信権の許与されたプロセッサに異常が
発生して終了報告のないとき許与した通信権を強制的に
落すためのもので、通信権許与後一定時間後経過したと
きでも通信権が許与された状態にあるとき、これをリセ
ットするものである。
The timer circuit 7 is for forcibly dropping the granted communication right when an abnormality occurs in the processor to which the communication right has been granted and there is no completion report. This is reset when communication rights are granted.

次に本発明の動作を第2図により説明する。Next, the operation of the present invention will be explained with reference to FIG.

(1)いま副プロセッサ2が通信を行う場合、副プロセ
ッサ2は通信権要求信号をアンド・ゲート8−2を経由
して通信権制御回路6に出力する。
(1) When the sub-processor 2 now communicates, the sub-processor 2 outputs a communication right request signal to the communication right control circuit 6 via the AND gate 8-2.

このとき、アンド・ゲート8−2の他方の端子には「0
」が印加されているので、アンド・ゲート8−2はオン
状態にあり、上記信号は通信権制御回路6に伝達される
。通信権制御回路6は2例えば他のプロセッサが通信回
路5を使用していないとき、これに対して通信権許可を
与え、これによりタイマ回路7が起動する。そして副プ
ロセッサ2が通信を正常に終了すればこれが通信権制御
回路6に伝達されるので、通信権制御回路6はタイマ回
路7をリセットする。
At this time, the other terminal of the AND gate 8-2 has "0".
'' is being applied, the AND gate 8-2 is in an on state, and the above signal is transmitted to the communication right control circuit 6. When the communication circuit 5 is not being used by another processor, the communication right control circuit 6 grants communication right to the processor, and the timer circuit 7 is thereby activated. If the sub-processor 2 normally completes the communication, this is transmitted to the communication right control circuit 6, so that the communication right control circuit 6 resets the timer circuit 7.

(2)ところが上記通信権許可を付与された副プロセッ
サ2に異常が発生したとき、タイマ回路7は一定時間経
過後、アンド・ゲート8−2に対し「1」を出力し、こ
れをオフにする。これにより通信権制御回路6は副プロ
セッサ2に対して与えていた通信権許可を落すことがで
きる。
(2) However, when an abnormality occurs in the sub-processor 2 to which the above communication permission has been granted, the timer circuit 7 outputs "1" to the AND gate 8-2 after a certain period of time and turns it off. do. As a result, the communication right control circuit 6 can drop the communication right granted to the sub-processor 2.

(3)ところで主プロセッサ1はその動作監視部1−0
より各副プロセッサ2.3・・・4に対して動作状態報
告コマンドを順次出力する。この動作状態報告スマンド
を受けた副プロセッサ2,3・・・4は正常な動作状態
にあれば正常動作状態を報告することになるが、異常状
態であればこの報告は行われない。したがって主プロセ
ッサ1ではその内蔵するカウンタにより各副プロセッサ
対応にこの報告の有無をチェックしているので、一定回
数連続してこの正常動作状態の報告がないとき、その副
プロセッサに対してリセット信号を出力してこれをリセ
ットするとともにタイマー回路7にもリセット信号を送
出して当該副プロセッサに対するタイマ回路が起動して
いるときはこれをもリセットする。したがって上記(2
)の如く、副プロセッサ2に異常状態が発生しでいれば
、このようにして副プロセッサ2の異常が主プロセッサ
1に検出され、副プロセッサ2はリセットされることに
なる。
(3) By the way, the main processor 1 has its operation monitoring unit 1-0
The operating state report command is sequentially outputted to each of the sub-processors 2, 3, . . . , 4. If the subprocessors 2, 3, . . . , 4 receive this operating state report command, they will report the normal operating state if they are in a normal operating state, but if they are in an abnormal state, this report will not be made. Therefore, the main processor 1 uses its built-in counter to check the presence or absence of this report for each sub-processor, so if there is no report of normal operation status for a certain number of consecutive times, it sends a reset signal to that sub-processor. At the same time, a reset signal is sent to the timer circuit 7, and if the timer circuit for the sub-processor is activated, it is also reset. Therefore, the above (2
), if an abnormal state occurs in the sub-processor 2, the main processor 1 will detect the abnormality in the sub-processor 2 in this way, and the sub-processor 2 will be reset.

したがって主プロセッサ1では副プロセッサ2がリセッ
ト状態にあることを認識しているので、副プロセッサ2
においてデータ処理が継続されていた場合でも引続いて
次のデータ処理を行うような指令を出力することはない
Therefore, since main processor 1 recognizes that sub-processor 2 is in the reset state,
Even if data processing is continued in , a command to perform the next data processing is not output.

(4)また主プロセッサ1に対して通信権が付与された
ときこの主プロセッサ1に異常が発生すれば、タイマ回
路7が規定時間後「1」を出方する。
(4) If an abnormality occurs in the main processor 1 when the communication right is granted to the main processor 1, the timer circuit 7 outputs "1" after a specified time.

これによりアンド・ゲート8−1がオフになり。This turns off the AND gate 8-1.

この主プロセッサ1に対する通信権は強制的に落ちるこ
とになるとともに、このタイマ回路7から出力された「
1」が主プロセッサ1に対してはリセット信号としで作
用して、主プロセッサ1をリセットする。
The communication right to this main processor 1 is forcibly dropped, and the timer circuit 7 outputs "
1'' acts as a reset signal for the main processor 1 and resets the main processor 1.

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

本発明によれば複数のプロセッサにより構成されるデー
タ処理装置において、あるプロセッサに異常が生じても
他のプロセッサに影響なくこの異常発生のプロセッサを
リセットすることができるので、各プロセッサにおける
状態の不一致を有効に防止することができる。
According to the present invention, in a data processing device configured with a plurality of processors, even if an abnormality occurs in one processor, the processor in which the abnormality has occurred can be reset without affecting the other processors, so that the state of each processor is inconsistent. can be effectively prevented.

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

第1図は複数のプロセッサを有する従来のデータ処理装
置の説明図、第2図は本発明の一実施例構成図である。 図中、1は主プロセッサ、1−0は動作監視部。 2.3・・・4は副プロセッサ、5は通信回路、6は通
信権制御回路、7はタイマ回路、8−1〜8〜nはアン
ド・ゲートを示す。 特許出願人 富士通株式会社 代理人弁理士 山 谷 晧 榮
FIG. 1 is an explanatory diagram of a conventional data processing apparatus having a plurality of processors, and FIG. 2 is a configuration diagram of an embodiment of the present invention. In the figure, 1 is a main processor, and 1-0 is an operation monitoring unit. 2.3...4 are sub-processors, 5 is a communication circuit, 6 is a communication right control circuit, 7 is a timer circuit, and 8-1 to 8-n are AND gates. Patent applicant Fujitsu Ltd. Representative Patent Attorney Akira Yamatani

Claims (1)

【特許請求の範囲】 複数のプロセッサを有しプロセッサ間通信を行うデータ
処理装置において、プロセッサに通信権を付与する通信
権制御部と、タイマ一手段を設けるとともにプロセッサ
の1つに他のプロセッサの動作状態を監視する動作状態
監視手段を設け、上記通信権制御部により許可された通
信権の使用に制限時間を設けこの制限時間を超過したと
き許可した通信権を拒否し、また上記動作状態監視手段
を有するプロセッサが他のプロセッサの動作を周期的に
監視制御を行ってその異常の有無を検出し。 異常を検出したとぎ当該プロセッサをリセットするよう
にしたことを特徴とするプロセッサリセット方式。
[Scope of Claims] A data processing device having a plurality of processors and performing inter-processor communication is provided with a communication right control section for granting communication rights to the processors, a timer means, and one of the processors is provided with a communication right control section for granting communication rights to the processors. An operating state monitoring means for monitoring the operating state is provided, and a time limit is set for the use of the communication right permitted by the communication right control section, and when the time limit is exceeded, the permitted communication right is denied, and the above operating state monitoring means is provided. A processor having means periodically monitors and controls the operations of other processors to detect the presence or absence of an abnormality. A processor reset method characterized in that the processor is reset as soon as an abnormality is detected.
JP58111416A 1983-06-21 1983-06-21 Processor reset system Pending JPS603778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58111416A JPS603778A (en) 1983-06-21 1983-06-21 Processor reset system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58111416A JPS603778A (en) 1983-06-21 1983-06-21 Processor reset system

Publications (1)

Publication Number Publication Date
JPS603778A true JPS603778A (en) 1985-01-10

Family

ID=14560612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58111416A Pending JPS603778A (en) 1983-06-21 1983-06-21 Processor reset system

Country Status (1)

Country Link
JP (1) JPS603778A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51147146A (en) * 1975-06-13 1976-12-17 Hitachi Ltd Error check system
JPS5755461A (en) * 1980-09-20 1982-04-02 Hitachi Ltd Multiprocessor failure detection system
JPS57143669A (en) * 1981-02-28 1982-09-04 Omron Tateisi Electronics Co Debugging device for multiprocessor system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51147146A (en) * 1975-06-13 1976-12-17 Hitachi Ltd Error check system
JPS5755461A (en) * 1980-09-20 1982-04-02 Hitachi Ltd Multiprocessor failure detection system
JPS57143669A (en) * 1981-02-28 1982-09-04 Omron Tateisi Electronics Co Debugging device for multiprocessor system

Similar Documents

Publication Publication Date Title
AU611287B2 (en) System bus preempt for 80386 when running in an 80386/82385 microcomputer system with arbitration
US5528767A (en) Programmable multi-level bus arbitration apparatus in a data processing system
JPS603778A (en) Processor reset system
JPH0218503B2 (en)
JP3626292B2 (en) Bus interface control method
JPH01166161A (en) Mutual monitoring system for multiprocessor system
JP2744113B2 (en) Computer system
JPS6343560Y2 (en)
JPH0223445A (en) Bus supervisory and controlling system
JPH04148266A (en) Multiprocessor system
JPH03222020A (en) Reset system for multi-micro processor system
JPH04333963A (en) Fault processing system
JPH0236971B2 (en)
JPH0298769A (en) Arithmetic processor
JPH02257251A (en) Information processor
JPH0535460B2 (en)
JPS5932809B2 (en) DMA channel bus usage control method
JPS62197851A (en) Bus controller
JPH04123145A (en) Microcomputer
JPS6134654A (en) Bus master control device
JPH0764876A (en) Fault detecting device between bus handler
JPH0488458A (en) Bus arbitration system
JPH0417541B2 (en)
JPS60564A (en) Memory access competition controlling system
JPH023812A (en) System reset system