Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4494085B2 - Data management device - Google Patents
[go: Go Back, main page]

JP4494085B2 - Data management device - Google Patents

Data management device Download PDF

Info

Publication number
JP4494085B2
JP4494085B2 JP2004153511A JP2004153511A JP4494085B2 JP 4494085 B2 JP4494085 B2 JP 4494085B2 JP 2004153511 A JP2004153511 A JP 2004153511A JP 2004153511 A JP2004153511 A JP 2004153511A JP 4494085 B2 JP4494085 B2 JP 4494085B2
Authority
JP
Japan
Prior art keywords
data
backup
information
record
reference area
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
Application number
JP2004153511A
Other languages
Japanese (ja)
Other versions
JP2005338944A (en
Inventor
洋介 金子
光則 郡
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2004153511A priority Critical patent/JP4494085B2/en
Publication of JP2005338944A publication Critical patent/JP2005338944A/en
Application granted granted Critical
Publication of JP4494085B2 publication Critical patent/JP4494085B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

この発明は、データベース等によって構成され、データのバックアップおよびリストアを行うデータ管理装置に関するものである。   The present invention relates to a data management apparatus configured by a database or the like and performing data backup and restoration.

データベースにおけるデータの差分バックアップは、前回のフルバックアップ時から追加、更新、削除されたデータだけをバックアップ対象とすることで、バックアップを高速化する手法である。
従来のデータ管理装置における差分バックアップは、データベースに登録されたデータに対して、追加、更新、削除の履歴情報を管理し、変更のあったデータだけをデータベースのバックアップ対象とする手法(例えば、特許文献1参照)や、更新可能、更新不可の属性を持つ複数のファイルでデータベースを構成し、差分バックアップ時には更新可能の属性を持つファイルと、更新不可の属性に遷移してから最初のバックアップであるファイルをバックアップ対象とすることでバックアップ対象を限定する手法(例えば、特許文献2参照)を用いて、高速化を行っていた。
The differential backup of data in a database is a method for speeding up backup by setting only data that has been added, updated, or deleted since the last full backup as a backup target.
A differential backup in a conventional data management apparatus is a method for managing history information of addition, update, and deletion with respect to data registered in a database, and making only the changed data a database backup target (for example, patents) This is the first backup after transitioning to a non-updatable attribute and a file with an updatable attribute at the time of differential backup. Speedup has been performed using a method of limiting the backup target by setting the file as a backup target (see, for example, Patent Document 2).

特開2002−132561号公報JP 2002-13561 A 特開2003−316634号公報JP 2003-316634 A

従来のデータ管理装置は以上のように構成されているので、特許文献1に開示された手法は、データの登録、更新、削除時に履歴情報を更新しなければならず、処理が複雑化し、これらの処理に時間がかかるという課題があった。また、データベースの障害発生時に復旧を行う場合、履歴情報を基にデータ単位で復旧を行わなければならず、復旧に時間がかかるという課題があった。
また、特許文献2で開示された手法は、ファイル単位で複数のデータの管理を行うために更新や削除が行われていないデータも差分バックアップの対象となってしまうという課題があった。また、データの登録、更新、削除時に、ファイルの属性の変更や遷移状態の管理を行わなければならず、処理が複雑化し、これらの処理に時間がかかるという課題があった。
Since the conventional data management apparatus is configured as described above, the method disclosed in Patent Document 1 has to update history information when registering, updating, and deleting data, and the processing becomes complicated. There is a problem that it takes time to process. In addition, when recovery is performed when a failure occurs in the database, there is a problem that recovery must be performed in units of data based on history information, and recovery takes time.
In addition, the technique disclosed in Patent Document 2 has a problem that data that has not been updated or deleted to manage a plurality of data in units of files is also subject to differential backup. In addition, when registering, updating, and deleting data, it is necessary to change the attribute of the file and manage the transition state, which complicates the processing and takes time.

この発明は上記のような課題を解決するためになされたもので、バックアップの対象となるデータを必要最小限の情報で特定し、バックアップ処理の簡単化および高速化を可能にするデータ管理装置を得ることを目的とする。   The present invention has been made to solve the above-described problems, and provides a data management device that specifies data to be backed up with the minimum necessary information, and that simplifies and speeds up backup processing. The purpose is to obtain.

この発明に係るデータ管理装置は、データ格納手段の参照領域の終端を管理する実体管理情報およびデータ格納手段の参照領域のバックアップ対象の先頭を特定するバックアップ開始データ情報を記憶した情報記憶手段と、実体管理情報に基づいて、データ格納手段の更新領域に格納されたデータを参照領域に追加すると共に参照領域に追加したデータを更新領域から削除し、データ格納手段内のデータの変更に応じて実体管理情報を更新するデータ管理手段と、バックアップ開始データ情報および実体管理情報に基づいて特定されるデータをデータ格納手段に格納された参照領域から取得し、その参照領域の特定されたデータおよび更新領域の全てのデータ、情報記憶手段に記憶された実体管理情報を対象にバックアップ処理を行う運用処理手段とを備えたものである。 The data management apparatus according to the present invention includes information storage means for storing entity management information for managing the end of the reference area of the data storage means and backup start data information for specifying the head of the backup target in the reference area of the data storage means, Based on the entity management information, the data stored in the update area of the data storage means is added to the reference area, the data added to the reference area is deleted from the update area, and the entity is changed according to the data change in the data storage means. Data management means for updating management information, data specified based on backup start data information and entity management information is acquired from a reference area stored in the data storage means, and the specified data and update area of the reference area Operation processing that performs backup processing for all data and entity management information stored in the information storage means It is obtained by a means.

この発明によれば、バックアップ開始データ情報および実体管理情報を参照するだけで、バックアップの対象となるデータを特定することができるため、バックアップを高速に行うことができる効果がある。

According to the present invention, only by referring to the backup start data information and entity management information, it is possible to identify the data to be backed up, there is an effect that it is possible to perform the backup at a high speed.

実施の形態1.
図1はこの発明の実施の形態1によるデータ管理装置1を示す構成図であり、図において、データ管理装置1は、データベース等により構成されたものである。アプリケーションプログラム2は、データ管理装置1を使用する上位プログラムである。データ管理部(データ管理手段)3は、アプリケーションプログラム2の要求を受け、データの登録処理、更新処理、削除処理を行うものである。運用処理部(運用処理手段)4は、アプリケーションプログラム2の要求を受け、データ管理装置1が保持するデータのバックアップ、バックアップデータを元に戻すリストア、およびバックアップファイルの連結を行うものである。データアクセス部5は、データ管理装置1が保持する情報であるデータ格納領域(データ格納手段)6、実体管理テーブル7、バックアップ開始レコード情報8へのアクセスを行うものである。データ格納領域6は、登録されたデータの実体を管理するものである。実体管理テーブル7は、登録されたデータが論理的に存在するか否かの管理を行うものである。バックアップ開始レコード情報8は、バックアップ時にバックアップ対象とするレコードを特定するための情報を管理するものである。バックアップ媒体9は、バックアップファイルを退避する媒体である。なお、実体管理テーブル7およびバックアップ開始レコード情報8は、情報記憶装置(図示せず)に記憶されるものであるが、この情報記憶装置は、データ格納領域6内に含まれるものとしても良い。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a data management apparatus 1 according to Embodiment 1 of the present invention. In the figure, the data management apparatus 1 is constituted by a database or the like. The application program 2 is a higher-level program that uses the data management apparatus 1. The data management unit (data management means) 3 receives a request from the application program 2 and performs data registration processing, update processing, and deletion processing. The operation processing unit (operation processing means) 4 receives a request from the application program 2 and performs backup of data held by the data management apparatus 1, restoration to restore backup data, and connection of backup files. The data access unit 5 accesses the data storage area (data storage means) 6, the entity management table 7, and the backup start record information 8 which are information held by the data management apparatus 1. The data storage area 6 manages the substance of registered data. The entity management table 7 manages whether or not the registered data is logically present. The backup start record information 8 manages information for specifying a record to be backed up at the time of backup. The backup medium 9 is a medium for saving a backup file. The entity management table 7 and the backup start record information 8 are stored in an information storage device (not shown), but this information storage device may be included in the data storage area 6.

次に動作について説明する。
先ず、データ管理装置1のデータ管理方法について説明する。図2はデータ格納領域6におけるデータの格納形式を示す説明図である。データ格納領域6は、参照領域61と更新領域62とレコードアクセス情報63とで構成される。参照領域61および更新領域62は、それぞれを1つのファイルとしても良いし、それぞれを物理的に連続した領域として確保しても良い。参照領域61および更新領域62の1つのレコードは、アプリケーションプログラム2によって登録された1つのデータに対応する。各レコードは、参照領域61および更新領域62内で一意のレコード番号を持つ。図2において、レコード1は、レコード番号が1のレコード、レコード2は、レコード番号が2のレコード、・・・、レコードNは、レコード番号がNのレコードとなる。参照領域61および更新領域62において、レコードは各領域の先頭から連続して配置される。レコードは、各レコードのサイズが同一の固定長レコードでも、各レコードのサイズが異なる可変長レコードでも構わない。更新領域62は、アプリケーションプログラム2の登録処理、更新処理時にレコードの追加が行われる領域である。データ管理装置1は、更新領域62のレコードを定期的に参照領域61に追加する最適化処理を行う。参照領域61は、最適化処理によって更新領域62のレコードが追加されることを除き、レコードの状態が変化しない領域である。レコードアクセス情報63は、参照領域61および更新領域62に格納されたレコードにアクセスを行うための情報であり、レコード番号65、オフセット66およびサイズ67で構成される。参照領域61および更新領域62がそれぞれ1つのファイルとして構成される場合、オフセットは、各ファイルの先頭を起点としたオフセットとすれば良い。参照領域61および更新領域62が物理的に連続した領域として確保される場合、オフセットは、各物理領域の先頭を起点としたオフセットとすれば良い。レコードが固定長レコードで、各レコードへのオフセットが計算により求まる場合、レコードアクセス情報63は、必須ではない。
Next, the operation will be described.
First, a data management method of the data management apparatus 1 will be described. FIG. 2 is an explanatory diagram showing a data storage format in the data storage area 6. The data storage area 6 includes a reference area 61, an update area 62, and record access information 63. Each of the reference area 61 and the update area 62 may be a single file, or may be secured as a physically continuous area. One record in the reference area 61 and the update area 62 corresponds to one data registered by the application program 2. Each record has a unique record number in the reference area 61 and the update area 62. 2, record 1 is a record with a record number 1, record 2 is a record with a record number 2,..., Record N is a record with a record number N. In the reference area 61 and the update area 62, records are continuously arranged from the top of each area. The record may be a fixed-length record having the same size for each record, or a variable-length record having a different size for each record. The update area 62 is an area where a record is added during registration processing and update processing of the application program 2. The data management apparatus 1 performs an optimization process for periodically adding records in the update area 62 to the reference area 61. The reference area 61 is an area where the state of the record does not change except that the record of the update area 62 is added by the optimization process. The record access information 63 is information for accessing the records stored in the reference area 61 and the update area 62, and includes a record number 65, an offset 66, and a size 67. When the reference area 61 and the update area 62 are each configured as one file, the offset may be an offset starting from the beginning of each file. When the reference area 61 and the update area 62 are secured as physically continuous areas, the offset may be an offset starting from the beginning of each physical area. When the record is a fixed-length record and the offset to each record is obtained by calculation, the record access information 63 is not essential.

図3は実体管理テーブル7のデータの格納形式を示す説明図である。実体管理テーブル7は、データ格納領域6の全レコード数の情報である総レコード数71、参照領域61の全レコード数の情報である参照領域レコード数72、および各レコードに対応する、レコード番号73、論理ID74、削除フラグ75の情報を管理する。論理ID74は、アプリケーションプログラム2が付与する情報であり、論理ID74を基に参照領域61または更新領域62に格納されたレコードを一意に特定することが可能である。削除フラグ75は、データ格納領域6において、レコードが論理的に削除されているか否かを示す情報である。データ格納領域6でレコードが論理的に削除されている場合、該当レコードの削除フラグ75には1が付与される。削除フラグ75が1であるレコードはアプリケーションプログラム2に対しては削除されたレコードとして扱われる。実体管理テーブル7は、レコードの論理的な矛盾が生じないように管理を行う。つまり、実体管理テーブル7内で同一の論理ID74を持つレコードは複数存在しても良いが、その中で削除フラグ75が0であるレコードは0個もしくは1個しか存在しない。   FIG. 3 is an explanatory diagram showing a data storage format of the entity management table 7. The entity management table 7 includes a total record number 71 that is information on the total number of records in the data storage area 6, a reference area record number 72 that is information on the total number of records in the reference area 61, and a record number 73 corresponding to each record. , Information on logical ID 74 and deletion flag 75 is managed. The logical ID 74 is information provided by the application program 2 and can uniquely identify a record stored in the reference area 61 or the update area 62 based on the logical ID 74. The deletion flag 75 is information indicating whether or not the record is logically deleted in the data storage area 6. When a record is logically deleted in the data storage area 6, 1 is assigned to the deletion flag 75 of the corresponding record. A record having a deletion flag 75 of 1 is treated as a deleted record for the application program 2. The entity management table 7 performs management so that a logical contradiction between records does not occur. That is, there may be a plurality of records having the same logical ID 74 in the entity management table 7, but there are only zero or one record with the deletion flag 75 being 0 among them.

次に、データ管理装置1のデータ登録処理について説明する。図4はデータ管理装置1のデータ登録処理を示すフローチャートである。先ず、ステップST11において、データ管理部3がアプリケーションプログラム2の登録要求を受け付ける。アプリケーションプログラム2は、登録を行うデータと論理IDとを指定してデータ管理部3に登録要求を行う。次に、ステップST12において、データ管理部3は、ステップST11で受け取ったデータをデータ格納領域6が管理するレコードの形式に変換する。次に、ステップST13において、データ管理部3は、ステップST12で作成したレコードとステップST11で受け取った論理IDを指定してデータアクセス部5にレコードの追加要求を行う。次に、ステップST14において、データアクセス部5は、ステップST13で指定された論理IDの重複チェックを行う。重複チェックは、実体管理テーブル7を参照して、ステップST13で指定された論理IDと同一の論理ID74を持ち、削除フラグ75が0であるレコードが存在する場合にエラーとする。重複チェックにおいてエラーが発生した場合、ステップST14:YESに進み、ステップST15において、データアクセス部5は、ステップST13で指定された論理IDを持つレコードが既に登録されていることをデータ管理部3に伝える。重複チェックにおいてエラーが発生しなかった場合、ステップST14:NOに進み、ステップST16において、データアクセス部5は、実体管理テーブル7の総レコード数71の値Nを参照し、更新領域62のレコードNの後にステップST13で指定されたレコードを追加する。この時に、データ格納領域6がレコードアクセス情報63を持つ場合、レコードN+1のオフセット66、サイズ67の情報を追加する。次に、ステップST17において、データアクセス部5は、実体管理テーブル7にレコードN+1の情報を追加する。この時、論理ID74はステップST13で指定された論理ID、削除フラグ75は0を設定する。また、実体管理テーブル7の総レコード数71の値をN+1に更新する。   Next, data registration processing of the data management apparatus 1 will be described. FIG. 4 is a flowchart showing the data registration process of the data management apparatus 1. First, in step ST11, the data management unit 3 accepts a registration request for the application program 2. The application program 2 makes a registration request to the data management unit 3 by specifying data to be registered and a logical ID. Next, in step ST12, the data management unit 3 converts the data received in step ST11 into a record format managed by the data storage area 6. Next, in step ST13, the data management unit 3 makes a record addition request to the data access unit 5 by designating the record created in step ST12 and the logical ID received in step ST11. Next, in step ST14, the data access unit 5 performs a duplication check of the logical ID specified in step ST13. The duplication check refers to the entity management table 7, and an error occurs when there is a record having the same logical ID 74 as the logical ID specified in step ST13 and the deletion flag 75 being 0. If an error occurs in the duplication check, the process proceeds to step ST14: YES, and in step ST15, the data access unit 5 informs the data management unit 3 that a record having the logical ID specified in step ST13 has already been registered. Tell. If no error has occurred in the duplication check, the process proceeds to step ST14: NO. In step ST16, the data access unit 5 refers to the value N of the total number of records 71 in the entity management table 7, and records N in the update area 62 After that, the record designated in step ST13 is added. At this time, when the data storage area 6 has the record access information 63, information of the offset 66 and the size 67 of the record N + 1 is added. Next, in step ST17, the data access unit 5 adds the information of the record N + 1 to the entity management table 7. At this time, the logical ID 74 is set to the logical ID specified in step ST13, and the deletion flag 75 is set to 0. Also, the value of the total number of records 71 in the entity management table 7 is updated to N + 1.

次に、データ管理装置1のデータ削除処理について説明する。図5はデータ管理装置1のデータ削除処理を示すフローチャートである。先ず、ステップST21において、データ管理部3がアプリケーションプログラム2の削除要求を受け付ける。この時に、アプリケーションプログラム2は削除を行うデータの論理IDを指定する。次に、ステップST22において、データ管理部3は、ステップST21で受け取った論理IDを指定してデータアクセス部5にレコードの削除要求を行う。次に、ステップST23において、データアクセス部5は、ステップST22で指定された論理IDの存在チェックを行う。存在チェックでは実体管理テーブル7を参照し、ステップST22で指定された論理IDと同一の論理ID74を持ち、削除フラグ75が0であるレコードが存在しない場合にエラーとする。存在チェックでエラーが発生した場合、ステップST23:NOに進み、ステップST24において、データアクセス部5は、データ管理部3にステップST22で指定された論理IDを持つレコードが存在しないことを伝える。存在チェックでエラーが発生しなかった場合、ステップST23:YESに進み、ステップST25において、データアクセス部5は、ステップST23で見つかったレコードの削除フラグ75の値を1に変更する。   Next, the data deletion process of the data management apparatus 1 will be described. FIG. 5 is a flowchart showing data deletion processing of the data management apparatus 1. First, in step ST21, the data management unit 3 accepts a deletion request for the application program 2. At this time, the application program 2 designates a logical ID of data to be deleted. Next, in step ST22, the data management unit 3 makes a record deletion request to the data access unit 5 by designating the logical ID received in step ST21. Next, in step ST23, the data access unit 5 checks the presence of the logical ID specified in step ST22. In the presence check, the entity management table 7 is referred to, and an error is generated when there is no record having the same logical ID 74 as the logical ID specified in step ST22 and the deletion flag 75 being 0. If an error occurs in the existence check, the process proceeds to step ST23: NO, and in step ST24, the data access unit 5 informs the data management unit 3 that there is no record having the logical ID specified in step ST22. If no error has occurred in the existence check, the process proceeds to step ST23: YES, and in step ST25, the data access unit 5 changes the value of the deletion flag 75 of the record found in step ST23 to 1.

次に、データ管理装置1のデータ更新処理について説明する。図6はデータ管理装置1のデータ更新処理を示すフローチャートである。先ず、ステップST31において、データ管理部3がアプリケーションプログラム2の更新要求を受け付ける。アプリケーションプログラム2は、更新を行うデータの論理IDと更新データとを指定してデータ管理部3に更新要求を行う。次に、ステップST32において、データ管理部3は、ステップST31で受け取った更新データをデータ格納領域6が管理するレコードの形式に変換する。次に、ステップST33において、データ管理部3は、ステップST32で作成したレコードとステップST31で受け取った論理IDを指定してデータアクセス部5にレコードの更新要求を行う。次に、ステップST34において、データアクセス部5は、ステップST33で指定された論理IDの存在チェックを行う。存在チェックでは実体管理テーブル7を参照し、ステップST33で指定された論理IDと同一の論理ID74を持ち、削除フラグ75が0であるレコードが存在しない場合にエラーとする。存在チェックにおいてエラーが発生した場合、ステップST34:NOに進み、ステップST35において、データアクセス部5は、ステップST33で指定された論理IDを持つレコードが存在しないことをデータ管理部3に伝える。存在チェックにおいてエラーが発生しなかった場合、ステップST34:YESに進み、データアクセス部5は、ステップST34で見つかったレコードの削除フラグ75の値を1に変更する。次に、ステップST37において、データアクセス部5は、実体管理テーブル7の総レコード数71の値Nを参照する。データアクセス部5は、更新領域62のレコードNの後にステップST33で指定されたレコードを追加する。また、データ格納領域6がレコードアクセス情報63を持つ場合、レコードN+1のオフセット66およびサイズ67の情報を追加する。次に、ステップST38において、データアクセス部5は、実体管理テーブル7にレコードN+1の情報を追加する。この時、論理ID74はステップST33で指定された論理ID、削除フラグ75は0を設定する。また、実体管理テーブル7の総レコード数71の情報をN+1に更新する。   Next, data update processing of the data management apparatus 1 will be described. FIG. 6 is a flowchart showing data update processing of the data management apparatus 1. First, in step ST31, the data management unit 3 receives an update request for the application program 2. The application program 2 makes an update request to the data management unit 3 by designating the logical ID of the data to be updated and the update data. Next, in step ST32, the data management unit 3 converts the update data received in step ST31 into a record format managed by the data storage area 6. Next, in step ST33, the data management unit 3 makes a record update request to the data access unit 5 by designating the record created in step ST32 and the logical ID received in step ST31. Next, in step ST34, the data access unit 5 checks the existence of the logical ID specified in step ST33. In the existence check, the entity management table 7 is referred to, and an error is generated if there is no record having the same logical ID 74 as the logical ID specified in step ST33 and the deletion flag 75 is 0. If an error occurs in the existence check, the process proceeds to step ST34: NO, and in step ST35, the data access unit 5 notifies the data management unit 3 that there is no record having the logical ID specified in step ST33. If no error has occurred in the existence check, the process proceeds to step ST34: YES, and the data access unit 5 changes the value of the deletion flag 75 of the record found in step ST34 to 1. Next, in step ST37, the data access unit 5 refers to the value N of the total number of records 71 in the entity management table 7. The data access unit 5 adds the record specified in step ST33 after the record N in the update area 62. When the data storage area 6 has the record access information 63, information on the offset 66 and the size 67 of the record N + 1 is added. Next, in step ST38, the data access unit 5 adds the information of the record N + 1 to the entity management table 7. At this time, the logical ID 74 is set to the logical ID specified in step ST33, and the deletion flag 75 is set to 0. Further, the information on the total number of records 71 in the entity management table 7 is updated to N + 1.

次に、データ管理装置1の最適化処理について説明する。図7はデータ管理装置1の最適化処理を示すフローチャートである。最適化処理とは、更新領域62のレコードを参照領域61に追加する処理であり、データ管理部3により定期的に実行される。先ず、ステップST41において、データ管理部3は、データアクセス部5にレコードの最適化要求を行う。次に、ステップST42において、データアクセス部5は、実体管理テーブル7を参照し、参照領域レコード数72の値M、総レコード数71の値Nを取得する(M≦N)。さらに、ステップST43において、データアクセス部5は、更新領域62のレコードを参照領域61に全て追加したか否かの判定を行う。判定で、MとNの値がM<Nを満たす場合はステップST43:YESに進み、ステップST44を実行する。また、M<Nを満たさない場合はステップST43:NOに進みステップST46を実行する。ステップST44において、データアクセス部5は、更新領域62のレコードM+1を参照領域61のレコードMの後に追加する。また、データ格納領域6がレコードアクセス情報63を持つ場合は、レコードM+1のオフセット66、サイズ67の情報を追加する。ステップST45では、データアクセス部5はMの値を1増加させてステップST43の処理を実行する。さらに、ステップST46においては、データアクセス部5は、更新領域62の全てのレコードを削除する。参照領域61および更新領域62をそれぞれを1つのファイルとして管理する場合、データアクセス部5は、更新領域62のファイルを空にすれば良い。参照領域61および更新領域62を物理的に連続した領域として確保する場合、データアクセス部5は、更新領域62の初期化を行えば良い。最後に、ステップST47において、データアクセス部5は、実体管理テーブル7の参照領域レコード数72の値をNに更新する。   Next, the optimization process of the data management apparatus 1 will be described. FIG. 7 is a flowchart showing the optimization process of the data management apparatus 1. The optimization process is a process for adding the record in the update area 62 to the reference area 61 and is periodically executed by the data management unit 3. First, in step ST41, the data management unit 3 makes a record optimization request to the data access unit 5. Next, in step ST42, the data access unit 5 refers to the entity management table 7, and acquires the value M of the reference area record number 72 and the value N of the total record number 71 (M ≦ N). Further, in step ST43, the data access unit 5 determines whether or not all the records in the update area 62 have been added to the reference area 61. If it is determined that the values of M and N satisfy M <N, the process proceeds to step ST43: YES, and step ST44 is executed. If M <N is not satisfied, the process proceeds to step ST43: NO, and step ST46 is executed. In step ST <b> 44, the data access unit 5 adds the record M + 1 in the update area 62 after the record M in the reference area 61. When the data storage area 6 has the record access information 63, information on the offset 66 and the size 67 of the record M + 1 is added. In step ST45, the data access unit 5 increments the value of M by 1 and executes the process of step ST43. Further, in step ST46, the data access unit 5 deletes all the records in the update area 62. When managing each of the reference area 61 and the update area 62 as one file, the data access unit 5 may empty the file in the update area 62. When the reference area 61 and the update area 62 are secured as physically continuous areas, the data access unit 5 may initialize the update area 62. Finally, in step ST47, the data access unit 5 updates the value of the reference area record number 72 in the entity management table 7 to N.

次に、データ管理装置1が保持するデータのバックアップ処理について説明する。データ管理装置1において、バックアップの対象となるデータはデータ格納領域6および実体管理テーブル7である。バックアップは、フルバックアップ、差分バックアップ、増分バックアップの3種類の処理がある。フルバックアップは、データ管理装置1が保持する全てのデータを対象にバックアップを行う処理である。差分バックアップは、最後にフルバックアップを行った時点から更新されたデータを対象にバックアップを行う処理である。増分バックアップは、最後にフルバックアップ、差分バックアップ、または増分バックアップのいずれかを行った時点から更新されたデータを対象にバックアップを行う処理である。   Next, backup processing of data held by the data management device 1 will be described. In the data management apparatus 1, the data to be backed up are the data storage area 6 and the entity management table 7. There are three types of backups: full backup, differential backup, and incremental backup. The full backup is a process for performing backup for all data held by the data management apparatus 1. The differential backup is a process for performing backup on data updated from the time of the last full backup. Incremental backup is a process for performing backup on data updated since the last full backup, differential backup, or incremental backup.

ここで、データ管理装置1のバックアップ処理について説明する。図8はバックアップ開始レコード情報8を示す説明図であり、このバックアップ開始レコード情報8は、差分バックアップまたは増分バックアップ時に、バックアップ対象のレコードを特定するための情報を記録したものである。図9はデータ管理装置1のバックアップ処理を示すフローチャートである。図10はデータ管理装置1がバックアップ時に作成するバックアップファイル10の構造を示す説明図である。   Here, the backup process of the data management apparatus 1 will be described. FIG. 8 is an explanatory diagram showing the backup start record information 8. The backup start record information 8 is recorded with information for specifying a record to be backed up at the time of differential backup or incremental backup. FIG. 9 is a flowchart showing the backup processing of the data management apparatus 1. FIG. 10 is an explanatory diagram showing the structure of the backup file 10 created by the data management apparatus 1 during backup.

先ず、ステップST51において、運用処理部4は、アプリケーションプログラム2のバックアップ要求を受け付け、バックアップファイル10を生成し、作成日時101の書き込みを行う。この時に、アプリケーションプログラム2は、バックアップ種別として、フルバックアップ、差分バックアップ、増分バックアップのいずれかを指定する。次に、ステップST52において、運用処理部4は、実体管理テーブル7を参照し、総レコード数71の値N、参照領域レコード数72の値Mを取得する。次に、ステップST53において、運用処理部4は、参照領域61のバックアップを行う。   First, in step ST51, the operation processing unit 4 receives a backup request for the application program 2, generates the backup file 10, and writes the creation date 101. At this time, the application program 2 designates full backup, differential backup, or incremental backup as the backup type. Next, in step ST52, the operation processing unit 4 refers to the entity management table 7, and acquires the value N of the total record number 71 and the value M of the reference area record number 72. Next, in step ST53, the operation processing unit 4 backs up the reference area 61.

ここで、参照領域61のバックアップ処理について詳細に説明する。先ず、ステップST64において、運用処理部4は、参照領域61の中でバックアップの対象となるレコードの集合を求める。レコードの集合において、先頭のレコードのレコード番号をS1、終端のレコードのレコード番号をT1とする。ここで、ステップST51において指定されたバックアップ種別がフルバックアップの場合はS1の値を1とする。差分バックアップの場合はバックアップ開始レコード情報8を参照し、バックアップ種別81が差分バックアップのレコード番号82の値をS1の値とする。増分バックアップの場合はバックアップ開始レコード情報8を参照し、バックアップ種別81が増分バックアップのレコード番号82の値をS1の値とする。T1の値は実体管理テーブル7の参照領域レコード数72の値Mとする。次に、ステップST65において、運用処理部4は、レコードS1からレコードT1までの参照領域61における格納位置を特定する情報として、格納開始位置U1および格納サイズV1を求める。この時、データ格納領域6がレコードアクセス情報63を持つ場合、格納開始位置U1は「レコードS1のオフセット」、格納サイズV1は「レコードT1のオフセット+レコードT1のサイズ」で求めることができる。また、データ格納領域6がレコードアクセス情報63を持たず、レコード長がLの固定長レコードの場合、格納開始位置U1は「(S1−1)×L」、格納サイズV1は「(T1−S1+1)×L」で求めることができる。次に、ステップST66において、運用処理部4は、ステップST65で求めた格納開始位置U1および格納サイズV1を基にデータアクセス部5を介し、参照領域61のデータを取得する。次に、ステップST67において、運用処理部4は、レコードS1のレコード番号をバックアップファイル10の参照領域先頭レコード番号102に書き込み、レコードT1のレコード番号をバックアップファイルの参照領域終端レコード番号103に書き込む。また、ステップST66で取得した参照領域61のデータをバックアップファイル10の参照領域データ112に書き込む。また、バックアップファイル10において参照領域データ112へアクセスするための情報として参照領域データオフセット104を書込み、ステップST65で求めた格納サイズV1を参照領域データサイズ105に書き込む。   Here, the backup process of the reference area 61 will be described in detail. First, in step ST64, the operation processing unit 4 obtains a set of records to be backed up in the reference area 61. In the set of records, the record number of the first record is S1, and the record number of the last record is T1. Here, if the backup type specified in step ST51 is a full backup, the value of S1 is set to 1. In the case of differential backup, the backup start record information 8 is referred to, and the value of the record number 82 of the differential backup with the backup type 81 is set as the value of S1. In the case of incremental backup, the backup start record information 8 is referred to, and the value of the record number 82 of the incremental backup of the backup type 81 is set as the value of S1. The value of T1 is a value M of 72 reference area records in the entity management table 7. Next, in step ST65, the operation processing unit 4 obtains the storage start position U1 and the storage size V1 as information for specifying the storage position in the reference area 61 from the record S1 to the record T1. At this time, when the data storage area 6 has the record access information 63, the storage start position U1 can be obtained by “offset of record S1”, and the storage size V1 can be obtained by “offset of record T1 + size of record T1”. When the data storage area 6 does not have the record access information 63 and is a fixed-length record with a record length of L, the storage start position U1 is “(S1-1) × L”, and the storage size V1 is “(T1-S1 + 1). ) × L ”. Next, in step ST66, the operation processing unit 4 acquires data of the reference area 61 via the data access unit 5 based on the storage start position U1 and the storage size V1 obtained in step ST65. Next, in step ST67, the operation processing unit 4 writes the record number of the record S1 to the reference area start record number 102 of the backup file 10, and writes the record number of the record T1 to the reference area end record number 103 of the backup file. Further, the data of the reference area 61 acquired in step ST66 is written into the reference area data 112 of the backup file 10. Further, the reference area data offset 104 is written as information for accessing the reference area data 112 in the backup file 10, and the storage size V1 obtained in step ST65 is written in the reference area data size 105.

