JPH0242523A - Disk controller, difference back-up method and computer system - Google Patents

Disk controller, difference back-up method and computer system

Info

Publication number
JPH0242523A
JPH0242523A JP63192715A JP19271588A JPH0242523A JP H0242523 A JPH0242523 A JP H0242523A JP 63192715 A JP63192715 A JP 63192715A JP 19271588 A JP19271588 A JP 19271588A JP H0242523 A JPH0242523 A JP H0242523A
Authority
JP
Japan
Prior art keywords
management table
data management
update data
updated
disk
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
JP63192715A
Other languages
Japanese (ja)
Inventor
Kazuaki Tanaka
和明 田中
Teizaburo Kanai
金居 貞三郎
Masashi Nozawa
野沢 正史
Masayuki Hoshino
星野 政行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63192715A priority Critical patent/JPH0242523A/en
Publication of JPH0242523A publication Critical patent/JPH0242523A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To add an application propriety flag of an update data control table B to a nonvolatile memory and to reduce the back-up value by preparing an update data control table A for each block using an update presence/absence flag in a volatile memory and adding the table B for each track using the update presence/absence flag to the nonvolatile memory respectively. CONSTITUTION:The higher rank systems 101, 102, 115 and 116 give the register and update requests to a disk controller 103 for the data stored in a disk device 114. These requests are received by a microprocessor 106 of the controller 103 via a channel interface 104. Then the processor 106 sets the contents of the requests at a data buffer 105. The data stored in the device 114 are updated via a device interface control part 113. The bit of an update data control table A108 set in a volatile memory 107 corresponding to the due position in the device 114 is set in an update presence state. In the same way, the corresponding bit of an update data control table B110 set in a nonvolatile memory 109 having a nonvolatile mechanism 112 is set in an update presence state respectively.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 磁気ディスク等の外部記憶装置内データの更新部分の管
理表を、揮発メモリと不揮発メモリとに2層化して管理
した経済的で且つバックアップ量を大幅に削減可能な磁
気ディスク装置に代表されるディスク装置のディスク制
御装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] An economical and backup method that manages a management table of updated portions of data in an external storage device such as a magnetic disk by dividing it into volatile memory and non-volatile memory. The present invention relates to a disk control device for a disk device, typified by a magnetic disk device, which can significantly reduce the amount of storage.

〔従来の技術〕[Conventional technology]

従来技術では、特開昭57−90770に記載のように
ジョブの実行で変更をうけたデータの存在場所を記録し
ておく制御メモリを磁気ディスク装置等に設けておき、
データバックアップ時には制御メモリの内容を上位シス
テムが読込んで、それに基づき更新部分のデータ読込み
要求を磁気ディスク装置等に出すデータバックアップh
式となっていた。
In the prior art, as described in Japanese Patent Laid-Open No. 57-90770, a control memory is provided in a magnetic disk device or the like to record the location of data that has been changed during job execution.
During data backup, the host system reads the contents of the control memory and issues a data read request for the updated portion to a magnetic disk device, etc. h
It was a ceremony.

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

上記従来技術は、更新データ管理表での更新部分の管理
単位と、それを記憶するメモリの経済性に関する配慮が
されていない。バックアップ量を減らすためには、更新
部分をより小さな単位例えばシリンダ単位よりはブロッ
ク単位、ブロック単位よりはレコード単位で管理する方
が望しいが、更新データ管理表の信頼性を考えて不揮発
性メモリで実現すると、不揮発化のためのバツテリイ等
の設備費用が高く経済的にその容量を大きくとることが
できない。更新データ管理表の大きさは、例えば15ギ
ガバイトの容量を有する磁気ディスク装置8台を制御す
る磁気ディスク制御装置内の制御メモリの場合、1トラ
ック40キロハイ1−単位に仮に1ビツトのメモリで管
理すると3メカピツトの制御メモリ容量となる。
The above-mentioned conventional technology does not consider the management unit of the update portion in the update data management table and the economic efficiency of the memory that stores it. In order to reduce the amount of backup, it is preferable to manage updates in smaller units, such as blocks rather than cylinders, and records rather than blocks. If this is realized, the cost of equipment such as batteries for non-volatization is high, and the capacity cannot be increased economically. For example, in the case of a control memory in a magnetic disk control device that controls eight magnetic disk devices with a capacity of 15 gigabytes, the size of the update data management table is managed by 1 bit of memory per track of 40 kilobytes. This results in a control memory capacity of 3 mechanical pits.

これを、更に、1ブロツク4キロバイト単位に管理する
と30メガビツト必要となる。
If this is further managed in units of 4 kilobytes per block, 30 megabits will be required.

本発明の目的は、バックアップ量削減と経済性とを勘案
したディスク制御装置を実現することにある。
An object of the present invention is to realize a disk control device that takes into consideration reduction in backup volume and economic efficiency.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、シリンダ番号、トラック番号、ブロック番
号、更新有無フラグから成るブローク単位で更新部分を
管理する更新データ管理表Aを揮発性メモリ内に設け、
シリンダ番号、トラック番号、更新有無フラグから成る
トラック単位の更新データ管理表Bと、更新データ管理
表Bの使用可否フラグとを不揮発性メモリ内に設けて管
理し、上位システムからの更新データ管理表の転送要求
に対応して、上記フラグに基づき更新データ管理表Aと
Bとを選択して、上位システムに転送する手段とを設け
ることにより、達成される。
The above purpose is to provide an update data management table A in volatile memory that manages updated portions in units of blocks, consisting of cylinder numbers, track numbers, block numbers, and update/non-update flags.
An update data management table B for each track consisting of a cylinder number, track number, and an update flag, and a usability flag for the update data management table B are provided and managed in non-volatile memory, and the update data management table B from the host system is managed. This is achieved by providing a means for selecting the updated data management tables A and B based on the above-mentioned flags in response to a transfer request, and transferring the selected update data management tables to the host system.

〔作用〕[Effect]

(1)第1の発明は、上記手段を下記のように動作させ
ることで実現できる。図1参照。
(1) The first invention can be realized by operating the above means as follows. See Figure 1.

(a)上位システム(101,102,115゜116
の総称)から、ディスク装置114内のデータの登録や
更新(以下まとめて更新と記す)要求がディスク制御装
置103に出されると、ディスク制御装置103のマイ
クロプロセッサ106はチャネルインタフェース制御部
104で受け、要求内容をデータバッファに設定する。
(a) Upper system (101, 102, 115°116
When a request for registering or updating (hereinafter collectively referred to as update) data in the disk device 114 is issued to the disk control device 103 from a computer (generic term for , set the request contents in the data buffer.

次に、デバイスインタフェース制御部113を介してデ
ィスク装置114内のデータを更新する。
Next, data in the disk device 114 is updated via the device interface control unit 113.

その後、更新データのディスク装置内での位置(シリン
ダ番号、トラック番号、ブロック番号で特定される)に
対応する揮発性メモリ107内の更新データ管理表Al
O3のビットを更新有りの状態にする。同様にバッテリ
などの不揮発化機構112を有する不揮発性メモリ1.
09内の更新データ管理表8110の対応ビットも更新
有りの状態にする。
Thereafter, an update data management table Al in the volatile memory 107 corresponding to the location of the update data in the disk device (specified by cylinder number, track number, block number)
Set the O3 bit to an updated state. Similarly, a non-volatile memory 1. has a non-volatile mechanism 112 such as a battery.
The corresponding bit in the update data management table 8110 in 09 is also set to an updated state.

(b)上位システムから、更新データ管理表の転送要求
がディスク制御装置に出されると、マイクロプロセッサ
は、不揮発性メモリ内の更新データ管理表Aの使用可否
フラグ111の内容を見て、使用可ならば、ブロック単
位で更新部分が管理されている更新データ管理表Aと管
理表の区別を示す情報とを上位システムに転送する。使
用不可ならばトラック単位で更新部分が管理されている
更新データ管理表Bと管理表の区別を示す情報とを上位
システムに転送する。
(b) When the host system sends a request to transfer the update data management table to the disk controller, the microprocessor checks the availability flag 111 for the update data management table A in the non-volatile memory and determines whether the update data management table A can be used or not. If so, the updated data management table A, in which updated portions are managed in block units, and information indicating the distinction between the management tables are transferred to the higher-level system. If it cannot be used, the update data management table B, in which updated portions are managed on a track-by-track basis, and information indicating the distinction between the management tables are transferred to the higher-level system.

(2)第2の発明(1) (b)において、上位システ
ムからの更新データのみの転送要求に対し、使用可能な
らば揮発性メモリ内の更新データ管理表A、使用不可な
らば不揮発性メモリ内の更新管理表Bに基づき、ディス
ク装置から更新データを読込んで、上位システムに転送
する手段を付加して、作用させることで実現できる。
(2) In the second invention (1) (b), in response to a request to transfer only update data from the host system, the update data management table A is stored in the volatile memory if it is available, and in the non-volatile memory if it is not available. This can be achieved by adding means for reading update data from the disk device and transferring it to the higher-level system based on update management table B in the table.

(3)第3の発明は、(1) (b)において、(2)
と同様の判断で読込まれた更新データを、上位システム
から指定されたディスク装置に書き込む手段を付加して
作用させることで実現できる。
(3) The third invention is (1) (b), (2)
This can be achieved by adding a means to write the update data read based on the same judgment as above to the disk device specified by the host system.

(4)第4の発明は、(1) (b)において、(2)
と同様の判断で読込まれた更新データを、上位システム
から指定されたディスク装置の同じシリンダ番号、トラ
ック番号、ブロック番号のデータ上に重ね書きする手段
を付加しで作用させることで実現できる。
(4) The fourth invention is (1) (b), (2)
This can be achieved by adding a means to overwrite the update data read with the same judgment as above on the data of the same cylinder number, track number, and block number of the disk device specified by the host system.

(5)第5の発明は、上位システムから更新データ管理
表AまたはBの退避要求があると揮発性メモリ内の更新
データ管理表Aまたは不揮発性メモリ内の更新データ管
理表Bを、上位システムから指定されたディスク装置に
書込む手段を付加して作用させることで実現できる。回
復要求に対しても同様に、上位システムから指定された
ディスク装置から更新データ管理表を読込んで、揮発性
又は不揮発性メモリ内に設定する手段を付加して作用さ
せることで実現できる。
(5) In the fifth invention, when there is a request to save update data management table A or B from the higher level system, the higher level system saves the updated data management table A in the volatile memory or the updated data management table B in the nonvolatile memory. This can be realized by adding a writing means to the specified disk device. Similarly, a recovery request can be realized by adding a means for reading an update data management table from a disk device specified by a host system and setting it in volatile or nonvolatile memory.

(6)第6の発明は、(5)において、更新データ管理
表Aの回復時、不揮発性メモリ内の更新データ管理表B
が初期化されていれば、更新部分をブロック単位で管理
している更新データ管理表Aから、トラック単位の更新
データ管理表Bを自動的に再生成する手段を付加して作
用させることで実現できる。
(6) In the sixth invention, in (5), when the update data management table A is restored, the update data management table B in the nonvolatile memory is
This is achieved by adding and operating a means to automatically regenerate the update data management table B for each track from the update data management table A that manages the updated part in units of blocks if the update data management table A has been initialized. can.

(7)第7の発明は、上位システムに存在する差分バッ
クアップ処理プログラムが、特許請求の範囲1のディス
ク制御装置から転送された管理表の種別に基づき、更新
データ管理表Aから更新データを特定してその読込み命
令を生成する処理と、更新データ管理表Bから更新デー
タを特定してその読込み命令を生成する処理とを使い分
けることで実現できる。
(7) In the seventh invention, the differential backup processing program existing in the host system identifies update data from the update data management table A based on the type of management table transferred from the disk control device according to claim 1. This can be achieved by selectively using two processes: the process of identifying the update data from the update data management table B and generating the read command.

(8)第8の発明は、コンソールなどを介して利用者か
ら指示される特許請求の範囲1,2,3゜4のディスク
制御装置のオンライン化の処理の中で、上位システムか
ら更新データ管理表Aに対する(5)または(6)の回
復要求をディスク制御装置に対し発すること、同様に利
用者からのオフライン化の指示に対する処理の中で、上
位システムから更新データ管理表Aに対する(5)の退
避要求をディスク制御装置に対し発することで実現でき
る。
(8) The eighth invention provides update data management from a host system in the process of bringing the disk control device online according to claims 1, 2, 3, and 4, which is instructed by a user via a console or the like. Issuing the recovery request (5) or (6) for table A to the disk controller; similarly, (5) for update data management table A from the upper system in response to an offline instruction from the user. This can be achieved by issuing an evacuation request to the disk controller.

〔実施例〕〔Example〕

以下、本発明の特許請求の範囲1の一実施例を第1図に
基づき説明する。
An embodiment of claim 1 of the present invention will be described below with reference to FIG.

第1図は本発明の全体構成を示した図である。FIG. 1 is a diagram showing the overall configuration of the present invention.

101はCP U (Central Process
ing Unit :中央処理装置)、102はチャネ
ル、103は磁気ディスク制御装置に代表されるディス
ク制御装置、104はチャネル102と磁気ディスク装
置に代表されるディスク制御装置103とのデータのや
り取りを行なうチャネルインタフェース制御部105は
一時的にデータを貯えるデータバッファ。
101 is a CPU (Central Process).
ing Unit: central processing unit), 102 is a channel, 103 is a disk control device represented by a magnetic disk control device, and 104 is a channel for exchanging data between the channel 102 and the disk control device 103 represented by a magnetic disk device. The interface control unit 105 is a data buffer that temporarily stores data.

106はディスク制御装置i!103を制御するマイク
ロプロセッサ、107はディスク装置114内のデータ
のある時点以降の更新部分をブロック単位で管理する更
新データ管理表AlO3が記憶される揮発性メモリ、1
09は同様にトラック単位の更新データ管理表8110
と、更新データ管理表Aの使用可否フラグ111とが記
憶される不揮発性メモリ、112はバツテリイなどで構
成される不揮発性メモリ109に対する不揮発化機構、
113はディスク制御装置103とディスク装置114
とのデータのやり取りを行なうデバイスインタフェース
制御部、115は主記憶装置、116はディスク装置内
のデータの更新要求や、更新データ管理表の読込み要求
などを発行するプログラムであり、本実施例では101
,102,115゜116を総称して上位システムと呼
ぶ。
106 is a disk controller i! 107 is a volatile memory that stores an update data management table AlO3 that manages updated portions of data in the disk device 114 after a certain point in block units;
Similarly, 09 is an update data management table 8110 for each track.
112 is a nonvolatile memory for storing the availability flag 111 of update data management table A, and 112 is a nonvolatile mechanism for the nonvolatile memory 109 composed of a battery, etc.;
113 is a disk control device 103 and a disk device 114
115 is the main storage, 116 is a program that issues requests to update data in the disk device, requests to read the updated data management table, etc. In this embodiment, 101
, 102, 115, and 116 are collectively called the upper system.

上位システムからのデータ更新要求、更新データ管理表
読み込み要求、更新データ管理表初期化要求により、デ
ィスク制御装置103内のマイクロプロセッサ106は
、第2図のごとく動作する。
The microprocessor 106 in the disk controller 103 operates as shown in FIG. 2 in response to a data update request, an update data management table read request, and an update data management table initialization request from the host system.

データ更新要求であれば(201)、デバイスインタフ
ェース制御部113に対し、ディスク装置114への更
新データの書込みを要求する(202)。
If it is a data update request (201), it requests the device interface control unit 113 to write update data to the disk device 114 (202).

更新データの書込み場所を示すシリンダ番号、トラック
番号、ブロック番号は、従来技術と同じく、上位システ
ムから、更新データと共に渡されるものとする。次に、
更新データのディスク装置内のシリンダ番号、トラック
番号、ブロック番号に対応する更新データ管理表BII
Oのビットを更新有りの状態にする(203)、更新デ
ータ管理表Aの使用可否フラグ111の内容を判定(2
04)し、使用可の状態であれば、更新データ管理表A
lO3のビットも更新有りの状態にする(205)。
It is assumed that the cylinder number, track number, and block number indicating the write location of the update data are passed along with the update data from the host system, as in the prior art. next,
Update data management table BII corresponding to the cylinder number, track number, and block number in the disk device of update data
The bit of O is set to the updated state (203), and the contents of the usability flag 111 of the update data management table A are determined (2
04) If the status is usable, update data management table A
The bit of lO3 is also set to an updated state (205).

使用不可の状態であれば、更新データ管理表AlO3の
更新は行わず処理を終了する。
If it is in an unusable state, the process ends without updating the update data management table AlO3.

更新データ管理表読み込み要求であれば(206)。If it is an update data management table read request (206).

更新データ管理表Aの使用可否フラグ111の内容を判
定(207)、使用可の状態であれば、更新データ管理
表Aと、管理表が更新データ管理表Aであることを示す
情報とを上位システムに転送する(208)。使用不可
の状態であれば、更新データ管理表Bと、管理表が更新
データ管理表Bであることを示す情報とを上位システム
に転送する(209)。
The content of the usability flag 111 of the update data management table A is determined (207), and if the update data management table A is usable, the update data management table A and the information indicating that the management table is the update data management table A are transferred to the upper level. Transfer to the system (208). If it is in an unusable state, update data management table B and information indicating that the management table is update data management table B are transferred to the higher-level system (209).

更新データ管理表初期化要求であれば(210)、更新
データ管理表AおよびBの表を夫々揮発メモリ、不揮発
メモリ上に作成して初期化(211)するとともに、不
揮発メモリ上に、更新データ管理表Aの使用可否フラグ
を設け、それを使用可の状態にする(212)。
If it is an update data management table initialization request (210), update data management tables A and B are created and initialized on volatile memory and nonvolatile memory, respectively (211), and update data is stored on the nonvolatile memory. A usability flag is set for management table A, and it is set in a usable state (212).

尚、当該フラグはディスク制御装置が電源断などにより
揮発性メモリ内の更新データ管理表Aの内容が消滅した
とき、使用不可の状態にされるものとする。
It is assumed that the flag becomes unusable when the contents of the update data management table A in the volatile memory disappear due to a power cut in the disk control device or the like.

更新データ管理表の論理的な構成例につき、第3図、第
4図に基づき説明する。
An example of the logical configuration of the update data management table will be explained based on FIGS. 3 and 4.

第3図は更新データ管理表Aの論理的な構成例である。FIG. 3 is an example of the logical structure of the update data management table A.

更新部分をブロック単位で管理できるように、シリンダ
番号、トラック番号、ブロック番号および更新の有無を
示す更新情報とから構成される。この例では、更新有り
の場合、ビットをオン1.更新無しの場合ビットをオフ
Oと割当てている。シリンダ番号123. トラック番
号4のブロック番号2.3に対応するデータが更新され
ていることを示す。尚、オン1.オフ0の意味を逆に割
当でても良い。
It is composed of a cylinder number, track number, block number, and update information indicating whether or not there has been an update so that the updated portion can be managed in units of blocks. In this example, if there is an update, the bit is set to 1. If there is no update, the bit is assigned as OFF. Cylinder number 123. This indicates that the data corresponding to block number 2.3 of track number 4 has been updated. In addition, on 1. The meaning of OFF 0 may be assigned in reverse.

第4図は更新データ管理表Bの論理的な構成例である。FIG. 4 is an example of the logical configuration of the update data management table B.

更新部分をトラック単位で管理できるように、シリンダ
番号、トラック番号および更新の有無を示す更新情報と
から構成される。更新情報の内容は第3図と同様である
。この例では、シリンダ番号123のトラック番号4,
6.7が更新されていることを示す。
It consists of a cylinder number, a track number, and update information indicating whether or not there has been an update so that the updated portion can be managed on a track-by-track basis. The contents of the update information are the same as in FIG. 3. In this example, track number 4 of cylinder number 123,
6.7 has been updated.

尚、更新データ管理表の物理的な構成例として論理的構
成例と同じ内容としても良いし、シリンダ番号、トラッ
ク番号、ブロック番号は管理表に含めず更新情報だけで
構成し、更新部分と対応をとるときは、ディスク装置の
シリンダ数、トラック数、ブロック数などから演算して
、目的とするシリンダ、トラック、ブロックに対応する
更新情報を特定するなどの実現例が考えられる。物理的
な構成例は、本発明の目的ではないので省略する。
Note that the physical configuration example of the update data management table may be the same as the logical configuration example, or the management table may not include cylinder numbers, track numbers, and block numbers, and may consist only of update information and correspond to the updated parts. When determining the update information, an example implementation may be to calculate the number of cylinders, tracks, blocks, etc. of the disk device and specify the update information corresponding to the target cylinder, track, or block. A physical configuration example is omitted because it is not the purpose of the present invention.

本発明の特許請求の範囲2の一実施例につき説明する。An embodiment of claim 2 of the present invention will be described.

全体構成や、更新データ管理表A、Bの構成は特許請求
の範囲1の一実施例と同様である。
The overall configuration and the configurations of update data management tables A and B are similar to the embodiment of claim 1.

又、上位システムからのデータ更新要求や更新データ管
理表の初期化要求に対するディスク制御装置104内の
マイクロプロセッサの動作も同様である。
Further, the operation of the microprocessor within the disk controller 104 in response to a data update request or an update data management table initialization request from the host system is similar.

ここでは、更新データのみの転送要求に対する動作につ
いて、第5図に基づき説明する。
Here, the operation in response to a request to transfer only update data will be explained based on FIG.

上位システムからの更新データのみの転送要求であれば
(501)、更新データ管理表Aの使用可否フラグ11
1の内容を判定(502)L、、使用可であれば更新デ
ータをブロック単位で管理している更新データ管理表A
lO3に基づき、ディスク装置i!114から更新デー
タを読み込み、上位システムへ転送する(503)、使
用不可であれば更新データをトラック単位で管理してい
る更新データ管理表B110に基づきディスク装ft1
14から更新データを読み込み、上位システムへ転送す
る(504)。
If the request is to transfer only update data from the upper system (501), the availability flag 11 of update data management table A is set.
Determine the contents of 1 (502) L. If available, update data management table A that manages update data in blocks.
Based on lO3, disk device i! 114 and transfers it to the upper system (503). If the update data is not available, the update data is read from the disk drive ft1 based on the update data management table B110 that manages the update data on a track-by-track basis.
14 and transfers it to the higher-level system (504).

以下、本発明の特許請求の範囲3の一実施例を第6図に
基づき説明する。
Hereinafter, one embodiment of claim 3 of the present invention will be described based on FIG. 6.

第6図は本発明の全体構成を示した図である。FIG. 6 is a diagram showing the overall configuration of the present invention.

601は(Central Processing U
nit  :中央処理装置)、602はチャネル、60
3は磁気ディスク制御装置に代表されるディスク制御装
置、604はチャネル602と磁気ディスク装置に代表
されるディスク制御装f1603とのデータのやり取り
を行なうチャネルインタフェース制御部605は一時的
にデータを貯えるデータバッファ、606はディスク制
御装711603を制御するマイクロプロセッサ、60
7はディスク装置604内のデータのある時点以降の更
新部分をブロック単位で管理する更新データ管理表A6
08が記憶される揮発性メモリ、609は同様にトラッ
ク単位の更新データ管理表8610と更新データ管理表
Aの使用可否フラグ611とが記憶される不揮発性メモ
リ、612はバツテリイなどで構成される不揮発性メモ
リ609に対する不揮発性化機構、613はディスク制
御装置603とディスク装置614とのデータのやり取
りを行なうデバイスインタフェース制御部、615は上
位システムから指定された更新部分だけを格納するディ
スク装置、616は主記憶装置、617はディスク装置
内のデータの更新や、更新データのみの転送要求などを
発行するプログラムであり、本実施例では、601゜6
02.616,617を総称して上位システムと呼ぶ。
601 is (Central Processing U
nit: central processing unit), 602 is a channel, 60
3 is a disk control device represented by a magnetic disk control device; 604 is a channel interface control unit that exchanges data between the channel 602 and the disk control device f1603, which is represented by a magnetic disk device; and 605 is a data storage unit that temporarily stores data. A buffer 606 is a microprocessor 60 that controls the disk controller 711603.
7 is an update data management table A6 that manages updated portions of data in the disk device 604 after a certain point in block units.
08 is stored in a volatile memory, 609 is a non-volatile memory in which a track-by-track update data management table 8610 and an update data management table A usability flag 611 are similarly stored, and 612 is a non-volatile memory including a battery. 613 is a device interface control unit that exchanges data between the disk controller 603 and the disk device 614; 615 is a disk device that stores only the updated part specified by the host system; 616 is a The main storage device 617 is a program that updates data in the disk device and issues requests to transfer only updated data.
02.616 and 617 are collectively called the upper system.

更新データ管理表A608および更新データ管理表86
10の構成は特許請求の範囲1の一実施例で示した第3
図、第4図と同じである。
Update data management table A608 and update data management table 86
10 is the third configuration shown in one embodiment of claim 1.
It is the same as Fig. 4.

又、上位システムからのデータ更新要求や更新データ管
理表の初期化要求に対するディスク制御装置604内の
マイクロプロセッサの動作も同様である。
Further, the operation of the microprocessor within the disk controller 604 in response to a data update request or an update data management table initialization request from the host system is also similar.

ここでは、更新データのみの複写要求に対する動作につ
いて、第7図に基づき説明する。
Here, the operation in response to a request to copy only updated data will be explained based on FIG.

上位システムからの更新データのみの複写要求であれば
(701)、更新データ管理表Aの使用可否フラグ61
1の内容を判定(702)L、、使用可であれば更新デ
ータ管理表へ608に基づきディスク装置614から更
新データを読込み、上位システムから指定されたディス
ク装置615にシーケンシャルに書込む(703)。使
用不可であれば同様に更新データ管理表8610に基づ
きディスク装[614から更新データを読込み、ディス
ク装置615にシーケンシャルに書込む(704)。
If the request is to copy only updated data from the higher-level system (701), the update data management table A availability flag 61
Determine the contents of 1 (702) L. If available, read the update data from the disk device 614 based on 608 into the update data management table, and write it sequentially to the disk device 615 specified by the host system (703). . If the update data cannot be used, similarly based on the update data management table 8610, the update data is read from the disk drive 614 and sequentially written to the disk drive 615 (704).

本発明の特許請求の範囲4の一実施例につき説明する。An embodiment of claim 4 of the present invention will be described.

全体構成は、特許請求の範囲3の一実施例と同じである
。但し、ディスク装置615は、更新データを重ね書き
する先として使用される。
The overall configuration is the same as the embodiment of claim 3. However, the disk device 615 is used as a destination for overwriting update data.

更新データ管理表A、Bの構成、および、上位システム
からのデータ更新要求や更新データ管理表の初期化要求
に対するディスク制御装置604内のマイクロプロセッ
サの動作も同様である。
The structure of the update data management tables A and B and the operation of the microprocessor in the disk controller 604 in response to data update requests and update data management table initialization requests from the host system are also similar.

ここでは、更新データのみの重ね書き要求に対する動作
について、第8図に基づき説明する。
Here, the operation in response to a request to overwrite only update data will be explained based on FIG. 8.

上位システムからの更新データのみの重ね書き要求であ
れば(801)、更新データ管理表Aの使用可否フラグ
611の内容を判定(802)L、。
If it is a request to overwrite only update data from the host system (801), the content of the usability flag 611 of update data management table A is determined (802).

使用可であれば更新データ管理表A608に基づきディ
スク装置614から更新データを読込み。
If available, update data is read from the disk device 614 based on the update data management table A608.

上位システムから指定されたディスク装置615の同じ
シリンダ、トラック、ブロックに重ね書きする(803
)。使用不可であれば、同様に更新データ管理表Bに基
づきディスク装置614から更新データを読込み、ディ
スク装置615に重ね書きする(804)。
Overwrites the same cylinder, track, and block of the disk device 615 specified by the host system (803
). If the data cannot be used, update data is similarly read from the disk device 614 based on the update data management table B and overwritten on the disk device 615 (804).

本発明の特許請求の範囲5の一実施例につき説明する。An embodiment of claim 5 of the present invention will be described.

全体構成図や更新データ管理表AおよびBの構成は、特
許請求の範囲1,2,3.4と同様である。
The configurations of the overall configuration diagram and update data management tables A and B are similar to claims 1, 2, and 3.4.

ここでは、上位システムからの更新データ管理表Aまた
はBの退避要求とその回復要求に対するディスク制御装
置内のマイクロプロセッサの動作につき第9図に基づき
説明する。
Here, the operation of the microprocessor within the disk control device in response to a request to save update data management table A or B from the host system and a request to restore it will be explained based on FIG.

更新データ管理表Aの退避要求ならば(901)、更新
データ管理表Aの使用不可フラグの内容を判断(902
)して、使用可ならば、当該管理表を上位システムから
指定されたディスク装置内に書込む(903)。使用不
可ならば、エラー情報を上記システムに返す(904)
If it is a request to save update data management table A (901), determine the contents of the unusable flag of update data management table A (902).
), and if it is usable, the management table is written into the disk device designated by the higher-level system (903). If it is not available, return error information to the above system (904)
.

更新データ管理表Aの回復要求ならば(905)、上位
システムから指定されたディスク装置内から更新データ
管理表Aを読込み、揮発性メモリ内に設定する(906
)。次に、不揮発性メモリ内の更新データ管理表Aの使
用可否フラグを使用可の状態にする(907)。
If the request is for recovery of update data management table A (905), update data management table A is read from the disk device specified by the host system and set in volatile memory (906).
). Next, the usability flag of the update data management table A in the nonvolatile memory is set to the usable state (907).

更新データ管理表Bの退避要求ならば(908)、更新
データ管理表Bを上位システムから指定されたディスク
装置内に書込む(909)。
If it is a request to save update data management table B (908), update data management table B is written into the disk device specified by the higher-level system (909).

更新データ管理表8の回復要求ならば(910)、上位
システムから指定されたディスク装置内から更新データ
管理表Bを読込み、不揮発性メモリ内に設定する(91
1)。
If it is a recovery request for update data management table 8 (910), update data management table B is read from the disk device specified by the host system and set in nonvolatile memory (91
1).

尚、更新データ管理表AとBとを同時に退避・回復する
要求については、退避時、903の後で909を実施し
、回復時907の後で911を実施することで実現でき
るので、ここでは省略する。
Note that the request to save and restore update data management tables A and B at the same time can be achieved by executing step 909 after step 903 when saving, and executing step 911 after step 907 during recovery. Omitted.

本発明の特許請求の範囲6の一実施例につき説明する。An embodiment of claim 6 of the present invention will be described.

全体構成図や更新データ管理表AおよびBの構成は、特
許請求の範囲1,2,3,4.5と同様である。
The configurations of the overall configuration diagram and update data management tables A and B are similar to claims 1, 2, 3, and 4.5.

ここでは、上位システムからの更新データ管理表Aの回
復要求に対するディスク制御装置内のマイクロプロセッ
サの動作につき第10図に基づき説明する6 更新データ管理表Aの回復要求ならば(1001)上位
システムから指定されたディスク装置内から更新データ
管理表Aを読込み、揮発性メモリ内に設定する(100
2)。次に、不揮発性メモリ内の更新データ管理表Aの
使用可否フラグを使用状態にする(1003)。読込ん
だ更新データ管理表Aの中で更新有りとされているブロ
ックが含まれるトラックに対応する不揮発性メモリ内の
更新データ管理表Aのビットが更新有りかを判定(10
04)L、対応がとれていなければ、更新データ管理表
Bは初期化されているとみなし、読込んだ更新データ管
理表Aに基づき、更新データ管理表8を再作成する(l
 OO5)。対応がとれていれば処理を終了する。
Here, the operation of the microprocessor in the disk controller in response to a request to restore update data management table A from a higher system will be explained based on FIG. Read update data management table A from the specified disk device and set it in volatile memory (100
2). Next, the availability flag of the update data management table A in the nonvolatile memory is set to the usage state (1003). Determine whether the bit of the update data management table A in the non-volatile memory corresponding to the track containing the block that has been updated in the read update data management table A is updated (10
04) L, if there is no correspondence, it is assumed that update data management table B has been initialized, and update data management table 8 is recreated based on the read update data management table A (l
OO5). If the response is correct, the process ends.

尚、上記全実施例において、ディスク制御装置やディス
ク装置と記したハードウェアは、磁気ディスク制御装置
、磁気ディスク装置を想定した。
In all of the above embodiments, the hardware described as a disk control device or a disk device is assumed to be a magnetic disk control device or a magnetic disk device.

しかし、これは光ディスク、磁気ドラム、フロッピーデ
ィスクなどの各制御装置および記憶装置であって良い。
However, this may be a control device and a storage device such as an optical disk, a magnetic drum, or a floppy disk.

又、これらの記憶装置ではシリンダという概念がないが
、トラックおよびブロックに相当するものはあるので、
本発明を適用できる。
Also, although these storage devices do not have the concept of a cylinder, there are equivalents to tracks and blocks, so
The present invention can be applied.

以下、本発明の特許請求の範囲7の一実施例を第11図
に基づき説明する。
Hereinafter, one embodiment of claim 7 of the present invention will be described based on FIG. 11.

第11図は本発明の全体構成を示した図である。FIG. 11 is a diagram showing the overall configuration of the present invention.

1101はCP U (Central Proces
sing Unit :中央処理装置)、1102はチ
ャネル、1103は磁気ディスク制御装置に代表される
ディスク制御装置、1104はチャネル1102と磁気
ディスク装置に代表されるディスク制御装置1103と
のデータのやり取りを行なうチャネルインタフェース制
御部、1105は一時的にデータを貯えるデータバッフ
ァ、1106はディスク制御装置1103を制御するマ
イクロプロセッサ、1107はディスク装置1104内
のデータのある時点以降の更新部分をブロック単位で管
理する更新データ管理表A1108が記憶される揮発性
メモリ、1109は同様にトラック単位の更新データ管
理表BI110と更新データ管理表Aの使用可否フラグ
1111とが記憶される不揮発性メモリ、1112はバ
ッテリイなどで構成される不揮発性メモリ1109に対
する不揮発化機構、1113はディスク制御装置603
と更新データを有するディスク装[1114とのデータ
のやり取りを行なうデバイスインタフェース制御部、1
115はディスク装置1114の更新データを格納する
磁気テープ装置ii!1116の制御を行なう磁気テー
プ制御装置である。
1101 is CPU (Central Process
sing Unit (central processing unit), 1102 is a channel, 1103 is a disk control device represented by a magnetic disk control device, and 1104 is a channel for exchanging data between the channel 1102 and the disk control device 1103 represented by a magnetic disk device. An interface control unit, 1105 is a data buffer that temporarily stores data, 1106 is a microprocessor that controls the disk control device 1103, and 1107 is update data that manages updated portions of data in the disk device 1104 after a certain point in block units. A volatile memory 1109 stores a management table A 1108, a non-volatile memory 1109 stores a track-by-track update data management table BI 110 and an availability flag 1111 for the update data management table A, and 1112 a battery. 1113 is a disk controller 603;
and a device interface control unit 1 that exchanges data with a disk device [1114] having update data.
115 is a magnetic tape device ii! that stores updated data of the disk device 1114! This is a magnetic tape control device that controls 1116.

尚、1115.1116は磁気ディスク制御装置、磁気
ディスク装置などの他の外部記憶装置であっても良い。
Note that 1115 and 1116 may be other external storage devices such as a magnetic disk control device or a magnetic disk device.

1117は主記憶装置、1118はディスク装[111
4内の更新データを、他の媒体1116へ複写する差分
バックアップ・プログラムであり、本実施例では、11
01,1102,1117゜1118を総称して上位シ
ステムと呼ぶ。
1117 is the main storage device, 1118 is the disk system [111
This is a differential backup program that copies updated data in 1116 to another medium 1116, and in this embodiment, 11
01, 1102, 1117, and 1118 are collectively called the upper system.

更新データ管理表A608および更新データ管理表B6
10の構成は特許請求の範囲1の一実施例で示した第3
図、第4図と同じである。
Update data management table A608 and update data management table B6
10 is the third configuration shown in one embodiment of claim 1.
It is the same as Fig. 4.

ここでは、差分バックアッププログラムの動作について
、第12図に基づき説明する。
Here, the operation of the differential backup program will be explained based on FIG. 12.

当該プログラムは、起動されるとディスク制御装置11
03に対し、更新データ管理表の読込みを要求しそれを
受取る(1201)。次に、読込んだ更新データ管理表
の種別を判定(1202)し、更新データ哨島表Aなら
ばブロック単位に更新データを特定してその読込み命令
を生成しく1203)、更新データ管理表Bならばレコ
ード単位に更新データを特定してその読込み命令を生成
する(1204)。
When the program is started, the disk controller 11
03 to read the update data management table and receives it (1201). Next, the type of the updated data management table that has been read is determined (1202), and if the updated data is the updated data table A, the updated data is identified in block units and a read command is generated for it (1203), and the updated data management table B is If so, update data is specified for each record and a read command is generated for it (1204).

上記命令をディスク制御装置1103に対し発行して更
新データを受けとり、それを他の媒体1116へ格納す
る(1204)。
The above command is issued to the disk controller 1103 to receive the update data and store it in another medium 1116 (1204).

以下、本発明の特許請求の範囲8の一実施例につき説明
する。
An embodiment of claim 8 of the present invention will be described below.

全体構成は、特許請求の範囲1,2,3.4の各構成要
素に、オンライン、オフラインを指示する例えばコンソ
ールなどの人力装置が加わる。特許請求の範囲1の場合
を第13図に例示する。第1図に、1317のコンソー
ルが加わる。又、更新データ管理表AおよびBの構成は
同じである。
In the overall configuration, a human power device such as a console for instructing online and offline is added to each of the components of claims 1, 2, and 3.4. The case of claim 1 is illustrated in FIG. In FIG. 1, 1317 consoles are added. Furthermore, the configurations of update data management tables A and B are the same.

ここでは、ディスク制御装置のオンライン化とオフライ
ン化を行なう上位システムのプログラム第1図の116
または第6図の617の動作の中の本発明に関する処理
について第14図に基づき説明する。
Here, we will explain the upper system program 116 in Figure 1 that brings the disk controller online and offline.
The processing related to the present invention in the operation 617 in FIG. 6 will be explained based on FIG. 14.

当該プログラムは、起動されると、オンライン化の処理
要求かを判定(1401)L、オンライン化の処理要求
ならばその処理の1つとして、更新データ管理表Aをデ
ィスク装[1314から回復するための要求をディスク
制御装置13o3に対して発する(1402)。
When the program is started, it determines whether it is an online processing request (1401), and if it is an online processing request, one of the processes is to recover the update data management table A from the disk drive [1314]. The request is issued to the disk controller 13o3 (1402).

同様に、オフライン化の処理ならば、その処理の1つと
して更新データ管理表Aをディスク制御装[1303か
らディスク装置に退避するための要求をディスク制御装
置11303に対して発する(1403)。
Similarly, in the case of offline processing, one of the processes is to issue a request to the disk controller 11303 to save the updated data management table A from the disk controller 1303 to the disk device (1403).

本実施例では、更新データ管理表Aについてのみ退避・
回復する要求をディスク制御装置に対し発する例を示し
たが、更新データ管理表Aと更新データ管理表Bの両方
を退避・回復の対象としても良い。
In this embodiment, only update data management table A is saved and
Although an example has been shown in which a request for recovery is issued to the disk control device, both update data management table A and update data management table B may be saved and restored.

又、1302で、更新データ管理表Aの回復方法として
、特許請求の範囲5または6のいずれの手段を用いても
良い。
Further, in step 1302, as a method for restoring the updated data management table A, any of the means described in claim 5 or 6 may be used.

〔発明の効果〕〔Effect of the invention〕

(1)本発明によれば、ディスク装置内の更新部分を高
信頼化を考えトラック単位で管理し、バックアップ量の
より削減をめざしブロック単位でも管理することが経済
的に実現できる。
(1) According to the present invention, it is possible to economically manage updated parts in a disk device on a track-by-track basis in order to improve reliability, and also to manage on a block-by-block basis in order to further reduce the backup amount.

本発明の効果を金融オンラインシステムのデータベース
を例にとり説明する。
The effects of the present invention will be explained using a database of a financial online system as an example.

例えば、口座毎に1ブロツクを占め、10ブロツクが1
トラツクとして管理されるとする。
For example, each account occupies 1 block, and 10 blocks equals 1 block.
It is assumed that it is managed as a truck.

口座数500万個とすると、500万ブロツク50万ト
ラツクとなる。−日当りの更新口座即ち、更新レコード
が10万個、更新部分だけのバックアップを毎日取得す
るとすると、金融オンラインでの更新口座はほぼランダ
ムに発生すると仮定できることから、トラック単位で更
新部分を管理したとすると、毎日10万トラツクのバッ
クアップ量となり、全データのバックアップに比べ11
5で済む。更に、ブロック単位で更新部分を管理したと
すると、毎日10万ブロツクのバックアップ量となり、
全データのバックアップに比べ1150、トラック単位
のときに比べ1/10で済む。揮発性メモリは、不揮発
性メモリおよびその不揮発性機構に比べはるかに安く組
込むことができ、両者を本発明のごとく組合わせること
で、経済的にバックアップ量を大幅に削減(全ダンプに
比べ数十分の−)実現できる。又、揮発性メモリの内容
が電源断などにより仮に消滅したとしても、トラック単
位の更新データ管理表が不揮発性メモリでも保持される
ので、その時でも全ダンプに比べ数分の−のダンプ量で
済ませることができる。
If there are 5 million accounts, there will be 5 million blocks and 500,000 tracks. - If we assume that there are 100,000 updated records per day, and we take a backup of only the updated parts every day, it can be assumed that updated accounts on Financial Online occur almost randomly, so we can manage the updated parts on a track-by-track basis. This results in a daily backup volume of 100,000 tracks, which is 11 times more than the total data backup.
5 is enough. Furthermore, if we manage updated parts in block units, the amount of backup will be 100,000 blocks every day,
It costs 1,150 yen compared to backing up all the data, and 1/10 compared to backing up each track. Volatile memory can be incorporated much more cheaply than non-volatile memory and its non-volatile mechanisms, and by combining the two as in the present invention, it is possible to economically reduce the amount of backup (several tens of times less than a full dump). -) can be realized. Furthermore, even if the contents of the volatile memory are erased due to a power outage, etc., the updated data management table for each track is retained in the non-volatile memory, so even in that case, the amount of dump is only a few minutes less than the total dump. be able to.

(2)本発明によれば、更新データ管理表をディスク装
置に退避・回復できるので、計算機の運用を停止・中断
してもブロック単位または、トラック単位の更新データ
管理表は消滅しない。
(2) According to the present invention, the updated data management table can be saved and restored to the disk device, so even if the operation of the computer is stopped or interrupted, the updated data management table for each block or track will not disappear.

(3)意図された運用停止・中断中に、不揮発性メモリ
内の更新データ管理表を退避しておかなくても、退避中
のブロック単位の更新データ管理表からトラック単位の
管理表を復元できるので、ディスク装置への退避データ
量を削減できる。
(3) Even if the update data management table in non-volatile memory is not saved during the intended operational stop/interruption, the track-based management table can be restored from the block-based update data management table that is being saved. Therefore, the amount of data saved to the disk device can be reduced.

又、運用停止、中断中不揮発性メモリを不揮発化機構で
その内容を保持しておく必要がなく、不揮発化機構のバ
ツテリイの消耗を回避できる。
In addition, there is no need for the non-volatile memory to retain its contents in the non-volatile mechanism during operation stoppage or interruption, and battery consumption of the non-volatile mechanism can be avoided.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のディスク制御装置の全体構成図、第2
図は上位システムからの要求に対応するマイクロプロセ
ッサの動作のフロー図、第3図は更新データ管理表Aの
構成図、第4図は更新データ管理表Bの構成図、第5図
は上位システムからの要求に対応するマイクロプロセッ
サの動作のフロー図、第6図は本発明による他のディス
ク制御装置の全体構成図、第7図は同様にマイクロプロ
セッサの動作のフロー図、第8図はマイクロプロセッサ
の動作のフロー図、第9図はマイクロプロセッサの動作
のフロー図、第10図はマイクロプロセッサの動作のフ
ロー図、第11図は本発明による他のディスク制御装置
の全体構成図、第12図は差分バックアッププログラム
の処理フロー図、第13図は本発明による他のディスク
制御装置の全体構成図、第14図はディスク制御装置の
オン遁 躬 拓 循 第 拓 ■ 系 ■ 6tθ !Iイフ′りy421に3 猶 図 ! lθ 口 χ 図 第 図 箔 回 第 防
FIG. 1 is an overall configuration diagram of the disk control device of the present invention, and FIG.
The figure is a flow diagram of the operation of the microprocessor in response to requests from the upper system, Figure 3 is a configuration diagram of update data management table A, Figure 4 is a configuration diagram of update data management table B, and Figure 5 is a diagram of the upper system. 6 is an overall configuration diagram of another disk control device according to the present invention, FIG. 7 is a flow diagram of the operation of the microprocessor in response to requests from the microprocessor, and FIG. FIG. 9 is a flow diagram of the operation of the microprocessor; FIG. 10 is a flow diagram of the operation of the microprocessor; FIG. 11 is an overall configuration diagram of another disk control device according to the present invention; The figure is a processing flow diagram of a differential backup program, FIG. 13 is an overall configuration diagram of another disk control device according to the present invention, and FIG. 14 is a diagram showing the overall configuration of another disk control device according to the present invention. If I'm 421, I'll have 3! lθ 口χ Figure Figure Foil Round Defense

Claims (1)

【特許請求の範囲】 1、直接アクセス可能なディスク記憶装置内のデータに
関し、上位システムのジョブの実行で更新された部分を
管理する更新データ管理表を有するディスク制御装置に
おいて、更新部分をブロック単位で管理する更新データ
管理表Aを揮発性メモリ内に設け、且つ、更新部分をト
ラック単位で管理する更新データ管理表Bと、更新デー
タ管理表Aの使用可否フラグとを不揮発メモリ内に設け
て管理する手段と、上位システムからの更新データ管理
表読み込み要求に対し、更新データ管理表Aの使用可否
フラグに基づき、可能ならば更新データ管理表Aを、不
可ならば更新データ管理表Bを管理表の区別を示す情報
とともに上位システムに転送する手段とを設けたことを
特徴とするディスク制御装置。 2、特許請求の範囲第1項において、上位システムから
の更新部分だけのデータ転送要求に対し、更新データ管
理表Aが使用可能ならばその管理表に基づき、不可なら
ば更新データ管理表Bに基づいて更新データをディスク
記憶装置から読み込み、上位システムに転送する手段を
設けたことを特徴とするディスク制御装置。 3、特許請求の範囲第1項において、上位システムから
の更新部分だけのデータ複写要求に対し、更新データ管
理表Aが使用可能ならばその管理表に基づき、不可なら
ば更新データ管理表Bに基づいて更新データをディスク
記憶装置から読み込み、上位システムから指定されたデ
ィスク記憶装置に複写する手段を設けたことを特徴とす
るディスク制御装置。 4、特許請求の範囲第1項において、上位システムから
の更新部分だけのデータ重ね書き要求に対し、更新デー
タ管理表Aが使用可能ならばその管理表に基づき、不可
ならば更新データ管理表Bに基づいて更新データをディ
スク記憶装置から読み込み、上位システムから指定され
たディスク記憶装置内の同位置に重ね書きする手段を設
けたことを特徴とするディスク制御装置。 5、特許請求の範囲第1項から第4項までのいずれか一
つにおいて、上位システムから更新データ管理表A又は
Bの退避要求に対し、ディスク制御装置内の更新データ
管理表A又はBを、指定されたディスク記憶装置に退避
する手段と、上位システムからの更新データ管理表A又
はBの回復要求に対し、指定されたディスク記憶装置内
の更新データ管理表A又はBをディスク制御装置内に回
復する手段とを設けたことを特徴とするディスク制御装
置。 6、特許請求の範囲第5項において、上位システムから
の更新データ管理表Aの回復要求に対し、指定されたデ
ィスク記憶装置内の更新データ管理表Aをディスク制御
装置内に回復した際、ディスク制御装置内の更新データ
管理表Bが初期状態ならば更新データ管理表Aに基づき
更新データ管理表Bを復元する手段を設けたことを特徴
とするディスク制御装置。 7、特許請求の範囲第1項のディスク制御装置に制御さ
れるディスク記憶装置内の更新されたデータだけをバッ
クアップする差分バックアップシステムにおいて、ディ
スク制御装置から読み込んだ更新データ管理表の種別情
報に基づき、更新データ管理表Aから更新データを読み
込む命令を生成し、更新データ管理表Bから更新データ
を読み込む命令を生成することを特徴とする差分バック
アップ方法。 8、特許請求の範囲第6項のディスク制御装置と、当該
ディスク制御装置をオンラインにする際、ディスク記憶
装置から更新データ管理表Aを回復する手段と、更新管
理表Aから更新データ管理表Bを回復する手段と、当該
ディスク制御装置をオフラインにする際、更新データ管
理表Aをディスク記憶装置に退避する手段とを設けたこ
とを特徴とする計算機システム。
[Scope of Claims] 1. In a disk control device having an update data management table for managing a portion of data in a directly accessible disk storage device that is updated by execution of a job in a host system, the updated portion is stored in blocks. An update data management table A to be managed is provided in a volatile memory, and an update data management table B for managing updated portions on a track-by-track basis and a usability flag for the update data management table A are provided in a non-volatile memory for management. and, in response to an update data management table read request from the upper system, based on the usability flag of update data management table A, if possible, update data management table A is used, and if not, update data management table B is used as a management table. What is claimed is: 1. A disk control device comprising means for transmitting information indicating the distinction of the information to a host system. 2. In claim 1, in response to a data transfer request for only the updated part from the host system, if the update data management table A is usable, the update data management table A is used, and if it is not available, the update data management table B is used. 1. A disk control device comprising means for reading update data from a disk storage device based on the information and transferring the updated data to a host system. 3. In claim 1, in response to a data copy request from an upper system for only an updated part, if update data management table A is available, the update data management table A is used, and if not, update data management table B is used. 1. A disk control device comprising means for reading updated data from a disk storage device based on the information and copying it to a disk storage device specified by a host system. 4. In claim 1, in response to a data overwrite request for only the updated portion from the host system, if update data management table A can be used, then update data management table B is used, and if not, update data management table B is used. What is claimed is: 1. A disk control device comprising means for reading update data from a disk storage device based on the above information, and overwriting the updated data at the same position in the disk storage device specified by a host system. 5. In any one of claims 1 to 4, in response to a request to save updated data management table A or B from a host system, the updated data management table A or B in the disk control device is saved. , means to save the updated data management table A or B in the specified disk storage device in the disk controller in response to a request for restoring the updated data management table A or B from the upper system. What is claimed is: 1. A disk control device characterized by comprising: a means for recovering. 6. In claim 5, when the updated data management table A in the specified disk storage device is restored into the disk controller in response to a request for restoring the updated data management table A from the host system, the disk A disk control device comprising: means for restoring an update data management table B based on an update data management table A if an update data management table B in the control device is in an initial state. 7. In a differential backup system that backs up only updated data in a disk storage device controlled by a disk control device according to claim 1, based on the type information of the updated data management table read from the disk control device. A differential backup method comprising: generating an instruction to read update data from an update data management table A; and generating an instruction to read update data from an update data management table B. 8. The disk control device according to claim 6, means for recovering the updated data management table A from the disk storage device when the disk control device is brought online, and the updated data management table B from the updated data management table A. 1. A computer system comprising: means for recovering the updated data management table A; and means for saving the updated data management table A to a disk storage device when the disk control device is taken offline.
JP63192715A 1988-08-03 1988-08-03 Disk controller, difference back-up method and computer system Pending JPH0242523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63192715A JPH0242523A (en) 1988-08-03 1988-08-03 Disk controller, difference back-up method and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63192715A JPH0242523A (en) 1988-08-03 1988-08-03 Disk controller, difference back-up method and computer system

Publications (1)

Publication Number Publication Date
JPH0242523A true JPH0242523A (en) 1990-02-13

Family

ID=16295854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63192715A Pending JPH0242523A (en) 1988-08-03 1988-08-03 Disk controller, difference back-up method and computer system

Country Status (1)

Country Link
JP (1) JPH0242523A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683677A (en) * 1992-04-20 1994-03-25 Internatl Business Mach Corp <Ibm> Method and system for increment time-zero backup copy of data
US5522037A (en) * 1993-09-20 1996-05-28 Fujitsu Limited Backup control apparatus and method of data processing system
US5706470A (en) * 1995-09-27 1998-01-06 Mitsubishi Denki Kabushiki Kaisha Disk updating log recording system
US5720026A (en) * 1995-10-06 1998-02-17 Mitsubishi Denki Kabushiki Kaisha Incremental backup system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683677A (en) * 1992-04-20 1994-03-25 Internatl Business Mach Corp <Ibm> Method and system for increment time-zero backup copy of data
US5522037A (en) * 1993-09-20 1996-05-28 Fujitsu Limited Backup control apparatus and method of data processing system
US5706470A (en) * 1995-09-27 1998-01-06 Mitsubishi Denki Kabushiki Kaisha Disk updating log recording system
US5720026A (en) * 1995-10-06 1998-02-17 Mitsubishi Denki Kabushiki Kaisha Incremental backup system

Similar Documents

Publication Publication Date Title
US6658434B1 (en) Method of and a system for recovering data in an information processing system
US7152184B2 (en) Storage device, backup method and computer program code of this storage device
JP5047308B2 (en) Nonvolatile disk cache for data security
US20010018728A1 (en) Data storage system having redundant solid state data storage device
US7707373B2 (en) Storage system and backup method
JP2002259062A (en) Storage device system and data copying method for data for the same
US6477628B1 (en) Backup copy achieving improved efficiency by waiting until rewind/unload command for bulk data copy
JP7472341B2 (en) STORAGE SYSTEM AND METHOD FOR CONTROLLING STORAGE SYSTEM - Patent application
JPH0237418A (en) Data matchability control system for storage device
JPH11102262A (en) Disk subsystem and remote backup system by magnetic tape library device
JPH0242523A (en) Disk controller, difference back-up method and computer system
JPH04311219A (en) Data backup system
US8667218B2 (en) Storage apparatus comprising RAID groups of RAID 1 series and control method of writing to RAID group of RAID 1 series
JP3785165B2 (en) Disk array device and intra-cabinet replication method
JPH07319637A (en) Controller and control method for disk device
JPS63217441A (en) Journal collecting system
JPH09265435A (en) Storage device system
US20230297242A1 (en) Storage device and data recovery method by storage device
JPH09212425A (en) Write cache backup system
JPH06131123A (en) External storage device for computer
JPH02113467A (en) Disk control system
JP2000305718A (en) Back-up device
JP3226047B2 (en) I / O device
JPH03257521A (en) Medium copy system
JP2007334913A (en) Storage device system and data copying method for the same