JPH07146810A - Computer system - Google Patents

Computer system

Info

Publication number
JPH07146810A
JPH07146810A JP5238655A JP23865593A JPH07146810A JP H07146810 A JPH07146810 A JP H07146810A JP 5238655 A JP5238655 A JP 5238655A JP 23865593 A JP23865593 A JP 23865593A JP H07146810 A JPH07146810 A JP H07146810A
Authority
JP
Japan
Prior art keywords
data
computer
data file
block
transmission device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5238655A
Other languages
Japanese (ja)
Inventor
Mamoru Takeuchi
守 竹内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP5238655A priority Critical patent/JPH07146810A/en
Publication of JPH07146810A publication Critical patent/JPH07146810A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To efficiently perform the matching processing of a data file even when a transmitter with comparatively slow data transfer speed and to remarkably reduce initialization processing time when a computer whose operation is being stopped is initialized. CONSTITUTION:In a computer system in which the matching processing of the data file is performed by performing data transmission mutually via the transmitter between first and second computers 1A, 1B provided with the same data files 2A, 2B individually and connected to each other by the transmitter, the data files 2A, 2B are divided into plural blocks, respectively, and difference is detected by comparing the cyclic check codes 3A. 3B of the data files 2A, 2B at every block, and consequently, data with only blocks with difference is transmitted via the transmitter.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、同一のデータファイル
を個別に有しかつ伝送装置により互いに接続された複数
台の計算機間で、伝送装置を介してデータを伝送し合う
ことによりデータファイルの整合処理を行なう計算機シ
ステムに係り、特にデータファイルの整合処理を効率的
に行ない、停止していた計算機がイニシャライズした際
のイニシャライズ処理時間を大幅に短縮できるようにし
た計算機システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data file by transmitting data via a transmission device between a plurality of computers each having the same data file and connected to each other by a transmission device. The present invention relates to a computer system that performs a matching process, and more particularly to a computer system that efficiently performs a data file matching process and can significantly reduce the initialization process time when a stopped computer is initialized.

【0002】[0002]

【従来の技術】一般に、同一のデータファイルを個別に
有しかつ伝送装置により互いに接続された複数台の計算
機を備えて成る計算機システムにおいては、計算機個別
に有しているデータファイルの内容を、伝送装置を介し
てデータを伝送し合うことにより常に一致させる、いわ
ゆるデータファイルの整合処理(同一データの整合性確
保)を行なっている。
2. Description of the Related Art Generally, in a computer system having a plurality of computers each having the same data file and connected to each other by a transmission device, the contents of the data file which each computer has are A so-called data file matching process (consistency of the same data) is performed so that the data is always matched by being transmitted through the transmission device.

【0003】すなわち、ある1台の計算機でデータファ
イルの内容を変更した際に、この変更したデータファイ
ルのデータを伝送装置を介して他の計算機に通知し、各
計算機内のデータファイルのデータの整合性を保つよう
にしている。
That is, when the content of a data file is changed in one computer, the data of the changed data file is notified to another computer via the transmission device, and the data of the data file in each computer is changed. I try to maintain consistency.

【0004】また、ある1台の計算機でデータファイル
の内容の変更を行なった際に、停止していた計算機があ
った場合には、この停止の間に変更されたデータが、そ
の計算機に反映されないままになってしまう。そして、
この場合には、停止していた計算機がイニシャライズし
た際に、他の計算機からの最新データによって、自己の
計算機のデータファイルのデータを更新するようにして
いる。
Further, when the contents of the data file are changed by one computer, and there is a computer that is stopped, the data changed during this stop is reflected on the computer. It will be left unattended. And
In this case, when the stopped computer is initialized, the data in the data file of its own computer is updated with the latest data from another computer.

【0005】この場合、ある1台の計算機でデータファ
イルの内容の変更を行なった際に、停止していた計算機
がイニシャライズした場合、他の計算機と整合性を管理
するデータファイルの数やサイズが比較的小さい場合に
は、データファイルのデータの更新時間はそれほど大き
な問題にはならない。
In this case, when the contents of the data file are changed in one computer and the stopped computer is initialized, the number and size of data files for managing the consistency with other computers are If it is relatively small, the data update time of the data file is not a big problem.

【0006】しかしながら、整合処理が必要なデータフ
ァイルの数が多い場合やサイズが比較的大きい場合に
は、その分だけデータの伝送時間が長くなるため、デー
タファイルの整合処理に長い時間がかかり、結果とし
て、計算機のイニシャライズ処理時間が長くなってしま
う。
However, if there are a large number of data files that require matching processing or if the size is relatively large, the data transmission time will increase accordingly, and thus the matching processing of the data files will take a long time. As a result, the initialization processing time of the computer becomes long.

【0007】一方、データの伝送時間を短くするため
に、伝送装置として、比較的データ伝送速度の速い伝送
装置を使用することが考えられるが、この場合には、そ
の分だけ計算機システムが高価なものとなってしまう。
On the other hand, in order to shorten the data transmission time, it is possible to use a transmission device having a relatively high data transmission rate as a transmission device. In this case, however, the computer system is expensive accordingly. It becomes a thing.

【0008】[0008]

【発明が解決しようとする課題】以上のように、従来の
計算機システムにおいては、データファイルの整合処理
に長い時間がかかることから、停止していた計算機がイ
ニシャライズした際のイニシャライズ処理時間が長くな
るという問題があった。
As described above, in the conventional computer system, since it takes a long time to perform the data file matching processing, the initialization processing time becomes long when the stopped computer is initialized. There was a problem.

【0009】本発明の目的は、比較的データ伝送速度の
遅い伝送装置を使用してもデータファイルの整合処理を
効率的に行なうことができ、停止していた計算機がイニ
シャライズした際のイニシャライズ処理時間を大幅に短
縮することが可能な極めて信頼性の高い計算機システム
を提供することにある。
An object of the present invention is to efficiently perform data file matching processing even when a transmission device having a relatively low data transmission rate is used, and the initialization processing time when the stopped computer is initialized. It is to provide an extremely reliable computer system capable of significantly reducing the cost.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
めに本発明では、同一のデータファイルを個別に有しか
つ伝送装置により互いに接続された第1および第2の計
算機間で、伝送装置を介してデータを伝送し合うことに
よりデータファイルの整合処理を行なう計算機システム
において、各データファイルを複数のブロックにそれぞ
れ分割し、第2の計算機がイニシャライズした時に、当
該第2の計算機内のデータファイルのブロック毎のサイ
クリックチェックコードを作成し、かつ当該サイクリッ
クチェックコードを第1の計算機へ伝送装置を介して伝
送する手段と、第1の計算機内のデータファイルのブロ
ック毎のサイクリックチェックコードを作成する手段
と、第1の計算機で作成されたサイクリックチェックコ
ードのデータと、第2の計算機より伝送されたサイクリ
ックチェックコードのデータとを、ブロック毎に順に比
較する手段と、上記比較の結果、サイクリックチェック
コードのデータに差異が検出された場合には、第1の計
算機のデータファイルの該当ブロックのデータを第2の
計算機へ伝送装置を介して伝送する手段と、第1の計算
機より伝送されたブロックデータに基づいて、第2の計
算機のデータファイルの該当ブロックのデータを更新す
る手段とを備えて構成している。
In order to achieve the above object, according to the present invention, a transmission device is provided between a first computer and a second computer that individually have the same data file and are connected to each other by the transmission device. In a computer system that performs data file matching processing by transmitting data through each other, each data file is divided into a plurality of blocks, and when the second computer initializes the data in the second computer, A means for creating a cyclic check code for each block of the file and transmitting the cyclic check code to the first computer through a transmission device, and a cyclic check for each block of the data file in the first computer A means for creating a code, data of the cyclic check code created by the first computer, and Means for comparing the cyclic check code data transmitted from the computer in sequence for each block, and when a difference is detected in the cyclic check code data as a result of the comparison, the first computer Based on the means for transmitting the data of the corresponding block of the data file to the second computer via the transmission device, and the data of the corresponding block of the data file of the second computer based on the block data transmitted from the first computer. And means for updating.

【0011】[0011]

【作用】従って、本発明の計算機システムにおいては、
第1および第2の計算機の各データファイルの整合処理
を行なう際に、データファイルのデータ全てを伝送装置
を介して伝送するのではなく、データの整合を行なおう
とする各データファイルを複数のブロックにそれぞれ分
割し、この各データファイルのブロック毎のサイクリッ
クチェックコードを比較することによってその差異を検
出し、その結果差異のある場合には、データファイルの
該当ブロックのデータのみを伝送装置を介して伝送する
ことにより、データの等値性の高いデータファイルの場
合ほど、不必要なデータの伝送が発生しないため、デー
タファイルの整合処理のための時間を大幅に短縮するこ
とが可能となり、これにより、停止していた計算機(第
2の計算機)がイニシャライズした際のイニシャライズ
処理時間を大幅に短縮することができる。
Therefore, in the computer system of the present invention,
When performing the matching process of each data file of the first and second computers, instead of transmitting all the data of the data file through the transmission device, each data file for which data matching is attempted is performed by a plurality of data files. Divide into blocks and detect the difference by comparing the cyclic check codes for each block of each data file.If there is a difference as a result, only the data of the corresponding block of the data file is transferred to the transmission device. By transmitting via data, unnecessary data transmission does not occur as much as in the case of a data file with high data equality, so it is possible to significantly reduce the time for data file matching processing, This significantly increases the initialization processing time when the stopped computer (second computer) is initialized. It is possible to shrinkage.

【0012】[0012]

【実施例】本発明では、データファイルのデータ全てを
伝送装置を介して伝送するのではなく、データの整合を
行なおうとする各データファイルを複数のブロックにそ
れぞれ分割し、この各データファイルのブロック毎のサ
イクリックチェックコード(以下、CRCと称する)を
比較することによってその差異を検出し、その結果差異
のあるブロックのみのデータを、伝送装置を介して伝送
するものである。
BEST MODE FOR CARRYING OUT THE INVENTION In the present invention, not all the data in a data file is transmitted through a transmission device, but each data file for which data matching is to be performed is divided into a plurality of blocks, and each data file The difference is detected by comparing cyclic check codes (hereinafter referred to as CRC) for each block, and as a result, data of only the block having the difference is transmitted through the transmission device.

【0013】これにより、データの等値性の高いデータ
ファイルの場合ほど、不必要なデータ伝送が発生せず、
データファイルの整合処理のための時間の大幅な短縮化
を図るものである。
As a result, unnecessary data transmission does not occur as much as in the case of a data file having a high data equality,
The time required for the data file matching process is greatly shortened.

【0014】以下、上記のような考え方に基づく本発明
の一実施例について、図面を参照して詳細に説明する。
図1は、本発明による計算機システムの全体構成例を示
すブロック図である。なお、ここでは、計算機システム
として、2台の計算機を備えて成る計算機システムの場
合を例として述べる。
An embodiment of the present invention based on the above concept will be described below in detail with reference to the drawings.
FIG. 1 is a block diagram showing an example of the overall configuration of a computer system according to the present invention. It should be noted that, here, as the computer system, a case of a computer system including two computers will be described as an example.

【0015】図1において、第1の計算機1Aおよび第
2の計算機1Bは、データの内容が同じ値になるべき同
一のデータファイル2Aおよびデータファイル2Bを個
別に有しているものであり、伝送装置により互いに接続
している。
In FIG. 1, the first computer 1A and the second computer 1B individually have the same data file 2A and data file 2B whose data contents should be the same value, and are transmitted. Devices are connected to each other.

【0016】また、データファイル2Aおよびデータフ
ァイル2Bは、図示のように複数のブロックにそれぞれ
分割している。一方、第2の計算機1Bには、それ自身
がイニシャライズした時に、第2の計算機1B内のデー
タファイル2Bのブロック毎のCRC3Bを作成し、か
つこののCRC3Bを第1の計算機1Aへ伝送装置を介
して伝送する機能を備えている。
The data file 2A and the data file 2B are each divided into a plurality of blocks as shown. On the other hand, when the second computer 1B itself initializes, it creates a CRC3B for each block of the data file 2B in the second computer 1B, and transmits this CRC3B to the first computer 1A. It has a function to transmit through.

【0017】また、第1の計算機1Aには、第2の計算
機1BよりCRC3Bが伝送されると、第1の計算機1
A内のデータファイル2Aのブロック毎のCRC3Aを
作成する機能と、この作成されたCRC3Aのデータ
と、第2の計算機1Bより伝送されたCRC3Bのデー
タとを、ブロック毎に順に比較する機能と、この比較の
結果、CRC3AとCRC3Bのデータに差異が検出さ
れた場合には、対応するブロックのデータが各データフ
ァイル2A,2B間で異なると判定し、第1の計算機1
Aのデータファイル2Aの該当ブロックのデータを第2
の計算機1Bへ伝送装置を介して伝送する機能と、CR
C3AとCRC3Bのデータに差異がなくなるまで上記
処理を繰り返して行ない、かつCRC3AとCRC3B
の全てのブロックのデータの比較が終了すると、伝送終
結を第2の計算機1Bへ伝送装置を介して通知する機能
とを備えている。
When the CRC 3B is transmitted from the second computer 1B to the first computer 1A, the first computer 1A
A function of creating a CRC3A for each block of the data file 2A in A, a function of sequentially comparing the created data of the CRC3A and the data of the CRC3B transmitted from the second computer 1B for each block, As a result of this comparison, when a difference is detected in the data of CRC3A and CRC3B, it is determined that the data of the corresponding block is different between the data files 2A and 2B, and the first computer 1
The data of the corresponding block of the data file 2A of A
And the function to transmit to the computer 1B of
The above process is repeated until there is no difference between the data of C3A and CRC3B, and CRC3A and CRC3B
When the comparison of the data of all the blocks has been completed, a function of notifying the end of transmission to the second computer 1B via the transmission device is provided.

【0018】さらに、第2の計算機1Bには、第1の計
算機1Aより伝送されたブロックデータに基づいて、第
2の計算機1Bのデータファイル2Bの該当ブロックの
データを更新し、かつ肯定応答を第1の計算機1Aへ伝
送装置を介して返送する機能も備えている。
Further, the second computer 1B updates the data of the corresponding block of the data file 2B of the second computer 1B based on the block data transmitted from the first computer 1A, and sends an affirmative response. It also has a function of returning to the first computer 1A via a transmission device.

【0019】なお、上記において、CRC3AおよびC
RC3Bとしては、第1の計算機1Aのデータファイル
2Aのブロック毎の16ビットCRCを作成し、またC
RC3Bとしては、第2の計算機1Bのデータファイル
2Bのブロック毎の16ビットのCRCを作成するもの
とする。
In the above, CRC3A and C3
The RC3B creates a 16-bit CRC for each block of the data file 2A of the first computer 1A, and C
It is assumed that the RC3B creates a 16-bit CRC for each block of the data file 2B of the second computer 1B.

【0020】このCRC3AおよびCRC3Bは、より
具体的には、データファイル2Aおよびデータファイル
2Bのブロックのデータを、例えば数値として圧縮して
置き換えたものである。
More specifically, the CRC 3A and the CRC 3B are obtained by compressing and replacing the data of blocks of the data file 2A and the data file 2B, for example, as numerical values.

【0021】次に、以上のように構成した本実施例の計
算機システムにおけるデータファイルの整合処理につい
て、図2に示すフロー図を用いて説明する。なお、ここ
では、第2の計算機1Bのデータファイル2Bの内容を
第1の計算機1Aのデータファイル2Aの内容と同じ値
にする場合(第2の計算機1Bがイニシャライズした
際)について述べる。
Next, the data file matching process in the computer system of the present embodiment having the above-mentioned configuration will be described with reference to the flow chart shown in FIG. Note that, here, the case where the content of the data file 2B of the second computer 1B is set to the same value as the content of the data file 2A of the first computer 1A (when the second computer 1B is initialized) will be described.

【0022】いま、停止していた第2の計算機1Bがイ
ニシャライズした場合には、まず、第2の計算機1Bで
は、計算機1B内のデータファイル2Bのデータが第1
の計算機1A内のデータファイル2Aのデータと一致し
ているかどうかをチェックするために、データファイル
2Bのブロック毎の16ビットCRC3Bを作成する
(S1)。そして、この第2の計算機1Bが作成したデ
ータファイル2Bのブロック毎の16ビットCRC3B
を、第1の計算機1Aへ伝送装置を介して伝送する(S
2)。
When the second computer 1B, which has been stopped, is initialized, first, in the second computer 1B, the data in the data file 2B in the computer 1B becomes the first data.
A 16-bit CRC 3B for each block of the data file 2B is created to check whether or not the data matches the data of the data file 2A in the computer 1A (S1). Then, the 16-bit CRC 3B for each block of the data file 2B created by the second computer 1B
Are transmitted to the first computer 1A via the transmission device (S
2).

【0023】一方、第1の計算機1Aでは、第2の計算
機1BよりCRC3Bが伝送されてきたことをきっかけ
として、データファイル2Aのブロック毎の16ビット
CRC3Aを作成する(S3)。
On the other hand, the first computer 1A creates a 16-bit CRC3A for each block of the data file 2A, triggered by the transmission of the CRC3B from the second computer 1B (S3).

【0024】また、第1の計算機1Aでは、計算機1A
で作成したデータファイル2Aのブロック毎の16ビッ
トCRC3Aと、第2の計算機1Bより伝送されてきた
データファイル2Bのブロック毎の16ビットCRC3
Bとの各CRCのデータを、ブロック毎に順に比較する
(S4)。
Further, in the first computer 1A, the computer 1A
16-bit CRC3A for each block of the data file 2A created in 1. and 16-bit CRC3 for each block of the data file 2B transmitted from the second computer 1B
The data of each CRC with B are sequentially compared for each block (S4).

【0025】そして、この比較の結果、CRC3AとC
RC3Bとに差異が検出された場合には、対応するブロ
ックのデータがデータファイル2Aとデータファイル2
Bとで異なると判定し、データファイル2Aの該当ブロ
ックのデータを、第2の計算機1Bへ伝送装置を介して
伝送する(S5)。
As a result of this comparison, CRC3A and C
When a difference between RC3B and RC3B is detected, the data of the corresponding block is the data file 2A and data file 2
B is determined to be different, and the data of the corresponding block of the data file 2A is transmitted to the second computer 1B via the transmission device (S5).

【0026】一方、第2の計算機1Bでは、第1の計算
機1Aから伝送されてきたデータファイル2Aのブロッ
クデータによって、データファイル2Bの該当ブロック
のデータを更新し、肯定応答を第1の計算機1Aへ伝送
装置を介して返送する(S6)。
On the other hand, in the second computer 1B, the data of the corresponding block of the data file 2B is updated by the block data of the data file 2A transmitted from the first computer 1A, and an affirmative response is sent to the first computer 1A. To the transmission device (S6).

【0027】以後、CRC3AとCRC3Bとに差異が
なくなるまで、第1の計算機1Aにおいて、上記S4、
S5の処理を、また第2の計算機1Bにおいて、上記S
6の処理をそれぞれ繰り返す(S7)。
Thereafter, until there is no difference between the CRC3A and the CRC3B, the above-mentioned S4,
The process of S5 is performed again in the second computer 1B.
The processing of 6 is repeated (S7).

【0028】以上のようにして、第1の計算機1Aで処
理S4によるCRC3AとCRC3Bのデータの比較を
行ない、CRC3AとCRC3Bの全てのブロックのデ
ータを比較し終えたら、伝送終結を第2の計算機1Bへ
伝送装置を介して通知する(S8)。
As described above, the first computer 1A compares the data of CRC3A and CRC3B by the process S4, and when the data of all the blocks of CRC3A and CRC3B have been compared, the transmission termination is completed by the second computer. 1B is notified via the transmission device (S8).

【0029】これにより、停止していた第2の計算機1
Bのデータファイル2Bの内容を、第1の計算機1Aの
データファイル2Aの内容と同じ値にして、データファ
イル2Aとデータファイル2Bの整合処理が行なわれ
る。
As a result, the second computer 1 which has been stopped
The content of the data file 2B of B is set to the same value as the content of the data file 2A of the first computer 1A, and the matching processing of the data file 2A and the data file 2B is performed.

【0030】上述したように、本実施例では、同一のデ
ータファイル2Aおよび2Bを個別に有しかつ伝送装置
により互いに接続された第1および第2の計算機1Aお
よび1B間で、伝送装置を介してデータを伝送し合うこ
とによりデータファイル2Aおよび2Bの整合処理を行
なう計算機システムにおいて、各データファイル2Aお
よび2Bを複数のブロックにそれぞれ分割し、第2の計
算機1Bには、それ自身がイニシャライズした時に、第
2の計算機1B内のデータファイル2Bのブロック毎の
16ビットのCRC3Bを作成し、かつこののCRC3
Bを第1の計算機1Aへ伝送装置を介して伝送する機能
を備え、また第1の計算機1Aには、第2の計算機1B
よりCRC3Bが伝送されると、第1の計算機1A内の
データファイル2Aのブロック毎の16ビットのCRC
3Aを作成する機能と、この作成されたCRC3Aのデ
ータと、第2の計算機1Bより伝送されたCRC3Bの
データとを、ブロック毎に順に比較する機能と、この比
較の結果、CRC3AとCRC3Bのデータに差異が検
出された場合には、対応するブロックのデータが各デー
タファイル2A,2B間で異なると判定し、第1の計算
機1Aのデータファイル2Aの該当ブロックのデータを
第2の計算機1Bへ伝送装置を介して伝送する機能と、
CRC3AとCRC3Bのデータに差異がなくなるまで
上記処理を繰り返して行ない、かつCRC3AとCRC
3Bの全てのブロックのデータの比較が終了すると、伝
送終結を第2の計算機1Bへ伝送装置を介して通知する
機能とを備え、さらに、第2の計算機1Bには、第1の
計算機1Aより伝送されたブロックデータに基づいて、
第2の計算機1Bのデータファイル2Bの該当ブロック
のデータを更新し、かつ肯定応答を第1の計算機1Aへ
伝送装置を介して返送する機能を備えるようにしたもの
である。
As described above, in this embodiment, the first and second computers 1A and 1B, which individually have the same data files 2A and 2B and are connected to each other by the transmission device, are connected via the transmission device. In a computer system that performs matching processing of the data files 2A and 2B by transmitting data to each other, each data file 2A and 2B is divided into a plurality of blocks, and the second computer 1B initializes itself. Sometimes, a 16-bit CRC3B for each block of the data file 2B in the second computer 1B is created, and this CRC3
B has a function of transmitting B to the first computer 1A via a transmission device, and the first computer 1A includes a second computer 1B.
When the CRC3B is transmitted, the 16-bit CRC for each block of the data file 2A in the first computer 1A
3A, a function of sequentially comparing the created CRC3A data and the CRC3B data transmitted from the second computer 1B for each block, and the result of this comparison, the CRC3A and CRC3B data When a difference is detected in the data block, it is determined that the data of the corresponding block is different between the data files 2A and 2B, and the data of the corresponding block of the data file 2A of the first computer 1A is transferred to the second computer 1B. The function of transmitting through a transmission device,
The above processing is repeated until there is no difference in the data of CRC3A and CRC3B, and CRC3A and CRC3
When the comparison of the data of all the blocks of 3B is completed, a function of notifying the end of transmission to the second computer 1B via the transmission device is provided, and further, the second computer 1B is provided with the function of transmitting the data from the first computer 1A. Based on the transmitted block data,
The second computer 1B is provided with a function of updating the data in the corresponding block of the data file 2B and returning an affirmative response to the first computer 1A via the transmission device.

【0031】従って、第1の計算機1Aと第2の計算機
1Bの各データファイル2A,2Bのデータが完全に一
致している場合には、第2の計算機1Bで作成したデー
タファイル2Bのブロック毎の16ビットCRC3Bを
第1の計算機1Aへ伝送するだけの処理で、両者のデー
タファイル2A,2Bに差異がないことを確認すること
ができる。
Therefore, when the data of the data files 2A and 2B of the first computer 1A and the second computer 1B are completely identical, each block of the data file 2B created by the second computer 1B It is possible to confirm that there is no difference between the two data files 2A and 2B by simply transmitting the 16-bit CRC 3B to the first computer 1A.

【0032】また、両者のデータファイル2A,2Bに
差異があった場合でも、データファイル2A,2Bをブ
ロック毎に分割した単位で差異のあるブロックのデータ
のみを伝送するだけで、両者のデータファイル2A,2
Bの整合を確保することができる。
Further, even if there is a difference between the two data files 2A and 2B, only the data of the different block is transmitted in the unit of dividing the data files 2A and 2B into blocks, and the data files of the both are transmitted. 2A, 2
The matching of B can be ensured.

【0033】これにより、比較的伝送速度の遅い伝送装
置を用いて各計算機1A,1Bを接続している場合にお
いても、データの等値性の高いデータファイルの場合ほ
ど、不必要なデータの伝送が発生しないため、各データ
ファイル1A,1Bの整合処理を効率的に行なうことが
できる。
As a result, even when the computers 1A and 1B are connected to each other by using a transmission device having a relatively low transmission speed, unnecessary data transmission is increased in the case of a data file having a high data equality. Since this does not occur, the matching process of each data file 1A, 1B can be efficiently performed.

【0034】もって、停止していた第2の計算機1Bが
イニシャライズした際のイニシャライズ処理時間を、大
幅に短縮することが可能となる。すなわち、ある1台の
計算機(第1の計算機1A)でデータファイル2Aの内
容の変更を行なった際に、停止していた計算機(第2の
計算機1B)がイニシャライズした場合、第1の計算機
1Aと整合性を管理するデータファイル2Bの数やサイ
ズが比較的大きい場合においても、不必要なデータ伝送
の発生をなくして、その分だけデータの伝送時間を短く
できるため、データファイル2Bの整合処理にかかる時
間(データファイル2Bのデータの更新時間)が短くな
り、結果として、第2の計算機1Bのイニシャライズ処
理時間を、大幅に短縮することが可能となる。
Therefore, the initialization processing time when the stopped second computer 1B initializes can be greatly shortened. That is, when the computer (second computer 1B) that has stopped is initialized when the content of the data file 2A is changed by one computer (first computer 1A), the first computer 1A Even if the number and size of the data files 2B for managing the consistency with the data file 2B are relatively large, unnecessary data transmission can be eliminated, and the data transmission time can be shortened by that much. Time (data update time of the data file 2B) is shortened, and as a result, the initialization processing time of the second computer 1B can be significantly shortened.

【0035】また、上記の理由により、データの伝送時
間を短くするために、従来のように、伝送装置として、
比較的データ伝送速度の速い伝送装置を使用する必要が
ないため、その分だけ計算機システムを安価なものとす
ることが可能となる。
For the above reason, in order to shorten the data transmission time, the conventional transmission device is
Since it is not necessary to use a transmission device having a relatively high data transmission rate, the computer system can be made inexpensive accordingly.

【0036】尚、本発明は上記実施例に限定されるもの
ではなく、次のようにしても同様に実施できるものであ
る。 (a)上記実施例では、同一のデータファイルを個別に
有しかつ伝送装置により互いに接続された2台の計算機
を備えて成る計算機システムに本発明を適用する場合に
ついて説明したが、これに限らず、3台以上の複数台の
計算機を備えて成る計算機システムについても、本発明
を同様に適用して前述の場合と同様の効果が得られるも
のである。
The present invention is not limited to the above embodiment, but can be implemented in the same manner as described below. (A) In the above embodiment, the case where the present invention is applied to a computer system that has two computers that individually have the same data file and that are connected to each other by a transmission device has been described, but the present invention is not limited to this. Alternatively, the present invention is similarly applied to a computer system including a plurality of computers of three or more, and the same effect as the above case can be obtained.

【0037】(b)上記実施例では、第2の計算機1B
のデータファイル2Bの内容を第1の計算機1Aのデー
タファイル2Aの内容と同じ値にする場合(第2の計算
機1Bがイニシャライズした際)について説明したが、
これに限らず、第1の計算機1Aのデータファイル2A
の内容を第2の計算機1Bのデータファイル2Bの内容
と同じ値にする場合(第1の計算機1Aがイニシャライ
ズした際)についても、前述した各機能を、上記実施例
の場合と全く逆に備えるようにすることにより、同様に
実施できるものである。
(B) In the above embodiment, the second computer 1B
The case where the contents of the data file 2B of the above is set to the same value as the contents of the data file 2A of the first computer 1A (when the second computer 1B is initialized) has been described.
Not limited to this, the data file 2A of the first computer 1A
In the case where the contents of the above are set to the same values as the contents of the data file 2B of the second computer 1B (when the first computer 1A is initialized), the respective functions described above are provided in the opposite manner to the case of the above embodiment. By doing so, it can be similarly implemented.

【0038】(c)上記実施例では、CRC3Aおよび
CRC3Bとして、各データファイル2Aおよび2Bの
ブロック毎の16ビットCRCを作成する場合について
説明したが、何らこれに限定されるものではない。
(C) In the above embodiment, the case of creating a 16-bit CRC for each block of the data files 2A and 2B as the CRC 3A and CRC 3B has been described, but the present invention is not limited to this.

【0039】(d)上記実施例では、第2の計算機1B
により作成したCRC3Bを、1ブロックずつ第1の計
算機1Aへ伝送して、第1の計算機1Aにより作成した
CRC3Aのデータと比較する場合について説明した
が、これに限らず、第2の計算機1Bにより作成したC
RC3Bを、全てのブロックを一度に第1の計算機1A
へ伝送して、第1の計算機1Aにより作成したCRC3
Aの全てのブロックのデータと比較し、差異のあるCR
Cのブロックのデータのみを第2の計算機1Bへ伝送す
るようにしてもよい。 その他、本発明はその要旨を変更しない範囲で、種々に
変形して実施できるものである。
(D) In the above embodiment, the second computer 1B
The CRC3B created by 1. is transmitted block by block to the first computer 1A and compared with the data of the CRC3A created by the first computer 1A. However, the present invention is not limited to this. Created C
RC3B, all blocks at once the first computer 1A
CRC3 created by the first computer 1A
Compared with the data of all blocks of A, CR with difference
Only the data of the block C may be transmitted to the second computer 1B. In addition, the present invention can be variously modified and implemented within the scope of the invention.

【0040】[0040]

【発明の効果】以上説明したように本発明によれば、同
一のデータファイルを個別に有しかつ伝送装置により互
いに接続された第1および第2の計算機間で、伝送装置
を介してデータを伝送し合うことによりデータファイル
の整合処理を行なう計算機システムにおいて、各データ
ファイルを複数のブロックにそれぞれ分割し、第2の計
算機がイニシャライズした時に、当該第2の計算機内の
データファイルのブロック毎のサイクリックチェックコ
ードを作成し、かつ当該サイクリックチェックコードを
第1の計算機へ伝送装置を介して伝送する手段と、第1
の計算機内のデータファイルのブロック毎のサイクリッ
クチェックコードを作成する手段と、第1の計算機で作
成されたサイクリックチェックコードのデータと、第2
の計算機より伝送されたサイクリックチェックコードの
データとを、ブロック毎に順に比較する手段と、上記比
較の結果、サイクリックチェックコードのデータに差異
が検出された場合には、第1の計算機のデータファイル
の該当ブロックのデータを第2の計算機へ伝送装置を介
して伝送する手段と、第1の計算機より伝送されたブロ
ックデータに基づいて、第2の計算機のデータファイル
の該当ブロックのデータを更新する手段とを備えて構成
したので、比較的データ伝送速度の遅い伝送装置を使用
してもデータファイルの整合処理を効率的に行なうこと
ができ、停止していた計算機がイニシャライズした際の
イニシャライズ処理時間を大幅に短縮することが可能な
極めて信頼性の高い計算機システムが提供できる。
As described above, according to the present invention, data is transferred between the first and second computers that individually have the same data file and are connected to each other by the transmission device via the transmission device. In a computer system that performs matching processing of data files by transmitting each other, each data file is divided into a plurality of blocks, and when a second computer initializes, each block of the data file in the second computer is divided. A means for creating a cyclic check code and transmitting the cyclic check code to the first computer through a transmission device;
Means for creating a cyclic check code for each block of the data file in the computer of No. 2, a data of the cyclic check code created by the first computer, and a second
Means for comparing the cyclic check code data transmitted from the computer in sequence for each block, and when a difference is detected in the cyclic check code data as a result of the comparison, the first computer Based on the means for transmitting the data of the corresponding block of the data file to the second computer via the transmission device, and the data of the corresponding block of the data file of the second computer based on the block data transmitted from the first computer. Since it is equipped with a means for updating, even if a transmission device with a relatively low data transmission rate is used, data file matching processing can be performed efficiently, and initialization can be performed when the stopped computer is initialized. An extremely reliable computer system that can significantly reduce the processing time can be provided.

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

【図1】本発明による計算機システムの一実施例を示す
ブロック図。
FIG. 1 is a block diagram showing an embodiment of a computer system according to the present invention.

【図2】同実施例の計算機システムにおけるデータファ
イルの整合処理内容を説明するためのフロー図。
FIG. 2 is a flowchart for explaining the contents of data file matching processing in the computer system of the embodiment.

【符号の説明】[Explanation of symbols]

1A…第1の計算機、1B…第2の計算機、2A…デー
タファイル、2B…データファイル、3A…データファ
イル2AのブロックCRC、3B…データファイル2B
のブロックCRC。
1A ... 1st computer, 1B ... 2nd computer, 2A ... data file, 2B ... data file, 3A ... block CRC of data file 2A, 3B ... data file 2B
Block CRC.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 同一のデータファイルを個別に有しかつ
伝送装置により互いに接続された第1および第2の計算
機間で、前記伝送装置を介してデータを伝送し合うこと
により前記データファイルの整合処理を行なう計算機シ
ステムにおいて、 前記各データファイルを複数のブロックにそれぞれ分割
し、 前記第2の計算機がイニシャライズした時に、当該第2
の計算機内のデータファイルのブロック毎のサイクリッ
クチェックコードを作成し、かつ当該サイクリックチェ
ックコードを前記第1の計算機へ前記伝送装置を介して
伝送する手段と、 前記第1の計算機内のデータファイルのブロック毎のサ
イクリックチェックコードを作成する手段と、 前記第1の計算機で作成されたサイクリックチェックコ
ードのデータと、前記第2の計算機より伝送されたサイ
クリックチェックコードのデータとを、ブロック毎に順
に比較する手段と、 前記比較の結果、サイクリックチェックコードのデータ
に差異が検出された場合には、前記第1の計算機のデー
タファイルの該当ブロックのデータを前記第2の計算機
へ前記伝送装置を介して伝送する手段と、 前記第1の計算機より伝送されたブロックデータに基づ
いて、前記第2の計算機のデータファイルの該当ブロッ
クのデータを更新する手段と、 を備えて成ることを特徴とする計算機システム。
1. Matching of the data files by mutually transmitting data via the transmission device between first and second computers that have the same data file individually and are connected to each other by the transmission device. In a computer system that performs processing, each of the data files is divided into a plurality of blocks, and when the second computer initializes the second data file,
Means for creating a cyclic check code for each block of a data file in the computer, and transmitting the cyclic check code to the first computer via the transmission device, and data in the first computer A means for creating a cyclic check code for each block of the file, data of the cyclic check code created by the first computer, and data of the cyclic check code transmitted from the second computer, Means for sequentially comparing each block, and as a result of the comparison, when a difference is detected in the data of the cyclic check code, the data of the corresponding block of the data file of the first computer is transferred to the second computer. Means for transmitting via the transmission device, based on the block data transmitted from the first computer And a means for updating the data of the corresponding block of the data file of the second computer, the computer system comprising:
JP5238655A 1993-09-27 1993-09-27 Computer system Pending JPH07146810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5238655A JPH07146810A (en) 1993-09-27 1993-09-27 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5238655A JPH07146810A (en) 1993-09-27 1993-09-27 Computer system

Publications (1)

Publication Number Publication Date
JPH07146810A true JPH07146810A (en) 1995-06-06

Family

ID=17033362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5238655A Pending JPH07146810A (en) 1993-09-27 1993-09-27 Computer system

Country Status (1)

Country Link
JP (1) JPH07146810A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916404A (en) * 1995-06-28 1997-01-17 Nec Corp Downloading system
JP2004523017A (en) * 2000-06-05 2004-07-29 ミラリンク コーポレイション Flexible remote data mirroring
WO2005101209A1 (en) * 2004-04-08 2005-10-27 Hitachi, Ltd. Backup method and backup system
JP2009230523A (en) * 2008-03-24 2009-10-08 Nippon Hoso Kyokai <Nhk> File synchronizing device, file synchronizing method, and file synchronizing program
JP2010277374A (en) * 2009-05-29 2010-12-09 Makoto Goto File storage system, server device and program
WO2012101707A1 (en) * 2011-01-28 2012-08-02 日本電気株式会社 Storage system
JP2016018292A (en) * 2014-07-07 2016-02-01 アズビル株式会社 Setting device and setting method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0916404A (en) * 1995-06-28 1997-01-17 Nec Corp Downloading system
JP2004523017A (en) * 2000-06-05 2004-07-29 ミラリンク コーポレイション Flexible remote data mirroring
WO2005101209A1 (en) * 2004-04-08 2005-10-27 Hitachi, Ltd. Backup method and backup system
JP2009230523A (en) * 2008-03-24 2009-10-08 Nippon Hoso Kyokai <Nhk> File synchronizing device, file synchronizing method, and file synchronizing program
JP2010277374A (en) * 2009-05-29 2010-12-09 Makoto Goto File storage system, server device and program
WO2012101707A1 (en) * 2011-01-28 2012-08-02 日本電気株式会社 Storage system
CN103339615A (en) * 2011-01-28 2013-10-02 日本电气株式会社 Storage system
JP5534043B2 (en) * 2011-01-28 2014-06-25 日本電気株式会社 Storage system
CN103339615B (en) * 2011-01-28 2016-03-09 日本电气株式会社 storage system and information processing method
US9858287B2 (en) 2011-01-28 2018-01-02 Nec Corporation Storage system
JP2016018292A (en) * 2014-07-07 2016-02-01 アズビル株式会社 Setting device and setting method

Similar Documents

Publication Publication Date Title
US7430652B2 (en) Devices for performing multiple independent hardware acceleration operations and methods for performing same
KR100982145B1 (en) A method for configurable address mapping
CA1173928A (en) Channel interface circuit
JPH03239046A (en) Method of transferring data
US5958024A (en) System having a receive data register for storing at least nine data bits of frame and status bits indicating the status of asynchronous serial receiver
JPS5846098B2 (en) Bus priority control method in loop bus network system
JPH07146810A (en) Computer system
CN111651424B (en) Data processing method, device, data node and storage medium
US8688867B2 (en) System and methods for communicating between serial communications protocol enabled devices
CN113259437A (en) Method and device for determining vehicle network protocol and storage medium
GB2349554A (en) Encoding or decoding of data
CN113111086B (en) Data storage and query response method and block execution method
JPH06295289A (en) Booting method for plural computers
JPS5953579B2 (en) character compression device
JPS6134620A (en) Inputting method to computer
JPH0351938A (en) Host computer device
JPS62147543A (en) Access system for decentralized file
WO2021127638A1 (en) Processing unit, processor core, neural network training machine, and method
JPH0279645A (en) System for controlling delimiter of communication control equipment
JPH03163655A (en) Task processing method for data
JPH0498569A (en) Format information transmission system for electronic slip
JPH01250122A (en) Deciding system for input data conditions
JPH04117546A (en) Communication control system
JPH03282660A (en) Updating system for control information
JPH03162134A (en) Compressing/expanding system for communication data