次に、運用処理部4は、更新領域62のバックアップ処理を行う。更新領域62は、全てのレコードがバックアップの対象となるため、ステップST54において、運用処理部4は、更新領域62に格納された全てのレコードのデータをデータアクセス部5を介し取得する。ステップST55において、運用処理部4は、ステップST54で取得した更新領域62のレコードのデータをバックアップファイル10の更新領域データ113に書き込む。また、バックアップファイル10において更新領域データ113にアクセスするための情報として、更新領域データオフセット106および更新領域データサイズ107を書き込む。   Next, the operation processing unit 4 performs a backup process for the update area 62. Since all the records in the update area 62 are to be backed up, the operation processing unit 4 acquires the data of all the records stored in the update area 62 via the data access unit 5 in step ST54. In step ST55, the operation processing unit 4 writes the record data of the update area 62 acquired in step ST54 into the update area data 113 of the backup file 10. In addition, the update area data offset 106 and the update area data size 107 are written as information for accessing the update area data 113 in the backup file 10.

次に、運用処理部4は、レコードアクセス情報63のバックアップ処理を行う。ステップST56において、データ格納領域6がレコードアクセス情報63を持つ場合はステップST56:YESに進み、そうでない場合はステップST56:NOに進む。ステップST57において、運用処理部4は、データアクセス部5を介してレコードアクセス情報63のデータを取得し、ステップST58において、バックアップファイル10のレコードアクセス情報データ114に書き込む。この時に、バックアップファイル10においてレコードアクセス情報データ114にアクセスするための情報として、レコードアクセス情報データオフセット108およびレコードアクセス情報データサイズ109を書き込む。   Next, the operation processing unit 4 performs a backup process of the record access information 63. In step ST56, if the data storage area 6 has the record access information 63, the process proceeds to step ST56: YES, and if not, the process proceeds to step ST56: NO. In step ST57, the operation processing unit 4 acquires the data of the record access information 63 via the data access unit 5, and writes it in the record access information data 114 of the backup file 10 in step ST58. At this time, the record access information data offset 108 and the record access information data size 109 are written as information for accessing the record access information data 114 in the backup file 10.

