JP3992850B2 - Information recording / reproducing device - Google Patents

Information recording / reproducing device Download PDF

Info

Publication number
JP3992850B2
JP3992850B2 JP25014798A JP25014798A JP3992850B2 JP 3992850 B2 JP3992850 B2 JP 3992850B2 JP 25014798 A JP25014798 A JP 25014798A JP 25014798 A JP25014798 A JP 25014798A JP 3992850 B2 JP3992850 B2 JP 3992850B2
Authority
JP
Japan
Prior art keywords
session
information
recording
track
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25014798A
Other languages
Japanese (ja)
Other versions
JP2000076829A (en
Inventor
雅章 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP25014798A priority Critical patent/JP3992850B2/en
Publication of JP2000076829A publication Critical patent/JP2000076829A/en
Application granted granted Critical
Publication of JP3992850B2 publication Critical patent/JP3992850B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、一連のデータブロック群単位で情報を記録及び再生するCD−Rドライブ,CD−RWドライブなどの情報記録再生装置に関する。
【0002】
【従来の技術】
情報を一連のデータブロック群(「トラック」と称する)単位で記録する情報記録装置の1つにCD−R/RWドライブ装置などの情報記録再生装置がある。ここでは、CD−R/RWドライブ装置を例にとって説明する。
【0003】
また、ディレクトリやファイルを管理するディスクフォーマットには、CD−ROM用、フロッピディスクドライブ(FDD)用、ハードディスクドライブ(HDD)用を始め数種類あるが、一例としてCD−ROM用ディスクフォーマットで最も一般的なISO9660フォーマットを用いて説明する。
【0004】
CD−R/RWドライブ装置は、CD−R/RWディスクに対して一連のデータブロック群単位(トラック)でファイルや音楽データ等の情報の記録を行なうものであり、ディスクを1つもしくは複数の記録区分(「セッション」と称する)に分割し(この記録区分の大きさは各記録区分によって異なる)、その記録区分(セッション)の中にトラックを1つもしくは複数個記録させるものである。
【0005】
その記録区分(セッション)の先頭領域は、セッション管理情報領域(Lead−In領域)と呼ばれるセッション情報管理部であり、そのセッション管理情報領域の中にセッション管理情報(Table Of Contents:TOC)と呼ばれるデータが記録される。
【0006】
ISO9660フォーマットディスクにおいて、各セッション内に存在するトラックの数は一般的に1つである。
【0007】
このフォーマットは、図4に示すように、記録区分(セッション)内のトラックの先頭部(所定の場所)にディレクトリやファイルの場所や属性を管理するファイル情報管理部50が記録されており、その後に1つもしくは複数個のファイルのディスクリプタやファイル本体49が続く。
【0008】
CD−R/RWドライブ装置において、トラックアットワンス(Track At Once)機能でこれらのデータを一気に記録した場合、記録最中にライトエラーが発生した時、その時点でトラック記録を終了し、アプリケーションの命令でセッション(記録区分)を閉じていた。このセッションを閉じるとは、セッション情報をTOC領域に記録することであり、TOCを書いてセッションを完結させるのである。
【0009】
このような場合、数〜数十ブロックで構成されるファイル情報管理部は正しく記録されているが、ファイルの本体が途中で途切れているような状態が発生する時がある。例えば、ファイル情報管理部は正しく記録されているので、その中には100個分のファイル情報が記録されているが、ファイルの本体は30個分しかない時などである。
【0010】
このようなディスクをWindows95(登録商標)などのOSを用いて任意のファイルを再生しようとすると、そのファイルの本体が無いために再生できない不具合が生じる。
【0011】
なお、Windows95などのOSは、挿入されているCDに記録されている最終セッションをアクセスし、そのセッション内に記録されているファイル情報管理部を再生し、その内容に基づいてCDに記録されているディレクトリ/ファイル管理及び再生処理を実施する。
【0012】
従来、ライトエラーが発生した時に、CD規格のトラック長の最小値である300セクタとなるまでダミーデータを記録し、トラックの2重書きを防止する情報記録装置(例えば、特願平8−303053号公報参照)があった。
【0013】
【発明が解決しようとする課題】
しかしながら、上述の情報記録装置では、ディスクへのライトエラー時に数〜数十ブロックを記録したところで、このようなディスクが後に装置に挿入されると、マウント時に当該エラートラックがブランクトラックとみなされる場合があるという問題があった。
【0014】
また、ダミーデータでトラックを埋めたとしても、当該トラックが第2セッションの先頭トラックであった場合、WinsowsなどのOSでは第1セッションのファイル情報を認識できない不具合が発生する。
【0015】
すなわち、OSは、最終セッションに記録されているファイル情報管理部のデータからディスク上に記録されているファイル情報を引き出すので、従来の情報記録装置のようなダミーデータの記録では、ファイルフォーマット(ISO9660等)を意識していないため、後にOS上で何もファイルが記録されていないディスクであるブランクディスクと判断されてしまうという問題があった。
【0016】
この発明は上記の点に鑑みてなされたものであり、データ記録中にライトエラーが発生したとき、後のデータ再生時に不具合が生じないようにエラー処理することを目的とする。
【0017】
【課題を解決するための手段】
この発明は上記の目的を達成するため、情報の記録及び再生が可能な記録媒体に対して一連のデータブロック群単位でファイルなどの情報の記録及び再生を行なう情報記録再生装置において、上記記録媒体の所定のセッションに対して情報を記録している最中にライトエラーが発生してトラック記録に失敗した場合、セッション管理情報を記録した後、上記ライトエラーが発生したセッションの直前セッションが所定のファイルフォーマットで記録されていたときのみ上記ライトエラーが発生したセッションの直前セッションに記録されているファイル情報管理部のデータを次の新規セッションにコピー記録する手段を設けたものである。
【0018】
また、上記のような情報記録再生装置において、上記記録媒体が情報の書き換えができる記録媒体か1度しか記録できない記録媒体かを判断する手段と、その手段によって情報の書き換えができる記録媒体と判断された場合、上記ライトエラーが発生したトラックを消去する手段を設けるとよい。
【0019】
さらに、上述のような情報記録再生装置において、上記記録媒体の第1セッションに対して情報を記録中にライトエラーが発生した場合、上記上位装置から上記ライトエラーが発生したセッションのセッション情報管理部にセッション管理情報を記録する命令を受信したとき、そのセッション管理情報を記録した後、次の新規セッションの所定の長さのトラックにファイル情報管理部に記録するデータと異なる特殊データを記録してその新規セッションを完結させる手段を設けるとよい。
【0020】
また、上述のような情報記録再生装置において、上記記録媒体の音楽用セッションの後のセッションに対して情報の記録中にライトエラーが発生した場合、上記上位装置から上記ライトエラーが発生したセッションのセッション情報管理部にセッション管理情報を記録する命令を受信したとき、そのセッション管理情報を記録した後、次の新規セッションの所定の長さのトラックにファイル情報管理部に記録するデータと異なる特殊データを記録してその新規セッションを完結させる手段を設けるとよい。
【0021】
さらに、情報の記録及び再生が可能な記録媒体に対して一連のデータブロック群単位でファイルなどの情報の記録及び再生を行なう情報記録再生装置において、上記記録媒体が挿入された場合、その記録媒体にトラックは記録されているがトラック情報管理部にそのトラックに対するトラック管理情報が記録されていないエラーセッションを判別したとき、そのトラックの最終アドレスを検出し、その最終アドレスに基づいて上記トラック情報管理部にトラック管理情報を記録し、そのトラックが存在するセッションのセッション情報管理部にセッション管理情報を記録した後、上記エラーセッション直前のセッションに記録されているファイル情報管理部のデータを次の新規セッションにコピー記録する手段を設けるとよい。
【0022】
さらにまた、上記のような情報記録再生装置において、上記記録媒体が情報の書き換えができる記録媒体か1度しか記録できない記録媒体かを判断する手段と、その手段によって情報の書き換えができる記録媒体と判断された場合、その記録媒体にトラックは記録されているがトラック情報管理部にそのトラックに対するトラック管理情報が記録されていないエラーセッションを判別したとき、そのトラックの最終アドレスを検出し、その最終アドレスに基づくトラック管理情報を上記トラック情報管理部を記録せずに不正なトラックを消去する手段を設けるとよい。
【0023】
この発明の請求項1の情報記録再生装置は、上述のように構成することにより、ディスク等の記録媒体のエラーセッションの直前のセッションに記録されているファイル情報管理部を、当該記録媒体上に存在する最後のセッションである新規セッションに記録するので、エラーセッションのファイル情報管理部を消去したことと同じにすることができ、その記録媒体をWindows95などのOSで使用する場合はファイル情報管理部で管理されているファイルを正しく再生することができる。
【0024】
この発明の請求項2の情報記録再生装置は、上述のように構成することにより、情報の記録及び消去が可能なCD−RWディスク等の記録媒体に対しては、上述のエラー発生時にはエラーセッションを消去するので、未記録部に対してスペースの無駄遣いをすることがなくなる。
【0025】
この発明の請求項3の情報記録再生装置は、上述のように構成することにより、記録媒体上に記録されている最終セッション内(新規に追加したダミーセッション)には、ファイル情報管理部のデータを記録しないので、Windows95などのOSはディレクトリとファイル情報を誤認識することがなくなり、OSはブランクディスクと同等の扱いができる。
【0026】
この発明の請求項4の情報記録再生装置は、上述のように構成することにより、記録媒体上に記録されている最終セッション内には、ファイル情報管理部のデータを記録しないので、Windows95などのOSはディレクトリとファイル情報を誤認識することがなくなる。
また、OSは音楽データのみが記録されている記録媒体と同等な扱いができる。
【0027】
この発明の請求項5の情報記録再生装置は、上述のように構成することにより、不正なトラックが存在するセッションを完結させ、エラーセッションの直前のセッションのファイル情報管理部を新規セッションに記録するので、不正ディスクが記録及び再生可能になるだけでなく、過去に記録したファイルをWindows95等のOSから再生することができる。
【0028】
この発明の請求項6の情報記録再生装置は、上述のように構成することにより、情報の記録及び消去が可能なCD−RWディスク等の記録媒体に対しては、不正なトラックを消去することにより、未記録部スペースの無駄遣いをすることがなくなる。
【0029】
【発明の実施の形態】
以下、この発明の実施の形態を図面に基づいて具体的に説明する。
図1は、この発明の情報記録再生装置の一実施形態であるCD−R/RWドライブ装置の構成を示すブロック図である。
【0030】
このCD−R/RWドライブ装置は、CPU1,フラッシュROM2,ホストインタフェースコントローラ3,バッファマネジャ4,ダイナミックRAM5,サブコードオペレーションコントローラ6,CD−ROMエンコーダ7,SRAM8,CD−ROMデコーダ9,オーディオ回路10,システムコントローラ11,CDエンコーダ12,CDデコーダ13,サーボ回路14,スピンドルモータコントローラ15,及びSCSIバス16から成り、CD−Rディスク,CD−RWディスク等の記録媒体であるディスク17に対するデータの記録及び再生を行なう。
【0031】
CPU1は、このCD−R/RWドライブ装置全体の動作を制御する中央演算処理装置(マイクロコンピュータ)である。
フラッシュROM2は、CPU1が任意に内容を消去書き換え可能な不揮発性メモリである。
【0032】
ホストインタフェースコントローラ3は、上位装置であるホストコンピュータとこのCD−R/RWドライブ装置との通信を司るLSIである。
バッファマネジャ4は、ホストコンピュータからの転送データ及びディスク17から読み出したデータの転送を制御するLSIである。
【0033】
ダイナミックRAM5は、ホストコンピュータからの転送データとディスク17から読み出したデータを一時的に格納するバッファメモリである。
サブコードオペレーションコントローラ6は、ディスク17上に記録するサブコードを生成したり、ディスク17から読み出したサブコードを分離するLSIである。
【0034】
CD−ROMエンコーダ7は、CD−ROMデータをディスク17に書き込む前に変調するLSIである。
SRAM8は、プログラム変数等のデータを格納するメモリである。
CD−ROMデコーダ9は、読み出したCD−ROMデータを復調するLSIである。オーディオ回路10は、音楽再生をコントロールするLSIである。
【0035】
システムコントローラ11は、ディスク17へのデータの記録及び再生を制御するLSIであり、この発明に関わる各種の処理を行なう。
CDエンコーダ12は、ディスク17に書き込む前にユーザデータとサブコードをメディア規格に適合するように変調するLSIである。
【0036】
CDデコーダ13は、ディスク17から読み出したデータをユーザデータとサブコードに分離して復調するLSIである。
サーボ回路14は、ディスク17に対するレーザ光のフォーカス,トラッキング等のサーボを制御するLSIである。
【0037】
スピンドルモータコントローラ15は、ディスク17の回転制御を行なうLSIである。
SCSIバス16は、このCD−R/RWドライブ装置とホストコンピュータとを接続する通信線であり、この通信線を介して両者は各種のデータをやり取りする。
【0038】
すなわち、上記システムコントローラ11等が、情報の記録及び再生が可能な記録媒体に対して一連のデータブロック群単位でファイルなどの情報の記録及び再生を行なう手段と、上記記録媒体の所定のセッションに対して情報を記録している最中にライトエラーが発生してトラック記録に失敗した場合、そのセッション管理情報を記録した後、上記ライトエラーが発生したセッションの直前セッションが所定のファイルフォーマットで記録されていたときのみ上記ライトエラーが発生したセッションの直前セッションに記録されているファイル情報管理部のデータを次の新規セッションにコピー記録する手段の機能を果たす。
【0039】
また、上記記録媒体が情報の書き換えができる記録媒体か1度しか記録できない記録媒体かを判断する手段と、その手段によって情報の書き換えができる記録媒体と判断された場合、上記ライトエラーが発生したトラックを消去する手段の機能も果たす。
【0040】
さらに、上記記録媒体の第1セッションに対して情報を記録中にライトエラーが発生した場合、上記上位装置から上記ライトエラーが発生したセッションのセッション情報管理部にセッション管理情報を記録する命令を受信したとき、そのセッション管理情報を記録した後、次の新規セッションの所定の長さのトラックにファイル情報管理部に記録するデータと異なる特殊データを記録してその新規セッションを完結させる手段の機能を果たす。
【0041】
また、上記記録媒体の音楽用セッションの後のセッションに対して情報の記録中にライトエラーが発生した場合、上記上位装置から上記ライトエラーが発生したセッションのセッション情報管理部にセッション管理情報を記録する命令を受信したとき、そのセッション管理情報を記録した後、次の新規セッションの所定の長さのトラックにファイル情報管理部に記録するデータと異なる特殊データを記録してその新規セッションを完結させる手段の機能も果たす。
【0042】
さらに、上記記録媒体が挿入された場合、その記録媒体にトラックは記録されているがトラック情報管理部にそのトラックに対するトラック管理情報が記録されていないエラーセッションを判別したとき、そのトラックの最終アドレスを検出し、その最終アドレスに基づいて上記トラック情報管理部にトラック管理情報を記録し、そのトラックが存在するセッションのセッション情報管理部にセッション管理情報を記録した後、上記エラーセッション直前のセッションに記録されているファイル情報管理部のデータを次の新規セッションにコピー記録する手段の機能を果たす。
【0043】
さらにまた、上記記録媒体が情報の書き換えができる記録媒体か1度しか記録できない記録媒体かを判断する手段と、その手段によって情報の書き換えができる記録媒体と判断された場合、その記録媒体にトラックは記録されているがトラック情報管理部にそのトラックに対するトラック管理情報が記録されていないエラーセッションを判別したとき、そのトラックの最終アドレスを検出し、その最終アドレスに基づくトラック管理情報を上記トラック情報管理部を記録せずに不正なトラックを消去する手段の機能を果たす。
【0044】
図2は、ディスク17のセッションフォーマットを示す図である。
このCD−R/RWドライブ装置は、図2に示したフォーマットのディスク17に対してデータの記録及び再生が可能である。
【0045】
ディスク17は、内周から記録パワー決定のための試し書きを行なうパワーキャリブレーションエリア(PCA)20,トラック情報管理部(プログラムメモリエリア:PMA)21,記録区分(セッション)22(セッションNo.1,2…)が存在する。
【0046】
セッション22のサイズはランダムであり、その中のトラック数や、トラックの大きさによって変わる。
セッション22は、セッション情報管理部であるセッション情報管理領域(リードインエリア:Lead In Area)23,1つまたは複数のトラック24,記録区分最終領域(リードアウトエリア:Lead Out Area)25とから構成されており、セッション情報管理領域と記録区分最終領域とは共に大きさが決まっている。
【0047】
セッション情報管理領域23は、セッションの始めを示すエリアであり、セッション内のトラック情報であるセッション管理情報(TOC)を記録するエリアである。
トラック24は、ユーザがファイル、音楽などのデータを記録するエリアである。記録区分最終領域25は、セッションの終わりを示すエリアである。
プログラムエリア26は、ユーザデータを記録するエリアである。
【0048】
第1セッションのセッション情報管理領域の大きさは、ディスクメーカによって異なり、おおよそ2分30秒ぐらいの大きさである。
また、第1セッションの記録区分最終領域の大きさは1分30秒である。
第2セッション以降のセッション情報管理領域の大きさは1分であり、記録区分最終領域の大きさは30秒である。
【0049】
セッション情報管理領域にはTOCと言われるセッション管理情報データが記録されており、CD再生装置はこれをもとに挿入されているディスク上のトラック情報を得ることができる。
【0050】
例えば、音楽CDをオーディオCDプレーヤ(Audio CD Player)に挿入すると、ディスプレイにトラックの総数と、それぞれのトラックの長さが時間単位で表示されるが、これはプレーヤがTOCを再生しているから表示できるのである。
【0051】
第1セッションのトラックNo.1の先頭からプログラムエリア26の始まりであり、スタート開始アドレスは0分0秒0フレームである。
【0052】
図3はトラックアットワンス方式で記録したトラックのフォーマットである。CD−R/RWディスク上に記録されたトラックは、プレギャップ(PreGap)30,ユーザデータ(User Data)31,2ブロックのランアウトブロック(Run Out Block)32とから構成される。
プレギャップ30は、1ブロックのリンクブロック(Link Block)33,4ブロックのランインブロック(Run In Block)34等からなる。
【0053】
プレギャップ30(150ブロック、225ブロック)は、トラックの先頭に位置し、音楽で言えば無音部である。
ユーザデータ部31は、ユーザ(ホストコンピュータ)から転送されたデータを記録するところである。
ランアウトブロック(2ブロック)32は、トラックの最後を意味するブロックである。
【0054】
リンクブロック33(1ブロック)は、トラックとトラックのつなぎめを意味するブロックである。
ランインブロック(4ブロック)34は、トラックの先頭を意味するブロックである。
【0055】
このCD−R/RWドライブ装置は、ファイルフォーマットとしてISO9660規格を用いる。
図4は、ISO9660ファイルフォーマット図である。
【0056】
ISO9660フォーマットの用語説明
(1)ボリュームスペース(Volume Space)40
CD上の各セッションを大きく分割すると、システムエリア41とデータエリア42の2つになる。
【0057】
(2)システムエリア(System Area)41
各セッションの第1トラックの先頭から16ブロック(LBN0−15)分がシステム領域として存在する。本規格では、内容は定義されていない。
【0058】
(3)データエリア(Data Area)42
ボリュームスペースの残りの部分をいう。この中は、以下のデータからなる。
・プライマリボリュームディスクリプタ43
(Primary Volume Descriptor)
・サプルメンタリボリュームディスクリプタ44
(Supplementary Volume Descriptor)
・ターミネータ(Terminator)45
・パステーブル(Path Table)46
・ディレクトリディスクリプタ47
(Directory Descriptor)
・ファイルディスクリプタ(File Descriptor)48
・ファイル(File)本体部49
このエリアは、ファイル情報管理部50とファイルの本体部49とからなる。
【0059】
(4)プライマリボリュームディスクリプタ43
PVDと言われ、LBN16に位置する。WindowsなどのOSは必ずここをアクセスする。
ボリュームスペースの大きさや、パステーブル46の大きさ及び位置、ルートディレクトリ情報、ボリュームの日付等が記述されている。
【0060】
(5)サプルメンタリボリュームディスクリプタ44
SVDと言われ、存在するのであればPVDの直後にある。
日本語環境で使用する場合や、ユニコード(Uni Codeを用いる場合はOSはこれを参照する。
【0061】
(6)ターミネータ45
PVD,SVDの終わりを意味する。通常は、PVD,SVD,ターミネータの順でディスク上に記録される。
【0062】
(7)パステーブル46
ディレクトリディスクリプタ47やファイルディスクリプタ48の名前と、記録位置が記述される。
【0063】
(8)ディレクトリディスクリプタ47
ディレクトリの本体が記録されている位置やその名前や属性が記述されている。
【0064】
(9)ファイルディスクリプタ48
ファイル本体部49のファイルの本体が記録されている位置やその名前や属性が記述されている。
【0065】
(10)ファイル本体部49
ワープロファイルや、実行ファイルなどその実体が記録されている。
【0066】
ディスク17の各セッションの中にはボリュームスペース40があり、システムエリア41とデータエリア42が存在する。
データエリア42には、ファイル情報管理部50とそれに続くパステーブル46,ディレクトリディスクリプタ47及びファイルディスクリプタ48,及び複数の1つもしくは複数のファイルとから構成されるファイル本体部49とからなり、ファイル情報管理部50は先頭からプライマリボリュームディスクリプタ(PVD)43,サプルメントボリュームディスクリプタ(SVD)44,ターミネータ45とから構成される。
【0067】
PVD43,SVD44,ターミネータ45は少なくとも1セクタずつで構成され、各セクタの先頭にはそれらを示すIDがある。
PVD43は“01”,SVD44は“02”,ターミネータ45は“FF”である。
【0068】
Windows95などのOSは、ディスクに存在する最終セッションの第1トラックの先頭から17番目(LBN=16)のセクタを再生して、PVD43の内容を見る。
【0069】
また、日本語環境であれば、SVD44を再生し、ターミネータブロックを検出するまで次の論理アドレスを再生する。
SVD44の中にはルートディレクトリディスクリプタ(Root Directory Descriptor)の存在する位置等が記録されており、この位置を再生することにより、そのルートディレクトリ下に存在するディレクトリ又はファイルの名称及びそれらのディスクリプタが存在するアドレスがわかる。
【0070】
さらに、ルートディレクトリの下のディレクトリのディスクリプタを再生すれば、その下にあるディレクトリの名称やファイルの名称やそれらに対するディスクリプタの存在位置がわかる。
このようにルートディレクトリからその下のディレクトリ、ファイルと内容を確認し、ファイル本体へとたどりつく。
【0071】
また、マルチセッションCDにおいては、複数個のセッションが存在し、そのセッション数分のファイル情報管理部が存在することが一般的である。
このようなディスクは、ユーザが保存させたいファイルを追記する場合に作成される。
【0072】
例えば、'97.10月のカルテを第1セッションに書いたとする。
一ヶ月が過ぎ、11月のデータをそのディスクに記録する場合は、第2セッションに記録する。
この場合、10月のデータもOS上から見れるようにするために、第1セッションに記録されているファイル情報管理部50を第2セッションのファイル情報管理部50にコピーする必要があり、一般のライタソフトはこのような操作をし、過去に記録したファイル情報管理部50のデータを継承するのである。
【0073】
次に、上記CD−R/RWドライブ装置におけるこの発明の請求項1に係る処理について説明する。
【0074】
このCD−R/RWドライブ装置では、情報の記録と再生が可能なディスク17を用い、そのディスク17に対して一連のデータブロック群であるトラック単位でファイルなどの情報の記録及び再生を行なうものである。
【0075】
そして、ディスク17の所定の記録区分であるセッションに対して情報を記録している最中にライトエラーが発生し、トラック記録に失敗した時、当該エラーセッションのセッション情報管理領域にセッション管理情報(TOC)を記録する命令を上位装置のホストコンピュータから受信した場合、当該セッションのセッション管理情報(TOC)を記録した後に、次の新規セッションに対してエラーセッション直前のセッションに記録されているファイル情報管理部にファイル管理情報を記録する。そのファイル情報管理部は、ディスクフォーマットとして、記録されているファイルやディレクトリの場所や属性を管理している情報管理部である。
【0076】
図5は、その請求項1に係る処理を示すフロー図である。図中の「S」はステップを示す。
この処理は、ステップ1でライトエラーが発生したトラックが有りか否かを判断し、有ればステップ2へ進んでエラーセッションのTOCを記録し、ステップ3へ進んでエラーセッションのリードアウト(Lead−Out)領域を記録し、ステップ4へ進んでISO9660フォーマットデータか否かを判断し、ISO9660フォーマットデータなら、ステップ5へ進んでリカバーセッション記録処理を実行し、この処理を終了する。
【0077】
ステップ1の判断でライトエラーが発生したトラックが無ければ、ステップ6へ進んで現セッションのTOCを記録し、ステップ7へ進んで現セッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
また、ステップ4の判断でISO9660フォーマットデータでなければ、そのまま処理を終了する。
【0078】
図6は、図5のリカバーセッション記録処理を示すフロー図である。
このリカバーセッション記録処理は、ステップ11で前セッションの第1トラックの先頭アドレスを取得し、ステップ12へ進んでファイル情報管理部のアドレスを設定し、ステップ13へ進んでファイル管理情報をリードし、ステップ14へ進んで前セッションはISO9660フォーマットデータか否かを判断する。
【0079】
ステップ14の判断でISO9660フォーマットデータなら、ステップ15へ進んでリカバートラック記録処理を実行し、ステップ16へ進んでリカバーセッションのTOCを記録し、ステップ17へ進んでリカバーセッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
また、ステップ14の判断でISO9660フォーマットデータでなければ、そのまま処理を終了する。
【0080】
次に、この発明の請求項1に係る処理をさらに説明する。
このセッション記録処理は、ホストコンピュータからセッションを閉じる命令(Close Session Command)を受信した時に実行する。
そのセッションを閉じる命令は、セッション管理情報(TOC)及びリードアウト(Lead−Out)領域にデータを記録してセッションを完結させる命令である。
【0081】
システムコントローラ11は、まず、ディスク17の対象となるセッション内のトラックを記録した時に、オフトラック等のサーボエラーやバッファアンダーラン(Buffer Under run)などのインタフェース(I/F)エラーによるライトエラーが発生していたかを確認する(S1)。
【0082】
ここで、ライトエラーが発生していた場合は、エラーセッションのTOC領域にセッション管理情報を記録し(S2)、セッションの最後をあらわすリードアウト(Lead−Out)領域を記録し(S3)、エラートラックがISO9660フォーマットデータであるか否かを確認する(S4)。
【0083】
この確認手段は、PVD,SVD,ターミネータ(Terminator)の各ID(セクタの先頭バイト)がそれぞれ“01”,“02”,“FF”であること、また、PVD,SVD内の規格識別子(2バイト目−6バイト目)が“CD001”であることを確認することによって行なう。
【0084】
さらに、ISO9660フォーマットデータと判断した場合は、リカバーセッション記録処理(S5)を行なって終了する。
【0085】
このリカバーセッション記録処理は、エラーセッションの次のセッションに対して、エラーセッション直前の正しく記録されているファイル情報管理部を、次の新規セッションに対してコピー記録する処理である。
【0086】
次に、リカバー時に記録するファイル情報管理部は、PVD,SVD,ターミネータ(Terminator)の3つをさす。
【0087】
このPVD,SVDを再生すれば、ルートディレクトリディスクリプタ(Root Directory Descriptor)のアドレスがわかり、そこからファイル本体までたどりつくことができる。
【0088】
ライトエラーの発生の有無の判断(S1)においてライトエラーが発生していない時、現セッションのTOC領域にセッション管理情報を記録し(S6)、リードアウト(Lead−Out)領域を記録し(S7)、セッション完結処理を終了する。
【0089】
また、ISO9660フォーマットデータか否かの判断(S4)で、エラートラックにISO9660フォーマットデータが記録されていないと判断した時、そのままエラーセッションを完結したままで終了する。
【0090】
次に、上記リカバーセッション記録処理は、最初にエラーセッション直前のセッションの第1トラックの開始アドレスを、CD−R/RWドライブ装置内部のDRAM5に記憶しているTOC情報から読み取り(S11)、そのアドレスに10h(16セクタ)を足したアドレスをPVDアドレスとして設定し(S12)、ターミネータ(Terminator)が確認できるまで連続的に再生する(S13)。
【0091】
ここで、PVDからターミネータ(Terminator)までの情報を得ることができない場合は、ISO9660フォーマットデータと判定しない。
【0092】
ISO9660フォーマットデータの判断で(S14)、前セッションがISO9660フォーマットデータと判定したなら、リカバートラックの記録処理を行なう(S15)。
【0093】
この処理は、トラック長をCD規格最小の300セクタと設定し、ユーザデータ部にISO9660フォーマットに合致するように、正常セッション(エラーセッション直前のセッション)のPVDからターミネータ(Terminator)までを記録する。
【0094】
その後、このセッションのTOC領域に当該セッションのセッション情報管理データを記録し(S16)、リードアウト(Lead−Out)領域を記録して処理を終了する。
また、ISO9660フォーマットデータの判断で(S14)、エラーセッション直前のセッションがISO9660フォーマットデータと判断できなければ、この処理を終了する。
【0095】
こうして、例えば、図7に示すようなエラーセッションを伴ったディスクフォーマットは、上述の処理によって図8に示すディスクフォーマットになる。
【0096】
図7は、第2セッションのトラックを記録している最中にライトエラーが発生し、エラーセクタが発生した場合のディスクフォーマットを示すが、上述のセッションリカバリ処理によって、図8に示すように、第3セッションに第1セッションのファイル情報管理部のみをコピーしたリカバリセッションを作成することにより、後の再生時にOSからファイル情報が正しく認識されるようになる。
【0097】
このようにして、エラーセッションの直前のセッションに記録されているファイル情報管理部を、当該ディスク上に存在する最後のセッションである新規セッションに記録するので、エラーセッションのファイル情報管理部を消去したことと同じにするので、そのディスクをWindows95などのOSシステムで使用する場合はファイル情報管理部で管理されているファイルを正しく再生することができる。
【0098】
次に、上述のこの発明の請求項1に係る処理では、例えば、1度しか記録できないCD−Rディスク等の記録媒体に対して新規セッションにエラーセッション直前のセッションのファイル情報管理部をコピーするのは有効であるが、何度も情報の書き換えができるCD−RWディスク等の記録媒体については記録スペースの無駄使いになってしまう。
【0099】
そこで、このような不具合を解消するため、次に、上記CD−R/RWドライブ装置におけるこの発明の請求項2に係る処理について説明する。
【0100】
この処理では、情報の記録及び消去が可能なディスク17に対しては、所定の記録区分(セッション)に対して情報を記録している最中にライトエラーが発生し、トラック記録に失敗した時、当該エラーセッションのセッション情報管理部にセッション管理情報(TOC)を記録する命令をホストコンピュータから受信した場合、セッション管理情報(TOC)を記録せずに、エラーが発生したトラックを消去し、この処理を終了する。
【0101】
図9は、その請求項2に係る処理を示すフロー図である。
このディスク別セッション記録処理は、ステップ21でライトエラーが発生したトラックが有りか否かを判断し、有りならステップ22へ進んでエラーディスクはCD−RWディスクか否かを判断し、CD−RWディスクなら、ステップ27へ進んでエラートラック消去処理を実行し、この処理を終了する。
【0102】
また、ステップ22の判断でエラーディスクがCD−RWディスクでなければ、ステップ23へ進んでエラーセッションのTOCを記録し、ステップ24へ進んでエラーセッションのリードアウト(Lead−Out)領域を記録し、ステップ25へ進んでISO9660フォーマットデータか否かを判断し、ISO9660フォーマットデータなら、ステップ26へ進んで図6に示したリカバーセッション記録処理を実行し、この処理を終了する。
【0103】
ステップ21の判断でライトエラーが発生したトラックが無ければ、ステップ28へ進んで現セッションのTOCを記録し、ステップ29へ進んで現セッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
また、ステップ25の判断でISO9660フォーマットデータでなければ、そのまま処理を終了する。
【0104】
次に、この発明の請求項2に係る処理をさらに説明する。
この処理は、挿入しているディスク17がCD−RディスクかCD−RWディスクかを判断し、CD−RWディスクだと判断した場合は、リカバーセッション記録処理を実行せずに終了させるものである。
【0105】
このディスク別セッション記録処理も、ホストコンピュータからセッションを閉じる命令(Close Session Command)を受信した時に実行する。
【0106】
システムコントローラ11は、ディスク17のセッション内のトラックが、ライトエラーで終了した場合(S21)、挿入されているディスク17の種類の確認を行なう(S22)。
ここで、CD−RWディスクと判断した場合は、当該エラートラック領域に消去パターンを記録し、当該エラートラックを消去して(S23)、セッション完結処理を終了させる。
【0107】
ディスク17がCD−RWディスクか否かの判断(S22)で、挿入されているディスク17がCD−Rディスクと判断した場合は、エラーセッションのTOC領域にセッション管理情報を記録し(S23)、セッションの最後をあらわすリードアウト(Lead−Out)領域を記録し(S24)、エラートラックがISO9660フォーマットデータであるか否かを確認する(S25)。
【0108】
この確認手段は、上述と同じようにして行なう。
さらに、ISO9660フォーマットデータと判断した場合は、上述のリカバーセッション記録処理(S26)を行なって終了する。
【0109】
こうして、情報の消去ができるCD−RWディスク等のディスクにおいては、図8に示したディスクフォーマットにせずに、図10に示したディスクフォーマットの状態に変えることができる。
【0110】
したがって、図10に示したようなディスクフォーマットにすることにより、ディスク17の第2セッションに記録されたエラーセッションが消去され、第1セッションのみがディスク17上に存在し、CD−RWディスクでもOSから正しくファイル情報が認識されるようにすることができる。
【0111】
このようにして、情報の記録及び消去が可能なCD−RWディスク等のディスクに対してはエラーセッションを消去することにより、未記録部スペースの無駄遣いをせずに済む。
【0112】
次に、上述のこの発明の請求項1に係る処理では、エラーセッションがディスク上の第1セッションであった場合、エラーセッション直前のセッションが存在しないので、次の新規セッションに対してファイル情報管理部を記録できなくなり、OS上でディレクトリ/ファイル情報を誤認識してしまう。
【0113】
そこで、このような不具合を解消するため、次に、上記CD−R/RWドライブ装置におけるこの発明の請求項3に係る処理について説明する。
【0114】
この処理は、第1セッションに対して情報の記録中にエラーが発生した場合は、当該エラーセッションのセッション情報管理部にセッション管理情報(TOC)を記録する命令をホストコンピュータから受信した時に、当該エラーセッションのセッション管理情報(TOC)を記録した後に、次の新規セッションに対して所定の長さのトラックにファイル情報管理部データと異なる特殊データを記録して新規セッションを完結させる。
【0115】
図11は、その請求項3に係る処理を示すフロー図である。
この第1のダミーセッション記録処理は、ステップ31でライトエラーが発生したトラックが有るか否かを判断して、有ればステップ32へ進んでエラーセッションのTOCを記録し、ステップ33へ進んでエラーセッションのリードアウト(Lead−Out)領域を記録し、ステップ39へ進んでエラーセッションが第1セッションか否かを判断する。
【0116】
ステップ39の判断でエラーセッションが第1セッションなら、ステップ34へ進んでダミーデータをセットし、ステップ35へ進んでトラック長=300セクタに設定し、ステップ36へ進んでダミートラックを記録し、ステップ37へ進んでダミーセッションのTOC領域を記録し、ステップ38へ進んでダミーセッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
【0117】
ステップ39の判断でエラーセッションが第1セッションでなければ、ステップ40へ進んでISO9660フォーマットデータか否かを判断して、ISO9660フォーマットデータでなければ、そのままこの処理を終了し、ISO9660フォーマットデータなら、ステップ41へ進んで新規セッション記録処理を実行し、この処理を終了する。
【0118】
ステップ31の判断でライトエラーが発生したトラックがなければ、ステップ42へ進んで現セッションのTOCを記録し、ステップ43へ進んで現セッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
【0119】
次に、この発明の請求項3に係る処理をさらに説明する。
この第1のダミーセッション記録処理は、ホストコンピュータからセッションを閉じる命令(Close Session Command)を受信した時、ライトエラーが発生したトラックが属するセッションがディスク上の第1セッションか否かを確認し、第1セッションならそのセッションの後にISO9660フォーマットのファイル情報管理部データを記録せずに、“00”データをダミーデータとしてトラックに記録し、ダミーセッションを作成する。
【0120】
この処理によって、Windows95などのOSは、挿入されているディスクがブランクディスクと同等なディスクと判断することができ、ディスク上の残りの記録スペースにデータを追記することができるようになる。
【0121】
システムコントローラ11は、ホストコンピュータからセッションを閉じる命令(Close Session Command)を受信した時、ライトエラーが発生したトラックが存在するなら(S31)、そのセッションのTOC領域を記録し(S32)、リードアウト(Lead−Out)領域を記録する(S33)。その後、当該セッションがディスク上の第1セッションか否かを確認する(S39)。
【0122】
上記確認で第1セッションと判定した場合、DRAM5に“00”データからなるダミーデータを記憶し(S34)、トラック長をCD−RWディスク規格の最小値である300セクタに設定し(S35)、ダミーデータトラックを記録する(S36)。
【0123】
その後、ダミーセッションのTOC領域を記録し(S37)、リードアウト(Lead−Out)領域を記録して(S38)、ダミーセッション記録処理を終了する。
また、S39でエラーセッションが第1セッションでなければ、図5と同様な処理S40〜S43を行なう。
【0124】
こうして、図12に示すディスクフォーマットのように、第2セッションにダミーデータを記録してセッションを閉じるので、OSは最終セッションにファイル情報管理部が記録されていないものと判断することができ、ブランクディスクと同様の扱いをできる。
【0125】
このようにして、ディスク上に記録されている最終セッション内(新規に追加したダミーセッション)にはファイル情報管理部データを記録しないので、Windows95などのOSはディレクトリ/ファイル情報を誤認識することがなくなる。また、OSはブランクディスクと同等の扱いができる。
【0126】
次に、上述のこの発明の請求項1に係る処理では、エラーセッションの直前のセッションが音楽用セッションであった場合、そのセッション内にはファイル情報管理部が存在しない為、エラーセッション直後の新規セッションに対してファイル情報管理部を記録できなくなり、Windows95(登録商標)等のOS上でディレクトリ/ファイル情報を誤認識してしまう。
【0127】
そこで、このような不具合を解消するため、次に、上記CD−R/RWドライブ装置におけるこの発明の請求項4に係る処理について説明する。
【0128】
この処理では、ディスク上の音楽用セッション(オーディオセッション)の後のセッションに対して情報の記録中にエラーが発生した場合は、当該エラーセッションのセッション情報管理部にセッション管理情報(TOC)を記録する命令をホストコンピュータから受信した時に、当該エラーセッションのセッション管理情報(TOC)を記録した後に、次の新規セッションに対して所定の長さのトラックにファイル情報管理部データと異なる特殊データを記録してセッションを完結させる。
【0129】
図13は、その請求項4に係る処理を示すフロー図である。
この第2のダミーセッション記録処理は、ステップ51で前セッションの第1(1st)トラックのアドレスを取得し、ステップ52へ進んでファイル情報管理部のアドレスを設定し、ステップ53へ進んでファイル管理情報をリードし、ステップ54へ進んで前セッションがISO9660フォーマットデータか否かを判断する。
【0130】
ステップ54の判断で前セッションがISO9660フォーマットデータなら、ステップ55へ進んでリカバートラック記録処理を実行し、ステップ56へ進んでリカバーセッションのTOCを記録し、ステップ57へ進んでリカバーセッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
【0131】
ステップ54の判断で前セッションがISO9660フォーマットデータでないなら、ステップ58へ進んで前セッションがオーディオセッションか否かを判断して、オーディオセッションなら、ステップ59へ進んでダミーデータをセットし、ステップ60へ進んでトラック長=300セクタをセットし、ステップ61へ進んでダミートラックを記録し、ステップ62へ進んでダミーセッションのTOC領域を記録し、ステップ63へ進んでダミーセッションのリードアウト(Lead−Out)領域を記録し、この処理を終了する。
また、ステップ58の判断で前セッションがISO9660フォーマットデータでなければ、そのままこの処理を終了する。
【0132】
次に、この発明の請求項4に係る処理をさらに説明する。
この第2のダミーセッション記録処理は、リカバーセッション記録処理時に、エラーセッション直前のセッションがオーディオセッションか否かを確認し、オーディオセッションであれば、エラーセッションの後にダミーセッションを記録する。
【0133】
例えば、CD−ExtraというCDが世の中に存在する。
このCDは、第1セッションがオーディオセッション(音楽用セッション)であり、第2セッションがデータセッションであり、オーディオプレーヤ(Audio Player)で通常の音楽(Audio)再生ができ、パソコン上で画像再生しながら音楽再生ができる。第2セッションの中にはもちろん、画像データが記録されている。
【0134】
このようなCD−ExtraをCD−R/RWドライブ装置を用いて作成することができるが、第2セッションでライトエラーが発生した場合は、上述のような原因でWindows95などのOS上で画像が正しく再生できない等の不具合が発生することがある。
【0135】
この不具合の発生を避けるためにも、第2セッションの後にダミーセッションを記録し、その後画像データが正しく記録できるようにする必要がある。
そのダミーセッションは最終セッションであり、そのセッションのトラックには“00”データを記録しており、ファイル情報管理部が記録されていない為、OSは誤った情報を参照しないで済む。
【0136】
この第2のダミーセッション記録処理は、図6のリカバーセッション記録処理を改良したものである。
システムコントローラ11は、まず、図6のリカバーセッション記録処理と同様にして、前セッションのファイル情報管理部を再生した後(S51〜S53)、そのセッションがISO9660フォーマットディスクか否かを確認する(S54)。
【0137】
ここで、ISO9660フォーマットディスクでないと判断した場合は、オーディオセッションか否かを確認する(S58)。
その確認(S58)でオーディオセッションと判断した場合は、CD−R/RWドライブ装置のDRAM5に“00”データからなるダミーデータを設定し(S59)、ダミートラックの長さをCD規格の最小値である300セクタに設定し(S60)、ダミートラックを記録する(S61)。
【0138】
その後、ダミーセッションを完結させる処理として、ダミーセッションのTOC領域を記録し(S62)、リードアウト(Lead−Out)領域を記録(S63)して、この処理を終了する。
【0139】
また、オーディオセッションか否かの判断(S58)で前セッションがISO9660フォーマットデータでもなく、またオーディオデータでもないと判断した場合はこの処理を終了する。
【0140】
さらに、ISO9660フォーマットデータか否かの判断(S54)で、前セッションがISO9660フォーマットデータと判断した場合は、図6に示した処理と同様にリカバーセッション記録処理を行ない(S55〜S57)、この処理を終了する。
【0141】
こうして、図14に示すディスクフォーマットのように、エラーセッション後にダミーセッションを記録するので、OSはオーディオ(Audio)データが記録されたディスクと同等なものと判断することができ、音楽(Audio)再生を正確に行なえる。
【0142】
このようにして、ディスク上に記録されている最終セッション内にはファイル情報管理データを記録しないので、Windows95などのOSはディレクトリ/ファイル情報を誤認識することがなくなる。
また、OSは音楽データのみが記録されているディスクと同等の扱いができる。
【0143】
次に、トラックを記録している最中に停電などの原因によってこのCD−R/RWドライブ装置の電源がシャットダウンされてしまった場合、トラックが途中で途切れ、トラック情報管理部(PMA)が記録されていない状態になり、セッションが未完結のままのディスクが作られてしまう。
【0144】
また、上述のように、トラックは記録されているが、そのトラックに対するトラック情報管理部(PMA)がないディスクが存在した場合、そのディスクをCD−R/RWドライブ装置に挿入するとCD−R/RWドライブ装置は不正なディスクと判断して記録も再生も不能になり、以前に記録されているセッション内のファイルまで再生できなくなり、過去に記録されたデータを見かけ上失ってしまうことになる。
【0145】
そこで、このような不具合を解消するため、上記CD−R/RWドライブ装置においてこの発明の請求項5に係る処理を実行するとよい。
【0146】
この処理は、挿入されているディスクに対して、トラックは記録されているがそのトラックに対するトラック情報管理部(PMA)がないと判断した場合、当トラックの最終アドレスを検出し、トラック情報管理部(PMA)を記録し、そのトラックが存在するセッションに対してセッション管理情報(TOC)を記録した後、次の新規セッションに対してエラーセッション直前のセッションに記録されているファイル情報管理部のデータをコピー記録する。
【0147】
また、例えば、1度しか記録できないCD−Rディスク等のディスクに対して、不正なトラックが存在するセッションを完結し、エラーセッションの直前のセッションのファイル情報管理部を新規セッションに記録する手段は有効であるが、何度も情報の書き換えができるCD−RWディスク等のディスクに関しては記録スペースの無駄使いになってしまう。
【0148】
そこで、このような不具合を解消するため、上記CD−R/RWドライブ装置においてこの発明の請求項6に係る処理を実行するとよい。
【0149】
この処理は、情報の記録及び消去が可能なディスクに対しては、トラック情報管理部(PMA)のないトラックの最終アドレスを検出し、トラック情報管理部(PMA)を記録せずに不正なトラックを消去する。
【0150】
図15は、その請求項5と6に係る処理を示すフロー図である。
このディスク情報取得処理は、ディスクをCD−R/RWドライブ装置に挿入した時のマウント処理であり、トラック情報がPMAに記録されていないトラックを検出した時に対して考慮した処理である。
【0151】
このようなトラックは、データライト処理中に電源遮断等が発生して、TOC領域が記録できなかったために発生する。
そこで、当該トラックをマウント時に検出した場合は、そのトラックをリカバーしてセッションを完結し、次のリカバーセッションを記録すればよい。
【0152】
このディスク情報取得処理は、ステップ71でスタンプディスクか否かを判断して、スタンプディスクでなければ、ステップ72へ進んでTOCを再生し、ステップ73へ進んでPMAを再生し、ステップ74へ進んでプログラムエリアを再生し、ステップ75へ進んでPMAに無いトラックが存在するか否かを判断する。
【0153】
ステップ75の判断でPMAに無いトラックが存在しなければ、この処理を終了し、PMAに無いトラックが存在すれば、ステップ76へ進んで当トラックの最終アドレスを検出し、ステップ77へ進んでCD−RWディスクか否かを判断して、CD−RWディスクなら、ステップ78へ進んで不正トラック消去処理を実行し、この処理を終了する。
【0154】
ステップ77の判断でCD−RWディスクでなければ、ステップ80へ進んでPMAを記録し、ステップ81へ進んで不正セッションのTOCを記録し、ステップ82へ進んで不正セッションのリードアウト(Lead−Out)領域を記録し、ステップ83へ進んで不正トラックのデータがISO9660フォーマットデータか否かを判断する。
【0155】
ステップ83の判断で不正トラックのデータがISO9660フォーマットデータでなければ、そのままこの処理を終了し、不正トラックのデータがISO9660フォーマットデータなら、ステップ84の図6に示したリカバーセッション記録処理を実行し、この処理を終了する。
また、ステップ71の判断でスタンプディスクなら、ステップ79へ進んでTOCを再生し、この処理を終了する。
【0156】
次に、この請求項5と6に係る処理についてさらに説明する。
システムコントローラ11は、まず、挿入されているディスクがスタンプディスクか否かを確認する(S71)。
【0157】
これは、ディスク上のCD−R/RWディスクのプリフォーマットされているATIPが検出できるかによって判断するものである。
スタンプディスクか否かの判断(S71)でスタンプディスクと判断した場合は、第1セッションのTOCを再生し、次にマルチセッションであったら、各々のセッションのTOCを再生し、セッション情報を取得する(S79)。
【0158】
つまり、スタンプディスクにはPMAがないため、TOC再生によってトラック情報を得てマウント処理を終了する。
【0159】
スタンプディスクか否かの判断(S71)で、スタンプディスクでないと判断した場合は、CD−R/RWディスクとして、TOC再生を上記スタンプディスクと同様な処理を用いて実行する(S72)。
【0160】
その後、CD−R/RWディスク特有のPMAを再生し(S73)、各トラックのモードやスタートアドレス,エンドアドレス等を確認する。
【0161】
次に、PMAに記録されている最終トラックの最終アドレスの外側を再生し(プログラムエリア再生)(S74)、PMAに記録されていないトラックが存在しているかを確認する(S75)。
【0162】
PMAに無いトラックの存在の有無の判断(S75)で、不正なトラックがあったと判断した場合は、当該トラックがどこまで記録されているかを再生信号の検出によって行なう(S76)。そして、再生信号を検出できた最終アドレスが当該トラックのエンドアドレスと設定する(S76)。
【0163】
次に、挿入されているディスクがCD−RWディスクか否かを判断し(S77)、CD−RWディスクであればその不正トラックを消去して(S78)、この処理を終了する。
また、PMAに無いトラックの存在の有無の判断(S75)で、PMAに記録されていないトラックがプログラムエリアに検出できない場合は正常ディスクと判断して、ディスク情報マウント処理を終了する。
【0164】
CD−RWディスクか否かの判断(S77)で、挿入されているディスクがCD−Rディスクであると判断した場合は、不正トラックのアドレス情報等のトラック情報をPMAに記録し(S80)、当該トラックが属するセッションのTOC領域を記録し(S81)、リードアウト(Lead−Out)領域を記録し(S82)、不正トラックに記録されているデータがISO9660フォーマットデータか否かを確認する(S83)。
【0165】
この確認手段は、本トラックのLBN16(論理アドレスの16番地)アドレスから連続的に再生し、PVD,SVD,ターミネータ(Terminator)の識別子が検出できたらISO9660フォーマットデータと判定する。
【0166】
不正トラックのデータがISO9660フォーマットデータか否かの判断(S83)で、ISO9660フォーマットデータと判断した場合は、次のセッションに不正セッション直前のセッションのファイル情報管理部をコピー記録するリカバーセッション記録処理(S84)を実行して、この処理を終了する。
【0167】
また、不正トラックのデータがISO9660フォーマットデータか否かの判断(S83)で不正トラックのデータがISO9660データでなければ、このマウント処理を直ちに終了する。
【0168】
このようにして、不正なトラックが存在するセッションを完結し、エラーセッションの直前のセッションのファイル情報管理部を新規セッションに記録するので、不正ディスクが記録及び再生可能となるだけでなく、過去に記録したファイルをWindows95等のOSから再生することができる。
【0169】
また、情報の記録及び消去が可能なCD−RWディスク等のディスクに対しては不正なトラックを消去することにより、未記録部スペースの無駄遣いをすることがなくなる。
【0170】
【発明の効果】
以上説明してきたように、この発明による情報記録再生装置によれば、データ記録中にライトエラーが発生したとき、後のデータ再生時に不具合が生じないようにエラー処理することができる。
【図面の簡単な説明】
【図1】この発明の情報記録再生装置の一実施形態であるCD−R/RWドライブ装置の構成を示すブロック図である。
【図2】図1に示したディスク17のセッションフォーマットを示す図である。
【図3】トラックアットワンス方式で記録したトラックのフォーマットである。
【図4】ISO9660ファイルフォーマット図である。
【図5】図1に示したCD−R/RWドライブ装置におけるこの発明の請求項1に係る処理を示すフロー図である。
【図6】図5のリカバーセッション記録処理を示すフロー図である。
【図7】エラーセッションのディスクフォーマット例を示す図である。
【図8】図5に示した処理を施したディスクのディスクフォーマット例を示す図である。
【図9】図1に示したCD−R/RWドライブ装置におけるこの発明の請求項2に係る処理を示すフロー図である。
【図10】図9に示した処理を施したディスクのディスクフォーマット例を示す図である。
【図11】図1に示したCD−R/RWドライブ装置におけるこの発明の請求項3に係る処理を示すフロー図である。
【図12】図11に示した処理を施したディスクのディスクフォーマット例を示す図である。
【図13】図1に示したCD−R/RWドライブ装置におけるこの発明の請求項4に係る処理を示すフロー図である。
【図14】図13に示した処理を施したディスクのディスクフォーマット例を示す図である。
【図15】図1に示したCD−R/RWドライブ装置におけるこの発明の請求項5と6に係る処理を示すフロー図である。
【符号の説明】
1:CPU 2:フラッシュROM
3:ホストインタフェースコントローラ
4:バッファマネジャ 5:ダイナミックRAM
6:サブコードオペレーションコントローラ
7:CD−ROMエンコーダ 8:SRAM
9:CD−ROMデコーダ 10:オーディオ回路
11:システムコントローラ 12:CDエンコーダ
13:CDデコーダ 14:サーボ回路
15:スピンドルモータコントローラ
16:SCSIバス 17:ディスク
20:パワーキャリブレーションエリア(PCA)
21:トラック情報管理部(PMA)
22:記録区分(セッション)
23:セッション情報管理領域(リードインエリア)
24:トラック
25:記録区分最終領域(リードアウトエリア)
26:プログラムエリア 30:プレギャップ
31:ユーザデータ部 32:ランアウトブロック
33:リンクブロック 34:ランインブロック
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information recording / reproducing apparatus such as a CD-R drive and a CD-RW drive for recording and reproducing information in a series of data block groups.
[0002]
[Prior art]
An information recording / reproducing apparatus such as a CD-R / RW drive apparatus is one of information recording apparatuses that records information in units of a series of data block groups (referred to as “tracks”). Here, a CD-R / RW drive device will be described as an example.
[0003]
There are several types of disk formats for managing directories and files, including those for CD-ROM, floppy disk drive (FDD), and hard disk drive (HDD). As an example, the most common disk format for CD-ROM A description will be given using the ISO 9660 format.
[0004]
A CD-R / RW drive device records information such as files and music data in a series of data block group units (tracks) on a CD-R / RW disc. It is divided into recording sections (referred to as “sessions”) (the size of this recording section varies depending on each recording section), and one or more tracks are recorded in that recording section (session).
[0005]
The head area of the recording section (session) is a session information management section called a session management information area (Lead-In area), and called session management information (Table Of Contents: TOC) in the session management information area. Data is recorded.
[0006]
In an ISO9660 format disc, the number of tracks present in each session is generally one.
[0007]
In this format, as shown in FIG. 4, a file information management unit 50 that manages the location and attributes of directories and files is recorded at the beginning (predetermined location) of a track in a recording section (session). Followed by one or more file descriptors and a file body 49.
[0008]
In a CD-R / RW drive device, when these data are recorded at once with the Track At Once function, when a write error occurs during recording, the track recording is terminated at that point, The session was closed with a command. Closing this session means recording session information in the TOC area and writing the TOC to complete the session.
[0009]
In such a case, the file information management unit composed of several to several tens of blocks is correctly recorded, but there may be a state where the main body of the file is interrupted. For example, since the file information management unit is correctly recorded, 100 pieces of file information is recorded therein, but there are only 30 file bodies.
[0010]
When an arbitrary file is reproduced from such a disk by using an OS such as Windows 95 (registered trademark), there is a problem that the disk cannot be reproduced because there is no main body of the file.
[0011]
An OS such as Windows 95 accesses the last session recorded on the inserted CD, plays back the file information management unit recorded in the session, and is recorded on the CD based on the contents. Directory / file management and playback processing.
[0012]
Conventionally, when a write error occurs, dummy data is recorded until the CD standard has a minimum track length of 300 sectors to prevent double writing of tracks (for example, Japanese Patent Application No. 8-303053). Issue).
[0013]
[Problems to be solved by the invention]
However, in the above information recording device, when several to several tens of blocks are recorded at the time of a write error to the disc, when such a disc is inserted into the device later, the error track is regarded as a blank track at the time of mounting. There was a problem that there was.
[0014]
Even if the track is filled with dummy data, if the track is the first track of the second session, a problem that the OS such as Windows cannot recognize the file information of the first session occurs.
[0015]
In other words, the OS extracts the file information recorded on the disc from the data of the file information management unit recorded in the final session, and therefore in the recording of dummy data as in the conventional information recording apparatus, the file format (ISO9660) Etc.), there was a problem that it was later determined to be a blank disk on which no files were recorded on the OS.
[0016]
The present invention has been made in view of the above points, and it is an object of the present invention to perform error processing when a write error occurs during data recording so as not to cause a problem during subsequent data reproduction.
[0017]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides an information recording / reproducing apparatus for recording and reproducing information such as files in units of a series of data blocks on a recording medium capable of recording and reproducing information. Track recording failed due to a write error while recording information for a given session If After recording session management information, Only when the session immediately preceding the session in which the above write error occurred was recorded in the specified file format Means are provided for copying and recording data of the file information management section recorded in the session immediately before the session in which the write error has occurred in the next new session.
[0018]
Also, As above In an information recording / reproducing apparatus, When it is determined that the recording medium is a recording medium that can rewrite information or a recording medium that can be recorded only once, and a recording medium that can rewrite information by the means, Means may be provided for erasing the track in which the write error has occurred.
[0019]
Furthermore, in the information recording / reproducing apparatus as described above, a write error occurred while recording information for the first session of the recording medium. Case When a command to record session management information is received from the host device to the session information management unit of the session in which the write error has occurred, the session management information is recorded, and then a track of a predetermined length for the next new session It is preferable to provide means for recording special data different from the data recorded in the file information management unit and completing the new session.
[0020]
In the information recording / reproducing apparatus as described above, a write error occurred during recording of information for a session after the music session of the recording medium. Case When a command to record session management information is received from the host device to the session information management unit of the session in which the write error has occurred, the session management information is recorded, and then a track of a predetermined length for the next new session It is preferable to provide means for recording special data different from the data recorded in the file information management unit and completing the new session.
[0021]
Furthermore, in an information recording / reproducing apparatus for recording and reproducing information such as a file in units of a series of data blocks with respect to a recording medium capable of recording and reproducing information, the recording medium is inserted. Case When the error session in which the track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, the final address of the track is detected, and based on the final address Data of the file information management unit recorded in the session immediately before the error session after recording the track management information in the track information management unit, recording the session management information in the session information management unit of the session in which the track exists It is preferable to provide a means for copying and recording to the next new session.
[0022]
Furthermore, As above In an information recording / reproducing apparatus, When it is determined that the recording medium is a recording medium that can rewrite information or a recording medium that can be recorded only once, and a recording medium that can rewrite information by the means, When an error session in which a track is recorded on the recording medium but track management information for the track is not recorded in the track information management unit is determined, the final address of the track is detected, and track management based on the final address is performed. Means may be provided for erasing unauthorized tracks without recording the information in the track information management section.
[0023]
The information recording / reproducing apparatus according to claim 1 of the present invention is configured as described above, so that the file information management unit recorded in the session immediately before the error session of the recording medium such as a disk is placed on the recording medium. Since it is recorded in a new session which is the last existing session, it can be the same as the deletion of the file information management unit of the error session, and the file information management unit when the recording medium is used in an OS such as Windows 95 Can be played correctly.
[0024]
The information recording / reproducing apparatus according to claim 2 of the present invention is configured as described above, so that an error session is recorded when a recording medium such as a CD-RW disc capable of recording and erasing information is generated. Is eliminated, and there is no wasted space for unrecorded parts.
[0025]
The information recording / reproducing apparatus according to claim 3 of the present invention is configured as described above, so that the data of the file information management unit is included in the last session (newly added dummy session) recorded on the recording medium. Is not recorded, OSs such as Windows 95 do not misrecognize directory and file information, and the OS can handle the same as a blank disk.
[0026]
The information recording / reproducing apparatus according to claim 4 of the present invention is configured as described above, so that the data of the file information management unit is not recorded in the final session recorded on the recording medium. The OS does not misrecognize directory and file information.
Further, the OS can be handled in the same manner as a recording medium on which only music data is recorded.
[0027]
The information recording / reproducing apparatus according to claim 5 of the present invention is configured as described above, completes a session in which an illegal track exists, and records the file information management unit of the session immediately before the error session in a new session. Therefore, not only can an illegal disc be recorded and reproduced, but a file recorded in the past can be reproduced from an OS such as Windows95.
[0028]
The information recording / reproducing apparatus according to claim 6 of the present invention is configured as described above to erase illegal tracks on a recording medium such as a CD-RW disc capable of recording and erasing information. As a result, there is no waste of unrecorded part space.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of a CD-R / RW drive apparatus which is an embodiment of the information recording / reproducing apparatus of the present invention.
[0030]
This CD-R / RW drive device includes a CPU 1, a flash ROM 2, a host interface controller 3, a buffer manager 4, a dynamic RAM 5, a subcode operation controller 6, a CD-ROM encoder 7, an SRAM 8, a CD-ROM decoder 9, and an audio circuit 10. , System controller 11, CD encoder 12, CD decoder 13, servo circuit 14, spindle motor controller 15, and SCSI bus 16, and data recording on a disk 17 that is a recording medium such as a CD-R disk or a CD-RW disk And playback.
[0031]
The CPU 1 is a central processing unit (microcomputer) that controls the operation of the entire CD-R / RW drive device.
The flash ROM 2 is a non-volatile memory in which the CPU 1 can arbitrarily erase and rewrite contents.
[0032]
The host interface controller 3 is an LSI that controls communication between a host computer as a host device and the CD-R / RW drive device.
The buffer manager 4 is an LSI that controls transfer of transfer data from the host computer and data read from the disk 17.
[0033]
The dynamic RAM 5 is a buffer memory that temporarily stores transfer data from the host computer and data read from the disk 17.
The subcode operation controller 6 is an LSI that generates a subcode to be recorded on the disk 17 and separates a subcode read from the disk 17.
[0034]
The CD-ROM encoder 7 is an LSI that modulates CD-ROM data before writing it to the disk 17.
The SRAM 8 is a memory that stores data such as program variables.
The CD-ROM decoder 9 is an LSI that demodulates the read CD-ROM data. The audio circuit 10 is an LSI that controls music reproduction.
[0035]
The system controller 11 is an LSI that controls recording and reproduction of data on the disk 17 and performs various processes relating to the present invention.
The CD encoder 12 is an LSI that modulates user data and subcode so as to conform to the media standard before writing to the disk 17.
[0036]
The CD decoder 13 is an LSI that demodulates the data read from the disk 17 by separating it into user data and subcodes.
The servo circuit 14 is an LSI that controls servo such as focusing and tracking of laser light with respect to the disk 17.
[0037]
The spindle motor controller 15 is an LSI that controls the rotation of the disk 17.
The SCSI bus 16 is a communication line that connects the CD-R / RW drive device and the host computer, and exchanges various data via the communication line.
[0038]
That is, the system controller 11 or the like has a means for recording and reproducing information such as files in units of a series of data blocks on a recording medium capable of recording and reproducing information, and a predetermined session of the recording medium. On the other hand, track recording failed due to a write error while recording information. If so After recording session management information for Only when the session immediately preceding the session in which the above write error occurred was recorded in the specified file format It fulfills the function of means for copying and recording the data of the file information management unit recorded in the session immediately before the session in which the write error has occurred in the next new session.
[0039]
Also, When it is determined that the recording medium is a recording medium that can rewrite information or a recording medium that can be recorded only once, and a recording medium that can rewrite information by the means, It also functions as means for erasing the track in which the write error has occurred.
[0040]
Furthermore, a write error occurred while recording information for the first session of the recording medium. Case When a command to record session management information is received from the host device to the session information management unit of the session in which the write error has occurred, the session management information is recorded, and then a track of a predetermined length for the next new session It serves as a means for recording special data different from the data recorded in the file information management unit and completing the new session.
[0041]
Also, a write error occurred while recording information for a session after the music session on the recording medium. Case When a command to record session management information is received from the host device to the session information management unit of the session in which the write error has occurred, the session management information is recorded, and then a track of a predetermined length for the next new session It also functions as a means for recording special data different from the data recorded in the file information management unit and completing the new session.
[0042]
Furthermore, the recording medium was inserted Case When the error session in which the track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, the final address of the track is detected, and based on the final address Data of the file information management unit recorded in the session immediately before the error session after recording the track management information in the track information management unit, recording the session management information in the session information management unit of the session in which the track exists It serves as a means for copying and recording the data to the next new session.
[0043]
Furthermore, When it is determined that the recording medium is a recording medium that can rewrite information or a recording medium that can be recorded only once, and a recording medium that can rewrite information by the means, When an error session in which a track is recorded on the recording medium but track management information for the track is not recorded in the track information management unit is determined, the final address of the track is detected, and track management based on the final address is performed. It functions as means for erasing unauthorized tracks without recording the information in the track information management section.
[0044]
FIG. 2 is a diagram showing a session format of the disk 17.
This CD-R / RW drive device can record and reproduce data on the disk 17 having the format shown in FIG.
[0045]
The disk 17 includes a power calibration area (PCA) 20 for performing trial writing for determining recording power from the inner periphery, a track information management unit (program memory area: PMA) 21, and a recording section (session) 22 (session No. 1). , 2 ...) exists.
[0046]
The size of the session 22 is random and varies depending on the number of tracks and the size of the tracks.
The session 22 includes a session information management area (Lead In Area) 23, which is a session information management unit, one or a plurality of tracks 24, and a recording segment final area (Lead Out Area: Lead Out Area) 25. The size of both the session information management area and the recording section final area is determined.
[0047]
The session information management area 23 is an area that indicates the beginning of a session, and is an area that records session management information (TOC) that is track information within the session.
The track 24 is an area where the user records data such as files and music. The recording section last area 25 is an area indicating the end of the session.
The program area 26 is an area for recording user data.
[0048]
The size of the session information management area of the first session differs depending on the disc manufacturer, and is about 2 minutes 30 seconds.
The size of the recording section final area of the first session is 1 minute 30 seconds.
The size of the session information management area after the second session is 1 minute, and the size of the recording section final area is 30 seconds.
[0049]
Session management information data called TOC is recorded in the session information management area, and the CD playback device can obtain track information on the inserted disc based on this data.
[0050]
For example, when a music CD is inserted into an audio CD player (Audio CD Player), the total number of tracks and the length of each track are displayed in time units on the display. This is because the player is playing the TOC. It can be displayed.
[0051]
The start of the program area 26 starts from the top of the track No. 1 of the first session, and the start start address is 0 minute 0 second 0 frame.
[0052]
FIG. 3 shows the format of a track recorded by the track-at-once method. A track recorded on a CD-R / RW disc is composed of a pre-gap (PreGap) 30, user data (User Data) 31, and 2 run-out blocks (Run Out Block) 32.
The pre-gap 30 is composed of a link block (Link Block) 33 of one block, a run-in block (Run In Block) 34, and the like.
[0053]
The pre-gap 30 (150 blocks, 225 blocks) is located at the head of the track and is a silent part in terms of music.
The user data section 31 is a place for recording data transferred from a user (host computer).
The runout block (2 blocks) 32 is a block that means the end of the track.
[0054]
The link block 33 (one block) is a block that means a connection between tracks.
The run-in block (4 blocks) 34 is a block that means the beginning of a track.
[0055]
This CD-R / RW drive apparatus uses the ISO9660 standard as a file format.
FIG. 4 is an ISO9660 file format diagram.
[0056]
Terminology of ISO9660 format
(1) Volume space (Volume Space) 40
When each session on the CD is roughly divided, the system area 41 and the data area 42 are obtained.
[0057]
(2) System Area 41
16 blocks (LBN0-15) from the beginning of the first track of each session exist as a system area. The content is not defined in this standard.
[0058]
(3) Data area 42
The rest of the volume space. This consists of the following data:
Primary volume descriptor 43
(Primary Volume Descriptor)
Supplementary volume descriptor 44
(Supplementary Volume Descriptor)
・ Terminator 45
-Path table (Path Table) 46
Directory descriptor 47
(Directory Descriptor)
-File Descriptor (File Descriptor) 48
File body 49
This area includes a file information management unit 50 and a file main unit 49.
[0059]
(4) Primary volume descriptor 43
It is called PVD and is located in LBN16. An OS such as Windows always accesses this.
The size of the volume space, the size and position of the path table 46, root directory information, volume date, and the like are described.
[0060]
(5) Supplementary volume descriptor 44
It is said to be SVD and, if present, is immediately after PVD.
The OS refers to this when using it in a Japanese environment or when using Unicode (Uni Code).
[0061]
(6) Terminator 45
It means the end of PVD and SVD. Normally, recording is performed on the disc in the order of PVD, SVD, and terminator.
[0062]
(7) Path table 46
The names and recording positions of the directory descriptor 47 and the file descriptor 48 are described.
[0063]
(8) Directory descriptor 47
Describes the location of the directory body, its name and attributes.
[0064]
(9) File descriptor 48
The position where the file body of the file body section 49 is recorded, its name and attributes are described.
[0065]
(10) File body 49
The actual profiles such as word profiles and executable files are recorded.
[0066]
Each session of the disk 17 has a volume space 40, and a system area 41 and a data area 42 exist.
The data area 42 includes a file information management unit 50, a path table 46, a directory descriptor 47 and a file descriptor 48, and a file main body unit 49 including a plurality of one or a plurality of files. The management unit 50 includes a primary volume descriptor (PVD) 43, a supplement volume descriptor (SVD) 44, and a terminator 45 from the top.
[0067]
The PVD 43, the SVD 44, and the terminator 45 are composed of at least one sector, and each sector has an ID indicating them at the head.
The PVD 43 is “01”, the SVD 44 is “02”, and the terminator 45 is “FF”.
[0068]
An OS such as Windows 95 reproduces the 17th sector (LBN = 16) from the beginning of the first track of the last session existing on the disk and looks at the contents of the PVD 43.
[0069]
In the Japanese environment, the SVD 44 is reproduced, and the next logical address is reproduced until the terminator block is detected.
In the SVD 44, the position where the root directory descriptor (Root Directory Descriptor) exists is recorded, and by reproducing this position, the name of the directory or file existing under the root directory and the descriptor exist. You know the address to do.
[0070]
Furthermore, if the descriptor of the directory under the root directory is reproduced, the name of the directory and file under the root directory and the location of the descriptor with respect to them can be known.
In this way, the directory, files and contents under the root directory are confirmed, and the file body is reached.
[0071]
In general, in a multi-session CD, there are a plurality of sessions, and there are generally as many file information management units as the number of sessions.
Such a disc is created when a user adds a file to be saved.
[0072]
For example, suppose you wrote the '97 .October chart in the first session.
When one month has passed and November data is recorded on the disc, it is recorded in the second session.
In this case, it is necessary to copy the file information management unit 50 recorded in the first session to the file information management unit 50 in the second session so that the October data can also be viewed from the OS. The writer software performs such an operation and inherits the data of the file information management unit 50 recorded in the past.
[0073]
Next, processing according to claim 1 of the present invention in the CD-R / RW drive apparatus will be described.
[0074]
In this CD-R / RW drive device, a disk 17 capable of recording and reproducing information is used, and information such as a file is recorded and reproduced on the disk 17 in units of tracks which are a series of data block groups. It is.
[0075]
When a write error occurs during recording of information for a session that is a predetermined recording section of the disc 17 and track recording fails, session management information (in the session information management area of the error session) When a command to record (TOC) is received from the host computer of the host device, the file information recorded in the session immediately before the error session for the next new session after recording the session management information (TOC) of the session. Record file management information in the management unit. The file information management unit is an information management unit that manages the location and attributes of recorded files and directories as a disk format.
[0076]
FIG. 5 is a flowchart showing the processing according to the first aspect. “S” in the figure indicates a step.
In this process, it is determined whether or not there is a track in which a write error has occurred in Step 1, and if there is, the process proceeds to Step 2 to record the TOC of the error session, and proceeds to Step 3 to read out the error session (Lead -Out) The area is recorded, and the process proceeds to step 4 to determine whether it is ISO9660 format data. If it is ISO9660 format data, the process proceeds to step 5 to execute the recover session recording process, and this process ends.
[0077]
If it is determined in step 1 that there is no track in which a write error has occurred, the process proceeds to step 6 to record the TOC of the current session, and proceeds to step 7 to record the lead-out area of the current session. Exit.
If it is determined in step 4 that the data is not ISO 9660 format data, the process is terminated.
[0078]
FIG. 6 is a flowchart showing the recovery session recording process of FIG.
In this recovery session recording process, the start address of the first track of the previous session is acquired in step 11, the process proceeds to step 12, the address of the file information management unit is set, the process proceeds to step 13, and the file management information is read. Proceeding to step 14, it is determined whether or not the previous session is ISO9660 format data.
[0079]
If the ISO 9660 format data is determined in step 14, the process proceeds to step 15 to execute the recover track recording process, proceeds to step 16 to record the TOC of the recover session, and proceeds to step 17 to read out the recover session (Lead-Out). ) Record the area and end this process.
If it is determined in step 14 that the data is not ISO 9660 format data, the process is terminated.
[0080]
Next, the processing according to claim 1 of the present invention will be further described.
This session recording process is executed when a command for closing a session (Close Session Command) is received from the host computer.
The command for closing the session is a command for recording data in the session management information (TOC) and lead-out areas to complete the session.
[0081]
When the system controller 11 first records a track in the session to be recorded on the disk 17, a write error due to an servo error such as off-track or an interface (I / F) error such as a buffer underrun (Buffer Under run) occurs. It is confirmed whether it has occurred (S1).
[0082]
If a write error has occurred, session management information is recorded in the TOC area of the error session (S2), and a lead-out area indicating the end of the session is recorded (S3). It is confirmed whether or not the track is ISO9660 format data (S4).
[0083]
The confirmation means is that each ID (starting byte of the sector) of PVD, SVD, and terminator is “01”, “02”, “FF”, and a standard identifier (2 in PVD, SVD). This is done by confirming that (byte-6th byte) is “CD001”.
[0084]
If it is determined that the data is ISO 9660 format data, the recovery session recording process (S5) is performed and the process is terminated.
[0085]
This recovering session recording process is a process of copying and recording the correctly recorded file information management part immediately before the error session for the next session after the error session.
[0086]
Next, the file information management unit to be recorded at the time of recovery refers to PVD, SVD, and terminator.
[0087]
If the PVD and SVD are reproduced, the address of the root directory descriptor (Root Directory Descriptor) can be known, and the file body can be reached from there.
[0088]
When no write error has occurred in the determination of whether or not a write error has occurred (S1), session management information is recorded in the TOC area of the current session (S6), and a lead-out area is recorded (S7). ), The session completion processing is terminated.
[0089]
If it is determined in step S4 that the ISO 9660 format data is not recorded in the error track, the process ends with the error session completed.
[0090]
Next, in the recover session recording process, first, the start address of the first track of the session immediately before the error session is read from the TOC information stored in the DRAM 5 in the CD-R / RW drive device (S11). An address obtained by adding 10h (16 sectors) to the address is set as a PVD address (S12), and reproduction is continuously performed until the terminator can be confirmed (S13).
[0091]
Here, when information from the PVD to the terminator cannot be obtained, it is not determined to be ISO9660 format data.
[0092]
If the ISO 9660 format data is determined (S14) and the previous session is determined to be the ISO 9660 format data, a recovery track recording process is performed (S15).
[0093]
In this process, the track length is set to 300 sectors, which is the minimum of the CD standard, and from the PVD of a normal session (the session immediately before the error session) to the terminator (Terminator) is recorded in the user data portion so as to match the ISO9660 format.
[0094]
Thereafter, the session information management data of the session is recorded in the TOC area of the session (S16), the lead-out area is recorded, and the process is terminated.
If the session immediately before the error session cannot be determined to be ISO 9660 format data in the determination of ISO 9660 format data (S14), the process is terminated.
[0095]
Thus, for example, the disk format with an error session as shown in FIG. 7 becomes the disk format shown in FIG. 8 by the above-described processing.
[0096]
FIG. 7 shows the disk format when a write error occurs during recording of the track of the second session and an error sector occurs. As shown in FIG. By creating a recovery session in which only the file information management unit of the first session is copied to the third session, the file information can be correctly recognized from the OS during later playback.
[0097]
In this way, since the file information management unit recorded in the session immediately before the error session is recorded in the new session which is the last session existing on the disk, the file information management unit in the error session is deleted. Therefore, when the disk is used in an OS system such as Windows 95, the file managed by the file information management unit can be correctly reproduced.
[0098]
Next, in the processing according to claim 1 of the present invention described above, for example, the file information management unit of the session immediately before the error session is copied to a new session to a recording medium such as a CD-R disc that can be recorded only once. Although this is effective, a recording medium such as a CD-RW disc, on which information can be rewritten many times, wastes recording space.
[0099]
Then, in order to eliminate such a problem, the processing according to claim 2 of the present invention in the CD-R / RW drive apparatus will be described.
[0100]
In this process, when a disc 17 capable of recording and erasing information has a write error while recording information for a predetermined recording section (session) and track recording fails. When a command for recording the session management information (TOC) is received from the host computer in the session information management unit of the error session, the track in which the error has occurred is erased without recording the session management information (TOC). The process ends.
[0101]
FIG. 9 is a flowchart showing the processing according to the second aspect.
In this disc-specific session recording process, it is determined whether or not there is a track in which a write error has occurred in step 21, and if there is, the process proceeds to step 22 to determine whether or not the error disc is a CD-RW disc. If it is a disc, the process proceeds to step 27 to execute error track erasure processing, and this processing is terminated.
[0102]
If it is determined in step 22 that the error disk is not a CD-RW disk, the process proceeds to step 23 to record the TOC of the error session, and proceeds to step 24 to record the lead-out area of the error session. The process proceeds to step 25 to determine whether the data is ISO 9660 format data. If the data is ISO 9660 format data, the process proceeds to step 26 to execute the recover session recording process shown in FIG. 6 and the process ends.
[0103]
If it is determined in step 21 that there is no track in which a write error has occurred, the process proceeds to step 28 to record the TOC of the current session, and proceeds to step 29 to record the lead-out area of the current session. Exit.
If it is determined in step 25 that the data is not ISO9660 format data, the process is terminated as it is.
[0104]
Next, the processing according to claim 2 of the present invention will be further described.
This process determines whether the inserted disk 17 is a CD-R disk or a CD-RW disk. If it is determined that the disk 17 is a CD-RW disk, the process ends without executing the recovery session recording process. .
[0105]
This disc-specific session recording process is also executed when a command to close a session (Close Session Command) is received from the host computer.
[0106]
When the track in the session of the disk 17 ends with a write error (S21), the system controller 11 checks the type of the inserted disk 17 (S22).
If it is determined that the disc is a CD-RW disc, an erase pattern is recorded in the error track area, the error track is erased (S23), and the session completion process is terminated.
[0107]
If it is determined whether the disc 17 is a CD-RW disc (S22) and the inserted disc 17 is a CD-R disc, the session management information is recorded in the TOC area of the error session (S23). A lead-out area indicating the end of the session is recorded (S24), and it is confirmed whether the error track is ISO9660 format data (S25).
[0108]
This confirmation means is performed in the same manner as described above.
If it is determined that the data is ISO 9660 format data, the above-described recover session recording process (S26) is performed and the process ends.
[0109]
Thus, in a disc such as a CD-RW disc from which information can be erased, the disc format shown in FIG. 10 can be changed to the disc format shown in FIG.
[0110]
Therefore, by making the disk format as shown in FIG. 10, the error session recorded in the second session of the disk 17 is erased, and only the first session exists on the disk 17, and even a CD-RW disk is an OS. File information can be recognized correctly.
[0111]
In this way, by erasing an error session for a disc such as a CD-RW disc capable of recording and erasing information, it is possible to avoid wasting unrecorded portion space.
[0112]
Next, in the processing according to claim 1 of the present invention described above, if the error session is the first session on the disk, there is no session immediately before the error session, so file information management is performed for the next new session. Cannot be recorded, and directory / file information is erroneously recognized on the OS.
[0113]
Therefore, in order to eliminate such a problem, a process according to claim 3 of the present invention in the CD-R / RW drive apparatus will be described.
[0114]
If an error occurs during recording of information for the first session, this processing is performed when a command for recording session management information (TOC) is received from the host computer in the session information management unit of the error session. After the session management information (TOC) of the error session is recorded, special data different from the file information management unit data is recorded on a track having a predetermined length for the next new session to complete the new session.
[0115]
FIG. 11 is a flowchart showing the processing according to the third aspect.
In this first dummy session recording process, it is determined whether or not there is a track in which a write error has occurred in step 31, and if there is, the process proceeds to step 32 to record the TOC of the error session and proceeds to step 33. The lead-out area of the error session is recorded, and the process proceeds to step 39 to determine whether or not the error session is the first session.
[0116]
If it is determined in step 39 that the error session is the first session, the process proceeds to step 34 where dummy data is set, the process proceeds to step 35, the track length is set to 300 sectors, the process proceeds to step 36, and a dummy track is recorded. The process proceeds to 37 to record the TOC area of the dummy session, and the process proceeds to step 38 to record the lead-out area of the dummy session, and this process ends.
[0117]
If it is determined in step 39 that the error session is not the first session, the process proceeds to step 40 to determine whether the data is ISO9660 format data. If it is not ISO9660 format data, this process is terminated. Proceeding to step 41, a new session recording process is executed, and this process ends.
[0118]
If it is determined in step 31 that there is no track in which a write error has occurred, the process proceeds to step 42 to record the TOC of the current session, and proceeds to step 43 to record the lead-out area of the current session. Exit.
[0119]
Next, the processing according to claim 3 of the present invention will be further described.
In this first dummy session recording process, when a command to close a session (Close Session Command) is received from the host computer, it is confirmed whether or not the session to which the track in which the write error has occurred belongs to the first session on the disc. If it is the first session, the file information management unit data in ISO 9660 format is not recorded after that session, but “00” data is recorded as dummy data on the track to create a dummy session.
[0120]
By this processing, an OS such as Windows 95 can determine that the inserted disk is equivalent to a blank disk, and can additionally write data in the remaining recording space on the disk.
[0121]
When the system controller 11 receives a command for closing a session (Close Session Command) from the host computer and there is a track in which a write error has occurred (S31), the TOC area of the session is recorded (S32), and the lead-out is performed. The (Lead-Out) area is recorded (S33). Thereafter, it is confirmed whether or not the session is the first session on the disc (S39).
[0122]
If the first session is determined in the above confirmation, dummy data consisting of “00” data is stored in the DRAM 5 (S34), and the track length is set to 300 sectors which is the minimum value of the CD-RW disc standard (S35). A dummy data track is recorded (S36).
[0123]
Thereafter, the TOC area of the dummy session is recorded (S37), the lead-out area is recorded (S38), and the dummy session recording process is terminated.
If the error session is not the first session in S39, the same processes S40 to S43 as in FIG. 5 are performed.
[0124]
Thus, as in the disc format shown in FIG. 12, since dummy data is recorded in the second session and the session is closed, the OS can determine that the file information management unit is not recorded in the final session, and blank. It can be handled in the same way as a disc.
[0125]
In this way, the file information management unit data is not recorded in the last session (a newly added dummy session) recorded on the disk, so that an OS such as Windows 95 may misrecognize directory / file information. Disappear. The OS can be handled in the same way as a blank disk.
[0126]
Next, in the processing according to claim 1 of the present invention described above, when the session immediately before the error session is a music session, there is no file information management unit in the session, so a new session immediately after the error session is created. The file information management unit cannot be recorded for the session, and directory / file information is erroneously recognized on an OS such as Windows 95 (registered trademark).
[0127]
Therefore, in order to eliminate such a problem, a process according to claim 4 of the present invention in the CD-R / RW drive apparatus will be described.
[0128]
In this process, if an error occurs during recording of information for a session after a music session (audio session) on the disc, session management information (TOC) is recorded in the session information management section of the error session. When a command to be received is received from the host computer, the session management information (TOC) of the error session is recorded, and then special data different from the file information management unit data is recorded on a track of a predetermined length for the next new session To complete the session.
[0129]
FIG. 13 is a flowchart showing the processing according to the fourth aspect.
In the second dummy session recording process, the address of the first (1st) track of the previous session is acquired in step 51, the process proceeds to step 52, the address of the file information management unit is set, and the process proceeds to step 53 to manage the file. The information is read, and the process proceeds to step 54 to determine whether or not the previous session is ISO9660 format data.
[0130]
If it is determined in step 54 that the previous session is ISO9660 format data, the process proceeds to step 55 to execute a recover track recording process, proceeds to step 56 to record the TOC of the recover session, and proceeds to step 57 to read out the recovery session ( The (Lead-Out) area is recorded, and this process ends.
[0131]
If it is determined in step 54 that the previous session is not ISO9660 format data, the process proceeds to step 58 to determine whether or not the previous session is an audio session. If the previous session is an audio session, the process proceeds to step 59 where dummy data is set. Proceed to set track length = 300 sectors, proceed to step 61 to record a dummy track, proceed to step 62 to record the TOC area of the dummy session, proceed to step 63 and read out the dummy session (Lead-Out) ) Record the area and end this process.
If it is determined in step 58 that the previous session is not ISO9660 format data, this process is terminated.
[0132]
Next, the processing according to claim 4 of the present invention will be further described.
In the second dummy session recording process, at the time of the recover session recording process, it is confirmed whether or not the session immediately before the error session is an audio session, and if it is an audio session, the dummy session is recorded after the error session.
[0133]
For example, a CD called CD-Extra exists in the world.
In this CD, the first session is an audio session (music session), the second session is a data session, normal music (Audio) playback is possible with an audio player (Audio Player), and images are played back on a personal computer. Music playback is possible. Of course, image data is recorded in the second session.
[0134]
Such a CD-Extra can be created by using a CD-R / RW drive device, but if a write error occurs in the second session, the image is not displayed on an OS such as Windows 95 due to the above-mentioned causes. Problems such as inability to play correctly may occur.
[0135]
In order to avoid the occurrence of this problem, it is necessary to record a dummy session after the second session so that the image data can be recorded correctly thereafter.
The dummy session is the last session, and “00” data is recorded in the track of the session, and the file information management unit is not recorded. Therefore, the OS does not need to refer to erroneous information.
[0136]
This second dummy session recording process is an improvement of the recovery session recording process of FIG.
The system controller 11 first reproduces the file information management unit of the previous session (S51 to S53) in the same manner as the recovery session recording process of FIG. 6 and then checks whether or not the session is an ISO9660 format disk (S54). ).
[0137]
If it is determined that the disc is not an ISO9660 format disc, it is confirmed whether the session is an audio session (S58).
If the audio session is determined in the confirmation (S58), dummy data consisting of “00” data is set in the DRAM 5 of the CD-R / RW drive device (S59), and the length of the dummy track is set to the minimum value of the CD standard. Are set to 300 sectors (S60), and a dummy track is recorded (S61).
[0138]
Thereafter, as a process for completing the dummy session, the TOC area of the dummy session is recorded (S62), the lead-out area is recorded (S63), and the process is terminated.
[0139]
If it is determined in step S58 whether the previous session is not ISO9660 format data or audio data, the process is terminated.
[0140]
Further, if it is determined whether the previous session is ISO9660 format data in the determination of whether it is ISO9660 format data (S54), the recovery session recording process is performed in the same manner as the process shown in FIG. 6 (S55-S57). Exit.
[0141]
Thus, since the dummy session is recorded after the error session as in the disc format shown in FIG. 14, the OS can determine that the disc is equivalent to the disc on which the audio (Audio) data is recorded, and the music (Audio) reproduction is performed. Can be done accurately.
[0142]
In this way, since file information management data is not recorded in the last session recorded on the disk, an OS such as Windows 95 does not erroneously recognize directory / file information.
In addition, the OS can be handled in the same way as a disc on which only music data is recorded.
[0143]
Next, if the power supply of this CD-R / RW drive device is shut down due to a power failure or the like while recording a track, the track is interrupted and the track information management unit (PMA) records. The disc is left unfinished and the session is still incomplete.
[0144]
Further, as described above, when there is a disc in which a track is recorded but there is no track information management unit (PMA) for the track, when the disc is inserted into the CD-R / RW drive, the CD-R / RW The RW drive device determines that the disc is an illegal disc, and neither recording nor reproduction is possible, and it is impossible to reproduce a file in a session that has been recorded before, and the data recorded in the past is apparently lost.
[0145]
Therefore, in order to solve such a problem, the process according to claim 5 of the present invention may be executed in the CD-R / RW drive apparatus.
[0146]
In this process, when it is determined that a track is recorded on the inserted disc but there is no track information management unit (PMA) for the track, the last address of the track is detected, and the track information management unit (PMA) is recorded, the session management information (TOC) is recorded for the session in which the track exists, and then the data of the file information management unit recorded in the session immediately before the error session for the next new session Copy the record.
[0147]
Further, for example, means for completing a session in which an illegal track exists on a disc such as a CD-R disc that can be recorded only once and recording the file information management unit of the session immediately before the error session in a new session. Although effective, a disc such as a CD-RW disc, on which information can be rewritten many times, wastes recording space.
[0148]
Therefore, in order to solve such a problem, the process according to claim 6 of the present invention may be executed in the CD-R / RW drive apparatus.
[0149]
This process detects the last address of a track without a track information management unit (PMA) for a disc on which information can be recorded and erased, and records an illegal track without recording the track information management unit (PMA). Erase.
[0150]
FIG. 15 is a flowchart showing processing according to claims 5 and 6.
This disk information acquisition process is a mount process when a disk is inserted into the CD-R / RW drive device, and is a process that takes into account when a track whose track information is not recorded in the PMA is detected.
[0151]
Such a track is generated because the TOC area could not be recorded due to a power interruption or the like during the data write process.
Therefore, when the track is detected at the time of mounting, the track is recovered to complete the session, and the next recover session is recorded.
[0152]
In this disc information acquisition process, it is determined in step 71 whether or not it is a stamp disc. If it is not a stamp disc, the process proceeds to step 72 to reproduce the TOC, proceeds to step 73 to reproduce the PMA, and proceeds to step 74. Then, the program area is reproduced, and the process proceeds to step 75 to determine whether or not there is a track not in the PMA.
[0153]
If it is determined in step 75 that there is no track that does not exist in the PMA, this process is terminated. If there is a track that does not exist in the PMA, the process proceeds to step 76 where the final address of the track is detected, and the process proceeds to step 77 where CD It is determined whether or not the disc is a RW disc, and if it is a CD-RW disc, the process proceeds to step 78 to execute an illegal track erasing process, and this process is terminated.
[0154]
If the disc is not a CD-RW disc in step 77, the process proceeds to step 80 to record the PMA, proceeds to step 81 to record the TOC of the unauthorized session, and proceeds to step 82 to read out the unauthorized session (Lead-Out). ) Record the area, and proceed to Step 83 to determine whether or not the illegal track data is ISO9660 format data.
[0155]
If it is determined in step 83 that the illegal track data is not ISO9660 format data, this process is terminated. If the illegal track data is ISO9660 format data, the recover session recording process shown in FIG. This process ends.
If it is determined in step 71 that the disc is a stamp disc, the process proceeds to step 79 to reproduce the TOC, and the process is terminated.
[0156]
Next, the processing according to claims 5 and 6 will be further described.
The system controller 11 first checks whether the inserted disc is a stamp disc (S71).
[0157]
This is determined by whether or not the preformatted ATIP of the CD-R / RW disc on the disc can be detected.
If it is determined that the disc is a stamp disc (S71), the TOC of the first session is reproduced, and if it is a multi-session, the TOC of each session is reproduced to obtain session information. (S79).
[0158]
That is, since the stamp disc does not have PMA, the track information is obtained by TOC reproduction and the mounting process is terminated.
[0159]
If it is determined whether or not the disc is a stamp disc (S71), the TOC reproduction is executed as a CD-R / RW disc using the same process as the stamp disc (S72).
[0160]
Thereafter, the PMA specific to the CD-R / RW disc is reproduced (S73), and the mode, start address, end address, etc. of each track are confirmed.
[0161]
Next, the outside of the last address of the last track recorded in the PMA is reproduced (program area reproduction) (S74), and it is confirmed whether there is a track not recorded in the PMA (S75).
[0162]
If it is determined in step S75 whether or not there is a track that is not in the PMA, it is determined by detecting the reproduction signal how far the track has been recorded (S76). Then, the final address at which the reproduction signal can be detected is set as the end address of the track (S76).
[0163]
Next, it is determined whether or not the inserted disc is a CD-RW disc (S77). If it is a CD-RW disc, the illegal track is erased (S78), and this processing is terminated.
If it is determined whether there is a track that is not in the PMA (S75) and a track that is not recorded in the PMA cannot be detected in the program area, it is determined that the disc is a normal disc, and the disc information mounting process is terminated.
[0164]
If it is determined whether or not the disc is a CD-RW disc (S77), track information such as address information of an illegal track is recorded in the PMA (S80). The TOC area of the session to which the track belongs is recorded (S81), the lead-out area is recorded (S82), and it is confirmed whether or not the data recorded in the illegal track is ISO9660 format data (S83). ).
[0165]
This confirmation means continuously reproduces from the LBN 16 (logical address 16) address of this track, and if the PVD, SVD, and terminator identifiers can be detected, it is determined as ISO 9660 format data.
[0166]
If it is determined whether or not the data of the illegal track is ISO9660 format data (S83), the recovery session recording process (S83) is to copy and record the file information management unit of the session immediately before the illegal session in the next session. S84) is executed, and this process is terminated.
[0167]
If it is determined whether the illegal track data is ISO9660 format data (S83) and the illegal track data is not ISO9660 data, the mounting process is immediately terminated.
[0168]
In this way, the session in which the illegal track exists is completed, and the file information management unit of the session immediately before the error session is recorded in the new session, so that not only the illegal disc can be recorded and reproduced, but also the past. The recorded file can be reproduced from an OS such as Windows 95.
[0169]
Further, by erasing illegal tracks on a disc such as a CD-RW disc capable of recording and erasing information, it is possible to avoid wasting unrecorded space.
[0170]
【The invention's effect】
As described above, according to the information recording / reproducing apparatus of the present invention, when a write error occurs during data recording, it is possible to perform error processing so that no trouble occurs during subsequent data reproduction.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a CD-R / RW drive apparatus which is an embodiment of an information recording / reproducing apparatus of the present invention.
FIG. 2 is a diagram showing a session format of the disk 17 shown in FIG.
FIG. 3 is a format of a track recorded by a track-at-once method.
FIG. 4 is an ISO9660 file format diagram.
5 is a flowchart showing processing according to claim 1 of the present invention in the CD-R / RW drive apparatus shown in FIG. 1. FIG.
FIG. 6 is a flowchart showing a recovery session recording process of FIG. 5;
FIG. 7 is a diagram illustrating a disk format example of an error session.
8 is a diagram showing a disk format example of a disk on which the process shown in FIG. 5 has been performed.
9 is a flowchart showing processing according to claim 2 of the present invention in the CD-R / RW drive apparatus shown in FIG. 1. FIG.
10 is a diagram showing a disk format example of a disk on which the process shown in FIG. 9 has been performed.
11 is a flowchart showing processing according to claim 3 of the present invention in the CD-R / RW drive apparatus shown in FIG. 1; FIG.
12 is a diagram showing a disk format example of a disk that has been subjected to the processing shown in FIG. 11. FIG.
13 is a flowchart showing processing according to claim 4 of the present invention in the CD-R / RW drive apparatus shown in FIG. 1. FIG.
14 is a diagram showing a disk format example of the disk subjected to the processing shown in FIG.
15 is a flowchart showing processing according to claims 5 and 6 of the present invention in the CD-R / RW drive apparatus shown in FIG. 1. FIG.
[Explanation of symbols]
1: CPU 2: Flash ROM
3: Host interface controller
4: Buffer manager 5: Dynamic RAM
6: Subcode operation controller
7: CD-ROM encoder 8: SRAM
9: CD-ROM decoder 10: Audio circuit
11: System controller 12: CD encoder
13: CD decoder 14: Servo circuit
15: Spindle motor controller
16: SCSI bus 17: Disk
20: Power calibration area (PCA)
21: Track information manager (PMA)
22: Recording category (session)
23: Session information management area (lead-in area)
24: Track
25: Recording section last area (lead-out area)
26: Program area 30: Pre-gap
31: User data part 32: Run-out block
33: Link block 34: Run-in block

Claims (6)

情報の記録及び再生が可能な記録媒体に対して一連のデータブロック群単位でファイルなどの情報の記録及び再生を行なう情報記録再生装置において、
前記記録媒体の所定のセッションに対して情報を記録している最中にライトエラーが発生してトラック記録に失敗した場合、セッション管理情報を記録した後、前記ライトエラーが発生したセッションの直前セッションが所定のファイルフォーマットで記録されていたときのみ前記ライトエラーが発生したセッションの直前セッションに記録されているファイル情報管理部のデータを次の新規セッションにコピー記録する手段を設けたことを特徴とする情報記録再生装置。
In an information recording / reproducing apparatus for recording and reproducing information such as a file in a series of data block groups on a recording medium capable of recording and reproducing information,
If a write error occurs while recording information on a predetermined session of the recording medium and track recording fails , the session immediately after the session in which the write error has occurred after recording session management information The file information management unit data recorded in the session immediately before the session in which the write error has occurred is provided only when the file is recorded in a predetermined file format. Information recording / reproducing apparatus.
請求項1記載の情報記録再生装置において、
前記記録媒体が情報の書き換えができる記録媒体か1度しか記録できない記録媒体かを判断する手段と、該手段によって情報の書き換えができる記録媒体と判断された場合、前記ライトエラーが発生したトラックを消去する手段を設けたことを特徴とする情報記録再生装置。
The information recording / reproducing apparatus according to claim 1 ,
Means for determining whether the recording medium is a recording medium that can rewrite information or a recording medium that can be recorded only once, and if the recording medium is determined to be a recording medium that can rewrite information, the track in which the write error has occurred is determined. An information recording / reproducing apparatus provided with means for erasing.
請求項1記載の情報記録再生装置において、
前記記録媒体の第1セッションに対して情報を記録中にライトエラーが発生した場合、前記上位装置から前記ライトエラーが発生したセッションのセッション情報管理部にセッション管理情報を記録する命令を受信したとき、該セッション管理情報を記録した後、次の新規セッションの所定の長さのトラックにファイル情報管理部に記録するデータと異なる特殊データを記録してその新規セッションを完結させる手段を設けたことを特徴とする情報記録再生装置。
The information recording / reproducing apparatus according to claim 1,
When a write error occurs during recording information on the first session of the recording medium occurs, when receiving a command to record a session management information in the session information management unit of the session in which the write error has occurred from the host apparatus After the session management information is recorded, there is provided means for recording the special data different from the data recorded in the file information management unit on a track having a predetermined length of the next new session and completing the new session. A characteristic information recording / reproducing apparatus.
請求項1記載の情報記録再生装置において、
前記記録媒体の音楽用セッションの後のセッションに対して情報の記録中にライトエラーが発生した場合、前記上位装置から前記ライトエラーが発生したセッションのセッション情報管理部にセッション管理情報を記録する命令を受信したとき、該セッション管理情報を記録した後、次の新規セッションの所定の長さのトラックにファイル情報管理部に記録するデータと異なる特殊データを記録してその新規セッションを完結させる手段を設けたことを特徴とする情報記録再生装置。
The information recording / reproducing apparatus according to claim 1,
A command for recording session management information in the session information management unit of the session in which the write error has occurred from the host device when a write error occurs during recording of information for a session after the music session of the recording medium Means for recording the session management information and recording special data different from the data to be recorded in the file information management unit on a track of a predetermined length of the next new session and completing the new session. An information recording / reproducing apparatus provided.
情報の記録及び再生が可能な記録媒体に対して一連のデータブロック群単位でファイルなどの情報の記録及び再生を行なう情報記録再生装置において、
前記記録媒体が挿入された場合、該記録媒体にトラックは記録されているがトラック情報管理部に該トラックに対するトラック管理情報が記録されていないエラーセッションを判別したとき、そのトラックの最終アドレスを検出し、該最終アドレスに基づいて前記トラック情報管理部にトラック管理情報を記録し、そのトラックが存在するセッションのセッション情報管理部にセッション管理情報を記録した後、前記エラーセッション直前のセッションに記録されているファイル情報管理部のデータを次の新規セッションにコピー記録する手段を設けたことを特徴とする情報記録再生装置。
In an information recording / reproducing apparatus for recording and reproducing information such as a file in a series of data block groups on a recording medium capable of recording and reproducing information,
When the recording medium is inserted, when the error session in which the track is recorded on the recording medium but the track management information for the track is not recorded in the track information management unit is determined, the final address of the track is detected. The track management information is recorded in the track information management unit based on the final address, the session management information is recorded in the session information management unit of the session in which the track exists, and then recorded in the session immediately before the error session. An information recording / reproducing apparatus comprising means for copying and recording data stored in a file information management unit in a next new session.
請求項5記載の情報記録再生装置において、
前記記録媒体が情報の書き換えができる記録媒体か1度しか記録できない記録媒体かを判断する手段と、該手段によって情報の書き換えができる記録媒体と判断された場合、該記録媒体にトラックは記録されているがトラック情報管理部に該トラックに対するトラック管理情報が記録されていないエラーセッションを判別したとき、そのトラックの最終アドレスを検出し、その最終アドレスに基づくトラック管理情報を前記トラック情報管理部を記録せずに不正なトラックを消去する手段を設けたことを特徴とする情報記録再生装置。
The information recording / reproducing apparatus according to claim 5 .
When it is determined that the recording medium is a recording medium on which information can be rewritten or a recording medium on which recording can be performed only once, and a recording medium on which information can be rewritten by the means , a track is recorded on the recording medium. However, when an error session in which track management information for the track is not recorded in the track information management unit is determined, the final address of the track is detected and the track management information based on the final address is stored in the track information management unit. An information recording / reproducing apparatus comprising means for erasing an illegal track without recording.
JP25014798A 1998-09-03 1998-09-03 Information recording / reproducing device Expired - Fee Related JP3992850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25014798A JP3992850B2 (en) 1998-09-03 1998-09-03 Information recording / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25014798A JP3992850B2 (en) 1998-09-03 1998-09-03 Information recording / reproducing device

Publications (2)

Publication Number Publication Date
JP2000076829A JP2000076829A (en) 2000-03-14
JP3992850B2 true JP3992850B2 (en) 2007-10-17

Family

ID=17203523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25014798A Expired - Fee Related JP3992850B2 (en) 1998-09-03 1998-09-03 Information recording / reproducing device

Country Status (1)

Country Link
JP (1) JP3992850B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100430265B1 (en) * 2001-07-05 2004-05-04 엘지전자 주식회사 Method for writing and playing table of contents in an optical disk reader/writer

Also Published As

Publication number Publication date
JP2000076829A (en) 2000-03-14

Similar Documents

Publication Publication Date Title
JP5095895B2 (en) Method for immediately writing or reading a file on a disk-shaped recording medium
JP2000285462A (en) Method for obtaining disk information on optical disk, method for controlling access, method for controlling recording and optical disk recording apparatus
JPH08147702A (en) Method of writing to optical disk
JPH11242850A (en) Real time data recording system
US20040090886A1 (en) Data recording device, data recording method, program and data recording medium
JP3580711B2 (en) Information recording / reproducing device
US6628602B2 (en) Optical information recording medium
JPH1166751A (en) Information recording and reproducing device
US20070065105A1 (en) Data recovery method and system for a data recording
JP2001014800A (en) Optical disk recording device and recording control method
JPH10144011A (en) Disk device
JP2002109834A (en) Optical information recording medium
JP3992850B2 (en) Information recording / reproducing device
JP3825511B2 (en) Information recording / reproducing device
JPH0935270A (en) Cd-r driving device
JP3282941B2 (en) CD-R drive device
JP4713140B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
JP3012430B2 (en) Optical disk playback recovery system
JP3486486B2 (en) CD-R drive device
JPH03122713A (en) Information recorder
JP3384732B2 (en) Information recording / reproducing device
JP2727837B2 (en) Optical disc playback method
JPH10269751A (en) Information recording/reproducing apparatus
JP3602935B2 (en) Information recording / reproducing device
JP2001291366A (en) Method and device for recording, and recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070330

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: 20070724

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070725

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130803

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees