JPH07152689A - Temporary file management device - Google Patents

Temporary file management device

Info

Publication number
JPH07152689A
JPH07152689A JP5298770A JP29877093A JPH07152689A JP H07152689 A JPH07152689 A JP H07152689A JP 5298770 A JP5298770 A JP 5298770A JP 29877093 A JP29877093 A JP 29877093A JP H07152689 A JPH07152689 A JP H07152689A
Authority
JP
Japan
Prior art keywords
file
temporary file
temporary
directory
information
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.)
Withdrawn
Application number
JP5298770A
Other languages
Japanese (ja)
Inventor
Ryoichi Shibano
良一 芝野
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.)
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Original Assignee
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe 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 KOBE NIPPON DENKI SOFTWARE KK, NEC Software Kobe Ltd filed Critical KOBE NIPPON DENKI SOFTWARE KK
Priority to JP5298770A priority Critical patent/JPH07152689A/en
Publication of JPH07152689A publication Critical patent/JPH07152689A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a waste of a file system due to forgotten erasure, etc., by automatically deleting a file and a directory, which are created on the file system where a temporary file attribute is set, by the system. CONSTITUTION:This device has a temporary file attribute setting means 1 which sets attributes, a file/directory creation means 2 which outputs temporary file information, a temporary file information recording means 3, and an execution state monitor device 4. The execution state monitor means 4 monitors the execution state of a job and a session at a request source and reports execution end information at the end. A temporary file deleting means 5 receives the execution end information, retrieves a temporary file and a directory created with the indication of the request source in the temporary file information recorded in the temporary file information recording means 3, and deletes the found file and directory. Therefore, even if a user forgets to erase them, they are automatically deleted at the end and the effective utilization of the file system is never impeded.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の階層構造ファイ
ルシステムを使用する計算機システムにおける一時ファ
イル管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a temporary file management device in a computer system that uses a plurality of hierarchical file systems.

【0002】[0002]

【従来の技術】従来のこの種の一時ファイル管理装置に
おいては、一時的に必要なファイルまたはディレクトリ
は、不要時に作成者が自分で削除する必要がある。
2. Description of the Related Art In a conventional temporary file management device of this type, a creator needs to delete files or directories that are temporarily necessary by himself / herself when unnecessary.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の一時フ
ァイル管理装置では、作成者が削除を忘れるとファイル
システム上に不要なファイルやディレクトリが残ること
になり、ファイルシステムの有効利用が妨げられること
があるという問題点がある。
In the conventional temporary file management device described above, if the creator forgets to delete the file, unnecessary files and directories will remain in the file system, which hinders effective use of the file system. There is a problem that there is.

【0004】[0004]

【課題を解決するための手段】本発明の装置は、複数の
階層構造ファイルシステムを使用する計算機システムに
おける一時ファイル管理装置において、任意のファイル
システムに一時ファイル用ファイルシステムとしての属
性を設定する一時ファイル属性設定手段と、指定された
ファイルシステム上にファイルまたはディレクトリを作
成するとともに、そのファイルシステムに前記属性が設
定されている場合は作成したファイルまたはディレクト
リと作成要求元を含む一時ファイル情報を出力するファ
イル/ディレクトリ作成手段と、前記一時ファイル情報
を受け取り記憶する一時ファイル情報記録手段と、前記
要求元のジョブやセッションの実行状態を監視し終了時
に実行終了情報を通知する実行状態監視手段と、前記実
行終了情報を受け取り、その要求元の指示で作成した一
時ファイルおよびディレクトリを上記一時ファイル情報
記録手段に記録されている一時ファイル情報から検索
し、見つかったファイルおよびディレクトリを削除する
一時ファイル削除手段を有することを特徴とする一時フ
ァイル管理装置。特徴とする。
The device of the present invention is a temporary file management device in a computer system using a plurality of hierarchical file systems, and temporarily sets an attribute as a file system for temporary files in an arbitrary file system. A file attribute setting means and a file or directory are created on the specified file system, and if the file system has the above attributes, temporary file information including the created file or directory and the request source for creation is output. File / directory creating means, temporary file information recording means for receiving and storing the temporary file information, execution state monitoring means for monitoring the execution state of the request source job or session, and notifying the execution end information at the end Receiving the execution end information The temporary file deleting unit searches the temporary file information and the directory created by the instruction of the requester from the temporary file information recorded in the temporary file information recording unit, and deletes the found file and directory. Temporary file management device. Characterize.

【0005】[0005]

【作用】本発明では、一時ファイル属性が設定されたフ
ァイルシステム上に作成されるファイルおよびディレク
トリは、利用者が削除を忘れても作成要求元の実行終了
時にシステムにより自動的に削除されるため、ファイル
システム上に残ることはなく、ファイルシステムの有効
利用が妨げられることを防ぐ効果が期待できる。
In the present invention, the files and directories created on the file system with the temporary file attribute set are automatically deleted by the system at the end of execution of the request source even if the user forgets to delete them. , It does not remain on the file system, and the effect of preventing the effective use of the file system from being hindered can be expected.

【0006】[0006]

【実施例】本発明の一実施例のブロック図である図1を
参照すると、本実施例は任意のファイルシステムに一時
ファイル用ファイルシステムとしての属性を設定する一
時ファイル属性設定手段1と、指定されたファイルシス
テム上にファイルまたはディレクトリを作成するととも
に、そのファイルシステムに上記属性が設定されている
場合は作成したファイルまたはディレクトリと作成要求
元を含む一時ファイル情報を出力するファイル/ディレ
クトリ作成手段2と、上記一時ファイル情報を受け取り
記憶する一時ファイル情報記録手段3と、上記要求元の
ジョブやセッションの実行状態を監視し終了時に実行終
了情報を通知する実行状態監視手段4と、上記実行終了
情報を受け取り、その要求元の指示で作成した一時ファ
イルおよびディレクトリを上記一時ファイル情報記録手
段3に記録されている一時ファイル情報から検索し、見
つかったファイルおよびディレクトリを削除する一時フ
ァイル削除手段5から構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, which is a block diagram of an embodiment of the present invention, this embodiment is a temporary file attribute setting means 1 for setting an attribute as a file system for temporary files in an arbitrary file system, A file / directory creating unit 2 which creates a file or directory on the created file system and outputs temporary file information including the created file or directory and the creation request source when the above attribute is set on the file system. A temporary file information recording means 3 for receiving and storing the temporary file information; an execution state monitoring means 4 for monitoring the execution state of the request source job or session and notifying execution end information at the end; and the execution end information. The temporary file and directory created by the requestor's instructions. The birds were retrieved from the temporary file information recorded in the temporary file information recording unit 3, and a temporary file deletion unit 5 deletes the files and directories found.

【0007】図2は、図1における一時ファイル属性設
定手段1によって設定された属性の状況例を示す。名前
はファイルシステムのマウントされたルートファイルシ
ステム上のパス名であり、属性の欄にtmpと示された
ファイルシステムが一時ファイル属性の設定されたもの
である。
FIG. 2 shows an example of the status of the attributes set by the temporary file attribute setting means 1 in FIG. The name is a path name on the mounted root file system of the file system, and the file system indicated by tmp in the attribute column has the temporary file attribute set.

【0008】図3は、図1における一時ファイル情報記
録手段3に記録されている一時ファイル情報例を示す。
一時ファイル情報はファイルの作成要求元毎に分けて記
録される。
FIG. 3 shows an example of temporary file information recorded in the temporary file information recording means 3 in FIG.
The temporary file information is recorded separately for each file creation request source.

【0009】また、図4は、一時ファイル属性設定要求
例、図5は、要求元がバッチジョブの場合のファイルお
よびディレクトリ作成要求例をそれぞれ示す。
FIG. 4 shows an example of a temporary file attribute setting request, and FIG. 5 shows an example of a file and directory creation request when the request source is a batch job.

【0010】以下、図1を中心に本実施例の動作を説明
する。
The operation of this embodiment will be described below with reference to FIG.

【0011】図4に示したような一時ファイル属性設定
要求が入力されると、一時ファイル属性設定手段1は、
指定されたファイルシステムをルートファイルシステム
にマウントするとともに、図2に示したように、そのフ
ァイルシステムに一時ファイル属性を設定する。
When a temporary file attribute setting request as shown in FIG. 4 is input, the temporary file attribute setting means 1
The specified file system is mounted on the root file system and the temporary file attribute is set on the file system as shown in FIG.

【0012】次に、図5に示したようなバッチジョブが
実行されると、図5上の(1),(2),(3)の各命
令によるファイルおよびディレクトリの作成がファイル
/ディレクトリ作成手段2に指示される。
Next, when a batch job as shown in FIG. 5 is executed, files and directories are created by the commands (1), (2) and (3) in FIG. Instructed by means 2.

【0013】ファイル/ディレクトリ作成手段2は、指
示されたファイルまたはディレクトリを作成するととも
に、その作成位置が一時ファイル属性のファイルシステ
ム上の場合は、作成したファイルのパス名と作成を要求
したバッチジョブのIDを、一時ファイル情報記録手段
3に通知する。
The file / directory creating means 2 creates the instructed file or directory, and when the created position is on the file system having the temporary file attribute, the path name of the created file and the batch job requesting the creation. Is notified to the temporary file information recording means 3.

【0014】図5の例の場合、(1)は一時ファイル属
性のファイルシステム上にはファイルを作成しないた
め、一時ファイル情報記録手段3には特になにも通知さ
れない。しかし、(2)と(3)はともに図4の一時フ
ァイル属性が設定されたファイルシステム上にディレク
トリとファイルをそれぞれ作成するので、一時ファイル
情報記録手段3にバッチジョブID=100とそのパス
名(/tmp/tmp_fsl/work_dirおよ
び/tmp/tmp_fsl/work_dir/tm
p_file)が通知される。
In the case of the example of FIG. 5, since the file is not created on the file system having the temporary file attribute in (1), nothing is notified to the temporary file information recording means 3. However, both (2) and (3) create a directory and a file respectively on the file system in which the temporary file attribute of FIG. 4 is set, so the batch job ID = 100 and its path name are stored in the temporary file information recording means 3. (/ Tmp / tmp_fsl / work_dir and / tmp / tmp_fsl / work_dir / tm
p_file) is notified.

【0015】一時ファイル情報記録手段3は、上記通知
を受け取り、図3に示したように各作成要求元別に作成
されたファイルまたはディレクトリのパス名を一時ファ
イル情報として記録する。
The temporary file information recording means 3 receives the above notification and records the path name of the file or directory created for each request source as the temporary file information as shown in FIG.

【0016】一方、実行状態監視手段4は、各バッチジ
ョブやセッション等一時ファイルの作成要求元の実行状
況を監視し、実行が終了したバッチジョブがあると、そ
のIDを一時ファイル削除手段5に通知する。
On the other hand, the execution status monitoring means 4 monitors the execution status of each batch job, session, or other source of a temporary file creation request, and if there is a batch job that has finished executing, its ID is sent to the temporary file deletion means 5. Notice.

【0017】一時ファイル削除手段5は、上記実行状態
監視手段4からの通知を受け取ると、一時ファイル情報
記録手段3に記録されている一時ファイル情報を検索
し、実行が終了したバッチジョブが作成した一時ファイ
ルを調べる。一時ファイルが存在する場合は、そのファ
イルおよびディレクトリを削除し、一時ファイル情報記
録手段3に削除した旨通知する。
Upon receiving the notification from the execution status monitoring means 4, the temporary file deleting means 5 searches the temporary file information recorded in the temporary file information recording means 3 and creates a batch job whose execution has been completed. Examine temporary files. If the temporary file exists, the file and the directory are deleted, and the temporary file information recording means 3 is notified of the deletion.

【0018】一時ファイル削除手段5からの削除完了通
知を受け取った一時ファイル情報記録手段3は、保持し
ている一時ファイル情報から削除されたファイルおよび
ディレクトリに関する情報を削除する。
The temporary file information recording means 3 that has received the deletion completion notice from the temporary file deletion means 5 deletes the information regarding the deleted files and directories from the held temporary file information.

【0019】[0019]

【発明の効果】以上説明したように、本発明は、一般の
利用者が特に意識しなくても、管理者が一時ファイル属
性を設定したファイルシステム上に作成したファイルお
よびディレクトリはシステムにより自動的に削除される
ため、消し忘れ等によるファイルシステムの無駄を防ぐ
という効果がある。
As described above, according to the present invention, files and directories created on a file system in which an administrator has set a temporary file attribute are automatically generated by the system, even if a general user is not particularly aware. Since it is deleted, the file system is effectively prevented from being wasted due to forgetting to erase it.

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

【図1】本発明の一実施例のシステム構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a system configuration of an embodiment of the present invention.

【図2】本発明における一時ファイル属性の設定状況例
を示す図である。
FIG. 2 is a diagram showing an example of a setting situation of temporary file attributes according to the present invention.

【図3】本発明における一時ファイル情報記録手段内に
記録される一時ファイル情報例を示す図である。
FIG. 3 is a diagram showing an example of temporary file information recorded in a temporary file information recording means in the present invention.

【図4】本発明における一時ファイル属性設定要求例を
示す図である。
FIG. 4 is a diagram showing an example of a temporary file attribute setting request according to the present invention.

【図5】本発明における一時ファイル/ディレクトリを
作成するバッチジョブ例を示す図である。
FIG. 5 is a diagram showing an example of a batch job for creating a temporary file / directory in the present invention.

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

1 一時ファイル属性設定手段 2 ファイル/ディレクトリ作成手段 3 一時ファイル情報記録手段 4 実行状態監視手段 5 一時ファイル削除手段 1 temporary file attribute setting means 2 file / directory creating means 3 temporary file information recording means 4 execution status monitoring means 5 temporary file deleting means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の階層構造ファイルシステムを使用
する計算機システムにおける一時ファイル管理装置にお
いて、 任意のファイルシステムに一時ファイル用ファイルシス
テムとしての属性を設定する一時ファイル属性設定手段
と、 指定されたファイルシステム上にファイルまたはディレ
クトリを作成するとともに、そのファイルシステムに前
記属性が設定されている場合は作成したファイルまたは
ディレクトリと作成要求元を含む一時ファイル情報を出
力するファイル/ディレクトリ作成手段と、 前記一時ファイル情報を受け取り記憶する一時ファイル
情報記録手段と、 前記要求元のジョブやセッションの実行状態を監視し終
了時に実行終了情報を通知する実行状態監視手段と、 前記実行終了情報を受け取り、その要求元の指示で作成
した一時ファイルおよびディレクトリを上記一時ファイ
ル情報記録手段に記録されている一時ファイル情報から
検索し、見つかったファイルおよびディレクトリを削除
する一時ファイル削除手段を有することを特徴とする一
時ファイル管理装置。
1. A temporary file management device in a computer system using a plurality of hierarchical file systems, a temporary file attribute setting means for setting an attribute as a file system for a temporary file in an arbitrary file system, and a specified file. A file / directory creating means for creating a file or directory on the system and outputting temporary file information including the created file or directory and the request source for creation when the file system has the attribute set therein; Temporary file information recording means for receiving and storing file information, execution status monitoring means for monitoring the execution status of the job or session of the request source and notifying execution end information at the end, and receiving the execution end information and requesting the same Created according to the instructions Temporary files and directories to search from the temporary file information recorded in the temporary file information recording means, the temporary file managing apparatus characterized by having a temporary file deletion means for deleting files and directories found.
【請求項2】 前記一時ファイル情報記録手段に記録す
る一時ファイル情報が、前記作成要求元別に作成された
ファイルまたはディレクトリのパス名であることを特徴
とする請求項1記載の一時ファイル管理装置。
2. The temporary file management device according to claim 1, wherein the temporary file information recorded in the temporary file information recording means is a path name of a file or directory created for each creation request source.
JP5298770A 1993-11-30 1993-11-30 Temporary file management device Withdrawn JPH07152689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5298770A JPH07152689A (en) 1993-11-30 1993-11-30 Temporary file management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5298770A JPH07152689A (en) 1993-11-30 1993-11-30 Temporary file management device

Publications (1)

Publication Number Publication Date
JPH07152689A true JPH07152689A (en) 1995-06-16

Family

ID=17863995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5298770A Withdrawn JPH07152689A (en) 1993-11-30 1993-11-30 Temporary file management device

Country Status (1)

Country Link
JP (1) JPH07152689A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618734B1 (en) * 1999-10-19 2006-08-31 엘지전자 주식회사 Method for controlling data file
US8730349B2 (en) 2000-04-26 2014-05-20 Nikon Corporation Recording medium for data file management, apparatus for data file management, handling apparatus for image data, and image capturing system
JP2014153804A (en) * 2013-02-06 2014-08-25 Ricoh Co Ltd Information processing device, information processing system, stop method, and program
CN113569277A (en) * 2021-06-25 2021-10-29 北京鼎普科技股份有限公司 Method and device for checking security file data and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618734B1 (en) * 1999-10-19 2006-08-31 엘지전자 주식회사 Method for controlling data file
US8730349B2 (en) 2000-04-26 2014-05-20 Nikon Corporation Recording medium for data file management, apparatus for data file management, handling apparatus for image data, and image capturing system
JP2014153804A (en) * 2013-02-06 2014-08-25 Ricoh Co Ltd Information processing device, information processing system, stop method, and program
CN113569277A (en) * 2021-06-25 2021-10-29 北京鼎普科技股份有限公司 Method and device for checking security file data and electronic equipment
CN113569277B (en) * 2021-06-25 2024-01-26 北京鼎普科技股份有限公司 Method and device for checking security document data and electronic equipment

Similar Documents

Publication Publication Date Title
US6629109B1 (en) System and method of enabling file revision management of application software
US7987204B2 (en) Multi-epoch method for saving and exporting file system events
US7693891B2 (en) Apparatus for policy based storage of file data and meta-data changes over time
US8341120B2 (en) Apparatus and methods for transferring database objects into and out of database systems
US8782545B2 (en) System and method for manipulating multiple clip items of data
JP2014178784A (en) Information processing device, information processing system, and information processing program
JPH07152689A (en) Temporary file management device
JP3524270B2 (en) Parallel processing system
JP3652969B2 (en) Recording medium recording unused license detection method, unused license detection method, and unused license detection program
US20080307015A1 (en) Backing Up A Database
JP2005157956A (en) Archive device and program for processing archive
JP2000215089A (en) Method and device for file management
JP3170795B2 (en) File group processing device
JP3497053B2 (en) Processing method in online database management system and online database management system
JPH05165702A (en) File management method
JPH0659956A (en) File operation system with the term of validity
JPH05225025A (en) File save and restore system
JPH06259293A (en) Useless document batch deleting device
JPH0293959A (en) File management system
JPS6314236A (en) Job control system
JPH02280241A (en) Method for managing unnecessary file deletion in disk device
JPH04160633A (en) File management system
JP2003076593A (en) Database management method and system
JP2002032255A (en) Computer readable recording medium in which user information management program is recorded and user information managing device of data base management system
JPH05274206A (en) Data managing device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010130