次に、運用処理部4は、実体管理テーブル7のバックアップ処理を行う。先ず、ステップST59において、運用処理部4は、データアクセス部5を介し実体管理テーブル7のデータを取得する。次に、ステップST60において、運用処理部4は、ステップST59で取得した実体管理テーブル7のデータをバックアップファイル10の実体管理テーブルデータ115に書き込む。この時に、バックアップファイル10において実体管理テーブルデータ115にアクセスするための情報として、実体管理テーブルデータオフセット110および実体管理テーブルデータサイズ111を書き込む。   Next, the operation processing unit 4 performs backup processing of the entity management table 7. First, in step ST59, the operation processing unit 4 acquires the data of the entity management table 7 via the data access unit 5. Next, in step ST60, the operation processing unit 4 writes the data of the entity management table 7 acquired in step ST59 into the entity management table data 115 of the backup file 10. At this time, the entity management table data offset 110 and the entity management table data size 111 are written as information for accessing the entity management table data 115 in the backup file 10.

最後に、運用処理部4は、バックアップ開始レコード情報8を更新する。ステップST61において、運用処理部4は、データアクセス部5を介し、バックアップ種別81が増分バックアップであるレコード番号82の値をM+1に更新する。また、ステップST51で指定されたバックアップ種別がフルバックアップの場合に限り、バックアップ種別81が差分バックアップであるレコード番号82の値をM+1に更新する。   Finally, the operation processing unit 4 updates the backup start record information 8. In step ST61, the operation processing unit 4 updates the value of the record number 82 whose backup type 81 is incremental backup to M + 1 via the data access unit 5. Also, only when the backup type specified in step ST51 is a full backup, the value of the record number 82 in which the backup type 81 is a differential backup is updated to M + 1.

