JPH10124351A - Device and method for managing file retention period and storage medium for storing file retention period managing program - Google Patents

Device and method for managing file retention period and storage medium for storing file retention period managing program

Info

Publication number
JPH10124351A
JPH10124351A JP8275924A JP27592496A JPH10124351A JP H10124351 A JPH10124351 A JP H10124351A JP 8275924 A JP8275924 A JP 8275924A JP 27592496 A JP27592496 A JP 27592496A JP H10124351 A JPH10124351 A JP H10124351A
Authority
JP
Japan
Prior art keywords
file
type
storage period
period management
creation
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
JP8275924A
Other languages
Japanese (ja)
Inventor
Hideki Isono
秀樹 礒野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP8275924A priority Critical patent/JPH10124351A/en
Publication of JPH10124351A publication Critical patent/JPH10124351A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To set an appropriate retention period corresponding to the class of a file by reading out a file class from a retention period management information file, and newly preparing a file of the class when time corresponding to a file preparation interval has elapsed. SOLUTION: A retention period managing means 1 is constituted of a data processor and a retention period management program stored in a storage medium such as a magnetic disk. The retention period management information file 2 stores information necessary for checking the validity/invalidity of new preparation and deletion of a file. A retention period managing means 1 refers to the file 2, reads out information for one record, retrieves the newest file out of all files, and acquires the preparation data of the newest file. The means 1 judges whether a calculated new preparation data is matched with a current data or not, and at the time of coincidence, prepares a new file.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、予め設定した保存
期間の情報に基づき、ファイルの新規作成および削除の
管理を行うファイル保存期間管理装置、ファイル保存期
間管理方法およびファイル保存期間管理用プログラムを
記憶した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file storage period management device, a file storage period management method, and a file storage period management program for managing new creation and deletion of a file based on preset storage period information. It relates to the stored storage medium.

【0002】[0002]

【従来の技術】従来のファイル保存期間管理は、例え
ば、特開平1−306937号公報に記載されているよ
うに、作成されてからの経過日数が予め設定された保存
期間を超えているものを不要ファイルとして削除するも
のであった。
2. Description of the Related Art Conventional file storage period management is performed, for example, as described in Japanese Patent Application Laid-Open No. 1-306937, in the case where the number of days elapsed since creation has exceeded a preset storage period. They were deleted as unnecessary files.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この従
来の技術は、ファイルの種類を区別せずに保存期間を設
定するものであり、ファイルの種類に応じた適切な保存
期間を設定することができないという問題点があった。
However, in this conventional technique, a storage period is set without distinguishing a file type, and an appropriate storage period cannot be set according to a file type. There was a problem.

【0004】また、この従来の技術は、作成されてから
の経過期間が予め設定された保存期間を超えたファイル
を削除するのみであり、削除対象のファイルと同じ種類
のファイルを新規に作成することはできないという問題
点があった。
[0004] Further, this conventional technique only deletes a file whose elapsed time from creation exceeds a preset storage period, and newly creates a file of the same type as the file to be deleted. There was a problem that it was not possible.

【0005】本発明の目的は、ファイルの種類に応じた
適切な保存期間を設定することができるファイル保存期
間管理装置、ファイル保存期間管理方法およびファイル
保存期間管理用プログラムを記憶した記憶媒体を提供す
ることにある。
An object of the present invention is to provide a file storage period management device, a file storage period management method, and a storage medium storing a file storage period management program that can set an appropriate storage period according to the type of a file. Is to do.

【0006】本発明の他の目的は、削除対象のファイル
と同じ種類のファイルを新規に作成することができるフ
ァイル保存期間管理装置、ファイル保存期間管理方法お
よびファイル保存期間管理用プログラムを記憶した記憶
媒体を提供することにある。
Another object of the present invention is to provide a file storage period management device, a file storage period management method, and a storage device storing a file storage period management program capable of newly creating a file of the same type as the file to be deleted. To provide a medium.

【0007】[0007]

【課題を解決するための手段】本発明の第1のファイル
保存期間管理装置は、ファイルの種類と、該種類のファ
イルの作成間隔とを記憶する保存期間管理情報ファイル
と、この保存期間管理情報ファイルから前記ファイルの
種類を読み出し、該種類の全てのファイルの中の最新の
ファイルの作成時から前記保存期間管理情報ファイルに
記憶された該種類のファイルの作成間隔に相当する期間
が経過した時に、該種類のファイルを新規に作成する保
存期間管理手段とを備えている。
According to a first aspect of the present invention, there is provided a file retention period management device for storing a file type and a file creation interval of the file of the type; The file type is read from the file, and when a period corresponding to the file creation interval of the type stored in the retention period management information file has elapsed from the time of creation of the latest file among all files of the type, Storage period management means for newly creating the file of the type.

【0008】本発明の第2のファイル保存期間管理装置
は、上記第1のファイル保存期間管理装置において、前
記ファイルの種類は、少なくとも1日おきに作成する第
1のファイルの種類と少なくとも1か月おきに作成する
第2のファイルの種類とを含み、前記ファイルの作成間
隔は、前記第1のファイルの種類に対しては、該種類の
ファイルを何日おきに作成するかを示し、一方、前記第
2のファイルの種類に対しては、該種類のファイルを何
か月おきに作成するかを示し、前記保存期間管理手段
は、前記保存期間管理情報ファイルから前記ファイルの
種類を読み出し、該種類が前記第1のファイルの種類で
あった場合は、該種類の全てのファイルの中の最新のフ
ァイルの作成日から前記保存期間管理情報ファイルに記
憶された該種類のファイルの作成間隔に相当する日数が
経過した時に、該種類のファイルを新規に作成し、一
方、該種類が前記第2のファイルの種類であった場合
は、該種類の全てのファイルの中の最新のファイルの作
成月から前記保存期間管理情報ファイルに記憶された該
種類のファイルの作成間隔に相当する月数が経過した時
に、該種類のファイルを新規に作成することを特徴とす
る。
According to a second file retention period management device of the present invention, in the first file retention period management device, the file type is at least one of the first file type created at least every other day. A second file type to be created every month, and the file creation interval indicates, for the first file type, how many days a file of the type is created, , For the type of the second file, indicates the number of months to create a file of the type, the storage period management means reads the file type from the storage period management information file, If the type is the type of the first file, the file of the type stored in the storage period management information file from the creation date of the latest file among all the files of the type. When the number of days corresponding to the file creation interval has elapsed, a new file of the type is newly created. On the other hand, when the type is the type of the second file, all the files of the type are When the number of months corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the month of creation of the latest file, the file of the type is newly created.

【0009】本発明の第3のファイル保存期間管理装置
は、ファイルの種類と、該種類のファイルの保存期間と
を記憶する保存期間管理情報ファイルと、この保存期間
管理情報ファイルから前記ファイルの種類を読み出し、
該種類の全てのファイルの中に作成時から前記保存期間
管理情報ファイルに記憶された該種類のファイルの保存
期間を経過したファイルがあれば、該ファイルを削除す
る保存期間管理手段とを備えている。
A third file retention period management device according to the present invention includes a retention period management information file for storing a type of a file and a retention period of the file of the type, and a file type based on the retention period management information file. And read
A storage period management unit that deletes, if all files of the type have passed the storage period of the file of the type stored in the storage period management information file from the time of creation, the file; I have.

【0010】本発明の第4のファイル保存期間管理装置
は、上記第3のファイル保存期間管理装置において、前
記ファイルの種類は、少なくとも1日おきに作成する第
1のファイルの種類と少なくとも1か月おきに作成する
第2のファイルの種類とを含み、前記ファイルの保存期
間は、前記第1のファイルの種類に対しては、該種類の
ファイルを何日間保存するか示し、一方、前記第2のフ
ァイルの種類に対しては、該種類のファイルを何か月間
保存するか示し、前記保存期間管理手段は、前記保存期
間管理情報ファイルから前記ファイルの種類を読み出
し、該種類が前記第1のファイルの種類であった場合
は、該種類の全てのファイルの中に作成日から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
保存日数を経過したファイルがあれば、該ファイルを削
除し、一方、該種類が前記第2のファイルの種類であっ
た場合は、該種類の全てのファイルの中に作成月から前
記保存期間管理情報ファイルに記憶された該種類のファ
イルの保存月数を経過したファイルがあれば、該ファイ
ルを削除することを特徴とする。
A fourth file storage period management device according to the present invention is the third file storage period management device, wherein the file type is at least one of the first file type created at least every other day. A second file type to be created every month, and the storage period of the file indicates, for the first file type, how many days the file of the type is stored; The storage period management unit reads out the type of the file from the storage period management information file, and indicates the type of the file as the first file type. If the file type is the file type of the file, the file in which the number of storage days of the file of the type stored in the storage period management information file has elapsed from the creation date in all the files of the type. If there is a file, the file is deleted. On the other hand, if the type is the type of the second file, the file is stored in the storage period management information file from the creation month in all the files of the type. If there is a file for which the number of months of storage of the type of file has passed, the file is deleted.

【0011】本発明の第5のファイル保存期間管理装置
は、ファイルの種類と、該種類のファイルの作成間隔
と、該種類のファイルの保存期間とを記憶する保存期間
管理情報ファイルと、この保存期間管理情報ファイルか
ら前記ファイルの種類を読み出し、該種類の全てのファ
イルの中の最新のファイルの作成時から前記保存期間管
理情報ファイルに記憶された該種類のファイルの作成間
隔に相当する期間が経過した時に、該種類のファイルを
新規に作成するとともに、該種類の全てのファイルの中
に作成時から前記保存期間管理情報ファイルに記憶され
た該種類のファイルの保存期間を経過したファイルがあ
れば、該ファイルを削除する保存期間管理手段とを備え
ている。
According to a fifth file retention period management device of the present invention, a retention period management information file for storing a type of a file, a creation interval of the file of the type, and a retention period of the file of the type, The type of the file is read from the period management information file, and a period corresponding to the creation interval of the file of the type stored in the storage period management information file from the time of creation of the latest file among all files of the type is read. When the time has elapsed, a new file of the type is created, and among all the files of the type, there is a file that has passed the storage period of the file of the type stored in the storage period management information file from the time of creation. Storage period management means for deleting the file.

