JP2605624B2 - File allocation method for optical disk drive - Google Patents

File allocation method for optical disk drive

Info

Publication number
JP2605624B2
JP2605624B2 JP6138331A JP13833194A JP2605624B2 JP 2605624 B2 JP2605624 B2 JP 2605624B2 JP 6138331 A JP6138331 A JP 6138331A JP 13833194 A JP13833194 A JP 13833194A JP 2605624 B2 JP2605624 B2 JP 2605624B2
Authority
JP
Japan
Prior art keywords
file
data
management information
information table
start address
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 - Fee Related
Application number
JP6138331A
Other languages
Japanese (ja)
Other versions
JPH07319749A (en
Inventor
博之 岡崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6138331A priority Critical patent/JP2605624B2/en
Publication of JPH07319749A publication Critical patent/JPH07319749A/en
Application granted granted Critical
Publication of JP2605624B2 publication Critical patent/JP2605624B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、光ディスク装置に関
し、特に、光ディスク媒体へのファイルのアロケートを
効率的に行なうことができる光ディスク装置のファイル
アロケート方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical disk device, and more particularly to a file allocation method for an optical disk device that can efficiently allocate a file to an optical disk medium.

【0002】[0002]

【従来の技術】光ディスク媒体にファイルをアロケート
する場合、既に光ディスク媒体に格納されているファイ
ルと同一のファイル名を有するファイルのアロケートは
禁止しなければならず、従来は次のようにしてファイル
名が重複するファイルのアロケートを禁止するようにし
ている。
2. Description of the Related Art When allocating a file to an optical disk medium, allocating a file having the same file name as a file already stored on the optical disk medium must be prohibited. Prohibits allocating duplicate files.

【0003】ファイル名の重複をチェックするには、光
ディスク媒体に既に格納されているファイルのファイル
名を知る必要があるが、一般に、光ディスク媒体上に
は、例えば特開平3−11418号公報の従来の技術に
示されるように、ファイルが実際に格納されるデータ領
域と、データ領域に格納された各ファイルのファイル
名,データ部開始アドレス,データ量等の管理情報を含
むファイルラベルが格納されたラベル領域とが設けられ
ているので、従来は、このラベル領域を利用してファイ
ル名の重複チェックを行なうようにしている。即ち、新
規ファイルのアロケート要求に応答して、光ディスク媒
体上のラベル領域に格納されているファイルラベルを先
頭から順番に読み出し、読み出したファイルラベル中の
ファイル名がアロケート要求されたファイルのファイル
名と同一の場合には、要求元にファイル名が重複するこ
とを通知して新規ファイルのアロケートを禁止するよう
にしている。尚、最終ファイルラベルまで読み出しても
アロケート要求されたファイルのファイル名と同一のフ
ァイル名がなかった場合は、ラベル領域に格納されてい
るデータ部開始アドレス,データ量に基づいて新規ファ
イルのデータ部開始アドレスを求め、そのデータ部開始
アドレスに従って新規ファイルを格納するようにしてい
る。
In order to check for duplicate file names, it is necessary to know the file names of the files already stored on the optical disk medium. As shown in the technique, a data area in which a file is actually stored and a file label including management information such as a file name, a data part start address, and a data amount of each file stored in the data area are stored. Since a label area is provided, a file name duplication check is conventionally performed using this label area. That is, in response to a request for allocating a new file, the file labels stored in the label area on the optical disk medium are sequentially read from the beginning, and the file name in the read file label is replaced with the file name of the file requested to be allocated. If they are the same, the request source is notified that the file name is duplicated, and allocation of a new file is prohibited. If the same file name as the file name of the file requested to be allocated is not found even after reading to the last file label, the data part of the new file is determined based on the data part start address and the data amount stored in the label area. A start address is obtained, and a new file is stored according to the data part start address.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
は、光ディスク媒体上のラベル領域に格納されているフ
ァイルラベルに基づいて重複チェック,新規ファイルの
データ部開始アドレスを求めるようにしているが、光デ
ィスク媒体に対するアクセス速度は遅いため、重複チェ
ック,アドレス算出に時間がかかり、ファイルのアロケ
ートを高速に行なうことが難しいという問題があった。
As described above, in the prior art, duplication check and a data section start address of a new file are obtained based on a file label stored in a label area on an optical disk medium. However, since the access speed to the optical disk medium is low, there is a problem that it takes time to check duplication and calculate addresses, and it is difficult to allocate files at high speed.

【0005】本発明の目的は、光ディスク装置に於い
て、ファイルのアロケート処理を高速に行なうことがで
きる光ディスク装置のファイルアロケート方式を提供す
ることにある。
An object of the present invention is to provide a file allocating method of an optical disk device which can perform a file allocating process at a high speed in the optical disk device.

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するため、光ディスク媒体上に格納されているファイル
のファイル名,データ量及び前記光ディスク媒体上の格
納位置を示すデータ部開始アドレスが格納された磁気デ
ィスク装置上の管理情報テーブルと、前記光ディスク媒
体上に格納された最も新しいファイルのファイル名が格
納される前記磁気ディスク装置上の最新ファイル情報部
と、要求元からのファイル名及びデータ量を含む新規フ
ァイルのアロケート要求に応答して前記管理情報テーブ
ルに前記新規ファイルのファイル名が格納されているか
否かを判定し、格納されていると判定した場合は前記要
求元にエラー通知を行ない、格納されていないと判定し
た場合は前記管理情報テーブルに、前記アロケート要求
に含まれている前記新規ファイルのファイル名及びデー
タ量を追記する管理情報テーブル追記処理部と、前記管
理情報テーブルに格納されている情報の内、前記最新フ
ァイル情報部にファイル名が格納されているファイル
データ部開始アドレス及びデータ量に基づいて前記新規
ファイルのデータ部開始アドレスを取得し、その後、前
記新規ファイルのファイル名を前記最新ファイル情報部
に格納する次データ部開始アドレス取得処理部と、
データ部開始アドレス取得部が取得したデータ部開始ア
ドレスから前記新規ファイルを前記光ディスク媒体上に
書き込む光ディスク書き込み処理部とを備えたものであ
る。
In order to achieve the above object, the present invention stores a file name, a data amount of a file stored on an optical disk medium, and a data part start address indicating a storage position on the optical disk medium. a management information table on the magnetic disk device, the optical disc medium
The file name of the most recent file stored on the body is
Latest file information section on the magnetic disk device to be stored
In response to a request for allocating a new file including a file name and a data amount from a request source , it is determined whether or not the file name of the new file is stored in the management information table, and it is determined that the file is stored. If so, an error notification is sent to the request source, and if it is determined that the new file is not stored, the management information table adds the file name and data amount of the new file included in the allocate request to the management information table. An additional write processing unit, and the latest file of the information stored in the management information table.
Acquires data unit starting address of the new file based on the data section start address and data size of the file file name Airu information unit is stored, then, before
Enter the file name of the new file in the latest file information section.
With a next data section start address acquisition processing unit for storing, and optical disk write processing unit from the data unit starting address the next data unit start address acquisition unit acquires written <br/> the new file on the optical disk medium It is a thing.

【0007】また、本発明は、光ディスク装置に於ける
ファイルのアロケート処理を更に高速に行なえるように
するという目的を達成するため、前記管理情報テーブル
を、ファイル名をキーとする索引順編成ファイルで構成
し、記管理情報テーブル追記処理部は、前記新規ファ
イルのアロケート要求に含まれている前記新規ファイル
のファイル名をキーにして前記管理情報テーブルを検索
することにより、前記新規ファイルのファイル名が前記
情報管理テーブルに格納されているか否かを判定する構
成を備え、前記次データ部開始アドレス取得処理部は、
前記最新ファイル情報部に格納されているファイル名を
キーにして前記管理情報テーブルを検索することにより
ファイル名と対応するデータ部開始アドレス及びデータ
量を取得し、取得したデータ部開始アドレス及びデータ
量に基づいて前記新規ファイルのデータ部開始アドレス
を取得する構成を備えたものである。
According to another aspect of the present invention, in order to achieve the object of allocating a file in an optical disk apparatus at a higher speed, the management information table is stored in an indexed sequential file having a file name as a key. in constructed, before Symbol management information table postscript processor, by searching the management information table to the file name as a key of the new file that is included in the allocated request of the new file, the file of the new file structure that name to determine whether stored in said information management table
The next data part start address acquisition processing part,
By searching the management information table using the file name stored in the latest file information section as a key, the data section start address and data amount corresponding to the file name are obtained, and the obtained data section start address and data amount are obtained. And acquiring a data part start address of the new file based on the

【0008】更に、本発明は、新規ファイルの格納位置
を示すデータ部開始アドレスを高速に取得できるように
するという目的を達成するため、光ディスク媒体上に格
納されているファイルのファイル名,データ量,前記光
ディスク媒体上の格納位置を示すデータ部開始アドレス
及び格納順が格納され、且つファイル名及び格納順をキ
ーにしてランダムにアクセスすることが可能な複数索引
順編成ファイルにより構成される、磁気ディスク装置上
の管理情報テーブルと、要求元からのファイル名及びデ
ータ量を含む新規ファイルのアロケート要求に応答し
て、前記新規ファイルのアロケート要求に含まれている
前記新規ファイルのファイル名をキーにして前記管理情
報テーブルを検索することにより、前記新規ファイルの
ファイル名が前記情報管理テーブルに格納されているか
否かを判定し、格納されていると判定した場合は前記要
求元にエラー通知を行ない、格納されていないと判定し
た場合は前記管理情報テーブルに、前記アロケート要求
に含まれている前記新規ファイルのファイル名及びデー
タ量を追記する管理情報テーブル追記処理部と、格納順
をキーにして前記管理情報テーブルを検索することによ
り、格納順が最後のファイルに対応するデータ部開始ア
ドレス及びデータ量を取得し、取得したデータ部開始ア
ドレス及びデータ量に基づいて前記新規ファイルのデー
タ部開始アドレスを取得する次データ部開始アドレス取
得処理部と、次データ部開始アドレス取得部が取得し
たデータ部開始アドレスから前記新規ファイルを前記光
ディスク媒体上に書き込む光ディスク書き込み処理部と
を備えたものである。
Further, according to the present invention, in order to achieve a high-speed acquisition of a data part start address indicating a storage position of a new file, a file name and a data amount of a file stored on an optical disk medium are set. A plurality of indexed sequential files which store a data part start address indicating a storage position on the optical disk medium and a storage order, and which can be randomly accessed using a file name and a storage order as keys. In response to a management information table on the disk device and a request to allocate a new file including a file name and a data amount from the request source, the file name of the new file included in the request to allocate the new file is used as a key. By searching the management information table with the file name of the new file, It is determined whether or not it is stored in the management table, and if it is determined that it is stored, the error notification is performed to the request source, and if it is determined that it is not stored, in the management information table, the allocation request is A management information table appending processing unit for appending the file name and data amount of the new file included, and searching the management information table by using the storage order as a key, to store data corresponding to the last file in the storage order. get the parts start address and amount of data acquired and the next data unit start address acquisition processing unit that acquires the data section start address of the new file based on the data section start address and the data amount, the next data unit starting address acquisition wherein the data unit start address part has acquired a new file the light
An optical disk writing processing unit for writing data on a disk medium .

【0009】[0009]

【作用】要求元からファイル名及びデータ量を含む新規
ファイルのアロケート要求があると、管理情報テーブル
追記処理部は、光ディスク媒体に既に格納されているフ
ァイルのファイル名,データ部開始アドレス,データ量
等が格納されている磁気ディスク装置上の管理情報テー
ブルを参照し、新規ファイルのファイル名が管理情報テ
ーブルに格納されているか否かを判定する。そして、格
納されている場合は、要求元にエラー通知を行ない、格
納されていない場合は、管理情報テーブルに新規ファイ
ルのファイル名及びデータ量を追記する。ここで、管理
情報テーブルをファイル名をキーとする索引順編成ファ
イル或いはファイル名及び格納順をキーとする複数索引
順編成ファイルにより構成しておくことにより、上記処
理を高速に行なうことが可能になる。
When a request source allocates a new file including a file name and a data amount, the management information table additional write processing unit determines the file name, data part start address, and data amount of the file already stored on the optical disk medium. It is determined whether or not the file name of the new file is stored in the management information table by referring to the management information table on the magnetic disk device in which the information is stored. If it is stored, an error notification is sent to the requesting source. If it is not stored, the file name and data amount of the new file are added to the management information table. Here, the above-described processing can be performed at high speed by forming the management information table as an index sequential file having a file name as a key or a plurality of index sequential files having a file name and a storage order as a key. Become.

【0010】管理情報テーブル追記処理部で、新規ファ
イルのファイル名が既に光ディスク媒体に格納されてい
るファイルのファイル名と重複していないと判定される
と、次データ部開始アドレス取得処理部は、光ディスク
媒体に格納されている最新のファイルに対応するデータ
部開始アドレス及びデータ量を管理情報テーブルから取
得し、取得した情報に基づいて新規ファイルの光ディス
ク媒体上の格納位置を示すデータ部開始アドレスを取得
する。ここで、管理情報テーブルを、ファイル名をキー
にした索引順編成ファイルにより構成した場合は、磁気
ディスク装置上に、光ディスク媒体に格納された最も新
しいファイルのファイル名が格納される最新ファイル情
報部を設け、先ず、ここに格納されているファイル名を
読み出し、次いで読み出したファイル名をキーにして管
理情報テーブルを検索することにより、上記最新のファ
イルのデータ部開始アドレス及びデータ量を取得する。
また、管理情報テーブルを、ファイル名及び格納順をキ
ーとする複数索引順編成ファイルにより構成した場合
は、格納順をキーにして管理情報テーブルを検索するこ
とにより、格納順が最後のファイルに対応するデータ部
開始アドレス及びデータ量を取得する。管理テーブルを
複数索引順編成ファイルで構成した場合は、最新ファイ
ル情報部を参照する必要がないので、その分、処理が速
くなる。
When the management information table appending processing unit determines that the file name of the new file does not overlap with the file name of the file already stored on the optical disk medium, the next data unit start address acquisition processing unit The data section start address and the data amount corresponding to the latest file stored in the optical disc medium are acquired from the management information table, and the data section start address indicating the storage location of the new file on the optical disc medium is obtained based on the acquired information. get. Here, when the management information table is configured by an indexed sequential organization file using a file name as a key, the latest file information section in which the file name of the newest file stored on the optical disk medium is stored on the magnetic disk device. First, the file name stored here is read, and then the management information table is searched using the read file name as a key, thereby obtaining the data part start address and the data amount of the latest file.
When the management information table is composed of a plurality of index sequential files using the file name and the storage order as keys, the management information table is searched using the storage order as a key, and the storage order corresponds to the last file. The data part start address and the data amount to be obtained are obtained. When the management table is composed of a plurality of index sequential files, there is no need to refer to the latest file information section, and accordingly, the processing speed is increased.

【0011】次データ部開始アドレス取得処理部が、新
規ファイルの格納位置を示すデータ部開始アドレスを取
得すると、光ディスク書き込み処理部は、光ディスク媒
体上の上記データ部開始アドレスから新規ファイルの書
き込みを行なう。
When the next data part start address acquisition processing part acquires the data part start address indicating the storage location of the new file, the optical disk writing processing part writes the new file from the data part start address on the optical disk medium. .

【0012】[0012]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0013】図1は本発明の実施例のブロック図であ
り、光ディスク装置1と、磁気ディスク装置2と、アプ
リケーションプログラム3とから構成されている。本実
施例では、磁気ディスク装置2を光ディスク装置1の筐
体外に設けるようにしたが、光ディスク装置1の筐体内
に設けるようにしても良い。
FIG. 1 is a block diagram of an embodiment of the present invention, which comprises an optical disk device 1, a magnetic disk device 2, and an application program 3. In the present embodiment, the magnetic disk device 2 is provided outside the housing of the optical disk device 1, but may be provided inside the housing of the optical disk device 1.

【0014】磁気ディスク装置2に装着されている磁気
ディスク媒体21には、管理情報テーブル22と、最新
ファイル情報部23とが設けられている。
The magnetic disk medium 21 mounted on the magnetic disk device 2 is provided with a management information table 22 and a latest file information section 23.

【0015】管理情報テーブル22は、図2に示すよう
に、インデックス部22−1とデータ部22−2とを有
する索引順編成ファイルから構成される。データ部22
−2には、光ディスク装置1に格納されているファイル
に対して利用者が定義した利用者定義ファイル名と、デ
ータ量と、データ部開始アドレス等が格納される。図2
の例は、利用者定義ファイル名「口座番号1」のファイ
ルのデータ量は「D1」で、光ディスク装置1に於ける
データ部開始アドレスは「A1」であることを示してい
る。
As shown in FIG. 2, the management information table 22 is composed of an index sequential organization file having an index section 22-1 and a data section 22-2. Data section 22
-2 stores a user-defined file name defined by a user for a file stored in the optical disc device 1, a data amount, a data part start address, and the like. FIG.
Indicates that the data amount of the file with the user-defined file name “account number 1” is “D1”, and the data part start address in the optical disc device 1 is “A1”.

【0016】最新ファイル情報部23には、光ディスク
媒体14に格納された最も新しいファイルの利用者定義
ファイル名が格納される。
The latest file information section 23 stores the user-defined file name of the newest file stored on the optical disk medium 14.

【0017】光ディスク装置1は、管理情報テーブル追
記処理部11と、次データ部開始アドレス取得処理部1
2と、光ディスク書き込み処理部13と、ファイルラベ
ル領域15及びデータ領域16から構成される光ディス
ク媒体14と、光ディスク読み込み処理部17とから構
成されている。
The optical disk device 1 includes a management information table additional writing processing section 11 and a next data section start address acquisition processing section 1
2, an optical disk writing processing unit 13, an optical disk medium 14 including a file label area 15 and a data area 16, and an optical disk reading processing unit 17.

【0018】管理情報テーブル追記処理部11は、アプ
リケーションプログラム3から新規にアロケートしよう
とするファイルの利用者定義ファイル名及びデータ量を
含むアロケート要求があった場合、管理情報テーブル2
2の内容に基づいて新規にアロケートしようとするファ
イルの利用者定義ファイル名が既に光ディスク媒体14
に格納されているファイルの利用者定義ファイル名と重
複しているか否かをチェックする機能等を有する。
When the application program 3 receives an allocation request including a user-defined file name and a data amount of a file to be newly allocated from the application program 3, the management information table 2
If the user-defined file name of the file to be newly allocated based on the content of
Has a function of checking whether or not the name is a duplicate of the user-defined file name of the file stored in the.

【0019】次データ部開始アドレス取得処理部12
は、管理情報テーブル追記処理部11で利用者定義ファ
イル名が重複していないと判定されることにより、管理
情報テーブル22,最新ファイル情報部23の内容に基
づいて新規にアロケートしようとするファイルの光ディ
スク媒体14上の格納位置であるデータ部開始アドレス
を求める機能等を有する。
Next data part start address acquisition processing part 12
When the management information table appending processing unit 11 determines that the user-defined file name is not duplicated, the file to be newly allocated based on the contents of the management information table 22 and the latest file information unit 23 is determined. It has a function of obtaining a data part start address, which is a storage position on the optical disk medium 14, and the like.

【0020】光ディスク書き込み処理部13は、新規に
アロケートしようとするファイルを光ディスク媒体14
上に書き込む機能等を有する。
The optical disk writing processor 13 stores a file to be newly allocated to the optical disk medium 14.
It has a function to write on top.

【0021】光ディスク読み込み処理部17は、アプリ
ケーションプログラム3から利用者定義ファイル名,デ
ータ量を含む読み込み要求があった場合、光ディスク媒
体14から上記利用者定義ファイル名のファイルを読み
出し、アプリケーションプログラム3に渡す機能等を有
する。
When the application program 3 issues a read request including the user-defined file name and the data amount, the optical disk read processing unit 17 reads the file with the user-defined file name from the optical disk medium 14 and sends it to the application program 3. It has a function to deliver.

【0022】光ディスク媒体14のファイルラベル領域
15には、管理情報テーブル22のデータ部22−2と
同じ内容が格納され、データ領域16にはファイルが格
納される。
The file label area 15 of the optical disk medium 14 stores the same contents as the data section 22-2 of the management information table 22, and the data area 16 stores files.

【0023】図3は管理情報テーブル追記処理部11の
処理例を示す流れ図、図4は次データ部開始アドレス取
得処理部12の処理例を示す流れ図、図5は光ディスク
書き込み処理部13の処理例を示す流れ図であり、以下
各図を参照して本実施例の動作を説明する。
FIG. 3 is a flowchart showing a processing example of the management information table additional writing processing section 11, FIG. 4 is a flowchart showing a processing example of the next data section start address acquisition processing section 12, and FIG. 5 is a processing example of the optical disk writing processing section 13. The operation of this embodiment will be described below with reference to the drawings.

【0024】アプリケーションプログラム3は、ファイ
ルをアロケートする場合、そのファイルの利用者定義フ
ァイル名及びデータ量を含むアロケート要求を出力す
る。
When allocating a file, the application program 3 outputs an allocation request including a user-defined file name of the file and a data amount.

【0025】アプリケーションプログラム3からアロケ
ート要求が出力されると、管理情報テーブル追記処理部
11は、図3の流れ図に示すように、アロケート要求に
含まれている利用者定義ファイル名をキーにして管理情
報テーブル22を検索することにより、利用者定義ファ
イル名の重複チェックを行なう (ステップS1)。本実
施例では、管理情報テーブル22を、利用者定義ファイ
ル名をキーにする索引順編成ファイルで構成するように
したが、順編成ファイルで構成するようにしても良い。
しかし、本実施例のように、管理情報テーブル22を索
引順編成ファイルで構成することにより、利用者定義フ
ァイル名の重複チェックを高速に行なうことが可能にな
る。
When an allocation request is output from the application program 3, the management information table additional processing unit 11 manages the allocation using the user-defined file name included in the allocation request as a key, as shown in the flowchart of FIG. By searching the information table 22, a duplication check of the user-defined file name is performed (step S1). In the present embodiment, the management information table 22 is configured by an index sequential file using the user-defined file name as a key, but may be configured by a sequential file.
However, by configuring the management information table 22 with the index sequential file as in the present embodiment, it is possible to check the duplication of the user-defined file name at high speed.

【0026】ステップS1で重複していると判断した場
合は、管理情報テーブル追記処理部11は、アプリケー
ションプログラム3に対してエラー通知を行ない (ステ
ップS2,S3)、重複していないと判断した場合は、
管理情報テーブル22のデータ部22−2に、アロケー
ト要求に含まれている利用者定義ファイル名及びデータ
量を追記すると共に、インデックス部22−1の内容を
それに合わせて変更し(ステップS2,S4)、その
後、次データ部開始アドレス取得処理部12を起動し、
アロケート要求に含まれている利用者定義ファイル名及
びデータ量を渡す(ステップS5)。
If it is determined in step S1 that the data is duplicated, the management information table additional writing processing unit 11 sends an error notification to the application program 3 (steps S2 and S3). Is
In the data section 22-2 of the management information table 22, the user-defined file name and the data amount included in the allocation request are added, and the contents of the index section 22-1 are changed accordingly (steps S2 and S4). Then, the next data part start address acquisition processing part 12 is started,
The user-defined file name and the data amount included in the allocate request are passed (step S5).

【0027】次データ部開始アドレス取得処理部12
は、起動されると、図4の流れ図に示すように、最新フ
ァイル情報部23の内容を読み込む (ステップS1
1)。ここで、最新ファイル情報部23には、光ディス
ク媒体14のデータ領域16にファイルが全く格納され
ていない場合は、そのことを示す情報が格納され、デー
タ領域16にファイルが格納されている場合は、その中
で最も新しいファイルの利用者定義ファイル名が格納さ
れている。
Next data section start address acquisition processing section 12
Is started, as shown in the flowchart of FIG. 4, reads the contents of the latest file information section 23 (step S1).
1). Here, if no file is stored in the data area 16 of the optical disk medium 14, information indicating that fact is stored in the latest file information section 23, and if the file is stored in the data area 16, , The user-defined file name of the newest file is stored.

【0028】次データ部開始アドレス取得処理部12
は、ファイルが格納されていないことを示す情報を最新
ファイル情報部23から読み込んだ場合 (ステップS1
2がNO)は、新規ファイルのデータ部開始アドレスを
データ領域16の先頭アドレスとする (ステップS1
3)。また、利用者定義ファイル名を読み込んだ場合
(ステップS12がYES)は、読み込んだ利用者定義
ファイル名を検索キーにして管理情報テーブル22を検
索することにより、管理情報テーブル22から上記利用
者定義ファイル名と対応するデータ部開始アドレス及び
データ量を読み込み (ステップS14)、読み込んだデ
ータ部開始アドレス及びデータ量に基づいて新規ファイ
ルのデータ部開始アドレスを求める (ステップS1
5)。
Next data part start address acquisition processing part 12
Indicates that information indicating that a file is not stored is read from the latest file information unit 23 (step S1).
2 is NO), the data part start address of the new file is set as the head address of the data area 16 (step S1).
3). Also, when the user-defined file name is read
(Step S12: YES) searches the management information table 22 using the read user-defined file name as a search key, and retrieves the data part start address and data corresponding to the user-defined file name from the management information table 22. The data amount is read (step S14), and the data part start address of the new file is obtained based on the read data part start address and the data amount (step S1).
5).

