JP4070398B2 - How to use data between multiple computers - Google Patents
How to use data between multiple computers Download PDFInfo
- Publication number
- JP4070398B2 JP4070398B2 JP2000325158A JP2000325158A JP4070398B2 JP 4070398 B2 JP4070398 B2 JP 4070398B2 JP 2000325158 A JP2000325158 A JP 2000325158A JP 2000325158 A JP2000325158 A JP 2000325158A JP 4070398 B2 JP4070398 B2 JP 4070398B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- computer
- multiplexed
- function
- cpu
- 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 - Lifetime
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、複数の計算機と計算機間を接続するネットワークからなる計算機システムにおいて、多重化計算機間のデータ利用方法に関するものである。
【0002】
【従来の技術】
複数の計算機と計算機間を接続するネットワークからなる多重化計算機システムでは、プログラムが各計算機に各々多重化して配置され、又、当該プログラムが必要とするデータも各計算機に各々多重化して配置される。
【0003】
しかし、多重化されたプログラムでは同一のプログラムであっても、プログラムが処理した結果のデータが常に同じ内容であるとは限らない。たとえば、同じ入力情報であっても処理タイミングの違いにより処理した結果が異なるといったケースは一般的である。
【0004】
このように入力データ、プログラムが同一でもプログラムが処理した結果は、必ずしも多重化された計算機間で一致しないことがあり得る。このような場合、多重化計算機が立ち上がる時にデータの複製を行い、一致化させることで対処していた。
【0005】
【発明が解決しようとする課題】
上記した従来システムによれば、多重化計算機の1つが立ち上がる時、多重化されているデータを相手計算機の同一エリアから全て複製していた。そのため多重化して配置されている相手計算機のデータに誤り、抜けがあり、データの連続性が失われた状態であっても、自計算機へはそのまま複製されてしまう問題があった。又、多重化計算機の双方が健全に立ち上っていないと、データの連続性が保証出来ない、あるいは正しいデータが誤ったデータで複製されてしまうという問題があった。
【0006】
本発明は上記課題を解決するためになされたものであり、前記多重化計算機システムを構成する場合においても、データの誤り、抜け、不連続性を防ぐ必要の高い多重化されたデータに好適であると共に、分散型計算機システム内の多重化計算機が健全に立ち上っていないと、データの連続性が保証出来ず、あるいは正しいデータが誤ったデータで複製されてしまうことを防ぐことの可能な多重化計算機間のデータの利用方法を提供することを目的としている。
【0007】
【課題を解決するための手段】
本発明の[請求項1]に係る多重化計算機間のデータの利用方法は、多重化された複数の計算機がネットワークを介して接続し、各計算機での処理情報は相互に送信し合って各計算機が利用し合う多重化計算機間のデータ利用方法において、前記多重化された各計算機は自計算機データを格納する領域と相手計算機データを格納する領域とを備えたデータファイルを夫々有し、前記多重化された各計算機が有するデータファイル内のデータ及び各計算機毎のモード情報は前記ネットワークを介して各計算機間で伝送する構成を有し、前記多重化された計算機の相手計算機データを格納するデータファイル(複製元データファイル)を有する計算機側から、対応する複製データファイルを有する相手計算機に対して複製すべきデータ内容とともに当該計算機のモード情報を併せて送信して保存すると共に、前記保存完了後は各計算機内で自計算機データファイル領域に保存された自計算機データと相手計算機データファイル領域に保存された相手計算機からの複製データとを比較して前記計算機のモード情報があらかじめ定められたモードである側の計算機処理データを採用する構成とし、かつ前記計算機のモード情報の遷移時に自計算機のデータがあれば前記自計算機内のデータを採用し、自計算機のデータが異常あるいは欠測であれば相手計算機のデータファイル内のデータを採用して利用するようにした。
【0008】
本発明の[請求項2]に係る多重化計算機間のデータの利用方法は、[請求項1]において、前記データファイルに代えてデータディスクを設けると共に、自計算機中の相手計算機データディスク領域に複製すべきデータ内容と計算機のモード情報とを格納し、自計算機内で自計算機データディスク領域内のデータと相手計算機データディスク領域内のデータとを比較することにより、前記計算機のモード情報があらかじめ定められたモードである側のデータを採用して利用するようにした。
【0009】
本発明の[請求項3]に係る多重化計算機間のデータの利用方法は、[請求項2]において、前記計算機のモード情報の遷移時に自計算機のデータディスク内にデータがあればそのデータを採用し、自計算機のデータディスク内のデータに異常あるいは欠測があれば相手計算機のデータディスク内のデータを採用して利用するようにした。
【0010】
本発明の[請求項4]に係る多重化計算機間のデータの利用方法は、[請求項1]において、前記データファイルに代えてデータ媒体を設けると共に、自計算機中の相手計算機データ媒体領域に複製すべきデータ内容と計算機のモード情報とを格納し、自計算機内で自計算機データ媒体領域内のデータと相手計算機データ媒体領域内のデータとを比較することにより、計算機のモード情報があらかじめ定められたモードである側のデータを採用して利用するようにした。
【0011】
本発明の[請求項5]に係る多重化計算機間のデータの利用方法は、[請求項4]において、前記計算機のモード情報の遷移時に自計算機のデータ媒体内にデータがあればそのデータを採用し、自計算機のデータ媒体内のデータに異常あるいは欠測があれば相手計算機のデータ媒体内のデータを採用して利用するようにした。
【0012】
本発明の[請求項6]に係る多重化計算機間のデータの利用方法は、多重化された複数の計算機がネットワークを介して接続し、各計算機での処理情報は相互に送信し合って各計算機が利用し合う多重化計算機間のデータ利用方法をコンピュータによって実現するためのプログラムを記憶した記憶媒体であって、前記多重化された各計算機は自計算機データを格納する領域機能と相手計算機データを格納する領域機能とを備えたデータファイル機能を夫々実行する機能を有し、前記多重化された各計算機が有するデータファイル内のデータ機能及び各計算機毎のモード情報機能は前記ネットワークを介して各計算機間で伝送する機能構成を実行する機能を有し、前記多重化された計算機の相手計算機データを格納するデータファイル(複製元データファイル)機能を有する計算機側から、対応する複製データファイルを有する相手計算機に対して複製すべきデータ内容機能とともに当該計算機のモード情報機能を併せて送信して保存する機能を実行する機能と共に、前記保存完了後は各計算機内で自計算機データファイル領域機能に保存された自計算機データ機能と相手計算機データファイル領域機能に保存された相手計算機からの複製データ機能とを比較して前記計算機のモード情報機能があらかじめ定められたモードである側の計算機処理データを採用して利用する機能を実行する機能とを有し、かつ前記計算機のモード情報の遷移時に自計算機のデータファイル機能内にデータがあれば前記自計算機内のデータを採用する機能を実行する手段と、自計算機のデータが異常あるいは欠測であれば相手計算機のデータファイル機能内のデータを採用して利用する機能を実行するためのプログラムを記憶したコンピュータ読み取り可能な記憶媒体である。
【0016】
【発明の実施の形態】
図1は、本発明の実施の形態である各計算機上に多重化して配置されたデータを持つ計算機システムの構成図である。ここで101Aは多重化計算機に多重化して配置された記録計算機(制御モード)であり、例えば複製元のデータを持っているもの(以下、多重化CPU−Aと称す)、102Aは多重化計算機に多重化して配置された複製元のデータを持つデータファイル(以下、データファイル−Aと称す)である。
【0017】
又、101Bは記録計算機(停止モード)であり、例えば複製データを持っているもの(以下、多重化CPU−Bと称す)、102Bは多重化計算機に多重化して配置された複製のデータを持つデータファイル(以下、データファイル−Bと称す)である。
【0018】
多重化された他方の符号は、既に説明したAに対してBを付し、互いに同一番号を付している。なお、各多重化CPUは対応するデータファイルに直接接続し、自計算機データファイル領域103AにあるCPU−A書き込みデータ11Aは、直接相手計算機データファイル領域103BのCPU−Aからの複製データ11Bとして格納され、同様に自計算機データファイル104BにあるCPU−B書き込みデータ12Bは相手計算機データファイル領域104AにCPU−Bからの複製データ12Aとして書き込まれる構成を有している。なお、10はネットワークである。
【0019】
多重化CPU−B、101Bは、一台であっても複数台であってもよい。但し、本実施の形態では多重化CPU−B,101Bは、一台であるものとして説明する。多重化CPU−A,101A、及び多重化CPU−B,101Bが立ち上がり、データファイル−A,102A、及びデータファイル−B,102Bのデータの誤り、抜け、不連続性を防止する際の処理手順を以下に説明する。
【0020】
多重化CPU−A,101Aは、計算機モードが「制御」、多重化CPU−B,101Bは、計算機モードが「停止」であった両計算機が停止し、その後に多重化CPU−A,101Aは計算機モードが「待機」、多重化CPU−B,101Bの計算機モードが「制御」になるよう両計算機を立ち上げた場合について説明する。
【0021】
多重化CPU−A,101Aはデータファイル−A,102A中のCPU−A書き込みエリア103AにCPU−A書き込みデータ11Aを書き込んで保存すると共に、CPU−B書き込みエリア104Aに対して、相手データファイル−B,102B中のCPU−B書き込みエリア104Bにある、CPU−B書き込みデータ12Bを複製してデータ12Aとして保存する。
【0022】
又、多重化CPU−B,101Bはデータファイル−B,102B中のCPU―B書き込みエリア104BにCPU−B書き込みデータ12Bを書き込んで保存すると共に、欠測しているデータファイル−B,102B中のCPU―A書き込みエリア103Bにデータファイル−A,102A中のCPU―A書き込みエリア103Aにある書き込みデータ11Aを複製してデータ11Bとして保存する。
【0023】
データ保存が完了すると多重化CPU−A,101AはCPU−A書き込みデータ11AとCPU―B書き込みデータ12Aを比較し、立ち上げ前に「制御」モードであった多重化CPU−A,101Aからのデータ11Aを正として新しい「待機」モードである多重化CPU−A,102Aのデータとして外部へ出力する。
【0024】
又、多重化CPU−B,101BはCPU−B書き込みデータ12BとCPU―A書き込みデータ11Bとを比較し、立ち上げ前に「制御」モードであった多重化CPU−A,101Aからのデータ11Bを正として新しい「制御」モードである多重化CPU−B,102Bのデータとして外部へ出力する。
【0025】
あるいはデータ保存が完了すると多重化CPU−A,101AはCPU−A書き込みデータ11AとCPU―B書き込みデータ12Aとを比較し、欠測していない多重化CPU−A,101Aからのデータ11Aを正として多重化CPU−A,102Aのデータとして外部へ出力する。
【0026】
又、多重化CPU−B.102BはCPU−B書き込みデータ12BとCPU―A書き込みデータ11Bとを例えばdiffコマンドでキャラクター毎に比較し、CPU−Aしか測定できていない多重化CPU−A,101Aからのデータ11Bを正として多重化CPU−B,102Bのデータとして外部へ出力する。
【0027】
本実施の形態によれば、前記多重化計算機システムを構成する場合においても、データの誤り、抜け、不連続性を防ぐ必要の高い多重化されたデータに好適である。又、多重化計算機の双方が健全に立ち上っていないと、データの連続性が保証出来ない、あるいは正しいデータが誤ったデータで複製されてしまうことを防ぐ多重化計算機間のデータの利用方法を実現することが可能となる。
【0028】
次に図2を用いてCPU停止によるデータ欠測や一時的な参照不可の時間帯の発生例を示す。図2は時間tに対し、多重化CPU−A,101A、多重化CPU−B,101Bの計算機モード遷移状態を表わしたものである。当初多重化CPU−A,101Aの計算機モードが「制御」、多重化CPU−B,101Bの計算機モードが「停止」であった後、多重化CPU−A,101Aが「停止」になったため、時間t1を経過して多重化CPU−B,101Bが「制御」にモード遷移し、更に時間t2を経過して多重化CPU−A,101Aが「待機」になり以降時間t3の間状態が継続するものとする。
【0029】
図のt1の時間帯は多重化CPU−A,101A、多重化CPU−B,101B両方共停止しているため、本方式によらずデータ欠落は避けられない。t2の時間帯は多重化CPU−A,101Aで収集したデータが参照不可となるが、制御/待機運転状態t3に戻ると参照できるようになり、システムとしての運用上には大きな問題とはならない。即ち、t3の時間帯はデータが正常に参照できる状態となる。
【0030】
図3は、本発明の他の実施形態を示す構成図である。図3において、図1と同一機能部分については同一符号を付して説明を省略する。本実施の形態では自計算機データファイル領域と相手計算機データファイル領域に対して、データの誤り、抜け、不連続性の防止を行うためのデータファイル及びモード情報の伝送を、計算機同志を接続するネットワークを利用して行うようにしたものである。その他の構成は図1を同様である。
【0031】
多重化CPU−A,101A及び多重化CPU−B,101Bが立ち上がり、データファイル−A,102A及びデータファイル−B,102Bのデータの誤り、抜け、不連続性を防止する際の処理手順の内で、図1との差異部分のみを、以下に説明する。多重化CPU−A,101Aは計算機モードが「制御」、多重化CPU−B,101Bの計算機モードが「停止」であった両計算機が停止し、その後に多重化CPU−A,101Aは計算機モードが「待機」、多重化CPU−B,101Bの計算機モードが「制御」になるよう両計算機を立ち上げた場合について説明する。
【0032】
多重化CPU−A,101Aはデータファイル−A,102A中のCPU−A書き込みエリア103AにCPU−A書き込みデータ11Aを書き込み保存すると共に、ネットワーク10を経由してCPU−A書き込みエリア104Aに対しデータファイル−B,102B中のCPU−B書き込みエリア104Bにある、CPU−B書き込みデータ12Bを複製しデータ12Aとして保存する。
【0033】
又、多重化CPU−B,101Bはデータファイル−B,102B中のCPU−B書き込みエリア104BにCPU−B書き込みデータ12Bを書き込んで保存すると共に、ネットワーク10を経由してデータファイル−B,102B中のCPU−A書き込みエリア103Bにデータファイル−A,102A中のCPU−A書き込みエリア103Aにある、CPU−A書き込みデータ11Aを複製しデータ11Bとして保存する。他の作用は図1と同様である。
【0034】
本実施の形態によれば、前記多重化計算機システムを構成する場合においても、データの誤り、抜け、不連続性を防ぐ必要の高い多重化されたデータに好適である。又、多重化計算機の双方が健全に立ち上っていないと、データの連続性が保証出来ない、あるいは正しいデータが誤ったデータで複製されてしまうことを防ぐ多重化計算機間のデータの利用方法を実現することが可能となる。
【0035】
図4は、本発明の更に他の実施形態を示す構成図である。図4において、図1と同一機能部分については同一符号を付して説明を省略する。本実施の形態では各多重化計算機において、データディスクを用いるようにしたものである。
【0036】
図4において、101Aは、記録計算機(制御モード)のような複製元のデータを持つ計算機(以下、多重化CPU−Aと称す)、102A−1は複製元のデータを持つデータディスク(以下、データディスク−Aと称す)である。又、101Bは記録計算機(停止モード)のような複製データを持つ計算機(以下、多重化CPU−Bと称す)、102B−1は多重化計算機に多重化して配置された複製のデータを持つデータディスク(以下、データディスク−Bと称す)である。
【0037】
又、103Aは、データディスク−A中の自計算機データディスク領域(以下、データディスク−A中のCPU−A書き込みエリアと称す)、104Aは、データディスク−A中の相手計算機データディスク領域(以下、データディスク−A中のCPU−B書き込みエリアと称す)、103Bは、データディスク−B中の相手計算機データディスク領域(以下、データディスク−B中のCPU−A書き込みエリアと称す)、又、104Bは、データディスク−B中の自計算機データディスク領域(以下、データディスク−B中のCPU−B書き込みエリアと称す)である。
【0038】
多重化CPU−B,101Bは、一台であっても複数台であってもよい。但し、本実施の形態では多重化CPU−B,101Bは、一台であるものとして説明する。多重化CPU−A,101A、及び多重化CPU−B,101Bが立ち上がり、データディスク−A,102A−1、及びデータディスク−B,102B−1のデータの誤り、抜け、不連続性を防止する際の処理手順を図1との差異部分についてのみ以下に説明する。
【0039】
多重化CPU−A,101Aは計算機モードが「制御」、多重化CPU−B,101Bの計算機モードが「停止」であった両計算機が停止し、その後に多重化CPU−A,101Aは計算機モードが「待機」、多重化CPU−B,101Bの計算機モードが「制御」になるよう両計算機を立ち上げた場合について説明する。
【0040】
多重化CPU−A,101Aはデータディスク−A102A−1中のCPU−A書き込みエリア103AにCPU−A書き込みデータ11Aを書き込み保存すると共に、CPU−B書き込みエリア104Aに対しデータディスクB,102B−1中のCPU−B書き込みエリア104Bにある、CPU−B書き込みデータ12Bを複製しデータ12Aとして保存する。
【0041】
又、多重化CPU−B,101Bはデータディスク−B,102B−1中のCPU−B書き込みエリア104BにCPU−B書き込みデータ12Bを書き込み保存すると共に、データディスク−B,102B−1中のCPU−A書き込みエリア103Aにデータディスク−A,102A−1中のCPU−A書き込みエリア103Aにある、CPU−A書き込みデータ11Aを複製しデータ11Bとして保存する。
【0042】
データ保存が完了すると多重化CPU−A.101AはCPU−A書き込みデータ11A及びCPU−B書き込みデータ12Aを例えばdiffコマンドでキャラクター毎に比較し、立ち上げ前に「制御」モードであった多重化CPU−A,101Aからのデータ11Aを正として新しい「待機」モードである多重化CPU−A,101Aのデータとして外部へ出力する。
【0043】
又、多重化CPU−B,101BはCPU−B書き込みデータ12B及びCPU−A書き込みデータ11Bを比較し、立ち上げ前に「制御」モードであった多重化CPU−A,101Aからのデータ11Bを正として新しい「制御」モードである多重化CPU−B,101Bのデータとして外部へ出力する。
【0044】
あるいはデータ保存が完了したら多重化CPU−A,101AはCPU−A書き込みデータ11A及びCPU−B書き込みデータ12Aを比較し、欠測していない多重化CPU−A,101Aからのデータ11Aを正として多重化CPU−A,101Aからのデータ11Aを正として外部へ出力する。
【0045】
又、多重化CPU−B,101BはCPU−B書き込みデータ12B及びCPU−A書き込みデータ11Bを比較し、欠測していない多重化CPU−A,101Aからのデータ11Bを正として多重化CPU−B,101Bのデータを正として外部へ出力する。
【0046】
本実施の形態によれば、前記多重化計算機システムを構成する場合においても、データの誤り、抜け、不連続性を防ぐ必要の高い多重化されたデータに好適である。又、多重化計算機の双方が健全に立ち上っていないと、データの連続性が保証出来ない、あるいは正しいデータが誤ったデータで複製されてしまうことを防ぐ多重化計算機間のデータの利用方法を実現することが可能となる。
【0047】
図5は、本発明の更に他の実施の形態を示す構成図である。図5において、図1と同一機能部分については同一符号を付して説明を省略する。本実施の形態では図1のデータファイルに代えてデータ媒体を用いるようにしたものであり、その他の構成は図1と同様である。
【0048】
図5は、102Aー2は、複製元のデータを持つデータ媒体(以下、データ媒体−Aと称す)であり、又、102B−2は多重化計算機に多重化して配置された複製のデータを持つデータ媒体(以下、データ媒体−Bと称す)である。
【0049】
又、103Aは、データ媒体−A中の自計算機データ媒体領域(以下、データ媒体−A中のCPU−A書き込みエリアと称す)、104Aは、データ媒体−A中の相手計算機データ媒体領域(以下、データ媒体−A中のCPU−B書き込みエリアと称す)、103Bは、データ媒体−B中の相手計算機データ媒体領域(以下、データ媒体−B中のCPU−A書き込みエリアと称す)、又、104Bは、データ媒体−B中の自計算機データ媒体領域(以下、データ媒体−B中のCPU−B書き込みエリアと称す)である。
【0050】
多重化CPU−B,101Bは、一台であっても複数台であってもよい。但し、本実施例では多重化CPU−B,101Bは、一台であるものとして説明する。多重化CPU−A,101A及び多重化CPU−B,101Bが立ち上がり、データ媒体−A,102A−2、及びデータ媒体―B,102B−2のデータの誤り、抜け、不連続性を防止する際の処理手順を以下に説明する。
【0051】
多重化CPU−A,101Aは計算機モードが「制御」、多重化CPU−B,101Bの計算機モードが「停止」であった両計算機が停止し、その後に多重化CPU−A,101Aは計算機モードが「待機」、多重化CPU−B,101Bの計算機モードが「制御」になるよう両計算機を立ち上げた場合について説明する。
【0052】
多重化CPU−A,101Aはデータ媒体―A,102A−2中のCPU−A書き込みエリア103AにCPU−A書き込みデータ11Aを書き込んで保存すると共に、CPU−B書き込みエリア104Bに対しデータ媒体―B,102B−2中のCPU−B書き込みエリア104Bにある、CPU−B書き込みデータ12Bを複製しデータ12Aとして保存する。
【0053】
又、多重化CPU−B,101Bはデータ媒体―B,102B−2中のCPU−B書き込みエリア104Bに対してCPU−B書き込みデータ12Bを書き込み保存すると共に、データ媒体―B,102B−2中のCPU−A書き込みエリア103Bに対して、データ媒体−A,102A−2中のCPU−A書き込みエリア103Bに対してデータ媒体A,102A−2中のCPU−A書き込みエリア103AにあるCPU−A書き込みデータ11Aを複製しデータ11Bとして保存する。
【0054】
データ保存が完了すると多重化CPU−A,101AはCPU−A書き込みデータ11A及びCPU−B書き込みデータ12Aを例えばdiffコマンドでキャラクター毎に比較し、立ち上げ前に「制御」モードであった多重化CPU−A,101Aからのデータ11Aを正として新しい「待機」モードである多重化CPU−A,101Aのデータとして外部へ出力する。
【0055】
又、多重化CPU−B,101BはCPU−B書き込みデータ12B及びCPU−A書き込みデータ11Bを比較し、立ち上げ前に「制御」モードであった多重化CPU−A,101Aからのデータ11Bを正として新しい「制御」モードである多重化CPU−B,101Bのデータとして外部へ出力する。
【0056】
あるいはデータ保存が完了すると多重化CPU−A,101AはCPU−A書き込みデータ11A及びCPU−B書き込みデータ12Aを比較し、欠測していない多重化CPU−A,101Aからのデータ11Aを正として多重化CPU−A,101Aのデータとして外部へ出力する。
【0057】
又、多重化CPU−B,101BはCPU−B書き込みデータ12B及びCPU−A書き込みデータ11Bを比較し、欠測していない多重化CPU−A,101Aからのデータ11Bを正として多重化CPU−B,101Bのデータとして外部へ出力する。
【0058】
本実施の形態によれば、前記多重化計算機システムを構成する場合においても、データの誤り、抜け、不連続性を防ぐ必要の高い多重化されたデータに好適である。又、多重化計算機の双方が健全に立ち上っていないと、データの連続性が保証出来ない、あるいは正しいデータが誤ったデータで複製されてしまうことを防ぐ多重化計算機間のデータの利用方法を実現することが可能となる。
【0059】
上記した各説明において記載した手法は、コンピュータに実行させることのできるプログラムとして、例えば磁気ディスク、光ディスク、半導体メモリなどの記憶媒体に書き込んで、各種装置に適用することも可能である。また、これらを実現するには、記憶媒体に記憶されたプログラムを読み込み、このプログラムによって動作が制御されることにより、上述した処理を実行する。
【0060】
【発明の効果】
以上説明したように、本発明によれば、前記多重化計算機システムを構成する場合においても、データの誤り、抜け、不連続性を防ぐ必要の高い多重化されたデータに好適である。又、多重化計算機の双方が健全に立ち上っていないと、データの連続性が保証出来ない、あるいは正しいデータが誤ったデータで複製されてしまうことを防ぐ多重化計算機間のデータの利用方法を実現することが可能となる。
【図面の簡単な説明】
【図1】本発明の第1、第2の実施の形態を示す構成図。
【図2】本発明の実施による運転状態についての動作を説明するタイムチャート。
【図3】本発明の第3、第4の実施の形態を示す構成図。
【図4】本発明の第5、第6の実施の形態を示す構成図。
【図5】本発明の第7、第8の実施の形態を示す構成図。
【符号の説明】
101A 多重化CPU−A
101B 多重化CPU−B
102A データファイル−A
102B データファイル−B
103A CPU−A書き込みエリア
103B CPU−A書き込みエリア
104A CPU−B書き込みエリア
104B CPU−B書き込みエリア
11A CPU−A書き込みデータ
11B CPU−A書き込みデータ(複製)
12A CPU−A書き込みデータ(複製)
12B CPU−B書き込みデータ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method of using data between multiple computers in a computer system comprising a network connecting a plurality of computers and computers.
[0002]
[Prior art]
In a multiplexed computer system comprising a network connecting a plurality of computers and computers, programs are multiplexed and arranged on each computer, and the data required by the program is also multiplexed and allocated on each computer. .
[0003]
However, even if the multiplexed program is the same program, the data processed by the program does not always have the same content. For example, even when the same input information is used, it is common to have different processing results due to differences in processing timing.
[0004]
As described above, even if the input data and the program are the same, the result of processing by the program may not necessarily match between the multiplexed computers. In such a case, when the multiplexed computer starts up, the data is duplicated and matched.
[0005]
[Problems to be solved by the invention]
According to the above-described conventional system, when one of the multiplexed computers starts up, all the multiplexed data is copied from the same area of the counterpart computer. For this reason, there is a problem that even if the data of the partner computer arranged in a multiplexed manner has errors or omissions and the continuity of the data is lost, it is copied to the own computer as it is. Further, if both of the multiplexing computers are not standing up properly, there is a problem that the continuity of data cannot be guaranteed or correct data is duplicated with wrong data.
[0006]
The present invention has been made to solve the above-described problems, and is suitable for multiplexed data that is highly necessary to prevent data errors, omissions, and discontinuities even when the multiplexing computer system is configured. is there And in the distributed computer system Data continuity can be guaranteed if the multiplex computer is not healthy. Z Or prevent correct data from being duplicated with incorrect data Possible The object is to provide a method of using data between multiple computers.
[0007]
[Means for Solving the Problems]
According to the first aspect of the present invention, there is provided a method of using data between multiplexed computers, in which a plurality of multiplexed computers are connected via a network. of processing Information In a data utilization method between multiplexed computers that are transmitted to each other and used by each computer, each of the multiplexed computers stores an area for storing its own computer data and an area for storing partner computer data. When A data file with Respectively Have The data in the data file of each multiplexed computer and the mode information for each computer have a configuration to be transmitted between the computers via the network, A computer having a data file (replication source data file) for storing partner computer data of the multiplexed computer ~ side From Corresponding Have duplicate data files Opponent Along with the data content to be copied to the computer Concerned Send the computer mode information together and save it. each Local computer data file area in the computer Computer data stored in And partner computer data file area Replicated data stored on the other computer Compare with the calculator of Mode information is a predetermined mode ~ side of Computer processing data Adopt If there is data of the own computer at the time of transition of the mode information of the computer, the data in the own computer is adopted, and if the data of the own computer is abnormal or missing, the data in the data file of the counterpart computer Adopt and use I did it.
[0008]
Claims of the
[0009]
Claims of the
[0010]
Claims of the present invention 4 The method of using data between multiple computers according to
[0011]
Claims of the present invention 5 The method of using data between multiple computers according to
[0012]
Claims of the present invention 6 The method of using data between multiple computers related to A program for realizing, by a computer, a data utilization method between multiplexed computers, in which a plurality of multiplexed computers are connected via a network, and processing information in each computer is transmitted to each other and used by each computer. Each of the multiplexed computers has a function of executing a data file function having an area function for storing own computer data and an area function for storing partner computer data, respectively. The data function in the data file of each multiplexed computer and the mode information function for each computer have a function of executing a functional configuration for transmission between the computers via the network, and the multiplexed From the computer that has the data file (replication source data file) function to store the partner computer data of the computer, Together with the data content function to be copied to the partner computer having the file and the function of executing the function of transmitting and storing the mode information function of the computer together, and after completion of the storage, the own computer data file area in each computer The computer processing on the side in which the mode information function of the computer is a predetermined mode by comparing the own computer data function stored in the function with the duplicate data function from the partner computer stored in the partner computer data file area function A function that executes a function that adopts and uses data, and executes a function that adopts data in the own computer if there is data in the data file function of the own computer at the time of transition of mode information of the computer If the data of your computer is abnormal or missing, use the data in the data file function of the partner computer Computer-readable storage medium storing a program for executing functions can use this in It is.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a configuration diagram of a computer system having data arranged in a multiplexed manner on each computer according to an embodiment of the present invention. Here, 101A is a recording computer (control mode) arranged in a multiplexed computer and has, for example, a copy source data (hereinafter referred to as multiplexed CPU-A), and 102A is a multiplexed computer. Is a data file (hereinafter referred to as data file-A) having data of the copy source arranged in a multiplexed manner.
[0017]
or, 101B Is a recording computer (stop mode), for example, one having duplicate data (hereinafter referred to as multiplexed CPU-B), 102B Is a data file (hereinafter referred to as data file-B) having duplicate data arranged in a multiplexed computer.
[0018]
In the other multiplexed code, B is added to A which has already been described, and the same numbers are assigned to each other. Each multiplexed CPU is directly connected to the corresponding data file, and the CPU-
[0019]
Multiplexing CPU-B, 101B may be one or plural. However, in the present embodiment, the description will be made assuming that the multiplexed CPU-
[0020]
Multiplex CPU-A, 101A has the computer mode “control”, multiplexed CPU-B, 101B has both computers stopped, and the multiplexed CPU-A, 101A has been stopped. A case will be described in which both computers are started up so that the computer mode is “standby” and the computer mode of the multiplexed CPU-
[0021]
The multiplexed CPUs-A and 101A write and store the CPU-
[0022]
Further, the multiplexed CPU-
[0023]
When the data storage is completed, the multiplexed CPU-A, 101A compares the CPU-
[0024]
Further, the multiplexed CPU-B, 101B compares the CPU-
[0025]
Alternatively, when the data storage is completed, the multiplexed CPU-
[0026]
Multiplexing CPU-B. 102B compares the CPU-
[0027]
According to the present embodiment, even in the case of configuring the multiplexing computer system, it is suitable for multiplexed data that needs to prevent data errors, omissions, and discontinuities. In addition, if both multiplex computers are not standing up properly, data continuity cannot be guaranteed or correct data is prevented from being duplicated by incorrect data. It becomes possible to do.
[0028]
Next, FIG. 2 shows an example of occurrence of data missing due to CPU stop and a time zone in which reference cannot be made temporarily. FIG. 2 shows the computer mode transition state of the multiplexed CPU-A, 101A and the multiplexed CPU-B, 101B with respect to time t. Since the computer mode of the multiplexed CPU-
[0029]
Since both the multiplexed CPUs-A and 101A and the multiplexed CPUs-B and 101B are stopped during the time period t1 in the figure, data loss is unavoidable regardless of this method. Although the data collected by the multiplexed CPU-
[0030]
FIG. 3 is a block diagram showing another embodiment of the present invention. In FIG. 3, the same functional parts as those in FIG. In this embodiment, a network that connects computers to transmit data files and mode information for preventing data errors, omissions, and discontinuities between the own computer data file area and the partner computer data file area. This is done using. Other configurations are the same as those in FIG.
[0031]
Among the processing procedures when the multiplexed CPU-A, 101A and the multiplexed CPU-B, 101B are started up to prevent error, omission, and discontinuity of data in the data file-A, 102A and the data file-B, 102B Only the differences from FIG. 1 will be described below. Multiplex CPUs-A and 101A are stopped in both computers where the computer mode is "control" and the computer mode of the multiplexed CPU-B and 101B is "stopped", and then the multiplexed CPU-A and 101A are in computer mode. Is a case where both computers are started up so that “standby” is set and the computer mode of the multiplexed CPU-
[0032]
The multiplexed CPU-
[0033]
The multiplexed CPU-
[0034]
According to the present embodiment, even in the case of configuring the multiplexing computer system, it is suitable for multiplexed data that needs to prevent data errors, omissions, and discontinuities. In addition, if both multiplex computers are not standing up properly, data continuity cannot be guaranteed or correct data is prevented from being duplicated by incorrect data. It becomes possible to do.
[0035]
FIG. 4 is a block diagram showing still another embodiment of the present invention. In FIG. 4, the same functional parts as those in FIG. In this embodiment, a data disk is used in each multiplexing computer.
[0036]
In FIG. 4, 101A is a computer having copy source data (hereinafter referred to as a multiplexed CPU-A) such as a recording computer (control mode), and 102A-1 is a data disk having copy source data (hereinafter referred to as “multiplexing CPU-A”). Data disk-A).
[0037]
[0038]
Multiplexing CPU-B, 101B may be one or plural. However, in the present embodiment, the description will be made assuming that the multiplexed CPU-
[0039]
Multiplex CPUs-A and 101A are stopped in both computers where the computer mode is "control" and the computer mode of the multiplexed CPU-B and 101B is "stopped", and then the multiplexed CPU-A and 101A are in computer mode. Is a case where both computers are started up so that “standby” is set and the computer mode of the multiplexed CPU-
[0040]
Multiplexed CPU-A, 101A has CPU-A write data in CPU-
[0041]
The multiplexed CPUs-B and 101B write and store the CPU-
[0042]
When data storage is completed, the multiplexed CPU-A. 101A compares the CPU-
[0043]
Further, the multiplexed CPU-B, 101B compares the CPU-
[0044]
Alternatively, when the data storage is completed, the multiplexed CPU-
[0045]
Further, the multiplexed CPU-B and 101B compare the CPU-
[0046]
According to the present embodiment, even in the case of configuring the multiplexing computer system, it is suitable for multiplexed data that needs to prevent data errors, omissions, and discontinuities. In addition, if both multiplex computers are not standing up properly, data continuity cannot be guaranteed or correct data is prevented from being duplicated by incorrect data. It becomes possible to do.
[0047]
FIG. 5 is a block diagram showing still another embodiment of the present invention. In FIG. 5, the same functional parts as those in FIG. In this embodiment, a data medium is used in place of the data file of FIG. 1, and the other configuration is the same as that of FIG.
[0048]
In FIG. 5, 102A-2 is a data medium (hereinafter referred to as “data medium-A”) having data of the copy source, and 102B-2 is a copy of the duplicated data arranged in the multiplexing computer. Data medium (hereinafter referred to as data medium-B).
[0049]
[0050]
Multiplexing CPU-B, 101B may be one or plural. However, in this embodiment, the description will be made assuming that the multiplexing CPU-
[0051]
Multiplex CPUs-A and 101A are stopped in both computers where the computer mode is "control" and the computer mode of the multiplexed CPU-B and 101B is "stopped", and then the multiplexed CPU-A and 101A are in computer mode. Is a case where both computers are started up so that “standby” is set and the computer mode of the multiplexed CPU-
[0052]
The multiplexed CPUs-A and 101A write and store the CPU-
[0053]
The multiplexed CPU-B, 101B is a CPU-B writing area in the data medium-B, 102B-2. 104B In for CPU-
[0054]
When the data storage is completed, the multiplexed CPU-
[0055]
Further, the multiplexed CPU-B, 101B compares the CPU-
[0056]
Alternatively, when the data storage is completed, the multiplexed CPU-
[0057]
Further, the multiplexed CPU-B and 101B compare the CPU-
[0058]
According to the present embodiment, even in the case of configuring the multiplexing computer system, it is suitable for multiplexed data that needs to prevent data errors, omissions, and discontinuities. In addition, if both multiplex computers are not standing up properly, data continuity cannot be guaranteed or correct data is prevented from being duplicated by incorrect data. It becomes possible to do.
[0059]
The method described in each of the above descriptions can be applied to various apparatuses by writing it in a storage medium such as a magnetic disk, an optical disk, or a semiconductor memory as a program that can be executed by a computer. In order to realize these, the program stored in the storage medium is read, and the operation is controlled by this program, whereby the above-described processing is executed.
[0060]
【The invention's effect】
As described above, the present invention is suitable for multiplexed data that is highly required to prevent data errors, omissions, and discontinuities even when the multiplexing computer system is configured. In addition, if both multiplex computers are not standing up properly, data continuity cannot be guaranteed or correct data is prevented from being duplicated by incorrect data. It becomes possible to do.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing first and second embodiments of the present invention.
FIG. 2 is a time chart for explaining an operation in an operation state according to the embodiment of the present invention.
FIG. 3 is a configuration diagram showing third and fourth embodiments of the present invention.
FIG. 4 is a configuration diagram showing fifth and sixth embodiments of the present invention.
FIG. 5 is a configuration diagram showing seventh and eighth embodiments of the present invention.
[Explanation of symbols]
101A Multiplexing CPU-A
101B Multiplexing CPU-B
102A Data file-A
102B Data file-B
103A CPU-A writing area
103B CPU-A writing area
104A CPU-B writing area
104B CPU-B writing area
11A CPU-A write data
11B CPU-A write data (replication)
12A CPU-A write data (replication)
12B CPU-B write data
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000325158A JP4070398B2 (en) | 2000-10-25 | 2000-10-25 | How to use data between multiple computers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000325158A JP4070398B2 (en) | 2000-10-25 | 2000-10-25 | How to use data between multiple computers |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002132530A JP2002132530A (en) | 2002-05-10 |
JP4070398B2 true JP4070398B2 (en) | 2008-04-02 |
Family
ID=18802572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000325158A Expired - Lifetime JP4070398B2 (en) | 2000-10-25 | 2000-10-25 | How to use data between multiple computers |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4070398B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006259945A (en) * | 2005-03-16 | 2006-09-28 | Nec Corp | Redundant system, its configuration control method and its program |
JP5331749B2 (en) * | 2010-05-06 | 2013-10-30 | 株式会社日立製作所 | Fault tolerant computer system and data access method |
-
2000
- 2000-10-25 JP JP2000325158A patent/JP4070398B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2002132530A (en) | 2002-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6510500B2 (en) | System and method for minimizing message transactions for fault-tolerant snapshots in a dual-controller environment | |
US7444540B2 (en) | Memory mirroring apparatus and method | |
AU710907B2 (en) | Expansion of the number of drives in a raid set while maintaining integrity of migrated data | |
US6883112B2 (en) | Storage device, backup and fault tolerant redundant method and computer program code of plurality storage devices | |
US7293068B2 (en) | Method and system for storing duplicate data | |
US7130941B2 (en) | Changing-over and connecting a first path, wherein hostscontinue accessing an old disk using a second path, and the second path of the old disk to a newly connected disk via a switch | |
US7376804B2 (en) | Storage system, backup system, and backup method | |
US20050223271A1 (en) | Remote copy synchronization in disaster recovery computer systems | |
US20090254722A1 (en) | Data storage apparatus | |
WO2019107232A1 (en) | Data backup system, relay site storage, data backup method, and control program for relay site storage | |
JP3904894B2 (en) | Backup management method and storage control device used in this method | |
WO2017097233A1 (en) | Fault tolerance method for data storage load and iptv system | |
JP2001134487A (en) | Disk array device | |
US20090177916A1 (en) | Storage system, controller of storage system, control method of storage system | |
JP4070398B2 (en) | How to use data between multiple computers | |
JPH11242566A (en) | Multiplex data storage system | |
JP2006260141A (en) | Control method for storage system, storage system, storage control device, control program for storage system, and information processing system | |
JP4483876B2 (en) | Storage device control method in duplex system | |
JP5076400B2 (en) | Data processing system and information processing apparatus | |
JPH01118921A (en) | Control method for duplex disk | |
JPH10133926A (en) | Mirror disk restoring method and restoring system | |
JP3090182B2 (en) | Alternative sector registration method | |
JP2005316697A (en) | Disk array system and method for data backup | |
JPH11143757A (en) | Fault tolerant file system | |
JP2002222063A (en) | Disk array device and its data restoring method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20040119 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20040122 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20050829 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20050829 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051007 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071005 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071203 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080109 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080115 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4070398 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110125 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120125 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120125 Year of fee payment: 4 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120125 Year of fee payment: 4 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130125 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130125 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140125 Year of fee payment: 6 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313115 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |