JPH0243617A - Doubling file control device - Google Patents

Doubling file control device

Info

Publication number
JPH0243617A
JPH0243617A JP63195517A JP19551788A JPH0243617A JP H0243617 A JPH0243617 A JP H0243617A JP 63195517 A JP63195517 A JP 63195517A JP 19551788 A JP19551788 A JP 19551788A JP H0243617 A JPH0243617 A JP H0243617A
Authority
JP
Japan
Prior art keywords
data
magnetic disk
data storage
primary
completed
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
JP63195517A
Other languages
Japanese (ja)
Inventor
Masaki Furuya
古屋 正樹
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63195517A priority Critical patent/JPH0243617A/en
Publication of JPH0243617A publication Critical patent/JPH0243617A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the time of a data compare operation by executing the compare operation of an original or copy data storage part after the data restoring is completed for the block unit of the data storage part when the power source of a doubling file control device is turned on and when the data are restored from a magnetic disk device for saving the data to an original and copy data storage part. CONSTITUTION:When the power source of a doubling file control device is turned on and the data from a magnetic disk device to original and copy data storage parts 2 and 3 are restored, interruption is applied to the comparing part when the data restoration of the block unit is completed by a magnetic disk control part, and the interruption is applied to the comparing part when the data restoration of the same block unit as the magnetic disk control part is completed by other magnetic disk control part. Thus, the comparing part executes the compare operation of the original and copy data storage parts 2 and 3 of the block unit and this is continued until the data restoration is completed. Thus, the completion of the data compare operation can be completed simultaneously when the data restoration operation is completed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は二重化ファイル制御装置に関し、特にファイル
データのデータリストアの性能に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a duplex file control device, and particularly to the performance of data restoration of file data.

〔従来の技術〕[Conventional technology]

従来、この種の二重化ファイル制御装置は、電源投入の
際、データ退避用磁気ディスク装置から正及び副のデー
タ記憶部へデータをリストアする時に全てのデータリス
トアが完了した後に、正及び副のデータ記憶部をコンペ
アしていた。
Conventionally, this type of duplex file control device restores data from the data backup magnetic disk device to the primary and secondary data storage sections when the power is turned on, and after all data restoration is completed, the primary and secondary data are I was comparing the memory section.

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

上述した従来の二重化ファイル制御装置を考えると、デ
ータ退避用磁気ディスク装置から正及び副のデータ記憶
部へのデータリストアが完了した後に、正及び副のデー
タ記憶部をコンペアしていたので、データコンペア成功
か否かが判明する迄に多くの時間を浪費するという欠点
があり、コンペア時に再度データ記憶部の読出し動作を
しなければならないという欠点があった。
Considering the conventional duplex file control device described above, the primary and secondary data storage units are compared after data restoration from the data backup magnetic disk unit to the primary and secondary data storage units is completed. This method has the disadvantage that a lot of time is wasted until it is determined whether the comparison is successful or not, and the data storage section must be read out again during the comparison.

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

本発明の二重化ファイル制御装置の構成は、複数個の揮
発性の記憶素子であるICメモリにより構成され同一デ
ータ内容をもつ正及び副データ記憶部と、該正及び副デ
ータ記憶部を制御する制御部及び前記正及び副データ記
憶部のデータの内容をセーブするデータ退避用磁気ディ
スク装置と、該磁気ディスク装置を制御する磁気ディス
ク制御部と、前記正及び副データ記憶部のデータコンペ
アを行うコンペア部から構成される二重化ファイル制御
装置に於いて、該二重化ファイル制御装置の電源投入の
際、前記磁気ディスク装置から前記正及び副データ記憶
部へのデータリストア時に、前記磁気ディスク制御部が
ブロック単位のデータリストアが終了した時点で前記コ
ンペア部に割込みをかけ、他方の磁気ディスク制御部が
前記磁気ディスク制御部と同じブロック単位のデータリ
ストアが終了した時点で前記コンペア部に割込みをかけ
ることにより、前記コンペア部は前記ブロック単位の正
及び副データ記憶部のコンペア動作を行い、これをデー
タリストアが完了する迄続行する事を特徴とする。
The configuration of the duplexed file control device of the present invention includes primary and secondary data storage sections that are constituted by a plurality of IC memories that are volatile storage elements and have the same data content, and a control that controls the primary and secondary data storage sections. a magnetic disk device for saving data that saves data contents of the data storage section and the primary and secondary data storage sections; a magnetic disk control section that controls the magnetic disk device; and a comparer that performs a data comparison of the primary and secondary data storage sections. In a duplex file control device consisting of a block unit, when the duplex file control unit is powered on, the magnetic disk control unit restores data from the magnetic disk device to the primary and secondary data storage units in units of blocks. By interrupting the compare unit when the data restoration of the magnetic disk control unit is completed, and by causing the other magnetic disk control unit to interrupt the compare unit when the data restoration in the same block unit as the magnetic disk control unit is completed, The compare unit is characterized in that it performs a compare operation of the primary and secondary data storage units in units of blocks, and continues this operation until data restoration is completed.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すファイル制御装置のブ
ロック図、第2図はデータ記憶部内のブロック図である
FIG. 1 is a block diagram of a file control device showing one embodiment of the present invention, and FIG. 2 is a block diagram of the inside of a data storage section.

