JPH0520157A - Automatic restoration system for document file - Google Patents

Automatic restoration system for document file

Info

Publication number
JPH0520157A
JPH0520157A JP3174957A JP17495791A JPH0520157A JP H0520157 A JPH0520157 A JP H0520157A JP 3174957 A JP3174957 A JP 3174957A JP 17495791 A JP17495791 A JP 17495791A JP H0520157 A JPH0520157 A JP H0520157A
Authority
JP
Japan
Prior art keywords
document file
file
history information
information
document
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
JP3174957A
Other languages
Japanese (ja)
Inventor
Yasuko Shiraishi
靖子 白石
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 Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP3174957A priority Critical patent/JPH0520157A/en
Publication of JPH0520157A publication Critical patent/JPH0520157A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To automatically restore a broken document file in a short time, and to eliminate the work for saving the document file every day. CONSTITUTION:An input means 1 inputs information required for restoring a broken document file. A history information editing means 2 edits information in a history information file 7a, when a document file 8 is broken, and rewrites the history information file in accordance with its result. A history acquiring means 3 acquires information related to the document file which becomes an object of restoration from a history information file 7b which is rewritten. A job monitoring means 5 monitors a job for accessing the document file 8 which is an object of restoration, among the jobs which are operating in a computer. A restoration means 4 executes restoration of the document file 8, based on the information obtained from the edited history information file 7b.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はドキュメントファイル自
動復旧方式に関し、特に計算機システム内のドキュメン
トファイルが壊れた場合に、壊れたドキュメントファイ
ルを自動復旧させるドキュメントファイル自動復旧方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic document file recovery system, and more particularly to a document file automatic recovery system for automatically recovering a damaged document file when the document file in the computer system is damaged.

【0002】[0002]

【従来の技術】従来のドキュメントファイル自動復旧方
式は、計算機システム内のディスク上で媒体を管理する
際に、ディスク上の領域を有効に利用するために、一つ
のドキュメンは不連続なブロックからなっており、ブロ
ックがもっている不連続なブロックを相互に関連付ける
ための情報がハードウェア障害で破壊されてしまうと、
そのドキュメントはもうアクセスすることができなかっ
た。そのため、ドキュメントファイルが壊れた場合を想
定し、ドキュメントファイルを毎日退避させ、ドキュメ
ントファイルが壊れた場合、その退避したものから復旧
し使用していた。
2. Description of the Related Art In the conventional document file automatic restoration method, one document is composed of discontinuous blocks in order to effectively use the area on the disk when managing the medium on the disk in the computer system. And if the information that correlates the discontinuous blocks that the blocks have is destroyed by a hardware failure,
The document can no longer be accessed. Therefore, assuming that the document file is broken, the document file is saved every day, and when the document file is broken, the saved file is restored and used.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のドキュ
メントファイルの管理方式では、ドキュメントファイル
が壊れた場合を想定し、ドキュメントファイルを毎日退
避させておく必要があったが、この作業は毎日行わなけ
ればならなず、時間もかかるとともに、もしドキュメン
トファイルが壊れた場合は、その復旧に時間がかかると
いう欠点を有していた。
In the above-mentioned conventional document file management method, it is necessary to save the document file every day, assuming that the document file is damaged, but this work must be done every day. It has a drawback that it takes time, and if a document file is damaged, it takes time to recover it.

【0004】また、退避中または復旧中に、他のジョブ
を長時間停止させなければならないので、ジョブを再開
するまでに時間がかかるという欠点を有していた。
Further, another job has to be stopped for a long time during the saving or the restoration, so that there is a drawback that it takes time to restart the job.

【0005】本発明の目的は、ドキュメントファイルを
毎日退避させる必要もなく、復旧にあまり時間がかから
ないドキュメントファイル自動復旧方式を提供すること
にある。
It is an object of the present invention to provide a document file automatic restoration method which does not require saving the document file every day and does not take much time for restoration.

【0006】[0006]

