JP2844885B2 - Library type file directory extension method - Google Patents
Library type file directory extension methodInfo
- Publication number
- JP2844885B2 JP2844885B2 JP2233951A JP23395190A JP2844885B2 JP 2844885 B2 JP2844885 B2 JP 2844885B2 JP 2233951 A JP2233951 A JP 2233951A JP 23395190 A JP23395190 A JP 23395190A JP 2844885 B2 JP2844885 B2 JP 2844885B2
- Authority
- JP
- Japan
- Prior art keywords
- directory
- file
- sub
- description information
- area
- 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
Links
- 238000000034 method Methods 0.000 title claims description 33
- 238000010586 diagram Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ライブラリ型ファイルのディレクトリ拡張
方式に関する。Description: TECHNICAL FIELD The present invention relates to a directory extension method for library-type files.
従来、ライブラリ型ファイルのデータ群であるサブフ
ァイルの記述情報は、ディレクトリ領域を複数に分割し
たディレクトリブロックの1ブロックに格納される。Conventionally, description information of a sub file, which is a data group of a library type file, is stored in one of directory blocks obtained by dividing a directory area into a plurality.
格納方法はサブファイル名とディレクトリブロックの
個数によりハッシュ(HASH)法でランダムに決められ、
ダイレクトアクセスが可能であった。そして、サブファ
イル記述情報を格納するディレクトリブロックがサブフ
ァイル記述情報で一杯となった場合には、ディレクトリ
オーバフロー領域に格納される。The storage method is randomly determined by the hash (HASH) method based on the subfile name and the number of directory blocks.
Direct access was possible. When the directory block storing the sub-file description information is full of the sub-file description information, it is stored in the directory overflow area.
ディレクトリオーバフロー領域に格納されるサブファ
イル記述情報はディレクトリオーバフロー領域の先頭か
ら順番に格納する。The subfile description information stored in the directory overflow area is stored in order from the top of the directory overflow area.
上述した従来の技術では、以下のような問題がある。 The conventional technique described above has the following problems.
ディレクトリオーバフロー領域にサブファイル記述情
報を持つサブファイルをアクセスする場合、サブファイ
ル記述情報のサーチにおいてオーバフロー領域26を先頭
から順番にサーチしなければならず、アクセス効率が悪
いという欠点がある。When a subfile having subfile description information is accessed in the directory overflow area, the overflow area 26 must be searched in order from the beginning in the search for the subfile description information, and there is a disadvantage that access efficiency is poor.
また、ディレクトリ領域の拡張はただ単に領域を広げ
るだけでは、サブファイル記述情報のアクセスにおいて
ディレクトリブロックの数が変わりハッシュの仕方が変
わるため、ディレクトリ領域全体の再構成を要するとい
う欠点もある。In addition, simply expanding the directory area has the disadvantage that the entire directory area needs to be reconfigured because the number of directory blocks changes and the hashing method changes when accessing the sub-file description information.
本発明の第1のライブラリ型ファイルのディレクトリ
拡張方式は、同一の属性を持つデータ群であるサブファ
イルのサブファイル記述情報を含む複数のディレクトリ
ブロックを格納するディレクトリ領域と、前記ディレク
トリ領域と同様に前記サブファイルのサブファイル記述
情報を含む複数のディレクトリブロックを格納すること
ができる拡張ディレクトリ領域と、少なくとも一つの前
記サブファイル記述情報を格納することができるオーバ
フローディレクトリ領域と、複数のサブファイルのデー
タ群を格納するデータ領域とを含むライブラリ型ファイ
ルにおいて、前記サブファイルの作成時に、該サブファ
イルのサブファイル名と前記ディレクトリ領域内のディ
レクトリブロックの数とに基づいてハッシュ法を用いて
該サブファイルのサブファイル記述情報を格納するため
の該ディレクトリ領域内のディレクトリブロックを決定
して該ディレクトリブロック内に該サブファイルのサブ
ファイル記述情報を格納することができるか判断し、格
納できないと判断した場合には、前記ライブラリファイ
ル内に前記拡張ディレクトリ領域が存在するか判断し、
存在すると判断した場合には、該サブファイルのサブフ
ァイル名と該拡張ディレクトリ領域内のディレクトリブ
ロックの数とに基づいてハッシュ法を用いて該サブファ
イルのサブファイル記述情報を格納するための該拡張デ
ィレクトリ領域内のディレクトリブロックを決定して該
ディレクトリブロック内に該サブファイルのサブファイ
ル記述情報を格納することができるか判断するディレク
トリブロックチェック手段と、前記ディレクトリブロッ
クチェック手段が前記サブファイルのサブファイル記述
情報を前記ディレクトリ領域内のディレクトリブロック
に格納することができると判断した場合には、該サブフ
ァイルのサブファイル記述情報を該ディレクトリ領域内
のディレクトリブロックに格納し、該サブファイルのサ
ブファイル記述情報を前記拡張ディレクトリ領域内のデ
ィレクトリブロックに格納することができると判断した
場合には、該サブファイルのサブファイル記述情報を該
拡張ディレクトリ領域内のディレクトリブロックに格納
し、該サブファイルのサブファイル記述情報を前記拡張
ディレクトリ領域内のディレクトリブロックに格納する
ことができないと判断した場合には、該サブファイルの
サブファイル記述情報を前記オーバフロー領域に格納す
るサブファイル記述情報登録手段とを備えたことを特徴
とする。According to a first directory extension method of a library type file of the present invention, a directory area storing a plurality of directory blocks including sub-file description information of a sub-file which is a data group having the same attribute is provided. An extended directory area capable of storing a plurality of directory blocks including sub-file description information of the sub-file, an overflow directory area capable of storing at least one of the sub-file description information, and data of a plurality of sub-files In a library type file including a data area for storing a group, when the sub-file is created, the sub-file is created using a hash method based on a sub-file name of the sub-file and the number of directory blocks in the directory area. No A directory block in the directory area for storing the file description information is determined, and it is determined whether the sub-file description information of the sub-file can be stored in the directory block. Determining whether the extension directory area exists in the library file;
If it is determined that the file exists, the extension for storing the subfile description information of the subfile using a hash method based on the subfile name of the subfile and the number of directory blocks in the extension directory area is used. Directory block checking means for determining a directory block in a directory area and determining whether sub-file description information of the sub-file can be stored in the directory block; and If it is determined that the description information can be stored in a directory block in the directory area, the sub file description information of the sub file is stored in a directory block in the directory area, and the sub file description of the sub file is stored. Emotion Is stored in the directory block in the extended directory area, the sub-file description information of the sub-file is stored in the directory block in the extended directory area, and the sub-file description of the sub file is stored. When it is determined that the information cannot be stored in the directory block in the extended directory area, the sub-file description information registering means for storing the sub-file description information of the sub-file in the overflow area is provided. Features.
本発明の第2のライブラリ型ファイルのディレクトリ
拡張方式は、第1のライブラリ型ファイルのディレクト
リ拡張方式において、前記ライブラリファイル内に前記
拡張ディレクトリ領域を作成することができるか判断
し、作成できると判断した場合に、該拡張ディレクトリ
領域を該ライブラリファイル内に作成するディレクトリ
領域拡張手段を備え、前記ディレクトリブロックチェッ
ク手段は、前記ライブラリファイル内に前記拡張ディレ
クトリ領域が存在しないと判断した場合には、前記ディ
レクトリ領域拡張手段により前記ライブラリファイル内
に前記拡張ディレクトリ領域を作成し、前記サブファイ
ルのサブファイル名と作成した拡張ディレクトリ領域内
のディレクトリブロックの数とに基づいてハッシュ法を
用いて該サブファイルのサブファイル記述情報を格納す
るための該拡張ディレクトリ領域内のディレクトリブロ
ックを決定し、前記サブファイル記述情報登録手段は、
前記ディレクトリブロックチェック手段が前記ディレク
トリ領域拡張手段により作成された前記拡張ディレクト
リ内のディレクトリブロックに前記サブファイルのサブ
ファイル情報を格納することを決定した場合に、該サブ
ファイルのサブファイル記述情報を該拡張ディレクトリ
領域内のディレクトリブロックに格納することを特徴と
する。According to a second library-type file directory extension method of the present invention, in the first library-type file directory extension method, it is determined whether or not the extension directory area can be created in the library file, and it is determined that the extension directory area can be created. In this case, there is provided a directory area extension means for creating the extension directory area in the library file, and the directory block check means, when it is determined that the extension directory area does not exist in the library file, The extension directory area is created in the library file by directory area extension means, and the sub-file is created using a hash method based on the sub-file name of the sub-file and the number of directory blocks in the created extension directory area. Determining the directory block of the extension directory region for storing the sub-file description information, the sub-file description information registration means,
When the directory block checking means determines to store the sub-file information of the sub-file in a directory block in the extension directory created by the directory area expanding means, the sub-file description information of the sub-file is It is stored in a directory block in the extended directory area.
本発明の第3のライブラリ型ファイルのディレクトリ
拡張方式は、第2のライブラリ型ファイルのディレクト
リ拡張方式において、前記サブファイルの参照時に、該
サブファイルのサブファイル名と前記ディレクトリ領域
内のディレクトリブロックの数とに基づいてハッシュ法
を用いて該ディレクトリ領域内のディレクトリブロック
を特定して該ディレクトリブロック内に該サブファイル
のサブファイル記述情報が格納されているか判断し、格
納されていないと判断した場合には、該サブファイルの
サブファイル名と前記拡張ディレクトリ領域内のディレ
クトリブロックの数とに基づいてハッシュ法を用いて該
拡張ディレクトリ領域内のディレクトリブロックを特定
して該ディレクトリブロック内に該サブファイルのサブ
ファイル記述情報が格納されているか判断するディレク
トリブロック検索手段と、前記ディレクトリブロック検
索手段により前記サブファイルのサブファイル記述情報
が前記ディレクトリ領域内のディレクトリブロックに格
納されていると判断した場合には、該ディレクトリブロ
ックから該サブファイルのサブファイル記述情報を読み
出し、該サブファイルのサブファイル記述情報が前記拡
張ディレクトリ領域内のディレクトリブロックに格納さ
れていると判断した場合には、該ディレクトリブロック
から該サブファイルのサブファイル記述情報を読み出す
サブファイル記述情報検索手段とを備えたことを特徴と
する。According to a third library-type file directory extension method of the present invention, in the second library-type file directory extension method, when the sub-file is referred to, a sub-file name of the sub-file and a directory block in the directory area are referred to. When the directory block in the directory area is specified by using the hash method based on the number and the sub-block description information of the sub-file is stored in the directory block, and it is determined that the sub-file description information is not stored in the directory block. Specifies a directory block in the extended directory area using a hash method based on a subfile name of the subfile and the number of directory blocks in the extended directory area, and stores the subfile in the directory block. Subfile description information is Directory block retrieving means for judging whether or not the sub-file is stored, and when the directory block retrieving means determines that the sub-file description information of the sub-file is stored in a directory block in the directory area, The sub-file description information of the sub-file is read, and if it is determined that the sub-file description information of the sub-file is stored in a directory block in the extended directory area, the sub-file of the sub-file is read from the directory block. Subfile description information searching means for reading description information.
本発明について図面を参照して詳細に説明する。 The present invention will be described in detail with reference to the drawings.
第1〜2図は本発明の一実施例の構成を示すブロック
図、第3図は第1図のディレクトリ拡張手段の処理を示
す流れ図である。1 and 2 are block diagrams showing the configuration of an embodiment of the present invention, and FIG. 3 is a flowchart showing the processing of the directory extension means of FIG.
第2図を参照して、本実施例が使用するライブラリ型
ファイルの説明をする。With reference to FIG. 2, a library type file used in this embodiment will be described.
ライブラリ型ファイル7は、同一属性を持つデータ群
をなすサブファイルのサブファイル記述情報23と、サブ
ファイル記述情報23を格納する領域であるディレクトリ
領域22と、ディレクトリ領域22を構成しサブファイル記
述情報23が格納されるディレクトリブロック24と、ディ
レクトリブロック24がオーバフローとなり、拡張ディレ
クトリ領域28も確保できなかった時にサブファイル記述
情報24を格納するディレクトリオーバフロー領域26と、
サブファイルのデータを格納するデータ領域27と、当該
ファイルのデータ領域27を管理するデータ管理ブロック
領域(以下「BAM領域」という)25と、ディレクトリブ
ロック24がオーバフローなった場合に拡張される拡張デ
ィレクトリ領域28とから構成されるライブラリ型ファイ
ル7で構成されている。The library type file 7 includes subfile description information 23 of a subfile forming a data group having the same attribute, a directory area 22 for storing the subfile description information 23, and subdirectory description information A directory block 24 in which 23 is stored; a directory overflow area 26 in which the directory block 24 overflows and the sub-file description information 24 is stored when the extended directory area 28 cannot be secured;
A data area 27 for storing data of the subfile, a data management block area (hereinafter referred to as "BAM area") 25 for managing the data area 27 of the file, and an extended directory that is extended when the directory block 24 overflows And a library type file 7 composed of an area 28.
次に、このように構成された本実施例を第1〜第3図
を用いて説明する。Next, the present embodiment configured as described above will be described with reference to FIGS.
ライブラリ型ファイル7の新規サブファイル作成は、
サブファイルのサブファイル記述情報23をディレクトリ
領域22であるディレクトリブロック24に登録することに
より行われる。また、サブファイルの参照はディレクト
リブロック24に登録されているサブファイル記述情報23
を見付ける事で可能である。このサブファイル記述情報
23の登録では、大きさが有限であるディレクトリブロッ
ク24への登録であるため、当該ディレクトリブロック24
へ登録できない場合がでてくる。To create a new subfile of library type file 7,
This is performed by registering the sub file description information 23 of the sub file in the directory block 24 which is the directory area 22. The sub file is referred to by the sub file description information 23 registered in the directory block 24.
It is possible by finding. This subfile description information
In the registration of 23, since the registration is to the directory block 24 having a finite size, the directory block 24
You may not be able to register.
本実施例はこの当該ディレクトリブロック24への登録
ができない場合の登録方法と検索方法について説明す
る。In this embodiment, a registration method and a search method when registration in the directory block 24 is not possible will be described.
サブファイル記述情報23をディレクトリ上のファイル
記述情報21より参照したディレクトリブロック23の数と
サブファイル名によりハッシュ法でランダムに決められ
たディレクトリブロック24を決定し、そのディレクトリ
ブロック23の中へ登録できるかどうかを判断するディレ
クトリブロックチェック手段1により、格納できないと
判断された時、拡張ディレクトリ領域28である第二次デ
ィレクトリ領域がすでに存在するか判断し、存在しない
のであれば、ディレクトリ領域拡張手段2により、第3
図のように、まずディスク上のファイル記述情報21にあ
らかじめ定義しておいた拡張要求回数とこれまでに拡張
した拡張回数とを比較し、まだ拡張できるのであれば拡
張処理を行い、拡張できないのであれば、ディレクトリ
オーバフロー領域26にサブファイル記述情報23を登録す
る。The directory block 24 determined at random by the hash method based on the number of directory blocks 23 and the subfile name in which the subfile description information 23 is referred to from the file description information 21 on the directory can be registered in the directory block 23. When it is determined by the directory block checking means 1 that it cannot be stored, whether or not the secondary directory area, which is the extended directory area 28, already exists, and if not, the directory area expanding means 2 By the third
As shown in the figure, first, the number of expansion requests previously defined in the file description information 21 on the disk is compared with the number of expansions that have been performed so far, and if expansion is still possible, expansion processing is performed. If there is, the subfile description information 23 is registered in the directory overflow area 26.
拡張できる場合、拡張処理はあらかじめ、定義してお
いたディスク上に存在するファイル記述情報21のディレ
クトリ拡張サイズから二次ディレクトリ領域を作成し、
その二次ディレクトリ領域を構成するディレクトリブロ
ック24の個数と拡張回数を求めディスク上のファイル記
述情報に記述する。そして、再びディレクトリチェック
手段1により、サブファイル名と拡張ディレクトリ領域
28を構成するディレクトリブロック24の数を用いハッシ
ュ法で登録するディレクトリブロック23を決定する。拡
張ディレクトリ領域28が存在する場合も、先に述べたデ
ィレクトリブロックチェック手段1に戻り上記処理を繰
り返し、登録可能となるディレクトリブロックを決定す
る(ステップ31〜37)。If it can be extended, the extension process creates a secondary directory area from the directory extension size of the file description information 21 existing on the disk defined in advance,
The number of directory blocks 24 constituting the secondary directory area and the number of expansions are obtained and described in the file description information on the disk. Then, the sub-file name and the extended directory area are again
The directory block 23 to be registered is determined by the hash method using the number of the directory blocks 24 constituting the block 28. Even when the extended directory area 28 exists, the process returns to the directory block checking means 1 described above and repeats the above processing to determine a directory block that can be registered (steps 31 to 37).
上記のように登録可能ディレクトリブロックが見つか
るとサブファイル記述情報23をサブファイル記述情報登
録手段3により登録を行い、サブファイルの作成とな
る。When a registerable directory block is found as described above, the subfile description information 23 is registered by the subfile description information registration means 3 to create a subfile.
サブファイルの参照においては、先ずサブファイル名
とファイル作成時に存在していたディレクトリ領域22の
ディレクトリブロック数をディスク上のファイル記述情
報21から参照し、そのディレクトリブロック数とをハッ
シュ法によりサブファイル記述情報が存在すると思われ
るディレクトリブロック24をディレクトリフロック検索
手段4により捜す。In referring to the subfile, first, the subfile name and the number of directory blocks in the directory area 22 that existed when the file was created are referred to from the file description information 21 on the disk, and the number of directory blocks is referred to by the hash method. The directory block search unit 4 searches for a directory block 24 in which information is considered to exist.
次にサブファイル記述情報検索手段5によりディレク
トリブロック検索手段4で求めたサブファイル記述情報
23が存在すると思われるディレクトリブロック24を検索
し目的とするサブファイルを見付ける。当該ディレクト
リブロック24に目的とするサブファイル記述情報23が存
在しない場合は、拡張ディレクトリ領域検索手段6によ
りディスク上のファイル記述情報21を参照し、拡張ディ
レクトリ領域28が存在するかどうか判断し、存在しない
のであれば処理を終える。Next, the sub-file description information search means 5 obtains the sub-file description information obtained by the directory block search means 4.
The directory block 24 in which 23 is supposed to exist is searched to find a desired subfile. If the target sub-file description information 23 does not exist in the directory block 24, the extended directory area search means 6 refers to the file description information 21 on the disc to determine whether or not the extended directory area 28 exists. If not, the process ends.
存在する場合は、再度ディレクトリブロック検索手段
4よりディスク上のファイル記述情報21から、拡張ディ
レクトリ領域28を構成するディレクトリブロック24の個
数を参照し、拡張ディレクトリ領域28のディレクトリブ
ロック24の数とサブファイル名によりハッシュ法でサブ
ファイル記述情報23が存在すると思われるディレクトリ
ブロック24を見付ける。If it exists, the directory block searching means 4 refers to the number of directory blocks 24 constituting the extended directory area 28 from the file description information 21 on the disk again, The directory block 24 where the sub-file description information 23 is considered to exist by the hash method is found by the name.
そして、サブファイル記述情報検索手段5によりディ
レクトリブロック検索手段4で求められたディレクトリ
ブロック24の中を検索し目的のサブファイルを見付け
る。目的とするサブファイルが見つからない場合は、再
度、ディレクトリブロック検索手段4とサブファイル記
述情報検索手段5を行い、次拡張ディレクトリ領域28が
存在しなくなるまで行って、存在しない場合は処理を終
了する。Then, the sub-file description information search means 5 searches the directory block 24 obtained by the directory block search means 4 to find a target sub-file. If the target subfile is not found, the directory block search means 4 and the subfile description information search means 5 are executed again until the next extended directory area 28 does not exist. If not, the processing is terminated. .
このように、サブファイル記述情報23をディレクトリ
ブロック24へ登録する事は、サブファイルの参照におい
て、ディレクトリ領域22と拡張ディレクトリ領域28の各
ディレクトリ領域単位にハッシュ法を用いランダムアク
セスが行えるためアクセス効率が向上する。As described above, registering the sub-file description information 23 in the directory block 24 is because, when referring to the sub-file, random access can be performed using a hash method for each directory area unit of the directory area 22 and the extended directory area 28, so that the access efficiency is improved. Is improved.
以上説明したように本発明では、ライブラリ型ファイ
ルのディレクトリ拡張方式を上述するようにする事で、
サブファイル検索の性能を低下させる事無く、ディレク
トリ領域を拡張可能とする。As described above, in the present invention, the directory extension method of the library type file is set as described above,
The directory area can be expanded without deteriorating the performance of subfile search.
第1〜2図は本発明の一実施例の構成を示すブロック図
であり、第3図は第1図のディレクトリ拡張手段の処理
を示す流れ図である。 1……ディレクトリブロックチェック手段、2……ディ
レクトリ拡張手段、3……サブファイル記述情報登録手
段、4……ディレクトリブロック検索手段、5……サブ
ファイル記述情報検索手段、6……拡張ディレクトリ検
索手段、7……ライブラリ型ファイル、21……ファイル
記述情報、22……ディレクトリ領域、23……サブファイ
ル記述情報、24……ディレクトリブロック、25……BAM
領域、26……オーバフロディレクトリ領域、27……デー
タ領域、28……拡張ディレクトリ領域。FIGS. 1 and 2 are block diagrams showing the configuration of an embodiment of the present invention, and FIG. 3 is a flow chart showing the processing of the directory extension means of FIG. 1 ... directory block checking means, 2 ... directory expansion means, 3 ... sub-file description information registration means, 4 ... directory block search means, 5 ... sub-file description information search means, 6 ... expansion directory search means. , 7: Library type file, 21: File description information, 22: Directory area, 23: Subfile description information, 24: Directory block, 25: BAM
Area 26 Overflow directory area 27 Data area 28 Extended directory area
Claims (3)
イルのサブファイル記述情報を含む複数のディレクトリ
ブロックを格納するディレクトリ領域と、前記ディレク
トリ領域と同様に前記サブファイルのサブファイル記述
情報を含む複数のディレクトリブロックを格納すること
ができる拡張ディレクトリ領域と、少なくとも一つの前
記サブファイル記述情報を格納することができるオーバ
フローディレクトリ領域と、複数のサブファイルのデー
タ群を格納するデータ領域とを含むライブラリ型ファイ
ルにおいて、 前記サブファイルの作成時に、該サブファイルのサブフ
ァイル名と前記ディレクトリ領域内のディレクトリブロ
ックの数とに基づいてハッシュ法を用いて該サブファイ
ルのサブファイル記述情報を格納するための該ディレク
トリ領域内のディレクトリブロックを決定して該ディレ
クトリブロック内に該サブファイルのサブファイル記述
情報を格納することができるか判断し、格納できないと
判断した場合には、前記ライブラリファイル内に前記拡
張ディレクトリ領域が存在するか判断し、存在すると判
断した場合には、該サブファイルのサブファイル名と該
拡張ディレクトリ領域内のディレクトリブロックの数と
に基づいてハッシュ法を用いて該サブファイルのサブフ
ァイル記述情報を格納するための該拡張ディレクトリ領
域内のディレクトリブロックを決定して該ディレクトリ
ブロック内に該サブファイルのサブファイル記述情報を
格納することができるか判断するディレクトリブロック
チェック手段と、 前記ディレクトリブロックチェック手段が前記サブファ
イルのサブファイル記述情報を前記ディレクトリ領域内
のディレクトリブロックに格納することができると判断
した場合には、該サブファイルのサブファイル記述情報
を該ディレクトリ領域内のディレクトリブロックに格納
し、該サブファイルのサブファイル記述情報を前記拡張
ディレクトリ領域内のディレクトリブロックに格納する
ことができると判断した場合には、該サブファイルのサ
ブファイル記述情報を該拡張ディレクトリ領域内のディ
レクトリブロックに格納し、該サブファイルのサブファ
イル記述情報を前記拡張ディレクトリ領域内のディレク
トリブロックに格納することができないと判断した場合
には、該サブファイルのサブファイル記述情報を前記オ
ーバフロー領域に格納するサブファイル記述情報登録手
段とを備えたことを特徴とするライブラリ型ファイルの
ディレクトリ拡張方式。1. A directory area for storing a plurality of directory blocks including sub-file description information of a sub-file, which is a data group having the same attribute, and includes the sub-file description information of the sub-file like the directory area. Library including an extended directory area capable of storing a plurality of directory blocks, an overflow directory area capable of storing at least one of the sub-file description information, and a data area storing a data group of a plurality of sub-files In the type file, when the subfile is created, the subfile description information of the subfile is stored using a hash method based on the subfile name of the subfile and the number of directory blocks in the directory area. The directory A directory block in the area is determined, and it is determined whether the sub file description information of the sub file can be stored in the directory block. If it is determined that the sub file description information cannot be stored, the extended directory area is stored in the library file. Is determined, and if determined to be present, the sub-file description information of the sub-file using a hash method based on the sub-file name of the sub-file and the number of directory blocks in the extended directory area. Directory block checking means for determining a directory block in the extension directory area for storing the sub file description information of the sub file in the directory block, and the directory block checking means Is the subfile If it is determined that the sub-file description information can be stored in the directory block in the directory area, the sub-file description information of the sub-file is stored in the directory block in the directory area, and the If it is determined that the subfile description information can be stored in a directory block in the extended directory area, the subfile description information of the subfile is stored in a directory block in the extended directory area, and the subfile If it is determined that the sub-file description information cannot be stored in the directory block in the extended directory area, the sub-file description information registration means for storing the sub-file description information of the sub-file in the overflow area Specially equipped Directory extension system of library-type file to be.
レクトリ領域を作成することができるか判断し、作成で
きると判断した場合に、該拡張ディレクトリ領域を該ラ
イブラリファイル内に作成するディレクトリ領域拡張手
段を備え、 前記ディレクトリブロックチェック手段は、前記ライブ
ラリファイル内に前記拡張ディレクトリ領域が存在しな
いと判断した場合には、前記ディレクトリ領域拡張手段
により前記ライブラリファイル内に前記拡張ディレクト
リ領域を作成し、前記サブファイルのサブファイル名と
作成した拡張ディレクトリ領域内のディレクトリブロッ
クの数とに基づいてハッシュ法を用いて該サブファイル
のサブファイル記述情報を格納するための該拡張ディレ
クトリ領域内のディレクトリブロックを決定し、 前記サブファイル記述情報登録手段は、前記ディレクト
リブロックチェック手段が前記ディレクトリ領域拡張手
段により作成された前記拡張ディレクトリ内のディレク
トリブロックに前記サブファイルのサブファイル情報を
格納することを決定した場合に、該サブファイルのサブ
ファイル記述情報を該拡張ディレクトリ領域内のディレ
クトリブロックに格納することを特徴とする請求項1記
載のライブラリ型ファイルのディレクトリ拡張方式。2. A directory area extension means for judging whether the extension directory area can be created in the library file and, when judging that the extension directory area can be created, creating the extension directory area in the library file. If the directory block check means determines that the extension directory area does not exist in the library file, the directory area extension means creates the extension directory area in the library file by the directory area extension means, and Determining a directory block in the extended directory area for storing sub-file description information of the sub-file using a hash method based on the sub-file name and the number of directory blocks in the created extended directory area; Savoff File description information registering means, when the directory block checking means determines to store the sub-file information of the sub-file in a directory block in the extension directory created by the directory area expanding means, 2. The directory extension method for a library type file according to claim 1, wherein the sub-file description information is stored in a directory block in the extension directory area.
イルのサブファイル名と前記ディレクトリ領域内のディ
レクトリブロックの数とに基づいてハッシュ法を用いて
該ディレクトリ領域内のディレクトリブロックを特定し
て該ディレクトリブロック内に該サブファイルのサブフ
ァイル記述情報が格納されているか判断し、格納されて
いないと判断した場合には、該サブファイルのサブファ
イル名と前記拡張ディレクトリ領域内のディレクトリブ
ロックの数とに基づいてハッシュ法を用いて該拡張ディ
レクトリ領域内のディレクトリブロックを特定して該デ
ィレクトリブロック内に該サブファイルのサブファイル
記述情報が格納されているか判断するディレクトリブロ
ック検索手段と、 前記ディレクトリブロック検索手段により前記サブファ
イルのサブファイル記述情報が前記ディレクトリ領域内
のディレクトリブロックに格納されていると判断した場
合には、該ディレクトリブロックから該サブファイルの
サブファイル記述情報を読み出し、該サブファイルのサ
ブファイル記述情報が前記拡張ディレクトリ領域内のデ
ィレクトリブロックに格納されていると判断した場合に
は、該ディレクトリブロックから該サブファイルのサブ
ファイル記述情報を読み出すサブファイル記述情報検索
手段とを備えたことを特徴とする請求項2記載のライブ
ラリ型ファイルのディレクトリ拡張方式。3. When referring to the sub-file, a directory block in the directory area is specified by using a hash method based on a sub-file name of the sub-file and the number of directory blocks in the directory area, and It is determined whether the sub-file description information of the sub-file is stored in the directory block. If it is determined that the sub-file description information is not stored in the directory block, the sub-file name of the sub-file and the number of directory blocks in the extended directory area are determined. Directory block searching means for specifying a directory block in the extended directory area using a hash method based on the directory block to determine whether or not subdirectory description information of the subfile is stored in the directory block; By means of If it is determined that the subfile description information of the file is stored in the directory block in the directory area, the subfile description information of the subfile is read from the directory block, and the subfile description information of the subfile is read. A sub-file description information search unit that reads sub-file description information of the sub-file from the directory block when it is determined that the sub-file is stored in a directory block in the extended directory area. Item 2. A directory extension method for a library type file according to item 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2233951A JP2844885B2 (en) | 1990-09-04 | 1990-09-04 | Library type file directory extension method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2233951A JP2844885B2 (en) | 1990-09-04 | 1990-09-04 | Library type file directory extension method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04113426A JPH04113426A (en) | 1992-04-14 |
| JP2844885B2 true JP2844885B2 (en) | 1999-01-13 |
Family
ID=16963182
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2233951A Expired - Lifetime JP2844885B2 (en) | 1990-09-04 | 1990-09-04 | Library type file directory extension method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2844885B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100461331B1 (en) * | 1995-12-29 | 2005-04-06 | 주식회사 하이닉스반도체 | Method for forming conductive wiring in semiconductor device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6339054A (en) * | 1986-08-02 | 1988-02-19 | Fujitsu Ltd | Controlling system for file extension |
-
1990
- 1990-09-04 JP JP2233951A patent/JP2844885B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04113426A (en) | 1992-04-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2281287C (en) | Method and system for efficiently searching for free space in a table of a relational database having a clustering index | |
| US5590320A (en) | Computer file directory system | |
| US9081784B2 (en) | Delta indexing method for hierarchy file storage | |
| JP4233564B2 (en) | Data processing apparatus, data processing program and recording medium | |
| US7844596B2 (en) | System and method for aiding file searching and file serving by indexing historical filenames and locations | |
| US8612717B2 (en) | Storage system | |
| JP2000357115A (en) | Device and method for file retrieval | |
| JP2844885B2 (en) | Library type file directory extension method | |
| CN117215477A (en) | Data object storage method, device, computer equipment and storage medium | |
| US6076089A (en) | Computer system for retrieval of information | |
| JP2000132439A (en) | System for retrieving file stored in hard disk of personal computer | |
| JPH0256680A (en) | Image data retrieving system | |
| JP2861548B2 (en) | Multiple host method | |
| JPS61103242A (en) | High-speed retrieval system | |
| JPH0456344B2 (en) | ||
| JPH10240744A (en) | System for processing retrieval of range division chart and method therefor and recording medium for recording retrieval processing program | |
| JP2885625B2 (en) | File system with index table | |
| CN119203078A (en) | File system directory movement method and device based on flat structure namespace | |
| JPH03121566A (en) | Retrieval system | |
| JP3844914B2 (en) | Information processing apparatus and method for inserting record into database | |
| CN119719064A (en) | Data processing method, device and server | |
| JPH04287245A (en) | System for managing free area of file system | |
| JP2747009B2 (en) | Record addition method for indexed sequential files | |
| JPH103414A (en) | Data storage control system | |
| JPH05274196A (en) | Secondary storage managing method by multiple file |