JP2003068027A - Optical disk device - Google Patents

Optical disk device

Info

Publication number
JP2003068027A
JP2003068027A JP2002238558A JP2002238558A JP2003068027A JP 2003068027 A JP2003068027 A JP 2003068027A JP 2002238558 A JP2002238558 A JP 2002238558A JP 2002238558 A JP2002238558 A JP 2002238558A JP 2003068027 A JP2003068027 A JP 2003068027A
Authority
JP
Japan
Prior art keywords
replacement
sector
data
area
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
JP2002238558A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Nanba
義幸 難波
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2002238558A priority Critical patent/JP2003068027A/en
Publication of JP2003068027A publication Critical patent/JP2003068027A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an optical disk device in which a caution is raised when remaining alternative areas are reduced, and even a record part in a non-use state can be effectively utilized by exchange processing performed before. SOLUTION: When recording/reproducing an optical disk having the alternative area, when the quantity of used alternative areas exceeds a predetermined arbitrary setting value, the caution is issued, a part to be exchanged in the non-use state is examined again by exchange processing applied before to the data recording area and when such a part to be exchanged has a usable part, recording is performed by using such a usable part again.

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、レーザー光によっ
て書込みまたは読出しを行なう光磁気ディスクや相変化
型ディスク等の光ディスク装置に関する。 【0002】 【従来の技術】上記のような光ディスクは、パーソナル
コンピュータなどの大容量外部記憶媒体としてが脚光を
浴びているが、この光ディスクはレーザー光を用いるこ
とによって記録媒体上にサブミクロンオーダーの記録マ
ークを形成することができるため、今まで外部記録媒体
として広く用いられているフレキシブルディスクやハー
ドディスクに比べて格段に記憶容量を増大させることが
できる。 【0003】例えばISO 10090 規格の光磁気ディスク
は、可換型の3.5 インチディスク片面で128 MBの公称
記憶容量を持っており、これと同一サイズで磁気記録を
行なう3.5 インチフレキシブルディスク1枚の記憶容量
は約1MBであることから、光磁気ディスクは1枚でフ
レキシブルディスク128 枚分の記憶容量を持つている。 【0004】このように、光磁気ディスク等の光ディス
クは記録密度の非常に高い可換型の記録媒体であるため
に、製造中に記録媒体にむらや傷などの欠陥を生じて製
品の歩留まりが悪くなるという問題があり、さらに、上
記したような可換型の光ディスクにおいては完全な密閉
ができないためにゴミなどが侵入して書込み・読出しが
できなくなるなどの問題がある。 【0005】このため、光ディスクでは書込み・読出し
エラーに対して交替処理が採用されており、この交替処
理は、あるセクタへの書込みまたは読出し中にエラーの
発生量が閾値を超えた場合にはそのセクタの使用を停止
し、このエラーが発生した不良セクタの代わりに予め公
称記憶容量を超えて設けられている代替セクタを使用し
て情報を記録するような処理をディスクコントローラな
どによって自動的に行なうものである。 【0006】この交替処理を採用すれば、ゴミの付着な
どの何らかの原因でそのセクタにエラーが発生するよう
になっても代わりのセクタを使用して記録することがで
きることからデータの欠落を未然に防ぐことができ、し
かも、ユーザー側から見た場合には、光ディスクの記憶
容量が減ることもなく、また見掛け上の書込み・読出し
動作には何らの変化も生じないので、エラー発生を意識
することなくデータの記録・再生を行なうことができ
る。 【0007】 【発明が解決しようとする課題】しかしながら代替セク
タの数は有限であり、例えば、3.5 インチ光磁気ディス
クカートリッジに関する上記ISO 規格では最大1024の代
替セクタを設けることになっているが、もし代替セクタ
を1023セクタ使用してあと1つしか代替セクタしか残っ
ていない場合に2セクタ分の交替処理が起こると交替オ
ーバーとなって書き込みが中断され、上位装置の対応の
仕方によっては書込むべきデータが欠落してしまう可能
性がある。 【0008】また、交換可能な記録媒体を用いる光ディ
スク装置においては、記録媒体が密閉されている磁気デ
ィスク装置(いわゆるハードディスク装置)とは異なっ
て、記録媒体や光学系にゴミなどが付着し易いという問
題がある。 【0009】しかしながら、交換可能な光ディスクにゴ
ミなどが付着した場合には、記録媒体が密閉されている
磁気ディスク装置とは異なってユーザがこの記録媒体の
クリーニングを行なうことができるので、このクリーニ
ングによって欠陥を回復することができる。 【0010】また、光学系にゴミなどが付着したときに
は再生信号の出力が低下することから記録媒体に欠陥が
生じたものとして交替処理が行なわれるが、次の代替セ
クタに対して書込・読出を行なっても再生信号の出力は
回復せずに低下したままであるから、さらに次の代替セ
クタへの書込・読出を行なうことになる。 【0011】したがって、光学系にゴミが付着した状態
が継続している限り上記のように次々の代替セクタへの
書込・読出しが行なわれ、ついには代替セクタが無くな
って交替オーバーになってしまうので、この記録媒体は
使用不可能なものとされてしまうことになる。 【0012】なお、磁気ディスク装置における交替処理
は、記録媒体の劣化や損傷,ヘッドの損傷などの理由に
基づいて行なわれるものであり、一般的には記録媒体の
初期化の際に実行される。 【0013】本発明は、代替領域の使用量が任意の設定
値を越えた場合に警告を発するようにし、また、先に行
われた交替処理によって不使用状態とされた記録部分を
も活用できるようにした光ディスク装置を提供すること
を目的とする。 【0014】 【課題を解決するための手段】請求項1記載の発明にお
いては、代替領域を有する光ディスクの記録再生方法に
おいて、代替領域の使用量が予め定めた任意の設定値を
超えた場合には警告を発するようにした。 【0015】このための具体的な装置の構成としては請
求項6のように、代替領域の使用量を検出する使用量検
出手段と、この使用量検出手段からの代替領域の使用量
と予め定めた任意の設定値とを比較する比較手段と、代
替領域の使用量が予め定めた任意の設定値を超えたこと
が上記比較手段によって検出されたときに警告を発する
警告手段とを設ければよい。 【0016】請求項2記載の発明においては、代替領域
を有する光ディスクの記録再生方法において、データ記
録領域に先に行われた交替処理によって不使用状態にあ
る被交替部分を再検査し、この被交替部分に使用可能な
使用可能部分があればこの使用可能部分を再使用するよ
うにした。 【0017】これを実施するための装置は請求項7のよ
うに、代替領域の使用量を検出する使用量検出手段と、
この使用量検出手段からの代替領域の使用量と予め定め
た設定値とを比較する比較手段と、代替領域の使用量が
予め定めた任意の設定値を超えたことが上記比較手段に
よって検出されたときに先に行われた交替処理により使
用されなくなった被交替部分を再検査する検査手段と、
この検査手段による再検査によって使用可能な使用可能
部分が検出された場合にこの使用可能部分を使用可能な
データ記録領域として登録する登録手段とを設けること
によって構成することができる。 【0018】請求項3記載の発明では、代替領域を有す
る光ディスクの記録再生方法において、先に行われた交
替処理によって不使用状態にある被交替部分を再検査し
て、使用可能な使用可能部分があれば交替領域に記録さ
れているこの使用可能部分に記録されるべきデータをこ
の使用可能部分に書戻し、この書戻しによって空いた交
替領域を交替領域として再び使用するようにした。 【0019】これを実施するための装置としては請求項
8記載のように、代替領域の使用量を検出する使用量検
出手段と、この使用量検出手段からの代替領域の使用量
と予め定めた設定値とを比較する比較手段と、代替領域
の使用量が予め定めた任意の設定値を超えたことが上記
比較手段によって検出されたときに先に行われた交替処
理により使用されなくなった被交替部分を再検査する検
査手段と、この検査手段による再検査によって使用可能
な使用可能部分が検出された場合には、交替領域に記録
されているこの使用可能部分に記録されるべきデータを
この使用可能部分に書戻すように指示する書込指示手段
と、この書戻しによって空いた交替領域を使用可能な交
替領域として登録するようにした登録手段とを設けるこ
とによって構成することができる。 【0020】なお、上記のように代替領域の使用量が設
定値を超えたときに再検査を行なうようにした場合に
は、請求項9記載のように、登録手段によるデータ記録
領域または交替領域としての登録が終了した後に警告を
発する警告手段をさらに設けることができる。 【0021】また、上記の再検査を交替処理中に記録を
行なうべき代替領域が無くなったときに行なうようにし
てもよく、この場合には請求項4記載のように、使用可
能な使用可能部分があればこの使用可能部分に記録を行
なうことができる。なお、請求項5記載のように、この
記録処理を終了した後に警告を発するようにしてもよ
い。 【0022】 【作用】図1の原理図を参照して本発明の原理を説明す
る。なお、この図1には光ディスクのデータ記録領域,
代替セクタ領域およびDMA領域を模式的に示してあ
り、実際の光ディスクではこれら各領域の記録トラック
はディスク上に同心円状、もしくは、らせん状に形成さ
れており、セクタはこの記録トラック上に順次設けられ
るものである。 【0023】請求項1および請求項6記載の発明は、前
述のように、光ディスクの代替領域の残りが少ないと代
替処理を行なうことができずに処理が中断するおそれが
あるので、代替領域の使用量が予め定めた任意の設定値
を超えた場合には警告を発してユーザに注意を喚起する
ものであり、代替領域の使用量と予め定めた任意の設定
値とを比較して、代替領域の使用量が予め定めた任意の
設定値を超えて代替領域の残りが少なくなると警告を発
するように構成した。 【0024】請求項2ないし5および請求項7ないし9
に記載の発明は、光ディスクの使用中にエラーが発見さ
れて交替処理が行なわれたデータ記録領域の被交替部分
が、例えばユーザによるこの光ディスクの清掃などによ
ってゴミなどが除かれることによって再び使用可能にな
ることがあるので、この場合にもデータ記録領域を有効
に利用するためのものである。 【0025】請求項2記載の発明はデータ記録領域を有
効に使用するためのものであり、先に行なわれた交替処
理によって不使用状態にあるデータ記録領域の被交替部
分を再検査することによってこの被交替部分に使用可能
な使用可能部分が検出されれば、検出された使用可能部
分をデータ記録に再使用するというものである。 【0026】そして、請求項6記載の発明は請求項2記
載の発明を実施するための装置であって、使用量検出手
段によって検出された代替領域の使用量と交替領域に余
裕を持たせるために予め定めた設定値とを比較手段によ
って比較して、代替領域の使用量が予め定めた任意の設
定値を超えたこと、すなわち、代替領域の余裕が少なく
なったことが上記比較手段によって検出されたときに、
先に行われた交替処理により使用されなくなった被交替
部分を検査手段によって再検査し、この再検査によって
使用可能な使用可能部分が検出された場合にこの使用可
能部分を使用可能なデータ記録領域として登録するよう
にしたものである。 【0027】なお、“使用可能なデータ記録領域として
登録する”ということは“使用できない領域として登録
されていたこの領域に関する記録情報を削除する”のと
同義であるから、特許請求の範囲の記載における上記の
“登録する”という記載が上記の“削除する”ことを含
むものであることはいうまでもない。 【0028】そして、請求項3記載の発明は、交替領域
を有効に使用するための発明であって、代替領域を有す
る光ディスクの記録再生方法において、先に行なわれた
交替処理によって不使用状態にある被交替部分を再検査
して使用可能な使用可能部分が検出されれば、交替領域
に記録されている本来この使用可能部分に記録されるべ
きデータをこの使用可能部分に書戻し、この書戻しによ
って空いた交替領域を交替領域として再び使用するとい
うものである。 【0029】請求項7記載の発明はこれを実施するため
の装置であり、請求項6記載の発明と同様な装置によっ
て再検査を行い、この再検査によって使用可能な使用可
能部分が検出された場合には、書込指示手段交替領域に
記録されているこの使用可能部分に記録されるべきデー
タをこの使用可能部分に書戻すように指示し、登録手段
によってこの書戻しによって空いた交替領域を使用可能
な交替領域として登録するようにしたものである。 【0030】なお、請求項9は、上記請求項7および8
のように代替領域の使用量が設定値を超えたときに再検
査を行なうようにした場合、登録手段によるデータ記録
領域または交替領域としての登録が終了した後に警告を
発する警告手段を設けて、交替領域の残りが少ないこと
をユーザに知らせて注意を喚起するようにしたものであ
る。 【0031】また、請求項4記載の発明は、上記の再検
査を交替処理中に記録を行なうべき代替領域が無くなっ
たときに行なうようにしたものであり、この場合には再
検査の結果使用可能な使用可能部分が検出されれば、こ
の使用可能部分に記録を行なうようにしたものである。
なお、請求項5に記載したように、この記録処理を終了
した後に請求項8記載の発明と同様に警告を発するよう
にしてもよい。 【0032】本発明によれば、交替領域の残りが少なく
なったときには警告を発してユーザに交替領域の残りが
少ないこと、すなわち、使用中の光ディスクにおいては
交替処理が多く、光ディスクの状態があまりよくないこ
とをユーザに知らせて、光ディスクの交換などの準備を
予め行なわせることができる。 【0033】また、光ディスク装置の光学系にゴミなど
が付着して正常な書込みや読出しが行なえない場合、従
来は交替処理を行なってもゴミなどが除去されない限り
交替処理が連続して行なわれる結果として交替領域が不
足するようになって交替オーバーが発生し、書込み処理
の中断などによるデータの欠落が生じたり、光ディスク
が異常であると判断されていた。 【0034】これに対し、本発明によれば、不使用状態
にある被交替部分が再検査によって使用可能な状態に回
復されるためにデータ記録領域や交替領域が常に確保さ
れて交替オーバーが発生する確率を下げることができ、
また、光学系を清掃したりあるいは交替オーバーが発生
した光ディスクを他の光ディスク装置で使用すれば、光
ディスクの交替処理により使用しなくなった記録部分を
再使用できるために交替オーバーが発生しなくなって、
この光ディスクを正常なものとして使用することができ
る。 【0035】さらに、光ディスク上にゴミなどが付着し
て書込みや読出しの際にエラーが発生して交替オーバー
になったときにも、この光ディスクを清掃してから再使
用すればいずれ再検査が行なわれるため、使用可能な状
態に回復している記録部分を再び使用して交替オーバー
が発生しなくなるという格別の効果が得られる。 【0036】 【発明の実施の形態】この実施例では、光ディスクの一
例として光磁気ディスクを用いるものとし、その本発明
に関連する構成について説明すると、この光磁気ディス
クはISO 10090 の規格によるものであって、直径3.5 イ
ンチ片面で約128MB のデータ記録容量を有しており、図
1の原理図に示したように、このデータ記録容量に相当
する記録容量を持つデータ記録領域の外に光磁気ディス
クの管理を行なうための情報を記録するDMA(Defect
Manageent Area) 領域と、光磁気ディスク中の欠陥のあ
るセクタを代替するための代替セクタが用意された代替
記録領域とが設けられている。 【0037】上記のDMA領域には、この光磁気ディス
クの管理情報と全交替セクタ数を含む交替情報とを記録
したDDS(Disk Difinition Sector)領域と、ディスク
媒体出荷時前の検査によって検出された永久欠陥セクタ
を含む不良ブロックのアドレスを格納したPDL(Prima
ry Defect List) 領域と、ディスク媒体の使用中に発生
した不良セクタについての交替情報を記録したSDL(S
econdary Defect List) 領域とが設けられている。 【0038】そして、上記PDL領域には、光磁気ディ
スクの製造時に発生した永久欠陥を有する永久欠陥セク
タをセクタスリッピング方式によって代替した上記代替
記憶領域における代替セクタのアドレスをこの永久欠陥
セクタのアドレスに対応させたリストが第1交替セクタ
リストとして予め格納されている。 【0039】さらに、光磁気ディスクの使用中に発見さ
れた不良セクタについては、不良セクタに記録すべきデ
ータを代替セクタに順次記録するリニアリプレイスメン
ト方式によって代替セクタを使用するようにし、この不
良セクタのアドレスである不良セクタアドレスとこの不
良セクタを代替した代替セクタのアドレスを示す代替ア
ドレスとを対応させたリストを上記SDL領域に第2交
替セクタリストとして記録するように構成されている。 【0040】図2は本発明を適用して構成した光磁気デ
ィスク装置の実施例のブロック図であり、図3ないし図
5はこの実施例の動作例を示すフローチャートであっ
て、図3はメインルーチン,図4は交替処理ルーチン,
図5は再検査ルーチンを示すフローチャートである。 【0041】実施例の構成を示した図2において、1は
書込・読出可能な光磁気ディスクであって、スピンドル
制御回路2の制御の基にスピンドルモータ3によって所
定の回転数で回転している。 【0042】この光磁気ディスク1に書込みを行なうに
は、バイアス磁石制御回路5から供給されるバイアス電
流によってバイアス磁石6を励磁することによって発生
する磁界の存在下で、信号処理回路8,光ヘッド制御回
路7を介して与えられる書き込みデータで変調された光
ビームを光ヘッド4から光磁気ディスク1の記録部位に
投射することによってデータを書込む。 【0043】また、光磁気ディスク1に記録されている
データを読出す際には、バイアス磁石による磁界の存在
しない状態で光磁気ディスク1の読出すべき部位に光ヘ
ッド4から光ビームを投射し、この読出部位で反射され
た反射光を光ヘッド制御回路7で光信号に変換し、信号
処理回路8によってこの光信号を復調することによって
光磁気ディスク1に記録されていたデータを読出す。な
お、周知のように、光磁気ディスクのようなディスク状
データ記録媒体についての書込みあるいは読出しはディ
スク1の記録トラック上のセクタを単位として行なわれ
る。 【0044】ドライブコントローラ10は、図示しない
マイクロコンピュータとバッファメモリ11とを少なく
とも備えており、この図2ではこのマイクロコンピュー
タの処理機能の中で本発明に関連する機能を「演算手
段」12,「比較手段」13および「警告手段」14と
して示した。 【0045】上記構成を有する前記実施例におけるメイ
ンルーチンの処理を図3のフローチャートを参照して説
明する。 【0046】ステップ[10]は光磁気ディスクが装着さ
れたか否かを検出するステップであって、光磁気ディス
クが装着されるまでは待機状態にあり、光磁気ディスク
が装着されたことがこのステップで検出されると次のス
テップ[11]に移って、この光磁気ディスクのDMA領
域の読込みを行い、DDS領域からの光磁気ディスクの
管理情報と全交替セクタ数を含む交替情報と、PDL領
域からのディスク媒体出荷時前の検査によって検出され
た不良ブロックのアドレスを記録した前記第1交替セク
タリストと、SDL領域からのこの光磁気ディスクの使
用中に発生した不良セクタについての交替情報を記録し
た前記第2交替セクタリストとをバッファメモリ11に
格納する。 【0047】次のステップ[12]はホストからのコマン
ドを検出するステップであって、コマンドが到来するま
では待機状態にあり、ライトコマンドが到来すると次の
ステップ[13]で指示されたデータをこの光磁気ディス
クに書込み、続くステップ[14]ではこの書込んだデー
タを読出して比較手段13によって書込んだデータと比
較するベリファイを行なう。 【0048】このベリファイの結果、書込んだデータと
読出したデータとが一致すれば正常な書込みが行なわれ
ているのでステップ[15]では交替処理を行なう必要が
ないものと判断してステップ[12]のコマンド待機状態
に戻るが、書込んだデータと読出したデータとが一致し
なければ書込みが正しく行なわれなかったことになるの
で、ステップ[15]では交替処理が必要と判断した後に
詳細に説明する交替処理ルーチン[16]に移る。 【0049】上記したステップ[12]にはライトコマン
ド以外のコマンドがホストから到来したときの処理の分
岐についても簡略に示してあり、具体的なコマンドの例
として再検査コマンドとイジェクトコマンドとを例示し
た。 【0050】この再検査コマンドが到来すると後に詳細
に説明する再検査ルーチン[17]に移り、また、イジェ
クトコマンドが到来するとステップ[18]の媒体排出処
理で光磁気ディスクを排出するが、イジェクトボタンを
操作することによってもこの光磁気ディスクの排出が行
なわれる。 【0051】なお、その他のコマンドに対してはステッ
プ[19]として示したルーチンでそれぞれ対応する処理
が行なわれ、上記した交替処理ルーチン,再検査ルーチ
ン,媒体排出処理とともにこれらの処理が終了すると前
述のステップ[12]に戻ってコマンドの待機状態にな
る。 【0052】図4は上記した交替処理ルーチンでの処理
を示すフローチャートであって、ステップ[21]では前
述したメインルーチンのステップ[11]でバッファメモ
リ11に格納したこの光磁気ディスクの管理情報中から
例えば第2交替セクタリストを読出してこのリスト上の
使用バイト数から使用済セクタの数を計算することなど
によって交替セクタの使用量Mを求め、また、ステップ
[22]で交替セクタとして用意されているセクタ全体の
数Aとを読出し、続くステップ[23]で演算手段12に
よって使用可能な交替セクタ数(A-M) =Nを算出する。 【0053】この算出結果Nを比較手段13で“0”と
比較し、その結果、Nが“0”より大きければ使用可能
な交替セクタが存在していることになるから、メインル
ーチンのステップ[13]で書込むべきであったデータを
ステップ[25]の交替処理でこの使用可能な交替セクタ
に書込む。 【0054】その後、メインルーチンのステップ[14]
と同様なベリファイによって書込みが正しく行なわれた
ことの確認が実行され、この交替処理の結果によって更
新された交替情報をバッファメモリ11に格納する。 【0055】次のステップ[26]ではこのバッファメモ
リ11から更新された使用済交替セクタの数M’を読出
し、続くステップ[27]で予め定められている設定値K
を上記バッファメモリ11などから読出して演算手段1
2によって(K-M')の値を算出する。ここで、設定値K
は、交替可能な状態で用意しておくことが望ましい交替
セクタの数を示すものである。 【0056】なお、この設定値Kについては、光磁気デ
ィスクのDMA領域から例えば1024KBである全交替セク
タ数を読出して例えばこのセクタ数の半分の値(512KB)
を演算手段12で求めてこれを設定値Kとしてバッファ
メモリ11に格納するようにしてもよいが、別の方法と
して、この設定値K自体を光磁気ディスク装置の出荷時
にこの装置内のROMなどに記憶させておいて光磁気デ
ィスク装置の起動時にバッファメモリに転送・記憶させ
るようにし、あるいは、光磁気ディスク自体のDMA領
域にこの設定値K自体を格納しておいて光磁気ディスク
の装着時にこの設定値Kを読込んでバッファメモリ11
に記憶させるようにしてもよい。 【0057】したがって、ステップ[28]でこの(K-M')
の値が“0”より小さくなったことが検出されると使用
可能な交替セクタの数が残り少なくなったことを警告手
段14からホストに対して警告し、このホストを介して
ユーザにこの光磁気ディスクの状態が悪化していること
を報知する。 【0058】ところで、前述したステップ[24]で(N>
0) 、すなわち交替可能な交替セクタがないと判断され
たときにはステップ[31]の再検査ルーチンに移って、
不良セクタとして交替セクタによって交替されているデ
ータ記憶領域のセクタを再検査し、もしこの交替されて
いるデータ記録領域のセクタに使用可能なセクタがあれ
ば交替セクタに記録されているデータを本来このデータ
が記録されるべきデータ記録領域の使用可能なことが検
出されたセクタに戻して、交替セクタを空けるようにす
る処理が実行される。なお、この再検査ルーチンの詳細
については後に図5を参照しながら説明する。 【0059】この再検査ルーチンによる処理の結果、利
用可能な交替セクタが存在するか否かがステップ[32]
によって判断され、利用可能な交替セクタがあれば前記
のステップ[25]の交替処理が実行されるが、利用可能
な交替セクタがない場合にはステップ[33]で交替オー
バーが発生して交替処理が不可能であることをホストに
通知する。 【0060】図5は、前述した再検査ルーチンにおける
処理の詳細を示すフローチャートであって、ステップ
[41]は交替処理ルーチンのステップ[21]と同様に交
替セクタの使用量Mを求め、ステップ[42]でこの使用
量Mが“0”であればこのルーチンの処理を終了する
が、M>0 、すなわち交替セクタが使用されていると判断
されれば、次のステップ[43]でメインルーチンのステ
ップ[11]でSDL領域から読出されてバッファメモリ
11に記憶されている使用中に発生した不良セクタにつ
いての交替情報を第2交替セクタリストから読出してこ
の不良セクタにダミーデータを書込む。 【0061】続くステップ[44]ではステップ[43]で
書込んだダミーデータを読出し、ステップ[45]ではス
テップ[43]で書込んだデータとステップ[44]で読出
したデータとのベリファイを行なうが、もし上記した不
良セクタが複数あれば、それぞれの不良セクタに対して
上記ステップ[43]ないしステップ[45]の処理を繰返
すことによって、正常に書込み/読出しができた正常セ
クタの数を求める。 【0062】ステップ[46]では、この正常セクタの数
が“0”より大きい、すなわち正常セクタが存在するか
否かを判断して、もし正常セクタがなければこのルーチ
ンの処理を終了するが、正常セクタが存在すれば次のス
テップ[47]に移って、交替セクタに記録されているデ
ータを本来このデータが記録されるべき正常セクタに書
戻して交替セクタを空け、ステップ[48]でバッファメ
モリ11に記録されている交替情報を更新する。 【0063】次のステップ[49]および[50]は、光磁
気ディスクのSDL領域に第2交替セクタリストとして
記録されている交替情報を上記のステップ[48]で更新
された交替情報によって更新・記録するステップであっ
て、ステップ[49]ではバッファメモリ内の交替情報を
不良セクタのアドレス順にソートし、このソートされた
交替情報によってステップ[50]で光磁気ディスクの上
記SDL領域に記録されている第2交替セクタリストを
更新して、この再検査ルーチンを終了する。 【0064】なお、上記のステップ[49]における不良
セクタのアドレス順によるソートはISO 規格によるもの
であるから、ソートの必要がなければこのステップ[4
9]は省略してもよい。また、上記した再検査ルーチン
は、光ディスクを装置に装着したときに行うようにして
もよい。 【0065】上述の実施例では使用中に発生したエラー
についての交替情報を記録した第2交替セクタリストに
基づいた処理について説明したが、光ディスクの製造時
に発生した永久欠陥セクタについての交替情報を記録し
た前記PDL領域の第1交替セクタリストを用いて同様
な処理を行なうことができる。 【0066】また、この実施例はISO 規格による光磁気
ディスクについて説明したが、この規格に基づかない各
種の光磁気ディスクや光磁気効果を用いない光ディスク
についても同様に適用し得ることは、特に説明するまで
もなく明らかであろう。 【0067】 【発明の効果】以上説明したように、本発明によれば、
交替領域の残りが少なくなったときには警告を発してユ
ーザに交替領域の残りが少ないこと、すなわち、使用中
の光ディスクにおいては交替処理が多く、光ディスクの
状態があまりよくないことをユーザに知らせて、光ディ
スクの交換などの準備を行なわせることができる。 【0068】また、光ディスク装置の光学系にゴミなど
が付着して正常な書込みや読出しが行なえない場合、従
来は交替処理を行なってもゴミなどが除去されない限り
交替処理が連続して行なわれる結果として交替領域が不
足するようになって交替オーバーが発生し、書込み処理
の中断などによるデータの欠落が生じたり、光ディスク
が異常であると判断されていた。 【0069】これに対し、本発明によれば、不使用状態
にある被交替部分が再検査によって使用可能な状態に回
復されるためにデータ記録領域や交替領域が常に確保さ
れて交替オーバーが発生する確率を下げることができ
る。 【0070】さらに、光学系を清掃したりあるいは交替
オーバーが発生した光ディスクを他の光ディスク装置で
使用すれば、光ディスクの交替処理により使用しなくな
った記録部分を再使用できるために交替オーバーが発生
しなくなって、この光ディスクを正常なものとして使用
することができる。 【0071】また、光ディスク上にゴミなどが付着して
書込みや読出しの際にエラーが発生して交替オーバーに
なったときにもこの光ディスクを清掃してから再使用す
ればいずれ再検査が行なわれるため、使用可能な状態に
回復している記録部分があればこの部分を再び使用して
交替オーバーの発生を防止できるという格別の効果が得
られる。
Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention
Magneto-optical disk or phase change
The present invention relates to an optical disk device such as a compact disk. 2. Description of the Related Art An optical disk as described above is a personal computer.
High-capacity external storage media such as computers are in the spotlight
This optical disc uses laser light.
Sub-micron order recording
Can be formed on external recording media
Flexible disks and hard disks widely used as
Storage capacity can be significantly increased compared to hard disks.
it can. [0003] For example, a magneto-optical disk of the ISO 10090 standard
Has a nominal size of 128 MB on one side of a replaceable 3.5-inch disk
It has a storage capacity, and magnetic recording with the same size
Storage capacity of one 3.5 inch flexible disk
Is about 1 MB, so a single magneto-optical disk
It has a storage capacity of 128 flexible disks. As described above, an optical disk such as a magneto-optical disk
Is a replaceable recording medium with a very high recording density.
During production, defects such as unevenness and scratches
There is a problem that the yield of goods is poor,
Completely sealed for interchangeable optical discs as noted
Writing / reading is impossible
There are problems such as being unable to do so. For this reason, in the case of an optical disk,
Alternation processing is adopted for errors, and this
The problem is that an error occurs while writing or reading a sector.
Stop using the sector if the amount exceeds the threshold
In place of the bad sector where this error occurred,
Use an alternate sector that exceeds the nominal storage capacity.
Processing such as recording information with a disk controller
This is automatically performed by [0006] If this replacement process is adopted, no dust adheres.
Whichever causes the sector to fail
Can be recorded using alternative sectors.
Can prevent data loss beforehand,
From the user's point of view, the storage of the optical disc
No reduction in capacity and apparent writing / reading
No change in operation, so be aware of errors
Data can be recorded and reproduced without
You. [0007] However, the alternative section
The number of disks is finite, for example, 3.5 inch magneto-optical
The above ISO standard for cartridges has a maximum of 1024
A replacement sector is to be provided.
Use 1023 sectors and only one alternative sector remains
If the replacement process for two sectors occurs when the
And the writing is interrupted, and the
Data to be written may be missing depending on the method
There is. An optical disk using a replaceable recording medium is used.
In a disk device, a magnetic disk in which a recording medium is sealed is used.
Different from disk device (so-called hard disk device)
The dust or dirt easily adheres to the recording medium or optical system.
There is a title. [0009] However, a replaceable optical disk is not
The recording medium is tightly closed
Unlike a magnetic disk drive, the user
Cleaning can be performed.
Can recover the defect. Also, when dust or the like adheres to the optical system,
Means that the output of the playback signal decreases,
Replacement processing is performed as if it occurred, but the next alternative
Even if writing / reading is performed to the
It remains low without recovering, so the next alternative
Writing and reading to and from the memory. Therefore, a state in which dust adheres to the optical system
As shown above, as long as the
Writing / reading is performed, and finally there is no alternative sector.
Is overwritten, so this recording medium
It would be unusable. The replacement process in the magnetic disk device
May be used for reasons such as deterioration or damage of the recording medium and damage to the head.
It is generally performed on the basis of a recording medium.
Executed during initialization. According to the present invention, the use amount of the substitute area is set arbitrarily.
A warning will be issued if the value is exceeded, and
Recorded parts that are no longer used by the replacement process
To provide an optical disk device that can also be used
With the goal. [0014] According to the present invention, there is provided an image processing apparatus comprising:
In addition, the method for recording / reproducing an optical disc having an alternate area
In this case, the use amount of the alternative area is set to a predetermined value.
A warning will be issued if the value is exceeded. The specific configuration of the device for this purpose is
As in claim 6, the usage amount detection for detecting the usage amount of the alternative area is performed.
Output means and the usage of the substitute area from this usage detection means
Comparing means for comparing the value with a predetermined set value;
Replacement area usage has exceeded an arbitrary preset value
Warn when is detected by the comparing means
Warning means may be provided. In the second aspect of the present invention, the alternative area
Recording and reproducing method for an optical disk having
It is no longer used by the replacement process performed earlier on the recording area.
Re-examine the replacement part that is
If there is a usable part, reuse this usable part.
I'm sorry. An apparatus for performing this is defined in claim 7.
A usage detecting means for detecting the usage of the alternative area,
The usage amount of the alternative area from this usage amount detection means is determined in advance.
The comparison means for comparing the set value with the
Exceeding an arbitrary set value determined in advance by the comparison means
Therefore, when it is detected, it is used by the replacement process performed earlier.
Inspection means for re-inspection of a replaced part that is no longer used;
Usable by re-inspection by this inspection means
Enable this usable part if part is detected
Provision of registration means for registering as a data recording area
Can be configured by According to the third aspect of the present invention, there is provided an alternative area.
In an optical disk recording / reproducing method,
Replacement parts that are not in use by the replacement process are inspected again.
If there is a usable part that can be used, it is recorded in the replacement area.
The data to be recorded in this usable portion
To the usable portion of the
The replacement area is used again as a replacement area. An apparatus for performing this is described in the claims.
As described in No. 8, the usage amount detection for detecting the usage amount of the alternative area is performed.
Output means and the usage of the substitute area from this usage detection means
Comparing means for comparing the data with a predetermined set value, and an alternative area.
It is said that the amount of used exceeds a predetermined set value.
Replacement process performed earlier when detected by comparison means
Inspection to re-examine the replacement part that is no longer used
Can be used by inspection means and re-inspection by this inspection means
When a usable part is detected, it is recorded in the replacement area.
The data to be recorded in this usable part
Write instructing means for instructing writing back to this usable portion
And the replacement area that has been vacated by this write-back can be used.
Registration means for registering as a replacement area
And can be configured by: Note that the usage amount of the alternative area is set as described above.
When re-inspection is performed when the specified value is exceeded
Is the data recording by the registration means.
Warning after registration as area or replacement area is completed
Warning means for issuing a warning may be further provided. The above-mentioned re-inspection is recorded during the replacement process.
When there are no more alternatives to do
In this case, it can be used as described in claim 4.
If there is a usable part, record it in this usable part.
Can be. In addition, as described in claim 5,
A warning may be issued after the recording process is completed.
No. The principle of the present invention will be described with reference to the principle diagram of FIG.
You. FIG. 1 shows a data recording area of the optical disc,
The alternative sector area and the DMA area are schematically shown.
In an actual optical disc, the recording tracks of these areas
Is formed concentrically or spirally on the disc.
Sectors are sequentially provided on this recording track.
Things. According to the first and sixth aspects of the present invention,
As described above, if the remaining area of the optical disc is small,
May be interrupted due to inability to perform
Since there is an alternative area, the usage
If the number exceeds the limit, a warning is issued to alert the user
And the amount of the alternative area and any predetermined setting
By comparing with the value, the usage amount of the alternative area is
A warning will be issued when the remaining area of the alternative area is less than the set value.
It was configured to be. Claims 2 to 5 and 7 to 9
In the invention described in the above, errors were found while using the optical disc.
Replacement part of the data recording area where the replacement processing was performed
However, when the user cleans the optical disk, for example,
Can be used again by removing trash etc.
In this case, the data recording area is effective.
It is intended for use. The invention according to claim 2 has a data recording area.
The replacement process that was performed earlier.
Part of the data recording area that is not used due to
Can be used for this replacement part by rechecking the minute
If a usable part is detected, the detected usable part is detected.
The minutes are reused for data recording. The invention described in claim 6 is the same as the invention described in claim 2.
An apparatus for carrying out the invention described above, wherein
The usage of the alternate area detected by the column and the extra area
The comparison means compares the set value with a predetermined value to allow
In comparison, the usage amount of the alternative area is
Exceeded the fixed value, that is, the margin of the alternative area is small
Is detected by the comparing means,
Replacement that is no longer used by the replacement process performed earlier
The part is re-examined by the inspection means,
If available part is detected,
Function area as a usable data recording area
It was made. Note that "a usable data recording area is
"Register" means "register as unusable area"
The recorded information on this area that had been
It is synonymous with the above description in the claims.
The word “register” includes the above “delete”.
Needless to say, According to a third aspect of the present invention, the replacement area
Invention for effective use of
In an optical disc recording / reproducing method,
Re-examine the unused parts that are not in use by the replacement process
If a usable portion that can be used is detected, the replacement area
Should be recorded in this usable portion originally recorded in
Data is written back to this usable part, and
To use a spare area that has become empty as a spare area
Is Umono. The invention according to claim 7 is for implementing this.
And a device similar to the invention of claim 6.
Re-examination and use available by this re-examination
When a functional part is detected, the
Data to be recorded in this usable part that is recorded
Data to this usable part and register
Can use the spare area vacated by this writeback
This is registered as a replacement area. The ninth aspect of the present invention relates to the seventh and eighth aspects.
When the usage of the alternative area exceeds the set value,
Data is recorded by registration means
Warning after registration as area or replacement area is completed
Providing a warning means to emit, so that the remaining area of the replacement area is small
To alert the user
You. Further, the invention according to claim 4 is characterized in that
There are no alternative areas to be recorded during the replacement process.
Is to be performed when
If the inspection finds a usable part,
The recording is performed in the usable portion.
The recording process is terminated as described in claim 5.
After that, a warning is issued in the same manner as in the invention of claim 8.
It may be. According to the present invention, the remaining of the spare area is small.
Alerts the user when the remaining
Less, that is, the optical disc being used
There are many replacement processes and the condition of the optical disc is not very good.
To the user and prepare for replacement of the optical disk, etc.
It can be performed in advance. Further, dust or the like may be present in the optical system of the optical disk device.
If normal writing or reading cannot be performed due to
As long as the garbage etc. are not removed even after the replacement process
As a result of the continuous replacement process,
As a result, replacement is over and write processing is performed.
Data may be lost due to interruption of
Was determined to be abnormal. On the other hand, according to the present invention, the non-use state
Of the replacement part in
Data recording area and spare area are always secured for
To reduce the probability of replacement over,
Also, the optics may be cleaned or replaced.
If the used optical disk is used in another optical disk device,
Recorded parts that are no longer used due to disc replacement
Replacement over does not occur because it can be reused,
This optical disc can be used as normal
You. Further, dust or the like adheres on the optical disc.
Error occurs during writing or reading
When this happens, clean the optical disc before reusing it.
Will be re-examined,
Use the recorded part that has recovered
A special effect that no longer occurs. DESCRIPTION OF THE PREFERRED EMBODIMENTS In this embodiment, an optical disk
It is assumed that a magneto-optical disk is used as an example, and the present invention
To explain the configuration related to
The diameter is 3.5 inches in diameter according to the standard of ISO 10090.
Has a data recording capacity of about 128 MB on one side of the
As shown in the principle diagram of FIG.
Magneto-optical disc outside the data recording area
DMA (Defect) that records information for managing
Manageent Area) area and the defect in the magneto-optical disk
That provides an alternative sector to replace the existing sector
A recording area is provided. The magneto-optical disk is provided in the DMA area.
Record management information and replacement information including the total number of replacement sectors
DDS (Disk Difinition Sector) area
Permanently defective sectors detected by pre-shipment inspection
PDL (Prima) that stores the address of the bad block containing
(ry Defect List) area and when using disk media
SDL (S
econdary Defect List) area. In the PDL area, a magneto-optical disk is provided.
Permanent defect section with permanent defects that occurred during disk manufacturing
The above alternative in which the data is replaced by the sector slipping method
This permanent defect addresses the address of the alternate sector in the storage area.
The list corresponding to the sector address is the first replacement sector
It is stored in advance as a list. Further, it was discovered during use of the magneto-optical disk.
Of bad sectors that have been recorded
Linear replacement element that records data in alternate sectors
The use of alternative sectors is
The bad sector address, which is the address of a good sector, and this bad sector address
A replacement address indicating the address of the replacement sector that replaced the good sector
In the SDL area, a list corresponding to the dress
It is configured to record as a replacement sector list. FIG. 2 shows a magneto-optical device constructed by applying the present invention.
FIG. 3 is a block diagram of an embodiment of a disk device,
5 is a flowchart showing an operation example of this embodiment.
3 is a main routine, FIG. 4 is a replacement processing routine,
FIG. 5 is a flowchart showing the reexamination routine. In FIG. 2 showing the structure of the embodiment, 1 is
A writable / readable magneto-optical disk, comprising a spindle
The position is controlled by the spindle motor 3 under the control of the control circuit 2.
It is rotating at a constant speed. To write on the magneto-optical disk 1
Is the bias voltage supplied from the bias magnet control circuit 5.
Generated by exciting the bias magnet 6 with current
The signal processing circuit 8 and the optical head control circuit
Light modulated with write data provided via path 7
The beam is applied from the optical head 4 to the recording portion of the magneto-optical disk 1.
Write data by projecting. The information is recorded on the magneto-optical disk 1.
When reading data, the presence of a magnetic field
Light to the part of the magneto-optical disk 1 to be read
A light beam is projected from the head 4 and reflected at the readout site.
The reflected light is converted into an optical signal by the optical head
By demodulating this optical signal by the processing circuit 8,
The data recorded on the magneto-optical disk 1 is read. What
As is well known, a disk like a magneto-optical disk
Writing or reading on the data recording medium is
This is performed in units of sectors on the recording track of disk 1.
You. The drive controller 10 is not shown.
Less microcomputer and buffer memory 11
FIG. 2 shows this microcomputer.
Of the functions related to the present invention among the processing functions of the
"Stage" 12, "comparison means" 13 and "warning means" 14.
Shown. In the embodiment having the above-described configuration, the main
The processing of the routine will be described with reference to the flowchart of FIG.
I will tell. Step [10] is to mount the magneto-optical disk.
Detecting whether or not the
It is in a standby state until the disk is mounted,
If it is detected in this step that the
Proceeding to step [11], the DMA area of this magneto-optical disk is read.
Read the area and read the magneto-optical disk from the DDS area.
Replacement information including management information and the total number of replacement sectors;
Detected by pre-shipment inspection of disk media from
The first replacement section recording the address of the defective block
And the use of this magneto-optical disk from the SDL area.
Record replacement information for bad sectors that occurred during use.
And the second replacement sector list in the buffer memory 11.
Store. The next step [12] is a command from the host.
This is the step of detecting the command until the command arrives.
Is in a standby state, and when a write command arrives, the next
The data specified in step [13] is
In step [14], the written data
Data is read out and compared with the data written by the comparing means 13.
Perform verification to compare. As a result of this verification, the written data and
If the read data matches, normal writing is performed.
In step [15], it is necessary to perform replacement processing.
It is determined that there is no command and the command waits in step [12]
Returns, but the written data matches the read data.
If not, it means that writing was not done correctly
Then, in step [15], after determining that replacement processing is necessary,
The process proceeds to the replacement process routine [16] described in detail. In the above step [12], the write command
Processing when a command other than the command arrives from the host
Ki is also shown briefly, and examples of specific commands
Examples of the retest command and the eject command
Was. When this recheck command arrives, details will be given later.
Move to the reexamination routine [17] described in
When a media command is received, the media ejection process in step [18]
Eject the magneto-optical disk by pressing the eject button.
The ejection of this magneto-optical disk can also be performed by operating
Be done. It should be noted that other commands are not
The corresponding processing in the routine shown as step [19]
Is performed, and the above-described replacement processing routine and re-inspection routine are performed.
When these processes are completed together with the media
Return to step [12] and wait for command.
You. FIG. 4 shows processing in the above-described replacement processing routine.
Is a flowchart showing the process in step [21].
Buffer memo in step [11] of the main routine
From the management information of this magneto-optical disk stored in the
For example, read the second replacement sector list and
Calculating the number of used sectors from the number of used bytes, etc.
The replacement sector use amount M is obtained by
Of the entire sector prepared as a replacement sector in [22]
The number A is read, and in the subsequent step [23],
Therefore, the number of available replacement sectors (AM) = N is calculated. The calculation result N is set to “0” by the comparing means 13.
Compare, as a result, if N is greater than "0", it can be used
Since there are various spare sectors,
Data that should have been written in step [13]
This usable replacement sector is used in the replacement process in step [25].
Write to. Thereafter, step [14] of the main routine
Was written correctly by the same verification as
Is confirmed, and updates are performed based on the result of this replacement process.
The new replacement information is stored in the buffer memory 11. In the next step [26], this buffer memo is
Reads the number M 'of used replacement sectors updated from the memory 11
Then, in a subsequent step [27], a predetermined set value K
From the buffer memory 11 or the like, and
The value of (K−M ′) is calculated according to 2. Here, the set value K
Should be prepared in a replaceable state.
It indicates the number of sectors. Note that this set value K is a magneto-optical
From the DMA area of the disk, for example,
Read the number of data and, for example, half the number of sectors (512KB)
Is calculated by the arithmetic means 12 and is set as a set value K in the buffer
Although it may be stored in the memory 11, another method and
Then, this set value K itself is set at the time of shipment of the magneto-optical disk drive.
And store it in the ROM of this device.
When the disk unit starts up, it is transferred and stored in the buffer memory.
Or the DMA area of the magneto-optical disk itself.
This set value K itself is stored in
This setting value K is read when the
May be stored. Therefore, in step [28], this (K-M ')
Is used when it is detected that the value of has become smaller than “0”
Warn that the number of possible replacement sectors is running low
Step 14 warns the host and through this host
The condition of the magneto-optical disk is getting worse for the user
Notify. By the way, in step [24] described above, (N>
0), that is, it is determined that there is no
Moves to the reexamination routine of step [31].
Data that has been replaced by a replacement sector as a bad sector
Re-examine the sectors in the data storage area and if this
Available sector in the data recording area
If the data recorded in the replacement sector is
Check that the data recording area to be recorded is available.
Return to the sector that was issued to make a spare sector available.
Is performed. The details of this re-examination routine
Will be described later with reference to FIG. As a result of the processing by this reinspection routine,
Step [32] is whether there is a usable replacement sector
If there is an available replacement sector,
The replacement process of step [25] is executed, but it can be used.
If there is no alternate replacement sector, the replacement
Tells the host that a bar has occurred and that replacement processing is not possible
Notice. FIG. 5 is a flow chart of the reexamination routine described above.
It is a flowchart showing the details of the processing, step
[41] is the same as step [21] of the replacement routine.
The usage M of the replacement sector is obtained, and this usage is determined in step [42].
If the quantity M is "0", the processing of this routine is terminated.
Determines that M> 0, that is, a replacement sector is used
Then, in the next step [43], the main routine
Read from the SDL area in step [11]
11 indicates a bad sector generated during use during use.
Replacement information from the second replacement sector list.
Write dummy data to the bad sector. In the following step [44], in step [43]
Read the written dummy data, and in step [45],
Data written in step [43] and read in step [44]
Verify the data, but if
If there are multiple good sectors, for each bad sector
Repeat steps [43] to [45] above
By doing so, the normal
Find the number of Kuta. In step [46], the number of normal sectors
Is greater than “0”, that is, whether a normal sector exists
If there is no normal sector, this route
End the processing of the next sector, but if there is a normal sector, the next
Proceeding to step [47], the data recorded in the replacement sector
Data to the normal sector where this data should be recorded.
Return to make a spare sector, and in step [48]
The replacement information recorded in the memory 11 is updated. The next steps [49] and [50] are magneto-optical
As the second replacement sector list in the SDL area of the disc
Update the recorded replacement information in step [48] above
Update / record with the replacement information
In step [49], the replacement information in the buffer memory is
Sort by bad sector address
On the magneto-optical disk in step [50] according to the replacement information
The second replacement sector list recorded in the SDL area
Update and end the recheck routine. It should be noted that the defect in the above step [49]
Sorting by sector address order is based on ISO standard
Therefore, if there is no need for sorting, this step [4
9] may be omitted. Also, the re-inspection routine described above
Is performed when the optical disk is loaded in the device.
Is also good. In the above embodiment, an error occurred during use
In the second replacement sector list that records the replacement information for
We have explained the processing based on
Record replacement information for permanent defective sectors
Using the first replacement sector list of the PDL area
Processing can be performed. This embodiment is based on the magneto-optical system according to the ISO standard.
Discs have been described, but each non-standard
Types of magneto-optical disks and optical disks that do not use the magneto-optical effect
Is also applicable to
It will not be obvious. As described above, according to the present invention,
A warning is issued when the spare area is running low.
The user has little spare area remaining, that is,
Of the optical discs, there are many replacement processes,
Notify the user that the condition is not very good and
Preparations such as replacement of disks can be performed. Also, dust or the like may be present in the optical system of the optical disk device.
If normal writing or reading cannot be performed due to
As long as the garbage etc. are not removed even after the replacement process
As a result of the continuous replacement process,
As a result, replacement is over and write processing is performed.
Data may be lost due to interruption of
Was determined to be abnormal. On the other hand, according to the present invention, the non-use state
Of the replacement part in
Data recording area and spare area are always secured for
To reduce the probability of replacement over
You. Further, the optical system is cleaned or replaced.
Overwrite occurred optical disk with another optical disk device
If used, it will no longer be used
Replacement occurs because the recorded part can be reused
And use this optical disk as normal
can do. Also, if dust or the like adheres to the optical disc,
An error occurs during writing or reading, causing
If this happens, clean this optical disc before reusing it.
Will be re-examined,
If there is a part of the record that is being recovered, use this part again
The special effect of preventing the occurrence of replacement over is obtained.
Can be

【図面の簡単な説明】 【図1】本発明の原理説明図である。 【図2】本発明の実施例のブロック図である。 【図3】実施例のメインルーチンの例を示すフローチャ
ートである。 【図4】実施例の交替処理ルーチンの例を示すフローチ
ャートである。 【図5】実施例の再検査ルーチンの例を示すフローチャ
ートである。 【符号の説明】 1 ……書込み・読出し可能な光ディスク 2 ……スピンドル制御回路 3 ……スピンドルモータ 4 ……光ヘッド 5 ……バイアス磁石制御回路 6 ……バイアス磁石 7 ……光ヘッド制御回路 8 ……信号処理回路 9 ……バス 10……ドライブコントローラ 11……バッファメモリ 12……演算手段 13……比較手段 14……警告手段
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram illustrating the principle of the present invention. FIG. 2 is a block diagram of an embodiment of the present invention. FIG. 3 is a flowchart illustrating an example of a main routine of the embodiment. FIG. 4 is a flowchart illustrating an example of a replacement processing routine according to the embodiment; FIG. 5 is a flowchart illustrating an example of a retest routine according to the embodiment; [Description of Signs] 1 ... Writable / readable optical disk 2 ... Spindle control circuit 3 ... Spindle motor 4 ... Optical head 5 ... Bias magnet control circuit 6 ... Bias magnet 7 ... Optical head control circuit 8 ... Signal processing circuit 9 Bus 10 Drive controller 11 Buffer memory 12 Calculation means 13 Comparison means 14 Warning means

─────────────────────────────────────────────────────
【手続補正書】 【提出日】平成14年8月30日(2002.8.3
0) 【手続補正1】 【補正対象書類名】明細書 【補正対象項目名】全文 【補正方法】変更 【補正内容】 【書類名】 明細書 【発明の名称】 光ディスク装置 【特許請求の範囲】 【請求項1】 先に行われた交替処理によって使用され
なくなった被交替セクタを再検査し、前記再検査によっ
て使用可能な被交替セクタが検出された場合には、この
使用可能セクタに交替先の代替セクタからデータを書戻
し、この使用可能セクタを使用可能なデータ記録領域と
する制御手段を備えた光ディスク装置において、 前記制御手段は、ライトコマンドによるデータ書込の際
に交替処理が必要になり、該交替処理中に、前記再検査
を行い、使用可能な被交替セクタがあればこの使用可能
セクタに交替先の代替セクタからデータを書戻し、該書
戻しによって使用可能となった代替セクタに前記必要に
なった代替処理による記録を行い、該交替処理が終了し
た後に使用可能な代替セクタ数が残り少ないことを示す
警告を発するとともに、前記再検査によって使用可能な
被交替セクタが無ければ交替処理不可能であることを示
す警告を発することを特徴とする光ディスク装置。 【請求項2】 先に行われた交替処理によって使用され
なくなった被交替セクタを再検査し、前記再検査によっ
て使用可能な被交替セクタが検出された場合には、この
使用可能セクタに交替先の代替セクタからデータを書戻
し、この使用可能セクタを使用可能なデータ記録領域と
する制御手段を備えた光ディスク装置において、 前記制御手段は、ライトコマンドによるデータ書込の際
に交替処理が必要になり、該交替処理時に、代替セクタ
の使用量が予め定めた所定値を越えている場合に、先に
行われた交替処理によって不使用状態にある被交替セク
タを自動的に再検査し、使用可能な被交替セクタがあれ
ばこの使用可能セクタに交替先の代替セクタからデータ
を書戻し、該書戻しによって使用可能となった代替セク
タに前記必要になった代替処理による記録を行い、該交
替処理が終了した後に使用可能な代替セクタ数が残り少
ないことを示す警告を発することを特徴とする光ディス
ク装置。 【請求項3】 前記制御手段は、前記交替処理が終了し
た後の代替セクタの使用量が予め定めた設定値を越えて
いる場合に警告を発することを特徴とする請求項1又は
2記載の光ディスク装置。 【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、レーザー光によっ
て光磁気ディスクや相変化型ディスク等の光ディスクの
書込みまたは読出しを行なう光ディスク装置に関する。 【0002】 【従来の技術】上記のような光ディスクは、パーソナル
コンピュータなどの大容量外部記憶媒体として脚光を浴
びているが、この光ディスクはレーザー光を用いること
によって記録媒体上にサブミクロンオーダーの記録マー
クを形成することができるため、今まで外部記録媒体と
して広く用いられているフロッピーディスクやハードデ
ィスクに比べて格段に記憶容量を増大させることができ
る。 【0003】例えばISO 10090 規格の光磁気ディスク
は、可換型の3.5 インチディスク片面で128 MBの公称
記憶容量を持っており、これと同一サイズで磁気記録を
行なう3.5 インチフロッピーディスク1枚の記憶容量は
約1MBであることから、光磁気ディスクは1枚でフロ
ッピーディスク128 枚分の記憶容量を持っている。 【0004】このように、光磁気ディスク等の光ディス
クは記録密度の非常に高い可換型の記録媒体であるため
に、製造中に記録媒体にむらや傷などの欠陥を生じて製
品の歩留まりが悪くなるという問題があり、さらに、上
記したような可換型の光ディスクにおいては完全な密閉
ができないためにゴミなどが侵入して書込み・読出しが
できなくなるなどの問題がある。 【0005】このため、光ディスクでは書込み・読出し
エラーに対して交替処理が採用されており、この交替処
理は、あるセクタへの書込みまたは読出し中にエラーの
発生量が閾値を超えた場合にはそのセクタの使用を停止
し、このエラーが発生した不良セクタの代わりに予め公
称記憶容量を超えて設けられている代替セクタを使用し
て情報を記録するような処理をディスクコントローラな
どによって自動的に行なうものである。 【0006】この交替処理を採用すれば、ゴミの付着な
どの何らかの原因でそのセクタにエラーが発生するよう
になっても代わりのセクタを使用して記録することがで
きることからデータの欠落を未然に防ぐことができ、し
かも、ユーザー側から見た場合には、光ディスクの記憶
容量が減ることもなく、また見掛け上の書込み・読出し
動作には何らの変化も生じないので、エラー発生を意識
することなくデータの記録・再生を行なうことができ
る。 【0007】 【発明が解決しようとする課題】しかしながら代替セク
タの数は有限であり、例えば、3.5 インチ光磁気ディス
クカートリッジに関する上記ISO 規格では最大1024の代
替セクタを設けることになっているが、もし代替セクタ
を1023セクタ使用してあと1つしか代替セクタが残って
いない場合に2セクタ分の交替処理が起こると交替オー
バーとなって書き込みが中断され、上位装置の対応の仕
方によっては書込むべきデータが欠落してしまう可能性
がある。 【0008】また、交換可能な記録媒体を用いる光ディ
スク装置においては、記録媒体が密閉されている磁気デ
ィスク装置(いわゆるハードディスク装置)とは異なっ
て、記録媒体や光学系にゴミなどが付着し易いという問
題がある。 【0009】しかしながら、交換可能な光ディスクにゴ
ミなどが付着した場合には、記録媒体が密閉されている
磁気ディスク装置とは異なってユーザがこの記録媒体の
クリーニングを行なうことができるので、このクリーニ
ングによって欠陥を回復することができる。 【0010】また、光学系にゴミなどが付着したときに
は再生信号の出力が低下することから記録媒体に欠陥が
生じたものとして交替処理が行なわれるが、次の代替セ
クタに対して書込・読出を行なっても再生信号の出力は
回復せずに低下したままであるから、さらに次の代替セ
クタへの書込・読出を行なうことになる。 【0011】したがって、光学系にゴミが付着した状態
が継続している限り上記のように次々に代替セクタへの
書込・読出しが行なわれ、ついには代替セクタが無くな
って交替オーバーになってしまうので、この記録媒体は
使用不可能なものとされてしまうことになる。 【0012】なお、磁気ディスク装置における交替処理
は、記録媒体の劣化や損傷,ヘッドの損傷などの理由に
基づいて行なわれるものであり、一般的には記録媒体の
初期化の際に実行される。 【0013】本発明は先に行われた交替処理によって不
使用状態とされた記録部分をも活用できるようにした光
ディスク装置を提供することを目的とする。 【0014】 【課題を解決するための手段】請求項1記載の発明は、
先に行われた交替処理によって使用されなくなった被交
替セクタを再検査し、前記再検査によって使用可能な被
交替セクタが検出された場合には、この使用可能セクタ
に交替先の代替セクタからデータを書戻し、この使用可
能セクタを使用可能なデータ記録領域とする制御手段を
備えた光ディスク装置において、前記制御手段は、ライ
トコマンドによるデータ書込の際に交替処理が必要にな
り、該交替処理中に、前記再検査を行い、使用可能な被
交替セクタがあればこの使用可能セクタに交替先の代替
セクタからデータを書戻し、該書戻しによって使用可能
となった代替セクタに前記必要になった代替処理による
記録を行い、該交替処理が終了した後に使用可能な代替
セクタ数が残り少ないことを示す警告を発するととも
に、前記再検査によって使用可能な被交替セクタが無け
れば交替処理不可能であることを示す警告を発すること
を特徴とする光ディスク装置に存する。 【0015】請求項2記載の発明は、先に行われた交替
処理によって使用されなくなった被交替セクタを再検査
し、前記再検査によって使用可能な被交替セクタが検出
された場合には、この使用可能セクタに交替先の代替セ
クタからデータを書戻し、この使用可能セクタを使用可
能なデータ記録領域とする制御手段を備えた光ディスク
装置において、前記制御手段は、ライトコマンドによる
データ書込の際に交替処理が必要になり、該交替処理時
に、代替セクタの使用量が予め定めた所定値を越えてい
る場合に、先に行われた交替処理によって不使用状態に
ある被交替セクタを自動的に再検査し、使用可能な被交
替セクタがあればこの使用可能セクタに交替先の代替セ
クタからデータを書戻し、該書戻しによって使用可能と
なった代替セクタに前記必要になった代替処理による記
録を行い、該交替処理が終了した後に使用可能な代替セ
クタ数が残り少ないことを示す警告を発することを特徴
とする光ディスク装置に存する。 【0016】請求項3記載の発明は、請求項1又は2記
載の光ディスク装置において、前記制御手段は、前記交
替処理が終了した後の代替セクタの使用量が予め定めた
設定値を越えている場合に警告を発することを特徴とす
る光ディスク装置に存する。 【0017】 【作用】図1の原理図を参照して本発明の原理を説明す
る。なお、この図1には光ディスクのデータ記録領域,
代替セクタ領域およびDMA領域を模式的に示してあ
り、実際の光ディスクではこれら各領域の記録トラック
はディスク上に同心円状、もしくは、らせん状に形成さ
れており、セクタはこの記録トラック上に順次設けられ
るものである。 【0018】請求項1記載の発明は、光ディスクの使用
中にエラーが発見されて交替処理が行なわれたデータ記
録領域の被交替セクタが、例えばユーザによるこの光デ
ィスクの清掃などによってゴミなどが除かれることによ
って再び使用可能になることがあるので、この場合にも
データ記録領域を有効に利用するためのものである。 【0019】請求項1記載の発明はデータ記録領域を有
効に使用するためのものであり、制御手段は、ライトコ
マンドによるデータ書込の際に交替処理が必要になり、
該交替処理中に、前記再検査を行い、使用可能な被交替
セクタがあればこの使用可能セクタに交替先の代替セク
タからデータを書戻し、該書戻しによって使用可能とな
った代替セクタに前記必要になった代替処理による記録
を行なうことで、データ書込中に代替領域が無くなって
も、データ書込を中断することなく、データ書込を継続
し交替処理が終了した後に使用可能な代替セクタ数が残
り少ないことを示す警告を発するとともに、前記再検査
によって使用可能な被交替セクタが無ければ交替処理不
可能であることを示す警告を発することで、ユーザに代
替セクタの残りが少ないことを知らせて注意を喚起する
とともに、交替処理不可能でこれ以上使用可能となる代
替セクタが無いことを知らせる。 【0020】請求項2の発明はデータ記録領域を有効に
使用するためのものであり、制御手段は、ライトコマン
ドによるデータ書込の際に交替処理が必要になり、該交
替処理時に、代替セクタの使用量が予め定めた所定値を
越えている場合に、先に行われた交替処理によって不使
用状態にある被交替セクタを自動的に再検査し、使用可
能な被交替セクタがあればこの使用可能セクタに交替先
の代替セクタからデータを書戻し、該書戻しによって使
用可能となった代替セクタに前記必要になった代替処理
による記録を行なうことで、データ書込時に代替セクタ
の使用量が予め定めた所定値を越えていても、データ書
込を中断することなく、データ書込を継続し交替処理が
終了した後に使用可能な代替セクタ数が残り少ないこと
を示す警告を発することで、ユーザに代替セクタの残り
が少ないことを知らせて注意を喚起する。 【0021】請求項3記載の発明は請求項1又は2記載
の発明の作用に加え。制御手段は、交替処理が終了した
後の代替セクタの使用量が予め定めた設定値を越えてい
る場合に警告を発することで、ユーザにその旨を知らせ
る。 【0022】光ディスク装置の光学系にゴミなどが付着
して正常な書込みや読出しが行なえない場合、従来は交
替処理を行なってもゴミなどが除去されない限り交替処
理が連続して行なわれる結果として代替セクタが不足す
るようになって交替オーバーが発生し、書込み処理の中
断などによるデータの欠落が生じたり、光ディスクが異
常であると判断されていた。 【0023】これに対し、本発明によれば、データ書込
中に代替領域が無くなっても、不使用状態にある被交替
セクタが自動的な再検査によって使用可能な状態に回復
されるためにデータ記録領域や代替セクタが常に確保さ
れて交替オーバーが発生する確率を下げることができ、
また、光学系を清掃したりあるいは交替オーバーが発生
した光ディスクを他の光ディスク装置で使用すれば、光
ディスクの交替処理により使用しなくなった記録部分を
再使用できるために交替オーバーが発生しなくなって、
この光ディスクを正常なものとして使用することができ
る。 【0024】さらに、光ディスク上にゴミなどが付着し
て書込みや読出しの際にエラーが発生して交替オーバー
になったときにも、この光ディスクを清掃してから再使
用すればいずれ自動的に再検査が行なわれるため、使用
可能な状態に回復している記録部分を再び使用して交替
オーバーが発生しなくなるという格別の効果が得られ
る。 【0025】 【発明の実施の形態】この実施の形態では、光ディスク
の一例として光磁気ディスクを用いるものとし、その本
発明に関連する構成について説明すると、この光磁気デ
ィスクはISO10090 の規格によるものであって、直径3.5
インチ片面で約128MB のデータ記録容量を有してお
り、図1の原理図に示したように、このデータ記録容量
に相当する記録容量を持つデータ記録領域の外に光磁気
ディスクの管理を行なうための情報を記録するDMA(D
efect Manageent Area) 領域と、光磁気ディスク中の欠
陥のあるセクタを代替するための代替セクタが用意され
た代替記録領域とが設けられている。 【0026】上記のDMA領域には、この光磁気ディス
クの管理情報と全代替セクタ数を含む交替情報とを記録
したDDS(Disk Difinition Sector)領域と、ディスク
媒体出荷時前の検査によって検出された永久欠陥セクタ
を含む不良ブロックのアドレスを格納したPDL(Prima
ry Defect List) 領域と、ディスク媒体の使用中に発生
した不良セクタについての交替情報を記録したSDL(S
econdary Defect List) 領域とが設けられている。 【0027】そして、上記PDL領域には、光磁気ディ
スクの製造時に発生した永久欠陥を有する永久欠陥セク
タをセクタスリッピング方式によって代替した上記代替
記憶領域における代替セクタのアドレスをこの永久欠陥
セクタのアドレスに対応させたリストが第1交替セクタ
リストとして予め格納されている。 【0028】さらに、光磁気ディスクの使用中に発見さ
れた不良セクタについては、不良セクタに記録すべきデ
ータを代替セクタに順次記録するリニアリプレイスメン
ト方式によって代替セクタを使用するようにし、この不
良セクタのアドレスである不良セクタアドレスとこの不
良セクタを代替した代替セクタのアドレスを示す代替ア
ドレスとを対応させたリストを上記SDL領域に第2交
替セクタリストとして記録するように構成されている。 【0029】図2は本発明を適用して構成した光磁気デ
ィスク装置の実施形態のブロック図であり、図3ないし
図5はこの実施形態の動作例を示すフローチャートであ
って、図3はメインルーチン,図4は交替処理ルーチ
ン,図5は再検査ルーチンを示すフローチャートであ
る。 【0030】実施形態の構成を示した図2において、1
は書込・読出可能な光磁気ディスクであって、スピンド
ル制御回路2の制御の基にスピンドルモータ3によって
所定の回転数で回転している。 【0031】この光磁気ディスク1に書込みを行なうに
は、バイアス磁石制御回路5から供給されるバイアス電
流によってバイアス磁石6を励磁することによって発生
する磁界の存在下で、信号処理回路8,光ヘッド制御回
路7を介して与えられる書き込みデータで変調された光
ビームを光ヘッド4から光磁気ディスク1の記録部位に
投射することによってデータを書込む。 【0032】また、光磁気ディスク1に記録されている
データを読出す際には、バイアス磁石による磁界の存在
しない状態で光磁気ディスク1の読出すべき部位に光ヘ
ッド4から光ビームを投射し、この読出部位で反射され
た反射光を光ヘッド制御回路7で光信号に変換し、信号
処理回路8によってこの光信号を復調することによって
光磁気ディスク1に記録されていたデータを読出す。な
お、周知のように、光磁気ディスクのようなディスク状
データ記録媒体についての書込みあるいは読出しはディ
スク1の記録トラック上のセクタを単位として行なわれ
る。 【0033】ドライブコントローラ10は、図示しない
マイクロコンピュータとバッファメモリ11とを少なく
とも備えており、この図2ではこのマイクロコンピュー
タの処理機能の中で本発明に関連する機能を「演算手
段」12,「比較手段」13および「警告手段」14と
して示した。 【0034】上記構成を有する前記実施形態におけるメ
インルーチンの処理を図3のフローチャートを参照して
説明する。 【0035】ステップ[10]は光磁気ディスクが装着さ
れたか否かを検出するステップであって、光磁気ディス
クが装着されるまでは待機状態にあり、光磁気ディスク
が装着されたことがこのステップで検出されると次のス
テップ[11]に移って、この光磁気ディスクのDMA領
域の読込みを行い、DDS領域からの光磁気ディスクの
管理情報と全代替セクタ数を含む交替情報と、PDL領
域からのディスク媒体出荷時前の検査によって検出され
た不良ブロックのアドレスを記録した前記第1交替セク
タリストと、SDL領域からのこの光磁気ディスクの使
用中に発生した不良セクタについての交替情報を記録し
た前記第2交替セクタリストとをバッファメモリ11に
格納する。 【0036】次のステップ[12]はホストからのコマン
ドを検出するステップであって、コマンドが到来するま
では待機状態にあり、ライトコマンドが到来すると次の
ステップ[13]で指示されたデータをこの光磁気ディス
クに書込み、続くステップ[14]ではこの書込んだデー
タを読出して比較手段13によって書込んだデータと比
較するベリファイを行なう。 【0037】このベリファイの結果、書込んだデータと
読出したデータとが一致すれば正常な書込みが行なわれ
ているのでステップ[15]では交替処理を行なう必要が
ないものと判断してステップ[12]のコマンド待機状態
に戻るが、書込んだデータと読出したデータとが一致し
なければ書込みが正しく行なわれなかったことになるの
で、ステップ[15]では交替処理が必要と判断した後に
詳細に説明する交替処理ルーチン[16]に移る。 【0038】上記したステップ[12]にはライトコマン
ド以外のコマンドがホストから到来したときの処理の分
岐についても簡略に示してあり、具体的なコマンドの例
として再検査コマンドとイジェクトコマンドとを例示し
た。 【0039】この再検査コマンドが到来すると後に詳細
に説明する再検査ルーチン[17]に移り、また、イジェ
クトコマンドが到来するとステップ[18]の媒体排出処
理で光磁気ディスクを排出するが、イジェクトボタンを
操作することによってもこの光磁気ディスクの排出が行
なわれる。 【0040】なお、その他のコマンドに対してはステッ
プ[19]として示したルーチンでそれぞれ対応する処理
が行なわれ、上記した交替処理ルーチン,再検査ルーチ
ン,媒体排出処理とともにこれらの処理が終了すると前
述のステップ[12]に戻ってコマンドの待機状態にな
る。 【0041】図4は上記した交替処理ルーチンでの処理
を示すフローチャートであって、ステップ[21]では前
述したメインルーチンのステップ[11]でバッファメモ
リ11に格納したこの光磁気ディスクの管理情報中から
例えば第2交替セクタリストを読出してこのリスト上の
使用バイト数から使用済セクタの数を計算することなど
によって代替セクタの使用量Mを求め、また、ステップ
[22]で代替セクタとして用意されているセクタ全体の
数Aとを読出し、続くステップ[23]で演算手段12に
よって使用可能な代替セクタ数(A-M) =Nを算出する。 【0042】この算出結果Nを比較手段13で“0”と
比較し、その結果、Nが“0”より大きければ使用可能
な代替セクタが存在していることになるから、メインル
ーチンのステップ[13]で書込むべきであったデータを
ステップ[25]の交替処理でこの使用可能な交替セクタ
に書込む。 【0043】その後、メインルーチンのステップ[14]
と同様なベリファイによって書込みが正しく行なわれた
ことの確認が実行され、この交替処理の結果によって更
新された交替情報をバッファメモリ11に格納する。 【0044】次のステップ[26]ではこのバッファメモ
リ11から更新された使用済代替セクタの数M’を読出
し、続くステップ[27]で予め定められている設定値K
を上記バッファメモリ11などから読出して演算手段1
2によって(K-M')の値を算出する。ここで、設定値K
は、交替可能な状態で用意しておくことが望ましい代替
セクタの数を示すものである。 【0045】なお、この設定値Kについては、光磁気デ
ィスクのDMA領域から例えば1024KBである全代替セク
タ数を読出して例えばこのセクタ数の半分の値(512KB)
を演算手段12で求めてこれを設定値Kとしてバッファ
メモリ11に格納するようにしてもよいが、別の方法と
して、この設定値K自体を光磁気ディスク装置の出荷時
にこの装置内のROMなどに記憶させておいて光磁気デ
ィスク装置の起動時にバッファメモリに転送・記憶させ
るようにし、あるいは、光磁気ディスク自体のDMA領
域にこの設定値K自体を格納しておいて光磁気ディスク
の装着時にこの設定値Kを読込んでバッファメモリ11
に記憶させるようにしてもよい。 【0046】したがって、ステップ[28]でこの(K-M')
の値が“0”より小さくなったことが検出されると使用
可能な代替セクタの数が残り少なくなったことを警告手
段14からホストに対して警告し、このホストを介して
ユーザにこの光磁気ディスクの状態が悪化していること
を報知する。 【0047】ところで、前述したステップ[24]で(N>
0) 、すなわち交替可能な代替セクタがないと判断され
たときにはステップ[31]の再検査ルーチンに移って、
不良セクタとして代替セクタによって交替されているデ
ータ記憶領域のセクタを自動的に再検査し、もしこの交
替されているデータ記録領域のセクタに使用可能なセク
タがあれば代替セクタに記録されているデータを本来こ
のデータが記録されるべきデータ記録領域の使用可能な
ことが検出されたセクタに戻して、代替セクタを空ける
ようにする処理が実行される。なお、この再検査ルーチ
ンの詳細については後に図5を参照しながら説明する。 【0048】この再検査ルーチンによる処理の結果、利
用可能な代替セクタが存在するか否かがステップ[32]
によって判断され、利用可能な代替セクタがあれば前記
のステップ[25]の交替処理が実行されるが、利用可能
な代替セクタがない場合にはステップ[33]で交替オー
バーが発生して交替処理が不可能であることをホストに
通知する。 【0049】図5は、前述した再検査ルーチンにおける
処理の詳細を示すフローチャートであって、ステップ
[41]は交替処理ルーチンのステップ[21]と同様に代
替セクタの使用量Mを求め、ステップ[42]でこの使用
量Mが“0”であればこのルーチンの処理を終了する
が、M>0 、すなわち代替セクタが使用されていると判断
されれば、次のステップ[43]でメインルーチンのステ
ップ[11]でSDL領域から読出されてバッファメモリ
11に記憶されている使用中に発生した不良セクタにつ
いての交替情報を第2交替セクタリストから読出してこ
の不良セクタにダミーデータを書込む。 【0050】続くステップ[44]ではステップ[43]で
書込んだダミーデータを読出し、ステップ[45]ではス
テップ[43]で書込んだデータとステップ[44]で読出
したデータとのベリファイを行なうが、もし上記した不
良セクタが複数あれば、それぞれの不良セクタに対して
上記ステップ[43]ないしステップ[45]の処理を繰返
すことによって、正常に書込み/読出しができた正常セ
クタの数を求める。 【0051】ステップ[46]では、この正常セクタの数
が“0”より大きい、すなわち正常セクタが存在するか
否かを判断して、もし正常セクタがなければこのルーチ
ンの処理を終了するが、正常セクタが存在すれば次のス
テップ[47]に移って、代替セクタに記録されているデ
ータを本来このデータが記録されるべき正常セクタに書
戻して代替セクタを空け、ステップ[48]でバッファメ
モリ11に記録されている交替情報を更新する。 【0052】次のステップ[49]および[50]は、光磁
気ディスクのSDL領域に第2交替セクタリストとして
記録されている交替情報を上記のステップ[48]で更新
された交替情報によって更新・記録するステップであっ
て、ステップ[49]ではバッファメモリ内の交替情報を
不良セクタのアドレス順にソートし、このソートされた
交替情報によってステップ[50]で光磁気ディスクの上
記SDL領域に記録されている第2交替セクタリストを
更新して、この再検査ルーチンを終了する。 【0053】なお、上記のステップ[49]における不良
セクタのアドレス順によるソートはISO 規格によるもの
であるから、ソートの必要がなければこのステップ[4
9]は省略してもよい。また、上記した再検査ルーチン
は、光ディスクを装置に装着したときに行うようにして
もよい。 【0054】上述の実施形態では使用中に発生したエラ
ーについての交替情報を記録した第2交替セクタリスト
に基づいた処理について説明したが、光ディスクの製造
時に発生した永久欠陥セクタについての交替情報を記録
した前記PDL領域の第1交替セクタリストを用いて同
様な処理を行なうことができる。 【0055】また、この実施形態はISO 規格による光磁
気ディスクについて説明したが、この規格に基づかない
各種の光磁気ディスクや光磁気効果を用いない光ディス
クについても同様に適用し得ることは、特に説明するま
でもなく明らかであろう。 【0056】 【発明の効果】以上説明したように、本発明によれば、
光ディスク装置の光学系にゴミなどが付着して正常な書
込みや読出しが行なえない場合、従来は交替処理を行な
ってもゴミなどが除去されない限り交替処理が連続して
行なわれる結果として代替セクタが不足するようになっ
て交替オーバーが発生し、書込み処理の中断などによる
データの欠落が生じたり、光ディスクが異常であると判
断されていた。 【0057】これに対し、本発明によれば、データ書込
中に代替領域が無くなっても、直ちに書込み処理を中断
して警告することなく、不使用状態にある被交替セクタ
が自動的な再検査によって使用可能な状態に回復される
ためにデータ記録領域や代替セクタが常に確保されて交
替オーバーが発生する確率を下げることができる。 【0058】さらに、光学系を清掃したりあるいは交替
オーバーが発生した光ディスクを他の光ディスク装置で
使用すれば、光ディスクの交替処理により使用しなくな
った記録部分を再使用できるために交替オーバーが発生
しなくなって、この光ディスクを正常なものとして使用
することができ、交替処理が終了した後に警告すること
で、代替セクタの残りが少ないことをユーザに知らせて
注意を喚起するとともに、交替処理不可能でこれ以上使
用可能となる代替セクタが無いことを知らせる。また、
交替処理が終了した後の代替セクタの使用量が予め定め
た設定値を越えている場合に警告を発することで、ユー
ザにその旨を知らせる。 【0059】また、光ディスク上にゴミなどが付着して
書込みや読出しの際にエラーが発生して交替オーバーに
なったときにもこの光ディスクを清掃してから再使用す
ればいずれ自動的に再検査が行なわれるため、使用可能
な状態に回復している記録部分があればこの部分を再び
使用して、書込み処理の中断などによるデータの欠落が
生じる交替オーバーの発生を防止できるという格別の効
果が得られる。 【図面の簡単な説明】 【図1】本発明の原理説明図である。 【図2】本発明の実施形態のブロック図である。 【図3】実施形態のメインルーチンの例を示すフローチ
ャートである。 【図4】実施形態の交替処理ルーチンの例を示すフロー
チャートである。 【図5】実施形態の再検査ルーチンの例を示すフローチ
ャートである。 【符号の説明】 1 ……書込み・読出し可能な光ディスク 2 ……スピンドル制御回路 3 ……スピンドルモータ 4 ……光ヘッド 5 ……バイアス磁石制御回路 6 ……バイアス磁石 7 ……光ヘッド制御回路 8 ……信号処理回路 9 ……バス 10……ドライブコントローラ 11……バッファメモリ 12……演算手段 13……比較手段 14……警告手段 【手続補正2】 【補正対象書類名】図面 【補正対象項目名】図4 【補正方法】変更 【補正内容】 【図4】 【手続補正3】 【補正対象書類名】図面 【補正対象項目名】図5 【補正方法】変更 【補正内容】 【図5】
────────────────────────────────────────────────── ───
[Procedure for Amendment] [Date of Submission] August 30, 2002 (2002.8.3
0) [Procedure amendment 1] [Document name to be amended] Description [Item name to be amended] Full text [Amendment method] Change [Content of amendment] [Document name] Description [Title of invention] Optical disc device [Claims] 1. The method according to claim 1, which is used by a replacement process performed earlier.
Re-examine the replaced sector that has disappeared, and
If a usable replacement sector is detected,
Write back data from the replacement destination sector to an available sector
This usable sector is used as an available data recording area.
An optical disk device provided with a control unit for performing data writing by a write command.
The replacement process is required during the replacement process.
And if there are available replacement sectors,
Write data back from the replacement sector to the
The need for an alternate sector made available by
Recording by the substitute process that has become
Indicates that the number of available alternative sectors after running is low
Gives a warning and can be used by the retest
Indicates that replacement processing is not possible if there is no replacement sector.
An optical disk device that issues a warning. 2. The method according to claim 1, wherein said first and second replacement processes are used.
Re-examine the replaced sector that has disappeared, and
If a usable replacement sector is detected,
Write back data from the replacement destination sector to an available sector
This usable sector is used as an available data recording area.
An optical disk device provided with a control unit for performing data writing by a write command.
In the replacement process, the replacement sector is required.
If the amount of used exceeds the predetermined value,
Replacement sections that are unused due to the replacement process performed
Automatically re-checks for available replacement sectors.
Data from the alternate sector at the replacement destination
And the alternate section made available by the write-back.
Record the data in the above-mentioned alternative processing, and
Available after the replacement process is completed
Light warning that a warning is
Device. 3. The control means terminates the replacement process.
After the replacement sector usage exceeds the preset value
2. A warning is issued when the user is present.
2. The optical disc device according to 2. Description: BACKGROUND OF THE INVENTION [0001] 1. Field of the Invention
Optical disks such as magneto-optical disks and phase-change disks
The present invention relates to an optical disk device that performs writing or reading. 2. Description of the Related Art An optical disk as described above is a personal computer.
Being spotlighted as a large-capacity external storage medium for computers, etc.
However, this optical disc uses laser light.
Submicron-order recording mark on the recording medium
Can be formed with external recording media.
Widely used floppy disks and hard disks
Storage capacity can be significantly increased compared to disks.
You. [0003] For example, a magneto-optical disk of the ISO 10090 standard
Has a nominal size of 128 MB on one side of a replaceable 3.5-inch disk
It has a storage capacity, and magnetic recording with the same size
The storage capacity of one 3.5 inch floppy disk is
Since it is about 1 MB, a single magneto-optical disk
It has a storage capacity of 128 ppypie disks. As described above, an optical disk such as a magneto-optical disk
Is a replaceable recording medium with a very high recording density.
During production, defects such as unevenness and scratches
There is a problem that the yield of goods is poor,
Completely sealed for interchangeable optical discs as noted
Writing / reading is impossible
There are problems such as being unable to do so. For this reason, in the case of an optical disk,
Alternation processing is adopted for errors, and this
The problem is that an error occurs while writing or reading a sector.
Stop using the sector if the amount exceeds the threshold
In place of the bad sector where this error occurred,
Use an alternate sector that exceeds the nominal storage capacity.
Processing such as recording information with a disk controller
This is automatically performed by [0006] If this replacement process is adopted, no dust adheres.
Whichever causes the sector to fail
Can be recorded using alternative sectors.
Can prevent data loss beforehand,
From the user's point of view, the storage of the optical disc
No reduction in capacity and apparent writing / reading
No change in operation, so be aware of errors
Data can be recorded and reproduced without
You. [0007] However, the alternative section
The number of disks is finite, for example, 3.5 inch magneto-optical
The above ISO standard for cartridges has a maximum of 1024
A replacement sector is to be provided.
Use 1023 sectors and only one alternative sector remains
If the replacement process for two sectors occurs when there is no
And the writing is interrupted, and the host
There is a possibility that data to be written may be missing depending on the person
There is. An optical disk using a replaceable recording medium is used.
In a disk device, a magnetic disk in which a recording medium is sealed is used.
Different from disk device (so-called hard disk device)
The dust or dirt easily adheres to the recording medium or optical system.
There is a title. [0009] However, a replaceable optical disk is not
The recording medium is tightly closed
Unlike a magnetic disk drive, the user
Cleaning can be performed.
Can recover the defect. Also, when dust or the like adheres to the optical system,
Means that the output of the playback signal decreases,
Replacement processing is performed as if it occurred, but the next alternative
Even if writing / reading is performed to the
It remains low without recovering, so the next alternative
Writing and reading to and from the memory. Therefore, a state in which dust adheres to the optical system
Continue to alternate sectors as described above as long as
Writing / reading is performed, and finally there is no alternative sector.
Is overwritten, so this recording medium
It would be unusable. The replacement process in the magnetic disk device
May be used for reasons such as deterioration or damage of the recording medium and damage to the head.
It is generally performed on the basis of a recording medium.
Executed during initialization. According to the present invention, the replacement process performed earlier
Light that makes it possible to use the recording part that has been used
It is an object to provide a disk device. Means for Solving the Problems The invention according to claim 1 is:
Exchange that is no longer used by the replacement process performed earlier
Re-examine the replacement sector, and
If a replacement sector is detected, this available sector
Write back the data from the replacement sector to
Control means to make the active sector a usable data recording area
In the optical disc device provided with the
Replacement processing is not required when writing data
During the replacement process, the re-inspection is performed and the
If there is a replacement sector, this available sector is replaced with a replacement destination.
Write back data from the sector and use it
By the necessary alternative processing to the alternative sector
Make a record and use the alternatives available after the replacement process is completed.
Issue a warning that the number of sectors is low
There is no replacement sector that can be used by the retest.
Issue a warning that the replacement is not possible
An optical disc device characterized by the following. According to the second aspect of the present invention, the replacement performed earlier is performed.
Re-examine replaced sectors that are no longer used by processing
And a usable replacement sector is detected by the retest.
If this is done, this available sector will be replaced by the replacement sector.
Write data back from the
Optical disk equipped with control means for functioning data recording area
In the apparatus, the control means is configured to execute a write command
Replacement processing is required when writing data.
When the usage of the replacement sector exceeds a predetermined value.
Is not used by the replacement process performed earlier.
Automatically re-examines certain replacement sectors and
If there is a replacement sector, this available sector
Write back the data from the
In the replacement sector that has become necessary
Recording, and an alternative cell that can be used after the replacement process is completed.
It warns that the number of
In the optical disk device. The invention according to claim 3 is the invention according to claim 1 or 2.
In the optical disk device described above, the control means includes:
After the replacement process is completed, the usage amount of the replacement sector is determined in advance.
A warning is issued when the set value is exceeded.
Existing in optical disk devices. The principle of the present invention will be described with reference to the principle diagram of FIG.
You. FIG. 1 shows a data recording area of the optical disc,
The alternative sector area and the DMA area are schematically shown.
In an actual optical disc, the recording tracks of these areas
Is formed concentrically or spirally on the disc.
Sectors are sequentially provided on this recording track.
Things. According to the first aspect of the present invention, an optical disk is used.
Data record where an error was found during the replacement process
The replacement sector of the recording area is
Garbage is removed by cleaning the disk, etc.
Can be used again, so in this case also
This is for effectively using the data recording area. The first aspect of the present invention has a data recording area.
Control means, and
Replacement processing is required when writing data with a command,
During the replacement process, the re-inspection is performed and a usable replacement
If there is a sector, this available sector is replaced with the replacement sector.
Data from the data, and it becomes usable by the write-back.
By the above-mentioned necessary alternative processing in the alternative sector
The replacement area is lost during data writing.
Continues data writing without interrupting data writing
After the replacement process is completed, the number of
Issue a warning indicating that the
If there is no replacement sector that can be used,
By issuing a warning that it is possible,
Alerts you that there are few spare sectors left
In addition, replacement processing is not possible and can be used anymore.
Notify that there is no spare sector. According to the second aspect of the present invention, the data recording area can be effectively used.
For use, and the control means is a light command.
Replacement processing is required when writing data with
During the replacement process, the usage amount of the replacement sector
If it exceeds the limit, it will be
Automatically re-examines the replacement sector that is in use for use.
If there is a functional replacement sector, the replacement destination is
Data back from the alternate sector of
Alternative processing required for the alternative sector that has become available
By performing the recording by the data, the alternative sector can be
Even if the amount of used exceeds the predetermined value, the data
Data writing without interrupting
The remaining number of available alternative sectors after completion is low
Will warn the user of the remaining alternate sector.
Alerts you that there are few. The invention according to claim 3 is the invention according to claim 1 or 2.
In addition to the function of the invention. The control means has completed the replacement process.
The usage amount of the subsequent alternative sector exceeds the preset value.
Alerts the user when a
You. Dust adheres to the optical system of the optical disk device
If normal writing or reading cannot be performed
Even if the replacement process does not remove dust,
Insufficient replacement sectors as a result of continuous processing
And the replacement is over, during the writing process
Data may be lost due to disconnection, etc.
Was determined to be normal. On the other hand, according to the present invention, the data writing
Replacement that is unused even if there is no alternative area inside
Sectors are restored to usable state by automatic retest
Data storage area and alternate sectors are always
To reduce the probability of replacement over,
Also, the optics may be cleaned or replaced.
If the used optical disk is used in another optical disk device,
Recorded parts that are no longer used due to disc replacement
Replacement over does not occur because it can be reused,
This optical disc can be used as normal
You. Further, dust and the like adhere to the optical disc.
Error occurs during writing or reading
When this happens, clean the optical disc before reusing it.
If you use it, it will be automatically re-examined.
Replace the recorded part that has been restored to a usable state by using it again
The special effect that over-run does not occur is obtained
You. DESCRIPTION OF THE PREFERRED EMBODIMENTS In this embodiment, an optical disc
A magneto-optical disk shall be used as an example of
The configuration related to the present invention will be described.
The disk is based on the standard of ISO10090 and has a diameter of 3.5
It has a data recording capacity of about 128 MB on one side of the inch.
As shown in the principle diagram of FIG.
Magneto-optical outside the data recording area with a recording capacity equivalent to
DMA (D) for recording information for disc management
efect Manageent Area)
An alternative sector is prepared to replace the defective sector.
And an alternative recording area. In the above-mentioned DMA area, this magneto-optical disk is used.
Record management information and replacement information including the total number of replacement sectors
DDS (Disk Difinition Sector) area
Permanently defective sectors detected by pre-shipment inspection
PDL (Prima) that stores the address of the bad block containing
(ry Defect List) area and when using disk media
SDL (S
econdary Defect List) area. In the PDL area, a magneto-optical disk is provided.
Permanent defect section with permanent defects that occurred during disk manufacturing
The above alternative in which the data is replaced by the sector slipping method
This permanent defect addresses the address of the alternate sector in the storage area.
The list corresponding to the sector address is the first replacement sector
It is stored in advance as a list. Further, during use of a magneto-optical disk,
Of bad sectors that have been recorded
Linear replacement element that records data in alternate sectors
The use of alternative sectors is
The bad sector address, which is the address of a good sector, and this bad sector address
A replacement address indicating the address of the replacement sector that replaced the good sector
In the SDL area, a list corresponding to the dress
It is configured to record as a replacement sector list. FIG. 2 shows a magneto-optical device constructed by applying the present invention.
FIG. 3 is a block diagram of an embodiment of the disk device,
FIG. 5 is a flowchart showing an operation example of this embodiment.
3 is a main routine, and FIG. 4 is a replacement processing routine.
FIG. 5 is a flowchart showing a re-examination routine.
You. In FIG. 2 showing the configuration of the embodiment, 1
Is a writable and readable magneto-optical disk,
The spindle motor 3 under the control of the control circuit 2
It is rotating at a predetermined speed. To write on this magneto-optical disk 1
Is the bias voltage supplied from the bias magnet control circuit 5.
Generated by exciting the bias magnet 6 with current
The signal processing circuit 8 and the optical head control circuit
Light modulated with write data provided via path 7
The beam is applied from the optical head 4 to the recording portion of the magneto-optical disk 1.
Write data by projecting. The information is recorded on the magneto-optical disk 1.
When reading data, the presence of a magnetic field
Light to the part of the magneto-optical disk 1 to be read
A light beam is projected from the head 4 and reflected at the readout site.
The reflected light is converted into an optical signal by the optical head
By demodulating this optical signal by the processing circuit 8,
The data recorded on the magneto-optical disk 1 is read. What
As is well known, a disk like a magneto-optical disk
Writing or reading on the data recording medium is
This is performed in units of sectors on the recording track of disk 1.
You. The drive controller 10 is not shown.
Less microcomputer and buffer memory 11
FIG. 2 shows this microcomputer.
Of the functions related to the present invention among the processing functions of the
"Stage" 12, "comparison means" 13 and "warning means" 14.
Shown. In the embodiment having the above-described structure,
The processing of the in-routine will be described with reference to the flowchart of FIG.
explain. In step [10], the magneto-optical disk is mounted.
Detecting whether or not the
It is in a standby state until the disk is mounted,
If it is detected in this step that the
Proceeding to step [11], the DMA area of this magneto-optical disk is read.
Read the area and read the magneto-optical disk from the DDS area.
Replacement information including management information and the number of all alternative sectors;
Detected by pre-shipment inspection of disk media from
The first replacement section recording the address of the defective block
And the use of this magneto-optical disk from the SDL area.
Record replacement information for bad sectors that occurred during use.
And the second replacement sector list in the buffer memory 11.
Store. The next step [12] is a command from the host.
This is the step of detecting the command until the command arrives.
Is in a standby state, and when a write command arrives, the next
The data specified in step [13] is
In step [14], the written data
Data is read out and compared with the data written by the comparing means 13.
Perform verification to compare. As a result of this verification, the written data and
If the read data matches, normal writing is performed.
In step [15], it is necessary to perform replacement processing.
It is determined that there is no command and the command waits in step [12]
Returns, but the written data matches the read data.
If not, it means that writing was not done correctly
Then, in step [15], after determining that replacement processing is necessary,
The process proceeds to the replacement process routine [16] described in detail. The above step [12] includes the write command
Processing when a command other than the command arrives from the host
Ki is also shown briefly, and examples of specific commands
Examples of the retest command and the eject command
Was. When this recheck command arrives, details will be given later.
Move to the reexamination routine [17] described in
When a media command is received, the media ejection process in step [18]
Eject the magneto-optical disk by pressing the eject button.
The ejection of this magneto-optical disk can also be performed by operating
Be done. Note that other commands are not
The corresponding processing in the routine shown as step [19]
Is performed, and the above-described replacement processing routine and re-inspection routine are performed.
When these processes are completed together with the media
Return to step [12] and wait for command.
You. FIG. 4 shows processing in the above-described replacement processing routine.
Is a flowchart showing the process in step [21].
Buffer memo in step [11] of the main routine
From the management information of this magneto-optical disk stored in the
For example, read the second replacement sector list and
Calculating the number of used sectors from the number of used bytes, etc.
The use amount M of the substitute sector is obtained by
[22] of the entire sector prepared as an alternative sector
The number A is read, and in the subsequent step [23],
Therefore, the number of available alternative sectors (AM) = N is calculated. The calculation result N is set to “0” by the comparing means 13.
Compare, as a result, if N is greater than "0", it can be used
Since there are various alternative sectors,
Data that should have been written in step [13]
This usable replacement sector is used in the replacement process in step [25].
Write to. Thereafter, step [14] of the main routine
Was written correctly by the same verification as
Is confirmed, and updates are performed based on the result of this replacement process.
The new replacement information is stored in the buffer memory 11. In the next step [26], the buffer memo
Read the number M 'of updated used alternative sectors from the memory 11
Then, in a subsequent step [27], a predetermined set value K
From the buffer memory 11 or the like, and
The value of (K−M ′) is calculated according to 2. Here, the set value K
Should be prepared in a replaceable state.
It indicates the number of sectors. Note that the set value K is a magneto-optical
All alternative sections, for example, 1024 KB, from the disk's DMA area
Read the number of data and, for example, half the number of sectors (512KB)
Is calculated by the arithmetic means 12 and is set as a set value K in the buffer
Although it may be stored in the memory 11, another method and
Then, this set value K itself is set at the time of shipment of the magneto-optical disk drive.
And store it in the ROM of this device.
When the disk unit starts up, it is transferred and stored in the buffer memory.
Or the DMA area of the magneto-optical disk itself.
This set value K itself is stored in
This setting value K is read when the
May be stored. Therefore, in step [28], this (K-M ')
Is used when it is detected that the value of has become smaller than “0”
Warns you that the number of possible alternative sectors is running low
Step 14 warns the host and through this host
The condition of the magneto-optical disk is getting worse for the user
Notify. By the way, in step [24] described above, (N>
0), that is, it is determined that there is no
Moves to the reexamination routine of step [31].
Data replaced by an alternate sector as a bad sector
Automatically re-examine the sectors in the data storage area and
Sectors that can be used for sectors in the
Data, the data recorded in the alternate sector is
Of the data recording area where the data of
Return to the sector where it was detected and make an alternate sector
Is performed. In addition, this re-inspection routine
The details of the operation will be described later with reference to FIG. As a result of the processing by this reexamination routine,
Step [32] is whether there is a usable alternative sector
If there is an available alternative sector,
The replacement process of step [25] is executed, but it can be used.
If no alternative sector exists, replace in step [33]
Tells the host that a bar has occurred and that replacement processing is not possible
Notice. FIG. 5 is a flow chart of the reexamination routine described above.
It is a flowchart showing the details of the processing, step
[41] is the same as step [21] of the replacement processing routine.
The usage M of the replacement sector is obtained, and this usage is determined in step [42].
If the quantity M is "0", the processing of this routine is terminated.
Determines that M> 0, that is, an alternate sector is used
Then, in the next step [43], the main routine
Read from the SDL area in step [11]
11 indicates a bad sector generated during use during use.
Replacement information from the second replacement sector list.
Write dummy data to the bad sector. In the following step [44], in step [43]
Read the written dummy data, and in step [45],
Data written in step [43] and read in step [44]
Verify the data, but if
If there are multiple good sectors, for each bad sector
Repeat steps [43] to [45] above
By doing so, the normal
Find the number of Kuta. In step [46], the number of normal sectors
Is greater than “0”, that is, whether a normal sector exists
If there is no normal sector, this route
End the processing of the next sector, but if there is a normal sector, the next
Proceeding to step [47], the data recorded in the alternate sector
Data to the normal sector where this data should be recorded.
Return to make an alternate sector, and in step [48]
The replacement information recorded in the memory 11 is updated. The next steps [49] and [50] are
As the second replacement sector list in the SDL area of the disc
Update the recorded replacement information in step [48] above
Update / record with the replacement information
In step [49], the replacement information in the buffer memory is
Sort by bad sector address
On the magneto-optical disk in step [50] according to the replacement information
The second replacement sector list recorded in the SDL area
Update and end the recheck routine. It should be noted that the failure in the above step [49]
Sorting by sector address order is based on ISO standard
Therefore, if there is no need for sorting, this step [4
9] may be omitted. Also, the re-inspection routine described above
Is performed when the optical disk is loaded in the device.
Is also good. In the above-described embodiment, the error generated during use is
Second replacement sector list that records replacement information for
We explained the processing based on
Replacement information about permanent defective sectors that occurred at the time
Using the first replacement sector list of the PDL area
Such processing can be performed. Further, this embodiment employs a magneto-optical
Discussed discs but not based on this standard
Various magneto-optical disks and optical disks that do not use the magneto-optical effect
That the same applies to
Not obvious. As described above, according to the present invention,
If the dust is attached to the optical system of the optical disk
If the data cannot be read or written,
Even if the dust is not removed,
As a result, there is a shortage of alternate sectors.
Replacement occurs, and the writing process is interrupted.
It is determined that data has been lost or the optical disk is abnormal.
Was refused. On the other hand, according to the present invention, the data writing
Even if there is no alternative area inside, write processing is immediately interrupted
Replacement sector in unused state without warning
Is restored to a usable state by automatic retest
For this reason, a data recording area and alternate sectors are always
It is possible to reduce the probability of occurrence of replacement over. Further, cleaning or replacement of the optical system
Overwrite occurred optical disk with another optical disk device
If used, it will no longer be used
Replacement occurs because the recorded part can be reused
And use this optical disk as normal
Can be warned after the replacement process is over
Inform the user that the remaining alternate sector is low
Alerts you and cannot be replaced.
Signals that no alternative sector is available. Also,
The replacement sector usage after the replacement process is completed is predetermined.
By issuing a warning when the set value exceeds the
Inform Zah of that fact. Also, if dust or the like adheres to the optical disc,
An error occurs during writing or reading, causing
If this happens, clean this optical disc before reusing it.
Will be automatically re-examined,
If there is a recorded part that has been restored to a normal state,
Data loss due to interruption of the write process, etc.
Special effect of preventing the occurrence of replacement over
Fruit is obtained. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram illustrating the principle of the present invention. FIG. 2 is a block diagram of an embodiment of the present invention. FIG. 3 is a flowchart showing an example of a main routine according to the embodiment;
It is a chart. FIG. 4 is a flowchart illustrating an example of a replacement processing routine according to the embodiment;
It is a chart. FIG. 5 is a flowchart showing an example of a retest routine according to the embodiment;
It is a chart. [Description of Signs] 1 ... Writable / readable optical disk 2 ... Spindle control circuit 3 ... Spindle motor 4 ... Optical head 5 ... Bias magnet control circuit 6 ... Bias magnet 7 ... Optical head control circuit 8 ... Signal processing circuit 9 Bus 10 Drive controller 11 Buffer memory 12 Calculation means 13 Comparison means 14 Warning means [Procedure correction 2] [Document name to be corrected] [Name] Fig. 4 [Correction method] Change [Correction details] [Fig. 4] [Procedure amendment 3] [Document name to be amended] Drawing [Item name to be amended] Fig. 5 [Correction method] Change [Content of amendment] [Fig. 5]

Claims (1)

【特許請求の範囲】 【請求項1】 先に行われた交替処理によって使用され
なくなった被交替セクタを再検査し、前記再検査によっ
て使用可能な被交替セクタが検出された場合には、この
使用可能セクタに交替先の代替セクタからデータをデー
タを書戻し、この使用可能セクタを使用可能なデータ記
録領域とする制御手段を備えた光ディスク装置におい
て、 前記制御手段は、 ライトコマンドによるデータ書込の際に交替処理が必要
になり、該交替処理中に、前記再検査を行い、使用可能
な被交替セクタがあればこの使用可能セクタに交替先の
代替セクタからデータを書戻し、該書戻しによって使用
可能となった代替セクタに前記必要になった代替処理に
よる記録を行い、該交替処理が終了した後に使用可能な
代替セクタ数が残り少ないことを示す警告を発するとと
もに、前記再検査によって使用可能な被交替セクタが無
ければ交替処理不可能であることを示す警告を発するこ
とを特徴とする光ディスク装置。
Claims 1. A replacement sector that is no longer used by a replacement process performed previously is re-examined, and when a usable replacement sector is detected by the re-examination, the replacement sector is detected. In an optical disc apparatus comprising control means for writing back data from a replacement sector of a replacement destination to a usable sector and setting the usable sector as a usable data recording area, the control means includes a step of writing data by a write command. During the replacement process, the reexamination is performed, and if there is a usable replacement sector, data is written back to the available sector from the replacement destination replacement sector, and the write-back is performed. In the alternative sector that has become available, the necessary alternative processing is used to perform recording, and after the replacement processing is completed, the number of available alternative sectors remains small. An optical disk device that issues a warning indicating that replacement processing is not possible if there is no usable replacement sector due to the recheck.
JP2002238558A 2002-08-19 2002-08-19 Optical disk device Pending JP2003068027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002238558A JP2003068027A (en) 2002-08-19 2002-08-19 Optical disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002238558A JP2003068027A (en) 2002-08-19 2002-08-19 Optical disk device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP29296793A Division JPH07147065A (en) 1993-11-24 1993-11-24 Recording and reproducing method and device for optical disk

Publications (1)

Publication Number Publication Date
JP2003068027A true JP2003068027A (en) 2003-03-07

Family

ID=19196429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002238558A Pending JP2003068027A (en) 2002-08-19 2002-08-19 Optical disk device

Country Status (1)

Country Link
JP (1) JP2003068027A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011210062A (en) * 2010-03-30 2011-10-20 Canon Inc Storing apparatus
KR101250451B1 (en) 2011-09-28 2013-04-29 주식회사 하이텍 Gas tight leakage walking device For automatic fire extinguisher
KR101250453B1 (en) 2011-09-28 2013-04-29 주식회사 하이텍 Gas tight leakage walking device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011210062A (en) * 2010-03-30 2011-10-20 Canon Inc Storing apparatus
KR101250451B1 (en) 2011-09-28 2013-04-29 주식회사 하이텍 Gas tight leakage walking device For automatic fire extinguisher
KR101250453B1 (en) 2011-09-28 2013-04-29 주식회사 하이텍 Gas tight leakage walking device

Similar Documents

Publication Publication Date Title
JP2547925B2 (en) How to make a sector containing temporary defects in an optical disk drive reusable and how to check for excessive use of spare sectors
JP3135459B2 (en) Optical disk storage and retrieval system and method for determining overuse of optical disk spare sectors
US6901041B2 (en) Method for managing defective area of optical recording medium
JP4537489B2 (en) Optical recording / reproducing device
JP2004030880A5 (en)
US9377969B2 (en) Information processing device, information processing method, and information storage medium, including storage of information indicating which medium among plural media has a recording failure area and a position in the medium of the recording failure area
WO2004029668A2 (en) Optical disc, method and apparatus for managing a defective area on an optical disc of write once type
JP2005196903A (en) Record medium, recording device, and reproducing device
RU2586820C2 (en) Method of recording data on optical recording medium and apparatus for reproducing data from optical data medium
KR101615623B1 (en) Information storage medium, recording/reproducing method, and recording/reproducing apparatus
CN100594544C (en) Method of determining defects, recording/reproducing apparatus, and information storage medium
KR20010040467A (en) Automatic replacing method in reading and magnetic disc drive using the method
JP3763974B2 (en) Storage device and recording medium
JP2003068027A (en) Optical disk device
JPH07147065A (en) Recording and reproducing method and device for optical disk
JP2007335019A (en) Digital data recording method, and recording and reproducing device
US20050219973A1 (en) Method for choosing the defect detection mode of an optical storage device
JPH0836846A (en) Information recording and reproducing device and information recording and reproducing system
JPH04103082A (en) Information recording system
JP4273149B2 (en) Information recording and playback method
JP2005353180A (en) Data processing apparatus
US7881167B1 (en) Systems and methods of shock recovery in writable optical disc systems
JPH08203211A (en) Optical disk apparatus
JP3946148B2 (en) Information recording device
US20070171797A1 (en) Information recording/reproducing apparatus and updating method of management information for optical disk medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040907

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041108

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041221