JPH0247028B2 - - Google Patents
Info
- Publication number
- JPH0247028B2 JPH0247028B2 JP58081220A JP8122083A JPH0247028B2 JP H0247028 B2 JPH0247028 B2 JP H0247028B2 JP 58081220 A JP58081220 A JP 58081220A JP 8122083 A JP8122083 A JP 8122083A JP H0247028 B2 JPH0247028 B2 JP H0247028B2
- Authority
- JP
- Japan
- Prior art keywords
- storage
- magnetic disk
- storage means
- transfer
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【発明の詳細な説明】
本発明は磁気デイスク制御装置に関し、特に固
定型磁気デイスク装置の記憶内容の保全のため固
定型磁気記憶装置と援護用記憶装置との間の記憶
内容の相互移転動作の制御を行う磁気デイスク制
御装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnetic disk control device, and particularly to a mutual transfer operation of storage contents between a fixed magnetic storage device and a backup storage device in order to preserve the storage contents of the fixed magnetic disk device. The present invention relates to a magnetic disk control device that performs control.
近年、磁気デイスク装置はその記憶密度が高く
なると共に装置の信頼性を向上・維持させるため
固定型磁気デイスク装置が多く採用されるように
なつたが、反面、このような固定型磁気デイスク
装置は、記憶媒体である磁気デイスクを交換でき
ない構造であるため、万一の事故によりその記憶
内容が破壊された場合にその復元が不可能であ
り、このためこれを用いている情報処理システム
全体の業務処理を不能とする場合がある。 In recent years, as the storage density of magnetic disk devices has increased, fixed magnetic disk devices have been increasingly adopted in order to improve and maintain device reliability. Since the structure of the magnetic disk, which is the storage medium, cannot be replaced, in the unlikely event that the stored contents are destroyed due to an accident, it will be impossible to restore them. Processing may become impossible.
このような重大事故を防止するため、固定型磁
気デイスク装置(以下デイスク装置という)を用
いる情報処理システムにおいては、デイスク装置
の外にプロツピーデイスク装置、磁気テープ装置
等の援護用記憶装置(通常これをバツクアツプメ
モリと称する)を備え、デイスク装置の記憶内容
(プログラムおよびデータ)をバツクアツプメモ
リに移転して記憶させておき、万一デイスク装置
の記憶内容が破壊されたときはバツクアツプメモ
リから読出して再書込みを行うことによりデイス
ク装置の記憶内容を保全するという手段が用いら
れている。 In order to prevent such serious accidents, in information processing systems that use fixed magnetic disk devices (hereinafter referred to as disk devices), backup storage devices (generally This is called backup memory), and the storage contents (programs and data) of the disk device are transferred to and stored in the backup memory.In the event that the storage contents of the disk device are destroyed, the backup memory A method is used to preserve the storage contents of a disk device by reading from and rewriting.
従来の情報処理システムにおいては、上述のバ
ツクアツプメモリへの移転記憶動作は一日の業務
終了の直前において行われるのが普通であるが、
この移転記憶動作には相当の時間を必要とするた
め、通常の業務処理時間はその分だけ短く制限さ
れ、デイスク装置の記憶容量が大きくなるにつれ
て益々その傾向が大きくなりつつある。 In conventional information processing systems, the above-mentioned transfer and storage operation to the backup memory is usually performed just before the end of the day's work.
Since this transfer storage operation requires a considerable amount of time, the normal business processing time is limited by that amount, and this trend is becoming more and more common as the storage capacity of disk devices becomes larger.
本発明の第1の目的は、上述のような不都合を
除くと共に、バツクアツプメモリへの記憶内容移
転動作によつて情報処理システムの通常の業務処
理時間が制限されることがなく、従つてシステム
の使用効率が高く経済的な情報処理システムを構
成することのできる磁気デイスク制御装置を提供
することにある。 A first object of the present invention is to eliminate the above-mentioned inconveniences, and also to prevent the normal business processing time of an information processing system from being limited by the operation of transferring storage contents to a backup memory, thereby reducing the time of the system. An object of the present invention is to provide a magnetic disk control device that can configure an economical information processing system with high usage efficiency.
本発明の第2の目的は記憶内容移転動作中に記
憶内容の更新が行われたことを検出し、移転動作
を再度実行できる磁気デイスク制御装置を提供す
ることにある。 A second object of the present invention is to provide a magnetic disk control device that can detect that storage content has been updated during a storage content transfer operation and re-execute the transfer operation.
本発明の磁気デイスク制御装置は、固定型磁気
デイスク装置と援護用記憶装置との間における記
憶内容の相互移転動作を制御する磁気デイスク制
御装置であつて、
処理装置より移転命令を受けて、前記移転命令
が指す前記固定型磁気デイスク装置のブロツクア
ドレスの範囲を格納する第1格納手段と、
前記処理装置より書込み命令を受けて、前記書
込み命令が指す前記固定型磁気デイスク装置のブ
ロツクアドレスの範囲を格納する第2格納手段
と、
前記第1格納手段と前記第2格納手段とのブロ
ツクアドレスを比較して、一致する部分があるこ
とを示す更新信号を出力する比較手段と、
前記固定型磁気デイスク装置から前記援護用記
憶装置に移転する記憶内容を一時記憶する記憶手
段と、
前記処理装置より前記移転命令を受けて、前記
移転命令が指す前記固定型磁気デイスク装置のブ
ロツクアドレスにある記憶内容を順次前記記憶手
段に読出して、順次援護用記憶装置に記憶させる
移転動作を行わせるとともに、前記処理装置より
書込み命令を受けたときには、前記移転動作を中
断して前記書込み命令による書込み動作を実施し
た後に、前記移転動作を継続させるが、前記比較
手段から更新信号を受けたときには、移転済の部
分をも含めて移転動作をやり直させる制御手段
と、
を備えて構成されている。 The magnetic disk control device of the present invention is a magnetic disk control device that controls the mutual transfer operation of storage contents between a fixed magnetic disk device and a backup storage device, and receives a transfer command from a processing device and performs the operations described above. a first storage means for storing a range of block addresses of the fixed magnetic disk device pointed to by the transfer command; and a first storage means for storing a range of block addresses of the fixed magnetic disk device pointed to by the write command upon receiving a write command from the processing device. a second storage means for storing the block addresses of the first storage means and the second storage means, and a comparison means for outputting an update signal indicating that there is a matching portion by comparing the block addresses of the first storage means and the second storage means; storage means for temporarily storing memory contents to be transferred from the disk device to the support storage device; and upon receiving the transfer instruction from the processing device, storing the memory contents at the block address of the fixed magnetic disk device pointed to by the transfer instruction. A transfer operation is performed in which the data are sequentially read into the storage means and sequentially stored in the support storage device, and when a write command is received from the processing device, the transfer operation is interrupted and a write operation is performed according to the write command. and control means for continuing the transfer operation after the transfer operation has been performed, but for causing the transfer operation to be redone including the transferred portion when receiving an update signal from the comparison means.
以下、本発明について図面を参照して詳細に説
明する。 Hereinafter, the present invention will be explained in detail with reference to the drawings.
第1図は本発明の一実施例を示し、第2図はそ
のタイムチヤートを示す。第1図において、本実
施例は固定型磁気デイスク装置14と、援護用記
憶装置15との間に記憶内容の相互移転動作を制
御する磁気デイスク制御装置10で、処理装置
(図示せず)に接続されている。この磁気デイス
ク制御装置10は固定型磁気デイスク装置14の
ブロツクアドレスを格納する第1格納手段11お
よび第2格納手段16と、前記第1格納手段11
と第2格納手段16との各ブロツクアドレスを比
較する手段17と、前記固定型磁気デイスク装置
14または援護用記憶装置15の記憶内容を一時
記憶する記憶手段13と、これらの手段の動作を
指令する制御手段12とを含む。 FIG. 1 shows an embodiment of the present invention, and FIG. 2 shows its time chart. In FIG. 1, this embodiment is a magnetic disk control device 10 that controls mutual transfer of storage contents between a fixed magnetic disk device 14 and a backup storage device 15, and a processing device (not shown). It is connected. This magnetic disk control device 10 includes a first storage means 11 and a second storage means 16 for storing block addresses of a fixed magnetic disk device 14, and a first storage means 11 and a second storage means 16.
means 17 for comparing each block address with the second storage means 16; storage means 13 for temporarily storing the memory contents of the fixed magnetic disk device 14 or the support storage device 15; and a control means 12 for controlling.
第1格納手段(以下、レジスタと称す)11は
処理装置から移転命令(以下“SAVE”コマンド
と称す)101を受けて“SAVE”コマンドに含
まれるデイスク装置14のブロツクアドレス(デ
イスク装置の処理単位の指定番地)の開始ブロツ
クアドレスと終了ブロツクアドレスを格納し、制
御部12からの動作指令102によつてこれを制
御部12に送出する役割を受持つており、バツフ
アメモリ13はデイスク装置14からバツクアツ
プメモリ15へ記憶内容の移転動作を行うときに
一時的にこれを記憶しておく役割を受持つてい
る。また、第2格納手段(以下レジスタと称す)
16は処理装置から書込み命令(以下
“WRITE”コマンドと略称する)103を受け
て“WRITE”コマンドに含まれるデイスク装置
14のブロツクアドレスを格納し、デイスク装置
14への書込み動作中制御部12からの動作指令
105によつてデイスクアドレスを現在書込み中
のブロツクアドレスを示すように更新する機能を
持つており、比較部17はレジスタ11のブロツ
クアドレスの範囲にレジスタ16のブロツクアド
レスが含まれるかどうかの機能を持ち、もしその
範囲に含まれている場合には動作指令106を制
御部12へ送出する役割を受け持つている。 A first storage means (hereinafter referred to as a register) 11 receives a transfer command (hereinafter referred to as a "SAVE" command) 101 from a processing device and stores the block address of the disk device 14 (a processing unit of the disk device) included in the "SAVE" command. The buffer memory 13 has the role of storing the start block address and end block address of the specified address (specified address of It has the role of temporarily storing stored contents when transferring them to the up memory 15. In addition, a second storage means (hereinafter referred to as a register)
16 receives a write command (hereinafter abbreviated as "WRITE" command) 103 from the processing device, stores the block address of the disk device 14 included in the "WRITE" command, and sends a message from the control section 12 during the write operation to the disk device 14. The comparator 17 has a function of updating the disk address to indicate the block address currently being written in accordance with the operation command 105 of the register 16. It has the function of sending the operation command 106 to the control unit 12 if it is included in the range.
また、制御部12は処理装置より“SAVE”コ
マンド101及び“WRITE”コマンド103並
びに書込みデータ104を受け、また“SAVE”
コマンド動作中に於いては比較部17からの動作
指令106を受けてレジスタ11、レジスタ1
6、バツフアメモリ13、デイスク装置14及び
バツクアツプメモリ15へ動作指令102,10
5,107,108及び109を送出してそれら
の動作を指令する役割を受け持つている。 The control unit 12 also receives a “SAVE” command 101, a “WRITE” command 103, and write data 104 from the processing device, and also receives a “SAVE” command 101, a “WRITE” command 103, and write data 104.
During command operation, register 11 and register 1 receive operation command 106 from comparator 17.
6. Operation commands 102, 10 to the buffer memory 13, disk device 14 and backup memory 15
It is responsible for sending out signals 5, 107, 108 and 109 and instructing their operations.
このように構成された磁気デイスク制御装置は
以下のように動作する。 The magnetic disk control device configured as described above operates as follows.
すなわち、処理装置から“SAVE”コマンド1
01がレジスタ11及び制御部12に入力される
と、レジスタ11はその“SAVE”コマンドに含
まれるブロツクアドレスを格納して制御部12か
らの指令を待つ。このとき制御部12に
“WRITE”コマンド103が入力されていてデ
イスク装置14の書込み動作が行われているとき
は、制御部12は“SAVE”コマンドの実行を見
合わせ(第2図参照符号イ)、この書込み動作の
終了後所定の一定時間経過後(第2図参照符号
ロ)にレジスタ11からブロツクアドレスを受け
取つてバツフアメモリ13、デイスク装置14及
びバツクアツプメモリ15に移転動作を指令して
“SAVE”コマンドを実行する(第2図参照符号
ハ)。 That is, “SAVE” command 1 from the processing device
When 01 is input to the register 11 and the control section 12, the register 11 stores the block address included in the "SAVE" command and waits for a command from the control section 12. At this time, if the "WRITE" command 103 is input to the control unit 12 and a write operation is being performed on the disk device 14, the control unit 12 suspends the execution of the "SAVE" command (reference numeral A in FIG. 2). After a predetermined period of time has elapsed after the end of this write operation (see reference numeral B in FIG. 2), the block address is received from the register 11, and a transfer operation is commanded to the buffer memory 13, disk device 14, and backup memory 15, and "SAVE" is executed. ” Execute the command (reference number c in Figure 2).
この移転動作を実行中に次の“WRITE”コマ
ンド103が制御部12に入力されると、制御部
12はバツフアメモリ13、デイスク装置14及
びバツクアツプメモリ15に指令を出して移転動
作中のブロツクの切れ目に於いて移転動作を中断
してデイスク装置14の書込み動作を実行し(第
2図参照符号ニ)、この書込み動作を終了すると
同時に再び中断中の移転動作を実行する(第2図
参照符号ホ)。 When the next "WRITE" command 103 is input to the control unit 12 while this transfer operation is being executed, the control unit 12 issues commands to the buffer memory 13, disk device 14, and backup memory 15 to write the block being transferred. At the break, the transfer operation is interrupted and a write operation of the disk device 14 is executed (reference numeral d in FIG. 2), and at the same time as this write operation is completed, the interrupted transfer operation is executed again (reference numeral 2 in FIG. 2). e).
このような移転動作の中断・再開を繰返すこと
によつて通常の業務処理のためのデイスク装置1
4の書込み動作の間に、その休止時間を利用して
デイスク装置14の記憶内容をバツクアツプメモ
リに移転して記憶させることができる。 By repeatedly suspending and resuming such transfer operations, the disk device 1 for normal business processing is
During the write operation in step 4, the storage contents of the disk device 14 can be transferred and stored in the backup memory using the pause time.
一方、“SAVE”コマンドを実行中にレジスタ
12のブロツクアドレスの範囲内にレジスタ16
のブロツクアドレスが含まれると比較部17から
の動作指令106が制御部に送出される。これは
“SAVE”コマンドの実行で移送した記憶内容が
“WRITE”コマンドによつて更新されたことを
意味しているので、制御部12はこの指令に基づ
き“SAVE”コマンドを再試行し、バツクアツプ
メモリ15に更新された記憶内容を再度移送し記
憶させることができる。 On the other hand, while executing the “SAVE” command, register 16 is stored within the range of the block address of register 12.
If the block address is included, the operation command 106 from the comparison section 17 is sent to the control section. This means that the memory contents transferred by executing the "SAVE" command have been updated by the "WRITE" command, so the control unit 12 retries the "SAVE" command based on this command and backs up the data. The updated storage contents can be transferred and stored in the up memory 15 again.
従つて本発明の磁気デイスク装置制御装置を用
いることにより、特に移動動作のために情報処理
システムが専有されることがなくなるので、シス
テムの使用効率が高く経済的な情報処理システム
を構成することができるという効果がある。 Therefore, by using the magnetic disk device control device of the present invention, the information processing system is not exclusively used for mobile operations, so it is possible to configure an economical information processing system with high system usage efficiency. There is an effect that it can be done.
第1図は本発明の一実施例を示すブロツク図、
第2図は第1図の実施例の動作を示すタイミング
チヤートである。
11……レジスタ、12……制御部、13……
バツフアメモリ、14……固定型磁気デイスク装
置(デイスク装置)、15……援護用記憶装置
(バツクアツプメモリ)、16……レジスタ、17
……比較部。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a timing chart showing the operation of the embodiment shown in FIG. 11...Register, 12...Control unit, 13...
Buffer memory, 14... fixed magnetic disk device (disk device), 15... support storage device (backup memory), 16... register, 17
...Comparison section.
Claims (1)
の間における記憶内容の相互移転動作を制御する
磁気デイスク制御装置であつて、 処理装置より移転命令を受けて、前記移転命令
が指す前記固定型磁気デイスク装置のブロツクア
ドレスの範囲を格納する第1格納手段と、 前記処理装置より書込み命令を受けて、前記書
込み命令が指す前記固定型磁気デイスク装置のブ
ロツクアドレスの範囲を格納する第2格納手段
と、 前記第1格納手段と前記第2格納手段とのブロ
ツクアドレスを比較して、一致する部分があるこ
とを示す更新信号を出力する比較手段と、 前記固定型磁気デイスク装置から前記援護用記
憶装置に移転する記憶内容を一時記憶する記憶手
段と、 前記処理装置より前記移転命令を受けて、前記
移転命令が指す前記固定型磁気デイスク装置のブ
ロツクアドレスにある記憶内容を順次前記記憶手
段に読出して、順次援護用記憶装置に記憶させる
移転動作を行わせるとともに、前記処理装置より
書込み命令を受けたときには、前記移転動作を中
断して前記書込み命令による書込み動作を実施し
た後に、前記移転動作を継続させるが、前記比較
手段から更新信号を受けたときには、移転済の部
分をも含めて移転動作をやり直させる制御手段
と、 を備えることを特徴とする磁気デイスク制御装
置。[Scope of Claims] 1. A magnetic disk control device that controls mutual transfer of storage contents between a fixed magnetic disk device and a backup storage device, which receives a transfer instruction from a processing device and executes the transfer instruction. a first storage means for storing a range of block addresses of said fixed magnetic disk device pointed to by said processing device; and a first storage means for storing a range of block addresses of said fixed magnetic disk device pointed to by said write instruction upon receiving a write command from said processing device. a second storage means for comparing the block addresses of the first storage means and the second storage means and outputting an update signal indicating that there is a matching portion; and the fixed magnetic disk device. storage means for temporarily storing storage contents to be transferred from the storage device to the support storage device; upon receiving the transfer instruction from the processing device, sequentially storing the storage contents at the block address of the fixed magnetic disk device pointed to by the transfer instruction; performs a transfer operation of reading data into the storage means and sequentially storing it in a support storage device, and when receiving a write command from the processing device, interrupts the transfer operation and performs a write operation according to the write command; , a control means for continuing the transfer operation, but when receiving an update signal from the comparing means, for redoing the transfer operation including the transferred portion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58081220A JPS59207007A (en) | 1983-05-10 | 1983-05-10 | Magnetic disc controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58081220A JPS59207007A (en) | 1983-05-10 | 1983-05-10 | Magnetic disc controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59207007A JPS59207007A (en) | 1984-11-24 |
| JPH0247028B2 true JPH0247028B2 (en) | 1990-10-18 |
Family
ID=13740394
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58081220A Granted JPS59207007A (en) | 1983-05-10 | 1983-05-10 | Magnetic disc controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59207007A (en) |
-
1983
- 1983-05-10 JP JP58081220A patent/JPS59207007A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS59207007A (en) | 1984-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5524203A (en) | Disk cache data maintenance system | |
| JPH0247028B2 (en) | ||
| JPS63305445A (en) | Data writing system at power break | |
| JPH0793101A (en) | Data backup device | |
| JP2701739B2 (en) | Processor switching method | |
| JP4009401B2 (en) | Disk control apparatus and recording medium recording program | |
| JPH10254780A (en) | Disk cache control system | |
| JPS61127026A (en) | Optical disk controller | |
| JPH10340215A (en) | Data backup system | |
| JPH05181613A (en) | Information processor | |
| JPS59108159A (en) | Controlling device of magnetic disc | |
| JPH09161489A (en) | Non-volatile memory device | |
| JPS58114152A (en) | Back up device for magnetic disc | |
| JPS58144270A (en) | Storage device system | |
| JPS585856A (en) | Error recovery system for logical device | |
| JP2656499B2 (en) | Computer system | |
| JPH0833803B2 (en) | Storage controller | |
| JPS6254347A (en) | Processing system for fault of file | |
| JPS6217829A (en) | Magnetic disk control system | |
| JPH03272056A (en) | Data securing system | |
| JPH0820934B2 (en) | Disk cache control method | |
| JPH04102117A (en) | Magnetic disk device | |
| JPH07271647A (en) | Duplex file system | |
| JPH02216564A (en) | Restart processing system | |
| JPH0619767A (en) | Magnetic disk device with file restoration function |