【0029】ステップS13或いはステップS15で新
規ファイルのデータ部開始アドレスを求めると、次デー
タ部開始アドレス取得処理部12は、管理情報テーブル
22のデータ部22−2に、新規ファイルのデータ部開
始アドレスを格納し (ステップS16)、次いで、最新
ファイル情報部23に新規ファイルの利用者定義ファイ
ル名を書き込み (ステップS17)、その後、光ディス
ク書き込み処理部13を起動し、新規ファイルのデータ
部開始アドレス,利用者定義ファイル名,データ量等を
渡す (ステップS18)。
When the data section start address of the new file is obtained in step S13 or S15, the next data section start address acquisition processing section 12 stores the data section start address of the new file in the data section 22-2 of the management information table 22. Is stored (step S16), and the user-defined file name of the new file is written in the latest file information section 23 (step S17). Thereafter, the optical disk writing processing section 13 is started, and the data section start address of the new file, The user definition file name, data amount, etc. are passed (step S18).

【0030】光ディスク書き込み処理部13は、起動さ
れると、図5の流れ図に示すように、アロケート要求の
要求元であるアプリケーションプログラム3に対してア
ロケート要求を受け付けたことを通知する (ステップS
21)。
When activated, the optical disk write processing unit 13 notifies the application program 3 that has issued the allocation request that the allocation request has been received, as shown in the flowchart of FIG. 5 (step S).
21).

【0031】アプリケーションプログラム3は、上記通
知を受けると、新規にアロケートしようとするファイル
の内容を出力する。
Upon receiving the above notification, the application program 3 outputs the contents of the file to be newly allocated.

【0032】アプリケーションプログラム3からファイ
ル内容が出力されると、光ディスク書き込み処理部13
は、次データ部開始アドレス取得処理部12から渡され
たデータ部開始アドレスを書き込み先頭アドレスにし
て、アプリケーションプログラム3から出力されたファ
イルの内容を光ディスク媒体14のデータ領域16に書
き込む (ステップS22)。
When the file contents are output from the application program 3, the optical disk writing processing unit 13
Writes the contents of the file output from the application program 3 into the data area 16 of the optical disk medium 14 using the data part start address passed from the next data part start address acquisition processing part 12 as the write start address (step S22). .

【0033】その後、光ディスク書き込み処理部13
は、光ディスク媒体14のファイルラベル領域15に、
新規にアロケートしたファイルの利用者定義ファイル
名,データ量及びデータ部開始アドレス等を追記する
(ステップS23)。このように、管理情報テーブル2
2のデータ部22−2の内容と同じ内容を光ディスク媒
体14のファイルラベル領域15に格納しておくことに
より、磁気ディスク装置2に障害が発生し、管理情報テ
ーブル22の内容が破壊された場合でも、それを復元す
ることができる。
Thereafter, the optical disk write processing unit 13
Is stored in the file label area 15 of the optical disc medium 14,
Add the user-defined file name, data amount, data part start address, etc. of the newly allocated file
(Step S23). Thus, the management information table 2
2 is stored in the file label area 15 of the optical disk medium 14 by storing the same content as the content of the data part 22-2 of the optical disk medium 2 so that a failure occurs in the magnetic disk device 2 and the content of the management information table 22 is destroyed But you can restore it.

【0034】次に、アプリケーションプログラム3が光
ディスク媒体14に格納されているファイルを読み込む
場合の動作を説明する。アプリケーションプログラム3
は、光ディスク媒体14に格納されているファイルを読
み込む場合、読み込もうとするファイルの利用者定義フ
ァイル名を含む読み込み要求を出力する。
Next, the operation when the application program 3 reads a file stored in the optical disk medium 14 will be described. Application program 3
Outputs a read request including a user-defined file name of a file to be read when reading a file stored in the optical disk medium 14.

【0035】アプリケーションプログラム3から読み込
み要求が出力されると、光ディスク読み込み処理部17
は、読み込み要求に含まれている利用者定義ファイル名
をキーにして管理情報テーブル22を検索することによ
り、上記利用者定義ファイル名のファイルのデータ部開
始アドレスを取得し、取得したデータ部開始アドレスに
従って光ディスク媒体14のデータ領域16からファイ
ルを読み出し、アプリケーションプログラム3に渡す。
When a read request is output from the application program 3, the optical disk read processing unit 17
Retrieves the data section start address of the file having the user-defined file name by searching the management information table 22 using the user-defined file name included in the read request as a key, and The file is read from the data area 16 of the optical disk medium 14 according to the address and passed to the application program 3.

【0036】図6は管理情報テーブル22の他の構成例
を示す図であり、管理情報テーブル22を複数索引順編
成ファイルによって構成した場合についてのものであ
る。尚、管理情報テーブル22を複数索引順編成ファイ
ルによって構成した場合は、磁気ディスク装置2上に最
新ファイル情報部23を設ける必要はない。
FIG. 6 is a diagram showing another example of the configuration of the management information table 22, in which the management information table 22 is composed of a plurality of index sequential files. When the management information table 22 is constituted by a plurality of index sequential files, it is not necessary to provide the latest file information section 23 on the magnetic disk device 2.

【0037】複数索引順編成ファイルによって構成され
る管理情報テーブル22は、図6に示すように、データ
ファイル221と、複数のキーファイル222,227
とを有している。
As shown in FIG. 6, the management information table 22 composed of a plurality of index sequential files has a data file 221 and a plurality of key files 222 and 227.
And

【0038】データファイル221には、光ディスク媒
体14に格納されているファイルの利用者定義ファイル
名,格納順,データ量,データ部開始アドレス等を項目
とするレコードが格納される。レコードの格納順は、レ
コードの発生順である。
The data file 221 stores a record having items such as a user-defined file name, a storage order, a data amount, and a data part start address of the files stored on the optical disk medium 14. The storage order of records is the order in which records are generated.

【0039】キーファイル222は、利用者定義ファイ
ル名をキーにして検索を行なう時に使用するファイルで
あり、第1レベル索引ブロック223と、第2レベル索
引ブロック224,225,226とを有している。第
1レベル索引ブロック223には、次レベルの第2レベ
ル索引ブロック224,225,226の最大キーと、
それへのポインタとを持っている。最下位レベルの第2
レベル索引ブロック224,225,226は、データ
ファイル221内の該当レコードへのポインタを持って
いる。
The key file 222 is a file used when performing a search using a user-defined file name as a key, and has a first level index block 223 and second level index blocks 224, 225, 226. I have. The first level index block 223 includes the largest key of the next level second level index block 224, 225, 226;
And have a pointer to it. Second at the lowest level
Each of the level index blocks 224, 225, and 226 has a pointer to a corresponding record in the data file 221.

【0040】キーファイル227は、格納順をキーにし
て検索を行なう時に使用するファイルであり、第1レベ
ル索引ブロック228と、第2レベル索引ブロック22
9,230,231とを有している。第1レベル索引ブ
ロック228には、次レベルの第2レベル索引ブロック
229,230,231の最大キーと、それへのポイン
タを持っている。最下位レベルの第2レベル索引ブロッ
ク229,230,231は、データファイル内の該当
レコードへのポインタを持っている。
The key file 227 is a file used when a search is performed using the storage order as a key, and includes a first level index block 228 and a second level index block 22.
9, 230, 231. The first level index block 228 has the maximum key of the next level second level index block 229, 230, 231 and a pointer to it. The lowest level second level index blocks 229, 230, 231 have pointers to the corresponding records in the data file.

【0041】図7は管理情報テーブル22の構成を図6
に示すものにした時の管理情報テーブル追記処理部11
の処理例を示す流れ図、図8は管理情報テーブル22の
構成を図6に示すものにした時の次データ部開始アドレ
ス取得処理部12の処理例を示す流れ図であり、以下各
図を参照して管理情報テーブル22を複数索引順編成フ
ァイルで構成した場合の動作を説明する。
FIG. 7 shows the structure of the management information table 22 shown in FIG.
Management information table additional writing processing unit 11 when the information is set as shown in FIG.
FIG. 8 is a flowchart showing a processing example of the next data section start address acquisition processing section 12 when the configuration of the management information table 22 is changed to that shown in FIG. The operation when the management information table 22 is composed of a plurality of index sequential files will be described.

【0042】アプリケーションプログラム3から新規に
アロケートしようとするファイルの利用者定義ファイル
名及びデータ量を含むアロケート要求が出力されると、
管理情報テーブル追記処理部11は、図7の流れ図に示
すように、アロケート要求に含まれている利用者定義フ
ァイル名をキーにして図6に示す管理情報テーブル22
を検索することにより、利用者定義ファイル名の重複チ
ェックを行なう (ステップS31)。即ち、キーファイ
ル222中の第1レベル索引ブロック223に基づいて
上記利用者定義ファイル名をキー値として含むはずの第
2レベル索引ブロック(224〜226の内の何れか)
を決定し、その第2レベル索引ブロックに上記利用者定
義ファイル名が含まれているか否かに基づいて、利用者
定義ファイル名の重複チェックを行なう。
When an allocation request including a user-defined file name and a data amount of a file to be newly allocated is output from the application program 3,
As shown in the flowchart of FIG. 7, the management information table additional processing unit 11 uses the user-defined file name included in the allocate request as a key to manage the management information table 22 shown in FIG.
To check for duplication of the user-defined file name (step S31). That is, based on the first level index block 223 in the key file 222, a second level index block (any of 224 to 226) which should include the user-defined file name as a key value.
Is determined, and the duplication check of the user-defined file name is performed based on whether or not the second-level index block includes the above-mentioned user-defined file name.

【0043】そして、重複していると判断した場合は、
要求元のアプリケーションプログラム3に対してエラー
通知を行なう (ステップS32,S33)。また、重複
していないと判断した場合は、管理情報テーブル22中
のデータファイル221に新規ファイルの利用者定義フ
ァイル名,データ量及び格納順を追記し、それに合わせ
てキーファイル222,227の内容を変更する (S3
2,ステップS34)。その後、管理情報テーブル追記
処理部11は、次データ部開始アドレス取得処理部12
を起動し、データファイル221に書き込んだ情報を渡
す (ステップS35)。
If it is determined that they overlap,
An error is notified to the requesting application program 3 (steps S32 and S33). If it is determined that there is no overlap, the user-defined file name, data amount, and storage order of the new file are added to the data file 221 in the management information table 22, and the contents of the key files 222 and 227 are added accordingly. Change (S3
2, step S34). After that, the management information table additional writing processing unit 11
Is started, and the information written in the data file 221 is passed (step S35).

【0044】次データ部開始アドレス取得処理部12
は、起動されると、図8の流れ図に示すように、格納順
をキーにして管理情報テーブル22を検索し、最も格納
順が新しいレコードのデータ量及びデータ部開始アドレ
スを取得する (ステップS41)。即ち、キーファイル
227中の第1レベル索引ブロック228に基づいて最
大キー値を含む第2レベル索引ブロック231を探し出
し、第2レベル索引ブロック231中の最大キー値と対
応するポインタによって指し示されるレコードのデータ
量及びデータ部開始アドレスを取得する。
Next data part start address acquisition processing part 12
Is activated, as shown in the flowchart of FIG. 8, the management information table 22 is searched using the storage order as a key, and the data amount and the data part start address of the record with the newest storage order are obtained (step S41). ). That is, the second level index block 231 including the maximum key value is searched for based on the first level index block 228 in the key file 227, and the record pointed to by the pointer corresponding to the maximum key value in the second level index block 231 is searched. To obtain the data amount and the data part start address.

【0045】その後、次データ部開始アドレス取得処理
部12は、取得したデータ量及びデータ部開始アドレス
に基づいて新規ファイルのデータ部開始アドレスを求め
(ステップS42)、次いで、最新ファイルのデータ部
開始アドレスをデータファイル221に格納し (ステッ
プS43)、その後、光ディスク書き込み処理部13を
起動して、最新ファイルの利用者定義ファイル名,格納
順,データ量,データ部開始アドレス等を光ディスク書
き込み処理部13に渡す (ステップS44)。
Thereafter, the next data section start address acquisition processing section 12 obtains the data section start address of the new file based on the acquired data amount and the data section start address.
(Step S42) Then, the data part start address of the latest file is stored in the data file 221 (Step S43). Thereafter, the optical disk writing processing unit 13 is started up, and the user-defined file name, storage order, The data amount, the data section start address, and the like are passed to the optical disk writing processing section 13 (step S44).

【0046】これにより、光ディスク書き込み処理部1
3は前述したと同様の処理を行ない、アプリケーション
プログラム3が出力したファイルの内容を光ディスク媒
体14のデータ領域16に書き込むと共に、ファイルラ
ベル領域15の内容を変更する。
Thus, the optical disk writing processing unit 1
3 performs the same processing as described above, writes the contents of the file output by the application program 3 to the data area 16 of the optical disk medium 14, and changes the contents of the file label area 15.

【0047】[0047]

【発明の効果】以上説明したように本発明は、光ディス
ク媒体に既に格納されているファイルのファイル名,デ
ータ部開始アドレス,データ量を格納した管理情報テー
ブルを光ディスク装置に比較して高速アクセスが可能な
磁気ディスク装置上に設け、磁気ディスク装置上に設け
られた管理情報テーブルを利用して新規ファイルのファ
イル名の重複チェック,新規ファイルのデータ部開始ア
ドレスの算出を行なっているので、光ディスク媒体上に
設けられたファイルラベル領域に格納されている管理情
報を利用して重複チェック,新規ファイルのデータ部開
始アドレスの算出を行なっていた従来の技術に比較し
て、光ディスク装置に於けるファイルのアロケート処理
を高速化することができる効果がある。
As described above, according to the present invention, the management information table storing the file name, the data part start address, and the data amount of the file already stored on the optical disk medium can be accessed at a higher speed than the optical disk device. Provided on a possible magnetic disk device and using a management information table provided on the magnetic disk device to check for duplication of the file name of a new file and to calculate the data section start address of the new file. Compared with the conventional technology in which duplication check and calculation of a data part start address of a new file are performed using management information stored in a file label area provided above, a file There is an effect that the allocating process can be sped up.

【0048】また、本発明は、管理情報テーブルを利用
者定義ファイル名をキーにした索引順編成ファイルによ
り構成したものであるので、更に、光ディスク装置に於
けるファイルのアロケート処理を高速化することができ
る効果がある。
Further, according to the present invention, since the management information table is constituted by an index sequential organization file using a user-defined file name as a key, the file allocating process in the optical disk device can be further speeded up. There is an effect that can be.

【0049】更に、本発明は、管理情報テーブルを利用
者定義ファイル名及び格納順をキーにした複数索引順編
成ファイルにより構成したものであるので、管理情報テ
ーブルを利用者定義ファイル名をキーにした索引順編成
ファイルで構成した場合に比較して新規ファイルのデー
タ部開始アドレスの算出処理を高速化することができ
(管理情報テーブルを索引順編成ファイルで構成した場
合は最新ファイル情報部の情報を読み込んだ後、管理情
報テーブルを検索する必要があるが、複数索引順編成フ
ァイルで構成した場合は、最新ファイル情報部の内容を
読み込む必要がなくなるので、その分、処理を高速化で
きる)、従って、光ディスク装置におけるファイルのア
ロケート処理を更に高速化することができる効果があ
る。
Further, in the present invention, since the management information table is composed of a plurality of index sequential files using the user-defined file name and the storage order as keys, the management information table is stored using the user-defined file name as a key. The calculation processing of the data section start address of a new file can be speeded up as compared with the case where the management information table is configured with an indexed sequential file. After reading the management information table, it is necessary to search the management information table. However, in the case of a multi-index sequential file, it is not necessary to read the contents of the latest file information section, so that the processing can be speeded up accordingly.) Therefore, there is an effect that the file allocating process in the optical disk device can be further speeded up.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】管理情報テーブル22の構成例を示す図であ
る。
FIG. 2 is a diagram showing a configuration example of a management information table 22.

【図3】管理情報テーブル22の構成が図2に示すもの
である場合の管理情報テーブル追記処理部11の処理例
を示す流れ図である。
FIG. 3 is a flowchart showing a processing example of a management information table postscript processing unit 11 when the configuration of a management information table 22 is as shown in FIG.

【図4】管理情報テーブル22の構成が図2に示すもの
である場合の次データ部開始アドレス取得処理部12の
処理例を示す流れ図である。
4 is a flowchart showing a processing example of a next data section start address acquisition processing section 12 when the configuration of the management information table 22 is as shown in FIG. 2;

【図5】光ディスク書き込み処理部13の処理例を示す
流れ図である。
FIG. 5 is a flowchart showing a processing example of an optical disk writing processing unit 13;

【図6】管理情報テーブル22の他の構成例を示す図で
ある。
FIG. 6 is a diagram showing another configuration example of the management information table 22.

【図7】管理情報テーブル22の構成が図6に示すもの
である場合の管理情報テーブル追記処理部11の処理例
を示す流れ図である。
FIG. 7 is a flowchart showing a processing example of the management information table additional processing unit 11 when the configuration of the management information table 22 is as shown in FIG.

【図8】管理情報テーブル22の構成が図6に示すもの
である場合の次データ部開始アドレス取得処理部12の
処理例を示す流れ図である。
8 is a flowchart showing a processing example of the next data part start address acquisition processing unit 12 when the configuration of the management information table 22 is as shown in FIG.

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

1…光ディスク装置 11…管理情報テーブル追記処理部 12…次データ部開始アドレス取得処理部 13…光ディスク書き込み処理部 14…光ディスク媒体 15…ファイルラベル領域 16…データ領域 17…光ディスク読み込み処理部 2…磁気ディスク装置 21…磁気ディスク媒体 22…管理情報テーブル 22−1…インデックス部 22−2…データ部 221…データファイル 222,227…キーファイル 223,228…第1レベル索引ブロック 224〜226,229〜231…第2レベル索引ブロ
ック 23…最新ファイル情報部 3…アプリケーションプログラム
DESCRIPTION OF SYMBOLS 1 ... Optical disk apparatus 11 ... Management information table additional writing processing part 12 ... Next data part start address acquisition processing part 13 ... Optical disk writing processing part 14 ... Optical disk medium 15 ... File label area 16 ... Data area 17 ... Optical disk reading processing part 2. Magnetics Disk device 21 Magnetic disk medium 22 Management information table 22-1 Index part 22-2 Data part 221 Data file 222, 227 Key file 223, 228 First-level index block 224 to 226, 229 to 231 ... second level index block 23 ... latest file information section 3 ... application program

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−167148(JP,A) 特開 平3−194629(JP,A) 特開 平3−55664(JP,A) 特開 平3−19014(JP,A) 特開 昭63−311451(JP,A) 特開 平2−206820(JP,A) 特開 平4−47346(JP,A) 特開 平3−94342(JP,A) 特開 平5−282107(JP,A) 特開 平3−1248(JP,A) 特開 平3−48322(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-4-167148 (JP, A) JP-A-3-194629 (JP, A) JP-A-3-55664 (JP, A) 19014 (JP, A) JP-A-63-311451 (JP, A) JP-A-2-206820 (JP, A) JP-A-4-47346 (JP, A) JP-A-3-94342 (JP, A) JP-A-5-282107 (JP, A) JP-A-3-1248 (JP, A) JP-A-3-48322 (JP, A)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 光ディスク媒体上に格納されているファ
イルのファイル名,データ量及び前記光ディスク媒体上
の格納位置を示すデータ部開始アドレスが格納された磁
気ディスク装置上の管理情報テーブルと、前記光ディスク媒体上に格納された最も新しいファイル
のファイル名が格納される前記磁気ディスク装置上の最
新ファイル情報部と、 要求元からのファイル名及びデータ量を含む新規ファイ
ルのアロケート要求に応答して前記管理情報テーブルに
前記新規ファイルのファイル名が格納されているか否か
を判定し、格納されていると判定した場合は前記要求元
にエラー通知を行ない、格納されていないと判定した場
合は前記管理情報テーブルに、前記アロケート要求に含
まれている前記新規ファイルのファイル名及びデータ量
を追記する管理情報テーブル追記処理部と、 前記管理情報テーブルに格納されている情報の内、前記
最新ファイル情報部にファイル名が格納されているファ
イルのデータ部開始アドレス及びデータ量に基づいて前
記新規ファイルのデータ部開始アドレスを取得し、その
後、前記新規ファイルのファイル名を前記最新ファイル
情報部に格納する次データ部開始アドレス取得処理部
と、 次データ部開始アドレス取得部が取得したデータ部開
始アドレスから前記新規ファイルを前記光ディスク媒体
上に書き込む光ディスク書き込み処理部とを備えたこと
を特徴とする光ディスク装置のファイルアロケート方
式。
1. A filename of a file stored on the optical disc medium, the amount of data and the management information table on the magnetic disk device data unit starting address is stored indicating the storage position on the optical disk medium, said optical disk Newest file stored on media
File name on the magnetic disk drive where the file name of
In response to a request for allocating a new file including a file name and a data amount from a request source , the new file information section determines whether or not the file name of the new file is stored in the management information table. If it is determined that the request has been received, an error notification is sent to the request source, and if it is determined that the new file is not stored, the file name and data amount of the new file included in the allocate request are added to the management information table. a management information table additional recording processing unit that, among the information stored in the management information table, the
The file whose file name is stored in the latest file information section
Acquires data unit starting address of the new file based on the data section start address and the data amount of yl, its
Then, change the file name of the new file to the latest file
Next the data section start address acquisition processing unit, the following data unit a start address from said acquisition unit has acquired the data unit starting address new file the optical disc medium for storing the information unit
A file allocating method for an optical disk device, comprising: an optical disk writing processing unit for writing data on the disk.
【請求項2】 前記管理情報テーブルを、ファイル名を
キーとする索引順編成ファイルで構成し、 記管理情報テーブル追記処理部は、前記新規ファイル
のアロケート要求に含まれている前記新規ファイルのフ
ァイル名をキーにして前記管理情報テーブルを検索する
ことにより、前記新規ファイルのファイル名が前記情報
管理テーブルに格納されているか否かを判定する構成を
備え、 前記次データ部開始アドレス取得処理部は、前記最新フ
ァイル情報部に格納されているファイル名をキーにして
前記管理情報テーブルを検索することによりファイル名
と対応するデータ部開始アドレス及びデータ量を取得
し、取得したデータ部開始アドレス及びデータ量に基づ
いて前記新規ファイルのデータ部開始アドレスを取得
る構成を備えたことを特徴とする請求項1記載の光ディ
スク装置のファイルアロケート方式。
The method according to claim 2, wherein the management information table, constitute the file name in the indexed sequential file key, before Symbol management information table postscript processor, the new file that is included in the allocated request of the new file by searching the management information table to the file name as a key, a configuration file name of the new file to determine whether stored in said information management table
The next data section start address acquisition processing section searches the management information table using a file name stored in the latest file information section as a key, thereby obtaining a data section start address and a data amount corresponding to a file name. And obtains a data section start address of the new file based on the obtained data section start address and data amount .
2. The file allocating method for an optical disk device according to claim 1, wherein the file allocating method is provided.
【請求項3】 光ディスク媒体上に格納されているファ
イルのファイル名,データ量,前記光ディスク媒体上の
格納位置を示すデータ部開始アドレス及び格納順が格納
され、且つファイル名及び格納順をキーにしてランダム
にアクセスすることが可能な複数索引順編成ファイルに
より構成される、磁気ディスク装置上の管理情報テーブ
ルと、 要求元からのファイル名及びデータ量を含む新規ファイ
ルのアロケート要求に応答して、前記新規ファイルのア
ロケート要求に含まれている前記新規ファイルのファイ
ル名をキーにして前記管理情報テーブルを検索すること
により、前記新規ファイルのファイル名が前記情報管理
テーブルに格納されているか否かを判定し、格納されて
いると判定した場合は前記要求元にエラー通知を行な
い、格納されていないと判定した場合は前記管理情報テ
ーブルに、前記アロケート要求に含まれている前記新規
ファイルのファイル名及びデータ量を追記する管理情報
テーブル追記処理部と、 格納順をキーにして前記管理情報テーブルを検索するこ
とにより、格納順が最後のファイルに対応するデータ部
開始アドレス及びデータ量を取得し、取得したデータ部
開始アドレス及びデータ量に基づいて前記新規ファイル
のデータ部開始アドレスを取得する次データ部開始アド
レス取得処理部と、 次データ部開始アドレス取得部が取得したデータ部開
始アドレスから前記新規ファイルを前記光ディスク媒体
に書き込む光ディスク書き込み処理部とを備えたこと
を特徴とする光ディスク装置のファイルアロケート方
式。
3. A file name and data amount of a file stored on an optical disk medium, a data part start address indicating a storage position on the optical disk medium and a storage order are stored, and the file name and storage order are used as keys. In response to a management information table on the magnetic disk device, which is composed of a plurality of index sequential files that can be accessed randomly and a request for allocating a new file including a file name and a data amount from a request source, By searching the management information table using the file name of the new file included in the allocate request for the new file as a key, it is determined whether or not the file name of the new file is stored in the information management table. If it is determined that the data is stored, an error notification is sent to the request source, and the data is stored. If it is determined that there is no file, the management information table is added to the management information table, a management information table addition processing unit that adds the file name and data amount of the new file included in the allocation request, To obtain the data part start address and the data amount corresponding to the file whose storage order is the last, and obtain the data part start address of the new file based on the obtained data part start address and data amount. a data section start address acquisition processing unit, the optical disk medium the new file from the data section start address the next data unit start address acquisition unit acquires
File allocation scheme of an optical disk apparatus characterized by comprising a disc writing unit for writing on.
JP6138331A 1994-05-27 1994-05-27 File allocation method for optical disk drive Expired - Fee Related JP2605624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6138331A JP2605624B2 (en) 1994-05-27 1994-05-27 File allocation method for optical disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6138331A JP2605624B2 (en) 1994-05-27 1994-05-27 File allocation method for optical disk drive

Publications (2)

Publication Number Publication Date
JPH07319749A JPH07319749A (en) 1995-12-08
JP2605624B2 true JP2605624B2 (en) 1997-04-30

Family

ID=15219411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6138331A Expired - Fee Related JP2605624B2 (en) 1994-05-27 1994-05-27 File allocation method for optical disk drive

Country Status (1)

Country Link
JP (1) JP2605624B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3567792B2 (en) * 1999-04-09 2004-09-22 日本電気株式会社 Information processing device and method of calculating output data amount to auxiliary storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311451A (en) * 1987-06-12 1988-12-20 Nec Corp Access system for low-speed access medium incapable of rewriting
JPH02206820A (en) * 1989-02-07 1990-08-16 Asahi Chem Ind Co Ltd Method and device for controlling optical disk information
JPH031248A (en) * 1989-05-29 1991-01-07 Shimadzu Corp Information generation and storage device
JPH0319014A (en) * 1989-06-16 1991-01-28 Nec Corp Area control system for optical disk medium
JPH0348322A (en) * 1989-07-14 1991-03-01 Mitsubishi Electric Corp Information storage device
JPH0355664A (en) * 1989-07-25 1991-03-11 Mitsubishi Electric Corp Recording device control system
JPH0394342A (en) * 1989-09-07 1991-04-19 Nec Corp Assembled type optical disk device access system
JPH03194629A (en) * 1989-12-23 1991-08-26 Nec Corp Draw type optical disk data access control system
JPH0447346A (en) * 1990-06-12 1992-02-17 Toshiba Corp Decentraiized file processing system
JP2921095B2 (en) * 1990-10-31 1999-07-19 日本電気株式会社 Electronic filing equipment
JPH05282107A (en) * 1992-03-30 1993-10-29 Toshiba Corp External storage device

Also Published As

Publication number Publication date
JPH07319749A (en) 1995-12-08

Similar Documents

Publication Publication Date Title
JP2849788B2 (en) Database keyword indexing method
US5579516A (en) Method for storing data files on a multiple volume media set
US5269019A (en) Non-volatile memory storage and bilevel index structure for fast retrieval of modified records of a disk track
US7908276B2 (en) Filesystem having a filename cache
KR100714691B1 (en) Apparatus and method for saving and managing additional data of file system
US6697795B2 (en) Virtual file system for dynamically-generated web pages
US20050114356A1 (en) Organizing data objects in a storage device
KR920005107A (en) Initial and updated data recording and reading methods and data storage media
US20050286377A1 (en) Record carrier having a main file system area and a virtual file system area
US8316008B1 (en) Fast file attribute search
KR20040068175A (en) Data storage methods and apparatuses with basic and extended file system capacity
JP2605624B2 (en) File allocation method for optical disk drive
JP2003223345A (en) File display device
WO1993021579A1 (en) Method for managing data records in a cached data subsystem with non-volatile memory
JP2002091806A (en) Filing system
WO1989001663A1 (en) System for accessing information stored as a link-list with back-pointers on an optical disk by using the back-pointers to generate a directory
JPH08212114A (en) Data recording device and data recording and reproducing device
JP2540763B2 (en) Automatic medium loading control method
JP3114399B2 (en) Recording medium management apparatus and method
JPH0477938A (en) Data storage method
JP3483264B2 (en) Information storage device
JP2540821B2 (en) Database search system
JP2000132439A (en) System for retrieving file stored in hard disk of personal computer
JP2701271B2 (en) Image file recording method
JPS63291145A (en) Method for managing file

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees