Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0775001B2 - System switching method - Google Patents
[go: Go Back, main page]

JPH0775001B2 - System switching method - Google Patents

System switching method

Info

Publication number
JPH0775001B2
JPH0775001B2 JP62249963A JP24996387A JPH0775001B2 JP H0775001 B2 JPH0775001 B2 JP H0775001B2 JP 62249963 A JP62249963 A JP 62249963A JP 24996387 A JP24996387 A JP 24996387A JP H0775001 B2 JPH0775001 B2 JP H0775001B2
Authority
JP
Japan
Prior art keywords
control device
standby
active
subordinate
process control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62249963A
Other languages
Japanese (ja)
Other versions
JPH0193219A (en
Inventor
博 太田
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 Ltd
Original Assignee
Hitachi 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 filed Critical Hitachi Ltd
Priority to JP62249963A priority Critical patent/JPH0775001B2/en
Publication of JPH0193219A publication Critical patent/JPH0193219A/en
Publication of JPH0775001B2 publication Critical patent/JPH0775001B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、2重化システムにおける系切替方法に係わ
り、特にシステムが正常状態にある場合に、定期的に系
切替を行うのに好適とされた系切替方法に関するもので
ある。
TECHNICAL FIELD The present invention relates to a system switching method in a duplex system, and is particularly suitable for performing system switching regularly when the system is in a normal state. The present invention relates to a system switching method.

〔従来の技術〕[Conventional technology]

これまでの2重化システムにおいては、現用系に異常が
発生した場合に、それまで待機状態におかれていた予備
系を、如何に速やかに新たな現用系として立ち上げた
上、正常なシステム運用状態に移行せしめるかという点
が、系切替時での重要課題として挙げられるものとなっ
ている。一般に、これまでにあっては、系切替は、制御
処理の連続性を確保すべく2重化された制御装置各々は
系切替回路を介さずに各々独立に系切替制御されるか、
または系切替回路による介在制御下に系切替制御が行わ
れているのが実情である。
In the existing redundant system, when an error occurs in the active system, how quickly the standby system that was in the standby state until then is started up as a new active system Whether or not the system can be put into operation is one of the important issues when switching systems. Generally, in the past, in the system switching, each of the duplicated control devices for ensuring the continuity of the control processing is independently system switching controlled without the system switching circuit,
In reality, the system switching control is performed under the intervening control by the system switching circuit.

また、以上とは別に、特開昭59−200531号公報には、制
御データが制御装置に内蔵されることによって、系切替
が行われる際でのシステムの機能停止が極力回避された
ものとなっている。しかしながら、現用系での異常発生
に伴い、系切替回路による介在制御下に系切替(異常時
系切替)が行われるに際しては、ある程度のシステム上
での一時的機能停止は回避され得ないものとなっている
のが実情である。
In addition to the above, Japanese Patent Laid-Open No. 59-200531 discloses that control data is incorporated in a control device, so that a system stoppage during system switching is avoided as much as possible. ing. However, due to the occurrence of an abnormality in the active system, when system switching (system switching at the time of abnormality) is performed under the intervening control by the system switching circuit, it is impossible to avoid a temporary stoppage of function on the system. The reality is that

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ところで、最近では、システムが正常状態にある場合に
も、系切替(正常時系切替)が行われているのが実情で
ある。これは、予備系での信頼性を常時確保・維持する
ためであり、たとえ、現用系に異常が発生していない場
合であっても、定期的に現用系、予備系がそれぞれ予備
系、現用系におかれているものである。このように、現
用系に異常が発生した場合に系切替(異常時系切替)が
行われることは勿論のこと、現用系に異常が発生してい
ない状態下でも、定期的に系切替(正常時系切替)が行
われているわけである。しかしながら、これまでにあっ
ては、正常時系切替は異常時系切替と全く同様な方法に
よって行われていることから、正常時系切替が行われる
場合にも、システム上での一時的機能停止は回避され得
ないというものである。現用系での異常発生に伴う異常
時系切替はその発生頻度が極めて小さいが、これに対
し、正常時系切替がその発生頻度大にして行われること
を考慮すれば、正常時系切替に伴うシステム上での一時
的機能停止は、もはや無視され得ないものとなってい
る。
By the way, these days, the system is actually switched (system switching at normal time) even when the system is in a normal state. This is to ensure and maintain the reliability of the standby system at all times.Even if the active system does not have any abnormality, the active system and the standby system are regularly used as the standby system and the active system, respectively. It is in the system. In this way, not only is system switching performed when an error occurs in the active system (system switchover in the event of an abnormality), but system switching (normal The time system is switched). However, until now, the normal time system switching is performed in the same way as the abnormal time system switching, so even when the normal time system switching is performed, the system temporarily stops functioning. Is that it cannot be avoided. The occurrence frequency of abnormal time system switching due to the occurrence of an abnormality in the active system is extremely low. However, considering that the normal time system switching is performed at a high occurrence frequency, it is accompanied by the normal time system switching. Temporary outages on the system can no longer be ignored.

本発明の目的は、正常時系切替が頻度大として行われる
場合であっても、その系切替が行われるに際しては、シ
ステム上での一時的機能停止が極力抑えられた状態で、
系切替が状態良好にして行われ得る系切替方法を供する
にある。
The object of the present invention is, even when the system switching is performed at a high frequency during normal operation, when the system switching is performed, in the state where the temporary functional stop on the system is suppressed as much as possible,
An object of the present invention is to provide a system switching method in which the system switching can be performed in a good state.

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

上記目的は、現用系処理制御装置に系切替回路を介し現
用系配下装置、予備系配下装置がともに動作状態におか
れるべく収容されるに際して、現用系配下装置は該現用
系処理制御装置との間で双方向に情報が転送可として収
容されている一方、予備系配下装置は上記現用系処理制
御装置からの情報を受信可として、かつ該現用系処理制
御装置への情報転送不可として収容されている状態で、
現用系処理制御装置によりシステム正常状態での系切替
が定期的に行われる度に、該系切替に先立って、現用系
配下装置、予備系配下装置各々は使用禁止状態におかれ
た状態で、該現用系処理制御装置自体の空き状態への移
行を待って、系切替回路を介し現用系配下装置、予備系
配下装置は予備系処理制御装置に収容されると同時に、
該予備系処理制御装置への系切替割込みにより上記現用
系処理制御装置、該予備系処理制御装置はそれぞれ新た
に予備系処理制御装置、現用系処理制御装置におかれた
後、新たな現用系処理制御装置による制御下に、現用系
配下装置、予備系配下装置各々に対する使用禁止状態は
解除された状態で、システム動作が再開されることで達
成される。
The above-mentioned object is that when the active subordinate apparatus and the standby subordinate apparatus are accommodated so that both the active subordinate apparatus and the standby subordinate apparatus are put into the operating state via the system switching circuit, the active subordinate apparatus is connected to the active system processing control apparatus. While the information is bidirectionally transferred between the two, the standby subordinate device is received as the information can be received from the active process control device and the information cannot be transferred to the active process control device. While
Every time the system switching in the system normal state is regularly performed by the active system processing control device, prior to the system switching, the active system subordinate device and the standby system subordinate device are in the use prohibited state, Waiting for the active system processing control device itself to shift to an idle state, the active system subordinate device and the standby subordinate device are accommodated in the standby system process control device via the system switching circuit, and at the same time,
The active system process control device and the standby system process control device are newly placed in the standby system process control device and the active system process control device, respectively, by a system switching interrupt to the standby system process control device, and then a new active system This is achieved by restarting the system operation under the control of the processing control device in a state in which the use prohibited state for each of the active subordinate device and the standby subordinate device is released.

〔作用〕[Action]

現用系処理制御装置に系切替回路を介し現用系配下装
置、予備系配下装置がともに動作状態におかれるべく収
容されるに際して、現用系配下装置は該現用系処理制御
装置との間で双方向に情報が転送可として収容されてい
る一方、予備系配下装置は上記現用系処理制御装置から
の情報を受信可として、かつ該現用系処理制御装置への
情報転送不可として収容されている状態で、正常時系切
替が行われるようにしたものである。即ち、現用系処理
制御装置によりシステム正常状態での系切替が定期的に
行われる度に、該系切替に先立って、現用系配下装置、
予備系配下装置各々は使用禁止状態におかれた状態で、
該現用系処理制御装置自体の空き状態への移行を待っ
て、系切替回路を介し現用系配下装置、予備系配下装置
は予備系処理制御装置に収容されると同時に、該予備系
処理制御装置への系切替割込みにより上記現用系処理制
御装置、該予備系処理制御装置はそれぞれ新たに予備系
処理制御装置、現用系処理制御装置におかれた後、新た
な現用系処理制御装置による制御下に、現用系配下装
置、予備系配下装置各々に対する使用禁止状態は解除さ
れた状態で、システム動作が再開される場合は、正常時
系切替が行われるに際しては、システム上での一時的機
能停止が極力回避された状態で系切替が行われ得るもの
である。
When both the active system subordinate device and the standby subordinate device are accommodated in the active system process control device via the system switching circuit so that both are in the operating state, the active system subordinate device is bidirectional with the active system process control device. While the information is stored in the active system processing control device as being transferable, the standby subordinate device is in a state in which it is receiving the information from the active system processing control device and is incapable of transferring information to the active system process control device. The normal system switching is performed. That is, each time the system switching in the system normal state is regularly performed by the active system process control device, the active system subordinate device, prior to the system switching,
Each backup subordinate device is in a state where it is prohibited to use,
Waiting for the active system process control device itself to shift to an idle state, the active system subordinate device and the standby system subordinate device are accommodated in the standby system process control device via the system switching circuit, and at the same time, the standby system process control device. The active system processing control device and the standby system processing control device are newly placed in the standby system processing control device and the active system processing control device, respectively, by the system switching interruption to the new active system processing control device. In addition, when the system operation is restarted in the state where the use prohibited state for the active subordinate device and the standby subordinate device is released, the system temporarily stops functioning when the normal system switching is performed. The system switching can be performed in the state where is avoided as much as possible.

〔実施例〕〔Example〕

以下、本発明を第1図から第4図により説明する。 Hereinafter, the present invention will be described with reference to FIGS. 1 to 4.

先ず本発明に係る2重化システムについて説明すれば、
第1図はその一例でのシステム構成の概要を示したもの
である。これによる場合、メモリ装置MM0、外部記憶装
置DK0、スイッチ装置SW0、入出力制御装置IOC0およびシ
ステム制御装置SC0は処理制御装置CP0により積極的に制
御される配下装置として、また、処理制御装置CP1によ
り消極的に制御される配下装置として、処理制御装置CP
0、処理制御装置CP1の何れかに系切替回路SELを介し選
択的に収容されるものとなっている。また、メモリ装置
MM1、外部記憶装置DK1、スイッチ装置SW1、入出力制御
装置IOC1およびシステム制御装置SC1は処理制御装置CP1
により積極的に制御される配下装置として、処理制御装
置CP0により消極的に制御される配下装置として、処理
制御装置CP0、処理制御装置CP1の何れかに系切替回路SE
Lを介し選択的に収容されるものとなっている。系切替
回路SELは、システム制御装置SC0,SC1により現用系配下
装置および予備系配下装置を処理制御装置CP0,CP1の何
れかに選択的に収容せしめるために設けられているもの
である。
First, the duplex system according to the present invention will be described.
FIG. 1 shows an outline of the system configuration in that example. In this case, the memory device MM0, the external storage device DK0, the switch device SW0, the input / output control device IOC0, and the system control device SC0 are subordinate devices actively controlled by the process control device CP0, and by the process control device CP1. Process control device CP as a subordinate device that is passively controlled
0, the processing control device CP1 is selectively accommodated in the system control circuit SEL. Also a memory device
MM1, external storage device DK1, switch device SW1, input / output control device IOC1 and system control device SC1 are processing control device CP1.
As a subordinate device actively controlled by the process control device CP0, as a subordinate device passively controlled by the process control device CP0, either the process control device CP0 or the process control device CP1 is connected to the system switching circuit SE.
It is selectively accommodated via L. The system switching circuit SEL is provided to allow the system control devices SC0 and SC1 to selectively store the active system subordinate device and the standby system subordinate device in either of the process control devices CP0 and CP1.

さて、処理制御装置CP0,CP1はシステム全体制御用とし
て設けられているが、先ず処理制御装置CP0が現用系に
おかれている場合には、処理制御装置CP0には、メモリ
装置MM0、外部記憶装置DK0、スイッチ装置SW0、入出力
制御装置IOC0およびシステム制御装置SC0は勿論のこ
と、メモリ装置MM1、外部記憶装置DK1、スイッチ装置SW
1、入出力制御装置IOC1およびシステム制御装置SC1も動
作状態におかれるべく、系切替回路SELを介し収容され
るものとなっている。この場合、処理制御装置CP1は予
備系におかれた上、正常時系切替に伴う現用系から系切
替割込みがあるまでの間、待機状態におかれるものであ
る。この状態では、処理制御装置CP0とメモリ装置MM0、
外部記憶装置DK0、スイッチ装置SW0、入出力制御装置IO
C0各々との間ではデータが双方向に転送可とされている
も、処理制御装置CP0とメモリ装置MM1、外部記憶装置DK
1、スイッチ装置SW1、入出力制御装置IOC1各々との間で
は、データは処理制御装置CP0からメモリ装置MM1、外部
記憶装置DK1、スイッチ装置SW1、入出力制御装置IOC1各
々に転送可とされているだけで、逆方向への転送は不可
とされたものとなっている。これにより、例えば処理制
御装置CP0によるメモリ装置MM0,MM1各々へのデータ書込
みは許容されているも、メモリ装置MM0,MM1各々から処
理制御装置CP0へのデータ読出しに際しては、メモリ装
置MM0からの読出しのみが許容されているものである。
Now, the processing control devices CP0 and CP1 are provided for controlling the entire system. First, when the processing control device CP0 is in the active system, the processing control device CP0 has a memory device MM0 and an external storage. Device DK0, switch device SW0, I / O controller IOC0 and system controller SC0, as well as memory device MM1, external storage device DK1, switch device SW
1, the input / output control device IOC1 and the system control device SC1 are also accommodated via the system switching circuit SEL so as to be placed in the operating state. In this case, the processing control device CP1 is placed in the standby system and in the standby state from the active system due to the normal system switching until the system switching interrupt occurs. In this state, the processing control device CP0 and the memory device MM0,
External storage device DK0, switch device SW0, input / output control device IO
Although data can be transferred bidirectionally to and from C0, processing control device CP0, memory device MM1, and external storage device DK
Data can be transferred from the processing control device CP0 to the memory device MM1, the external storage device DK1, the switch device SW1, and the input / output control device IOC1 between the switch device SW1 and the input / output control device IOC1. However, the transfer in the opposite direction is prohibited. As a result, for example, although data writing to each of the memory devices MM0 and MM1 by the processing control device CP0 is permitted, when reading data from each of the memory devices MM0 and MM1 to the processing control device CP0, reading from the memory device MM0 is performed. Only what is allowed.

ところで、処理制御装置CP0,CP0各々の内部にはプロセ
ス(=プログラム)制御部CP0,CP1が設けられた上、処
理制御装置CP0,CP0各々からの要求により、処理プロセ
スの開始処理、終了処理、待合せ処理の制御が以下の如
くに行われるものとなっている。
By the way, process (= program) control units CP0, CP1 are provided inside each of the processing control devices CP0, CP0, and a start process and an end process of the processing process are performed in response to a request from each of the process control devices CP0, CP0. The control of the waiting process is performed as follows.

即ち、第2図にはプロセス制御部によるプロセス制御フ
ローがプロセス制御テーブルとともに示されているが、
配下装置からの割込み(データ入出力要求割込み)、ク
ロックによる割込み(定期的な正常時系切替割込みを含
む)、タイプライタTTYからのコマンドによる要求が発
生した際、処理制御装置からプロセス制御部に対して
は、プロセスの起動要求、プロセスの待機要求、プロセ
スの停止要求、あるいは正常時系切替要求が発行される
ものとなっている。プロセス制御部では、それら要求に
もとづき、プロセス制御テーブルを参照しつつプロセス
を起動/停止/待機状態へと制御しているものである。
ここで、プロセス制御テーブルについて説明すれば、こ
れはプロセス起動テーブルとプロセスWAITテーブルから
なり、プロセス各々はプロセス制御テーブル上で制御管
理されるものとなっている。より詳細に説明すれば、プ
ロセスの起動要求があった場合には、そのプロセスはプ
ロセス起動テーブルに登録された上、そのプロセスが起
動されているものである。もしも、そのプロセスが待機
(WAIT)状態にある場合には、そのプロセスがプロセス
起動テーブルに登録されるに際しては、プロセスWAITテ
ーブルからそのプロセスが削除された上で起動されてい
るものである。また、起動状態にあるプロセスに対し待
機要求があった場合には、そのプロセスの登録はプロセ
ス起動テーブルからプロセスWAITテーブルに移されるこ
とで、そのプロセスは待機状態におかれるものである。
更に、プロセスの停止要求があった時点で、そのプロセ
スが起動状態にある場合には、プロセス起動テーブルよ
りそのプロセスが削除されることで、動作停止状態にお
かれるが、もしもそのプロセスが待機状態にある場合
は、プロセスWAITテーブルよりそのプロセスが削除され
ることで、そのプロセスは終了状態におかれるものであ
る。
That is, FIG. 2 shows the process control flow by the process control unit together with the process control table.
When an interrupt from the subordinate device (data I / O request interrupt), a clock interrupt (including a periodic normal time system switching interrupt), or a request from the typewriter TTY command occurs, the processing control unit sends the process control unit to the process control unit. On the other hand, a process start request, a process standby request, a process stop request, or a normal time system switch request is issued. Based on these requests, the process control unit refers to the process control table and controls the process to start / stop / standby.
Here, the process control table will be described. This consists of a process start table and a process WAIT table, and each process is controlled and managed on the process control table. More specifically, when there is a process activation request, the process is registered in the process activation table and the process is activated. If the process is in a wait (WAIT) state, when the process is registered in the process start table, the process is deleted from the process WAIT table and then started. Further, when there is a standby request for a process in the activated state, the registration of the process is moved from the process activation table to the process WAIT table, and the process is placed in the standby state.
Furthermore, if the process is in the active state when the process is requested to be stopped, it is placed in the inactive state by deleting the process from the process activation table, but if the process is in the standby state. If it is, the process is placed in the terminated state by deleting the process from the process WAIT table.

第3図はまた、本発明による系切替方法に係るプロセス
制御フローを示したものである。配下装置からの割込
み、クロックによる割込み、コマンドによる要求が発生
した際、処理制御装置からプロセス制御部に対しては、
プロセスの起動要求、プロセスの待機要求、プロセスの
停止要求、あるいは正常時系切替要求が発行されるが、
プロセス制御部では、それら要求にもとづき、プロセス
制御テーブルを参照しつつプロセスを起動/停止/待機
状態へと制御しているものである。ところで、処理制御
装置から(正常時)系切替要求があった場合であるが、
この場合には、プロセス制御部によって、先ず配下装置
(外部記憶装置DK0,DK1、スイッチ装置SW0,SW1、入出力
制御装置IOC0,IOC1)が使用禁止状態におかれるものと
なっている。これにより、以降、その配下装置との間で
入出力を行うプロセスは、その配下装置が使用不可状態
におかれることから、再び使用可能状態におかれるまで
の間、待機状態におかれるものである。その後、処理制
御装置が空き状態にあるか否かが調べられるが、処理制
御装置が空き状態になるのを待って、系切替回路SELに
は系切替要求が発行されることで系切替が行われ、それ
まで待機状態にあった処理制御装置CP1が新たな現用系
におかれた上、これに、メモリ装置MM1、外部記憶装置D
K1、スイッチ装置SW1、入出力制御装置IOC1およびシス
テム制御装置SC1は勿論のこと、メモリ装置MM0、外部記
憶装置DK0、スイッチ装置SW0、入出力制御装置IOC0およ
びシステム制御装置SC0も動作状態におかれるべく、系
切替回路SELを介し収容されるものである。その系切替
要求に伴い処理制御装置CP1には系切替割込みが発生さ
れているが、この割込みにもとづき処理制御装置CP1に
よって、それまで使用禁止状態におかれていた配下装置
(外部記憶装置DK0,DK1、スイッチ装置SW0,SW1、入出力
制御装置IOC0,IOC1)は、再び使用可能状態に戻される
ものである。配下装置はそれまでに一時的に使用禁止状
態にあったことから、処理制御装置CP1からプロセス制
御部PC1に対しては、待機状態にあるプロセス各々に対
する起動要求が発行されることによって、プロセス制御
部PC1によりそれらプロセスが順次起動された上、以
降、処理制御装置CP1による制御下にシステム動作が再
開され、システムは通常の運転状態におかれるものであ
る。
FIG. 3 also shows a process control flow relating to the system switching method according to the present invention. When an interrupt from a subordinate device, an interrupt from a clock, or a request from a command occurs, the process controller sends a request to the process controller.
A process start request, process standby request, process stop request, or normal time system switch request is issued.
Based on these requests, the process control unit refers to the process control table and controls the process to start / stop / standby. By the way, when there is a system switching request (during normal operation) from the processing control device,
In this case, the process control unit first puts the subordinate devices (external storage devices DK0, DK1, switch devices SW0, SW1, input / output control devices IOC0, IOC1) in a prohibited state. As a result, thereafter, the process that performs input / output with the subordinate device remains in the standby state until the subordinate device is put in the usable state again after being put in the unusable state. is there. After that, it is checked whether or not the processing control device is in the idle state, but after waiting for the processing control device to become in the idle state, the system switching is performed by issuing a system switching request to the system switching circuit SEL. The processing control device CP1 that was in the standby state until then was placed in the new active system, and the memory device MM1 and the external storage device D
Not only K1, switch device SW1, input / output control device IOC1 and system control device SC1, but also memory device MM0, external storage device DK0, switch device SW0, input / output control device IOC0 and system control device SC0 are also in the operating state. Therefore, it is accommodated via the system switching circuit SEL. A system switching interrupt is generated in the processing control device CP1 in response to the system switching request, but based on this interrupt, the processing control device CP1 causes the subordinate device (external storage device DK0, The DK1, the switch devices SW0 and SW1, and the input / output control devices IOC0 and IOC1) are returned to the usable state again. Since the subordinate device has been temporarily disabled, the process control device CP1 issues a start request to each process in the standby state to the process control unit PC1, thereby controlling the process. The processes are sequentially started by the unit PC1, and thereafter the system operation is restarted under the control of the processing control device CP1 to put the system in a normal operating state.

ここで、遅ればせながら、処理制御装置が空き状態にあ
るか否かを調べる方法について説明すれば、第4図はそ
のフローを示したものである。プロセス制御部に処理制
御装置からプロセス起動要求があった場合、そのプロセ
スはプロセス起動テーブルに登録された上、起動される
が、このことは、そのプロセスが実際に動作状態にある
ことを意味しており、したがって、処理制御装置も使用
中状態(非空き状態)にあることを意味したものとなっ
ている。さて、プロセスが配下装置、例えば外部記憶装
置DK0を使用する場合には、その外部記憶装置DK0が使用
可能状態にある場合のみ、外部記憶装置DK0を使用可と
されたものとなっている。しかしながら、それが使用禁
止状態にある場合には、プロセス制御部には処理制御装
置から待機要求が発行されることによって、そのプロセ
スはプロセス起動テーブルからプロセスWAITテーブルに
移されるものとなっている。また、プロセスの実行終了
の際には、プロセス制御部には処理制御装置からプロセ
ス停止要求が発行されることによって、そのプロセスは
プロセス起動テーブルから削除された上、停止されてい
るものである。
Here, a method of checking whether or not the processing control device is in the idle state will be described with a delay, and FIG. 4 shows the flow thereof. When the process control unit requests a process start from the process control unit, the process is registered in the process start table and then started. This means that the process is actually in the operating state. Therefore, it means that the processing control device is also in use (non-empty state). When the process uses the subordinate device, for example, the external storage device DK0, the external storage device DK0 is enabled only when the external storage device DK0 is in the usable state. However, when it is in the use prohibited state, the process control unit issues a standby request to the process control unit, so that the process is moved from the process activation table to the process WAIT table. At the end of the process execution, the process control unit issues a process stop request to the process control unit, so that the process is deleted from the process start table and then stopped.

したがって、以上からも判るように、プロセス起動テー
ブル中にプロセスが登録されていれば、処理制御装置は
使用中状態(非空き状態)にあり、それが登録されてい
ない場合には、処理制御装置は空き状態にあると判定し
得るものである。
Therefore, as can be seen from the above, if the process is registered in the process activation table, the processing control device is in the in-use state (non-empty state), and if it is not registered, the processing control device is Can be determined to be empty.

最後に、本願発明を電子交換機に適用した場合について
言及すれば、電子交換機においては、その処理制御装置
自体の交換処理制御上での使用率が一般に60%程度とさ
れ、これからすれば、処理制御装置が空き状態にある確
率は大きく、処理制御装置が空き状態にある状態で、正
常時系切替を行うことは容易となっている。空き状態で
の系切替では、処理制御上での連続性を保つことも不要
となるばかりか、系切替時間も大幅に短縮され得、併せ
てソフトウエア制御も簡略化され得るものである。
Finally, referring to the case where the present invention is applied to an electronic exchange, in the electronic exchange, the usage rate of the processing control device itself in the exchange processing control is generally about 60%. The probability that the device is in the idle state is high, and it is easy to perform the normal time system switching when the process control device is in the idle state. In system switching in the idle state, it is not necessary to maintain continuity in processing control, and the system switching time can be greatly shortened, and software control can be simplified at the same time.

〔発明の効果〕〔The invention's effect〕

以上、説明したように、本発明によれば、処理制御装置
が空き状態にある間に系切替が行われることから、予備
系に対する処理制御上での連続性を維持することが不要
とされるばかりか、ソフトウエア制御も大幅に簡略化さ
れ得るものとなっている。これに加え、システム状態を
考慮することなく系切替が実施され得るばかりか、シス
テム上での一時的機能停止が極力回避された状態で系切
替が行われるものとなっている。
As described above, according to the present invention, system switching is performed while the process control device is in the idle state, and therefore it is not necessary to maintain continuity in process control with respect to the standby system. Not only that, software control can be greatly simplified. In addition to this, the system switching can be performed without considering the system state, and the system switching is performed in a state in which the temporary function stop on the system is avoided as much as possible.

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

第1図は、本発明に係る2重化システムの一例でのシス
テム構成の概要を示す図、第2図は、プロセス制御部に
よるプロセス制御フローを、プロセス制御テーブルとと
もに示す図、第3図は、本発明による系切替方法に係る
プロセス制御フローを示す図、第4図は、処理制御装置
が空き状態にあるか否かを調べるフローを示す図であ
る。 CP0,CP1……処理制御装置、MM0,MM1……メモリ装置、DK
0,DK1……外部記憶装置、SW0,SW1……スイッチ装置、IO
C0,IOC1……入出力制御装置、SC0,SC1……システム制御
装置、TTY……タイプライタ、SEL……系切替回路、PC0,
PC1……プロセス制御部
FIG. 1 is a diagram showing an outline of a system configuration in an example of the duplex system according to the present invention, FIG. 2 is a diagram showing a process control flow by a process control unit together with a process control table, and FIG. FIG. 4 is a diagram showing a process control flow according to the system switching method according to the present invention, and FIG. 4 is a diagram showing a flow for checking whether or not the processing control device is in an idle state. CP0, CP1 …… Processing control device, MM0, MM1 …… Memory device, DK
0, DK1 …… External storage device, SW0, SW1 …… Switch device, IO
C0, IOC1 …… I / O controller, SC0, SC1 …… System controller, TTY …… Typewriter, SEL …… System switching circuit, PC0,
PC1 ... Process control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】現用系処理制御装置に系切替回路を介し現
用系配下装置、予備系配下装置がともに動作状態におか
れるべく収容されるに際して、現用系配下装置は該現用
系処理制御装置との間で双方向に情報が転送可として収
容されている一方、予備系配下装置は上記現用系処理制
御装置からの情報を受信可として、かつ該現用系処理制
御装置への情報転送不可として収容されている状態で、
現用系処理制御装置によりシステム正常状態での系切替
が定期的に行われる度に、該系切替に先立って、現に動
作状態におかれている現用系配下装置、予備系配下装置
各々は使用禁止状態におかれた上、該現用系配下装置、
予備系配下装置各々に対する処理制御は順次待機状態に
おかれるようにし、該現用系配下装置および予備系配下
装置の待機状態への移行終了を以て現用系処理制御装置
自体が空き状態であると判定された後、系切替回路を介
し現用系配下装置、予備系配下装置は予備系処理制御装
置に収容されると同時に、該予備系処理制御装置への系
切替割込みにより上記現用系処理制御装置、該予備系処
理制御装置はそれぞれ新たに予備系処理制御装置、現用
系処理制御装置におかれた状態で、新たな現用系処理制
御装置による制御下に、現用系配下装置、予備系配下装
置各々に対する使用禁止状態と処理制御上の待機状態は
解除された状態で、システム動作が再開されるようにし
た系切替方法。
1. When an active subordinate apparatus and a standby subordinate apparatus are accommodated so that both the active subordinate apparatus and the standby subordinate apparatus are placed in an operating state via a system switching circuit, the active subordinate apparatus is connected to the active system processing control apparatus. Information is bidirectionally transferred between the two, while the backup subordinate device is allowed to receive information from the active system processing control device and is not transferable to the active system process control device. Is being
Each time the active system processing controller periodically switches the system in a normal system state, prior to the system switchover, the active subordinate device and the standby subordinate device that are currently in operation are prohibited from use. Placed in a state, the active subordinate device,
The process control for each standby subordinate device is sequentially placed in the standby state, and when the active subordinate device and the standby subordinate device have completed the transition to the standby state, the active system process control device itself is determined to be in the idle state. After that, the active system control device and the standby system control device are accommodated in the standby system process control device via the system switching circuit, and at the same time, the active system process control device, the active system process control device, and the standby system process control device The standby system process control device is newly placed in the standby system process control device and the active system process control device, respectively, and under the control of the new active system process control device, the active system subordinate device and the standby system subordinate device are respectively controlled. A system switching method in which the system operation is restarted while the use-disabled state and the standby state for processing control are released.
JP62249963A 1987-10-05 1987-10-05 System switching method Expired - Fee Related JPH0775001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62249963A JPH0775001B2 (en) 1987-10-05 1987-10-05 System switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62249963A JPH0775001B2 (en) 1987-10-05 1987-10-05 System switching method

Publications (2)

Publication Number Publication Date
JPH0193219A JPH0193219A (en) 1989-04-12
JPH0775001B2 true JPH0775001B2 (en) 1995-08-09

Family

ID=17200793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62249963A Expired - Fee Related JPH0775001B2 (en) 1987-10-05 1987-10-05 System switching method

Country Status (1)

Country Link
JP (1) JPH0775001B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6056509B2 (en) * 2013-01-30 2017-01-11 富士通株式会社 Information processing apparatus and information processing apparatus control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5212015B2 (en) * 1972-05-12 1977-04-04
JPS55134402A (en) * 1979-04-06 1980-10-20 Hitachi Ltd Process control unit
JPS57197669A (en) * 1981-05-30 1982-12-03 Omron Tateisi Electronics Co Switching method for controlling system in duplex system
JPS60136452A (en) * 1983-12-26 1985-07-19 Hitachi Ltd Preliminary switching control method
JPS62156754A (en) * 1985-12-28 1987-07-11 Fujitsu Ltd Multi-processor system

Also Published As

Publication number Publication date
JPH0193219A (en) 1989-04-12

Similar Documents

Publication Publication Date Title
KR920003497B1 (en) Access loss processing system and its protection method
JPH0775001B2 (en) System switching method
JPH04268643A (en) Information processing system
JPH09288590A (en) Virtual computer system
JPH04299435A (en) Data base equivalent system
JPH06177965A (en) Duplex exchange system
KR950003686B1 (en) Online Standby Loading Method for Software Changes
JP2004062589A (en) Information processor
JP4193754B2 (en) Data duplication method and program
JPH05204880A (en) Dual computer system
JPH07281933A (en) Computer system
JPH07282022A (en) Multiprocessor system
JP2666426B2 (en) Duplex auxiliary storage device
JP3260435B2 (en) Information communication system
JPH05143248A (en) Data backup system for semiconductor disk device
JP2629415B2 (en) A business process switching method in a mutual standby system
JPH06139028A (en) Disk control system
JPS60238901A (en) System switching system
JPS588016B2 (en) Non-stop switching method of central processing unit in multi-computer system
JP2924956B2 (en) File transfer device, file transmission device, and file transmission method
JP2795246B2 (en) Failure recovery device at the time of interrupt processing in redundant memory system
JPH10289122A (en) High-speed changeover system for inter-system shared disk in hot standby system
JP2002207642A (en) Data backup system, data backup method, and computer program
JPH02139630A (en) Online task exchange device
JPH0375857A (en) Multi-processor system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees