JPS6343771B2 - - Google Patents

Info

Publication number
JPS6343771B2
JPS6343771B2 JP58252212A JP25221283A JPS6343771B2 JP S6343771 B2 JPS6343771 B2 JP S6343771B2 JP 58252212 A JP58252212 A JP 58252212A JP 25221283 A JP25221283 A JP 25221283A JP S6343771 B2 JPS6343771 B2 JP S6343771B2
Authority
JP
Japan
Prior art keywords
interrupt
svp
processing system
instruction
software
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
Application number
JP58252212A
Other languages
Japanese (ja)
Other versions
JPS60140438A (en
Inventor
Akihiko Ishikawa
Seijiro Tajima
Tsutomu Sumimoto
Yasuo Fujihira
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
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Hitachi Ltd
Nippon Telegraph and Telephone Corp
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 Fujitsu Ltd, Hitachi Ltd, Nippon Telegraph and Telephone Corp, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP58252212A priority Critical patent/JPS60140438A/en
Publication of JPS60140438A publication Critical patent/JPS60140438A/en
Publication of JPS6343771B2 publication Critical patent/JPS6343771B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)
  • Exchange Systems With Centralized Control (AREA)

Description

【発明の詳細な説明】 本発明は情報処理系の系切替制御方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a system switching control method for an information processing system.

情報処理システムの信頼性を向上する手段とし
て、装置を二重化する構成すなわちデユプレツク
スシステムが知られている。
2. Description of the Related Art As a means for improving the reliability of information processing systems, a configuration in which devices are duplicated, that is, a duplex system is known.

第1図にデユプレツクスシステムの概念図を示
す。このシステムは現用系1と待機系51と両系
間を接続する系間インターフエース信号線110
とから構成される。現用系1および待機系51は
それぞれ単独で情報処理が行えるシステムである
が、全く同じ構成である必要はない。現用系1は
事務運用を行い、待機系51は待機状態としてい
くつかの状態が考えられる。例えば、電源を投入
せずに待機している状態電源を投入してプログラ
ムロード待ちの状態またはプログラムがロードさ
れバツチジヨブを実行して待機している状態等が
ある。さて、現用系に何らかの障害が発生し、現
用系での業務の続行が不可能と判断された場合に
は、系間インターフエース110を介して待機系
を起動し、現用系から待機系に業務を移管し、待
機系にて業務を続行することにより障害によるシ
ステムダウンを極力減少させた信頼度の高いシス
テムを構築できる。
Figure 1 shows a conceptual diagram of the duplex system. This system consists of an active system 1, a standby system 51, and an intersystem interface signal line 110 that connects both systems.
It consists of The active system 1 and the standby system 51 are systems that can each independently process information, but they do not need to have exactly the same configuration. The active system 1 performs office operations, and the standby system 51 can be in several standby states. For example, there is a state in which the power is not turned on and is on standby, a state in which the power is turned on and waiting for a program to be loaded, or a state in which the program is loaded and a batch job is executed and on standby. Now, if some kind of failure occurs in the active system and it is determined that it is impossible to continue the work on the active system, the standby system is activated via the intersystem interface 110, and the work is transferred from the active system to the standby system. By transferring the system and continuing operations on the standby system, it is possible to build a highly reliable system that minimizes system downtime due to failures.

デユプレツクスシステムの一例を示す第2図を
参照して従来の系切替え制御方式を説明する。現
用系1および待機系51は複数の中央処理装置
(CPU)2および53と、主記憶装置(MEM)
3および52と、入出力制御装置(IOP)4およ
び55と、通信制御装置(ICA)5および56と
から構成されている。さらに、このシステムは、
この2つに系で共有される切替え装置(SW)1
02と、切替制御装置(SWC)101と、各種
入出力機器類103〜108とを含む。各種入出
力機器類には、例えばフアイル系の磁気デイスク
装置や磁気テープ装置等の他、端末系のカードリ
ーダ、ラインプリンタや銀行の窓口端末等があ
る。両系のSVP間はインターフエース信号線1
10により接続される。インターフエース信号線
110は複数の信号線から成り、SVP割込信号
線とその受付け信号線とを含む。SVP6とSWC
101との間の信号線40およびSVP56と
SWC101との間の信号線90はそれぞれの
SVPからの系切替え指示信号用信号線であり、
SWC101がSW102を介して各入出力機器1
03〜108に接続される系の切替えを行う。現
用系1による業務の実行中はSW102と接続さ
れている各種入出力機器103〜108はSW1
02を介して信号線20および30により現用系
1のIOP4およびICA5と接続されている。
A conventional system switching control system will be explained with reference to FIG. 2, which shows an example of a duplex system. The active system 1 and the standby system 51 include a plurality of central processing units (CPUs) 2 and 53, and a main memory (MEM).
3 and 52, input/output control devices (IOP) 4 and 55, and communication control devices (ICA) 5 and 56. Furthermore, this system
Switching device (SW) 1 shared by these two systems
02, a switching control device (SWC) 101, and various input/output devices 103 to 108. Various input/output devices include, for example, file-based magnetic disk devices and magnetic tape devices, as well as terminal-based card readers, line printers, bank teller terminals, and the like. Interface signal line 1 between SVPs of both systems
10. The interface signal line 110 consists of a plurality of signal lines, and includes an SVP interrupt signal line and its acceptance signal line. SVP6 and SWC
101 and the signal line 40 between SVP56 and
The signal line 90 between the SWC 101 and the
This is a signal line for system switching instruction signals from SVP,
SWC101 connects each input/output device 1 via SW102.
The systems connected to 03 to 108 are switched. While the current system 1 is executing the work, the various input/output devices 103 to 108 connected to SW102 are connected to SW1.
It is connected to the IOP4 and ICA5 of the active system 1 by signal lines 20 and 30 via the line 02.

系切替えは現用系1による業務続行不可能時に
行われるが、その要因としては、例えば、SVP
の障害、CPUの障害およびソフトウエアの障害
等がある。さらに、IOPやICAもシステムに必須
であるときにはこれらの障害も系切替えの要因と
なりうる。現用系1のSVP6の障害時にはSVP
6はシステムバス10を介してCPU2に障害報
告を行い、CPU2はソフトウエアにこれを報告
する。現用系1のソフトウエアは、系切替えの準
備を行い、SVP6に対して待機系51のSVP5
6にSVP割込を発生させるような命令を実行す
る。また、現用系1のソフトウエア障害時には、
ソフトウエアは系切替えの準備を行い、SVP6
に対して待機系51のSVP56にSVP割込を発
生させるような命令を実行する。また、現用系1
のCPU2の障害時には、SVP6が障害を検出し、
待機系51のSVP56にSVP割込を発生する。
一方、SVP割込を受付けた待機系51のSVP5
6は待機系51が電源断状態であれば電源を投入
し、プログラムロード待ち状態であればプログラ
ムロードを行い、ソフトウエアを起動してCPU
53に割込を発生させる。CPU53は待機系の
ソフトウエアに対し割込を報告し、ソフトウエア
はSVP56に対して系切替えの命令を実行る。
SVP56はSWC101に対して系切替え指示を
出し、SWC101はSW102と接続されている
各種入出力機器103〜108を待機系51と接
続する。しかし この方式では、SVP障害の場合の系切替え時
には、ソフトは、障害中のSVPに対してSVP割
込を発生させるような命令を実行することになる
のでその動作は保証されない。これを保証するに
はSVP割込発生と系間インターフエースの制御
とをSVPとは独立したハードウエアで実現しな
ければならないという欠点がある。
System switchover is performed when it is impossible for active system 1 to continue operations, and the reasons for this include, for example, SVP
failure, CPU failure, software failure, etc. Furthermore, when IOPs and ICAs are essential to the system, their failures can also be a factor in system switching. In case of failure of SVP6 of active system 1, SVP
6 reports the failure to the CPU 2 via the system bus 10, and the CPU 2 reports this to the software. The software on the active system 1 prepares for system switching and sends SVP5 of the standby system 51 to SVP6.
6, execute an instruction that generates an SVP interrupt. In addition, in the event of a software failure on the active system 1,
The software prepares for system switching and performs SVP6.
An instruction is executed to cause the SVP 56 of the standby system 51 to generate an SVP interrupt. In addition, the current system 1
When CPU2 fails, SVP6 detects the failure and
An SVP interrupt is generated to the SVP 56 of the standby system 51.
On the other hand, SVP5 of the standby system 51 that accepted the SVP interrupt
6 turns on the power if the standby system 51 is in a power-off state, loads the program if it is in a program load waiting state, starts the software, and connects the CPU to the standby system 51.
53 to generate an interrupt. The CPU 53 reports the interrupt to standby software, and the software executes a system switching command to the SVP 56.
The SVP 56 issues a system switching instruction to the SWC 101, and the SWC 101 connects the various input/output devices 103 to 108 connected to the SW 102 to the standby system 51. However, with this method, when switching systems in the event of an SVP failure, the software must execute an instruction that generates an SVP interrupt for the failing SVP, so its operation is not guaranteed. In order to guarantee this, there is a drawback that the generation of SVP interrupts and the control of the intersystem interface must be realized by hardware independent of SVP.

また、別の方式として、SVP6障害時に、
SVP6がCPU2に障害報告を行うとともに待機
系51のSVP56に対してSVP割込を発生する
ことが考えられる。CPU2は現用系1のソフト
ウエアに対してSVP障害を報告し、現用系1の
ソフトウエアは系切替えの準備を行う。一方、
SVP割込みを受付けたSVP56は前述と同様に
して待機系51のソフトウエアを起動しCPU5
3に割込を発生させる。CPU53は待機系51
のソフトウエアに対して割込を報告し、ソフトウ
エアSVP56に対し系切替えの命令を実行する。
以下前述と同様にして系切替えを行う。この方式
では、SVP障害時には、SVP自身がSVP割込を
発生するのでSVP割込発生のためにSVPと独立
なハードウエアを必要としないが、現用系ソフト
と待機系ソフトとの間に同期化が行われていない
ので現用系ソフトが知らないうちまたは現用系ソ
フトが業務実行中に系切替えが行われてしまう可
能性があり、フアイルの内容を破壊したりする恐
れがあるという欠点がある。
In addition, as another method, when SVP6 fails,
It is conceivable that the SVP 6 reports a failure to the CPU 2 and also generates an SVP interrupt to the SVP 56 of the standby system 51. The CPU 2 reports the SVP failure to the software of the active system 1, and the software of the active system 1 prepares for system switching. on the other hand,
The SVP 56, which has accepted the SVP interrupt, starts the software of the standby system 51 in the same way as described above, and the CPU 5
Generates an interrupt at 3. CPU53 is standby system 51
The interrupt is reported to the software, and a system switching command is executed to the software SVP 56.
Thereafter, system switching is performed in the same manner as described above. In this method, when an SVP failure occurs, the SVP itself generates an SVP interrupt, so hardware independent of the SVP is not required to generate an SVP interrupt, but synchronization is required between the active software and the standby software. Since this is not done, system switching may occur without the active software's knowledge or while the active software is executing a task, and there is a risk that file contents may be destroyed.

このような欠点を除去する方式として、両系間
に簡単なインターフエースを追加し、両系間の同
期をとる以下の方式がある。すなわち、両系の
SVP間に1対の強制停止信号線を設け、待機系
51のソフトウエアはSVP割込を受付けたあと
系切替え指示前に現用系1に対し命令実行動作を
停止させるための強制停止指示命令を発行する。
強制停止を指示された現用系1のCPU2は現在
実行中の命令の終了時点で直ちに以後の命令の実
行を停止する。この結果、現用系1の系切替え後
における業務の継続は除去される。しかしなが
ら、このような方式においては、強制停止を指示
されると無条件に命令の実行を停止することにな
り、強制停止指示命令が誤つて発行されたときに
も命令の実行が停止してしまうという欠点があ
る。例えば待機系51のソフトウエアのバグ
(虫)により現用系1に対して誤つて強制停止指
示命令を発行したり、または、ハードウエアの障
害により強制停止信号線が起動されたりしたとき
には直ちに正常な現用系1が停止してしまう。
As a method to eliminate such drawbacks, the following method is available in which a simple interface is added between the two systems and synchronization is achieved between the two systems. In other words, both systems
A pair of forced stop signal lines are provided between SVPs, and after receiving the SVP interrupt, the software in the standby system 51 sends a forced stop instruction command to the active system 1 to stop instruction execution before issuing a system switchover instruction. Issue.
The CPU 2 of the active system 1, which has been instructed to forcibly stop, immediately stops execution of subsequent instructions at the end of the currently executing instruction. As a result, the continuation of business operations after switching the active system 1 is eliminated. However, in such a system, when a forced stop instruction is given, the execution of the instruction is unconditionally stopped, and even if a forced stop instruction instruction is issued by mistake, the execution of the instruction is also stopped. There is a drawback. For example, if a software bug (insect) in the standby system 51 erroneously issues a forced stop instruction command to the active system 1, or if a forced stop signal line is activated due to a hardware failure, the normal system is immediately restored. Active system 1 stops.

本発明の目的は上述の欠点を除去した情報処理
系の系切替制御方式を提供することにある。
An object of the present invention is to provide a system switching control method for an information processing system that eliminates the above-mentioned drawbacks.

本発明の方式は、第1および第2の処理系を有
する情報処理系の系切替制御方式において、前記
第1(または第2)の処理系での障害検出に応答
して前記第2(または第1)の処理系に割込信号
を送出するよう前記第1(または第2)の処理系
に設けた第1の信号送出手段と、前記割込信号の
送出を記憶するために前記第1(または第2)の
処理系に設けた記憶手段と、前記割込信号に応答
して前記第1(または第2)の処理系の命令実行
動作を停止させるための強制停止信号を前記第1
(または第2)の処理系に送出するために前記第
2(または第1)の処理系に設けた第2の信号送
出段とを備え、前記記憶手段の内容と前記強制停
止信号とに基づいて前記第1(または第2)の処
理系の命令実行動作を停止させ、前記第2(また
は第1)の処理系が前記第1(または第2)の処
理系の処理を継続する。
The method of the present invention is a system switching control method for an information processing system having a first and a second processing system, in which the second (or second) processing system responds to failure detection in the first (or second) processing system. a first signal sending means provided in the first (or second) processing system to send an interrupt signal to the first processing system; a storage means provided in the (or second) processing system; and a forced stop signal for stopping the instruction execution operation of the first (or second) processing system in response to the interrupt signal.
a second signal sending stage provided in the second (or first) processing system to send the signal to the second (or second) processing system, based on the contents of the storage means and the forced stop signal. The instruction execution operation of the first (or second) processing system is stopped, and the second (or first) processing system continues the processing of the first (or second) processing system.

次に本発明について、図面を参照して詳細に説
明する。
Next, the present invention will be explained in detail with reference to the drawings.

第3図に本発明における系間インターフエース
信号線を示す。現用系1からはSVP割込信号線
111と強制停止信号線113と割込受付信号線
115とが、また待機系51からはSVP割込信
号線112と強制信号線114と割込受付信号線
116とがそれぞれ他系に対し接続される。
FIG. 3 shows intersystem interface signal lines in the present invention. From the active system 1, there are an SVP interrupt signal line 111, a forced stop signal line 113, and an interrupt acceptance signal line 115, and from the standby system 51, an SVP interrupt signal line 112, a forced signal line 114, and an interrupt acceptance signal line. 116 are respectively connected to other systems.

第4図は強制停止信号線を起動する命令を示す
図である。命令長は32ビツトである。ビツト0―
7は命令(OP)コート部であり、ここではシス
テムコール命令SYCである。I2は命令の補助
情報であり16進にて15を与えることによりシステ
ム・コール命令中の強制停止命令となる。B1は
アドレス修飾時のベースレジスタの値を示し、α
1はデイスプレースメントを示す。
FIG. 4 is a diagram showing a command to activate the forced stop signal line. The instruction length is 32 bits. Bit 0-
7 is an instruction (OP) code section, which here is a system call instruction SYC. I2 is instruction auxiliary information, and by giving 15 in hexadecimal, it becomes a forced stop instruction during a system call instruction. B1 indicates the value of the base register when modifying the address, α
1 indicates displacement.

第5図はSVP障害時の運用系および待機系の
動作を時間軸上で示した図である。次に第2図と
第5図とを参照してSVP障害時の本発明の方式
の動作を説明する。現用系1のSVP6にてSVP
障害が発生すると現用系1のCPU2に対して内
部マシンチエツクの割込みを発生するとともに系
間インタフエース110を介して待機系のSVP
56に対しSVP割込みを発生する。CPU2はソ
フトウエアに対し割込みを発生し、ソフトウエア
は通常業務を中断する処理を行つて命令を停止す
るが、ソフトウエアのバグ等何らかの理由で命令
を実行し続ける場合がある。第5図においては、
このような例として命令B,C,DおよびEと続
行している場合を示している。一方、SVP割込
を受付けたSVP56はSVP6に対し割込受付け
信号線116により受付けを知らせるとともに
CPU52に対してSVP割込みを発生し、CPU5
2はソフトウエアに割込む。一方、SVP6では
割込受付け信号線116により割込要求保持回路
がセツトされる。待機系のソフトウエアは現用系
からのSVP割込みを認識し系切替えの準備を行
い、実際に系切替え指示を出す前に強制停止指示
命令(SYC命令(I2=15)を実行し、現用系
1のSVP6に対し停止を指示する。SVP6では
この停止指示に対し割込要求保持回路がセツトさ
れていればCPU2に対し命令停止を指示する。
CPU2では何らかの理由で命令を実行中である
と、現在実行中の命令(この例では命令E)の終
了後に命令の実行を停止する。従つて、この時点
以降、現用系1のCPU2(ソフトウエア)はシ
ステムに共有の各種入出力装置に対して何ら動作
を行わない。このあと待機系51のCPU52
(ソフトウエア)はSWC101に対して系切替の
指示を行う命令を実行し、SW102と接続され
た各種入出力装置103〜108を待機系に接続
し、待機系にて業務を再開することができる。し
かし、SVP6で割込要求保持回路がセツトされ
ていないときに停止指示を受け取つてもこの停止
指示は無視される。このようにして誤つて停止指
示が行われたときにもシステムは正しく動作す
る。
FIG. 5 is a diagram showing the operations of the active system and standby system on the time axis when an SVP failure occurs. Next, the operation of the system of the present invention in the event of an SVP failure will be explained with reference to FIGS. 2 and 5. SVP at SVP6 of active system 1
When a failure occurs, an internal machine check interrupt is generated for the CPU 2 of the active system 1, and the SVP of the standby system is sent via the intersystem interface 110.
Generates an SVP interrupt for 56. The CPU 2 generates an interrupt to the software, and the software performs processing to interrupt normal operations and stops the instructions, but the instructions may continue to be executed due to some reason such as a software bug. In Figure 5,
As an example of this, a case where instructions B, C, D and E are continued is shown. On the other hand, the SVP56 that has accepted the SVP interrupt notifies the SVP6 of the acceptance via the interrupt acceptance signal line 116, and also
Generates an SVP interrupt to CPU52, and
2 interrupts the software. On the other hand, in SVP6, the interrupt request holding circuit is set by the interrupt acceptance signal line 116. The standby system software recognizes the SVP interrupt from the active system, prepares for system switchover, and executes a forced stop command (SYC command (I2 = 15) before actually issuing a system switchover instruction, and stops the active system 1. The SVP 6 instructs the CPU 2 to stop the instruction if the interrupt request holding circuit is set in response to this stop instruction.
If the CPU 2 is executing an instruction for some reason, the CPU 2 stops executing the instruction after the currently executing instruction (in this example, instruction E) is completed. Therefore, from this point on, the CPU 2 (software) of the active system 1 does not perform any operation on the various input/output devices shared by the system. After this, CPU52 of standby system 51
(Software) executes a command to instruct the SWC 101 to switch systems, connects the various input/output devices 103 to 108 connected to the SW 102 to the standby system, and can resume business on the standby system. . However, even if a stop instruction is received when the interrupt request holding circuit is not set in SVP6, this stop instruction is ignored. In this way, the system operates correctly even if a stop instruction is given by mistake.

第6図は本発明の方式を行うための一実施例を
示す図である。図においては、本発明と関係する
部分のみを示してあり、一般的な情報処理装置に
必要な他の構成要素(例えば、記憶装置や演算器
等)は省略してある。図において、系間インター
フエース線111〜116はそれぞれ待機系への
SVP割込線、待機系からのSVP割込信号線、待
機系への強制停止信号線、待機系からの強制停止
信号線、待機系への割込受付け信号線および待機
系からの割込受付け信号線である。
FIG. 6 is a diagram showing an embodiment for carrying out the method of the present invention. In the figure, only parts related to the present invention are shown, and other components necessary for a general information processing device (for example, a storage device, a computing unit, etc.) are omitted. In the figure, intersystem interface lines 111 to 116 are connected to the standby system, respectively.
SVP interrupt line, SVP interrupt signal line from standby system, forced stop signal line to standby system, forced stop signal line from standby system, interrupt acceptance signal line to standby system, and interrupt acceptance from standby system It is a signal line.

本実施例は、SVP割込信号線112を一時保
持する保持回路201、SVP割込をマスク(受
付け不能に)するマスク回路202、保持回路2
01およびマスク回路202からの出力のAND
(論理積)条件を発生するAND回路203、他の
割込信号線群207、各種割込信号線のOR(論
理和)条件を発生するOR回路204、OR回路
204の出力により起動されソフトウエアに対し
割込を発生する割込発生回路205、割込保持回
路227からの出力信号と強制停止信号線114
からの信号とのAND条件を発生するAND回路2
27、AND回路215の出力を一時保持する保
持回路211、他の命令停止信号線群214、各
種命令停止信号線のOR条件を発生するOR回路
212、OR回路212の出力により起動されて
現在実行中の命令の終了時点で命令の実行を停止
する命令停止制御回路213、ソフトウエアが実
行する命令を一語分格納する命令レジスタ22
1、該命令レジスタ221の内容を解読するデコ
ーダ222、デコーダ222がSVP割込発生命
令をデコードしたときその出力信号を一時保持す
る保持回路223、SVP障害又はCPU障害発生
時に出力を発生するSVP割込発生回路225、
保持回路223およびSVP割込発生回路225
の出力の(OR)条件を発生するOR回路226、
SVP割込信号111と他系からの割込受付け信
号116とによりセツトされる割込保持回路22
7、デコーダ222が強制停止指示命令をデコー
ドしたときその出力信号を一時保持する保持回路
224を備えている。第6図では現用系について
示したが待機系についても同じ構成を持つものと
する。
This embodiment includes a holding circuit 201 that temporarily holds the SVP interrupt signal line 112, a masking circuit 202 that masks (makes it impossible to accept) SVP interrupts, and a holding circuit 201 that temporarily holds the SVP interrupt signal line 112.
01 and the output from the mask circuit 202
An AND circuit 203 that generates a (logical product) condition, another interrupt signal line group 207, an OR circuit 204 that generates an OR (logical sum) condition for various interrupt signal lines, and software activated by the output of the OR circuit 204. Output signals from the interrupt generation circuit 205 and the interrupt holding circuit 227 that generate interrupts, and the forced stop signal line 114
AND circuit 2 that generates an AND condition with the signal from
27. A holding circuit 211 that temporarily holds the output of the AND circuit 215, another instruction stop signal line group 214, an OR circuit 212 that generates OR conditions for various instruction stop signal lines, and an output that is activated by the output of the OR circuit 212 and is currently being executed. An instruction stop control circuit 213 that stops execution of instructions at the end of the instruction in the instruction register 22 that stores one word of instructions to be executed by software.
1. A decoder 222 that decodes the contents of the instruction register 221, a holding circuit 223 that temporarily holds the output signal when the decoder 222 decodes the SVP interrupt generation instruction, and an SVP interrupt that generates an output when an SVP failure or CPU failure occurs. inclusion generation circuit 225,
Holding circuit 223 and SVP interrupt generation circuit 225
an OR circuit 226 that generates an (OR) condition for the output of
The interrupt holding circuit 22 is set by the SVP interrupt signal 111 and the interrupt acceptance signal 116 from another system.
7. A holding circuit 224 is provided which temporarily holds an output signal when the decoder 222 decodes the forced stop instruction command. Although FIG. 6 shows the active system, it is assumed that the standby system has the same configuration.

現用系では、CPUまたはSVPが障害になつた
場合合に回路225が出力信号を発生する。ま
た、ソフトウエアが障害の場合には、ソフトウエ
アはSVP割込発生命令を実行し、デコーダ22
2がこの命令をデコードすることにより保持回路
223をセツトする。いずれの場合も、待機系に
対しSVP割込信号を線111を介して送出する。
In the active system, circuit 225 generates an output signal if the CPU or SVP fails. In addition, if the software is at fault, the software executes the SVP interrupt generation instruction, and the decoder 22
2 sets the holding circuit 223 by decoding this instruction. In either case, an SVP interrupt signal is sent to the standby system via line 111.

一方、第6図を待機系として考えると、信号線
112を介してSVP割込が発生すると、これが
保持回路201で保持され、マスク回路202の
マスクビツトが“0”でなければAND回路20
3から割込信号が発生し、現用系に対し割込受付
け信号を送出するとともに割込発生回路205に
よりソフトウエアに割込みが知らされる。ソフト
ウエアは割込原因を調べ、SVP割込を認識する
と系切替えの準備を行い現用系を強制停止させる
ために強制停止指示命令(SYC命令(I2=15)
を実行する。デコーダ222はこの命令をデコー
ドし、結果を保持回路224に一時保持し、信号
線113を介して現用系に対して強制停止を指示
する。
On the other hand, considering FIG. 6 as a standby system, when an SVP interrupt occurs via the signal line 112, it is held in the holding circuit 201, and if the mask bit of the mask circuit 202 is not "0", the AND circuit 20
3, an interrupt signal is generated, an interrupt acceptance signal is sent to the active system, and the interrupt generation circuit 205 notifies the software of the interrupt. The software checks the cause of the interrupt, and when it recognizes the SVP interrupt, prepares for system switching and issues a forced stop command (SYC command (I2 = 15)) to forcefully stop the active system.
Execute. The decoder 222 decodes this command, temporarily holds the result in the holding circuit 224, and instructs the active system to forcibly stop via the signal line 113.

再び第6図を現用系と考える。保持回路227
は、信号線116を介して割込受付け信号を受け
取ると、すでに信号線111に出力れている割込
信号によりセツトされ、現用系が割込要求を行つ
た旨を保持する。この状態で、待機系から信号線
114を介して与えられる強制停止信号により強
制停止が指示されると、保持回路227がセツト
されていれば、この強制停止信号は、AND回路
215を介して保持回路211に一時的に保持さ
れ、OR回路212を介して命令停止制御回路2
13に与えられる。この回路213は、現在実行
中の命令の終了時点で次の命令以降の命令の実行
を中断停止する。一方、待機系のソフトウエアの
バグ等の何らかの原因により、誤つて信号線11
4を介して現用系に強制停止が指示されたとして
も、現用系の保持回路227はセツト状態ではな
いので、強制停止信号はAND回路215を通過
せず、命令停止制御回路は動作しない。
Again, consider Figure 6 as the current system. Holding circuit 227
When receiving an interrupt acceptance signal via signal line 116, it is set by the interrupt signal already output to signal line 111, and holds that the active system has issued an interrupt request. In this state, if a forced stop signal given from the standby system via the signal line 114 instructs a forced stop, if the holding circuit 227 is set, this forced stop signal is held via the AND circuit 215. The instruction is temporarily held in the circuit 211 and sent to the instruction stop control circuit 2 via the OR circuit 212.
given to 13. This circuit 213 interrupts and stops execution of the next and subsequent instructions at the end of the currently executing instruction. On the other hand, due to some reason such as a bug in the standby software, the signal line 11
Even if a forced stop is instructed to the active system via 4, the holding circuit 227 of the active system is not in the set state, so the forced stop signal does not pass through the AND circuit 215, and the instruction stop control circuit does not operate.

以上、本発明には、少ないハードウエアの付加
により容易に系切替えの動作を保証できるという
効果がある。
As described above, the present invention has the advantage that system switching operations can be easily guaranteed with the addition of a small amount of hardware.

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

第1図はデユプレツクスシステムの概念図、第
2図はデユプレツクスシステムの一例を示すブロ
ツク図、第3図は本発明の方式によるデユプレツ
クスシステムの系間インターフエース信号線を示
すブロツク図、第4図は本発明に使用する命令の
形式を示す図、第5図は本発明の方式による動作
を示すタイムチヤートおよび第6図は本発明の方
式を行うための一実施例を示すブロツク図であ
る。 図において、1…現用系、2,53…中央処理
装置、3,52…主記憶装置、4,55…入出力
制御装置、5,54…通信制御装置、6,56…
監視装置、10,60…システム・バス、20,
30,40,70,80,90,120,13
0,140,150,160,170…信号線、
110〜116…系間インタフエース信号線、1
01…切替制御装置、102…切替装置、103
〜108…入出力機器、201,211,22
3,224,227…保持回路、202…マスク
回路、203,215…AND回路、204,2
12,226…OR回路、205…割込発生回
路、213…命令停止制御回路、221…レジス
タ、222…デコーダ。
Fig. 1 is a conceptual diagram of a duplex system, Fig. 2 is a block diagram showing an example of a duplex system, and Fig. 3 is a block diagram showing intersystem interface signal lines of a duplex system according to the method of the present invention. 4 is a diagram showing the format of an instruction used in the present invention, FIG. 5 is a time chart showing the operation according to the method of the present invention, and FIG. 6 is a diagram showing an embodiment for carrying out the method of the present invention. It is a block diagram. In the figure, 1...active system, 2,53...central processing unit, 3,52...main storage device, 4,55...input/output control device, 5,54...communication control device, 6,56...
Monitoring device, 10, 60... System bus, 20,
30, 40, 70, 80, 90, 120, 13
0,140,150,160,170...signal line,
110-116...Intersystem interface signal line, 1
01...Switching control device, 102...Switching device, 103
~108...I/O equipment, 201, 211, 22
3,224,227...Holding circuit, 202...Mask circuit, 203,215...AND circuit, 204,2
DESCRIPTION OF SYMBOLS 12, 226...OR circuit, 205...Interrupt generation circuit, 213...Instruction stop control circuit, 221...Register, 222...Decoder.

Claims (1)

【特許請求の範囲】[Claims] 1 第1および第2の処理系を有する情報処理系
の系切替制御方式において、前記第1(または第
2)の処理系での障害検出に応答して前記第2
(または第1)の処理系に割込信号を送出するよ
う前記第1(または第2)の処理系に設けた第1
の信号送出手段と、前記割込信号の送出を記憶す
るために前記第1(または第2)の処理系に設け
た記憶手段と、前記割込信号に応答して前記第1
(または第2)の処理系の命令実行動作を停止さ
せるための強制停止信号を前記第1(または第2)
の処理系に送出るために前記第2(または第1)
の処理系に設けた第2の信号送出手段とを備え、
前記記憶手段の内容と前記強制停止信号とに基づ
いて前記第1(または第2)の処理系の命令実行
動作を停止させ、前記第2(または第1)の処理
系が前記第1(または第2)の処理系の処理を継
続することを特徴とする情報処理系の系切替制御
方式。
1. In a system switching control system for an information processing system having a first and a second processing system, in response to a failure detected in the first (or second) processing system, the second
A first (or second) processing system provided in the first (or second) processing system to send an interrupt signal to the first (or first) processing system.
a signal sending means, a storage means provided in the first (or second) processing system for storing the sending of the interrupt signal;
A forced stop signal is sent to the first (or second) processing system to stop the instruction execution operation of the first (or second) processing system.
the second (or first)
and a second signal sending means provided in the processing system,
The instruction execution operation of the first (or second) processing system is stopped based on the contents of the storage means and the forced stop signal, and the second (or first) processing system stops the instruction execution operation of the first (or second) processing system. 2) A system switching control method for an information processing system, characterized in that the processing of the processing system is continued.
JP58252212A 1983-12-27 1983-12-27 System switching control system of information processing system Granted JPS60140438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58252212A JPS60140438A (en) 1983-12-27 1983-12-27 System switching control system of information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58252212A JPS60140438A (en) 1983-12-27 1983-12-27 System switching control system of information processing system

Publications (2)

Publication Number Publication Date
JPS60140438A JPS60140438A (en) 1985-07-25
JPS6343771B2 true JPS6343771B2 (en) 1988-09-01

Family

ID=17234060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58252212A Granted JPS60140438A (en) 1983-12-27 1983-12-27 System switching control system of information processing system

Country Status (1)

Country Link
JP (1) JPS60140438A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0789327B2 (en) * 1988-09-22 1995-09-27 日本電気株式会社 Information processing system
JP4788516B2 (en) * 2006-07-28 2011-10-05 日本電気株式会社 Dynamic replacement system, dynamic replacement method and program
JP2010226607A (en) * 2009-03-25 2010-10-07 Giga-Byte Technology Co Ltd Automatic network connection apparatus and method

Also Published As

Publication number Publication date
JPS60140438A (en) 1985-07-25

Similar Documents

Publication Publication Date Title
US5764882A (en) Multiprocessor system capable of isolating failure processor based on initial diagnosis result
JPS59106056A (en) Failsafe type data processing system
JPH0232659B2 (en)
JPS63268038A (en) Controller
JPS6343771B2 (en)
JP2002049509A (en) Data processing system
JPS59161743A (en) Constitution switching system
JPS6079438A (en) System switching control system of information processing system
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPH09146853A (en) Duplex computer and fault system restoration method therefor
JP2815730B2 (en) Adapters and computer systems
JPH10187473A (en) Duplex information processor
JP3340284B2 (en) Redundant system
JPS6113627B2 (en)
JPS60136452A (en) Stand-by switching control system
JP2600861B2 (en) I / O system area error handling method
JPH0237458A (en) Bus control system for redundant bus constitution
JPS60195649A (en) Error reporting system of microprogram-controlled type data processor
JPS61180338A (en) Interruption input device
JPS608962A (en) Temporary fault detecting system of storage information
JPH10187355A (en) Disk control system
JPS6228841A (en) Input/output processor
JPH06202879A (en) Interrupt processing method
JPS59180776A (en) System for making forced ipl to stanby system controlling device
JPS633344A (en) Re-execution system for multiplexing system