JP2014038506A - Data storage device and program - Google Patents

Data storage device and program Download PDF

Info

Publication number
JP2014038506A
JP2014038506A JP2012180809A JP2012180809A JP2014038506A JP 2014038506 A JP2014038506 A JP 2014038506A JP 2012180809 A JP2012180809 A JP 2012180809A JP 2012180809 A JP2012180809 A JP 2012180809A JP 2014038506 A JP2014038506 A JP 2014038506A
Authority
JP
Japan
Prior art keywords
data
deletion
movement
time
unit
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
JP2012180809A
Other languages
Japanese (ja)
Inventor
Taro Takashima
太郎 高嶋
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2012180809A priority Critical patent/JP2014038506A/en
Publication of JP2014038506A publication Critical patent/JP2014038506A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a data storage device capable of suppressing a difference between a predetermined time as a time for making data unusable and a time when data becomes actually unusable from being generated, and a program.SOLUTION: The data storage device has first storage means for storing at least one or more data, movement means for moving at least one or more data in which a time till a deletion predetermined time is within a predetermined time among data stored in the first storage means, second storage means for storing at least one or more data moved by the movement means, and deletion means for collectively deleting at least one or more data stored in the second storage means during the deletion predetermined time.

Description

本発明は、データ記憶装置及びプログラムに関する。   The present invention relates to a data storage device and a program.

特許文献1は、データベースに保持されているレコードの分類を示すキー情報と、上記レコードが有効になった時刻、または有効になる予定の時刻と、上記レコードが無効になった時刻、または無効になる予定の時刻とを格納するフィールドを上記レコードに付与し、データベースに保持し、現在の時刻と有効/無効時刻とに基づいて、現在有効な情報である現用情報と、過去に有効であった情報であるログ情報と、将来有効になる予定の情報であるしかかり中情報とを判別することについて開示している。   Patent Document 1 discloses key information indicating a classification of records held in a database, a time when the record becomes valid or a time when the record becomes valid, and a time when the record becomes invalid or invalid. A field for storing the scheduled time is added to the above record and held in the database. Based on the current time and the valid / invalid time, the current information that is currently valid and the past valid Discriminating between log information, which is information, and pending information, which is information scheduled to become effective in the future, is disclosed.

特許文献2は、情報管理データのレコードに、情報が有効になった日時又は有効になる予定の日時としての開始日時、情報が無効になった日時又は無効になる予定の日時としての終了日時、レコードを作成したときに付与される登録番号、当該レコードの情報を無効にしたときに付与される抹消番号を格納するフィールドを設け、現在の日時と開始日時及び終了日時とに基づいて、ログ情報、現用情報、仕掛り中情報を判別し、登録番号及び抹消番号のフィールドを用いてレコードに対する処理の履歴を残すことについて開示している。   Patent Document 2 describes, in the record of information management data, the start date and time as the date and time when the information becomes valid or the date when the information is scheduled to be valid, Log information based on the current date and time, start date and time, and end date and time, with fields for storing the registration number given when the record was created and the deletion number given when the record information was invalidated Disclosure of discriminating in-use information and in-process information and leaving a history of processing for records using the registration number and deletion number fields.

特許文献3は、同一の履歴情報を持つデータレコード毎に履歴情報及び記憶装置内の格納場所を示す情報を含む記憶装置管理レコードを記憶する手段と、記憶装置管理レコードを検索する手段と、検索された記憶装置管理レコードの履歴情報と設定された削除期限情報とを比較する手段と、比較手段の比較の結果、記憶装置管理レコードの履歴情報の日付が削除期限情報の削除期限以前であった時に記憶装置管理レコードに含まれている記憶装置内の格納場所を示す情報を参照し、記憶装置内の該当する格納場所に記憶されているデータレコードを一括して削除する手段とを具備することについて開示している。   Patent Document 3 discloses means for storing a storage device management record including history information and information indicating a storage location in the storage device for each data record having the same history information, means for searching for a storage device management record, search As a result of the comparison between the history information of the stored storage device management record and the set deletion deadline information and the comparison means, the history information date of the storage device management record was before the deletion deadline of the deletion deadline information Means for referring to information indicating a storage location in the storage device that is sometimes included in the storage device management record, and collectively deleting data records stored in the corresponding storage location in the storage device Is disclosed.

特開平10−301824号公報JP-A-10-301824 特開平11−031097号公報Japanese Patent Laid-Open No. 11-031097 特開2000−148548号公報JP 2000-148548 A

本発明の目的は、データを利用不能にする時期として予め定めた時期と実際にデータが利用不能になる時期とに差異が発生するのを抑制することができるデータ記憶装置及びプログラムを提供することである。   An object of the present invention is to provide a data storage device and program capable of suppressing the occurrence of a difference between a predetermined time when data is unavailable and a time when data is actually unavailable. It is.

請求項1に係る本発明は、少なくとも1つ以上のデータを格納する第1の格納手段と、前記第1の格納手段に格納されているデータのうち、削除予定時期までの期間が予め定めた期間内である少なくとも1つ以上のデータを移動する移動手段と、前記移動手段により移動された少なくとも1つ以上のデータを格納する第2の格納手段と、前記第2の格納手段により格納されている少なくとも1つ以上のデータを、削除予定時期に一括して削除する削除手段とを有するデータ記憶装置である。   According to the first aspect of the present invention, there is provided a first storage means for storing at least one or more data, and a period until the scheduled deletion time is predetermined among the data stored in the first storage means. The moving means for moving at least one or more data within a period, the second storage means for storing at least one data moved by the moving means, and the second storage means The data storage device includes a deletion unit that deletes at least one or more pieces of data collectively at a scheduled deletion time.

請求項2に係る本発明は、前記移動手段による移動の履歴を記録する移動履歴記録手段をさらに有する請求項1記載のデータ記憶装置である。   The present invention according to claim 2 is the data storage device according to claim 1, further comprising movement history recording means for recording a movement history by the movement means.

請求項3に係る本発明は、前記削除手段による削除の履歴を記録する削除履歴記録手段をさらに有する請求項1又は2記載のデータ記憶装置である。   The present invention according to claim 3 is the data storage device according to claim 1 or 2, further comprising a deletion history recording means for recording a history of deletion by the deletion means.

請求項4に係る本発明は、前記削除手段が前記第2の格納手段により格納されている少なくとも1つ以上のデータの削除を行う時期以降は、該データの参照を拒否するよう制御する参照制御手段をさらに有する請求項1乃至3いずれか記載のデータ記憶装置である。   According to a fourth aspect of the present invention, in the reference control, the deletion unit performs control so as to reject the reference of the data after the time when the deletion unit deletes at least one or more pieces of data stored in the second storage unit. 4. The data storage device according to claim 1, further comprising means.

請求項5に係る本発明は、前記移動手段によるデータの移動に要する時間を予測する時間予測手段をさらに有し、前記移動手段は、前記時間予測手段により予測された時間に基づいて、データの移動開始時期を定める請求項1乃至4いずれか記載のデータ記憶装置である。   The present invention according to claim 5 further includes time predicting means for predicting a time required for data movement by the moving means, and the moving means is configured to store data based on the time predicted by the time predicting means. 5. The data storage device according to claim 1, wherein a movement start time is determined.

請求項6に係る本発明は、前記移動手段によるデータの移動によってかかる処理負荷を予測する処理負荷予測手段をさらに有し、前記移動手段は、前記処理負荷予測手段により予測された処理負荷に基づいて、データの移動開始時期を定める請求項1乃至5いずれか記載のデータ記憶装置である。   The present invention according to claim 6 further includes processing load prediction means for predicting the processing load due to data movement by the movement means, and the movement means is based on the processing load predicted by the processing load prediction means. 6. The data storage device according to claim 1, wherein a data movement start time is determined.

請求項7に係る本発明は、自装置にかかる処理負荷についての情報を取得する処理負荷情報取得手段をさらに有し、前記移動手段は、前記処理負荷情報取得手段により取得された処理負荷についての情報に基づいて、データの移動開始時期を定める請求項1乃至6いずれか記載のデータ記憶装置である。   The present invention according to claim 7 further includes a processing load information acquisition unit that acquires information about a processing load applied to the own device, wherein the moving unit is configured to process the processing load acquired by the processing load information acquisition unit. 7. The data storage device according to claim 1, wherein a data movement start time is determined based on the information.

請求項8に係る本発明は、前記第2の格納手段により格納されている少なくとも1つ以上のデータのうち、削除予定時期が変更されたデータを、前記第1の格納手段により格納するよう戻す移動を行う戻し移動手段をさらに有する請求項1乃至7いずれか記載のデータ記憶装置である。   The present invention according to claim 8 returns the data whose scheduled deletion time is changed among the at least one data stored by the second storage means to be stored by the first storage means. 8. The data storage device according to claim 1, further comprising return movement means for performing movement.

請求項9に係る本発明は、前記第2の格納手段により格納されている少なくとも1つ以上のデータのうち、削除予定時期が変更されたデータを、前記第1の格納手段により格納するよう戻す移動を行う戻し移動手段をさらに有し、前記削除手段は、前記戻し移動手段によりデータが移動される場合、前記戻し移動手段によるデータの移動が終了するまで、削除を待機する請求項4記載のデータ記憶装置である。   According to the ninth aspect of the present invention, the data whose scheduled deletion time is changed among at least one or more data stored by the second storage means is returned to be stored by the first storage means. 5. The apparatus according to claim 4, further comprising return movement means for performing movement, wherein when the data is moved by the return movement means, the deletion means waits for deletion until data movement by the return movement means is completed. A data storage device.

請求項10に係る本発明は、少なくとも1つ以上のデータについて、該データの記憶場所を示す情報を格納する第1の格納手段と、前記第1の格納手段に格納されているデータの記憶場所を示す情報のうち、該データの削除予定時期までの期間が予め定めた期間内である情報を移動する移動手段と、前記移動手段により移動された少なくとも1つ以上のデータの記憶場所を示す情報を格納する第2の格納手段と、前記第2の格納手段により格納されている少なくとも1つ以上のデータの記憶場所を示す情報を、削除予定時期に一括して削除する削除手段とを有するデータ記憶装置である。   According to a tenth aspect of the present invention, there is provided a first storage means for storing information indicating a storage location of the data for at least one or more data, and a storage location of data stored in the first storage means Information indicating the storage location of at least one or more data moved by the moving means, and moving information that moves within a predetermined period of time until the scheduled deletion time of the data Data having a second storage means for storing data, and a deletion means for collectively deleting information indicating the storage location of at least one or more data stored by the second storage means at the scheduled deletion time It is a storage device.

請求項11に係る本発明は、前記第1の格納手段は、少なくとも1つ以上の暗号化されたデータについて、該データの記憶場所を示す情報及び該データの復号に用いる情報の組を格納し、前記移動手段は、前記第1の格納手段に格納されている、データの記憶場所を示す情報及び該データの復号に用いる情報の組うち、該データの削除予定時期までの期間が予め定めた期間内である情報の組を移動し、前記第2の格納手段は、前記移動手段により移動された少なくとも1つ以上の情報の組を格納し、前記削除手段は、前記第2の格納手段により格納されている少なくとも1つ以上の情報の組を、削除予定時期に一括して削除する請求項10記載のデータ記憶装置である。   The present invention according to claim 11 is characterized in that the first storage means stores, for at least one or more encrypted data, a set of information indicating a storage location of the data and information used for decrypting the data. The moving means has a predetermined period of time until the scheduled deletion time of the data among a set of information indicating the data storage location and information used for decoding the data stored in the first storage means. The set of information within a period is moved, the second storage means stores at least one information set moved by the moving means, and the deletion means is moved by the second storage means. 11. The data storage device according to claim 10, wherein at least one set of stored information is collectively deleted at a scheduled deletion time.

請求項12に係る本発明は、少なくとも1つ以上のデータを格納する第1の格納ステップと、前記第1の格納ステップに格納されているデータのうち、削除予定時期までの期間が予め定めた期間内である少なくとも1つ以上のデータを移動する移動ステップと、前記移動ステップにより移動された少なくとも1つ以上のデータを格納する第2の格納ステップと、前記第2の格納ステップにより格納されている少なくとも1つ以上のデータを、削除予定時期に一括して削除する削除ステップとをコンピュータに実行させるためのプログラムである。   The present invention according to claim 12 includes a first storage step for storing at least one data and a period until the scheduled deletion time among the data stored in the first storage step. A moving step for moving at least one or more data within a period, a second storing step for storing at least one or more data moved by the moving step, and a second storing step. This is a program for causing a computer to execute a deletion step of deleting at least one or more pieces of data collectively at a scheduled deletion time.

請求項13に係る本発明は、少なくとも1つ以上のデータについて、該データの記憶場所を示す情報を格納する第1の格納ステップと、前記第1の格納ステップに格納されているデータの記憶場所を示す情報のうち、該データの削除予定時期までの期間が予め定めた期間内である情報を移動する移動ステップと、前記移動ステップにより移動された少なくとも1つ以上のデータの記憶場所を示す情報を格納する第2の格納ステップと、前記第2の格納ステップにより格納されている少なくとも1つ以上のデータの記憶場所を示す情報を、削除予定時期に一括して削除する削除ステップとをコンピュータに実行させるためのプログラムである。   According to a thirteenth aspect of the present invention, there is provided a first storage step for storing information indicating a storage location of the data for at least one or more data, and a storage location of the data stored in the first storage step. Information indicating the storage location of at least one or more data moved by the moving step, and a moving step of moving information whose period until the scheduled deletion time of the data is within a predetermined period And a deletion step of deleting information indicating a storage location of at least one or more data stored in the second storage step collectively at a scheduled deletion time. This is a program to be executed.

請求項1に係る本発明によれば、データを利用不能にする時期として予め定めた時期と実際にデータが利用不能になる時期とに差異が発生するのを抑制し、データを削除することができるデータ記憶装置を提供することができる。   According to the first aspect of the present invention, it is possible to suppress the occurrence of a difference between a predetermined time for making data unusable and a time for actually making the data unusable, and to delete the data. A data storage device can be provided.

請求項2に係る本発明によれば、請求項1に係る本発明の効果に加え、どのデータがいつ移動されたかについて記録を残すことができるデータ記憶装置を提供することができる。   According to the present invention of claim 2, in addition to the effect of the present invention of claim 1, it is possible to provide a data storage device capable of leaving a record as to which data has been moved and when.

請求項3に係る本発明によれば、請求項1又は2に係る本発明の効果に加え、いつデータが削除されたかについて記録を残すことができるデータ記憶装置を提供することができる。   According to the present invention of claim 3, in addition to the effect of the present invention of claim 1 or 2, it is possible to provide a data storage device capable of leaving a record as to when data has been deleted.

請求項4に係る本発明によれば、請求項1乃至3いずれかに係る本発明の効果に加え、削除対象のデータについての排他制御を行わなくても削除することができるデータ記憶装置を提供することができる。   According to the fourth aspect of the present invention, in addition to the effect of the present invention according to any one of the first to third aspects, a data storage device that can be deleted without performing exclusive control on the data to be deleted is provided. can do.

請求項5に係る本発明によれば、請求項1乃至4いずれかに係る本発明の効果に加え、移動に要する時間に基づいて、移動の開始時期を調整することができるデータ記憶装置を提供することができる。   According to the fifth aspect of the present invention, in addition to the effect of the present invention according to any one of the first to fourth aspects, a data storage device capable of adjusting the start time of movement based on the time required for movement is provided. can do.

請求項6に係る本発明によれば、請求項1乃至5いずれかに係る本発明の効果に加え、移動が与える処理負荷に基づいて、移動の開始時期を調整することができるデータ記憶装置を提供することができる。   According to the sixth aspect of the present invention, in addition to the effect of the present invention according to any one of the first to fifth aspects, a data storage device capable of adjusting the start time of movement based on the processing load given by movement. Can be provided.

請求項7に係る本発明によれば、請求項1乃至6いずれかに係る本発明の効果に加え、自装置にかかっている処理負荷の状況に応じて、移動の開始時期を調整することができるデータ記憶装置を提供することができる。   According to the present invention according to claim 7, in addition to the effects of the present invention according to any one of claims 1 to 6, the start time of movement can be adjusted according to the state of the processing load applied to the own apparatus. A data storage device can be provided.

請求項8に係る本発明によれば、請求項1乃至7いずれかに係る本発明の効果に加え、削除予定時期が変更されたデータを誤った時期に削除することを防ぐことができるデータ記憶装置を提供することができる。   According to the present invention of claim 8, in addition to the effects of the present invention according to any one of claims 1 to 7, data storage that can prevent data whose scheduled deletion time has been changed from being deleted at an incorrect time An apparatus can be provided.

請求項9に係る本発明によれば、請求項4に係る本発明の効果に加え、戻す移動を行う対象のデータについて、戻す移動処理と削除処理との競合が発生するのを防止することができるデータ記憶装置を提供することができる。   According to the present invention of claim 9, in addition to the effect of the present invention of claim 4, it is possible to prevent a conflict between the return movement process and the deletion process for the data to be moved back. A data storage device can be provided.

請求項10に係る本発明によれば、データを利用不能にする時期として予め定めた時期と実際にデータが利用不能になる時期とに差異が発生するのを抑制することができるデータ記憶装置を提供することができる。   According to the tenth aspect of the present invention, there is provided a data storage device capable of suppressing a difference between a predetermined time when data is unavailable and a time when data is actually unavailable. Can be provided.

請求項11に係る本発明によれば、請求項10に係る本発明の効果に加え、記憶場所を示す情報が削除されているデータが取得されたとしても、データを解読することができないデータ記憶装置を提供することができる。   According to the eleventh aspect of the present invention, in addition to the effect of the present invention according to the tenth aspect, even if data from which the information indicating the storage location is deleted is obtained, the data storage cannot decrypt the data. An apparatus can be provided.

請求項12に係る本発明によれば、データを利用不能にする時期として予め定めた時期と実際にデータが利用不能になる時期とに差異が発生するのを抑制することができるプログラムを提供することができる。   According to the present invention of claim 12, there is provided a program capable of suppressing the occurrence of a difference between a predetermined time when data is unavailable and a time when data is actually unavailable. be able to.

請求項13に係る本発明によれば、データを利用不能にする時期として予め定めた時期と実際にデータが利用不能になる時期とに差異が発生するのを抑制することができるプログラムを提供することができる。   According to the thirteenth aspect of the present invention, there is provided a program capable of suppressing the occurrence of a difference between a predetermined time when data is unavailable and a time when data is actually unavailable. be able to.

本発明の第1の実施形態に係るデータ記憶装置2のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the data storage device 2 which concerns on the 1st Embodiment of this invention. 制御プログラムが実行されることにより実現されるデータ記憶装置2の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the data storage device 2 implement | achieved by executing a control program. データ記憶装置2においてデータ格納部20にデータが登録される動作を例示するフローチャートである。4 is a flowchart illustrating an operation of registering data in a data storage unit 20 in the data storage device 2. データ「契約書A」を登録して成功した場合のデータ格納部20及び履歴格納部26の状態を例示する模式図であり、(a)は、データ格納部20の状態を例示しており、(b)は、履歴格納部26の状態を例示している。It is a schematic diagram which illustrates the state of the data storage part 20 and the log | history storage part 26 at the time of registering data "contract A", and (a) has illustrated the state of the data storage part 20, (B) illustrates the state of the history storage unit 26. データ記憶装置2において移動削除制御部48による制御動作を例示するフローチャートである。4 is a flowchart illustrating a control operation by a movement deletion control unit 48 in the data storage device 2. 移動削除制御部48による制御により削除計画処理(ステップ204)がなされる動作を例示するフローチャートである。10 is a flowchart illustrating an operation in which a deletion plan process (step 204) is performed under the control of a movement deletion control unit 48. 削除管理情報格納部24の状態を例示する模式図であり、(a)は削除計画処理が実行される前を示し、(b)は実行中を示し、(c)は実行後を示している。It is a schematic diagram which illustrates the state of the deletion management information storage part 24, (a) shows before deletion plan processing is performed, (b) shows that it is under execution, (c) shows after execution. . ステップ306で、直近の削除予定時期までの期間が予め定めた期間内であるか否かのみによって移動時期を判定する場合において、削除管理情報格納部24の状態を例示する模式図であり、(a)は削除計画処理が実行される前を示し、(b)は実行中を示し、(c)は実行後を示している。FIG. 6 is a schematic diagram illustrating the state of the deletion management information storage unit 24 when determining the movement time only based on whether or not the period until the latest scheduled deletion time is within a predetermined period in step 306; a) shows before the deletion plan processing is executed, (b) shows that it is being executed, and (c) shows after it is executed. データ格納部20の状態を例示する模式図であり、(a)は削除計画処理が実行される前を示し、(b)は実行後を示している。It is a schematic diagram which illustrates the state of the data storage part 20, (a) shows before deletion plan processing is performed, (b) has shown after execution. 削除予定データ格納部22の状態を例示する模式図であり、(a)は削除計画処理が実行される前を示し、(b)は実行後を示している。It is a schematic diagram which illustrates the state of the deletion plan data storage part 22, (a) shows before execution of a deletion plan process, (b) has shown after execution. 移動時間予測部42による動作の一例を示すフローチャートである。4 is a flowchart illustrating an example of an operation performed by a travel time prediction unit 42. 処理負荷情報取得部46が取得した処理負荷についての情報の一例を示す模式図である。It is a schematic diagram which shows an example of the information regarding the processing load which the processing load information acquisition part 46 acquired. 移動削除制御部48による制御により削除実行処理(ステップ202)がなされる動作を例示するフローチャートである。10 is a flowchart illustrating an operation in which a deletion execution process (step 202) is performed under the control of a movement deletion control unit 48. 操作処理部28によりデータが更新される場合の動作を例示するフローチャートである。4 is a flowchart illustrating an operation when data is updated by an operation processing unit. データの種別ごとに起算日と保存期間とを定める場合に、削除管理情報格納部24に格納される、削除予定時期の算出規則を示す情報の一例を示した模式図である。It is the schematic diagram which showed an example of the information which shows the calculation rule of the scheduled deletion time stored in the deletion management information storage part 24, when a calculation date and a preservation | save period are defined for every data classification. 本発明の第2の実施形態に係るデータ記憶システム60を示す模式図である。It is a schematic diagram which shows the data storage system 60 which concerns on the 2nd Embodiment of this invention. データ記憶装置62が、暗号化されたデータ内容の記憶場所を示す情報と、復号に用いる情報との組を格納する場合に、データ格納部20に格納された情報の一例を示す模式図である。FIG. 4 is a schematic diagram illustrating an example of information stored in a data storage unit when the data storage device stores a set of information indicating a storage location of encrypted data content and information used for decryption. .

以下、本発明の実施形態について図面を参照して詳細に説明する。
図1は本発明の第1の実施形態に係るデータ記憶装置2のハードウェア構成を示す図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing a hardware configuration of a data storage device 2 according to the first embodiment of the present invention.

本実施形態のデータ記憶装置2は、例えばデータベース管理システムとして構成されており、図1に示されるように、CPU4、メモリ6、データベースとしてハードディスクドライブ(HDD)等の記憶部8、ネットワークを介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)10、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)部12を有する。これらの構成要素は、制御バス14を介して互いに接続されている。   The data storage device 2 of this embodiment is configured as, for example, a database management system. As shown in FIG. 1, a CPU 4, a memory 6, a storage unit 8 such as a hard disk drive (HDD) as a database, and a network as shown in FIG. A communication interface (IF) 10 that transmits and receives data to and from an external device, and a user interface (UI) unit 12 including a touch panel or a liquid crystal display and a keyboard are included. These components are connected to each other via a control bus 14.

CPU4は、メモリ6または記憶部8に格納された制御プログラムに基づいて処理を実行して、データ記憶装置2の動作を制御する。なお、本実施形態では、CPU4は、メモリ6または記憶部8内に格納された制御プログラムを読み出して実行するものとして説明したが、当該プログラムをCD−ROM等の記憶媒体に格納してCPU4に提供することも可能であるし、通信IF10を介してCPU4に提供することも可能である。   The CPU 4 executes processing based on a control program stored in the memory 6 or the storage unit 8 and controls the operation of the data storage device 2. In the present embodiment, the CPU 4 has been described as reading and executing a control program stored in the memory 6 or the storage unit 8. However, the program is stored in a storage medium such as a CD-ROM and stored in the CPU 4. It can also be provided, or can be provided to the CPU 4 via the communication IF 10.

記憶部8は、文書などのデータを格納する。なお、本実施形態では、記憶部8は、関係データベース(リレーショナルデータベース)として構築されており、上記プログラムが実行されることにより、記憶部8へのデータの登録、検索、更新、削除などの操作がなされる。   The storage unit 8 stores data such as documents. In the present embodiment, the storage unit 8 is constructed as a relational database (relational database), and operations such as registration, search, update, and deletion of data in the storage unit 8 are executed by executing the program. Is made.

図2は、上記の制御プログラムが実行されることにより実現されるデータ記憶装置2の機能構成を示すブロック図である。   FIG. 2 is a block diagram showing a functional configuration of the data storage device 2 realized by executing the control program.

本実施形態のデータ記憶装置2は、図2に示されるように、データ格納部20と、削除予定データ格納部22と、削除管理情報格納部24と、履歴格納部26と、操作処理部28と、データ移動部30と、データ戻し移動部32と、削除部34と、移動履歴記録部36と、削除履歴記録部38と、操作処理履歴記録部40と、移動時間予測部42と、処理負荷予測部44と、処理負荷情報取得部46と、移動削除制御部48と、参照制御部50とを備えている。   As shown in FIG. 2, the data storage device 2 of the present embodiment includes a data storage unit 20, a scheduled deletion data storage unit 22, a deletion management information storage unit 24, a history storage unit 26, and an operation processing unit 28. A data movement unit 30, a data return movement unit 32, a deletion unit 34, a movement history recording unit 36, a deletion history recording unit 38, an operation processing history recording unit 40, a movement time prediction unit 42, a processing A load prediction unit 44, a processing load information acquisition unit 46, a movement deletion control unit 48, and a reference control unit 50 are provided.

データ格納部20は、文書などのデータを格納するデータベース領域であり、少なくとも1つ以上のデータを格納することができる。   The data storage unit 20 is a database area for storing data such as documents, and can store at least one data.

削除予定データ格納部22は、後述するデータ移動部30によって削除予定のデータとして移動されたデータを格納するデータベース領域であり、少なくとも1つ以上のデータを格納することができる。   The scheduled deletion data storage unit 22 is a database area that stores data moved as data scheduled to be deleted by the data moving unit 30 described later, and can store at least one data.

削除管理情報格納部24は、各データに定められた削除予定時期にデータを削除するための管理を行うために用いられる設定情報を格納するデータベース領域である。   The deletion management information storage unit 24 is a database area for storing setting information used for performing management for deleting data at the scheduled deletion time determined for each data.

履歴格納部26は、データに対して行われた操作についての履歴情報を格納するデータベース領域である。なお、格納される履歴情報としては、例えば、操作がなされた日時についての情報、操作内容の情報などが格納される。   The history storage unit 26 is a database area that stores history information about operations performed on data. Note that, as the history information to be stored, for example, information on the date and time when the operation was performed, information on the operation content, and the like are stored.

操作処理部28は、登録、検索、更新、削除など、データへの各種操作についての指示をUI部12から受付け、受付けた指示に対応する操作をデータに対し行い、処理結果をUI部12に表示する。なお、操作処理部28による処理対象は、データ格納部20に格納されたデータに限らず、削除予定データ格納部22に格納されたデータ、削除管理情報格納部24に格納された情報及び履歴格納部26に格納された情報も含まれる。   The operation processing unit 28 receives instructions about various operations on data such as registration, search, update, and deletion from the UI unit 12, performs operations corresponding to the received instructions on the data, and sends processing results to the UI unit 12. indicate. The processing target by the operation processing unit 28 is not limited to the data stored in the data storage unit 20, but the data stored in the scheduled deletion data storage unit 22, the information stored in the deletion management information storage unit 24, and the history storage Information stored in the unit 26 is also included.

データ移動部30は、後述する移動削除制御部48による制御のもと、データ格納部20に格納されているデータのうち、削除予定時期までの期間が予め定めた期間内である少なくとも1つ以上のデータを削除予定データ格納部22に移動させる。具体的には、データ移動部30は、データ格納部20に格納されているデータのうち、削除予定時期が直近のデータを削除予定データ格納部22へ移動させる。   The data moving unit 30 is at least one or more of the data stored in the data storage unit 20 under the control of the movement deletion control unit 48 to be described later. Are moved to the scheduled deletion data storage unit 22. Specifically, the data moving unit 30 moves the data stored in the data storage unit 20 with the latest scheduled deletion date to the deletion planned data storage unit 22.

なお、移動されるデータは、1つに限らず、同じ削除予定時期が設定されたデータが複数あれば、複数のデータが移動されることとなる。また、厳密に同じ削除予定時期が設定されたデータに限らず、削除予定時期が直近のデータと、削除予定時期の差異が予め定めた範囲内にあるデータも移動してもよい。   Note that the data to be moved is not limited to one, and if there is a plurality of data set with the same scheduled deletion time, a plurality of data will be moved. Further, not only data for which the exact same scheduled deletion time is set, but also data having the latest scheduled deletion time and data having a difference between the scheduled deletion times within a predetermined range may be moved.

例えば、予め定めた範囲が1日であり、削除予定時期が2012年3月31日0時と設定されているデータAと、2012年3月31日12時30分と設定されているデータBとがあり、削除予定時期が直近のデータがデータAである場合、データ移動部30は、データAのみならずデータBも移動させるようにしてもよい。   For example, data A in which the predetermined range is one day and the scheduled deletion time is set to 3:00 on March 31, 2012, and data B is set on March 31, 2012 at 12:30. If the data with the latest scheduled deletion date is data A, the data moving unit 30 may move not only the data A but also the data B.

データ戻し移動部32は、後述する移動削除制御部48による制御のもと、削除予定データ格納部22に格納されているデータのうち削除予定時期が変更されたデータをデータ格納部20に移動させる。なお、本実施形態では、データ戻し移動部32は、既に設定されている削除予定時期が延期されるような変更がなされた場合に、データを戻す移動を行う。   The data return moving unit 32 moves the data stored in the scheduled deletion data storage unit 22 whose scheduled deletion time has been changed to the data storage unit 20 under the control of the movement deletion control unit 48 described later. . In the present embodiment, the data return movement unit 32 performs a movement to return data when a change is made such that the preset scheduled deletion time is postponed.

削除部34は、後述する移動削除制御部48による制御のもと、削除予定データ格納部22に格納されている少なくとも1つ以上のデータを、削除予定時期に一括して削除する。   The deletion unit 34 collectively deletes at least one or more data stored in the planned deletion data storage unit 22 at the scheduled deletion time under the control of the movement deletion control unit 48 described later.

なお、削除予定時期に一括して削除することには、厳密に削除予定時期に削除する場合のみならず、削除予定時期に応じた時期に削除する場合も含まれる。
例えば、上記のように削除予定時期の差異が予め定めた範囲内にあるデータが削除予定データ格納部22に格納されている場合、削除部34は、例えば移動削除制御部48による制御のもと削除予定データ格納部22に格納されているいずれかのデータの削除予定時期にあわせて一括して他のデータも削除するようにしてもよい。
Note that the batch deletion at the scheduled deletion time includes not only the deletion at the scheduled deletion time but also the deletion at the time corresponding to the scheduled deletion time.
For example, when data whose difference in scheduled deletion time is within a predetermined range is stored in the scheduled deletion data storage unit 22 as described above, the deletion unit 34 is controlled under the control of the movement deletion control unit 48, for example. Other data may be deleted at once in accordance with the scheduled deletion time of any data stored in the deletion planned data storage unit 22.

また、削除部34は、データの削除予定時期に応じた特定の時刻に削除するようにしてもよい。例えば、上記データAとデータBとして説明したデータがあった場合に、削除部34は、データA及びデータBを削除予定時期に応じた時期として、2012年3月31日の23時59分に削除するようにしてもよい。なお、本実施形態では、後述するように、予め定めた周期が経過し、処理タイミングが到来した時に、削除が実行される。   In addition, the deletion unit 34 may delete the data at a specific time according to the scheduled data deletion time. For example, when there is data described as the data A and the data B, the deletion unit 34 sets the data A and the data B at 23:59 on March 31, 2012 as the time corresponding to the scheduled deletion time. It may be deleted. In this embodiment, as will be described later, the deletion is executed when a predetermined period has elapsed and the processing timing has come.

移動履歴記録部36は、データ移動部30及びデータ戻し移動部32によるデータの移動についての履歴情報を履歴格納部26へ記録する。例えば、移動履歴記録部36は、移動対象のデータごとにデータのID及び移動先のテーブル名を記録する。   The movement history recording unit 36 records history information about data movement by the data moving unit 30 and the data return moving unit 32 in the history storage unit 26. For example, the movement history recording unit 36 records the data ID and the destination table name for each movement target data.

削除履歴記録部38は、削除部34によるデータの削除についての履歴情報を履歴格納部26へ記録する。例えば、削除履歴記録部38は、削除対象のテーブル名を記録する。   The deletion history recording unit 38 records history information regarding data deletion by the deletion unit 34 in the history storage unit 26. For example, the deletion history recording unit 38 records the table name to be deleted.

操作処理履歴記録部40は、操作処理部28によるデータの操作についての履歴情報を履歴格納部26へ記録する。例えば、操作処理履歴記録部40は、操作日時、操作者、操作内容、操作対象のデータなどの情報を記録する。   The operation processing history recording unit 40 records history information about data operations performed by the operation processing unit 28 in the history storage unit 26. For example, the operation processing history recording unit 40 records information such as operation date / time, operator, operation content, operation target data, and the like.

移動時間予測部42は、データ移動部30によりデータを移動する際に要する時間を予測する。本実施形態の移動時間予測部42は、削除管理情報格納部24に格納されている、過去のデータ移動の際の移動時間の実績の情報に基づいて、移動時間を予測する。   The movement time prediction unit 42 predicts the time required for the data movement unit 30 to move the data. The travel time prediction unit 42 according to the present embodiment predicts the travel time based on the information on the travel time results in the past data movement stored in the deletion management information storage unit 24.

処理負荷予測部44は、データ移動部30によりデータの移動によって、データ記憶装置2に与えることとなる処理負荷を予測する。なお、処理負荷は、過去のデータ移動の際の処理負荷の実績の情報に基づいて予測されてもよいし、予め設定された処理負荷(例えばCPU使用率10%)が予測値として用いられてもよい。   The processing load prediction unit 44 predicts the processing load to be applied to the data storage device 2 by the data movement by the data moving unit 30. Note that the processing load may be predicted based on information on the processing load performance at the time of past data movement, or a preset processing load (for example, a CPU usage rate of 10%) is used as a predicted value. Also good.

処理負荷情報取得部46は、データ記憶装置2にかかる処理負荷についての情報を取得する。本実施形態の処理負荷情報取得部46は、定期的にデータ記憶装置2にかかる処理負荷についての情報を取得する。   The processing load information acquisition unit 46 acquires information about the processing load on the data storage device 2. The processing load information acquisition unit 46 of this embodiment periodically acquires information about the processing load applied to the data storage device 2.

移動削除制御部48は、データの削除について、削除計画及び削除実行の2つの処理を行うために、データ移動部30及びデータ戻し移動部32によるデータの移動の制御と、削除部34によるデータの削除の制御とを行う。ここで、削除計画とは、削除予定時期が近づいたデータを削除予定データ格納部22へ移動させ、データを削除するための管理情報を削除管理情報格納部24へ格納する処理をいう。また、削除実行とは、削除予定データ格納部22へ格納されたデータを削除する処理をいう。   The movement deletion control unit 48 controls the movement of data by the data movement unit 30 and the data return movement unit 32 and the data movement by the deletion unit 34 in order to perform two processes of data deletion, deletion plan and deletion execution. Control deletion. Here, the deletion plan refers to a process of moving data that is about to be deleted to the deletion planned data storage unit 22 and storing management information for deleting the data in the deletion management information storage unit 24. The deletion execution refers to a process of deleting data stored in the scheduled deletion data storage unit 22.

移動削除制御部48は、例えば定期的に、データ格納部20に格納されたデータのうち、直近の削除予定時期のデータについて、当該データを削除予定データ格納部22へ移動すべきか否かを判定し、移動する場合には、データ移動部30に対し、データを移動するよう通知する。具体的には、移動削除制御部48は、直近の削除予定時期のデータについて、削除予定時期までの期間が予め定めた期間内(例えば、1週間)である場合に、削除予定データ格納部22へ移動するよう制御する。なお、本実施形態の移動削除制御部48は、予め定めた期間内であって、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報に基づき定められた移動開始時期に、削除予定データ格納部22へ移動させるよう制御する。予め定めた期間については、削除管理情報として格納されていてもよい。   The movement / deletion control unit 48 determines, for example, periodically whether or not the data stored in the data storage unit 20 should be moved to the scheduled deletion data storage unit 22 for the data at the latest scheduled deletion time. In the case of movement, the data movement unit 30 is notified to move the data. Specifically, the movement deletion control unit 48 is configured to delete the scheduled deletion data storage unit 22 when the period until the scheduled deletion time is within a predetermined period (for example, one week) with respect to the data at the latest scheduled deletion time. Control to move to. The movement deletion control unit 48 of the present embodiment is determined based on information provided by the movement time prediction unit 42, the processing load prediction unit 44, or the processing load information acquisition unit 46 within a predetermined period. Control is performed so that the data is moved to the scheduled deletion data storage unit 22 at the movement start time. The predetermined period may be stored as deletion management information.

また、移動削除制御部48は、削除予定データ格納部22に格納されているデータの削除予定時期が変更された場合、当該データをデータ戻し移動部32が当該データをデータ格納部20へ戻すよう制御する。   Further, when the scheduled deletion time of the data stored in the scheduled deletion data storage unit 22 is changed, the movement deletion control unit 48 causes the data return movement unit 32 to return the data to the data storage unit 20. Control.

また、移動削除制御部48は、削除予定データ格納部22に格納されたデータを、削除部34が削除予定時期に一括して削除するよう制御し、削除部34による削除が行われる時期以降、削除予定データ格納部22に格納された削除対象のデータが参照されないようにするために、後述する参照制御部50に参照を制限するよう通知する。   Further, the movement deletion control unit 48 controls the deletion unit 34 to delete the data stored in the planned deletion data storage unit 22 at the scheduled deletion time, and after the time when the deletion unit 34 performs the deletion, In order to prevent the deletion target data stored in the scheduled deletion data storage unit 22 from being referred to, the reference control unit 50 described later is notified to limit the reference.

なお、移動削除制御部48は、データ戻し移動部32によるデータの移動が行われる場合、データ戻し移動部32によるデータの移動が完了するまで、削除部34による削除を待機させる。このように、データの戻す移動処理がなされる際には、削除部34による削除処理が開始されず、削除予定データ格納部22に格納されているデータについて戻す移動処理と削除する処理との競合により要求される排他制御を行う必要がない。   When the data return movement unit 32 moves the data, the movement deletion control unit 48 waits for the deletion by the deletion unit 34 until the data movement by the data return movement unit 32 is completed. As described above, when the data return moving process is performed, the deleting process by the deleting unit 34 is not started, and the conflict between the moving process to return the data stored in the scheduled deletion data storage unit 22 and the deleting process is performed. It is not necessary to perform the exclusive control required by.

参照制御部50は、移動削除制御部48からの通知を受けた場合、削除予定データ格納部22に格納されているデータへの参照(アクセス)を制限するよう制御する。これにより、操作処理部28は、当該データに対して、登録、検索、更新、削除などの処理を行うことはできなくなる。   When receiving the notification from the movement deletion control unit 48, the reference control unit 50 controls to limit reference (access) to the data stored in the scheduled deletion data storage unit 22. As a result, the operation processing unit 28 cannot perform processing such as registration, search, update, and deletion on the data.

図3は、データ記憶装置2においてデータ格納部20にデータが登録される動作を例示するフローチャートである。   FIG. 3 is a flowchart illustrating an operation of registering data in the data storage unit 20 in the data storage device 2.

ステップ100(S100)において、操作処理部28が、UI部12を介して入力されたデータ登録要求を受付ける。入力内容には、例えば、データを識別するための情報(ID)、データ内容、データの削除予定時期(保存期限)などが含まれる。なお、削除に係る情報として、削除予定時期が登録されていてもよいし、削除予定時期の代わりに保存期限が登録されていてもよい。本実施形態では、保存期限が登録されている場合、登録されている保存期限を削除予定時期として、データの削除を行う。   In step 100 (S100), the operation processing unit 28 receives a data registration request input via the UI unit 12. The input contents include, for example, information (ID) for identifying data, data contents, scheduled data deletion time (storage expiration), and the like. Note that, as information related to deletion, a scheduled deletion time may be registered, or a storage time limit may be registered instead of the scheduled deletion time. In the present embodiment, when a storage deadline is registered, data is deleted using the registered storage deadline as a scheduled deletion time.

ステップ102(S102)において、操作処理部28は、ステップ100で受付けた情報をデータ格納部20に格納する。   In step 102 (S102), the operation processing unit 28 stores the information received in step 100 in the data storage unit 20.

ステップ104(S104)において、操作処理履歴記録部40は、登録操作についての履歴情報を履歴格納部26に格納する。   In step 104 (S104), the operation process history recording unit 40 stores history information about the registration operation in the history storage unit 26.

ステップ106(S106)において、操作処理部28は、登録操作の結果をUI部12に表示する。例えば、操作処理部28は、データ登録が成功したか否かについての情報を表示する。   In step 106 (S106), the operation processing unit 28 displays the result of the registration operation on the UI unit 12. For example, the operation processing unit 28 displays information about whether or not the data registration is successful.

図4は、データ「契約書A」を登録して成功した場合のデータ格納部20及び履歴格納部26の状態を例示する模式図である。図4(a)は、データ格納部20の状態を例示しており、図4(b)は、履歴格納部26の状態を例示している。   FIG. 4 is a schematic diagram illustrating the states of the data storage unit 20 and the history storage unit 26 when the data “contract document A” is successfully registered. FIG. 4A illustrates the state of the data storage unit 20, and FIG. 4B illustrates the state of the history storage unit 26.

図4(a)にあるように、データ格納部20において、登録されたデータは、例えば、「名前」、「文書内容」、「保存期限」、「文書種別」、「契約満了日」などの属性を持つテーブル(表)に対し、レコードとして格納される。   As shown in FIG. 4A, data registered in the data storage unit 20 includes, for example, “name”, “document content”, “storing time limit”, “document type”, “contract expiration date”, and the like. Stored as a record for a table with attributes.

図4(b)にあるように、履歴格納部26では、操作についての履歴情報が、例えば、「操作日」、「操作者」、「操作種別」、「操作対象」、「操作成否」などの属性を持つテーブル(表)に対して、レコードとして格納される。   As shown in FIG. 4B, in the history storage unit 26, the history information about the operation includes, for example, “operation date”, “operator”, “operation type”, “operation target”, “operation success / failure”, and the like. It is stored as a record for a table having the attribute of

図5は、データ記憶装置2において移動削除制御部48による制御動作を例示するフローチャートである。ここでは、移動削除制御部48が、定期的なタイミングで、削除実行処理と削除計画処理とを行う例について説明する。なお、図5に示した例では、まず削除実行処理を行い、次に削除計画処理を行うよう制御しているが、削除計画処理を行い、次に削除実行処理を行うよう制御してもよい。   FIG. 5 is a flowchart illustrating the control operation by the movement deletion control unit 48 in the data storage device 2. Here, an example in which the movement deletion control unit 48 performs the deletion execution process and the deletion plan process at regular timing will be described. In the example shown in FIG. 5, the deletion execution process is first performed and then the deletion plan process is controlled. However, the deletion plan process may be performed and then the deletion execution process may be controlled. .

ステップ200(S200)において、移動削除制御部48は、予め定めた周期が経過し、処理タイミングが到来したか否かを判定し、処理タイミングが到来した場合に、ステップ202へ移行する。移動削除制御部48は、例えば、図示しないタイマーから、毎日0時00分に通知を受け、毎日0時00分に、ステップ202へ移行する。   In step 200 (S200), the movement deletion control unit 48 determines whether or not a predetermined period has elapsed and the processing timing has come. If the processing timing has come, the process moves to step 202. For example, the movement deletion control unit 48 receives a notification at 0:00 every day from a timer (not shown), and proceeds to step 202 at 0:00 every day.

ステップ202(S202)において、削除実行処理として、削除予定データ格納部22へ格納されたデータを削除する処理を行うよう制御する。なお、削除実行処理の詳細については、図13により説明する。   In step 202 (S202), as deletion execution processing, control is performed so as to perform processing for deleting data stored in the scheduled deletion data storage unit 22. Details of the deletion execution process will be described with reference to FIG.

ステップ204(S204)において、削除計画処理として、削除予定時期が近づいたデータを削除予定データ格納部22へ移動させ、データを削除するための管理情報を削除管理情報格納部24へ格納するよう制御する。なお、削除計画処理の詳細については、図6により説明する。   In step 204 (S204), as deletion plan processing, control is performed such that data that is about to be deleted is moved to the deletion planned data storage unit 22 and management information for deleting the data is stored in the deletion management information storage unit 24. To do. Details of the deletion plan process will be described with reference to FIG.

図6は、移動削除制御部48による制御により削除計画処理(ステップ204)がなされる動作を例示するフローチャートである。   FIG. 6 is a flowchart illustrating an operation in which the deletion plan process (step 204) is performed under the control of the movement deletion control unit 48.

ステップ300(S300)において、移動削除制御部48は、新たに削除計画が必要であるか否かを判定する。データ格納部20から移動されたデータが、削除予定データ格納部22に格納されている場合、新たな削除計画は不要と判定し、削除予定データ格納部22にデータ格納部20から移動されたデータが格納されていない場合、新たな削除計画が必要と判定する。   In step 300 (S300), the movement deletion control unit 48 determines whether or not a new deletion plan is necessary. When the data moved from the data storage unit 20 is stored in the planned deletion data storage unit 22, it is determined that a new deletion plan is unnecessary, and the data moved from the data storage unit 20 to the planned deletion data storage unit 22 Is not stored, it is determined that a new deletion plan is necessary.

なお、本実施形態では、具体的には、後述するように削除管理情報格納部24に格納された情報を参照し、新たな削除計画が必要か否かを判定する。本実施形態では、削除管理情報格納部24に格納された管理情報における削除予定日についての情報は、データ格納部20から移動されたデータが削除予定データ格納部22に格納されている場合、削除予定時期が設定されている。一方、削除予定データ格納部22のデータが削除済みの状態(新たにデータが移動されるのを待っている状態)では、削除予定日についての情報としてNull値が設定されている。移動削除制御部48は、削除管理情報格納部24の管理情報において、削除予定日に削除予定時期が設定されているか否かにより判定する。   In the present embodiment, specifically, information stored in the deletion management information storage unit 24 is referred to as described later to determine whether a new deletion plan is necessary. In this embodiment, the information about the scheduled deletion date in the management information stored in the deletion management information storage unit 24 is deleted when the data moved from the data storage unit 20 is stored in the planned deletion data storage unit 22. Scheduled time is set. On the other hand, in a state where the data in the scheduled deletion data storage unit 22 has been deleted (waiting for new data to be moved), a Null value is set as information about the scheduled deletion date. The movement deletion control unit 48 determines whether or not the scheduled deletion date is set on the scheduled deletion date in the management information of the deletion management information storage unit 24.

ステップ302(S302)において、移動削除制御部48は、データ格納部20に格納されているデータの削除予定時期(保存期限)うち、直近の削除予定時期を取得する。   In step 302 (S302), the movement deletion control unit 48 acquires the latest scheduled deletion time among the scheduled deletion times (retention period) of the data stored in the data storage unit 20.

ステップ304(S304)において、移動削除制御部48は、データ格納部20に格納されているデータのうち、ステップ302で取得された直近の削除予定時期が設定されているデータの数を取得する。   In step 304 (S304), the movement deletion control unit 48 acquires the number of data set with the latest deletion scheduled time acquired in step 302 among the data stored in the data storage unit 20.

ステップ306(S306)において、移動削除制御部48は、直近の削除予定時期が設定されたデータについて、削除予定データ格納部22に移動する時期であるか否かを判定し、移動する時期が到来している場合にはステップ308へ移行し、移動する時期がまだ到来していない場合には、終了する。   In step 306 (S306), the movement deletion control unit 48 determines whether or not it is time to move to the deletion planned data storage unit 22 for the data for which the latest scheduled deletion time has been set. If it has, the process proceeds to step 308, and if it is not yet time to move, the process ends.

ここで、移動削除制御部48は、直近の削除予定時期までの期間が予め定めた期間内(例えば1週間以内)であるか否か、及び、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報に基づき定められた移動開始時期が到来しているか否かについて判定し、直近の削除予定時期までの期間が予め定めた期間内であり、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報に基づき定められた移動開始時期が到来している場合に、ステップ308へ移行する。   Here, the movement deletion control unit 48 determines whether or not the period until the latest scheduled deletion time is within a predetermined period (for example, within one week), the movement time prediction unit 42, the processing load prediction unit 44, or It is determined whether or not the movement start time determined based on the information provided by the processing load information acquisition unit 46 has arrived. The period until the latest scheduled deletion time is within a predetermined period, and the movement time prediction When the movement start time determined based on the information provided by the unit 42, the processing load prediction unit 44, or the processing load information acquisition unit 46 has arrived, the process proceeds to step 308.

なお、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報に基づき定められた移動開始時期の詳細については後述する。   The details of the movement start time determined based on the information provided by the movement time prediction unit 42, the processing load prediction unit 44, or the processing load information acquisition unit 46 will be described later.

ステップ308(S308)において、移動削除制御部48は、削除管理情報を設定し、設定した情報を削除管理情報格納部24に格納する。具体的には、例えば、削除計画処理が実行中であることを表すために削除予定日についての設定情報としてダミーの値を設定し、計画開始日についての設定情報として現在の日時情報を設定し、データ数の設定情報としてステップ304で取得したデータ数を設定する。なお、本実施形態では、移動履歴記録部36は、移動を開始する旨の履歴情報を履歴格納部26に格納する。   In step 308 (S308), the movement deletion control unit 48 sets the deletion management information, and stores the set information in the deletion management information storage unit 24. Specifically, for example, a dummy value is set as the setting information for the scheduled deletion date to indicate that the deletion planning process is being executed, and the current date and time information is set as the setting information for the planned start date. The number of data acquired in step 304 is set as the data number setting information. In the present embodiment, the movement history recording unit 36 stores history information indicating that movement is started in the history storage unit 26.

ステップ310(S310)において、移動削除制御部48は、データ移動部30が移動処理を実行するよう制御する。データ移動部30は、移動削除制御部48の制御により、データ格納部20に格納されているデータのうち、ステップ302で取得された直近の削除予定時期が設定されているデータを、データ格納部20から削除予定データ格納部22へと移動させる。   In step 310 (S310), the movement deletion control unit 48 controls the data movement unit 30 to execute the movement process. Under the control of the movement deletion control unit 48, the data movement unit 30 converts the data stored in the data storage unit 20 to the data set with the latest scheduled deletion time acquired in step 302. The data is moved from 20 to the scheduled deletion data storage unit 22.

ステップ312(S312)において、移動削除制御部48は、削除管理情報格納部24に格納されている削除管理情報について、削除計画が完了したことを表すために、ステップ302で取得された直近の削除予定時期を削除予定日の設定情報として設定する(ステップ308のダミーの値を、直近の削除予定時期の値に書き換える)。また、計画完了日についての設定情報として、現在の日時情報を設定する。なお、本実施形態では、さらに移動履歴記録部36が、データの移動についての履歴情報として、移動されたデータのIDと移動先のテーブル名を履歴格納部26へ記録する。   In step 312 (S312), the movement deletion control unit 48 uses the latest deletion acquired in step 302 to indicate that the deletion management information stored in the deletion management information storage unit 24 has been deleted. The scheduled time is set as setting information for the scheduled deletion date (the dummy value in step 308 is rewritten to the value of the latest scheduled deletion date). Further, the current date / time information is set as the setting information for the planned completion date. In the present embodiment, the movement history recording unit 36 further records the ID of the moved data and the table name of the movement destination in the history storage unit 26 as the history information about the data movement.

図7は、削除管理情報格納部24について、削除計画処理が実行される前(a)、実行中(b)及び実行後(c)の状態を例示する模式図である。なお、図7で示した例では、図7(b)にあるように、削除予定日に設定するダミーの値として「9999/1/1」が設定されており、削除計画処理が実行中の状態であることを示している。また、図7において、削除予定日、計画開始日、計画完了日に設定する情報として、日にちが設定されているが、時刻情報が含まれてもよい。   FIG. 7 is a schematic diagram illustrating the states before (a), during execution (b), and after (c) execution of the deletion plan process for the deletion management information storage unit 24. In the example shown in FIG. 7, as shown in FIG. 7B, “9999/1/1” is set as a dummy value to be set on the scheduled deletion date, and the deletion planning process is being executed. It shows that it is in a state. In FIG. 7, the date is set as information to be set for the scheduled deletion date, the plan start date, and the plan completion date, but time information may be included.

上記の削除計画処理のフローチャートでは、ステップ306におけるデータの移動時期の判定において、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報を用いる例を説明しているが、ステップ304では、直近の削除予定時期までの期間が予め定めた期間内(例えば1週間以内)であるか否かのみによって、判定を行ってもよい。なお、その場合、データ数を取得するステップ(ステップ304)は、不要である。また、計画開始日、計画完了日についての設定情報も不要である。   In the flowchart of the deletion plan process, an example in which information provided by the movement time prediction unit 42, the processing load prediction unit 44, or the processing load information acquisition unit 46 is used in the determination of the data movement time in step 306 will be described. However, in step 304, the determination may be made only based on whether or not the period until the latest scheduled deletion time is within a predetermined period (for example, within one week). In this case, the step of acquiring the number of data (step 304) is not necessary. Also, setting information about the plan start date and the plan completion date is unnecessary.

図8は、ステップ306で、直近の削除予定時期までの期間が予め定めた期間内であるか否かのみによって移動時期を判定する場合について、削除計画処理が実行される前(a)、実行中(b)及び実行後(c)の削除管理情報格納部24の状態を例示する模式図である。   FIG. 8 shows a case in which, in step 306, when the movement time is determined only based on whether or not the period until the latest scheduled deletion time is within a predetermined period, the deletion plan process is executed (a). It is a schematic diagram which illustrates the state of the deletion management information storage part 24 inside (b) and after execution (c).

図9は、データ格納部20について、削除計画処理が実行される前(a)及び実行後(b)の状態を例示する模式図である。   FIG. 9 is a schematic diagram illustrating the state before (a) and after (b) execution of the deletion plan process for the data storage unit 20.

図10は、削除予定データ格納部22について、削除計画処理が実行される前(a)及び実行後(b)の状態を例示する模式図である。   FIG. 10 is a schematic diagram illustrating the states before (a) and after (b) execution of the deletion plan process for the deletion planned data storage unit 22.

図9及び図10に示した例では、データ格納部20に格納されているデータ「契約書A」、「契約書B」及び「契約書C」のうち、データ「契約書A」及び「契約書B」について削除予定データ格納部22に移動している。図9及び図10で示されるように、削除予定データ格納部22では、データ格納部20においてデータ「契約書A」及び「契約書B」が登録されていたテーブル(表)と同じスキーマのテーブル(表)が作成され、データ「契約書A」及び「契約書B」が登録されている。   In the example shown in FIG. 9 and FIG. 10, the data “contract A” and “contract” among the data “contract A”, “contract B”, and “contract C” stored in the data storage unit 20. “Document B” has been moved to the scheduled deletion data storage unit 22. As shown in FIGS. 9 and 10, in the deletion schedule data storage unit 22, a table having the same schema as the table (table) in which the data “contract document A” and “contract document B” are registered in the data storage unit 20. (Table) is created, and data “contract document A” and “contract document B” are registered.

次に、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報に基づく移動開始時期の設定について説明する。
図11は、移動時間予測部42による動作の一例を示すフローチャートである。
Next, the setting of the movement start time based on the information provided by the movement time prediction unit 42, the processing load prediction unit 44, or the processing load information acquisition unit 46 will be described.
FIG. 11 is a flowchart illustrating an example of the operation performed by the travel time prediction unit 42.

ステップ400(S400)として、上記ステップ306において移動削除制御部48から問い合わせを受けた移動時間予測部42は、移動時間の記録が存在するか確認し、存在する場合には、ステップ402へ移行し、存在しない場合にはステップ404へ移行する。具体的には、例えば、削除管理情報格納部24に、データ数、計画開始日及び計画完了日についての情報が設定されている削除管理情報があるか否かにより、過去のデータ移動の実績があるかを確認する。   In step 400 (S400), the movement time prediction unit 42 that has received an inquiry from the movement deletion control unit 48 in step 306 confirms whether or not there is a record of the movement time. If it does not exist, the process proceeds to step 404. Specifically, for example, the deletion management information storage unit 24 determines whether there is deletion management information in which information on the number of data, the plan start date, and the plan completion date is set. Check if it exists.

ステップ402(S402)において、移動時間予測部42は、上記ステップ304で取得されたデータ数に基づいて、データの移動時間を予測し、予測した移動時間を移動削除制御部48へ通知する。具体的には、例えば、過去の実績(データ数、計画開始日及び計画完了日)から、データ数あたりの移動時間の最大値を算出し、上記ステップ304で取得されたデータ数を掛け合わせて移動時間を予測する。   In step 402 (S402), the movement time prediction unit 42 predicts the movement time of the data based on the number of data acquired in step 304 and notifies the movement deletion control unit 48 of the predicted movement time. Specifically, for example, the maximum value of travel time per number of data is calculated from past results (number of data, plan start date and plan completion date), and multiplied by the number of data acquired in step 304 above. Predict travel time.

一方、ステップ404(S404)では、移動時間の設定値として予め定められた値を移動削除制御部48へ通知する。   On the other hand, in step 404 (S404), the movement deletion control unit 48 is notified of a predetermined value as the set value of the movement time.

移動削除制御部48は、移動時間予測部42から通知された移動時間に基づいて、移動開始時期を定める。例えば、移動時間予測部42から通知された移動時間をT1とした場合、移動対象のデータの削除予定時期よりもT1だけ前の日時を移動開始時期として定める。もちろん、T1にさらに予め定めた余裕時間T2を設定し、削除予定時期よりもT1+T2だけ前の日時を移動開始時期として定めてもよい。   The movement deletion control unit 48 determines the movement start time based on the movement time notified from the movement time prediction unit 42. For example, when the movement time notified from the movement time prediction unit 42 is T1, the date and time that is T1 before the scheduled deletion time of the data to be moved is determined as the movement start time. Of course, a predetermined margin time T2 may be set for T1, and the date and time that is T1 + T2 before the scheduled deletion time may be set as the movement start time.

このように予測された移動時間に基づいて移動開始時期を定めることにより、削除予定時期までにデータの移動が完了しない事態が防がれる。また、削除予定データ格納部22に格納されたデータの削除予定時期が延期された場合、データをデータ格納部20に戻すが、予測された移動時間に基づいて移動開始時期を定めることにより、必要以上に早期に削除予定データ格納部22に移動されることが防がれるので、削除予定時期が延期された場合における戻し移動処理の発生の可能性は低減される。   By determining the movement start time based on the predicted movement time in this way, a situation in which the data movement is not completed by the scheduled deletion time can be prevented. Further, when the scheduled deletion time of the data stored in the scheduled deletion data storage unit 22 is postponed, the data is returned to the data storage unit 20, but it is necessary by determining the movement start time based on the predicted movement time. Since it is prevented from being moved to the deletion schedule data storage unit 22 at an early stage as described above, the possibility of the return movement process when the scheduled deletion time is postponed is reduced.

また、移動削除制御部48は、処理負荷情報取得部46による処理負荷の予測情報を用いて移動開始時期を定めてもよい。   In addition, the movement deletion control unit 48 may determine the movement start time using the processing load prediction information from the processing load information acquisition unit 46.

図12、処理負荷情報取得部46が取得した処理負荷についての情報の一例を示す模式図である。処理負荷情報取得部46は、例えば、平時情報(削除計画処理を実行していない時間帯の情報)を定期的に取得し、図12に示した情報を削除管理情報格納部24に格納しておく。移動削除制御部48は、処理負荷情報取得部46が取得した処理負荷の情報に基づいて、例えば、処理負荷が過多とならないよう移動開始時期を定める。   FIG. 12 is a schematic diagram illustrating an example of information about the processing load acquired by the processing load information acquisition unit 46. For example, the processing load information acquisition unit 46 periodically acquires normal time information (information of a time zone during which the deletion plan process is not executed), and stores the information illustrated in FIG. 12 in the deletion management information storage unit 24. deep. The movement deletion control unit 48 determines the movement start time based on the processing load information acquired by the processing load information acquisition unit 46, for example, so that the processing load does not become excessive.

具体的には、移動削除制御部48は、例えば、最大CPU使用率が予め定めた値(例えば、90%)を超えていない時間帯にデータの移動を実行する。移動削除制御部48は、例えば、移動時間予測部42により予測された移動時間の間、最大CPU使用率が予め定めた値を超えないよう移動開始時期を定める。   Specifically, for example, the movement deletion control unit 48 performs data movement in a time zone in which the maximum CPU usage rate does not exceed a predetermined value (for example, 90%). For example, the movement deletion control unit 48 determines the movement start time so that the maximum CPU usage rate does not exceed a predetermined value during the movement time predicted by the movement time prediction unit 42.

また、例えば、データの移動によりCPU使用率が最大でも予め定めた値(例えば、10%)しか使用せず、データの移動処理を複数並行して実行すると同時実行数に正比例してCPU使用をする場合には、データの移動処理を含めて最大CPU使用率が100%以下になるように、同時実行数をできるだけ多くするようにしてもよい。データの移動処理を並行して実行することにより、並行して実行しない場合に比べデータの移動時間は短縮される。   In addition, for example, only a predetermined value (for example, 10%) is used even if the CPU usage rate is maximum due to data movement, and if a plurality of data movement processes are executed in parallel, CPU usage is directly proportional to the number of concurrent executions. In this case, the number of simultaneous executions may be increased as much as possible so that the maximum CPU usage rate is 100% or less including data movement processing. By executing the data movement process in parallel, the data movement time is shortened compared to the case where the data movement process is not executed in parallel.

また、移動削除制御部48は、処理負荷予測部44による処理負荷の予測情報を用いて移動開始時期を定めてもよい。処理負荷予測部44は、例えば、データ移動が行われる際に、データ移動処理のCPU使用率を取得し、削除管理情報格納部24に格納しておく。処理負荷予測部44は、取得した処理負荷の情報に基づいて、移動対象のデータ量を移動する場合の処理負荷の予測を行い、移動削除制御部48は、処理負荷予測部44により予測された処理負荷を用いて移動開始時期を定める。   Further, the movement deletion control unit 48 may determine the movement start time using the processing load prediction information from the processing load prediction unit 44. For example, when the data movement is performed, the processing load prediction unit 44 acquires the CPU usage rate of the data movement process and stores it in the deletion management information storage unit 24. The processing load prediction unit 44 predicts the processing load when moving the data amount to be moved based on the acquired processing load information, and the movement deletion control unit 48 is predicted by the processing load prediction unit 44. The movement start time is determined using the processing load.

このように負荷情報に基づいて移動開始時期を定めることにより、削除計画処理以外の他の処理の実行を妨げることが低減されうる。   By determining the movement start time based on the load information in this way, it is possible to reduce the hindrance to the execution of processes other than the deletion plan process.

なお、移動削除制御部48は、移動時間予測部42、処理負荷予測部44又は処理負荷情報取得部46により提供される情報の全てを用いて移動開始時期を定めてもよいし、いずれかの情報を用いて移動開始時期を定めてもよい。   The movement deletion control unit 48 may determine the movement start time using all of the information provided by the movement time prediction unit 42, the processing load prediction unit 44, or the processing load information acquisition unit 46. The movement start time may be determined using the information.

図13は、移動削除制御部48による制御により削除実行処理(ステップ202)がなされる動作を例示するフローチャートである。   FIG. 13 is a flowchart illustrating an operation in which the deletion execution process (step 202) is performed under the control of the movement deletion control unit 48.

ステップ500(S500)において、移動削除制御部48は、削除予定データ格納部22に格納されたデータの削除予定時期が到来しているか否かを判定し、削除予定時期を迎えている場合にはステップ502へ移行し、未だ迎えていない場合には終了する。具体的には、例えば、削除管理情報格納部24に格納されている削除予定時期と現在の日時情報とを比較し、削除予定時期が到来しているか否かを判定する。   In step 500 (S500), the movement deletion control unit 48 determines whether or not the scheduled deletion time of the data stored in the deletion scheduled data storage unit 22 has arrived. The process proceeds to step 502, and ends if not yet received. Specifically, for example, the scheduled deletion time stored in the deletion management information storage unit 24 is compared with the current date and time information to determine whether the scheduled deletion time has arrived.

ステップ502(S502)において、移動削除制御部48は、削除予定データ格納部22に格納されているデータについてデータ戻し移動部32による戻し移動中であるか否かを判定し、戻し移動中でない場合には、ステップ504へ移行し、戻し移動中である場合には、待機する。   In step 502 (S502), the movement deletion control unit 48 determines whether or not the data stored in the scheduled deletion data storage unit 22 is being moved back by the data return moving unit 32, and is not moving back. In step 504, the process proceeds to step 504.

ステップ504(S504)において、移動削除制御部48は、削除部34が削除処理を実行するよう制御するとともに、参照制御部50に参照を制限するよう通知する。削除部34は、移動削除制御部48の制御により、削除予定データ格納部22に格納されているデータをテーブルごと一括して削除する。削除部34は、例えば、SQL文「TRUNCATE」を用いて削除する。このように、削除部34により削除が行われる際には、参照が制限され、削除対象のデータについての排他制御は必要とされない。   In step 504 (S504), the movement deletion control unit 48 controls the deletion unit 34 to execute the deletion process, and notifies the reference control unit 50 to limit the reference. The deletion unit 34 collectively deletes the data stored in the scheduled deletion data storage unit 22 for each table under the control of the movement deletion control unit 48. For example, the deletion unit 34 deletes using the SQL sentence “TRUNCATE”. Thus, when deletion is performed by the deletion unit 34, reference is limited, and exclusive control is not required for data to be deleted.

ステップ506(S506)において、移動削除制御部48は、削除管理情報格納部24に格納されている削除管理情報について、削除が完了したことを表すために、データの削除が完了した削除管理情報における削除予定日をNull値とする。なお、本実施形態では、さらに削除履歴記録部38が、データの削除についての履歴情報として、削除対象のテーブル名を記録する。   In step 506 (S506), the movement deletion control unit 48 uses the deletion management information for which deletion of data has been completed in order to indicate that the deletion management information stored in the deletion management information storage unit 24 has been deleted. The scheduled deletion date is a Null value. In this embodiment, the deletion history recording unit 38 further records the name of the table to be deleted as history information regarding data deletion.

次に、データの更新について説明する。
図14は、操作処理部28によりデータが更新される場合の動作を例示するフローチャートである。
Next, data update will be described.
FIG. 14 is a flowchart illustrating an operation when data is updated by the operation processing unit 28.

ステップ600(S600)において、操作処理部28が、UI部12を介して入力されたデータ更新要求を受付ける。   In step 600 (S600), the operation processing unit 28 accepts a data update request input via the UI unit 12.

ステップ602(S602)において、操作処理部28は、受付けたデータ更新要求が、データの削除予定時期(保存期限)の変更を必要とするか否かを判定し、削除予定時期(保存期限)の変更が必要となる場合にはステップ604へ移行し、削除予定時期(保存期限)の変更が必要ない場合にはステップ610へ移行する。   In step 602 (S602), the operation processing unit 28 determines whether or not the received data update request requires a change in the scheduled deletion time (storing time limit) of the data. If a change is necessary, the process proceeds to step 604, and if a change in the scheduled deletion time (retention period) is not required, the process proceeds to step 610.

ステップ604(S604)において、削除予定時期(保存期限)の変更が、更新対象のデータに既に設定されている削除予定時期(保存期限)よりも前の時期への変更であるか否かを判定し、前倒しの変更でない場合には、ステップ606へ移行し、前倒しの変更である場合には、ステップ612へ移行する。   In step 604 (S604), it is determined whether or not the scheduled deletion time (retention period) has been changed to a period before the scheduled deletion time (retention period) already set in the update target data. If it is not a forward change, the process proceeds to step 606. If it is a forward change, the process proceeds to step 612.

ステップ606(S606)において、更新対象のデータが削除予定データ格納部22に格納されているデータであるかを判定し、削除予定データ格納部22に格納されているデータである場合には、ステップ608へ移行し、データ格納部20に格納されているデータである場合には、ステップ610へ移行する。   In step 606 (S606), it is determined whether the data to be updated is data stored in the scheduled deletion data storage unit 22, and if the data is stored in the planned deletion data storage unit 22, If the data is stored in the data storage unit 20, the process proceeds to step 610.

ステップ608(S608)において、操作処理部28は、移動削除制御部48に例外の発生を通知する。   In step 608 (S608), the operation processing unit 28 notifies the movement deletion control unit 48 of the occurrence of an exception.

ステップ610(S610)において、操作処理部28は、ステップ600で受付けたデータ更新要求に応じた更新を行う。なお、例外の発生の通知を受けた移動削除制御部48は、データ戻し移動部32が、更新されたデータを、削除予定データ格納部22からデータ格納部20へ戻すよう制御する。データ戻し移動部32は、戻し対象のデータを、データ移動部30による移動元のテーブルに戻す。   In step 610 (S610), the operation processing unit 28 performs an update according to the data update request received in step 600. Upon receipt of the exception occurrence notification, the movement deletion control unit 48 controls the data return movement unit 32 to return the updated data from the deletion planned data storage unit 22 to the data storage unit 20. The data return moving unit 32 returns the data to be returned to the table of the movement source by the data moving unit 30.

一方、ステップ612(S612)では、操作処理部28は、更新対象のデータに既に設定されている削除予定時期(保存期限)よりも前の時期への変更を伴う更新を受付けないよう制御する。   On the other hand, in step 612 (S612), the operation processing unit 28 performs control so as not to accept an update accompanying a change to a time before the scheduled deletion time (storing time limit) already set in the update target data.

ステップ614(S614)において、操作処理履歴記録部40は、更新操作についての履歴情報を履歴格納部26に格納する。   In step 614 (S614), the operation process history recording unit 40 stores history information about the update operation in the history storage unit 26.

ステップ616(S616)において、操作処理部28は、更新操作の結果をUI部12に表示する。例えば、操作処理部28は、データの更新が成功したか否かについての情報を表示する。   In step 616 (S616), the operation processing unit 28 displays the result of the update operation on the UI unit 12. For example, the operation processing unit 28 displays information about whether or not the data update is successful.

なお、以上示したフローチャートでは、ステップ612において、更新対象のデータに既に設定されている削除予定時期(保存期限)よりも前の時期への変更を伴う更新は受付けないようにしているが、更新対象のデータがデータ格納部20に格納されているデータである場合には、データ更新を許可し、ステップ610へ移行するようにしてもよい。   In the flowchart shown above, in step 612, an update with a change to a time earlier than the scheduled deletion time (retention period) already set in the update target data is not accepted. If the target data is data stored in the data storage unit 20, the data update may be permitted and the process may proceed to step 610.

また、本実施形態では、図3及び図4で示したように、データに対して削除期限(保存期限)を設定できるよう説明したが、予め定めたデータの属性(例えば、データの登録日又は契約満了日など)から起算して予め定めた保存期間(例えば、5年)経過した時期を削除期限としてもよい。この場合、例えば、データの種別ごとに、予め定めた保存期間が定められていてもよい。   Further, in the present embodiment, as illustrated in FIGS. 3 and 4, it has been described that a deletion time limit (storage time limit) can be set for data. However, a predetermined data attribute (for example, data registration date or The time when a predetermined storage period (for example, 5 years) has elapsed from the contract expiration date or the like may be used as the deletion deadline. In this case, for example, a predetermined storage period may be set for each type of data.

図15は、データの種別ごとに起算日と保存期間とを定める場合に、削除管理情報格納部24に格納される、削除予定時期の算出規則を示す情報の一例を示した模式図である。   FIG. 15 is a schematic diagram illustrating an example of information indicating a calculation rule for a scheduled deletion time stored in the deletion management information storage unit 24 when a calculation date and a retention period are determined for each data type.

このように、削除予定時期の算出規則を示す情報が格納されている場合には、算出規則を変更するような更新があったときに、上記ステップ612に示されるような例外発生の通知を行う。具体的には、削除予定時期の算出規則を示す情報の更新により、データ格納部20に格納されているデータの削除予定時期が延期される場合には、操作処理部28は、移動削除制御部48に例外の発生を通知する。また、通知を受けた移動削除制御部48は、データ戻し移動部32がデータを戻すよう制御する。   As described above, when the information indicating the calculation rule for the scheduled deletion time is stored, when there is an update that changes the calculation rule, an exception occurrence notification as shown in step 612 is performed. . Specifically, when the scheduled deletion time of the data stored in the data storage unit 20 is postponed due to the update of the information indicating the calculation rule for the scheduled deletion time, the operation processing unit 28 moves the movement deletion control unit. 48 is notified of the occurrence of the exception. The movement deletion control unit 48 that has received the notification controls the data return movement unit 32 to return the data.

以上説明したようにデータ記憶装置2では、削除予定格納フォルダに格納されているデータを一括して削除しており、例えば削除予定時期が到来したデータを1件ずつ削除する場合や、SQL文「DELETE」などにより削除予定時期の条件を満たすレコードを抽出して削除する場合などに比べて、削除処理に要する時間は短縮され、データを利用不能にする時期として予め定めた時期と実際にデータが利用不能になる時期とに差異が発生することが抑制される。   As described above, the data storage device 2 deletes data stored in the deletion schedule storage folder in a batch. For example, when deleting data that is scheduled to be deleted one by one or when the SQL statement “ The time required for the deletion process is shortened compared to the case where a record that satisfies the conditions for the scheduled deletion time is extracted by DELETE etc., and the time required for the deletion process is reduced. It is suppressed that a difference arises with the time when it becomes unavailable.

また、検索対象のデータが、複数の格納領域(テーブル)に分かれて格納されているような場合には、1つの格納領域(テーブル)に格納されている場合に比べて、検索に時間を要するが、上記データ記憶装置2では、移動削除制御部48により移動の制御がなされるまでは、データ格納部20に格納されたデータのみを検索対象とすればよく、検索性能の低下が抑えられる。   Further, when the search target data is stored separately in a plurality of storage areas (tables), it takes time to search compared to the case where the data is stored in one storage area (table). However, in the data storage device 2, until the movement is controlled by the movement deletion control unit 48, only the data stored in the data storage unit 20 needs to be searched, and the degradation in search performance can be suppressed.

次に、本発明の第2の実施形態について説明する。上記第1の実施形態では、データ記憶装置2にデータの内容(例えば、文書の内容)が格納されていたが、第2の実施形態では、データの内容についてはファイル記憶サーバ64に記憶され、データ記憶装置62では、データの内容の記憶場所を示す情報(パス情報)を記憶する。   Next, a second embodiment of the present invention will be described. In the first embodiment, the content of data (for example, the content of a document) is stored in the data storage device 2, but in the second embodiment, the content of the data is stored in the file storage server 64, The data storage device 62 stores information (path information) indicating the storage location of the data contents.

図16は、本発明の第2の実施形態に係るデータ記憶システム60を示す模式図である。図16に示すように、データ記憶システム60において、データ記憶装置62と、データファイルを記憶するファイル記憶サーバ64がインターネットを含む通信回線66を介して接続されている。   FIG. 16 is a schematic diagram showing a data storage system 60 according to the second embodiment of the present invention. As shown in FIG. 16, in a data storage system 60, a data storage device 62 and a file storage server 64 for storing data files are connected via a communication line 66 including the Internet.

データ記憶装置62は、第1の実施形態のデータ記憶装置2と同様であるが、データ記憶装置62は、例えば、図4、図9、図10に示される属性「文書内容」の代わりに、ファイル記憶サーバ64に記憶されている文書内容の位置を示すパス情報が格納される点で、第1の実施形態と異なる。この場合、削除部34の削除によりパス情報が削除され、データの利用ができなくなる。   The data storage device 62 is the same as the data storage device 2 of the first embodiment. However, the data storage device 62 is, for example, instead of the attribute “document content” shown in FIGS. This is different from the first embodiment in that path information indicating the position of the document content stored in the file storage server 64 is stored. In this case, the path information is deleted by the deletion unit 34 and the data cannot be used.

また、ファイル記憶サーバ64は、暗号化されたデータの内容を記憶するようにし、データ記憶装置62は、暗号化されたデータ内容の記憶場所を示す情報と、当該データ内容の復号に用いる情報(例えば、鍵情報)との組を格納するようにしてもよい。   The file storage server 64 stores the content of the encrypted data, and the data storage device 62 stores information indicating the storage location of the encrypted data content and information used for decrypting the data content ( For example, a pair with key information) may be stored.

図17は、データ記憶装置62が、暗号化されたデータ内容の記憶場所を示す情報と、復号に用いる情報との組を格納する場合に、データ格納部20に格納された情報の一例を示す模式図である。   FIG. 17 shows an example of information stored in the data storage unit 20 when the data storage device 62 stores a pair of information indicating the storage location of the encrypted data content and information used for decryption. It is a schematic diagram.

図17に示すように、記憶先位置情報と復号鍵情報とがデータごとに格納される。なお、削除予定データ格納部22にデータが移動された場合、削除予定データ格納部22においても、図17に示されるテーブルと同じスキーマのテーブルに格納される。   As shown in FIG. 17, storage location information and decryption key information are stored for each data. When the data is moved to the scheduled deletion data storage unit 22, the deletion planned data storage unit 22 stores the data in a table having the same schema as the table shown in FIG.

データ記憶装置62において、削除部34が削除予定データ格納部22に格納されたデータの削除を行っても、データ内容については、ファイル記憶サーバ64に記憶されているため削除されない。ただし、上記のようにファイル記憶サーバ64に記憶されているデータ内容が暗号化されている場合、削除部34の削除により復号鍵情報が削除されておりデータの解読はできない。なお、ファイル記憶サーバ64に記憶されているデータ内容のうち、データ記憶装置62において記憶先位置情報等が削除されているデータについて削除されるように構成してもよい。   In the data storage device 62, even if the deletion unit 34 deletes the data stored in the scheduled deletion data storage unit 22, the data contents are not deleted because they are stored in the file storage server 64. However, when the data content stored in the file storage server 64 is encrypted as described above, the decryption key information is deleted by the deletion unit 34 and the data cannot be decrypted. Note that, among the data contents stored in the file storage server 64, the data storage device 62 may be configured to delete data for which the storage location information is deleted.

2 :データ記憶装置
20 :データ格納部
22 :削除予定データ格納部
24 :削除管理情報格納部
26 :履歴格納部
28 :操作処理部
30 :データ移動部
32 :データ戻し移動部
34 :削除部
36 :移動履歴記録部
38 :削除履歴記録部
40 :操作処理履歴記録部
42 :移動時間予測部
44 :処理負荷予測部
46 :処理負荷情報取得部
48 :移動削除制御部
50 :参照制御部
60 :データ記憶システム
62 :データ記憶装置
64 :ファイル記憶サーバ
2: Data storage device 20: Data storage unit 22: Scheduled data storage unit 24: Deletion management information storage unit 26: History storage unit 28: Operation processing unit 30: Data movement unit 32: Data return movement unit 34: Deletion unit 36 : Movement history recording unit 38: deletion history recording unit 40: operation processing history recording unit 42: movement time prediction unit 44: processing load prediction unit 46: processing load information acquisition unit 48: movement deletion control unit 50: reference control unit 60: Data storage system 62: Data storage device 64: File storage server

Claims (13)

少なくとも1つ以上のデータを格納する第1の格納手段と、
前記第1の格納手段に格納されているデータのうち、削除予定時期までの期間が予め定めた期間内である少なくとも1つ以上のデータを移動する移動手段と、
前記移動手段により移動された少なくとも1つ以上のデータを格納する第2の格納手段と、
前記第2の格納手段により格納されている少なくとも1つ以上のデータを、削除予定時期に一括して削除する削除手段と
を有するデータ記憶装置。
First storage means for storing at least one or more data;
Of the data stored in the first storage means, moving means for moving at least one data whose period until the scheduled deletion time is within a predetermined period;
Second storage means for storing at least one or more data moved by the moving means;
A data storage device comprising: deletion means for deleting at least one or more pieces of data stored in the second storage means collectively at a scheduled deletion time.
前記移動手段による移動の履歴を記録する移動履歴記録手段
をさらに有する請求項1記載のデータ記憶装置。
The data storage device according to claim 1, further comprising a movement history recording unit that records a movement history of the movement unit.
前記削除手段による削除の履歴を記録する削除履歴記録手段
をさらに有する請求項1又は2記載のデータ記憶装置。
The data storage device according to claim 1, further comprising: a deletion history recording unit that records a history of deletion by the deletion unit.
前記削除手段が前記第2の格納手段により格納されている少なくとも1つ以上のデータの削除を行う時期以降は、該データの参照を拒否するよう制御する参照制御手段
をさらに有する請求項1乃至3いずれか記載のデータ記憶装置。
The reference control means for controlling to reject the reference of the data after the time when the deletion means deletes at least one or more data stored in the second storage means. Any one of the data storage devices.
前記移動手段によるデータの移動に要する時間を予測する時間予測手段
をさらに有し、
前記移動手段は、前記時間予測手段により予測された時間に基づいて、データの移動開始時期を定める
請求項1乃至4いずれか記載のデータ記憶装置。
A time predicting means for predicting a time required for data movement by the moving means;
The data storage device according to any one of claims 1 to 4, wherein the movement unit determines a data movement start time based on the time predicted by the time prediction unit.
前記移動手段によるデータの移動によってかかる処理負荷を予測する処理負荷予測手段
をさらに有し、
前記移動手段は、前記処理負荷予測手段により予測された処理負荷に基づいて、データの移動開始時期を定める
請求項1乃至5いずれか記載のデータ記憶装置。
Processing load prediction means for predicting the processing load due to data movement by the movement means,
The data storage device according to claim 1, wherein the moving unit determines a data movement start time based on the processing load predicted by the processing load prediction unit.
自装置にかかる処理負荷についての情報を取得する処理負荷情報取得手段
をさらに有し、
前記移動手段は、前記処理負荷情報取得手段により取得された処理負荷についての情報に基づいて、データの移動開始時期を定める
請求項1乃至6いずれか記載のデータ記憶装置。
It further has processing load information acquisition means for acquiring information about the processing load applied to its own device,
The data storage device according to any one of claims 1 to 6, wherein the movement unit determines a data movement start time based on information on the processing load acquired by the processing load information acquisition unit.
前記第2の格納手段により格納されている少なくとも1つ以上のデータのうち、削除予定時期が変更されたデータを、前記第1の格納手段により格納するよう戻す移動を行う戻し移動手段
をさらに有する
請求項1乃至7いずれか記載のデータ記憶装置。
Return movement means for performing movement to return data in which the scheduled deletion time is changed among at least one data stored in the second storage means so as to be stored in the first storage means The data storage device according to claim 1.
前記第2の格納手段により格納されている少なくとも1つ以上のデータのうち、削除予定時期が変更されたデータを、前記第1の格納手段により格納するよう戻す移動を行う戻し移動手段
をさらに有し、
前記削除手段は、前記戻し移動手段によりデータが移動される場合、前記戻し移動手段によるデータの移動が終了するまで、削除を待機する
請求項4記載のデータ記憶装置。
There is further provided a return movement means for performing a movement to return the data whose scheduled deletion time has been changed among the at least one data stored by the second storage means to be stored by the first storage means. And
The data storage device according to claim 4, wherein when the data is moved by the return movement unit, the deletion unit waits for deletion until the data movement by the return movement unit is completed.
少なくとも1つ以上のデータについて、該データの記憶場所を示す情報を格納する第1の格納手段と、
前記第1の格納手段に格納されているデータの記憶場所を示す情報のうち、該データの削除予定時期までの期間が予め定めた期間内である情報を移動する移動手段と、
前記移動手段により移動された少なくとも1つ以上のデータの記憶場所を示す情報を格納する第2の格納手段と、
前記第2の格納手段により格納されている少なくとも1つ以上のデータの記憶場所を示す情報を、削除予定時期に一括して削除する削除手段と
を有するデータ記憶装置。
First storage means for storing information indicating a storage location of the data for at least one or more data;
Of the information indicating the storage location of the data stored in the first storage means, moving means for moving information whose period until the scheduled deletion time of the data is within a predetermined period;
Second storage means for storing information indicating a storage location of at least one or more data moved by the moving means;
A data storage device comprising: deletion means for collectively deleting information indicating a storage location of at least one or more data stored by the second storage means at a scheduled deletion time.
前記第1の格納手段は、少なくとも1つ以上の暗号化されたデータについて、該データの記憶場所を示す情報及び該データの復号に用いる情報の組を格納し、
前記移動手段は、前記第1の格納手段に格納されている、データの記憶場所を示す情報及び該データの復号に用いる情報の組うち、該データの削除予定時期までの期間が予め定めた期間内である情報の組を移動し、
前記第2の格納手段は、前記移動手段により移動された少なくとも1つ以上の情報の組を格納し、
前記削除手段は、前記第2の格納手段により格納されている少なくとも1つ以上の情報の組を、削除予定時期に一括して削除する
請求項10記載のデータ記憶装置。
The first storage means stores, for at least one or more encrypted data, information indicating a storage location of the data and a set of information used for decrypting the data;
The moving means has a predetermined period of time until the scheduled deletion time of the data, out of a set of information indicating the data storage location and information used for decoding the data stored in the first storage means Move a set of information within,
The second storage means stores at least one set of information moved by the moving means,
The data storage device according to claim 10, wherein the deleting unit collectively deletes at least one set of information stored by the second storage unit at a scheduled deletion time.
少なくとも1つ以上のデータを格納する第1の格納ステップと、
前記第1の格納ステップに格納されているデータのうち、削除予定時期までの期間が予め定めた期間内である少なくとも1つ以上のデータを移動する移動ステップと、
前記移動ステップにより移動された少なくとも1つ以上のデータを格納する第2の格納ステップと、
前記第2の格納ステップにより格納されている少なくとも1つ以上のデータを、削除予定時期に一括して削除する削除ステップと
をコンピュータに実行させるためのプログラム。
A first storing step for storing at least one or more data;
A moving step of moving at least one or more of the data stored in the first storing step within a predetermined period of time until the scheduled deletion time;
A second storing step for storing at least one or more data moved by the moving step;
A program for causing a computer to execute a deletion step of deleting at least one or more pieces of data stored in the second storage step at a scheduled deletion time.
少なくとも1つ以上のデータについて、該データの記憶場所を示す情報を格納する第1の格納ステップと、
前記第1の格納ステップに格納されているデータの記憶場所を示す情報のうち、該データの削除予定時期までの期間が予め定めた期間内である情報を移動する移動ステップと、
前記移動ステップにより移動された少なくとも1つ以上のデータの記憶場所を示す情報を格納する第2の格納ステップと、
前記第2の格納ステップにより格納されている少なくとも1つ以上のデータの記憶場所を示す情報を、削除予定時期に一括して削除する削除ステップと
をコンピュータに実行させるためのプログラム。
A first storage step for storing, for at least one or more data, information indicating a storage location of the data;
A moving step of moving the information indicating the storage location of the data stored in the first storage step, the information being within a predetermined period until the scheduled deletion time of the data;
A second storing step for storing information indicating a storage location of at least one or more data moved by the moving step;
A program for causing a computer to execute a deletion step of deleting information indicating a storage location of at least one or more data stored in the second storage step at a scheduled deletion time.
JP2012180809A 2012-08-17 2012-08-17 Data storage device and program Pending JP2014038506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012180809A JP2014038506A (en) 2012-08-17 2012-08-17 Data storage device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012180809A JP2014038506A (en) 2012-08-17 2012-08-17 Data storage device and program

Publications (1)

Publication Number Publication Date
JP2014038506A true JP2014038506A (en) 2014-02-27

Family

ID=50286600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012180809A Pending JP2014038506A (en) 2012-08-17 2012-08-17 Data storage device and program

Country Status (1)

Country Link
JP (1) JP2014038506A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016018368A (en) * 2014-07-08 2016-02-01 富士ゼロックス株式会社 File management device and program
JP2017011472A (en) * 2015-06-22 2017-01-12 富士ゼロックス株式会社 Image history management program and information processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129730A (en) * 2006-11-17 2008-06-05 Hitachi Ltd Shared file management method, shared file management program, and shared file management device
JP2010134037A (en) * 2008-12-02 2010-06-17 Taito Corp Electronic device
JP2011526007A (en) * 2008-12-03 2011-09-29 株式会社日立製作所 Storage system and storage system operation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129730A (en) * 2006-11-17 2008-06-05 Hitachi Ltd Shared file management method, shared file management program, and shared file management device
JP2010134037A (en) * 2008-12-02 2010-06-17 Taito Corp Electronic device
JP2011526007A (en) * 2008-12-03 2011-09-29 株式会社日立製作所 Storage system and storage system operation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016018368A (en) * 2014-07-08 2016-02-01 富士ゼロックス株式会社 File management device and program
JP2017011472A (en) * 2015-06-22 2017-01-12 富士ゼロックス株式会社 Image history management program and information processor

Similar Documents

Publication Publication Date Title
EP3103052B1 (en) Methods and systems for deleting requested information
US7219092B2 (en) System and method of data migration for safe removal of storage devices
CN105630863A (en) Transaction control block for multiversion concurrency commit status
WO2016143095A1 (en) Computer system and transaction process management method
JP6230317B2 (en) System, information processing apparatus, control method therefor, and program
GB2529436A (en) Data processing apparatus and method
JP6372157B2 (en) Relay device, system and program
CN102779088A (en) Transaction processing device, transaction processing method, and transaction processing program
JP2014038506A (en) Data storage device and program
JP2017027326A (en) Storage system and program for the same
US9384068B2 (en) Publishing of an application program interface
JP2006172067A (en) Database management method, system and program
US9785724B2 (en) Secondary queue for index process
EP2153353A1 (en) Distributed search in a casual network of servers
JP2015064850A (en) Database monitoring device, database monitoring method, and computer program
US20170177615A1 (en) TRANSACTION MANAGEMENT METHOD FOR ENHANCING DATA STABILITY OF NoSQL DATABASE BASED ON DISTRIBUTED FILE SYSTEM
US9201912B2 (en) Auditable abrogation of privacy enhancements in columnar in-memory databases
JP2007193408A (en) Disk operation control method in document management system
US10445289B1 (en) Method and apparatus for automatic cleanup of disfavored content
US9846695B2 (en) Information processing apparatus, control method, and storage medium storing program
JP6772723B2 (en) Lending program, lending method, and information processing equipment
Hughes et al. Neurological manifestations of the antiphospholipid syndrome
GB2514076A (en) Publishing of an application program interface
Heino et al. Results of 500 general surgery patients operated on in the ambulatory surgery unit.
JP5113233B2 (en) Web content management apparatus and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160509