JPH08166909A - Storage controller - Google Patents
Storage controllerInfo
- Publication number
- JPH08166909A JPH08166909A JP6310326A JP31032694A JPH08166909A JP H08166909 A JPH08166909 A JP H08166909A JP 6310326 A JP6310326 A JP 6310326A JP 31032694 A JP31032694 A JP 31032694A JP H08166909 A JPH08166909 A JP H08166909A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input
- output
- write
- unit
- 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
- Techniques For Improving Reliability Of Storages (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】 コンピュータセンタのバックアップに関し、
正センタのファイル更新に対して、僅かな時間遅れで副
センタのファイルを更新することを目的とする。
【構成】 ファイル制御装置(以下FCUと称する)に
回線アダプタ等を設け、CPUから或る特定のファイル
の更新要求があった場合に、その更新データをそのFC
U内のバッファメモリ(或いはディスク)に書き込むと
共に、前記回線アダプタ等を経由して副センタのFCU
に直接送付する。副センタ側のFCUは自己のバッファ
メモリ(或いはディスク)にその更新データを書き込
む。又、正センタ側は副センタへのファイルの書込み丈
ではなく、コピーされたファイルの読出しも可能とす
る。つまり、FCUーFCUのデータ転送が可能なよう
に構成する。
(57) [Summary] [Purpose] Regarding backup of computer centers,
The purpose is to update the file of the sub center with a slight time delay with respect to the file update of the main center. [Structure] A file controller (hereinafter referred to as FCU) is provided with a line adapter or the like, and when a CPU requests update of a certain file, the update data is sent to the FC
Write to buffer memory (or disk) in U, and also FCU of sub center via the line adapter etc.
Send it directly to. The FCU on the sub-center side writes the updated data in its own buffer memory (or disk). Further, the main center side can read the copied file instead of the writing length of the file to the sub center. That is, the FCU-FCU data transfer is possible.
Description
【0001】[0001]
【産業上の利用分野】本発明は、コンピュータセンタの
バックアップに関するものである。地震などの災害がコ
ンピュータセンタのある地域に発生して、センタの機能
が損なわれることがある。これを防ぐために、正センタ
とは別の地域に副センタを設置し、正センタ障害時に
は、副センタが機能を代行することが要求される。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to backup of a computer center. A disaster such as an earthquake may occur in the area where the computer center is located, and the function of the center may be impaired. In order to prevent this, it is required that a sub-center be installed in an area different from the main center, and that the sub-center take over the function when the main center fails.
【0002】この場合、正センタが持っているファイル
と等価なファイルを副センタ側にも備える必要がある。
本発明は、このようなファイルのバックアップに関する
ものである。In this case, it is necessary to equip the sub center with a file equivalent to the file held by the main center.
The present invention relates to backing up such files.
【0003】[0003]
【従来の技術】正副両センタで等価なフアイル(以下、
「リモートフアイル」と称す。)を実現する方法として
は、以下の2通りがある。2. Description of the Related Art Equivalent files (hereinafter,
It is called "remote file". There are the following two methods for realizing (1).
【0004】.正副両センタのCPU(アプリケーシ
ョンプログラム)間通信によるファイル転送。 .MT等の物理的に移送可能な媒体によるファイルの
移動。.. File transfer by communication between CPUs (application programs) of both primary and secondary centers. . Moving files by physically transportable media such as MT.
【0005】以下、簡単に上記CPU間通信によるリ
モートフアイルの作成を説明する。図6は、従来のデー
タ転送例である。図6において、1a,1bは本体装
置、2a,2bはファイル制御装置(以下「FCU」と
称する。)、3a,3bはディスク、4a,4bは通信
制御装置(以下「CCP」と称する。)、5a,5bは
端末である。The creation of a remote file by the above-mentioned communication between CPUs will be briefly described below. FIG. 6 shows an example of conventional data transfer. In FIG. 6, 1a and 1b are main units, 2a and 2b are file control units (hereinafter referred to as "FCU"), 3a and 3b are disks, and 4a and 4b are communication control units (hereinafter referred to as "CCP"). 5a and 5b are terminals.
【0006】上記各本体装置1a,1bは、それぞれC
PU11a,11bとチャネルCH12a,12bから
構成され、各FCU2a,2bはチャネルアダプタ(以
下「CA」と称する。)21a,21b、制御部22
a,22b、デバイスアダプタ(以下「DA」と称す
る。)23a,23b、バッファメモリ(以下「BS」
と称する。)24a,24b、から構成されている。Each of the main units 1a and 1b has a C
Each of the FCUs 2a and 2b is composed of a PU 11a, 11b and a channel CH 12a, 12b, and each FCU 2a, 2b is a channel adapter (hereinafter referred to as "CA") 21a, 21b and a control unit 22.
a, 22b, device adapters (hereinafter referred to as "DA") 23a, 23b, buffer memory (hereinafter "BS")
Called. ) 24a, 24b.
【0007】サフイックス「a」の付いた装置構成を正
センタ側とし、サフイックス「b」の付いた装置構成を
副センタ側とする。リモートフアイルは次のような手順
で作成される。The device configuration with the suffix "a" is the center side, and the device configuration with the suffix "b" is the sub center side. The remote file is created by the following procedure.
【0008】(1).正センタ側の端末5aから入力さ
れたデータは、CCP4aを経由して本体装置1aの図
示省略した主記憶装置に書き込まれる。CPU11aは
この書き込まれたデータを処理し、処理結果を該主記憶
装置に書き込んだ後、該主記憶装置上の処理結果をディ
スク3aに書き込むようにCH12a経由でFCU2a
に依頼する。(1). The data input from the terminal 5a on the primary center side is written to the main storage device (not shown) of the main body device 1a via the CCP 4a. The CPU 11a processes the written data, writes the processing result to the main storage device, and then writes the processing result on the main storage device to the disk 3a via the FCU 2a via the CH 12a.
Ask.
【0009】(2).FCU2aの制御部22aは、C
A21a経由で書込みデータを受信し、該書込みデータ
をBS24aに一旦書き込んだ後、DA23aを経由し
てディスク3aに該データを書き込む。(2). The control unit 22a of the FCU 2a is C
The write data is received via A21a, the write data is once written to the BS24a, and then the data is written to the disk 3a via the DA23a.
【0010】(3).CPUの処理能力やCCPの処理
能力の観点から、CPU11aは、一日の業務終了後、
即ち、端末5aからデータが入力されなくなった後、そ
の日一日の或いは数日分のバックアップすべきデータを
ディスク3aから読み出して、主記憶装置上の指定領域
に書き込むようにCH12a経由でFCU2aに依頼す
る。(3). From the viewpoint of the processing capacity of the CPU and the processing capacity of the CCP, the CPU 11a
That is, after the data is no longer input from the terminal 5a, the FCU 2a is requested to read the data to be backed up for one day or several days from the disk 3a and write it in the designated area on the main storage device via the CH 12a. To do.
【0011】(4).FCU2aの制御部22aは、指
定されたデータをDA23aを経由してディスク3aか
ら読み出し、一旦BS24aに書き込んだ後、該BS2
4a上のその指定されたデータをCA21aを経由して
CH12aに送付する。CH12aはCPU11aによ
って指定された主記憶装置の領域に該指定データを書き
込む。(4). The control unit 22a of the FCU 2a reads out the designated data from the disk 3a via the DA 23a, writes it once in the BS 24a, and then writes it in the BS 2a.
The designated data on 4a is sent to CH12a via CA21a. The CH 12a writes the designated data in the area of the main memory designated by the CPU 11a.
【0012】(5).CPU11aは、該主記憶装置に
該指定データが書き込まれた後、該主記憶装置上のバッ
クアップすべきデータを副センタ側に送信するようにC
CP4aに依頼する。(5). After the designated data is written in the main storage device, the CPU 11a sends the data to be backed up in the main storage device to the sub-center side C
Request CP4a.
【0013】(6).送信依頼を受けたCCP4aは、
該指定データを該主記憶装置からCH12aを経由して
読み出し、伝送路を経由して副センタ側のCCP4bに
送信する。(6). The CCP 4a that received the transmission request
The designated data is read from the main storage device via the CH 12a and transmitted to the CCP 4b on the sub center side via the transmission path.
【0014】(7).副センタ側のCCP4bはCH1
2bを経由してCPU11bに割り込む。割り込まれた
CPU11bは、バックアップすべきデータを書き込む
図示省略した副センタ側の主記憶装置の領域を指定す
る。(7). CCP4b on the sub-center side is CH1
It interrupts CPU11b via 2b. The interrupted CPU 11b designates an area of the main storage device (not shown) on the side of the sub-center for writing data to be backed up.
【0015】(8).CH12bは、CCP4bよりバ
ックアップすべきデータを受け取り、指定された領域に
書き込む。書込み完了後、CPU11bは、該領域を指
定して、CH12bを経由してFCU2bに該バックア
ップデータをディスク3bに書き込むように依頼する。(8). The CH 12b receives the data to be backed up from the CCP 4b and writes it in the designated area. After the writing is completed, the CPU 11b designates the area and requests the FCU 2b to write the backup data to the disk 3b via the CH 12b.
【0016】(9).FCU2bの制御部22bは、C
A21b経由で書込みデータを受信し、該書込みデータ
をBS24bに一旦書き込んだ後、DA23bを経由し
てディスク3bに該データを書き込む。(9). The control unit 22b of the FCU 2b is C
The write data is received via A21b, the write data is once written to the BS24b, and then the data is written to the disk 3b via the DA23b.
【0017】以上により、ファイルのコピーが終了し、
リモートフアイル作成完了となる。With the above, copying of the file is completed,
Remote file creation is complete.
【0018】[0018]
【発明が解決しようとする課題】上記のような従来の方
法では、CPUの処理能力やCCPの処理能力の観点か
ら、正センタのバックアップすべきファイルの内容と、
副センタのリモートフアイルの内容とでは、一日〜数日
分の差がある。In the conventional method as described above, the contents of the file to be backed up in the main center and the contents of the file to be backed up in the main center are considered from the viewpoint of the processing capacity of the CPU and the processing capacity of the CCP.
There is a difference of one day to several days from the contents of the remote center remote file.
【0019】従って、正センタが事故に遭遇した場合に
は、この一日〜数日分の更新データにより副センタのリ
モートフアイルを更新した後、副センタを正センタとし
て稼働開始しなければならず、時間がかかっていた。Therefore, when the main center encounters an accident, it is necessary to update the remote file of the sub center with the update data for one to several days and then start the operation of the sub center as the main center. , It took a long time.
【0020】又、副センタ側でのディスクへの書込みエ
ラーの発生や、FCUの障害発生のような場合には、正
センタ側のアプリケーションプログラムではどのデータ
までバックアップされたかの把握が困難であった。Further, in the case of a write error to the disk on the side of the secondary center or a failure of the FCU, it is difficult for the application program on the side of the primary center to grasp which data has been backed up.
【0021】本発明はこのような点にかんがみて、副セ
ンタのリモートフアイルの作成の時間遅れを極力少なく
し、コンピュータネットワークの信頼度を向上させる手
段を提供することを目的とする。In view of the above point, the present invention has an object to provide a means for improving the reliability of a computer network by minimizing the time delay of the creation of the remote file of the sub-center.
【0022】[0022]
【課題を解決するための手段】上記の課題は下記の如く
に構成された記憶制御装置によって解決される。図1
は、本発明の原理説明図である。The above-mentioned problems can be solved by a storage control device configured as follows. FIG.
[FIG. 3] is a diagram illustrating the principle of the present invention.
【0023】1.第一の入出力手段21と、制御部22
と、記憶部24と、第二の入出力手段23と、第三の入
出力手段25とから構成される記憶制御装置2であっ
て、該第一の入出力手段21は、他装置との間のインタ
フェースであり、該第二の入出力手段23は、他装置と
の間のインタフェースであり、該第三の入出力手段25
は、他装置との間のインタフェースであり、該第一の入
出力手段21を経由してデータの書込み及び送付要求が
該記憶制御装置2にあった場合には、該制御部22は該
データを該記憶部24に書込み、その後該記憶部24よ
り該データを読み出して該第二の入出力手段23を経由
して出力し、該出力動作とは独立に又は並行に該第三の
入出力手段25を経由して出力し、該第三の入出力手段
25を経由してデータの書込み要求が該記憶制御装置2
にあった場合には、該制御部22は該データを該記憶部
24に書込み、その後該記憶部24より該データを読み
出して該第二の入出力手段23を経由して出力し、該第
三の入出力手段25を経由してデータの読出し要求が該
記憶制御装置2にあった場合には、該制御部22は該第
三の入出力手段25を経由して指定された該データが該
記憶部24に存在するか存在しないかをチェックし、存
在する場合には、該記憶部24から該指定されたデータ
を読み出して、該第三の入出力手段25を経由して出力
し、存在しない場合には、該第二の入出力手段23を経
由して該指定されたデータを読込み、該読み込んだデー
タを該記憶部24に書き込んだ後、該記憶部24より指
定された該データを読み出して、該第三の入出力手段2
5を経由して出力するように構成する。1. First input / output unit 21 and control unit 22
A storage unit 24, a second input / output unit 23, and a third input / output unit 25, wherein the first input / output unit 21 is connected to another device. The second input / output unit 23 is an interface with another device, and the third input / output unit 25 is an interface with another device.
Is an interface with another device, and when a request for writing and sending data via the first input / output unit 21 is made in the storage control device 2, the control unit 22 To the storage unit 24, then read the data from the storage unit 24 and output the data via the second input / output unit 23, independently of or in parallel with the output operation. Output via the means 25, and a data write request is sent via the third input / output means 25 to the storage controller 2
If so, the control unit 22 writes the data in the storage unit 24, then reads the data from the storage unit 24 and outputs the data via the second input / output unit 23. When a data read request is issued to the storage control device 2 via the third input / output unit 25, the control unit 22 sends the data designated via the third input / output unit 25. Whether or not it exists in the storage unit 24 is checked, and if it exists, the designated data is read from the storage unit 24 and output via the third input / output unit 25. If it does not exist, the designated data is read through the second input / output unit 23, the read data is written in the storage unit 24, and then the designated data is stored in the storage unit 24. To read the third input / output unit 2
5 is configured to be output.
【0024】2.上記1において、書込み順制御手段2
7を付加し、該第一の入出力手段21を経由してデータ
の書込み及び送付要求が該記憶制御装置2にあった場合
に、又は、該第三の入出力手段25を経由してデータの
書込み要求が該記憶制御装置2にあった場合に、該書込
み順制御手段27により該データの該第二の入出力手段
23から出力する優先度を上げるように構成する。2. In the above 1, write order control means 2
7 is added and data is written and sent to the storage controller 2 via the first input / output unit 21, or data is sent via the third input / output unit 25. When the write request is sent to the storage control device 2, the write order control means 27 increases the priority of outputting the data from the second input / output means 23.
【0025】上記1において、前記書込み順制御手段の
代わりに、データ入れ換え制御手段28を付加し、該第
一の入出力手段21を経由してデータの書込み及び送付
要求が該記憶制御装置2にあった場合に、又は、該第三
の入出力手段25を経由してデータの書込み要求が該記
憶制御装置2にあった場合に、該制御部22は該データ
を該記憶部24に書込む場合、該データ入れ換え制御手
段28により該データの該記憶部24からの追い出しの
優先度を上げる構成としても良い。In the above-mentioned 1, data replacement control means 28 is added in place of the write order control means, and data write and transmission requests are sent to the storage control device 2 via the first input / output means 21. If there is, or if there is a data write request to the storage control device 2 via the third input / output unit 25, the control unit 22 writes the data in the storage unit 24. In this case, the data replacement control unit 28 may increase the priority of erasing the data from the storage unit 24.
【0026】又.前記1において、書込み順制御手段2
7と、データ入れ換え制御手段28とを付加し、該第一
の入出力手段21を経由してデータの書込み及び送付要
求が該記憶制御装置2にあった場合に、又は、該第三の
入出力手段25を経由してデータの書込み要求が該記憶
制御装置2にあった場合に、該制御部22は該データを
該記憶部24に書込む場合、該データ入れ換え制御手段
28により該データの該記憶部24からの追い出しの優
先度を上げるとともに、該書込み順制御手段27により
該データの該第二の入出力手段23から出力する優先度
を上げる構成としても良い。Also. In the above 1, write order control means 2
7 and a data exchange control means 28 are added, and when a data writing and sending request is sent to the storage control device 2 via the first input / output means 21, or the third input / output means 21 is used. When a data write request is issued to the storage control device 2 via the output means 25, the control section 22 writes the data to the storage section 24. A configuration may be adopted in which the priority of eviction from the storage unit 24 is raised and the priority of outputting the data from the second input / output unit 23 by the write order control unit 27 is raised.
【0027】3.前記1において、書込み完了報告手段
26を付加し、第一の入出力手段21を経由してn番目
のデータの書込み及び送付要求が該記憶制御装置2にあ
った場合に、少なくとも、(nー1)番目のデータを該
第二の入出力手段23から出力し、該出力データに対す
る処理完了応答を該第二の入出力手段23を経由して受
信した条件、又は、該n番目のデータを該第三の入出力
手段25から出力し、その後該n番目のデータに対する
該第三の入出力手段25経由の書込み完了報告の受信条
件、の何れか一方の完了条件が満足された場合に、該書
込み完了報告手段26は、該第一の入出力手段を経由し
てn番目のデータの書込み完了を報告するように構成す
る。3. In the above 1, when the write completion reporting means 26 is added and a request for writing and sending the nth data is made to the storage control device 2 via the first input / output means 21, at least (n- 1) The condition that the second data is output from the second input / output unit 23 and a processing completion response to the output data is received via the second input / output unit 23, or the nth data is When any one of the completion conditions of the output condition from the third input / output unit 25 and the reception condition of the write completion report for the n-th data via the third input / output unit 25 is satisfied, The write completion reporting means 26 is configured to report the write completion of the n-th data via the first input / output means.
【0028】上記手段の関連手段として、以下のような
手段の採用を可能である。先ず、前記1において、書込
み完了報告手段26を付加し、該第三の入出力手段25
を経由してデータの書込み要求が該記憶制御装置2にあ
った場合に、該データの該記憶部24への書込みが完了
した時点で、該書込み完了報告手段26は、該データの
書込み完了報告を該第三の入出力手段25を経由して出
力するような構成を採用できる。The following means can be adopted as the means related to the above means. First, in the above 1, the write completion reporting means 26 is added, and the third input / output means 25 is added.
When a data write request is made to the storage control device 2 via the, the write completion reporting means 26 reports the write completion of the data at the time when the writing of the data to the storage unit 24 is completed. Can be output via the third input / output means 25.
【0029】次に、前記1において、書込み完了報告手
段26を付加し、該第三の入出力手段25を経由してデ
ータの書込み要求が該記憶制御装置2にあった場合に、
該データを該第二の入出力手段23から出力し、該出力
データに対する処理完了応答を該第二の入出力手段23
を経由して受信した場合に、該書込み完了報告手段26
は、該データの書込み完了報告を該第三の入出力手段2
5を経由して出力するような構成も採用可能である。Next, in the above 1, when the write completion reporting means 26 is added and a data write request is made to the storage control device 2 via the third input / output means 25,
The data is output from the second input / output unit 23, and a processing completion response to the output data is output to the second input / output unit 23.
When it is received via the write completion report means 26
Sends the data write completion report to the third input / output unit 2
It is also possible to adopt a configuration in which the data is output via the signal 5.
【0030】第3に、前記1において、書込み完了報告
手段26を付加し、該第三の入出力手段25を経由して
n番目のデータの書込み要求が該記憶制御装置2にあっ
た場合に、少なくとも、該n番目のデータの該記憶部2
4への書込みの完了条件、又は、(nー1)番目のデー
タを該第二の入出力手段23から出力し、該出力データ
に対する処理完了応答を該第二の入出力手段23を経由
して受信した条件、の何れか一方の完了条件が満足され
た場合に、該書込み完了報告手段26は、該n番目のデ
ータの書込み完了として完了報告を該第三の入出力手段
25を経由して出力するような構成の採用も可能であ
る。Thirdly, in the above-mentioned 1, when the write completion reporting means 26 is added and a write request for the nth data is made to the storage control device 2 via the third input / output means 25. , At least the storage unit 2 for the n-th data
4 the completion condition of writing, or (n-1) th data is output from the second input / output unit 23, and a processing completion response to the output data is output via the second input / output unit 23. If either one of the completion conditions received by the above is satisfied, the write completion reporting means 26 sends a completion report as the write completion of the n-th data via the third input / output means 25. It is also possible to adopt a configuration in which the output is performed as a result.
【0031】その他、前記1において、書込み完了報告
手段26を付加し、該第一の入出力手段21を経由して
データの書込み及び送付要求が該記憶制御装置2にあっ
た場合に、少なくとも、該データの該記憶部24への書
込みが完了した条件、又は、該データを該第三の入出力
手段25から出力し、その後該データに対する該第三の
入出力手段25経由の書込み完了報告の受信条件、の何
れか一方の完了条件が満足された場合に、該書込み完了
報告手段26は、該第一の入出力手段21を経由して該
データの書込み完了を出力するような構成も採用可能で
ある。In addition, in the above-mentioned 1, in the case where the write completion reporting means 26 is added and a request for writing and sending data via the first input / output means 21 is made in the storage control device 2, at least: The condition that the writing of the data into the storage unit 24 is completed, or the data is output from the third input / output unit 25, and then the write completion report of the data via the third input / output unit 25 is sent. The write completion reporting means 26 outputs a write completion of the data via the first input / output means 21 when either one of the reception conditions, that is, the completion condition is satisfied. It is possible.
【0032】[0032]
【作用】上記のような構成、即ち、ファイル制御装置の
ような記憶制御装置に回線アダプタやLANアダプタを
設けることにより、CPUやCCPにリモートファイル
更新のための余分な負荷をかけることなく、正ファイル
更新に対して僅かな時間差でリモートファイルの更新を
可能とするものである。With the above configuration, that is, by providing the storage controller such as the file controller with the line adapter and the LAN adapter, the CPU and the CCP are not burdened with an extra load for updating the remote file. The remote file can be updated with a slight time difference from the file update.
【0033】ここで、「余分な負荷をかけることなく」
とは、「正センタのCPUは配下のファイル制御装置に
データの更新を依頼する丈でよく、副センタのCPUは
配下のリモートファイルの更新に対してノータッチであ
っても良い。」ことを意味し、又、「リモートファイル
更新においてはCCP経由でデータ転送を行わない。」
ことを意味する。Here, "without extra load"
Means that the CPU of the main center may request the subordinate file control device to update the data, and the CPU of the subcenter may be untouched for updating the subordinate remote file. In addition, "Data is not transferred via CCP in remote file update."
Means that.
【0034】又、FCUに完了報告手段を設けることに
より、副センタ側のFCUの完了報告手段を通してリモ
ートファイルの更新の正常終了・異常終了が正センタ側
のCPUで容易に確認可能となる。Further, by providing the completion report means in the FCU, the normal end / abnormal end of the update of the remote file can be easily confirmed by the CPU on the main center side through the completion report means of the FCU on the sub-center side.
【0035】[0035]
【実施例】以下、リモートファイル更新に係る本発明を
図2〜図5により説明する。図2は、本発明の実施例構
成図であり、図3は、バッファメモリのデータ追い出し
管理(LRU)テーブルであり、図4は、書込み順制御
(FIFO)テーブルであり、図5は、書込み完了信号
生成回路とタイムチャートである。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention relating to remote file update will be described below with reference to FIGS. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a data eviction management (LRU) table of a buffer memory, FIG. 4 is a write order control (FIFO) table, and FIG. It is a completion signal generation circuit and a time chart.
【0036】図1の本発明の原理説明図における各発明
の構成要素と、図2〜図5の各部分との対応関係は以下
のようになっている。図1の記憶制御装置2は、図2の
FCU2c,2d 図1の第一の入出力手段21は、図2のCA21c,2
1d 図1の第二の入出力手段23は、図2のDA23c,2
3d 図1の第三の入出力手段25は、図2のRA25c,2
5d 図1の制御部22は、図2の制御部22c,22d 図1の記憶部24は、図2のBS24c,24d、図3
の24c,d 図1の書込み完了報告手段26は、図2の書込み完了報
告手段26c,26d、図5(a) 図1の書込み順制御手段27は、図2の書込み順制御手
段27c,27d、図4 図1のデータ入れ換え制御手段28は、図2のデータ入
れ換え制御手段28c,28d、図3の最新のアクセス
時刻9c,dである。Correspondences between the constituent elements of each invention in the principle explanatory diagram of the present invention of FIG. 1 and each part of FIGS. 2 to 5 are as follows. The storage control device 2 of FIG. 1 includes the FCUs 2c and 2d of FIG. 2 and the first input / output unit 21 of FIG.
1d The second input / output means 23 of FIG. 1 is the DA 23c, 2 of FIG.
3d The third input / output means 25 of FIG. 1 is the RA 25c, 2 of FIG.
5d, the control unit 22 of FIG. 1 has the control units 22c and 22d of FIG. 2, and the storage unit 24 of FIG. 1 has BSs 24c and 24d of FIG.
24c, d of the writing completion reporting means 26 of FIG. 1, the writing completion reporting means 26c, 26d of FIG. 2, and the writing order control means 27 of FIG. 5A, the writing order control means 27c, 27d of FIG. 4, the data exchange control means 28 of FIG. 1 is the data exchange control means 28c, 28d of FIG. 2 and the latest access time 9c, d of FIG.
【0037】図2において、1c,1dは本体装置、2
c,2dはFCU、3c,3dはディスク、4c,4d
はCCPである。上記各本体装置1c,1dは、それぞ
れCPU11c,11dとチャネルCH12c,12d
から構成され、各FCU2c,2dはCA21c,21
d、制御部22c,22d、DA23c,23d、BS
24c,24d、ラウタアダプタRA25c,25d、
完了報告手段26c,26d、書込み順制御手段27
c,27dから構成されている。In FIG. 2, reference numerals 1c and 1d denote main body devices and 2
c and 2d are FCU, 3c and 3d are disks, 4c and 4d
Is the CCP. The respective main units 1c and 1d have CPUs 11c and 11d and channels CH12c and 12d, respectively.
And each FCU 2c, 2d has a CA 21c, 21
d, control units 22c and 22d, DAs 23c and 23d, BS
24c, 24d, router adapter RA25c, 25d,
Completion reporting means 26c, 26d, write order control means 27
It is composed of c and 27d.
【0038】サフイックス「c」の付いた装置構成を正
センタ側とし、サフイックス「d」の付いた装置構成を
副センタ側とする。図3は、上記BS24c,dの詳細
構成を示すものであり、正副両センタとも同一の構成で
ある。The device configuration with the suffix "c" is the center side, and the device configuration with the suffix "d" is the center side. FIG. 3 shows a detailed configuration of the BSs 24c and 24d, and both the primary and secondary centers have the same configuration.
【0039】BS24c,dは、データ6c,d、読出
し(以下「R」と表示する。)・書込み(以下「W」と
表示する。)モードの表示7c,d、Wモードの時の書
込み完了8c,d、最新のアクセス時刻9c,dから構
成される。BSs 24c and d display data 6c and d, read (hereinafter referred to as "R"), write (hereinafter referred to as "W") mode display 7c, d, and write completion in W mode. 8c, d and the latest access time 9c, d.
【0040】このBS24c,dは、アドレスがk個毎
に領域が細分化されており、k個単位で各入出力手段経
由でR/Wされるものとする。BS24c,dの書込み
完了8において、「0」は各ディスク3c,dへの未書
込みを意味し、「1」は該ディスクへの書込み完了を意
味する。Rモードの時は、この書込み完了8は無意味と
なる。Each of the BSs 24c and 24d has a subdivided area for every k addresses and is read / written via each input / output unit in units of k addresses. In the write completion 8 of the BSs 24c and d, "0" means that the data has not been written to each of the disks 3c and d, and "1" means that the writing to the disk has been completed. In the R mode, this write completion 8 is meaningless.
【0041】アクセス時刻9c,dには、各データにア
クセスがある毎にそのアクセスのあった時刻tiが書き
込まれる。(iの値が大きい方が時刻として新しいとす
る。) 即ち、この方法はLRU(Least Recentl
y Used)と言われるメモリのデータ追い出し(デ
ータ入れ換え)手法である。At the access times 9c and d, the time ti at which each data is accessed is written every time the data is accessed. (The larger the value of i is, the newer the time is.) That is, this method uses LRU (Least Recentl).
y Used), which is a data eviction (data exchange) method of the memory.
【0042】例えば、BSのアドレス「0〜kー1」の
k個のデータ1は、アプリケーションプログラム(以下
「アプリ」と称する。)1からアクセスされるデータで
あり、そのアプリ1の最新のアクセス時刻はt1であ
る。勿論、時刻t1以前にアプリ1からアクセスがあっ
ても、最も新しいアクセスは時刻t1であることを意味
している。同様に、BSのアドレス「k〜2kー1」の
k個のデータ2は、アプリ2からアクセスされるデータ
であり、そのアプリ2の最新のアクセス時刻はt3であ
る。For example, the k pieces of data 1 at the address “0 to k−1” of the BS are data accessed from an application program (hereinafter referred to as “app”) 1 and the latest access of the application 1 is made. The time is t1. Of course, even if there is an access from the application 1 before the time t1, it means that the latest access is at the time t1. Similarly, the k pieces of data 2 of the address “k to 2k−1” of the BS are data accessed from the application 2, and the latest access time of the application 2 is t3.
【0043】尚、このLRU方式では、最新のアクセス
が最も古いデータが優先的に追い出し(入れ換え)の対
象となる。従って、追い出し(入れ換え)の優先度を上
げるためには、アクセス時刻9c,dの内容を強制的に
古い時刻表示とすれば良い。例えば、データ5をディス
ク3c,dへ優先的に書込むためには、該データ5のア
クセス時刻9c,dの内容「t5」を「t0」に変更す
れば良い。In this LRU system, the data with the latest access and the oldest is preferentially ejected (replaced). Therefore, in order to increase the priority of eviction (replacement), the contents of the access times 9c and 9d may be forcibly displayed as the old time. For example, in order to preferentially write the data 5 to the disks 3c and d, the content "t5" of the access time 9c and d of the data 5 may be changed to "t0".
【0044】又、当然のことながら、R/Wモード7
c,dがWモードで、W完了8c,dが「0」のデータ
を追い出す場合には、そのデータのディスク3c,dへ
の書込み完了後、新しいデータがBSのその領域に書き
込まれる。Further, as a matter of course, the R / W mode 7
When c and d are in the W mode and data of which W completion 8c and d are "0" are expelled, new data is written to the area of the BS after the completion of writing the data to the disks 3c and d.
【0045】この図3の例では、データ1が最も古いデ
ータとなる。又、データ2を追い出す場合には、該デー
タ2のディスク3c,dへの書込み完了後、新しいデー
タがアドレス「k〜2kー1」に書き込まれる。In the example of FIG. 3, data 1 is the oldest data. When the data 2 is to be expelled, new data is written to the addresses "k to 2k-1" after the writing of the data 2 to the disks 3c and d is completed.
【0046】図4の書込み順制御(FIFO)テーブル
は、先入れ先出し順に処理する方式であり、正副両セン
タの各FCU2c,dにおいて、スタックアドレスポイ
ンタ61c,d、スタック62c,d、スタック内デー
タ個数63c,dから構成され、FCU2c,d内のD
A23c,dは、このスタックアドレスポインタ61
c,dで示されるスタックアドレスの値に従ってBS2
4c,dからデータを読出し、ディスク3c,dに書き
込む。ディスク3c,dは、書込みが完了した場合に
は、書込みが完了信号をDA23c,dに送付する。The write order control (FIFO) table of FIG. 4 is a method of processing in a first-in first-out order, and stack address pointers 61c and d, stacks 62c and d, and the number of in-stack data 63c in each FCU 2c and d of both the primary and secondary centers. , D, and D in FCU 2c, d
A23c and d are the stack address pointer 61
BS2 according to the stack address values indicated by c and d
Data is read from the disks 4c and 4d and written on the disks 3c and d. When the writing is completed, the disks 3c and d send a writing completion signal to the DAs 23c and d.
【0047】新しいデータをディスク3c,dに書き込
む時には、制御部22c,dは、スタックアドレスポイ
ンタ61の値とスタック内データ個数63の値とを加算
し、その加算結果で示される値をスタック62のアドレ
スとして、スタック62の該アドレスにその新しいデー
タが格納されているBS24のアドレスを書き込む。When writing new data to the disks 3c and d, the control units 22c and 22d add the value of the stack address pointer 61 and the value of the number of in-stack data 63, and the value indicated by the addition result is added to the stack 62. The address of the BS 24 in which the new data is stored is written in the address of the stack 62 as the address of the.
【0048】その後、制御部22c,dは、スタック内
データ個数63c,dの値を「+1」する。ディスク3
c,dへの書込み優先度を上げるためには、スタック6
2c,dのアドレス「0」にそのデータが格納されてい
るBS24c,dのアドレスを書込み、スタックアドレ
スポインタ61c,dの内容を「0」とすれば良い。After that, the control units 22c and 22 increment the value of the number of in-stack data 63c and d by "+1". Disk 3
To increase the write priority to c and d, stack 6
The addresses of the BSs 24c and d where the data is stored may be written in the address "0" of 2c and d, and the contents of the stack address pointers 61c and 61d may be set to "0".
【0049】この場合、スタック62c,dのアドレス
「0」を緊急書込みデータ用に通常は未使用状態にして
おき、スタックアドレスポインタ61c,dの初期値は
「1」とする。In this case, the address "0" of the stacks 62c and d is normally left unused for emergency write data, and the initial values of the stack address pointers 61c and 61d are set to "1".
【0050】或いは、他の方法として、スタック62
c,dのアドレス「0」を通常も使用し、緊急書込みが
発生した時に、スタック62c,dのアドレス「0」の
データをアドレス「1」にシフトし、アドレス「1」の
データをアドレス「2」にシフトし、以下順にスタック
内データ個数63c,dで示される個数分丈シフトした
後、アドレス「0」に緊急書込みデータのBS24c,
dの格納アドレスを書き込む方法がある。Alternatively, as another method, the stack 62
The address "0" of c and d is normally used, and when the emergency write occurs, the data of the address "0" of the stack 62c and d is shifted to the address "1", and the data of the address "1" is changed to the address "1". 2 ", and after sequentially shifting the number of data in the stack by the number indicated by 63c and d, the emergency write data BS24c,
There is a method of writing the storage address of d.
【0051】図4の例では、スタックアドレス「0」で
示されるBSアドレス「4k」からk個のデータが最初
にディスク3に書き込まれる。図5は、正センタの本体
装置1cからリモートファイル更新依頼がFCU2cに
あった場合、正センタ側のファイル及びリモートファイ
ルの両ファイルの更新が完了した時に、更新依頼された
FCU2cが依頼元の本体装置1cに対して、両ファイ
ルの更新の完了を報告する回路(a)と、各信号のタイ
ムチャート(b)〜(e)である。図5と同一の回路
は、副センタ側のFCU2dにも存在する。In the example of FIG. 4, k pieces of data from the BS address “4k” indicated by the stack address “0” are first written to the disk 3. FIG. 5 shows that when a remote file update request is sent from the main unit 1c of the main center to the FCU 2c, when the update of both the file on the main center side and the remote file is completed, the FCU 2c for which the update is requested is the main body of the request source. It is a circuit (a) for reporting the completion of updating of both files to the device 1c and time charts (b) to (e) of each signal. The same circuit as in FIG. 5 also exists in the FCU 2d on the sub center side.
【0052】図5(a)において、論理素子71cの論
理機能は論理積「AND」であり、論理素子72cの論
理機能はDタイプフリップフロップ「FF」である。こ
の論理素子71cの論理機能が「OR」であっても良
い。In FIG. 5A, the logical function of the logic element 71c is the logical product "AND", and the logical function of the logic element 72c is the D type flip-flop "FF". The logic function of the logic element 71c may be "OR".
【0053】AND71cの入力は、二入力であり、一
方は信号X、即ち、正センタ側のファイルの更新完了信
号であり、他方は信号Y、即ち、リモートファイルの更
新完了信号である。The inputs of the AND 71c are two inputs, one is a signal X, that is, a file update completion signal on the positive center side, and the other is a signal Y, that is, a remote file update completion signal.
【0054】FF72cは、クロック信号の立ち下がり
で動作するものとし、その出力は、更新依頼元の本体装
置1cに対する更新完了信号となる。何れの信号X,
Y,Zも論理値「1」が更新完了を意味する。The FF 72c operates at the falling edge of the clock signal, and its output is the update completion signal for the main body device 1c which is the update request source. Which signal X,
The logical value "1" of Y and Z also means that the update is completed.
【0055】図5(b)〜(e)において、信号Xはク
ロック「1」がFF72に入力される前の時刻T1で論
理値「1」(更新完了)となり、信号Yはクロック
「3」がFF72に入力される前の時刻T2で論理値
「1」(更新完了)となる。従って、信号Zはクロック
「3」の立ち下がり時刻T3で論理値「1」(更新完
了)となる。以上の動作・機能を基本として、リモート
フアイルは次のような手順で更新される。In FIGS. 5B to 5E, the signal X becomes the logical value "1" (update completion) at the time T1 before the clock "1" is input to the FF 72, and the signal Y is the clock "3". Becomes a logical value "1" (update completion) at time T2 before being input to the FF 72. Therefore, the signal Z becomes the logical value "1" (update completion) at the falling time T3 of the clock "3". Based on the above operations and functions, the remote file is updated in the following procedure.
【0056】(1).正センタ側の図示省略した端末か
ら入力されたリモートフアイル更新データは、CCP4
cを経由して本体装置1aの図示省略した主記憶装置に
書き込まれる。CPU11cはこの書き込まれたデータ
を処理し、処理結果を該主記憶装置に書き込んだ後、該
主記憶装置上の処理結果をディスク3cに書き込むよう
にCH12c経由でFCU2cに依頼する。(1). The remote file update data input from the terminal (not shown) on the main center side is CCP4.
It is written in the main storage device (not shown) of the main body device 1a via c. The CPU 11c processes the written data, writes the processing result in the main storage device, and then requests the FCU 2c via the CH 12c to write the processing result in the main storage device into the disk 3c.
【0057】(2).FCU2cの制御部22cは、C
A21c経由で該更新データを受信し、該更新データを
BS24cのアドレス「4k〜5kー1」に書き込む。
該制御部22cは、該更新データを該BS24cに書き
込む際に、ディスク3cへの書込みの優先度を上げるた
めに、以下の何れかの処理を行う。(書込みの現時刻を
t5とする。) .前述したようなデータ入れ換え制御手段28cのみ
を用いる方法である。(2). The control unit 22c of the FCU 2c is C
The update data is received via A21c, and the update data is written to the address "4k-5k-1" of the BS 24c.
When writing the update data to the BS 24c, the control unit 22c performs any one of the following processes in order to raise the priority of writing to the disk 3c. (The current time of writing is t5.). This is a method using only the data replacement control means 28c as described above.
【0058】この方法では、図4に示すようなスタック
62c等の書込み順制御手段27cは存在せず、書き込
む順序はアクセス時刻9cの時刻の古い順となる。制御
部22cは、最新のアクセス時刻9cの内容を強制的に
最古の時刻t0とし、アクセス時刻9cをサーチして、
時刻の最も古いデータから順にDA23cに対して書込
みアドレスを指定する。In this method, the write order control means 27c such as the stack 62c as shown in FIG. 4 does not exist, and the writing order is the oldest access time 9c. The control unit 22c forcibly sets the contents of the latest access time 9c to the oldest time t0, searches the access time 9c,
The write address is designated for the DA 23c in order from the oldest data.
【0059】従って、制御部22cはDA23cに対し
て、もしその時点でDA23cがディスク3cに対して
R/Wしていれば、そのR/W完了後、書込みアドレス
「4k」を指定することになる。Therefore, the control unit 22c specifies the write address "4k" to the DA 23c if the DA 23c is R / Wing the disk 3c at that time after the completion of the R / W. Become.
【0060】.前述したような書込み順制御手段27
cのみを用いる方法である。この方法では、上記デー
タ入れ換え制御手段28cが存在せず、書き込む順の制
御は図4に示すスタック62等のみとなる。(請求項2
対応) 制御部22cは、強制的にスタック62cのアドレス
「0」に該更新データの格納アドレス「4k」を書込
み、スタックアドレスポインタ61cの内容を「0」と
する。スタック内データ個数63の内容を「1」から
「2」に変更する。この方法では、リモートファイル用
データ以外の一般データのR/Wに当たっては、何らか
のデータ入れ換え手段が必要となる。.. Writing order control means 27 as described above
This is a method using only c. In this method, the data exchange control means 28c does not exist, and the writing order is controlled only by the stack 62 shown in FIG. (Claim 2
(Correspondence) The control unit 22c forcibly writes the storage address "4k" of the update data to the address "0" of the stack 62c and sets the content of the stack address pointer 61c to "0". The content of the number of data in the stack 63 is changed from "1" to "2". In this method, some kind of data exchange means is required for R / W of general data other than remote file data.
【0061】.上記データ入れ換え制御手段28c
及び書込み順制御手段27cの両方の手段を有する
が、本体装置1cから送付されたデータをBS24cに
書き込む時には、図3に示すように、最新のアクセス時
刻9cをt5とし、一般データと同じ扱いとする。.. The data exchange control means 28c
Although it has both means of writing order control means 27c, when writing the data sent from the main body apparatus 1c to the BS 24c, the latest access time 9c is set to t5 as shown in FIG. To do.
【0062】しかし、図4に示すように、強制的にスタ
ック62のアドレス「0」に該更新データのBS24c
の格納アドレス「4k」を書込み、スタックアドレスポ
インタ61cの内容を「0」とする。スタック内データ
個数63cの内容を「1」から「2」に変更する。However, as shown in FIG. 4, the update data BS24c is forcibly placed at the address "0" of the stack 62.
The storage address "4k" is written to set the content of the stack address pointer 61c to "0". The content of the number of data in the stack 63c is changed from "1" to "2".
【0063】この処理により、アクセス時刻9cはt5
となり、未書込みのデータ2(アクセス時刻t2)が存
在するにも関わらず、書込み順の制御を行うスタック6
2cで最優先となるために、該更新データが先にディス
ク3cに書き込まれる。 この方法は、リモートファイ
ル用の更新データを正副両センタのアプリが近々再使用
するような場合には有効となる。何故なら、BS24
c,dに該更新データが存在すれば、CPU1c,dに
高速に該更新データを送付出来るからである。By this processing, the access time 9c is t5.
Therefore, the stack 6 that controls the writing order even though the unwritten data 2 (access time t2) exists
2c has the highest priority, so the update data is written to the disk 3c first. This method is effective when the update data for the remote file will be reused by the apps of both the primary and secondary centers in the near future. Because BS24
This is because if the update data exists in c and d, the update data can be sent to the CPUs 1c and d at high speed.
【0064】.上記データ入れ換え制御手段28c
及び書込み順制御手段27cの両方の手段を有し、両
方の手段を活用する。最新のアクセス時刻9cを強制的
に最古の時刻t0とし、尚且つ、図4に示すように、強
制的にスタック62のアドレス「0」に該更新データの
格納アドレス「4k」を書込み、スタックアドレスポイ
ンタ61の内容を「0」とする。スタック内データ個数
63の内容を「1」から「2」に変更する。.. The data exchange control means 28c
And write order control means 27c, and both means are utilized. The latest access time 9c is forcibly set to the oldest time t0, and as shown in FIG. 4, the storage address "4k" of the update data is forcibly written to the address "0" of the stack 62, and the stack The content of the address pointer 61 is set to "0". The content of the number of data in the stack 63 is changed from "1" to "2".
【0065】この方法は、上記と逆にリモートファイ
ル用の更新データを近々再使用しないような場合に有効
となる。何故なら、BS24c,dに該更新データが存
在しても、制御部22c,dがその後の新しいデータ用
にその領域を優先的に使用出来るからである。This method is effective in the case where the update data for the remote file is not reused in the near future, contrary to the above. This is because even if the updated data exists in the BSs 24c and d, the control units 22c and d can preferentially use the area for new data thereafter.
【0066】上記〜の内、何れかの方法でBS24
cに書き込んだ後、DA23cは指定されたデータをデ
ィスク3cに書き込む。書込みが完了した場合には、図
5に示すように、信号Xを論理値「1」にする。BS24 can be obtained by any of the above methods.
After writing to c, the DA 23c writes the specified data to the disk 3c. When the writing is completed, the signal X is set to the logical value "1" as shown in FIG.
【0067】尚、正センタ側のFCUの手法と副センタ
側のFCUの手法とを別の手法にしても良い。例えば、
正センタ側の手法を上記とし、副センタ側の手法を上
記の手法とする。The method of the FCU on the main center side and the method of the FCU on the sub center side may be different methods. For example,
The method on the primary center side is the above, and the method on the secondary center side is the above method.
【0068】(3).制御部22cは、上記(2)で説
明したよしに、BS24cに更新データを書込み、DA
23cにディスク3cへ更新データを書き込むように指
令した後、BS24cのアドレス「4k」を指定してR
A25cに副センタ側に更新データを送付するように指
令する。ここで、制御部22cのDA23cに対する書
込み指令と、RA25cに対する送付指令との時間的順
序関係は、どちらが先でもよい。(3). As described in (2) above, the control unit 22c writes the update data to the BS 24c, DA
After instructing 23c to write the update data to the disk 3c, the address "4k" of the BS 24c is designated and R
The A25c is instructed to send the update data to the sub center side. Here, the temporal order relationship between the write command to the DA 23c of the control unit 22c and the send command to the RA 25c may be either first.
【0069】又、ディスク3cへの書込みに当たって
は、書込みエラーが発生し、再書込みを行う場合もある
し、RA25cからのデータ送付に当たっては、送付エ
ラーが発生し、再送付を行う場合もある故、一般には、
ディスク3cへの書込み動作と、副センタ側への送付動
作とは独立に実行される。When writing to the disk 3c, a write error may occur and rewriting may be performed, and when data is transmitted from the RA 25c, a delivery error may occur and redelivery may be performed. , In general,
The writing operation to the disk 3c and the sending operation to the sub center side are executed independently.
【0070】勿論、幾つかのデータ毎に書込み動作と送
付動作とを同期をとって同時並行的におこなっても良
い。 (4).副センタ側のRA25dは、リモートファイル
更新データを受信すると制御部22dに対してデータの
送付があったことを通知する。制御部22dは、BS2
4dの内容を調べLRU方式に従って、受信データを書
き込むべきBS24dのアドレスを決定し、そのアドレ
スから順に更新データをBS24dに書き込む。Of course, the writing operation and the sending operation may be simultaneously performed in parallel for some data. (4). Upon receiving the remote file update data, the sub-center RA 25d notifies the control unit 22d that the data has been sent. The control unit 22d uses BS2
The contents of 4d are checked, the address of the BS 24d to which the received data is to be written is determined according to the LRU method, and the update data is written to the BS 24d in order from that address.
【0071】この時、制御部22dはリモートファイル
の更新であるかどうかをチェックし、リモートファイル
の更新であった場合には、前記(2)〜の何れかの
方法で、更新データをBS24dに書き込み、或いは、
スタック62d等の内容を変更する。At this time, the control unit 22d checks whether or not it is the update of the remote file, and if it is the update of the remote file, the update data is sent to the BS 24d by any one of the methods (2) to (2). Write or
The contents of the stack 62d and the like are changed.
【0072】(5).制御部22dは、DA23dに対
してBS24dのアドレスを指定してディスク3dに書
き込むように指令する。ディスク3dは書込みが完了す
ると、DA23dを経由して制御部22dに書込み完了
を通知する。制御部22dは、リモートファイルの書込
み完了であることを確認して、書込み完了信号をRA2
5dから正センタ側へ送付する。正センタ側では、この
書込み完了信号は図5で示す信号Yとなる。尚、書込み
完了信号Yを発生する手段としては上記以外に次のよう
な方法がある。(5). The control unit 22d instructs the DA 23d to specify the address of the BS 24d and write it on the disk 3d. When the writing of the disk 3d is completed, the disk 3d notifies the control unit 22d of the completion of the writing via the DA 23d. The control unit 22d confirms that the writing of the remote file is completed, and then sends the writing completion signal to RA2.
Send from 5d to the main center side. On the positive center side, this write completion signal is the signal Y shown in FIG. As a means for generating the write completion signal Y, there is the following method other than the above.
【0073】.BS24dへの書込み完了 .n番目の更新データが正センタから送付された時
に、該n番目の更新データのBS24dへの書込み完了
及び(nー1)番目の更新データのディスク3dへの書
込み完了 (6).正センタ側のRA25cは、上記(5)の何れ
かの方法による副センタ側の書込み完了信号Yを制御部
22cに通知する。[0073] Completion of writing to BS24d. When the nth update data is sent from the main center, the writing of the nth update data to the BS 24d and the writing of the (n-1) th update data to the disk 3d are completed (6). The RA 25c on the primary center side notifies the control unit 22c of the write completion signal Y on the secondary center side according to any one of the above methods (5).
【0074】制御部22cは、図5に示すように、自装
置の書込み完了信号Xと該他装置の書込み完了信号Yと
から書込み完了信号Zを生成して、リモートファイルの
更新依頼をした本体装置1cへ更新完了を通知する。As shown in FIG. 5, the controller 22c generates a write completion signal Z from the write completion signal X of its own device and the write completion signal Y of the other device, and requests the remote file update. The update completion is notified to the device 1c.
【0075】自装置の書込み完了信号Xの発生方法とし
ては、以下のものがある。 .CHA経由でn番目のデータの書込み及び送付要求
があった時に、(nー1)番目のデータをディスク3c
への書込み完了をもって信号Xを「1」とする(請求項
3対応)。There are the following methods of generating the write completion signal X of the device itself. . When there is a request to write and send the nth data via CHA, the (n-1) th data is sent to the disk 3c.
The signal X is set to "1" upon completion of writing in (corresponding to claim 3).
【0076】.n番目のデータの書込み及び送付要求
があった時に、該n番目のデータのBS24cへの書込
み完了をもって信号Xを「1」とする。何れにしても、
どこにどのデータを書き込んだことをもって更新完了と
するかを予め決めておけば、正センタ側のCPU(アプ
リケーションプログラム)11cでは、どのデータまで
リモートファイルが更新されたかを知ることが可能とな
る。.. When there is a request to write and send the nth data, the signal X is set to "1" upon completion of writing the nth data to the BS 24c. Whatever it is,
If it is determined in advance which data is written and where the update is completed, the CPU (application program) 11c on the main center side can know up to what data the remote file has been updated.
【0077】又、本実施例においては、副センタ側のC
PU(アプリケーションプログラム)11dに対して
は、リモートファイルの更新完了通知は送付されない
が、通知するように構成しても良い。この場合には、当
然のことながらその通知を処理するアプリケーションプ
ログラムが走行していなければならない。In this embodiment, C on the sub center side
Although the update completion notification of the remote file is not sent to the PU (application program) 11d, it may be configured to notify. In this case, of course, the application program that handles the notification must be running.
【0078】[0078]
【発明の効果】以上の説明から明らかなように本発明に
よれば、コンピュータセンタのバックアップに関し、正
センタのファイル更新に対して、僅かな時間遅れで副セ
ンタのリモートファイルを更新することが可能となる。As is apparent from the above description, according to the present invention, regarding the backup of the computer center, the remote file of the sub center can be updated with a slight time delay with respect to the file update of the main center. Becomes
【0079】又、正センタ側のCPU(アプリケーショ
ンプログラム)では、どのデータまでリモートファイル
が更新されたかを知ることが可能となる。このように、
コンピュータネットワークのファイルの保護に関して信
頼度を向上させるという工業的効果がある。Further, the CPU (application program) on the main center side can know to what extent the remote file has been updated. in this way,
It has the industrial effect of increasing the reliability of protecting files on a computer network.
【図1】 本発明の原理説明図FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】 本発明の実施例構成図FIG. 2 is a block diagram of an embodiment of the present invention.
【図3】 バッファメモリのデータ追い出し管理(LR
U)テーブル[Fig. 3] Data eviction management of buffer memory (LR
U) Table
【図4】 書込み順制御(FIFO)テーブルFIG. 4 Write Order Control (FIFO) table
【図5】 書込み完了信号生成回路とタイムチャートFIG. 5: Write completion signal generation circuit and time chart
【図6】 従来のデータ転送例FIG. 6 Example of conventional data transfer
1 第一の他装置 1a,1b,1c,
1d 本体装置 2 記憶制御装置 20
第二の他装置 2a,2b,2c,2d ファイル制御装置 3 第二の記憶部 3a,3b,3c,
3d ディスク 4a,4b,4c,4d 通信制御装置 5a,5b 端末 11a,11b,11c,11d CPU 12a,12b,12c,12d CH 21 第一の入出力手段 23 第
二の入出力手段 21a,21b,21c,21d CHA 22a,22b,22c,22d,22 制御部 23a,23b,23c,23d DA 24a,24b,24c,24d BS 25 第三の入出力手段 25c,25
d RA 26c,26d 書込み完了報告手段 27c,27d 書込み順制御手段 28c,28d データ入れ換え制御手段 6c,d データ 7c,d
R/Wモード 8c,d W完了 9c,d 最
新のアクセス時刻 61c,d スタックアドレスポインタ 62c,d スタック 63 ス
タック内データ個数 71c AND 72c F
F1 1st other device 1a, 1b, 1c,
1d Main unit 2 Storage controller 20
Second other device 2a, 2b, 2c, 2d File control device 3 Second storage unit 3a, 3b, 3c,
3d disk 4a, 4b, 4c, 4d communication control unit 5a, 5b terminal 11a, 11b, 11c, 11d CPU 12a, 12b, 12c, 12d CH 21 first input / output unit 23 second input / output unit 21a, 21b, 21c, 21d CHA 22a, 22b, 22c, 22d, 22 control section 23a, 23b, 23c, 23d DA 24a, 24b, 24c, 24d BS 25 third input / output means 25c, 25
d RA 26c, 26d Write completion reporting means 27c, 27d Write order control means 28c, 28d Data exchange control means 6c, d Data 7c, d
R / W mode 8c, d W completion 9c, d Latest access time 61c, d Stack address pointer 62c, d stack 63 Number of data in stack 71c AND 72c F
F
Claims (3)
と、第二の入出力手段と、第三の入出力手段とから構成
される記憶制御装置であって、 該第一の入出力手段は、他装置との間のインタフェース
であり、 該第二の入出力手段は、他装置との間のインタフェース
であり、 該第三の入出力手段は、他装置との間のインタフェース
であり、 該第一の入出力手段を経由してデータの書込み及び送付
要求が該記憶制御装置にあった場合には、 該制御部は該データを該記憶部に書込み、その後該記憶
部より該データを読み出して該第二の入出力手段及び該
第三の入出力手段を経由して出力し、 該第三の入出力手段を経由してデータの書込み要求が該
記憶制御装置にあった場合には、 該制御部は該データを該記憶部に書込み、その後該記憶
部より該データを読み出して該第二の入出力手段を経由
して出力し、 該第三の入出力手段を経由してデータの読出し要求が該
記憶制御装置にあった場合には、 該制御部は、該指定されたデータを該記憶部より読み出
し、又は、該第二の入出力手段を経由して読み出して該
記憶部に書き込んだ後該記憶部より読み出し、該第三の
入出力手段を経由して出力することを特徴とする記憶制
御装置。1. A storage control device comprising a first input / output unit, a control unit, a storage unit, a second input / output unit, and a third input / output unit. Input / output means is an interface with another device, the second input / output means is an interface with another device, and the third input / output means is an interface with another device. The interface is an interface, and when a request to write and send data is made to the storage control device via the first input / output means, the control unit writes the data to the storage unit, and then the storage unit. The data is read out and output via the second input / output unit and the third input / output unit, and a data write request is sent to the storage control device via the third input / output unit. If the control unit writes the data to the storage unit, the control unit then writes the data to the storage unit. If the storage control device receives a data read request via the third input / output means and outputs the data via the second input / output means, the control unit , The specified data is read from the storage unit, or is read via the second input / output unit and written in the storage unit, and then read from the storage unit, and is read via the third input / output unit. A storage control device characterized by outputting the output.
付加し、 該第一の入出力手段を経由してデータの書込み及び送付
要求が該記憶制御装置にあった場合に、 又は、該第三の入出力手段を経由してデータの書込み要
求が該記憶制御装置にあった場合に、 該書込み順制御手段により該データの該第二の入出力手
段から出力する優先度を上げることを特徴とする記憶制
御装置。2. The method according to claim 1, wherein write order control means is added, and when a request for writing and sending data via the first input / output means is in the storage control device, or When a data write request is made to the storage control device via the third input / output means, the write order control means increases the priority of outputting the data from the second input / output means. Storage controller.
を付加し、 第一の入出力手段を経由してn番目のデータの書込み及
び送付要求が該記憶制御装置にあった場合に、 少なくとも、(nー1)番目のデータを該第二の入出力
手段から出力し、該出力データに対する処理完了応答を
該第二の入出力手段を経由して受信した条件、又は、該
n番目のデータを該第三の入出力手段から出力し、その
後該n番目のデータに対する該第三の入出力手段経由の
書込み完了報告の受信条件、 の何れか一方の完了条件が満足された場合に、 該書込み完了報告手段は、該第一の入出力手段を経由し
てn番目のデータの書込み完了を報告することを特徴と
する記憶制御装置。3. The method according to claim 1, further comprising write completion reporting means, and when a write and send request for nth data is made to the storage control device via the first input / output means, at least: The condition of outputting the (n-1) th data from the second input / output means and receiving a processing completion response to the output data via the second input / output means, or the nth data Is output from the third input / output unit, and thereafter, any one of the following completion conditions for receiving the write completion report for the n-th data via the third input / output unit is satisfied: The storage control device, wherein the write completion reporting means reports the write completion of the n-th data via the first input / output means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6310326A JPH08166909A (en) | 1994-12-14 | 1994-12-14 | Storage controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6310326A JPH08166909A (en) | 1994-12-14 | 1994-12-14 | Storage controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08166909A true JPH08166909A (en) | 1996-06-25 |
Family
ID=18003894
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6310326A Pending JPH08166909A (en) | 1994-12-14 | 1994-12-14 | Storage controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08166909A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000089998A (en) * | 1998-09-09 | 2000-03-31 | Fujitsu Ltd | Remote file control device |
| JP2000099277A (en) * | 1998-09-18 | 2000-04-07 | Fujitsu Ltd | Remote transfer method between file units |
| US6785791B2 (en) | 2001-03-29 | 2004-08-31 | Fujitsu Limited | Method for accessing data being copied between data regions before the copying is completed |
-
1994
- 1994-12-14 JP JP6310326A patent/JPH08166909A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000089998A (en) * | 1998-09-09 | 2000-03-31 | Fujitsu Ltd | Remote file control device |
| JP2000099277A (en) * | 1998-09-18 | 2000-04-07 | Fujitsu Ltd | Remote transfer method between file units |
| US6785791B2 (en) | 2001-03-29 | 2004-08-31 | Fujitsu Limited | Method for accessing data being copied between data regions before the copying is completed |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7124258B2 (en) | Storage system and storage device system | |
| KR100194295B1 (en) | How to update the status of data processing systems and queues | |
| US7197616B2 (en) | Virtual ordered writes | |
| US8589642B2 (en) | Computer system duplicating writes by synchronous remote copy with multiple host computers using heterogeneous operating systems | |
| RU2108621C1 (en) | Trouble-free computing system and its organization process | |
| US7234033B2 (en) | Data synchronization of multiple remote storage facilities | |
| US5742792A (en) | Remote data mirroring | |
| CN100565464C (en) | Remote copy system | |
| US6981008B2 (en) | Method for duplicating data of storage subsystem and data duplicating system | |
| US7921269B2 (en) | Storage subsystem and storage system for updating snapshot management information | |
| US8433862B2 (en) | Storage system for adjusting asynchronous copy load based on cache activity rate | |
| US20030177321A1 (en) | Data synchronization of multiple remote storage after remote copy suspension | |
| US20080275926A1 (en) | Storage system and method of copying data | |
| US20090144345A1 (en) | System and article of manufacture for consistent copying of storage volumes | |
| JPH08166909A (en) | Storage controller | |
| EP1693756B1 (en) | Storage subsystem and storage system | |
| JP4193754B2 (en) | Data duplication method and program | |
| JPH0324634A (en) | Double system device | |
| JP3260435B2 (en) | Information communication system | |
| JPH11305950A (en) | Remote transfer method by magnetic disk controller | |
| JPH04291650A (en) | Information processing system with data destruction prevention function |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040106 |