JPH0247737A - File management method - Google Patents
File management methodInfo
- Publication number
- JPH0247737A JPH0247737A JP63198221A JP19822188A JPH0247737A JP H0247737 A JPH0247737 A JP H0247737A JP 63198221 A JP63198221 A JP 63198221A JP 19822188 A JP19822188 A JP 19822188A JP H0247737 A JPH0247737 A JP H0247737A
- Authority
- JP
- Japan
- Prior art keywords
- file
- identification number
- file identification
- storage area
- 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.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、ファイルを管理する方法に関するものである
。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for managing files.
従来の技術
第6図は、従来のファイル管理方法のブロック図である
。第8図において、61はファイル管理手段、62は中
央処理装置(CPU)、e3は情報記録再生装置である
。Prior Art FIG. 6 is a block diagram of a conventional file management method. In FIG. 8, 61 is a file management means, 62 is a central processing unit (CPU), and e3 is an information recording/reproducing device.
以上のように構成された従来のファイル管理方法につい
て、以下その動作を説明する。The operation of the conventional file management method configured as described above will be described below.
ファイル管理手段e1は、ファイルの位置を示す情報を
格納するファイル位置格納領域を、ファイルを一意に識
別可能なファイル識別番号順に情報記録再生装置63に
装着されている記録媒体中のファイル管理情報を格納す
る領域に配置し、ファイル識別番号を持つファイルが存
在する場合、当該ファイル識別番号と対を成すファイル
位置格納領域にファイルの位置を示す情報を格納し、フ
ァイル識別番号を持つファイルが存在しない場合、当該
ファイル識別番号と対を成すファイル位置格納領域にフ
ァイルが存在しないことを示す情報を格納することによ
りファイルを管理している。The file management means e1 stores file management information in a recording medium installed in the information recording and reproducing device 63 in a file location storage area that stores information indicating the location of a file in the order of file identification numbers that can uniquely identify the file. If there is a file that is placed in the storage area and has a file identification number, information indicating the file position is stored in the file location storage area that is paired with the file identification number, and there is no file with the file identification number. In this case, the file is managed by storing information indicating that the file does not exist in the file location storage area paired with the file identification number.
ファイル管理手段61は、CPU62からファイル削除
の指示を受けると、削除するファイルのファイル識別番
号と対を成すファイル位置格納領域にファイルが存在し
ないことを示す情報を格納する。When the file management means 61 receives a file deletion instruction from the CPU 62, it stores information indicating that the file does not exist in the file location storage area that is paired with the file identification number of the file to be deleted.
ファイル管理手段61は、CPU62からファイル生成
の指示を受けると第7図のアルゴリズムに従って所与の
ファイル生成を行う。When the file management means 61 receives a file generation instruction from the CPU 62, it generates a given file according to the algorithm shown in FIG.
第7図の説明を行う。第7図は、以下のようなアルゴリ
ズムを示している。第7図中ファイル識別番号はf i
d、ファイル位置格納領域はflaと略記している。FIG. 7 will be explained. FIG. 7 shows the following algorithm. The file identification number in Figure 7 is f i
d. The file location storage area is abbreviated as fla.
(701)検索するファイル識別番号を1にする。(701) Set the file identification number to be searched to 1.
(702)へ行く。Go to (702).
(702)検索するファイル識別番号と対を成すファイ
ル位置格納領域にファイルが存在しないことを示す情報
が格納されているか否かを判断する。(702) Determine whether information indicating that the file does not exist is stored in the file location storage area that pairs with the file identification number to be searched.
格納されている場合は、(703)へ行く。そうでない
場合は、(704)へ行く。If it is stored, go to (703). If not, go to (704).
(703)(702)で検索した領域に作成したファイ
ルの位置を示す情報を格納する。(703) Information indicating the location of the created file is stored in the area searched in (702).
処理を終了する。Finish the process.
(704)検索するファイル識別番号を1増加する。(
702)へ行く。(704) Increment the file identification number to be searched by 1. (
702).
発明が解決しようとする課題
しかしながら、上記のような構成では、あるファイル1
を削除した直後に別のファイル2を新たに生成した時、
ファイル1のファイル識別番号とファイル2のファイル
識別番号が同一の番号となり、ファイ/L’1を生成し
たプロセスとファイル2を生成し、たプロセスが異なり
、前者のプロセスがファイル識別番号を用いてファイル
を参照した場合、後者のプロセスがファイ/L/1が削
除する前であればファイJv1を参照し、後者のプロセ
スがファイ/L/1を削除した後であればファイ/I/
2を参照し、2つのプロセスの実行順序によって参照す
るファイルが異なり、意図しないファイルを参照すると
いう問題点を有していた。Problems to be Solved by the Invention However, in the above configuration, if a certain file 1
When a new file 2 is created immediately after deleting ,
The file identification number of file 1 and the file identification number of file 2 are the same number, the process that generated file/L'1 and the process that created file 2 are different, and the former process uses the file identification number. When the file is referenced, if the latter process is before file/L/1 is deleted, file Jv1 is referenced, and if the latter process is after file/L/1 is deleted, file/I/
2, the files to be referenced differ depending on the execution order of the two processes, and there was a problem in that unintended files were referenced.
本発明はかかる点に鑑み、意図しないファイルの参照を
防止することを目的とする。In view of this point, the present invention aims to prevent unintended file references.
課題を解決するための手段
本発明は、ファイルを一意に識別可能なファイル識別番
号を各ファイルに割り振り、ファイルの位置を格納する
ファイル位置格納領域とファイル生成時に当該ファイル
識別番号の次に割り振るべきファイル識別番号を格納す
るファイル識別番号順序領域から成るエントリを前記フ
ァイル識別番号j頃にファイル管理情報を格納する領域
に配置し、最初に使用すべきファイル識別番号を格納す
る先頭ファイル識別番号格納領域と最後に使用すべきフ
ァイル識別番号を格納する最終ファイル識別番号格納領
域をファイル管理情報を格納する領域に有し、ファイル
を生成する場合は、前記先頭ファイル識別番号格納領域
で示されるファイル識別番号と対を成すエントリのファ
イル位置格納領域に、生成したファイルの位置を示す情
報を格納し、前記先頭ファイル識別番号格納領域に、当
該エントリのファイル識別番号順序領域に格納されてい
たファイル識別番号を格納し、ファイルを削除する場合
は、前記最終ファイル識別番号格納領域で示されるファ
イル識別番号と対を成すエントリのファイル識別番号順
序領域および前記最終ファイル識別番号格納領域に、当
該ファイルに割り振られていたファイ)v識別番号を格
納し、当該ファイルと対を成すエントリのファイル位置
格納領域にファイルが存在しないことを示す情報を格納
する方法を備えたファイル管理方式である。Means for Solving the Problems The present invention allocates a file identification number that can uniquely identify a file to each file, and provides a file location storage area for storing the file location and a file location area that should be allocated next to the file identification number when generating a file. An entry consisting of a file identification number order area that stores file identification numbers is placed in the area that stores file management information around the file identification number j, and a first file identification number storage area that stores the file identification number that should be used first. The area for storing file management information has a final file identification number storage area that stores the file identification number to be used last, and when a file is generated, the file identification number indicated in the first file identification number storage area is provided. The information indicating the position of the generated file is stored in the file position storage area of the entry paired with , and the file identification number stored in the file identification number order area of the entry is stored in the first file identification number storage area. When storing and deleting a file, the file identification number order area and the final file identification number storage area of the entry that is paired with the file identification number indicated in the final file identification number storage area are used to specify the information allocated to the file. This file management method includes a method of storing a v identification number and storing information indicating that the file does not exist in the file location storage area of the entry that is paired with the file.
作 用
本発明は前記した構成により、ファイルを生成する場合
は、前記先頭ファイル識別番号格納領域で示されるファ
イル識別番号と対を成すエントリのファイル位置格納領
域に、生成したファイルの位置を示す情報を格納し、前
記先頭ファイル識別番号格納領域に、当該エントリのフ
ァイル識別番号順序領域に格納されていたファイル識別
番号を格納し、ファイルを削除する場合は、前記最終フ
ァイル識別番号格納領域で示されるファイル識別番号と
対を成すエントリのファイル識別番号順序領域および前
記最終ファイル識別番号格納領域に、当該ファイルに割
り振られていたファイル識別番号を格納し、当該ファイ
ルと対を成すエントリのファイル位置格納領域にファイ
ルが存在しないことを示す情報を格納し、意図しないフ
ァイルの参照を防止することを可能とするものである。According to the above configuration, when a file is generated, the present invention stores information indicating the position of the generated file in the file position storage area of the entry that is paired with the file identification number indicated in the first file identification number storage area. and stores the file identification number stored in the file identification number order area of the entry in the first file identification number storage area, and when deleting a file, the file identification number indicated in the final file identification number storage area is stored. The file identification number assigned to the file is stored in the file identification number order area and the final file identification number storage area of the entry that pairs with the file identification number, and the file position storage area of the entry that pairs with the file. It stores information indicating that a file does not exist in the file, making it possible to prevent unintentional file references.
実施例
第1図は本発明の一実施例におけるファイル管理方法の
ブロック図を示すものである。第1図において、11は
ファイル管理手段、12は中央処理装置(CPU)、1
3は情報記録再生装置である。Embodiment FIG. 1 shows a block diagram of a file management method in an embodiment of the present invention. In FIG. 1, 11 is a file management means, 12 is a central processing unit (CPU), 1
3 is an information recording/reproducing device.
以上のように構成された本実施例のファイル管理方法に
ついて以下その動作を説明する。The operation of the file management method of this embodiment configured as described above will be described below.
ファイル管理手段11は、ファイルシステム内でファイ
ルを一意に識別可能なファイル識別番号を各ファイルに
割り振シ、ファイルの位置を格納するファイル位置格納
領域とファイル生成時に当該ファイル識別番号の次に割
り振るべきファイル識別番号を格納するファイル識別番
号順序領域から成るエントリを前記フフイ/l/識別番
号順にファイル管理情報を格納する領域に配置し、最初
に使用すべきファイル識別番号を格納する先頭ファイ)
V識別番号格納領域と最後に使用すべきファイル識別番
号を格納する最終ファイル識別番号格納領域をファイル
管理情報を格納する領域に有することによりファイルを
管理している。ファイル識別番号は、1からファイルシ
ステムに同時に存在することが可能なファイル数までの
正の整数を使用して表現する。次に割り振るべきファイ
ル識別番号が存在しない場合は、当該ファイル識別番号
順序領域に0を格納する。予めファイル識別番号の若い
順にファイル識別番号が使用されるように、ファイルシ
ステムに同時に存在することが可能なファイルの数と等
しいファイル識別番号と対を成すエントリのファイル識
別番号順序領域には0が格納されており、それ以外のエ
ントリのファイル識別番号順序領域には当該ファイル識
別番号に1を加えた数が格納されている。前記先頭ファ
イル識別番号格納領域には1、前記最終ファイル識別番
号格納領域には、ファイルシステムに同時に存在するこ
とが可能なファイル数が格納されている。The file management means 11 allocates to each file a file identification number that can uniquely identify the file within the file system, and allocates a file location storage area for storing the file location and a file location storage area next to the file identification number at the time of file generation. An entry consisting of a file identification number order area for storing the file identification number to be used is placed in the area for storing file management information in the order of the above-mentioned file identification numbers, and a first file for storing the file identification number to be used first is placed.
Files are managed by having a V identification number storage area and a final file identification number storage area for storing the file identification number to be used last in the area for storing file management information. The file identification number is expressed using a positive integer from 1 to the number of files that can exist simultaneously in the file system. If there is no file identification number to be allocated next, 0 is stored in the file identification number order area. In order to use file identification numbers in ascending order of file identification numbers, 0 is set in the file identification number order area of entries that are paired with file identification numbers equal to the number of files that can exist simultaneously in the file system. The number obtained by adding 1 to the file identification number is stored in the file identification number order area of the other entries. The first file identification number storage area stores 1, and the last file identification number storage area stores the number of files that can exist simultaneously in the file system.
第2図はエントリの概念図である。第2図において、2
1はファイル位置格納領域、22はファイル識別番号順
序領域である。FIG. 2 is a conceptual diagram of an entry. In Figure 2, 2
1 is a file position storage area, and 22 is a file identification number sequence area.
第3図はファイル管理情報を格納する領域の概念図であ
る。第3図において、31は先頭ファイル識別番号格納
領域、32は最終ファイル識別番号格納領域、33i;
tエントリである。第3図では、ファイル識別番号の使
用順序はエンド17 b 、エントリC,エントリeと
対を成すファイル識別番号の順であり、二ントリa、エ
ントリdと対を成すファイル識別番号は使用されている
。FIG. 3 is a conceptual diagram of an area for storing file management information. In FIG. 3, 31 is a first file identification number storage area, 32 is a final file identification number storage area, 33i;
t entry. In FIG. 3, the order in which the file identification numbers are used is that of the file identification number paired with end 17b, entry C, and entry e, and the file identification number paired with second entry a and entry d is not used. There is.
ファイル管理手段11は、CPU12からファイル削除
の指示を受けると第4図のアルゴリズムに従って、所与
のファイル削除を行う。When the file management means 11 receives a file deletion instruction from the CPU 12, it deletes a given file according to the algorithm shown in FIG.
第4図の説明を行う。第4図は、以下のようなアルゴリ
ズムを示している。第4図中ファイル識別番号はfid
1最終ファイル識別番号格納領域はlfa、ファイル位
置格納領域はfla、ファイル識別番号順序領域はfo
aと略記している。FIG. 4 will be explained. FIG. 4 shows the following algorithm. The file identification number in Figure 4 is fid.
1 The final file identification number storage area is lfa, the file position storage area is fla, and the file identification number order area is fo.
It is abbreviated as a.
(401)前記最終ファイル識別番号格納領域に格納さ
れているファイル識別番号を得る。(402)へ行く。(401) Obtain the file identification number stored in the final file identification number storage area. Go to (402).
(402)(401)で得たファイル識別番号と対を成
すエントリのファイル識別番号順序領域に削除するファ
イルのファイル識別番号を格納する。(402) Store the file identification number of the file to be deleted in the file identification number order area of the entry that is paired with the file identification number obtained in (401).
(403)へ行く。Go to (403).
(403)前記最終ファイル識別番号格納領域に削除す
るファイルのファイル識別番号を格納する。(403) Store the file identification number of the file to be deleted in the final file identification number storage area.
(404)へ行く。Go to (404).
(404)削除するファイルのファイル識別番号と対を
成すエントリのファイル位置格納領域に0を格納する。(404) Store 0 in the file position storage area of the entry that pairs with the file identification number of the file to be deleted.
(405)へ行く。Go to (405).
(405)削除するファイルのファイル識別番号と対を
成すエントリのファイル識別番号順序領域に0を格納す
る。処理を終了する。(405) Store 0 in the file identification number order area of the entry that pairs with the file identification number of the file to be deleted. Finish the process.
ファイル管理手段11は、CPU12からファイル生成
の指示を受けると第5図のアルゴリズムに従って、所与
のファイル生成を行う。When the file management means 11 receives a file generation instruction from the CPU 12, it generates a given file according to the algorithm shown in FIG.
第5図の説明を行う。第5図は、以下のような7 /L
/−fリズムを示している。第5図中ファイル識別番号
はf id、先頭ファイル識別番号格納領域はffa、
ファイル位置格納領域はfla、ファイル識別番号順序
領域はfoaと略記している。FIG. 5 will be explained. Figure 5 shows the following 7/L
/-f indicates rhythm. In Fig. 5, the file identification number is f id, the first file identification number storage area is ffa,
The file location storage area is abbreviated as fla, and the file identification number sequence area is abbreviated as foa.
(501)前記先頭ファイル識別番号格納領域1に格納
されているファイル識別番号を得る。(502)へ行く
。(501) Obtain the file identification number stored in the first file identification number storage area 1. Go to (502).
(502)(501)で得たファイル識別番号と対を成
すエン) IJのファイル識別番号順序領域に格納され
ているファイル識別番号を得る。(503)へ行く。(502) Obtain the file identification number stored in the file identification number order area of the IJ (en) that is paired with the file identification number obtained in (501). Go to (503).
(503)(501)で得たファイル識別番号と対を成
すエントリのファイル位置格納領域に生成したファイル
の位置を示す情報を格納する。(504)へ行く。(503) Information indicating the position of the generated file is stored in the file position storage area of the entry that is paired with the file identification number obtained in (501). Go to (504).
(504)(501)で得たファイル識別番号と対を成
すエントリのファイル識別番号順序領域に(502)で
得たファイル識別番号を格納する。(504) The file identification number obtained in (502) is stored in the file identification number order area of the entry that forms a pair with the file identification number obtained in (501).
(SOS )へ行く。Go to (SOS).
(505)前記先頭ファイル識別番号格納領域に(50
2)で得たファイル識別番号を格納する。(505) In the first file identification number storage area (50
Store the file identification number obtained in 2).
処理を終了する。Finish the process.
以上のように本実施例によれば、ファイルを一意に識別
可能なファイル識別番号を各ファイルに割り振り、ファ
イルの位置を格納するファイル位置格納領域とファイル
生成時に当該ファイル識別番号の次に割シ振るべきファ
イル識別番号を格納するファイル識別番号順序領域から
成るエントリを前記ファイル識別番号順にファイル管理
情報を格納する領域に配置し、最初に使用すべきファイ
ル識別番号を格納する先頭ファイル識別番号格納領域と
最後に使用すべきファイル識別番号を格納する最終ファ
イル識別番号格納領域をファイル管理情報を格納する領
域に有し、ファイルを生成する場合は、前記先頭ファイ
ル識別番号格納領域で示されるファイル識別番号と対を
成すエントリのファイル位置格納領域に、生成したファ
イルの位置を示す情報を格納し、前記先頭ファイル識別
番号格納領域に、当該エントリのファイル識別番号順序
領域に格納されていたファイル識別番号を格納し、ファ
イルを削除する場合は、前記最終ファイル識別番号格納
領域で示されるファイル識別番号と対を成すエントリの
ファイル識別番号順序領域および前記最終ファイル識別
番号格納領域に、当該ファイルに割り振られていたファ
イル識別番号を格納し、当該ファイルと対を成すエント
リのファイル位置格納領域にファイルが存在しないこと
を示す情報を格納することによシ、意図しないファイル
の参照を防止することを可能とする。As described above, according to this embodiment, a file identification number that can uniquely identify the file is allocated to each file, and a file position storage area for storing the file position and a file allocation area next to the file identification number when the file is generated. An entry consisting of a file identification number order area for storing file identification numbers to be assigned is placed in the area for storing file management information in the order of the file identification numbers, and a first file identification number storage area for storing the file identification number to be used first. The area for storing file management information has a final file identification number storage area that stores the file identification number to be used last, and when a file is generated, the file identification number indicated in the first file identification number storage area is provided. The information indicating the position of the generated file is stored in the file position storage area of the entry paired with , and the file identification number stored in the file identification number order area of the entry is stored in the first file identification number storage area. When storing and deleting a file, the file identification number order area and the final file identification number storage area of the entry that is paired with the file identification number indicated in the final file identification number storage area are used to specify the information allocated to the file. It is possible to prevent unintentional file references by storing the file identification number of the file and storing information indicating that the file does not exist in the file location storage area of the entry that pairs with the file. .
発明の詳細
な説明したように、本発明によれば、ファイルを一意に
識別可能な、ファイル識別番号を各ファイルに割り振り
、ファイルの位置を格納するファイル位置格納領域とフ
ァイル生成時に当該ファイル識別番号の次に割シ振るべ
きファイル識別番号を格納するファイル識別番号順序領
域から成るエントリを前記ファイル識別番号順にファイ
ル管理情報を格納する領域に配置し、最初に使用すべき
ファイル識別番号を格納する先頭ファイル識別番号格納
領域と最後に使用すべきファイル識別番号を格納する最
終ファイル識別番号格納領域をファイル管理情報を格納
する領域に有し、ファイルを生成する場合は、前記先頭
ファイル識別番号格納領域で示されるファイル識別番号
と対を成すエントリのファイル位置格納領域に、生成し
たファイルの位置を示す情報を格納し、前記先頭ファイ
ル識別番号格納領域に、当該エントリのファイル識別番
号順序領域に格納されていたファイル識別番号を格納し
、ファイルを削除する場合は、前記最終ファイル識別番
号格納領域で示されるファイル識別番号と対を成す二ン
) I7のファイル識別番号順序領域および前記最終フ
ァイル識別番号格納領域に、当該ファイルに割シ振られ
ていたファイル識別番号を格納し、当該ファイルと対を
成すエントリのファイル位置格納領域にファイルが存在
しないことを示す情報を格納することにより、意図しな
いファイルの参照を防止することを可能とし、その実用
的効果は大きい。As described in detail, according to the present invention, a file identification number that can uniquely identify a file is assigned to each file, and a file location storage area for storing the file location and the file identification number are assigned at the time of file generation. An entry consisting of a file identification number order area that stores the file identification number that should be allocated next is placed in the area that stores file management information in the order of the file identification number, and the first entry that stores the file identification number that should be used first is placed in the area that stores file management information in the order of the file identification number. The area for storing file management information has a file identification number storage area and a final file identification number storage area for storing the last file identification number to be used, and when a file is generated, the first file identification number storage area is used. Information indicating the position of the generated file is stored in the file position storage area of the entry that is paired with the indicated file identification number, and information that is stored in the file identification number order area of the entry is stored in the first file identification number storage area. When deleting a file, the file identification number sequence area (I7) that pairs with the file identification number indicated in the final file identification number storage area and the final file identification number storage area. By storing the file identification number assigned to the file and storing information indicating that the file does not exist in the file location storage area of the entry paired with the file, unintended references to the file can be prevented. can be prevented, and its practical effects are great.
第1図は本発明における一実施例のファイル管理方法の
ブロック図、第2図はエントリの概念図、第3図はファ
イル管理情報を格納する領域の概念図、第4図は本発明
における一実施例のファイル削除のアルゴリズムを示す
フローチャート、第6図は本発明における一実施例のフ
ァイル生成のアルゴリズムを示すフローチャート、第6
図は従来例のファイル管理方法のブロック図、第7図は
従来例のファイル生成のアルゴリズムを示すフローチャ
ートである。
11・・・・・・ファイル管理手段、12・・・・・・
中央処理装置(CPU)、13・・・・・・情報記録再
生装置、21・・・・・・ファイル位置格納領域、22
・・・・・・ファイル識別番号順序領域、31・・・・
・・先頭ファイル識別番号格納領域、32・・・・・・
最終ファイル識別番号格納領域、33・・・・・・エン
トリ。
代理人の氏名 弁理士 粟 野 重 孝 ほか1名第
図
第
図
第
図
第
図
第
因Fig. 1 is a block diagram of a file management method according to an embodiment of the present invention, Fig. 2 is a conceptual diagram of an entry, Fig. 3 is a conceptual diagram of an area for storing file management information, and Fig. 4 is a block diagram of a file management method according to an embodiment of the present invention. FIG. 6 is a flowchart showing an algorithm for file deletion according to an embodiment of the present invention; FIG.
The figure is a block diagram of a conventional file management method, and FIG. 7 is a flowchart showing a conventional file generation algorithm. 11...File management means, 12...
Central processing unit (CPU), 13... Information recording/reproducing device, 21... File position storage area, 22
...File identification number sequence area, 31...
...First file identification number storage area, 32...
Final file identification number storage area, 33... entry. Name of agent: Patent attorney Shigetaka Awano and one other person
Claims (1)
イルに割り振り、ファイルの位置を格納するファイル位
置格納領域とファイル生成時に当該ファイル識別番号の
次に割り振るべきファイル識別番号を格納するファイル
識別番号順序領域から成るエントリを前記ファイル識別
番号順にファイル管理情報を格納する領域に配置し、最
初に使用すべきファイル識別番号を格納する先頭ファイ
ル識別番号格納領域と最後に使用すべきファイル識別番
号を格納する最終ファイル識別番号格納領域をファイル
管理情報を格納する領域に有し、ファイルを生成する場
合は、前記先頭ファイル識別番号格納領域で示されるフ
ァイル識別番号と対を成すエントリのファイル位置格納
領域に、生成したファイルの位置を示す情報を格納し、
前記先頭ファイル識別番号格納領域に、当該エントリの
ファイル識別番号順序領域に格納されていたファイル識
別番号を格納し、ファイルを削除する場合は、前記最終
ファイル識別番号格納領域で示されるファイル識別番号
と対を成すエントリのファイル識別番号順序領域および
前記最終ファイル識別番号格納領域に、当該ファイルに
割り振られていたファイル識別番号を格納し、当該ファ
イルと対を成すエントリのファイル位置格納領域にファ
イルが存在しないことを示す情報を格納することを特徴
とするファイル管理方法。A file position storage area that allocates a file identification number that can uniquely identify a file to each file, stores the file position, and a file identification number sequence area that stores the file identification number that should be allocated next to the file identification number when generating a file. The entries consisting of the following are placed in the area for storing file management information in the order of the file identification numbers, and the first file identification number storage area stores the file identification number to be used first and the last file identification number storage area stores the file identification number to be used last. When a file identification number storage area is provided in the area for storing file management information and a file is generated, the file location storage area of the entry paired with the file identification number indicated in the first file identification number storage area is created. stores information indicating the location of the file that was created,
The file identification number stored in the file identification number order area of the entry is stored in the first file identification number storage area, and when deleting a file, the file identification number shown in the final file identification number storage area and the file identification number shown in the final file identification number storage area are stored. The file identification number assigned to the file is stored in the file identification number order area and the final file identification number storage area of the paired entry, and the file exists in the file location storage area of the entry paired with the file. A file management method characterized by storing information indicating that data is not stored.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63198221A JPH0247737A (en) | 1988-08-09 | 1988-08-09 | File management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63198221A JPH0247737A (en) | 1988-08-09 | 1988-08-09 | File management method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0247737A true JPH0247737A (en) | 1990-02-16 |
Family
ID=16387519
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63198221A Pending JPH0247737A (en) | 1988-08-09 | 1988-08-09 | File management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0247737A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5262764A (en) * | 1990-08-10 | 1993-11-16 | Sharp Kabushiki Kaisha | Display control circuit |
-
1988
- 1988-08-09 JP JP63198221A patent/JPH0247737A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5262764A (en) * | 1990-08-10 | 1993-11-16 | Sharp Kabushiki Kaisha | Display control circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3712922B2 (en) | Method for independent data copying in a data processing system | |
| US5751997A (en) | Method and apparatus for transferring archival data among an arbitrarily large number of computer devices in a networked computer environment | |
| US5218696A (en) | Method for dynamically expanding and rapidly accessing file directories | |
| US7099875B2 (en) | Method and apparatus for making independent data copies in a data processing system | |
| US6675257B1 (en) | System and method for managing storage space on a sequential storage media | |
| EP0410210A2 (en) | Method for dynamically expanding and rapidly accessing file directories | |
| US7395283B1 (en) | Method and apparatus for making independent data copies in a data processing system | |
| JPH0247737A (en) | File management method | |
| EP0097239B1 (en) | Method and apparatus for restoring data in a computing system | |
| JP4213430B2 (en) | File system integrity guarantee method, computer system capable of realizing integrity guaranteeable file system, file system | |
| JP2924786B2 (en) | Exclusive control system, exclusive control method, and medium for storing exclusive control program for shared file in loosely coupled multiple computer system | |
| JPH0247738A (en) | File management method | |
| JP3274188B2 (en) | Backup file management method and backup method | |
| JPH03116248A (en) | Data maintenance system for data base | |
| JP2010061604A (en) | Consistency verification system, verification method, and program | |
| JPH05151037A (en) | Reorganization processing system for database in business processing | |
| JPH02122328A (en) | File preparation system | |
| JPH03100744A (en) | Data base control system | |
| JP2861548B2 (en) | Multiple host method | |
| JP2740451B2 (en) | Catalog management file optimization method | |
| JPH05197607A (en) | File saving/restoring device | |
| JPS61151754A (en) | Data base recovery processing system | |
| JPH0744426A (en) | File system file management method | |
| JP2630103B2 (en) | File space reservation method | |
| JP2817911B2 (en) | Access control method for keyed files |