【課題を解決するための手段】本発明のドキュメントフ
ァイル自動復旧方式は、(A)壊れたドキュメントファ
イルを復旧するために必要の情報を入力する入力手段、
(B)前記ドキュメントファイルが壊れたとき、履歴情
報ファイル内の情報を編集し、その結果で前記履歴情報
ファイルを書き換える履歴情報編集手段、(C)書き換
えられた前記履歴情報ファイルから復旧の対象となるド
キュメントファイルに関する情報を取得する履歴取得手
段、(D)計算機内で動作しているジョブのうち、復旧
の対象となるドキュメントファイルをアクセスするジョ
ブを監視するジョブ監視手段、(E)編集済み前記履歴
情報ファイルから取得した情報をもとにドキュメントフ
ァイルの復旧を行う復旧手段、を備えて構成されてい
る。
The document file automatic restoration method according to the present invention comprises: (A) an input means for inputting information necessary for restoring a broken document file;
(B) history information editing means for editing information in the history information file when the document file is broken, and rewriting the history information file based on the result, (C) as a recovery target from the rewritten history information file (D) Job monitoring means for monitoring a job that accesses the document file to be restored among the jobs operating in the computer, (E) Edited The recovery means is configured to recover the document file based on the information acquired from the history information file.

【0007】[0007]

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

【0008】図1は、本発明のドキュメントファイル自
動復旧方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a document file automatic restoration system of the present invention.

【0009】図1に示す本実施例のドキュメントファイ
ル自動復旧方式は、壊れたドキュメントファイルを復旧
するために必要の情報を入力する入力手段1、ドキュメ
ントファイル8が壊れたとき、履歴情報ファイル7a内
の情報を編集し、その結果で履歴情報ファイルを書き換
える履歴情報編集手段2、書き換えられた履歴情報ファ
イル7bから復旧の対象となるドキュメントファイルに
関する情報を取得する履歴取得手段3、計算機内で動作
しているジョブのうち、復旧の対象となるドキュメント
ファイル8をアクセスするジョブを監視するジョブ監視
手段5、編集済み記履歴情報ファイル7bから取得した
情報をもとにドキュメントファイル8の復旧を行う復旧
手段4から構成されている。
In the document file automatic restoration system of the present embodiment shown in FIG. 1, when the document file 8 and the input means 1 for inputting the information necessary for restoring the broken document file are broken, the history information file 7a is stored. History information editing means 2 that edits the information of the above, and rewrites the history information file with the result, history acquisition means 3 that acquires information about the document file to be restored from the rewritten history information file 7b, and operates in the computer. Among the existing jobs, a job monitoring means 5 for monitoring a job that accesses the document file 8 to be recovered, and a recovery means for recovering the document file 8 based on the information acquired from the edited history information file 7b. It is composed of 4.

【0010】次に、動作を説明する。Next, the operation will be described.

【0011】図2は、図1のドキュメントファイル8の
データ部の構造を示す図である。また、図3は、図1の
履歴情報ファイル7a,7bのレコードフォーマットを
示す図である。
FIG. 2 is a diagram showing the structure of the data portion of the document file 8 shown in FIG. Further, FIG. 3 is a diagram showing a record format of the history information files 7a and 7b of FIG.

【0012】図2のドキュメントファイルデータ部10
に示すように、一つの文書は、物理的に不連続なブロッ
ク11〜14から構成されているため、その不連続なブ
ロックを関連づけるためのヘッダとして、次に接続され
るブロックを示すポインタ15a〜15dと、その前に
接続されているブロックを示すポインタ16a〜16d
とを各ブロックは有している。
The document file data section 10 of FIG.
As shown in FIG. 1, one document is composed of physically discontinuous blocks 11 to 14, and therefore, as a header for associating the discontinuous blocks, a pointer 15a to the block to be connected next is displayed. 15d and pointers 16a to 16d indicating the block connected before 15d
Each block has and.

【0013】例えば、ブロック12の次に接続されるブ
ロックを示すポインタ15bには、次のブロック13の
開始アドレス「0100」が格納されていて、ブロック
12の前に接続されているブロックを示すポインタ16
bには、一つ前のブロック11の開始アドレス「001
0」が格納されている。そして、その復旧のために必要
なそれぞれのポインタを履歴として図1の履歴情報ファ
イル7aに記録しておく。その履歴情報ファイル7aの
レコードフォーマットは、図3のドキュメントファイル
名22,ドキュメント名23,登録・更新・削除を示す
コマンド24,物理的に不連続なブロックを関連付ける
ために必要なブロックのチェインアドレス部26のデー
タから構成されている。
For example, the pointer 15b indicating the block connected next to the block 12 stores the start address "0100" of the next block 13 and indicates the block connected before the block 12. 16
In b, the start address “001
“0” is stored. Then, each pointer necessary for the recovery is recorded as a history in the history information file 7a of FIG. The record format of the history information file 7a is the document file name 22, the document name 23 of FIG. 3, the command 24 indicating registration / update / deletion, and the chain address part of the block necessary for associating physically discontinuous blocks. It is composed of 26 data.

