JPH04360074A - Optical disk device control method - Google Patents

Optical disk device control method

Info

Publication number
JPH04360074A
JPH04360074A JP16074991A JP16074991A JPH04360074A JP H04360074 A JPH04360074 A JP H04360074A JP 16074991 A JP16074991 A JP 16074991A JP 16074991 A JP16074991 A JP 16074991A JP H04360074 A JPH04360074 A JP H04360074A
Authority
JP
Japan
Prior art keywords
recording
data
sector
recorded
pass
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
JP16074991A
Other languages
Japanese (ja)
Inventor
Ichiro Moritomo
一郎 守友
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP16074991A priority Critical patent/JPH04360074A/en
Publication of JPH04360074A publication Critical patent/JPH04360074A/en
Pending legal-status Critical Current

Links

Landscapes

  • Optical Recording Or Reproduction (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]

【0001】0001

【産業上の利用分野】本発明は、データ記録/消去/再
生可能な記録媒体を用い、データエラーを発生する欠陥
セクタを他のセクタで代替するセクタ交代処理機能を備
えるとともに、データ記録時には、記録セクタのデータ
消去動作、記録データの記録動作、および、記録データ
の検証動作の3動作を連続して行なう3パス記録モード
と、記録セクタのデータ消去動作および記録データの記
録動作の2動作を連続して行なう2パス記録モードのい
ずれかを選択可能な光ディスク装置の制御方法に関する
[Industrial Application Field] The present invention uses a recording medium capable of recording/erasing/reproducing data, and is equipped with a sector replacement processing function for replacing a defective sector that causes a data error with another sector. There is a 3-pass recording mode in which the three operations of data erasing operation of the recording sector, recording operation of the recording data, and recording operation of the recording data are performed continuously, and two operations of the data erasing operation of the recording sector and the recording operation of the recording data are performed. The present invention relates to a control method for an optical disc device that allows selection of one of two consecutive two-pass recording modes.

【0002】0002

【従来の技術】一般に、光磁気ディスク装置では、記録
媒体(光磁気ディスク)にデータを記録するとき、デー
タを記録するセクタの状態をデータ非記録状態に戻すた
めのデータ消去動作を行なった後に、そのセクタにデー
タを記録し(記録動作)、その記録データを読み出して
元のデータと同じかどうかを検証する(検証動作)とい
う3動作を連続して行なう3パス記録モードで、データ
記録動作を行なっている。
[Prior Art] Generally, in a magneto-optical disk device, when recording data on a recording medium (magneto-optical disk), after performing a data erasing operation to return the state of the sector in which data is to be recorded to a non-data recording state. The data recording mode is a 3-pass recording mode in which three operations are performed consecutively: recording data in the sector (recording operation), reading the recorded data and verifying whether it is the same as the original data (verification operation). is being carried out.

【0003】ここで、セクタとは、記録媒体に対するデ
ータ記録単位をあらわし、例えば、ユーザデータサイズ
で256、512、1024、2048、4096、な
どの固定長領域である。
[0003] Here, a sector represents a data recording unit on a recording medium, and is a fixed length area such as 256, 512, 1024, 2048, 4096, etc. in terms of user data size, for example.

【0004】さらに、検証動作でデータエラーを検出し
たときには、そのデータエラーを生じたセクタを欠陥セ
クタと判定して、その欠陥セクタを別なセクタで代替す
るセクタ交代処理を行なうことで、記録データの信頼性
を保持できるようにしている。
Furthermore, when a data error is detected in the verification operation, the sector in which the data error occurred is determined to be a defective sector, and a sector replacement process is performed to replace the defective sector with another sector, thereby updating the recorded data. This ensures that reliability can be maintained.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来装置では、データ記録するときに、同じセクタ
を3回アクセスすることになるので、データ記録に要す
る時間が長くなるという不都合を生じる。
However, in such a conventional device, when recording data, the same sector is accessed three times, resulting in the disadvantage that the time required for data recording becomes longer.

【0006】なお、このような不都合を解消するために
は、例えば、3パス記録モードのうち検証動作を省略し
た2パス記録モードでデータ記録することが考えられる
が、光磁気ディスク装置では、極めて微細なレーザビー
ムスポットを用いてデータ記録を行なっているために、
装置内に侵入する塵埃の影響により記録媒体のデータ誤
り率が比較的高くなり、その結果、記録データを適切に
読み出せなくなるという不都合を生じる。
[0006] In order to solve this inconvenience, for example, it is conceivable to record data in a 2-pass recording mode in which the verification operation is omitted from among the 3-pass recording modes, but with magneto-optical disk drives, this is extremely difficult. Because data is recorded using a fine laser beam spot,
Due to the influence of dust entering the apparatus, the data error rate of the recording medium becomes relatively high, resulting in the inconvenience that recorded data cannot be read out properly.

【0007】本発明は、かかる従来装置の不都合を解消
し、データ記録に要する時間を短縮でき、かつ、データ
記録の信頼性を確保できる光ディスク装置の制御方法を
提供することを目的としている。
SUMMARY OF THE INVENTION An object of the present invention is to provide a control method for an optical disk device that can eliminate the disadvantages of the conventional device, shorten the time required for data recording, and ensure reliability of data recording.

【0008】[0008]

【課題を解決するための手段】本発明は、データ記録/
消去/再生可能な記録媒体を用い、データエラーを発生
する欠陥セクタを他のセクタで代替するセクタ交代処理
機能を備えるとともに、データ記録時には、記録セクタ
のデータ消去動作、記録データの記録動作、および、記
録データの検証動作の3動作を連続して行なう3パス記
録モードと、記録セクタのデータ消去動作および記録デ
ータの記録動作の2動作を連続して行なう2パス記録モ
ードのいずれかを選択可能な光ディスク装置の制御方法
において、記録媒体の初期化時には、全てのセクタにつ
いて、3パス動作モードで初期化データを記録するとと
もに、そのときに発見した欠陥セクタの情報および記録
領域全部について検証動作を行なった旨をその記録媒体
に記録する一方、データ記録時、記録領域全部について
検証動作を行なった旨が記録媒体に記録されているとき
には、欠陥セクタの情報に基づいたセクタ交代動作を行
なうとともに、おのおののセクタについて2パス動作モ
ードでデータ記録を行なうようにしたものである。
[Means for Solving the Problems] The present invention provides data recording/
It uses an erasable/reproducible recording medium and is equipped with a sector replacement processing function that replaces defective sectors that cause data errors with other sectors. It is possible to select either a 3-pass recording mode in which 3 operations of verifying recorded data are performed in succession, or a 2-pass recording mode in which 2 operations of data erasing of a recording sector and recording of recorded data are performed in succession. In a control method for an optical disk device, when initializing a recording medium, initialization data is recorded in all sectors in a 3-pass operation mode, and information on defective sectors discovered at that time and a verification operation are performed on the entire recording area. On the other hand, when recording data, if the recording medium records that the verification operation has been performed on the entire recording area, a sector replacement operation is performed based on the information of the defective sector, and Data is recorded in a two-pass operation mode for each sector.

【0009】また、データ記録/消去/再生可能な記録
媒体を用い、データエラーを発生する欠陥セクタを他の
セクタで代替するセクタ交代処理機能を備えるとともに
、データ記録時には、記録セクタのデータ消去動作、記
録データの記録動作、および、記録データの検証動作の
3動作を連続して行なう3パス記録モードと、記録セク
タのデータ消去動作および記録データの記録動作の2動
作を連続して行なう2パス記録モードのいずれかを選択
可能な光ディスク装置の制御方法において、記録媒体の
初期化時には、全てのセクタについて、3パス動作モー
ドで初期化データを記録するとともに、そのときに発見
した欠陥セクタの情報および記録領域全部について検証
動作を行なった旨をその記録媒体に記録する一方、デー
タ記録時、記録領域全部について検証動作を行なった旨
が記録媒体に記録されているときには、欠陥セクタの情
報に基づいたセクタ交代動作を行なうとともに、おのお
ののセクタについて2パス動作モードでデータ記録を行
い、さらに、データ記録中に装置エラーが発生したとき
には、そのときに記録した記録データの検証動作を行い
、データエラーを検出したときには、そのデータエラー
を検出したセクタを欠陥セクタとして記録するとともに
そのセクタについてセクタ交代処理を適用するようにし
たものである。
[0009] Furthermore, the present invention uses a recording medium capable of recording/erasing/reproducing data, and is equipped with a sector replacement processing function that replaces a defective sector that causes a data error with another sector. , 3-pass recording mode in which the three operations of record data recording operation and record data verification operation are performed consecutively, and 2-pass recording mode in which the two operations of record sector data erasing operation and record data recording operation are performed consecutively. In a control method for an optical disk device that can select one of the recording modes, when initializing a recording medium, initialization data is recorded in all sectors in a 3-pass operation mode, and information on defective sectors discovered at that time is recorded. On the other hand, when recording data, if the recording medium records that the verification operation has been performed on the entire recording area, the verification operation is performed based on the information of the defective sector. At the same time, data is recorded in a two-pass operation mode for each sector.Furthermore, when a device error occurs during data recording, the data recorded at that time is verified and the data error is detected. When a data error is detected, the sector in which the data error has been detected is recorded as a defective sector, and a sector replacement process is applied to the sector.

【0010】0010

【作用】したがって、記録媒体の初期化時に、欠陥セク
タを全て抽出しているので、データ記録時に2パス記録
モードを行なっても、欠陥セクタの影響を排除できる。 また、記録動作中に装置エラーを発生したときには、そ
の記録中のセクタデータについて検証動作を行なってい
るので、データ記録の信頼性を向上できる。
[Operation] Therefore, since all defective sectors are extracted when the recording medium is initialized, the influence of defective sectors can be eliminated even if the two-pass recording mode is performed during data recording. Further, when a device error occurs during a recording operation, a verification operation is performed on the sector data being recorded, so that the reliability of data recording can be improved.

【0011】[0011]

【実施例】以下、添付図面を参照しながら、本発明の実
施例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0012】図1は、本発明の一実施例にかかる光磁気
ディスク装置を示している。
FIG. 1 shows a magneto-optical disk device according to an embodiment of the present invention.

【0013】同図において、システム制御部1は、この
光磁気ディスク装置全体の動作を制御するためのもので
あり、ホストインタフェース回路2は、この光磁気ディ
スク装置を外部記録装置として用いるホスト装置(図示
略)との間で、種々のデータをやりとりするためのもの
であり、バッファ制御部3は、記録データおよび再生デ
ータのやりとりを制御するためのものであり、それらの
記録データおよび再生データは、データバッファ4に一
時的に保存される。
In the figure, a system control section 1 is for controlling the entire operation of this magneto-optical disk device, and a host interface circuit 2 is for controlling the operation of the entire magneto-optical disk device. (not shown), and the buffer control unit 3 is for controlling the exchange of recording data and playback data, and the buffer control unit 3 is for controlling the exchange of recording data and playback data. , are temporarily stored in the data buffer 4.

【0014】光磁気ディスク駆動装置インタフェース回
路5は、光磁気ディスク駆動装置6との間で種々のデー
タをやりとりするためのものであり、システム制御部1
と光磁気ディスク駆動装置6との間でのデータのやりと
りは、所定のコマンド形式で行われる。
The magneto-optical disk drive device interface circuit 5 is for exchanging various data with the magneto-optical disk drive device 6, and is for exchanging various data with the magneto-optical disk drive device 6.
Data is exchanged between the magneto-optical disk drive device 6 and the magneto-optical disk drive device 6 using a predetermined command format.

【0015】光磁気ディスク駆動装置6は、光磁気ディ
スク7にデータを記録/消去/再生するためのものであ
り、記録動作モードとして、データを記録するセクタの
状態をデータ非記録状態に戻すためのデータ消去動作を
行なった後に、そのセクタにデータを記録し(記録動作
)、その記録データを読み出して元のデータと同じかど
うかを検証する(検証動作)という3動作を連続して行
なう3パス記録モードと、この3パス記録モードから検
証動作を省略した2パス記録モードの2つの動作モード
を備えている。
The magneto-optical disk drive device 6 is for recording/erasing/reproducing data on the magneto-optical disk 7, and as a recording operation mode, it is used to return the state of the sector in which data is to be recorded to a non-data recording state. After performing the data erasing operation, three operations are performed in succession: recording data in that sector (recording operation), and reading out the recorded data and verifying whether it is the same as the original data (verification operation). It has two operation modes: a pass recording mode and a 2-pass recording mode in which the verification operation is omitted from the 3-pass recording mode.

【0016】また、システム制御部1は、光磁気ディス
ク7の記録領域を、図2(a)に示すように、光磁気デ
ィスク7に記録されている記録データを管理するための
種々の情報(システムデータ)を保存するためのシステ
ムデータ領域と、ユーザデータを記録するためのユーザ
データ領域に分割している。
The system control unit 1 also controls the recording area of the magneto-optical disk 7 by storing various information ( The system data area is divided into a system data area for storing system data) and a user data area for recording user data.

【0017】また、ユーザデータ領域は、同図(b)に
示すように、所定数のセクタからなるセクタブロックに
分割されており、それぞれのセクタブロックは、同図(
c)に示すように、ホスト装置から直接指定できるセク
タ領域であるユーザセクタ領域と、ホスト装置からは直
接指定できず、システム制御部1がセクタ交代処理のた
めに用いる交代セクタ領域に分割されており、交代セク
タ領域は、通常は、同一セクタブロックのユーザセクタ
領域にある欠陥セクタを代替するために用いられる。
Further, the user data area is divided into sector blocks each consisting of a predetermined number of sectors, as shown in FIG.
As shown in c), the sector area is divided into a user sector area, which is a sector area that can be specified directly from the host device, and a replacement sector area, which cannot be specified directly from the host device, and is used by the system control unit 1 for sector replacement processing. The replacement sector area is normally used to replace a defective sector in the user sector area of the same sector block.

【0018】以上の構成で、システム制御部1は、ホス
ト装置から光磁気ディスク7の初期化が指令されると、
図3に示すような初期化処理を行なう。
With the above configuration, when the system control unit 1 receives a command from the host device to initialize the magneto-optical disk 7,
Initialization processing as shown in FIG. 3 is performed.

【0019】まず、初期化するセクタを選択し(処理1
01)、記録データとして所定の初期化データをセット
し(処理102)、記録動作モードとして3パス記録モ
ードを設定した状態で(処理103)、光磁気ディスク
駆動装置6にデータ記録指令を出力する(処理104)
First, select the sector to be initialized (processing 1
01), predetermined initialization data is set as recording data (processing 102), and a data recording command is output to the magneto-optical disk drive device 6 with the 3-pass recording mode set as the recording operation mode (processing 103). (Processing 104)
.

【0020】これにより、光磁気ディスク駆動装置6は
、データ記録指令により指定された記録セクタをシーク
し、データ記録指令とともに転送された記録データを、
3パス記録モードで、その目的セクタに記録する。 そして、その記録を終了すると、その記録動作が正常終
了したか、あるいは、エラー終了したかをシステム制御
部1に通知し、さらに、エラー終了した場合には、その
エラー終了した動作も通知する。
[0020] Thereby, the magneto-optical disk drive device 6 seeks the recording sector specified by the data recording command, and records the recording data transferred with the data recording command.
Record in the target sector in 3-pass recording mode. When the recording is finished, the system control unit 1 is notified whether the recording operation ended normally or ended with an error, and if the recording operation ended with an error, the operation that ended with the error is also notified.

【0021】システム制御部1は、データ記録指令を出
力した後は、光磁気ディスク駆動装置6からデータ記録
終了したことが通知されるまで待機しており(判断10
5のNOループ)、判断105の結果がYESになると
、そのときにエラー終了が通知されたかどうかを調べる
(判断106)。
After outputting the data recording command, the system control unit 1 waits until it is notified from the magneto-optical disk drive 6 that data recording has been completed (decision 10).
5), if the result of judgment 105 becomes YES, it is checked whether an error termination was notified at that time (judgment 106).

【0022】判断106の結果がYESになるときには
、そのときに通知されているエラー終了動作が検証動作
であるかどうかを調べて(判断107)、判断107の
結果がYESになるときには、そのときに記録セクタに
指定したセクタを欠陥セクタとして登録する(処理10
8)。
[0022] When the result of judgment 106 is YES, it is checked whether the error end operation notified at that time is a verification operation (judgment 107), and when the result of judgment 107 is YES, then register the sector specified as a recording sector as a defective sector (process 10
8).

【0023】そして、全てのユーザセクタについて初期
化動作が終了したかどうかを調べて(判断109)、判
断109の結果がNOになるときには、次のセクタを初
期化するために、処理101に戻る。
[0023] Then, it is checked whether the initialization operation has been completed for all user sectors (decision 109), and when the result of determination 109 is NO, the process returns to process 101 in order to initialize the next sector. .

【0024】また、判断109の結果がYESになると
きには、システムデータに、全面書き込み初期化済みを
あらわすデータを登録して(処理110)、この初期化
処理を終了する(正常終了)。また、判断106の結果
がNOになるときには、処理109に移行して、それ以
降の処理を行なう。
Further, when the result of judgment 109 is YES, data indicating that full-scale write initialization has been completed is registered in the system data (process 110), and this initialization process is terminated (normal termination). Further, when the result of determination 106 is NO, the process moves to process 109 and the subsequent processes are performed.

【0025】また、判断107の結果がNOになるとき
には、このエラー終了の原因が光磁気ディスク駆動装置
6に起因するものであるため(メカエラー)、システム
制御部1は、記録したデータを同一記録セクタについて
再度記録する再記録を、光磁気ディスク駆動装置6に指
令する(処理111)。
Further, when the result of the judgment 107 is NO, the cause of this error termination is caused by the magneto-optical disk drive device 6 (mechanical error), so the system control unit 1 determines whether the recorded data is the same as the one recorded. The magneto-optical disk drive device 6 is instructed to re-record the sector (process 111).

【0026】これにより、光磁気ディスク駆動装置6は
、その直前のデータ記録指令により指定された記録セク
タを再度シークし、記憶している記録データを3パス記
録モードでその目的セクタに再度記録する。そして、そ
の再記録を終了すると、その再記録動作が正常終了した
か、あるいは、エラー終了したかをシステム制御部1に
通知し、さらに、エラー終了した場合には、そのエラー
終了した動作も通知する。
[0026] As a result, the magneto-optical disk drive device 6 seeks again the recording sector designated by the immediately previous data recording command, and records the stored recording data in the target sector again in the 3-pass recording mode. . When the re-recording is finished, the system control unit 1 is notified whether the re-recording operation has ended normally or with an error, and if it has ended with an error, the operation that ended with the error is also notified. do.

【0027】システム制御部1は、再記録を指令した後
は、光磁気ディスク駆動装置6から再記録終了が通知さ
れるまで待機しており(判断112のNOループ)、判
断112の結果がYESになると、エラー終了したかど
うかを調べる(判断113)、判断113の結果がNO
になるときには、再記録動作が正常終了したので、処理
109に移行して、それ以降の処理を行なう。また、判
断113の結果がYESになるときには、光磁気ディス
ク駆動装置6に回復できないようなエラーが生じている
場合なので、異常終了状態に移行する。
After issuing the re-recording command, the system control unit 1 waits until it is notified of the end of re-recording from the magneto-optical disk drive device 6 (NO loop of judgment 112), and if the result of judgment 112 is YES. When the error occurs, it is checked whether the process ended with an error (decision 113), and the result of determination 113 is NO.
When this happens, the re-recording operation has ended normally, so the process moves to process 109 and the subsequent processes are performed. Further, when the result of the judgment 113 is YES, it means that an error that cannot be recovered has occurred in the magneto-optical disk drive device 6, and therefore the process shifts to an abnormal end state.

【0028】この異常終了状態では、装置動作を停止し
て、ホスト装置にドライブエラーが発生したことを通知
するとともに、ホスト装置からのデータ入力を禁止状態
にする。
In this abnormal termination state, the device operation is stopped, the host device is notified that a drive error has occurred, and data input from the host device is prohibited.

【0029】このようにして、本実施例では、まず、光
磁気ディスク7の初期化時に、全てのユーザセクタにつ
いて、欠陥セクタか否かの判定動作を行なっているとと
もに、このような初期化動作を行なったことをあらわす
特定のシステムデータをシステムデータ領域に登録する
In this way, in this embodiment, first, when initializing the magneto-optical disk 7, an operation is performed to determine whether or not all user sectors are defective sectors. Register specific system data in the system data area that indicates that the process has been performed.

【0030】図4および図5は、光磁気ディスク7に1
セクタ分のデータを記録するときのシステム制御部1の
動作を示している。
FIGS. 4 and 5 show that the magneto-optical disk 7 has one
It shows the operation of the system control unit 1 when recording data for a sector.

【0031】ホスト装置より、記録データが転送される
とともにデータ記録が指令されると、システム制御部1
は、光磁気ディスク7のシステムデータ領域に全面書き
込み初期化済みをあらわすデータが登録されているかど
うかを調べ(判断201)、判断201の結果がYES
になるときには、次のような2パス記録モードを用いた
記録動作を行なう。
When the host device transfers recording data and instructs data recording, the system control unit 1
checks whether data indicating that full write has been initialized is registered in the system data area of the magneto-optical disk 7 (determination 201), and the result of determination 201 is YES.
When this happens, a recording operation using the following two-pass recording mode is performed.

【0032】すなわち、まず、ホスト装置より指定され
た目的セクタが、欠陥セクタとして登録されているかど
うかを調べる(判断202)。判断202の結果がNO
になるときには、ホスト装置より指定された目的セクタ
を記録セクタに設定し(処理203)、また、判断20
2の結果がYESになるときには、その目的セクタに対
応した代替セクタを探してその代替セクタを記録セクタ
に設定する(処理204)。
That is, first, it is checked whether the target sector designated by the host device is registered as a defective sector (determination 202). The result of judgment 202 is NO.
When this happens, the target sector designated by the host device is set as the recording sector (process 203), and judgment 20
When the result of step 2 is YES, an alternative sector corresponding to the target sector is searched for and the alternative sector is set as a recording sector (process 204).

【0033】また、ホスト装置から転送された記録デー
タを記録データにセットし(処理205)、記録動作モ
ードとして2パス記録モードを設定した状態で(処理2
06)、光磁気ディスク駆動装置6にデータ記録指令を
出力する(処理207)。
Further, the print data transferred from the host device is set as the print data (process 205), and the 2-pass print mode is set as the print operation mode (process 205).
06), a data recording command is output to the magneto-optical disk drive device 6 (process 207).

【0034】これにより、光磁気ディスク駆動装置6は
、データ記録指令により指定された記録セクタをシーク
し、データ記録指令とともに転送された記録データを、
2パス記録モードで、その目的セクタに記録する。 そして、その記録を終了すると、その記録動作が正常終
了したか、あるいは、エラー終了したかをシステム制御
部1に通知し、さらに、エラー終了した場合には、その
エラー終了した動作も通知する。
As a result, the magneto-optical disk drive device 6 seeks the recording sector designated by the data recording command, and records the recording data transferred with the data recording command.
Record to the target sector in 2-pass recording mode. When the recording is finished, the system control unit 1 is notified whether the recording operation ended normally or ended with an error, and if the recording operation ended with an error, the operation that ended with the error is also notified.

【0035】システム制御部1は、データ記録指令を出
力した後は、光磁気ディスク駆動装置6からデータ記録
終了したことが通知されるまで待機しており(判断20
8のNOループ)、判断208の結果がYESになると
、そのときにエラー終了が通知されたかどうかを調べる
(判断209)。
After outputting the data recording command, the system control unit 1 waits until it is notified from the magneto-optical disk drive 6 that data recording has been completed (decision 20).
8), if the result of judgment 208 becomes YES, it is checked whether an error termination was notified at that time (judgment 209).

【0036】判断209の結果がYESになるときには
、システム制御部1は、再記録を光磁気ディスク駆動装
置6に指令する(処理210)。これにより、光磁気デ
ィスク駆動装置6は、その直前のデータ記録指令により
指定された記録セクタを再度シークし、記憶している記
録データを2パス記録モードでその目的セクタに再度記
録する。そして、その再記録を終了すると、その再記録
動作が正常終了したか、あるいは、エラー終了したかを
システム制御部1に通知し、さらに、エラー終了した場
合には、そのエラー終了した動作も通知する。
When the result of the judgment 209 is YES, the system control unit 1 instructs the magneto-optical disk drive device 6 to re-record (process 210). As a result, the magneto-optical disk drive device 6 seeks again the recording sector specified by the immediately previous data recording command, and records the stored recording data in the target sector again in the two-pass recording mode. When the re-recording is finished, the system control unit 1 is notified whether the re-recording operation has ended normally or with an error, and if it has ended with an error, the operation that ended with the error is also notified. do.

【0037】システム制御部1は、再記録を指令した後
は、光磁気ディスク駆動装置6から再記録終了が通知さ
れるまで待機しており(判断211のNOループ)、判
断211の結果がYESになると、エラー終了したかど
うかを調べる(判断212)、判断212の結果がNO
になるときには、再記録動作が正常終了したので、シス
テム制御部1は、光磁気ディスク駆動装置6に対して、
記録データを読みだすように指令する(処理213)。
After instructing re-recording, the system control unit 1 waits until it is notified of the end of re-recording from the magneto-optical disk drive device 6 (NO loop of judgment 211), and if the result of judgment 211 is YES. When this happens, it is checked whether the process has ended with an error (decision 212), and the result of determination 212 is NO.
When this happens, the re-recording operation has completed normally, so the system control unit 1 instructs the magneto-optical disk drive 6 to
A command is given to read the recorded data (process 213).

【0038】これにより、光磁気ディスク駆動装置6は
、そのときに再記録したデータを、その目的セクタより
読み出して、システム制御部1に出力する。システム制
御部1は、入力した再生データと、光磁気ディスク駆動
装置6に出力した記録データを比較し(処理214)、
それらが一致するかどうかを調べる(判断215)。
Thereby, the magneto-optical disk drive device 6 reads out the data re-recorded at that time from the target sector and outputs it to the system control section 1. The system control unit 1 compares the input playback data with the recording data output to the magneto-optical disk drive device 6 (processing 214),
Check whether they match (decision 215).

【0039】それらが一致せずに、判断215の結果が
NOになるときには、そのときに指定した目的セクタを
欠陥セクタとして登録し(処理216)、交代セクタ処
理を実行して、その欠陥セクタに記録したデータを交代
セクタ領域の代替セクタに記録する(処理217)。
If they do not match and the result of judgment 215 is NO, the target sector specified at that time is registered as a defective sector (process 216), and replacement sector processing is executed to replace the defective sector. The recorded data is recorded in the alternative sector of the alternative sector area (processing 217).

【0040】そして、そのときに1ファイル分のデータ
の記録を終了したときには、システムデータを更新して
(処理218)、この1セクタ分のデータ記録処理を終
了する。
[0040] Then, when recording of data for one file is completed, the system data is updated (process 218), and the data recording process for one sector is ended.

【0041】また、最初の記録動作が、正常終了した場
合で、判断209の結果がNOになるときには、処理2
18に移行して、それ以降の処理を行なう。また、判断
215の結果がYESになるときには、セクタ交代処理
を行なわずに、処理218に移行して、それ以降の処理
を行なう。
Furthermore, when the first recording operation ends normally and the result of judgment 209 is NO, processing 2
The process moves to step 18 and the subsequent processing is performed. Further, when the result of determination 215 is YES, the process proceeds to process 218 without performing the sector replacement process, and the subsequent processes are performed.

【0042】一方、判断201の結果がNOになるとき
には、次のような3パス記録モードを用いた記録動作を
行なう。
On the other hand, when the result of the determination 201 is NO, a recording operation using the following three-pass recording mode is performed.

【0043】すなわち、まず、ホスト装置より指定され
た目的セクタが、欠陥セクタとして登録されているかど
うかを調べる(判断219)。判断219の結果がNO
になるときには、ホスト装置より指定された目的セクタ
を記録セクタに設定し(処理220)、また、判断21
9の結果がYESになるときには、その目的セクタに対
応した代替セクタを探してその代替セクタを記録セクタ
に設定する(処理221)。
That is, first, it is checked whether the target sector specified by the host device is registered as a defective sector (determination 219). The result of judgment 219 is NO.
If so, the target sector designated by the host device is set as the recording sector (process 220), and judgment 21 is performed.
When the result of step 9 is YES, an alternative sector corresponding to the target sector is searched for and the alternative sector is set as a recording sector (process 221).

【0044】また、ホスト装置から転送された記録デー
タを記録データにセットし(処理222)、記録動作モ
ードとして3パス記録モードを設定した状態で(処理2
23)、光磁気ディスク駆動装置6にデータ記録指令を
出力する(処理224)。
Further, the print data transferred from the host device is set as print data (process 222), and the 3-pass print mode is set as the print operation mode (process 2).
23), outputs a data recording command to the magneto-optical disk drive device 6 (processing 224).

【0045】これにより、光磁気ディスク駆動装置6は
、データ記録指令により指定された記録セクタをシーク
し、データ記録指令とともに転送された記録データを、
3パス記録モードで、その目的セクタに記録する。 そして、その記録を終了すると、その記録動作が正常終
了したか、あるいは、エラー終了したかをシステム制御
部1に通知し、さらに、エラー終了した場合には、その
エラー終了した動作も通知する。
As a result, the magneto-optical disk drive device 6 seeks the recording sector designated by the data recording command, and records the recording data transferred with the data recording command.
Record in the target sector in 3-pass recording mode. When the recording is finished, the system control unit 1 is notified whether the recording operation ended normally or ended with an error, and if the recording operation ended with an error, the operation that ended with the error is also notified.

【0046】システム制御部1は、データ記録指令を出
力した後は、光磁気ディスク駆動装置6からデータ記録
終了したことが通知されるまで待機しており(判断22
5のNOループ)、判断225の結果がYESになると
、そのときにエラー終了が通知されたかどうかを調べる
(判断226)。
After outputting the data recording command, the system control unit 1 waits until it is notified from the magneto-optical disk drive 6 that data recording has been completed (decision 22).
If the result of judgment 225 is YES, it is checked whether an error termination was notified at that time (decision 226).

【0047】判断226の結果がYESになるときには
、そのときに通知されているエラー終了動作が検証動作
であるかどうかを調べて(判断227)、判断227の
結果がYESになるときには、そのときに記録セクタに
指定したセクタを欠陥セクタとして登録し(処理228
)、交代セクタ処理を実行して、その欠陥セクタに記録
したデータを交代セクタ領域の代替セクタに記録し(処
理229)、処理218に移行する。また、判断226
の結果がNOになるときには、記録動作が正常終了した
ので、処理218に移行する。
When the result of judgment 226 is YES, it is checked whether the error end operation notified at that time is a verification operation (judgment 227), and when the result of judgment 227 is YES, then The sector specified as a recording sector is registered as a defective sector (processing 228).
), a replacement sector process is executed to record the data recorded in the defective sector in the replacement sector of the replacement sector area (process 229), and the process moves to process 218. Also, judgment 226
When the result is NO, the recording operation has ended normally, and the process moves to step 218.

【0048】また、判断227の結果がNOになるとき
には、判断113の結果がYESになるときには、光磁
気ディスク駆動装置6に回復できないようなエラーが生
じている場合なので、異常終了状態に移行する。
Further, when the result of judgment 227 is NO, when the result of judgment 113 is YES, it means that an error that cannot be recovered has occurred in the magneto-optical disk drive device 6, so the process shifts to an abnormal termination state. .

【0049】このようにして、データ記録時、セットさ
れている光磁気ディスク7が、全面書き込み初期化済み
のものである場合には、記録動作を2パス記録モードで
行なうようにしているので、データ記録時間を3パス記
録モード時のほぼ2/3の時間に短縮することができ、
データ記録時間を大幅に短縮することができる。
In this way, when recording data, if the magneto-optical disk 7 that is set has been initialized for full-scale writing, the recording operation is performed in the two-pass recording mode. Data recording time can be reduced to almost 2/3 of the time in 3-pass recording mode,
Data recording time can be significantly reduced.

【0050】また、セットされている光磁気ディスク7
が、全面書き込み初期化済みのものでない場合には、従
来と同様の3パス記録モードで記録動作を行なうように
しており、本実施例のものとは異なる装置で初期化した
光磁気ディスクについても、適切にデータ記録できるよ
うにしている。
[0050] Also, the set magneto-optical disk 7
However, if the disc is not initialized for full-scale writing, the recording operation is performed in the same 3-pass recording mode as in the past, and even for magneto-optical discs initialized with a device different from that of this example. , so that data can be recorded appropriately.

【0051】また、2パス記録モード中に、光磁気ディ
スク駆動装置6になんらかの障害が生じて、記録動作が
エラー終了した場合には、同一データを同一セクタに再
記録して、さらに、検証動作を行なうようにしているの
で、かかる障害発生時に不安定なデータ記録がなされる
ような事態を回避することができ、データ記録の信頼性
を向上することができる。
Furthermore, if some kind of failure occurs in the magneto-optical disk drive device 6 during the two-pass recording mode and the recording operation ends with an error, the same data is re-recorded in the same sector and a verification operation is performed. Therefore, it is possible to avoid a situation where data recording becomes unstable when such a failure occurs, and the reliability of data recording can be improved.

【0052】ここで、2パス記録モードでデータ記録し
た場合、例えば、光磁気ディスク7に塵埃などが付着す
ると、光磁気ディスク7のデータエラーが増大すること
が考えられるが、近年では、光磁気ディスク駆動装置の
防塵対策が効果を奏し、光ディスク7に塵埃が付着する
こともないので、実用上、まったく支障はない。
When data is recorded in the two-pass recording mode, for example, if dust or the like adheres to the magneto-optical disk 7, data errors on the magneto-optical disk 7 may increase; however, in recent years, magneto-optical Since the dust-proofing measures for the disk drive device are effective and no dust adheres to the optical disk 7, there is no practical problem at all.

【0053】図6は、セクタ交代処理の一例を示してい
る。
FIG. 6 shows an example of sector replacement processing.

【0054】まず、システム制御部1は、検出した欠陥
セクタを代替する代替セクタを、交代セクタ領域より見
つけだして、その代替セクタを記録セクタに設定し(処
理301)、ホスト装置から転送された記録データを記
録データにセットし(処理302)、記録動作モードと
して3パス記録モードを設定した状態で(処理303)
、光磁気ディスク駆動装置6にデータ記録指令を出力す
る(処理304)。
First, the system control unit 1 finds an alternative sector to replace the detected defective sector in the alternative sector area, sets the alternative sector as a recording sector (process 301), and records data transferred from the host device. The data is set as recording data (processing 302), and the 3-pass recording mode is set as the recording operation mode (processing 303).
, outputs a data recording command to the magneto-optical disk drive device 6 (process 304).

【0055】これにより、光磁気ディスク駆動装置6は
、データ記録指令により指定された記録セクタをシーク
し、データ記録指令とともに転送された記録データを、
3パス記録モードで、その目的セクタに記録する。 そして、その記録を終了すると、その記録動作が正常終
了したか、あるいは、エラー終了したかをシステム制御
部1に通知し、さらに、エラー終了した場合には、その
エラー終了した動作も通知する。
[0055] Thereby, the magneto-optical disk drive device 6 seeks the recording sector specified by the data recording command, and records the recording data transferred with the data recording command.
Record in the target sector in 3-pass recording mode. When the recording is finished, the system control unit 1 is notified whether the recording operation ended normally or ended with an error, and if the recording operation ended with an error, the operation that ended with the error is also notified.

【0056】システム制御部1は、データ記録指令を出
力した後は、光磁気ディスク駆動装置6からデータ記録
終了したことが通知されるまで待機しており(判断30
5のNOループ)、判断305の結果がYESになると
、そのときにエラー終了が通知されたかどうかを調べる
(判断306)。
After outputting the data recording command, the system control unit 1 waits until it is notified from the magneto-optical disk drive 6 that data recording has been completed (decision 30).
5), if the result of judgment 305 is YES, it is checked whether an error termination was notified at that time (judgment 306).

【0057】判断306の結果がYESになるときには
、そのときに通知されているエラー終了動作が検証動作
であるかどうかを調べて(判断307)、判断307の
結果がYESになるときには、そのときに記録セクタに
指定したセクタを欠陥セクタとして登録し(処理308
)、交代セクタ処理を実行して(再帰的実行)、その欠
陥セクタ(代替セクタ)に記録したデータを交代セクタ
領域の代替セクタに記録し(処理309)、このセクタ
交代処理を正常終了する。
When the result of judgment 306 is YES, it is checked whether the error end operation notified at that time is a verification operation (judgment 307), and when the result of judgment 307 is YES, then The sector specified as a recording sector is registered as a defective sector (process 308).
), executes replacement sector processing (recursive execution), records the data recorded in the defective sector (replacement sector) in the replacement sector of the replacement sector area (process 309), and normally ends this sector replacement processing.

【0058】また、判断306の結果がNOになるとき
には、代替セクタへのデータ記録が正常終了した場合な
ので、このセクタ交代処理を正常終了する。
Further, when the result of the judgment 306 is NO, this means that data recording to the alternative sector has been normally completed, so this sector replacement process is normally completed.

【0059】また、判断307の結果がYESになると
きには、光磁気ディスク駆動装置6に回復できないよう
なエラーが生じている場合なので、異常終了状態に移行
する。
Further, when the result of the judgment 307 is YES, it means that an error that cannot be recovered has occurred in the magneto-optical disk drive device 6, and therefore the process shifts to an abnormal termination state.

【0060】このようにして、欠陥セクタの記録データ
を、欠陥のない代替セクタに代替するようにしている。
[0060] In this way, the recorded data in the defective sector is replaced with a non-defective alternative sector.

【0061】なお、このセクタ交代処理は、周知のもの
であり、これ以外の方法を用いることもできる。
Note that this sector replacement process is well known, and other methods may also be used.

【0062】ところで、本発明は、上述した実施例のよ
うな光磁気ディスク装置に限らず、相変化型の光ディス
ク装置についても同様にして適用することができる。そ
の場合、上述した説明における3パス記録モードおよび
2パス記録モードに代えて、消去動作の無い2パス記録
モードおよび1パス記録モードを用いることができる。
By the way, the present invention is not limited to the magneto-optical disk device as in the above-described embodiment, but can be similarly applied to a phase change type optical disk device. In that case, instead of the three-pass printing mode and the two-pass printing mode in the above description, a two-pass printing mode and a one-pass printing mode without an erasing operation can be used.

【0063】[0063]

【発明の効果】以上説明したように、本発明によれば、
記録媒体の初期化時に、欠陥セクタを全て抽出している
ので、データ記録時に2パス記録モードを行なっても、
欠陥セクタの影響を排除できる。また、記録動作中に装
置エラーを発生したときには、その記録中のセクタデー
タについて検証動作を行なっているので、データ記録の
信頼性を向上できるという効果を得る。
[Effects of the Invention] As explained above, according to the present invention,
All defective sectors are extracted when initializing the recording medium, so even if you use 2-pass recording mode when recording data,
The effects of defective sectors can be eliminated. Further, when a device error occurs during a recording operation, a verification operation is performed on the sector data being recorded, so that the reliability of data recording can be improved.

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

【図1】本発明の一実施例にかかる光磁気ディスク装置
を示すブロック図。
FIG. 1 is a block diagram showing a magneto-optical disk device according to an embodiment of the present invention.

【図2】光磁気ディスクの記録領域の分割態様の一例を
示す概略図。
FIG. 2 is a schematic diagram showing an example of how a recording area of a magneto-optical disk is divided.

【図3】初期化処理の一例を示すフローチャート。FIG. 3 is a flowchart showing an example of initialization processing.

【図4】1セクタデータ記録処理例の一部を示すフロー
チャート。
FIG. 4 is a flowchart showing part of an example of one sector data recording process.

【図5】1セクタデータ記録処理例の残りの部分を示す
フローチャート。
FIG. 5 is a flowchart showing the remaining part of the example of one sector data recording process.

【図6】セクタ交代処理の一例を示すフローチャート。FIG. 6 is a flowchart showing an example of sector replacement processing.

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

1  システム制御部 3  バッファ制御部 4  データバッファ 6  光磁気ディスク駆動装置 7  光磁気ディスク 1 System control section 3 Buffer control section 4 Data buffer 6 Magneto-optical disk drive 7 Magneto-optical disk

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  データ記録/消去/再生可能な記録媒
体を用い、データエラーを発生する欠陥セクタを他のセ
クタで代替するセクタ交代処理機能を備えるとともに、
データ記録時には、記録セクタのデータ消去動作、記録
データの記録動作、および、記録データの検証動作の3
動作を連続して行なう3パス記録モードと、記録セクタ
のデータ消去動作および記録データの記録動作の2動作
を連続して行なう2パス記録モードのいずれかを選択可
能な光ディスク装置の制御方法において、記録媒体の初
期化時には、全てのセクタについて、3パス動作モード
で初期化データを記録するとともに、そのときに発見し
た欠陥セクタの情報および記録領域全部について検証動
作を行なった旨をその記録媒体に記録する一方、データ
記録時、記録領域全部について検証動作を行なった旨が
記録媒体に記録されているときには、上記欠陥セクタの
情報に基づいたセクタ交代動作を行なうとともに、おの
おののセクタについて2パス動作モードでデータ記録を
行なうことを特徴とする光ディスク装置の制御方法。
Claim 1: Using a recording medium capable of recording/erasing/reproducing data, and having a sector replacement processing function for replacing a defective sector that causes a data error with another sector,
When recording data, there are three operations: erasing data in the recording sector, recording data, and verifying the recorded data.
A method for controlling an optical disc device that allows selection of either a 3-pass recording mode in which operations are performed continuously, or a 2-pass recording mode in which two operations, ie, a data erasing operation of a recording sector and a recording operation of recording data, are performed consecutively. When initializing a recording medium, initialization data is recorded in all sectors in 3-pass operation mode, and information on defective sectors discovered at that time and that verification operations have been performed on the entire recording area are recorded on the recording medium. On the other hand, when recording data, if the recording medium records that a verification operation has been performed on the entire recording area, a sector replacement operation is performed based on the information on the defective sector, and a two-pass operation is performed on each sector. A method for controlling an optical disc device, characterized in that data is recorded in a mode.
【請求項2】  データ記録/消去/再生可能な記録媒
体を用い、データエラーを発生する欠陥セクタを他のセ
クタで代替するセクタ交代処理機能を備えるとともに、
データ記録時には、記録セクタのデータ消去動作、記録
データの記録動作、および、記録データの検証動作の3
動作を連続して行なう3パス記録モードと、記録セクタ
のデータ消去動作および記録データの記録動作の2動作
を連続して行なう2パス記録モードのいずれかを選択可
能な光ディスク装置の制御方法において、記録媒体の初
期化時には、全てのセクタについて、3パス動作モード
で初期化データを記録するとともに、そのときに発見し
た欠陥セクタの情報および記録領域全部について検証動
作を行なった旨をその記録媒体に記録する一方、データ
記録時、記録領域全部について検証動作を行なった旨が
記録媒体に記録されているときには、上記欠陥セクタの
情報に基づいたセクタ交代動作を行なうとともに、おの
おののセクタについて2パス動作モードでデータ記録を
行い、さらに、データ記録中に装置エラーが発生したと
きには、そのときに記録した記録データの検証動作を行
い、データエラーを検出したときには、そのデータエラ
ーを検出したセクタを欠陥セクタとして記録するととも
にそのセクタについてセクタ交代処理を適用することを
特徴とする光ディスク装置の制御方法。
2. Using a recording medium capable of recording/erasing/reproducing data, and having a sector replacement processing function for replacing a defective sector that causes a data error with another sector,
When recording data, there are three operations: erasing data in the recording sector, recording data, and verifying the recorded data.
A method for controlling an optical disc device that allows selection of either a 3-pass recording mode in which operations are performed continuously, or a 2-pass recording mode in which two operations, ie, a data erasing operation of a recording sector and a recording operation of recording data, are performed consecutively. When initializing a recording medium, initialization data is recorded in all sectors in 3-pass operation mode, and information on defective sectors discovered at that time and that verification operations have been performed on the entire recording area are recorded on the recording medium. On the other hand, when recording data, if the recording medium records that a verification operation has been performed on the entire recording area, a sector replacement operation is performed based on the information on the defective sector, and a two-pass operation is performed on each sector. If a device error occurs during data recording, the data recorded at that time is verified, and if a data error is detected, the sector where the data error was detected is designated as a defective sector. 1. A control method for an optical disc device, characterized in that a sector is recorded as a sector and a sector alteration process is applied to the sector.
JP16074991A 1991-06-06 1991-06-06 Optical disk device control method Pending JPH04360074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16074991A JPH04360074A (en) 1991-06-06 1991-06-06 Optical disk device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16074991A JPH04360074A (en) 1991-06-06 1991-06-06 Optical disk device control method

Publications (1)

Publication Number Publication Date
JPH04360074A true JPH04360074A (en) 1992-12-14

Family

ID=15721630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16074991A Pending JPH04360074A (en) 1991-06-06 1991-06-06 Optical disk device control method

Country Status (1)

Country Link
JP (1) JPH04360074A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6556374B1 (en) 1996-03-28 2003-04-29 Hitachi Global Storage Technologies Spindle motor-having improved bonding between its bearing cartridge and hub

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6556374B1 (en) 1996-03-28 2003-04-29 Hitachi Global Storage Technologies Spindle motor-having improved bonding between its bearing cartridge and hub

Similar Documents

Publication Publication Date Title
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
JP2812636B2 (en) Optical recording device
JPH02216672A (en) Optical disk drive device
US7487388B2 (en) Method of recovering reallocation sectors in data storage system and disc drive using the same
JPH04360074A (en) Optical disk device control method
JP2654558B2 (en) Disk file device
JP2503371B2 (en) Disk system
JPH0729312A (en) Magnetic disk unit
JP2590722B2 (en) Optical disk controller
JPH08106722A (en) Information recording / reproducing device
KR950000133B1 (en) Method of recording and reproducing optical record carrier
KR100618790B1 (en) Continuous recording method and circuit for improving performance of recording medium
JP3246436B2 (en) Format efficiency improvement method for magnetic disk drives
JPS6038764A (en) Information recording system
KR910007446B1 (en) Optical recording / reproducing apparatus
JPH0628779A (en) Method for recording and controlling data in disk device
JPH06111218A (en) Method and apparatus for retry of error of magnetic memory
JP2002184119A (en) Recording method for write-once-read-many optical disk
KR100419394B1 (en) How to record an error management program for defect analysis and repair of magnetic disc recording devices
JP2604489B2 (en) Optical disk processing device
JPH0793912A (en) Optical disc recording / reproducing device
JPH02236865A (en) Information recording and reproducing device
JPH04254969A (en) Recorded data protection means for write-once recording method
JPH03207053A (en) Information recording and reproducing device
JPS634327A (en) Optical disk device