【0012】本発明の第6のファイル保存期間管理装置
は、上記第5のファイル保存期間管理装置において、前
記ファイルの種類は、少なくとも1日おきに作成する第
1のファイルの種類と少なくとも1か月おきに作成する
第2のファイルの種類とを含み、前記ファイルの作成間
隔は、前記第1のファイルの種類に対しては、該種類の
ファイルを何日おきに作成するかを示し、一方、前記第
2のファイルの種類に対しては、該種類のファイルを何
か月おきに作成するかを示し、前記ファイルの保存期間
は、前記第1のファイルの種類に対しては、該種類のフ
ァイルを何日間保存するか示し、一方、前記第2のファ
イルの種類に対しては、該種類のファイルを何か月間保
存するか示し、前記保存期間管理手段は、前記保存期間
管理情報ファイルから前記ファイルの種類を読み出し、
該種類が前記第1のファイルの種類であった場合は、該
種類の全てのファイルの中の最新のファイルの作成日か
ら前記保存期間管理情報ファイルに記憶された該種類の
ファイルの作成間隔に相当する日数が経過した時に、該
種類のファイルを新規に作成するとともに、該種類の全
てのファイルの中に作成日から前記保存期間管理情報フ
ァイルに記憶された該種類のファイルの保存日数を経過
したファイルがあれば、該ファイルを削除し、一方、該
種類が前記第2のファイルの種類であった場合は、該種
類の全てのファイルの中の最新のファイルの作成月から
前記保存期間管理情報ファイルに記憶された該種類のフ
ァイルの作成間隔に相当する月数が経過した時に、該種
類のファイルを新規に作成するとともに、該種類の全て
のファイルの中に作成月から前記保存期間管理情報ファ
イルに記憶された該種類のファイルの保存月数を経過し
たファイルがあれば、該ファイルを削除することを特徴
とする。
A sixth file storage period management device according to the present invention is the fifth file storage period management device, wherein the file type is at least one of the first file type created at least every other day. A second file type to be created every month, and the file creation interval indicates, for the first file type, how many days a file of the type is created, For the type of the second file, it indicates how many months a file of the type is created, and the storage period of the file is the same as the type of the first file. Indicates the number of days to store the file of the second type, while for the type of the second file, indicates how many months the file of the type is to be stored. Read the type Luo said file,
If the type is the type of the first file, the date of creation of the file of the type stored in the retention period management information file from the creation date of the latest file among all the files of the type When the corresponding number of days has elapsed, a new file of the type is newly created, and the number of storage days of the file of the type stored in the storage period management information file has elapsed from the creation date in all the files of the type. If there is a file, the file is deleted. On the other hand, if the type is the second file type, the storage period management is performed from the creation date of the latest file among all files of the type. When the number of months corresponding to the creation interval of the file of the type stored in the information file has elapsed, a new file of the type is newly created, and all the files of the type are included in the file. If the retention period management information file elapsed files saved months of files stored seed such from Narutsuki, and deletes the file.

【0013】本発明の第1のファイル保存期間管理方法
は、ファイルの種類と、該種類のファイルの作成間隔と
を記憶する保存期間管理情報ファイルから、前記ファイ
ルの種類を読み出し、該種類の全てのファイルの中の最
新のファイルの作成時から前記保存期間管理情報ファイ
ルに記憶された該種類のファイルの作成間隔に相当する
期間が経過した時に、該種類のファイルを新規に作成す
る保存期間管理ステップを含んでいる。
According to a first file retention period management method of the present invention, the type of a file is read from a retention period management information file that stores a type of the file and a creation interval of the type of the file. When a period corresponding to the creation interval of the file of the type stored in the storage period management information file elapses from the time of creation of the latest file among the files, the storage period management for newly creating the file of the type Includes steps.

【0014】本発明の第2のファイル保存期間管理方法
は、上記第1のファイル保存期間管理方法において、前
記ファイルの種類は、少なくとも1日おきに作成する第
1のファイルの種類と少なくとも1か月おきに作成する
第2のファイルの種類とを含み、前記ファイルの作成間
隔は、前記第1のファイルの種類に対しては、該種類の
ファイルを何日おきに作成するかを示し、一方、前記第
2のファイルの種類に対しては、該種類のファイルを何
か月おきに作成するかを示し、前記保存期間管理ステッ
プで、前記保存期間管理情報ファイルから前記ファイル
の種類を読み出し、該種類が前記第1のファイルの種類
であった場合は、該種類の全てのファイルの中の最新の
ファイルの作成日から前記保存期間管理情報ファイルに
記憶された該種類のファイルの作成間隔に相当する日数
が経過した時に、該種類のファイルを新規に作成し、一
方、該種類が前記第2のファイルの種類であった場合
は、該種類の全てのファイルの中の最新のファイルの作
成月から前記保存期間管理情報ファイルに記憶された該
種類のファイルの作成間隔に相当する月数が経過した時
に、該種類のファイルを新規に作成することを特徴とす
る。
According to a second file retention period management method of the present invention, in the first file retention period management method, the file type is at least one of the first file type created at least every other day. A second file type to be created every month, and the file creation interval indicates, for the first file type, how many days a file of the type is created, , For the type of the second file, indicates the number of months to create a file of this type, in the storage period management step, read the file type from the storage period management information file, If the type is the type of the first file, the type stored in the retention period management information file from the creation date of the latest file among all files of the type When the number of days corresponding to the file creation interval has elapsed, a new file of the type is newly created. On the other hand, when the type is the type of the second file, all the files of the type When the number of months corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the month of creation of the latest file, the file of the type is newly created.

【0015】本発明の第3のファイル保存期間管理方法
は、ファイルの種類と、該種類のファイルの保存期間と
を記憶する保存期間管理情報ファイルから、前記ファイ
ルの種類を読み出し、該種類の全てのファイルの中に作
成時から前記保存期間管理情報ファイルに記憶された該
種類のファイルの保存期間を経過したファイルがあれ
ば、該ファイルを削除する保存期間管理ステップを含ん
でいる。
According to a third file retention period management method of the present invention, the type of a file is read from a retention period management information file that stores the type of the file and the retention period of the file of the type, and all the types of the file are read. If any of the files has passed the storage period of the file of the type stored in the storage period management information file from the time of creation, the storage period management step of deleting the file is included.

【0016】本発明の第4のファイル保存期間管理方法
は、上記第3のファイル保存期間管理方法において、前
記ファイルの種類は、少なくとも1日おきに作成する第
1のファイルの種類と少なくとも1か月おきに作成する
第2のファイルの種類とを含み、前記ファイルの保存期
間は、前記第1のファイルの種類に対しては、該種類の
ファイルを何日間保存するか示し、一方、前記第2のフ
ァイルの種類に対しては、該種類のファイルを何か月間
保存するか示し、前記保存期間管理ステップで、前記保
存期間管理情報ファイルから前記ファイルの種類を読み
出し、該種類が前記第1のファイルの種類であった場合
は、該種類の全てのファイルの中に作成日から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
保存日数を経過したファイルがあれば、該ファイルを削
除し、一方、該種類が前記第2のファイルの種類であっ
た場合は、該種類の全てのファイルの中に作成月から前
記保存期間管理情報ファイルに記憶された該種類のファ
イルの保存月数を経過したファイルがあれば、該ファイ
ルを削除することを特徴とする。
According to a fourth file retention period management method of the present invention, in the third file retention period management method, the file type is at least one of a first file type created at least every other day. A second file type to be created every month, and the storage period of the file indicates, for the first file type, how many days the file of the type is stored; For the type of file 2, the type of file is indicated for how many months to store the file. In the storing period management step, the type of the file is read from the storing period management information file. In the case of the file type, the number of storage days of the file of the type stored in the storage period management information file elapses from the creation date in all the files of the type. If there is a file, the file is deleted. On the other hand, if the type is the type of the second file, the file is stored in the storage period management information file from the creation month in all files of the type. If there is a file for which the number of months of storage of the type of file has passed, the file is deleted.

【0017】本発明の第5のファイル保存期間管理方法
は、ファイルの種類と、該種類のファイルの作成間隔
と、該種類のファイルの保存期間とを記憶する保存期間
管理情報ファイルから、前記ファイルの種類を読み出
し、該種類の全てのファイルの中の最新のファイルの作
成時から前記保存期間管理情報ファイルに記憶された該
種類のファイルの作成間隔に相当する期間が経過した時
に、該種類のファイルを新規に作成するとともに、該種
類の全てのファイルの中に作成時から前記保存期間管理
情報ファイルに記憶された該種類のファイルの保存期間
を経過したファイルがあれば、該ファイルを削除する保
存期間管理ステップを含んでいる。
According to a fifth file retention period management method of the present invention, the file type, the file creation interval of the type, and the retention period of the file of the type are stored from the retention period management information file. Is read out, and when a period corresponding to the file creation interval of the type stored in the storage period management information file has elapsed from the time of creation of the latest file among all the files of the type, A file is newly created, and if there is a file that has passed the storage period of the file of the type stored in the storage period management information file from the time of creation in all the files of the type, the file is deleted. It includes a retention period management step.

【0018】本発明の第6のファイル保存期間管理方法
は、上記第5のファイル保存期間管理方法において、前
記ファイルの種類は、少なくとも1日おきに作成する第
1のファイルの種類と少なくとも1か月おきに作成する
第2のファイルの種類とを含み、前記ファイルの作成間
隔は、前記第1のファイルの種類に対しては、該種類の
ファイルを何日おきに作成するかを示し、一方、前記第
2のファイルの種類に対しては、該種類のファイルを何
か月おきに作成するかを示し、前記ファイルの保存期間
は、前記第1のファイルの種類に対しては、該種類のフ
ァイルを何日間保存するか示し、一方、前記第2のファ
イルの種類に対しては、該種類のファイルを何か月間保
存するか示し、前記保存期間管理ステップで、前記保存
期間管理情報ファイルから前記ファイルの種類を読み出
し、該種類が前記第1のファイルの種類であった場合
は、該種類の全てのファイルの中の最新のファイルの作
成日から前記保存期間管理情報ファイルに記憶された該
種類のファイルの作成間隔に相当する日数が経過した時
に、該種類のファイルを新規に作成するとともに、該種
類の全てのファイルの中に作成日から前記保存期間管理
情報ファイルに記憶された該種類のファイルの保存日数
を経過したファイルがあれば、該ファイルを削除し、一
方、該種類が前記第2のファイルの種類であった場合
は、該種類の全てのファイルの中の最新のファイルの作
成月から前記保存期間管理情報ファイルに記憶された該
種類のファイルの作成間隔に相当する月数が経過した時
に、該種類のファイルを新規に作成するとともに、該種
類の全てのファイルの中に作成月から前記保存期間管理
情報ファイルに記憶された該種類のファイルの保存月数
を経過したファイルがあれば、該ファイルを削除するこ
とを特徴とする。
According to a sixth file retention period management method of the present invention, in the fifth file retention period management method, the file type is at least one of a first file type created at least every other day. A second file type to be created every month, and the file creation interval indicates, for the first file type, how many days a file of the type is created, For the type of the second file, it indicates how many months a file of the type is created, and the storage period of the file is the same as the type of the first file. Indicates the number of days to store the file of the second type, and for the type of the second file, indicates how many months the file of the type is to be stored. In the storage period management step, the storage period management information file is displayed. The file type is read from the file, and if the type is the first file type, the file type is stored in the storage period management information file from the creation date of the latest file among all the files of the type. When the number of days corresponding to the creation interval of the file of the type has elapsed, the file of the type is newly created and stored in the storage period management information file from the creation date in all the files of the type. If there is a file whose storage period of the type of file has passed, the file is deleted. On the other hand, if the type is the type of the second file, the latest file among all the files of the type is deleted. When the number of months corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the month of creation of the file, the file of the type is newly created. In both cases, if there is a file in which the number of storage months of the file of the type stored in the storage period management information file has elapsed from the creation month in all the files of the type, the file is deleted. .

【0019】本発明の第1の記憶媒体は、ファイルの種
類と、該種類のファイルの作成間隔とを記憶する保存期
間管理情報ファイルから、前記ファイルの種類を読み出
し、該種類の全てのファイルの中の最新のファイルの作
成時から前記保存期間管理情報ファイルに記憶された該
種類のファイルの作成間隔に相当する期間が経過した時
に、該種類のファイルを新規に作成する保存期間管理処
理をコンピュータに実行させるプログラムを記憶してい
る。
The first storage medium of the present invention reads the type of a file from a storage period management information file that stores the type of the file and the creation interval of the file of the type, and reads out all the files of the type. When a period corresponding to the creation interval of the file of the type stored in the storage period management information file elapses from the creation of the latest file in the storage period, a storage period management process of newly creating the file of the type is performed by the computer. Is stored.

【0020】本発明の第2の記憶媒体は、上記第1の記
憶媒体において、前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、前
記ファイルの作成間隔は、前記第1のファイルの種類に
対しては、該種類のファイルを何日おきに作成するかを
示し、一方、前記第2のファイルの種類に対しては、該
種類のファイルを何か月おきに作成するかを示し、前記
保存期間管理処理で、前記保存期間管理情報ファイルか
ら前記ファイルの種類を読み出し、該種類が前記第1の
ファイルの種類であった場合は、該種類の全てのファイ
ルの中の最新のファイルの作成日から前記保存期間管理
情報ファイルに記憶された該種類のファイルの作成間隔
に相当する日数が経過した時に、該種類のファイルを新
規に作成し、一方、該種類が前記第2のファイルの種類
であった場合は、該種類の全てのファイルの中の最新の
ファイルの作成月から前記保存期間管理情報ファイルに
記憶された該種類のファイルの作成間隔に相当する月数
が経過した時に、該種類のファイルを新規に作成するこ
とを特徴とする。
According to a second storage medium of the present invention, in the first storage medium, the type of the file is at least one.
First file type to create every other day and at least one
A second file type that is created every other month, and the file creation interval indicates, for the first file type, how many days a file of that type is created, On the other hand, for the type of the second file, it indicates how many months the file of the type is created, and in the storage period management processing, the file type is read from the storage period management information file. When the type is the type of the first file, the creation interval of the file of the type stored in the storage period management information file from the creation date of the latest file among all the files of the type When the number of days corresponding to has elapsed, a new file of the type is newly created. On the other hand, when the type is the type of the second file, the file of the latest file among all the files of the type is created. Creation month When months corresponding to create spacing et the storage period management information file to a file stored seed such has passed, characterized in that to create a file of that species such new.

【0021】本発明の第3の記憶媒体は、ファイルの種
類と、該種類のファイルの保存期間とを記憶する保存期
間管理情報ファイルから、前記ファイルの種類を読み出
し、該種類の全てのファイルの中に作成時から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
保存期間を経過したファイルがあれば、該ファイルを削
除する保存期間管理処理をコンピュータに実行させるプ
ログラムを記憶している。
The third storage medium of the present invention reads out the type of the file from the storage period management information file storing the type of the file and the storage period of the file of the type, and reads out all the files of the type. If a file has passed the storage period of the file of the type stored in the storage period management information file from the time of creation, a program for causing a computer to execute a storage period management process for deleting the file is stored. .

【0022】本発明の第4の記憶媒体は、上記第3の記
憶媒体において、前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、前
記ファイルの保存期間は、前記第1のファイルの種類に
対しては、該種類のファイルを何日間保存するか示し、
一方、前記第2のファイルの種類に対しては、該種類の
ファイルを何か月間保存するか示し、前記保存期間管理
処理で、前記保存期間管理情報ファイルから前記ファイ
ルの種類を読み出し、該種類が前記第1のファイルの種
類であった場合は、該種類の全てのファイルの中に作成
日から前記保存期間管理情報ファイルに記憶された該種
類のファイルの保存日数を経過したファイルがあれば、
該ファイルを削除し、一方、該種類が前記第2のファイ
ルの種類であった場合は、該種類の全てのファイルの中
に作成月から前記保存期間管理情報ファイルに記憶され
た該種類のファイルの保存月数を経過したファイルがあ
れば、該ファイルを削除することを特徴とする。
In a fourth storage medium according to the present invention, in the third storage medium, the type of the file is at least one.
First file type to create every other day and at least one
A second file type created every other month, and the storage period of the file indicates, for the first file type, how many days the file of the type is stored,
On the other hand, for the type of the second file, it indicates how many months the file of the type is to be stored, and in the storage period management process, the type of the file is read from the storage period management information file. Is the type of the first file, if there is a file that has passed the storage period of the file of the type stored in the storage period management information file from the creation date among all the files of the type, ,
If the file is deleted, and if the type is the type of the second file, the file of the type stored in the storage period management information file from the creation month is included in all the files of the type. If there is a file whose storage month has passed, the file is deleted.

【0023】本発明の第5の記憶媒体は、ファイルの種
類と、該種類のファイルの作成間隔と、該種類のファイ
ルの保存期間とを記憶する保存期間管理情報ファイルか
ら、前記ファイルの種類を読み出し、該種類の全てのフ
ァイルの中の最新のファイルの作成時から前記保存期間
管理情報ファイルに記憶された該種類のファイルの作成
間隔に相当する期間が経過した時に、該種類のファイル
を新規に作成するとともに、該種類の全てのファイルの
中に作成時から前記保存期間管理情報ファイルに記憶さ
れた該種類のファイルの保存期間を経過したファイルが
あれば、該ファイルを削除する保存期間管理処理をコン
ピュータに実行させるプログラムを記憶している。
According to a fifth storage medium of the present invention, a file type, a file creation interval of the type, and a storage period management information file for storing a storage period of the file of the type are used to determine the type of the file. When a period corresponding to the creation interval of the file of the type stored in the retention period management information file elapses from the time of reading and creating the latest file among all the files of the type, the file of the type is newly created. And if there is a file that has passed the storage period of the file of the type stored in the storage period management information file from the time of creation in all the files of the type, the storage period management for deleting the file A program for causing a computer to execute the processing is stored.

【0024】本発明の第6の記憶媒体は、上記第5の記
憶媒体において、前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、前
記ファイルの作成間隔は、前記第1のファイルの種類に
対しては、該種類のファイルを何日おきに作成するかを
示し、一方、前記第2のファイルの種類に対しては、該
種類のファイルを何か月おきに作成するかを示し、前記
ファイルの保存期間は、前記第1のファイルの種類に対
しては、該種類のファイルを何日間保存するか示し、一
方、前記第2のファイルの種類に対しては、該種類のフ
ァイルを何か月間保存するか示し、前記保存期間管理処
理で、前記保存期間管理情報ファイルから前記ファイル
の種類を読み出し、該種類が前記第1のファイルの種類
であった場合は、該種類の全てのファイルの中の最新の
ファイルの作成日から前記保存期間管理情報ファイルに
記憶された該種類のファイルの作成間隔に相当する日数
が経過した時に、該種類のファイルを新規に作成すると
ともに、該種類の全てのファイルの中に作成日から前記
保存期間管理情報ファイルに記憶された該種類のファイ
ルの保存日数を経過したファイルがあれば、該ファイル
を削除し、一方、該種類が前記第2のファイルの種類で
あった場合は、該種類の全てのファイルの中の最新のフ
ァイルの作成月から前記保存期間管理情報ファイルに記
憶された該種類のファイルの作成間隔に相当する月数が
経過した時に、該種類のファイルを新規に作成するとと
もに、該種類の全てのファイルの中に作成月から前記保
存期間管理情報ファイルに記憶された該種類のファイル
の保存月数を経過したファイルがあれば、該ファイルを
削除することを特徴とする。
In a sixth storage medium according to the present invention, in the fifth storage medium, the type of the file is at least one.
First file type to create every other day and at least one
A second file type that is created every other month, and the file creation interval indicates, for the first file type, how many days a file of that type is created, On the other hand, for the second file type, it indicates how many months a file of that type is created, and the storage period of the file is different for the first file type. Indicates how many days the file of the type is to be stored, while, for the type of the second file, indicates how many months the file of the type is to be stored; The type of the file is read from the file, and when the type is the type of the first file, the file is stored in the storage period management information file from the creation date of the latest file among all the files of the type. The kind When the number of days corresponding to the file creation interval has elapsed, a new file of the type is newly created, and a file of the type stored in the storage period management information file from the creation date in all files of the type. If there is a file whose storage period has passed, the file is deleted. On the other hand, if the type is the type of the second file, the creation date of the latest file among all the files of the type is deleted. When the number of months corresponding to the creation interval of the file of the type stored in the storage period management information file elapses, the file of the type is newly created and the creation month is included in all the files of the type. If there is a file that has been stored for more than the number of months of the type of file stored in the storage period management information file, the file is deleted.