1はデータ制御部、2,3はそれぞれ正及び副データ記
憶部、4はデータ記憶部のデータのコンペア部、7は前
記コンペア部の制御部、5.6はそれぞれ正及び副デー
タ記憶部のデータ退避用の磁気ディスク装置、8は磁気
ディスク装置、aはデータ制御部が発行した命令、bは
データリストアの1ブロツクが終了したことを示す割込
み信号、Cはデータ退避及びデータリストアの制御信号
である。
1 is a data control unit, 2 and 3 are primary and secondary data storage units, respectively, 4 is a data comparison unit for the data storage unit, 7 is a control unit for the compare unit, and 5.6 is the primary and secondary data storage unit, respectively. A magnetic disk device for saving data, 8 is a magnetic disk device, a is a command issued by the data control unit, b is an interrupt signal indicating that one block of data restoration is completed, C is a control signal for data saving and data restoration It is.

次に、動作について述べる。Next, the operation will be described.

ファイル制御装置の電源投入の際、磁気ディスク制御部
8は磁気ディスク装置5.6からそれぞれデータ記憶部
2,3にリストアする動作を制御するが、1ブロツクの
データリストア完了後、磁気ディスク制御部8は割込み
信号すにより割込みをかけ、一方、データコンペア制御
部7が他データ記憶部2または3より割込みを受取ると
データコンペア動作を行う。
When the file control device is powered on, the magnetic disk control unit 8 controls the operation of restoring data from the magnetic disk units 5 and 6 to the data storage units 2 and 3, respectively. 8 issues an interrupt in response to an interrupt signal, and on the other hand, when the data compare control unit 7 receives an interrupt from another data storage unit 2 or 3, it performs a data compare operation.

bにより割込みをかけ、一方、データコンペア制御部7
が他データ記憶部より割込みを受取ると、その時点の正
及び副データ記憶部のりストアの対象となっている1ブ
ロツクをコンペアする。これを1ブロツク毎に続行し、
データリストアが終了する迄行う。
An interrupt is generated by b, while the data compare control unit 7
When it receives an interrupt from another data storage unit, it compares one block that is to be stored in the primary and secondary data storage units at that time. Continue this for each block,
Continue until data restoration is completed.

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

以上説明したように本発明は、二重化ファイル制御装置
が電源投入の際、データ退避用磁気ディスク装置から正
及び副のデータ記憶部へデータをリストアする時、デー
タ記憶部のブロック単位毎にデータリストアが終了した
後、正または副のデータ記憶部のコンペア動作を行うこ
とにより、データコンペア動作の終了はデータリストア
動作の終了と同時に終えることができるので、従来の二
重化ファイル制御装置のデータリストア動作完了後のデ
ータコンペアに比較して、データコンペア動作の時間を
短縮できる効果がある。
As explained above, the present invention enables data to be restored in block units of the data storage section when the duplex file control device restores data from the data backup magnetic disk device to the primary and secondary data storage sections when the power is turned on. By performing a compare operation on the primary or secondary data storage unit after the data storage unit is completed, the data compare operation can be completed at the same time as the data restore operation, thus completing the data restore operation of conventional duplex file control devices. This has the effect of shortening the time required for the data compare operation compared to the later data compare.

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

第1図は本発明の一実施例を示す二重化ファイル制御装
置のブロック図、第2図はデータ記憶部のブロック図を
示す。 a・・・データ制御部−データ記憶部間動作指示信号、
b・・・1ブロックリストア終了割込み信号線、C・・
・磁気ディスク制御部−磁気ディスク装置間動作指示信
号、1・・・データ制御部、2・・・正データ記憶部、
3・・・副データ記憶部、4・・・データコンペア部、
5・・・正データ記憶部用磁気ディスク装置、6・・・
副データ記憶部用磁気ディスク装置、7・・・データコ
ンペア制御部、8・・・磁気ディスク制御装置。
FIG. 1 is a block diagram of a duplex file control device showing one embodiment of the present invention, and FIG. 2 is a block diagram of a data storage unit. a...Data control unit-data storage unit operation instruction signal;
b...1 block restore end interrupt signal line, C...
・Magnetic disk control unit-magnetic disk device operation instruction signal, 1... data control unit, 2... primary data storage unit,
3... Sub data storage section, 4... Data compare section,
5...Magnetic disk device for primary data storage section, 6...
Magnetic disk device for secondary data storage section, 7... Data compare control section, 8... Magnetic disk control device.

Claims (1)

【特許請求の範囲】[Claims] 複数個の揮発性の記憶素子であるICメモリにより構成
され同一データ内容をもつ正及び副データ記憶部と、該
正及び副データ記憶部を制御する制御部及び前記正及び
副データ記憶部のデータの内容をセーブするデータ退避
用磁気ディスク装置と、該磁気ディスク装置を制御する
磁気ディスク制御部と、前記正及び副データ記憶部のデ
ータコンペアを行うコンペア部から構成される二重化フ
ァイル制御装置に於いて、該二重化ファイル制御装置の
電源投入の際、前記磁気ディスク装置から前記正及び副
データ記憶部へのデータリストア時に、前記磁気ディス
ク制御部がブロック単位のデータリストアが終了した時
点で前記コンペア部に割込みをかけ、他方の磁気ディス
ク制御部が前記磁気ディスク制御部と同じブロック単位
のデータリストアが終了した時点で前記コンペア部に割
込みをかけることにより、前記コンペア部は前記ブロッ
ク単位の正及び副データ記憶部のコンペア動作を行い、
これをデータリストアが完了する迄続行する事を特徴と
する二重化ファイル制御装置。
A primary and secondary data storage section that is constituted by a plurality of IC memories that are volatile storage elements and have the same data content, a control section that controls the primary and secondary data storage section, and data in the primary and secondary data storage section. A duplex file control device comprising: a magnetic disk device for data backup for saving the contents of the data; a magnetic disk control section for controlling the magnetic disk device; and a compare section for comparing data of the primary and secondary data storage sections. When the duplex file control device is powered on, when data is restored from the magnetic disk device to the primary and secondary data storage units, the magnetic disk control unit performs the comparator operation when the data restoration in units of blocks is completed. When the other magnetic disk control unit finishes restoring data in the same block unit as the magnetic disk control unit, the compare unit interrupts the primary and secondary data in the block unit. Performs a compare operation on the data storage section,
A duplex file control device characterized by continuing this process until data restoration is completed.
JP63195517A 1988-08-04 1988-08-04 Doubling file control device Pending JPH0243617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63195517A JPH0243617A (en) 1988-08-04 1988-08-04 Doubling file control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63195517A JPH0243617A (en) 1988-08-04 1988-08-04 Doubling file control device

Publications (1)

Publication Number Publication Date
JPH0243617A true JPH0243617A (en) 1990-02-14

Family

ID=16342401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63195517A Pending JPH0243617A (en) 1988-08-04 1988-08-04 Doubling file control device

Country Status (1)

Country Link
JP (1) JPH0243617A (en)

Similar Documents

Publication Publication Date Title
JPH07175728A (en) Disk cache data maintenance system
JPH0243617A (en) Doubling file control device
JPS63280357A (en) Data save/restore system
JP2846760B2 (en) Programmable controller
JPS61127026A (en) Optical disk controller
JPH0449451A (en) Electronic disk subsystem
JPS63126050A (en) Memory backup system
JPS6211920A (en) Command recovery system
JPH07295761A (en) Mirroring magnetic disk device
JPH11265264A (en) Backup storage system and method therefor
JPH0619767A (en) Magnetic disk device with file restoration function
JPH03226821A (en) Disk operation control system
JPS59144955A (en) Information processor
JPS63149746A (en) Semiconductor storage device
JPH03280143A (en) Electronic disk subsystem
JPH04105110A (en) Power controller
JPH0675025U (en) Backup storage system
JPH04336622A (en) Electronic disk sub-system
JPH10222312A (en) Storage system
JPH06168079A (en) Data backup system
JPS63174148A (en) Semiconductor storage device
JPH01259438A (en) Controller
JPS6254347A (en) Processing system for fault of file
JPH0535357A (en) Semiconductor memory device
JPS61255440A (en) Program interruption control system