JPH0239225A - Filing system - Google Patents

Filing system

Info

Publication number
JPH0239225A
JPH0239225A JP63191554A JP19155488A JPH0239225A JP H0239225 A JPH0239225 A JP H0239225A JP 63191554 A JP63191554 A JP 63191554A JP 19155488 A JP19155488 A JP 19155488A JP H0239225 A JPH0239225 A JP H0239225A
Authority
JP
Japan
Prior art keywords
file
header information
access
files
retrieved
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63191554A
Other languages
Japanese (ja)
Inventor
Sukeyuki Mochizuki
望月 祐之
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63191554A priority Critical patent/JPH0239225A/en
Publication of JPH0239225A publication Critical patent/JPH0239225A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PURPOSE:To shorten the overall file access time with higher efficiency by retrieving the corresponding header information in the order of higher using frequency and performing an access to a file via a file storing part based on the retrieved header information. CONSTITUTION:An input device 4 designates the name of a file to receive an access from an optical disk device 1. A system controller 5 inputting the input of the file name controls a magnetic disk device 2 and reads out each header information written into the device 2 at and after the head one to retrieve the corresponding header information. When this header information is not retrieved out of the device 2, a new file is produced as necessary and stored in the device 1. At the same time, the header information on the new file is written into the device 2. While the file pointed by the retrieved corresponding header information is read out of the device 1 and loaded into a data memory 3. Then those stored header information on the files are arranged in the order of higher using frequency and the device 2 is rewritten.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、ファイル記憶装置に対してファイルアクセス
、ファイル書込み等のファイル入出力管理を行うファイ
ルシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a file system that performs file input/output management such as file access and file writing for a file storage device.

(従来の技術) 従来から、オペレーティングシステムにおいては、複数
のファイルを記憶する例えば光ディスクや磁気ディスク
等のファイル記憶装置に対してファイル入出力管理を行
うファイルシステムが採用されている。
(Prior Art) Conventionally, operating systems have adopted file systems that perform file input/output management for file storage devices such as optical disks and magnetic disks that store a plurality of files.

ところで、一般にこのようなファイルシステムでのファ
イルアクセスは、ファイル記憶装置において各ファイル
データの直前にそれぞれ書込まれたヘッダ情報を検索す
ることにより行われている。
Incidentally, file access in such a file system is generally performed by searching for header information written immediately before each file data in a file storage device.

したがって、上述したファイルシステムでは、ファイル
記憶装置に記憶されたファイル量が多い程、全体的なフ
ァイルアクセス時間が長くなるという難点があった。
Therefore, the above-described file system has the disadvantage that the larger the amount of files stored in the file storage device, the longer the overall file access time.

そこで、近年、各ファイルのヘッダ情報のみを別の記憶
装置に記憶し、ファイルアクセスを行う際はこの記憶装
置に記憶されたヘッダ情報の検索を行うことにより、よ
り高速なファイルアクセスを実現する方法が用いられて
いる。
Therefore, in recent years, methods have been developed to realize faster file access by storing only the header information of each file in a separate storage device, and searching for the header information stored in this storage device when accessing the file. is used.

しかしながら、いずれの方法においても、使用頻度が高
いファイルに対するアクセスを使用頻度が低いファイル
に対するアクセスよりも高速に行えるような考慮はなさ
れてはいないため、ファイルアクセス時間の充分な短縮
化を図るには至らないという課題があった。
However, none of these methods takes into account the possibility of accessing frequently used files faster than accessing less frequently used files, so it is difficult to sufficiently shorten file access time. There was an issue of not being able to do so.

(発明が解決しようとする課題) 本発明のファイルシステムは上述した課題を解決するた
めのもので、使用頻度が高いファイルに対するアクセス
を使用頻度が低いファイルに対するアクセスよりも高速
に行うことにより、全体的なファイルアクセス時間をよ
り有効に短縮化することのできるファイルシステムの提
供を目的としている。
(Problems to be Solved by the Invention) The file system of the present invention is intended to solve the above-mentioned problems, and by accessing frequently used files faster than accessing less frequently used files, it is possible to The purpose is to provide a file system that can more effectively shorten file access time.

