JPH04359330A - Film access history management system - Google Patents

Film access history management system

Info

Publication number
JPH04359330A
JPH04359330A JP3133867A JP13386791A JPH04359330A JP H04359330 A JPH04359330 A JP H04359330A JP 3133867 A JP3133867 A JP 3133867A JP 13386791 A JP13386791 A JP 13386791A JP H04359330 A JPH04359330 A JP H04359330A
Authority
JP
Japan
Prior art keywords
file
program
name
written
management 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.)
Pending
Application number
JP3133867A
Other languages
Japanese (ja)
Inventor
Shu Itaya
板谷 周
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 JP3133867A priority Critical patent/JPH04359330A/en
Publication of JPH04359330A publication Critical patent/JPH04359330A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily judge which files can be erased at the time of deleting several files out of many files resembling one another. CONSTITUTION:When a program is started (step 31), a program name 11A is retrieved to discriminate whether it is registered in file management information or not (step 32). If it is not registered, the program name 11A and an end identifier are additionally written in file management information (step 33). If read of a data file is instructed during program execution (step 34), the data file name is retrieved to discriminate whether it is registered in file management information or not. If it is not registered, the file name is written. The end identifier of the program name in file management information is retrieved, and 'R' and the address of the file name are written in an R/W discrimination 11B and a file pointer 11C based on the position of the end identifier (steps 35 to 37), and the end identifier is written (step 38 to 39).

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は情報処理装置で使用され
る外部記憶媒体に格納されるファイルに関し、特にファ
イルの管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to files stored in an external storage medium used in an information processing apparatus, and more particularly to a file management system.

【0002】0002

【従来の技術】従来、ファイルを管理する方式として、
ファイルが作成された日時および最終日時とを記録して
いた。
[Prior Art] Conventionally, as a method for managing files,
The date and time the file was created and the last date and time were recorded.

【0003】0003

【発明が解決しようとする課題】上述した従来のファイ
ル管理方式では、どのプログラムで作成されたのか、入
力として利用されたのか、出力として利用されたのかと
いうことが分からない。このため、例えばファイルを消
去しようとするときファイルの中身を確認しないと、消
去可能かが分からないという欠点があった。
[Problems to be Solved by the Invention] In the conventional file management method described above, it is not possible to know which program created the file, whether it was used as input, or whether it was used as output. For this reason, for example, when attempting to delete a file, there is a drawback that it is impossible to know whether deletion is possible unless the contents of the file are checked.

【0004】0004

【課題を解決するための手段】本発明によるファイルア
クセス履歴管理方式は、プログラムとデータファイルと
を記録する外部記憶媒体と、プログラム名と前記プログ
ラムを実行中に読み書きされたファイル名とファイルを
格納したアドレスを示すポインタとを記憶する不揮発性
メモリとを有し、プログラムが起動された場合前記不揮
発性メモリに、前記起動されたプログラムがあるかを検
索し、ない場合には前記不揮発性メモリにプログラム名
を追加し、プログラム実行中にファイルの読み書きが行
なわれた場合、前記不揮発性メモリにファイルがあるか
を検索し、ない場合には前記不揮発性メモリにファイル
名を書き込み、ファイルの読み・書きの識別とファイル
名を格納したアドレスを示すポインタとを前記不揮発性
メモリに書き込む。
[Means for Solving the Problems] A file access history management method according to the present invention includes an external storage medium for recording programs and data files, and a storage medium for storing program names, file names and files read and written while the program is being executed. When a program is started, the non-volatile memory is searched to see if the started program exists, and if there is not, the non-volatile memory is stored. If a program name is added and a file is read or written during program execution, it is searched to see if the file exists in the non-volatile memory, and if it is not found, the file name is written to the non-volatile memory, and the file is read or written. The writing identification and a pointer indicating the address where the file name is stored are written into the nonvolatile memory.

【0005】[0005]

【実施例】次に、本発明の一実施例を示した図面を参照
して、より詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described in more detail with reference to the drawings.

【0006】図1は本発明の一実施例の概略ブロック図
である。本実施例において、データ処理装置制御部1は
、データ処理装置全体を制御する。不揮発性メモリ2は
、データ処理装置の電源を切っても内容を保持するメモ
リであり、ファイル管理情報3が記憶される。外部記憶
媒体4は、プログラムやデータファイルを格納する。
FIG. 1 is a schematic block diagram of one embodiment of the present invention. In this embodiment, the data processing device control section 1 controls the entire data processing device. The nonvolatile memory 2 is a memory that retains its contents even when the data processing device is powered off, and stores file management information 3 therein. The external storage medium 4 stores programs and data files.

【0007】次に、図2〜図4を参照して、本実施例の
動作を説明する。まず、プログラム11が起動される(
ステップ31)と、プログラム名11Aがファイル管理
情報3に登録されているかを検索する(ステップ32)
。もし、登録されていなければ、プログラム名11Aお
よび終了識別子をファイル管理情報3に書き加える(ス
テップ33)。
Next, the operation of this embodiment will be explained with reference to FIGS. 2 to 4. First, program 11 is started (
Step 31) and search whether program name 11A is registered in file management information 3 (step 32)
. If not registered, the program name 11A and end identifier are added to the file management information 3 (step 33).

【0008】次に、プログラム実行中にデータファイル
読み込み指示がある(ステップ34)と、ファイル管理
情報3にデータファイル名21があるかを検索する。も
しなければ、ファイル名21を書き込む。そして、ファ
イル管理情報3のプログラム名11Aの終了識別子を検
索し、その位置からR/W識別11Bに「R」を(ステ
ップ35)、ファイルポインタ11Cにファイル名21
のアドレスを書き込み(ステップ36〜37)、終了識
別子を書き込む(ステップ38〜39)。
Next, when a data file reading instruction is given during program execution (step 34), the file management information 3 is searched to see if the data file name 21 exists. If it does not exist, write file name 21. Then, the end identifier of the program name 11A of the file management information 3 is searched, and from that position, "R" is entered in the R/W identification 11B (step 35), and the file name 21 is entered in the file pointer 11C.
(Steps 36-37) and an end identifier (Steps 38-39).

【0009】プログラム実行中にデータファイル書き込
み指示があると、R/W識別子に「W」を書き込むこと
を除いて、読み込みの場合と同様の処理を行なう。
[0009] When a data file write instruction is given during program execution, the same processing as in the case of reading is performed, except that "W" is written in the R/W identifier.

【0010】最後に、プログラムが終了する時にファイ
ル管理情報3のプログラム11Aの終了識別子を検索し
、その位置からプログラム終了識別子と終了識別子を書
き込む。
Finally, when the program ends, the end identifier of the program 11A in the file management information 3 is searched, and the program end identifier and the end identifier are written from that position.

【0011】図4は、ファイルアクセスとファイル管理
情報3との関係を示しており、ファイルアクセスの関係
を表示装置5で確認できる。
FIG. 4 shows the relationship between file access and file management information 3, and the relationship between file accesses can be confirmed on the display device 5.

【0012】0012

【発明の効果】以上説明したように、本発明はプログラ
ムで使用したデータファイルの関係を確認できるため、
似通ったファイルが数多くあり、それらのいくつかを削
除したい場合に、どのファイルを消すことが可能かが容
易に判断できる効果がある。
[Effects of the Invention] As explained above, the present invention allows checking the relationship between data files used in a program.
If there are many similar files and you want to delete some of them, you can easily determine which files can be deleted.

【0013】特に、最近固定外部記憶装置が普及してお
り、一時的に作成したファイル等を削除する必要が多い
ため、本発明を利用する局面が多い。
[0013] In particular, fixed external storage devices have recently become widespread, and it is often necessary to delete temporarily created files, etc., so the present invention is used in many situations.

【0014】また、不揮発性メモリを使用することによ
り、複数の人が個々にプログラムを所有し、データを共
有する場合にでもファイルの履歴管理が可能である。
Furthermore, by using non-volatile memory, file history management is possible even when a plurality of people individually own programs and share data.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1に示した実施例におけるファイル管理情報
3の内容を示す図である。
FIG. 2 is a diagram showing the contents of file management information 3 in the embodiment shown in FIG. 1;

【図3】図1に示した実施例の動作を示すフローチャー
トである。
FIG. 3 is a flowchart showing the operation of the embodiment shown in FIG. 1;

【図4】図1に示した実施例におけるファイルアクセス
とファイル管理情報3との関係を示す図である。
4 is a diagram showing the relationship between file access and file management information 3 in the embodiment shown in FIG. 1. FIG.

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

1    データ処理処理装置 2    不揮発性メモリ 3    ファイル管理情報 4    外部記憶媒体 1 Data processing device 2. Non-volatile memory 3 File management information 4 External storage medium

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  プログラムとデータファイルとを記録
する外部記憶媒体と、プログラム名と前記プログラムを
実行中に読み書きされたファイル名とファイルを格納し
たアドレスを示すポインタとを記憶する不揮発性メモリ
とを有する情報処理装置において、プログラムが起動さ
れた場合前記不揮発性メモリに、前記起動されたプログ
ラムがあるかを検索し、ない場合には前記不揮発性メモ
リにプログラム名を追加し、プログラム実行中にファイ
ルの読み書きが行なわれた場合、前記不揮発性メモリに
ファイルがあるかを検索し、ない場合には前記不揮発性
メモリにファイル名を書き込み、ファイルの読み・書き
の識別とファイル名を格納したアドレスを示すポインタ
とを前記不揮発性メモリに書き込むことを有することを
特徴とするファイルアクセス履歴管理方式。
1. An external storage medium that records a program and a data file, and a non-volatile memory that stores a program name, a file name read or written while the program is being executed, and a pointer indicating an address where the file is stored. When a program is started, the information processing device searches the non-volatile memory for the started program, and if it does not exist, adds the program name to the non-volatile memory, and saves the file while the program is running. When a file is read or written, it is searched to see if there is a file in the non-volatile memory, and if it is not, the file name is written in the non-volatile memory, and the address where the file name is stored is identified as read/write of the file. 1. A file access history management method, comprising: writing a pointer to the nonvolatile memory.
JP3133867A 1991-06-05 1991-06-05 Film access history management system Pending JPH04359330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3133867A JPH04359330A (en) 1991-06-05 1991-06-05 Film access history management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3133867A JPH04359330A (en) 1991-06-05 1991-06-05 Film access history management system

Publications (1)

Publication Number Publication Date
JPH04359330A true JPH04359330A (en) 1992-12-11

Family

ID=15114914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3133867A Pending JPH04359330A (en) 1991-06-05 1991-06-05 Film access history management system

Country Status (1)

Country Link
JP (1) JPH04359330A (en)

Similar Documents

Publication Publication Date Title
JPH04186447A (en) Directory management system
US7061836B2 (en) Method and apparatus for processing information data and management information thereof
JPH0543135B2 (en)
JPH04307644A (en) Memory card storage control system
US7006416B1 (en) Record medium with mechanism of secrecy protection
JPH04359330A (en) Film access history management system
JPH0553891A (en) Information processor
JP2822869B2 (en) Library file management device
JPH0581096A (en) Page deletion system for electronic filing device
JPS58114149A (en) Electronic filing system
EP0587952A1 (en) Method for controlling a tape system storage device
JPH06242999A (en) Data file managing method
JP2573577B2 (en) File access device
JP2549155Y2 (en) Optical filing system
JPH0628417A (en) Electronic film device
JPH0383147A (en) Semiconductor recorder
JPS62177642A (en) File management system for postscript filing device
JPH05210550A (en) Library control system
JPH03125238A (en) Information control system
JPH06149647A (en) Multi-media file managing system
JPH04336893A (en) Data write system for still camera
JPS6385943A (en) Control system for data deletion in read only memory device
JPH0462094B2 (en)
JPH0664599B2 (en) Document file search device
JPS6113327A (en) Cassette controlling system of microcomputer