JP3107028B2 - Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device - Google Patents

Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device

Info

Publication number
JP3107028B2
JP3107028B2 JP10035593A JP3559398A JP3107028B2 JP 3107028 B2 JP3107028 B2 JP 3107028B2 JP 10035593 A JP10035593 A JP 10035593A JP 3559398 A JP3559398 A JP 3559398A JP 3107028 B2 JP3107028 B2 JP 3107028B2
Authority
JP
Japan
Prior art keywords
data
area
sector
management table
recording
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
JP10035593A
Other languages
Japanese (ja)
Other versions
JPH11232781A (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 JP10035593A priority Critical patent/JP3107028B2/en
Publication of JPH11232781A publication Critical patent/JPH11232781A/en
Application granted granted Critical
Publication of JP3107028B2 publication Critical patent/JP3107028B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、円盤状記録媒体の
記録制御装置及び光磁気ディスク装置のデータの記録方
法に係わり、特に、高速の書込みを可能にした円盤状記
録媒体の記録制御装置に関する。
The present invention relates to a recording control device for a disk-shaped recording medium and a data recording method for a magneto-optical disk device, and more particularly to a recording control device for a disk-shaped recording medium capable of high-speed writing. .

【0002】[0002]

【従来の技術】光磁気ディスクは、外部から垂直磁界を
与え、レーザビームの熱により垂直磁界の方向を外部磁
界の方向へ変化させることによって、情報を記録するも
のである。光磁気ディスク上では、これらの記憶単位は
セクタ単位で管理されており、セクタ単位で読み書きが
おこなわれる。
2. Description of the Related Art A magneto-optical disk records information by applying a vertical magnetic field from the outside and changing the direction of the vertical magnetic field to the direction of the external magnetic field by the heat of a laser beam. On the magneto-optical disk, these storage units are managed in sector units, and reading and writing are performed in sector units.

【0003】従来の光磁気ディスクにおけるデータの扱
いについて図6を用いて説明する。データを書込む時は
(図6(a))、光磁気ディスクに記録されている垂直
磁界を一定方向にそろえ(消去)、次にそれとは反対方
向の磁界を加えて、情報を記録する(書込み)。さら
に、書込んだデータが正しく書込まれているかのチェッ
ク(ベリファイ)をおこなって、書込み時の信頼性を確
保している。
The handling of data in a conventional magneto-optical disk will be described with reference to FIG. When writing data (FIG. 6 (a)), the perpendicular magnetic field recorded on the magneto-optical disk is aligned (erased) in a certain direction, and then a magnetic field in the opposite direction is applied to record information ( writing). Further, a check (verify) is performed to check whether the written data is correctly written, thereby ensuring the reliability at the time of writing.

【0004】又、データを消去する時は(図6
(b))、そのセクタのデータを使用しなくなったとい
う印(図6では×印)を、管理領域に書込み、実際にデ
ータの書込まれている領域はそのままに残される。更
に、データを置き換える場合(図6(c))、書込みと
同じ手順でデータを置き換える。
When erasing data (see FIG. 6)
(B)) A mark indicating that the data of the sector is no longer used (marked with X in FIG. 6) is written in the management area, and the area where the data is actually written is left as it is. Further, when replacing data (FIG. 6C), the data is replaced in the same procedure as writing.

【0005】しかし、上記した方法では、書込みの際、
必ず、消去動作を行うから書込みに時間がかかるという
欠点があった。こうした問題を解決するために、処理の
空き時間にデータの消去処理を行う方式が提案されてい
る。特開平3−147571号公報記載の第二の光磁気
ディスク記録装置では、処理の空き時間に不要となった
セクタのアドレスを調べ、その不要セクタに対しデータ
の消去処理を行い、それ以降の当該セクタへの書込みを
高速化する方式が提案されている。
However, in the above-described method, when writing,
There is a disadvantage that it takes a long time to write since the erasing operation is always performed. In order to solve such a problem, there has been proposed a method of performing a data erasing process during an idle time of the process. In the second magneto-optical disk recording apparatus described in Japanese Patent Application Laid-Open No. 3-147571, the address of a sector that is no longer needed during the idle time of the process is checked, and data is erased from the unnecessary sector. A method for speeding up writing to a sector has been proposed.

【0006】上記と同様なものとして特開平7−216
00号公報が知られている。しかし、特開平3−147
571号公報や特開平7−21600号公報のものは、
未使用部分の消去プロセスを処理の空き時間に行うの
で、未使用部分に対する書込みが発生した場合には、消
去のプロセスを省略し「書込み」「ベリファイ」の2つ
の手順で書込み時間を短縮することが可能である。しか
し、すでに何等かのデータが書き込まれた領域に対する
書込み要求が発生した場合には、従来通り「消去」「書
込み」「ベリファイ」の手順を踏まなければならないと
いう欠点があった。
[0006] Japanese Patent Application Laid-Open No. 7-216 is similar to the above.
No. 00 is known. However, JP-A-3-147
No. 571 and Japanese Patent Application Laid-Open No. 7-21600,
Since the process of erasing the unused portion is performed during the idle time of the process, when the writing to the unused portion occurs, the erasing process is omitted and the writing time is reduced by two procedures of "writing" and "verify". Is possible. However, when a write request is issued to an area in which some data has already been written, there is a drawback that the procedure of “erase”, “write”, and “verify” must be performed as in the past.

【0007】[0007]

【発明が解決しようとする課題】本発明の目的は、上記
した従来技術の欠点を改良し、特に、データが書込まれ
た領域に対するデータの書き換えをも高速化する新規な
円盤状記録媒体の記録制御装置及び光磁気ディスク装置
のデータの記録方法を提供するものである。
SUMMARY OF THE INVENTION An object of the present invention is to improve the above-mentioned drawbacks of the prior art and, in particular, to provide a novel disk-shaped recording medium capable of speeding up the rewriting of data in an area where data has been written. An object of the present invention is to provide a recording control device and a data recording method for a magneto-optical disk device.

【0008】[0008]

【課題を解決するための手段】本発明は上記した目的を
達成するため、基本的には、以下に記載されたような技
術構成を採用するものである。即ち、本発明に係わる円
盤状記録媒体の記録制御装置の第1態様は、データの書
込み可能な円盤状記録媒体の記録制御装置において、前
記円盤状記録媒体の各領域の記録状態を表示する第1の
管理テーブルと、前記第1の管理テーブルに対応してデ
ータを記録すべき領域を表示する第2の管理テーブル
と、データの書込み要求があった時で、要求された領域
にデータの書込みができない場合、書込み可能な代替領
域にデータを一時的に書き込む第1の手段と、データを
一時的に書き込んだ領域を示す前記第1の管理テーブル
の所定部分に、一時的に書き込んだ領域が代替使用であ
る旨の表示を行う第2の手段と、前記第1の管理テーブ
ルに対応する前記第2の管理テーブルの所定部分に、
規にデータを記録すべき領域を示すデータを書き込む
3の手段とからなり、データの書込み要求があった時、
前記第1の管理テーブルと第2の管理テーブルとに基づ
、前記書込み可能な代替領域にデータの書込みを直ち
に実行するように構成したことを特徴とするものであ
り、又、第2態様は、アイドル時間を監視するタイマ
と、代替領域に書き込んだデータを前記書込み要求があ
った所定の領域に書き込む第4の手段とを設け、前記タ
イマが所定のアイドル時間をカウントすると、前記第1
の管理テーブルと第2の管理テーブルとを用いて、前記
第4の手段が、代替領域に書き込んだデータを前記書込
み要求があった所定の領域に書き込むことを特徴とする
ものであり、又、第3態様は、前記第1の管理テーブル
の各領域の記録状態を示す部分には、消去済み領域、使
用中領域、未消去領域及び代替使用領域のいずれである
かを示す識別符号が記録されていることを特徴とするも
のであり、又、第4態様は、前記円盤状記録媒体は、光
磁気ディスクであることを特徴とするものである。
SUMMARY OF THE INVENTION The present invention basically employs the following technical configuration to achieve the above object. That is, the first aspect of the recording control apparatus for a disk-shaped recording medium according to the present invention is a data recording apparatus .
In a recording control apparatus for a recordable disc-shaped recording medium, a first management table for displaying a recording state of each area of the disc-shaped recording medium, and an area for recording data corresponding to the first management table Second management table that displays
A first means for temporarily writing data in a writable alternative area when data cannot be written to the requested area when a data write request is issued; A second means for displaying in a predetermined portion of the first management table indicating that the temporarily written area is an alternative use, and a second management table corresponding to the first management table Write data indicating the area where data is to be recorded in a predetermined portion of the
When there is a data write request,
Based on the first management table and the second management table , data is written to the writable alternative area immediately, and the second aspect is characterized in that: Timer to monitor idle time
The write request for the data written to the alternate area
And fourth means for writing to a predetermined area, and when the timer counts a predetermined idle time, the first means
Using the management table and the second management table, the
The fourth means writes the data written in the substitute area to a predetermined area for which the write request has been made, and the third mode is that the data of each area of the first management table is The portion indicating the recording state is recorded with an identification code indicating any one of an erased area, a used area, an unerased area, and an alternative used area. In an embodiment, the disk-shaped recording medium is a magneto-optical disk.

【0009】本発明に係わる光磁気ディスク装置のデー
タの記録方法の第1態様は、消去済みの領域にのみデー
タの書込みを可能にした光磁気ディスク装置のデータの
記録方法において、書込み要求があった時で、要求され
た領域にデータの書込みできない場合、書込み可能な代
替領域にデータを一時的に書き込むことで、データの書
込みを直ちに実行し、その後、処理要求のない空いた時
間に前記代替領域に書き込まれたデータを書込み要求の
領域に書き込むことでデータの記録を高速化したことを
特徴とするものであり、又、第2態様は、消去済みの領
域にのみデータの書込みを可能にした光磁気ディスク装
置のデータの記録方法において、前記光磁気ディスクの
セクタNへの書込みを要求する第1のステップと、セク
タNが消去状態にないとき、一時的な書込みを行うため
に消去済みセクタを検索する第2のステップと、前記光
磁気ディスクの各領域の記録状態を表示する第1の管理
テーブルのセクタNを示す部分に未消去セクタであるこ
とを示す識別符号を入れると共に、第1の管理テーブル
の前記第2ステップで見つけ出したセクタを示す部分に
代替使用を示す識別符号を入れる第3のステップと、前
記第1の管理テーブルの代替記録する領域を表示した部
分に対応する第2の管理テーブルの所定部分にセクタ番
号Nを記録する第4のステップと、前記第1及び第2の
管理テーブルを用いて前記代替記録する領域に一時的な
代替書込みを行う第5のステップと、からなることを特
徴とするものであり、又、第3態様は、セクタNを消去
処理する第6のステップと、前記第1の管理テーブルの
セクタNを示す部分にセクタNを消去処理したことを示
す識別符号を記録すると共に、前記第1の管理テーブル
の代替書込みセクタ部分に未消去を示す識別符号を記録
する第7のステップと、前記代替記録したセクタのデー
タをセクタNに記録する第8のステップと、からなるこ
とを特徴とするものである。
A first aspect of a data recording method for a magneto-optical disk device according to the present invention is a data recording method for a magneto-optical disk device in which data can be written only in an erased area. If the data cannot be written to the requested area at the time of writing, the data is written immediately by temporarily writing the data to a writable alternative area, and then the replacement is performed at an idle time when there is no processing request. The data recording is speeded up by writing the data written in the area to the area of the write request, and the second mode enables data to be written only to the erased area. In the data recording method of the magneto-optical disk device, the first step of requesting writing to the sector N of the magneto-optical disk; A second step of searching for an erased sector for performing temporary writing, and an unerased part of the first management table indicating the recording state of each area of the magneto-optical disk. A third step of inserting an identification code indicating that the sector is a sector, and inserting an identification code indicating an alternative use in a portion of the first management table indicating the sector found in the second step; A fourth step of recording a sector number N in a predetermined portion of a second management table corresponding to a portion in which an alternative recording area is displayed; and the alternative recording area using the first and second management tables. And a fifth step of performing a temporary alternative write to the sector N. A third mode is a sixth step of erasing the sector N, and A seventh code for recording an identification code indicating that the erasing process has been performed on the sector N in a portion indicating the sector N of the management table, and an identification code indicating non-erasing in a replacement write sector portion of the first management table. And an eighth step of recording the data of the alternately recorded sector in the sector N.

【0010】[0010]

【発明の実施の形態】本発明に係わる円盤状記録媒体の
記録制御装置は、消去済みの領域にのみデータの書込み
を可能にした円盤状記録媒体の記録制御装置において、
前記円盤状記録媒体の各領域の記録状態を表示する第1
の管理テーブルと、前記第1の管理テーブルに対応して
データを記録すべき領域を表示する第2の管理テーブル
とを設け、データの書込み要求があった時で、要求され
た領域にデータの書込みができない場合、書込み可能な
代替領域にデータを一時的に書き込むと共に、データを
一時的に書き込んだ領域を示す前記第1の管理テーブル
の所定部分に、一時的に書き込んだ領域が代替使用であ
る旨の表示を行うと共に、前記第1の管理テーブルに対
応する前記第2の管理テーブルの所定部分には、正規に
データを記録すべき領域を示すデータを書き込むこと
で、データの書込み要求があった時、前記第1の管理テ
ーブルと第2の管理テーブルとに基づきデータの書込み
を直ちに実行するように構成したことを特徴とするもの
であるから、データが書込まれた領域に対するデータの
書き換えをも高速化することが可能になった。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A recording control apparatus for a disk-shaped recording medium according to the present invention is a recording control apparatus for a disk-shaped recording medium which enables data to be written only in an erased area.
A first displaying a recording state of each area of the disc-shaped recording medium;
And a second management table for displaying an area in which data is to be recorded corresponding to the first management table. When a data write request is issued, the data is written to the requested area. If writing is not possible, the data is temporarily written in a writable alternative area, and the temporarily written area is used for the alternate use in a predetermined portion of the first management table indicating the area where the data is temporarily written. In addition to displaying a message indicating that the data is written, by writing data indicating an area where data is to be recorded properly in a predetermined portion of the second management table corresponding to the first management table, a data write request is issued. Data writing is performed immediately based on the first management table and the second management table when there is an error. Rewriting data to the written region became possible to speed.

【0011】従って、常に高速な記録動作を行うことが
出来る。
Therefore, a high-speed recording operation can always be performed.

【0012】[0012]

【実施例】以下に、本発明に係わる円盤状記録媒体の記
録制御装置及び光磁気ディスク装置のデータの記録方法
の具体例を図面を参照しながら詳細に説明する。図1
は、本発明に係わる光磁気ディスク装置の具体例を示す
ブロック図、図2はデータの書込み時、データの削除時
及びデータの置換時の各テーブルの状態を説明する図、
図3、4、5は本発明の動作を示すフローチャートであ
って、これらの図には、消去済みの領域にのみデータの
書込みを可能にした円盤状記録媒体の記録制御装置にお
いて、前記円盤状記録媒体1の各領域の記録状態を表示
する第1の管理テーブル6と、前記第1の管理テーブル
6に対応してデータを記録すべき領域を表示する第2の
管理テーブル7とを設け、データの書込み要求があった
時で、要求された領域にデータの書込みができない場
合、書込み可能な代替領域にデータを一時的に書き込む
と共に、データを一時的に書き込んだ領域を示す前記第
1の管理テーブル6の所定部分に、一時的に書き込んだ
領域が代替使用である旨の表示を行うと共に、前記第1
の管理テーブル6に対応する前記第2の管理テーブル7
の所定部分には、正規にデータを記録すべき領域を示す
データを書き込むことで、データの書込み要求があった
時、前記第1の管理テーブル6と第2の管理テーブル7
とに基づきデータの書込みを直ちに実行するように構成
した円盤状記録媒体の記録制御装置が示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A specific example of a recording control apparatus for a disk-shaped recording medium and a data recording method for a magneto-optical disk apparatus according to the present invention will be described below in detail with reference to the drawings. FIG.
FIG. 2 is a block diagram showing a specific example of a magneto-optical disk device according to the present invention. FIG. 2 is a diagram for explaining states of tables when data is written, data is deleted, and data is replaced.
FIGS. 3, 4 and 5 are flow charts showing the operation of the present invention. In these figures, the recording control device for a disk-shaped recording medium which enables writing of data only in an erased area is described. A first management table for displaying a recording state of each area of the recording medium, and a second management table for displaying an area in which data is to be recorded corresponding to the first management table; When a data write request is made and the data cannot be written to the requested area, the data is temporarily written to a writable alternative area and the first data indicating the area to which the data was temporarily written. In a predetermined portion of the management table 6, an indication that the temporarily written area is an alternative use is displayed, and the first
The second management table 7 corresponding to the management table 6 of FIG.
By writing data indicating an area where data is to be recorded properly in a predetermined portion, when there is a data write request, the first management table 6 and the second management table 7 are written.
A recording control device for a disk-shaped recording medium configured to immediately execute data writing based on the above is shown.

【0013】次に、本発明の具体例について図面を参照
して詳細に説明する。図1において、本発明の光磁気デ
ィスク装置は光磁気ディスク1を回転させる為のスピン
ドルモータ4と、光磁気ディスク1よりデータの読み書
きをおこなうための光ピックアップ2と、光ピックアッ
プ2からの読み出された信号をディジタル信号として扱
えるようにするための波形整形回路3と、波形整形回路
3からの出力からディスクのセクタ番号と実際のデータ
との分離をおこなうセクタ検出/データ抽出回路14
と、光磁気ディスク1にデータを書込む際、磁界を発生
させる外部磁界発生装置11と、外部磁界発生装置11
及び光ピックアップ2をこの装置全体を制御するコント
ローラ5からの指令に基づき制御し光磁気ディスク1に
データを記録するデータ書込制御回路10と、コントロ
ーラ5からの指令により光ピックアップ2、スピンドル
モータ4の動作を制御する機構制御回路12と、ホスト
インターフェイス9とで構成している。
Next, specific examples of the present invention will be described in detail with reference to the drawings. 1, a magneto-optical disk drive according to the present invention includes a spindle motor 4 for rotating a magneto-optical disk 1, an optical pickup 2 for reading and writing data from and to the magneto-optical disk 1, and a read-out from the optical pickup 2. And a sector detection / data extraction circuit 14 for separating the disc sector number and actual data from the output from the waveform shaping circuit 3.
An external magnetic field generator 11 for generating a magnetic field when writing data to the magneto-optical disk 1;
A data write control circuit 10 for controlling the optical pickup 2 based on a command from a controller 5 for controlling the entire apparatus and recording data on the magneto-optical disk 1, an optical pickup 2 and a spindle motor 4 according to a command from the controller 5 And a host interface 9.

【0014】なお、ホストインターフェイス9はこの光
磁気ディスク装置と図示しないホストコンピュータとを
接続するために信号レベルおよびフォーマットを整合さ
せるものである。又、コントローラ5は、セクタ検出/
データ抽出回路14、及びホストインターフェイス9か
らのデータを光磁気ディスク1上で扱うための制御をお
こなう。
The host interface 9 matches a signal level and a format for connecting the magneto-optical disk drive to a host computer (not shown). Further, the controller 5 performs sector detection /
The control for handling data from the data extraction circuit 14 and the host interface 9 on the magneto-optical disk 1 is performed.

【0015】コントローラ5の制御下にある、第1の管
理テーブルであるセクタ状態テーブル6、第2の管理テ
ーブルであるセクタ代替テーブル7、アイドル監視タイ
マ8の動作は以下のように動作する。セクタ状態テーブ
ル6は、光磁気ディスク1のセクタの使用状態を「使用
中」、「消去済み」、「未使用且つ未消去」、「代替使
用中」に区分して、この状態を第1の管理テーブル6に
保持する。
Under the control of the controller 5, the operations of the sector status table 6, which is the first management table, the sector replacement table 7, which is the second management table, and the idle monitoring timer 8, operate as follows. The sector status table 6 divides the usage status of the sector of the magneto-optical disk 1 into “in use”, “erased”, “unused and unerased”, and “alternately used”. It is stored in the management table 6.

【0016】セクタ代替テーブル7は、書込み要求発生
時に、書込むべきセクタが使用中であるため、一時的に
他のセクタを代替使用している場合、本来正規に書込む
べきセクタの値を保持している。アイドル監視タイマ8
は、ホストコンピュータとのやり取りがなくなってから
の時間を監視していて、予め設定した所定の時間ホスト
コンピュータとの間にやり取りがなければ、コントロー
ラ5は、空き時間にはいったと判断し、所定の処理を開
始する。
Since the sector to be written is in use when a write request is generated, the sector replacement table 7 holds the value of the sector to be written normally when another sector is temporarily used as a replacement. doing. Idle monitoring timer 8
Monitors the time since the communication with the host computer is stopped. If there is no communication with the host computer for a predetermined time set in advance, the controller 5 determines that the free time is entered, and Start processing.

【0017】このように構成した本発明の光磁気ディス
ク装置の動作について図2〜図4を用いて説明する。以
下の説明では、図2におけるディスク上の2番目の位置
に対するデータの操作指令がなされたものとして説明す
る。図2(a)に示す通り、書込み時、ホストインター
フェイス9より、ホストコンピュータから書込みの指令
があたえられると、コントローラ5の制御下にあるセク
タ状態テーブル6を検索し、当該セクタが「消去済み
(図2ではEと表示した)」の場所に対する書き込みで
あればセクタ状態テーブル6の値を「使用中(図2では
Uと表示した)」に書き換え、データの書込みを行う。
The operation of the magneto-optical disk drive of the present invention configured as described above will be described with reference to FIGS. In the following description, it is assumed that a data operation command has been issued for the second position on the disk in FIG. As shown in FIG. 2A, at the time of writing, when a write command is given from the host computer from the host interface 9, the sector status table 6 under the control of the controller 5 is searched, and the sector is referred to as "erased ( In the case of writing to a location of "indicated by E in FIG. 2)", the value of the sector status table 6 is rewritten to "in use (indicated by U in FIG. 2)" and data is written.

【0018】次に、コントローラ5はデータ書込制御回
路10、機構制御回路12を介し光ピックアップ2に指
令を出し、ホストコンピュータからの書込みの指令を実
行する。その後、コントローラ5は機構制御回路12、
光ピックアップ2、波形整形回路3、セクタ検出/デー
タ抽出回路14を用いてデータを読み出すことにより
「ベリファイ」をおこない、正常ならば書込み完了をホ
ストインターフェイス9を通じてホストコンピュータに
通知する。
Next, the controller 5 issues a command to the optical pickup 2 via the data write control circuit 10 and the mechanism control circuit 12, and executes a write command from the host computer. Thereafter, the controller 5 controls the mechanism control circuit 12,
“Verify” is performed by reading data using the optical pickup 2, the waveform shaping circuit 3, and the sector detection / data extraction circuit 14, and if it is normal, the completion of writing is notified to the host computer through the host interface 9.

【0019】又、図2(b)に示すように、データの消
去時には、ホストインターフェイス9を介して、ホスト
コンピュータから消去の指令があたえられる。その際、
コントローラ5の制御下にあるセクタ状態テーブル6の
該当位置を「未使用かつ未消去(図2ではXと表示し
た)」に書き換えた後、その後、ホストコンピュータに
ホストインターフェイス9を介して消去の終了を通知す
る。
As shown in FIG. 2B, when data is erased, an erasure command is given from the host computer via the host interface 9. that time,
After rewriting the corresponding position of the sector status table 6 under the control of the controller 5 to “unused and unerased (indicated by X in FIG. 2)”, the host computer then terminates the erasing via the host interface 9. Notify.

【0020】一方、空き時間時の処理を行うために、コ
ントローラ5の制御下にあるアイドル監視タイマ8は、
ホストインターフェイス9からの指令が終了してからの
時間を常に監視している。そして、所定の時間、ホスト
コンピュータとの間で情報のやり取りがない場合に、コ
ントローラ5は空き時間状態に入ったと判断して、以下
の空き時間時の処理を行う。
On the other hand, in order to perform processing during idle time, the idle monitoring timer 8 under the control of the controller 5
The time from completion of the command from the host interface 9 is constantly monitored. Then, when there is no exchange of information with the host computer for a predetermined time, the controller 5 determines that a free time state has been entered, and performs the following free time processing.

【0021】この処理は、まずセクタ状態テーブル6を
検索し「未使用かつ未消去(図2では×印のもの)」の
セクタを調査する。発見された場合、セクタ状態テーブ
ル6の値を「消去済み(Eと表示する)」にすると共
に、コントローラ5はデータ書込制御回路10、機構制
御回路12を介して光ピックアップ2に指令を出し消去
処理を行う。このようにして、セクタ状態テーブル6の
すべての検索を行い、「未使用かつ未消去(×)」セク
タを「消去済み(E)」セクタにする(図5参照)。
In this process, first, the sector status table 6 is searched to check the sectors that are "unused and not erased (marked by X in FIG. 2)". If found, the value of the sector state table 6 is set to “erased (displayed as E)”, and the controller 5 issues a command to the optical pickup 2 via the data write control circuit 10 and the mechanism control circuit 12. Perform erasure processing. In this manner, all the searches of the sector status table 6 are performed, and the “unused and unerased (×)” sector is changed to the “erased (E)” sector (see FIG. 5).

【0022】又、図2(c)に示すように、データの置
換を行う場合、コントローラ5が、光磁気ディスク1の
左から2番目(この領域をセクタNとする)のデータの
書込み要求を受信すると、セクタNが消去状態にないか
ら、(図2cでは、「使用中(Uと表示されてい
る)」)、一時的な書込みを行うために消去済みセクタ
を検索する。
As shown in FIG. 2C, when data is to be replaced, the controller 5 issues a request to write the second data from the left of the magneto-optical disk 1 (this area is referred to as a sector N). Upon receipt, since sector N is not in the erased state ("in use (indicated as U)" in FIG. 2c), an erased sector is searched for temporary writing.

【0023】このとき、光磁気ディスク1の各領域の記
録状態を管理するセクタ状態テーブル6のセクタNを示
す部分に「未消去セクタ」であることを示す識別符号X
を入れると共に、検索の結果得られた一時的に書込み可
能なセクタ(図2cでは左から3番目の領域)を示す部
分に「代替使用」セクタを示す識別符号Yを入れる。更
に、セクタ状態テーブル6に対応してデータを記録すべ
き代替領域を表示するセクタ代替テーブル7の所定部分
に記録すべきセクタ番号(図2cの場合、書込み要求の
あったセクタは左から2番目であるから2を入れる)を
記録し、代替領域に所定のデータを記録し、ベリファイ
の後記録動作を終了する。
At this time, the identification code X indicating "unerased sector" is added to the portion indicating the sector N in the sector status table 6 for managing the recording status of each area of the magneto-optical disk 1.
And an identification code Y indicating an "alternate use" sector is entered in a portion indicating a temporarily writable sector (third area from the left in FIG. 2c) obtained as a result of the search. Further, a sector number to be recorded in a predetermined part of the sector replacement table 7 indicating a replacement area in which data is to be recorded corresponding to the sector status table 6 (in the case of FIG. Is recorded, and 2) is recorded), predetermined data is recorded in the substitute area, and the recording operation is completed after the verification.

【0024】この場合の空き時間処理としては、セクタ
状態テーブル6を検索し「代替使用(図2ではYと表
示)」セクタを調査する。発見された場合、セクタ代替
テーブル7のセクタ値を読み出し本来書込まれるべきセ
クタを検出する。そして、本来書込まれるべきセクタN
のセクタ状態テーブル6が、現在「未消去(×)」セク
タであるから、セクタ状態テーブル6の該当部分を「消
去済み(E)」セクタに書き直すと共にこのセクタの消
去処理を行う。
In the free time process in this case, the sector status table 6 is searched to check the "alternative use (indicated by Y in FIG. 2)" sector. If found, the sector value of the sector replacement table 7 is read to detect the sector to be written. And the sector N to be written
Since the sector status table 6 is currently an "unerased (x)" sector, the corresponding portion of the sector status table 6 is rewritten as an "erased (E)" sector, and the sector is erased.

【0025】更に、代替セクタに記録したデータを所定
のセクタに記録するために、セクタ状態テーブル6の
「代替使用(Y)」セクタを「未使用且つ未消去
(×)」セクタの表示にし、代替使用中であったセクタ
のデータを要求のあったセクタに移すと共に、セクタ状
態テーブルの左から2番目のテーブルに「使用中」セク
タを示す識別符号(U)を入れる。
Further, in order to record the data recorded in the substitute sector in a predetermined sector, the "alternate use (Y)" sector in the sector status table 6 is displayed as "unused and unerased (x)" sector. The data of the sector that has been used alternately is transferred to the sector that has requested, and the identification code (U) indicating the “used” sector is entered in the second table from the left of the sector status table.

【0026】そして、セクタ代替テーブルを、正規に記
録されている状態に戻し、最後にベリファイを行って記
録動作を完了させる。このようにセクタ状態テーブル6
の(×)と表示されたセクタの消去動作と、代替記録を
正規なセクタに移す記録動作は、空き時間状態が続く限
り行われる。空き時間状態時の処理の途中でホストコン
ピュータからホストインターフェイス9を通しホストコ
ンピュータからの指令が来た場合には、コントローラ5
は光磁気ディスク1、セクタ状態テーブル6、セクタ代
替テーブル7間で不整合が生じないところまでの処理を
行った上で、上記空き時間時の処理を打ちきり、ホスト
コンピュータからの処理要求を実行する。
Then, the sector replacement table is returned to a state in which it has been properly recorded, and finally verification is performed to complete the recording operation. Thus, the sector status table 6
The erasing operation of the sector indicated by (x) and the recording operation of transferring the alternative recording to the normal sector are performed as long as the idle time condition continues. When a command from the host computer is received from the host computer through the host interface 9 during the processing in the idle time state, the controller 5
Performs processing up to the point where no inconsistency occurs between the magneto-optical disk 1, the sector status table 6 and the sector replacement table 7, and then terminates the processing during the idle time, and executes a processing request from the host computer. .

【0027】図3は書込み要求から、代替書込みまでの
流れを示したフローチャートであり、上記したように、
前記光磁気ディスク1のセクタNへの書込み要求が発生
すると(ステップS1)、セクタNが消去状態にないと
き、一時的な書込みを行うために消去済みセクタを検索
し(ステップS2〜S4)、前記光磁気ディスク1の各
領域の記録状態を管理するセクタ状態テーブル6のセク
タNを示す部分に未消去セクタであることを示す識別符
号(X)を入れると共に、前記ステップS2〜S4で検
索したセクタを示す部分に代替使用中を示す識別符号
(Y)を入れ(ステップS5)、前記セクタ状態テーブ
ル6に対応するセクタ代替テーブル7の所定部分に代替
使用のセクタ番号を記録し(ステップS6)、一時的な
代替書込みを行ない(ステップS7)、記録状態を確認
し代替記録を終了する(ステップS8)。
FIG. 3 is a flowchart showing a flow from a write request to an alternative write.
When a write request to the sector N of the magneto-optical disk 1 is issued (step S1), when the sector N is not in the erased state, an erased sector is searched for temporary writing (steps S2 to S4). An identification code (X) indicating an unerased sector is inserted into a portion indicating a sector N of a sector status table 6 for managing a recording status of each area of the magneto-optical disk 1, and searched in steps S2 to S4. An identification code (Y) indicating the use of the alternative is entered in the portion indicating the sector (step S5), and the sector number of the alternative use is recorded in a predetermined portion of the sector replacement table 7 corresponding to the sector status table 6 (step S6). Then, temporary alternative writing is performed (step S7), the recording state is confirmed, and the alternative recording is terminated (step S8).

【0028】図4は代替書込みしたセクタのデータを所
定のセクタに書込む、空き時間処理のフローチャートで
あり、上記したように、始めに、セクタ状態テーブル6
のセクタNを示す部分に「消去済み」セクタを示す符号
(E)を入れると共に、セクタNの消去を行う(ステッ
プS11、S12)。次に、代替使用セクタに記録され
ているデータをセクタNに移すために、第2の管理テー
ブル上の「代替使用」セクタの識別符号(Y)を「未使
用且つ未消去」セクタの符号(X)に書き換えると共
に、セクタNの識別符号(E)を「使用中」セクタを示
す識別符号(U)に換え(ステップS13)、更に、セ
クタ代替テーブル7に記録されているセクタ番号を正規
な状態に戻し(ステップS14)、セクタNへのデータ
の移動を行う(ステップS15、S16)。
FIG. 4 is a flowchart of a free time process for writing data of a sector which has been written alternately to a predetermined sector.
The code (E) indicating the "erased" sector is inserted into the portion indicating the sector N of the sector N, and the sector N is erased (steps S11 and S12). Next, in order to transfer the data recorded in the alternate use sector to the sector N, the identification code (Y) of the “alternate use” sector on the second management table is changed to the code of the “unused and unerased” sector ( X), the identification code (E) of the sector N is changed to an identification code (U) indicating a "busy" sector (step S13), and the sector number recorded in the sector replacement table 7 is replaced with a legitimate sector number. The state is returned (step S14), and data is moved to sector N (steps S15 and S16).

【0029】なお、上記説明では、セクタ状態テーブル
6、セクタ代替テーブル7、アイドル監視タイム8はコ
ントローラ5の内部にあるものとして説明されている
が、コントローラ5の制御下にあれば、コントローラ5
の外部に設けられていてもよい。上記具体例の構成で
は、セクタ状態テーブル6とセクタ代替テーブル7は別
々のものとして記述しているが、これらのデータを保持
することができる一つのテーブルとして実現することも
可能である。
In the above description, the sector status table 6, the sector replacement table 7, and the idle monitoring time 8 are described as being inside the controller 5, but if under the control of the controller 5, the controller 5
May be provided outside. In the configuration of the above specific example, the sector status table 6 and the sector replacement table 7 are described as separate ones. However, the sector status table 6 and the sector replacement table 7 can be realized as one table that can hold these data.

【0030】また、データ置換時に「消去済み」セクタ
が見つからない時に空き時間時の処理を行わず、従来の
「消去」「書き込み」「ベリファイ」のプロセスを用い
て処理することも可能である。なお、上記した書込み処
理や置換処理で、第1及び第2の管理テーブル6、7の
データの書換えと記録媒体のデータの消去やデータの書
込みの順番は、正常な処理が行われれば、どのような順
番で処理を行っても良い。
If no "erased" sector is found at the time of data replacement, it is possible to perform the processing using the conventional "erasing", "writing", and "verify" processes without performing the processing during the free time. In the above-described writing process and replacement process, the order of rewriting the data in the first and second management tables 6 and 7 and erasing the data on the recording medium and writing the data may be any order if normal processing is performed. The processing may be performed in such an order.

【0031】[0031]

【発明の効果】本発明に係る円盤状記録媒体の記録制御
装置は、上述のように構成したので、書込み要求があっ
たとき、消去処理を実行せずに、直ちにデータの書込み
が行われるように構成したので、高速な書込み処理が可
能になった。
Since the recording control apparatus for a disk-shaped recording medium according to the present invention is constructed as described above, when a write request is issued, data is written immediately without executing erasure processing. As a result, high-speed write processing has become possible.

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

【図1】本発明に係る光磁気ディスク装置のブロック図
である。
FIG. 1 is a block diagram of a magneto-optical disk drive according to the present invention.

【図2】本発明に係るセクタ状態テーブルと、セクタ代
替テーブルの記録状態を示す図である。
FIG. 2 is a diagram showing a recording state of a sector status table and a sector replacement table according to the present invention.

【図3】本発明の代替記録を示すフローチャートであ
る。
FIG. 3 is a flowchart showing alternative recording according to the present invention.

【図4】空き時間処理の流れを示すフロチャートであ
る。
FIG. 4 is a flowchart showing the flow of idle time processing.

【図5】空き時間処理の流れを示すフロチャートであ
る。
FIG. 5 is a flowchart showing the flow of idle time processing.

【図6】従来のデータの書込み、削除、データの置換の
状態を説明する図である。
FIG. 6 is a diagram illustrating a conventional state of writing, deleting, and replacing data.

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

1 光磁気ディスク 2 光ピックアップ 3 波形整形回路 4 スピンドルモータ 5 コントローラ 6 セクタ状態テーブル 7 セクタ代替テーブル 8 アイドル監視タイマ 9 ホストインターフェイス 10 データ書込制御 11 外部磁界発生装置 12 機構制御回路 14 セクタ検出/抽出回路 DESCRIPTION OF SYMBOLS 1 Magneto-optical disk 2 Optical pickup 3 Waveform shaping circuit 4 Spindle motor 5 Controller 6 Sector status table 7 Sector replacement table 8 Idle monitoring timer 9 Host interface 10 Data write control 11 External magnetic field generator 12 Mechanism control circuit 14 Sector detection / extraction circuit

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データの書込み可能な円盤状記録媒体の
記録制御装置において、 前記円盤状記録媒体の各領域の記録状態を表示する第1
の管理テーブルと、前記第1の管理テーブルに対応して
データを記録すべき領域を表示する第2の管理テーブル
と、データの書込み要求があった時で、要求された領域
にデータの書込みができない場合、書込み可能な代替領
域にデータを一時的に書き込む第1の手段と、データを
一時的に書き込んだ領域を示す前記第1の管理テーブル
の所定部分に、一時的に書き込んだ領域が代替使用であ
る旨の表示を行う第2の手段と、前記第1の管理テーブ
ルに対応する前記第2の管理テーブルの所定部分に、
規にデータを記録すべき領域を示すデータを書き込む
3の手段とからなり、データの書込み要求があった時、
前記第1の管理テーブルと第2の管理テーブルとに基づ
、前記書込み可能な代替領域にデータの書込みを直ち
に実行するように構成したことを特徴とする円盤状記録
媒体の記録制御装置。
1. A recording control device for a disk-shaped recording medium on which data can be written , wherein a recording state of each area of the disk-shaped recording medium is displayed.
Management table, and a second management table for displaying an area in which data is to be recorded corresponding to the first management table
A first means for temporarily writing data in a writable alternative area when data cannot be written to the requested area when a data write request is issued; A second means for displaying in a predetermined portion of the first management table indicating that the temporarily written area is an alternative use, and a second management table corresponding to the first management table Write data indicating the area where data is to be recorded in a predetermined portion of the
When there is a data write request,
A recording control apparatus for a disk-shaped recording medium , wherein data is written to the writable alternative area immediately based on the first management table and the second management table.
【請求項2】 アイドル時間を監視するタイマと、代替
領域に書き込んだデータを前記書込み要求があった所定
の領域に書き込む第4の手段とを設け、前記タイマが所
定のアイドル時間をカウントすると、前記第1の管理テ
ーブルと第2の管理テーブルとを用いて、前記第4の手
段が、代替領域に書き込んだデータを前記書込み要求が
あった所定の領域に書き込むことを特徴とする請求項1
記載の円盤状記録媒体の記録制御装置。
2. A timer for monitoring idle time ,
The data written to the area is specified by the write request
And a fourth means for writing data to the area of the fourth area . When the timer counts a predetermined idle time, the fourth operation is performed using the first management table and the second management table.
2. The step of writing data written in an alternative area to a predetermined area where the write request has been issued.
A recording control device for a disk-shaped recording medium according to the above.
【請求項3】 前記第1の管理テーブルの各領域の記録
状態を示す部分には、消去済み領域、使用中領域、未消
去領域及び代替使用領域のいずれであるかを示す識別符
号が記録されていることを特徴とする請求項1又は2記
載の円盤状記録媒体の記録制御装置。
3. An identification code indicating one of an erased area, a used area, an unerased area, and an alternative used area is recorded in a portion of the first management table indicating a recording state of each area. 3. The recording control apparatus for a disk-shaped recording medium according to claim 1, wherein:
【請求項4】 前記円盤状記録媒体は、光磁気ディスク
であることを特徴とする請求項1乃至3の何れかに記載
の円盤状記録媒体の記録制御装置。
4. The recording control apparatus for a disk-shaped recording medium according to claim 1, wherein the disk-shaped recording medium is a magneto-optical disk.
【請求項5】 消去済みの領域にのみデータの書込みを
可能にした光磁気ディスク装置のデータの記録方法にお
いて、 書込み要求があった時で、要求された領域にデータの書
込みできない場合、書込み可能な代替領域にデータを一
時的に書き込むことで、データの書込みを直ちに実行
し、その後、処理要求のない空いた時間に前記代替領域
に書き込まれたデータを書込み要求の領域に書き込むこ
とでデータの記録を高速化したことを特徴とする光磁気
ディスク装置のデータの記録方法。
5. A method for recording data in a magneto-optical disk device in which data can be written only in an erased area, wherein when a write request is made and data cannot be written in the requested area, writing is possible. By temporarily writing data to the alternative area, the data writing is immediately executed, and then the data written to the alternative area is written to the write request area at an idle time when there is no processing request. A data recording method for a magneto-optical disk device, characterized in that recording is speeded up.
【請求項6】 消去済みの領域にのみデータの書込みを
可能にした光磁気ディスク装置のデータの記録方法にお
いて、 前記光磁気ディスクのセクタNへの書込みを要求する第
1のステップと、 セクタNが消去状態にないとき、一時的な書込みを行う
ために消去済みセクタを検索する第2のステップと、 前記光磁気ディスクの各領域の記録状態を表示する第1
の管理テーブルのセクタNを示す部分に未消去セクタで
あることを示す識別符号を入れると共に、第1の管理テ
ーブルの前記第2ステップで見つけ出したセクタを示す
部分に代替使用を示す識別符号を入れる第3のステップ
と、 前記第1の管理テーブルの代替記録する領域を表示した
部分に対応する第2の管理テーブルの所定部分にセクタ
番号Nを記録する第4のステップと、 前記第1及び第2の管理テーブルを用いて前記代替記録
する領域に一時的な代替書込みを行う第5のステップ
と、からなることを特徴とする光磁気ディスク装置のデ
ータの記録方法。
6. A data recording method for a magneto-optical disk device, in which data can be written only in an erased area, a first step of requesting writing to a sector N of the magneto-optical disk; A second step of searching for an erased sector for performing temporary writing when is not in an erased state; and a first step of displaying a recorded state of each area of the magneto-optical disk.
Is inserted into the portion indicating the sector N of the management table of the first management table, and the identification code indicating the alternative use is inserted into the portion of the first management table indicating the sector found in the second step. A third step, a fourth step of recording a sector number N in a predetermined portion of the second management table corresponding to a portion of the first management table in which an area for alternative recording is displayed, 5. A method for recording data in a magneto-optical disk device, comprising: a fifth step of performing temporary alternative writing to the area for alternative recording using the management table of No. 2.
【請求項7】 セクタNを消去処理する第6のステップ
と、 前記第1の管理テーブルのセクタNを示す部分にセクタ
Nを消去処理したことを示す識別符号を記録すると共
に、前記第1の管理テーブルの代替書込みセクタ部分に
未消去を示す識別符号を記録する第7のステップと、 前記代替記録したセクタのデータをセクタNに記録する
第8のステップと、からなることを特徴とする請求項6
記載の光磁気ディスク装置のデータの記録方法。
7. A sixth step of erasing a sector N, and an identification code indicating that the sector N has been erased is recorded in a portion indicating the sector N of the first management table, and A seventh step of recording an identification code indicating unerased in a substitute write sector portion of the management table, and an eighth step of recording data of the substitute recorded sector in a sector N. Item 6
Recording method of the magneto-optical disk device according to the above.
JP10035593A 1998-02-18 1998-02-18 Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device Expired - Fee Related JP3107028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10035593A JP3107028B2 (en) 1998-02-18 1998-02-18 Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10035593A JP3107028B2 (en) 1998-02-18 1998-02-18 Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device

Publications (2)

Publication Number Publication Date
JPH11232781A JPH11232781A (en) 1999-08-27
JP3107028B2 true JP3107028B2 (en) 2000-11-06

Family

ID=12446104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10035593A Expired - Fee Related JP3107028B2 (en) 1998-02-18 1998-02-18 Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device

Country Status (1)

Country Link
JP (1) JP3107028B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001312875A (en) * 2000-04-28 2001-11-09 Matsushita Electric Ind Co Ltd Recording and reproducing disk controller and disk device using the controller

Also Published As

Publication number Publication date
JPH11232781A (en) 1999-08-27

Similar Documents

Publication Publication Date Title
EP0272029B1 (en) Erasable optical disk and optical information recording and reproducing apparatus having means for managing defective sector
JP2975288B2 (en) System and method for improving the performance of high density storage media
JPH11501760A (en) CD-ROM recording method
JPH02216672A (en) Optical disk drive device
JP3107028B2 (en) Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device
US7062682B2 (en) Data recorder and data recording method avoiding data loss due to data transfer error
JPH10320924A (en) Method for recording information
JPS626321A (en) Recording system for non-erasion type recording medium
JP2671656B2 (en) Method of rewriting defect management area of optical disc conforming to ECMA standard
JPH05135502A (en) Information recording/reproducing device
JPH05342817A (en) File management method and information recording and reproducing device
JPH03147571A (en) Magneto-optical disk recorder
JP3121387B2 (en) Magnetic tape control device
JP2787839B2 (en) Digital recording device
JPH09198846A (en) Magneto-optical recording device
JP2001101786A (en) Information recording and reproducing device, information recording and reproducing method and computer-readable recording medium recording information recording and reproducing program
JPH0628779A (en) Method for recording and controlling data in disk device
JP2003272160A (en) Information recording and reproducing apparatus
JPS6226670A (en) Information recording control system to diskoid recording medium
KR910006654B1 (en) Managing data storage space on large capacity record meda and process thereof
JPH07118153B2 (en) Alternation processing method for erasable / rewritable optical disk device
JP2003030934A (en) Recording and reproducing device for medium like disk
JPH08221905A (en) Information recording and reproducing method and device therefor
JPH05225762A (en) Recorder
JPH04369057A (en) Magneto-optical disk device

Legal Events

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