JPH0318944A - File control method - Google Patents

File control method

Info

Publication number
JPH0318944A
JPH0318944A JP1152605A JP15260589A JPH0318944A JP H0318944 A JPH0318944 A JP H0318944A JP 1152605 A JP1152605 A JP 1152605A JP 15260589 A JP15260589 A JP 15260589A JP H0318944 A JPH0318944 A JP H0318944A
Authority
JP
Japan
Prior art keywords
time
file
blocks
date
updated
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
JP1152605A
Other languages
Japanese (ja)
Inventor
Katsunori Terada
寺田 克則
Masao Konya
紺谷 昌男
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.)
Toshiba Corp
Toshiba Software Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Software Engineering 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 Toshiba Corp, Toshiba Software Engineering Corp filed Critical Toshiba Corp
Priority to JP1152605A priority Critical patent/JPH0318944A/en
Publication of JPH0318944A publication Critical patent/JPH0318944A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the storing capacity of a file and to shorten the storing/ restoring time of the file by adding an updating date to a block forming the file and storing only those blocks that are updated on and after the designated storing date. CONSTITUTION:The updating date is set for each updating to the blocks forming a file. When a storing date is fixed at a time point T0, for example, a total storing operation is performed at the time point T0. Then only the blocks that are updated between the time points T0 and T1 are stored when the files are stored at the time point T1. Only the blocks that are updated between the time points T0 and T2 are stored when the files are stored at the time point T2. Then only the blocks that are updated between the time point T0 and T3 are stored when the files are stored at the time point T3 respectively. Thus only the limited blocks are stored in a file store state and therefore the storing capacity and the storing/restoring time of files are reduced.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、ファイル管理方法に関し、特に、更新日時を
持つブロック構造を有するファイルを保存する場合に用
いて好適なファイル管理方法に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a file management method, and in particular, to a file management method suitable for use when saving a file having a block structure with an update date and time. Regarding the method.

(従来の技術) 一般に、ファイル管理を行なう場合、特にファイルの保
存を行なう場合、ファイルの各ブロックは更新日時等の
情報を有しておらず、従ってファイルの利用者は、第3
図の従来のファイル管理方法の説明図に示すように、時
点Toからブロックの更新を行な堕一定時間経過後の時
点T1でファイルを保存する場合、時点T。における更
新ブロックとその時点の未更新ブロックの両方を、つま
り全体を保存する必要があった。
(Prior Art) In general, when performing file management, especially when storing files, each block of a file does not have information such as update date and time, so file users cannot
As shown in the explanatory diagram of the conventional file management method in the figure, when a block is updated from time To and the file is saved at time T1 after a certain period of time has elapsed, time T. It was necessary to save both the updated block at that point and the unupdated block at that point, that is, the entire block.

(発明が解決しようとする課題) 従来のファイル管理は以上のように行なわれていたので
、更新ブロックと未更新ブロックの両方を保存対象とす
る必要があり、ファイル保存量や保存/復元にかかる時
間が多くなってしまい、大容量のファイル管理を行なう
場合にかかる時間が無視できない程に長くなってしまう
という問題点があった。
(Problem to be solved by the invention) Conventional file management was performed as described above, so it is necessary to save both updated blocks and unupdated blocks, which reduces the amount of file storage and the cost of saving/restoring. There is a problem in that the time required to manage large-capacity files becomes so long that it cannot be ignored.

本発明は、上記に鑑みてなされたもので、その目的は、
ファイルを構成するブロックに更新日時を持たせ、利用
者が保存日時を任意に設定可能にすることで、ファイル
の保存範囲を任意に更新可能とし、ファイルの保存量、
保存/復元時間の低減を行なうことを可能としたファイ
ル管理方法を提供することにある。
The present invention has been made in view of the above, and its purpose is to:
By giving the update date and time to the blocks that make up a file, and allowing the user to set the save date and time arbitrarily, the storage range of the file can be updated arbitrarily, and the storage amount of the file can be changed.
An object of the present invention is to provide a file management method that makes it possible to reduce save/restore time.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 本発明のファイル管理方法は、更新日時を有するブロッ
ク構造のファイルを更新するに当り、更新されたブロッ
クに更新日時を設定し、ファイルの保存に当たり任意に
指定した日時以降の更新日時を有するブロックのみを保
存対象とするものとして構成される。
(Means for Solving the Problems) In the file management method of the present invention, when updating a block-structured file having an update date and time, the update date and time are set in the updated block, and the update date and time are arbitrarily specified when saving the file. It is configured such that only blocks with updated dates and times after this date and time are to be saved.

(作 用) 更新日時をファイルを構成するブロックに持たせ、ファ
イルの保存に当たって利用者に保存日時を任意に指定さ
せ、指定された保存日時以降に更新されたブロックのみ
を保存対象とすることにより、保存範囲の任意設定を可
能にし、これによりファイルを更新するに当っての保存
量、保存/復元時間が低減される。
(Function) By assigning the update date and time to the blocks that make up the file, allowing the user to arbitrarily specify the save date and time when saving the file, and only blocks that have been updated after the specified save date and time being saved. , it is possible to arbitrarily set the storage range, thereby reducing the storage amount and storage/restore time when updating files.

(実施例) 以下、図面を参照しながら本発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図、第2図は本発明の一実施例に係るファイル管理
方法の説明図であり、第1図は保存日付を時点Toに固
定した場合の更新ブロックのみの保存の概念を示し、第
2図は保存日付を任意に指定した場合の更新ブロックの
みの保存の概念をそれぞれ示すものである。
1 and 2 are explanatory diagrams of a file management method according to an embodiment of the present invention. FIG. 1 shows the concept of saving only updated blocks when the save date is fixed at time To, and FIG. Figure 2 shows the concept of saving only updated blocks when a save date is specified arbitrarily.

さて、利用者は先ず、最初の時点T。にファイル全体の
保存を行なうが、この時ファイル情報管理領域に全体保
存を行なった日付と時間を設定する。一方、ファイルを
構成するブロックに対してはその更新毎に、更新日時を
設定する。この更新日時はファイルを保存する時点T、
、T2.T3において利用者が指定した保存日時と比較
し、指定された保存日時と全体保存日時を保存ファイル
に保存しておく。
Now, the user first starts at the first time point T. The entire file is saved, and at this time, the date and time when the entire file was saved is set in the file information management area. On the other hand, an update date and time is set for each block that constitutes a file each time it is updated. This update date and time is the time T when the file is saved,
, T2. At T3, it is compared with the save date and time specified by the user, and the specified save date and time and the entire save date and time are saved in a save file.

さて、更新ブロックのみの復元では保存されているブロ
ックのみが復元される。この時、フッイル情報管理領域
の更新ブロックの保存日付のみに保存ファイル上の保存
日時が設定される。
Now, when restoring only updated blocks, only the saved blocks are restored. At this time, the save date and time on the save file is set only to the save date of the update block in the file information management area.

ここで、復元を行なう前にファイルの論理破壊を防止す
るために、ファイル情報管理領域と保存ファイルの全体
保存日付が一致し、更新ブロックのみの保存日時が保存
ファイル〉ファイル情報管理領域であることがチエツク
される。
Before restoring, in order to prevent logical destruction of the file, make sure that the file information management area and the save file's entire save date match, and that the save date and time of only the updated block is saved file > file information management area. is checked.

以上のような概念の基に、今保存日付を時点Toに固定
した場合、第1図に示すように、時点Toでは全体保存
が行なわれ、時点TIのファイル保存時には時点T か
ら時点T+までの更新ブロックのみが保存され、時点T
2のファイル保存時には時点T から時点T2までの更
新ブロックのみが保存され、時点T3のファイル保存時
には時点T から時点T3までの更新ブロックが保存さ
れる。
Based on the above concept, if the current save date is fixed at time To, as shown in Figure 1, the entire file will be saved at time To, and when saving the file at time TI, data from time T to time T+ will be saved. Only updated blocks are saved, at time T
When saving the file in step 2, only the updated blocks from time T 1 to time T2 are saved, and when saving the file at time T3, the updated blocks from time T 2 to time T3 are saved.

一方、保存日時を任意に指定した場合、第2図に示すよ
うに、時点T。では全体保存が行なわれ、時点T のフ
ァイル保存時には時点T。から時点■ T1までの更新ブロックのみが保存され、時点T2のフ
ァイル保存時には時点Ttから時点T2までの更新ブロ
ックのみが保存され、時点T3のファイル保存時には時
点T から時点T3まての更新ブロックが保存される。
On the other hand, if the storage date and time is specified arbitrarily, as shown in FIG. Then, the entire file is saved, and when the file at time T is saved, the file is saved at time T. Only the updated blocks from time T1 to time T1 are saved; when saving the file at time T2, only the updated blocks from time Tt to time T2 are saved; when saving the file at time T3, the updated blocks from time T to time T3 are saved. Saved.

以上のようなファイル管理方法によって、利用者が任意
に保存日時を設定することによって、ファイル保存に当
たり限られたブロックのみの保存がなされるため、保存
量、保存/復元時間を低減することができる。
With the above file management method, the user can set the save date and time arbitrarily, and only a limited number of blocks are saved when saving the file, reducing the amount of storage and save/restore time. .

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

本発明のファイル管理方法によれば、ファイルの利用者
が保存日時を指定することによって、保存範囲を任意に
変えられるため、更新日時に基づいて更新ブロックのみ
をファイルの保存対象とすることが可能で、ファイルの
保存量や保存/復元時間を大幅に低減することができる
According to the file management method of the present invention, the file user can arbitrarily change the storage range by specifying the storage date and time, so it is possible to save only updated blocks based on the update date and time. This can significantly reduce the amount of files saved and the time it takes to save/restore.

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

第1図及び第2図は本発明の一実施例に係るフアイル管
理方法の説明図、 第3図は従来のファイ ル管理方法の説明図である。
1 and 2 are explanatory diagrams of a file management method according to an embodiment of the present invention, and FIG. 3 is an explanatory diagram of a conventional file management method.

Claims (1)

【特許請求の範囲】[Claims] 更新日時を有するブロック構造のファイルを更新するに
当り、更新されたブロックに更新日時を設定し、ファイ
ルの保存に当たり任意に指定した日時以降の更新日時を
有するブロックのみを保存対象とすることを特徴とする
ファイル管理方法。
When updating a file with a block structure that has an update date and time, the update date and time is set for the updated block, and when saving the file, only blocks that have an update date and time after the arbitrarily specified date and time are saved. file management method.
JP1152605A 1989-06-15 1989-06-15 File control method Pending JPH0318944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1152605A JPH0318944A (en) 1989-06-15 1989-06-15 File control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1152605A JPH0318944A (en) 1989-06-15 1989-06-15 File control method

Publications (1)

Publication Number Publication Date
JPH0318944A true JPH0318944A (en) 1991-01-28

Family

ID=15544056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1152605A Pending JPH0318944A (en) 1989-06-15 1989-06-15 File control method

Country Status (1)

Country Link
JP (1) JPH0318944A (en)

Similar Documents

Publication Publication Date Title
JPH07319747A (en) Data updating system
JPH04342025A (en) Text managing and restoring system
JPH10283167A (en) Device internal setting information backup device, method and storage medium storing device internal setting information backup control program
JPH0318944A (en) File control method
JP2001290686A (en) System and method for backup in disk shared filing system
JPH02227750A (en) File back-up system
JPH0394377A (en) Map file updating system
JPH0385650A (en) Disk volume restoration system
JPH02196349A (en) File generation management system
JPH0322152A (en) File restoring system
JPH06332777A (en) Transaction processing system
JP2920978B2 (en) Library update method
JPH01140353A (en) System for maintaining data in data base
JPS6125256A (en) File shunt system
JPH01188961A (en) Program executing system
JPH06274404A (en) Data storage managing method
JPH11120056A (en) Saving and restoring method for project data
JPH05151716A (en) Data backup method of magnetic tape
JPH01286053A (en) Data control system over plural types of computers
JPH07219827A (en) Journal file division management system and method thereof
JPH03257521A (en) Medium copy system
JPH064381A (en) Variable length record replacing system
JPH0259816A (en) System parameter control system
JPH02287642A (en) Incremental saving system
JPH03171241A (en) Backup data control system