【0025】[0025]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0026】図1を参照すると、本発明の実施の形態
は、本発明の動作の中心となる保存期間管理手段1と、
この保存期間管理手段1が処理を行う際に参照する保存
期間管理情報ファイル2と、現在時刻の提供等の処理を
行うシステムプロセス3とからなる。なお、保存期間管
理手段1は、データ処理装置および磁気ディスク等の記
憶媒体上に記憶された保存期間管理プログラムによって
構成される。
Referring to FIG. 1, an embodiment of the present invention comprises a storage period management means 1 which is the main operation of the present invention,
The storage period management means 1 comprises a storage period management information file 2 referred to when performing processing, and a system process 3 for performing processing such as provision of the current time. The storage period management means 1 is configured by a storage period management program stored on a data processing device and a storage medium such as a magnetic disk.

【0027】また、この保存期間管理情報ファイル2に
は、ファイルの新規作成および削除の可否をチェックす
るために必要な情報が格納されている。このチェックに
必要な情報とは、例えば、図2に示したような項目であ
るが、各項目の意味は以下の通りである。
The storage period management information file 2 stores information necessary for checking whether a new file can be created or deleted. The information necessary for this check is, for example, the items shown in FIG. 2, and the meaning of each item is as follows.

【0028】・ファイル名:ファイル名全体またはその
一部を示す。
File name: Indicates the entire file name or a part thereof.

【0029】 例 ”DATAFILE” → 実ファイル名は”DATAFILE” ”DATAF−”→実ファイル名は”DATAF−960901” ”DATAF−960902” ”DATAF−960903”等。Example "DATAFILE" → real file name is "DATAFILE" "DATAF-" → real file name is "DATAF-960901" "DATAF-960902" "DATAF-960903" etc.

【0030】・ファイル区分:ファイル名に日付を入れ
るかどうかを指定する。
File classification: Specifies whether to insert a date in the file name.

【0031】 例 日付を入れない → NO 日を入れる → DAY 月を入れる → MONTH ・作成区分:同じ働きをするファイルを新規作成するか
どうかを指定する。
Example: No date is entered → NO Enter date → DAY Enter month → MONTH ・ Creation category: Specifies whether to create a new file having the same function.

【0032】 例 新規作成しない → NO 日単位に新規作成する → DAY 月単位に新規作成する → MONTH ・作成単位:新規作成の間隔を指定する。「作成区分」
と組み合わせて意味をなす。
Example: Do not create a new file → NO Create a new file every day → DAY Create a new file every month → MONTH ・ Create unit: Specify the interval of new creation. "Create Class"
Makes sense in combination with

【0033】 例 ”1” → 「作成区分」が”DAY”の場合、1日毎 「作成区分」が”MONTH”の場合、1ヶ月毎 ・保存区分:ファイルの保存期間の単位を指定する。Example “1” → every day if “Creation Type” is “DAY” Every one month if “Creation Type” is “MONTH” ・ Storage type: Specifies the unit of the file storage period.

【0034】 例 日単位に指定する → DAY 月単位に指定する → MONTH ・保存期間:保存期間を指定する。「保存区分」と組み
合わせて意味をなす。
Example Specify on a daily basis → DAY Specify on a monthly basis → MONTH ・ Storage period: Specify the storage period. Makes sense in combination with "preservation category".

【0035】 例 ”1” → 「保存区分」が”DAY”の場合、1日間 「保存区分」が”MONTH”の場合、1ヶ月間 次に、本発明の実施の形態の動作について図面を参照し
ながら詳細に説明する。
Example “1” → one day when “preservation category” is “DAY” one month when “preservation category” is “MONTH” Next, refer to the drawings for the operation of the embodiment of the present invention. This will be described in detail.

【0036】図3は、本実施の形態の動作を示す流れ図
である。
FIG. 3 is a flowchart showing the operation of the present embodiment.

【0037】保存期間管理手段1は起動されると、ま
ず、システムプロセス3から現在の日付を取得する(ス
テップS1)。
When the storage period management means 1 is started, first, it obtains the current date from the system process 3 (step S1).

【0038】次に、保存期間管理手段1は、保存期間管
理情報ファイル2を参照し、1レコード分の情報を読み
出す(ステップS2)。具体的には、「ファイル名」、
「ファイル区分」、「作成区分」、「作成単位」、「保
存区分」および「保存期間」を読み出す。そして、「フ
ァイル名」が示す名称を含むファイル名を持つ全てのフ
ァイルのうちの最新のものを検索し、その作成日付を取
得する(ステップS3)。さらに、この最新ファイルの
作成日付と当該ファイルの「作成区分」および「作成単
位」より、このファイルの「新規作成日付」を計算する
とともに(ステップS4)、現在日付と「保存区分」お
よび「保存期間」より「削除日付」を計算する(ステッ
プS5)。
Next, the storage period management means 1 refers to the storage period management information file 2 and reads out information of one record (step S2). Specifically, "file name"
The “file classification”, “creation classification”, “creation unit”, “storage classification”, and “storage period” are read. Then, the latest file is retrieved from all files having the file name including the name indicated by the "file name", and the creation date is obtained (step S3). Further, the “new creation date” of this file is calculated from the creation date of this latest file and the “creation category” and “creation unit” of the file (step S4), and the current date, “save category” and “save” are saved. The “deletion date” is calculated from the “period” (step S5).

【0039】ここで、保存期間管理手段1は、計算した
「新規作成日付」と現在の日付とが一致しているかどう
かを判断し(ステップS6)、一致している場合は、新
規ファイルを作成する(ステップS7)。この時、「フ
ァイル区分」にファイルのタイプが指定されている場合
は、その指定に応じた名称で新規ファイルを作成する。
また、「新規作成日付」が現在日付よりも先の場合、あ
るいは「作成区分」に新規ファイルを作成する必要がな
い旨の指定がある場合は、何もせずにステップS8へ進
む。
Here, the storage period management means 1 determines whether the calculated "new creation date" matches the current date (step S6), and if so, creates a new file. (Step S7). At this time, if a file type is specified in the “file classification”, a new file is created with a name corresponding to the specification.
If the "new creation date" is earlier than the current date, or if the "creation category" indicates that there is no need to create a new file, the process proceeds to step S8 without doing anything.

【0040】さらに、保存期間管理手段1は、「ファイ
ル名」が示す名称を含むファイル名を持つ全てのファイ
ルのうちで計算した「削除日付」よりも以前に作成した
ものを検索する(ステップS8)。そして、該当するフ
ァイルがあるかどうかを判断し(ステップS9)、該当
するファイルがあれば、そのファイルを削除する(ステ
ップS10)。
Further, the storage period management means 1 searches all files having the file name including the name indicated by the "file name" for the file created before the calculated "deletion date" (step S8). ). Then, it is determined whether there is a corresponding file (step S9), and if there is a corresponding file, the file is deleted (step S10).

【0041】その後、保存期間管理手段1は、保存期間
管理情報ファイル2内に未処理のレコードがあるかどう
かを判定し(ステップS11)、ステップ2〜ステップ
10の処理を保存期間管理情報ファイル2内のレコード
数分繰り返す。
Thereafter, the retention period management means 1 determines whether or not there is an unprocessed record in the retention period management information file 2 (step S11), and executes the processing of steps 2 to 10 in the retention period management information file 2. Repeat for the number of records in.

【0042】以上により、本発明の実施の形態の動作が
終了する。
With the above, the operation of the embodiment of the present invention ends.

【0043】本実施の形態は、保存期間管理情報ファイ
ルに「ファイル名」、「ファイル区分」、「保存区分」
および「保存期間」の項目を設けたことにより、ファイ
ルの種類に応じた適切な保存期間を設定することができ
るという効果を有している。
In the present embodiment, the "file name", "file classification", "storage classification"
By providing the item of “storage period”, there is an effect that an appropriate storage period can be set according to the type of file.

【0044】また、保存期間管理情報ファイルに「ファ
イル名」、「ファイル区分」、「作成区分」および「作
成単位」の項目を設けたことにより、削除対象のファイ
ルと同じ種類のファイルを新規に作成することができる
という効果を有している。
Further, by providing items of “file name”, “file classification”, “creation classification” and “creation unit” in the retention period management information file, a file of the same type as the file to be deleted is newly added. It has the effect that it can be created.

【0045】[0045]

【実施例】次に、本発明の実施の形態の一実施例につい
て図面を参照しながら詳細に説明する。なお、図4に
は、本実施例における保存期間管理情報ファイル2の内
容を、図5には、本実施例における磁気ディスク4内の
ファイルの一覧を示している。また、保存期間管理手段
1の起動は1日1回とする。
Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 4 shows the contents of the storage period management information file 2 in this embodiment, and FIG. 5 shows a list of files in the magnetic disk 4 in this embodiment. The activation of the storage period management means 1 is set to once a day.

【0046】まず、現在日付が1996年8月26日で
あるとして処理を説明する。
First, the processing will be described assuming that the current date is August 26, 1996.

【0047】保存期間管理手段1は起動されると、ま
ず、システムプロセス3から現在の日付(1996年8
月26日)を取得する(ステップS1)。
When the storage period management means 1 is started, first, the system process 3 sends the current date (August 1996).
26) (step S1).

【0048】次に、保存期間管理手段1は、保存期間管
理情報ファイル2の第1レコードを読み出す(ステップ
S2)。そして、「ファイル名」に設定された”DAI
LY”を含む全てのファイルの中で最新のもののを検索
し、その作成日付を取得する(ステップS3)。この場
合、最新ファイルは”DAILY−960825”であ
り、その作成日付は1996年8月25日である。
Next, the storage period management means 1 reads the first record of the storage period management information file 2 (step S2). Then, the "DAI" set in the "file name"
The latest file is retrieved from all the files including "LY" and the creation date is acquired (step S3). In this case, the latest file is "DAIL-960825" and the creation date is August 1996. 25 days.

【0049】そして、この最新ファイルの作成日付(1
996年8月25日)と”DAILY”に対応する「作
成区分」(DAY)および「作成単位」(1)より、こ
のファイルの「新規作成日付」を計算する(ステップS
4)。この場合、「新規作成日付」は、最新ファイルの
作成日付の1日後である1996年8月26日となる。
Then, the creation date of this latest file (1
The “new creation date” of this file is calculated from “creation classification” (DAY) and “creation unit” (1) corresponding to “DAILY” on August 25, 996 (step S).
4). In this case, the “new creation date” is August 26, 1996, which is one day after the creation date of the latest file.

【0050】また、現在日付(1996年8月26日)
と”DAILY”に対応する「保存区分」(DAY)お
よび「保存期間」(7)より「削除日付」を計算する
(ステップS5)。この場合、「削除日付」は、現在日
付の7日前である1996年8月19日となる。
The current date (August 26, 1996)
Then, the “deletion date” is calculated from the “storage category” (DAY) and “storage period” (7) corresponding to “DAILY” (step S5). In this case, the “deletion date” is August 19, 1996, seven days before the current date.

【0051】ここで、保存期間管理手段1は、計算した
「新規作成日付」と現在の日付とが一致しているかどう
かを判断する(ステップS6)。この場合、「新規作成
日付」と現在日付はともに1996年8月26で一致し
ているので、新規ファイルを作成する(ステップS
7)。この時、「ファイル区分」に”DAY”が設定さ
れているので、”DAILY−960826”というフ
ァイル名で新規ファイルを作成する。
Here, the storage period management means 1 determines whether the calculated "new creation date" matches the current date (step S6). In this case, since both the “new creation date” and the current date match on August 26, 1996, a new file is created (step S
7). At this time, since "DAY" is set in the "file classification", a new file is created with a file name "DAILY-960826".

【0052】さらに、保存期間管理手段1は、「ファイ
ル名」に設定された”DAILY”を含むファイルの中
で計算した「削除日付」(1996年8月19日)より
も以前に作成したものを検索する(ステップS8)。こ
の場合、”DAILY−960819”がある(ステッ
プS9)ので、このファイルを削除する(ステップS1
0)。
Further, the storage period management means 1 generates the file created before the "deletion date" (August 19, 1996) calculated in the file including "DAILY" set in the "file name". (Step S8). In this case, there is "DAILY-960819" (step S9), so this file is deleted (step S1).
0).

【0053】以上で、保存期間管理手段1の”DAIL
Y”に関する処理を終了する。
As described above, the "DAIL"
The processing for Y "is ended.

【0054】続いて、保存期間管理手段1は、保存期間
管理情報ファイル2内に未処理のレコードがあるかどう
かを判断し(ステップS11)、この場合、保存期間管
理情報ファイル2の第2レコードは未処理であるのでこ
れを読み出す(ステップS2)。
Subsequently, the retention period management means 1 determines whether there is an unprocessed record in the retention period management information file 2 (step S11). In this case, the second record of the retention period management information file 2 Are not processed, and are read out (step S2).

【0055】保存期間管理手段1は、「ファイル名」に
設定された”MONTHLY”を含む全てのファイルの
中で最新のもののを検索し、その作成日付を取得する
(ステップS3)。この場合、最新ファイルは”MON
THLY−9607”であり、その作成日付は1996
年8月1日である。
The storage period management means 1 searches for the latest one among all the files including "MONTHLY" set in the "file name", and acquires the creation date (step S3). In this case, the latest file is "MON
THLY-9607 "and its creation date is 1996.
August 1 of the year.

【0056】そして、この最新ファイルの作成日付(1
996年8月1日)と”MONTHLY”に対応する
「作成区分」(MONTH)および「作成単位」(1)
より、このファイルの「新規作成日付」を計算する(ス
テップS4)。この場合、「新規作成日付」は、最新フ
ァイルの作成日付の1か月後である1996年9月1日
となる。
Then, the creation date of this latest file (1
August 1, 996) and "MONTHLY", "Creation category" (MONTH) and "Creation unit" (1)
Then, the “new creation date” of this file is calculated (step S4). In this case, the “new creation date” is September 1, 1996, which is one month after the creation date of the latest file.

【0057】また、現在日付(1996年8月26日)
と”MONTHLY”に対応する「保存区分」(MON
TH)および「保存期間」(12)より「削除日付」を
計算する(ステップS5)。この場合、「削除日付」
は、現在日付の12か月前である1995年8月26日
となる。
The current date (August 26, 1996)
And “MONTHLY” corresponding to “storage category” (MON
TH) and the “retention period” (12), the “deletion date” is calculated (step S5). In this case, "deletion date"
Is August 26, 1995, which is 12 months before the current date.

【0058】ここで、保存期間管理手段1は、計算した
「新規作成日付」と現在の日付とが一致しているかどう
かを判断する(ステップS6)。この場合、「新規作成
日付」は1996年9月1日であり現在日付は1996
年8月26であり両者は一致しないので、新規ファイル
は作成しない(ステップS7)。
Here, the storage period management means 1 determines whether or not the calculated "new creation date" matches the current date (step S6). In this case, the “new creation date” is September 1, 1996, and the current date is 1996.
Since the date is August 26 and the two do not match, a new file is not created (step S7).

【0059】さらに、保存期間管理手段1は、「ファイ
ル名」に設定された”MONTHLY”を含むファイル
の中で計算した「削除日付」(1995年8月26日)
よりも以前に作成したものを検索する(ステップS
8)。この場合、該当するファイルがない(ステップS
9)ので、何もせずに処理を終了する。
Further, the storage period management means 1 calculates the “deletion date” in the file containing “MONTHLY” set in the “file name” (August 26, 1995)
(Step S)
8). In this case, there is no corresponding file (step S
9) Therefore, the process ends without doing anything.

【0060】以上で、保存期間管理手段1の”MONT
HLY”に関する処理を終了する。
As described above, the "MONT"
HLY "is terminated.

【0061】続いて、保存期間管理手段1は、保存期間
管理情報ファイル2内に未処理のレコードがあるかどう
かを判断する(ステップS11)が、この場合、保存期
間管理情報ファイル2内に未処理のレコードはないの
で、処理を終了する。
Subsequently, the retention period management means 1 determines whether or not there is an unprocessed record in the retention period management information file 2 (step S11). Since there is no record of the process, the process ends.

【0062】以上説明した処理により、磁気ディスク4
内のファイルは図6に示したようになり、現在日付が1
996年8月26日である場合の処理を終了する。
By the above-described processing, the magnetic disk 4
The files inside are as shown in FIG. 6 and the current date is 1
The processing in the case of August 26, 996 is ended.

【0063】次に、現在日付が1996年9月1日にな
った場合の処理を説明する。
Next, a description will be given of the processing when the current date is September 1, 1996.

【0064】保存期間管理手段1は起動されると、ま
ず、システムプロセス3から現在の日付(1996年9
月1日)を取得する(ステップS1)。
When the storage period management means 1 is activated, first, the system process 3 sends the current date (September 1996).
1) is acquired (step S1).

【0065】保存期間管理手段1は、保存期間管理情報
ファイル2の第1レコードを読み出す(ステップS2)
が、第1レコードである”DAILY”に対する処理
は、現在日付が1996年8月26日である場合と同様
であるので、説明を省略する。
The storage period management means 1 reads the first record of the storage period management information file 2 (step S2).
However, the processing for “DAILY”, which is the first record, is the same as when the current date is August 26, 1996, and a description thereof will be omitted.

【0066】保存期間管理手段1は、上記の”DAIL
Y”に対する処理を終了した後、保存期間管理情報ファ
イル2の第2レコードを読み出す(ステップS2)。
また、保存期間管理手段1は、「ファイル名」に設定さ
れた”MONTHLY”を含む全てのファイルの中で最
新のもののを検索し、その作成日付を取得する(ステッ
プS3)。この場合、最新ファイルは”MONTHLY
−9607”であり、その作成日付は1996年8月1
日である。
The storage period management means 1 uses the above “DAIL
After finishing the process for Y ", the second record of the retention period management information file 2 is read (step S2).
Further, the storage period management unit 1 searches for the latest file among all the files including “MONTHLY” set in the “file name”, and acquires the creation date (step S3). In this case, the latest file is "MONTHLY
-9607 "and its creation date is August 1, 1996
Day.

【0067】そして、この最新ファイルの作成日付(1
996年8月1日)と”MONTHLY”に対応する
「作成区分」(MONTH)および「作成単位」(1)
より、このファイルの「新規作成日付」を計算する(ス
テップS4)。この場合、「新規作成日付」は、最新フ
ァイルの作成日付の1か月後である1996年9月1日
となる。
Then, the creation date of this latest file (1
August 1, 996) and "MONTHLY", "Creation category" (MONTH) and "Creation unit" (1)
Then, the “new creation date” of this file is calculated (step S4). In this case, the “new creation date” is September 1, 1996, which is one month after the creation date of the latest file.

【0068】また、現在日付(1996年9月1日)
と”MONTHLY”に対応する「保存区分」(MON
TH)および「保存期間」(12)より「削除日付」を
計算する(ステップS5)。この場合、「削除日付」
は、現在日付の12か月前である1995年9月1日と
なる。
The current date (September 1, 1996)
And “MONTHLY” corresponding to “storage category” (MON
TH) and the “retention period” (12), the “deletion date” is calculated (step S5). In this case, "deletion date"
Is September 1, 1995, which is 12 months before the current date.

【0069】ここで、保存期間管理手段1は、計算した
「新規作成日付」と現在の日付とが一致しているかどう
かを判断する(ステップS6)。この場合、「新規作成
日付」と現在日付はともに1996年9月1日で一致し
ているので、新規ファイルを作成する(ステップS
7)。この時、「ファイル区分」に”MONTHLY”
が設定されているので、”MONTHLY−9608”
というファイル名で新規ファイルを作成する。
Here, the storage period management means 1 determines whether the calculated "new creation date" matches the current date (step S6). In this case, since both the “new creation date” and the current date match on September 1, 1996, a new file is created (step S
7). At this time, “MONTHLY” is set in the “file classification”.
Is set, "MONTHLY-9608"
Create a new file with the file name

【0070】さらに、保存期間管理手段1は、「ファイ
ル名」に設定された”MONTHLY”を含むファイル
の中で計算した「削除日付」(1995年9月1日)よ
りも以前に作成したものを検索する(ステップS8)。
この場合、”MONTHLY−9508”がある(ステ
ップS9)ので、このファイルを削除する(ステップS
10)。
Further, the storage period management means 1 creates a file created before the “deletion date” (September 1, 1995) calculated in the file containing “MONTHLY” set in the “file name”. (Step S8).
In this case, since there is “MONTHLY-9508” (step S9), this file is deleted (step S9).
10).

【0071】以上で、保存期間管理手段1の”MONT
HLY”に関する処理を終了する。
As described above, the "MONT"
HLY "is terminated.

【0072】続いて、保存期間管理手段1は、保存期間
管理情報ファイル2内に未処理のレコードがあるかどう
かを判断する(ステップS11)が、この場合、保存期
間管理情報ファイル2内に未処理レコードはないので、
処理を終了する。
Subsequently, the retention period management means 1 determines whether or not there is an unprocessed record in the retention period management information file 2 (step S11). Since there is no processing record,
The process ends.

【0073】以上説明した処理により、磁気ディスク4
内のファイルは図7に示したようになり、現在日付が1
996年9月1日である場合の処理を終了する。
By the processing described above, the magnetic disk 4
The files in the box are as shown in FIG.
The processing in the case of September 1, 996 is ended.

【0074】[0074]

【発明の効果】以上説明したように、本発明には、ファ
イルの種類に応じた適切な保存期間を設定することがで
きるという効果がある。
As described above, the present invention has an effect that an appropriate storage period can be set according to the type of a file.

【0075】また、本発明には、削除対象のファイルと
同じ種類のファイルを新規に作成することができるとい
う効果がある。
The present invention has another effect that a file of the same type as the file to be deleted can be newly created.

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

【図1】図1は本発明の実施の形態の全体構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing an overall configuration of an embodiment of the present invention.

【図2】図2は本発明の実施の形態における保存期間管
理情報ファイル2に設定する項目を示す図である。
FIG. 2 is a diagram showing items set in a retention period management information file 2 according to the embodiment of the present invention.

【図3】図3は本発明の実施の形態の動作を示す流れ図
である。
FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.

【図4】図4は本発明の一実施例における保存期間管理
情報ファイル2の内容を示す図である。
FIG. 4 is a diagram showing the contents of a retention period management information file 2 in one embodiment of the present invention.

【図5】図5は本発明の一実施例における磁気ディスク
4上のファイルの一覧を示す図である。
FIG. 5 is a diagram showing a list of files on a magnetic disk 4 in one embodiment of the present invention.

【図6】図6は本発明の一実施例における磁気ディスク
4上のファイルの一覧を示す図である。
FIG. 6 is a diagram showing a list of files on a magnetic disk 4 according to an embodiment of the present invention.

【図7】図7は本発明の一実施例における磁気ディスク
4上のファイルの一覧を示す図である。
FIG. 7 is a diagram showing a list of files on the magnetic disk 4 in one embodiment of the present invention.

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

1 保存期間管理手段 2 保存期間管理情報ファイル 3 システムプロセス 1 Retention period management means 2 Retention period management information file 3 System process

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 ファイルの種類と、該種類のファイルの
作成間隔とを記憶する保存期間管理情報ファイルと、 この保存期間管理情報ファイルから前記ファイルの種類
を読み出し、該種類の全てのファイルの中の最新のファ
イルの作成時から前記保存期間管理情報ファイルに記憶
された該種類のファイルの作成間隔に相当する期間が経
過した時に、該種類のファイルを新規に作成する保存期
間管理手段とを備えたことを特徴とするファイル保存期
間管理装置。
1. A storage period management information file for storing a type of a file and a creation interval of a file of the type, and reading out the type of the file from the storage period management information file. Storage period management means for newly creating a file of the type when a period corresponding to the creation interval of the type of file stored in the storage period management information file has elapsed since the creation of the latest file. A file retention period management device, characterized in that:
【請求項2】 前記ファイルの種類は、少なくとも1日
おきに作成する第1のファイルの種類と少なくとも1か
月おきに作成する第2のファイルの種類とを含み、 前記ファイルの作成間隔は、前記第1のファイルの種類
に対しては、該種類のファイルを何日おきに作成するか
を示し、一方、前記第2のファイルの種類に対しては、
該種類のファイルを何か月おきに作成するかを示し、 前記保存期間管理手段は、前記保存期間管理情報ファイ
ルから前記ファイルの種類を読み出し、該種類が前記第
1のファイルの種類であった場合は、該種類の全てのフ
ァイルの中の最新のファイルの作成日から前記保存期間
管理情報ファイルに記憶された該種類のファイルの作成
間隔に相当する日数が経過した時に、該種類のファイル
を新規に作成し、一方、該種類が前記第2のファイルの
種類であった場合は、該種類の全てのファイルの中の最
新のファイルの作成月から前記保存期間管理情報ファイ
ルに記憶された該種類のファイルの作成間隔に相当する
月数が経過した時に、該種類のファイルを新規に作成す
ることを特徴とする請求項1に記載のファイル保存期間
管理装置。
2. The file type includes a first file type created at least every other day and a second file type created at least every one month. For the first file type, it indicates how many days a file of that type is created, while for the second file type,
Indicates the number of months that the type of file is created, and the storage period management unit reads out the type of the file from the storage period management information file, and the type is the type of the first file. In this case, when the number of days corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the creation date of the latest file among all the files of the type, the file of the type is If the file is newly created and the type is the type of the second file, the file stored in the storage period management information file from the creation month of the latest file among all files of the type is created. 2. The file storage period management device according to claim 1, wherein when the number of months corresponding to the creation interval of the type of file has elapsed, the type of file is newly created.
【請求項3】 ファイルの種類と、該種類のファイルの
保存期間とを記憶する保存期間管理情報ファイルと、 この保存期間管理情報ファイルから前記ファイルの種類
を読み出し、該種類の全てのファイルの中に作成時から
前記保存期間管理情報ファイルに記憶された該種類のフ
ァイルの保存期間を経過したファイルがあれば、該ファ
イルを削除する保存期間管理手段とを備えたことを特徴
とするファイル保存期間管理装置。
3. A storage period management information file for storing a type of a file and a storage period of the file of the type, reading out the type of the file from the storage period management information file, A storage period management unit that deletes a file that has passed the storage period of the file of the type stored in the storage period management information file from the time of creation. Management device.
【請求項4】 前記ファイルの種類は、少なくとも1日
おきに作成する第1のファイルの種類と少なくとも1か
月おきに作成する第2のファイルの種類とを含み、 前記ファイルの保存期間は、前記第1のファイルの種類
に対しては、該種類のファイルを何日間保存するか示
し、一方、前記第2のファイルの種類に対しては、該種
類のファイルを何か月間保存するか示し、 前記保存期間管理手段は、前記保存期間管理情報ファイ
ルから前記ファイルの種類を読み出し、該種類が前記第
1のファイルの種類であった場合は、該種類の全てのフ
ァイルの中に作成日から前記保存期間管理情報ファイル
に記憶された該種類のファイルの保存日数を経過したフ
ァイルがあれば、該ファイルを削除し、一方、該種類が
前記第2のファイルの種類であった場合は、該種類の全
てのファイルの中に作成月から前記保存期間管理情報フ
ァイルに記憶された該種類のファイルの保存月数を経過
したファイルがあれば、該ファイルを削除することを特
徴とする請求項3に記載のファイル保存期間管理装置。
4. The file type includes a first file type created at least every other day and a second file type created at least every one month, and a storage period of the file is: For the first file type, it indicates how many days the file of that type is stored, while for the second file type, it indicates how many months the file of this type is stored. The storage period management means reads out the type of the file from the storage period management information file, and if the type is the first file type, includes all files of the type from the date of creation. If there is a file older than the storage days of the file of the type stored in the storage period management information file, the file is deleted, while if the type is the type of the second file, Is characterized in that, if all files of the type have a number of months of storage of the file of the type stored in the storage period management information file since the creation month, the file is deleted. The file storage period management device according to claim 3.
【請求項5】 ファイルの種類と、該種類のファイルの
作成間隔と、該種類のファイルの保存期間とを記憶する
保存期間管理情報ファイルと、 この保存期間管理情報ファイルから前記ファイルの種類
を読み出し、該種類の全てのファイルの中の最新のファ
イルの作成時から前記保存期間管理情報ファイルに記憶
された該種類のファイルの作成間隔に相当する期間が経
過した時に、該種類のファイルを新規に作成するととも
に、該種類の全てのファイルの中に作成時から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
保存期間を経過したファイルがあれば、該ファイルを削
除する保存期間管理手段とを備えたことを特徴とするフ
ァイル保存期間管理装置。
5. A storage period management information file for storing a type of a file, a creation interval of the file of the type, and a storage period of the file of the type, and reading the type of the file from the storage period management information file. When a period corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed since the creation of the latest file among all the files of the type, the file of the type is newly created. A storage period management unit that deletes the file, if any of the files of the type have passed the storage period of the file of the type stored in the storage period management information file from the time of creation, among all the files of the type; And a file storage period management device.
【請求項6】 前記ファイルの種類は、少なくとも1日
おきに作成する第1のファイルの種類と少なくとも1か
月おきに作成する第2のファイルの種類とを含み、 前記ファイルの作成間隔は、前記第1のファイルの種類
に対しては、該種類のファイルを何日おきに作成するか
を示し、一方、前記第2のファイルの種類に対しては、
該種類のファイルを何か月おきに作成するかを示し、 前記ファイルの保存期間は、前記第1のファイルの種類
に対しては、該種類のファイルを何日間保存するか示
し、一方、前記第2のファイルの種類に対しては、該種
類のファイルを何か月間保存するか示し、 前記保存期間管理手段は、前記保存期間管理情報ファイ
ルから前記ファイルの種類を読み出し、該種類が前記第
1のファイルの種類であった場合は、該種類の全てのフ
ァイルの中の最新のファイルの作成日から前記保存期間
管理情報ファイルに記憶された該種類のファイルの作成
間隔に相当する日数が経過した時に、該種類のファイル
を新規に作成するとともに、該種類の全てのファイルの
中に作成日から前記保存期間管理情報ファイルに記憶さ
れた該種類のファイルの保存日数を経過したファイルが
あれば、該ファイルを削除し、一方、該種類が前記第2
のファイルの種類であった場合は、該種類の全てのファ
イルの中の最新のファイルの作成月から前記保存期間管
理情報ファイルに記憶された該種類のファイルの作成間
隔に相当する月数が経過した時に、該種類のファイルを
新規に作成するとともに、該種類の全てのファイルの中
に作成月から前記保存期間管理情報ファイルに記憶され
た該種類のファイルの保存月数を経過したファイルがあ
れば、該ファイルを削除することを特徴とする請求項5
に記載のファイル保存期間管理装置。
6. The file type includes a first file type created at least every other day and a second file type created at least every one month. For the first file type, it indicates how many days a file of that type is created, while for the second file type,
Indicates how many months the file of the type is created, and the retention period of the file indicates, for the first file type, how many days the file of the type is stored, For the type of the second file, it indicates how many months the file of the type is stored. The storage period management unit reads the type of the file from the storage period management information file, and the type is the second type. If the file type is one, the number of days corresponding to the creation interval of the file of the type stored in the retention period management information file has elapsed since the creation date of the latest file among all the files of the type. Then, the file of the type is newly created, and the number of days of storage of the file of the type stored in the storage period management information file from the creation date in all the files of the type If there is elapsed file, delete the file, whereas, the species such that the second
In the case of the file type, the number of months corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed since the creation date of the latest file among all the files of the type. Then, a new file of the type is newly created, and among all the files of the type, there is a file in which the number of months of storage of the file of the type stored in the storage period management information file has elapsed from the creation month. 6. The method according to claim 5, wherein the file is deleted.
The file retention period management device according to 1.
【請求項7】 ファイルの種類と、該種類のファイルの
作成間隔とを記憶する保存期間管理情報ファイルから、
前記ファイルの種類を読み出し、該種類の全てのファイ
ルの中の最新のファイルの作成時から前記保存期間管理
情報ファイルに記憶された該種類のファイルの作成間隔
に相当する期間が経過した時に、該種類のファイルを新
規に作成する保存期間管理ステップを含むことを特徴と
するファイル保存期間管理方法。
7. A storage period management information file that stores a type of a file and a creation interval of the file of the type,
The file type is read out, and when a period corresponding to the file creation interval of the type stored in the storage period management information file has elapsed from the time of creation of the latest file among all files of the type, A file storage period management method, comprising a storage period management step of newly creating a type of file.
【請求項8】 前記ファイルの種類は、少なくとも1日
おきに作成する第1のファイルの種類と少なくとも1か
月おきに作成する第2のファイルの種類とを含み、 前記ファイルの作成間隔は、前記第1のファイルの種類
に対しては、該種類のファイルを何日おきに作成するか
を示し、一方、前記第2のファイルの種類に対しては、
該種類のファイルを何か月おきに作成するかを示し、 前記保存期間管理ステップで、前記保存期間管理情報フ
ァイルから前記ファイルの種類を読み出し、該種類が前
記第1のファイルの種類であった場合は、該種類の全て
のファイルの中の最新のファイルの作成日から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
作成間隔に相当する日数が経過した時に、該種類のファ
イルを新規に作成し、一方、該種類が前記第2のファイ
ルの種類であった場合は、該種類の全てのファイルの中
の最新のファイルの作成月から前記保存期間管理情報フ
ァイルに記憶された該種類のファイルの作成間隔に相当
する月数が経過した時に、該種類のファイルを新規に作
成することを特徴とする請求項7に記載のファイル保存
期間管理方法。
8. The file type includes a first file type created at least every other day and a second file type created at least every one month. For the first file type, it indicates how many days a file of that type is created, while for the second file type,
Indicates the number of months in which the type of file is created; and in the storage period management step, the type of the file is read from the storage period management information file, and the type is the type of the first file. In this case, when the number of days corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the creation date of the latest file among all the files of the type, the file of the type is If the file is newly created and the type is the type of the second file, the file stored in the storage period management information file from the creation month of the latest file among all files of the type is created. 8. The file storage period management method according to claim 7, wherein when the number of months corresponding to the creation interval of the type of file has elapsed, the file of the type is newly created.
【請求項9】 ファイルの種類と、該種類のファイルの
保存期間とを記憶する保存期間管理情報ファイルから、
前記ファイルの種類を読み出し、該種類の全てのファイ
ルの中に作成時から前記保存期間管理情報ファイルに記
憶された該種類のファイルの保存期間を経過したファイ
ルがあれば、該ファイルを削除する保存期間管理ステッ
プを含むことを特徴とするファイル保存期間管理方法。
9. A storage period management information file storing a type of a file and a storage period of the file of the type,
The type of the file is read, and if there is a file that has passed the storage period of the file of the type stored in the storage period management information file from the time of creation in all the files of the type, the file is deleted. A file storage period management method comprising a period management step.
【請求項10】 前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、 前記ファイルの保存期間は、前記第1のファイルの種類
に対しては、該種類のファイルを何日間保存するか示
し、一方、前記第2のファイルの種類に対しては、該種
類のファイルを何か月間保存するか示し、 前記保存期間管理ステップで、前記保存期間管理情報フ
ァイルから前記ファイルの種類を読み出し、該種類が前
記第1のファイルの種類であった場合は、該種類の全て
のファイルの中に作成日から前記保存期間管理情報ファ
イルに記憶された該種類のファイルの保存日数を経過し
たファイルがあれば、該ファイルを削除し、一方、該種
類が前記第2のファイルの種類であった場合は、該種類
の全てのファイルの中に作成月から前記保存期間管理情
報ファイルに記憶された該種類のファイルの保存月数を
経過したファイルがあれば、該ファイルを削除すること
を特徴とする請求項9に記載のファイル保存期間管理方
法。
10. The file type is at least 1
First file type to create every other day and at least one
A second file type to be created every other month, and the file storage period indicates, for the first file type, how many days the file of the type is stored, For the type of the second file, it indicates how many months the file of the type is stored. In the storage period management step, the type of the file is read from the storage period management information file, and If the file type is one of the file types, if any of the files of the type exceeds the storage days of the file of the type stored in the storage period management information file from the creation date, the file If the type is the type of the second file, the type of the type stored in the storage period management information file from the creation month is included in all the files of the type. If there is elapsed file save months of Airu, file age management method according to claim 9, characterized in that deletes the file.
【請求項11】 ファイルの種類と、該種類のファイル
の作成間隔と、該種類のファイルの保存期間とを記憶す
る保存期間管理情報ファイルから、前記ファイルの種類
を読み出し、該種類の全てのファイルの中の最新のファ
イルの作成時から前記保存期間管理情報ファイルに記憶
された該種類のファイルの作成間隔に相当する期間が経
過した時に、該種類のファイルを新規に作成するととも
に、該種類の全てのファイルの中に作成時から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
保存期間を経過したファイルがあれば、該ファイルを削
除する保存期間管理ステップを含むことを特徴とするフ
ァイル保存期間管理方法。
11. The file type is read from a retention period management information file that stores a file type, a file creation interval of the type, and a retention period of the file of the type, and all files of the type are read. When a period corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the creation of the latest file in the file, the file of the type is newly created, and If all the files have a retention period of the file of the type stored in the retention period management information file from the time of creation, a retention period management step of deleting the file is included. File retention period management method.
【請求項12】 前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、 前記ファイルの作成間隔は、前記第1のファイルの種類
に対しては、該種類のファイルを何日おきに作成するか
を示し、一方、前記第2のファイルの種類に対しては、
該種類のファイルを何か月おきに作成するかを示し、 前記ファイルの保存期間は、前記第1のファイルの種類
に対しては、該種類のファイルを何日間保存するか示
し、一方、前記第2のファイルの種類に対しては、該種
類のファイルを何か月間保存するか示し、 前記保存期間管理ステップで、前記保存期間管理情報フ
ァイルから前記ファイルの種類を読み出し、該種類が前
記第1のファイルの種類であった場合は、該種類の全て
のファイルの中の最新のファイルの作成日から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
作成間隔に相当する日数が経過した時に、該種類のファ
イルを新規に作成するとともに、該種類の全てのファイ
ルの中に作成日から前記保存期間管理情報ファイルに記
憶された該種類のファイルの保存日数を経過したファイ
ルがあれば、該ファイルを削除し、一方、該種類が前記
第2のファイルの種類であった場合は、該種類の全ての
ファイルの中の最新のファイルの作成月から前記保存期
間管理情報ファイルに記憶された該種類のファイルの作
成間隔に相当する月数が経過した時に、該種類のファイ
ルを新規に作成するとともに、該種類の全てのファイル
の中に作成月から前記保存期間管理情報ファイルに記憶
された該種類のファイルの保存月数を経過したファイル
があれば、該ファイルを削除することを特徴とする請求
項11に記載のファイル保存期間管理方法。
12. The file type is at least one.
First file type to create every other day and at least one
A second file type created every other month, wherein the file creation interval indicates, for the first file type, how many days a file of that type is created, On the other hand, for the second file type,
Indicates how many months the file of the type is created, and the retention period of the file indicates, for the first file type, how many days the file of the type is stored, For the type of the second file, it indicates how many months the file of the type is stored. In the storage period management step, the type of the file is read from the storage period management information file, and If the file type is one, the number of days corresponding to the creation interval of the file of the type stored in the retention period management information file has elapsed since the creation date of the latest file among all the files of the type. Then, a new file of the type is newly created, and the files of the type stored in the storage period management information file from the date of creation are stored in all the files of the type. If the number of files exceeds the number, the file is deleted.If the type is the type of the second file, the file is deleted from the creation month of the latest file among all the files of the type. When the number of months corresponding to the creation interval of the file of the type stored in the retention period management information file has elapsed, the file of the type is newly created, and the file is created in all the files of the type from the creation month. 12. The file storage period management method according to claim 11, wherein if there is a file stored in the storage period management information file for which the storage period of the file of the type has elapsed, the file is deleted.
【請求項13】 ファイルの種類と、該種類のファイル
の作成間隔とを記憶する保存期間管理情報ファイルか
ら、前記ファイルの種類を読み出し、該種類の全てのフ
ァイルの中の最新のファイルの作成時から前記保存期間
管理情報ファイルに記憶された該種類のファイルの作成
間隔に相当する期間が経過した時に、該種類のファイル
を新規に作成する保存期間管理処理をコンピュータに実
行させるプログラムを記憶したことを特徴とする記憶媒
体。
13. The file type is read from a retention period management information file that stores a file type and a file creation interval of the type, and the latest file among all files of the type is created. A program for causing a computer to execute a storage period management process for newly creating a file of the type when a period corresponding to a creation interval of the file of the type stored in the storage period management information file has elapsed from A storage medium characterized by the above-mentioned.
【請求項14】 前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、 前記ファイルの作成間隔は、前記第1のファイルの種類
に対しては、該種類のファイルを何日おきに作成するか
を示し、一方、前記第2のファイルの種類に対しては、
該種類のファイルを何か月おきに作成するかを示し、 前記保存期間管理処理で、前記保存期間管理情報ファイ
ルから前記ファイルの種類を読み出し、該種類が前記第
1のファイルの種類であった場合は、該種類の全てのフ
ァイルの中の最新のファイルの作成日から前記保存期間
管理情報ファイルに記憶された該種類のファイルの作成
間隔に相当する日数が経過した時に、該種類のファイル
を新規に作成し、一方、該種類が前記第2のファイルの
種類であった場合は、該種類の全てのファイルの中の最
新のファイルの作成月から前記保存期間管理情報ファイ
ルに記憶された該種類のファイルの作成間隔に相当する
月数が経過した時に、該種類のファイルを新規に作成す
ることを特徴とする請求項13に記載の記憶媒体。
14. The file type is at least one
First file type to create every other day and at least one
A second file type created every other month, wherein the file creation interval indicates, for the first file type, how many days a file of that type is created, On the other hand, for the second file type,
Indicates the number of months in which the type of file is created; and in the storage period management process, the type of the file is read from the storage period management information file, and the type is the type of the first file. In this case, when the number of days corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the creation date of the latest file among all the files of the type, the file of the type is If the file is newly created and the type is the type of the second file, the file stored in the storage period management information file from the creation month of the latest file among all files of the type is created. 14. The storage medium according to claim 13, wherein when the number of months corresponding to the creation interval of the type of file elapses, the file of the type is newly created.
【請求項15】 ファイルの種類と、該種類のファイル
の保存期間とを記憶する保存期間管理情報ファイルか
ら、前記ファイルの種類を読み出し、該種類の全てのフ
ァイルの中に作成時から前記保存期間管理情報ファイル
に記憶された該種類のファイルの保存期間を経過したフ
ァイルがあれば、該ファイルを削除する保存期間管理処
理をコンピュータに実行させるプログラムを記憶したこ
とを特徴とする記憶媒体。
15. The file type is read from a retention period management information file that stores the type of file and the retention period of the file of the type, and the file is read from all files of that type from the time of creation. A storage medium storing a program for causing a computer to execute a storage period management process for deleting a file, if any, for which the storage period of the file of the type stored in the management information file has passed.
【請求項16】 前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、 前記ファイルの保存期間は、前記第1のファイルの種類
に対しては、該種類のファイルを何日間保存するか示
し、一方、前記第2のファイルの種類に対しては、該種
類のファイルを何か月間保存するか示し、 前記保存期間管理処理で、前記保存期間管理情報ファイ
ルから前記ファイルの種類を読み出し、該種類が前記第
1のファイルの種類であった場合は、該種類の全てのフ
ァイルの中に作成日から前記保存期間管理情報ファイル
に記憶された該種類のファイルの保存日数を経過したフ
ァイルがあれば、該ファイルを削除し、一方、該種類が
前記第2のファイルの種類であった場合は、該種類の全
てのファイルの中に作成月から前記保存期間管理情報フ
ァイルに記憶された該種類のファイルの保存月数を経過
したファイルがあれば、該ファイルを削除することを特
徴とする請求項15に記載のファイル保存期間管理方
法。
16. The file type is at least one
First file type to create every other day and at least one
A second file type to be created every other month, and the file storage period indicates, for the first file type, how many days the file of the type is stored, For the type of the second file, it indicates how many months the file of the type is stored. In the storage period management process, the type of the file is read from the storage period management information file, and If the file type is one of the file types, if any of the files of the type exceeds the storage days of the file of the type stored in the storage period management information file from the creation date, the file If the type is the type of the second file, the file of the type stored in the storage period management information file from the creation month is included in all the files of the type. If the file has elapsed save months Le, file age management method according to claim 15, characterized in that deletes the file.
【請求項17】 ファイルの種類と、該種類のファイル
の作成間隔と、該種類のファイルの保存期間とを記憶す
る保存期間管理情報ファイルから、前記ファイルの種類
を読み出し、該種類の全てのファイルの中の最新のファ
イルの作成時から前記保存期間管理情報ファイルに記憶
された該種類のファイルの作成間隔に相当する期間が経
過した時に、該種類のファイルを新規に作成するととも
に、該種類の全てのファイルの中に作成時から前記保存
期間管理情報ファイルに記憶された該種類のファイルの
保存期間を経過したファイルがあれば、該ファイルを削
除する保存期間管理処理をコンピュータに実行させるプ
ログラムを記憶したことを特徴とする記憶媒体。
17. The file type is read from a storage period management information file that stores a file type, a creation interval of the file of the type, and a storage period of the file of the type, and all files of the type are read. When a period corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed from the creation of the latest file in the file, the file of the type is newly created, and If there is a file that has passed the storage period of the file of the type stored in the storage period management information file from the time of creation in all the files, a program that causes the computer to execute a storage period management process of deleting the file is executed. A storage medium characterized by being stored.
【請求項18】 前記ファイルの種類は、少なくとも1
日おきに作成する第1のファイルの種類と少なくとも1
か月おきに作成する第2のファイルの種類とを含み、 前記ファイルの作成間隔は、前記第1のファイルの種類
に対しては、該種類のファイルを何日おきに作成するか
を示し、一方、前記第2のファイルの種類に対しては、
該種類のファイルを何か月おきに作成するかを示し、 前記ファイルの保存期間は、前記第1のファイルの種類
に対しては、該種類のファイルを何日間保存するか示
し、一方、前記第2のファイルの種類に対しては、該種
類のファイルを何か月間保存するか示し、 前記保存期間管理処理で、前記保存期間管理情報ファイ
ルから前記ファイルの種類を読み出し、該種類が前記第
1のファイルの種類であった場合は、該種類の全てのフ
ァイルの中の最新のファイルの作成日から前記保存期間
管理情報ファイルに記憶された該種類のファイルの作成
間隔に相当する日数が経過した時に、該種類のファイル
を新規に作成するとともに、該種類の全てのファイルの
中に作成日から前記保存期間管理情報ファイルに記憶さ
れた該種類のファイルの保存日数を経過したファイルが
あれば、該ファイルを削除し、一方、該種類が前記第2
のファイルの種類であった場合は、該種類の全てのファ
イルの中の最新のファイルの作成月から前記保存期間管
理情報ファイルに記憶された該種類のファイルの作成間
隔に相当する月数が経過した時に、該種類のファイルを
新規に作成するとともに、該種類の全てのファイルの中
に作成月から前記保存期間管理情報ファイルに記憶され
た該種類のファイルの保存月数を経過したファイルがあ
れば、該ファイルを削除することを特徴とする請求項1
7に記載の記憶媒体。
18. The file type is at least one
First file type to create every other day and at least one
A second file type created every other month, wherein the file creation interval indicates, for the first file type, how many days a file of that type is created, On the other hand, for the second file type,
Indicates how many months the file of the type is created, and the retention period of the file indicates, for the first file type, how many days the file of the type is stored, For the type of the second file, it indicates how many months the file of the type is stored. In the storage period management process, the type of the file is read from the storage period management information file, and If the file type is one, the number of days corresponding to the creation interval of the file of the type stored in the retention period management information file has elapsed since the creation date of the latest file among all the files of the type. Then, the file of the type is newly created, and the number of days of storage of the file of the type stored in the storage period management information file from the creation date in all the files of the type If there is elapsed file, delete the file, whereas, the species such that the second
In the case of the file type, the number of months corresponding to the creation interval of the file of the type stored in the storage period management information file has elapsed since the creation date of the latest file among all the files of the type. Then, a new file of the type is newly created, and among all the files of the type, there is a file in which the number of months of storage of the file of the type stored in the storage period management information file has elapsed from the creation month. 2. The method according to claim 1, wherein said file is deleted.
8. The storage medium according to 7.
JP8275924A 1996-10-18 1996-10-18 Device and method for managing file retention period and storage medium for storing file retention period managing program Pending JPH10124351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8275924A JPH10124351A (en) 1996-10-18 1996-10-18 Device and method for managing file retention period and storage medium for storing file retention period managing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8275924A JPH10124351A (en) 1996-10-18 1996-10-18 Device and method for managing file retention period and storage medium for storing file retention period managing program

Publications (1)

Publication Number Publication Date
JPH10124351A true JPH10124351A (en) 1998-05-15

Family

ID=17562329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8275924A Pending JPH10124351A (en) 1996-10-18 1996-10-18 Device and method for managing file retention period and storage medium for storing file retention period managing program

Country Status (1)

Country Link
JP (1) JPH10124351A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2409547A (en) * 2003-12-09 2005-06-29 Emc Corp Data Retention in Storage Systems
CN1324481C (en) * 2003-07-31 2007-07-04 华为技术有限公司 Data aging method for network processor
JP2012168815A (en) * 2011-02-15 2012-09-06 Fujitsu Ltd Management device, management program and management method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324481C (en) * 2003-07-31 2007-07-04 华为技术有限公司 Data aging method for network processor
GB2409547A (en) * 2003-12-09 2005-06-29 Emc Corp Data Retention in Storage Systems
US9075851B2 (en) 2003-12-09 2015-07-07 Emc Corporation Method and apparatus for data retention in a storage system
JP2012168815A (en) * 2011-02-15 2012-09-06 Fujitsu Ltd Management device, management program and management method
US8935503B2 (en) 2011-02-15 2015-01-13 Fujitsu Limited Management device, storage medium, and management method

Similar Documents

Publication Publication Date Title
US7392267B2 (en) Annotation validity using partial checksums
US8156092B2 (en) Document de-duplication and modification detection
JP2993528B2 (en) Text management and restoration method
US6055546A (en) Method and apparatus for preserving non-current information that can be overwritten in a computer file
US8452788B2 (en) Information retrieval system, registration apparatus for indexes for information retrieval, information retrieval method and program
KR920001374A (en) Method and device for managing status identifier for effective recovery
JP2002540530A (en) Automatic file pruning
JP2000259456A (en) File revision management system
JPH10510642A (en) Computer data storage
US8112398B1 (en) Methods, systems, and computer program products for selectively marking and retrieving data from an event log file
US6178428B1 (en) Method and apparatus for accessing a file that can be concurrently written
JPH10124351A (en) Device and method for managing file retention period and storage medium for storing file retention period managing program
JP2000048024A (en) Structured document processor
JP2925042B2 (en) Information link generation method
JP3331184B2 (en) Method, apparatus and recording medium for creating revocation certificate list in authentication system
WO2019205293A1 (en) Service permission management method and apparatus, and computer device and storage medium
US7257591B2 (en) Method of referencing data via edge definition
JPH09198283A (en) File deleting method on recording medium volume
JP2870308B2 (en) Database management system
TWI809704B (en) Devices and methods for safe storage of media containing personal data and erasure of stored personal data
JP2822869B2 (en) Library file management device
JPH11195060A (en) Procedure management system
JPH08235044A (en) Journal retrieval systm
JPH06259293A (en) Useless document batch deleting device
JPH0566976A (en) Master file managing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991207