JPH0635779A - File control system - Google Patents

File control system

Info

Publication number
JPH0635779A
JPH0635779A JP4192109A JP19210992A JPH0635779A JP H0635779 A JPH0635779 A JP H0635779A JP 4192109 A JP4192109 A JP 4192109A JP 19210992 A JP19210992 A JP 19210992A JP H0635779 A JPH0635779 A JP H0635779A
Authority
JP
Japan
Prior art keywords
file
record
access
field
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
JP4192109A
Other languages
Japanese (ja)
Inventor
Toshiro Tokunaga
寿郎 徳永
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4192109A priority Critical patent/JPH0635779A/en
Publication of JPH0635779A publication Critical patent/JPH0635779A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To hold an interfile mutual dependent relation by making the record controlling the attribute of a file of variable-length. CONSTITUTION:A file record 1 is made to be of variable-length by a pointer, an extension field 3 is provided, and an other file access record 4 and another file accessed record 5 recording the access status of other files are added. Further, fields which have the possibility of extension are linked and controlled by the pointer. Referring to the access status of the file, a mistake that a file is inadvertently deleted, can be prevented beforehand.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、たとえばOSにおけ
るファイルシステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file system in an OS, for example.

【0002】[0002]

【従来の技術】図2は、従来のファイル管理システムを
示す図である。図においてファイルレコードは固定長の
レコードで、例えば以下の情報を保持している。 ・論理装置名 ・ファイルノード生成日時 ・ファイルノード情報更新日時 ・属性 ・ファイルリンク属性 ・リンクカウント このように、従来のファイルシステムでは、ファイル属
性を管理するレコードは、固定長で、ファイル実体とデ
ィレクトリ間の静的情報を保持していた。
2. Description of the Related Art FIG. 2 is a diagram showing a conventional file management system. In the figure, the file record is a fixed-length record, and holds the following information, for example. -Logical device name-File node creation date and time-File node information update date and time-Attribute-File link attribute-Link count In this way, in the conventional file system, the record that manages the file attribute has a fixed length and is the file entity and the directory. It held static information between.

【0003】[0003]

【発明が解決しようとする課題】従来のファイル管理シ
ステムでは、ファイル属性を管理するレコードが固定長
で、保持できる情報に限りがあったため、例えば、どの
ファイルからどのファイルをどの位アクセスしたかまた
はされたかなどのファイル間相互に依存する情報を格納
することができず、そのために、必要なファイルが消さ
れたりするなどのファイルの信頼性、保守性の面で問題
があった。本発明は、ファイルの属性を管理するレコー
ドに記録できる情報をふやし、ファイル間の相互依存関
係の情報を保持することのできるファイル管理システム
を得ることを目的とする。
In the conventional file management system, since the record for managing the file attribute has a fixed length and the information that can be held is limited, for example, which file is accessed from which file and how much is accessed. Since it is not possible to store information that depends on each other, such as whether or not files have been deleted, there is a problem in terms of reliability and maintainability of files such that necessary files are deleted. It is an object of the present invention to provide a file management system capable of storing information that can be recorded in a record that manages attributes of files and holding information of interdependence between files.

【0004】[0004]

【課題を解決するための手段】本発明のファイル管理シ
ステムは、たとえば、従来の静的情報をもったファイル
属性情報フィールドの一部に他ファイルへのアクセス状
況(ファイル間依存関係)を記録する領域へのポインタ
を付加し、アクセス状況(ファイル間依存関係)を記録
する領域がさらに拡張される可能性がある場合には、さ
らにポインタで領域をつなぎ管理するようにしてファイ
ルの属性情報を保持する領域をポインタにより可変長と
したものであり以下の要素を有するものである。 (a)ファイルのデータを格納するファイルデータ領
域、(b)上記ファイルデータ領域により保持されるデ
ータの属性情報を保持するファイル属性情報フィール
ド、(c)上記ファイル属性情報フィールドよりリンク
されファイル間の依存関係の情報を記録する依存関係情
報領域。
The file management system of the present invention records the access status (inter-file dependency) to another file in a part of the file attribute information field having conventional static information. If a pointer to the area is added and the area for recording the access status (file-to-file dependency) is likely to be further expanded, the area is further connected by the pointer and the file attribute information is retained. The area to be changed is made variable in length by a pointer and has the following elements. (A) File data area for storing file data, (b) File attribute information field for holding attribute information of data held by the file data area, (c) Between files linked by the file attribute information field A dependency information area for recording dependency information.

【0005】[0005]

【作用】本発明のファイル管理システムは、ファイルの
属性情報として、ファイル相互に依存する情報をもつこ
とにより、不用意にファイルを消す危険性を減じるな
ど、保守性、信頼性を向上することができる。
The file management system of the present invention has information that depends on each other as attribute information of a file, thereby improving the maintainability and reliability such as reducing the risk of deleting the file carelessly. it can.

【0006】[0006]

【実施例】【Example】

実施例1.図1は、本発明に係るファイル管理システム
の一実施例を示す図であり、1はファイルレコード(フ
ァイルの属性を管理するレコード)、2は、ファイルの
データを格納するファイルデータ領域、3は、上記ファ
イルレコード1の拡張フィールド、4は、他ファイルア
クセスレコード、5は他ファイル被アクセスレコード、
6、7は他ファイルアクセスレコード4と他ファイル被
アクセスレコード5より指された他ファイルアクセスフ
ィールド、他ファイル被アクセスフィールドであり、ア
クセスした(またはされた)ファイルのi−nodeや
最終アクセス日時の情報を持ち、8〜11はそこからリ
ンクされたアクセス回数フィールドである。図中の
「・」は、ポインタを示す。なお、この実施例におい
て、「ファイルがファイルをアクセスする」というのは
「実行形式のファイルが実行されて他のファイルをアク
セスする」ということを意味するものとする。
Example 1. FIG. 1 is a diagram showing an embodiment of a file management system according to the present invention. Reference numeral 1 is a file record (a record for managing file attributes), 2 is a file data area for storing file data, and 3 is a file data area. , The extension field of the file record 1, 4 is another file access record, 5 is another file accessed record,
Reference numerals 6 and 7 denote other file access fields and other file accessed fields pointed to by the other file access record 4 and the other file accessed record 5, such as the i-node of the accessed (or accessed) file and the last access date and time. It has information, and 8 to 11 are access frequency fields linked from it. "." In the figure indicates a pointer. In this embodiment, "a file accesses a file" means "an executable file is executed to access another file".

【0007】次に動作について説明する。ファイルの書
き込みが行なわれると、ファイルデータ領域にデータを
書き込むと同時に、ファイルの属性情報の書き込みが行
なわれる。このファイルに対して、アクセスが行なわれ
ると、ファイルレコードのポインタを示すエリアがファ
イルレコードの拡張フィールドを指すよう更新され、同
時に拡張フィールドにレコードがつくられる。この拡張
フィールド3は、図のように有限個のポインタを格納す
るレコードであり、拡張可能である。拡張フィールド3
のポインタは、他ファイルアクセスレコード4と、他フ
ァイル被アクセスレコード5を指している。
Next, the operation will be described. When the file is written, the data is written in the file data area and at the same time, the attribute information of the file is written. When this file is accessed, the area indicating the pointer of the file record is updated to point to the extension field of the file record, and at the same time, a record is created in the extension field. The extension field 3 is a record that stores a finite number of pointers as shown in the figure and can be extended. Extension field 3
The pointers indicate the other file access record 4 and the other file accessed record 5.

【0008】ここで例えば、このファイルが、他のファ
イルに対してアクセスを行なったとすると、他ファイル
アクセスレコード4がつくられ、同時にそのポインタ
は、次に作成する他ファイルアクセスフィールド6を指
す。他ファイルアクセスフィールド6はi−nodeと
最終アクセス日時の情報を持ち、更にポインタによりリ
ンクされたアクセス回数フィールド8がつくられる。こ
のアクセス回数フィールドに回数が加算されていきオー
バーフローする場合は、アクセス回数フィールドのポイ
ンタの指すオーバーフロー用のアクセス回数フィールド
10がつくられる。このオーバーフロー用のアクセス回
数フィールドは、ポインタにより次々にリンクすること
により、論理的に無限大の回数のカウントが可能であ
る。
If, for example, this file accesses another file, another file access record 4 is created, and at the same time, its pointer points to another file access field 6 to be created next. The other file access field 6 has information on the i-node and the last access date and time, and an access frequency field 8 linked by a pointer is created. When the number of times is added to this access number field and overflow occurs, the access number field 10 for overflow pointed by the pointer of the access number field is created. The access count field for overflow can logically count an infinite number of times by linking pointers one after another.

【0009】あるファイルが別のファイルによりアクセ
スされた時には、同様に、他ファイル被アクセスレコー
ド5、他ファイル被アクセスフィールド7がつくられ、
アクセス回数フィールド及び、オーバーフロー用アクセ
ス回数フィールドにより、論理的に無限大の回数のカウ
ントが可能である。
When one file is accessed by another file, another file accessed record 5 and another file accessed field 7 are similarly created,
A logically infinite number of times can be counted by the access frequency field and the overflow access frequency field.

【0010】以上のように、この実施例は、ポインタを
用いた可変長ファイルレコードにより、どのファイルか
らどのファイルへアクセスされたか/したかを管理する
ファイルシステム方式を説明した。また、ファイルレコ
ードの拡張フィールドを必要個数分リンクすることによ
って実現される可変長ファイルレコード方式を説明し
た。また、アクセス回数フィールドにフロー用アクセス
フィールドをリンクすることによって論理的に無限大回
数の記録を可能とする方式を説明した。また、他ファイ
ルからのアクセスと他ファイルへのアクセスを両方とも
自ファイルレコードで管理する方式を説明した。さら
に、他ファイルへ/他ファイルからのアクセス情報とし
て、i−nodeや最終アクセス日時を記録する方式を
説明した。
As described above, this embodiment has explained the file system method for managing which file is accessed and which file is accessed by the variable length file record using the pointer. Also, the variable length file record method realized by linking the required number of extension fields of the file record has been described. Also, a method has been described in which an infinite number of times of recording is logically possible by linking the access field for flow to the access number field. Moreover, the method of managing both the access from the other file and the access to the other file by the own file record was explained. Further, the method of recording the i-node and the last access date and time as the access information to / from another file has been described.

【0011】以上のように、本実施例のファイル管理シ
ステムによれば、拡張の可能なファイルレコードにより
レコードをポインタでつなぎ、ファイル間の相互に依存
する情報を保持することができる。従って、この実施例
によれば、どのファイルからどのファイルをどの程度ア
クセスしたか/されたかの依存関係をファイルシステム
で管理し、ファイルシステムの信頼性、保守性向上に役
立てることができる。例えば、この実施例におけるファ
イルレコードは、ファイルの属性情報として、他のファ
イルへのアクセス情報、および他のファイルからのアク
セス情報を保持し、これをファイルシステムが管理する
ことによって、不用意にファイルを消す危険性を減じる
ことができる。また、どのファイルが必要であるかの情
報の提示ができるなどのサービス機能としても利用でき
る。
As described above, according to the file management system of this embodiment, it is possible to connect records with pointers by means of expandable file records and hold mutually dependent information between files. Therefore, according to this embodiment, it is possible to manage the dependency relation of which file is accessed and to what extent from which file by the file system, and it is possible to improve the reliability and maintainability of the file system. For example, the file record in this embodiment holds access information to other files and access information from other files as the attribute information of the file, and the file system manages this to inadvertently file The risk of turning off can be reduced. Also, it can be used as a service function such as presenting information about which file is necessary.

【0012】実施例2.実施例1のファイル管理システ
ムの他ファイルアクセスフィールド及び、他ファイル被
アクセスフィールドの最終アクセス日時をセレクトし
て、ファイルの使用状況を調査し、ファイルの消去の際
の資料を作成することができる。
Example 2. By selecting the last access date and time of the other file access field and the other file accessed field of the file management system of the first embodiment, it is possible to investigate the usage status of the file and create the data for erasing the file.

【0013】実施例3.実施例1では、ファイル間依存
関係情報の例として、アクセス回数を記録する例を例示
したが、他の例たとえば、あるファイルからあるファイ
ルをアクセスした際使用されているため待ちに入った回
数と時間を管理するなどにも応用できる。
Embodiment 3. In the first embodiment, the number of times of access is recorded as an example of the inter-file dependency information, but another example, for example, the number of times of waiting because it is used when a certain file is accessed from a certain file, It can also be applied to manage time.

【0014】[0014]

【発明の効果】以上のようにこの発明によれば、ファイ
ル間の相互依存関係を参照することによりファイルの移
動や削除、または破壊などで実行不能になるという確率
を低くするチェック機能として利用できるファイル管理
システムを得ることができる。
As described above, according to the present invention, by referring to the interdependency between files, it can be used as a check function for reducing the probability that the files cannot be executed due to movement, deletion, or destruction. You can get a file management system.

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

【図1】この発明の実施例1によるファイル管理システ
ムの全体構成図である。
FIG. 1 is an overall configuration diagram of a file management system according to a first embodiment of the present invention.

【図2】従来のファイル管理システムの構成を示す図で
ある。
FIG. 2 is a diagram showing a configuration of a conventional file management system.

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

1 ファイルレコード 2 ファイルデータ領域 3 ファイルレコードの拡張フィールド 4 他ファイルアクセスレコード 5 他ファイル被アクセスレコード 6 他ファイルアクセスフィールド 7 他ファイル被アクセスフィールド 8,9 アクセス回数フィールド 1 file record 2 file data area 3 file record extension field 4 other file access record 5 other file accessed record 6 other file access field 7 other file accessed field 8, 9 access count field

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 以下の要素を有するファイル管理システ
ム (a)ファイルのデータを格納するファイルデータ領
域、(b)上記ファイルデータ領域により保持されるデ
ータの属性情報を保持するファイル属性情報フィール
ド、(c)上記ファイル属性情報フィールドよりリンク
されファイル間の依存関係の情報を記録する依存関係情
報領域。
1. A file management system having the following elements: (a) a file data area for storing file data; (b) a file attribute information field for holding attribute information of data held by the file data area; c) A dependency relationship information area linked with the file attribute information field to record information on dependency relationships between files.
JP4192109A 1992-07-20 1992-07-20 File control system Pending JPH0635779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4192109A JPH0635779A (en) 1992-07-20 1992-07-20 File control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4192109A JPH0635779A (en) 1992-07-20 1992-07-20 File control system

Publications (1)

Publication Number Publication Date
JPH0635779A true JPH0635779A (en) 1994-02-10

Family

ID=16285815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4192109A Pending JPH0635779A (en) 1992-07-20 1992-07-20 File control system

Country Status (1)

Country Link
JP (1) JPH0635779A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11219282A (en) * 1998-01-30 1999-08-10 Nec Software Chubu Ltd Computer program management method and computer system
US6192555B1 (en) 1998-07-02 2001-02-27 Togo Seisakusyo Corporation Hose clip of the self-holding type
JP2005275664A (en) * 2004-03-24 2005-10-06 Fuji Xerox Co Ltd Uninstallation system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11219282A (en) * 1998-01-30 1999-08-10 Nec Software Chubu Ltd Computer program management method and computer system
US6192555B1 (en) 1998-07-02 2001-02-27 Togo Seisakusyo Corporation Hose clip of the self-holding type
JP2005275664A (en) * 2004-03-24 2005-10-06 Fuji Xerox Co Ltd Uninstallation system

Similar Documents

Publication Publication Date Title
US8135677B2 (en) File management system and method
US6247149B1 (en) Distributed diagnostic logging system
JP3545428B2 (en) Dynamic file moving method and system
US8417673B2 (en) Method, system, and program for retaining versions of files
US5432928A (en) Updating objects stored in a permanent container while preserving logical contiguity
CA2212235A1 (en) Method and apparatus for a physical storage architecture for a shared file environment
US7240172B2 (en) Snapshot by deferred propagation
US7251808B2 (en) Graphical debugger with loadmap display manager and custom record display manager displaying user selected customized records from bound program objects
JP2004528646A (en) File archive
US20030105780A1 (en) File system, control method, and program
JPH0635779A (en) File control system
US8909875B1 (en) Methods and apparatus for storing a new version of an object on a content addressable storage system
US7693883B2 (en) Online data volume deletion
JPH0728833A (en) Information retrieving device
JPH09244933A (en) Method and device for backing up data base
JPH05113920A (en) Method and device for managing file
JP3063664B2 (en) Data file monitoring system
JPH04125743A (en) Method for managing validity term of file by file name and its data processor
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JP2000148548A (en) Unnecessary record deleting device
JPS58114149A (en) Electronic filing system
JP2752785B2 (en) Dynamic operating environment change method
JPH06290095A (en) File managing device
JPH05181729A (en) File managing system
US8010741B1 (en) Methods and apparatus for controlling migration of content