JPH0246584A - Method for filing optical disk - Google Patents

Method for filing optical disk

Info

Publication number
JPH0246584A
JPH0246584A JP19611588A JP19611588A JPH0246584A JP H0246584 A JPH0246584 A JP H0246584A JP 19611588 A JP19611588 A JP 19611588A JP 19611588 A JP19611588 A JP 19611588A JP H0246584 A JPH0246584 A JP H0246584A
Authority
JP
Japan
Prior art keywords
file
sector
track
data
optical disk
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
JP19611588A
Other languages
Japanese (ja)
Inventor
Kunio Nakatsuka
中塚 國男
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP19611588A priority Critical patent/JPH0246584A/en
Publication of JPH0246584A publication Critical patent/JPH0246584A/en
Pending legal-status Critical Current

Links

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (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 Industrial Application] The present invention relates to an optical disc file method for storing data on an optical disc.

〔従来の技術〕[Conventional technology]

第8図は従来の光ディスクファイル方法に適用される光
ディスクファイル装置の機能ブロック図であり、図にお
いて、lは光学ヘッド、2は光学ヘッド1を駆動するア
クチエエータ、3は光ディスク媒体20を駆動する回転
機構、11は光学ヘッド1を制御する光学ヘッド制御機
構、12はリニアモータ駆動回路(図示せず)のフィー
ドバック制御を行うリニアモータ制御回路、13は回転
機構3より発生する回転モータの回転信号より一定回転
数でモータを回転する制御を行う回転モータ制御回路、
4は光ディスク媒体20の回転時の偏芯量を検出してリ
ニアモータの制御回路12と光学ヘッド制御機構11の
フィードバック制御を行う偏芯補正回路、5はドライブ
制御中央処理語W(以下、CP Uという)、6はドラ
イブインタフェース回路であり、ホストCP Uとのイ
ンタフェースをとる。7はオートローディング機構であ
る。
FIG. 8 is a functional block diagram of an optical disc file device applied to the conventional optical disc file method. 11 is an optical head control mechanism that controls the optical head 1; 12 is a linear motor control circuit that performs feedback control of a linear motor drive circuit (not shown); and 13 is a rotation signal from the rotation motor generated by the rotation mechanism 3. A rotary motor control circuit that controls the motor to rotate at a constant rotation speed;
4 is an eccentricity correction circuit that detects the amount of eccentricity during rotation of the optical disk medium 20 and performs feedback control of the linear motor control circuit 12 and the optical head control mechanism 11; 5 is a drive control central processing word W (hereinafter referred to as CP); 6 is a drive interface circuit, which interfaces with the host CPU. 7 is an autoloading mechanism.

第9図は光ディスク媒体20上のl・ラック構成を示し
、21はトラック、50はセクタであり、第10図はト
ランクの配置図を示し、ガードトラックとバックアップ
トラックと、ユーザトラックから構成され、バックアッ
プトラックは代替トラック領域30、ユーザトラックは
ユーザ記録領域40である。
FIG. 9 shows the l-rack configuration on the optical disk medium 20, 21 is a track, 50 is a sector, FIG. 10 is a layout diagram of a trunk, which is composed of a guard track, a backup track, and a user track, The backup track is the alternative track area 30, and the user track is the user recording area 40.

第11図はトランクフォーマットを示し、50はセクタ
、51はS M (S ection  Marker
)フィールド、52はI D (Identifica
tion)フィールド、53はフラグ(FLAG)フィ
ールド、54はデータ(DATA)フィールド、55は
ギャップ(GAP)である。
FIG. 11 shows the trunk format, where 50 is a sector and 51 is a S M (Section Marker).
) field, 52 is the I D (Identifica
tion) field, 53 a flag (FLAG) field, 54 a data (DATA) field, and 55 a gap (GAP).

次に動作について説明する。第8図に示す光学ヘッド1
は半導体レーザおよび集光光学系、フォーカスエラー検
出系、トラッキングエラー検出系、信号検出系、対物レ
ンズ駆動系より構成され、半導体レーザより出射された
赤外光は光ディスク媒体20の記録膜で反映され、フォ
ーカスエラー検出系、トラッキングエラー検出系(いず
れも図示せず)でそれぞれのエラー信号を発生する。
Next, the operation will be explained. Optical head 1 shown in FIG.
is composed of a semiconductor laser, a focusing optical system, a focus error detection system, a tracking error detection system, a signal detection system, and an objective lens drive system, and the infrared light emitted from the semiconductor laser is reflected on the recording film of the optical disk medium 20. , a focus error detection system, and a tracking error detection system (none of which are shown) generate respective error signals.

アクチュエータ2は光学ヘッド1を駆動するりニアモー
タとりニアモータの速度および位置を検出するセンサか
ら構成され、せンサにより検出された速度および位置信
号により、リニアモータの駆動制御を行い、光学ヘッド
1を目的の位置に移動させる。
The actuator 2 is a linear motor that drives the optical head 1, and is composed of a sensor that detects the speed and position of the near motor.Actuator 2 controls the drive of the linear motor based on the speed and position signals detected by the sensor, and drives the optical head 1. move it to the position.

回転機構3は回転モータおよび光ディスク脱着機構から
構成され、モータ軸に装着された光ディスク媒体20を
光学ヘッド1側から見て反時計回りに一定回転数で回転
させる。
The rotation mechanism 3 is composed of a rotation motor and an optical disk attachment/detachment mechanism, and rotates the optical disk medium 20 mounted on the motor shaft counterclockwise at a constant rotation speed when viewed from the optical head 1 side.

この光ディスク媒体20のデータ記録時には、ドライブ
制JCPU5より送られる変調信号に応じて、光学ヘッ
ド制御機構IIはレーザ光を0N10FFすることによ
り、光ディスク媒体20上にビット列を形成する。
When recording data on the optical disk medium 20, the optical head control mechanism II forms a bit string on the optical disk medium 20 by turning the laser beam ON10FF in response to a modulation signal sent from the drive system JCPU 5.

また、データ再生時には、光学ヘッド制御機構11はレ
ーザ光量をモニタしながら光量制御を行い、ビットの有
無を光ディスク媒体2oからの反射光の強弱として読み
出し、2値化して、ドライブインタフェース回路6に送
り出す。
Furthermore, during data reproduction, the optical head control mechanism 11 controls the amount of light while monitoring the amount of laser light, reads out the presence or absence of bits as the intensity of the reflected light from the optical disk medium 2o, converts it into a binary value, and sends it to the drive interface circuit 6. .

また、光学ヘッド制御機構11は光学ヘッド1のフォー
カスエラー検出系により検出されたフォーカスエラー信
号により、フィードバック制御を行い、対物レンズを駆
動して光ディスク媒体2゜の記録膜上に正しくレーザビ
ームを集光させる。
Further, the optical head control mechanism 11 performs feedback control based on the focus error signal detected by the focus error detection system of the optical head 1, drives the objective lens, and focuses the laser beam correctly on the recording film of the optical disk medium 2°. Let it shine.

さらに、光学ヘッド制御機構11は光学ヘッド1のトラ
ッキングエラー検出系によりフィードバック制御を行い
、対物レンズを駆動して光ディスク媒体20の記録膜上
のトランクに集光スポットを追従させる。
Further, the optical head control mechanism 11 performs feedback control using the tracking error detection system of the optical head 1, drives the objective lens, and causes the focused spot to follow the trunk on the recording film of the optical disk medium 20.

リニアモータ制御回路12は光学ヘッド1の位置を検知
するセンサからの検知信号により、リニアモータ駆動回
路のフィードバック制御を行い、光学ヘッドを目的の位
置に移動させる。
The linear motor control circuit 12 performs feedback control of the linear motor drive circuit based on a detection signal from a sensor that detects the position of the optical head 1, and moves the optical head to a target position.

偏芯補正回路4は光ディスク媒体20の回転時の偏芯量
を検出してリニアモータ制御回路12および光学ヘッド
制御機構11のフィードバック制御を行う。
The eccentricity correction circuit 4 detects the amount of eccentricity during rotation of the optical disk medium 20 and performs feedback control of the linear motor control circuit 12 and the optical head control mechanism 11.

回転モータ制御回路13は回転機構3より発生する回転
モータの回転信号より一定回転数でモータを回転する制
御を行う。
The rotary motor control circuit 13 controls the motor to rotate at a constant rotation speed based on a rotation signal of the rotary motor generated by the rotation mechanism 3.

一方、ドライブ制1cPU5はホストCP tJからの
コマンド受信、ホストCPUへのステータス送信を行い
、各種制御回路を切り換え、組み合わせることにより、
光ディスクファイル装置に種々の動作を行わせる。
On the other hand, the drive system 1cPU5 receives commands from the host CP tJ, sends status to the host CPU, and by switching and combining various control circuits,
The optical disc file device is caused to perform various operations.

ドライブインタフェース回路6は上記光ディスクファイ
ル装置とホストCPUとの交信を行う。
The drive interface circuit 6 communicates between the optical disc file device and the host CPU.

オートローディング機構7は途中まで挿入された光ディ
スク媒体20が格納された光ディスクヵセットを自動的
に装置内に引き込み、スピンドルモータ・ターンテーブ
ル」−に取り(=Jげるだめの機構であり、このとき、
カセッ1−のシャツタ窓は挿入と同時に開く。また、カ
セット排出時には、排出ボタン操作(図示せず)により
自動的に排出する。
The autoloading mechanism 7 automatically pulls the optical disk cassette containing the optical disk medium 20 inserted halfway into the device and takes it to the spindle motor/turntable. When,
The shutter window of cassette 1- opens at the same time as the insertion. Further, when ejecting the cassette, the cassette is automatically ejected by operating an ejection button (not shown).

光ディスク媒体20は例えば第9図に示すような1本の
連続したスパイラル状にトラック21が配置され、半径
方向のある位置を基点として複数のセクタ50に分けら
れる。
The optical disc medium 20 has tracks 21 arranged in a continuous spiral as shown in FIG. 9, for example, and is divided into a plurality of sectors 50 with a certain position in the radial direction as a base point.

各トラック21には等しい数のセクタ50が割り当てら
れている。第10図にトラックの構成の一例を、第11
図にトラックフォーマットの一例をそれぞれ示す。
Each track 21 is assigned an equal number of sectors 50. Figure 10 shows an example of the track configuration, and Figure 11 shows an example of the track configuration.
Examples of track formats are shown in the figures.

光ディスク媒体20は第10図に示すように、代替トラ
ック(Backup Track) 領域30とユーザ
記録(User Track) jlf域40に分けら
れる。
As shown in FIG. 10, the optical disc medium 20 is divided into a backup track area 30 and a user track area 40.

第11図にトラックフォーマットを示すが、1トラツク
は物理的に0セクタから16セクタの17セクタからな
る。
The track format is shown in FIG. 11, and one track physically consists of 17 sectors from 0 to 16 sectors.

ユーザ記録領域40では、■トラック当たり1セクタの
割合で代替セクタが割り付けられており、したがって、
1トラツク当たり16セクタがユーザセクタとして使用
される。
In the user recording area 40, alternative sectors are allocated at a rate of one sector per track.
Sixteen sectors per track are used as user sectors.

ユーザ記録領域40の先頭トラック(最内側1ヘラツク
)の先頭セクタから順にユーザセクタに0から始まる逐
次番号が論理ブロックアドレス(セクタアドレス)とし
て与えられている。
Sequential numbers starting from 0 are given to the user sectors as logical block addresses (sector addresses) in order from the first sector of the first track (innermost one track) of the user recording area 40.

1セクタは3Mフィールド51、TDフィールド52、
フラグフィールド53、データフィールド54およびギ
ャップ55から構成される。
One sector consists of a 3M field 51, a TD field 52,
It consists of a flag field 53, a data field 54, and a gap 55.

IDフィールド52はIDIおよびID2よりなり、各
IDは物理トラックナンバ、物理セクタナンバを含む。
The ID field 52 consists of IDI and ID2, and each ID includes a physical track number and a physical sector number.

フラグフィールド53はWRTフラグ(WRTFLAG
)を含み、これは当該セクタのデータフィールド54が
書き込み済みであるか否かを表示する。
The flag field 53 contains the WRT flag (WRTFLAG
), which indicates whether the data field 54 of the sector has been written.

データフィールド54は1024バイトのユーザデータ
、ECC(誤り訂正番号)/CRC(サイクリンク・リ
ダンダンシ・チエツク)、ID3およびポインタを含む
Data field 54 includes 1024 bytes of user data, ECC (Error Correction Number)/CRC (Cycle Link Redundancy Check), ID3, and a pointer.

11)3にはII〕■およびI I) 2の内容が記録
される。ポインタはバックアップセクタまたは代替トラ
ック30内のセクタの場合に、オリジナルセクタのID
 (TDI/ID2)を記録する。
11) In 3, the contents of II] ■ and II) 2 are recorded. If the pointer is a backup sector or a sector in alternate track 30, the pointer is the ID of the original sector.
Record (TDI/ID2).

この光ディスク媒体20上にファイルとしたデータを複
数記録するには、3フアイルを記録する例を第12図に
示すが、ユーザ記憶領域40の先頭セクタよりファイル
情報を記録し、ファイルとファイルの間にEOF (E
ND  OF  File )、最後のファイルの次に
は2個以上のEOFを置く。
In order to record a plurality of files of data on this optical disk medium 20, an example of recording three files is shown in FIG. EOF (E
ND OFF File), then place two or more EOFs after the last file.

ここで、EOFは、例えば空白セクタ(フラグフィール
ド、WRTフラグが書き込み否)を用いる。
Here, the EOF uses, for example, a blank sector (flag field, WRT flag indicates whether or not to write).

このような光ディスク媒体20に対し、ファイルの検索
読取り、追加書込み、−覧表作成の手順を以下に示す。
The procedures for searching and reading files, additionally writing, and creating a list for such an optical disk medium 20 will be described below.

(a)  ファイル検索読取り ホストCP [Jよりのファイル検索読取りの指示によ
りn番目のファイルn(n≧1)を検索読取りする場合
、n−1(ファイル1)のときはユーザ記録領域40の
先頭である論理ゾ1トンクアドレス0のセクタより、記
録情報をEOFの前まで読み取る。
(a) File search and read host CP [When searching and reading the n-th file n (n≧1) according to the file search and read instruction from J, if n-1 (file 1), the beginning of the user recording area 40 The recorded information is read from the sector with the logical zo 1 tonk address 0 to before the EOF.

n≧2のときは論理ブロックアドレスOのセクタより順
に読み出し、n−1個のEOFを読み込んだ次のセクタ
より、記録情報をE OFの前まで読み取る。
When n≧2, the data is read sequentially starting from the sector with the logical block address O, and from the next sector where n-1 EOFs have been read, the recorded information is read to the front of the EOF.

n−1個のEOFを読み込む前に連続して2個のEOF
を見付けたときは指定されたファイルはなしとする。
2 consecutive EOFs before reading n-1 EOFs
is found, the specified file is assumed to be missing.

(b)  ファイル追加書込み ホス)CPUからのファイル追加書込みの指示により、
ユーザ記録領域40の先頭である論理ブロックアドレス
0のセクタより記録情報を読んで行く。
(b) File additional writing host) According to the file additional writing instruction from the CPU,
Recorded information is read starting from the sector with logical block address 0, which is the beginning of the user recording area 40.

論理ブロックアドレス0のセクタがF、 OFなら論理
ブロックアドレス0のセクタ、それ以外なら論理ブロッ
クアドレスO以鋒初めて連続したEOFの2番目のEO
Fのセクタを追加書込み開始セクタとし、余りのセクタ
が書込みデータ量全データ書き込んでも、2セクタ以上
の残りのセクタがあるとき、開始セクタよりデータを書
き込む。
If the sector with logical block address 0 is F and OF, then the sector with logical block address 0, otherwise the second EO of the first consecutive EOF after logical block address O.
Sector F is set as an additional write start sector, and when there are two or more sectors remaining even after all data is written in the remaining sectors, data is written starting from the start sector.

(C)  ファイル−覧表作成 ホス1−CPUからのファイル−覧表作成の指示により
、論理ブロックアドレスOのセクタの記録情報によりフ
ァイル1の情報を得る。
(C) File-list creation In response to a file-list creation instruction from the host 1-CPU, information on file 1 is obtained from the recorded information in the sector of logical block address O.

次にE OF”を読み込むまでセクタを読み飛ばし、E
OFの次のセクタの記録情報により、ファイル2の情報
を得る。
Next, skip sectors until reading “E OF”, and then read E
The information of file 2 is obtained from the recorded information of the next sector of OF.

この操作を続けて連続したEOFを見付けるまで行い、
得られたファイル1.ファイル2.・・・ファイルnの
情報によりファイル−覧表を作成し、ホストCPUへ送
る。
Continue this operation until you find a continuous EOF,
Obtained file 1. File 2. . . . Create a file list based on the information of file n and send it to the host CPU.

ここで、ファイル−覧表作成に必要な情報はファイルの
先頭セクタに格納されているものとする。
Here, it is assumed that the information necessary for creating the file list is stored in the first sector of the file.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の光ディスクファイル方法は以上のように構成され
ているので、ファイルをアクセスするときに、先頭より
のEOFの数により該当するファイルを検索しなければ
ならず、またファイルを追加する場合には、連続するE
OFを見付け、2個目のEOFより次のファイルを上書
することが必要で、媒体上のファイルの一覧表を作成す
るとき、全媒体を検索するなど、ファイルの検索読取り
、追加書込み、−覧表作成に時間がかかるなどの問題点
があった。
Conventional optical disk file methods are structured as described above, so when accessing a file, the corresponding file must be searched by the number of EOFs from the beginning, and when adding a file, consecutive E
It is necessary to find the OF and overwrite the next file from the second EOF, and when creating a list of files on the medium, searching the entire medium, searching for files, reading, additional writing, - There were problems such as the time it took to create a list.

この発明は上記のような問題点を解消するためになされ
たもので、光ディスク媒体上に多量に書き込まれたファ
イルの検索読取り、追加書込み、−覧表作成を高速に実
行できる光ディスクファイル方法を得ることを目的とす
る。
This invention was made in order to solve the above-mentioned problems, and provides an optical disc file method that can quickly perform search reading, additional writing, and list creation of a large number of files written on an optical disc medium. The purpose is to

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る光ディスクファイル方法は、光ディスク
媒体上のユーザ記録エリアでトラックをインデックスト
ラックとファイルトラックに分け、データ記録時にファ
イルのファイルヘッダを含む先頭の1セクタ分の情報を
インデックストラック内の最終セクタ以外のセクタに書
き込み、残りを冊 ファイルトラックに書き込み、ファイルヘッダ内にファ
イルトラックに格納されたデータの先頭セクタアドレス
と最終セクタアドレスを格納し、インデックストラック
の最終セクタには次のインデックスi・ラックの先頭セ
クタアドレスを格納するようにしたものである。
The optical disc file method according to the present invention divides a track into an index track and a file track in a user recording area on an optical disc medium, and when recording data, information of the first sector including the file header of the file is transferred to the last sector in the index track. Write the rest to the file track, store the first sector address and last sector address of the data stored in the file track in the file header, and write the next index i rack in the last sector of the index track. It is designed to store the first sector address of .

〔作 用〕[For production]

この発明における光ディスクファイル方法は、光ディス
ク媒体上に記録されているファイルの情報をファイル名
により検索する際に、インデックストラックを参照する
ことにより、ファイルの検索読取り、追加書込み、−覧
表作成の処理を実行する。
The optical disk file method of the present invention refers to the index track when searching for file information recorded on an optical disk medium by file name, thereby performing file search/reading, additional writing, and list creation. Execute.

〔実施例〕〔Example〕

以下、この発明の一実施例を回について説明する。第1
図において、30は代替トラック領域、41はインデッ
クストラック、42はファイルトラック、43は空トラ
ツクで、インデックストラック41、ファイルトラック
42、空トラツク43はユーザ記録領域上に置かれる。
An embodiment of the present invention will be described below. 1st
In the figure, 30 is an alternative track area, 41 is an index track, 42 is a file track, and 43 is an empty track, and the index track 41, file track 42, and empty track 43 are placed on the user recording area.

インデックストラック41とファイルトラック42と空
トラツク43で18624 )ラックが割り当てられ、
代替トラック領域30は128トラツクが割り当てられ
る。
18624) racks are allocated with index track 41, file track 42 and empty track 43,
128 tracks are allocated to the alternative track area 30.

第2図において、61ばヘッダ部で、ファイルのヘッダ
情報が格納され、また、62はデータ部で、ファイルの
データ情報が格納される。ヘッダ部61は32バイトの
格納容量で、データ部62は1バイトの格納容量である
In FIG. 2, a header section 61 stores header information of a file, and a data section 62 stores data information of a file. The header section 61 has a storage capacity of 32 bytes, and the data section 62 has a storage capacity of 1 byte.

第3図において、71は先頭セクタアドレスであり、フ
ァイルが記録されている先頭の論理ブロックアドレスで
あり、2バイトの格納容量である。
In FIG. 3, 71 is the first sector address, which is the first logical block address where the file is recorded, and has a storage capacity of 2 bytes.

また、72は最終セクタアドレスで、ファイルが記録さ
れている最終の論理ブロックアドレスであり、2バイト
の格納容量である。
Further, 72 is the final sector address, which is the final logical block address where the file is recorded, and has a storage capacity of 2 bytes.

73はファイル名であり、16バイトの格納容量であり
、74はファイル属性で、ファイル個有の情報が格納さ
れる(格納容量は12バイトである)。
73 is a file name and has a storage capacity of 16 bytes, and 74 is a file attribute in which information unique to the file is stored (the storage capacity is 12 bytes).

なお、この発明に適用される機能ブロックは第8図で示
した従来の場合と同様であり、トラックの構成も第9図
で示した従来の場合と同様であり、さらに、第4図に示
すインデックストラック構成は第1I図のトラックフォ
ーマットで示したものと同じであり、この第4図におい
て、第11図と同一部分に同一符号を付している。
The functional blocks applied to this invention are the same as in the conventional case shown in FIG. 8, and the track configuration is also the same as in the conventional case shown in FIG. The index track configuration is the same as that shown in the track format of FIG. 1I, and the same parts in FIG. 4 as in FIG. 11 are given the same reference numerals.

次に動作について説明する。第1O図のトラック配置図
で示したように、第8図の光ディスク媒体20は代替ト
ラック領域30とユーザ記録領域40に分けられ、ユー
ザ記録領域40はさらに第1図に示すように、インデッ
クストラック41とファイルトラック42と空トラツク
43に分けられる。
Next, the operation will be explained. As shown in the track layout diagram of FIG. 1O, the optical disc medium 20 of FIG. 8 is divided into an alternative track area 30 and a user recording area 40, and the user recording area 40 is further divided into an index track 41, a file track 42, and an empty track 43.

第4図にインデックストラックの一構成例を示すが、イ
ンデックストラック内のセック5CTO〜セクタ5CT
14はデータ格納用セクタ、セクタ5CT15は次のイ
ンデックストラック指示セクタ、セクタ5CT16は代
替セクタとして用いられる。
FIG. 4 shows an example of the configuration of the index track, where the index track includes sectors 5CTO to 5CT.
14 is a sector for storing data, sector 5CT15 is used as a next index track indicating sector, and sector 5CT16 is used as an alternative sector.

