Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3489153B2 - File system - Google Patents
[go: Go Back, main page]

JP3489153B2 - File system - Google Patents

File system

Info

Publication number
JP3489153B2
JP3489153B2 JP26926193A JP26926193A JP3489153B2 JP 3489153 B2 JP3489153 B2 JP 3489153B2 JP 26926193 A JP26926193 A JP 26926193A JP 26926193 A JP26926193 A JP 26926193A JP 3489153 B2 JP3489153 B2 JP 3489153B2
Authority
JP
Japan
Prior art keywords
attribute
file
extended
identifier
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.)
Expired - Lifetime
Application number
JP26926193A
Other languages
Japanese (ja)
Other versions
JPH07121414A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP26926193A priority Critical patent/JP3489153B2/en
Publication of JPH07121414A publication Critical patent/JPH07121414A/en
Application granted granted Critical
Publication of JP3489153B2 publication Critical patent/JP3489153B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ドキュメントデータを
属性とともに保持したファイルを取り出し、ドキュメン
トデータを属性とともにファイルとして格納するファイ
ルシステムに関し、特に動的に該属性の追加を可能とす
るファイルシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file system which takes out a file holding document data together with attributes and stores the document data together with attributes as a file, and more particularly to a file system capable of dynamically adding the attributes. .

【0002】[0002]

【従来の技術】従来、ファイルシステムは、ドキュメン
トデータに対応する属性を持たせ、これをファイル単位
として管理されていた。
2. Description of the Related Art Conventionally, a file system has been provided with an attribute corresponding to document data, and this has been managed as a file unit.

【0003】ここで、属性とは、ファイル名、作成日
時、変更日時等のファイルに関する情報であり、ドキュ
メントデータAおよびドキュメントデータAAを、それ
ぞれに対応するファイル名の属性「a」および属性「a
a」で識別して管理するものである。また、ドキュメン
トデータAAがドキュメントデータAを一部変更したド
キュメントデータである場合は、それぞれの変更日時の
属性「1993/10/20」および属性「1993/10/22」をもとに
新しいドキュメントデータを識別して管理するものであ
る。
Here, the attribute is information about a file such as a file name, a creation date and time, and a modification date and time, and the document data A and the document data AA have the file name attribute "a" and the attribute "a", respectively.
It is managed by being identified by "a". If the document data AA is the document data obtained by partially modifying the document data A, new document data is obtained based on the attribute “1993/10/20” and the attribute “1993/10/22” of each modification date and time. To identify and manage.

【0004】ところで、一般にファイルシステムでは、
ユーザが使用する属性はファイルシステムに固有のもの
であった。
Generally, in a file system,
The attributes used by the user were specific to the file system.

【0005】[0005]

【発明が解決しようとする課題】前述したように、従来
のファイルシステムでは、通常よく用いられるような属
性が設定され、この属性はファイルシステムに固有のも
のであり、新たなアプリケーションにより該ファイルシ
ステムを用いる場合の特殊な属性は該アプリケーション
自体が設定し、独自に管理していた。
As described above, in the conventional file system, an attribute that is usually used is set, and this attribute is unique to the file system. The special attribute when using is set by the application itself and managed independently.

【0006】このため、ファイルシステム自体が有する
検索機能等を有効に用いることができず、ファイルシス
テムのもつ機能の有効利用がなされていないという問題
点があった。
Therefore, there is a problem in that the search function or the like of the file system itself cannot be effectively used, and the function of the file system is not effectively used.

【0007】また、ファイルシステム自体がもつ、属性
を変更しようとする場合、既に管理にファイル全てに対
して、該変更する属性に適合させる変換作業を必要とす
る。
In addition, when the attributes of the file system itself are to be changed, it is necessary to manage the conversion of all the files to the changed attributes.

【0008】この場合の変換作業には、多大な時間を要
するとともに、この変換作業の間、該ファイルシステム
の使用は中断され、該ファイルシステムを有効利用する
ことができないという問題点があった。
The conversion work in this case takes a lot of time, and the use of the file system is interrupted during the conversion work, so that the file system cannot be effectively used.

【0009】そこで、本発明はかかる問題点を除去し、
ファイルシステムを使用するアプリケーションにかかる
負担を軽減するとともに、新規属性の追加に伴う該ファ
イルシステムの中断時間をなくし、該ファイルシステム
の運用中においても新規属性の追加が可能となり、該フ
ァイルシステムを柔軟かつ有効に利用することができる
ファイルシステムを提供することを目的とする。
Therefore, the present invention eliminates such problems,
The load on the application that uses the file system is reduced, the interruption time of the file system due to the addition of the new attribute is eliminated, and the new attribute can be added even during the operation of the file system. The purpose of the present invention is to provide a file system that can be effectively used.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、ファイルが格納されるファイル
格納手段と、属性識別子に値を対応させた属性情報を保
持する属性保持手段と、前記ファイル格納手段のファイ
ルと前記属性保持手段が保持する前記属性情報とを関連
つけて管理するファイル属性管理手段と、ファイルの属
性読み出しに際して前記属性保持手段を属性識別子で検
索し該属性識別子がない場合に前記属性保持手段に属性
の登録処理を行う属性制御手段とを具備したことを特徴
とする。また、請求項2の発明は、ファイルが格納され
るファイル格納手段と、属性識別子に値を対応させた属
性情報を保持する属性保持手段と、属性識別子に属性名
および型を対応させた属性管理情報を保持する属性管理
情報保持手段と、前記ファイル格納手段のファイルと前
記属性保持手段が保持する前記属性情報と前記属性管理
情報保持手段が保持する前記属性管理情報とを関連付け
て管理するファイル属性管理手段と、ファイルの属性読
み出しに際して前記属性保持手段を属性識別子で検索し
該属性識別子がなく、かつ前記属性管理情報保持手段を
前記属性識別子で検索し該属性識別子がある場合に、前
記属性保持手段に登録処理を行う属性制御手段とを具備
したことを特徴とする。
In order to achieve the above object, the invention of claim 1 comprises a file storing means for storing a file and an attribute holding means for holding attribute information in which a value corresponds to an attribute identifier. A file attribute management means for managing the file of the file storage means and the attribute information held by the attribute holding means in association with each other; If there is no attribute, the attribute holding means is provided with attribute control means for performing attribute registration processing. According to the invention of claim 2, a file storage means for storing a file, an attribute holding means for holding attribute information in which a value corresponds to an attribute identifier, and an attribute management in which an attribute name and a type correspond to the attribute identifier. An attribute management information holding unit that holds information, a file attribute that manages the file of the file storage unit, the attribute information held by the attribute holding unit, and the attribute management information held by the attribute management information holding unit in association with each other When the management means and the attribute holding means are not searched for the attribute identifier when reading the attribute of the file and the attribute management information holding means is searched for by the attribute identifier and the attribute identifier is present, the attribute holding is held The means is provided with an attribute control means for performing registration processing.