次に、データ管理装置1のデータのリストア処理について説明する。図11はデータ管理装置1のリストア処理を示すフローチャート、図12はバックアップファイルおよびデータ格納領域138におけるデータの格納形式を示す説明図であり、図10のバックアップファイル10と共に用いて説明する。先ず、運用処理部4は、アプリケーションプログラム2からリストア要求を受け付ける。この時、アプリケーションプログラム2は、データ管理装置1をリストアするために必要なバックアップファイル10をN個(1≦N)指定する。図12では、バックアップファイルA120、バックアップファイルB125、バックアップファイルC130が指定され、N=3となり、これらのバックアップファイルを用いてデータ格納領域138および実体管理テーブル145のリストアを行う。次に、ステップST72において、運用処理部4は、ステップST71で指定されたN個のバックアップファイル10を用いてデータ管理装置1をリストア可能か調べる。運用処理部4は、N個のバックアップファイル10の保持しているレコード番号が1のレコードから重複や抜けがなく保持している場合にリストア可能と判定する。図12では、バックアップファイルA120がレコード1〜k、バックアップファイルB125がレコードk+1〜L、バックアップファイルC130がレコードL+1〜Mの情報を保持しており、レコード1〜Mの情報を重複や抜けがなく保持しているため、リストア可能と判断する。ステップST72においてリストア可能と判定した場合は、ステップST72:YESに進み、ステップST74において参照領域61のリストア処理を行う。ステップST72においてリストア不可能と判断した場合は、ステップST72:NOに進み、ステップST73でアプリケーションプログラム2にエラー情報を返す。   Next, data restoration processing of the data management apparatus 1 will be described. FIG. 11 is a flowchart showing a restore process of the data management apparatus 1, and FIG. 12 is an explanatory diagram showing a storage format of data in the backup file and data storage area 138, which will be described together with the backup file 10 of FIG. First, the operation processing unit 4 receives a restore request from the application program 2. At this time, the application program 2 designates N (1 ≦ N) backup files 10 necessary for restoring the data management apparatus 1. In FIG. 12, a backup file A120, a backup file B125, and a backup file C130 are designated and N = 3, and the data storage area 138 and the entity management table 145 are restored using these backup files. Next, in step ST72, the operation processing unit 4 checks whether the data management apparatus 1 can be restored using the N backup files 10 designated in step ST71. The operation processing unit 4 determines that restoration is possible when the record number held in the N backup files 10 is held without duplication or omission from the record with 1 record. In FIG. 12, the backup file A120 holds records 1 to k, the backup file B125 holds records k + 1 to L, and the backup file C130 holds records L + 1 to M, so that the information of records 1 to M is not duplicated or missing. Since it is retained, it is determined that restoration is possible. If it is determined in step ST72 that restoration is possible, the process proceeds to step ST72: YES, and the reference area 61 is restored in step ST74. If it is determined in step ST72 that restoration is not possible, the process proceeds to step ST72: NO, and error information is returned to the application program 2 in step ST73.

ここで、参照領域61のリストア処理について詳細に説明する。参照領域61のリストアは、運用処理部4がステップST71において指定されたN個のバックアップファイル10が保持する全ての参照領域データ112を、参照領域61に書き込むことで行う。図12では、バックアップファイルA120が保持する参照領域データ124、バックアップファイルB125が保持する参照領域データ129、バックアップファイルCが保持する参照領域データ134を参照領域139に書き込むことでリストアを行う。   Here, the restoration process of the reference area 61 will be described in detail. The reference area 61 is restored by the operation processing unit 4 writing all the reference area data 112 held by the N backup files 10 designated in step ST71 into the reference area 61. In FIG. 12, restoration is performed by writing the reference area data 124 held by the backup file A120, the reference area data 129 held by the backup file B125, and the reference area data 134 held by the backup file C into the reference area 139.

先ず、ステップST82において、運用処理部4は、書き込み位置WPの値を0にセットする。書き込み位置WPは、参照領域61において参照領域データ112を書き込む位置を特定する情報であり、参照領域61の先頭を基点としたオフセットである。図12では、書き込み位置WPの値を0にセットすることで参照領域139の先頭を指す。次に、ステップST83において、運用処理部4は、未処理のバックアップファイル10の中で作成日時101が最も古いバックアップファイル10を選択する。図12ではバックアップファイルA120が選択される。次に、ステップST84において、運用処理部4は、ステップST83で選択したバックアップファイル10の参照領域データオフセット104と参照領域データサイズ105を基に参照領域データ112を取得し、データアクセス部5を介して参照領域61の書き込み位置WPの位置から書き込む。図12では参照領域データ124が参照領域139の先頭から書き込まれ、参照領域140の部分に書き込まれる。次に、ステップST85において、運用処理部4は、書き込み位置WPにステップST83で選択したバックアップファイル10の参照領域データサイズ105の値を加算する。図12では書き込み位置WPの値に、参照領域データ124のサイズを加算する。次に、ステップST86において、参照領域61のリストアが完了したか否かの判定を行う。N個のバックアップファイル10を全てを処理した場合はステップST86:YESに進み、参照領域61のリストアを完了する。未処理のバックアップファイル10がある場合はステップS83に進む。図12では、バックアップファイルB125、バックアップファイルC130に対して、ステップST83からステップST85の処理が行われる。その結果、参照領域データ129が参照領域141の部分に、参照領域データ134が参照領域142の部分に書き込まれる。   First, in step ST82, the operation processing unit 4 sets the value of the write position WP to 0. The write position WP is information for specifying the position where the reference area data 112 is written in the reference area 61 and is an offset with the head of the reference area 61 as a base point. In FIG. 12, the value of the write position WP is set to 0 to indicate the beginning of the reference area 139. Next, in step ST83, the operation processing unit 4 selects the backup file 10 with the oldest creation date 101 among the unprocessed backup files 10. In FIG. 12, the backup file A120 is selected. Next, in step ST84, the operation processing unit 4 acquires the reference area data 112 based on the reference area data offset 104 and the reference area data size 105 of the backup file 10 selected in step ST83, and passes through the data access unit 5. Thus, writing is performed from the position of the writing position WP in the reference area 61. In FIG. 12, the reference area data 124 is written from the top of the reference area 139 and written in the reference area 140. Next, in step ST85, the operation processing unit 4 adds the value of the reference area data size 105 of the backup file 10 selected in step ST83 to the write position WP. In FIG. 12, the size of the reference area data 124 is added to the value of the write position WP. Next, in step ST86, it is determined whether or not the restoration of the reference area 61 has been completed. If all of the N backup files 10 have been processed, the process proceeds to step ST86: YES, and the restoration of the reference area 61 is completed. If there is an unprocessed backup file 10, the process proceeds to step S83. In FIG. 12, the processing from step ST83 to step ST85 is performed on the backup file B125 and the backup file C130. As a result, the reference area data 129 is written in the reference area 141 and the reference area data 134 is written in the reference area 142.

次に、運用処理部4は、ステップST75において、ステップST71で指定されたN個のバックアップファイル10の中で、作成日付101が最も新しいバックアップファイル10を選択する。図12では、バックアップファイルC130が選択される。ステップST76において、運用処理部4は、ステップST75で選択したバックアップファイル10の更新領域データオフセット106と更新領域データサイズ107を基に更新領域データ113を取得し、データアクセス部5を介して更新領域62の先頭から書き込む。図12では、更新領域データ135が更新領域143に書き込まれる。次に、ステップST77において、運用処理部4は、ステップST75で選択したバックアップファイル10の実体管理テーブルデータオフセット110と実体管理テーブルデータサイズ111を基に実体管理テーブルデータ115を取得し、データアクセス部5を介して実体管理テーブル7の先頭から書き込む。図12では、実体管理テーブルデータ137が実体管理テーブル145に書き込まれる。次に、ステップST78において、データ格納領域6がレコードアクセス情報63を持つ場合はステップST78:YESに進み、ステップST79の処理を行い、そうでなければステップST78:NOに進む。ステップST79において、運用処理部4は、ステップST75で選択したバックアップファイル10のレコードアクセス情報データオフセット108とレコードアクセス情報データサイズ109を基にレコードアクセス情報データ114を取得し、データアクセス部5を介しレコードアクセス情報63の先頭から書き込む。図12では、レコードアクセス情報データ136がレコードアクセス情報144に書き込まれる。   Next, in step ST75, the operation processing unit 4 selects the backup file 10 with the latest creation date 101 from among the N backup files 10 designated in step ST71. In FIG. 12, the backup file C130 is selected. In step ST76, the operation processing unit 4 acquires the update region data 113 based on the update region data offset 106 and the update region data size 107 of the backup file 10 selected in step ST75, and updates the update region via the data access unit 5. Write from the beginning of 62. In FIG. 12, the update area data 135 is written into the update area 143. Next, in step ST77, the operation processing unit 4 acquires the entity management table data 115 based on the entity management table data offset 110 and the entity management table data size 111 of the backup file 10 selected in step ST75, and the data access unit 5 from the beginning of the entity management table 7. In FIG. 12, entity management table data 137 is written to the entity management table 145. Next, in step ST78, if the data storage area 6 has the record access information 63, the process proceeds to step ST78: YES, and the process of step ST79 is performed. Otherwise, the process proceeds to step ST78: NO. In step ST79, the operation processing unit 4 acquires the record access information data 114 based on the record access information data offset 108 and the record access information data size 109 of the backup file 10 selected in step ST75, and passes through the data access unit 5. Write from the top of the record access information 63. In FIG. 12, the record access information data 136 is written in the record access information 144.

次に、データ管理装置1の、複数のバックアップファイル10を連結して1つのバックアップファイル10を作成する時の処理について説明する。図13はデータ管理装置1のバックアップファイル連結処理を示すフローチャート、図14はバックアップファイル150,156、162、180を示す説明図であり、図10のバックアップファイル10と共に用いて説明する。先ず、ステップST91において、運用処理部4は、アプリケーションプログラム2から連結要求を受け付け、連結後のバックアップファイル10を作成し、作成日時101の書込みを行う。この時、アプリケーションプログラム2は連結するバックアップファイル10をN個(1<N)指定する。図14では、バックアップA150、バックアップB156、バックアップC162の3つが指定されてN=3となり、連結後のバックアップファイルD180を作成し、作成日時181の書込みを行う。次に、ステップST92において、運用処理部4は、ステップST91で指定されたN個のバックアップファイル10を連結可能か調べる。運用処理部4は、N個のバックアップファイル10が参照領域61のレコードを重複や抜けなく保持している場合に連結可能と判定する。図14では、バックアップファイルA150がレコードJ〜K、バックアップファイルB156がレコードK+1〜L、バックアップファイルC162がレコードL+1〜Mの情報を保持しており、レコードJ+Mの情報を重複や抜けが無く保持しているため、連結可能と判定する。ステップST92において、連結可能と判定した場合はステップST92:YESに進み、ステップST94において、参照領域データ112の連結処理を行う。ステップST92において、連結不可能と判定した場合はステップST92:NOに進み、ステップST93でアプリケーションプログラム2にエラー情報を返す。   Next, processing when the data management apparatus 1 creates a single backup file 10 by connecting a plurality of backup files 10 will be described. FIG. 13 is a flowchart showing the backup file connection process of the data management apparatus 1, and FIG. 14 is an explanatory diagram showing the backup files 150, 156, 162, 180, which will be described together with the backup file 10 of FIG. First, in step ST91, the operation processing unit 4 receives a connection request from the application program 2, creates a backup file 10 after connection, and writes the creation date 101. At this time, the application program 2 designates N backup files 10 to be connected (1 <N). In FIG. 14, backup A 150, backup B 156, and backup C 162 are designated and N = 3, and a backup file D 180 after linking is created and the creation date 181 is written. Next, in step ST92, the operation processing unit 4 checks whether the N backup files 10 designated in step ST91 can be connected. The operation processing unit 4 determines that connection is possible when N backup files 10 hold records in the reference area 61 without duplication or omission. In FIG. 14, the backup file A 150 holds records J to K, the backup file B 156 holds records K + 1 to L, and the backup file C 162 holds information of records L + 1 to M, and holds information of the record J + M without duplication or omission. Therefore, it is determined that connection is possible. If it is determined in step ST92 that connection is possible, the process proceeds to step ST92: YES, and reference region data 112 is connected in step ST94. If it is determined in step ST92 that the connection is impossible, the process proceeds to step ST92: NO, and error information is returned to the application program 2 in step ST93.

ここで、参照領域データ112の連結処理について詳細に説明する。参照領域データ112の連結は、運用処理部4がステップST91において指定されたN個のバックアップファイル10が保持する全ての参照領域データ112を結合後のバックアップファイル10に書き込むことで行う。図14では、参照領域データ155、参照領域データ161、参照領域データ170をバックアップファイルD180に書き込むことで参照領域データの連結を行う。   Here, the connection process of the reference area data 112 will be described in detail. The reference area data 112 is linked by the operation processing unit 4 writing all the reference area data 112 held by the N backup files 10 designated in step ST91 into the combined backup file 10. In FIG. 14, the reference area data 155, the reference area data 161, and the reference area data 170 are written in the backup file D180 to link the reference area data.

先ず、ステップST102において、運用処理部4は、書き込み位置FPの値を0にセットする。書き込み位置FPは、連結後のバックアップファイル10において、連結に使用するN個のバックアップファイル10の参照領域データ112を書き込む位置を特定する情報であり、連結後のバックアップファイル10の参照領域データ112の先頭を起点としたオフセットである。図14では書き込み位置FPは、参照領域データ192の先頭を起点としたオフセットであり、FPを0にセットすることで参照領域データ192の先頭を指す。次に、ステップST103において、運用処理部4は、未処理のバックアップファイル10の中で、作成日時101が最も古いバックアップファイル10を選択する。図14ではバックアップファイルA150を選択する。次に、ステップST104において、運用処理部4は、ステップST103で選択したバックアップファイル10の参照領域データオフセット104と参照領域データサイズ105を基に参照領域データ112を取得し、連結後のバックアップファイル10の書き込み位置FPの位置から書き込む。図14では、参照領域データ155が参照領域データ192の先頭から書き込まれ、参照領域データ193の部分に書き込まれる。次に、ステップST105において、運用処理部4は、書き込み位置FPにステップST103で選択したバックアップファイル10の参照領域データサイズ105の値を加算する。図14では書き込み位置FPの値に、参照領域データサイズ154を加算する。次に、ステップST106において、参照領域データ112の連結が完了したか否かの判定を行う。ステップST91において指定されたN個のバックアップファイル10を全て処理した場合はステップST106:YESに進み、ステップST107の処理を行う。未処理のバックアップファイル10がある場合はステップST106:NOに進み、ステップST103を実行する。図14では、バックアップファイルB156、バックアップファイルC162に対して、ステップST103からステップST105の処理が行われる。その結果、参照領域データ161が参照領域データ194の部分に、参照領域データ170が参照領域データ195の部分に書き込まれる。次に、ステップST107において、運用処理部4は、ステップST91において指定されたN個のバックアップファイル10の中で作成日時101が最も古いバックアップファイル10の参照領域先頭レコード番号102の値を、連結後のバックアップファイル10の参照領域先頭レコード番号102に書き込む。また、ステップST91において指定されたN個のバックアップファイル10の中で作成日時101が最も新しいバックアップファイル10の参照領域終端レコード番号103の値を、連結後のバックアップファイル10の参照領域終端レコード番号103に書き込む。また、連結後のバックアップファイル10において参照領域データ112にアクセスするための情報を連結後のバックアップファイル10の参照領域データオフセット104に書込み、ステップST91において指定されたN個のバックアップファイル10の参照領域データサイズ105の総和を、連結後のバックアップファイル10における参照領域データサイズ105に書き込む。図14では、参照領域先頭レコード番号152の値を参照領域先頭レコード番号182に書込み、参照領域終端レコード番号165の値を参照領域終端レコード番号183に書込む。また、バックアップファイルD180において参照領域データへアクセスするための情報を参照領域データオフセット184に書込み、参照領域データサイズ154、参照領域データサイズ160、および参照領域データサイズ166の総和を参照領域データサイズ185に書き込む。   First, in step ST102, the operation processing unit 4 sets the value of the write position FP to 0. The write position FP is information for specifying a position to write the reference area data 112 of the N backup files 10 used for concatenation in the backup file 10 after concatenation. The write position FP is the information of the reference area data 112 of the backup file 10 after concatenation. This is the offset starting from the beginning. In FIG. 14, the write position FP is an offset starting from the beginning of the reference area data 192, and setting the FP to 0 indicates the beginning of the reference area data 192. Next, in step ST103, the operation processing unit 4 selects the backup file 10 with the oldest creation date 101 among the unprocessed backup files 10. In FIG. 14, the backup file A150 is selected. Next, in step ST104, the operation processing unit 4 acquires the reference area data 112 based on the reference area data offset 104 and the reference area data size 105 of the backup file 10 selected in step ST103, and the backup file 10 after concatenation. Write from the position of the write position FP. In FIG. 14, the reference area data 155 is written from the beginning of the reference area data 192 and is written in the reference area data 193 portion. Next, in step ST105, the operation processing unit 4 adds the value of the reference area data size 105 of the backup file 10 selected in step ST103 to the write position FP. In FIG. 14, the reference area data size 154 is added to the value of the write position FP. Next, in step ST106, it is determined whether or not the connection of the reference area data 112 is completed. When all the N backup files 10 designated in step ST91 have been processed, the process proceeds to step ST106: YES, and the process of step ST107 is performed. If there is an unprocessed backup file 10, the process proceeds to step ST106: NO, and step ST103 is executed. In FIG. 14, the processing from step ST103 to step ST105 is performed on the backup file B156 and the backup file C162. As a result, the reference area data 161 is written in the reference area data 194 portion, and the reference area data 170 is written in the reference area data 195 portion. Next, in step ST107, the operation processing unit 4 adds the value of the reference area first record number 102 of the backup file 10 with the oldest creation date 101 among the N backup files 10 specified in step ST91 after concatenation. Is written in the reference area first record number 102 of the backup file 10. Further, the reference area end record number 103 of the backup file 10 with the latest creation date 101 among the N backup files 10 designated in step ST91 is used as the reference area end record number 103 of the backup file 10 after concatenation. Write to. Further, information for accessing the reference area data 112 in the backup file 10 after connection is written in the reference area data offset 104 of the backup file 10 after connection, and the reference areas of the N backup files 10 specified in step ST91. The sum of the data sizes 105 is written into the reference area data size 105 in the backup file 10 after concatenation. In FIG. 14, the value of the reference area first record number 152 is written in the reference area first record number 182 and the value of the reference area end record number 165 is written in the reference area end record number 183. In addition, information for accessing the reference area data in the backup file D180 is written in the reference area data offset 184, and the total of the reference area data size 154, the reference area data size 160, and the reference area data size 166 is referred to as the reference area data size 185. Write to.

次に、運用処理部4は、更新領域データ113の連結処理を行う。運用処理部4は、ステップST95において、ステップST91において指定されたN個のバックアップファイル10の中で、作成日付101が最も新しいバックアップファイル10を選択する。図14ではバックアップファイルC162が選択される。次に、ステップST96において、運用処理部4は、ステップST95で選択したバックアップファイル10の更新領域データオフセット106および更新領域データサイズ107を基に更新領域データ113を取得し、連結後のバックアップファイル10の更新領域データ113に書き込む。この時に、連結後のバックアップファイル10において更新領域データ113にアクセスするための情報を、連結後のバックアップファイル10の更新領域データオフセット106に書き込み、ステップST95で選択したバックアップファイル10の更新領域データサイズ107を、連結後のバックアップファイル10の更新領域データサイズ107に書き込む。図14では、更新領域データ171を更新領域データ196に書き込む。この時に、バックアップファイルD180において更新領域データ196にアクセスするための情報を更新領域データオフセット186に書き込み、更新領域データサイズ167を更新領域データサイズ187に書き込む。   Next, the operation processing unit 4 performs a connection process for the update area data 113. In step ST95, the operation processing unit 4 selects the backup file 10 having the latest creation date 101 among the N backup files 10 designated in step ST91. In FIG. 14, the backup file C162 is selected. Next, in step ST96, the operation processing unit 4 acquires the update area data 113 based on the update area data offset 106 and the update area data size 107 of the backup file 10 selected in step ST95, and the backup file 10 after concatenation. Is written in the update area data 113. At this time, information for accessing the update area data 113 in the backup file 10 after connection is written to the update area data offset 106 of the backup file 10 after connection, and the update area data size of the backup file 10 selected in step ST95. 107 is written in the update area data size 107 of the backup file 10 after concatenation. In FIG. 14, the update area data 171 is written into the update area data 196. At this time, information for accessing the update area data 196 in the backup file D180 is written in the update area data offset 186, and the update area data size 167 is written in the update area data size 187.

次に、運用処理部4は、実体管理テーブルデータ115の連結処理を行う。ステップST97において、運用処理部4は、ステップST95で選択したバックアップファイル10の実体管理テーブルデータオフセット110および実体管理テーブルデータサイズ111を基に実体管理テーブルデータ115を取得し、連結後のバックアップファイル10の実体管理テーブルデータ115に書き込む。この時に、連結後のバックアップファイル10において、実体管理テーブルデータ115にアクセスするための情報を、連結後のバックアップファイル10の実体管理テーブルデータオフセット110に書き込む。また、ステップST95で選択したバックアップファイル10の実体管理テーブルデータサイズ111を連結後のバックアップファイル10の実体管理テーブルデータサイズ111に書き込む。図14では、実体管理テーブルデータ173を実体管理テーブルデータ198に書き込む。この時に、バックアップファイルD180において実体管理テーブルデータ198にアクセスするための情報を実体管理テーブルデータオフセット190に書き込み、実体管理テーブルデータサイズ169を実体管理テーブルデータサイズ191に書き込む。   Next, the operation processing unit 4 performs connection processing of the entity management table data 115. In step ST97, the operation processing unit 4 acquires the entity management table data 115 based on the entity management table data offset 110 and the entity management table data size 111 of the backup file 10 selected in step ST95, and the concatenated backup file 10 Is written in the entity management table data 115. At this time, information for accessing the entity management table data 115 in the linked backup file 10 is written in the entity management table data offset 110 of the linked backup file 10. Further, the entity management table data size 111 of the backup file 10 selected in step ST95 is written into the entity management table data size 111 of the backup file 10 after connection. In FIG. 14, the entity management table data 173 is written into the entity management table data 198. At this time, information for accessing the entity management table data 198 in the backup file D180 is written in the entity management table data offset 190, and the entity management table data size 169 is written in the entity management table data size 191.

次に、運用処理部4は、レコードアクセス情報データ114の連結処理を行う。ステップST98において、ステップST95で選択したバックアップファイル10がレコードアクセス情報データ114を持つ場合はステップS98:YESに進み、ステップST99を実行する。そうでない場合はステップST98:NOに進み、連結処理を終了する。ステップST99において、運用処理部4は、ステップST95で選択したバックアップファイル10のレコードアクセス情報データオフセット108およびレコードアクセス情報データサイズ109を基にレコードアクセス情報データ114を取得し、連結後のバックアップファイル10のレコードアクセス情報データ114に書き込む。この時に、連結後のバックアップファイル10において、レコードアクセス情報データ114にアクセスするための情報を、連結後のバックアップファイル10のレコードアクセス情報データオフセット108に書き込む。また、ステップST95で選択したバックアップファイル10のレコードアクセス情報データサイズ109を連結後のバックアップファイル10のレコードアクセス情報データサイズ109に書き込む。図14では、レコードアクセス情報データ172をレコードアクセス情報データ197に書き込む。また、バックアップファイルD180においてレコードアクセス情報データ197にアクセスするための情報をレコードアクセス情報データオフセット188に書き込み、レコードアクセス情報データサイズ168をレコードアクセス情報データサイズ189に書き込む。   Next, the operation processing unit 4 performs a concatenation process for the record access information data 114. In step ST98, if the backup file 10 selected in step ST95 has the record access information data 114, the process proceeds to step S98: YES, and step ST99 is executed. Otherwise, the process proceeds to step ST98: NO, and the connection process is terminated. In step ST99, the operation processing unit 4 acquires the record access information data 114 based on the record access information data offset 108 and the record access information data size 109 of the backup file 10 selected in step ST95, and the backup file 10 after concatenation. Is written in the record access information data 114. At this time, information for accessing the record access information data 114 in the backup file 10 after concatenation is written in the record access information data offset 108 of the backup file 10 after concatenation. Further, the record access information data size 109 of the backup file 10 selected in step ST95 is written into the record access information data size 109 of the backup file 10 after concatenation. In FIG. 14, the record access information data 172 is written into the record access information data 197. In addition, information for accessing the record access information data 197 in the backup file D180 is written in the record access information data offset 188, and the record access information data size 168 is written in the record access information data size 189.

以上のように、この実施の形態1によれば、バックアップ処理時には、バックアップ開始レコード情報8の対象となる先頭のレコード番号82を参照するだけで、差分バックアップおよび増分バックアップの対象となるレコードを特定することができるため、バックアップ時に各レコードの更新履歴情報の参照が不要となり、バックアップ処理を簡単および高速に行うことができる。
また、差分バックアップ処理時には、バックアップ開始レコード情報8のレコード番号82をフルバックアップ処理時だけ更新すれば良く、増分バックアップ処理時には、バックアップ開始レコード情報8のレコード番号82をバックアップ時だけ更新すれば良いため、バックアップのためにレコードの登録、更新、削除の履歴情報を管理することが不要となり、バックアップを簡単および高速に行うことができる。
さらに、データのリストア時は、レコード単位でリストアを行うのではなく、参照領域61および更新領域62の単位でリストアを行うため、レコードの履歴情報を参照することが不要となるため、簡単および高速にリストアを行うことができる。
さらに、データの連結時は、リストア時に使用しない更新領域データ133、レコードアクセス情報データ134、実体管理テーブルデータ135を取り除くことができるため、バックアップファイル10を格納するディスク領域を節約することができる。
As described above, according to the first embodiment, at the time of backup processing, the record to be subjected to differential backup and incremental backup can be specified only by referring to the first record number 82 that is the target of the backup start record information 8. Therefore, it is not necessary to refer to the update history information of each record at the time of backup, and backup processing can be performed easily and at high speed.
Further, the record number 82 of the backup start record information 8 only needs to be updated at the time of differential backup processing, and the record number 82 of the backup start record information 8 only needs to be updated at the time of backup. Therefore, it is not necessary to manage record registration, update, and deletion history information for backup, and backup can be performed easily and at high speed.
Furthermore, when data is restored, it is not restored in units of records, but is restored in units of reference area 61 and update area 62, so that it is not necessary to refer to record history information. Can be restored.
Furthermore, when data is linked, the update area data 133, the record access information data 134, and the entity management table data 135 that are not used at the time of restoration can be removed, so that the disk area for storing the backup file 10 can be saved.

この発明の実施の形態1によるデータ管理装置を示す構成図である。It is a block diagram which shows the data management apparatus by Embodiment 1 of this invention. データ格納領域におけるデータの格納形式を示す説明図である。It is explanatory drawing which shows the storage format of the data in a data storage area. 実体管理テーブルのデータの格納形式を示す説明図である。It is explanatory drawing which shows the storage format of the data of an entity management table. データ管理装置のデータ登録処理を示すフローチャートである。It is a flowchart which shows the data registration process of a data management apparatus. データ管理装置のデータ削除処理を示すフローチャートである。It is a flowchart which shows the data deletion process of a data management apparatus. データ管理装置のデータ更新処理を示すフローチャートである。It is a flowchart which shows the data update process of a data management apparatus. データ管理装置の最適化処理を示すフローチャートである。It is a flowchart which shows the optimization process of a data management apparatus. バックアップ開始レコード情報を示す説明図である。It is explanatory drawing which shows backup start record information. データ管理装置のバックアップ処理を示すフローチャートである。It is a flowchart which shows the backup process of a data management apparatus. データ管理装置がバックアップ時に作成するバックアップファイルの構造を示す説明図である。It is explanatory drawing which shows the structure of the backup file which a data management apparatus produces at the time of backup. データ管理装置のリストア処理を示すフローチャートである。It is a flowchart which shows the restore process of a data management apparatus. バックアップファイルおよびデータ格納領域におけるデータの格納形式を示す説明図である。It is explanatory drawing which shows the storage format of the data in a backup file and a data storage area. データ管理装置のバックアップファイル連結処理を示すフローチャートである。It is a flowchart which shows the backup file connection process of a data management apparatus. バックアップファイルを示す説明図である。It is explanatory drawing which shows a backup file.

符号の説明Explanation of symbols

1 データ管理装置、2 アプリケーションプログラム、3 データ管理部(データ管理手段)、4 運用処理部(運用処理手段)、5 データアクセス部、6,138 データ格納領域(データ格納手段)、7,145 実体管理テーブル、8 バックアップ開始レコード情報、9 バックアップ媒体、61,139 参照領域、62,143 更新領域、63,144 レコードアクセス情報、64,140〜142,193〜195 レコード、65,73,82 レコード番号、66 オフセット、67 サイズ、71 総レコード数、72 参照領域レコード数、74 論理ID、75 削除フラグ、81 バックアップ種別、101,121,126,131,151,157,163,181 作成日時、102,122,127,132,152,158,164,182 参照領域先頭レコード番号、103,123,128,133,153,159,165,183 参照領域終端レコード番号、104,184 参照領域データオフセット、105,154,160,166,185 参照領域データサイズ、106,186 更新領域データオフセット、107,167,187 更新領域データサイズ、108,188 レコードアクセス情報データオフセット、109,168,189 レコードアクセス情報データサイズ、110,190 実体管理テーブルデータオフセット、111,169,191 実体管理テーブルデータサイズ、112,124,129,134,155,161,170,192 参照領域データ、113,135,171,196 更新領域データ、114,136,172,197 レコードアクセス情報データ、115,137,173,198 実体管理テーブルデータ、120,150 バックアップファイルA、125,156 バックアップファイルB、130,162 バックアップファイルC、180 バックアップファイルD。   DESCRIPTION OF SYMBOLS 1 Data management apparatus, 2 Application program, 3 Data management part (data management means), 4 Operation processing part (operation processing means), 5 Data access part, 6,138 Data storage area (data storage means), 7,145 Entity Management table, 8 Backup start record information, 9 Backup medium, 61, 139 Reference area, 62, 143 Update area, 63, 144 Record access information, 64, 140-142, 193-195 record, 65, 73, 82 Record number , 66 offset, 67 size, 71 total number of records, 72 reference area record number, 74 logical ID, 75 deletion flag, 81 backup type, 101, 121, 126, 131, 151, 157, 163, 181 creation date, 102, 122, 127, 132, 52, 158, 164, 182 Reference area start record number, 103, 123, 128, 133, 153, 159, 165, 183 Reference area end record number, 104, 184 Reference area data offset, 105, 154, 160, 166 185 Reference area data size, 106,186 Update area data offset, 107,167,187 Update area data size, 108,188 Record access information data offset, 109,168,189 Record access information data size, 110,190 Entity management table Data offset, 111, 169, 191 Entity management table data size, 112, 124, 129, 134, 155, 161, 170, 192 Reference area data, 113, 135, 171, 196 Update area Data, 114, 136, 172, 197 Record access information data, 115, 137, 173, 198 Entity management table data, 120, 150 Backup file A, 125, 156 Backup file B, 130, 162 Backup file C, 180 Backup file D.

Claims (5)

データの追加が許可される更新領域およびデータの参照だけが許可される参照領域からなるデータ格納手段と、
上記データ格納手段の参照領域の終端を管理する実体管理情報およびそのデータ格納手段の参照領域のバックアップ対象の先頭を特定するバックアップ開始データ情報を記憶した情報記憶手段と、
上記実体管理情報に基づいて、上記データ格納手段の更新領域に格納されたデータを参照領域に追加すると共にその参照領域に追加したデータをその更新領域から削除し、そのデータ格納手段内のデータの変更に応じて実体管理情報を更新するデータ管理手段と、
上記バックアップ開始データ情報および上記実体管理情報に基づいて特定されるデータを上記データ格納手段に格納された参照領域から取得し、その参照領域の特定されたデータおよび上記更新領域の全てのデータ、上記情報記憶手段に記憶された実体管理情報を対象にバックアップ処理を行う運用処理手段とを備えたデータ管理装置。
A data storage means comprising an update area in which data addition is permitted and a reference area in which only data reference is permitted;
Information storage means for storing entity management information for managing the end of the reference area of the data storage means and backup start data information for specifying the beginning of the backup target of the reference area of the data storage means;
Based on the entity management information, the data stored in the update area of the data storage means is added to the reference area, the data added to the reference area is deleted from the update area, and the data in the data storage means is deleted. Data management means for updating the entity management information in response to the change;
The data specified based on the backup start data information and the entity management information acquired from the reference area stored in said data storage means, all data of the specified data and the update area of the reference area, the A data management apparatus comprising operation processing means for performing backup processing on the entity management information stored in the information storage means.
バックアップ開始データ情報に差分バックアップ開始データ情報を持ち、
運用処理手段は、
上記差分バックアップ開始データ情報に基づいて、データ格納手段に格納された参照領域の特定されたデータおよび更新領域の全てのデータ、上記情報記憶手段に記憶された実体管理情報を対象に差分バックアップ処理を行うと共に、フルバックアップ処理に応じて差分バックアップ開始データ情報を更新することを特徴とする請求項1記載のデータ管理装置。
The backup start data information has differential backup start data information,
Operation processing means
Based on the differential backup start data information, differential backup processing is performed for the data specified in the reference area stored in the data storage means and all the data in the update area, and the entity management information stored in the information storage means. The data management apparatus according to claim 1, wherein the differential backup start data information is updated according to a full backup process.
バックアップ開始データ情報に増分バックアップ開始データ情報を持ち、
運用処理手段は、
上記増分バックアップ開始データ情報に基づいて、データ格納手段に格納された参照領域の特定されたデータおよび更新領域の全てのデータ、上記情報記憶手段に記憶された実体管理情報を対象に増分バックアップ処理を行うと共に、フルバックアップ処理、差分バックアップ処理、または増分バックアップ処理に応じて増分バックアップ開始データ情報を更新することを特徴とする請求項1記載のデータ管理装置。
Incremental backup start data information is included in the backup start data information.
Operation processing means
Based on the incremental backup start data information, an incremental backup process is performed for the data specified in the reference area stored in the data storage means and all the data in the update area, and the entity management information stored in the information storage means. 2. The data management apparatus according to claim 1, wherein the data management apparatus updates the incremental backup start data information according to a full backup process, a differential backup process, or an incremental backup process.
運用処理手段は、
バックアップ処理された参照領域のデータおよび最新のバックアップ処理による更新領域のデータをデータ格納手段にリストアすると共に、最新のバックアップ処理による実体管理情報を情報記憶手段にリストアすることを特徴とする請求項1から請求項3のうちのいずれか1項記載のデータ管理装置。
Operation processing means
2. The reference area data that has been backed up and the data that has been updated by the latest backup process are restored to the data storage means, and the entity management information from the latest backup process is restored to the information storage means. The data management device according to any one of claims 1 to 3.
運用処理手段は、
複数回に渡ってバックアップ処理された参照領域の各データ、最新のバックアップ処理による更新領域のデータおよび最新のバックアップ処理による実体管理情報を連結して1つのバックアップデータを作成することを特徴とする請求項1から請求項3のうちのいずれか1項記載のデータ管理装置。
Operation processing means
A backup data is created by concatenating each data in a reference area that has been backed up multiple times, data in an updated area by the latest backup process, and entity management information by the latest backup process. The data management device according to any one of claims 1 to 3.
JP2004153511A 2004-05-24 2004-05-24 Data management device Expired - Lifetime JP4494085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004153511A JP4494085B2 (en) 2004-05-24 2004-05-24 Data management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004153511A JP4494085B2 (en) 2004-05-24 2004-05-24 Data management device

Publications (2)

Publication Number Publication Date
JP2005338944A JP2005338944A (en) 2005-12-08
JP4494085B2 true JP4494085B2 (en) 2010-06-30

Family

ID=35492483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004153511A Expired - Lifetime JP4494085B2 (en) 2004-05-24 2004-05-24 Data management device

Country Status (1)

Country Link
JP (1) JP4494085B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4026278B2 (en) * 1999-06-07 2007-12-26 株式会社日立製作所 Data storage system
JP3785074B2 (en) * 2001-10-05 2006-06-14 富士通株式会社 Data processing system backup control apparatus and method
JP3991760B2 (en) * 2002-04-26 2007-10-17 株式会社日立製作所 Database management method and apparatus and processing program therefor
JP2004021914A (en) * 2002-06-20 2004-01-22 Hitachi Ltd Computer system and method for obtaining back up

Also Published As

Publication number Publication date
JP2005338944A (en) 2005-12-08

Similar Documents

Publication Publication Date Title
US6311193B1 (en) Computer system
JP3763992B2 (en) Data processing apparatus and recording medium
US5926821A (en) File control method and system for allocating a free block to a file when the previously allocated block is to be written to
US20120036394A1 (en) Data recovery method, data node, and distributed file system
JP2002149454A (en) Transaction support on logical disk
JP4494085B2 (en) Data management device
JP3985430B2 (en) Database management apparatus and method
JPH04141721A (en) Disk sector substituting system
US6711588B1 (en) File management method for file system
JP2002063057A (en) Data update device
JPS62245348A (en) Method and device for updating data base
CN115658624A (en) Metadata writing method and system for coping with system unstable time interval
CN111190765B (en) A data backup method and system
JPH07334397A (en) Deleted file managing system
JP2018025839A (en) Backup / restore program, version management device, and backup / restore method
JPS63187347A (en) Data base file recovering system
CN114880277B (en) Block device snapshot method, system and storage medium
JP3056038B2 (en) Volume management table failure recovery method
JP2003330773A (en) Data management device
JP2002229830A (en) Backup method of database file and its device
JPH07219827A (en) Journal file division management system and method thereof
JP2643918B2 (en) File recovery system
JPH0778097A (en) File rearrangement system
CN116048384A (en) Writing method and system of metadata of file system
JP4086739B2 (en) Data recording apparatus and recording program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070405

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071015

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100330

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100407

R150 Certificate of patent or registration of utility model

Ref document number: 4494085

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140416

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term