光ディスク媒体20上にデータをファイルとして複数フ
ァイル記録するには、インデックストラック41内のデ
ータ格納用セクタ5CTO〜5CT14内の先頭の空セ
クタにファイルのヘッダ部を含む先頭の1セクタを書き
込み、1セクタを越えるファイル情報についてはファイ
ルトラック42の先頭トラックよりファイルの1セクタ
を越える分の情報を記録し、ファイルトラック42上に
はファイルとファイルの間にEOF、最後のファイルに
は2個以上のEOFを置く。ここでE OFは例えば空
白セクタを用いる。
To record a plurality of data files as files on the optical disk medium 20, write the first sector including the header part of the file in the empty sector at the beginning of data storage sectors 5CTO to 5CT14 in the index track 41. For file information exceeding 1 sector, information exceeding 1 sector of the file is recorded from the first track of the file track 42, and an EOF is recorded between files on the file track 42, and 2 or more EOFs are recorded in the last file. put Here, E OF uses, for example, a blank sector.

このような光ディスク媒体20に対し、ファイルの検索
読取り、追加書込み、−覧表作成の手順を以下に示す。
The procedures for searching and reading files, additionally writing, and creating a list for such an optical disk medium 20 will be described below.

(A)ファイル検索読取り 第5図にファイル検索読取りのフローチャートを示すが
、ホストCPUよりのファイル検索読取りの指示により
、ホストCPUより指示されたファイル名に一致するフ
ァイルを検索する。
(A) File Search and Read FIG. 5 shows a flowchart of file search and read. In response to a file search and read instruction from the host CPU, a file matching the file name specified by the host CPU is searched.

まず、ステップSTIで第8図で示した光学ヘッド1を
ユーザ記録領域40の先頭のインデックストラック41
の先頭の論理ブロックアドレス(以下、LBA)に移動
し、ステップST2でインデックストラック41に対す
る検索回数を設定するカウンタiに初期値Oを設定し、
ステップST3でセクタ50を読み取る。
First, in step STI, the optical head 1 shown in FIG.
moves to the first logical block address (hereinafter referred to as LBA), and sets an initial value O to a counter i that sets the number of searches for the index track 41 in step ST2,
Sector 50 is read in step ST3.

ステップST4でEOFでなければ、ステップST5で
第2図のヘッダ部61をチエツクし、第3図のファイル
名73が一致するものがあれば、そのファイルの先頭セ
クタアドレス71、最終セクタアドレス72を得る。
If it is not EOF in step ST4, the header part 61 in FIG. 2 is checked in step ST5, and if there is a file with the same file name 73 in FIG. obtain.

ステップST5でファイル名73が一致しなければ、ス
テップST6で次のセクタ50の読み取りの準備を行い
、つまりカウンタiを1増やし、ステップST7で検索
回数のチエツクを行い、最後のデータ格納用セクタ5C
T14が読み取られていなければ(i=15でなければ
)、ステップST3の処理に戻る。
If the file names 73 do not match in step ST5, preparations are made to read the next sector 50 in step ST6, that is, the counter i is incremented by 1, the number of searches is checked in step ST7, and the last data storage sector 5C is read.
If T14 is not read (i=15), the process returns to step ST3.

このステップST7で検索回数が15に達したことを確
認した時は(i=15の時は)、データ格納セクタ5C
TO〜5CT14で一致するものがなかったことを示し
ているので、ステップST8でインデックストラック指
示セクタ5CT15を読み取り、ステップST9でEO
Fか否かのチエツクを行い、EOFであるならば8亥当
ファイルは無しとする。EOFでなければ、ステップ5
T10において、第8図で示した光学ヘット°1をIト
ラック移動して、次のインデックストラック41を検索
する。
When it is confirmed in this step ST7 that the number of searches has reached 15 (when i=15), the data storage sector 5C is
Since it indicates that there is no match in TO~5CT14, the index track instruction sector 5CT15 is read in step ST8, and the EO is read in step ST9.
A check is made to see if it is F or not, and if it is EOF, the file is determined to be absent. If not EOF, step 5
At T10, the optical head °1 shown in FIG. 8 is moved I track to search for the next index track 41.

また、ステップST5において、ヘッダ部61のファイ
ル名73が一致すれば、そのセクタより1セクタ分、例
えば1024バイトのファイル情報としてホストCPU
へ送る(ステップ5TII)。
In addition, in step ST5, if the file names 73 of the header part 61 match, the host CPU sends the file information of one sector from that sector, for example, 1024 bytes, to the host CPU.
(Step 5TII).

ファイルのサイズが1024バイトを越える場合には、
ステップ5T12でヘッダ部61内の先頭セクタアドレ
ス71より示されるセクタに光学ヘッド1を移動し、最
終セクタアドレス72に示されるセクタまでステップ5
T13.ステップ5T14を経てセクタ50の記録を読
み取り、ステップ5T15でホストCPUヘラアイル情
報として送り、ステップS、TI6でT、、 B Aが
最終セクタアドレスになると、一連の処理が終了する。
If the file size exceeds 1024 bytes,
In step 5T12, the optical head 1 is moved to the sector indicated by the first sector address 71 in the header section 61, and then moved to the sector indicated by the last sector address 72 in step 5T12.
T13. The record of sector 50 is read through step 5T14, and sent as host CPU error aisle information at step 5T15, and when T, .

該当するファイルが無い場合は、エラー情報をホス)C
PUへ送る。
If there is no corresponding file, host the error information)C
Send to PU.

(B)ファイル追加書込み 第6図にファイル追加書込みのフローチャートを示すが
、まずステップST21において、光学ヘット1をユー
ザ記録領域40の先頭のインデックストラック41の先
頭のL B Aに移動し、ステップ5T22からステッ
プST23までの処理でセクタ50の読み取りの処理を
行い、このステップST23において、セクタ50を読
み取ると、ステップ5T24で読み取りセクタがEOF
か否かを8周べる。
(B) File additional writing FIG. 6 shows a flowchart of file additional writing. First, in step ST21, the optical head 1 is moved to L B A at the beginning of the index track 41 at the beginning of the user recording area 40, and in step 5T22. The sector 50 is read in the process from step ST23 to step ST23, and when the sector 50 is read in step ST23, the read sector becomes EOF in step 5T24.
Test whether it is true or not eight times.

ステップ5T24において、EOFでなければ、ステッ
プ5T25で読み取りの対象を1セクタ進め、ステップ
5T26で15セクタの読み取った結果がEOFでなけ
れば、ステップ5T23で次のセクタ50を読み取る処
理を繰り返してEOFを検索する。
In step 5T24, if it is not EOF, advance the reading target by one sector in step 5T25, and if the result of reading 15 sectors in step 5T26 is not EOF, repeat the process of reading the next sector 50 in step 5T23 to read EOF. search for.

ステップST26の判定がyesのとき、インデックス
トラック41のセクタ5CTO〜5CT14にE OF
がなかったことを示しているので、ステップST27で
インデックストラック指示セクタ5CT15を読み取る
When the determination in step ST26 is yes, E OF is applied to sectors 5CTO to 5CT14 of the index track 41.
Since this indicates that there is no index track indication sector 5CT15 in step ST27.

ステップ5T28で読み取りセクタがEOFかどうかを
調べ、EOFでなければ、ステップ5T29で次のイン
デックストラック41に光学ヘッドを移動し、E OF
’のセクタ50を捜す処理を繰り返す。
In step 5T28, it is checked whether the read sector is EOF, and if it is not EOF, the optical head is moved to the next index track 41 in step 5T29, and the read sector is EOF.
'The process of searching for sector 50 is repeated.

また、ステップ5T24の判定によりセクタ5CTO−
3CT14でEOFが見つかった場合には、ステップS
T33において、セクタのLBAをWBAに記憶し、ス
テップST2 Bの判定によりインデックストラック指
示セクタ5CT15でEOFが見つかった場合には、ス
テップST30゜Sr11において、空トラツク43の
先頭のトラックをインデックストラック41とし、ステ
ップ5T32において、そのセクタ5CTOのI−、B
Aをインデックストラック指示セクタ5CT15に書き
込むとともに、ステップ5T33において、そのLBA
をWBAに格納する。
Also, as determined in step 5T24, sector 5CTO-
If EOF is found in 3CT14, step S
In T33, the LBA of the sector is stored in WBA, and if the EOF is found in the index track designation sector 5CT15 as determined in step ST2B, the first track of the empty track 43 is set as the index track 41 in step ST30°Sr11. , in step 5T32, I-,B of the sector 5CTO
A is written to the index track instruction sector 5CT15, and in step 5T33, the LBA
is stored in WBA.

ステップ5T34において、ホストCPUより転送され
てくる先頭の1024バイトのデータを一時記憶する。
In step 5T34, the first 1024 bytes of data transferred from the host CPU are temporarily stored.

ステップ5T35において、光学ヘッドを次のトラック
先頭セクタに移動後、ステップ5T36により記憶した
LBAがインデックストラック41のセクタ5CTOの
ときは空トラツク43の先頭をファイルトラック42と
し、ステップST41の処理へ移行するために、その先
頭セクタのLBAに光学ヘッドlを移動しておく。ステ
ップ5T36でインデックストラック41において、E
OFであったセクタ5CTiをi=1〜14と判定した
ときは、ステップ5T23で読み込んでいたデータの内
、セクタ5CTi−1に対応するファイル(EOFの直
前のファイル)の先頭セクタであるセクタ5CTi−1
内に含まれている最終セクタアドレス72よりセクタ5
0を読み取り、ステップST37〜ST40により連続
した二つのE OFを検出した2個目のEOFのr、、
 B Aに光学ヘッド1を移動し、ステップST42に
よりホストCPUより送られるファイル情報の1o24
バイトを越えるデータを受は取り、ステップST42で
光ディスク媒体20にそのデータを書き込む。
In step 5T35, after moving the optical head to the first sector of the next track, if the LBA stored in step 5T36 is sector 5CTO of the index track 41, the beginning of the empty track 43 is set as the file track 42, and the process moves to step ST41. Therefore, the optical head l is moved to the LBA of the first sector. In step 5T36, in the index track 41, E
When it is determined that sector 5CTi which was OF is i=1 to 14, sector 5CTi which is the first sector of the file corresponding to sector 5CTi-1 (file immediately before EOF) of the data read in step 5T23 -1
Sector 5 from the final sector address 72 contained in
r of the second EOF that read 0 and detected two consecutive EOFs in steps ST37 to ST40.
Move the optical head 1 to B A and read the file information 1o24 sent from the host CPU in step ST42.
The data exceeding the byte is received and written to the optical disk medium 20 in step ST42.

ステップST43において、データ書き込み中にファイ
ルトラックのセクタ5CT14に書き込みを行ったかを
調べ、yesのとき、ステップ5T44において、空ト
ラツク43の先頭トラックをファイル42に追加する。
In step ST43, it is checked whether data has been written to the sector 5CT14 of the file track during data writing. If YES, the first track of the empty track 43 is added to the file 42 in step ST44.

ステップST45において、データ書き込みが終了かチ
エツクし、書き込みが完了時に、ステップST46にお
いて、書き込み先頭I、BA、書き込み終了LBAをそ
れぞれヘッダ部61の先頭セクタアドレス71、最終セ
クタアドレス72として格納した後に、ステップST4
7において、光学ヘッド1をインデックストラック41
の先頭のEOFセクタへ移動し、ステップ5T4Bにお
いてヘッダ部を書き込む。
In step ST45, it is checked whether the data writing is completed, and when the writing is completed, in step ST46, the write start I, BA, and write end LBA are stored as the start sector address 71 and the end sector address 72 of the header section 61, respectively. Step ST4
7, the optical head 1 is moved to the index track 41.
The header section is moved to the first EOF sector in step 5T4B.

(C)ファイル−覧表作成 第7図にファイル−覧表作成のフローチャートを示すが
、まずステップST51において、光学ヘッド1をユー
ザ記録領域40の先頭のインデックストラックの先頭の
L B Aに移動し、ステップ5T52 5T53でセ
クタ50を読み取る。
(C) Creating a file list FIG. 7 shows a flowchart for creating a file list. First, in step ST51, the optical head 1 is moved to LBA at the beginning of the index track at the beginning of the user recording area 40. , reads sector 50 in steps 5T52 and 5T53.

この読み取った結果がステップST54でEOFでなけ
れば、読み取った情報の内、ステップ5T55でヘッダ
部61をファイル−覧表情報としてホストCPUへ送る
If the read result is not EOF in step ST54, the header portion 61 of the read information is sent to the host CPU as file list information in step 5T55.

次に、ステップ5T56において次のセクタの読み取り
の準備を行い、ステップST57においてセクタ5CT
O−3CT14でEOFがないことを確認したら(i=
15)、ステップ5T58でインデックストラック指示
セクタ5CT15の読み取りを行い、ステップ5T59
でEOFでなければ、ステップST60で次のインデッ
クストラック71を捜し、同様の処理を次のインデック
ストラック71のセクタ5CTO−3CTI 4または
セクタSC’F15にF、 OFが見つかるまで繰り返
す。
Next, in step 5T56, preparations are made for reading the next sector, and in step ST57, the sector 5CT is read.
After confirming that there is no EOF with O-3CT14 (i=
15) At step 5T58, the index track indication sector 5CT15 is read, and at step 5T59
If it is not EOF, the next index track 71 is searched for in step ST60, and the same process is repeated until F or OF is found in sectors 5CTO-3CTI4 or sector SC'F15 of the next index track 71.

また、第8図機能ブロック図、第9図トラックの構成、
第11図トラックフォーマットについては従来の光ディ
スクファイル方法と同等の機能を有するため説明は省略
する。
In addition, Fig. 8 is a functional block diagram, Fig. 9 is a truck configuration,
The track format shown in FIG. 11 has the same function as the conventional optical disc file method, so the explanation thereof will be omitted.

なお、上記実施例では、ヘッダ部61が32バイトの例
を示したが、ヘッダ部61のバイト数は1024バイト
まで増減可能である。
In the above embodiment, the header section 61 is 32 bytes, but the number of bytes of the header section 61 can be increased or decreased up to 1024 bytes.

また、インデックストラック41として1トラツク16
セクタで構成する例を示したが、インデックストラック
41として複数トラック、例えば4トラツク64セクク
で構成してもよい。
Also, one track 16 is used as the index track 41.
Although an example is shown in which the index track 41 is composed of sectors, the index track 41 may be composed of a plurality of tracks, for example, 4 tracks and 64 sectors.

ざらに、インデックストラック41とファイルトラック
42が混在する構成の例を示したが、インデックストラ
ック41を例えばユーザ記録エリアの先頭より例えば1
28トラツク、それ以降をファイルトラック42の構成
としてもよい。いずれの場合でも上記実施例と同様の効
果を奏する。
Although an example of a configuration in which the index track 41 and the file track 42 are mixed is briefly shown, the index track 41 is arranged, for example, from the beginning of the user recording area to
28 tracks and thereafter may be configured as file tracks 42. In either case, the same effects as in the above embodiment can be achieved.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、光ディスク媒体上の
ユーザ記録エリアをインデックストラック、ファイルト
ラック、空トラツクに分け、ファイルのヘッダ部を1フ
アイル1セクタとしてインデックストラックに格納する
ように構成したので、ファイル検索読取り、追加書込み
、−覧表作成の処理におけるファイル検索がインデック
ストラックの検索のみで済み、アクセス速度の高いもの
が得られる効果がある。
As described above, according to the present invention, the user recording area on the optical disc medium is divided into an index track, a file track, and an empty track, and the header part of a file is stored in the index track as one file and one sector. , file search and reading, additional writing, and file search in the process of creating a list only need to search the index track, which has the effect of providing a high access speed.

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

第1図はこの発明の一実施例による光ディスクファイル
方法に適用されるトラックの構成図、第2図は同上実施
例に適用されるファイル内部構成図、第3図は同上実施
例に適用されるヘッダ部内部構成図、第4図は同上実施
例に適用されるインデックストラック構成図、第5図は
同上実施例を説明するためのファイル検索読取りフロー
チャート、第6図は同上実施例を説明するだめのファイ
ル追加書込みフローチャート、第7図は同上実施例を説
明するためのファイル−覧表作成フローチャート、第8
図は従来とこの発明併用の光ディスクファイル方法に適
用される光ディスクファイル装置の機能ブロック図、第
9図は同−h光ディスクファイル装置に適用される光デ
ィスクのトラックの構成図、第10図は同上トラックの
配置図、第11図は同上トラックのフォーマット、第1
2図は従来の光ファイル方法におけるファイル記録方法
の説明図である。 ■は光学ヘッド、2はアクチュエータ、3は回転機構、
4ば偏芯補正回路、5はドライブ制御CPU、6はドラ
イブインタフェース回路、7はオートローディング機構
、11は光学ヘッド制御機構、12はリニアモータ制御
回路、13は回転モータ制御回路、20は光ディスク媒
体、21はトラック、41はインデックストラック、4
2はファイルトラック、43は空トラツク、50はセク
タ、61はヘッダ部、71は先頭セクタアドレス、72
は最終セクタアドレス。 なお、図中、同一符号は同一、または相当部分を示す。 特許出願人   三菱電機株式会社 Q 第3回
FIG. 1 is a track configuration diagram applied to an optical disc file method according to an embodiment of the present invention, FIG. 2 is a file internal configuration diagram applied to the same embodiment, and FIG. 3 is a diagram applied to the same embodiment. 4 is an index track configuration diagram applied to the above embodiment, FIG. 5 is a file search and reading flowchart for explaining the above embodiment, and FIG. 6 is a diagram for explaining the above embodiment. FIG. 7 is a flowchart for creating a file list for explaining the above embodiment; FIG. 8 is a flowchart for creating a file list.
The figure is a functional block diagram of an optical disk file device applied to the conventional optical disk file method and the optical disk file method of the present invention, FIG. 9 is a configuration diagram of an optical disk track applied to the same-h optical disk file device, and FIG. 10 is the same track as above. Figure 11 shows the format of the same track, 1st
FIG. 2 is an explanatory diagram of a file recording method in a conventional optical file method. ■ is the optical head, 2 is the actuator, 3 is the rotation mechanism,
4 is an eccentricity correction circuit, 5 is a drive control CPU, 6 is a drive interface circuit, 7 is an autoloading mechanism, 11 is an optical head control mechanism, 12 is a linear motor control circuit, 13 is a rotary motor control circuit, and 20 is an optical disk medium. , 21 is a track, 41 is an index track, 4
2 is a file track, 43 is an empty track, 50 is a sector, 61 is a header section, 71 is a first sector address, 72
is the final sector address. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant Mitsubishi Electric Corporation Q 3rd

Claims (1)

【特許請求の範囲】[Claims]  光ディスクファイル装置に着脱自在で、データを所定
バイトのセクタ単位に書き込みおよび読み出しが可能な
光ディスク媒体にデータを入出力する際に、上記データ
の入出力単位としてセクタサイズ以下のヘッダ部と、デ
ータ部よりなるファイルを用い、上記光ディスク媒体上
のユーザ記録エリアで所定セクタよりなるトラックをイ
ンデックストラックとファイルトラックに分けておき、
上記ファイルを上記光ディスク媒体に書き込む際に上記
ヘッダ部を含む先頭の1セクタ分のデータを上記インデ
ックストラック内の最終セクタ以外の空セクタに、1セ
クタを越えるファイルのデータ部を上記ファイルトラッ
クの先頭の空セクタより順に書き込み、上記ファイルの
ヘッダ部にファイル名とファイルトラックに含まれるデ
ータの先頭セクタアドレスおよび最終セクタアドレスの
情報を含め、上記インデックストラックの最終セクタに
は次のインデックストラックの先頭セクタアドレスの情
報を格納し、上記光ディスク媒体上のファイルをファイ
ル名により検索する際に上記インデックストラックの検
索だけで実行する光ディスクファイル方法。
When inputting and outputting data to an optical disk medium that is removably attachable to an optical disk file device and capable of writing and reading data in sector units of a predetermined byte, a header section of the sector size or less and a data section are used as the input/output unit of the data. A track consisting of a predetermined sector is divided into an index track and a file track in the user recording area on the optical disc medium, using a file consisting of the following:
When writing the above file to the optical disk medium, the first sector worth of data including the header section is placed in an empty sector other than the last sector in the index track, and the data section of the file exceeding 1 sector is placed at the beginning of the file track. The header of the above file contains information on the file name and the first sector address and last sector address of the data included in the file track, and the last sector of the above index track contains the first sector of the next index track. An optical disc file method in which address information is stored and a file on the optical disc medium is searched by file name only by searching the index track.
JP19611588A 1988-08-08 1988-08-08 Method for filing optical disk Pending JPH0246584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19611588A JPH0246584A (en) 1988-08-08 1988-08-08 Method for filing optical disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19611588A JPH0246584A (en) 1988-08-08 1988-08-08 Method for filing optical disk

Publications (1)

Publication Number Publication Date
JPH0246584A true JPH0246584A (en) 1990-02-15

Family

ID=16352490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19611588A Pending JPH0246584A (en) 1988-08-08 1988-08-08 Method for filing optical disk

Country Status (1)

Country Link
JP (1) JPH0246584A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226456A (en) * 2008-06-23 2008-09-25 Sony Corp Information processing apparatus, information distribution system, information processing method, and program
US7433867B2 (en) 2000-03-24 2008-10-07 Sony Corporation Information processing apparatus, information delivery system, information processing method, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7433867B2 (en) 2000-03-24 2008-10-07 Sony Corporation Information processing apparatus, information delivery system, information processing method, and recording medium
JP2008226456A (en) * 2008-06-23 2008-09-25 Sony Corp Information processing apparatus, information distribution system, information processing method, and program

Similar Documents

Publication Publication Date Title
CA2351502C (en) Method of immediate writing or reading files on a disc like recording medium
KR100313979B1 (en) Control device for recording media
JPH08203210A (en) Disc-shaped recording medium, recording apparatus and reproducing apparatus therefor
EP0967598B1 (en) Optical disk recording device and optical disk drive
US6563776B1 (en) Information storage apparatus for monitoring a number of defective sectors included in a zone so as to select a substitutional area from a different zone
US20080298188A1 (en) Device for and Method of Recording Information on a Record Carrier
JPH0246584A (en) Method for filing optical disk
US7898913B2 (en) Device for and method of recording information on write-once record carrier
US6115342A (en) Optical disk recording device and optical disk drive
JP2597451B2 (en) Information recording and playback method
JPH01154382A (en) Optical disk file device
JP4037382B2 (en) Defect management method, reproducing method, program and recording medium, information recording apparatus, and information reproducing apparatus
EP1966798A2 (en) Device for and method of retrieval of a data file
JPH02123587A (en) Optical disk filing device
WO2002073614A1 (en) Data recording method and recording apparatus
US20050286367A1 (en) Method for recording and reproducing data and apparatus for the same
US20070130419A1 (en) Device for and method of recording digital information signals
JP2001291332A (en) Data recording device, data recording method, and disk-shaped recording medium
EP1687822A1 (en) Device for and method of recording digital information signals
JPH02152072A (en) Information recording and reproducing device
JPH08138322A (en) Recording / playback system
JPS62298983A (en) Optical disk system
HK1023841A (en) Record carrier, method of recording information on a record carrier, recording apparatus and playback device
JP2007073083A (en) Optical disc, recording method, recording apparatus, reproducing method, and reproducing apparatus
JPH07230403A (en) Information recording method