JPH11265321A - Fault restoring method central processing unit and central processing system - Google Patents

Fault restoring method central processing unit and central processing system

Info

Publication number
JPH11265321A
JPH11265321A JP10065521A JP6552198A JPH11265321A JP H11265321 A JPH11265321 A JP H11265321A JP 10065521 A JP10065521 A JP 10065521A JP 6552198 A JP6552198 A JP 6552198A JP H11265321 A JPH11265321 A JP H11265321A
Authority
JP
Japan
Prior art keywords
central processing
processing unit
failure
cycle
fault
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
JP10065521A
Other languages
Japanese (ja)
Inventor
Keizo Akiyama
桂三 秋山
Takahiro Kase
隆宏 加瀬
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10065521A priority Critical patent/JPH11265321A/en
Publication of JPH11265321A publication Critical patent/JPH11265321A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)
  • Monitoring And Testing Of Exchanges (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute various fault restoring processing by judging a fault generation source in a central processing system having double redundant constitution. SOLUTION: In a method arranging a 1st central processing unit(CPU) 11 of an action system to be functioned as a CPU and a 2nd CPU 12 of a stand-by system not functioned as a CPU and having the same constitution as the 1st CPU 11 in parallel and capable of restoring a fault generated at the time of writing the same information in main memories respectively included in the 1st and 2nd CPUs 11, 12 at the same cycle, the 1st CPU 11 judges which CPU generates a fault during the writing operation, the 1st CPU 11 or the 2nd CPU 12, and restoring processing different in accordance with the judged result is executed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、中央処理システム
に関し、たとえばPBX(構内交換機)のプログラムお
よびシステムデータなどが格納されるRAM(ランダム
アクセスメモリ)に障害が発生した場合のシステムバッ
クアップ機能などを提供する中央処理システムに適用し
得るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central processing system, and more particularly to a system backup function when a failure occurs in a RAM (random access memory) storing a program of a private branch exchange (PBX) and system data. It can be applied to the central processing system provided.

【0002】また本発明は、かかる中央処理システムの
構成要素としての中央処理装置に関するものである。
The present invention also relates to a central processing unit as a component of such a central processing system.

【0003】さらに本発明は、かかる中央処理システム
において使用する障害復旧方法に関するものである。
[0003] Further, the present invention relates to a failure recovery method used in such a central processing system.

【0004】[0004]

【従来の技術】従来、交換システムや情報処理システム
においては、システムの稼動停止を防ぐため、あるいは
システムの信頼性向上のために、しばしば二重冗長構成
が採られている。
2. Description of the Related Art Conventionally, in a switching system or an information processing system, a double redundant configuration is often adopted in order to prevent the system from being stopped or to improve the reliability of the system.

【0005】この二重冗長構成では、現にシステムの中
央処理装置として動作しているアクト系(運用中)の中
央処理装置と、この中央処理装置と同一構成の中央処理
装置であって中央処理装置として動作していないスタン
バイ系(待機中)の中央処理装置を並置している。
In this double redundant configuration, an act-based (operating) central processing unit currently operating as a central processing unit of the system, and a central processing unit having the same configuration as the central processing unit, And a central processing unit of a standby system (waiting) that is not operating is juxtaposed.

【0006】そしてこれら2つの中央処理装置に内蔵さ
れている主メモリ(RAM)には、同一サイクルで同一
のプログラムやデータが書き込み(二重書き込み)され
る。書き込みが終わると各主メモリからは、応答信号が
送出され、ワイヤードORの応答通知ラインに供給され
る。
The same programs and data are written (double-written) in the same cycle in the main memory (RAM) incorporated in these two central processing units. When writing is completed, a response signal is sent from each main memory and supplied to the wired OR response notification line.

【0007】当該書き込みのアクセスタイムアウト時間
は、システムとして最適なある単一の時間に規定され、
その時間において各主メモリから送出されるはずの2つ
の応答信号のどちらか一つでも送出されない場合には、
タイムアウト障害となり、アクト系の中央処理装置で割
込みが行われ、障害復旧処理が実行されている。
The write access time-out period is defined as a single optimal time for the system.
At that time, if at least one of the two response signals that should be sent from each main memory is not sent,
A time-out failure has occurred, an interrupt has been performed in the act-based central processing unit, and failure recovery processing has been executed.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上述の方
法では、二重書き込みアクセスにおいてタイムアウト障
害が発生したために一方の主メモリから応答信号が送出
されない場合、それがどちらの主メモリであるかを判別
する手段が無く、あらかじめ規定された割込み処理で、
アクト系、スタンバイ系の双方に対し同じ障害復旧処理
を行っていた。
However, in the above-mentioned method, when a response signal is not sent from one main memory due to a time-out failure in the double write access, it is determined which main memory is the response signal. There is no means, and with the interrupt processing defined in advance,
The same failure recovery processing was performed for both the act system and the standby system.

【0009】[0009]

【課題を解決するための手段】かかる課題を解決するた
め、第1の発明では、中央処理装置として機能している
アクト系の第1の中央処理装置と、中央処理装置として
機能していないスタンバイ系で、この第1の中央処理装
置と同一の構成を有する第2の中央処理装置とを並置
し、これら第1及び第2の中央処理装置の主メモリに対
して同一サイクルで同一情報を書き込むときに発生する
障害の復旧方法において、前記書き込み動作中に発生し
た障害が、第1又は第2のどちらの中央処理装置で発生
したかを、アクト系の第1の中央処理装置が判定し、こ
の判定の結果に応じて異なる復旧処理を行うことを特徴
とする。
According to a first aspect of the present invention, there is provided an act-type first central processing unit functioning as a central processing unit and a standby unit not functioning as a central processing unit. In this system, the first central processing unit and a second central processing unit having the same configuration are juxtaposed, and the same information is written to the main memories of the first and second central processing units in the same cycle. In the recovery method for the failure that occurs sometimes, the first central processing unit of the act system determines whether the failure that occurred during the write operation has occurred in the first or the second central processing unit, A different recovery process is performed according to the result of this determination.

【0010】また、内蔵している自系メモリと外部の他
系メモリに対して同一サイクルで同一情報を書き込む中
央処理装置において、以下のようにしたことを特徴とす
る。
A central processing unit which writes the same information in the same cycle to the built-in self-system memory and the external another-system memory in the same cycle is characterized as follows.

【0011】すなわち、第2の発明では、(1)自系メ
モリに対する1サイクル分の情報書き込みが終了したこ
とを、内蔵している中央処理部制御回路に通知する自系
応答手段と、(2)他系メモリに対する1サイクル分の
情報書き込みが終了したことを、前記中央処理部制御回
路に通知する他系応答手段とを備え、(3)前記サイク
ルに対応した所定のタイミングまでに、前記自系又は他
系の応答手段から前記通知がないときは前記中央処理部
が、どちらの応答手段からの通知がないかによって異な
る復旧処理を行うことを特徴とする。
That is, in the second invention, (1) own system response means for notifying the built-in central processing unit control circuit that one cycle of information writing to the own system memory has been completed; And (3) another system response means for notifying the central processing unit control circuit that the writing of information for one cycle to the other system memory has been completed. (3) The self-response means is provided by a predetermined timing corresponding to the cycle. When the notification is not received from the response unit of the system or the other system, the central processing unit performs a different recovery process depending on which response unit does not receive the notification.

【0012】また、第3の発明にかかる中央処理システ
ムは、請求項3又は4のいずれかの中央処理装置を複数
接続することにより構成することを特徴とする。
Further, a central processing system according to a third aspect of the present invention is characterized in that the central processing system is configured by connecting a plurality of central processing devices according to any one of the third and fourth aspects.

【0013】[0013]

【発明の実施の形態】(A)実施形態 以下、本発明にかかる障害復旧方法、中央処理装置及び
中央処理システムを、PBX交換機に適用した場合を例
に、一実施形態について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (A) Embodiment An embodiment will be described below, taking as an example a case where a failure recovery method, a central processing unit and a central processing system according to the present invention are applied to a PBX exchange.

【0014】(A−1)実施形態の構成 実施形態にかかる中央処理システム10を図1に示す。(A-1) Configuration of the Embodiment FIG. 1 shows a central processing system 10 according to the embodiment.

【0015】図1において、中央処理システム10は中
央処理装置11および12の2つのパッケージから構成
されている。
Referring to FIG. 1, a central processing system 10 includes two packages of central processing units 11 and 12.

【0016】中央処理装置11内のタイムアウト監視回
路13は、二重書き込みアクセスサイクルの開始ごとに
MPU14から送出される起動信号を受信すると初期値
からカウントをはじめるタイマで、MPU14による自
系メモリ15、他系メモリ16へのアクセスサイクルご
とにあらかじめ設定されたタイムアウト時間(タイミン
グ)の経過をMPU制御回路17に通知する回路であ
る。起動信号の供給を受けるためにタイムアウト監視回
路13の入力端子は、複合バス18のなかの制御バスに
接続し、出力端子はMPU制御回路17に接続してい
る。
The timeout monitoring circuit 13 in the central processing unit 11 is a timer that starts counting from an initial value upon receiving a start signal sent from the MPU 14 every time a double write access cycle starts. This circuit notifies the MPU control circuit 17 of the elapse of a preset timeout time (timing) for each access cycle to the other system memory 16. The input terminal of the timeout monitoring circuit 13 is connected to a control bus in the composite bus 18 and the output terminal is connected to the MPU control circuit 17 to receive the start signal.

【0017】複合バス18には、MPU14、タイムア
ウト監視回路13間の制御バスのほか、MPU14から
自系メモリ15、他系メモリ16に至るアドレス・バス
およびデータ・バスが含まれる。
The composite bus 18 includes an address bus and a data bus from the MPU 14 to the own system memory 15 and the other system memory 16 in addition to a control bus between the MPU 14 and the timeout monitoring circuit 13.

【0018】MPU14は、(二重書き込みも含む)基
本的なPBX交換プログラムの実行にともなって必要と
なるデータやプログラムを自系メモリ15と他系メモリ
16に書き込む(二重書き込み)ために、複合バス18
で自系および他系メモリ15,16に接続されている。
The MPU 14 writes (duplicately writes) data and programs necessary for the execution of the basic PBX exchange program (including the double write) into the own system memory 15 and the other system memory 16 (double write). Composite bus 18
To the memories 15 and 16 of the own system and the other system.

【0019】自身に対するこの書き込みが終了したこと
をアクセス応答信号で通知するために(中央処理装置1
1の主メモリである)自系メモリ15は、制御バス21
で自系受信回路19に接続されている。自系受信回路1
9はこの応答信号の受信を通知するためにMPU制御回
路17に接続されている。
In order to notify the completion of the writing to itself by an access response signal (the central processing unit 1
1 is a main memory).
And is connected to the own system receiving circuit 19. Own system receiving circuit 1
Reference numeral 9 is connected to the MPU control circuit 17 to notify the reception of the response signal.

【0020】同様に、自身に対する前記書き込みが終了
したことをアクセス応答信号で通知するために(中央処
理装置12の主メモリである)他系メモリ16は、制御
バス22で、中央処理装置11内の他系受信回路23に
接続されている。そして他系受信回路23はこの応答信
号の受信を通知するためにMPU制御回路17に接続さ
れている。
Similarly, the other system memory 16 (which is the main memory of the central processing unit 12) is connected to the control bus 22 to notify the completion of the writing to itself by an access response signal. Is connected to the other-system receiving circuit 23. The other-system receiving circuit 23 is connected to the MPU control circuit 17 to notify the reception of the response signal.

【0021】一方、MPU制御回路17は、自系用の障
害要因レジスタ24と他系用の障害要因レジスタ25を
備え、アクセスタイムアウトエラーなど自系メモリ15
へのアクセスで発生した障害要因を障害要因レジスタ2
4に格納し、他系メモリ16へのアクセスで発生した障
害要因を障害要因レジスタ25に格納する。
On the other hand, the MPU control circuit 17 includes a failure cause register 24 for the own system and a failure cause register 25 for the other system.
The cause of the failure that occurred during the access to the
4 and the failure factor generated by accessing the other-system memory 16 is stored in the failure factor register 25.

【0022】またMPU制御回路17は、前記1サイク
ル内の後述するタイミングまでに自系、他系の受信回路
19、23が応答信号の受信を知らせてきたことを示す
応答通知信号を送出するために、MPU14に接続され
ている。
The MPU control circuit 17 transmits a response notification signal indicating that the reception circuits 19 and 23 of the own system and the other systems have notified the reception of the response signal by the timing described later in the one cycle. Are connected to the MPU 14.

【0023】障害要因レジスタ24に接続された割込み
回路26は、少なくとも障害要因レジスタ24に格納さ
れている自系の障害要因を示す信号を送出するために、
割込み制御回路27に接続されている。
The interrupt circuit 26 connected to the fault cause register 24 transmits at least a signal indicating the fault cause of the own system stored in the fault cause register 24,
It is connected to the interrupt control circuit 27.

【0024】同様に、障害要因レジスタ25に接続され
た割込み回路28は、少なくとも障害要因レジスタ25
に格納されている他系の障害要因を示す信号を送出する
ために、割込み制御回路27に接続されている。
Similarly, the interrupt circuit 28 connected to the fault cause register 25 includes at least the fault cause register 25
Is connected to the interrupt control circuit 27 in order to send out a signal indicating a cause of failure of another system stored in the interrupt control circuit 27.

【0025】割込み制御回路27は、割込み回路26ま
たは28からの出力信号に応じて、基本的なPBX交換
プログラムを実行しているMPU14に対し、ハードウ
エア的に割込みを行うために内部バス20でMPU14
に接続されている。
In accordance with an output signal from the interrupt circuit 26 or 28, an interrupt control circuit 27 is provided on the internal bus 20 to interrupt the MPU 14 executing the basic PBX exchange program by hardware. MPU14
It is connected to the.

【0026】割込み用の内部バス20はたとえば3本の
信号線から構成され3ビットの情報を伝送する内部バス
で、障害要因および障害の発生個所が自系か他系かに応
じてレベル0〜7の異なる割込み信号をMPU14に伝
送する。この割込み信号のレベルすなわち割込みレベル
に応じてMPU14は、自系または他系どちらのメモリ
で障害が発生したかを認識し、異なる割込み処理(割込
みプログラム)を実行する。
The internal bus 20 for interrupts is, for example, an internal bus composed of three signal lines for transmitting 3-bit information, and has a level of 0 to 0 depending on the cause of the failure and whether the location of the failure is its own system or another system. 7 different interrupt signals are transmitted to the MPU 14. In accordance with the level of the interrupt signal, that is, the interrupt level, the MPU 14 recognizes whether a fault has occurred in the memory of the own system or the other system, and executes different interrupt processing (interrupt program).

【0027】なお、中央処理装置12の構成は、中央処
理装置11とまったく同一なので、中央処理装置12の
主メモリである他系メモリ16以外は省略する。
Since the configuration of the central processing unit 12 is exactly the same as that of the central processing unit 11, the components other than the other system memory 16, which is the main memory of the central processing unit 12, are omitted.

【0028】以下、このような構成を有する本実施形態
の動作について説明する。
Hereinafter, the operation of the present embodiment having such a configuration will be described.

【0029】(A−2)実施形態の動作 あらかじめタイムアウト監視回路13は、自系メモリ1
5に対するアクセスタイムアウト時間TSと、他系メモ
リ16に対するアクセスタイムアウト時間TOの情報を
得ている。ここではTSの方がTOより長く、たとえば
TS=10μS、TO=5μSとする。ただし必要に応
じて、TSの方がTOより短くなるように設定してもよ
いし、その時間も5μS、10μSより短くてもよく長
くてもよい。要するにシステムのタイミング設計が許容
し、MPU制御回路17が認識できる程度にTSとTO
のあいだに時間差があればよい。PBX交換機の中央処
理装置として動作しているアクト系の中央処理装置11
内のMPU14は正常時には、自系メモリ15および他
系メモリ16に対して同時にアクセスし、同一のデータ
またはプログラムを書き込むとともに、当該アクセス開
始時にはタイムアウト監視回路13に起動信号を送出す
る。
(A-2) Operation of the Embodiment The timeout monitoring circuit 13
5, and information on the access timeout time TO for the other-system memory 16 is obtained. Here, it is assumed that TS is longer than TO, for example, TS = 10 μS and TO = 5 μS. However, if necessary, TS may be set to be shorter than TO, and the time may be shorter or longer than 5 μS and 10 μS. In short, the timing of the system is allowed and the MPU control circuit 17 can recognize the TS and TO
There should be a time difference between them. Act-based central processing unit 11 operating as a central processing unit of a PBX exchange
When the MPU 14 is normal, it accesses the own memory 15 and the other memory 16 simultaneously, writes the same data or program, and sends a start signal to the timeout monitoring circuit 13 when the access starts.

【0030】タイムアウト監視回路13はこの起動信号
を受信すると、初期値から時間のカウントをはじめる。
Upon receipt of the start signal, the timeout monitoring circuit 13 starts counting time from an initial value.

【0031】当該アクセスによる書き込みが完了すると
各メモリ15,16が、制御バス21,22で受信回路
19,23に応答信号を送出する。正常時には受信回路
19および23はそれぞれ、タイミングTS、TOまで
に応答信号を受信し、これらを検出したMPU制御回路
17は、両応答信号の受信を示す1つの応答通知をMP
U14に送出する。
When the writing by the access is completed, each of the memories 15 and 16 sends a response signal to the receiving circuits 19 and 23 via the control buses 21 and 22. In a normal state, the receiving circuits 19 and 23 respectively receive the response signals before the timings TS and TO, and upon detecting these, the MPU control circuit 17 sends one response notification indicating the reception of both response signals to the MPS.
Send to U14.

【0032】このときにはまだ、MPU制御回路17
は、タイムアウト監視回路13が送出するTO経過通知
もTS経過通知も受信していない。通常は、応答通知を
送出してからMPU14がつぎの1サイクルをはじめる
までの期間に、MPU制御回路17はTO経過通知とT
S経過通知を相次いで受信することになる。もちろん他
系メモリ22からの応答信号受信、TO=5μS経過通
知受信、自系メモリ15からの応答信号受信、TS=1
0μS経過通知受信という順番になってもよい。
At this time, the MPU control circuit 17
Does not receive the TO progress notification or the TS progress notification sent by the timeout monitoring circuit 13. Normally, during the period from when the response notification is sent to when the MPU 14 starts the next cycle, the MPU control circuit 17 sends the TO progress notification and the T
S progress notifications will be received one after another. Of course, a response signal is received from the other system memory 22, TO = 5 μS progress notification is received, a response signal is received from the own system memory 15, TS = 1.
The order may be 0 μS progress notification reception.

【0033】どのケースであれ正常時には、少なくとも
TS=10μSの経過までにはMPU制御回路17は応
答通知の送出を終えており、TO、TSの経過通知受信
によって特に動作を行うことはない。
In any case, in a normal state, the MPU control circuit 17 has finished sending the response notification at least by the time TS = 10 μS has elapsed, and does not perform any particular operation by receiving the progress notification of TO and TS.

【0034】応答通知を受信したあとでMPU14は、
自系メモリ15、他系メモリ16に対してつぎの1サイ
クルの書き込みアクセスを開始するとともに、タイムア
ウト監視回路13はふたたびこの開始タイミングで初期
値からカウントをはじめる。正常な状態がつづいている
あいだは、このような二重書き込みのサイクルが繰り返
される。
After receiving the response notification, the MPU 14
The next one cycle of write access to the own system memory 15 and the other system memory 16 is started, and the timeout monitoring circuit 13 starts counting from the initial value again at this start timing. While the normal state continues, such a double write cycle is repeated.

【0035】このサイクルが繰り返されているあいだ、
スタンバイ系の中央処理装置12はスタンバイ(待機)
状態を維持している。
While this cycle is repeated,
Standby central processing unit 12 is in standby (standby)
The state is maintained.

【0036】ところがある1サイクルにおいて、自系メ
モリ15からの応答信号はタイムアウト時間TSまでに
自系受信回路19で受信されたものの、他系メモリ16
から出力されるはずの応答信号がタイムアウト時間TO
までに受信されなかったとする。
In one cycle, the response signal from the own system memory 15 is received by the own system receiving circuit 19 before the timeout time TS, but the other system memory 16
The response signal that should have been output from the
It was not received by now.

【0037】この場合、当該サイクルで、TO=5μS
の経過通知までに他系受信回路23が他系メモリ16か
らの応答信号を受信していないことを検出したMPU制
御回路17は、TO経過通知後ただちに、他系用の障害
要因レジスタ25に障害要因としてタイムアウトエラー
を格納し、当該二重書き込みのサイクルを終了させる。
これに前後して自系メモリ15から送出された応答信号
の受信が、MPU制御回路17に検出される。
In this case, in this cycle, TO = 5 μS
The MPU control circuit 17 that has detected that the other-system receiving circuit 23 has not received the response signal from the other-system memory 16 until the notification of the progress of the “TO” progress, immediately after the notification of the TO progress, causes the other-system fault cause register 25 to fail. A time-out error is stored as a cause, and the cycle of the double writing is terminated.
The MPU control circuit 17 detects the reception of the response signal sent from the local memory 15 before or after this.

【0038】タイムアウトエラーの格納を割込み回路2
8が検出すると割込み制御回路27は、MPU14に対
し割込み信号を送出する。この割込み信号のレベルは、
障害の発生個所が他系メモリ16または他系メモリ16
に影響する複合バス18の周辺個所であることと、障害
要因がタイムアウトエラーであることを示すもので、上
述のレベル0〜7の8つのレベルのなかから選択された
ものである。
The interruption circuit 2 stores the time-out error.
When 8 is detected, the interrupt control circuit 27 sends an interrupt signal to the MPU 14. The level of this interrupt signal is
The failure location is the other system memory 16 or the other system memory 16
And indicates that the cause of the failure is a time-out error, which is selected from the eight levels 0 to 7 described above.

【0039】割込み信号を受信することによってMPU
14は、スタンバイ系の他系メモリ16に対しては書き
込みアクセスを行わずに障害修復処理を行うとともに、
自系メモリ15に対してはこれまでどおり、データなど
の書き込みを行う。したがって中央処理装置11による
PBX交換機の中央処理装置としての働きは、当該障害
発生によってまったく影響を受けることがない。
By receiving the interrupt signal, the MPU
14 performs a failure recovery process without performing a write access to the other system memory 16 of the standby system,
Data and the like are written to the local memory 15 as before. Therefore, the function of the central processing unit 11 as the central processing unit of the PBX exchange is not affected at all by the occurrence of the failure.

【0040】そして障害修復処理によって他系メモリ1
6部での障害が修復された場合には、ふたたび二重書き
込みが開始される。なお、障害修復処理を実行するのは
MPU14ではなく、中央処理装置12に内蔵されたM
PU(MPU14に相当するもの)が実行するようにし
てもよい。この場合、割込み信号を受信したときにMP
U14は、スタンバイ系中央処理装置12の切り離しを
行い、障害修復後に再組み込みを行うなどの処理を実行
することになる。
Then, the other memory 1
If the fault in the sixth part is repaired, the double writing is started again. It is to be noted that the MPU 14 executes the failure repair processing, but the M
A PU (corresponding to the MPU 14) may execute the program. In this case, when an interrupt signal is received, MP
U14 executes processing such as disconnecting the standby system central processing unit 12 and performing re-installation after repairing the failure.

【0041】一方、正常に二重書き込みが行われている
ときにある1サイクルにおいて、他系メモリ16からの
応答信号はタイムアウト時間TOまでに他系受信回路2
3で受信されたものの、自系メモリ15から出力される
はずの応答信号がタイムアウト時間TSまでに受信され
なかったとする。
On the other hand, in one cycle when the dual writing is normally performed, the response signal from the other system memory 16 is received by the other system receiving circuit 2 before the timeout time TO.
It is assumed that a response signal, which was received in step 3 but should be output from the local memory 15, was not received before the timeout time TS.

【0042】この場合、当該サイクルで、TS=10μ
Sの経過通知までに自系受信回路19が自系メモリ15
からの応答信号を受信していないことを検出したMPU
制御回路17は、TS経過通知後ただちに、自系用の障
害要因レジスタ24に障害要因としてタイムアウトエラ
ーを格納し、当該二重書き込みのサイクルを終了させ
る。この場合このときには、他系メモリ16からの応答
信号の受信は、すでにMPU制御回路17に検出されて
いる。
In this case, in this cycle, TS = 10 μm
By the time the S progress notification, the own system receiving circuit 19
MPU that has not received a response signal from
Immediately after the notification of the progress of the TS, the control circuit 17 stores a timeout error as a failure factor in the failure factor register 24 for the own system, and terminates the double writing cycle. In this case, the reception of the response signal from the other-system memory 16 has already been detected by the MPU control circuit 17 at this time.

【0043】上記の他系のタイムアウトエラーの場合と
同様に、このタイムアウトエラーの格納を自系用の割込
み回路26が検出すると、割込み制御回路27はMPU
14に対し割込み信号を送出する。ただしこの割込み信
号のレベルは上述した割込み信号とは異なる。障害要因
がタイムアウトエラーである点では上述のケースと同じ
であるが、障害の発生個所が自系メモリ15または自系
メモリ15に影響する複合バス18の周辺個所である点
が異なるためである。
As in the case of the timeout error of the other system, when the storage of the timeout error is detected by the interrupt circuit 26 for the own system, the interrupt control circuit 27
14 to send an interrupt signal. However, the level of this interrupt signal is different from the above-mentioned interrupt signal. This is the same as the case described above in that the failure factor is a timeout error, except that the failure location is the local memory 15 or a peripheral part of the composite bus 18 that affects the local memory 15.

【0044】割込み信号から自系メモリ15に障害が発
生したことを認識したMPU14は、ひとまず二重書き
込みのサイクルを終了して、上記とは異なる割込み処理
を行う。
The MPU 14 recognizing from the interrupt signal that a failure has occurred in its own memory 15, temporarily ends the double write cycle and performs an interrupt process different from the above.

【0045】この割込み処理の内容はタイムアウト時間
と1サイクルの時間との関係によって変わり得る。長い
方のタイムアウト時間、すなわち本実施形態では自系タ
イムアウト時間TS=10μSの経過したあとの残りの
1サイクルの時間に障害修復処理を実行するだけの余裕
がない場合には、二重書き込みのサイクルを終了すると
同時に、これまでスタンバイ系であった中央処理装置1
2をアクト系として自系はPBX交換機の中央処理装置
としての動作を中止して障害修復処理に専従する。障害
修復後には、自系中央処理装置11はスタンバイ系とな
ってもよいし、ふたたびアクト系となり他系中央処理装
置12をスタンバイ系としてもよい。
The contents of the interrupt processing can be changed depending on the relationship between the timeout time and the time of one cycle. If the longer timeout period, that is, the remaining one cycle time after the elapse of the local system timeout time TS = 10 μS in this embodiment, cannot afford to execute the failure repair processing, the double write cycle At the same time, the central processing unit 1 which has been the standby system
2 as the act system, the own system stops the operation as the central processing unit of the PBX exchange, and exclusively uses the failure recovery processing. After the failure is repaired, the own central processing unit 11 may become the standby system, or may become the act system again, and the other central processing unit 12 may become the standby system.

【0046】余裕がある場合には、その期間に障害修復
処理を実行してみて修復できればつぎの1サイクルがは
じまるはずの時刻にはふたたび二重書き込みサイクルを
開始し、修復できなければその時点で他系中央処理装置
12をアクト系とし、MPU14は障害修復処理に専従
するようにしてもよい。これにより当該PBX交換機の
動作にはまったく影響が表れない。
If there is enough time, the dual write cycle is started again at the time when the next one cycle should start if the fault repair processing is executed during that time and the repair can be performed. The other system central processing unit 12 may be an act system, and the MPU 14 may be dedicated to the failure repair processing. This has no effect on the operation of the PBX exchange.

【0047】なお、あらかじめ格納された障害修復処理
プログラムで障害が修復できない場合には、パッケージ
ごと中央処理装置が取り替えられることになる。
If the failure cannot be repaired by the failure repair processing program stored in advance, the central processing unit is replaced for each package.

【0048】(A−3)実施形態の効果 以上のように、本実施形態によれば、同じ障害要因に対
しても障害の発生個所に応じて異なる割込み処理で、障
害修復やアクト系とスタンバイ系の切り替えなどの多様
な処理を含む障害復旧処理を実行することができ、障害
発生時にも中央処理装置としての動作に影響を与えず、
システムの信頼性を高めることができる。
(A-3) Effects of the Embodiment As described above, according to the present embodiment, even for the same cause of failure, different interrupt processing is performed depending on the location of the failure, and the failure recovery and the act system and the standby system can be performed. It can execute failure recovery processing including various processing such as system switching, and does not affect the operation as the central processing unit even when a failure occurs,
The reliability of the system can be improved.

【0049】(B)他の実施形態 なお、上記の実施形態では、自系タイムアウト時間TS
の方が他系タイムアウト時間TOより長いものとした
が、実際には複合バス18においても、制御バス21,
22においても他系の伝送遅延の方が大きくなるのが普
通であるので、TSの方がTOより短くなるように設定
した方が、システムのタイミング設計上有利である。
(B) Other Embodiments In the above embodiment, the own system timeout time TS
Is longer than the other system timeout time TO. However, in practice, the control bus 21,
In 22 as well, the transmission delay of the other system is usually larger, so setting the TS to be shorter than the TO is advantageous in terms of system timing design.

【0050】また必要に応じて、3つ以上の中央処理装
置を接続して三重冗長以上の冗長度でシステムを構成し
てもよい。この場合、請求項における「中央処理装置」
は必ずしも1つの中央処理装置であることを意味せず、
1または複数の中央処理装置を意味する。
If necessary, three or more central processing units may be connected to form a system with three or more redundancy levels. In this case, the "central processing unit" in the claims
Does not necessarily mean one central processing unit,
One or more central processing units.

【0051】さらに、上述の実施形態においては、PB
X交換機に適用した場合を例に説明したが、本発明の適
用範囲はこれに限定されず、少なくとも一定時間は稼動
停止することなく動作しつづけることを求められる機器
のなかの、冗長構成をなす中央処理装置に広く適用する
ことができ、その信頼性を高める。
Further, in the above embodiment, PB
Although the case where the present invention is applied to the X exchange has been described as an example, the scope of application of the present invention is not limited to this, and a redundant configuration is required among devices that are required to continue operating without stopping for at least a certain period of time. It can be widely applied to central processing units and enhances its reliability.

【0052】[0052]

【発明の効果】以上のように、第1の発明にかかる障害
復旧方法では、書き込み動作中に発生した障害が、アク
ト系又はスタンバイ系のどちらの中央処理装置で発生し
たかを判定し、この判定の結果に応じて異なる復旧処理
を行うので、多様な割込み処理で多様な障害復旧処理を
実行することが可能で、障害復旧方法の信頼性を高める
ことができる。
As described above, in the failure recovery method according to the first aspect of the present invention, it is determined whether the failure that occurred during the write operation has occurred in the act-system or the standby-system central processing unit. Since different recovery processes are performed according to the result of the determination, various failure recovery processes can be executed by various interrupt processes, and the reliability of the failure recovery method can be improved.

【0053】また、第2の発明にかかる中央処理装置で
は、自系メモリに対する1サイクル分の情報書き込みが
終了したことを、内蔵している中央処理部制御回路に通
知する自系応答手段と、他系メモリに対する1サイクル
分の情報書き込みが終了したことを、前記中央処理部制
御回路に通知する他系応答手段とを備えて、どちらの応
答手段からの通知がないかによって異なる復旧処理を行
うので、想定される障害状況に応じて柔軟に多彩な復旧
処理を用意することができ、信頼性が高い。
In the central processing unit according to the second invention, the self-system response means for notifying the built-in central processing unit control circuit that one cycle of information writing to the self-system memory has been completed, A response unit for notifying the central processing unit control circuit that the writing of information for one cycle to the other memory has been completed, and performing a different recovery process depending on which response unit has not received the notification. Therefore, various recovery processes can be flexibly prepared according to the assumed failure situation, and the reliability is high.

【0054】さらに、このような中央処理装置を複数接
続することにより構成された第3の発明にかかる中央処
理システムでは、当該中央処理装置による冗長構成で、
システム全体として信頼性の向上を図ることができる。
Further, in the central processing system according to the third aspect of the present invention constituted by connecting a plurality of such central processing units, the central processing unit has a redundant configuration.
The reliability of the entire system can be improved.

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

【図1】実施形態にかかる中央処理システムの構成を示
すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a central processing system according to an embodiment.

【符号の説明】[Explanation of symbols]

10…中央処理システム、11,12…中央処理装置、
13…タイムアウト監視回路、14…MPU、15…自
系メモリ、16…他系メモリ、17…MPU制御回路、
18…複合バス、19,23…受信回路、20…内部バ
ス、21,22…制御バス、24,25…障害要因レジ
スタ、26,28…割込み回路。
10 central processing system, 11, 12 central processing unit,
13: timeout monitoring circuit, 14: MPU, 15: own system memory, 16: other system memory, 17: MPU control circuit,
18: Composite bus, 19, 23 ... Receiving circuit, 20: Internal bus, 21, 22 ... Control bus, 24, 25 ... Failure factor register, 26, 28 ... Interrupt circuit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04Q 3/58 101 H04Q 3/58 101 ──────────────────────────────────────────────────続 き Continued on front page (51) Int.Cl. 6 Identification code FI H04Q 3/58 101 H04Q 3/58 101

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置として機能しているアクト
系の第1の中央処理装置と、中央処理装置として機能し
ていないスタンバイ系で、この第1の中央処理装置と同
一の構成を有する第2の中央処理装置とを並置し、これ
ら第1及び第2の中央処理装置の主メモリに対して同一
サイクルで同一情報を書き込むときに発生する障害の復
旧方法において、 前記書き込み動作中に発生した障害が、第1又は第2の
どちらの中央処理装置で発生したかを、アクト系の第1
の中央処理装置が判定し、 この判定の結果に応じて異なる復旧処理を行うことを特
徴とする障害復旧方法。
1. An act-type first central processing unit functioning as a central processing unit and a standby system not functioning as a central processing unit, the second unit having the same configuration as that of the first central processing unit. In the main memory of the first and second central processing units and writing the same information in the same cycle in the same cycle. Whether the failure has occurred in the first or the second central processing unit is determined by the first action system.
A failure recovery method characterized in that the central processing unit of (1) makes a determination and performs a different recovery process according to the result of the determination.
【請求項2】 請求項1の障害復旧方法において、 前記アクト系の第1の中央処理装置では、第1の障害要
因記憶手段に第1の中央処理装置で発生した障害の障害
要因を記憶し、第2の障害要因記憶手段に第2の中央処
理装置で発生した障害の障害要因を記憶しておき、 前記アクト系の第1の中央処理装置に内蔵されている中
央処理部は、前記障害要因に応じた割込みレベルで割込
みを受け、 割込みを受けた当該中央処理部は、この障害要因を記憶
している障害要因記憶手段が第1の障害要因記憶手段で
ある場合には少なくともスタンバイ系とアクト系の切り
替えを含む復旧処理を行い、前記の障害要因を記憶して
いる障害要因記憶手段が第2の障害要因記憶手段である
場合には少なくともスタンバイ系とアクト系の切り替え
を含まない復旧処理を行うことを特徴とする障害復旧方
法。
2. The fault recovery method according to claim 1, wherein the first central processing unit of the act system stores a fault factor of a fault occurring in the first central processing unit in a first fault factor storage unit. The failure factor of the failure that has occurred in the second central processing unit is stored in the second failure factor storage unit, and the central processing unit built in the first central processing unit of the act system is configured to store the failure The central processing unit receives the interrupt at the interrupt level corresponding to the factor, and the central processing unit that has received the interrupt has at least the standby system when the fault factor storage means storing the fault factor is the first fault factor storage means. A recovery process including switching of the act system is performed, and when the failure factor storage unit storing the failure factor is the second failure factor storage unit, at least a recovery not including the switching between the standby system and the act system. A failure recovery method characterized by performing processing.
【請求項3】 内蔵している自系メモリと外部の他系メ
モリに対して同一サイクルで同一情報を書き込む中央処
理装置において、 自系メモリに対する1サイクル分の情報書き込みが終了
したことを、内蔵している中央処理部制御回路に通知す
る自系応答手段と、 他系メモリに対する1サイクル分の情報書き込みが終了
したことを、前記中央処理部制御回路に通知する他系応
答手段とを備え、 前記サイクルに対応した所定のタイミングまでに、前記
自系又は他系の応答手段から前記通知がないときは前記
中央処理部が、どちらの応答手段からの通知がないかに
よって異なる復旧処理を行うことを特徴とする中央処理
装置。
3. A central processing unit for writing the same information in the same cycle to a built-in self-system memory and an external another-system memory in one cycle. Self-response means for notifying the central processing unit control circuit that is performing the operation, and other-system response means for notifying the central processing unit control circuit that one cycle of information writing to the other system memory has been completed, By the predetermined timing corresponding to the cycle, when the notification is not received from the response unit of the own system or the other system, the central processing unit performs different recovery processing depending on which notification unit does not receive the notification. A central processing unit.
【請求項4】 請求項3の中央処理装置において、 前記復旧処理は、1サイクル内の第1のタイミングまで
に自系応答手段からの通知がない場合には、少なくとも
自系の中央処理装置をスタンバイ系にすると共に他系メ
モリを内蔵している中央処理装置をアクト系にし、当該
1サイクル内の第2のタイミングまでに他系応答手段か
らの通知がない場合には、少なくとも自系の中央処理装
置をそのままアクト系として維持する処理であり、 前記の復旧処理を当該1サイクル以内に実行したうえ
で、少なくともアクト系の主メモリに対する次ぎの1サ
イクル以降の情報書き込みを、正常に実行する手段を備
えることを特徴とする中央処理装置。
4. The central processing unit according to claim 3, wherein the recovery processing is performed at least by the central processing unit of the local system if there is no notification from the local system response unit by a first timing in one cycle. If the central processing unit which incorporates the standby system and the other system memory is set as the active system, and there is no notification from the other system response means by the second timing in the one cycle, at least the central system of the own system is used. Means for maintaining the processing apparatus as an act system as it is, executing the above-mentioned restoration processing within the one cycle, and then normally executing information writing in at least the next one cycle to the main memory of the act system. A central processing unit comprising:
【請求項5】 請求項3又は4のいずれかの中央処理装
置を複数接続することにより構成することを特徴とする
中央処理システム。
5. A central processing system comprising a plurality of central processing units according to claim 3 connected to each other.
JP10065521A 1998-03-16 1998-03-16 Fault restoring method central processing unit and central processing system Pending JPH11265321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10065521A JPH11265321A (en) 1998-03-16 1998-03-16 Fault restoring method central processing unit and central processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10065521A JPH11265321A (en) 1998-03-16 1998-03-16 Fault restoring method central processing unit and central processing system

Publications (1)

Publication Number Publication Date
JPH11265321A true JPH11265321A (en) 1999-09-28

Family

ID=13289423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10065521A Pending JPH11265321A (en) 1998-03-16 1998-03-16 Fault restoring method central processing unit and central processing system

Country Status (1)

Country Link
JP (1) JPH11265321A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310411A (en) * 2007-06-12 2008-12-25 Nec Corp Duplex device and system switching method in failure
CN111382019A (en) * 2018-12-26 2020-07-07 佳能株式会社 Information processing apparatus, control method of information processing apparatus, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310411A (en) * 2007-06-12 2008-12-25 Nec Corp Duplex device and system switching method in failure
CN111382019A (en) * 2018-12-26 2020-07-07 佳能株式会社 Information processing apparatus, control method of information processing apparatus, and storage medium
CN111382019B (en) * 2018-12-26 2024-05-24 佳能株式会社 Information processing apparatus, control method for information processing apparatus, and storage medium

Similar Documents

Publication Publication Date Title
EP0186006B1 (en) Multiprocessor system
US5452443A (en) Multi-processor system with fault detection
US4351023A (en) Process control system with improved system security features
US20200233762A1 (en) Method and Apparatus for Redundancy in Active-Active Cluster System
US20060248384A1 (en) Method and apparatus for recovery from loss of lock step
JPH08320835A (en) Fault detecting method for external bus
EP1672506A2 (en) A fault tolerant computer system and a synchronization method for the same
JPH11265321A (en) Fault restoring method central processing unit and central processing system
JP3025732B2 (en) Control method of multiplex computer system
JP3313667B2 (en) Failure detection method and method for redundant system
JPH0764930A (en) Mutual monitoring method between cpus
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JP3169488B2 (en) Communication control device
JPH05216855A (en) Multi CPU control system
JP2879480B2 (en) Switching system when redundant computer system loses synchronization
JPH09293020A (en) Interface circuit
JP2000172575A (en) Memory backup system
JPS60140438A (en) System switching control system of information processing system
JPH04360242A (en) Redundant system switching device and its method
JP2954040B2 (en) Interrupt monitoring device
JPS6213702B2 (en)
JPS634210B2 (en)
CN120560945A (en) Non-transparent bridge monitoring method, device, equipment and computer-readable storage medium
JPH06168151A (en) Duplex computer system
JPH04211841A (en) Duplex processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040330

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040803