【0011】[0011]

【作用】本願請求項1の発明では、ファイル格納手段
が、ファイルを格納し、属性保持手段が、属性識別子に
値を対応させた属性情報を保持し、ファイル属性管理手
段が、上記ファイル格納手段のファイルと上記属性保持
手段が保持する上記属性情報とを関連つけて管理し、属
性制御手段が、ファイルの属性読み出しに際して上記属
性保持手段を属性識別子で検索し該属性識別子がない場
合に前記属性保持手段に属性の登録処理を行うようにし
ている。また、本願請求項2の発明は、ファイル格納手
段が、ファイルを格納し、属性保持手段が、属性識別子
に値を対応させた属性情報を保持し、属性管理情報保持
手段が、属性識別子に属性名および型を対応させた属性
管理情報を保持し、ファイル属性管理手段が、上記ファ
イル格納手段のファイルと上記属性保持手段が保持する
上記属性情報と上記属性管理情報保持手段が保持する上
記属性管理情報とを関連付けて管理し、属性制御手段
が、ファイルの属性読み出しに際して上記属性保持手段
を属性識別子で検索し該属性識別子がなく、かつ上記属
性管理情報保持手段を上記属性識別子で検索し該属性識
別子がある場合に、上記属性保持手段に登録処理を行う
ようにしている。
According to the invention of claim 1, the file storage means stores the file, the attribute holding means holds the attribute information in which the attribute identifier is associated with a value, and the file attribute management means is the file storage means. Of the file and the attribute information held by the attribute holding means are managed in association with each other, and the attribute control means searches the attribute holding means with an attribute identifier when reading the attribute of the file, and if the attribute identifier does not exist, the attribute is held. Attribute registration processing is performed in the holding means. According to the invention of claim 2, the file storing means stores the file, the attribute holding means holds the attribute information in which the attribute identifier is associated with a value, and the attribute management information holding means holds the attribute in the attribute identifier. The attribute management information holding the name and the type in correspondence is held, and the file attribute management means holds the file of the file storage means, the attribute information held by the attribute holding means, and the attribute management held by the attribute management information holding means. The information is managed in association with the information, and the attribute control unit searches the attribute holding unit with the attribute identifier when reading the attribute of the file and does not have the attribute identifier, and the attribute management information holding unit searches with the attribute identifier to search the attribute. When there is an identifier, the attribute holding means performs the registration process.

【0012】これにより、ファイルシステムを中断させ
ず、しかもユーザによる登録のための変換作業を必要と
せずに新規な属性を追加することができる。
As a result, a new attribute can be added without interrupting the file system and without requiring conversion work for registration by the user.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1は、本発明の一実施例であるファイル
システムの構成を示す図である。
FIG. 1 is a diagram showing the configuration of a file system which is an embodiment of the present invention.

【0015】図1において、ファイルシステムは、大き
く格納部1と属性制御部2と指示部3から構成される。
In FIG. 1, the file system is roughly composed of a storage unit 1, an attribute control unit 2 and an instruction unit 3.

【0016】格納部1は、ドキュメントデータ等のファ
イルが格納されるファイル格納部4、ユーザが自由に拡
張することができる拡張属性の管理情報を拡張属性識別
子5aと拡張属性管理情報5bとを対応づけた管理情報
として保持する拡張属性管理情報保持部5、この拡張属
性を保持する拡張属性保持部6、およびファイル格納部
4のファイルと拡張属性管理情報保持部5が保持する管
理情報と拡張属性保持部6が保持する拡張属性とを関連
づけて管理するファイル拡張属性管理部7を有する。
The storage unit 1 stores a file such as document data in a file storage unit 4 and manages extended attribute management information that can be freely extended by a user by using the extended attribute identifier 5a and the extended attribute management information 5b. The extended attribute management information holding unit 5 that holds the attached management information, the extended attribute holding unit 6 that holds the extended attribute, and the management information and the extended attribute that the file and extended attribute management information holding unit 5 in the file storage unit 4 hold The file extension attribute management unit 7 manages the extension attributes held by the holding unit 6 in association with each other.

【0017】ここで、本実施例においては、属性を基本
属性と拡張属性に分けて管理している。基本属性とはフ
ァイルシステムが初期状態として保持する基本的な属性
であり、拡張属性とはユーザが新規に追加することがで
きる属性である。
Here, in this embodiment, the attributes are managed by being divided into basic attributes and extended attributes. The basic attributes are basic attributes held by the file system in the initial state, and the extended attributes are attributes that can be newly added by the user.

【0018】属性制御部2は、指示部3からの指示をも
とにファイルの属性をアクセスするファイル属性アクセ
ス部11、基本属性をアクセスする基本属性アクセス部
8、拡張属性を検索して指示された拡張属性が格納部1
に格納されているか否かを判断して格納されていない場
合は、拡張属性登録部9に該拡張属性の登録を依頼する
拡張属性検索部10、および拡張属性の登録処理を行う
拡張属性登録部9を有している。
The attribute control unit 2 is instructed by searching a file attribute access unit 11 for accessing a file attribute, a basic attribute access unit 8 for accessing a basic attribute, and an extended attribute based on an instruction from the instruction unit 3. Expanded attributes are stored in storage unit 1
If not stored, the extended attribute registration unit 9 requests the extended attribute registration unit 9 to register the extended attribute, and the extended attribute registration unit performs the extended attribute registration process. Have nine.

【0019】次に、格納部1の各部におけるファイルお
よびその属性の格納状態について説明する。
Next, the storage state of files and their attributes in each unit of the storage unit 1 will be described.

【0020】図2は、ファイル格納部4のファイルの構
成を示す図である。
FIG. 2 is a diagram showing the structure of files in the file storage unit 4.

【0021】図2において、それぞれのファイルは、フ
ァイル識別子、基本属性、ドキュメントデータである電
子文書からなる。ここで、ファイル識別子FID1、基
本属性A1、および電子文書D1は、それぞれファイル
(1)のファイル識別子、基本属性、および電子文書で
あり、ファイル識別子FID2、基本属性A2、および
電子文書D2は、それぞれファイル(2)のファイル識
別子、基本属性、および電子文書である。このようにし
て、複数のファイルは、連続してファイル格納部4に格
納されており、このファイル格納部4においては、基本
属性のみが属性として格納されている。
In FIG. 2, each file is composed of a file identifier, basic attributes, and an electronic document which is document data. Here, the file identifier FID1, the basic attribute A1, and the electronic document D1 are the file identifier, the basic attribute, and the electronic document of the file (1), respectively, and the file identifier FID2, the basic attribute A2, and the electronic document D2 are respectively The file identifier (2), basic attributes, and electronic document. In this way, a plurality of files are successively stored in the file storage unit 4, and in this file storage unit 4, only basic attributes are stored as attributes.

【0022】図3は、ファイル拡張属性管理部7の管理
情報の構成を示す図である。
FIG. 3 is a diagram showing the structure of the management information of the file extension attribute management unit 7.

【0023】図3(a)は、管理情報のフォーマットを
示し、1つの管理情報は、ファイル格納部4に格納され
ているファイルのファイル識別子、拡張属性管理情報保
持部5の識別子、拡張属性保持部6の識別子および次の
アドレスから構成されている。図3(b)は、具体的な
管理情報の構成を示しており、1つの管理情報M1は、
ファイル識別子FID1、拡張属性管理情報保持部5の
識別子MID1、拡張属性保持部6の識別子EID1、
次の1つの管理情報M2の先頭アドレス「0010」か
ら順次構成される。そして、次の管理情報M2は、ファ
イル識別子FID2、拡張属性管理情報保持部5の識別
子MID2、拡張属性保持部6の識別子EID2、次の
1つの管理情報M3の先頭アドレス「0020」から順
次構成される。次の1つの管理情報M3は、ファイル識
別子FID3、拡張属性管理情報保持部5の識別子MI
D1、拡張属性保持部6の識別子EID3、および次の
1つの管理情報M4の先頭アドレス「0030」から順
次構成される。このようにして、管理情報は、図2に示
したファイル格納部4に格納されるファイルのファイル
識別子(FID1等)に対応するファイル識別子(FI
D1等)と、拡張属性管理情報保持部5に対する識別子
(MID1等)と、拡張属性保持部6に対する識別子
(EID1等)とが関連することを示す1つの管理情報
(M1等)とし、この1つの管理情報(M1等)は、次
の1つの管理情報のアドレスによりリスト構成をなして
いる。
FIG. 3A shows a format of management information. One management information is a file identifier of a file stored in the file storage unit 4, an identifier of the extended attribute management information holding unit 5, and an extended attribute holding. It is composed of the identifier of the part 6 and the following address. FIG. 3B shows a specific configuration of management information, and one management information M1 is
File identifier FID1, identifier MID1 of extended attribute management information holding unit 5, identifier EID1 of extended attribute holding unit 6,
The next management information M2 is sequentially constructed from the start address "0010". Then, the next management information M2 is composed of the file identifier FID2, the identifier MID2 of the extended attribute management information holding unit 5, the identifier EID2 of the extended attribute holding unit 6, and the start address "0020" of the next one management information M3. It The next piece of management information M3 includes a file identifier FID3 and an identifier MI of the extended attribute management information holding unit 5.
D1 and the identifier EID3 of the extended attribute holding unit 6, and the start address "0030" of the next management information M4 are sequentially configured. In this way, the management information is stored in the file storage unit 4 shown in FIG.
D1), the identifier (MID1 etc.) for the extended attribute management information holding unit 5, and the identifier (EID1 etc.) for the extended attribute holding unit 6 are associated as one management information (M1 etc.). One management information (M1 and the like) has a list structure with the address of the next one management information.

【0024】図4は、拡張属性管理情報保持部5の拡張
属性管理情報の構成を示す図である。
FIG. 4 is a diagram showing the structure of the extended attribute management information in the extended attribute management information holding section 5.

【0025】図4(a)は、拡張属性管理情報のフォー
マットを示し、拡張属性管理情報は、拡張属性識別子、
属性名、属性の値を保持する領域のサイズの計算や計算
機上での値の解釈のために使用する属性の型、属性初期
値、およびその他の属性管理情報の先頭アドレスから構
成される。
FIG. 4A shows the format of the extended attribute management information. The extended attribute management information is the extended attribute identifier,
It is composed of the attribute name, the type of the attribute used to calculate the size of the area holding the attribute value and interpret the value on the computer, the attribute initial value, and the start address of other attribute management information.

【0026】図4(b)は、具体的な拡張属性管理情報
を示しており、拡張属性管理情報MM1を構成する1つ
の拡張属性管理情報EM1は、拡張属性識別子として
「EXID1」、属性名として「管理者」、型として
「文字列」、属性初期値として「miyawaki」、
次のアドレスとして「0110」とする構成であり、こ
の1つの拡張属性管理情報EM1の次ののアドレスが示
す1つの拡張属性管理情報EM2は、拡張属性識別子と
して「EXID2」、属性名として「サイズ」、型とし
て「数字」、属性初期値はないので「0」、そして、次
の拡張属性管理情報はないので「0」が設定されてい
る。
FIG. 4B shows specific extended attribute management information. One extended attribute management information EM1 forming the extended attribute management information MM1 is "EXID1" as an extended attribute identifier and an attribute name. "Administrator", type "character string", attribute initial value "miyawaki",
The configuration is such that the next address is "0110", and one extended attribute management information EM2 indicated by the next address of this one extended attribute management information EM1 has "EXID2" as the extended attribute identifier and "size" as the attribute name. , “Number” as the type, “0” because there is no attribute initial value, and “0” is set because there is no next extended attribute management information.

【0027】このようにして、拡張属性管理情報MM1
は、1つの拡張属性管理情報EM1の次のアドレスによ
り次の1つの拡張属性管理情報EM2が接続されたリス
ト構造となっている。ここで、次のアドレスが「0」で
ある場合は、上述したように次の1つの拡張属性管理情
報がない、すなわちリストの終端を示しており、「0」
のアドレスはファイルシステム上に存在しないものとな
っている。
In this way, the extended attribute management information MM1
Has a list structure in which one next extended attribute management information EM2 is connected by the next address of one extended attribute management information EM1. If the next address is "0", there is no next extended attribute management information as described above, that is, it indicates the end of the list, and "0".
The address of does not exist on the file system.

【0028】このリスト構造の拡張属性管理情報MM1
〜MMnは、図3に示した拡張属性管理情報保持部5の
識別子(MID1等)に対応している。例えば、図3に
示した識別子MID1は、ファイル識別子FID1をも
つファイルとファイル識別子FID3をもつファイルと
が共有しており、この識別子MID1が示す拡張属性管
理情報が、図4に示す拡張属性管理情報MM1として格
納されている。また、図3に示すように識別子MID2
は、ファイル識別子FID2をもつファイルに対応し、
この識別子MID2が示す拡張属性管理情報は、図4に
示す拡張属性管理情報MM2として格納されている。す
なわち、拡張属性管理情報保持部5は、ファイル拡張属
性管理部7内の識別子(MID1等)のそれぞれに対応
するリスト構造の拡張属性管理情報MM1〜MMnとし
て格納されている。
Extended attribute management information MM1 of this list structure
To MMn correspond to the identifiers (MID1 and the like) of the extended attribute management information holding unit 5 shown in FIG. For example, the identifier MID1 shown in FIG. 3 is shared by the file having the file identifier FID1 and the file having the file identifier FID3, and the extended attribute management information indicated by the identifier MID1 is the extended attribute management information shown in FIG. It is stored as MM1. Further, as shown in FIG. 3, the identifier MID2
Corresponds to the file with the file identifier FID2,
The extended attribute management information indicated by this identifier MID2 is stored as the extended attribute management information MM2 shown in FIG. That is, the extended attribute management information holding unit 5 is stored as the extended attribute management information MM1 to MMn having a list structure corresponding to each of the identifiers (MID1 etc.) in the file extended attribute management unit 7.

【0029】図5は、拡張属性保持部6の拡張属性情報
の構成を示す図である。
FIG. 5 is a diagram showing the structure of the extended attribute information in the extended attribute holding unit 6.

【0030】図5(a)は、拡張属性情報のフォーマッ
トを示し、拡張属性情報は、拡張属性識別子、属性値、
および他の拡張属性情報の先頭アドレスから構成され
る。
FIG. 5A shows the format of the extended attribute information, which includes the extended attribute identifier, the attribute value,
And the start address of other extended attribute information.

【0031】図5(b)は、具体的な拡張属性情報を示
しており、拡張属性情報V1を構成する1つの拡張属性
情報EV1は、拡張属性識別子として「EXD1」、属
性値として「java」、次のアドレスとして「021
0」とした構成であり、この1つの拡張属性情報EV1
の次のアドレスが示す1つの拡張属性情報EV2は、拡
張属性識別子として「EXID2」、属性値として「1
000」、次の拡張属性情報がないので次のアドレスは
「0」と設定されている。
FIG. 5B shows concrete extended attribute information. One extended attribute information EV1 forming the extended attribute information V1 is "EXD1" as an extended attribute identifier and "java" as an attribute value. , As the next address "021
0 ”, and this one extended attribute information EV1
One extended attribute information EV2 indicated by the address next to is "EXID2" as the extended attribute identifier and "1" as the attribute value.
000 "and there is no next extended attribute information, so the next address is set to" 0 ".

【0032】このように、拡張属性情報V1は、1つの
拡張属性情報EV1の次のアドレスにより次の拡張属性
情報EV2が接続されたリスト構造となっている。
As described above, the extended attribute information V1 has a list structure in which the next extended attribute information EV2 is connected by the address next to one extended attribute information EV1.

【0033】このリスト構造の拡張属性情報V1〜Vn
は、図3に示した拡張属性保持部6の識別子(EID1
等)に対応している。例えば、図3に示した識別子EI
D1は、ファイル識別子FID1をもつファイル(1)
に対応し、この識別子EIDが示す拡張属性情報は、図
5に示す拡張属性情報V1として格納されている。すな
わち、拡張属性保持部6は、ファイル拡張属性管理7内
の識別子(EID1等)のそれぞれに対応するリスト構
造の拡張属性情報V1〜Vnとして格納されている。
Extended attribute information V1 to Vn of this list structure
Is an identifier (EID1 of the extended attribute holding unit 6 shown in FIG.
Etc.). For example, the identifier EI shown in FIG.
D1 is a file (1) having a file identifier FID1
The extended attribute information indicated by this identifier EID is stored as extended attribute information V1 shown in FIG. That is, the extended attribute holding unit 6 is stored as the extended attribute information V1 to Vn of the list structure corresponding to each of the identifiers (EID1 and the like) in the file extended attribute management 7.

【0034】なお、図4および図5に示した拡張属性識
別子EXID1,EXID2は同一の識別子であり、そ
れぞれ対応する。
The extended attribute identifiers EXID1 and EXID2 shown in FIGS. 4 and 5 are the same identifier and correspond to each other.

【0035】そして、上述したようにファイル拡張属性
管理部7が、ファイル格納部4のファイルと、拡張属性
管理情報保持部5の拡張属性管理情報と、拡張属性保持
部6の拡張属性情報との関係を管理情報により管理して
いる。また、拡張属性管理情報と拡張属性情報とは、拡
張属性識別子により対応づけられている。
Then, as described above, the file extended attribute management unit 7 stores the file in the file storage unit 4, the extended attribute management information in the extended attribute management information holding unit 5, and the extended attribute information in the extended attribute holding unit 6. The relationship is managed by management information. Further, the extended attribute management information and the extended attribute information are associated with each other by the extended attribute identifier.

【0036】次に、属性制御部2の動作をフローチャー
トに基づいて説明する。
Next, the operation of the attribute controller 2 will be described with reference to the flowchart.

【0037】図6は、属性制御部2の動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing the operation of the attribute controller 2.

【0038】図6において、ファイル属性アクセス部1
1は、指示部3から入力された属性のタイプが基本属性
か拡張属性かを判断する(ステップ100)。
In FIG. 6, the file attribute access unit 1
1 determines whether the type of attribute input from the instruction unit 3 is a basic attribute or an extended attribute (step 100).

【0039】ステップ100において、拡張属性である
と判断された場合、ファイル属性アクセス部11は、フ
ァイル拡張属性管理部7からこのファイルの拡張属性管
理情報/拡張属性情報の識別子(MID,EID)を取
得する(ステップ101)。そして、操作のタイプが属
性登録であるか属性読出であるかを判断し(ステップ1
02)、属性登録の場合は、拡張属性登録部9が該属性
値の登録設定を行い(ステップ103)、この登録設定
した値を指示部3に返す(ステップ105)。一方、ス
テップ102において、属性読出の場合は、拡張属性検
索部10が該属性値を取得し(ステップ104)、その
取得した値を指示部105に返す(ステップ105)。
When it is determined in step 100 that the file has the extended attribute, the file attribute access unit 11 obtains the extended attribute management information / extended attribute information identifier (MID, EID) of this file from the file extended attribute management unit 7. It is acquired (step 101). Then, it is determined whether the operation type is attribute registration or attribute reading (step 1
02) In the case of attribute registration, the extended attribute registration unit 9 performs registration setting of the attribute value (step 103), and returns the registered and set value to the instruction unit 3 (step 105). On the other hand, in step 102, in the case of attribute reading, the extended attribute search unit 10 acquires the attribute value (step 104) and returns the acquired value to the instruction unit 105 (step 105).

【0040】一方、ステップ100において、基本属性
であると判断された場合、ファイル属性アクセス部11
は、基本属性アクセス部8により指示された基本属性を
ファイル格納部4から取得し(ステップ106)、その
値を指示部3に返す(ステップ105)。
On the other hand, when it is judged in step 100 that the attribute is the basic attribute, the file attribute access unit 11
Acquires the basic attribute instructed by the basic attribute access unit 8 from the file storage unit 4 (step 106) and returns the value to the instruction unit 3 (step 105).

【0041】このようにして、基本属性、拡張属性のそ
れぞれの属性値の登録、読出を行うことができる。
In this manner, the attribute values of the basic attribute and the extended attribute can be registered and read.

【0042】次に、ステップ104の拡張属性検索部1
0による属性値の検索処理をフローチャートに基づいて
説明する。
Next, the extended attribute search unit 1 in step 104
An attribute value search process based on 0 will be described with reference to a flowchart.

【0043】図7は、拡張属性検索部10の属性値検索
処理手順を示すフローチャートである。
FIG. 7 is a flow chart showing an attribute value search processing procedure of the extended attribute search unit 10.

【0044】図7において、まず拡張属性検索部10
は、拡張属性保持部6に対し、拡張属性識別子で検索処
理を行う(ステップ200)。そして、この検索結果を
もとに拡張属性識別子があったか否かを判断する(ステ
ップ201)。
In FIG. 7, first, the extended attribute search unit 10
Performs a search process on the extended attribute holding unit 6 using the extended attribute identifier (step 200). Then, it is determined whether there is an extended attribute identifier based on this search result (step 201).

【0045】ステップ201において、拡張識別子があ
った場合は、検索結果のアドレスにより格納部1にアク
セスし、属性値を取得し(ステップ202)、この取得
した属性値を返して(ステップ205)、処理を終了す
る。
If there is an extended identifier in step 201, the storage unit 1 is accessed by the address of the search result, the attribute value is acquired (step 202), and the acquired attribute value is returned (step 205), The process ends.

【0046】一方、ステップ201において、拡張識別
子がない場合は、属性登録値の指定を行わずに、拡張属
性登録部9に処理を依頼し(ステップ203)、拡張属
性登録部9からの戻り値を属性値とし(ステップ20
4)、この属性値を戻して(ステップ205)、処理を
終了する。
On the other hand, in step 201, if there is no extended identifier, the extended attribute registration unit 9 is requested to perform processing without specifying the attribute registration value (step 203), and the return value from the extended attribute registration unit 9 is returned. As an attribute value (step 20
4) Then, this attribute value is returned (step 205), and the process ends.

【0047】次に、ステップ103の拡張属性登録部9
による属性値の登録処理をフローチャートに基づいて説
明する。
Next, the extended attribute registration section 9 in step 103.
The registration process of the attribute value by will be described based on a flowchart.

【0048】図8は、拡張属性登録部9の属性値登録処
理手順を示すフローチャートである。
FIG. 8 is a flowchart showing an attribute value registration processing procedure of the extended attribute registration unit 9.

【0049】図8において、まず拡張属性登録部9は、
拡張属性保持部6に対し、拡張属性識別子で検索処理を
行う(ステップ300)。そして、この検索結果をもと
に拡張属性識別子があったか否かを判断する(ステップ
301)。
In FIG. 8, first, the extended attribute registration unit 9
The extended attribute holding unit 6 is searched by the extended attribute identifier (step 300). Then, it is determined whether or not there is an extended attribute identifier based on this search result (step 301).

【0050】ステップ301において、拡張属性識別子
があった場合は、検索結果のアドレスを拡張属性の先頭
アドレスとし(ステップ305)、ステップ306に移
行する。
If there is an extended attribute identifier in step 301, the address of the search result is set as the start address of the extended attribute (step 305), and the process proceeds to step 306.

【0051】一方、ステップ301において、拡張属性
識別子がない場合は、さらに拡張属性管理情報保持部5
に対し、拡張属性識別子で検索処理を行い(ステップ3
02)、この検索結果をもとに拡張属性識別子があった
か否かを判断し(ステップ303)、なかった場合は、
エラーである旨を戻して(ステップ313)処理を終了
し、ある場合は、さらに検索結果をもとに属性型の情報
を得て、格納部1内に領域を作成し、拡張属性識別子お
よび次のアドレスを「0」とする設定を行い、該領域の
アドレスを拡張属性の先頭アドレスとし(ステップ30
4)、ステップ306に移行する。
On the other hand, when there is no extended attribute identifier in step 301, the extended attribute management information holding unit 5 is further added.
For the extended attribute identifier (step 3
02), based on this search result, it is judged whether or not there is an extended attribute identifier (step 303).
An error is returned (step 313) and the process is terminated. If there is any, attribute type information is further obtained based on the search result, an area is created in the storage unit 1, an extended attribute identifier and Is set to "0", and the address of the area is set as the start address of the extended attribute (step 30
4) The process moves to step 306.

【0052】ステップ306において、さらに登録値を
受け取ったか否かを判断し(ステップ306)、受け取
った場合は、さらにこの属性の型はあっているか否かを
判断し(ステップ314)、あっていればステップ31
0に移行し、あっていなければエラーである旨を戻して
(ステップ315)、処理を終了する。
In step 306, it is judged whether or not the registered value is further received (step 306), and if it is received, it is further judged whether or not the type of this attribute is matched (step 314). Step 31
If it does not exist, the error is returned (step 315) and the process ends.

【0053】一方、ステップ306において、登録値を
受け取っていない場合、拡張属性管理情報保持部5に対
し、拡張属性識別子で検索し(ステップ307)、この
検索結果により登録値がなかった場合は、エラーである
旨を戻して(ステップ313)、処理を終了し、あった
場合は、属性初期値を得てこの値を登録値に設定し(ス
テップ309)、ステップ310に移行する。
On the other hand, when the registered value is not received in step 306, the extended attribute management information holding unit 5 is searched by the extended attribute identifier (step 307), and if there is no registered value as a result of this search, The error is returned (step 313) and the process ends. If there is, an attribute initial value is obtained and this value is set as a registered value (step 309), and the process proceeds to step 310.

【0054】ステップ310においては、登録値をステ
ップ304で作成した領域に設定した後、拡張属性保持
部終端における次のアドレスにこの領域のアドレスを設
定し、(ステップ311)、この設定した値を戻り値と
し(ステップ312)、処理を終了する。
In step 310, after setting the registered value in the area created in step 304, the address of this area is set to the next address at the end of the extended attribute holding unit (step 311), and this set value is set. The return value is set (step 312), and the process ends.

【0055】次に、拡張属性管理情報保持部5、拡張属
性保持部6、およびファイル拡張属性管理部7の検索処
理についてフローチャートに基づいて説明する。
Next, a search process of the extended attribute management information holding unit 5, the extended attribute holding unit 6, and the file extended attribute management unit 7 will be described based on a flowchart.

【0056】図9は、拡張属性管理情報保持部5、拡張
属性保持部6、およびファイル拡張属性管理部7に共通
する検索処理手順を示すフローチャートである。
FIG. 9 is a flow chart showing a search processing procedure common to the extended attribute management information holding unit 5, the extended attribute holding unit 6, and the file extended attribute management unit 7.

【0057】図9において、まず拡張属性管理情報保持
部5、拡張属性保持部6、あるいはファイル拡張属性管
理部7から先頭アドレスを取得する(ステップ40
0)。そして、この先頭アドレスが「0」であるか否か
を判断し(ステップ401)、「0」である場合は、識
別子がなかったことを示すアドレス「0」を返し(ステ
ップ405)、処理を終了する。
In FIG. 9, first, the start address is acquired from the extended attribute management information holding unit 5, the extended attribute holding unit 6, or the file extended attribute management unit 7 (step 40).
0). Then, it is judged whether or not this head address is "0" (step 401), and if it is "0", the address "0" indicating that there is no identifier is returned (step 405), and the processing is executed. finish.

【0058】一方、ステップ401において「0」でな
い場合は、さらに先頭アドレスにある識別子と検索の識
別子が等しいか否かを判断し(ステップ402)、等し
くない場合は、次のアドレスを得て(ステップ40
3)、ステップ401に移行し、上述した処理を繰り返
し、等しくなった場合は、識別子が一致したアドレスを
返し(ステップ404)、処理を終了する。
On the other hand, if it is not "0" in step 401, it is further judged whether the identifier at the head address and the identifier of the search are equal (step 402). If they are not equal, the next address is obtained (step 402). Step 40
3) The process shifts to step 401 and the above-mentioned processing is repeated. If they are equal to each other, the address with the matched identifier is returned (step 404) and the processing is ended.

【0059】次に、具体的な例をあげて、拡張属性管理
情報および拡張属性情報の追加処理を説明する。なお、
前提として図4および図5に示す拡張属性管理情報およ
び拡張属性情報が既に設定されているとする。
Next, the process of adding the extended attribute management information and the extended attribute information will be described with a specific example. In addition,
As a premise, it is assumed that the extended attribute management information and extended attribute information shown in FIGS. 4 and 5 have already been set.

【0060】図10は、拡張属性管理情報の追加を説明
する図であり、図11は、拡張属性情報の追加を説明す
る図である。
FIG. 10 is a diagram for explaining addition of extended attribute management information, and FIG. 11 is a diagram for explaining addition of extended attribute information.

【0061】まず図10において、図10(a)は追加
すべき拡張属性管理情報を示し、拡張属性識別子は「E
XID3」、属性名は「所属」、型は「文字列」、そし
て属性初期値は「KSP」である。そして、図10
(b)に示すように、この拡張属性管理情報をファイル
(1)に対する拡張属性として追加する処理を行うと、
拡張属性管理情報保持部5の管理情報におけるファイル
(1)のファイル識別子FID1に対応する識別子MI
D1が示す拡張属性管理情報保持部5内の拡張属性管理
情報MM1内に、追加する1つの拡張属性管理情報EM
3が1つの拡張属性管理情報EM2にリンクされる。
First, in FIG. 10, FIG. 10A shows the extended attribute management information to be added, and the extended attribute identifier is "E".
XID3 ”, the attribute name is“ affiliation ”, the type is“ character string ”, and the attribute initial value is“ KSP ”. And FIG.
As shown in (b), when this extended attribute management information is added as an extended attribute to the file (1),
The identifier MI corresponding to the file identifier FID1 of the file (1) in the management information of the extended attribute management information holding unit 5
One extended attribute management information EM to be added in the extended attribute management information MM1 in the extended attribute management information holding unit 5 indicated by D1.
3 is linked to one extended attribute management information EM2.

【0062】すなわち、1つの拡張属性管理情報EM2
の次のアドレス「0」が、1つの拡張属性管理情報EM
3の先頭アドレス「0120」の値に設定され、図10
(a)に示した拡張属性管理情報が定められたフォーマ
ットで格納される。この際、1つの拡張属性管理情報E
M3の次のアドレスに対応するものがないので、この次
のアドレスを「0」とし、リスト構造の終端であること
を示す。
That is, one extended attribute management information EM2
Next address "0" is one extended attribute management information EM
3 is set to the value of the start address “0120” of FIG.
The extended attribute management information shown in (a) is stored in a predetermined format. At this time, one extended attribute management information E
Since there is no address corresponding to the next address of M3, this next address is set to "0" to indicate the end of the list structure.

【0063】ここで、ファイル(1)に対するこの追加
した拡張属性に対する読み出しが指示された場合、この
拡張属性管理情報に対応する拡張属性情報は、拡張属性
保持部6に存在しないため(図11(a))、最初にフ
ァイル属性アクセス部11により拡張属性検索部10に
この拡張属性の読み出しが指示される。
Here, when the reading of the extended attribute added to the file (1) is instructed, the extended attribute information corresponding to the extended attribute management information does not exist in the extended attribute holding unit 6 (see FIG. a)), first, the file attribute access unit 11 instructs the extended attribute search unit 10 to read this extended attribute.

【0064】拡張属性検索部10は、拡張属性保持部6
に検索を行うがこの拡張属性は存在しないため、アドレ
ス「0」が戻り値として返される。そして、拡張属性検
索部10は、このアドレス「0」により、この拡張属性
が存在しないことを確認し、拡張属性登録部9に登録値
未指定による拡張属性の登録を指示する。
The extended attribute search unit 10 includes an extended attribute holding unit 6
However, since this extended attribute does not exist, the address "0" is returned as the return value. Then, the extended attribute search unit 10 confirms that this extended attribute does not exist from this address “0”, and instructs the extended attribute registration unit 9 to register the extended attribute without specifying the registered value.

【0065】これに対し、拡張属性登録部9は、拡張属
性管理情報保持部5から、この拡張属性の拡張属性管理
情報EM3を得て、格納部1内に図11(b)に示す拡
張属性の値に関する情報を所定のフォーマットとして書
き込んだ1つの拡張属性情報EV3を作成する。さら
に、この作成した領域の先頭アドレス「0220」を、
拡張属性保持部6の拡張属性情報V1内の1つの拡張属
性情報EV2の次のアドレスに書き込み、1つの拡張属
性情報EV3として、1つの拡張属性情報EV2にリン
クさせる。なお、追加した1つの拡張属性情報EV3の
次のアドレスを「0」に設定し、次の1つの拡張属性情
報がないことを示す。これにより、1つの拡張属性EV
3を含む拡張属性情報V1に変更される(図11
(d))。
On the other hand, the extended attribute registration unit 9 obtains the extended attribute management information EM3 of this extended attribute from the extended attribute management information holding unit 5, and stores it in the storage unit 1 as shown in FIG. One extended attribute information EV3 in which the information regarding the value of is written in a predetermined format is created. Furthermore, the start address "0220" of this created area is
The extended attribute information V1 in the extended attribute holding unit 6 is written to the address next to the one extended attribute information EV2, and one extended attribute information EV3 is linked to one extended attribute information EV2. The address next to the added extended attribute information EV3 is set to "0" to indicate that there is no next extended attribute information. As a result, one extended attribute EV
11 is changed to the extended attribute information V1 including 3 (FIG. 11).
(D)).

【0066】これにより、追加すべき新規拡張属性は、
ファイル(1)の拡張属性として登録される。拡張属性
登録部9は、この登録値を戻り値として返し、拡張属性
検索部10は、その値を属性値として返し、属性値の読
出指示は終了する。
As a result, the new extended attribute to be added is
It is registered as an extended attribute of file (1). The extended attribute registration unit 9 returns the registered value as a return value, the extended attribute search unit 10 returns the value as an attribute value, and the reading instruction of the attribute value is completed.

【0067】この結果、新規属性の実行時追加が行わ
れ、属性読出の値として拡張属性管理情報に記述されて
いる属性初期値が返される。
As a result, a new attribute is added at runtime, and the attribute initial value described in the extended attribute management information is returned as the attribute read value.

【0068】その後、拡張属性保持部6には、拡張属性
が登録されているので、既に定義された属性として、こ
の値の登録/読出が行われることになる。
After that, since the extended attribute is registered in the extended attribute holding unit 6, this value is registered / read as the attribute already defined.

【0069】尚、この場合拡張属性保持部6に存在しな
い属性の読出処理であったが、登録処理では、ファイル
属性アクセス部11が拡張属性登録部9に、直接、登録
指示を行うことで、同様な属性の実行時追加処理が可能
となる。この場合、指示部3から指示された値が、属性
初期値の代わりに登録値として使用されることになる。
In this case, although the reading process of the attribute that does not exist in the extended attribute holding unit 6 is performed, in the registration process, the file attribute access unit 11 directly gives the extended attribute registration unit 9 a registration instruction, It becomes possible to perform additional processing at the same time with the same attribute. In this case, the value instructed by the instruction unit 3 is used as the registered value instead of the attribute initial value.

【0070】[0070]

【発明の効果】以上詳細に説明したように、請求項1の
発明では、ファイルが格納されるファイル格納手段と、
属性識別子に値を対応させた属性情報を保持する属性保
持手段と、前記ファイル格納手段のファイルと前記属性
保持手段が保持する前記属性情報とを関連つけて管理す
るファイル属性管理手段と、ファイルの属性読み出しに
際して前記属性保持手段を属性識別子で検索し該属性識
別子がない場合に前記属性保持手段に属性の登録処理を
行う属性制御手段とを具備するようにしたため、ファイ
ルシステムの運用中においても新規属性の追加が可能と
なり、ファイルシステムの中断時間がなくなり、ファイ
ルシステムの有効利用が図れるという利点を有する。ま
た、請求項2の発明は、ファイルが格納されるファイル
格納手段と、属性識別子に値を対応させた属性情報を保
持する属性保持手段と、属性識別子に属性名および型を
対応させた属性管理情報を保持する属性管理情報保持手
段と、前記ファイル格納手段のファイルと前記属性保持
手段が保持する前記属性情報と前記属性管理情報保持手
段が保持する前記属性管理情報とを関連付けて管理する
ファイル属性管理手段と、ファイルの属性読み出しに際
して前記属性保持手段を属性識別子で検索し該属性識別
子がなく、かつ前記属性管理情報保持手段を前記属性識
別子で検索し該属性識別子がある場合に、前記属性保持
手段に登録処理を行う属性制御手段とを具備するように
したため、ファイルシステムの運用中においても新規属
性の追加が可能となり、ファイルシステムの中断時間が
なくなり、ファイルシステムの有効利用が図れるという
利点を有する。
As described above in detail, according to the first aspect of the invention, a file storing means for storing a file,
Attribute holding means for holding attribute information in which a value corresponds to an attribute identifier, file attribute management means for managing the file of the file storage means and the attribute information held by the attribute holding means in association with each other, Since the attribute holding means is searched by the attribute identifier at the time of reading the attribute and the attribute holding means performs the attribute registration processing when the attribute identifier does not exist, the new method is provided even during the operation of the file system. The attributes can be added, the file system interruption time is eliminated, and the file system can be effectively used. According to the invention of claim 2, a file storage means for storing a file, an attribute holding means for holding attribute information in which a value corresponds to an attribute identifier, and an attribute management in which an attribute name and a type correspond to the attribute identifier. An attribute management information holding unit that holds information, a file attribute that manages the file of the file storage unit, the attribute information held by the attribute holding unit, and the attribute management information held by the attribute management information holding unit in association with each other When the management means and the attribute holding means are not searched for the attribute identifier when reading the attribute of the file and the attribute management information holding means is searched for by the attribute identifier and the attribute identifier is present, the attribute holding is held Since the means is equipped with an attribute control means for performing registration processing, new attributes can be added even during operation of the file system. It eliminates the downtime of the file system has the advantage that can be effectively utilized in the file system.

【0071】また、ファイルシステムの新規属性の追加
は、該ファイルシステム全体に対して自動的に修正変更
されるため、複雑な新規属性の追加にかかる修正変更時
間が短縮されるとともに、この修正変更によるエラーも
少なくなるという利点を有する。
Further, since the addition of a new attribute of a file system is automatically corrected and changed for the entire file system, the correction and change time required for adding a complicated new attribute is shortened and the correction and change are performed. This has the advantage of reducing errors due to.

【0072】さらに、ファイルシステムの検索機能を有
効に利用して、新規属性の追加に伴う属性の修正変更処
理を行うようにしているので、このファイルシステムを
用いるアプリケーションに、新規属性の追加のための機
能を設ける必要がなく、一元的なファイル管理を行うこ
とができるという利点を有する。
Further, since the file system search function is effectively used to perform the modification / change processing of the attribute accompanying the addition of the new attribute, it is necessary to add the new attribute to the application using this file system. There is an advantage that it is possible to perform unified file management without providing the function of.

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

【図1】本発明の一実施例であるファイルシステムの構
成を示す図。
FIG. 1 is a diagram showing the configuration of a file system that is an embodiment of the present invention.

【図2】ファイル格納部4のファイルの構成を示す図。FIG. 2 is a diagram showing a configuration of files in a file storage unit 4.

【図3】ファイル拡張属性管理部7の管理情報の構成を
示す図。
FIG. 3 is a diagram showing a configuration of management information of a file extension attribute management unit 7.

【図4】拡張属性管理情報保持部5の拡張属性管理情報
の構成を示す図。
FIG. 4 is a diagram showing a configuration of extended attribute management information in an extended attribute management information holding unit 5.

【図5】拡張属性保持部6の拡張属性情報の構成を示す
図。
FIG. 5 is a diagram showing a configuration of extended attribute information in an extended attribute holding unit 6.

【図6】属性制御部2の動作を示すフローチャート。FIG. 6 is a flowchart showing the operation of the attribute control unit 2.

【図7】拡張属性検索部10の属性値検索処理手順を示
すフローチャート。
FIG. 7 is a flowchart showing an attribute value search processing procedure of the extended attribute search unit 10.

【図8】拡張属性登録部9の属性値登録処理手順を示す
フローチャート。
FIG. 8 is a flowchart showing an attribute value registration processing procedure of the extended attribute registration unit 9.

【図9】拡張属性管理情報保持部5、拡張属性保持部
6、およびファイル拡張属性管理部7に共通する検索処
理手順を示すフローチャート。
FIG. 9 is a flowchart showing a search processing procedure common to the extended attribute management information holding unit 5, the extended attribute holding unit 6, and the file extended attribute management unit 7.

【図10】拡張属性管理情報の追加を説明する図。FIG. 10 is a diagram illustrating addition of extended attribute management information.

【図11】拡張属性情報の追加を説明する図。FIG. 11 is a diagram illustrating addition of extended attribute information.

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

1 格納部 2 属性制御部 3 指示部 4 ファイ
ル格納部 5 拡張属性管理情報保持部 5a 拡張属性識別子 5b 拡張属性管理情報 6 拡張属性保持部 7 ファイル拡張属性管理部 8 基本属性アクセス部 9 拡張属性登録部 10 拡張属性検索部 11 ファイル属性アクセス部
1 storage unit 2 attribute control unit 3 instruction unit 4 file storage unit 5 extended attribute management information holding unit 5a extended attribute identifier 5b extended attribute management information 6 extended attribute holding unit 7 file extended attribute management unit 8 basic attribute access unit 9 extended attribute registration Part 10 Extended attribute search unit 11 File attribute access unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ファイルが格納されるファイル格納手段
と、 属性識別子に値を対応させた属性情報を保持する属性保
持手段と、 前記ファイル格納手段のファイルと前記属性保持手段が
保持する前記属性情報とを関連つけて管理するファイル
属性管理手段と、 ファイルの属性読み出しに際して前記属性保持手段を属
性識別子で検索し該属性識別子がない場合に前記属性保
持手段に属性の登録処理を行う属性制御手段とを具備し
たことを特徴とするファイルシステム。
1. A file storage means for storing a file, an attribute holding means for holding attribute information in which a value corresponds to an attribute identifier, a file of the file storage means, and the attribute information held by the attribute holding means. And an attribute control means for performing attribute registration processing on the attribute holding means when the attribute holding means is searched for when reading the attribute of the file and the attribute identifier does not exist. A file system comprising:
【請求項2】 ファイルが格納されるファイル格納手段
と、 属性識別子に値を対応させた属性情報を保持する属性保
持手段と、 属性識別子に属性名および型を対応させた属性管理情報
を保持する属性管理情報保持手段と、 前記ファイル格納手段のファイルと前記属性保持手段が
保持する前記属性情報と前記属性管理情報保持手段が保
持する前記属性管理情報とを関連付けて管理するファイ
ル属性管理手段と、 ファイルの属性読み出しに際して前記属性保持手段を属
性識別子で検索し該属性識別子がなく、かつ前記属性管
理情報保持手段を前記属性識別子で検索し該属性識別子
がある場合に、前記属性保持手段に登録処理を行う属性
制御手段とを具備したことを特徴とするファイルシステ
ム。
2. A file storage means for storing a file, an attribute holding means for holding attribute information in which a value corresponds to an attribute identifier, and attribute management information in which an attribute name and type correspond to an attribute identifier. Attribute management information holding means, a file attribute management means for managing the file of the file storage means, the attribute information held by the attribute holding means, and the attribute management information held by the attribute management information holding means in association with each other, When reading the attribute of the file, if the attribute holding means is searched for by the attribute identifier and the attribute management information holding means is searched for by the attribute identifier, and the attribute identifier is present, registration processing is performed in the attribute holding means A file system comprising: an attribute control unit for performing the following.
JP26926193A 1993-10-27 1993-10-27 File system Expired - Lifetime JP3489153B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26926193A JP3489153B2 (en) 1993-10-27 1993-10-27 File system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26926193A JP3489153B2 (en) 1993-10-27 1993-10-27 File system

Publications (2)

Publication Number Publication Date
JPH07121414A JPH07121414A (en) 1995-05-12
JP3489153B2 true JP3489153B2 (en) 2004-01-19

Family

ID=17469893

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26926193A Expired - Lifetime JP3489153B2 (en) 1993-10-27 1993-10-27 File system

Country Status (1)

Country Link
JP (1) JP3489153B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100618734B1 (en) * 1999-10-19 2006-08-31 엘지전자 주식회사 How to manage data files
KR20130071850A (en) 2011-12-21 2013-07-01 삼성전자주식회사 File system and method for storing the file

Also Published As

Publication number Publication date
JPH07121414A (en) 1995-05-12

Similar Documents

Publication Publication Date Title
US6115738A (en) Input/output device information management method and apparatus for multi-computers
US7149865B2 (en) Memory allocation using mask-bit pattern to encode metadata within memory address
CA2398148C (en) System and method for managing bi-directional relationships between objects
JPH086812A (en) Debugging method of information processing program and debugger therefor
US20060130034A1 (en) Apparatus, system, and method for providing access to a set of resources available directly to a particular class loader
US7231515B2 (en) Method and system for maintaining the boot order of mass storage devices in a computer system
JP3489153B2 (en) File system
JP2003317078A (en) Image managing method, program, and recording medium
US20020165865A1 (en) Data operating device for providing schema with freedom in data operation of object-oriented database
CN116208661B (en) Functional configuration adaptation method, device, vehicle and storage medium
JP2720805B2 (en) Program flow diagram reference method
JP3090048B2 (en) Standard program function expansion method and method
JPH11232109A (en) How to load class objects
CN116841657A (en) Interface function calling method and device
JPH10240627A (en) Sector management method and apparatus
JP3118348B2 (en) Program cache method
JP2647044B2 (en) History management method
JP3722854B2 (en) Data editing device
JP2003140922A (en) Sql debugging method of different type of database system and its system
CN116932279A (en) Data restoration method, backup method, device, equipment and storage medium
JPH04205422A (en) Program automatic translation combination and selection method
JPH0652028A (en) File management device
JPH05158894A (en) Distributed resource access device
JP2000082000A (en) Schema data control system in information resource management system
JPH11282738A (en) Device and method for file management

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081107

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091107

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101107

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 10

EXPY Cancellation because of completion of term