JP2004062989A - Information recording and reproducing device, information recording and reproducing method, program, and recording medium - Google Patents

Information recording and reproducing device, information recording and reproducing method, program, and recording medium Download PDF

Info

Publication number
JP2004062989A
JP2004062989A JP2002219575A JP2002219575A JP2004062989A JP 2004062989 A JP2004062989 A JP 2004062989A JP 2002219575 A JP2002219575 A JP 2002219575A JP 2002219575 A JP2002219575 A JP 2002219575A JP 2004062989 A JP2004062989 A JP 2004062989A
Authority
JP
Japan
Prior art keywords
recording
data
amount
recorded
reproducing
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.)
Granted
Application number
JP2002219575A
Other languages
Japanese (ja)
Other versions
JP3927091B2 (en
Inventor
Ryoichi Suzuki
鈴木 良一
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 JP2002219575A priority Critical patent/JP3927091B2/en
Publication of JP2004062989A publication Critical patent/JP2004062989A/en
Application granted granted Critical
Publication of JP3927091B2 publication Critical patent/JP3927091B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow the total amount of recording of data to be recorded on a recording medium to have the same value as the amount of recording by a recording operation which is instructed from a host computer, etc. <P>SOLUTION: A recording completion address is calculated by adding a recording length to a recording start address which is specified from the host computer,etc. in S18, when the recording completion address is judged larger than the maximum recording address stored in a memory in S19, the maximum recording address stored in the memory is updated in S20 and data are recorded on an optical disk in S21, and when it is judged that a closing command is received from the computer, etc. in S22, the maximum recording capacity stored in the memory is recorded on the prescribed area of the optical disk as the total recording capacity of data or the maximum recording address stored in the memory is recorded on the prescribed area of the disk in S23. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
この発明は、CD−ROMディスク,CD−R/RWディスク,CD+R/RWディスク,DVD−R/RWディスク,DVD+R/RWディスク等の光ディスク,MOディスク等の光磁気ディスク,ハードディスク,フレキシブルディスク,LS120,ZIP等の磁気ディスク,不揮発RAM,ROM等のメモリカード等の記録媒体にデータを記録及び再生する情報記録再生装置と、その情報記録再生方法と、プログラム及びそのプログラムを記録したコンピュータ読み取り可能な記録媒体とに関する。
【0002】
【従来の技術】
コンピュータやデジタル機器がビジネスや日常生活に欠かせないものとなってきているのに伴って、記録媒体(情報記録媒体)は、データの物理的な互換性,ファイルシステムやアプリケーションフォーマット等の論理的な互換性,媒体の同一(原本)性,物理的に長期間使用できることと記録したデータを長期間保存できることの永続性,記録されたデータの正確性などが重視されるようになってきた。特に、磁気記録媒体,光学記録媒体は取り扱いの簡易性もありその傾向が顕著である。
【0003】
このようなデジタル記録可能な記録媒体を利用するとき、記録単位と再生単位が、それぞれの記録装置,再生専用装置,記録媒体の事情によってかなり異なっている。例えば、CD−Rディスクでは、当初、ディスクアットワンス(始めから終わりまで一気に書き込む方法)のみであった記録方法が、セッション,トラック,パケットと数段階に渡って細分化されていった。また、ハードディスクのようにセクタ単位で記録再生が可能な場合もあるが、OSやアプリケーションによっては記録はクラスタという単位でしかできない場合もある。
そこで従来、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する情報記録装置(例えば、特開2000−278645号公報,特開平06−028778号参照)が利用されている。
【0004】
【発明が解決しようとする課題】
しかしながら、従来の情報記録再生装置では、記録媒体に記録される総記録量が記録単位の整数倍に固定されているので、記録媒体にデータ記録を完了したとき、ホストコンピュータから記録を指示された記録データの実データ量と実際に記録動作が行われた実記録量とが異なってしまう。
そのようなことが起きるのは、情報記録再生装置において、多くの場合、記録単位に満たない記録命令が発行された場合、次の命令が来てから記録単位を満たすまで待つか、強制的に記録単位を満たす命令(Sync)や媒体排出命令(Eject)などが来たときに足りない部分は装置自身が特定のパターンデータを満たして(多くの場合ゼロであることからゼロパディングなどと呼ぶ)記録しているからである。
【0005】
図8は、記録データの実データ量と実際に記録動作が行われた実記録量とが異なってしまうことの説明図である。
ここでは、記録単位を10セクタ、再生単位を1セクタとする総記録量40セクタの記録媒体としている。アドレスは0〜39である。
同図は、同図の(a)に示す未記録状態(BLANK)から、同図の(b)に示す途中までの記録と、同図の(c)に示す更なる追記の段階を示している。
同図の(a)に示すように、25セクタの記録命令とデータ転送によって記録が行われるが、情報記録再生装置の制限によって実際には30セクタの記録が行われる。そのため、同図の(b)に示すように5セクタの記録を行うが30セクタからの記録を指示してやらなければならない。さらに、同図の(c)に示すように30セクタからの記録でも5セクタの記録を行うためには残りの10セクタ全てを記録しなければならない。
【0006】
したがって、従来の情報記録再生装置では、記録媒体に記録されるデータの総記録量がホストコンピュータ等から指示された記録動作による記録量と異なる値になってしまうという問題があった。
この発明は上記の課題を解決するためになされたものであり、記録媒体に記録されるデータの総記録量がホストコンピュータ等から指示された記録動作による記録量と同じ値になるようにすることを目的とする。
【0007】
【課題を解決するための手段】
この発明は上記の目的を達成するため、次の(1)〜(5)の情報記録再生装置を提供する。
(1)記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段を備えた情報記録再生装置において、データ記録時に発行された記録命令指示の中で最大記録アドレスを上記記録媒体に記録されたデータの総記録量として記録する手段を設けた情報記録再生装置。
(2)記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段を備えた情報記録再生装置において、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を上記記録媒体に記録されたデータの総記録量として記録する手段を設けた情報記録再生装置。
【0008】
(3)記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段を備えた情報記録再生装置において、データ記録時にホストコンピュータから指定された値を上記記録媒体に記録されたデータの総記録量として記録する手段を設けた情報記録再生装置。
(4)上記(1)乃至(3)のいずれかの情報記録再生装置において、上記記録媒体に記録された総記録量を越えるアドレスへの再生命令指示を禁止する手段を設けた情報記録再生装置。
(5)上記(1)乃至(3)のいずれかの情報記録再生装置において、上記記録媒体に記録されている総記録量が記録単位の整数倍であるときは複製された記録媒体であると判定する手段を設けた情報記録再生装置。
【0009】
また、次の(6)と(7)の情報記録再生方法も提供する。
(6)記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する情報記録再生方法において、データ記録時に発行された記録命令指示の中で最大記録アドレスを上記記録媒体に記録されたデータの総記録量として記録する情報記録再生方法。
(7)記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する情報記録再生方法において、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を上記記録媒体に記録されたデータの総記録量として記録する情報記録再生方法。
【0010】
さらに、次の(8)と(9)のプログラムも提供する。
(8)コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示の中で最大記録アドレスを上記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラム。
(9)コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を上記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラム。
【0011】
さらにまた、次の(10)と(11)の記録媒体も提供する。
(10)コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示の中で最大記録アドレスを上記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
(11)コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を上記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
【0012】
【発明の実施の形態】
以下、この発明の実施形態を図面に基づいて具体的に説明する。
図1は、この発明の一実施形態である光ディスク装置の構成を示すブロック図である。同図中の矢印はデータが主に流れる方向を示しており、また、図を簡略化するために、各ブロックを制御するCPU18には、矢印付き太線のみを記載して各ブロックとの接続を省略している。
【0013】
この光ディスク装置は、CD−R/RWディスク等の光ディスク1に記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生するCD−R/RWドライブ等の情報記録再生装置であり、スピンドルモータ2,光ピックアップ3,レーザコントロール回路4,CDエンコーダ5,CD−ROMエンコーダ6,ATIPデコーダ7,バッファRAM8,バッファマネージャ9,リードアンプ10,CDデコーダ11,CD−ROMデコーダ12,ATAPI/SCSIインタフェース(I/F)13,モータドライバ14,サーボ部15,D/Aコンバータ16,ROM17,CPU18及びRAM19(不揮発RAM含む)からなる。
【0014】
CPU18は、ROM17(又はRAM19)上のプログラムやデータによりRAM19を使って装置全体の動作を制御しており、この発明に係わる各種機能も実現する。この光ディスク装置は書込み,書換え可能なCDに関するものであるが、DVD系のディスクでもほぼ構成は同じであり、それぞれの機能が拡張されたもので対応できる。
ROM17には、CPU18にて解読可能なコードで記述されたプログラムが格納されている。
なお、電源がオン状態になると、上記プログラムは図示を省略したCPU18内のメインメモリにロードされ、CPU18はそのプログラムに従って上記各部の動作を制御するとともに、制御に必要なデータ等を一時的にRAM19に保存する。
【0015】
この光ディスク装置は、光ディスク1をスピンドルモータ2によって回転駆動させる。スピンドルモータ2はモータドライバ14とサーボ部15によって線速度が一定になるように制御される。その線速度は段階的に変更が可能である。
光ピックアップ3は、図示を省略した公知の半導体レーザ(光源),光学系,フォーカスアクチュエータ,トラックアクチュエータ,受光素子及びポジションセンサを内蔵しており、レーザ光LBを光ディスク1の記録面に照射してデータの記録と再生を行う。
また、この光ピックアップ3は、同じく図示を省略したシークモータによってスレッジ方向への移動が可能である。それらのフォーカスアクチュエータ,トラックアクチュエータ及びシークモータは、受光素子とポジションセンサから得られる信号に基づいてモータドライバ14とサーボ部15により、レーザ光LBのスポットが光ディスク1上の目的の場所に位置するように制御される。
【0016】
そして、光ディスク1のリード(情報の再生,読み出し)時には、光ピックアップ3によって得られた再生信号が、リードアンプ10で増幅されて2値化された後、CDデコーダ11に入力される。その入力された2値化データは、このCDデコーダ11において、EFM(Eight to Fourteen Modulation)復調される。
なお、記録データは、8ビットずつまとめられてEFM変調されており、このEFM変調では、8ビットを14ビットに変換し、結合ビットを3ビット付加して合計17ビットにする。
この場合に、結合ビットは、それまでの「1」と「0」の数が平均的に等しくなるように付けられる。これを「DC成分の抑制」といい、DCカットされた再生信号のスライスレベル変動が抑圧される。復調されたデータは、デインターリーブとエラー訂正の処理が行われる。
【0017】
その後、このデータは、CD−ROMデコーダ12へ入力され、データの信頼性を高めるために、さらに、エラー訂正の処理が行われる。
このように2回のエラー訂正の処理が行われたデータは、バッファマネージャ9によって一旦バッファRAM8に蓄えられ、セクタデータとして揃った状態で、ATAPI/SCSIインタフェース13を介してホストコンピュータへ一気に転送される。
なお、音楽データの場合には、CDデコーダ11から出力されたデータが、D/Aコンバータ16へ入力され、アナログのオーディオ出力信号Audioとして取り出される。
【0018】
また、光ディスク1のライト(情報の記録,書き込み)時には、ATAPI/SCSI・I/F13を通してホストコンピュータから送られてきたデータを、バッファマネージャ9によって一旦バッファRAM8に蓄える。
そして、バッファRAM8内にある程度の量のデータが蓄積された状態で、ライト動作が開始されるが、この場合には、その前にレーザスポットを書き込み開始地点に位置させる必要がある。その地点は、トラックの蛇行により予め光ディスク1上に刻まれているウォブル信号によって求められる。ウォブル信号には、ATIPと呼ばれる絶対時間情報が含まれており、この情報が、ATIPデコーダ7によって取り出される。
また、このATIPデコーダ7によって生成される同期信号は、CDエンコーダ5へ入力され、光ディスク1上の正確な位置へのデータの書き込みを可能にしている。
【0019】
バッファRAM8のデータは、CD−ROMエンコーダ6やCDエンコーダ5においてエラー訂正コードの付加やインターリーブが行われ、レーザコントロール回路4,光ピックアップ3を介して、光ディスク1に記録される。
なお、EFM変調されたデータは、ビットストリームとしてチャンネルビットレート4.3218Mbps(標準速)でレーザを駆動する。
この場合の記録データは、588チャンネルビット単位でEFMフレームを構成する。チャンネルクロックとは、このチャンネルビットの周波数のクロックを意味する。
CPU18による各動作は、ATAPI/SCSI・I/F13を介してホストコンピュータからコマンドが送り込まれて行われる。また、データのやりとりもATAPI/SCSI・I/F13を介して行われる。
【0020】
そして、ROM17又はRAM19に、コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示の中で最大記録アドレスを記録媒体に記録されたデータの総記録量として記録する手順と、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を記録媒体に記録されたデータの総記録量として記録する手順と、データ記録時にホストコンピュータから指定された値を記録媒体に記録されたデータの総記録量として記録する手順と、記録媒体に記録された総記録量を越えるアドレスへの再生命令指示を禁止する手順と、記録媒体に記録されている総記録量が記録単位の整数倍であるときは複製された記録媒体であると判定する手順を実行させるためのプログラムを予め記憶する。
【0021】
また、上記プログラムをフレキシブルディスク,MOディスク,CD−ROMディスク,CD−R/RWディスク,CD+R/RWディスク,DVD−R/RWディスク,DVD+R/RWディスク等のコンピュータ読み取り可能な記録媒体に記録し、その記録媒体を介してCPUが実行可能にRAM等にインストールしてもよい。さらに、ローカルエリアネットワーク,インターネット等の各種の通信網を介して外部のコンピュータから上記プログラムをCPUが実行可能にRAM等にインストールしてもよい。
【0022】
したがって、CPUは、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する情報記録再生処理を実行すると共に、データ記録時に発行された記録命令指示の中で最大記録アドレスを記録媒体に記録されたデータの総記録量として記録する処理、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を記録媒体に記録されたデータの総記録量として記録する処理、データ記録時にホストコンピュータから指定された値を記録媒体に記録されたデータの総記録量として記録する処理、記録媒体に記録された総記録量を越えるアドレスへの再生命令指示を禁止する処理、記録媒体に記録されている総記録量が記録単位の整数倍であるときは複製された記録媒体であると判定する処理を行う。
【0023】
すなわち、上記CPUが、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段と、データ記録時に発行された記録命令指示の中で最大記録アドレスを記録媒体に記録されたデータの総記録量として記録する手段と、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を記録媒体に記録されたデータの総記録量として記録する手段と、データ記録時にホストコンピュータから指定された値を記録媒体に記録されたデータの総記録量として記録する手段と、記録媒体に記録された総記録量を越えるアドレスへの再生命令指示を禁止する手段と、記録媒体に記録されている総記録量が記録単位の整数倍であるときは複製された記録媒体であると判定する手段の機能を果たす。
【0024】
次に、この光ディスク装置における処理について説明する。
図2乃至図6は、図1に示した光ディスク装置におけるデータ記録再生処理を示すフローチャート図である。
CPU18は、図2に示すように、ステップ(図中「S」で示す)1で光ディスクのマウント処理を実行すると、ステップ2で光ディスクから総記録容量(総記録量,累計されたデータ記録量)又は最大記録アドレスを読み出す処理を実行し、ステップ3で光ディスクに総記録容量又は最大記録アドレスが記録されているか否かを判断する。
【0025】
ステップ3の判断で光ディスクに総記録容量又は最大記録アドレスが記録されていなければ、ステップ4で初期値設定としてメモリ(例えばRAM19)に最大記録容量(総記録容量)=0又は最大記録アドレス=0をセットして、図3のステップ6へ進む。
一方、ステップ3の判断で光ディスクに総記録容量又は最大記録アドレスが記録されていれば、ステップ5で初期値設定としてメモリ(例えばRAM19)に最大記録容量として光ディスクから読み出した総記録容量をセット又は最大記録アドレスとして光ディスクから読み出した最大記録アドレスをセットし、図3のステップ6へ進む。
【0026】
図3のステップ6でホストコンピュータ等からのコマンドの受信待機状態に入り、ステップ7でホストコンピュータ等からコマンドを受信したか否かを判断し、受信しなければステップ6の処理に戻り、コマンド受信があるまでステップ6及びステップ7の処理を繰り返す。
ステップ7の判断でコマンドを受信したら、ステップ8で指定値書込コマンドか否を判断する。
ステップ8の判断で指定値書込コマンドなら、ステップ12でメモリ(例えばRAM19)に指定値書込コマンド中の総記録容量を最大記録容量として記憶(上記初期値を更新)、又は指定値書込コマンド中の最大記録アドレスを記憶(上記初期値を更新)し、図5のステップ21へ進む。
【0027】
また、ステップ8の判断で指定値書込コマンドでなければ、ステップ9でライトコマンド(書込命令,データ記録命令,記録命令指示)か否かを判断する。
ステップ9の判断でライトコマンドなら、図4のステップ13へ進み、ライトコマンドでなければ、ステップ10でリードコマンド(読込命令,データ再生命令,再生命令指示)か否かを判断する。
ステップ10の判断でリードコマンドなら、図6のステップ26へ進み、リードコマンドでなければ、ステップ11でその他のコマンドに対応した処理を実行し、ステップ6の処理へ戻る。
図4のステップ13でホストコンピュータ等から指定された光ディスクにおけるデータの記録先のアドレス範囲が記録済み領域と重なるか否かを判断する。
【0028】
ステップ13の判断で記録先のアドレス範囲が記録済み領域と重ならないなら、ステップ14でホストコンピュータ等から指示された記録するデータ量をメモリに記憶した最大記録容量(総記録容量)に加算して最大記録容量(総記録容量)を更新し、図5のステップ18へ進む。
ステップ13の判断で記録先のアドレス範囲が記録済み領域と重なるなら、ステップ15へ進んで記録先のアドレス範囲が記録済み領域に内包されるか否かを判断する。
ステップ15の判断で記録先のアドレス範囲が記録済み領域に内包されるなら、ステップ17でメモリに記憶した最大記録容量(総記録容量)をそのままにして、図5のステップ18へ進む。
【0029】
ステップ15の判断で記録先のアドレス範囲が記録済み領域に内包されないなら、ステップ16でホストコンピュータ等から指示された記録するデータ量から記録済み領域と重なる部分のデータ量を除いた差分データ量を求め、その差分データ量をメモリに記憶した最大記録容量(総記録容量)に加算して最大記録容量(総記録容量)を更新し、図5のステップ18へ進む。
図5のステップ18でホストコンピュータ等から指定された記録開始アドレスに記録長を加算して記録終了アドレスを求め、ステップ19でその記録終了アドレスがメモリに記憶した最大記録アドレスよりも大きいか否かを判断する。
ステップ19の判断で記録終了アドレスが最大記録アドレス以下なら、ステップ21へ進み、記録終了アドレスが最大記録アドレスよりも大きいなら、ステップ20でメモリに記憶した最大記録アドレスを記録終了アドレスに更新し、ステップ21へ進む。
【0030】
ステップ21のライト処理で光ディスクにデータを記録し、ステップ22でホストコンピュータ等からクローズコマンド(セッションを閉じる命令)を受信したか否かを判断する。
ステップ22の判断でクローズコマンドを受信しなければ、図3のステップ6へ戻って上述の処理を繰り返す。
ステップ22の判断でクローズコマンドを受信したら、ステップ23でメモリに記憶されている最大記録容量をデータの総記録容量として光ディスクの所定領域(例えばリードイン領域)に記録(元の総記録容量が記録されている場合は上書きしてもよい)し、又はメモリに記憶されている最大記録アドレスを光ディスクの所定領域(例えばリードイン領域)に記録(元の総記録容量が記録されている場合は上書きしてもよい)する。
【0031】
その後、ステップ24でメモリの初期値をクリア(消去)して、ステップ25でセッションのクローズ処理を実行し、この処理を終了する。
図6のステップ26ではホストコンピュータ等から要求されたリードコマンドの再生開始位置を示すアドレス量が光ディスクに記録された総記録量を超えているか否かを判断し、超えていないならステップ27で通常のリード処理(再生処理)を実行し、超えているなら(範囲外へのアクセスであれば)ステップ28でホストコンピュータ等へエラーを通知して再生命令指示を禁止するエラー処理を実行し、それぞれ図3のステップ6へ戻り、上述の処理を繰り返す。
【0032】
なお、上述の処理では、光ディスクに対して総記録容量又は最大記録アドレスを記録する場合について説明したが、そのいずれか一方を記録するようにしてもよいし、両方を記録するようにしてもよい。その選択は、例えば、ホストコンピュータによってユーザに選択させ、光ディスク装置にその選択された記録の処理のみを行うように制御するとよい。また、光ディスクに記録されている方に合わせて処理を行うようにしてもよい。つまり、光ディスクに総記録容量が記録されている場合は総記録容量を記録する処理を、最大記録アドレスが記録されている場合は最大記録アドレスを記録する処理をそれぞれ切り替えて行うようにするとよい。
【0033】
このようにして、光ディスクに対する記録単位と再生単位が異なる場合、光ディスクに正確なデータの総記録量を自動的に記録できるようになり、使い勝手を良くすることができる。
また、シーケンシャル(小さいアドレスから大きなアドレスへ一方に連続した記録)ではないデータ記録をする場合にも上述と同様の効果を得られる。
さらに、総記録容量をホストコンピュータ等からユーザが任意に設定できるようになり、正確な総記録容量を記録できる。また、総記録容量を任意に設定することにより、総記録量に特殊な意味を持たせたり、原本複製判別に利用したりできる。
【0034】
さらに、光ディスクに対して総記録容量以上へのアクセスを禁止することにより、光ディスクの振る舞いをより正確にすることができる。
例えば、本来存在しなかったはずの領域へのアクセスがエラー等問題なくできたりするとプログラムやOSの実行に支障をきたしたり、予期せぬ事態に陥る可能性が高いので、そのような事象を未然に予防することができ、デバッグなどにも役立てることができる。
すなわち、総記録容量や最大記録アドレスが記録された光ディスクを再生する場合、可能であってもその最大記録アドレスを越えたアクセスを禁止することによって、データ再生の信頼性の点やデータ処理を矛盾なく扱って一貫性を保つことができる。
【0035】
図7は、光ディスクに途中までの記録で取り出し処理する場合のデータ記録フォーマットの説明図である。
同図の(b)に示すように、途中までデータが記録された光ディスクの取り出し処理時、その後にこれ以上記録された領域がないことを示すブロックを書き込み、さらに先頭の領域(例えばリードイン領域)20にコンテンツ情報を記録して取り出す。そのコンテンツ情報の中に、総記録容量又は最大記録アドレスが記録されるのだが、同図の(c)に示すように、従来では記録された最後のアドレスに基づいて決定した総記録容量又は最大記録アドレス記録(図中(イ)で示す位置)が先頭の領域20に記録されるが、この実施形態の光ディスク装置では、最後にホストコンピュータから記録を指示されたアドレスに基づいて決定した総記録容量又は最大記録アドレス(図中(ロ)で示す位置)を先頭の領域20に記録する。
【0036】
次に、上記光ディスク装置のデータ記録再生処理において、CPU18が光ディスクのマウント時等のときに、光ディスクに記録されている総記録容量が記録単位の整数倍であるときは複製された光ディスクであると判定し、その旨をホストコンピュータ等へ通知する。
すなわち、この実施形態の光ディスク装置でデータの記録がされなかった光ディスクは、総記録容量や最大記録アドレスがセクタの倍数・記録単位の整数倍(通常アドレスは0からカウントするため、最大アドレス+1が整数倍になるはずであるがここではそれを考慮せずに説明する)であるから、総記録容量が記録単位の整数倍である光ディスクが複製された光ディスクであると判定できる。
【0037】
なお、偶然に一致する場合もあるが記録単位が大きいほど確率的には極めて低い。また、常に倍数にならないようにあえて記録するように設定することによって防ぐことができる。こうして、総記録容量と最大記録アドレスを調べ、光ディスク毎の記録単位が分かれば、簡単にオリジナルと複製の判別の検知に利用することができる。
例えば、この実施形態の光ディスク装置により、実際に記録指示されたデータ量と総記録容量が異なる光ディスクができることになるが、原本となる光ディスクをこれで記録しておき、多くの装置ではこの機能が有効でない装置であるとすると、多くの装置で複製したものは常に記録単位の整数倍でしかないことを利用して複製物を検出することができる。
【0038】
これは、今まで高価な専用システムを用いていた複製の検知に比べて、非常に簡易でローコストな原本と複製の検出を行うことができる。しかも、既存の方法に比べてデータ実体や物理規格等には変更を加えない為、互換性や再生性もコントロールできるフレキシブルな検知方法となる。
この実施形態の光ディスク装置は、ファイルシステムにも記録することが出来る。また、この光ディスク装置以外の装置において複製された光ディスクを検知する手段としても利用することができる。さらに、ライトワンスの光ディスクでもリライタブルの光ディスクでも実施することができる。
【0039】
なお、上述の実施形態ではCD−R/RWドライブ等の光ディスク装置について説明したが、CD+R/RWドライブ,DVD−R/RWドライブ,DVD+R/RWドライブ等の光ディスク装置,MOドライブ等の光磁気ディスクドライブ装置,ハードディスクドライブ,フレキシブルディスクドライブ,LS120ドライブ,ZIPドライブ等の磁気ディスク装置,不揮発RAM,ROM等のメモリカード装置等の各種の情報記録再生装置でも同様にして実施することができる。
【0040】
【発明の効果】
以上説明してきたように、この発明の情報記録再生装置と情報記録再生方法によれば、記録媒体に記録されるデータの総記録量をホストコンピュータ等から指示された記録動作による記録量と同じ値にすることができる。また、この発明のプログラムと記録媒体とによれば、コンピュータにこの発明に係る機能を容易に実現させることができる。
【図面の簡単な説明】
【図1】この発明の一実施形態である光ディスク装置の構成を示すブロック図である。
【図2】図1に示した光ディスク装置におけるデータ記録再生処理を示すフローチャート図である。
【図3】図2に示したデータ記録再生処理の続きの処理を示すフローチャート図である。
【図4】図2に示したデータ記録再生処理のさらに続きの処理を示すフローチャート図である。
【図5】図2に示したデータ記録再生処理のまたさらに続きの処理を示すフローチャート図である。
【図6】図2に示したデータ記録再生処理のさらにまた続きの処理を示すフローチャート図である。
【図7】光ディスクに途中までの記録で取り出し処理する場合のデータ記録フォーマットの説明図である。
【図8】記録データの実データ量と実際に記録動作が行われた実記録量とが異なってしまうことの説明図である。
【符号の説明】
1:光ディスク     2:スピンドルモータ
3:光ピックアップ   4:レーザコントロール回路
5:CDエンコーダ   6:CD−ROMエンコーダ
7:ATIPデコーダ  8:バッファRAM
9:バッファマネージャ 10:リードアンプ
11:CDデコーダ   12:CD−ROMデコーダ
13:ATAPI/SCSIインタフェース(I/F)
14:モータドライバ  15:サーボ部
16:D/Aコンバータ 17:ROM
18:CPU      19:RAM
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an optical disk such as a CD-ROM disk, a CD-R / RW disk, a CD + R / RW disk, a DVD-R / RW disk, a DVD + R / RW disk, a magneto-optical disk such as an MO disk, a hard disk, a flexible disk, and an LS120. Recording / reproducing apparatus for recording / reproducing data on / from a recording medium such as a magnetic disk such as a hard disk, a ZIP, etc., a nonvolatile RAM, a ROM, etc., an information recording / reproducing method, a program and a computer readable recording the program It relates to a recording medium.
[0002]
[Prior art]
As computers and digital devices have become indispensable for business and daily life, recording media (information recording media) have become more logical, such as physical compatibility of data, file systems and application formats. For example, importance has been placed on such aspects as compatibility, the same (original) properties of media, the ability to be used physically for a long period of time and the longevity of storing recorded data for a long period of time, and the accuracy of recorded data. In particular, magnetic recording media and optical recording media are easy to handle and the tendency is remarkable.
[0003]
When using such a digitally recordable recording medium, the recording unit and the reproduction unit are considerably different depending on the circumstances of each recording device, reproduction-only device, and recording medium. For example, in the case of a CD-R disc, a recording method which was initially only a disc-at-once method (a method of writing all at once from the beginning to the end) was subdivided into sessions, tracks, and packets in several stages. Further, there are cases where recording and reproduction can be performed in units of sectors like a hard disk, but recording may be performed only in units of clusters depending on the OS or application.
Therefore, conventionally, an information recording apparatus that records and reproduces data so that a recording unit and a reproduction unit are different from each other on a recording medium (for example, see JP-A-2000-278645 and JP-A-06-28778) is used.
[0004]
[Problems to be solved by the invention]
However, in the conventional information recording / reproducing apparatus, since the total recording amount recorded on the recording medium is fixed to an integral multiple of the recording unit, when data recording on the recording medium is completed, recording is instructed from the host computer. The actual data amount of the recording data differs from the actual recording amount at which the recording operation was actually performed.
Such a situation often occurs in an information recording / reproducing apparatus, when a recording command less than a recording unit is issued, waits until the next command comes until the recording unit is satisfied, or forcibly. When the command (Sync) or the medium ejection command (Eject) that satisfies the recording unit is received, the portion that is not enough is filled with the specific pattern data by the apparatus itself (in most cases, it is called zero padding because it is zero). Because it is recorded.
[0005]
FIG. 8 is an explanatory diagram showing that the actual data amount of the recording data is different from the actual recording amount at which the recording operation is actually performed.
Here, a recording medium having a total recording amount of 40 sectors in which a recording unit is 10 sectors and a reproduction unit is 1 sector is used. The address is 0-39.
The figure shows the recording from the unrecorded state (BLANK) shown in (a) of the figure to the middle of the state shown in (b) of the figure, and the additional writing stage shown in (c) of the figure. I have.
As shown in FIG. 2A, recording is performed by a recording command and data transfer of 25 sectors, but recording of 30 sectors is actually performed due to the limitation of the information recording / reproducing apparatus. Therefore, as shown in FIG. 3B, recording of 5 sectors is performed, but recording from 30 sectors must be instructed. Further, as shown in FIG. 3C, in order to perform recording of 5 sectors even in recording from 30 sectors, all remaining 10 sectors must be recorded.
[0006]
Therefore, the conventional information recording / reproducing apparatus has a problem that the total recording amount of data recorded on a recording medium is different from the recording amount by a recording operation instructed from a host computer or the like.
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and is intended to make the total recording amount of data recorded on a recording medium equal to the recording amount by a recording operation instructed from a host computer or the like. With the goal.
[0007]
[Means for Solving the Problems]
The present invention provides the following information recording / reproducing devices (1) to (5) in order to achieve the above object.
(1) In an information recording / reproducing apparatus provided with means for recording and reproducing data so that a recording unit and a reproduction unit are different on a recording medium, a maximum recording address is set in a recording command instruction issued at the time of data recording. An information recording / reproducing apparatus provided with means for recording as a total recording amount of data recorded in an information recording and reproducing apparatus.
(2) In an information recording / reproducing apparatus provided with means for recording and reproducing data so that a recording unit and a reproduction unit are different from each other on a recording medium, the data recording amount is accumulated for each recording command instruction issued at the time of data recording. An information recording / reproducing apparatus provided with means for recording an accumulated data recording amount as a total recording amount of data recorded on the recording medium.
[0008]
(3) In an information recording / reproducing apparatus provided with means for recording and reproducing data so that the recording unit and the reproduction unit are different from each other on the recording medium, a value specified by the host computer at the time of data recording is stored in the data recorded on the recording medium. An information recording / reproducing apparatus provided with means for recording the total recording amount.
(4) The information recording / reproducing apparatus according to any one of (1) to (3), further comprising means for prohibiting a reproduction command instruction to an address exceeding the total recording amount recorded on the recording medium. .
(5) In the information recording / reproducing apparatus according to any one of (1) to (3), when the total recording amount recorded on the recording medium is an integral multiple of a recording unit, the recording medium is regarded as a duplicated recording medium. An information recording / reproducing apparatus provided with a determination unit.
[0009]
Further, the following information recording / reproducing methods (6) and (7) are also provided.
(6) In an information recording / reproducing method for recording and reproducing data such that a recording unit and a reproduction unit are different from each other on a recording medium, a maximum recording address is recorded on the recording medium in a recording command instruction issued at the time of data recording. An information recording / reproducing method for recording as the total recording amount of data.
(7) In an information recording / reproducing method for recording and reproducing data so that a recording unit and a reproduction unit are different from each other on a recording medium, a data recording amount is accumulated for each recording command instruction issued at the time of data recording, and the accumulated data recording is performed. An information recording / reproducing method for recording an amount as a total recording amount of data recorded on the recording medium.
[0010]
Furthermore, the following programs (8) and (9) are also provided.
(8) A procedure for recording and reproducing data in the computer so that the recording unit and the reproduction unit are different from each other on the recording medium, and the maximum recording address is recorded on the recording medium in a recording command instruction issued at the time of data recording. A program for executing a procedure for recording data as a total recording amount.
(9) A procedure for recording and reproducing data in a computer so that a recording unit and a reproduction unit are different on a recording medium, and accumulating a data recording amount for each recording command instruction issued at the time of recording data, and recording the accumulated data. A program for executing a procedure for recording an amount as a total recording amount of data recorded on the recording medium.
[0011]
Furthermore, the following recording media (10) and (11) are also provided.
(10) A procedure for recording and reproducing data in the computer so that the recording unit and the reproduction unit are different from each other on the recording medium, and the maximum recording address is recorded on the recording medium in a recording command instruction issued at the time of data recording. A computer-readable recording medium recording a program for executing a procedure for recording as a total recording amount of data.
(11) A procedure for recording and reproducing data on the recording medium so that the recording unit and the reproduction unit are different on the recording medium, and accumulating a data recording amount for each recording command instruction issued at the time of data recording, and recording the accumulated data recording A computer-readable recording medium on which a program for executing a procedure for recording an amount as a total recording amount of data recorded on the recording medium is recorded.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of an optical disk device according to an embodiment of the present invention. The arrows in the figure indicate the directions in which data mainly flows, and for simplification of the figure, the CPU 18 that controls each block is described only with a thick line with an arrow to connect to each block. Omitted.
[0013]
This optical disk device is an information recording / reproducing device such as a CD-R / RW drive for recording and reproducing data on and from a recording medium on an optical disk 1 such as a CD-R / RW disk so that the recording unit and the reproduction unit are different. Motor 2, optical pickup 3, laser control circuit 4, CD encoder 5, CD-ROM encoder 6, ATIP decoder 7, buffer RAM 8, buffer manager 9, read amplifier 10, CD decoder 11, CD-ROM decoder 12, ATAPI / SCSI An interface (I / F) 13, a motor driver 14, a servo unit 15, a D / A converter 16, a ROM 17, a CPU 18, and a RAM 19 (including a nonvolatile RAM).
[0014]
The CPU 18 controls the operation of the entire apparatus by using the RAM 19 according to programs and data on the ROM 17 (or the RAM 19), and also realizes various functions according to the present invention. This optical disk device relates to a writable and rewritable CD, but the configuration is almost the same for DVD-type disks, and can be dealt with by expanding their respective functions.
The ROM 17 stores a program described in a code decodable by the CPU 18.
When the power is turned on, the program is loaded into a main memory in the CPU 18 (not shown), and the CPU 18 controls the operation of each unit according to the program, and temporarily stores data and the like necessary for control in the RAM 19. To save.
[0015]
In this optical disk device, an optical disk 1 is driven to rotate by a spindle motor 2. The spindle motor 2 is controlled by a motor driver 14 and a servo unit 15 so that the linear velocity becomes constant. The linear velocity can be changed stepwise.
The optical pickup 3 incorporates a well-known semiconductor laser (light source), an optical system, a focus actuator, a track actuator, a light receiving element, and a position sensor, not shown, and irradiates the recording surface of the optical disc 1 with laser light LB. Record and play back data.
The optical pickup 3 can be moved in the sledge direction by a seek motor (not shown). The focus actuator, the track actuator, and the seek motor are controlled by the motor driver 14 and the servo unit 15 based on signals obtained from the light receiving element and the position sensor so that the spot of the laser beam LB is located at a target position on the optical disc 1. Is controlled.
[0016]
When reading the optical disk 1 (reproducing and reading information), the reproduction signal obtained by the optical pickup 3 is amplified by the read amplifier 10 and binarized, and then input to the CD decoder 11. The input binary data is EFM (Eight to Fourteen Modulation) demodulated by the CD decoder 11.
It should be noted that the recording data is EFM modulated by grouping 8 bits at a time. In this EFM modulation, 8 bits are converted into 14 bits, and 3 combined bits are added to make a total of 17 bits.
In this case, the combined bits are attached so that the number of “1” and “0” up to that time are equal on average. This is called “DC component suppression”, and the slice level fluctuation of the DC-cut reproduction signal is suppressed. The demodulated data is subjected to deinterleaving and error correction.
[0017]
Thereafter, the data is input to the CD-ROM decoder 12, and further error correction processing is performed to improve the reliability of the data.
The data on which the error correction processing has been performed twice is temporarily stored in the buffer RAM 8 by the buffer manager 9 and transferred to the host computer via the ATAPI / SCSI interface 13 at once at a state in which the data is prepared as sector data. You.
In the case of music data, data output from the CD decoder 11 is input to the D / A converter 16 and is extracted as an analog audio output signal Audio.
[0018]
When writing (recording and writing information) on the optical disk 1, data sent from the host computer through the ATAPI / SCSI I / F 13 is temporarily stored in the buffer RAM 8 by the buffer manager 9.
The write operation is started with a certain amount of data stored in the buffer RAM 8. In this case, it is necessary to position the laser spot at the write start point before that. The point is determined by a wobble signal which is previously engraved on the optical disk 1 by meandering of the track. The wobble signal includes absolute time information called ATIP, and this information is extracted by the ATIP decoder 7.
The synchronization signal generated by the ATIP decoder 7 is input to the CD encoder 5 to enable writing of data at an accurate position on the optical disk 1.
[0019]
The data in the buffer RAM 8 is added with an error correction code and interleaved by the CD-ROM encoder 6 and the CD encoder 5, and is recorded on the optical disc 1 via the laser control circuit 4 and the optical pickup 3.
The EFM-modulated data drives the laser at a channel bit rate of 4.3218 Mbps (standard speed) as a bit stream.
In this case, the recording data forms an EFM frame in units of 588 channel bits. The channel clock means a clock having the frequency of the channel bit.
Each operation by the CPU 18 is performed by receiving a command from the host computer via the ATAPI / SCSI I / F 13. Data exchange is also performed via the ATAPI / SCSI I / F 13.
[0020]
Then, in the ROM 17 or the RAM 19, a procedure for recording and reproducing data so that the recording unit and the reproduction unit are different from each other on the recording medium, and the maximum recording address in the recording command instruction issued at the time of data recording to the computer. The procedure for recording as the total recording amount of recorded data, the data recording amount is accumulated for each recording command instruction issued at the time of data recording, and the accumulated data recording amount is the total recording amount of data recorded on the recording medium. , A procedure for recording a value specified by the host computer at the time of data recording as the total recording amount of data recorded on the recording medium, and a reproduction instruction to an address exceeding the total recording amount recorded on the recording medium. The procedure for prohibiting the instruction, and when the total recording amount recorded on the recording medium is an integral multiple of the recording unit, it is determined that the recording medium is a duplicated recording medium. Storing in advance a program for executing a procedure for.
[0021]
The program is recorded on a computer-readable recording medium such as a flexible disk, an MO disk, a CD-ROM disk, a CD-R / RW disk, a CD + R / RW disk, a DVD-R / RW disk, and a DVD + R / RW disk. Alternatively, the CPU may be installed in a RAM or the like via the recording medium so as to be executable. Further, the above program may be installed in a RAM or the like so that the CPU can execute the program from an external computer via various communication networks such as a local area network and the Internet.
[0022]
Therefore, the CPU executes the information recording / reproducing process for recording and reproducing data so that the recording unit and the reproduction unit are different on the recording medium, and sets the maximum recording address in the recording command instruction issued at the time of data recording. The process of recording the total amount of data recorded on the recording medium, the data recording amount is accumulated for each recording instruction issued at the time of data recording, and the accumulated data recording amount is the total recording amount of data recorded on the recording medium. The process of recording as data, the process of recording the value specified by the host computer at the time of data recording as the total recording amount of the data recorded on the recording medium, and the reproduction instruction instruction to an address exceeding the total recording amount recorded on the recording medium Prohibiting processing, and processing of determining that the recording medium is a duplicated recording medium when the total recording amount recorded on the recording medium is an integral multiple of the recording unit. Cormorant.
[0023]
That is, the CPU records and reproduces data so that the recording unit and the reproduction unit are different from each other on the recording medium, and sets the maximum recording address in the recording command instruction issued at the time of data recording to the data recorded on the recording medium. Means for recording as the total recording amount of data, and means for accumulating the data recording amount for each recording instruction issued at the time of data recording, and recording the accumulated data recording amount as the total recording amount of data recorded on the recording medium. Means for recording a value specified by the host computer at the time of data recording as the total recording amount of data recorded on the recording medium, and prohibiting a reproduction command instruction to an address exceeding the total recording amount recorded on the recording medium. And a function of determining that the recording medium is a duplicated recording medium when the total recording amount recorded on the recording medium is an integral multiple of the recording unit.
[0024]
Next, processing in the optical disk device will be described.
FIGS. 2 to 6 are flowcharts showing data recording / reproducing processing in the optical disk device shown in FIG.
As shown in FIG. 2, the CPU 18 executes the mounting process of the optical disc in step (indicated by "S" in the figure) 1, and in step 2, the total recording capacity (total recording amount, accumulated data recording amount) from the optical disc in step 2. Alternatively, a process for reading the maximum recording address is executed, and it is determined in step 3 whether the total recording capacity or the maximum recording address is recorded on the optical disc.
[0025]
If the total recording capacity or the maximum recording address is not recorded on the optical disc in the judgment in step 3, the maximum recording capacity (total recording capacity) = 0 or the maximum recording address = 0 in the memory (for example, the RAM 19) as an initial value setting in step 4. Is set, and the process proceeds to step 6 in FIG.
On the other hand, if the total recording capacity or the maximum recording address is recorded on the optical disc in the judgment of step 3, the total recording capacity read from the optical disc as the maximum recording capacity is set or set in the memory (for example, RAM 19) as an initial value setting in step 5. The maximum recording address read from the optical disk is set as the maximum recording address, and the process proceeds to step 6 in FIG.
[0026]
In step 6 of FIG. 3, the process enters a standby state for receiving a command from the host computer or the like. In step 7, it is determined whether or not a command has been received from the host computer or the like. Steps 6 and 7 are repeated until there is.
When the command is received in the determination of step 7, it is determined in step 8 whether or not the command is a designated value write command.
If it is determined in step 8 that the command is the designated value write command, in step 12 the total recording capacity in the designated value write command is stored as the maximum recording capacity in the memory (for example, RAM 19) (the initial value is updated), or the designated value is written. The maximum recording address in the command is stored (the initial value is updated), and the process proceeds to step 21 in FIG.
[0027]
If it is not the designated value write command in step 8, it is determined in step 9 whether the command is a write command (write command, data recording command, recording command command).
If it is determined in step 9 that the command is a write command, the process proceeds to step 13 in FIG. 4. If it is not a write command, it is determined in step 10 whether the command is a read command (read command, data reproduction command, reproduction command instruction).
If it is determined in step 10 that the command is a read command, the process proceeds to step 26 in FIG. 6. If it is not a read command, a process corresponding to another command is executed in step 11 and the process returns to step 6.
In step 13 in FIG. 4, it is determined whether or not the address range of the data recording destination on the optical disk designated by the host computer or the like overlaps the recorded area.
[0028]
If it is determined in step 13 that the address range of the recording destination does not overlap the recorded area, the amount of data to be recorded specified by the host computer or the like is added to the maximum recording capacity (total recording capacity) stored in the memory in step 14. The maximum recording capacity (total recording capacity) is updated, and the process proceeds to step 18 in FIG.
If it is determined in step 13 that the address range of the recording destination overlaps the recorded area, the process proceeds to step 15 to determine whether the address range of the recording destination is included in the recorded area.
If it is determined in step 15 that the address range of the recording destination is included in the recorded area, the process proceeds to step 18 in FIG. 5 while keeping the maximum recording capacity (total recording capacity) stored in the memory in step 17.
[0029]
If it is determined in step 15 that the address range of the recording destination is not included in the recorded area, the difference data amount obtained by excluding the data amount of the portion overlapping the recorded area from the data amount to be recorded instructed by the host computer or the like in step 16 is calculated. Then, the difference data amount is added to the maximum recording capacity (total recording capacity) stored in the memory to update the maximum recording capacity (total recording capacity), and the process proceeds to step 18 in FIG.
In step 18 of FIG. 5, the recording end address is obtained by adding the recording length to the recording start address specified by the host computer or the like. In step 19, it is determined whether or not the recording end address is larger than the maximum recording address stored in the memory. Judge.
If it is determined in step 19 that the recording end address is equal to or smaller than the maximum recording address, the process proceeds to step 21. If the recording end address is larger than the maximum recording address, the maximum recording address stored in the memory in step 20 is updated to the recording end address. Proceed to step 21.
[0030]
The data is recorded on the optical disk by the write processing in step 21, and it is determined in step 22 whether a close command (a command to close a session) has been received from a host computer or the like.
If the close command has not been received in the determination of step 22, the process returns to step 6 of FIG. 3 to repeat the above processing.
When the close command is received in the judgment of step 22, the maximum recording capacity stored in the memory is recorded in a predetermined area (for example, a lead-in area) of the optical disc as the total recording capacity of data in step 23 (the original total recording capacity is recorded). Or the maximum recording address stored in the memory is recorded in a predetermined area (for example, a lead-in area) of the optical disk (if the original total recording capacity is recorded, the overwriting is performed). May be).
[0031]
After that, the initial value of the memory is cleared (erased) in step 24, and the session closing process is executed in step 25, and this process ends.
In step 26 of FIG. 6, it is determined whether or not the address amount indicating the reproduction start position of the read command requested from the host computer or the like exceeds the total recording amount recorded on the optical disc. If the read processing is exceeded (if the access is out of the range), an error is notified to the host computer or the like in step 28 to execute the error processing for prohibiting the reproduction command instruction. Returning to step 6 in FIG. 3, the above processing is repeated.
[0032]
In the above-described processing, the case where the total recording capacity or the maximum recording address is recorded on the optical disc has been described. However, either one of them may be recorded, or both may be recorded. . The selection may be made, for example, by allowing the user to make a selection by a host computer and controlling the optical disc device to perform only the processing of the selected recording. Further, the processing may be performed according to the direction recorded on the optical disk. That is, when the total recording capacity is recorded on the optical disc, the processing for recording the total recording capacity may be switched, and when the maximum recording address is recorded, the processing for recording the maximum recording address may be switched.
[0033]
In this way, when the recording unit and the reproduction unit for the optical disc are different, the accurate total recording amount of data can be automatically recorded on the optical disc, and the usability can be improved.
In addition, the same effect as described above can be obtained in the case of performing data recording that is not sequential (recording is continuously performed from a small address to a large address on one side).
Further, the user can arbitrarily set the total recording capacity from a host computer or the like, and can record an accurate total recording capacity. Also, by setting the total recording capacity arbitrarily, the total recording amount can be given a special meaning or used for discriminating the original copy.
[0034]
Furthermore, by prohibiting the optical disc from accessing the total recording capacity or more, the behavior of the optical disc can be made more accurate.
For example, if access to an area that should not exist originally can be made without errors or other problems, it is highly likely that the execution of the program or OS will be hindered or an unexpected situation will occur. This can be useful for debugging, etc.
In other words, when playing back an optical disk on which the total recording capacity or the maximum recording address is recorded, even if possible, prohibiting access beyond the maximum recording address contradicts the reliability of data reproduction and data processing. Can be handled consistently.
[0035]
FIG. 7 is an explanatory diagram of a data recording format in a case where a take-out process is performed on an optical disc by recording halfway.
As shown in (b) of the figure, at the time of taking out an optical disk on which data has been recorded halfway, a block indicating that there is no more recorded area is written after that, and a head area (for example, a lead-in area) is written. 2.) Record and retrieve the content information in 20. Although the total recording capacity or the maximum recording address is recorded in the content information, as shown in FIG. 3C, conventionally, the total recording capacity or the maximum recording address determined based on the last address recorded is shown. The recording address record (the position indicated by (a) in the figure) is recorded in the first area 20, but in the optical disc apparatus of this embodiment, the total recording determined based on the last address specified by the host computer to record. The capacity or the maximum recording address (the position indicated by (b) in the figure) is recorded in the first area 20.
[0036]
Next, in the data recording / reproducing process of the optical disk apparatus, when the total recording capacity recorded on the optical disk is an integral multiple of the recording unit when the CPU 18 mounts the optical disk or the like, it is determined that the optical disk is a duplicated optical disk. Judge and notify the host computer or the like.
That is, in the optical disk on which data is not recorded by the optical disk apparatus of this embodiment, the total recording capacity and the maximum recording address are a multiple of a sector and an integral multiple of the recording unit (the normal address is counted from 0, so the maximum address +1 is not counted). However, this will not be taken into account here.) Therefore, it is possible to determine that the optical disc whose total recording capacity is an integral multiple of the recording unit is a duplicated optical disc.
[0037]
In some cases, the coincidence may occur by chance, but the larger the recording unit is, the lower the probability is. In addition, it can be prevented by setting the recording so that the recording does not always become a multiple. In this way, the total recording capacity and the maximum recording address are checked, and if the recording unit for each optical disc is known, it can be easily used for detecting the distinction between the original and the duplicate.
For example, the optical disk device of this embodiment can produce an optical disk having a total recording capacity different from the data amount actually instructed to be recorded. However, in many devices, this function is recorded, and the optical disk serving as the original is recorded. If the device is not valid, it is possible to detect a copy by utilizing that the copy made by many devices is always only an integral multiple of the recording unit.
[0038]
This makes it possible to detect originals and duplicates very simply and at low cost as compared with duplicate detection using an expensive dedicated system. In addition, since the data entity and the physical standard are not changed as compared with the existing methods, a flexible detection method that can control compatibility and reproducibility is provided.
The optical disk device of this embodiment can also record on a file system. Further, it can also be used as means for detecting an optical disk duplicated in an apparatus other than this optical disk apparatus. Further, the present invention can be applied to a write-once optical disk and a rewritable optical disk.
[0039]
In the above embodiment, an optical disk device such as a CD-R / RW drive has been described, but an optical disk device such as a CD + R / RW drive, a DVD-R / RW drive, a DVD + R / RW drive, and a magneto-optical disk such as an MO drive. Various information recording / reproducing devices such as a magnetic disk device such as a drive device, a hard disk drive, a flexible disk drive, an LS120 drive, and a ZIP drive, and a memory card device such as a nonvolatile RAM and a ROM can be similarly implemented.
[0040]
【The invention's effect】
As described above, according to the information recording / reproducing apparatus and the information recording / reproducing method of the present invention, the total recording amount of the data recorded on the recording medium is set to the same value as the recording amount by the recording operation instructed from the host computer or the like. Can be Further, according to the program and the recording medium of the present invention, a computer can easily realize the functions according to the present invention.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an optical disc device according to an embodiment of the present invention.
FIG. 2 is a flowchart showing a data recording / reproducing process in the optical disk device shown in FIG.
FIG. 3 is a flowchart showing a process subsequent to the data recording / reproducing process shown in FIG. 2;
FIG. 4 is a flowchart showing a further subsequent process of the data recording / reproducing process shown in FIG. 2;
FIG. 5 is a flowchart showing still further processing of the data recording / reproducing processing shown in FIG. 2;
FIG. 6 is a flowchart showing still further processing subsequent to the data recording / reproducing processing shown in FIG. 2;
FIG. 7 is an explanatory diagram of a data recording format in a case where a take-out process is performed on an optical disc by recording halfway;
FIG. 8 is an explanatory diagram showing that the actual data amount of the recording data differs from the actual recording amount at which the recording operation is actually performed.
[Explanation of symbols]
1: Optical disk 2: Spindle motor
3: Optical pickup 4: Laser control circuit
5: CD encoder 6: CD-ROM encoder
7: ATIP decoder 8: Buffer RAM
9: Buffer manager 10: Read amplifier
11: CD decoder 12: CD-ROM decoder
13: ATAPI / SCSI interface (I / F)
14: Motor driver 15: Servo unit
16: D / A converter 17: ROM
18: CPU 19: RAM

Claims (11)

記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段を備えた情報記録再生装置において、データ記録時に発行された記録命令指示の中で最大記録アドレスを前記記録媒体に記録されたデータの総記録量として記録する手段を設けたことを特徴とする情報記録再生装置。In an information recording / reproducing apparatus including means for recording and reproducing data so that a recording unit and a reproduction unit are different on a recording medium, a maximum recording address is recorded on the recording medium in a recording command instruction issued at the time of data recording. An information recording / reproducing apparatus characterized by comprising means for recording as a total recording amount of data. 記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段を備えた情報記録再生装置において、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を前記記録媒体に記録されたデータの総記録量として記録する手段を設けたことを特徴とする情報記録再生装置。In an information recording / reproducing apparatus provided with means for recording and reproducing data so that a recording unit and a reproduction unit are different on a recording medium, a data recording amount is accumulated for each recording instruction issued at the time of data recording, and the accumulated data is recorded. An information recording / reproducing apparatus, further comprising means for recording a recording amount as a total recording amount of data recorded on the recording medium. 記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手段を備えた情報記録再生装置において、データ記録時にホストコンピュータから指定された値を前記記録媒体に記録されたデータの総記録量として記録する手段を設けたことを特徴とする情報記録再生装置。In an information recording / reproducing apparatus comprising means for recording and reproducing data so that a recording unit and a reproduction unit are different from each other on a recording medium, a value designated by a host computer at the time of data recording is set to a total recording of data recorded on the recording medium. An information recording / reproducing apparatus comprising means for recording as an amount. 請求項1乃至3のいずれか一項に記載の情報記録再生装置において、前記記録媒体に記録された総記録量を越えるアドレスへの再生命令指示を禁止する手段を設けたことを特徴とする情報記録再生装置。4. The information recording / reproducing apparatus according to claim 1, further comprising means for prohibiting a reproduction command instruction to an address exceeding a total recording amount recorded on the recording medium. Recording and playback device. 請求項1乃至3のいずれか一項に記載の情報記録再生装置において、前記記録媒体に記録されている総記録量が記録単位の整数倍であるときは複製された記録媒体であると判定する手段を設けたことを特徴とする情報記録再生装置。4. The information recording / reproducing apparatus according to claim 1, wherein the recording medium is determined to be a duplicated recording medium when a total recording amount recorded on the recording medium is an integral multiple of a recording unit. An information recording / reproducing apparatus characterized by comprising means. 記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する情報記録再生方法において、データ記録時に発行された記録命令指示の中で最大記録アドレスを前記記録媒体に記録されたデータの総記録量として記録することを特徴とする情報記録再生方法。In an information recording / reproducing method for recording and reproducing data so that a recording unit and a reproduction unit are different from each other on a recording medium, a maximum recording address in a recording command instruction issued at the time of data recording is set to a total of data recorded on the recording medium. An information recording / reproducing method characterized by recording as a recording amount. 記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する情報記録再生方法において、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を前記記録媒体に記録されたデータの総記録量として記録することを特徴とする情報記録再生方法。In an information recording / reproducing method for recording and reproducing data so that a recording unit and a reproduction unit are different on a recording medium, a data recording amount is accumulated for each recording command instruction issued at the time of data recording, and the accumulated data recording amount is calculated by the above-mentioned method. An information recording / reproducing method characterized by recording as a total recording amount of data recorded on a recording medium. コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示の中で最大記録アドレスを前記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラム。A procedure for recording and reproducing data so that a recording unit and a reproduction unit are different from each other on a recording medium, and a maximum recording address in a recording command instruction issued at the time of data recording is set to a total of data recorded on the recording medium. A program for executing a procedure for recording as a recording amount. コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を前記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラム。In the computer, a procedure for recording and reproducing data so that the recording unit and the reproduction unit are different on the recording medium, and accumulating a data recording amount for each recording command instruction issued at the time of data recording, and calculating the accumulated data recording amount. A program for executing a procedure for recording as a total recording amount of data recorded on a recording medium. コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示の中で最大記録アドレスを前記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。A procedure for recording and reproducing data so that a recording unit and a reproduction unit are different from each other on a recording medium, and a maximum recording address in a recording command instruction issued at the time of data recording is set to a total of data recorded on the recording medium. A computer-readable recording medium recording a program for executing a procedure for recording as a recording amount. コンピュータに、記録媒体に記録単位と再生単位が異なるようにデータを記録及び再生する手順と、データ記録時に発行された記録命令指示毎にデータ記録量を累計し、その累計したデータ記録量を前記記録媒体に記録されたデータの総記録量として記録する手順を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。In the computer, a procedure for recording and reproducing data so that the recording unit and the reproduction unit are different on the recording medium, and accumulating a data recording amount for each recording command instruction issued at the time of data recording, and calculating the accumulated data recording amount. A computer-readable recording medium on which a program for executing a procedure for recording as a total recording amount of data recorded on a recording medium is recorded.
JP2002219575A 2002-07-29 2002-07-29 Information recording / reproducing apparatus, information recording / reproducing method, program, and recording medium Expired - Fee Related JP3927091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002219575A JP3927091B2 (en) 2002-07-29 2002-07-29 Information recording / reproducing apparatus, information recording / reproducing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002219575A JP3927091B2 (en) 2002-07-29 2002-07-29 Information recording / reproducing apparatus, information recording / reproducing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2004062989A true JP2004062989A (en) 2004-02-26
JP3927091B2 JP3927091B2 (en) 2007-06-06