【0014】また、履歴情報ファイル7aには、全ての
ドキュメントファイルの履歴情報が格納されている。
Further, the history information file 7a stores history information of all document files.

【0015】いま、あるジョブを実行中に、図4に示す
ドキュメントファイル「DOC1」28が壊れ、処理が
続行できなかった場合、入力手段1によって入力装置6
から復旧のために必要な情報を取得する。入力手段1に
よて取得した復旧のために必要な情報をもとに履歴情報
ファイル7aを編集する。編集方法は、復旧対象ファイ
ルのみの情報を履歴情報ファイルからテーブルに抽出
し、最後のレコードから順に図6に示すような履歴情報
編集手段2による処理を行う。
If the document file "DOC1" 28 shown in FIG. 4 is broken during the execution of a certain job and the processing cannot be continued, the input means 6 causes the input device 6 to operate.
Get the information needed for recovery from. The history information file 7a is edited on the basis of the information necessary for recovery obtained by the input means 1. As the editing method, information of only the recovery target file is extracted from the history information file into a table, and the processing is performed by the history information editing means 2 as shown in FIG. 6 in order from the last record.

【0016】図4を例にすると、1番最後のレコード3
4は、テーブルに抽出されると(ステップ41)、削除
コマンドか否かの判定を受け(ステップ42)、更新コ
マンドなので、さらに更新コマンドか否かの判定を受け
た後(ステップ44)、このレコード34の更新コマン
ドを登録コマンドに書き換え、それ以前のレコード30
は削除する(ステップ45)。次に、テーブルが終了し
たか否かを判定し(ステップ46)、終了していなけれ
ばステップ42に戻り、終了していれば、テーブルをも
とに履歴情報ファイルに複写して(ステップ47)、動
作を終了する。
Taking FIG. 4 as an example, the last record 3
When No. 4 is extracted into the table (step 41), it is judged whether or not it is a delete command (step 42). Since it is an update command, it is further judged whether or not it is an update command (step 44). The update command of the record 34 is rewritten to the registration command, and the record 30 before that is updated.
Are deleted (step 45). Next, it is judged whether or not the table is completed (step 46). If not completed, the process returns to step 42. If completed, the table is copied to the history information file (step 47). , Ends the operation.

【0017】上記のステップ42で、もしコマンドが削
除コマンドであると、そのドキュメントに関するレコー
ドを全て削除し、ステップ46に進む。上記でテーブル
をもとに履歴情報ファイルに複写して履歴情報ファイル
を書き換え、図5に示すように、編集済の履歴情報ファ
イル7bが完成する。そして、履歴情報ファイル7bか
ら履歴取得手段3によって取得した履歴情報をもとに復
旧が行われる。
If the command is a delete command in step 42 above, all records relating to the document are deleted, and the flow advances to step 46. The history information file is rewritten by copying it to the history information file based on the above table, and the edited history information file 7b is completed as shown in FIG. Then, the restoration is performed based on the history information acquired by the history acquisition unit 3 from the history information file 7b.

【0018】次に、図7に示すような復旧手段4による
処理を行う。
Next, the processing by the recovery means 4 as shown in FIG. 7 is performed.

【0019】まず、履歴取得手段3によって得た履歴情
報の該当するレコードに位置付ける(ステップ51)。
そして、ドキュメントファイル「DOC1」28のデー
タ部のヘッダを読み込み(ステップ52)、ヘッダの、
次に接続されるブロックを示すポインタと履歴情報の該
当部とを比較し(ステップ53)、違っていたらヘッダ
を履歴情報の値に書き換る(ステップ54)。同様に、
次に接続されるブロックを示すポインタと履歴情報の該
当部とを比較し(ステップ55)、違っていたらヘッダ
を履歴情報の値に書き換る(ステップ56)。次に、ド
キュメントが終了したか否かを判定し(ステップ5
7)、終了していなければステップ52に戻り、終了し
ていれば、さらにドキュメントファイルが終了したか否
かを判定し(ステップ58)、ドキュメントファイルが
終了してなければ、ステップ51に戻り、ドキュメント
ファイルが終了していれば、動作を終了する。
First, the history information obtained by the history acquisition means 3 is positioned at the corresponding record (step 51).
Then, the header of the data part of the document file "DOC1" 28 is read (step 52),
Then, the pointer indicating the block to be connected next is compared with the corresponding portion of the history information (step 53), and if different, the header is rewritten with the value of the history information (step 54). Similarly,
Then, the pointer indicating the block to be connected next is compared with the corresponding portion of the history information (step 55), and if different, the header is rewritten with the value of the history information (step 56). Next, it is determined whether the document is finished (step 5
7) If not completed, the process returns to step 52. If completed, it is determined whether or not the document file is completed (step 58). If the document file is not completed, the process returns to step 51, If the document file is complete, the operation ends.

【0020】また、図7に示す復旧手段による処理を行
っている際に、計算機内の他のジョブが当該ドキュメン
トファイル8をアクセスしないように監視するジョブ監
視手段5について図8を用いて説明する。
Further, the job monitoring means 5 for monitoring so that another job in the computer does not access the document file 8 during the processing by the recovery means shown in FIG. 7 will be described with reference to FIG. ..

【0021】まず、ドキュメントファイル8をアクセス
するジョブがあるか否かを判定し(ステップ61)、ド
キュメントファイルをアクセスするジョブがあるなら
ば、現在復旧中のドキュメントファイルか否かを判定す
る(ステップ62)。現在復旧中のドキュメントファイ
ルであるならば、「現在×××ファイルは復旧中です」
というメッセージ表示を出力装置9により行う(ステッ
プ63)。そして、再度、復旧作業が終了しているか否
かを判定し(ステップ64)、復旧作業が終了している
ときには動作を終了し、そのジョブは実行状態に入る。
また、終了していないときには、ステップ63に戻る。
First, it is determined whether there is a job that accesses the document file 8 (step 61), and if there is a job that accesses the document file, it is determined whether the document file is currently being restored (step 61). 62). If the document file is currently being recovered, "Currently XXX file is being recovered"
Is displayed on the output device 9 (step 63). Then, it is again determined whether or not the recovery work is completed (step 64), and when the recovery work is completed, the operation is terminated and the job enters the execution state.
If not completed, the process returns to step 63.

【0022】このように、履歴情報ファイルに履歴情報
を蓄積しドキュメントファイルが壊れた場合に、その履
歴情報を取り出して編集し、編集した履歴情報にもとづ
いて壊れたドキュメントファイルを自動的に復旧させる
手段を設けたことにより、短時間に壊れたドキュメント
ファイルを自動復旧することができ、ドキュメントファ
イル8を毎日退避させる作業をなくすことができる。
As described above, when the history information is accumulated in the history information file and the document file is broken, the history information is taken out and edited, and the broken document file is automatically restored based on the edited history information. By providing the means, the broken document file can be automatically restored in a short time, and the work of saving the document file 8 every day can be eliminated.

【0023】[0023]

【発明の効果】以上説明したように、本発明のドキュメ
ントファイル自動復旧方式は、履歴情報ファイルに履歴
情報を蓄積しドキュメントファイルが壊れた場合に、そ
の履歴情報を取り出して編集し、編集した履歴情報にも
とづいて壊れたドキュメントファイルを自動的に復旧さ
せる手段を設けたことにより、短時間に壊れたドキュメ
ントファイルを自動復旧することができ、ドキュメント
ファイルを毎日退避させる作業をなくすことができると
いう効果を有している。
As described above, according to the document file automatic restoration method of the present invention, when history information is stored in the history information file and the document file is damaged, the history information is taken out and edited, and the edited history is edited. By providing a means to automatically restore a broken document file based on information, it is possible to automatically restore a broken document file in a short time, eliminating the need to save the document file every day. have.

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

【図1】本発明のドキュメントファイル自動復旧方式の
一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a document file automatic restoration system of the present invention.

【図2】図1のドキュメントファイルのデータ部の構造
を示す図である。
FIG. 2 is a diagram showing a structure of a data part of the document file shown in FIG.

【図3】図1の履歴情報ファイルのレコードフォーマッ
トを示す図である。
FIG. 3 is a diagram showing a record format of a history information file of FIG.

【図4】図1の履歴情報ファイルの一例を示す図であ
る。
FIG. 4 is a diagram showing an example of a history information file of FIG.

【図5】図4の履歴情報ファイルを編集した後の履歴情
報ファイル内の状態を示す図である。
5 is a diagram showing a state in the history information file after the history information file of FIG. 4 is edited.

【図6】図1の履歴情報編集手段の動作を示す流れ図で
ある。
6 is a flowchart showing the operation of history information editing means in FIG. 1. FIG.

【図7】図1の復旧手段の動作を示す流れ図である。FIG. 7 is a flowchart showing the operation of the recovery means shown in FIG.

【図8】図1のジョブ監視手段の動作を示す流れ図であ
る。
FIG. 8 is a flowchart showing the operation of the job monitoring means of FIG.

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

1 入力手段 2 履歴情報編集手段 3 履歴取得手段 4 復旧手段 5 ジョブ監視手段 6 入力装置 7 履歴情報ファイル 8 ドキュメントファイル 9 出力装置 1 Input Means 2 History Information Editing Means 3 History Acquiring Means 4 Restoring Means 5 Job Monitoring Means 6 Input Devices 7 History Information Files 8 Document Files 9 Output Devices

Claims (1)

【特許請求の範囲】 【請求項1】(A)壊れたドキュメントファイルを復旧
するために必要の情報を入力する入力手段、 (B)前記ドキュメントファイルが壊れたとき、履歴情
報ファイル内の情報を編集し、その結果で前記履歴情報
ファイルを書き換える履歴情報編集手段、 (C)書き換えられた前記履歴情報ファイルから復旧の
対象となるドキュメントファイルに関する情報を取得す
る履歴取得手段、 (D)計算機内で動作しているジョブのうち、復旧の対
象となるドキュメントファイルをアクセスするジョブを
監視するジョブ監視手段、 (E)編集済み前記履歴情報ファイルから取得した情報
をもとにドキュメントファイルの復旧を行う復旧手段、 を備えたことを特徴とするドキュメントファイル自動復
旧方式。
Claims: (A) Input means for inputting information required to recover a damaged document file, (B) When the document file is damaged, the information in the history information file is displayed. History information editing means for editing and rewriting the history information file with the result, (C) history acquisition means for obtaining information on the document file to be restored from the rewritten history information file, (D) in the computer Job monitoring means for monitoring a job that accesses a document file to be recovered among the operating jobs, (E) Recovery for recovering the document file based on the information acquired from the edited history information file An automatic document file recovery method characterized by having means.
JP3174957A 1991-07-16 1991-07-16 Automatic restoration system for document file Pending JPH0520157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3174957A JPH0520157A (en) 1991-07-16 1991-07-16 Automatic restoration system for document file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3174957A JPH0520157A (en) 1991-07-16 1991-07-16 Automatic restoration system for document file

Publications (1)

Publication Number Publication Date
JPH0520157A true JPH0520157A (en) 1993-01-29

Family

ID=15987700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3174957A Pending JPH0520157A (en) 1991-07-16 1991-07-16 Automatic restoration system for document file

Country Status (1)

Country Link
JP (1) JPH0520157A (en)

Similar Documents

Publication Publication Date Title
JP3050510B2 (en) Image data management device
JP2004078505A (en) Database operation history management device, database operation history management method, and database operation history management program
JP2000284987A (en) Computer, computer network system and recording medium
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
JPH05120110A (en) File automatic backup system
JP2001344139A (en) Database management device
JP2008033527A (en) Storage device, disk device, and data restoration method
JPH0520157A (en) Automatic restoration system for document file
JP3220182B2 (en) File copying machine
JP3795204B2 (en) File management apparatus, computer system, file management method, and recording medium
JP2004133538A (en) Automatic file backup system, automatic backup method, and computer-readable recording medium
JPH04315232A (en) Disk device and file managing method therefor
JPH0385650A (en) Disk volume restoration system
JP3178671B2 (en) File system and its file recovery method
JPH1040123A (en) System and method for job management
JPH01140353A (en) Database data preservation method
JP3130870B2 (en) Memory dump file reconstruction method
JP2938088B2 (en) Disaster recovery method for shared files
JP3189804B2 (en) Data backup method and device
JPH10240596A (en) System and method for data recovery of computer system and recording medium where data restoration program is recorded
JP3056128B2 (en) Work area securing method
JPH05108444A (en) Journal extraction system
JP2004005524A (en) Data recording device, data recording method, program for executing the method, and program recording medium
JPH03116249A (en) File deletion system
JPS6362007B2 (en)