JP3808654B2 - Recording / playback device - Google Patents
Recording / playback device Download PDFInfo
- Publication number
- JP3808654B2 JP3808654B2 JP03260199A JP3260199A JP3808654B2 JP 3808654 B2 JP3808654 B2 JP 3808654B2 JP 03260199 A JP03260199 A JP 03260199A JP 3260199 A JP3260199 A JP 3260199A JP 3808654 B2 JP3808654 B2 JP 3808654B2
- Authority
- JP
- Japan
- Prior art keywords
- defect
- address
- recording
- zone
- user zone
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、たとえば光磁気ディスク装置のように、記録媒体に対してデータを読み書きする記録再生装置に関する。
【0002】
【従来の技術】
たとえば図6に示すように、光磁気ディスク51は、データを記録するための多数のトラック52が形成されている。また光磁気ディスク51は、円周方向所定角度毎に概念的に区画されて多数のセクタ53が形成されており、個々のセクタ53の個々のトラック52が、1つのアドレスで指定可能な単位記録領域54を構成している。なお、図6ではトラック52を同心円状に図示したが、実際には螺旋状に形成されることが多い。
【0003】
また図7に示すように、光磁気ディスク51のトラック52は、光磁気ディスク51のインナー側からアウター側にかけて、イニシャルゾーン、アクワイアゾーン、インナーテストゾーン、インナーコントロールゾーン、DMA(defect management areas) ゾーン、ユーザエリア、DMAゾーン、アウターコントロールゾーン、アウターテストゾーン、およびバッファゾーンに概念的に区画されている。
【0004】
また図8に示すように、ユーザエリアは、複数のユーザゾーンと複数のバッファゾーンとに概念的に区画されている。ユーザゾーンは、たとえば10〜18個程度設けられている。バッファゾーンは、データを記録しない領域であって、各々数トラック分程度の大きさであり、原則的に各ユーザゾーンの前後にそれぞれ設けられているが、ユーザゾーンとDMAゾーンとの間にはバッファゾーンが設けられていない。各ユーザゾーンは、データゾーンと、それに続くスペアゾーンとに概念的に区画されている。データゾーンは、ユーザの指示に基づいてデータが記録される領域である。スペアゾーンは、各々数トラック分程度の大きさであって、データゾーンの単位記録領域54に欠陥が発生したときに、それに代わってデータが記録される領域である。
【0005】
データゾーンに欠陥が発生していない場合、図9に示すように、データゾーンに0からnまでの所定数のデータが記録され、スペアゾーンにはデータが記録されない。
【0006】
ところが、光磁気ディスク51の物理フォーマット時にデータゾーンの任意数の単位記録領域54に欠陥が発見されると、図10に示すように、欠陥の発見された単位記録領域54を飛ばしてデータが記録される。したがって、データゾーンの容量と等しい容量のデータを記録した場合、スペアゾーンにまでデータが記録されることになる。そして、欠陥の発見された単位記録領域54のアドレスがDMAゾーンに記録される。このように、交代先のアドレスが指定されない欠陥を第1欠陥と呼び、第1欠陥の発生した単位記録領域54のアドレスの集合をPDL(primary defekt list) と呼ぶ。
【0007】
データの書き込み時にデータゾーンの任意数の単位記録領域54に欠陥が発見されると、図11に示すように、欠陥の発見された単位記録領域54に代えて、スペアゾーンの単位記録領域54にデータが記録される。そして、欠陥の発見された単位記録領域54のアドレスと、交代先のスペアゾーンの単位記録領域54のアドレスとがDMAゾーンに記録される。このように、交代先のアドレスが指定される欠陥を第2欠陥と呼び、第2欠陥の発生した単位記録領域54のアドレスの集合をSDL(secondary defekt list) と呼ぶ。
【0008】
各DMAゾーンには、図12に示すように、DDS(disk definition sector)、PDL、およびSDLが2回記録され、それらの間にはリザーブ領域が設けられる。すなわち、PDLおよびSDLは、2個のDMAゾーンにそれぞれ2個、合計4個同じものが記録されている。
【0009】
上記のような光磁気ディスク51が光磁気ディスク装置にローディングされると、DMAゾーンからPDLが読み出され、図13に示すように、PDLがRAMに記憶される。PDLは、第1欠陥が発生した単位記録領域54のアドレスの集合であって、各アドレスは、トラック52を表す3バイトのデータと、セクタ53を表す1バイトのデータとにより構成されている。また、DMAゾーンからSDLが読み出され、図14に示すように、SDLがRAMに記憶される。SDLは、第2欠陥が発生した単位記録領域54すなわち交代元のアドレスと、欠陥が発生した単位記録領域54の代わりにデータが記録される単位記録領域54すなわち交代先のアドレスとの集合であり、各アドレスは、トラック52を表す3バイトのデータと、セクタ53を表す1バイトのデータとにより構成されている。
【0010】
光磁気ディスク装置においては、パーソナルコンピュータなどのホストから、たとえばリードコマンド、ライトコマンド、イレースコマンド、あるいはベリファイコマンドなどの媒体アクセス系コマンドが発行され、それに付随して開始アドレスおよび指定ブロック数を示す内容がデータバスを介して転送されると、それらの情報に基づいて読み出すべきデータの物理アドレスを演算し、それに基づいて光磁気ディスク51からデータを読み出して、ホストに転送する。すなわち、第1欠陥および第2欠陥が全く存在しない場合には、論理アドレスと物理アドレスとが一致するので、変換の必要が無いが、第1欠陥や第2欠陥が1個でも存在する場合、論理アドレスと物理アドレスとが一致しない可能性があるので、それを確認し、一致しない場合には、ホストからの開始アドレスである論理アドレスを物理アドレスに変換する必要がある。また、指定ブロック数とは、読み出すべきデータが格納されている単位記録領域54の数、すなわちアドレス数であるが、この範囲に第1欠陥や第2欠陥が1個でも存在する場合、やはりそれを考慮して読み出すべき物理アドレスを確定する必要がある。
【0011】
このような論理アドレスから物理アドレスへの変換に際して、従来の光磁気ディスク装置では、先ず論理開始アドレスを物理開始アドレスに変換するに際して、図13に示すようにRAMに格納されている第1欠陥の各アドレスを順次検索して、論理開始アドレスの存在するユーザゾーンに第1欠陥が存在するか否かを判断し、存在する場合には、論理開始アドレス以前に第1欠陥が存在するか否かを判断し、存在する場合には、その個数分だけ論理開始アドレスを後方にずらせて仮の物理アドレスとしていた。さらに、図14に示すようにRAMに格納されている第2欠陥の各アドレスを順次検索して、仮の物理開始アドレスが第2欠陥のアドレスであるか否かを判断し、第2欠陥のアドレスである場合には、その交代先の物理アドレスを開始物理アドレスとしていた。そして、開始アドレス以降の読出アドレスの決定に際しても、第1欠陥および第2欠陥の各アドレスを順次検索して逐一参照しながら、実際に読み出すべき物理アドレスを演算していた。このように第1欠陥および第2欠陥の各アドレスを順次検索する必要があるのは、第1欠陥や第2欠陥の各アドレスがユーザゾーン毎に管理されておらず、先頭から順に順次検索していかなければ、各欠陥がいずれのユーザゾーンに存在しているか判断できなかったためである。
【0012】
このような従来の光磁気ディスク装置では、ホストより媒体アクセス系のコマンドが発行される度に、論理アドレスを物理アドレスに変換するために、第1欠陥や第2欠陥のアドレスを何度も順次検索していく必要があり、この検索に多くの時間を要するため、処理速度が遅いという課題があった。特に、光磁気ディスク51の使用期間が長くなって劣化が激しくなると、第1欠陥や第2欠陥の個数が極めて多くなり、処理速度が極端に遅くなるので、たとえばコマンド処理時間が所定時間を超えるとエラーとしてシステムをダウンさせるようなOS(operating system)を使用している場合、システムの破壊に繋がる恐れがある。
【0013】
【発明の開示】
本発明は、上記した事情のもとで考え出されたものであって、媒体アクセス系コマンドの処理時間を短縮できる記録再生装置を提供することを、その課題とする。
【0014】
上記の課題を解決するため、本発明では、次の技術的手段を講じている。
【0015】
本発明の第1の側面によれば、1つのアドレスで指定可能な単位記録領域が第1所定個数連続したデータゾーンと、このデータゾーンに連続し、データゾーンの単位記録領域に欠陥が発生したときにその代わりとなる単位記録領域が第2所定個数連続したスペアゾーンとからなるユーザゾーンを複数有し、さらに、単位記録領域の欠陥のうち交代先の単位記録領域を指定しない第1欠陥が発生した単位記録領域のアドレスと、単位記録領域の欠陥のうち交代先の単位記録領域を指定する第2欠陥が発生した単位記録領域のアドレスおよび交代先アドレスとを各別に記録しておく欠陥アドレス記録ゾーンを有する記録媒体に対して、データを読み書きする記録再生装置であって、欠陥アドレス記録ゾーンからの再生データに基づいて、第1欠陥および/または第2欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させる欠陥個数登録装置と、記憶装置に記憶された各ユーザゾーン毎の第1欠陥および/または第2欠陥の個数を利用して、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換するアドレス変換装置とを備えたことを特徴とする、記録再生装置が提供される。
【0016】
好ましい実施の形態によれば、アドレス変換装置は、論理アドレスに対応するユーザゾーンに第1欠陥が存在しないときに、第1欠陥のアドレスを検索せずに、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換する。
【0017】
他の好ましい実施の形態によれば、アドレス変換装置は、論理アドレスに対応するユーザゾーンに第2欠陥が存在しないときに、第2欠陥のアドレスを検索せずに、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換する。
【0018】
他の好ましい実施の形態によれば、アドレス変換装置は、論理アドレスに対応するユーザゾーンに第1欠陥が存在するときに、論理アドレスに対応するユーザゾーンよりも前方側のユーザゾーンの第1欠陥の個数の合計を演算することにより、論理アドレスに対応するユーザゾーンよりも前方側のユーザゾーンの第1欠陥のアドレスを検索せずに、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換する。
【0019】
他の好ましい実施の形態によれば、アドレス変換装置は、論理アドレスに対応するユーザゾーンに第2欠陥が存在するときに、論理アドレスに対応するユーザゾーンよりも前方側のユーザゾーンの第2欠陥の個数の合計を演算することにより、論理アドレスに対応するユーザゾーンよりも前方側のユーザゾーンの第2欠陥のアドレスを検索せずに、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換する。
【0020】
他の好ましい実施の形態によれば、欠陥個数登録装置は、記録媒体の物理フォーマットが行われたときに、それに引き続いて、欠陥アドレス記録ゾーンからの再生データに基づいて、第1欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させる。
【0021】
他の好ましい実施の形態によれば、欠陥個数登録装置は、欠陥アドレス記録ゾーンに第2欠陥が発生した単位記録領域のアドレスおよび交代先アドレスが記録されたときに、それに引き続いて、欠陥アドレス記録ゾーンからの再生データに基づいて、第2欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させる。
【0022】
他の好ましい実施の形態によれば、欠陥個数登録装置は、記録媒体のローディングが行われたときに、それに引き続いて、欠陥アドレス記録ゾーンからの再生データに基づいて、第1欠陥および/または第2欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させる。
【0023】
本発明によれば、欠陥個数登録装置が、欠陥アドレス記録ゾーンからの再生データに基づいて、第1欠陥および/または第2欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させ、アドレス変換装置が、記憶装置に記憶された各ユーザゾーン毎の第1欠陥および/または第2欠陥の個数を利用して、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換するので、第1欠陥および/または第2欠陥のアドレスを順次検索していく作業を良好に軽減できることから、媒体アクセス系コマンドの処理時間を短縮できる。
【0024】
すなわち、欠陥数をユーザゾーン毎に管理するので、論理アドレスを物理アドレスに変換するに際して、他のユーザゾーンの欠陥アドレスを順次検索していく必要がないことから、処理時間を良好に短縮できるのである。特に、記録媒体の長期間の使用などに起因する劣化によって欠陥数が増加した場合、本発明による効果は顕著であって、コマンド処理時間が所定時間を超えるとエラーとしてシステムをダウンさせるようなOSを使用している場合であっても、システムダウンに至ることがない。
【0025】
本発明のその他の特徴および利点は、添付図面を参照して以下に行う詳細な説明によって、より明らかとなろう。
【0026】
【発明の実施の形態】
以下、本発明の好ましい実施の形態を、図面を参照して具体的に説明する。
【0027】
図1は、本発明に係る記録再生装置の一例としての光磁気ディスク装置の回路ブロック図であって、この光磁気ディスク装置1は、制御部2、光学ヘッド3、磁気ヘッド4、およびモータ駆動回路5を備えている。制御部2は、ホストとしてのパーソナルコンピュータ6に接続されている。制御部2は、CPU11、RAM12、ROM13、およびインターフェイス回路14を備えており、これらCPU11、RAM12、ROM13、およびインターフェイス回路14は、バス線15により相互に接続されている。バス線15には、データバス、アドレスバス、および制御信号線が含まれる。
【0028】
光磁気ディスク装置1は、パーソナルコンピュータ6からの指示に応じて、光磁気ディスク51(図6)の単位記録領域54に対してデータを読み書きする。
【0029】
制御部2は、パーソナルコンピュータ6からの指示に基づいて、光学ヘッド3、磁気ヘッド4、およびモータ駆動回路5を制御する。
【0030】
光学ヘッド3は、制御部2により制御されて、光磁気ディスク51の単位記録領域54にアクセスする。
【0031】
磁気ヘッド4は、制御部2により制御されて、光磁気ディスク51の単位記録領域54にアクセスする。
【0032】
モータ駆動回路5は、制御部2により制御されて、光磁気ディスク51を回転させるためのモータや光学ヘッド3および磁気ヘッド4を移動させるためのモータを駆動する。
【0033】
パーソナルコンピュータ6は、ユーザの操作に基づいて、光磁気ディスク装置1にコマンドを送信し、光磁気ディスク装置1からのデータを受信する。
【0034】
CPU(central processing unit )11は、制御部2の全体を制御する。
【0035】
RAM(random access memory)12は、CPU11にワークエリアを提供し、各種のデータを記憶する。
【0036】
ROM(read only memory)13は、CPU11を作動させるためのプログラムなどを記憶している。
【0037】
インターフェイス回路14は、パーソナルコンピュータ6との間の通信を制御する。
【0038】
図2は、CPU11によって実現される機能の仮想的な回路ブロック図であって、CPU11は、欠陥個数登録装置21と、アドレス変換装置22とを実現している。
【0039】
欠陥個数登録装置21は、欠陥アドレス記録ゾーンすなわちDMAゾーンからの再生データに基づいて、具体的にはRAM12に記憶されているPDLおよびSDLに基づいて、第1欠陥の個数および第2欠陥の個数を各ユーザゾーン毎にRAM12に記憶させる。すなわち、欠陥個数登録テーブルを作成する。
【0040】
アドレス変換装置22は、RAM12に記憶された欠陥個数登録テーブルを利用して、論理アドレスを物理アドレスに変換する。
【0041】
図3は、CPU11による欠陥個数登録処理の手順を説明するフローチャートであって、光磁気ディスク51が光磁気ディスク装置1にローディングされると、CPU11が、光磁気ディスク51のDMAゾーンに記録されているPDLを読み出す(S1)。次にCPU11が、読み出したPDLに基づいて、図 のようにPDLすなわち第1欠陥が発生した単位記録領域54のアドレスをRAM12に順次記憶させる(S2)。次にCPU11が、光磁気ディスク51のDMAゾーンに記録されているSDLを読み出す(S3)。次にCPU11が、読み出したSDLに基づいて、図14のようにSDLすなわち第2欠陥が発生した単位記録領域54のアドレスおよびそれらの交代先の単位記録領域54のアドレスをRAM12に順次記憶させる(S4)。次にCPU11が、RAM12に記憶させたPDLおよびSDLに基づいて、図4に示すような欠陥個数登録テーブルを作成し、RAM12に記憶させて(S5)、このルーチンを終了する。欠陥個数登録テーブルは、図4に示すように、各ユーザゾーン毎に、第1欠陥が発生した単位記録領域54の個数と第2欠陥が発生した単位記録領域54の個数とを記述したものであって、全部のユーザゾーンの第1欠陥が発生した単位記録領域54の合計個数および第2欠陥が発生した単位記録領域54の合計個数も付加される。
【0042】
図5は、CPU11によるアドレス変換処理の手順を説明するフローチャートであって、パーソナルコンピュータ6からたとえばリードコマンドが供給されると、CPU11が、リードコマンドに付随して供給された論理開始アドレスがいずれのユーザゾーンに該当するかを演算する(S11)。すなわち、各データゾーンに第1欠陥が発生した単位記録領域54および第2欠陥が発生した単位記録領域54が存在しても、それらは、各データゾーンに続くスペアゾーンでそれぞれ吸収され、他のユーザゾーンに影響を及ぼさないので、論理開始アドレスがいずれのユーザゾーンに該当するかを確定できるのである。
【0043】
次にCPU11が、論理開始アドレスの存在するユーザゾーンに第1欠陥が存在するか否かを判断する(S12)。具体的には、CPU11が、RAM12の欠陥個数登録テーブルを参照して、論理開始アドレスの存在するユーザゾーンにおける第1欠陥の個数が0であるかどうかを調べる。
【0044】
論理開始アドレスの存在するユーザゾーンに第1欠陥が存在すれば(S12:YES)、CPU11が、論理開始アドレスの存在するユーザゾーンの第1欠陥のアドレスを順次検索し、論理開始アドレスを仮の物理開始アドレスに変換する(S13)。具体的には、CPU11が、RAM12の欠陥個数登録テーブルを参照して、論理開始アドレスの存在するユーザゾーンよりも前のユーザゾーンに存在する第1欠陥の合計数を演算し、それに基づいて論理開始アドレスの存在するユーザゾーンの最初の第1欠陥のアドレスが格納されているRAM12のアドレスを演算し、そこから検索を開始する。すなわち、第1欠陥はアドレスの昇順にRAM12に格納されているので、目的とする第1欠陥よりもアドレスの若い第1欠陥の個数が判れば、目的とする第1欠陥のアドレスが格納されているRAM12のアドレスを演算できるのである。したがって、RAM12に格納されている第1欠陥のアドレスを昇順に逐一検索していく必要がなく、無駄な検索動作を省くことができる。そして、論理開始アドレスの存在するユーザゾーンの第1欠陥のアドレスを順次検索しながら、第1欠陥の個数に応じて論理開始アドレスを順次後方にずらせていくことにより、仮の物理開始アドレスを求める。ここで、仮の物理開始アドレスとしたのは、そのアドレスが第2欠陥の交代元アドレスに相当していれば、その交代先アドレスが真の物理開始アドレスになるからである。
【0045】
その後、CPU11が、論理開始アドレスの存在するユーザゾーンに第2欠陥が存在するか否かを判断する(S14)。具体的には、CPU11が、RAM12の欠陥個数登録テーブルを参照して、論理開始アドレスの存在するユーザゾーンにおける第2欠陥の個数が0であるかどうかを調べる。
【0046】
論理開始アドレスの存在するユーザゾーンに第2欠陥が存在すれば(S14:YES)、CPU11が、論理開始アドレスの存在するユーザゾーンの第2欠陥のアドレスを順次検索し、仮の物理開始アドレスが第2欠陥の交代元アドレスであるか否かを判断する。このときの第2欠陥の検索手法は、ステップS13で説明した第1欠陥の検索手法と同様であって、論理開始アドレスの存在するユーザゾーンよりも前のユーザゾーンに存在する第2欠陥のアドレスを逐一検索することはしない。
【0047】
そしてCPU11が、仮の物理開始アドレスが第2欠陥の交代元アドレスであれば、その交代先のアドレスを真の物理開始アドレスとして決定し、仮の物理開始アドレスが第2欠陥の交代元アドレスでなければ、仮の物理開始アドレスを真の物理開始アドレスとして決定する(S16)。
【0048】
次にCPU11が、論理開始アドレスの存在するユーザゾーンに存在する第1欠陥のアドレスおよび第2欠陥のアドレスを順次検索しながら、真の物理開始アドレス以降の、データを読み出すべき物理アドレスを逐次演算して(S17)、このルーチンを終了する。このとき、データを読み出すべき範囲に第1欠陥が存在していれば、その個数分だけ読み出すべき範囲が後方にずれることになり、第2欠陥が存在していれば、それについては交代先アドレスが読み出すべきデータの真の物理アドレスになる。もちろん、読み出すべき範囲が後方のユーザゾーンにまで達する場合もあり、その場合には、そのユーザゾーンに存在する第1欠陥のアドレスおよび第2欠陥のアドレスを順次検索していくことになる。
【0049】
かくして、データを読み出すべき範囲の物理アドレスが判明すれば、CPU11が、それをコマンドパラメータとしてリードコマンドを実行し、読み出したデータをパーソナルコンピュータ6に転送する。
【0050】
このように、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換するに際して、アクセス範囲以外のユーザゾーンの第1欠陥のアドレスおよび第2欠陥のアドレスを逐一検索する必要がないので、無駄な検索を省けることから、媒体アクセス系コマンドの処理時間を良好に短縮できる。
【0051】
したがって、長期間の使用などに起因する光磁気ディスク51の劣化により多数の単位記録領域54に第1欠陥や第2欠陥が発生しても、媒体アクセス系コマンドを短時間で実行できる。この結果、コマンドの処理時間が所定時間を超えればシステムダウンさせるOSを使用していても、システムがダウンしてシステムの破壊に繋がるという恐れがない。
【0052】
なお、上記実施形態においては、第1欠陥の個数と第2欠陥の個数との双方をRAM12の欠陥個数登録テーブルに登録するように構成したが、いずれか一方のみを登録するように構成してもよい。第1欠陥の個数を登録しない場合、媒体アクセス系コマンド処理時の物理アドレスへの変換に際して、すべてのユーザゾーンの第1欠陥のアドレスを順次検索することになる。第2欠陥の個数を登録しない場合、媒体アクセス系コマンド処理時の物理アドレスへの変換に際して、すべてのユーザゾーンの第2欠陥のアドレスを順次検索することになる。
【0053】
また、上記実施形態においては、光磁気ディスク51を光磁気ディスク装置1にローディングしたときに第1欠陥の個数をRAM12の欠陥個数登録テーブルに登録するように構成したが、光磁気ディスク51を物理フォーマットが終了したときに第1欠陥の個数をRAM12の欠陥個数登録テーブルに登録するように構成してもよい。すなわち、第1欠陥は物理フォーマット時に検出されてDMAゾーンに書き込まれる欠陥であるので、物理フォーマット終了時に第1欠陥の個数をRAM12の欠陥個数登録テーブルに登録しておけば、光磁気ディスク51を交換しない限り、欠陥個数登録テーブルの第1欠陥の個数を書き換える必要がないのである。
【0054】
また、上記実施形態においては、光磁気ディスク51を光磁気ディスク装置1にローディングしたときに第2欠陥の個数をRAM12の欠陥個数登録テーブルに登録するように構成したが、DMAゾーンに第2欠陥の交代元および交代先のアドレスが記録されたときに、それに引き続いて第2欠陥の個数をRAM12の欠陥個数登録テーブルに登録するように構成してもよい。すなわち、第2欠陥はライト時に検出されてDMAゾーンに書き込まれる欠陥であるので、第2欠陥のDMAゾーンへの書き込み終了時に第2欠陥の個数をRAM12の欠陥個数登録テーブルに登録しておけば、光磁気ディスク51を交換しない限り、欠陥個数登録テーブルの第2欠陥の個数を書き換える必要がないのである。しかもこのようにすれば、常に最新の第2欠陥の個数を欠陥個数登録テーブルに登録できる。
【0055】
【発明の効果】
以上説明したように、本発明によれば、欠陥個数登録装置が、欠陥アドレス記録ゾーンからの再生データに基づいて、第1欠陥および/または第2欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させ、アドレス変換装置が、記憶装置に記憶された各ユーザゾーン毎の第1欠陥および/または第2欠陥の個数を利用して、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換するので、第1欠陥および/または第2欠陥のアドレスを順次検索していく作業を良好に軽減できることから、媒体アクセス系コマンドの処理時間を短縮できる。
【図面の簡単な説明】
【図1】本発明に係る記録再生装置の一例としての光磁気ディスク装置の回路ブロック図である。
【図2】図1に示すCPUによって実現される機能の仮想的な回路ブロック図である。
【図3】図1に示すCPUによる欠陥個数登録処理の手順を説明するフローチャートである。
【図4】図1に示すRAMに格納された欠陥個数登録テーブルの内容の説明図である。
【図5】図1に示すCPUによるアドレス変換処理の手順を説明するフローチャートである。
【図6】光磁気ディスクにおけるデータ記録箇所の概略説明図である。
【図7】光磁気ディスクにおけるゾーン管理の説明図である。
【図8】図7に示すユーザエリアの内容の説明図である。
【図9】図8に示すデータゾーンおよびスペアゾーンの内容の説明図である。
【図10】第1欠陥が存在する場合のデータゾーンおよびスペアゾーンの内容の説明図である。
【図11】第2欠陥が存在する場合のデータゾーンおよびスペアゾーンの内容の説明図である。
【図12】図7に示すDMAゾーンの内容の説明図である。
【図13】RAMに格納されたPDLの内容の説明図である。
【図14】RAMに格納されたSDLの内容の説明図である。
【符号の説明】
1 光磁気ディスク装置
2 制御部
3 光学ヘッド
4 磁気ヘッド
5 モータ駆動回路
6 パーソナルコンピュータ
11 CPU
12 RAM
21 欠陥個数登録装置
22 アドレス変換装置
51 光磁気ディスク
52 トラック
53 セクタ
54 単位記録領域[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording / reproducing apparatus that reads / writes data from / to a recording medium, such as a magneto-optical disk apparatus.
[0002]
[Prior art]
For example, as shown in FIG. 6, the magneto-
[0003]
Further, as shown in FIG. 7, the
[0004]
As shown in FIG. 8, the user area is conceptually divided into a plurality of user zones and a plurality of buffer zones. For example, about 10 to 18 user zones are provided. The buffer zone is an area in which data is not recorded, and each has a size of about several tracks. In principle, the buffer zone is provided before and after each user zone, but between the user zone and the DMA zone. There is no buffer zone. Each user zone is conceptually divided into a data zone followed by a spare zone. The data zone is an area where data is recorded based on a user instruction. Each spare zone is about several tracks in size, and when a defect occurs in the
[0005]
When no defect occurs in the data zone, as shown in FIG. 9, a predetermined number of data from 0 to n is recorded in the data zone, and no data is recorded in the spare zone.
[0006]
However, when a defect is found in an arbitrary number of
[0007]
When a defect is found in an arbitrary number of
[0008]
In each DMA zone, as shown in FIG. 12, DDS (disk definition sector), PDL, and SDL are recorded twice, and a reserve area is provided between them. That is, two PDL and SDL are recorded in two DMA zones, respectively, for a total of four identical ones.
[0009]
When the magneto-
[0010]
In the magneto-optical disk apparatus, a medium access system command such as a read command, a write command, an erase command, or a verify command is issued from a host such as a personal computer, and the start address and the number of designated blocks are accompanied with it. Is transferred via the data bus, the physical address of the data to be read is calculated based on the information, and the data is read from the magneto-
[0011]
In the conversion from such a logical address to a physical address, in the conventional magneto-optical disk apparatus, when the logical start address is first converted into the physical start address, the first defect stored in the RAM as shown in FIG. Each address is sequentially searched to determine whether or not the first defect exists in the user zone where the logical start address exists. If there is, whether or not the first defect exists before the logical start address. In the case where it exists, the logical start address is shifted backward by that number to obtain a temporary physical address. Further, as shown in FIG. 14, each address of the second defect stored in the RAM is sequentially searched to determine whether or not the temporary physical start address is the address of the second defect. If it is an address, the physical address of the replacement destination is set as the start physical address. In determining the read addresses after the start address, the physical addresses to be actually read are calculated while sequentially searching the addresses of the first defect and the second defect and referring to them one by one. As described above, the addresses of the first defect and the second defect need to be sequentially searched because the addresses of the first defect and the second defect are not managed for each user zone, and are sequentially searched from the top. Otherwise, it cannot be determined in which user zone each defect exists.
[0012]
In such a conventional magneto-optical disk device, every time a medium access command is issued from the host, the addresses of the first defect and the second defect are sequentially repeated many times in order to convert the logical address into a physical address. Since it is necessary to search, and this search takes a lot of time, there is a problem that the processing speed is slow. In particular, if the use period of the magneto-
[0013]
DISCLOSURE OF THE INVENTION
The present invention has been conceived under the circumstances described above, and an object of the present invention is to provide a recording / reproducing apparatus capable of reducing the processing time of a medium access command.
[0014]
In order to solve the above problems, the present invention takes the following technical means.
[0015]
According to the first aspect of the present invention, the first predetermined number of unit recording areas that can be specified by one address are continuous with the data zone, and the data zone has a defect in the unit recording area. Sometimes, instead of the unit recording area, there are a plurality of user zones each consisting of a second predetermined number of consecutive spare zones, and among the defects in the unit recording area, there is a first defect that does not designate a replacement unit recording area. A defect address in which the address of the generated unit recording area and the address and the replacement destination address of the unit recording area in which the second defect specifying the replacement unit recording area among the defects in the unit recording area are recorded separately. A recording / reproducing apparatus for reading / writing data from / in a recording medium having a recording zone, wherein the first defect is based on reproduced data from the defective address recording zone. And / or a defect number registration device for storing the number of second defects in the storage device for each user zone, and the number of first defects and / or second defects for each user zone stored in the storage device. Thus, there is provided a recording / reproducing apparatus comprising an address conversion device that converts an access range designated with a logical address as a reference into a physical address.
[0016]
According to a preferred embodiment, when the first defect does not exist in the user zone corresponding to the logical address, the address translation device does not search for the address of the first defect and accesses specified based on the logical address. Convert a range to a physical address.
[0017]
According to another preferred embodiment, the address translation device is designated on the basis of the logical address without searching for the address of the second defect when the second defect does not exist in the user zone corresponding to the logical address. Convert the access range to a physical address.
[0018]
According to another preferred embodiment, when the first defect exists in the user zone corresponding to the logical address, the address translation device has a first defect in the user zone ahead of the user zone corresponding to the logical address. By calculating the sum of the numbers, the access range specified on the basis of the logical address is used as the physical address without searching for the address of the first defect in the user zone ahead of the user zone corresponding to the logical address. Convert.
[0019]
According to another preferred embodiment, when there is a second defect in the user zone corresponding to the logical address, the address translation device has a second defect in the user zone ahead of the user zone corresponding to the logical address. By calculating the sum of the numbers, the access range specified on the basis of the logical address is used as the physical address without searching for the address of the second defect in the user zone ahead of the user zone corresponding to the logical address. Convert.
[0020]
According to another preferred embodiment, when the recording medium is physically formatted, the defect number registration device subsequently calculates the number of first defects based on reproduction data from the defect address recording zone. Each user zone is stored in the storage device.
[0021]
According to another preferred embodiment, the defect number registering apparatus, when the address of the unit recording area where the second defect has occurred and the replacement destination address are recorded in the defect address recording zone, Based on the reproduction data from the zone, the number of second defects is stored in the storage device for each user zone.
[0022]
According to another preferred embodiment, when the recording medium is loaded, the defect number registering apparatus subsequently performs the first defect and / or the first defect based on the reproduction data from the defect address recording zone. The number of two defects is stored in the storage device for each user zone.
[0023]
According to the present invention, the defect number registration device stores the number of first defects and / or second defects in the storage device for each user zone based on the reproduction data from the defect address recording zone, and the address conversion device. Since the number of the first defect and / or the second defect for each user zone stored in the storage device is used to convert the access range designated on the basis of the logical address into the physical address, the first defect Since the operation of sequentially searching for the address of the second defect and / or the second defect can be favorably reduced, the processing time of the medium access system command can be shortened.
[0024]
In other words, since the number of defects is managed for each user zone, it is not necessary to sequentially search for defective addresses in other user zones when converting a logical address to a physical address. is there. In particular, when the number of defects increases due to deterioration due to long-term use of the recording medium, the effect of the present invention is remarkable, and an OS that brings down the system as an error when the command processing time exceeds a predetermined time Even if you are using the system, the system will not go down.
[0025]
Other features and advantages of the present invention will become more apparent from the detailed description given below with reference to the accompanying drawings.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
[0027]
FIG. 1 is a circuit block diagram of a magneto-optical disk apparatus as an example of a recording / reproducing apparatus according to the present invention. The magneto-
[0028]
The magneto-
[0029]
The
[0030]
The optical head 3 is controlled by the
[0031]
The magnetic head 4 is controlled by the
[0032]
The
[0033]
The personal computer 6 transmits a command to the magneto-
[0034]
A CPU (central processing unit) 11 controls the
[0035]
A RAM (random access memory) 12 provides a work area to the
[0036]
A ROM (read only memory) 13 stores a program for operating the
[0037]
The
[0038]
FIG. 2 is a virtual circuit block diagram of functions realized by the
[0039]
The defect
[0040]
The
[0041]
FIG. 3 is a flowchart for explaining the procedure of the defect number registration process by the
[0042]
FIG. 5 is a flowchart for explaining the procedure of the address conversion process performed by the
[0043]
Next, the
[0044]
If the first defect exists in the user zone where the logical start address exists (S12: YES), the
[0045]
Thereafter, the
[0046]
If the second defect exists in the user zone where the logical start address exists (S14: YES), the
[0047]
If the temporary physical start address is the replacement source address of the second defect, the
[0048]
Next, the
[0049]
Thus, when the physical address in the range from which data is to be read is found, the
[0050]
As described above, when the access range designated with the logical address as a reference is converted into a physical address, it is not necessary to search the addresses of the first defect and the second defect in the user zone other than the access range one by one. Therefore, the processing time of the medium access command can be shortened satisfactorily.
[0051]
Therefore, even if the first defect or the second defect occurs in a large number of
[0052]
In the above embodiment, both the number of first defects and the number of second defects are registered in the defect number registration table of the
[0053]
In the above embodiment, the number of first defects is registered in the defect number registration table of the
[0054]
In the above embodiment, the number of second defects is registered in the defect number registration table of the
[0055]
【The invention's effect】
As described above, according to the present invention, the defect number registration device stores the number of first defects and / or second defects in the storage device for each user zone based on the reproduction data from the defect address recording zone. The address conversion device converts the access range designated based on the logical address into a physical address using the number of first defects and / or second defects for each user zone stored in the storage device. Therefore, the work of sequentially searching for the addresses of the first defect and / or the second defect can be favorably reduced, and the processing time of the medium access system command can be shortened.
[Brief description of the drawings]
FIG. 1 is a circuit block diagram of a magneto-optical disk apparatus as an example of a recording / reproducing apparatus according to the present invention.
FIG. 2 is a virtual circuit block diagram of functions realized by the CPU shown in FIG.
FIG. 3 is a flowchart for explaining a procedure of defect number registration processing by a CPU shown in FIG. 1;
4 is an explanatory diagram of contents of a defect number registration table stored in a RAM shown in FIG.
FIG. 5 is a flowchart illustrating a procedure of address conversion processing by a CPU shown in FIG. 1;
FIG. 6 is a schematic explanatory diagram of data recording locations on a magneto-optical disk.
FIG. 7 is an explanatory diagram of zone management in a magneto-optical disk.
8 is an explanatory diagram of contents of a user area shown in FIG.
9 is an explanatory diagram of contents of a data zone and a spare zone shown in FIG.
FIG. 10 is an explanatory diagram of contents of a data zone and a spare zone when a first defect exists.
FIG. 11 is an explanatory diagram of contents of a data zone and a spare zone when a second defect exists.
12 is an explanatory diagram of the contents of the DMA zone shown in FIG. 7;
FIG. 13 is an explanatory diagram of the contents of a PDL stored in a RAM.
FIG. 14 is an explanatory diagram of the contents of an SDL stored in a RAM.
[Explanation of symbols]
1 Magneto-optical disk unit
2 Control unit
3 Optical head
4 Magnetic head
5 Motor drive circuit
6 Personal computer
11 CPU
12 RAM
21 Defect number registration device
22 Address converter
51 Magneto-optical disk
52 tracks
53 sectors
54 unit recording area
Claims (8)
前記欠陥アドレス記録ゾーンからの再生データに基づいて、前記第1欠陥および/または前記第2欠陥の個数を各ユーザゾーン毎に記憶装置に記憶させる欠陥個数登録装置と、
前記記憶装置に記憶された前記各ユーザゾーン毎の前記第1欠陥および/または前記第2欠陥の個数を利用して、論理アドレスを基準として指定されたアクセス範囲を物理アドレスに変換するアドレス変換装置とを備えたことを特徴とする、記録再生装置。A first predetermined number of unit recording areas that can be specified by one address are continuous with the first predetermined number of data zones, and when a defect occurs in the unit recording area of the data zone, a replacement unit recording area is the first. A plurality of user zones each consisting of a predetermined number of spare zones, and further, an address of a unit recording area in which a first defect that does not designate a replacement unit recording area among defects in the unit recording area occurs, For a recording medium having a defect address recording zone for separately recording an address of a unit recording area in which a second defect that designates a replacement unit recording area among defects in a unit recording area and a replacement address are recorded A recording / reproducing apparatus for reading and writing data,
A defect number registration device for storing the number of the first defect and / or the second defect in a storage device for each user zone based on reproduction data from the defect address recording zone;
An address conversion device for converting an access range designated on the basis of a logical address into a physical address using the number of the first defect and / or the second defect for each user zone stored in the storage device And a recording / reproducing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03260199A JP3808654B2 (en) | 1999-02-10 | 1999-02-10 | Recording / playback device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03260199A JP3808654B2 (en) | 1999-02-10 | 1999-02-10 | Recording / playback device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000231762A JP2000231762A (en) | 2000-08-22 |
JP3808654B2 true JP3808654B2 (en) | 2006-08-16 |
Family
ID=12363392
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP03260199A Expired - Fee Related JP3808654B2 (en) | 1999-02-10 | 1999-02-10 | Recording / playback device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3808654B2 (en) |
-
1999
- 1999-02-10 JP JP03260199A patent/JP3808654B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000231762A (en) | 2000-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100188442B1 (en) | System and method for decision of destination track in data storage disk drive | |
JP4744569B2 (en) | Recording method and reproducing method suitable for recording / reproducing AV data, recording drive and reproducing drive thereof, information recording system, information reproducing system, and information recording medium | |
KR20100023058A (en) | Information recording medium, recording apparatus, reproduction apparatus, integrated circuit and computer program allowing for updating of a defect list | |
JPH0427626B2 (en) | ||
JP3749312B2 (en) | Method for manipulating data sector of data storage disk and disk storage system | |
US7143309B2 (en) | Information storage apparatus that can relocate data to be stored in defective sectors | |
JPH07235139A (en) | Optical disc apparatus | |
JP2968181B2 (en) | Disk device and data writing / reading method | |
MXPA06012974A (en) | Data recording/reproduction for write-once discs. | |
JPH076002A (en) | Method for replacement treatment in information recording and playback device | |
JPH0757397A (en) | Optical information recording and reproducing device | |
JPH06314174A (en) | Information recording medium and information recording and reproducing device | |
JP3808654B2 (en) | Recording / playback device | |
JPH03104056A (en) | Information recording and reproducing method for rotary type information recording and reproducing device | |
JPH05128734A (en) | Data recording/reproducing method for magneto-optical disk device | |
JP3114689B2 (en) | Disk-shaped recording medium and information recording / reproducing device | |
JP2637594B2 (en) | Information recording / reproducing device | |
JP4196512B2 (en) | Recording method and reproducing method suitable for recording / reproducing AV data, recording drive and reproducing drive thereof, information recording system, information reproducing system, and information recording medium | |
JP2000339869A (en) | Optical disk device | |
JPH0528651A (en) | Information recorder and reproducer | |
JPH0287370A (en) | Method for managing defect of optical disk | |
JPH05325422A (en) | Information recording and reproducing device | |
JPH04186562A (en) | Information recording and replay apparatus | |
JP3317947B2 (en) | optical disk | |
JPH0628779A (en) | Method for recording and controlling data in disk device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060516 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060518 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090526 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100526 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100526 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110526 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |