JP3598875B2 - File management system and recording medium recording a program of the system - Google Patents

File management system and recording medium recording a program of the system Download PDF

Info

Publication number
JP3598875B2
JP3598875B2 JP14076999A JP14076999A JP3598875B2 JP 3598875 B2 JP3598875 B2 JP 3598875B2 JP 14076999 A JP14076999 A JP 14076999A JP 14076999 A JP14076999 A JP 14076999A JP 3598875 B2 JP3598875 B2 JP 3598875B2
Authority
JP
Japan
Prior art keywords
file
information
management system
reference information
attribute 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.)
Expired - Fee Related
Application number
JP14076999A
Other languages
Japanese (ja)
Other versions
JP2000330843A (en
Inventor
賢治 安部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP14076999A priority Critical patent/JP3598875B2/en
Publication of JP2000330843A publication Critical patent/JP2000330843A/en
Application granted granted Critical
Publication of JP3598875B2 publication Critical patent/JP3598875B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、論理的に階層的な木構造(ディレクトリ構造)を用いて磁気ディスク等の情報記憶媒体における論理的な情報の記憶単位であるファイルを管理するファイル管理システムに関する。
【0002】
【従来の技術】
従来のファイル管理システムでは、任意の複数のファイル間でファイルの相互の参照/被参照関係の情報を保持しておらず、また、それらを関連付ける手段も持たなかった。この為、操作者の情報ファイルへの任意の操作によりファイル相互の参照関係が壊れ、プログラムの実行及び情報ファイルの参照が不可能になったり、あるいは実行参照が不可能にはならないまでもシステムが巨大になるに従って一旦決定したファイル構成を容易に変更することができないようになるなど保守管理の面で問題があった。
【0003】
【発明が解決しようとする課題】
本発明は、論理的に階層的な木構造(ディレクトリ構造)を用いて磁気ディスク等の情報記憶媒体における論理的な情報の記録単位であるファイルを管理するファイル管理システムにおいて、あるファイルによって参照されるファイル(被参照ファイル)が移動、削除、名称が変更される等の操作によって、参照する側のファイルの実行ができないという事象や、参照する側からの情報の参照に対して被参照ファイルが見つからないという事象を防止し、ファイルの自由な配置を可能とするファイル管理システムを提供することを目的とする。
【0004】
【課題を解決するための手段】
上記課題を解決するため、請求項1記載の発明は、論理的に階層的な木構造(ディレクトリ構造)を用いて磁気ディスク等の情報記憶媒体における論理的な情報の記憶単位であるファイルを管理するファイル管理システムにおいて、各ファイルに、ファイルのデータを格納するデータ領域と、データ領域に保持されるデータの属性情報を保持する可変長のファイル属性情報領域とを有し、かつ、前記ファイル属性情報領域内に、当該ファイルが参照する他ファイル又は当該ファイルを参照する他ファイルの階層ディレクトリ構造での論理位置情報を表す参照情報を含み、ファイルの移動、複写、削除、又は名称の変更の操作に連動して、当該ファイルの参照情報に基づいて、参照側の他ファイルのファイル属性情報領域内の参照情報を動的に更新する参照情報更新手段を備えてなり、前記参照情報更新手段は、ファイル操作が移動、複写、削除、または名称の変更のいずれであるかを判断する処理と、ファイル操作が削除であって、操作対象が参照元ファイルである場合に、参照先ファイルを同時に削除するか否かの確認を操作者に求める処理の後、確認結果に応じて、参照先ファイルを削除する処理、または、参照先ファイルの参照情報を削除する処理を行うことを特徴としている。
【0005】
また、請求項2記載の発明は、当該ファイルが他のファイルを参照するファイルである場合に、当該ファイルのデータ領域内に、ファイル属性情報領域内に保持する参照情報を指し示す参照指示情報を保持することを特徴としている。また、本発明は、コンピュータを用いて構成されるものであって、その際、該コンピューターによって実行されるプログラムは、コンピュータ読み取り可能な記録媒体に記録して頒布することが可能である。
【0006】
本発明のファイル管理システムによれば、ファイルの属性を管理する領域に参照関係にあるファイルの論理位置情報を持つので、ファイルに対して操作が行われた場合でも可能な限りファイル間の相互参照関係を維持することが可能となる。
【0007】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について説明する。図1は、本発明によるファイル管理システムの一実施の形態を示す説明図であり、図1(a)はファイル管理システムのブロック構成を図、図1(b)はファイル管理システムで用いられるファイルの構成を示す図である。
【0008】
図1(a)を参照すると、本実施の形態は、操作者が、ファイルに対する操作の入力を行うキーボードやポインティングデバイス等の入力装置4と、操作者の入力装置4からの操作を受け付け、その操作内容に従って、記憶装置7に記憶されている操作対象のファイルの移動、削除、名称の変更等を行うデータ処理装置6とから構成されている。
【0009】
記憶装置7は、磁気ディスク等の情報記憶媒体からなり、論理的に階層的な木構造(ディレクトリ構造)を用いて、論理的な情報の記憶単位であるファイルを記憶する。図1(a)に示す例では、あらかじめ、記憶装置7が、論理位置12にファイル1を、そして、論理位置22にファイル2を、それぞれ記憶しているものとする。
【0010】
ファイル1およびファイル2は、図1(b)に示すように、ともに、ファイルのデータを格納するデータ領域と、データ領域に保持されるデータの属性情報を保持する可変長のファイル属性情報領域とを有して構成されている。この場合、ファイル1がファイル2を参照するファイルであるとすると、ファイル1は、参照先の他ファイル(ファイル2)の階層構造における論理位置(論理位置22)を記憶した参照情報11をファイル属性情報領域内に含み、また、ファイル2は、参照元の他ファイル(ファイル1)の階層構造における論理位置(論理位置12)を記憶した参照情報21をファイル属性情報領域内に含んでいる。なお、ファイル属性情報領域内には複数の参照情報を含ませることができ、この場合には、1つファイルから複数のファイルを参照できるようになる。
【0011】
さらに、ファイル1は他ファイルを参照するファイルなので、そのデータ領域内に、間接的に参照先のファイル2を指し示す情報として、ファイル参照情報11を指し示す参照指示情報13が埋め込まれている。この参照指示情報は、例えば、参照元のファイル(ファイル1)が、実行時に他ファイル(ファイル2)を必要とする実行可能な形式のファイルである場合に、従来は、そのデータ領域内の実行可能情報内に参照または更新する他ファイルの論理位置情報を直接保持していたものの代わりとして用いられるものである。あるいは、参照指示情報は、例えば、参照元のファイル(ファイル1)が、データ領域内に文書情報、画像情報等を持つ他ファイルを示す情報を保持する情報ファイルである場合に、従来、そのデータ領域内に参照する他ファイルの論理位置情報を直接保持していたものの代わりとして用いられるものである。
【0012】
データ処理装置6は、操作者の入力装置4からの操作を受け付けファイル操作された内容に従って、相互に関連するファイルのそれぞれの参照情報を更新する参照情報更新手段5と、参照情報更新手段5から更にファイル操作の内容が伝達され、ファイルの階層構造における論理位置の移動、複写、論理位置の変化しないファイル名称の変更、あるいは階層構造からの削除を行うファイル操作手段3とから構成されている。
【0013】
例えば、入力装置4に対してファイル2に対する操作が行われたとすると、参照情報更新手段5は、操作者の入力装置4からの操作を受け付け((1))、その操作内容に従って、操作対象のファイル2の参照情報21を取得し、参照情報21が記憶している論理位置12からファイル2を参照しているファイル1を特定し、入力装置4から伝達されたファイル2に対するファイル操作に応じてファイル1の参照情報を更新する((2))。また、ファイル操作手段3は、参照情報更新手段5から更に伝達されたファイル操作に従って((3))、ファイル2に対して、ファイルの階層構造における論理位置の移動、複写、論理位置が変化しないファイル名称の変更、あるいは階層構造からの削除を行う((4))。
【0014】
より具体的にファイル2を移動する例について説明する。操作者の入力装置からの操作によって参照先ファイル2が階層構造間で論理位置22が論理位置22’に移動されるとする。この場合、入力装置4によって受け付けられたファイル操作は参照情報更新手段5に対して参照先ファイル2の操作が行われたことを通知し、参照情報更新手段5は参照先ファイル2の参照情報21を取得して論理位置12から参照先ファイル2を参照している参照元ファイル1を特定する。そして参照情報更新手段5は参照元ファイル1の参照情報11に記憶されている参照先ファイル2の論理位置22を論理位置22’に更新する。その後、更にファイル操作内容が伝達されたファイル操作手段3は参照先ファイル2を論理位置22’に移動させる。これにより、参照元ファイル1の実行や情報の参照に対して参照先ファイル2が見つからないという事象を防止し、相互に関連するファイルの自由な再配置が可能となる。
【0015】
次に、図1〜図6を参照して本実施の形態の動作について詳細に説明する。図2に示すように、操作者によって入力装置4からのファイル操作を受け付けた参照情報更新手段5は(401)、入力されたファイルの操作が、ファイルの階層構造における移動である場合には(501)、参照情報更新処理1を行う(502)。参照情報更新処理1では(図3)、操作対象が参照される側の参照先ファイル2である場合には(1001)、参照先ファイル2の移動先である論理位置22’を取得(1002)、参照先ファイル2の参照情報21に記憶されているファイルの論理位置12により参照元ファイル1を特定し(1003、1004)、参照元ファイル1の参照情報11内の参照先ファイル2の論理位置情報を論理位置22’に更新し(1005)、ファイル操作手段3にファイルの移動操作内容を伝達する。また、操作対象が参照する側の参照元ファイル1である場合には(1001)、参照元ファイル1の移動先である論理位置12’(図示せず。)を取得(1006)、参照元ファイル1の参照情報11に記憶されているファイルの論理位置22により参照先ファイル2を特定し(1007、1008)、参照先ファイル2の参照情報21内の参照元ファイル1の論理位置情報を論理位置12’に更新し(1009)、ファイル操作手段3にファイルの移動操作内容を伝達する。
【0016】
図2を参照して、入力されたファイルの操作が、ファイルの階層構造における複写である場合には(503)、参照情報更新処理2を行う(504)。参照情報更新処理2では(図4)、操作対象が参照される側の参照先ファイル2である場合には(2001)、参照先ファイル2の複製である参照先ファイル2’を作成し、参照先ファイル2’は参照元ファイル1から参照されなくなる為、参照先ファイル2’の参照情報21’を削除し(2002)、ファイル操作手段3にファイルの複写操作内容を伝達する。また、操作対象が参照する側の参照元ファイル1である場合には(2001)、参照元ファイル1の複写先である論理位置12’を取得(2003)、参照元ファイル1の複製である参照元ファイル1’を作成し、参照元ファイル1’の参照情報11’に記憶されているファイルの論理位置22により参照先ファイル2を特定し(2004、2005)、参照先ファイル2に参照元ファイル1’の論理位置12’を記憶した参照情報21’を追加し(2006)、ファイル操作手段3にファイルの移動操作内容を伝達する。
【0017】
図2を参照して、入力されたファイルの操作が、ファイル名称の変更である場合には(505)、参照情報更新処理3を行う(506)。参照情報更新処理3では(図5)、操作対象が参照される側の参照先ファイル2である場合には(3001)、参照先ファイル2の参照情報21に記憶されているファイルの論理位置12により参照元ファイル1を特定し(3002、3003)、参照元ファイル1の参照情報11内の参照先ファイル2の名称を変更し(3004)、ファイル操作手段3にファイルの名称変更操作内容を伝達する。また、操作対象が参照する側の参照元ファイル1である場合には(3001)、参照元ファイル1の参照情報11に記憶されているファイルの論理位置22により参照先ファイル2を特定し(3005、3006)、参照先ファイル2の参照情報21内の参照元ファイル1の名称を変更し(3005)、ファイル操作手段3にファイルの名称変更内容を伝達する。
【0018】
そして、図2において、入力されたファイルの操作が、ファイルの削除である場合には(507)、参照情報更新処理4を行う(508)。参照情報更新処理4では(図6)、操作対象が参照される側の参照先ファイル2である場合には(4001)、参照先ファイル2の参照情報21に記憶されているファイルの論理位置12により参照元ファイル1を特定し(4002、4003)、操作者に対して操作対象ファイルが参照元ファイル1により参照されていることを提示し(4004)、操作者に対して操作対象ファイルである参照先ファイル2の削除を確認し(4005)、削除の意志が確認できた場合には参照先ファイル2の論理位置情報を記憶している参照元ファイル1の参照情報11を削除し(4006)、ファイル操作手段3にファイルの削除操作内容を伝達する。また、操作対象が参照する側の参照元ファイル1である場合には(4001)、参照元ファイル1の参照情報11に記憶されているファイルの論理位置22により参照先ファイル2を特定し(4007、4008)、操作者に対して操作対象ファイルが参照先ファイル2を参照していることを提示し(4009)、操作者に対して参照先ファイル2も同時に削除するかを確認し(4010)、参照先ファイル2を削除する場合には、ファイル操作手段3に参照先ファイル2の削除を含めたファイルの削除操作内容を伝達し、参照先ファイル2を削除しない場合には参照元ファイル1の論理位置情報を記憶している参照先ファイル2の参照情報21を削除した後(4011)、ファイル操作手段3にファイルの削除操作内容を伝達する。
【0019】
ファイル操作手段3は(図3)、参照情報更新手段5から更に伝達されたファイル操作内容に従ってファイルの階層構造における論理位置を移動、複写、論理位置の変化しないファイル名称の変更、あるいは階層構造からの削除を行う(301)。
【0020】
なお、上記の実施の形態は、コンピュータおよびその周辺機器と、そのコンピューターによって実行されるプログラムとによって実現され、さらに、そのコンピュータによって実行されるプログラムは、コンピュータ読み取り可能な記録媒体に記録して頒布することが可能である。
【0021】
【発明の効果】
本発明の効果は、ファイルの属性情報領域内に該ファイルが参照するあるいは参照される他ファイルの階層構造での論理位置を記憶する参照情報を保持することにより、あるファイルによって参照されるファイルが移動、削除、または名称の変更等の操作によって、参照する側のファイルの実行や参照する側からの情報の参照に対して見つからないという事象を防止し、ファイルの自由な配置を可能とすることである。
【図面の簡単な説明】
【図1】本発明によるファイル管理システムの構成(a)およびそこで用いられるファイルの形式(b)を示す図である。
【図2】図1のファイル管理システムの動作を示すフローチャートである。
【図3】図1の参照情報更新処理1(502)の動作を示すフローチャートである。
【図4】図1の参照情報更新処理2(504)の動作を示すフローチャートである。
【図5】図1の参照情報更新処理3(506)の動作を示すフローチャートである。
【図6】図1の参照情報更新処理4(508)の動作を示すフローチャートである。
【符号の説明】
3 ファイル操作手段
5 参照情報更新手段
6 データ処理装置
7 記憶装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a file management system that manages files that are logical information storage units in an information storage medium such as a magnetic disk using a logically hierarchical tree structure (directory structure).
[0002]
[Prior art]
The conventional file management system does not hold information on the mutual reference / reference relationship of files among a plurality of arbitrary files, and has no means for associating them. For this reason, any operation performed by the operator on the information file breaks the mutual reference relationship between the files, making it impossible to execute the program and refer to the information file. There was a problem in terms of maintenance management, such as the file structure once determined could not be easily changed as the size became larger.
[0003]
[Problems to be solved by the invention]
The present invention relates to a file management system that manages a file, which is a logical information recording unit in an information storage medium such as a magnetic disk, using a logically hierarchical tree structure (directory structure). The referenced file cannot be executed due to operations such as moving, deleting, or renaming the file to be referenced (referenced file). It is an object of the present invention to provide a file management system that prevents an event of not being found and enables free arrangement of files.
[0004]
[Means for Solving the Problems]
In order to solve the above problem, the invention according to claim 1 manages a file as a logical information storage unit in an information storage medium such as a magnetic disk using a logically hierarchical tree structure (directory structure). File management system, each file has a data area for storing file data, and a variable-length file attribute information area for holding attribute information of data held in the data area; The information area contains reference information indicating the logical location information in the hierarchical directory structure of another file referenced by the file or the other file referenced by the file, and the operation of moving, copying, deleting, or renaming the file In conjunction with, the reference information in the file attribute information area of the other file on the reference side is dynamically determined based on the reference information of the file. It includes a reference information updating means new to the reference information update means, file operations move, copy, delete, or a process of determining whether it is a name change, the file operation is a deletion, If the operation target is a reference source file, after the process asking the operator to confirm whether to delete the reference destination file at the same time, the process to delete the reference destination file or the reference destination according to the confirmation result It is characterized in that a process of deleting reference information of a file is performed.
[0005]
Also, in the invention according to claim 2, when the file is a file that refers to another file, reference instruction information indicating the reference information held in the file attribute information area is stored in the data area of the file. It is characterized by doing. In addition, the present invention is configured using a computer, in which case the program executed by the computer can be recorded on a computer-readable recording medium and distributed.
[0006]
According to the file management system of the present invention, since the area for managing the attributes of the file has the logical position information of the file having the reference relationship, even if an operation is performed on the file, cross-reference between the files is performed as much as possible. The relationship can be maintained.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an explanatory diagram showing an embodiment of a file management system according to the present invention. FIG. 1A shows a block configuration of the file management system, and FIG. 1B shows a file used in the file management system. FIG. 3 is a diagram showing the configuration of FIG.
[0008]
Referring to FIG. 1A, in the present embodiment, an operator accepts an input device 4 such as a keyboard or a pointing device for inputting an operation on a file, and an operation of the operator from the input device 4, and It comprises a data processing device 6 for moving, deleting, renaming, etc., the operation target file stored in the storage device 7 according to the operation content.
[0009]
The storage device 7 is composed of an information storage medium such as a magnetic disk, and stores a file, which is a storage unit of logical information, using a logically hierarchical tree structure (directory structure). In the example shown in FIG. 1A, it is assumed that the storage device 7 stores the file 1 in the logical position 12 and the file 2 in the logical position 22 in advance.
[0010]
As shown in FIG. 1B, file 1 and file 2 each include a data area for storing file data, and a variable-length file attribute information area for storing attribute information of data held in the data area. Is configured. In this case, assuming that the file 1 is a file that refers to the file 2, the file 1 assigns the reference information 11 that stores the logical position (logical position 22) in the hierarchical structure of the other file (the file 2) of the reference destination to the file attribute. The file 2 includes the reference information 21 storing the logical position (logical position 12) in the hierarchical structure of the other file (file 1) of the reference source in the file attribute information area. Note that a plurality of pieces of reference information can be included in the file attribute information area, and in this case, a plurality of files can be referenced from one file.
[0011]
Furthermore, since the file 1 is a file that refers to another file, reference instruction information 13 that points to the file reference information 11 is embedded in the data area as information that indirectly points to the file 2 to be referred to. For example, when the reference source file (file 1) is an executable file that requires another file (file 2) at the time of execution, conventionally, the reference instruction information indicates that the file in the data area It is used as a substitute for the one that directly holds the logical position information of another file to be referenced or updated in the possible information. Alternatively, for example, when the reference source file (file 1) is an information file that holds information indicating another file having document information, image information, and the like in the data area, the reference instruction information may be the same as the conventional data. It is used as an alternative to the one that directly holds the logical position information of another file referred to in the area.
[0012]
The data processing device 6 receives the operator's operation from the input device 4 and updates the respective reference information of the mutually related files in accordance with the contents of the file operation. Further, the contents of the file operation are transmitted, and the file operation means 3 moves and copies the logical position in the hierarchical structure of the file, changes the file name without changing the logical position, or deletes the file from the hierarchical structure.
[0013]
For example, when an operation on the file 2 is performed on the input device 4, the reference information updating unit 5 receives the operation of the operator from the input device 4 ((1)), and according to the operation content, the reference information updating unit 5 determines the operation target. The reference information 21 of the file 2 is obtained, the file 1 referring to the file 2 is specified from the logical position 12 stored in the reference information 21, and the file 1 is transmitted to the file 2 from the input device 4. The reference information of the file 1 is updated ((2)). Further, the file operation unit 3 does not move, copy, or change the logical position in the file hierarchical structure with respect to the file 2 in accordance with the file operation further transmitted from the reference information updating unit 5 ((3)). The file name is changed or deleted from the hierarchical structure ((4)).
[0014]
An example in which file 2 is moved will be described more specifically. It is assumed that the logical position 22 is moved to the logical position 22 'between the hierarchical structures of the reference destination file 2 by the operation of the operator from the input device. In this case, the file operation received by the input device 4 notifies the reference information updating means 5 that the operation of the reference destination file 2 has been performed, and the reference information updating means 5 transmits the reference information 21 of the reference destination file 2. Is acquired, and the reference source file 1 which refers to the reference destination file 2 from the logical position 12 is specified. Then, the reference information updating means 5 updates the logical position 22 of the reference destination file 2 stored in the reference information 11 of the reference source file 1 to a logical position 22 '. Thereafter, the file operation means 3 to which the contents of the file operation are further transmitted moves the reference destination file 2 to the logical position 22 '. This prevents an event that the reference destination file 2 is not found due to the execution of the reference source file 1 or the reference of information, and enables free relocation of mutually related files.
[0015]
Next, the operation of the present embodiment will be described in detail with reference to FIGS. As shown in FIG. 2, the reference information updating unit 5 that has received a file operation from the input device 4 by the operator (401), if the operation of the input file is movement in a file hierarchical structure ( 501), reference information update processing 1 is performed (502). In the reference information update process 1 (FIG. 3), if the operation target is the reference destination file 2 on the side to be referred to (1001), the logical position 22 ′ to which the reference destination file 2 is moved is acquired (1002). The reference source file 1 is specified by the logical position 12 of the file stored in the reference information 21 of the reference destination file 2 (1003, 1004), and the logical position of the reference destination file 2 in the reference information 11 of the reference source file 1 The information is updated to the logical position 22 '(1005), and the contents of the file moving operation are transmitted to the file operating means 3. If the operation target is the referencing source file 1 (1001), the logical position 12 '(not shown) to which the referring source file 1 is moved is acquired (1006). The reference destination file 2 is specified by the logical position 22 of the file stored in the reference information 11 (1007, 1008), and the logical position information of the reference source file 1 in the reference information 21 of the reference destination file 2 is changed to the logical position. The content is updated to 12 '(1009), and the content of the file moving operation is transmitted to the file operating means 3.
[0016]
Referring to FIG. 2, if the input file operation is copying in a hierarchical structure of the file (503), reference information update processing 2 is performed (504). In the reference information update processing 2 (FIG. 4), if the operation target is the reference destination file 2 on the side to be referred to (2001), a reference destination file 2 ′ that is a copy of the reference destination file 2 is created and referenced. Since the destination file 2 ′ is no longer referenced from the reference source file 1, the reference information 21 ′ of the reference destination file 2 ′ is deleted (2002), and the content of the file copy operation is transmitted to the file operation means 3. If the operation target is the referencing source file 1 (2001), the logical position 12 'which is the copy destination of the referring source file 1 is acquired (2003), and the reference which is a copy of the referring source file 1 is obtained. The original file 1 ′ is created, and the reference destination file 2 is specified by the logical position 22 of the file stored in the reference information 11 ′ of the reference source file 1 ′ (2004, 2005). The reference information 21 ′ storing the logical position 12 ′ of 1 ′ is added (2006), and the contents of the file moving operation are transmitted to the file operating means 3.
[0017]
Referring to FIG. 2, if the input file operation is to change the file name (505), reference information update processing 3 is performed (506). In the reference information update process 3 (FIG. 5), if the operation target is the reference destination file 2 on the side to be referred to (3001), the logical position 12 of the file stored in the reference information 21 of the reference destination file 2 Specifies the reference source file 1 (3002, 3003), changes the name of the reference destination file 2 in the reference information 11 of the reference source file 1 (3004), and transmits the contents of the file name change operation to the file operation means 3 I do. If the operation target is the reference source file 1 on the reference side (3001), the reference destination file 2 is specified by the logical position 22 of the file stored in the reference information 11 of the reference source file 1 (3005). , 3006), the name of the reference source file 1 in the reference information 21 of the reference destination file 2 is changed (3005), and the file name change contents are transmitted to the file operation means 3.
[0018]
Then, in FIG. 2, if the operation of the input file is to delete the file (507), reference information update processing 4 is performed (508). In the reference information update processing 4 (FIG. 6), if the operation target is the referenced file 2 on the referenced side (4001), the logical position 12 of the file stored in the reference information 21 of the referenced file 2 Specifies the reference source file 1 (4002, 4003), presents to the operator that the operation target file is being referenced by the reference source file 1 (4004), and indicates to the operator the operation target file. The deletion of the reference destination file 2 is confirmed (4005). If the intention of deletion is confirmed, the reference information 11 of the reference source file 1 storing the logical position information of the reference destination file 2 is deleted (4006). Then, the contents of the file deletion operation are transmitted to the file operation means 3. If the operation target is the reference source file 1 on the reference side (4001), the reference destination file 2 is specified by the logical position 22 of the file stored in the reference information 11 of the reference source file 1 (4007). , 4008), presenting to the operator that the operation target file refers to the reference destination file 2 (4009), and confirming to the operator whether to delete the reference destination file 2 at the same time (4010). When the reference destination file 2 is to be deleted, the contents of the file deletion operation including the deletion of the reference destination file 2 are transmitted to the file operation means 3, and when the reference destination file 2 is not deleted, the reference source file 1 is deleted. After deleting the reference information 21 of the reference destination file 2 storing the logical position information (4011), the file operation means 3 is notified of the contents of the file deletion operation.
[0019]
The file operation means 3 (FIG. 3) moves or copies the logical position in the hierarchical structure of the file according to the file operation content further transmitted from the reference information updating means 5, changes the file name without changing the logical position, or changes the logical position. Is deleted (301).
[0020]
The above embodiments are implemented by a computer and its peripheral devices, and a program executed by the computer. Further, the program executed by the computer is recorded on a computer-readable recording medium and distributed. It is possible to do.
[0021]
【The invention's effect】
The effect of the present invention is that the file referred to by a certain file can be stored in the attribute information area of the file by storing the reference information for storing the logical position of the file referred to or referred to in the hierarchical structure of another file. To prevent the event that the file to be referred to is not found due to the execution of the file of the referencing side or the reference of the information from the referencing side by operations such as moving, deleting, or renaming, and to enable the free arrangement of the file. It is.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration (a) of a file management system according to the present invention and a file format (b) used therein.
FIG. 2 is a flowchart showing an operation of the file management system of FIG. 1;
FIG. 3 is a flowchart showing an operation of reference information update processing 1 (502) of FIG. 1;
FIG. 4 is a flowchart showing an operation of reference information update processing 2 (504) in FIG. 1;
FIG. 5 is a flowchart showing an operation of reference information update processing 3 (506) of FIG. 1;
FIG. 6 is a flowchart showing an operation of reference information update processing 4 (508) of FIG. 1;
[Explanation of symbols]
3 file operating means 5 reference information updating means 6 data processing device 7 storage device

Claims (3)

論理的に階層的な木構造(ディレクトリ構造)を用いて磁気ディスク等の情報記憶媒体における論理的な情報の記憶単位であるファイルを管理するファイル管理システムにおいて、各ファイルに、ファイルのデータを格納するデータ領域と、データ領域に保持されるデータの属性情報を保持する可変長のファイル属性情報領域とを有し、かつ、前記ファイル属性情報領域内に、当該ファイルが参照する他ファイル又は当該ファイルを参照する他ファイルの階層ディレクトリ構造での論理位置情報を表す参照情報を含み、ファイルの移動、複写、削除、又は名称の変更の操作に連動して、当該ファイルの参照情報に基づいて、参照側の他ファイルのファイル属性情報領域内の参照情報を動的に更新する参照情報更新手段を備えてなり、
前記参照情報更新手段は、
ファイル操作が移動、複写、削除、または名称の変更のいずれであるかを判断する処理と、
ファイル操作が削除であって、操作対象が参照元ファイルである場合に、参照先ファイルを同時に削除するか否かの確認を操作者に求める処理の後、確認結果に応じて、参照先ファイルを削除する処理、または、参照先ファイルの参照情報を削除する処理を行うことを特徴とするファイル管理システム。
In a file management system that manages a file as a logical information storage unit in an information storage medium such as a magnetic disk using a logically hierarchical tree structure (directory structure), file data is stored in each file. And a variable-length file attribute information area holding attribute information of data held in the data area, and the file attribute information area includes, in the file attribute information area, another file or the file referred to by the file. Including the reference information indicating the logical location information of the other file in the hierarchical directory structure that refers to the file, linked to the operation of moving, copying, deleting, or renaming the file, based on the reference information of the file, Reference information updating means for dynamically updating the reference information in the file attribute information area of the other file on the side ,
The reference information updating means,
Determining whether the file operation is a move, copy, delete, or rename operation;
If the file operation is deletion and the operation target is the reference source file, after the process asking the operator to confirm whether to delete the reference destination file at the same time, the reference destination file is A file management system for performing a process of deleting or a process of deleting reference information of a reference destination file .
当該ファイルが他のファイルを参照するファイルである場合に、当該ファイルのデータ領域内に、ファイル属性情報領域内に保持する参照情報を指し示す参照指示情報を保持することを特徴とする請求項1記載のファイル管理システム。2. The file system according to claim 1, wherein when the file is a file that refers to another file, reference instruction information indicating the reference information stored in the file attribute information area is stored in the data area of the file. File management system. 請求項1又は2記載のファイル管理システムが、コンピュータを用いて構成されるものであって、その際、該コンピューターによって実行されるプログラムを記録したコンピュータ読み取り可能な記録媒体。3. A computer-readable recording medium in which the file management system according to claim 1 or 2 is configured using a computer, wherein a program executed by the computer is recorded.
JP14076999A 1999-05-20 1999-05-20 File management system and recording medium recording a program of the system Expired - Fee Related JP3598875B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14076999A JP3598875B2 (en) 1999-05-20 1999-05-20 File management system and recording medium recording a program of the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14076999A JP3598875B2 (en) 1999-05-20 1999-05-20 File management system and recording medium recording a program of the system

Publications (2)

Publication Number Publication Date
JP2000330843A JP2000330843A (en) 2000-11-30
JP3598875B2 true JP3598875B2 (en) 2004-12-08

Family

ID=15276329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14076999A Expired - Fee Related JP3598875B2 (en) 1999-05-20 1999-05-20 File management system and recording medium recording a program of the system

Country Status (1)

Country Link
JP (1) JP3598875B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0573397A (en) * 1991-09-13 1993-03-26 Fuji Xerox Co Ltd Hypertext device
JPH05108456A (en) * 1991-10-15 1993-04-30 Fuji Xerox Co Ltd Hyper text system
JPH10222414A (en) * 1997-02-07 1998-08-21 Hitachi Ltd Document processing method
JPH1139327A (en) * 1997-07-22 1999-02-12 Omron Corp Method and device for automatically restoring link information
JPH1153246A (en) * 1997-08-08 1999-02-26 Toshiba Corp Device and method for automatically updating hyperlink device

Also Published As

Publication number Publication date
JP2000330843A (en) 2000-11-30

Similar Documents

Publication Publication Date Title
US8135677B2 (en) File management system and method
JP5082310B2 (en) Data migration apparatus and program
JP5697754B2 (en) Computer system, file management method, and metadata server
US20080306900A1 (en) Document management method and apparatus
JPH0619765A (en) Method and system for file management in computer system
US6256636B1 (en) Object server for a digital library system
JP2006155607A (en) Method and system for maintaining namespace consistency with file system
JP2008140273A (en) Document providing system and information providing program
JP4670968B2 (en) Information management program and information management system
JP2009110477A (en) File management system and file management program
JP2007293619A (en) Server device, information sharing system, program, and recording medium
EP2669806A1 (en) Storage system
JP2008090378A (en) Hybrid file system, operating system, cache control method, and recording medium
JP3598875B2 (en) File management system and recording medium recording a program of the system
JPH1063557A (en) Distributed file synchronization system
US8909875B1 (en) Methods and apparatus for storing a new version of an object on a content addressable storage system
JP2972548B2 (en) File management method
US20060090042A1 (en) Storage system
JP2002259414A (en) Document management system, document management method and recording medium with document management procedure recorded thereon
JP2007272675A (en) Snapshot creation device, method and program
JP2010061200A (en) Document management system and operation history display method
JP2007148975A (en) Document file transfer tracking device, system, method, and program
JP2006004024A (en) Program for execution by directory server
JPH09288606A (en) File management device
JP2006252312A (en) Content management system and program used for the same

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040824

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040906

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100924

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees