JPH07105054A - File management method - Google Patents

File management method

Info

Publication number
JPH07105054A
JPH07105054A JP5246796A JP24679693A JPH07105054A JP H07105054 A JPH07105054 A JP H07105054A JP 5246796 A JP5246796 A JP 5246796A JP 24679693 A JP24679693 A JP 24679693A JP H07105054 A JPH07105054 A JP H07105054A
Authority
JP
Japan
Prior art keywords
area
file
managing
information
management table
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.)
Withdrawn
Application number
JP5246796A
Other languages
Japanese (ja)
Inventor
Minoru Yusa
稔 遊佐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Gunma Ltd
Original Assignee
NEC Gunma Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Gunma Ltd filed Critical NEC Gunma Ltd
Priority to JP5246796A priority Critical patent/JPH07105054A/en
Publication of JPH07105054A publication Critical patent/JPH07105054A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the nonuse part of an external storage device without enlarging the size of an area management table and to effectively use it by providing an area use table managing blocks obtained by subdividing respective area in addition to the area management table, and using the area management table and the area use table jointly. CONSTITUTION:A file information table 1 storing information on a data file, the area management table 2 managing the use state of the storage area of the data file and the area use table 3 managing the use state of the blocks obtained by subdividing the storage area are provided. The area use table 3 has area numbers 8 corresponding to the area numbers 8 of the area management table 2, and the respective area numbers 8a have plural area block numbers 10. Namely, the area storing the data file is divided into the plural blocks, and one area can be shared by the plural files by using the area management table 2 and the use table 3 jointly.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータにおける
オペレーティングシステムのファイル管理方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management method for an operating system in a computer.

【0002】[0002]

【従来の技術】コンピュータにおけるオペレーティング
システムの従来のファイル管理方法は、フレキシブルデ
ィスク装置やハードディスク装置等の外部記憶装置の記
憶媒体に格納すべきデータファイルを、ファイル情報テ
ーブルを介して領域管理テーブルによってデータ格納領
域を連結することにより管理している。
2. Description of the Related Art In a conventional file management method for an operating system in a computer, a data file to be stored in a storage medium of an external storage device such as a flexible disk device or a hard disk device is data-stored by an area management table via a file information table. It is managed by connecting the storage areas.

【0003】[0003]

【発明が解決しようとする課題】上述したような従来の
ファイル管理方法は、簡単な管理方法であるため広く利
用されているが、データファイルを格納する最後の格納
領域においては、格納すべきデータファイルが僅かな量
のものであっても、その格納領域全体を占有し、未使用
の部分を多く残した状態で他のデータファイルの格納を
排除するため、外部記憶装置の記憶容量を有効に活用す
ることができないという欠点を有している。また、同じ
記憶容量の外部記憶装置において、オペレーティングシ
ステムが管理する格納領域の大きさを小さくすると、領
域管理テーブルの大きさが相対的に大きくなるという欠
点も有している。
The conventional file management method as described above is widely used because it is a simple management method. However, in the last storage area for storing a data file, the data to be stored is to be stored. Even if a file is a small amount, it occupies the entire storage area and eliminates the storage of other data files while leaving a lot of unused areas, thus enabling the storage capacity of the external storage device to be effective. It has the drawback that it cannot be used. Further, in the external storage device having the same storage capacity, if the size of the storage area managed by the operating system is reduced, the size of the area management table becomes relatively large.

【0004】[0004]

【課題を解決するための手段】本発明のファイル管理方
法は、外部記憶装置に格納したデータファイルを管理情
報に基づいて管理するオペレーティングシステムのファ
イル管理方法において、前記データファイルの情報を格
納するファイル情報テーブルと、前記データファイルの
格納領域の使用状態を管理する領域管理テーブルと、前
記格納領域を更に細分化した使用ブロックの使用状態を
管理する領域使用テーブルとを設け、前記ファイル情報
テーブルおよび前記領域管理テーブルおよび前記領域使
用テーブルとによってデータファイルを管理することを
含むものである。
A file management method of the present invention is an operating system file management method for managing a data file stored in an external storage device based on management information. An information table, an area management table that manages the usage status of the storage area of the data file, and an area usage table that manages the usage status of the used blocks obtained by further subdividing the storage area are provided, and the file information table and the It includes managing the data file by the area management table and the area use table.

【0005】すなわち、本発明のファイル管理方法は、
外部記憶装置に格納したデータファイルを管理情報に基
づいて管理するオペレーティングシステムのファイル管
理方法において、前記データファイルの情報を格納する
ファイル情報テーブルと、前記データファイルの格納領
域の使用状態を管理する領域管理テーブルと、前記格納
領域を更に細分化した使用ブロックの使用状態を管理す
る領域使用テーブルとを設け、前記領域管理テーブルお
よび前記領域使用テーブルとを併用して前記外部記憶装
置の1個のデータ格納領域を複数のファイルで共用でき
るようにデータファイルを管理することを含むものであ
る。
That is, the file management method of the present invention is
In a file management method of an operating system for managing a data file stored in an external storage device based on management information, a file information table for storing information of the data file, and an area for managing a usage state of the storage area of the data file A management table and an area usage table for managing the usage status of used blocks in which the storage area is further subdivided are provided, and one data of the external storage device is used by using the area management table and the area usage table together. This includes managing the data file so that the storage area can be shared by a plurality of files.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明の一実施例におけるファイル
情報テーブルおよび領域管理テーブルおよび領域使用テ
ーブルを示すフォーマット図である。
FIG. 1 is a format diagram showing a file information table, an area management table, and an area use table in an embodiment of the present invention.

【0008】図1に示すように、ファイル情報テーブル
1は、ファイル名部4と、開始番号領域部5と、最終領
域使用情報部6と、その他の情報格納部7とを有してい
る。領域管理テーブル2は、領域番号8を有している。
領域使用テーブル3は、領域管理テーブル2の領域番号
8に対応する領域番号8aを有し、各領域番号8aは、
複数の領域ブロック番号10を有している。
As shown in FIG. 1, the file information table 1 has a file name portion 4, a start number area portion 5, an end area use information portion 6 and other information storage portion 7. The area management table 2 has an area number 8.
The area use table 3 has an area number 8a corresponding to the area number 8 of the area management table 2, and each area number 8a is
It has a plurality of area block numbers 10.

【0009】ファイル情報テーブル1のファイル名部4
に格納されているデータ「FILE−A」は、開始番号
領域部5に示してある番号「01」の領域から使用さ
れ、これに対応して、領域管理テーブル2の領域番号8
の番号「01」の領域に格納されているテーブル情報9
として、番号「01」の領域の次に使用される領域の番
号である番号「02」を格納することにより、データ格
納領域の連結を行っている。同様にして、番号「03」
〜「06」の各領域が連結され、領域番号8の番号「0
6」の領域に格納されているテーブル情報9としては、
データ「FILE−A」が使用する最後の領域を示す番
号「FF」が格納されている。
File name part 4 of file information table 1
The data "FILE-A" stored in the area is used from the area of the number "01" shown in the start number area section 5, and correspondingly, the area number 8 of the area management table 2 is used.
Information 9 stored in the area with the number "01"
As a result, the data storage areas are linked by storing the number "02" which is the number of the area used next to the area of the number "01". Similarly, the number "03"
Each area from "06" to "06" is connected, and the area number 8 is "0".
The table information 9 stored in the area “6” is
The number “FF” indicating the last area used by the data “FILE-A” is stored.

【0010】このとき、番号「01」〜「06」の各領
域は、データ「FILE−A」によって使用し尽されて
いるため、これらに対応する領域使用テーブル3の領域
番号8aの領域ブロック番号10に格納されている使用
領域情報11は、番号「06」の最終の領域ブロック番
号を除いてすべて使用済であることを示す“1”となっ
ている。また、ファイル情報テーブル1のデータ「FI
LE−A」に対応する最終領域使用情報部6の領域ブロ
ック番号10aの番号「1」および「2」に格納されて
いる使用領域情報11aは、領域ブロック番号10aの
番号「1」および「2」が使用済であることを示すた
め、“1”となっている。
At this time, since the areas "01" to "06" have been used up by the data "FILE-A", the area block number of the area number 8a of the area use table 3 corresponding to these areas. The used area information 11 stored in 10 is "1" indicating that all areas have been used except for the last area block number of number "06". In addition, the data “FI of the file information table 1
The used area information 11a stored in the area block number 10a numbers "1" and "2" of the final area use information section 6 corresponding to "LE-A" is the area block number 10a numbers "1" and "2". It is "1" to indicate that "" has been used.

【0011】ファイル情報テーブル1のファイル名部4
に格納されているデータ「FILE−B」も同様に、領
域管理テーブル2の領域番号8において番号「07」〜
「09」の各領域が連結され、最終領域として領域番号
8に番号「06」が格納されている。
File name portion 4 of file information table 1
Similarly, the data “FILE-B” stored in the area management table 2 has the area number 8 in the area management table 2 from “07” to
The areas "09" are connected, and the area number 8 stores the number "06" as the final area.

【0012】データ「FILE−B」の番号「06」の
使用状況は、ファイル情報テーブル1のデータ「FIL
E−B」に対応する最終領域使用情報部6に示すよう
に、領域ブロック番号10aの番号「3」が使用されて
いることを示す“1”となっている。
The usage status of the number "06" of the data "FILE-B" is the data "FIL" of the file information table 1.
As shown in the final area use information part 6 corresponding to "EB", the area block number 10a is "1" indicating that the number "3" is being used.

【0013】このように、1個の領域を複数のブロック
に分割し、各ブロックを別個のファイルで使用できるよ
うにすることにより、1個の領域を複数のファイルで共
用できるようにすることが可能となる。
In this way, one area is divided into a plurality of blocks, and each block can be used in a separate file, so that one area can be shared by a plurality of files. It will be possible.

【0014】上述の実施例では、1個の領域の分割数を
4個としているが、5個以上または3個以下とすること
も可能である。
In the above-described embodiment, the number of divisions of one area is four, but it is also possible to set it to five or more or three or less.

【0015】このように、従来の領域管理テーブルの他
に、各領域を細分化したブロックを管理する領域使用テ
ーブルを設け、領域管理テーブルと領域使用テーブルと
を併用することにより、領域管理テーブルの大きさをあ
まり大きくせずに外部記憶装置の記憶領域のうち未使用
の部分を少なくすることができる。
As described above, in addition to the conventional area management table, an area use table for managing blocks in which each area is subdivided is provided, and the area management table and the area use table are used in combination to create the area management table. It is possible to reduce the unused portion of the storage area of the external storage device without making the size too large.

【0016】[0016]

【発明の効果】以上説明したように、本発明のファイル
管理方法は、データファイルを格納する領域を複数のブ
ロックに分割し、各ブロックの使用状況を管理する領域
使用テーブルを設け、領域管理テーブルと領域使用テー
ブルとを併用して1個の領域を複数のファイルで共用で
きるようにすることにより、領域管理テーブルの大きさ
をあまり大きくせずに、外部記憶装置の記憶領域のうち
未使用の部分を少なくして外部記憶装置の記憶容量を有
効に活用することが可能になるという効果がある。
As described above, according to the file management method of the present invention, the area for storing the data file is divided into a plurality of blocks, and the area use table for managing the usage status of each block is provided. And an area use table are used together so that one area can be shared by a plurality of files, so that an unused area in the storage area of the external storage device can be used without increasing the size of the area management table. There is an effect that the storage capacity of the external storage device can be effectively utilized by reducing the number of parts.

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

【図1】本発明の一実施例におけるファイル情報テーブ
ルおよび領域管理テーブルおよび領域使用テーブルを示
すフォーマット図である。
FIG. 1 is a format diagram showing a file information table, an area management table, and an area use table in an embodiment of the present invention.

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

1 ファイル情報テーブル 2 領域管理テーブル 3 領域使用テーブル 4 ファイル名部 5 開始番号領域部 6 最終領域使用情報部 7 その他の情報格納部 8・8a 領域番号 9 テーブル情報 10・10a 領域ブロック番号10 11・11a 使用領域情報 1 File Information Table 2 Area Management Table 3 Area Usage Table 4 File Name Part 5 Start Number Area Part 6 Final Area Usage Information Part 7 Other Information Storage 8.8a Area Number 9 Table Information 10 / 10a Area Block Number 10 11 11a Used area information

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部記憶装置に格納したデータファイル
を管理情報に基づいて管理するオペレーティングシステ
ムのファイル管理方法において、前記データファイルの
情報を格納するファイル情報テーブルと、前記データフ
ァイルの格納領域の使用状態を管理する領域管理テーブ
ルと、前記格納領域を更に細分化した使用ブロックの使
用状態を管理する領域使用テーブルとを設け、前記ファ
イル情報テーブルおよび前記領域管理テーブルおよび前
記領域使用テーブルとによってデータファイルを管理す
ることを含むことを特徴とするファイル管理方法。
1. A file management method of an operating system for managing a data file stored in an external storage device based on management information, wherein a file information table storing information of the data file and a storage area of the data file are used. An area management table for managing the status and an area usage table for managing the usage status of used blocks obtained by further subdividing the storage area are provided, and a data file is created by the file information table, the area management table, and the area usage table. A file management method comprising managing a file.
【請求項2】 外部記憶装置に格納したデータファイル
を管理情報に基づいて管理するオペレーティングシステ
ムのファイル管理方法において、前記データファイルの
情報を格納するファイル情報テーブルと、前記データフ
ァイルの格納領域の使用状態を管理する領域管理テーブ
ルと、前記格納領域を更に細分化した使用ブロックの使
用状態を管理する領域使用テーブルとを設け、前記領域
管理テーブルおよび前記領域使用テーブルとを併用して
前記外部記憶装置の1個のデータ格納領域を複数のファ
イルで共用できるようにデータファイルを管理すること
を含むことを特徴とするファイル管理方法。
2. A file management method of an operating system for managing a data file stored in an external storage device based on management information, wherein a file information table for storing information of the data file and a storage area for the data file are used. The external storage device is provided with an area management table for managing the status and an area usage table for managing the usage status of used blocks obtained by further subdividing the storage area, and using the area management table and the area usage table together. A file management method comprising: managing a data file so that one data storage area can be shared by a plurality of files.
JP5246796A 1993-10-01 1993-10-01 File management method Withdrawn JPH07105054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5246796A JPH07105054A (en) 1993-10-01 1993-10-01 File management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5246796A JPH07105054A (en) 1993-10-01 1993-10-01 File management method

Publications (1)

Publication Number Publication Date
JPH07105054A true JPH07105054A (en) 1995-04-21

Family

ID=17153807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5246796A Withdrawn JPH07105054A (en) 1993-10-01 1993-10-01 File management method

Country Status (1)

Country Link
JP (1) JPH07105054A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001016756A1 (en) * 1999-08-31 2001-03-08 Fujitsu Limited File apparatus and file access method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001016756A1 (en) * 1999-08-31 2001-03-08 Fujitsu Limited File apparatus and file access method
US7363331B2 (en) 1999-08-31 2008-04-22 Fujitsu Limited File device and file access method

Similar Documents

Publication Publication Date Title
EP1267266A1 (en) File control method
JP2008152802A (en) Method of storing file data on disk
WO2002084526A3 (en) Content recording/playback apparatus, and recording medium storing program for content recording/playback
EP0694831A2 (en) Computer system having storage unit provided with data compression function andmethod of management of storage area thereof
JPH07105054A (en) File management method
JPH08101783A (en) File system
JPH08241230A (en) Data management method and data recorder
JPH04289931A (en) Variable length file managing system
JP2928169B2 (en) Data area management method on disk
JPH0659953A (en) Method for controlling input/output of virtual file
JPH06214837A (en) Storage area managing method for external storage device
JPH02191048A (en) Method and device for data processing
JPH0512080A (en) Disk media control system
JPH06231016A (en) File coupling/dividing method
JP2000148550A (en) Area management method and free area management method for file
JPH01319820A (en) Memory medium control system
JP2005032283A (en) Recording medium and file management method
JPS63192126A (en) Processing system for space control of data set
JPH04223537A (en) Image file storing system
JPH05197599A (en) File space management system
JPH11296419A (en) Copying method for disc device and record medium
JPH04225441A (en) Continuous allocation file device
JPH05151716A (en) Data backup method of magnetic tape
JPH02297180A (en) Document editing system
JP2658969B2 (en) Data storage control system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001226