[発明の構成] (課題を解決するための手段) 本発明のファイルシステムは上記した目的を達成するた
めに、複数のファイルを保存するファイル保存部と、フ
ァイル保存部における各ファイルの保存位置を示すヘッ
ダ情報を各ファイルの使用頻度が高い順に配列して記憶
するヘッダ情報記憶部とを備え、アクセスすべきファイ
ル名の指定により、ヘッダ情報記憶部において該当する
ヘッダ情報の検索を使用頻度が高いものから順に行い、
検索されたヘッダ情報に基づいてファイル保存部からフ
ァイルアクセスを行うようにしたものである。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above-mentioned object, the file system of the present invention includes a file storage section that stores a plurality of files, and a storage location of each file in the file storage section. A header information storage unit that stores header information arranged in order of frequency of use for each file, and by specifying a file name to be accessed, searches for corresponding header information in the header information storage unit that are frequently used. Do things in order,
File access is performed from the file storage section based on the searched header information.

(作 用) 本発明のファイルシステムでは、アクセスすべきファイ
ル名の指定により、ヘッダ情報記憶部において該当する
ヘッダ情報の検索を使用頻度が高いものから順に行い、
検索されたヘッダ情報に基づいてファイル保存部からフ
ァイルアクセスを行うようにしたので、使用頻度が高い
ファイルに対するアクセスを使用頻度が低いファイルに
対するアクセスよりも高速に行うことができ、これによ
り全体的なファイルアクセス時間をより有効に短縮化す
ることができる。
(Function) In the file system of the present invention, by specifying the file name to be accessed, the header information storage section searches for the corresponding header information in order of frequency of use.
Since file access is performed from the file storage area based on the header information retrieved, frequently used files can be accessed faster than less frequently used files, which improves the overall File access time can be more effectively shortened.

(実施例) 以下、本発明の実施例を図面に基づいて詳細に説明する
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は本発明の一実施例のファイルシステムの構成を
説明するためのブロック図である。
FIG. 1 is a block diagram for explaining the configuration of a file system according to an embodiment of the present invention.

同図において、1は複数のファイルを保存するファイル
保存部である光ディスク(図示せず)に対し、ファイル
の読出し/書込み動作等を行う光デイスク装置、2は各
ファイルのヘッダ情報をアクセス回数が多いもの、すな
わち使用頻度が高いものから順に配列して記憶するヘッ
ダ情報記憶部である磁気ディスク(図示せず)に対し、
ヘッダ情報の読出し/書込み動作等を行う磁気ディスク
装置、3は光ディスクから読出されたファイルが処理実
行用のデータとして格納されるデータメモリ、4はこの
システムにおける各種の入力操作を行うための入力装置
、5はこのシステム全体を制御しているシステムコント
ローラ、6はシステムコントローラ5で実行される制御
プログラムが格納されたROMである。
In the figure, 1 is an optical disk device that performs file read/write operations on an optical disk (not shown) that is a file storage unit that stores multiple files, and 2 is an optical disk device that performs file read/write operations, etc. For a magnetic disk (not shown), which is a header information storage unit that arranges and stores items in descending order of frequency of use,
A magnetic disk device that performs operations such as reading/writing header information, 3 a data memory in which files read from the optical disk are stored as data for processing execution, and 4 an input device for performing various input operations in this system. , 5 is a system controller that controls the entire system, and 6 is a ROM in which a control program executed by the system controller 5 is stored.

次にこの実施例システムにおいて代表される動作につい
て説明する。
Next, the typical operation in this embodiment system will be explained.

第2図はその動作の流れを示すフローチャートである。FIG. 2 is a flowchart showing the flow of the operation.

まず人力装置4により、光ディスクからアクセスすべき
ファイル名の指定を行う(ステップa)。
First, a file name to be accessed from the optical disk is specified using the human-powered device 4 (step a).

ファイル名を入力したシステムコントローラ5は、磁気
ディスク装置2を制御して、磁気ディスクに書込まれた
個々のヘッダ情報を先頭のものから順番に読出し、その
都度指定ファイル名との比較を行うことにより該当する
ヘッダ情報の検索を行う(ステップb)。
The system controller 5 that has input the file name controls the magnetic disk device 2 to sequentially read each piece of header information written on the magnetic disk starting from the first one, and compares it with the specified file name each time. The corresponding header information is searched for (step b).

ここで該当するヘッダ情報が磁気ディスク上に存在しな
い場合、必要に応じて新規ファイルの作成を行い(ステ
ップC)、光デイスク上にこの新規ファイルを保存する
とともに磁気ディスク上にこの新規ファイルのヘッダ情
報を書込む(ステップd)。
If the corresponding header information does not exist on the magnetic disk, create a new file as necessary (step C), save this new file on the optical disk, and save the header of this new file on the magnetic disk. Write information (step d).

一方ステップbにおいて該当するヘッダ情報が検索され
た場合、システムコントローラ5は、光デイスク装置1
を制御して、そのヘッダ情報が示すファイルを光ディス
クから読出し、これをデータメモリ4にロードする(ス
テップe)。
On the other hand, if the corresponding header information is retrieved in step b, the system controller 5 searches the optical disk device 1.
is controlled to read the file indicated by the header information from the optical disk and load it into the data memory 4 (step e).

この後、データメモリ4にロードされたファイルを用い
た所定の処理を行う(ステップf)。
Thereafter, predetermined processing is performed using the file loaded into the data memory 4 (step f).

次に、今回の処理で用いたファイルデータを光ディスク
に保存するかどうかを決定する(ステップg)。
Next, it is determined whether the file data used in the current process should be saved on the optical disk (step g).

保存しない場合は、今回のアクセスされたファイルのヘ
ッダ情報を磁気ディスク上から削除し、磁気ディスク上
の各ヘッダ情報をアクセス回数が多いものから順に配列
し直す(ステップh)。
If not saved, the header information of the currently accessed file is deleted from the magnetic disk, and the header information on the magnetic disk is rearranged in descending order of the number of accesses (step h).

一方、ファイルを保存する場合は、ヘッダ情報の変更が
ない限り今回アクセスされたファイルのアクセス回数を
1つ増やし、磁気ディスク上の各ヘッダ情報を上述の如
く配列し直す(ステップi、h)。
On the other hand, when saving a file, unless the header information is changed, the access count of the currently accessed file is increased by one, and each header information on the magnetic disk is rearranged as described above (steps i, h).

なおここでヘッダ情報の変更があった場合は、そのファ
イルは新規のファイルとされ、磁気ディスク上にそのフ
ァイルのヘッダ情報が新たに書込まれる。
Note that if the header information is changed here, the file is treated as a new file, and the header information of the file is newly written on the magnetic disk.

かくしてこの実施例のファイルシステムによれば、磁気
ディスク上に、アクセス回数が多いファイルのヘッダ情
報から順番に各ヘッダ情報を配列して記憶させておき、
アクセスすべきファイル名の指定があったとき、磁気デ
ィスク上で該当するヘッダ情報の検索をアクセス回数が
多いものから順番に行うようにしたので、全体的なファ
イルアクセス時間をより有効に短縮化することが可能と
なる。
Thus, according to the file system of this embodiment, each header information is arranged and stored on the magnetic disk in order from the header information of the file that has been accessed the most,
When a file name to be accessed is specified, the corresponding header information on the magnetic disk is searched in descending order of the number of accesses, which effectively reduces the overall file access time. becomes possible.

[発明の効果コ 以上説明したように本発明のファイルシステムによれば
、使用頻度が高いファイルに対するアクセスを使用頻度
が低いファイルに対するアクセスよりも高速に行うこと
ができ、これにより全体的なファイルアクセス時間をよ
り有効に短縮化することができる。
[Effects of the Invention] As explained above, according to the file system of the present invention, frequently used files can be accessed faster than less frequently used files, thereby reducing overall file access. Time can be more effectively shortened.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のファイルシステムの構成を
説明するためのブロック図、第2図は第1図のファイル
システムにおけるファイルアクセスおよびヘッダ情報の
配列管理の流れを示すフローチャートである。 1・・・光デイスク装置、2・・・磁気ディスク装置、
3・・・データメモリ、4・・・入力装置、5・・・シ
ステムコントローラ、6・・・ROM0 出願人     株式会社 東芝 代理人 弁理士 須 山 佐 − 第1図
FIG. 1 is a block diagram for explaining the configuration of a file system according to an embodiment of the present invention, and FIG. 2 is a flowchart showing the flow of file access and header information arrangement management in the file system of FIG. 1. 1... Optical disk device, 2... Magnetic disk device,
3...Data memory, 4...Input device, 5...System controller, 6...ROM0 Applicant Toshiba Corporation Representative Patent Attorney Satoshi Suyama - Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)複数のファイルを保存するファイル保存部と、前
記ファイル保存部における各ファイルの保存位置を示す
ヘッダ情報を前記各ファイルの使用頻度が高い順に配列
して記憶するヘッダ情報記憶部とを備え、アクセスすべ
きファイル名の指定により、前記ヘッダ情報記憶部にお
いて該当するヘッダ情報の検索を使用頻度が高いものか
ら順に行い、検索されたヘッダ情報に基づいて前記ファ
イル保存部からファイルアクセスを行うようにしたこと
を特徴とするファイルシステム。
(1) A file storage unit that stores a plurality of files, and a header information storage unit that stores header information indicating the storage location of each file in the file storage unit, arranged in descending order of the frequency of use of each of the files. , by specifying a file name to be accessed, the header information storage unit searches for corresponding header information in order of frequency of use, and the file is accessed from the file storage unit based on the searched header information. A file system characterized by:
JP63191554A 1988-07-28 1988-07-28 Filing system Pending JPH0239225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63191554A JPH0239225A (en) 1988-07-28 1988-07-28 Filing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63191554A JPH0239225A (en) 1988-07-28 1988-07-28 Filing system

Publications (1)

Publication Number Publication Date
JPH0239225A true JPH0239225A (en) 1990-02-08

Family

ID=16276605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63191554A Pending JPH0239225A (en) 1988-07-28 1988-07-28 Filing system

Country Status (1)

Country Link
JP (1) JPH0239225A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0476720U (en) * 1990-11-15 1992-07-03
US5829045A (en) * 1994-10-28 1998-10-27 Fujitsu Limited Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures
JP2008520013A (en) * 2004-11-15 2008-06-12 ズィー コーポレイション オブ カナダ インコーポレイテッド Managing pointers to objects
JP2012194859A (en) * 2011-03-17 2012-10-11 Fujitsu Ltd Information processing program, information processing apparatus, and information processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56121161A (en) * 1980-02-27 1981-09-22 Hitachi Ltd Magnetic disc unit
JPS5994157A (en) * 1982-11-19 1984-05-30 Fujitsu Ltd Arranging system of data set

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56121161A (en) * 1980-02-27 1981-09-22 Hitachi Ltd Magnetic disc unit
JPS5994157A (en) * 1982-11-19 1984-05-30 Fujitsu Ltd Arranging system of data set

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0476720U (en) * 1990-11-15 1992-07-03
US5829045A (en) * 1994-10-28 1998-10-27 Fujitsu Limited Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures
JP2008520013A (en) * 2004-11-15 2008-06-12 ズィー コーポレイション オブ カナダ インコーポレイテッド Managing pointers to objects
JP2012194859A (en) * 2011-03-17 2012-10-11 Fujitsu Ltd Information processing program, information processing apparatus, and information processing method

Similar Documents

Publication Publication Date Title
US5890208A (en) Command executing method for CD-ROM disk drive
US5247665A (en) Data base processing apparatus using relational operation processing
US6256644B1 (en) Control system for storing data in accordance with predefined characteristics thereof
JPH04219844A (en) High-speed medium preferential release type exclusive system
JPH0239225A (en) Filing system
JPH0277949A (en) File producing method
JPH07334402A (en) Data base as main memory
JPH06103128A (en) Storage device
US20220138338A1 (en) Data replacement apparatus, data replacement method, and program
JPH02151944A (en) Data processor
JPH03174654A (en) Filing method and its device
JPH0423143A (en) Data storing system
JPH02116936A (en) Reorganizing system
JPS6225345A (en) Multivolume control processing system
JPH0410292A (en) Hard disk device
JPS62177642A (en) File management system for postscript filing device
JPH0659948A (en) File management system
JPH0338741A (en) Working data managing system for main storage
JPH04140825A (en) Optical disk device access system
JPH05158760A (en) Migration processing system
JPS6349859A (en) Access method to cache memory
JPH01169793A (en) System for moving optical disk management information
JPS62118453A (en) File controller
JPH04172541A (en) Record storage unit
JPH01191240A (en) Cyclic organization file processing system