JPS63282852A - Stand-by system diagnosing system in duplex processing system - Google Patents

Stand-by system diagnosing system in duplex processing system

Info

Publication number
JPS63282852A
JPS63282852A JP62116876A JP11687687A JPS63282852A JP S63282852 A JPS63282852 A JP S63282852A JP 62116876 A JP62116876 A JP 62116876A JP 11687687 A JP11687687 A JP 11687687A JP S63282852 A JPS63282852 A JP S63282852A
Authority
JP
Japan
Prior art keywords
diagnostic
register
diagnosis
bus
standby
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
JP62116876A
Other languages
Japanese (ja)
Inventor
Yuji Tokuhata
徳畑 祐司
Osamu Takada
治 高田
Yoshihiro Tanaka
慶裕 田中
Kunio Hiyama
檜山 邦夫
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP62116876A priority Critical patent/JPS63282852A/en
Publication of JPS63282852A publication Critical patent/JPS63282852A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To easily transfer a diagnosed result and to easily execute program correction to be influenced upon a storing area of a main memory by storing the diagnosed result in an exclusive register. CONSTITUTION:When switching to a diagnosing mode is instructred from an operating system 100 to stand-by system 100' which is useally in a stopped state, a processor 101' of the system 100' connected to the system 100 through a bus 111 is separated from a bus 107', starts diagnising operation and stores the diagnosed result in a diagnosis information register 106' included in its system. At the time of ending the diagnosis, the end report inputted to the system 100 and a processor 101 in the system 100 accesses the register 106' in the system 100'. Consequently, the diagnosis operation based upon the preparatory system 100' set up to the stopped state at the time of normal operation can be executed at a format close to the practical operating formed and the diagnosed result also can be simply transferred to the operating system 100. Since the diagnosis information register is arranged independently of the data area in the memory, program correction can be easily executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は2重化された制御システムに係り、特にバスを
共有する2つの処理系のうち、通常は停止状態になる予
備系の診断方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a redundant control system, and in particular to a method for diagnosing a standby system that is normally in a stopped state among two processing systems that share a bus. Regarding.

〔従来の技術〕[Conventional technology]

従来の2重化システムでは、例えば、NEC技報Vo 
Q、38.Ncl (1985)のP、31〜36、P
、69〜72 に記載のように、予備系の診断結果の稼
動系への引渡しを主記憶経由で行なっている。
In the conventional duplex system, for example, NEC technical report Vo
Q, 38. P of Ncl (1985), 31-36, P
, 69-72, the diagnostic results of the standby system are transferred to the active system via the main memory.

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

このため、従来のシステムでは、診断結果の内容や情報
量を比較的自由に設定できる反面、稼動系から上記診断
結果へのアクセス方法やアドレス管理が複雑化するとい
う問題がある。
For this reason, in the conventional system, although the content and amount of information of the diagnosis result can be set relatively freely, there is a problem in that the method of accessing the diagnosis result from the operating system and address management become complicated.

本発明の目的は、2重系システムにおける予備系の診断
を容易にすることにある。
An object of the present invention is to facilitate diagnosis of a standby system in a dual system.

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

本発明では、通常は停止状態にある予備系に対して稼動
系から診断モードへの切換えを指示したとき、それまで
稼動系とバスで接続されていた予備系のプロセッサが上
記バスから切離され、診断動作を開始して、その結果を
自己が所有する診断情報レジスタに格納するようにする
。診断が終了すると終了報告が稼動系に入力され、稼動
系のプロセッサが上記予備系の診断情報レジスタをアク
セスする。
In the present invention, when the standby system, which is normally in a stopped state, is instructed to switch from the active system to the diagnostic mode, the processor of the standby system, which had been connected to the active system via a bus, is disconnected from the bus. , starts a diagnostic operation and stores the result in its own diagnostic information register. When the diagnosis is completed, a completion report is input to the active system, and the active system's processor accesses the standby system's diagnostic information register.

〔作用〕[Effect]

稼動系は、予備系から診断終了を示す信号を受けると、
予備系を再び停止モードに復帰させ、バスを介して上記
診断レジスタをアクセスする。
When the active system receives a signal indicating the completion of diagnosis from the standby system,
The standby system is returned to the stop mode and the diagnostic register is accessed via the bus.

このように診断結果を専用のレジスタに格納させること
により1診断結果の引渡しが容易になり、また、診断レ
ジスタが主メモリから独立するため、主メモリ上の記憶
エリアに影響するプログラム修正が容易となる。
By storing the diagnostic results in a dedicated register in this way, it becomes easier to transfer one diagnostic result, and since the diagnostic register is independent from the main memory, it is easier to modify programs that affect the storage area on the main memory. Become.

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

以下、本発明の1実施例を説明する。 One embodiment of the present invention will be described below.

第1図は2重化されている処理システムの1例を示す。FIG. 1 shows an example of a duplex processing system.

このシステムは2つの処理系100゜100′からなり
、それぞれの系は、プログラムにより処理を行なうプロ
セッサ101(101)’ 、メモリ102(102’
)、現用、予備切換え機構103(103’)、診断制
御機構104(104’)、ウォッチドッグタイマ10
5(105’ )、診断情報レジスタ106(106’
)、バス107 (107’ )、トライステートバッ
ファを含むバス制御機構108(108’)から成る。
This system consists of two processing systems 100° and 100', each of which includes a processor 101 (101)' that performs processing according to a program, and a memory 102 (102').
), active/standby switching mechanism 103 (103'), diagnostic control mechanism 104 (104'), watchdog timer 10
5 (105'), diagnostic information register 106 (106')
), a bus 107 (107'), and a bus control mechanism 108 (108') including a tri-state buffer.

2つの処理系100とL00′はバス111.2重系制
御信号15o。
The two processing systems 100 and L00' receive a bus 111. A dual system control signal 15o.

151.152,153,154で互いに接続されてい
る。一方の処理系100が稼動系の場合は他方の系10
0′が予備系となり、その逆も可能である。稼動系10
0が正常に動作中は、予備系100′のプロセッサは1
01′停止状態で、全ての制御<2号は休止状態となり
、データバスおよびアドレスバスはハイインピーダンス
になる。システム立上げの際に、上記2つの処理系のど
ちらを稼動系にするかは外部スイッチ103あるいは1
0H3′ により選択oJ能となっている。ウォッチド
ッグタイv105,105’ の端子WDTOVFは、
オープンコレクタが出力で各県の異常報告信号を発生し
、信号線150を介してそれぞれの切換機構103,1
03’の異常報告入力端子EMAへ入力する。切換機構
103,103’の端子ACTは、その系が稼動状態か
停止状態かを示す信号を出力し、この信号は信号線15
3または154を介して、それぞれ相手の系へ人力され
る。上記ACT信号は、ゲート110、または110′
を介してバス制御機構108’ 、108にバスの7ク
テイベ一ト信号として入力される。診断制御機4104
.104’ c7)端子iN’L”M、1NTNおよび
信号線151,152は診断モード設定、診断起動、診
断終了報告に用いる。これらの使用方法については後述
する。尚、第1図において、ブロック160は上記処理
システムによる処理対象を示し、170は保守用端末装
置である。
They are connected to each other by 151, 152, 153, and 154. If one processing system 100 is an active system, the other system 100
0' becomes the reserve system, and vice versa. Operating system 10
0 is operating normally, the processor of the standby system 100' is 1
In the 01' stop state, all controls <2 are in a rest state, and the data bus and address bus become high impedance. When starting up the system, the external switch 103 or 1 determines which of the above two processing systems will be the active system.
0H3' provides a selective oJ function. The terminal WDTOVF of watchdog tie v105, 105' is
The open collector generates an abnormality report signal for each prefecture as an output, and sends it to each switching mechanism 103, 1 via the signal line 150.
Input to the abnormality report input terminal EMA of 03'. The terminal ACT of the switching mechanism 103, 103' outputs a signal indicating whether the system is in an operating state or a stopped state, and this signal is connected to a signal line 15.
3 or 154, respectively, to the other system. The ACT signal is applied to the gate 110 or 110'
The signal is input to the bus control mechanism 108', 108 as a bus active signal via the bus control mechanism 108'. Diagnostic controller 4104
.. 104' c7) Terminals iN'L"M, 1NTN and signal lines 151, 152 are used for diagnosis mode setting, diagnosis startup, and diagnosis completion report. How to use these will be described later. In addition, in FIG. 1, block 160 indicates a processing target by the processing system, and 170 is a maintenance terminal device.

第2図は通常状態における各処理系とバスの接続状態を
示す。この状態で、稼動系プロセッサ101から予備系
100′へのアクセスはラーイト可、メモリを除くレジ
スタ類のみリード可となっている。尚、予備系のレジス
タ106′を稼動系からアクセスする場合のアドレスと
、稼動系のレジスタ106をアクセスする場合のアドレ
スとは異なっている。
FIG. 2 shows the connection state between each processing system and the bus in a normal state. In this state, the active processor 101 can access the standby system 100' for writing, and only registers other than memory can be read. Note that the address when accessing the reserve system register 106' from the active system is different from the address when accessing the active system register 106.

第3図は予備系自己診断動作時におけるバスの接続状態
を示す。この状態では、 (1)稼動系プロセッサ101かも予備系100’への
アクセスは不可 (2)予備系プロセッサ101′は停車状態解除され、
予備系内レジスタ106’、メそり102′へのリード
/ライト可。ただし、稼動系100へのアクセスは不可
。尚、予備系100′が診断モードとなるのは、稼動系
100よりi N T M =ONの割込み信号を受付
けた場合である。
FIG. 3 shows the bus connection state during the standby system self-diagnosis operation. In this state, (1) neither the active processor 101 nor the standby system 100' can be accessed; (2) the standby processor 101' is released from the idle state;
It is possible to read/write to the spare system register 106' and memory 102'. However, access to the active system 100 is not possible. Note that the standby system 100' enters the diagnostic mode when it receives an interrupt signal of i N TM =ON from the active system 100.

第4図は、稼動系及び予備系の診断時における動作フロ
ーを示し、第5図は信号タイムチャートを示す。
FIG. 4 shows an operation flow during diagnosis of the active system and the standby system, and FIG. 5 shows a signal time chart.

以下、これらの図面を参照し、稼動系から予備系の診断
を行なう手順について述べる。尚、診断プログラムは各
県のメモリに常駐している。
The procedure for diagnosing the active system to the standby system will be described below with reference to these drawings. The diagnostic program resides in the memory of each prefecture.

(1)通常状態において、稼動系100は、予備系に対
して診断モードの設定と診断起動を行なうためにI N
TM信号をONにする。これにより、予備系100’の
診断制御機構104′にI NTM信号が入り、ハード
ウェア的に診断モードが設定され、プロセッサ101′
に割込みが発生する。
(1) In the normal state, the active system 100 uses the I N
Turn on the TM signal. As a result, the INTM signal is input to the diagnostic control mechanism 104' of the standby system 100', the diagnostic mode is set in terms of hardware, and the processor 101'
An interrupt occurs.

稼動系100は予備系100′からの終了報告(iNT
N=オン)待ちとなる。
The active system 100 receives the completion report (iNT
N=ON) Waiting.

(2)診断モードが設定されると、予備系はバス111
から切り離され(第3図)、停止状態を解除される。ま
た、割込みにより診断プログラムが起動される。診断対
象としてはプロセッサ自身の命令テスト、メモリテスト
、その他制溝部のテストなどが含まれる。これらの診断
結果は、診断情報レジスタ106′に格納され、診断が
終了するとi N T M信号をONにした後、1DL
E状態になる。
(2) When the diagnostic mode is set, the standby system uses bus 111.
(Fig. 3), and the stopped state is released. Further, a diagnostic program is started by an interrupt. Diagnosis targets include instruction tests of the processor itself, memory tests, and tests of other groove control parts. These diagnostic results are stored in the diagnostic information register 106', and when the diagnosis is completed, the i NTM signal is turned ON, and then the 1DL
Becomes E state.

(3)予備系がi N T M = ONにすると、診
断終了を示すI NTN信号が稼動系100が入力され
、プロセッサ101に割込みが発生する。稼動系の割込
み処理では、先ずIN’TMをOFFとし、診断モード
を解除する。この後、予備系診断情報レジスタ106′
に格納しである診断結果を処理する。尚、上記構成にお
いて、稼動系と予備系はI N TN信号の入力に対し
て異なった割込み処理実行するようになっているが、こ
れは各処理系が稼動系か予備系かで処理内容を切り換え
るようになっているからである。
(3) When the standby system turns i NTM =ON, the I NTN signal indicating the end of diagnosis is input to the active system 100, and an interrupt is generated in the processor 101. In the operation system interrupt processing, IN'TM is first turned OFF to cancel the diagnostic mode. After this, the backup system diagnostic information register 106'
and process the diagnostic results. In the above configuration, the active system and the standby system execute different interrupt processing in response to the input of the I N TN signal, but the processing contents differ depending on whether each processing system is the active system or the standby system. This is because it is designed to be switched.

(4)予備系100′は、診断モードを解除されると、
プロセッサ101′が停止状態となり、自動的にiNT
M信号がOFFとなる。
(4) When the backup system 100' is released from the diagnostic mode,
The processor 101' is stopped and automatically turns on the iNT.
The M signal turns OFF.

(5)稼動系は、予備系から規定時間内に診断終了報告
を受は取らない場合は、予備系に異常ありと判断し、所
定の処理を行なう。
(5) If the active system does not receive a diagnosis completion report from the standby system within a specified time, it determines that there is an abnormality in the standby system and performs predetermined processing.

以上説明した本実施例によれば、通常時は動作を停止し
ている様な系に対しても実際の稼動形態に近い形で診断
を行なうことができ、コマンド投入、結果表示など全て
稼動系から操作できるため、保守員の操作が容易になる
。また、診断情報はメモリ上のデータエリアから独立し
た専用レジスタに格納されるため、プログラム修正によ
るアドレスの変更を必要としない。
According to this embodiment described above, it is possible to perform diagnosis in a form close to the actual operating mode even for a system that normally does not operate, and all operations such as command input and result display are performed on an operating system. This makes it easier for maintenance personnel to operate the system. Furthermore, since the diagnostic information is stored in a dedicated register independent of the data area on the memory, there is no need to change the address by modifying the program.

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

本発明によれば、通常の運用時には停rhLでいる予備
系の診断動作を実際の稼動形態に近い形で行なうことが
でき、診断結果の稼動系への引渡しも簡単に行なえる。
According to the present invention, the diagnostic operation of the standby system, which is stopped rhL during normal operation, can be performed in a form close to the actual operating mode, and the diagnosis results can be easily transferred to the active system.

また、診断情報レジスタがメモリ上のデータエリアから
独立しているためプログラム修正が容易になる。
Furthermore, since the diagnostic information register is independent from the data area on the memory, program modification becomes easy.

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

第1図は本発明による2重化された処理システムの構成
図、第2図は通常状態における各処理系とバスとの接続
状態を示す図、第3図は診断モードにおける各処理系と
バスとの接続状態を示す図、第4図は診断時の稼動系と
予備系の動作フローチャート、第5図は診断時の稼動系
と予備系の信号タイムチャートである。 101・・・プロセッサ、102・・・メモリ、103
・・・稼動系/予備系切替え機構、104・・・診断制
御機構、105・・・ウォッチドッグタイマ、106・
・・診断情報レジスタ、107,111・・・バス、1
08・・・バス制御機構、150〜154・・・2重系
制御信号線、160・・・処理対象、170・・・保守
端末。 代理人 弁理士 小川勝處  ゛ Y l 口 第 2I!] 第 3I!1 躬 4 凹
Fig. 1 is a configuration diagram of a redundant processing system according to the present invention, Fig. 2 is a diagram showing the connection state between each processing system and the bus in the normal state, and Fig. 3 is a diagram showing the connection state of each processing system and the bus in the diagnostic mode. FIG. 4 is an operation flowchart of the active system and standby system during diagnosis, and FIG. 5 is a signal time chart of the active system and standby system during diagnosis. 101... Processor, 102... Memory, 103
... Active system/standby system switching mechanism, 104... Diagnosis control mechanism, 105... Watchdog timer, 106.
...Diagnostic information register, 107, 111...Bus, 1
08...Bus control mechanism, 150-154...Double system control signal line, 160...Processing object, 170...Maintenance terminal. Agent Patent Attorney Katsuo Ogawa ゛Y l Mouth No. 2I! ] 3rd I! 1. 4. dent.

Claims (1)

【特許請求の範囲】[Claims] 1、システムバスを共有する2つの処理系のうち、一方
が稼動系として動作するとき他方が予備となつて停止状
態で待期するようにした2重化処理システムにおいて、
上記各処理系が診断情報を格納するためのレジスタと、
プロセッサと、主メモリと、これらの要素を上記システ
ムバスに接続あるいは切離すための切換手段とを備え、
稼動系から予備系に診断モードの設定信号が与えられた
とき、予備系がシステムバスから独立した状態で診断動
作を開始し、診断結果を上記レジスタに格納した状態で
診断終了信号を稼動系に与え、稼動系が該診断終了信号
に応答して上記予備系の診断モード設定を解除した後、
上記診断レジスタをアクセルするようにしたことを特徴
とする2重化処理システムにおける予備系診断方式。
1. In a redundant processing system where one of two processing systems that share a system bus operates as an active system, the other becomes a standby and waits in a stopped state.
A register for each of the above processing systems to store diagnostic information,
comprising a processor, a main memory, and switching means for connecting or disconnecting these elements from the system bus,
When the diagnostic mode setting signal is given from the active system to the standby system, the standby system starts diagnostic operation independent of the system bus, and sends the diagnostic end signal to the active system with the diagnostic result stored in the above register. and after the active system releases the diagnostic mode setting of the standby system in response to the diagnostic end signal,
A standby system diagnostic method in a redundant processing system, characterized in that the diagnostic register is accelerated.
JP62116876A 1987-05-15 1987-05-15 Stand-by system diagnosing system in duplex processing system Pending JPS63282852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62116876A JPS63282852A (en) 1987-05-15 1987-05-15 Stand-by system diagnosing system in duplex processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62116876A JPS63282852A (en) 1987-05-15 1987-05-15 Stand-by system diagnosing system in duplex processing system

Publications (1)

Publication Number Publication Date
JPS63282852A true JPS63282852A (en) 1988-11-18

Family

ID=14697820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62116876A Pending JPS63282852A (en) 1987-05-15 1987-05-15 Stand-by system diagnosing system in duplex processing system

Country Status (1)

Country Link
JP (1) JPS63282852A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0449429A (en) * 1990-06-19 1992-02-18 Fujitsu Ltd Failure informing system for redundant system
US6490697B1 (en) * 1998-08-27 2002-12-03 Unisia Jecs Corporation Diagnosing apparatus and method for RAM

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0449429A (en) * 1990-06-19 1992-02-18 Fujitsu Ltd Failure informing system for redundant system
US6490697B1 (en) * 1998-08-27 2002-12-03 Unisia Jecs Corporation Diagnosing apparatus and method for RAM

Similar Documents

Publication Publication Date Title
JPH0325814B2 (en)
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPS6119061B2 (en)
JP2701739B2 (en) Processor switching method
JPH022176B2 (en)
JP3012402B2 (en) Information processing system
JPH0754947B2 (en) Standby system monitoring method
JPS61139835A (en) Microprogram overlay system
JP2639927B2 (en) Test method for control device in data processing system
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JPS6119060B2 (en)
JPH02183342A (en) Interruption controller
JPS6136641B2 (en)
JPH02210515A (en) System resetting system
JPS6029843A (en) Microprogram controller
JPH03250338A (en) Back-up device for development of computer system
JPS6029131B2 (en) Diagnostic method
JPS62192824A (en) Access system for processor
JPH0370816B2 (en)
JPH05120060A (en) Fault data extraction system
JPS59220865A (en) On-line maintenance control method of dual shared memory
JPH1021148A (en) Redundant system
JPH0341849B2 (en)
JPH04340138A (en) Control device
JP2000222239A (en) Secondary cache memory, its diagnosing method and information processor