Family

ID=31940440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002219575A Expired - Fee Related JP3927091B2 (en) 2002-07-29 2002-07-29 Information recording / reproducing apparatus, information recording / reproducing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP3927091B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004114300A3 (en) * 2003-06-26 2005-02-10 Koninkl Philips Electronics Nv Recorder and method for recording information on a write once recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004114300A3 (en) * 2003-06-26 2005-02-10 Koninkl Philips Electronics Nv Recorder and method for recording information on a write once recording medium
US7830760B2 (en) 2003-06-26 2010-11-09 Koninklijke Philips Electronics N.V. Recorder and method for recording information on a write once recording medium

Also Published As

Publication number Publication date
JP3927091B2 (en) 2007-06-06

Similar Documents

Publication Publication Date Title
US7324422B2 (en) Information storage method that assures compatibility of writable medium with read only medium
RU2005102606A (en) RECORDING MEDIA AND METHOD FOR RECORDING TO SUCH MEDIA AND PLAYING FROM IT
WO2004086373A1 (en) Information recording method, information recording device, information recording program, and storage medium
JP2000149447A (en) Information recording and reproducing device
JP2003511812A5 (en)
KR100746735B1 (en) Data recording apparatus, data recording method and optical recording medium
JP2004022069A (en) Information recording apparatus, information recording method, program, recording medium, and information recording system
JP2004030815A (en) Program, recording medium, information processing system, and copy protect method
JP3908967B2 (en) Information recording device
JP3927091B2 (en) Information recording / reproducing apparatus, information recording / reproducing method, program, and recording medium
JP4027726B2 (en) Information recording / reproducing apparatus, information recording / reproducing method, program, recording medium, and information recording / reproducing system
JP3693742B2 (en) Information recording medium
JP3869638B2 (en) Disc recording device and disc
EP1209679A2 (en) Recording apparatus and method for optical recording medium
JPH08221756A (en) Cd-r drive device
JP4270163B2 (en) Recording / reproducing method and disk recording / reproducing apparatus
JP3708388B2 (en) Data recording / reproducing device
JP3892729B2 (en) Program and recording medium
JP2001351311A (en) Seeking method for optical disk and optical disk driver
JP3954636B2 (en) Recording system
JP3804959B2 (en) Information recording / reproducing device
JP4651603B2 (en) Information recording / reproducing device
KR100624274B1 (en) Method for controlling optical disc recorder/reader
KR100656997B1 (en) Fast Scan Speed Improvement Method of Optical Writing Media
JP3973521B2 (en) Recording method, program, recording medium, and information recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070301

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

Free format text: PAYMENT UNTIL: 20110309

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120309

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130309

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140309

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees