JP2005011473A - Optical disk device - Google Patents

Optical disk device Download PDF

Info

Publication number
JP2005011473A
JP2005011473A JP2003177250A JP2003177250A JP2005011473A JP 2005011473 A JP2005011473 A JP 2005011473A JP 2003177250 A JP2003177250 A JP 2003177250A JP 2003177250 A JP2003177250 A JP 2003177250A JP 2005011473 A JP2005011473 A JP 2005011473A
Authority
JP
Japan
Prior art keywords
disk
session
recording medium
data
disc
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
JP2003177250A
Other languages
Japanese (ja)
Inventor
Kazuhiko Hosokawa
和彦 細川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003177250A priority Critical patent/JP2005011473A/en
Publication of JP2005011473A publication Critical patent/JP2005011473A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical disk device by which the mounting time of a multi-session disk is shortened and correct disk information is always set. <P>SOLUTION: The disk ID of the disk 1 and the last address of the last readout and management information of the disk 1 are stored in a nonvolatile memory 11 before performing a takeout operation when there is a takeout request of the disk from the host computer 12 to the device and after performing the operation requested by the host computer 12 when there are requests of writing or deletion. When the same disk is set in the device, it is set by using the disk information stored in the nonvolatile memory 11 and in this case, whether or not the disk set in the device is the same one that is previously set is judged. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、マルチセッションディスクのマウント処理時間を短縮できる光ディスク装置に係り、特に、ディスク情報が常に正しくセットされる光ディスク装置に関する。
【0002】
【従来の技術】
コンパクトディスク(以下、CDという)などの記録媒体はセッションという単位で構成されており、セッションは図11のようにデータの記録位置を示す領域であるリードインエリア(LIA)、プログラムエリア、終端を示すリードアウトエリア(LOA)の3領域から成っている。このセッションが、ディスク上に1つだけ存在するようなCDをシングルセッションCDと呼び、複数のセッションが存在するディスクをマルチセッションCDと呼ぶ。
CDのディスク情報は、リードインおよびトラックの所定の位置に記録されている。シングルセッションのディスクの場合、リードインは1つであるが、マルチセッションの場合はセッションが複数あるので、リードインも複数存在する。ディスク情報を知るためには、全てのセッション情報を知る必要がある。しかし、マルチセッションのディスクの場合は最初のセッションから順に次のセッションにサーチし、次にセッションがあれば、さらに次へとサーチしていかなければならないので、シーク動作が頻繁に発生してしまい、結果として、マウント処理時間が長くかかってしまう。
このような問題に対して、特開平10−293620号公報のCD−ROMサスペンド/レジューム方式およびCD−ROMサスペンド/レジュームプログラムを記録した記録媒体では、ディスクのマウント処理時間を短縮化しようとする技術が開示されている。これは、サスペンド状態からレジュームする場合に関する技術で、装置の動作としては、サスペンドする直前にディスク管理情報を装置のメモリに保存しておき、レジューム時はメモリに保存されているディスク情報のデータを読み出し、マウント処理を省くというものである。
【特許文献1】特開平10−293620号公報
【0003】
【発明が解決しようとする課題】
ところで、ノート型PC(Personal Computer)等の中に組み込まれる装置などのように、ホストコンピュータがサスペンド状態でも装置からディスクを簡単に取り出すことが可能な構成になっているものがある。この点、特開平10−293620号公報の技術では、サスペンド中にディスクが取り出され、装置の中にディスクが無い状態になっていても、レジューム時にはサスペンド前に装置に挿入されていたディスクのディスク情報がセットされてしまうという不具合が生じ得る。
また、CD−R等の書き替え不可のディスクと異なり、CD−RW、DVD+RWなどの書き替え可能なディスクの場合では、データの消去、上書きが可能なので、他の装置に入れられ操作されたディスクの場合、最終リードアウトまでのデータが書き替えらている可能性がある。つまり、書き替え可能なディスクの場合は、たとえ同じディスクIDを持つディスクが装置に挿入されても、そのディスクの管理情報は不揮発性メモリに保存されているディスク管理情報とは異なっている可能性がある。このため、書き換え可能なディスクの場合に上述のようなマウント処理の省略をすると、誤ったディスク管理情報が設定されてしまう。
また、CD−RWの場合は、簡易消去と呼ばれるディスクの消去方式がある。これは、簡易的に光ディスクの消去を可能にするもので、ディスクの全面を消去せずに、ディスクの管理情報が書かれているPMA(Program Memory Area)、最初のセッションのTOC(Table Of Contents)と最初のトラックのPre−gapを消去する方法である。この方式では、2セッション以降のリードイン、リードアウト共に消去の対象とならない。従って、他の装置にディスクがセットされ、そこで簡易消去が行われ、その後再び装置にディスクがセットされた場合に上述のようなマウント処理の省略をすると、ブランクディスクにも関らず、最終リードアウトは消去されずに残っているので、誤ったディスク管理情報がセットされてしまう。
そこで、本発明は、上述の問題点を解決するためになされたもので、マルチセッションディスクにおけるマウント処理時間を短縮すると共に常に正しいディスク情報の設定が行われる光ディスク装置を提供することを目的とする。
【0004】
【課題を解決するための手段】
上述の問題点を解決するために、請求項1記載の発明では、光ディスクに対してデータの再生又は記録を行うデータ再生記録手段と、前記記録媒体がシングルセッションであるかマルチセションであるかを判別するセッション判別手段と、前記記録媒体のマウント時にディスクIDを検出するID検出手段と、検出したディスクIDを保存しておく不揮発性メモリとを備えた光ディスク装置において、マルチセッションの記録媒体がセットされている状態において、ホストコンピュータから装置に前記記録媒体の取り出し要求があった場合には、取り出し動作を行う前に、また、書き込みや消去の要求があった場合には、ホストコンピュータの要求する動作を行った後に前記記録媒体のディスクIDと最終リードアウトの最終アドレス及び前記記録媒体の管理情報を前記不揮発性メモリに保存し、装置が前記記録媒体をマウントする場合は、セットされた該記録媒体のディスクIDを確認し、該ディスクIDと一致するものが前記不揮発性メモリに保持されているディスクIDの中にあるかを判断し、一致するディスクIDがあった場合は、前記不揮発性メモリにディスクIDと併せて記録されている最終セッションの最終データアドレスに所定数足したアドレスにアクセスし、アクセスした結果、データが無かった場合は、前記不揮発性メモリに保持されている記録媒体の情報を採用し、マウント処理を省くことを特徴とする。
請求項2記載の発明では、前記記録媒体は1度だけの書き込みが可能な記録媒体である光ディスク装置を主要な特徴とする。
請求項3記載の発明では、前記記録媒体が書き替え可能である場合は、前記不揮発性メモリに保存された最終セッションの最終データアドレスにアクセスし、該最終データアドレスのデータがリードアウトデータと一致するかの確認を行う光ディスク装置を主要な特徴とする。
請求項4記載の発明では、最初のセッションのリードインにデータが記録されているかの確認を行う光ディスク装置を主要な特徴とする。
【0005】
【発明の実施の形態】
以下、図面により本発明の実施の形態を詳細に説明する。図1は本発明に係る光ディスク装置100のブロック図である。光ディスク装置100はこの例ではCD−R/RW規格の記録媒体に対応したドライブ装置であり、図1中の点線で囲まれた部分に相当する。光ディスク装置100は記録媒体としてのディスク1を回転させるスピンドルモータ2と、ディスク1にレーザーを照射してデータの再生又は記録を行う光ピックアップ4を備えている。スピンドルモータ2の回転制御は回転制御系3で行い、光ピックアップ4の制御は光ピックアップ制御系8で行う。
粗動モータ5は光ピックアップ制御系8をディスクの半径方向に移動させるモータで、粗動モータ5の制御を行うのが粗動モータ制御系6である。また、信号処理系7は光ピックアップ4からの信号の処理や、ディスク1に記録を行う為のデータの送受信を行う。コントローラ9は装置全体の制御を行うもので、ディスク1がシングルセッションであるかマルチセションであるかを判別する手段と、ディスクマウント時にディスクIDを検出する手段とを含んでいる。不揮発性メモリ11はコントローラ9を動かすためのプログラムが記録されており、この他にも、ディスクID、ディスクの所定位置のStart・Endアドレス等の情報を記憶させておくためのものであり、バッファメモリ10は再生・記録用のデータを一時的に保存しておくためのものである。このように構成された光ディスク装置100はホストコンピュータ12によって記録・再生等の制御が行われる。
【0006】
ここで、光ディスク装置100における第1の動作例について説明する。第1の動作例では、ホストコンピュータからディスクの取り出し、データの書き込み、データの消去の要求があった場合の処理と、装置にディスクがマウントされた場合の処理を行う。ホストコンピュータからディスクの取り出し要求があった場合の処理動作のフローチャートを図2に示し、ホストコンピュータから書き込み又は消去の要求があった場合の処理動作のフローチャートを図3に示し、装置にディスクがセットされた時の処理動作のフローチャートを図4に示す。
図2に示すように、ホストコンピュータからディスクの取り出し要求があった場合は(ステップS1)、装置はディスクがマルチセッションのディスクであるかを判断し(ステップS2)、マルチセッションのディスクでないと判断した場合にはステップS4へ進み、マルチセッションのディスクであると判断した場合にはディスクの媒体情報を図1で説明した不揮発性メモリ11に保存し(ステップS3)、ステップS4へ移る。ステップS4では、ディスクの取り出しを実行する。
なお、不揮発性メモリ11に保存する媒体情報は、ディスクIDと、最終セッションの最終データアドレスとディスク管理情報で、このディスク管理情報は、各セッションのTOC(Table Of Contents)情報、PMA(Program Memory Area)情報(記録型ディスクの場合)等から得られる情報で、例として、最終セッションの状態(OpenセッションかCloseセッションか)、ディスクステータス(CompleteDiscかInCompleteDiscか)、各セッションに含まれるトラック数、ディスクタイプコード(CD−DA or CD−ROM or CD−ROM XAなど)各トラックのスタートアドレス等が挙げられる。このときに不揮発性メモリ11に保存される情報の例を図5に示す。
【0007】
ここで、TOC(Table Of Contents)について説明する。CDの構造の最小ブロックをフレームという。フレームには図6に示すようにデータ、誤り訂正用の情報(パリティ)の他にサブコードが含まれる。サブコードの8ビットの各ビットは、それぞれP、Q、R、S、T、U、V、Wビットと名づけられており、Qサブコードはディスクの索引で、記録された曲のチャンネル数(2または4)、エンファシスの有無、トラック番号、インデックス番号といった情報が格納されている。TOCはリードインエリアのQサブコードチャネルにあり、トラック数、そのセッションの全てのトラックの開始位置、CD全体の長さ情報が含まれている。
図3に示すように、ホストコンピュータからの要求が書き込み又は消去の処理である場合(ステップS5)、ステップS6に移って装置は書き込み又は消去処理を行い、その後、ステップS7に進んでマルチセッションのディスクであるかどうかを判断する。ディスク取り出しの場合と異なるのは、ホストコンピュータからの要求の処理を行った後にマルチセッションのディスクかどうかの確認を行っている点である。これは、書き込みによってマルチセッションのディスクになるものや、消去によってマルチセッションのディスクでなくなる場合がある為である。フローに戻ってステップS7でマルチセッションのディスクでないと判断した場合にはフローを終了し、マルチセッションのディスクであると判断した場合にはステップS8へ移って不揮発性メモリ11にディスクID及びディスク情報を保存し、フローを終了する。
【0008】
セットされたディスクのマウント処理を行う場合の処理動作を図4のフローチャートに示す。装置にディスクがセットされると、まず、ディスクIDがあるかないかを確認する(ステップS9)、ディスクIDが無い場合はステップS13へ進んで通常のマウント処理を行ってフローを終了し、ディスクIDがある場合はステップS10へ進んで不揮発性メモリ11に保存されているディスクIDのリストを検索し、一致するディスクIDがあるかないかを調べる。一致するディスクIDが無ければステップS13で通常のマウント処理を行ってフローを終了し、一致するディスクIDがあればステップS11へ移ってディスクIDと一緒に不揮発性メモリ11に保存されている最終セッションの最終データアドレスに所定数足したアドレス(以降、アドレス(X)という)にアクセスし、データの有無を判断する。
例えば、最終アドレスに足し込む数を100に設定する、次にセッションがあった場合はリードインにアクセスすることになるが、セッションがない場合は、リードエラーが発生する。この場合のデータ有無は、アドレス(X)を読み、TOC情報が読めたかどうかで判断すれば良い。ステップS11において、データがあった場合には、ディスクは、他の装置等に挿入され、記録されることにより、ディスク構成が変わったと判断し、ステップS13へ移って通常のマウント処理を行ってフローを終了し、データが無かった場合は、不揮発性メモリ11に保存されているディスク情報は信頼できると判断し、不揮発性メモリ11に保存されているディスク情報を読み出(ステップS12)し、その後フローを終了する。
このように、光ディスク装置100における第1の動作例では、マウントに時間がかかるマルチセッションのディスクのディスク情報を不揮発性メモリ11に保存しておき、装置に再び同じディスクがセットされた場合は、不揮発性メモリ11に保存しておいたディスク情報を用いて設定し、その際、装置にセットされたディスクが以前セットされたものと同じディスクであるかどうかを判断しているので、マルチセッションディスクのマウント時間を短縮しつつ、常に正しいディスク情報の設定が行われる。
【0009】
次に、光ディスク装置100における第2の動作例について説明する。第2の動作例では、CD−Rのように1度だけの書き込みが可能な記録媒体が使用された場合にも対応できる処理を行うようにしている。図7は第2の動作例を示すフローチャートである。このフローでは、まず、ホストコンピュータからの要求が書き込み又は消去処理であるかどうかを判断し(ステップS21)、書き込み又は消去処理でない場合は再びステップS21の判断を繰り返し、書き込み又は消去処理である場合はステップS22へ進んで書き込み又は消去処理を行い、その後、マルチセッションのディスクかどうかを判断する(ステップS23)。
マルチセッションのディスクでない場合はそのままフローを終了し、マルチセッションのディスクである場合は、ステップS24に移って書き替え可能なディスクかどうかを判断し、書き替え可能なディスクであればフローを終了し、書き替え可能なディスクでなければ、ステップS25へ進んで不揮発性メモリ11にディスクID、ディスク情報等の保存を行ってフローを終了する。書き替え可能なディスクの場合は、マルチセッションディスクであっても、ディスクID、ディスク情報を不揮発性メモリに保存しないので、装置にマルチセッションの書き替え可能なディスクが入ってきた場合に、マウント時間の短縮化が行われることはない。
書き替え可能な記録媒体の場合は、同じディスクIDでも、他の装置で書き替えられている可能性があるので、書き替え不可の記録媒体に限定することで、書き替え可能なディスクの場合に、誤ったディスク情報が設定されるという不具合を解消している。
【0010】
次に、光ディスク装置100における第3の動作例について説明する。第3の動作例では、ディスクが書き替え可能である場合に、不揮発性メモリ11に保存された最終セッションの最終データアドレスにアクセスし、その最終データアドレスのデータがリードアウトデータと一致するかの確認を行うようにしている。図8は第3の動作例を示すフローチャートである。このフローでは、ディスクがセットされると、まず、ディスクIDがあるかないかを確認し(ステップS31)、ディスクIDがない場合はステップS36へ移って通常のマウント処理を行い、フローを終了する。ディスクIDがある場合は、ステップS32へ移って不揮発性メモリ11に保存されているディスクIDのリストを検索し、一致するディスクIDがあるかないかを調べる。
一致するディスクIDがない場合はステップS36へ移って通常のマウント処理を行い、フローを終了する。同じディスクIDが見つかった場合は、ステップS33へ進んでディスクIDと一緒に不揮発性メモリ11に保存されている最終セッションの最終データアドレスにアクセスし、そこがリードアウト領域であるか否かを判断する。リードアウト領域でない場合はステップS36へ移って通常のマウント処理を行い、フローを終了する。不揮発性メモリ11に保存されているアドレスがリードアウトである場合は、ステップS34へ進んでアドレス(X)にアクセスし、データの有無を判断する。
データがあった場合はステップS36へ移って通常のマウント処理を行い、フローを終了し、データが無かった場合は不揮発性メモリ11のディスク情報は有効と判断し、ディスクのマウント処理を省き(ステップS35)、フローを終了する。尚、アクセスした結果、そこがリードアウト領域であるかの確認はQサブコードを見て、トラック番号が“AA”かどうかで判断すればよい(データ領域の場合はトラック番号が返る)。このように、第3の動作例では、書き替え可能なディスクの場合でもマルチセッションディスクのマウント処理時間を短縮することができる。
【0011】
次に、光ディスク装置100における第4の動作例について説明する。第4の動作例では、最初のセッションのリードインにデータが記録されているかの確認を行うようにしている。図9は第4の動作例を示すフローチャートである。このフローでは、装置にディスクがセットされると、まず、ステップS41でディスクIDがあるかないかを確認し、ディスクIDがない場合はステップS47へ進んで通常のマウント処理を行って、フローを終了する。ディスクIDがある場合は、ステップS42へ進んで不揮発性メモリ11に保存されている、ディスクIDのリストを検索し、一致するディスクIDがあるかを調べる。
一致するディスクIDがない場合はステップS47へ進んで通常のマウント処理を行って、フローを終了する。同じディスクIDが見つかった場合は、ステップS43へ進んでディスクIDと一緒に不揮発性メモリ11に保存されている最終セッションの最終データアドレスにアクセスし、そこがリードアウト領域であるか否かを判断する。リードアウト領域でない場合はステップS47へ進んで通常のマウント処理を行って、フローを終了する。不揮発性メモリに保存されているアドレスがリードアウトである場合は、ステップS44へ進んでアドレス(X)にアクセスし、データの有無を判断する。ここでデータがある場合はステップS47へ進んで通常のマウント処理を行って、フローを終了する。データが無い場合は、ステップS45へ進んで、今度は、最初のセションのリードインにアクセスし、リードインにデータがあるかないかを調べる。
ステップS45の確認の結果、データがない場合はステップS47へ進んで通常のマウント処理を行って、フローを終了する。リードインにTOCがあった場合にはじめて不揮発性メモリ11のディスク情報は有効と判断し、ステップS46に移って揮発性メモリ11にあるディスク管理情報を用いて設定し、ディスクのマウント処理を省いてフローを終了する。ディスクが他の装置にセットされ、簡易消去されていた場合はリードインにTOCデータが無いので、誤ったディスク情報が設定される不具合が解消されている。なお、最初のセッションのリードイン終了時間は、99:59:74と決まっているので(図10参照)、その手前をアクセスすればよい。
【0012】
【発明の効果】
以上説明したように、請求項1によれば、マウントに時間がかかるマルチセッションの記録媒体のディスク情報を不揮発性メモリに保存しておき、装置に再び同じ記録媒体がセットされた場合は、不揮発性メモリに保存しておいたディスク情報を用いて設定し、その際、装置にセットされた記録媒体が以前セットされたものと同じ記録媒体であるかどうかを判断しているので、マルチセッションの記録媒体のマウント時間を短縮しつつ、常に正しいディスク情報の設定が行われる。
請求項2によれば、1度だけの書き込みが可能な記録媒体に限定しているので、書き替え可能な記録媒体に対して誤ったディスク情報を設定するという不具合を解消できる。
請求項3によれば、記録媒体が書き替え可能である場合に、不揮発性メモリに保存された最終セッションの最終データアドレスにアクセスし、その最終データアドレスのデータがリードアウトデータと一致するかの確認を行うので、書き替え可能な記録媒体の場合でもマルチセッションの記録媒体のマウント処理時間を短縮することができる。
請求項4によれば、最初のセッションのリードインにデータが記録されているかの確認を行うので、他の装置で簡易消去された場合に、誤ったディスク情報を設定するという不具合を解決できる。
【図面の簡単な説明】
【図1】光ディスク装置100のブロック図である。
【図2】光ディスク装置100における第1の動作例(Eject要求時)を示すフローチャートである。
【図3】光ディスク装置100における第1の動作例(Write/Erase要求時)を示すフローチャートである。
【図4】光ディスク装置100における第1の動作例(マウント時)を示すフローチャートである。
【図5】不揮発性メモリに保存する例を示す図である。
【図6】フレームの構成を示す図である。
【図7】光ディスク装置100における第2の動作例を示すフローチャートである。
【図8】光ディスク装置100における第3の動作例を示すフローチャートである。
【図9】光ディスク装置100における第4の動作例を示すフローチャートである。
【図10】最初のセッションのリードインエリアを示す図である。
【図11】シングルセッションとマルチセッションの違いを示す図である。
【符号の説明】
1 ディスク、2 スピンドルモータ、3 回転制御系、4 光ピックアップ、5 粗動モータ、6 粗動モータ制御系、7 信号処理系、8 光ピックアップ制御系、9 コントローラ、10 バッファメモリ、11 不揮発性メモリ、12 ホストコンピュータ、100 光ディスク装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an optical disc apparatus capable of shortening the mount processing time of a multi-session disc, and more particularly to an optical disc device in which disc information is always set correctly.
[0002]
[Prior art]
A recording medium such as a compact disc (hereinafter referred to as a CD) is composed of a unit called a session, and a session has a lead-in area (LIA), a program area, and an end indicating an area for recording data as shown in FIG. It consists of three areas, the lead-out area (LOA) shown. A CD in which only one session exists on the disc is called a single session CD, and a disc having a plurality of sessions is called a multi-session CD.
CD disc information is recorded at a predetermined position in the lead-in and track. In the case of a single session disc, there is one lead-in, but in the case of a multi-session, there are a plurality of sessions, so there are a plurality of lead-ins. In order to know the disc information, it is necessary to know all the session information. However, in the case of a multi-session disc, the search must be performed from the first session to the next session, and if there is a next session, the search must be continued to the next. As a result, the mounting process takes a long time.
With respect to such a problem, a technique for shortening the disk mounting processing time in the recording medium on which the CD-ROM suspend / resume method and the CD-ROM suspend / resume program disclosed in Japanese Patent Laid-Open No. 10-293620 are recorded. Is disclosed. This is a technology related to resuming from the suspend state. The operation of the device is to save the disk management information in the device memory immediately before suspending, and to resume the disk information data saved in the memory. Read and mount processes are omitted.
[Patent Document 1] Japanese Patent Application Laid-Open No. 10-293620
[Problems to be solved by the invention]
Some devices, such as a device incorporated in a notebook PC (Personal Computer), can easily take out a disk from the device even when the host computer is in a suspended state. In this regard, in the technique disclosed in Japanese Patent Application Laid-Open No. 10-293620, even if the disk is removed during the suspend process and there is no disk in the apparatus, the disk of the disk that was inserted into the apparatus before the suspend at the time of resume. There may be a problem that information is set.
In addition, unlike a rewritable disc such as a CD-R, a rewritable disc such as a CD-RW or DVD + RW can be erased or overwritten, so that the disc is put in another device and operated. In this case, there is a possibility that data up to the final lead-out has been rewritten. In other words, in the case of a rewritable disc, even if a disc having the same disc ID is inserted into the device, the disc management information may be different from the disc management information stored in the nonvolatile memory. There is. For this reason, if the mount process as described above is omitted in the case of a rewritable disk, incorrect disk management information is set.
In the case of CD-RW, there is a disk erasing method called simple erasing. This makes it possible to easily erase an optical disk. PMA (Program Memory Area) in which the management information of the disk is written without erasing the entire surface of the disk, TOC (Table Of Contents) of the first session. ) And the pre-gap of the first track. In this method, lead-in and lead-out after two sessions are not erased. Therefore, if the disk is set in another device, and simple erasure is performed there, and then the disk is set in the device again, if the mounting process as described above is omitted, the final read is performed regardless of the blank disk. Since the out remains without being erased, incorrect disk management information is set.
Accordingly, the present invention has been made to solve the above-described problems, and an object of the present invention is to provide an optical disc apparatus capable of reducing the mount processing time in a multi-session disc and always setting correct disc information. .
[0004]
[Means for Solving the Problems]
In order to solve the above-described problems, in the first aspect of the present invention, there is provided data reproduction / recording means for reproducing or recording data on an optical disc, and whether the recording medium is a single session or a multi-session. A multi-session recording medium is set in an optical disc apparatus comprising session discriminating means for discriminating, ID detecting means for detecting a disc ID when the recording medium is mounted, and a non-volatile memory for storing the detected disc ID. If the recording medium is requested to be removed from the host computer by the host computer, the host computer requests it before performing the ejecting operation or when there is a request for writing or erasing. After performing the operation, the disc ID of the recording medium, the final address of the final readout, and the previous When management information of a recording medium is stored in the non-volatile memory and the apparatus mounts the recording medium, the disk ID of the set recording medium is confirmed, and the one that matches the disk ID is the non-volatile memory If there is a matching disk ID, a predetermined number of data is added to the last data address of the last session recorded together with the disk ID in the nonvolatile memory. If there is no data as a result of accessing the address, the information of the recording medium held in the nonvolatile memory is adopted, and the mounting process is omitted.
According to a second aspect of the present invention, the recording medium is mainly characterized by an optical disc apparatus which is a recording medium which can be written only once.
According to a third aspect of the present invention, when the recording medium is rewritable, the last data address of the last session stored in the nonvolatile memory is accessed, and the data at the last data address matches the lead-out data. The main feature is an optical disc apparatus for confirming whether or not to do so.
The main feature of the invention of claim 4 is that the optical disk apparatus confirms whether data is recorded in the lead-in of the first session.
[0005]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an optical disc apparatus 100 according to the present invention. In this example, the optical disc apparatus 100 is a drive apparatus compatible with a CD-R / RW standard recording medium, and corresponds to a portion surrounded by a dotted line in FIG. The optical disc apparatus 100 includes a spindle motor 2 that rotates a disc 1 as a recording medium, and an optical pickup 4 that reproduces or records data by irradiating the disc 1 with a laser. The rotation control of the spindle motor 2 is performed by the rotation control system 3, and the optical pickup 4 is controlled by the optical pickup control system 8.
The coarse motion motor 5 is a motor that moves the optical pickup control system 8 in the radial direction of the disk. The coarse motion motor control system 6 controls the coarse motion motor 5. Further, the signal processing system 7 performs processing of signals from the optical pickup 4 and transmission / reception of data for recording on the disk 1. The controller 9 controls the entire apparatus, and includes means for determining whether the disk 1 is a single session or multi-session and a means for detecting a disk ID when the disk is mounted. The non-volatile memory 11 stores a program for operating the controller 9 and stores information such as a disk ID and a start / end address at a predetermined position of the disk. The memory 10 is for temporarily storing data for reproduction / recording. The optical disc apparatus 100 configured as described above is controlled by the host computer 12 for recording / reproduction and the like.
[0006]
Here, a first operation example in the optical disc apparatus 100 will be described. In the first operation example, processing is performed when there is a request from the host computer to eject a disk, write data, or erase data, and process when a disk is mounted on the apparatus. FIG. 2 shows a flowchart of processing operations when a request for taking out a disk from the host computer is shown. FIG. 3 shows a flowchart of processing operations when a request for writing or erasing is received from the host computer. FIG. 4 shows a flowchart of the processing operation at this time.
As shown in FIG. 2, when there is a disk removal request from the host computer (step S1), the apparatus determines whether the disk is a multi-session disk (step S2) and determines that the disk is not a multi-session disk. If YES in step S4, the flow advances to step S4. If it is determined that the disc is a multi-session disc, the medium information of the disc is stored in the nonvolatile memory 11 described in FIG. 1 (step S3), and the flow advances to step S4. In step S4, the disk is ejected.
The medium information stored in the nonvolatile memory 11 is a disk ID, a final data address of the last session, and disk management information. The disk management information includes TOC (Table Of Contents) information, PMA (Program Memory) of each session. Area) Information obtained from information (in the case of a recordable disc) and the like, for example, the status of the last session (Open session or Close session), disc status (Complete Disc or In Complete Disc), the number of tracks included in each session, The disc type code (CD-DA or CD-ROM or CD-ROM XA, etc.) includes the start address of each track. An example of information stored in the nonvolatile memory 11 at this time is shown in FIG.
[0007]
Here, TOC (Table Of Contents) will be described. The smallest block of the CD structure is called a frame. As shown in FIG. 6, the frame includes subcodes in addition to data and error correction information (parity). Each of the 8 bits of the subcode is named P, Q, R, S, T, U, V, W bits, and the Q subcode is an index of the disc, and the number of recorded music channels ( 2 or 4), information such as presence / absence of emphasis, track number, and index number is stored. The TOC is in the Q subcode channel in the lead-in area, and includes the number of tracks, the start positions of all tracks in the session, and length information of the entire CD.
As shown in FIG. 3, when the request from the host computer is a writing or erasing process (step S5), the apparatus moves to step S6 to perform a writing or erasing process, and then proceeds to step S7 to perform multi-session processing. Determine if it is a disk. The difference from the case of disk removal is that the request from the host computer is processed and then it is confirmed whether the disk is a multi-session disk. This is because a multi-session disc may be created by writing or a multi-session disc may be lost by erasing. Returning to the flow, if it is determined in step S7 that the disk is not a multi-session disk, the flow is terminated. If it is determined that the disk is a multi-session disk, the process proceeds to step S8 and the disk ID and disk information are stored in the nonvolatile memory 11. Is saved and the flow ends.
[0008]
FIG. 4 is a flowchart showing the processing operation when the set disk is mounted. When a disk is set in the apparatus, first, it is confirmed whether or not there is a disk ID (step S9). If there is no disk ID, the process proceeds to step S13 to perform a normal mounting process, and the flow is terminated. If there is a disk ID, the process proceeds to step S10, and a list of disk IDs stored in the nonvolatile memory 11 is searched to check whether there is a matching disk ID. If there is no matching disk ID, the normal mounting process is performed in step S13 to end the flow. If there is a matching disk ID, the process proceeds to step S11 and the last session stored in the nonvolatile memory 11 together with the disk ID. The address (hereinafter referred to as address (X)) obtained by adding a predetermined number to the last data address is accessed to determine the presence or absence of data.
For example, the number added to the final address is set to 100. If there is a next session, the lead-in is accessed, but if there is no session, a read error occurs. The presence or absence of data in this case may be determined by reading the address (X) and reading the TOC information. If there is data in step S11, the disc is inserted and recorded in another device or the like, so that it is determined that the disc configuration has changed, and the flow proceeds to step S13 to perform normal mounting processing. If there is no data, it is determined that the disk information stored in the nonvolatile memory 11 is reliable, the disk information stored in the nonvolatile memory 11 is read (step S12), and then End the flow.
As described above, in the first operation example in the optical disc apparatus 100, the disc information of the multi-session disc that takes time to mount is stored in the nonvolatile memory 11, and the same disc is set in the device again. Multi-session discs are set using the disc information stored in the non-volatile memory 11, and at that time, it is determined whether the disc set in the apparatus is the same disc as previously set. The correct disk information is always set while reducing the mounting time.
[0009]
Next, a second operation example in the optical disc apparatus 100 will be described. In the second operation example, processing that can cope with a case where a recording medium that can be written only once such as a CD-R is used is performed. FIG. 7 is a flowchart showing a second operation example. In this flow, first, it is determined whether or not the request from the host computer is a writing or erasing process (step S21). If it is not a writing or erasing process, the determination in step S21 is repeated again. The process proceeds to step S22 to perform write or erase processing, and then determines whether the disk is a multi-session disc (step S23).
If it is not a multi-session disc, the flow is terminated as it is. If it is a multi-session disc, the flow proceeds to step S24 to determine whether it is a rewritable disc. If the disk is not rewritable, the process proceeds to step S25, where the disk ID, disk information, and the like are stored in the nonvolatile memory 11, and the flow ends. In the case of a rewritable disc, even if it is a multi-session disc, the disc ID and disc information are not saved in the non-volatile memory, so when a multi-session rewritable disc enters the device, the mount time Will not be shortened.
In the case of a rewritable recording medium, even with the same disk ID, there is a possibility that it has been rewritten by another device. This solves the problem that incorrect disk information is set.
[0010]
Next, a third operation example in the optical disc apparatus 100 will be described. In the third operation example, when the disk is rewritable, the last data address of the last session stored in the nonvolatile memory 11 is accessed, and whether the data at the last data address matches the lead-out data. Confirmation is made. FIG. 8 is a flowchart showing a third operation example. In this flow, when a disk is set, first, it is confirmed whether or not there is a disk ID (step S31). If there is no disk ID, the process proceeds to step S36 to perform a normal mounting process, and the flow ends. If there is a disk ID, the process moves to step S32 and a list of disk IDs stored in the nonvolatile memory 11 is searched to check whether there is a matching disk ID.
If there is no matching disk ID, the process moves to step S36 to perform a normal mounting process, and the flow ends. If the same disk ID is found, the process proceeds to step S33 to access the last data address of the last session stored in the nonvolatile memory 11 together with the disk ID, and determine whether or not this is the lead-out area. To do. If it is not the lead-out area, the process moves to step S36 to perform a normal mounting process, and the flow ends. If the address stored in the nonvolatile memory 11 is a lead-out, the process proceeds to step S34 to access the address (X) and determine the presence or absence of data.
If there is data, the process proceeds to step S36 to perform a normal mounting process, and the flow is terminated. If there is no data, it is determined that the disk information in the nonvolatile memory 11 is valid, and the disk mounting process is omitted (step S36). S35), the flow ends. It should be noted that as a result of the access, whether or not it is a lead-out area can be determined by looking at the Q subcode and determining whether the track number is “AA” (in the case of a data area, the track number is returned). As described above, in the third operation example, the mount processing time of the multi-session disc can be shortened even in the case of a rewritable disc.
[0011]
Next, a fourth operation example in the optical disc apparatus 100 will be described. In the fourth operation example, it is confirmed whether data is recorded in the lead-in of the first session. FIG. 9 is a flowchart showing a fourth operation example. In this flow, when a disk is set in the apparatus, first, in step S41, it is confirmed whether or not there is a disk ID. If there is no disk ID, the process proceeds to step S47 to perform normal mounting processing, and the flow ends. To do. If there is a disk ID, the process proceeds to step S42, and a list of disk IDs stored in the nonvolatile memory 11 is searched to check whether there is a matching disk ID.
If there is no matching disk ID, the process proceeds to step S47 to perform normal mounting processing, and the flow ends. If the same disk ID is found, the process proceeds to step S43 to access the last data address of the last session stored in the nonvolatile memory 11 together with the disk ID, and determine whether or not this is the lead-out area. To do. If it is not the lead-out area, the process proceeds to step S47 to perform a normal mounting process, and the flow ends. If the address stored in the non-volatile memory is a lead-out, the process proceeds to step S44 to access the address (X) and determine the presence or absence of data. If there is data, the process proceeds to step S47 to perform a normal mounting process, and the flow ends. If there is no data, the process proceeds to step S45, and this time, the lead-in of the first session is accessed to check whether there is data in the lead-in.
If there is no data as a result of the confirmation in step S45, the process proceeds to step S47 to perform a normal mounting process, and the flow ends. Only when there is a TOC in the lead-in, the disk information in the nonvolatile memory 11 is determined to be valid, and the process proceeds to step S46, where the disk management information in the volatile memory 11 is set and the disk mounting process is omitted. End the flow. When the disk is set in another device and simply erased, there is no TOC data in the lead-in, so that the problem of setting wrong disk information is solved. Since the lead-in end time of the first session is determined to be 99:59:74 (see FIG. 10), it is sufficient to access the lead-in end time.
[0012]
【The invention's effect】
As described above, according to the first aspect, the disk information of the multi-session recording medium that takes time to mount is stored in the nonvolatile memory, and when the same recording medium is set again in the apparatus, the non-volatile Since it is determined whether the recording medium set in the device is the same as the previously set recording medium, the multi-session The correct disc information is always set while reducing the mounting time of the recording medium.
According to the second aspect, since the recording medium is limited to a recording medium that can be written only once, it is possible to solve the problem of setting wrong disc information for the rewritable recording medium.
According to the third aspect, when the recording medium is rewritable, the last data address of the last session stored in the nonvolatile memory is accessed, and whether the data at the last data address matches the lead-out data. Since the confirmation is performed, the mount processing time of the multi-session recording medium can be shortened even in the case of a rewritable recording medium.
According to the fourth aspect of the present invention, since it is confirmed whether data is recorded in the lead-in of the first session, it is possible to solve the problem of setting wrong disc information when it is simply erased by another device.
[Brief description of the drawings]
FIG. 1 is a block diagram of an optical disc apparatus 100. FIG.
2 is a flowchart showing a first operation example (at the time of eject request) in the optical disc apparatus 100. FIG.
FIG. 3 is a flowchart showing a first operation example (at the time of Write / Erase request) in the optical disc apparatus 100;
4 is a flowchart showing a first operation example (during mounting) in the optical disc apparatus 100. FIG.
FIG. 5 is a diagram illustrating an example of saving in a nonvolatile memory.
FIG. 6 is a diagram illustrating a configuration of a frame.
7 is a flowchart showing a second operation example in the optical disc apparatus 100. FIG.
8 is a flowchart showing a third operation example in the optical disc apparatus 100. FIG.
9 is a flowchart showing a fourth operation example in the optical disc apparatus 100. FIG.
FIG. 10 is a diagram showing a lead-in area of the first session.
FIG. 11 is a diagram showing a difference between a single session and a multi-session.
[Explanation of symbols]
1 disk, 2 spindle motor, 3 rotation control system, 4 optical pickup, 5 coarse motion motor, 6 coarse motion motor control system, 7 signal processing system, 8 optical pickup control system, 9 controller, 10 buffer memory, 11 nonvolatile memory , 12 Host computer, 100 Optical disk device

Claims (4)

光ディスクに対してデータの再生又は記録を行うデータ再生記録手段と、前記記録媒体がシングルセッションであるかマルチセションであるかを判別するセッション判別手段と、前記記録媒体のマウント時にディスクIDを検出するID検出手段と、検出したディスクIDを保存しておく不揮発性メモリとを備えた光ディスク装置において、
マルチセッションの記録媒体がセットされている状態において、ホストコンピュータから装置に前記記録媒体の取り出し要求があった場合には、取り出し動作を行う前に、また、書き込みや消去の要求があった場合には、ホストコンピュータの要求する動作を行った後に前記記録媒体のディスクIDと最終リードアウトの最終アドレス及び前記記録媒体の管理情報を前記不揮発性メモリに保存し、
装置が前記記録媒体をマウントする場合は、セットされた該記録媒体のディスクIDを確認し、該ディスクIDと一致するものが前記不揮発性メモリに保持されているディスクIDの中にあるかを判断し、一致するディスクIDがあった場合は、前記不揮発性メモリにディスクIDと併せて記録されている最終セッションの最終データアドレスに所定数足したアドレスにアクセスし、アクセスした結果、データが無かった場合は、前記不揮発性メモリに保持されている記録媒体の情報を採用し、マウント処理を省くことを特徴とする光ディスク装置。
Data reproducing / recording means for reproducing or recording data on an optical disc, session discriminating means for discriminating whether the recording medium is a single session or multi-session, and disc ID is detected when the recording medium is mounted In an optical disc apparatus comprising an ID detection means and a nonvolatile memory for storing the detected disc ID,
When a multi-session recording medium is set, if there is a request for removal of the recording medium from the host computer to the apparatus, there is a request for writing or erasing before performing the removal operation. Stores the disk ID of the recording medium, the final address of the final readout, and the management information of the recording medium in the nonvolatile memory after performing the operation requested by the host computer,
When the apparatus mounts the recording medium, the disk ID of the set recording medium is confirmed, and it is determined whether there is a disk ID that matches the disk ID in the non-volatile memory. If there is a matching disk ID, access is made to an address obtained by adding a predetermined number to the last data address of the last session recorded together with the disk ID in the non-volatile memory. As a result, there is no data. In this case, the optical disk apparatus is characterized in that the information of the recording medium held in the nonvolatile memory is adopted and the mounting process is omitted.
前記記録媒体は1度だけの書き込みが可能な記録媒体であることを特徴とする請求項1記載の光ディスク装置。2. The optical disc apparatus according to claim 1, wherein the recording medium is a recording medium which can be written only once. 前記記録媒体が書き替え可能である場合は、前記不揮発性メモリに保存された最終セッションの最終データアドレスにアクセスし、該最終データアドレスのデータがリードアウトデータと一致するか否かの確認を行うことを特徴とする請求項1記載の光ディスク装置。If the recording medium is rewritable, the last data address of the last session stored in the nonvolatile memory is accessed, and it is confirmed whether or not the data at the last data address matches the lead-out data. 2. The optical disk apparatus according to claim 1, wherein 最初のセッションのリードインにデータが記録されているか否かの確認を行うことを特徴とする請求項3記載の光ディスク装置。4. The optical disk apparatus according to claim 3, wherein it is confirmed whether or not data is recorded in the lead-in of the first session.
JP2003177250A 2003-06-20 2003-06-20 Optical disk device Pending JP2005011473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003177250A JP2005011473A (en) 2003-06-20 2003-06-20 Optical disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003177250A JP2005011473A (en) 2003-06-20 2003-06-20 Optical disk device

Publications (1)

Publication Number Publication Date
JP2005011473A true JP2005011473A (en) 2005-01-13

Family

ID=34099891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003177250A Pending JP2005011473A (en) 2003-06-20 2003-06-20 Optical disk device

Country Status (1)

Country Link
JP (1) JP2005011473A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2007074618A1 (en) * 2005-12-28 2009-06-04 パイオニア株式会社 Final region search device, information reproduction device, final region search method, and final region search processing program
US8125871B2 (en) 2006-01-12 2012-02-28 Sony Corporation Recording apparatus, recording method and recording program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2007074618A1 (en) * 2005-12-28 2009-06-04 パイオニア株式会社 Final region search device, information reproduction device, final region search method, and final region search processing program
US8125871B2 (en) 2006-01-12 2012-02-28 Sony Corporation Recording apparatus, recording method and recording program

Similar Documents

Publication Publication Date Title
US5623470A (en) Reallocation of defective recording areas on CD-R or CD-E media
JP3867038B2 (en) Information recording apparatus, information recording method, program, and recording medium
US7180841B2 (en) Recording method, recording medium, program, information recording medium, and information recording device
JP3580711B2 (en) Information recording / reproducing device
JP2004022069A (en) Information recording apparatus, information recording method, program, recording medium, and information recording system
TW200402627A (en) Program, computer-readable recording medium, information processing system, and method for protecting from illegally copying program
JP2007080408A (en) Information recording and reproducing device, its data reproducing method, and its optical disk
KR100793231B1 (en) Method for controlling play of finalized disc
JP2005011473A (en) Optical disk device
JPH0935270A (en) Cd-r driving device
KR20050045517A (en) A optical recording medium, a recording/reproducing method and a recording/reproducing apparatus
JP3825511B2 (en) Information recording / reproducing device
KR100510498B1 (en) Method and apparatus for recording data in defect disc
JP4081395B2 (en) Information recording / reproducing device
JP4270163B2 (en) Recording / reproducing method and disk recording / reproducing apparatus
JP2001351311A (en) Seeking method for optical disk and optical disk driver
JP3384732B2 (en) Information recording / reproducing device
JPH10269751A (en) Information recording/reproducing apparatus
JP4015544B2 (en) Information processing device
KR100268386B1 (en) Recording and controlling method of a dvd-ram drive
JP2002343031A (en) Disk recording device and disk
WO2005020238A1 (en) Information recorder/reproducer, information recording/reproducing method and program
JP4651603B2 (en) Information recording / reproducing device
JP4002773B2 (en) Optical disk device
JP3804959B2 (en) Information recording / reproducing device