JPH076050A - Double system switching method - Google Patents
Double system switching methodInfo
- Publication number
- JPH076050A JPH076050A JP5143192A JP14319293A JPH076050A JP H076050 A JPH076050 A JP H076050A JP 5143192 A JP5143192 A JP 5143192A JP 14319293 A JP14319293 A JP 14319293A JP H076050 A JPH076050 A JP H076050A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- duplex
- check code
- dual
- 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
Links
Landscapes
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
Abstract
(57)【要約】
【目的】 非2重化メモリを有する2重系システムにお
いて、システムの切替時間を短縮することを目的とす
る。
【構成】 非2重化メモリへのデータ書込み毎にエラー
チェックコードを算出する手段と該エラーチェックコー
ドを記憶する手段とを有し、システム切替時に非2重化
メモリに記憶されているデータからエラーチェックコー
ドを算出する手段と、その値と予め記憶していた値とを
比較し、データをリロードするか否かを判断するように
した。
【効果】 エラーチェックコードの比較結果が、一致す
ればデータをリロードする必要がなく、システムの切替
時間を短縮することができる。
(57) [Abstract] [Purpose] An object of the present invention is to reduce system switching time in a dual system having a non-duplex memory. [Structure] An apparatus has a means for calculating an error check code each time data is written to the non-duplex memory and a means for storing the error check code. The means for calculating the error check code and the value stored in advance are compared to determine whether or not to reload the data. [Effect] If the comparison results of the error check codes match, there is no need to reload the data, and the system switching time can be shortened.
Description
【0001】[0001]
【産業上の利用分野】この発明は非2重化メモリを有す
る2重系システムに関し、特に系の切替時の時間短縮に
関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual system having a non-duplicated memory, and more particularly to reducing the time required for system switching.
【0002】[0002]
【従来の技術】従来の処理系(運用系)および予備系
(待機系)の2系統のシステムを有する2重系システム
は、それぞれのシステムのプロセッサが有する2つのメ
モリを2重化し、常に同じ内容のデータを記憶させてお
くことにより、1系統のプロセッサが障害あるいは点検
などのために停止しても、もう1系統のプロセッサは、
再立上げを行わずともそのまま処理を続行できるという
ものであった。2. Description of the Related Art A conventional dual system having two systems, a processing system (operating system) and a standby system (standby system), duplicates two memories included in the processors of the respective systems, and is always the same. By storing the content data, even if one processor stops due to a failure or inspection, the other processor will
It was that the processing could be continued without restarting.
【0003】上記のそれぞれのシステムのプロセッサが
有する2つのメモリを2重化する手段としては、さまざ
まな手段が開示されている。その中の1つを以下に引用
し、説明する。図5は、例えば特開平2−277141
号公報に示された、従来の2重系システムのブロック図
であり、図5において、1はCPU,2はメモリ,4は
周辺制御装置(以下PCUと称す)であり、それぞれが
共通バス3で接続されて運用系(処理系)のシステムを
構成している。また、5はCPU1と同じ形式のCP
U,6はメモリ2と同じ形式のメモリ,8はPCU4と
同じ形式のPCUであり、それぞれが共通バス7で接続
されて待機系(予備系)のシステムを構成している。そ
して、メモリ2とメモリ6とは相方向のローカルバス9
aにより接続されており、それぞれのメモリに記憶して
いるデータが常に同じに保たれ、これによりシステムが
2重化されているものである。また、9bはPCU4と
PCU8とを接続し、系の切替え等を行う相方向のバス
である。Various means have been disclosed as means for duplicating the two memories included in the processors of the respective systems. One of them will be cited and explained below. FIG. 5 shows, for example, Japanese Patent Laid-Open No. 2-277141.
6 is a block diagram of a conventional dual system shown in Japanese Patent Laid-Open Publication No. JP-A-2003-138, in FIG. Are connected to form an operating system (processing system). Also, 5 is a CP of the same format as the CPU 1.
U and 6 are memories of the same type as the memory 2, and 8 is a PCU of the same type as the PCU 4, which are connected by a common bus 7 to form a standby system (standby system). The memory 2 and the memory 6 have a local bus 9 in the opposite direction.
They are connected by a, and the data stored in the respective memories are always kept the same, whereby the system is duplicated. Further, 9b is a phase-direction bus that connects the PCU 4 and the PCU 8 and performs system switching and the like.
【0004】次に動作について説明する。通常、処理は
運用系のシステムで行われており、障害時もしくは点検
時にPCU4とPCU8とを接続しているバス9bによ
り待機系のシステムに切替えられ、待機系のシステムは
切り替わった時点からの処理を続行することとなる。Next, the operation will be described. Normally, the processing is performed by the operation system, and at the time of failure or inspection, it is switched to the standby system by the bus 9b connecting the PCU4 and the PCU8, and the processing from the time when the standby system is switched. Will continue.
【0005】ここで、メモリ2とメモリ6とはローカル
バス9aによって接続されているため、運用系のシステ
ムが有するメモリ2に書き込まれたデータは、待機系の
システムが有するメモリ6にも同時に書き込まれている
ものである。このため上記のように系の切替が発生して
も、上記メモリ2の内容と上記メモリ6の内容とは一致
しているので、即座に系を切り替えることができるもの
である。Since the memory 2 and the memory 6 are connected by the local bus 9a, the data written in the memory 2 of the active system is simultaneously written in the memory 6 of the standby system. It is what has been. Therefore, even if the system switching occurs as described above, the contents of the memory 2 and the memory 6 match, so that the system can be switched immediately.
【0006】このような2重系システムを、例えば、複
数の低速回線を有し、それらのトラフィックデータを取
りまとめ、高速回線を用いて遠方にある他の通信制御装
置と通信を行うような多重化された通信制御装置などに
用いる場合、上記通信制御装置は、その主たる制御機能
と高速回線での通信の維持とのために上述のような2重
系システムの形態を有し、障害時あるいは点検時におい
ては、処理系システムを予備系システムに切り換えて遠
方の通信制御装置との通信を継続できるようになってい
る。Such a duplex system is multiplexed, for example, having a plurality of low-speed lines, collecting traffic data of the low-speed lines, and performing communication with another communication control device at a distance using the high-speed line. When used as a communication control device, the communication control device has the form of the dual system as described above in order to maintain its main control function and communication on a high-speed line. In some cases, the processing system is switched to the standby system so that communication with a remote communication control device can be continued.
【0007】しかし、上記通信制御装置は、その配下に
低速回線で結ばれた複数の通信端末を有し、それぞれの
低速回線および通信端末の速度情報および、それぞれの
トラフィックデータ等を上記メモリ2または上記メモリ
6以外の2重化されていない複数のメモリ(非2重化メ
モリ)に記憶しているものである。このような複数の非
2重化メモリは、上記処理系システムまたは予備系シス
テムのどちらからでもアクセス可能であるが、2系統の
システムのうちのどちらか一方のシステムだけに論理的
に接続され、使用されているものであり、2系統ともに
動作可能状態であれば、通常は処理系システムに使用さ
れているものである。そして、上記処理系システムの点
検を行う場合は、複数の非2重化メモリが記憶している
データを保全し、予備系システムに切り換えられるが、
上記処理系システムにおいて障害が発生した場合は、該
処理系システムの誤動作により上記非2重化メモリが記
憶しているデータが破壊されている可能性があり、図6
に示すように、系の切替え後、予備系システムは、該予
備系システムが有する上記メモリ6に記憶しているデー
タから上記非2重化メモリに記憶させるデータを作成
し、この作成したデータを上記非2重化メモリにダウン
ロードする。そして、このような2重系システムの形態
を有する上記通信制御装置は、該通信制御装置が有する
複数の上記非2重化メモリに対し、それぞれの非2重化
メモリが記憶すべきデータを全てダウンロードし終え、
上記低速回線の立上げが完了したことにより、上記処理
系システムから予備系システムへの切替えが完了するも
のである。However, the communication control device has a plurality of communication terminals under its control, which are connected by low-speed lines, and the speed information of each low-speed line and the communication terminal and each traffic data are stored in the memory 2 or. It is stored in a plurality of non-duplexed memories (non-duplicated memories) other than the memory 6. Such a plurality of non-duplication memories can be accessed from either the processing system or the standby system, but are logically connected to only one of the two systems, It is used, and if both systems are in an operable state, it is normally used in a processing system. Then, when inspecting the above processing system, the data stored in the plurality of non-duplicated memories is preserved and the system is switched to the standby system.
When a failure occurs in the processing system, there is a possibility that the data stored in the non-duplex memory is destroyed due to a malfunction of the processing system.
After the system switching, the standby system creates data to be stored in the non-duplexed memory from the data stored in the memory 6 of the standby system, as shown in FIG. Download to the non-duplicated memory. Then, the communication control device having such a form of the dual system has all the data to be stored in the respective non-duplication memories with respect to the plurality of non-duplication memories included in the communication control device. Finished downloading,
When the startup of the low-speed line is completed, the switching from the processing system to the standby system is completed.
【0008】[0008]
【発明が解決しようとする課題】従来の2重系システム
の切替方法は、上記のように構成されており、2重化メ
モリと非2重化メモリとを有する2重系システムにおい
て、系の切替えが発生すると、2重化メモリのデータか
ら上記非2重化メモリのデータを再び作成し、ダウンロ
ードする必要があり、予備系システムが立ち上がり、系
の切替えが完了するまでに時間がかかるという問題があ
った。A conventional method for switching a dual system is configured as described above, and in a dual system having a dual memory and a non-duplex memory, the system When switching occurs, it is necessary to recreate the data of the non-duplex memory from the data of the duplex memory and download it, and it takes time for the standby system to start up and complete the system switching. was there.
【0009】この発明は上記のような問題点を解消する
ためになされたもので、非2重化メモリを有する2重系
システムにおいて、切替え完了までの時間を短縮するこ
とを目的とする。The present invention has been made to solve the above problems, and an object thereof is to shorten the time until the completion of switching in a dual system having a non-duplex memory.
【0010】[0010]
【課題を解決するための手段】この発明に係る2重系シ
ステム切替方法は、処理系システムと予備系システムと
がそれぞれ同一データを記憶している2重化メモリを有
し、主たる処理を行っているシステムのみが非2重化メ
モリを有する2重系システムにおいて、そのシステム切
替時に、予備系システムが上記非2重化メモリを使用で
きるよう、該非2重化メモリへその記憶すべきデータを
リロードする2重系システム切替方法において、上記非
2重化メモリにデータを書込む度にそのデータに基づい
てエラーチェックコードを算出する手段と、上記算出し
たエラーチェックコードを、上記非2重化メモリに記憶
させる手段とを有し、上記処理系システムから上記予備
系システムへの切替え時に、上記予備系システムが、上
記非2重化メモリに記憶されているデータに基づいてエ
ラーチェックコードを算出し、この算出したエラーチェ
ックコードと上記記憶していたエラーチェックコードと
を比較する手段と、その比較結果により、上記非2重化
メモリへデータをリロードするか否かを判断する手段と
を備え、上記非2重化メモリへデータをリロードしない
判断をした場合、即座にシステムの切替えを完了させる
ようにしたものである。A dual system switching method according to the present invention has a dual memory in which a processing system and a standby system store the same data, and performs main processing. In the dual system having only the non-duplex memory, the data to be stored in the non-duplex memory is stored in the non-duplex memory so that the standby system can use the non-duplex memory when the system is switched. In the reloading dual system switching method, means for calculating an error check code based on the data each time data is written in the non-duplex memory, and the calculated error check code Means for storing in the memory, wherein the standby system is configured to store the non-duplex memory at the time of switching from the processing system to the standby system. A means for calculating an error check code based on the stored data and comparing the calculated error check code with the stored error check code, and the comparison result, data to the non-duplex memory. And a means for judging whether or not to reload the system, and when it is judged not to reload the data into the non-duplex memory, the system switching is immediately completed.
【0011】またこの発明に係る2重系システム切替方
法は、上記エラーチェックコードとして、パリティチェ
ックコードを用いるようにしたものである。またこの発
明に係る2重系システム切替方法は、上記エラーチェッ
クコードとして、サムチェックコードを用いるようにし
たものである。またこの発明に係る2重系システム切替
え方法は、上記エラーチェックコードとして、CRCコ
ードを用いるようにしたものである。Further, the dual system switching method according to the present invention uses a parity check code as the error check code. Further, the double system switching method according to the present invention uses the sum check code as the error check code. Further, the double system switching method according to the present invention uses a CRC code as the error check code.
【0012】この発明に係る2重系システムの切替方法
は、処理系システムと予備系システムとがそれぞれ同一
データを記憶している2重化メモリを有し、主たる処理
を行っているシステムのみが非2重化メモリを有する2
重系システムにおいて、そのシステム切替時に、予備系
システムが上記非2重化メモリを使用できるよう、該非
2重化メモリへその記憶すべきデータをリロードする2
重系システム切替方法において、上記非2重化メモリに
データを書込む度にそのデータに基づいて誤り訂正符号
を算出する手段と、上記算出した誤り訂正符号を、上記
非2重化メモリに記憶する手段とを有し、上記処理系シ
ステムから上記予備系システムへの切替え時に、上記予
備系システムが、上記非2重化メモリに記憶されている
誤り訂正符号を用いて上記非2重化メモリのデータの誤
りを訂正する手段を備え、上記非2重化メモリへデータ
をリロードせずにシステムの切替えを完了させるように
したものである。In the method of switching the dual system according to the present invention, only the system which has the dual memory in which the processing system and the standby system each store the same data, and which is performing the main processing. 2 with non-duplicated memory
In the heavy system, when the system is switched, the data to be stored is reloaded into the non-duplex memory so that the standby system can use the non-duplex memory.
In the heavy system switching method, means for calculating an error correction code based on the data each time data is written in the non-duplex memory, and the calculated error correction code is stored in the non-duplication memory. The standby system, the standby system uses the error correction code stored in the non-duplex memory when switching from the processing system to the standby system. Is provided so that the system switching can be completed without reloading the data into the non-duplex memory.
【0013】またこの発明に係る2重系システム切替方
法は、上記誤り訂正符号として、BCH符号を用いるよ
うにしたものである。またこの発明に係る2重系システ
ム切替方法は、上記誤り訂正符号として、リードソロモ
ンを用いるようにしたものである。The dual system switching method according to the present invention uses a BCH code as the error correction code. The dual system switching method according to the present invention uses Reed Solomon as the error correction code.
【0014】この発明に係る2重系システム切替方法
は、処理系システムと予備系システムとがそれぞれ同一
データを記憶している2重化メモリを有し、主たる処理
を行っているシステムのみが非2重化メモリを有する2
重系システムにおいて、そのシステム切替時に、予備系
システムが上記非2重化メモリを使用できるよう、該非
2重化メモリへその記憶すべきデータをリロードする2
重系システム切替方法において、上記非2重化メモリに
対応し、該非2重化メモリへのデータ書込み時にオンと
なるフラグと、上記オンとなっているフラグに該当する
非2重化メモリのデータに基づいて上記エラーチェック
コードまたは上記誤り訂正符号を算出する手段と、上記
算出したエラーチェックコードまたは誤り訂正符号を上
記非2重化メモリに記憶し、記憶後に当該フラグをオフ
にする手段とを有し、上記処理系システムから上記予備
系システムへの切替え時に、上記予備系システムが、上
記フラグの状況に応じて上記非2重化メモリへデータを
リロードするか否かを判断する手段を備え、上記非2重
化メモリへデータをリロードしない判断をした場合、即
座にシステムの切替えを完了させるようにしたものであ
る。In the dual system switching method according to the present invention, the processing system and the standby system each have a dual memory in which the same data is stored, and only the system performing the main processing is non-operational. 2 with dual memory
In the heavy system, when the system is switched, the data to be stored is reloaded into the non-duplex memory so that the standby system can use the non-duplex memory.
In the heavy system switching method, a flag corresponding to the non-duplex memory, which is turned on when data is written to the non-duplex memory, and data of the non-duplex memory corresponding to the turned-on flag Means for calculating the error check code or the error correction code based on the above, and means for storing the calculated error check code or the error correction code in the non-duplicated memory and turning off the flag after the storage. And a means for determining whether or not the standby system reloads data into the non-duplex memory according to the status of the flag when the processing system is switched to the standby system. When it is determined that the data is not reloaded to the non-duplex memory, the system switching is immediately completed.
【0015】またこの発明に係る2重系システム切替方
法は、上記オンとなっているフラグに該当する非2重化
メモリのデータに基づいた上記エラーチェックコードま
たは上記誤り訂正符号の算出と上記非2重化メモリへの
記憶とが、上記処理系システムのCPUのアイドル時間
に行われるようにしたものである。Also, in the duplex system switching method according to the present invention, the calculation of the error check code or the error correction code based on the data of the non-duplex memory corresponding to the ON flag and the non-duplication The storage in the duplicated memory is performed during the idle time of the CPU of the processing system.
【0016】またこの発明に係る2重系システム切替方
法は、上記オンとなっているフラグに該当する非2重化
メモリのデータに基づいた上記エラーチェックコードま
たは上記誤り訂正符号の算出と上記非2重化メモリへの
記憶とが、上記処理系システムのCPUのクロックに基
づいた一定の周期で行われるようにしたものである。Further, the duplex system switching method according to the present invention calculates the error check code or the error correction code based on the data of the non-duplex memory corresponding to the flag which is turned on, and the non-duplication system. The storage in the duplicated memory is performed at a constant cycle based on the clock of the CPU of the processing system.
【0017】[0017]
【作用】この発明においては、処理系システムと予備系
システムとがそれぞれ有し、同一データを記憶している
2重化メモリと、主たる処理を行っているシステムのみ
が使用する非2重化メモリとを有する2重系システムの
システム切替時に、予備系システムが、上記非2重化メ
モリを使用するために、該非2重化メモリへその記憶す
べきデータをリロードする2重系システム切替方法にお
いて、上記非2重化メモリにデータを書込む度にそのデ
ータに基づいてパリティチェックコードまたはサムチェ
ックコードあるいはCRCコード等を用いたエラーチェ
ックコードを算出する手段と、上記算出したエラーチェ
ックコードを、上記非2重化メモリに記憶させる手段と
を有し、上記処理系システムから上記予備系システムへ
の切替え時に、上記予備系システムが、上記非2重化メ
モリに記憶されているデータに基づいてエラーチェック
コードを算出し、この算出したエラーチェックコードと
上記記憶していたエラーチェックコードとを比較する手
段と、その比較結果により、上記非2重化メモリへデー
タをリロードするか否かを判断する手段とを備え、上記
非2重化メモリへデータをリロードしない判断をした場
合、即座にシステムの切替えを完了させるようにしたか
ら、上記算出したエラーチェックコードと上記記憶して
いたエラーチェックコードとが一致した場合には、上記
非2重化メモリに記憶されているデータが正当であると
判断され、上記非2重化メモリへデータをリロードせず
にシステムの切替えを完了させることとなり、これによ
り系の切替え完了までの時間を短縮することができる。According to the present invention, the dual memory having the processing system and the standby system, respectively, storing the same data, and the non-duplex memory used only by the system performing the main processing. In the dual system switching method, the standby system reloads the data to be stored in the non-duplicated memory in order to use the non-duplicated memory when the system of the dual system having A means for calculating an error check code using a parity check code, a sum check code, a CRC code or the like based on the data each time the data is written in the non-duplex memory; and the calculated error check code, Means for storing in the non-duplicated memory, and when switching from the processing system to the standby system, A standby system that calculates an error check code based on the data stored in the non-duplex memory, and compares the calculated error check code with the stored error check code; A means for judging whether or not the data is reloaded to the non-duplex memory according to the comparison result, and when it is judged not to reload the data to the non-duplex memory, the system switching is immediately completed. Therefore, if the calculated error check code matches the stored error check code, it is determined that the data stored in the non-duplicated memory is valid, and The system switching will be completed without reloading the data to the duplicated memory, thus shortening the time until the system switching is completed. Rukoto can.
【0018】またこの発明においては、処理系システム
と予備系システムとがそれぞれ同一データを記憶してい
る2重化メモリを有し、主たる処理を行っているシステ
ムのみが非2重化メモリを有する2重系システムにおい
て、そのシステム切替時に、予備系システムが上記非2
重化メモリを使用できるよう、該非2重化メモリへその
記憶すべきデータをリロードする2重系システム切替方
法において、上記非2重化メモリにデータを書込む度に
そのデータに基づいてBCH符号またはリードソロモン
等を用いた誤り訂正符号を算出する手段と、上記算出し
た誤り訂正符号を、上記非2重化メモリに記憶する手段
とを有し、上記処理系システムから上記予備系システム
への切替え時に、上記予備系システムが、上記非2重化
メモリに記憶されている誤り訂正符号を用いて上記非2
重化メモリのデータの誤りを訂正する手段を備え、上記
非2重化メモリへデータをリロードせずにシステムの切
替えを完了させるようにしたから、系の切替え時に、上
記非2重化メモリに記憶しているデータに損傷を受けて
もそのデータの誤りは訂正されるため、上記非2重化メ
モリへデータをリロードする必要がなくなり、これによ
り系の切替え完了までの時間を短縮することができる。Further, according to the present invention, the processing system and the standby system each have a duplicated memory storing the same data, and only the system performing the main processing has a non-duplicated memory. In a dual system, when the system is switched, the standby system is
In a dual system switching method for reloading data to be stored in the non-duplicated memory so that the duplicated memory can be used, every time data is written in the non-duplicated memory, a BCH code is generated based on the data. Alternatively, it has means for calculating an error correction code using Reed-Solomon or the like, and means for storing the calculated error correction code in the non-duplicated memory, and from the processing system to the standby system. At the time of switching, the standby system uses the error correction code stored in the non-duplication memory to perform the non-duplication.
A means for correcting an error in the data of the redundant memory is provided, and the system switching is completed without reloading the data into the non-redundant memory. Even if the stored data is damaged, the error in the data is corrected, so there is no need to reload the data to the non-duplexed memory, which can shorten the time until the system switching is completed. it can.
【0019】またこの発明においては、処理系システム
と予備系システムとがそれぞれ同一データを記憶してい
る2重化メモリを有し、主たる処理を行っているシステ
ムのみが非2重化メモリを有する2重系システムにおい
て、そのシステム切替時に、予備系システムが上記非2
重化メモリを使用できるよう、該非2重化メモリへその
記憶すべきデータをリロードする2重系システム切替方
法において、上記非2重化メモリに対応し、該非2重化
メモリへのデータ書込み時にオンとなるフラグを有し、
上記処理系システムのCPUのアイドル時間またはその
CPUのクロックに基づいた一定の周期において上記オ
ンとなっているフラグに該当する非2重化メモリのデー
タに基づいて上記エラーチェックコードまたは上記誤り
訂正符号を算出する手段と、上記アイドル時間または上
記一定の周期において、上記算出したエラーチェックコ
ードまたは誤り訂正符号を上記非2重化メモリに記憶
し、記憶後に当該フラグをオフにする手段とを有し、上
記処理系システムから上記予備系システムへの切替え時
に、上記予備系システムが、上記フラグの状況に応じて
上記非2重化メモリへデータをリロードするか否かを判
断する手段を備え、上記非2重化メモリへデータをリロ
ードしない判断をした場合、即座にシステムの切替えを
完了させるようにしたから、上記処理系システムのスル
ープットを低下させずに上記エラーチェックコードまた
は上記誤り訂正符号の算出と記憶を行うこととなり、か
つ系の切替え時には、その内容が更新されていたが、ま
だ上記算出したエラーチェックコードまたは誤り訂正符
号を記憶していない非2重化メモリと、上記算出したエ
ラーチェックコードと上記記憶していたエラーチェック
コードとが一致しない非2重化メモリだけが、データを
リロードされることとなり、これにより上記処理系シス
テムの処理能力の低下を招かずに、系の切替え完了まで
の時間を短縮することができる。Further, according to the present invention, the processing system and the standby system each have a duplicated memory storing the same data, and only the system performing the main processing has a non-duplicated memory. In a dual system, when the system is switched, the standby system is
In a dual system switching method for reloading data to be stored in the non-duplicated memory so that the duplicated memory can be used, the non-duplicated memory is supported, and data is written in the non-duplicated memory. Has a flag that turns on,
The error check code or the error correction code based on the data of the non-duplicated memory corresponding to the flag that is turned on in a certain period based on the idle time of the CPU of the processing system or the clock of the CPU And a means for storing the calculated error check code or error correction code in the non-duplicated memory at the idle time or the constant period and turning off the flag after the storage. When the processing system is switched to the standby system, the standby system includes means for determining whether to reload data into the non-duplex memory according to the status of the flag. If you decide not to reload the data to the non-duplex memory, make sure to complete the system switching immediately. Therefore, the error check code or the error correction code is calculated and stored without lowering the throughput of the processing system, and the contents were updated when the system was switched, but the calculation was still performed. Only the non-duplication memory that does not store the error check code or the error correction code and the non-duplication memory in which the calculated error check code and the stored error check code do not match are reloaded with data. As a result, it is possible to shorten the time until the completion of system switching without lowering the processing capacity of the processing system.
【0020】[0020]
実施例1.以下、この発明の第1の実施例を図について
説明する。図1は実施例1による非2重化メモリを有す
る2重系システムを示すブロック図である。図1におい
て、1および5は同じ形式のCPU,2および6は同じ
形式のメモリ,13は共通バス,10は処理系メインカ
ードであり、CPU1とそのメモリ2とを有し、11は
予備系メインカードであり、CPU5とそのメモリ6と
を有している。そして、処理系メインカード10と予備
系メインカード11とで2重系システムを構成し、共通
バス13を介してデータの授受を行うことにより、それ
ぞれのメインカードが有するメモリ2とメモリ6とは同
じ内容のデータを記憶し、2重化されている。また、1
2a〜12nは複数のサブカード,14a〜14nは複
数のサブカード12a〜12nのそれぞれが有する非2
重化メモリであり、非2重化メモリ14a〜14nの中
には、それぞれエラーチェックコード領域15a〜15
nがある。そして、各サブカード12a〜12nは、共
通バス13を介して相互に接続され、かつ処理系メイン
カード10および予備系メインカード11に接続されて
いる。但し、系の切替えが発生するまでサブカード12
a〜12nは、論理的にはどちらか一方の系統のメイン
カードのみに接続されているものである。Example 1. Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a dual system having a non-duplicated memory according to the first embodiment. In FIG. 1, 1 and 5 are CPUs of the same type, 2 and 6 are memories of the same type, 13 is a common bus, 10 is a processing system main card, and has a CPU 1 and its memory 2, and 11 is a standby system. It is a main card and has a CPU 5 and its memory 6. The processing system main card 10 and the standby system main card 11 form a dual system, and by exchanging data via the common bus 13, the memory 2 and the memory 6 of each main card are separated. Data of the same content is stored and duplicated. Also, 1
2a to 12n are plural sub cards, and 14a to 14n are non-two each of plural sub cards 12a to 12n.
The error check code areas 15a to 15 are included in the non-duplex memories 14a to 14n, respectively.
There is n. The sub cards 12a to 12n are connected to each other via the common bus 13 and also to the processing system main card 10 and the standby system main card 11. However, until the system switching occurs, the sub card 12
Logically, a to 12n are connected only to the main card of either system.
【0021】次に、本実施例1の動作について説明す
る。非2重化メモリを有する2重系システムは、通常、
処理系システムでその処理が行われているものであり、
処理系メインカード10とサブカード12a〜12nと
が動作している。また、このとき予備系メインカード1
1では、上記処理系メインカード10が有するメモリ2
に書き込まれたデータと同じ内容のデータを、メモリ6
に書き込む処理が行われている。Next, the operation of the first embodiment will be described. Duplex systems with non-duplexed memory typically
The processing is performed by the processing system,
The processing system main card 10 and the sub cards 12a to 12n are operating. Also, at this time, the spare main card 1
1, the memory 2 included in the processing system main card 10
The data with the same contents as the data written in
Is being written to.
【0022】そして、上記サブカード12aが有する非
2重化メモリ14aにデータを書き込む場合、CPU1
は、その書き込むデータからエラーチェックコードを算
出し、上記非2重化メモリ14aにデータを書き込むと
共に該非2重化メモリ14aのエラーチェックコード領
域15aに、算出したエラーチェックコードを記憶させ
る。ここで上記エラーチェックコードは、書き込むデー
タのブロック毎に算出され、記憶させられるものであ
り、また、上記CPU1は、上記サブカード12a以外
のサブカード12b〜12nの非2重化メモリ14b〜
14nに対する書込み動作においても同様に、上記エラ
ーチェックコードの算出と記憶とを行っているものであ
る。When data is written in the non-duplex memory 14a of the sub card 12a, the CPU 1
Calculates an error check code from the written data, writes the data in the non-duplex memory 14a, and stores the calculated error check code in the error check code area 15a of the non-duplex memory 14a. Here, the error check code is calculated and stored for each block of data to be written, and the CPU 1 causes the non-duplex memory 14b of the sub cards 12b to 12n other than the sub card 12a to be stored.
Similarly, in the write operation for 14n, the above error check code is calculated and stored.
【0023】ここで、上記処理系メインカード10にお
いて障害が発生した場合、図7にその一連の動作の流れ
を示したように、まず、上記予備系メインカード11に
処理の実行が切り換えられ、上記サブカード12a〜1
2nは、論理的に上記予備系メインカード11に接続さ
れる。そして、上記予備系メインカード11のCPU5
は、上記非2重化メモリ14a〜14nの全領域のデー
タをスキャンし、エラーチェックコードを算出する。Here, when a failure occurs in the processing system main card 10, as shown in the flow chart of the series of operations in FIG. 7, first, the execution of the process is switched to the standby system main card 11. The sub cards 12a-1
2n is logically connected to the spare main card 11. The CPU 5 of the spare main card 11
Scans the data in all areas of the non-duplexed memories 14a to 14n and calculates an error check code.
【0024】次に、上記CPU5は、このスキャンし、
算出したエラーチェックコードと、上記エラーチェック
コード領域15a〜15nに記憶しているエラーチェッ
クコードとを比較し、一致すれば予備系システムの立上
げを完了する。また、障害を起こした処理系メインカー
ド10の誤動作により、上記非2重化メモリ14a〜1
4nのいずれかに記憶されているデータが破壊されてい
る場合は、上記スキャンし、算出したエラーチェックコ
ードと上記エラーチェックコード領域15a〜15nに
記憶しているエラーチェックコードとを比較するとエラ
ーチェックコードの不一致が起こる。例えば、上記非2
重化メモリ14aに記憶されているエラーチェックコー
ドの比較動作中にコードの不一致が起こると、上記CP
U5は、メモリ6の中に、上記非2重化メモリ14aに
記憶させるべきデータを作成し、上記メモリ6から上記
非2重化メモリ14aに、上記作成したデータをダウン
ロード(リロード)する。しかし、上述のような処理系
メインカード10の誤動作による非2重化メモリ14a
〜14nの記憶データの破壊は頻繁には起こらず、ほと
んどの場合、エラーチェックコードは一致し、ダウンロ
ードを必要とせずに立上げを完了するものである。Next, the CPU 5 performs this scan,
The calculated error check code is compared with the error check codes stored in the error check code areas 15a to 15n, and if they match, the startup of the standby system is completed. Further, due to the malfunction of the processing system main card 10 that has caused a failure, the non-duplex memories 14a to 14a
If the data stored in any of 4n is destroyed, the error check is performed by comparing the calculated error check code with the error check code stored in the error check code areas 15a to 15n. Code mismatch occurs. For example, the above 2
If a code mismatch occurs during the comparison operation of the error check codes stored in the duplicated memory 14a, the above CP
The U5 creates the data to be stored in the non-duplex memory 14a in the memory 6, and downloads (reloads) the created data from the memory 6 to the non-duplication memory 14a. However, the non-duplication memory 14a due to the malfunction of the processing system main card 10 as described above.
Destruction of the stored data of ~ 14n does not occur frequently, and in most cases, the error check codes match and the startup is completed without requiring the download.
【0025】本実施例1においては、上記のような構成
したので、上記算出したエラーチェックコードと上記記
憶していたエラーチェックコードとが一致した場合に
は、上記非2重化メモリ14a〜14nに記憶されてい
るデータが正当であると判断され、上記非2重化メモリ
14a〜14nへデータがリロードされないようにした
ので、図7に示した本実施例1における処理系メインカ
ード10での障害発生から予備系メインカード11の立
上げ完了までの時間t2 は、図6に示した従来例におけ
る処理系システムでの障害発生から予備系システムの立
上げ完了までの時間t1 より短かくなり、これにより系
の切替え完了までの時間を短縮することができる。In the first embodiment, because of the above-described configuration, when the calculated error check code and the stored error check code match, the non-duplexed memories 14a to 14n. Since it is determined that the data stored in the processing main card 10 is valid and the data is not reloaded to the non-duplex memories 14a to 14n, the processing main card 10 in the first embodiment shown in FIG. The time t2 from the occurrence of a failure to the completion of startup of the standby main card 11 is shorter than the time t1 from the failure occurrence in the processing system to the completion of startup of the standby system in the conventional example shown in FIG. As a result, the time required to complete the system switching can be shortened.
【0026】実施例2.以下、この発明の第2の実施例
について説明する。本実施例2では、その構成を上記実
施例1と同じにし、エラーチェックコードとしてパリテ
ィチェックコードを用いるようにした。Example 2. The second embodiment of the present invention will be described below. In the second embodiment, the configuration is the same as that of the first embodiment, and the parity check code is used as the error check code.
【0027】以下に上記パリティチェックコードに奇数
パリティを用いた場合について説明する。例えば100
バイトの書込みデータに対し、1ビットのパリティビッ
ト(a−P)を付加するようにし、このパリティ(a−
P)を上記エラーチェックコード領域15a〜15nに
格納する。そして、ここで上記100バイトのデータの
内、1バイトのデータが更新されるとすると、この1バ
イトの更新データのパリティ(b−P)を計算し、この
パリティ(b−P)と上記エラーチェックコード領域1
5a〜15nに格納されているパリティ(a−P)の排
他的論理和をとる。The case where odd parity is used for the parity check code will be described below. For example 100
A parity bit (a-P) of 1 bit is added to write data of a byte, and the parity (a-P) is added.
P) is stored in the error check code areas 15a to 15n. Then, assuming that 1 byte of the 100-byte data is updated, the parity (b-P) of the 1-byte updated data is calculated, and the parity (b-P) and the error Check code area 1
The exclusive OR of the parities (a-P) stored in 5a to 15n is calculated.
【0028】次に、排他的論理和の解を、100バイト
のうちの1バイトを更新されたデータに対するパリティ
(a’−P)として上記エラーチェックコード領域15
a〜15nに格納する。Next, the error check code area 15 is used as the solution of the exclusive OR as the parity (a'-P) for the updated data in 1 byte out of 100 bytes.
Store in a to 15n.
【0029】本実施例2においては、エラーチェックコ
ードとして、パリティチェックコードを用いるようにし
たから、上述のように、記憶されているデータが更新さ
れ、その更新されたデータに対する新たなパリティチェ
ックコードの算出をする場合に、更新データを含む新た
な記憶データの全てを読み込みそのパリティを算出する
必要がなくなり、これにより計算時間を速くでき、上記
CPU1の処理能力を低下させずに、系の切替え時間を
短縮することができる2重系システム切替方法を得るこ
とができる。In the second embodiment, since the parity check code is used as the error check code, the stored data is updated and the new parity check code for the updated data is used as described above. It is not necessary to read all the new storage data including the update data and calculate the parity when calculating the above. This makes it possible to shorten the calculation time and switch the system without lowering the processing capacity of the CPU 1. A dual system switching method capable of shortening the time can be obtained.
【0030】実施例3.以下、この発明の第3の実施例
について説明する。本実施例3は、その構成を上記実施
例1と同じにし、エラーチェックコードとしてサムチェ
ックコードを用いるようにし、上記実施例2と同様に、
上記非2重化メモリ14a〜14nに記憶されているデ
ータが更新される場合に、その更新データに対するサム
チェックコードを算出し、このサムチェックコードと、
上記エラーチェックコード領域15a〜15nに格納さ
れているサムチェックコードから新たなサムチェックコ
ードを算出するようにしたものである。Example 3. The third embodiment of the present invention will be described below. The third embodiment has the same configuration as that of the first embodiment and uses a sum check code as an error check code.
When the data stored in the non-duplexed memories 14a to 14n is updated, a sum check code for the updated data is calculated, and the sum check code and
A new sum check code is calculated from the sum check code stored in the error check code areas 15a to 15n.
【0031】本実施例3においても、エラーチェックコ
ードとして、サムチェックコードを用いるようにしたか
ら、上記実施例2と同様に、更新データを含む新たな記
憶データの全てを読み込みそのサムチェックコードを算
出する必要がなくなり、これにより計算時間を速くで
き、上記CPU1の処理能力の低下を防ぐことができ
る。そして、さらにパリティチェックコードを用いる上
記実施例2よりも、エラーチェックの信頼性を向上させ
ることができる効果がある。Also in the third embodiment, since the sum check code is used as the error check code, all the new storage data including the update data is read and the sum check code is used as in the second embodiment. Since it is not necessary to calculate, the calculation time can be shortened and the decrease in the processing capacity of the CPU 1 can be prevented. Further, there is an effect that the reliability of the error check can be further improved as compared with the second embodiment using the parity check code.
【0032】実施例4.以下、この発明の第4の実施例
を図について説明する。図2は、本実施例4による非2
重化メモリを有する2重系システムを示すブロック図で
ある。図2において、上記実施例1における図1と同一
符号は同一又は相当部分を示し、非2重化メモリ14a
〜14nはブロック化され、それぞれ14a1 〜14n
mに分割されているものとし、ブロック化された非2重
化メモリ14a1 〜14nmはそれぞれエラーチェック
コード領域15a1 〜15nmを有するものである。Example 4. Hereinafter, a fourth embodiment of the present invention will be described with reference to the drawings. FIG. 2 is a schematic diagram of the non-two according to the fourth embodiment.
FIG. 3 is a block diagram showing a dual system having a duplicated memory. 2, the same reference numerals as those in FIG. 1 in the first embodiment indicate the same or corresponding portions, and the non-duplicated memory 14a
To 14n are divided into blocks, and 14a1 to 14n, respectively.
It is assumed that the non-duplicated memories 14a1 to 14nm are divided into m blocks and have error check code areas 15a1 to 15nm, respectively.
【0033】次に、本実施例4の動作について説明す
る。本実施例4では、上記エラーチェック・コードとし
てCRCコードを用いるようにしたものである。Next, the operation of the fourth embodiment will be described. In the fourth embodiment, a CRC code is used as the error check code.
【0034】上記CRCコードは、メモリ内のデータチ
ェックを発見する能力が上記パリティチェックコードま
たは上記サムチェックコードより高く、非常に信頼性が
高い。しかしその反面、上記パリティチェックコードま
たは上記サムチェックコードのように、アップデートラ
イトが発生した場合に、更新データのCRCコードを算
出し、この算出したCRCコードと記憶していた古いC
RCコードとから新たなCRCコードを算出することが
できず、更新されたメモリ内の全てのデータから新たな
CRCコードを算出しなければならない。The CRC code has a higher ability to find the data check in the memory than the parity check code or the sum check code, and is very reliable. However, on the other hand, when an update write occurs, like the parity check code or the sum check code, the CRC code of the update data is calculated, and the calculated CRC code and the old C stored
A new CRC code cannot be calculated from the RC code, and a new CRC code must be calculated from all the data in the updated memory.
【0035】そこで、計算時間を短縮するために、上記
実施例1〜3における非2重化メモリ14a〜14nを
ブロック化し、図2のように非2重化メモリ14a1 〜
14nmとした。そして、各非2重化メモリ14a1 〜
14nmにそれぞれエラーチェックコード領域15a1
〜15nmを設け、そこにCRCコードを格納するよう
にした。例えば、上記非2重化メモリ14a1 に記憶さ
れているデータの一部が書き換えられた場合、上記CP
U1は、上記非2重化メモリ14a1 に記憶された新た
なデータを全て読み込み、新たなCRCコードを算出
し、そのCRCコードを上記エラーチェックコード領域
15a1 に格納する。Therefore, in order to reduce the calculation time, the non-duplicated memories 14a to 14n in the above-described first to third embodiments are divided into blocks, and the non-duplicated memories 14a1 to 14a1 to 14n are divided into blocks as shown in FIG.
It was set to 14 nm. The non-duplex memories 14a1 ...
Error check code area 15a1 at 14nm
-15 nm is provided, and the CRC code is stored therein. For example, when a part of the data stored in the non-duplex memory 14a1 is rewritten, the CP
U1 reads all the new data stored in the non-duplex memory 14a1, calculates a new CRC code, and stores the CRC code in the error check code area 15a1.
【0036】そして障害が発生し、処理系システム10
から予備系システム11に切替えられると、上記予備系
システム11の上記CPU5は、各非2重化メモリ14
a1〜14nm毎にCRCコードを算出し、それぞれの
算出したCRCコードと上記エラーチェックコード領域
15a1 〜15nmに格納されている古いCRCコード
とを比較する。Then, a failure occurs, and the processing system 10
When the standby system 11 is switched to the standby system 11, the CPU 5 of the standby system 11 causes the non-duplex memory 14 to operate.
A CRC code is calculated for each a1 to 14 nm, and each calculated CRC code is compared with the old CRC code stored in the error check code area 15a1 to 15 nm.
【0037】本実施例4においては、エラーチェックコ
ードとしてCRCコードを用い、非2重化メモリ14a
〜14nをブロック化し、非2重化メモリ14a1 〜1
4nmとし、このブロック化された各非2重化メモリ1
4a1 〜14nmにそれぞれCRCコードを格納するエ
ラーチェックコード領域15a1 〜15nmを設け、ブ
ロック化された各非2重化メモリ14a1 〜14nm毎
にCRCコードを算出するようにしたから、上記CRC
コードの算出を速く行い、かつ信頼性の高いメモリの検
査を行うことができ、系の切替え時間を短縮できる2重
系システム切替方法を得ることができる効果がある。In the fourth embodiment, the CRC code is used as the error check code, and the non-duplex memory 14a is used.
-14n are divided into blocks, and non-duplexed memories 14a1 -1
4 nm, and each non-duplicated memory 1 is divided into blocks.
Since the error check code areas 15a1 to 15nm for storing the CRC code are provided in 4a1 to 14nm, and the CRC code is calculated for each of the blocked non-duplex memories 14a1 to 14nm.
There is an effect that a code can be calculated quickly, a highly reliable memory can be inspected, and a dual system switching method that can shorten the system switching time can be obtained.
【0038】実施例5.以下、この発明の第5の実施例
を図について説明する。図3は本実施例5による非2重
化メモリを有する2重系システムのブロック図である。
図3において、上記実施例1における図1と同一符号は
同一又は相当部分を示し、16a〜16nは誤り訂正符
号領域である。Example 5. A fifth embodiment of the present invention will be described below with reference to the drawings. FIG. 3 is a block diagram of a dual system having a non-duplex memory according to the fifth embodiment.
In FIG. 3, the same reference numerals as those in FIG. 1 in the first embodiment indicate the same or corresponding portions, and 16a to 16n are error correction code areas.
【0039】次に、本実施例5の動作について説明す
る。本実施例5の2重系システム切替方法は、その構成
において上記実施例1とほぼ同じであり、上記実施例1
のエラーチェックコード領域15a〜15nを、誤り訂
正符号領域16a〜16nとし、非2重化メモリ14a
〜14nのデータチェックを検出するだけでなく、その
データチェックが修正可能なものであれば、上記誤り訂
正符号領域16a〜16nに格納されている誤り訂正符
号を用いて修正を行うものである。そのため以下に、上
記実施例1と違う動作のみを説明する。Next, the operation of the fifth embodiment will be described. The duplex system switching method of the fifth embodiment is almost the same as that of the first embodiment in terms of its configuration.
Error check code areas 15a to 15n are set as error correction code areas 16a to 16n, and the non-duplication memory 14a
In addition to detecting the data check of 14n to 14n, if the data check can be corrected, the correction is performed using the error correction code stored in the error correction code areas 16a to 16n. Therefore, only the operation different from that of the first embodiment will be described below.
【0040】例えば、処理系メインカード10で処理が
行われており、上記サブカード12aが有する非2重化
メモリ14aにデータを書き込む場合、CPU1は、デ
ータが書き込まれる度に誤り訂正符号を算出し、上記非
2重化メモリ14aにデータを書き込むと共に該非2重
化メモリ14aの誤り訂正符号領域16aに、算出した
誤り訂正符号を記憶させる。ここで上記誤り訂正符号
は、書き込むデータのブロック毎に算出され、記憶させ
られるものであり、また、上記CPU1は、上記サブカ
ード12a以外のサブカード12b〜12nの非2重化
メモリ14b〜14nに対する書込み動作においても同
様に、上記誤り訂正符号の算出と記憶とを行っているも
のである。For example, when processing is performed by the processing system main card 10 and data is written in the non-duplex memory 14a of the sub card 12a, the CPU 1 calculates an error correction code each time the data is written. Then, the data is written in the non-duplication memory 14a and the calculated error correction code is stored in the error correction code area 16a of the non-duplication memory 14a. The error correction code is calculated and stored for each block of data to be written, and the CPU 1 causes the non-duplicated memories 14b to 14n of the sub cards 12b to 12n other than the sub card 12a to be stored. Similarly, in the write operation for, the error correction code is calculated and stored.
【0041】ここで、上記処理系メインカード10にお
いて障害が発生した場合、まず、上記予備系メインカー
ド11に処理の実行が切り換えられ、上記サブカード1
2a〜12nは、論理的に上記予備系メインカード11
に接続される。そして、上記予備系メインカード11の
CPU5は、上記非2重化メモリ14a〜14nの全領
域のデータをスキャンし、かつ上記誤り訂正符号領域1
6a〜16nに格納されている誤り訂正符号を用いて、
修正可能なデータチェックを発見したときには、順次そ
のデータを修正する。When a failure occurs in the processing system main card 10, first, the execution of processing is switched to the standby system main card 11, and the sub card 1
2a to 12n are logically the standby main card 11
Connected to. Then, the CPU 5 of the standby main card 11 scans the data in all areas of the non-duplex memories 14a to 14n, and the error correction code area 1
Using the error correction codes stored in 6a to 16n,
When it finds a modifiable data check, it modifies the data sequentially.
【0042】そして、上記非2重化メモリ14a〜14
nの全領域のデータをスキャンし終えたときに上記予備
系システムの立上げを完了する。Then, the non-duplex memories 14a to 14
When the scanning of the data in all areas of n is completed, the start-up of the standby system is completed.
【0043】本実施例5においては、上記非2重化メモ
リ14a〜14nに誤り訂正符号を格納する上記誤り訂
正符号領域16a〜16nを設け、上記非2重化メモリ
14a〜14nへ書き込まれるデータから誤り訂正符号
を算出し、処理系システムから予備系システムへ系の切
替えが発生した場合に、上記予備系メインカード11の
CPU5が、上記誤り訂正符号領域16a〜16nに格
納されている誤り訂正符号を用いてデータチェックを修
正するようにしたので、上記CPU5は、上記非2重化
メモリ14a〜14nへ記憶させておくべきデータの作
成と、そのデータのダウンロードとを行う必要がなくな
り、これにより予備系システムの立上げを速くすること
ができ、系の切替え時間を短縮できる2重系システム切
替方法を得ることができる。In the fifth embodiment, the non-duplication memories 14a to 14n are provided with the error correction code areas 16a to 16n for storing error correction codes, and the data to be written in the non-duplication memories 14a to 14n. The error correction code is calculated from the error correction code and the CPU 5 of the standby system main card 11 stores the error correction code stored in the error correction code areas 16a to 16n when the system is switched from the processing system to the standby system. Since the data check is corrected by using the code, the CPU 5 does not need to create the data to be stored in the non-duplex memories 14a to 14n and download the data. To obtain a dual system switching method that can speed up the startup of the standby system and shorten the system switching time. It can be.
【0044】実施例6.以下、この発明の第6の実施例
について説明する。本実施例6では、上記誤り訂正符号
としてBCHコードを用い、上記誤り訂正符号領域16
a〜16nに格納するようにしたものである。Example 6. The sixth embodiment of the present invention will be described below. In the sixth embodiment, a BCH code is used as the error correction code, and the error correction code area 16 is used.
The data is stored in a to 16n.
【0045】上記BCHコードは、誤り訂正能力はあま
り高くないが、その計算が他の誤り訂正符号に比べて簡
単なため、計算時間を短くできる。そのため軽度のデー
タチェックが発生し易い2重系システムに対して有効と
なる。Although the BCH code does not have a high error correction capability, its calculation is simpler than that of other error correction codes, so that the calculation time can be shortened. Therefore, it is effective for a dual system in which a light data check is likely to occur.
【0046】そして、本実施例6においても、処理系シ
ステムから予備系システムへ系の切替えが発生した場合
に、上記予備系メインカード11のCPU5が、上記誤
り訂正符号領域16a〜16nに格納されているBCH
コードを用いてデータチェックを修正するようにしたの
で、上記CPU5は、上記非2重化メモリ14a〜14
nへ記憶させておくべきデータの作成と、そのデータの
ダウンロードとを行う必要がなくなり、これにより予備
系システムの立上げを速くすることができ、系の切替え
時間を短縮できる2重系システム切替方法を得ることが
できる。Also in the sixth embodiment, when the system is switched from the processing system to the backup system, the CPU 5 of the backup main card 11 is stored in the error correction code areas 16a to 16n. BCH
Since the data check is modified by using the code, the CPU 5 causes the non-redundant memories 14a to 14a to operate.
It is not necessary to create the data to be stored in n and to download the data. This makes it possible to speed up the startup of the standby system and shorten the system switching time. You can get the way.
【0047】実施例7.以下、この発明の第7の実施例
について説明する。本実施例7では、上記誤り訂正符号
としてリードソロモンを用い、上記誤り訂正符号領域1
6a〜16nに格納するようにしたものである。Example 7. The seventh embodiment of the present invention will be described below. In the seventh embodiment, Reed Solomon is used as the error correction code, and the error correction code area 1 is used.
The data is stored in 6a to 16n.
【0048】上記リードソロモンは、その計算が複雑で
あるが、誤り訂正能力が高いため、重度のデータチェッ
クが発生し易く、上記非2重化メモリ14a〜14nへ
記憶させておくべきデータが大量にあり、その作成とダ
ウンロードとに費やす時間が長いような2重系システム
に対して特に有効となる。Although the Reed-Solomon is complicated in its calculation, it has a high error correction capability, so that a severe data check is likely to occur, and a large amount of data should be stored in the non-duplex memories 14a to 14n. In particular, it is particularly effective for a dual system in which it takes a long time to create and download it.
【0049】そして、本実施例7においても、上記デー
タの作成とダウンロードとを行う必要がなくなり、これ
により予備系システムの立上げを速くすることができ、
系の切替え時間を短縮できる2重系システム切替方法を
得ることができる。In the seventh embodiment as well, it is not necessary to create and download the above-mentioned data, whereby the start-up of the standby system can be speeded up,
A dual system switching method that can shorten the system switching time can be obtained.
【0050】実施例8.以下、この発明の第8の実施例
を図について説明する。図4は、本実施例8による非2
重化メモリを有する2重系システムを示すブロック図で
ある。図4において、上記実施例1における図1と同一
符号は同一又は相当部分を示し、17a〜17nはフラ
グである。Example 8. An eighth embodiment of the present invention will be described below with reference to the drawings. FIG. 4 shows the non-2
FIG. 3 is a block diagram showing a dual system having a duplicated memory. 4, the same reference numerals as those in FIG. 1 in the first embodiment indicate the same or corresponding portions, and 17a to 17n are flags.
【0051】上記実施例1では、上記非2重化メモリ1
4a〜14nにデータを書き込む度にエラーチェック・
コードの算出を行い、その算出したエラーチェック・コ
ードを上記エラーチェック・コード領域15a〜15n
に格納し、また、上記実施例5では、上記非2重化メモ
リ14a〜14nにデータを書き込む度に誤り訂正符号
の算出を行い、その算出した誤り訂正符号を上記誤り訂
正符号領域16a〜16nに格納していた。しかし、メ
モリアクセスが頻繁に起こるような2重系システムにお
いては、エラーチェック・コードもしくは誤り訂正符号
の算出のために処理系システムのCPU1の負荷が増
え、スループットが落ちることとなる。そこで本実施例
8では、各非2重化メモリ14a〜14nにそれぞれフ
ラグ17a〜17nを設けた。In the first embodiment, the non-duplex memory 1 is used.
An error check is performed every time data is written to 4a to 14n.
A code is calculated, and the calculated error check code is used as the error check code area 15a to 15n.
Further, in the fifth embodiment, an error correction code is calculated every time data is written in the non-duplex memories 14a to 14n, and the calculated error correction code is stored in the error correction code areas 16a to 16n. Was stored in. However, in a dual system in which memory access frequently occurs, the load of the CPU 1 of the processing system increases due to the calculation of the error check code or the error correction code, and the throughput decreases. Therefore, in the eighth embodiment, the flags 17a to 17n are provided in the non-duplex memories 14a to 14n, respectively.
【0052】次に、本実施例8の動作を、エラーチェッ
ク・コードを用いる場合について説明する。但し、上記
実施例1と同じ動作については省略する。まず、処理系
メインカード10により処理が行われている場合、CP
U1は、上記サブカード12aが有する非2重化メモリ
14aへのデータの書き込みが発生すると、フラグ17
aをオンにし、即座にそのデータを書き込み、次にま
た、上記非2重化メモリ14aへのデータの書き込みが
発生すると、上記フラグ17aを確認し、該フラグ17
aがオンになっていれば、そのデータも即座に書き込
む。またそのとき、上記フラグ17aがオフになってい
れば、それをオンにし、上記データを即座に書き込む。Next, the operation of the eighth embodiment will be described when an error check code is used. However, the same operation as that of the first embodiment is omitted. First, when processing is being performed by the processing system main card 10, CP
When U1 writes data to the non-duplex memory 14a included in the sub card 12a, the flag 17
When a is turned on, the data is immediately written, and then the data is written to the non-duplex memory 14a again, the flag 17a is confirmed and the flag 17a is checked.
If a is on, that data is also written immediately. At that time, if the flag 17a is off, it is turned on and the data is immediately written.
【0053】そして、処理系システムのデータ処理量が
減り、上記CPU1がアイドリング状態になると、該C
PU1は、上記オンになっているフラグ17aを有する
上記非2重化メモリ14aの全領域をスキャンし、順
次、エラーチェックコードを算出し、上記エラーチェッ
クコード領域15aにその算出したエラーチェックコー
ドを順次格納する。そして、上記CPU1は、全てのエ
ラーチェックコードを算出し、上記エラーチェックコー
ド領域15aに格納し終えると、上記オンになっている
フラグ17aをオフにする。When the data processing amount of the processing system is reduced and the CPU 1 is in the idling state, the C
The PU 1 scans the entire area of the non-duplexed memory 14a having the flag 17a turned on, sequentially calculates an error check code, and stores the calculated error check code in the error check code area 15a. Store sequentially. Then, the CPU 1 turns off the flag 17a that is turned on when all the error check codes are calculated and stored in the error check code area 15a.
【0054】また、上記CPU1は、上記サブカード1
2a以外のサブカード12b〜12nの非2重化メモリ
14b〜14nに対する書込み動作においても同様に、
フラグ17b〜17nの操作と、上記エラーチェックコ
ードの算出と記憶とを行っているものである。Further, the CPU 1 is the sub card 1
Similarly, in the write operation to the non-duplex memories 14b to 14n of the sub cards 12b to 12n other than 2a,
The operation of the flags 17b to 17n and the calculation and storage of the error check code are performed.
【0055】ここで、上記処理系メインカード10にお
いて障害が発生した場合、上記予備系メインカード11
に処理の実行が切り換えられ、上記サブカード12a〜
12nは、論理的に上記予備系メインカード11に接続
される。When a failure occurs in the processing system main card 10, the standby system main card 11
Execution of the process is switched to the sub card 12a-
12n is logically connected to the standby main card 11.
【0056】そして、上記予備系メインカード11のC
PU5は、最初に上記非2重化メモリ14a〜14nが
有する上記フラグ17a〜17nの状態を確認する。こ
のとき例えば、上記フラグ17bだけがオン状態であれ
ば、上記CPU5は、上記非2重化メモリ14bのエラ
ーチェックコード領域15bに格納されているエラーチ
ェックコードは信頼性がないと判断し、上記非2重化メ
モリ14bに記憶させておくべきデータを作成し、ダウ
ンロードする。C of the spare main card 11
The PU 5 first confirms the states of the flags 17a to 17n included in the non-duplexed memories 14a to 14n. At this time, for example, if only the flag 17b is on, the CPU 5 determines that the error check code stored in the error check code area 15b of the non-duplex memory 14b is not reliable, and The data to be stored in the non-duplex memory 14b is created and downloaded.
【0057】次に、上記CPU5は、オフ状態となって
いるフラグ17a,17c〜17nを有する上記非2重
化メモリ14a,14c〜14nに対して、上記実施例
1と同様の動作を行い予備系システムの立上げを完了す
る。Next, the CPU 5 performs the same operation as that of the first embodiment on the non-duplex memories 14a and 14c to 14n having the flags 17a and 17c to 17n in the off state, and performs the preliminary operation. Completed the startup of related systems.
【0058】本実施例8においては、上記非2重化メモ
リ14a〜14nに上記フラグ17a〜17nを設け、
書込みが発生した非2重化メモリのフラグをオンにし、
上記CPU1のアイドルタイムに、オン状態のフラグを
有する非2重化メモリに対してのみエラーチェックコー
ドの算出を行うようにしたので、システムのスループッ
トを低下させることなくエラーチェックコードの算出を
行うことができ、系の切替え時間を短縮できる2重系シ
ステムの切替方法を得ることができる。In the eighth embodiment, the flags 17a to 17n are provided in the non-duplication memories 14a to 14n,
Turn on the flag of the non-duplex memory where the write occurred,
During the idle time of the CPU 1, the error check code is calculated only for the non-duplicated memory having the ON flag, so the error check code can be calculated without lowering the system throughput. Therefore, it is possible to obtain a method for switching a dual system that can shorten the system switching time.
【0059】なお、本実施例8では、上記フラグ17a
〜17nを上記非2重化メモリ14a〜14nに備えた
が、2重化メモリ2および6にテーブルを設け、該テー
ブルに格納しても良い。In the eighth embodiment, the flag 17a is used.
.About.17n are provided in the non-duplication memories 14a to 14n, but tables may be provided in the duplication memories 2 and 6 and stored in the tables.
【0060】実施例9.以下、この発明の第9の実施例
について説明する。本実施例9は、上記実施例8と同様
の構成とし、上記実施例8において上記CPU1のアイ
ドルタイムにエラーチェックコードの算出を行っていた
ものを、該CPU1のクロックを用いて一定周期で上記
エラーチェックコードの算出を行うものである。Example 9. The ninth embodiment of the present invention will be described below. The ninth embodiment has the same configuration as that of the eighth embodiment, and the error check code is calculated during the idle time of the CPU1 in the eighth embodiment, but the error check code is calculated at a constant cycle using the clock of the CPU1. The error check code is calculated.
【0061】本実施例9においても、上記非2重化メモ
リ14a〜14nに上記フラグ17a〜17nを設け、
書込みが発生した非2重化メモリのフラグをオンにし、
上記CPU1のクロックを用いた一定の周期で、オン状
態のフラグを有する非2重化メモリに対してのみエラー
チェックコードの算出を行うようにしたので、システム
のスループットを低下させることなくエラーチェックコ
ードの算出を行うことができ、系の切替え時間を短縮で
きる2重系システムの切替方法を得ることができる。Also in the ninth embodiment, the flags 17a to 17n are provided in the non-duplexed memories 14a to 14n,
Turn on the flag of the non-duplex memory where the write occurred,
Since the error check code is calculated only for the non-duplexed memory having the ON-state flag at a constant cycle using the clock of the CPU 1, the error check code is not reduced without decreasing the system throughput. It is possible to obtain a method for switching the dual system, which can reduce the system switching time.
【0062】[0062]
【発明の効果】以上のようにこの発明に係る2重系シス
テム切替方法によれば、処理系システムと予備系システ
ムとがそれぞれ同一データを記憶している2重化メモリ
を有し、主たる処理を行っているシステムのみが非2重
化メモリを有する2重系システムにおいて、そのシステ
ム切替時に、予備系システムが上記非2重化メモリを使
用できるよう、該非2重化メモリへその記憶すべきデー
タをリロードする2重系システム切替方法において、上
記非2重化メモリにデータを書込む度にそのデータに基
づいてパリティチェックコードまたはサムチェックコー
ドあるいはCRCコード等を用いたエラーチェックコー
ドを算出する手段と、上記算出したエラーチェックコー
ドを、上記非2重化メモリに記憶させる手段とを有し、
上記処理系システムから上記予備系システムへの切替え
時に、上記予備系システムが、上記非2重化メモリに記
憶されているデータに基づいてエラーチェックコードを
算出し、この算出したエラーチェックコードと上記記憶
していたエラーチェックコードとを比較する手段と、そ
の比較結果により、上記非2重化メモリへデータをリロ
ードするか否かを判断する手段とを備え、上記非2重化
メモリへデータをリロードしない判断をした場合、即座
にシステムの切替えを完了させるようにしたので、上記
算出したエラーチェックコードと上記記憶していたエラ
ーチェックコードとが一致した場合には、上記非2重化
メモリに記憶されているデータが正当であると判断さ
れ、上記非2重化メモリへデータをリロードせずにシス
テムの切替えを完了させることとなり、これにより系の
切替え完了までの時間を短縮することができる効果があ
る。As described above, according to the dual system switching method of the present invention, the processing system and the standby system each have a dual memory storing the same data, and the main processing is performed. In a dual system in which only the system performing the non-duplex memory has a non-duplex memory, the standby system should store the non-duplex memory so that the standby system can use the non-duplex memory when the system is switched. In the dual system switching method of reloading data, every time data is written in the non-duplex memory, an error check code using a parity check code, a sum check code, a CRC code or the like is calculated based on the data. Means and means for storing the calculated error check code in the non-duplicated memory,
At the time of switching from the processing system to the standby system, the standby system calculates an error check code based on the data stored in the non-duplex memory, and the calculated error check code and the above A means for comparing with the stored error check code and a means for judging whether or not to reload the data into the non-duplex memory according to the comparison result are provided, and the data is loaded into the non-duplication memory. When it is determined not to reload, the system switching is immediately completed. Therefore, when the calculated error check code and the stored error check code match, the non-duplex memory is stored. The stored data is judged to be valid, and the system switching is completed without reloading the data to the non-duplex memory. It and becomes to, thereby there is an effect that it is possible to shorten the time to completion switching system.
【0063】またこの発明に係る2重系システム切替方
法によれば、処理系システムと予備系システムとがそれ
ぞれ同一データを記憶している2重化メモリを有し、主
たる処理を行っているシステムのみが非2重化メモリを
有する2重系システムにおいて、そのシステム切替時
に、予備系システムが上記非2重化メモリを使用できる
よう、該非2重化メモリへその記憶すべきデータをリロ
ードする2重系システム切替方法において、上記非2重
化メモリにデータを書込む度にそのデータに基づいてB
CH符号またはリードソロモン等を用いた誤り訂正符号
を算出する手段と、上記算出した誤り訂正符号を、上記
非2重化メモリに記憶する手段とを有し、上記処理系シ
ステムから上記予備系システムへの切替え時に、上記予
備系システムが、上記非2重化メモリに記憶されている
誤り訂正符号を用いて上記非2重化メモリのデータの誤
りを訂正する手段を備え、上記非2重化メモリへデータ
をリロードせずにシステムの切替えを完了させるように
したので、系の切替え時に、上記非2重化メモリに記憶
しているデータに損傷を受けてもそのデータの誤りは訂
正されるため、上記非2重化メモリへデータをリロード
する必要がなくなり、これにより系の切替え完了までの
時間を短縮することができる効果がある。Further, according to the dual system switching method of the present invention, the system having the dual memory in which the processing system and the standby system store the same data, and performing the main processing. In a dual system having only non-duplex memory, when the system is switched, the data to be stored is reloaded into the non-duplex memory so that the standby system can use the non-duplex memory. In the heavy system switching method, every time data is written in the non-duplex memory, B is set based on the data.
It has means for calculating an error correction code using a CH code or Reed-Solomon, and means for storing the calculated error correction code in the non-duplicated memory. When switching to the non-duplexing mode, the standby system includes means for correcting an error in the data of the non-duplexing memory using the error correction code stored in the non-duplexing memory. Since the system switching is completed without reloading the data to the memory, even if the data stored in the non-duplex memory is damaged during the system switching, the error of the data is corrected. Therefore, there is no need to reload the data into the non-duplex memory, which has the effect of shortening the time until completion of system switching.
【0064】またこの発明に係る2重系システム切替方
法によれば、処理系システムと予備系システムとがそれ
ぞれ同一データを記憶している2重化メモリを有し、主
たる処理を行っているシステムのみが非2重化メモリを
有する2重系システムにおいて、そのシステム切替時
に、予備系システムが上記非2重化メモリを使用できる
よう、該非2重化メモリへその記憶すべきデータをリロ
ードする2重系システム切替方法において、上記非2重
化メモリに対応し、該非2重化メモリへのデータ書込み
時にオンとなるフラグを有し、上記処理系システムのC
PUのアイドル時間またはそのCPUのクロックに基づ
いた一定の周期において上記オンとなっているフラグに
該当する非2重化メモリのデータに基づいて上記エラー
チェックコードまたは上記誤り訂正符号を算出する手段
と、上記アイドル時間または上記一定の周期において、
上記算出したエラーチェックコードまたは誤り訂正符号
を上記非2重化メモリに記憶し、記憶後に当該フラグを
オフにする手段とを有し、上記処理系システムから上記
予備系システムへの切替え時に、上記予備系システム
が、上記フラグの状況に応じて上記非2重化メモリへデ
ータをリロードするか否かを判断する手段を備え、上記
非2重化メモリへデータをリロードしない判断をした場
合、即座にシステムの切替えを完了させるようにしたの
で、上記処理系システムの処理能力の低下を招かずに上
記エラーチェックコードまたは上記誤り訂正符号の算出
と記憶を行うことができ、かつ、系の切替え完了までの
時間を短縮することができる効果がある。Further, according to the dual system switching method of the present invention, the system in which the processing system and the standby system each have a dual memory storing the same data, and the main processing is performed. In a dual system having only non-duplex memory, when the system is switched, the data to be stored is reloaded into the non-duplex memory so that the standby system can use the non-duplex memory. In the heavy system switching method, a flag corresponding to the non-duplex memory and having a flag which is turned on when writing data to the non-duplex memory, is provided in the processing system C.
A means for calculating the error check code or the error correction code based on the data of the non-duplex memory corresponding to the flag which is turned on in a certain period based on the idle time of the PU or the clock of the CPU; , The idle time or the fixed period,
Means for storing the calculated error check code or error correction code in the non-duplexed memory and turning off the flag after storage, and when switching from the processing system to the standby system The standby system includes means for determining whether to reload the data to the non-duplex memory according to the status of the flag, and immediately when the determination is made not to reload the data to the non-duplication memory. Since the system switching has been completed, it is possible to calculate and store the error check code or the error correction code without deteriorating the processing capability of the processing system, and to complete the system switching. It has the effect of shortening the time until.
【図1】本発明の第1ないし第3の実施例による非2重
化メモリを有する2重系システムを示すブロック図。FIG. 1 is a block diagram showing a dual system having a non-duplex memory according to first to third embodiments of the present invention.
【図2】本発明の第4の実施例による非2重化メモリを
有する2重系システムを示すブロック図。FIG. 2 is a block diagram showing a dual system having a non-duplexed memory according to a fourth embodiment of the present invention.
【図3】本発明の第5ないし第7の実施例による非2重
化メモリを有する2重系システムを示すブロック図。FIG. 3 is a block diagram showing a dual system having a non-duplex memory according to fifth to seventh embodiments of the present invention.
【図4】本発明の第8および第9の実施例による非2重
化メモリを有する2重系システムを示すブロック図。FIG. 4 is a block diagram showing a dual system having a non-duplexed memory according to eighth and ninth embodiments of the present invention.
【図5】従来の2重系システムを示すブロック図。FIG. 5 is a block diagram showing a conventional dual system.
【図6】従来の2重系システム切替時の所要時間を示す
図。FIG. 6 is a diagram showing a time required for switching a conventional dual system.
【図7】本発明の第1の実施例による2重系システム切
替時の所要時間を示す図。FIG. 7 is a diagram showing a time required for switching the dual system according to the first embodiment of the present invention.
1 CPU 2 メモリ 3 共通バス 4 PCU 5 CPU 6 メモリ 7 共通バス 8 PCU 9a ローカルバス 9b バス 10 処理系メインカード 11 予備系メインカード 12a〜12n サブカード 13 共通バス 14a〜14n 非2重化メモリ 15a〜15n エラーチェックコード領域 16a〜16n 誤り訂正符号領域 17a〜17n フラグ 1 CPU 2 Memory 3 Common Bus 4 PCU 5 CPU 6 Memory 7 Common Bus 8 PCU 9a Local Bus 9b Bus 10 Processing Main Card 11 Spare Main Card 12a to 12n Sub Card 13 Common Bus 14a to 14n Non-Duplicate Memory 15a -15n Error check code area 16a-16n Error correction code area 17a-17n Flag
Claims (10)
れぞれ同一データを記憶している2重化メモリを有し、
主たる処理を行っているシステムのみが非2重化メモリ
を有する2重系システムにおいて、そのシステム切替時
に、予備系システムが上記非2重化メモリを使用できる
よう、該非2重化メモリへその記憶すべきデータをリロ
ードする2重系システム切替方法において、 上記非2重化メモリにデータを書き込む度に、そのデー
タに基づいてエラーチェックコードを算出する手段と、 上記算出したエラーチェックコードを、上記非2重化メ
モリに記憶させる手段と、 上記処理系システムから上記予備系システムへの切替え
時に、上記予備系システムが、上記非2重化メモリに記
憶されているデータに基づいてエラーチェックコードを
算出し、この算出したエラーチェックコードと上記記憶
していたエラーチェックコードとを比較する手段と、 その比較結果により、上記非2重化メモリへデータをリ
ロードするか否かを判断する手段とを備え、 上記非2重化メモリへデータをリロードしない判断をし
た場合、直ちにシステムの切替えを完了させることを特
徴とする2重系システム切替方法。1. A processing system and a standby system each have a dual memory storing the same data,
In a dual system in which only the system performing the main processing has a non-duplex memory, the non-duplex memory is stored in the non-duplex memory so that the standby system can use the non-duplex memory when the system is switched. In the dual system switching method for reloading data to be rewritten, a means for calculating an error check code based on the data each time the data is written in the non-duplex memory, and the calculated error check code Means for storing in the non-duplex memory, and at the time of switching from the processing system to the standby system, the standby system outputs an error check code based on the data stored in the non-duplex memory. A means for calculating and comparing the calculated error check code with the stored error check code; And a means for determining whether or not to reload the data into the non-duplicated memory according to the comparison result of 1., and when it is determined not to reload the data into the non-duplicated memory, the system switching is immediately completed. A double system switching method characterized by the above.
法において、 上記エラーチェックコードとして、パリティチェックコ
ードを用いることを特徴とする2重系システム切替方
法。2. The dual system switching method according to claim 1, wherein a parity check code is used as the error check code.
法において、 上記エラーチェックコードとして、サムチェックコード
を用いることを特徴とする2重系システム切替方法。3. The dual system switching method according to claim 1, wherein a sum check code is used as the error check code.
法において、 上記エラーチェックコードとして、CRC(Cycle Redu
ndancy Check) コードを用いることを特徴とする2重系
システム切替方法。4. The dual system switching method according to claim 1, wherein CRC (Cycle Redu) is used as the error check code.
ndancy Check) code is used for the dual system switching method.
れぞれ同一データを記憶している2重化メモリを有し、
主たる処理を行っているシステムのみが非2重化メモリ
を有する2重系システムにおいて、そのシステム切替時
に、予備系システムが上記非2重化メモリを使用できる
よう、該非2重化メモリへその記憶すべきデータをリロ
ードする2重系システム切替方法において、 上記非2重化メモリにデータを書き込む度に、そのデー
タに基づいて誤り訂正符号を算出する手段と、 上記算出した誤り訂正符号を、上記非2重化メモリに記
憶する手段とを有し、 上記処理系システムから上記予備系システムへの切替え
時に、上記予備系システムが、上記非2重化メモリに記
憶されている誤り訂正符号を用いて上記非2重化メモリ
のデータの誤りを訂正する手段を備え、 上記非2重化メモリへデータをリロードせずにシステム
の切替えを完了させることを特徴とする2重系システム
切替方法。5. The processing system and the standby system each have a dual memory storing the same data,
In a dual system in which only the system performing the main processing has a non-duplex memory, the non-duplex memory is stored in the non-duplex memory so that the standby system can use the non-duplex memory when the system is switched. In the dual system switching method of reloading data to be rewritten, a means for calculating an error correction code based on the data each time the data is written in the non-duplex memory, and the calculated error correction code Means for storing in the non-duplex memory, and the standby system uses the error correction code stored in the non-duplex memory when switching from the processing system to the standby system. A means for correcting an error in the data of the non-duplex memory, and completing the system switching without reloading the data to the non-duplex memory. Characteristic dual system switching method.
方法において、 上記誤り訂正符号として、BCH(Bose-Chaudhuri-hocq
enghen) 符号を用いることを特徴とする2重系システム
切替方法。6. The method for switching a dual system according to claim 5, wherein the error correction code is BCH (Bose-Chaudhuri-hocq).
enghen) code is used for the dual system switching method.
法おいて、 上記誤り訂正符号として、リードソロモンを用いること
を特徴とする2重系システム切替方法。7. The dual system switching method according to claim 5, wherein Reed Solomon is used as the error correction code.
れぞれ同一データを記憶している2重化メモリを有し、
主たる処理を行っているシステムのみが非2重化メモリ
を有する2重系システムにおいて、そのシステム切替時
に、予備系システムが上記非2重化メモリを使用できる
よう、該非2重化メモリへその記憶すべきデータをリロ
ードする2重系システム切替方法において、 上記非2重化メモリに対応し、該非2重化メモリへのデ
ータ書込み時に、オンとなるフラグと、 上記オンとなっているフラグに該当する非2重化メモリ
のデータに基づいてエラーチェックコードまたは誤り訂
正符号を算出する手段と、 上記算出したエラーチェックコードまたは誤り訂正符号
を上記非2重化メモリに記憶し、記憶後に当該フラグを
オフにする手段を有し、 上記処理系システムから上記予備系システムへの切替え
時に、上記予備系システムが、上記フラグの状況に応じ
て上記非2重化メモリへデータをリロードするか否かを
判断する手段を備え、 上記非2重化メモリへデータをリロードしない判断をし
た場合、即座にシステムの切替えを完了させることを特
徴とする2重系システム切替方法。8. The processing system and the standby system each have a dual memory storing the same data,
In a dual system in which only the system performing the main processing has a non-duplex memory, the non-duplex memory is stored in the non-duplex memory so that the standby system can use the non-duplex memory when the system is switched. In a dual system switching method for reloading data to be stored, the flag corresponds to the non-duplex memory and is turned on when writing data to the non-duplex memory, and corresponds to the flag turned on. Means for calculating an error check code or error correction code based on the data of the non-duplex memory, and storing the calculated error check code or error correction code in the non-duplex memory, and storing the flag after storage. When the processing system is switched to the standby system, the standby system has a means for turning it off. A means for judging whether or not to reload the data to the non-duplex memory is provided according to the situation, and when it is judged not to reload the data to the non-duplex memory, the system switching is immediately completed. A double system switching method characterized by the following.
法において、 上記エラーチェックコードまたは上記誤り訂正符号の算
出と上記非2重化メモリへの記憶とは、上記処理系シス
テムのCPUのアイドル時間に行われることを特徴とす
る2重系システム切替方法。9. The dual system switching method according to claim 8, wherein the calculation of the error check code or the error correction code and the storage in the non-duplex memory are performed by a CPU of the processing system. A dual system switching method characterized by being performed during idle time.
方法において、 上記エラーチェックコードまたは上記誤り訂正符号の算
出と上記非2重化メモリへの記憶とは、上記処理系シス
テムのCPUのクロックに基づいた一定の周期で行われ
ることを特徴とする2重系システム切替方法。10. The dual system switching method according to claim 8, wherein the calculation of the error check code or the error correction code and the storage in the non-duplex memory are performed by a CPU of the processing system. A dual system switching method characterized by being performed at a constant cycle based on a clock.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5143192A JPH076050A (en) | 1993-06-15 | 1993-06-15 | Double system switching method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5143192A JPH076050A (en) | 1993-06-15 | 1993-06-15 | Double system switching method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH076050A true JPH076050A (en) | 1995-01-10 |
Family
ID=15333012
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5143192A Pending JPH076050A (en) | 1993-06-15 | 1993-06-15 | Double system switching method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH076050A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015050711A (en) * | 2013-09-03 | 2015-03-16 | 株式会社東芝 | Multiplexed control monitoring system and control method |
| JP2021149393A (en) * | 2020-03-18 | 2021-09-27 | 株式会社エヌエスアイテクス | Processor and method for attaining redundancy for processor |
-
1993
- 1993-06-15 JP JP5143192A patent/JPH076050A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015050711A (en) * | 2013-09-03 | 2015-03-16 | 株式会社東芝 | Multiplexed control monitoring system and control method |
| JP2021149393A (en) * | 2020-03-18 | 2021-09-27 | 株式会社エヌエスアイテクス | Processor and method for attaining redundancy for processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20040143719A1 (en) | System and method for testing for memory errors in a computer system | |
| JPH08161279A (en) | Multiprocessor system | |
| EP0762282B1 (en) | Atomic update of EDC protected data | |
| US7644263B2 (en) | Storage control system and boot control system | |
| US5742851A (en) | Information processing system having function to detect fault in external bus | |
| JP3068009B2 (en) | Error correction mechanism for redundant memory | |
| US6823450B2 (en) | Mechanism for eliminating need for flash memory in software RAID | |
| JP3239935B2 (en) | Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor | |
| JPH01271856A (en) | Battery back-up memory | |
| JP2000293376A (en) | Circuit and method for switching boot program | |
| KR0152240B1 (en) | Memory data mismatch detection and recovery method | |
| JPH11259323A (en) | Architecture for management of critical data in a multi-module machine and method for implementing such type of architecture | |
| KR100431467B1 (en) | System of Duplicating between Two Processors and Managing Method thereof | |
| JP3483029B2 (en) | Fault information collection method in computer system | |
| JPS6117479Y2 (en) | ||
| JPH0546580A (en) | Reliable data update method for extended storage | |
| CN119917339A (en) | Swap mechanism repair method, device, equipment, medium and product | |
| CN121957698A (en) | Processor starting method based on dual-redundancy Flash storage architecture | |
| JPH0341538A (en) | Main storage device | |
| KR100426943B1 (en) | How to handle operating system errors in the redundant system of exchanges | |
| JPS6356751A (en) | Memory patrol control system | |
| JPH06103056A (en) | Address controller | |
| JPH07271671A (en) | Cache device | |
| JPH07287694A (en) | Multiplex processing system and memory synchronous control method | |
| JPS608962A (en) | Temporary fault detecting system of storage information |