JP3924422B2 - Information recording apparatus and information recording method - Google Patents

Information recording apparatus and information recording method Download PDF

Info

Publication number
JP3924422B2
JP3924422B2 JP2000322534A JP2000322534A JP3924422B2 JP 3924422 B2 JP3924422 B2 JP 3924422B2 JP 2000322534 A JP2000322534 A JP 2000322534A JP 2000322534 A JP2000322534 A JP 2000322534A JP 3924422 B2 JP3924422 B2 JP 3924422B2
Authority
JP
Japan
Prior art keywords
packet
writing
unwritten
data
information recording
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
JP2000322534A
Other languages
Japanese (ja)
Other versions
JP2002133774A (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 JP2000322534A priority Critical patent/JP3924422B2/en
Publication of JP2002133774A publication Critical patent/JP2002133774A/en
Application granted granted Critical
Publication of JP3924422B2 publication Critical patent/JP3924422B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、CD−Rディスク,CD−RWディスク,DVD−Rディスク及びDVD−RWディスク等のデータ記録可能な情報記録媒体にパケットライト方式によってデータを書き込む光ディスク装置等の情報記録装置に関する。
【0002】
【従来の技術】
通常、CD−Rディスク,CD−RWディスク,DVD−Rディスク及びDVD−RAMディスク等の情報記録媒体へのデータの書き込みは、トラックアットワンス(Track At Once:TAO)方式によるトラック単位で行うが、ホストコンピュータ等の上位装置からデータを読み出すタイミングが遅いと、バッファ中に書き込むべきデータがなくなって、書き込みを継続できなくなるバッファアンダーランが発生する。
【0003】
上記のような情報記録媒体は、上述のような光ディスク等の情報記録媒体に途中からデータを書き足すことができないので、例えば、CD−Rディスクのような追記型光ディスクの場合、データ書き込み中にバッファアンダーランが発生すると、そのトラックを無駄にしてしまう。
【0004】
それに対し、1トラックのデータを複数のパケット(Packet)と呼ばれる記録単位に分割して書き込むパケットライト方式がある。
パケットライト方式では、少量のデータ単位で光ディスクに書き込むことができるので、バッファアンダーランを気にすることなく書き込みが行えるという利点がある。
【0005】
このパケットライト方式には、さらに固定長パケットライト方式と可変長パケットライト方式の2種類の方式がある。
固定長パケットライト方式は、パケット内のユーザデータブロック数を示すパケット長をトラック内で固定する方式であり、可変長パケットライト方式は、トラック内に様々なパケット長のパケットを混在させる方式である。
【0006】
この固定長パケットライト方式を利用したファイルシステムとして、ユニバーサルディスクフォーマット(Universal Disc Format:UDF)がある。
【0007】
例えば、CD−Rディスクでは既記録パケットの後につなげてパケットをシーケンシャルに記録するシーケンシャルUDFが、また、CD−RWディスクではデータの上書きが可能であるので、CD−RWの記録領域の全面あるいは指定領域を固定長パケットで埋め尽くした後にパケット単位でデータ記録をランダムに行い、データ再生をブロック単位で行うランダムUDFによる記録が行われている。
【0008】
従来、上述のようなパケットライト方式によってデータを記録するファイルシステムにおいて、大量のデータを複数のパケットにまたがって書き込む場合、書き込み処理速度を短縮するために、複数のパケットを連続的に書き込む情報記録装置(例えば、特開平11−126428号公報参照)があった。
【0009】
この情報記録装置は、自装置内のバッファに予め複数のパケットにまたがったデータを蓄えておき、1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始するというものである。
また、このような情報記録装置では、書き込むパケットの記録位置が連続していない場合でも、バッファに空き領域がある場合には、バッファ内に予めデータを蓄えておくようにしている。
【0010】
【発明が解決しようとする課題】
しかしながら、上述したような従来の情報記録装置では、パケットの連続書き込みを行っている最中に書き込みエラーが発生した場合、情報記録装置のバッファ内に残っている未書き込みデータが無効になってしまう。
【0011】
また、パケットの書き込み中にエラーが発生した場合、エラーを検出した時点で書き込み処理を中断してホストコンピュータに対してエラー報告を行うと、書き込みエラーしたパケットに続く未書き込みパケットのデータが情報記録媒体に記録されることなく無効になってしまう。
【0012】
したがって、例えば、ホストコンピュータ側でパケットの書き込みのリトライ処理を行う場合、ホストコンピュータは書き込みエラーが発生したパケットの書き込み要求に続けて行った全ての書き込み要求で転送したデータを再度転送し直さなければならなかったので、データの記録を能率良く行えないという問題があった。
【0013】
この発明は上記の課題を解決するためになされたものであり、パケットライト方式によるデータ書き込みの際に書き込みエラーが発生したとき、それまでに蓄えておいた未書き込みパケットのデータが無効になることを防ぎ、その未書き込みパケットを再度蓄え直して書き込みを行うリトライ処理をできるだけ行わないで済むようにしてデータ記録時のホストコンピュータの処理負担を低減することを目的とする。
【0014】
【課題を解決するための手段】
この発明は上記の目的を達成するため、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、そのパケット格納手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、そのパケット書込手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段を備えた情報記録装置において、上記パケットの書き込みエラーを検出したとき、上記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、その未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みパケットを上記情報記録媒体の所定領域に書き込む未書込パケット書込手段と、その未書込パケット書込手段によって書き込んだ後に外部へエラー報告を出力する書込エラー報告出力手段を設けたものである。
【0015】
また、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、そのパケット格納手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、そのパケット書込手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段を備えた情報記録装置において、上記パケットの書き込みエラーを検出したとき、外部へエラー報告を出力するエラー報告出力手段と、そのエラー報告出力手段によってエラー報告を出力した後に外部から発行された書き込み終了要求を受けたとき、上記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、その未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みパケットを上記情報記録媒体の所定領域に書き込む未書込パケット書込手段を設けるとよい。
【0016】
さらに、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、そのパケット格納手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、そのパケット書込手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段を備えた情報記録装置において、上記パケットの書き込みエラーを検出したとき、上記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、その未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する判断手段と、その判断手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケットを上記情報記録媒体の所定領域に書き込まないで外部へ書き込みエラー報告を出力する未書込パケット書込及び書込エラー報告出力手段を設けるとよい。
【0017】
また、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、そのパケット格納手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、そのパケット書込手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段を備えた情報記録装置において、上記パケットの書き込みエラーを検出したとき、上記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、その未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する判断手段と、その判断手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケット内の残りの領域にダミーデータを埋めてから上記情報記録媒体の所定領域に書き込む未書込パケット書込手段を設けるとよい。
【0018】
さらに、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、そのパケット格納手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、そのパケット書込手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段を備えた情報記録装置において、上記パケットの書き込みエラーを検出したとき、上記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、その未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する判断手段と、その判断手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、外部から残りのデータを受け取ってそのパケット内の残りの領域に埋めてから前記情報記録媒体の所定領域に書き込む未書込パケット書込手段を設けるとよい。
【0019】
また、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して上記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、上記パケットの書き込みエラーを検出したとき、上記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、その書き込みの後に外部へエラー報告を出力するとよい。
【0020】
さらに、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して上記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、上記パケットの書き込みエラーを検出したとき、外部へエラー報告を出力し、その出力後に外部から発行された書き込み終了要求を受けたとき、上記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みパケットを上記情報記録媒体の所定領域に書き込むとよい。
【0021】
また、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して上記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、上記パケットの書き込みエラーを検出したとき、上記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケットを上記情報記録媒体の所定領域に書き込まないで外部へ書き込みエラー報告を出力するとよい。
【0022】
さらに、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して上記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、上記パケットの書き込みエラーを検出したとき、上記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケット内の残りの領域にダミーデータを埋めてから上記情報記録媒体の所定領域に書き込むとよい。
【0023】
さらにまた、外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して上記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、上記パケットの書き込みエラーを検出したとき、上記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、外部から残りのデータを受け取ってそのパケット内の残りの領域に埋めてから上記情報記録媒体の所定領域に書き込むとよい。
【0024】
【発明の実施の形態】
以下、この発明の実施形態を図面に基づいて具体的に説明する。
図1は、この発明の情報記録装置の一実施形態である光ディスク記録装置の構成を示すブロック図である。
【0025】
この光ディスク記録装置(光ディスクドライブ)は、光ディスク11を回転させるモータ1と、光ピックアップ3を光ディスク11の半径方向に移動させる粗動モータ2と、光ピックアップ3とその各制御を行う回転制御系4,粗動モータ制御系5,ピックアップ制御系6及び信号処理系7を備えている。
なお、これらの1〜7の各部の機能及び処理は公知技術なので、その詳細な説明は省略する。
【0026】
また、CPU,ROM及びRAMからなるマイクロコンピュータによって実現され、この装置全体の制御を司ると共にこの発明に係わる各種の制御処理を実行するコントローラ8と、コントローラ8が各種の処理を実行する際の作業領域として使用すると共に光ディスク11に記録するパケットのデータ及び光ディスク11から読み出したデータ等の情報を格納するバッファ9と、外部のホストコンピュータとのデータのやり取りを司る外部インタフェース10を備えている。
【0027】
すなわち、上記バッファ9が、外部(ホストコンピュータ)から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段の機能を果たす。
【0028】
また、上記コントローラ8等が、パケット格納手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、パケット書込手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段の機能を果たす。
【0029】
さらに、上記コントローラ8等は、以下の(1)〜(10)の各手段の機能も果たす。
(1)パケットの書き込みエラーを検出したとき、パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段
【0030】
(2)未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みパケットを前記情報記録媒体の所定領域に書き込む未書込パケット書込手段
(3)未書込パケット書込手段によって書き込んだ後に外部(ホストコンピュータ)へエラー報告を出力する書込エラー報告出力手段
【0031】
(4)パケットの書き込みエラーを検出したとき、外部へエラー報告を出力するエラー報告出力手段
(5)エラー報告出力手段によってエラー報告を出力した後に外部(ホストコンピュータ)から発行された書き込み終了要求を受けたとき、パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段
【0032】
(6)未書込パケット有無手段によって未書き込みパケットが有ると判断されたとき、その未書き込みパケットを情報記録媒体の所定領域に書き込む未書込パケット書込手段
【0033】
(7)未書込パケット有無判断手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する判断手段
【0034】
(8)判断手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケットを情報記録媒体の所定領域に書き込まないで外部へ書き込みエラー報告を出力する未書込パケット書込及び書込エラー報告出力手段
【0035】
(9)判断手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケット内の残りの領域にダミーデータを埋めてから情報記録媒体の所定領域に書き込む未書込パケット書込手段
【0036】
(10)判断手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、外部(ホストコンピュータ)から残りのデータを受け取ってそのパケット内の残りの領域に埋めてから情報記録媒体の所定領域に書き込む未書込パケット書込手段
【0037】
図2は、図1に示した光ディスク11の一例として再記録可能コンパクトディスクメディアのフォーマットを示す図である。
この再記録可能コンパクトディスクメディア上には、テスト記録をしてレーザパワーの調整を行うための領域(Power Calibration Area:PCA)21,トラックの目次情報を一時的に保持するために記録する中間記録領域(Program Memory Area:PMA)22,トラックの先頭アドレス,終了アドレスなどの目次情報(Table of Contents:TOC)をはじめメディアに関する様々な情報を持つリードインエリア23,ユーザの情報を記録するトラック24,リードアウトエリア25がある。また、トラック24は、そのトラック自身の情報が記録されているプレギャップ26と、ユーザ情報が記録されているユーザデータ27とに分けられる。
【0038】
図3は、図2に示した再記録可能コンパクトディスクメディアの記録単位であるパケットのフォーマット例を示す図である。
パケット31は、リンクブロック32,ランインブロック33で始まり、ランアウトブロック35で終わる。
そして、ランインブロック33とランアウトブロック35との間にユーザデータ34が存在する。
【0039】
次に、この光ディスク記録装置におけるこの発明の請求項1及び6に係わるパケット記録処理について説明する。
このパケット記録処理では、コントローラ8が、外部から供給されるデータを所定のデータ長からなるパケットに分割してバッファ内に格納し、データ記録可能な情報記録媒体にトラックを形成して上記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む制御処理を行う。
【0040】
また、上記パケットの書き込みエラーを検出したとき、上記バッファ内に格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みパケットを上記情報記録媒体の所定領域に書き込み、その書き込みの後に外部へエラー報告を出力する制御処理を行う。
【0041】
図4は、図1に示した光ディスク記録装置におけるこの発明の請求項1及び6に係わるパケット記録処理を示すフローチャート図である。
コントローラ8は、ステップ(図中「S」で示す)1でホストコンピュータからパケット書き込み要求を受け取ると、ステップ2でパケットの記録を行い、ステップ3でパケット記録中に書き込みエラーを検出したとき、ステップ4でバッファ内をチェックしてバッファ内に書き込みエラーしたパケットを除く未記録パケット(未書き込みパケットのデータ)が有るか否かを判断する。
【0042】
ステップ4の判断で未記録パケットが無ければ、ステップ6へ進んでそのままホストコンピュータへエラー報告を出力し、未記録パケットが有ればステップ5へ進んでその未記録パケットを光ディスク上の所定領域に記録し、その後にステップ6でホストコンピュータにエラー報告を出力して、このパケット記録処理を終了する。
【0043】
図5は、図4に示したパケット記録処理時のバッファ9と光ディスク11上のデータとの関係を示す説明図である。
ここでは一例として、固定長パケットを用いてデータ記録をパケット単位でランダムに行うランダム記録の場合について説明する。
【0044】
パケット41を記録中に書き込みエラーが発生した場合、従来はバッファ9内の未記録パケット42を記録せずにホストコンピュータへエラー報告して書き込み処理を終了していた。
【0045】
一方、図4に示したパケット記録処理では、図5の(a)に示すように、バッファ内のパケット41を、同図の(b)に示すように光ディスク上の所定領域に記録し、バッファ内のパケット42を光ディスクの所定領域に記録中に書き込みエラーが発生した場合、バッファ9内に存在する未記録パケット43のデータを、同図の(b)に示すように光ディスク上の所定領域に記録してから、ホストコンピュータにエラー報告を行い、書き込み処理を終了する。
【0046】
このようにして、パケットの書き込みエラーが発生した場合、バッファ内のエラーパケットを除く未書き込みパケットのデータを光ディスクに記録した後に、ホストコンピュータに対してエラー報告を行うことにより、書き込みエラーしたパケットに続く未書き込みパケットのデータが光ディスクに記録されることなく無効になってしまうことを防ぐことができる。
【0047】
また、ホストコンピュータ側で書き込みのリトライ処理を行う場合、ホストコンピュータは書き込みエラーが発生したパケットの書き込み要求に続けて行った全ての書き込み要求で転送したデータを再び転送するという無駄な処理をせずに済み、データ記録を能率良く行うことができる。
【0048】
次に、この光ディスク記録装置におけるこの発明の請求項2及び7に係わるパケット記録処理について説明する。
上述のパケット記録処理とは若干異なり、書き込みエラー検出時に未書き込みパケットの記録を行うのではなく、ホストコンピュータへのエラー報告後に発行される書き込み終了要求に基づいて未書き込みパケットの記録を行うようにしてもよい。
【0049】
このパケット記録処理では、コントローラ8が、パケットの書き込みエラーを検出したとき、外部へエラー報告を出力し、その出力後に外部から発行された書き込み終了要求を受けたとき、バッファ内に既に格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みパケットを前記情報記録媒体の所定領域に書き込む制御処理を行う。
【0050】
図6は、図1に示した光ディスク記録装置におけるこの発明の請求項2及び7に係わるパケット記録処理を示すフローチャート図である。
コントローラ8は、ステップ(図中「S」で示す)11でホストコンピュータからパケット書き込み要求を受け取ると、ステップ12でパケットの記録を行い、ステップ13でパケット記録中に書き込みエラーを検出したとき、ステップ14でホストコンピュータにエラー報告を出力して、ステップ15でパケット記録処理を一旦終了する。
【0051】
そして、ステップ16でホストコンピュータからパケット記録終了要求を受け取ると、ステップ17でバッファ内をチェックしてバッファ内に書き込みエラーしたパケットを除く未記録パケット(未書き込みパケットのデータ)が有るか否かを判断する。
【0052】
ステップ17の判断で未記録パケットが無ければ、そのままパケット記録処理を終了し、未記録パケットが有ればステップ18へ進んでその未記録パケットを光ディスク上の所定領域に記録し、このパケット記録処理を終了する。
【0053】
このようにして、パケットの書き込みエラーが発生した場合、ホストコンピュータに対してエラー報告を行い、ホストコンピュータから書き込み終了要求がきたら、バッファ内のエラーパケットを除く未書き込みパケットのデータを光ディスクに記録することにより、書き込みエラーしたパケットに続く未書き込みパケットのデータが光ディスクに記録されることなく無効になってしまうことを防ぐことができる。
【0054】
また、ホストコンピュータ側で書き込みのリトライ処理を行う場合、ホストコンピュータは書き込みエラーが発生したパケットの書き込み要求に続けて行った全ての書き込み要求で転送したデータを再び転送するという無駄な処理をせずに済み、データ記録を能率良く行うことができる。
【0055】
次に、この光ディスク記録装置におけるこの発明の請求項3及び8に係わるパケット記録処理について説明する。
上述のパケット記録処理において、書き込みエラー発生時、バッファ内に存在する未書き込みパケット中にはパケットの途中までしかデータが無い場合もある。そのような未完のパケットをそのまま光ディスクに書き込んだ場合、イリーガルな光ディスクを作ることになる。
そこで、このパケット記録処理では、イリーガルな光ディスクの作成を防止する。
【0056】
このパケット記録処理では、コントローラ8が、パケットの書き込みエラーを検出したとき、バッファ内に既に格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケットを前記情報記録媒体の所定領域に書き込まないで外部へ書き込みエラー報告を出力することを特徴とする情報記録方法。
【0057】
図7は、図1に示した光ディスク記録装置におけるこの発明の請求項3及び8に係わるパケット記録処理を示すフローチャート図である。
コントローラ8は、ステップ(図中「S」で示す)21でホストコンピュータからパケット書き込み要求を受け取ると、ステップ22でパケットの記録を行い、ステップ23でパケット記録中に書き込みエラーを検出したとき、ステップ24でバッファ内をチェックしてバッファ内に書き込みエラーしたパケットを除く未記録パケット(未書き込みパケットのデータ)が有るか否かを判断する。
【0058】
ステップ24の判断で未記録パケットが無ければ、ステップ27へ進んでそのままホストコンピュータへエラー報告を出力し、未記録パケットが有ればステップ25へ進んでその未記録パケット内の最後までデータが格納されているか否かを判断する。
【0059】
ステップ25の判断で未記録パケットの最後までデータが格納されていなければ、その未記録パケットを光ディスクに記録せずに、ステップ24へ戻って次の未記録パケットについて上述の処理を繰り返す。
【0060】
ステップ25の判断で未記録パケット内の最後までデータが格納されていれば、ステップ26へ進んでその未記録パケットを光ディスク上の所定領域に記録し、ステップ24の処理へ戻って上述の処理を繰り返し、全ての未記録パケットについて上述の処理が済んだら、ステップ27でホストコンピュータにエラー報告を出力して、このパケット記録処理を終了する。
【0061】
このようにして、パケットの書き込みエラーを検出したとき、途中までしかデータが送られていない未記録パケットは光ディスクに書き込まないようにするので、イリーガルな光ディスクを作ることを防ぐことができる。
【0062】
次に、この光ディスク記録装置におけるこの発明の請求項4及び9に係わるパケット記録処理について説明する。
上述のパケット記録処理とは若干異なり、データが途中までしか格納されていない不完全なパケットの場合は、ダミーデータで埋め尽くして完全なパケットにして記録を行うようにしてもよい。
【0063】
このパケット記録処理では、コントローラ8が、パケットの書き込みエラーを検出したとき、バッファに既に格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケット内の残りの領域にダミーデータを埋めてから情報記録媒体の所定領域に書き込む制御処理を行う。
【0064】
図8は、図1に示した光ディスク記録装置におけるこの発明の請求項4及び9に係わるパケット記録処理を示すフローチャート図である。
コントローラ8は、ステップ(図中「S」で示す)31でホストコンピュータからパケット書き込み要求を受け取ると、ステップ32でパケットの記録を行い、ステップ33でパケット記録中に書き込みエラーを検出したとき、ステップ34でバッファ内をチェックしてバッファ内に書き込みエラーしたパケットを除く未記録パケット(未書き込みパケットのデータ)が有るか否かを判断する。
【0065】
ステップ34の判断で未記録パケットが無ければ、ステップ38へ進んでそのままホストコンピュータへエラー報告を出力し、未記録パケットが有ればステップ35へ進んでその未記録パケット内の最後までデータが格納されているか否かを判断する。
【0066】
ステップ35の判断で未記録パケット内の最後までデータが格納されていれば、ステップ37へ進んでその未記録パケットを光ディスク上の所定領域に記録し、ステップ34の処理へ戻って次の未記録パケットについて上述の処理を繰り返す。
【0067】
ステップ35の判断で未記録パケットの最後までデータが格納されていなければ、ステップ36へ進んでその未記録パケット内の残りの領域にダミーデータを埋めて、ステップ37へ進んでその未記録パケットを光ディスク上の所定領域に記録し、ステップ34の処理へ戻って次の未記録パケットについて上述の処理を繰り返す。
【0068】
こうして、全ての未記録パケットについて上述の処理が済み、ステップ34の判断で未記録パケットが無くなったら、ステップ38へ進んでホストコンピュータにエラー報告を出力して、このパケット記録処理を終了する。
【0069】
このようにして、パケットの書き込みエラーを検出したとき、途中までしかデータが送られていない未記録パケットは、その未記録パケットの残りの領域をダミーデータで埋めて光ディスクに書き込むので、イリーガルな光ディスクを作ることを防ぐことができる。
【0070】
次に、この光ディスク記録装置におけるこの発明の請求項5及び10に係わるパケット記録処理について説明する。
上述のパケット記録処理とは若干異なり、データが途中までしか格納されていない不完全なパケットの場合は、ホストコンピュータから残りのデータを受け取り、そのデータで残りの領域を埋めて完全なパケットにして記録を行うようにしてもよい。
【0071】
このパケット記録処理では、コントローラ8が、パケットの書き込みエラーを検出したとき、バッファに既に格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、外部から残りのデータを受け取ってそのパケット内の残りの領域に埋めてから情報記録媒体の所定領域に書き込む制御処理を行う。
【0072】
図9は、図1に示した光ディスク記録装置におけるこの発明の請求項5及び10に係わるパケット記録処理を示すフローチャート図である。
コントローラ8は、ステップ(図中「S」で示す)41でホストコンピュータからパケット書き込み要求を受け取ると、ステップ42でパケットの記録を行い、ステップ43でパケット記録中に書き込みエラーを検出したとき、ステップ44でバッファ内をチェックしてバッファ内に書き込みエラーしたパケットを除く未記録パケット(未書き込みパケットのデータ)が有るか否かを判断する。
【0073】
ステップ44の判断で未記録パケットが無ければ、ステップ48へ進んでそのままホストコンピュータへエラー報告を出力し、未記録パケットが有ればステップ45へ進んでその未記録パケット内の最後までデータが格納されているか否かを判断する。
【0074】
ステップ45の判断で未記録パケット内の最後までデータが格納されていれば、ステップ47へ進んでその未記録パケットを光ディスク上の所定領域に記録し、ステップ44の処理へ戻って次の未記録パケットについて上述の処理を繰り返す。
【0075】
ステップ45の判断で未記録パケットの最後までデータが格納されていなければ、ステップ46へ進んでホストコンピュータから未記録パケットの残りのデータを受け取り、ステップ47でそのデータで未記録パケット内の残りの領域を埋めて、その未記録パケットを光ディスク上の所定領域に記録し、ステップ44の処理へ戻って次の未記録パケットについて上述の処理を繰り返す。
【0076】
こうして、全ての未記録パケットについて上述の処理が済み、ステップ44の判断で未記録パケットが無くなったら、ステップ48へ進んでホストコンピュータにエラー報告を出力して、このパケット記録処理を終了する。
【0077】
このようにして、パケットの書き込みエラーを検出したとき、途中までしかデータが送られていない未記録パケットは、ホストコンピュータから残りのデータを受け取ってその未記録パケットの残りの領域を埋めた後に光ディスクに書き込むので、イリーガルな光ディスクを作ることを防ぐことができる。
【0078】
【発明の効果】
以上説明してきたように、この発明の情報記録装置と情報記録方法によれば、パケットライト方式によるデータ書き込みの際に書き込みエラーが発生したとき、それまでに蓄えておいた未書き込みパケットのデータが無効になることを防いで、その未書き込みパケットを再度蓄え直して書き込みを行うリトライ処理をできるだけ行わないで済むので、データ記録時のホストコンピュータの処理負担を低減することができる。
【図面の簡単な説明】
【図1】この発明の情報記録装置の一実施形態である光ディスク記録装置の構成を示すブロック図である。
【図2】図1に示した光ディスク11の一例として再記録可能コンパクトディスクメディアのフォーマットを示す図である。
【図3】図2に示した再記録可能コンパクトディスクメディアの記録単位であるパケットのフォーマット例を示す図である。
【図4】図1に示した光ディスク記録装置におけるこの発明の請求項1及び6に係わるパケット記録処理を示すフローチャート図である。
【図5】図4に示したパケット記録処理時のバッファ9と光ディスク11上のデータとの関係を示す説明図である。
【図6】図1に示した光ディスク記録装置におけるこの発明の請求項2及び7に係わるパケット記録処理を示すフローチャート図である。
【図7】図1に示した光ディスク記録装置におけるこの発明の請求項3及び8に係わるパケット記録処理を示すフローチャート図である。
【図8】図1に示した光ディスク記録装置におけるこの発明の請求項4及び9に係わるパケット記録処理を示すフローチャート図である。
【図9】図1に示した光ディスク記録装置におけるこの発明の請求項5及び10に係わるパケット記録処理を示すフローチャート図である。
【符号の説明】
1:モータ 2:粗動モータ
3:光ピックアップ 4:回転制御系
5:粗動モータ制御系 6:ピックアップ制御系
7:信号処理系 8:コントローラ
9:バッファ 10:外部インタフェース
21:PCA 22:PMA
23:リードインエリア
24:トラック 25:リードアウトエリア
26:プレギャップ 27:ユーザデータ
31,41,42:パケット
32:リンクブロック 33:ランインブロック
34:ユーザデータ 35:ランアウトブロック
43:未記録パケット
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information recording apparatus such as an optical disk apparatus that writes data to a data recordable information recording medium such as a CD-R disk, a CD-RW disk, a DVD-R disk, and a DVD-RW disk by a packet write method.
[0002]
[Prior art]
Usually, data is written to an information recording medium such as a CD-R disc, a CD-RW disc, a DVD-R disc, and a DVD-RAM disc in units of tracks by a track at once (TAO) method. If the timing of reading data from a host device such as a host computer is late, there is no data to be written in the buffer, and a buffer underrun that prevents the writing from continuing can occur.
[0003]
Since the information recording medium as described above cannot add data to the information recording medium such as the optical disk as described above, for example, in the case of a write-once optical disk such as a CD-R disk, When a buffer underrun occurs, the track is wasted.
[0004]
On the other hand, there is a packet write method in which data for one track is divided and written into a plurality of recording units called packets.
The packet write method has an advantage that writing can be performed without worrying about buffer underrun, because writing can be performed on a small amount of data on an optical disk.
[0005]
There are two types of packet write methods: a fixed-length packet write method and a variable-length packet write method.
The fixed-length packet write method is a method in which the packet length indicating the number of user data blocks in the packet is fixed in the track, and the variable-length packet write method is a method in which packets of various packet lengths are mixed in the track. .
[0006]
A universal disk format (UDF) is a file system that uses this fixed-length packet write method.
[0007]
For example, a CD-R disc can be overwritten with a sequential UDF that is connected after a previously recorded packet, and a CD-RW disc can be overwritten with data. After the area is filled with fixed-length packets, data recording is performed randomly in units of packets, and recording by random UDF is performed in which data reproduction is performed in units of blocks.
[0008]
Conventionally, in a file system that records data by the packet write method as described above, when a large amount of data is written across a plurality of packets, information recording in which a plurality of packets are continuously written in order to reduce the writing processing speed. There was an apparatus (for example, see JP-A-11-126428).
[0009]
This information recording apparatus stores data extending over a plurality of packets in a buffer in its own apparatus, and starts writing the next packet following the end of writing one packet.
Further, in such an information recording apparatus, even when the recording positions of packets to be written are not continuous, if there is an empty area in the buffer, data is stored in the buffer in advance.
[0010]
[Problems to be solved by the invention]
However, in the conventional information recording apparatus as described above, when a write error occurs during continuous writing of packets, unwritten data remaining in the buffer of the information recording apparatus becomes invalid. .
[0011]
Also, if an error occurs during packet writing, when the error is detected, the writing process is interrupted and an error report is sent to the host computer. It becomes invalid without being recorded on the medium.
[0012]
Thus, for example, when retry processing of packet writing is performed on the host computer side, the host computer must transfer again the data transferred in all the write requests made following the packet write request in which the write error occurred. As a result, there was a problem that data could not be recorded efficiently.
[0013]
The present invention has been made to solve the above problems, and when a write error occurs during data write by the packet write method, the data of the unwritten packet stored up to that point becomes invalid. An object of the present invention is to reduce the processing load on the host computer at the time of data recording by avoiding the retry process of storing the unwritten packets again and rewriting them as much as possible.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, the present invention divides and stores data supplied from the outside into packets having a predetermined data length, and stores a plurality of packets stored in the packet storage means as data. Packet writing means for continuously writing by forming a track on a recordable information recording medium, and writing for starting writing of the next packet following the end of writing of one packet when writing by the packet writing means In the information recording apparatus provided with the write control means, when the packet write error is detected, it is determined whether or not there is an unwritten packet in the packet storage means excluding the write error packet. And that it is determined that there is an unwritten packet by the means for determining whether or not there is an unwritten packet. An unwritten packet writing means for writing the unwritten packet to a predetermined area of the information recording medium, and a writing error report output means for outputting an error report to the outside after writing by the unwritten packet writing means. It is provided.
[0015]
Also, a packet storage means for dividing and storing data supplied from outside into packets having a predetermined data length, and a track on an information recording medium capable of recording a plurality of packets stored in the packet storage means. Information recording apparatus comprising: packet writing means formed and continuously written; and writing control means for starting writing of the next packet at the end of writing of one packet when writing by the packet writing means , When an error report output means for outputting an error report to the outside when a write error of the packet is detected, and when a write end request issued from the outside after outputting the error report by the error report output means, Whether there are unwritten packets in the packet storage means excluding packets that have been written errors Unwritten packet presence / absence determining means for determining whether or not there is an unwritten packet by the unwritten packet presence / absence determining means, and writing the unwritten packet to a predetermined area of the information recording medium Packet writing means may be provided.
[0016]
Further, a packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a track on an information recording medium capable of recording data on a plurality of packets stored in the packet storage means. Information recording apparatus comprising: packet writing means formed and continuously written; and writing control means for starting writing of the next packet at the end of writing of one packet when writing by the packet writing means The packet storage means for determining whether or not there is an unwritten packet in the packet storage means excluding the packet with the write error, and the presence or absence of the unwritten packet. When it is determined by the determination means that there is an unwritten packet, the unwritten packet Determines whether data has been stored to the end, and when it is determined by the determining means that data has been stored to the end of the packet, the unwritten packet is stored in the information recording medium. When it is determined that the data has not been stored until the end of the packet is written to the predetermined area, an unwritten packet document that outputs a write error report to the outside without writing the packet to the predetermined area of the information recording medium It is preferable to provide a write and write error report output means.
[0017]
Also, a packet storage means for dividing and storing data supplied from outside into packets having a predetermined data length, and a track on an information recording medium capable of recording a plurality of packets stored in the packet storage means. Information recording apparatus comprising: packet writing means formed and continuously written; and writing control means for starting writing of the next packet at the end of writing of one packet when writing by the packet writing means The packet storage means for determining whether or not there is an unwritten packet in the packet storage means excluding the packet with the write error, and the presence or absence of the unwritten packet. When it is determined by the judging means that there is an unwritten packet, in the unwritten packet Determines whether or not data has been stored to the end, and when it is determined by the determining means that data has been stored to the end of the packet, the unwritten packet is designated as a predetermined value in the information recording medium. If it is determined that data has not been stored until the end of the packet is written to the area, the remaining area in the packet is filled with dummy data and then written to the predetermined area of the information recording medium. It is advisable to provide an insertion means.
[0018]
Further, a packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a track on an information recording medium capable of recording data on a plurality of packets stored in the packet storage means. Information recording apparatus comprising: packet writing means formed and continuously written; and writing control means for starting writing of the next packet at the end of writing of one packet when writing by the packet writing means The packet storage means for determining whether or not there is an unwritten packet in the packet storage means excluding the packet with the write error, and the presence or absence of the unwritten packet. When it is determined by the determination means that there is an unwritten packet, the unwritten packet Determines whether data has been stored to the end, and when it is determined by the determining means that data has been stored to the end of the packet, the unwritten packet is stored in the information recording medium. When it is determined that the data has not been stored until the end of the packet is written in the predetermined area, the remaining data is received from outside and filled in the remaining area in the packet, and then stored in the predetermined area of the information recording medium. An unwritten packet writing means for writing may be provided.
[0019]
Further, externally supplied data is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and a plurality of stored packets are written into one packet. In the information recording method of continuously writing while starting writing of the next packet following the end, when a write error of the packet is detected, an unwritten packet excluding the packet with a write error is stored in the stored packet. When it is determined whether or not there is an unwritten packet, the unwritten packet is written in a predetermined area of the information recording medium, and an error report is output to the outside after the writing.
[0020]
Further, externally supplied data is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are written into one packet. In the information recording method that writes continuously while starting writing the next packet continuously at the end, when an error in writing the packet is detected, an error report is output to the outside, and after that output, the writing issued from the outside is terminated When a request is received, it is determined whether or not there is an unwritten packet other than a packet with a write error in the stored packet. When it is determined that there is an unwritten packet, the unwritten packet It may be written in a predetermined area of the recording medium.
[0021]
Further, externally supplied data is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and a plurality of stored packets are written into one packet. In the information recording method of continuously writing while starting writing of the next packet following the end, when a write error of the packet is detected, an unwritten packet excluding the packet with a write error is stored in the stored packet. When it is determined that there is an unwritten packet, it is determined whether data is stored to the end in the unwritten packet, and data is stored to the end in the packet. If it is determined that the unwritten packet is written to a predetermined area of the information recording medium, the packet is When the last until the data in the bets is determined not to be stored, the packet may outputs the external to write error report not written in a predetermined area of the information recording medium.
[0022]
Further, externally supplied data is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are written into one packet. In the information recording method of continuously writing while starting writing of the next packet following the end, when a write error of the packet is detected, an unwritten packet excluding the packet with a write error is stored in the stored packet. When it is determined that there is an unwritten packet, it is determined whether data is stored to the end in the unwritten packet, and data is stored to the end in the packet. If it is determined that the unwritten packet is written to a predetermined area of the information recording medium, When the last to data in Tsu bets is determined not to be stored may written from filling the dummy data in the remaining area in the packet in a predetermined area of the information recording medium.
[0023]
Furthermore, data supplied from the outside is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are combined into one packet. In the information recording method for continuously writing while starting writing of the next packet after the end of writing, when a write error of the packet is detected, an unwritten packet excluding the write error packet in the stored packet When it is determined that there is an unwritten packet, it is determined whether data is stored to the end in the unwritten packet, and the data is stored to the end in the packet. When it is determined that the packet has been written, the unwritten packet is written into a predetermined area of the information recording medium. When the last until the data in the packet is determined not to be stored may written receive the remaining data from the outside from filling the remaining space in the packet in a predetermined area of the information recording medium.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be specifically described below with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of an optical disk recording apparatus which is an embodiment of the information recording apparatus of the present invention.
[0025]
This optical disk recording apparatus (optical disk drive) includes a motor 1 that rotates an optical disk 11, a coarse motion motor 2 that moves an optical pickup 3 in the radial direction of the optical disk 11, an optical pickup 3, and a rotation control system 4 that controls each of them. , Coarse motor control system 5, pickup control system 6 and signal processing system 7.
In addition, since the function and process of each part of these 1-7 are well-known techniques, the detailed description is abbreviate | omitted.
[0026]
The controller 8 is realized by a microcomputer including a CPU, a ROM, and a RAM, controls the entire apparatus and executes various control processes according to the present invention, and operations when the controller 8 executes various processes. A buffer 9 is used for storing information such as packet data to be recorded on the optical disc 11 and data read from the optical disc 11 and an external interface 10 for exchanging data with an external host computer.
[0027]
That is, the buffer 9 functions as a packet storage means for dividing and storing data supplied from the outside (host computer) into packets having a predetermined data length.
[0028]
Further, the controller 8 or the like forms a track on an information recording medium capable of data recording of a plurality of packets stored in the packet storage means and continuously writes the packets, and writing by the packet writing means Sometimes, it functions as a writing control means for starting writing of the next packet following the end of writing of one packet.
[0029]
Further, the controller 8 or the like also functions as the following means (1) to (10).
(1) When a packet write error is detected, it is determined whether or not there is an unwritten packet in the packet storage means excluding the packet with the write error.
[0030]
(2) Unwritten packet writing means for writing an unwritten packet to a predetermined area of the information recording medium when it is determined by the unwritten packet presence / absence determining means that there is an unwritten packet.
(3) Write error report output means for outputting an error report to the outside (host computer) after writing by an unwritten packet writing means
[0031]
(4) Error report output means for outputting an error report to the outside when a packet write error is detected
(5) When a write end request issued from the outside (host computer) is received after the error report is output by the error report output means, whether or not there is an unwritten packet in the packet storage means excluding the packet in which the write error has occurred Means for determining whether there is an unwritten packet
[0032]
(6) Unwritten packet writing means for writing an unwritten packet to a predetermined area of the information recording medium when it is determined by the unwritten packet presence / absence means that there is an unwritten packet.
[0033]
(7) When the unwritten packet presence / absence determining unit determines that there is an unwritten packet, the determining unit determines whether or not data is stored to the end in the unwritten packet.
[0034]
(8) When it is determined by the determining means that data has been stored to the end of the packet, the unwritten packet is written in a predetermined area of the information recording medium, and it is determined that the data has not been stored to the end of the packet. If not, unwritten packet writing and writing error report output means for outputting a write error report to the outside without writing the packet in a predetermined area of the information recording medium
[0035]
(9) When it is determined by the determining means that data has been stored to the end of the packet, the unwritten packet is written in a predetermined area of the information recording medium, and it is determined that the data has not been stored to the end of the packet. Unwritten packet writing means for writing dummy data into a predetermined area of the information recording medium after filling the remaining area in the packet
[0036]
(10) When it is determined by the determining means that data has been stored to the end of the packet, the unwritten packet is written in a predetermined area of the information recording medium, and it is determined that the data has not been stored to the end of the packet. If not, an unwritten packet writing means for receiving the remaining data from the outside (host computer), filling the remaining area in the packet, and writing it in a predetermined area of the information recording medium
[0037]
FIG. 2 is a diagram showing a format of a re-recordable compact disc medium as an example of the optical disc 11 shown in FIG.
On this re-recordable compact disc medium, an area (Power Calibration Area: PCA) 21 for performing test recording and adjusting laser power, and intermediate recording for temporarily storing track table information An area (Program Memory Area: PMA) 22, a table of contents information (Table of Contents: TOC) such as a head address and an end address of the track, and a track 24 for recording user information. , There is a lead-out area 25. The track 24 is divided into a pre-gap 26 in which information of the track itself is recorded and user data 27 in which user information is recorded.
[0038]
FIG. 3 is a diagram showing a format example of a packet which is a recording unit of the re-recordable compact disc medium shown in FIG.
The packet 31 starts with a link block 32 and a run-in block 33 and ends with a run-out block 35.
User data 34 exists between the run-in block 33 and the run-out block 35.
[0039]
Next, packet recording processing according to claims 1 and 6 of the present invention in this optical disk recording apparatus will be described.
In this packet recording process, the controller 8 divides data supplied from the outside into packets having a predetermined data length and stores them in a buffer, forms a track on an information recording medium capable of data recording, and stores the data. Then, a control process for continuously writing a plurality of packets at the end of writing of one packet is performed while starting writing of the next packet.
[0040]
In addition, when a write error of the packet is detected, it is determined whether or not there is an unwritten packet other than a packet in which a write error has occurred in the packet stored in the buffer, and it is determined that there is an unwritten packet. At this time, the unwritten packet is written in a predetermined area of the information recording medium, and after the writing, a control process for outputting an error report to the outside is performed.
[0041]
FIG. 4 is a flowchart showing packet recording processing according to claims 1 and 6 of the present invention in the optical disk recording apparatus shown in FIG.
When the controller 8 receives a packet write request from the host computer in step (indicated by “S” in the figure) 1, it records the packet in step 2, and when step 3 detects a write error during packet recording, In step 4, the buffer is checked and it is determined whether or not there is an unrecorded packet (data of an unwritten packet) except for a packet in which a write error has occurred in the buffer.
[0042]
If it is determined in step 4 that there is no unrecorded packet, the process proceeds to step 6 and an error report is output to the host computer as it is. If there is an unrecorded packet, the process proceeds to step 5 and the unrecorded packet is placed in a predetermined area on the optical disk. Then, in step 6, an error report is output to the host computer, and this packet recording process is terminated.
[0043]
FIG. 5 is an explanatory diagram showing the relationship between the buffer 9 and the data on the optical disc 11 during the packet recording process shown in FIG.
Here, as an example, a case of random recording in which data recording is performed at random in units of packets using fixed-length packets will be described.
[0044]
When a write error occurs during recording of the packet 41, conventionally, the unrecorded packet 42 in the buffer 9 is not recorded, but an error is reported to the host computer and the writing process is terminated.
[0045]
On the other hand, in the packet recording process shown in FIG. 4, as shown in FIG. 5A, the packet 41 in the buffer is recorded in a predetermined area on the optical disc as shown in FIG. If a write error occurs during recording of the packet 42 in the predetermined area of the optical disk, the data of the unrecorded packet 43 existing in the buffer 9 is transferred to the predetermined area on the optical disk as shown in FIG. After recording, an error report is sent to the host computer, and the writing process is terminated.
[0046]
In this way, when a packet write error occurs, the data of the unwritten packet excluding the error packet in the buffer is recorded on the optical disc, and then an error report is sent to the host computer, so that the packet with the write error is recorded. It is possible to prevent the subsequent unwritten packet data from becoming invalid without being recorded on the optical disk.
[0047]
In addition, when performing retry processing of writing on the host computer side, the host computer does not perform useless processing of transferring again the data transferred by all the write requests made following the write request of the packet in which the write error has occurred. Therefore, data recording can be performed efficiently.
[0048]
Next, packet recording processing according to claims 2 and 7 of the present invention in this optical disk recording apparatus will be described.
Unlike the packet recording process described above, unwritten packets are not recorded when a write error is detected, but unwritten packets are recorded based on a write end request issued after an error report to the host computer. May be.
[0049]
In this packet recording process, when the controller 8 detects a packet write error, it outputs an error report to the outside, and when it receives a write end request issued from the outside after the output, it has already been stored in the buffer. It is determined whether or not there is an unwritten packet other than a packet in which a write error has occurred, and when it is determined that there is an unwritten packet, a control process of writing the unwritten packet to a predetermined area of the information recording medium is performed. Do.
[0050]
FIG. 6 is a flowchart showing packet recording processing according to claims 2 and 7 of the present invention in the optical disc recording apparatus shown in FIG.
When the controller 8 receives a packet write request from the host computer at step (indicated by “S” in FIG. 11), the controller 8 records the packet at step 12, and when it detects a write error during packet recording at step 13, In step 14, an error report is output to the host computer, and in step 15, the packet recording process is temporarily terminated.
[0051]
Then, when a packet recording end request is received from the host computer in step 16, whether or not there is an unrecorded packet (unwritten packet data) excluding a packet in which writing error has occurred in the buffer in step 17 is checked. to decide.
[0052]
If there is no unrecorded packet as determined in step 17, the packet recording process is terminated as it is. If there is an unrecorded packet, the process proceeds to step 18 to record the unrecorded packet in a predetermined area on the optical disk. Exit.
[0053]
In this way, when a packet write error occurs, an error report is sent to the host computer, and when a write end request is received from the host computer, the data of the unwritten packet excluding the error packet in the buffer is recorded on the optical disc. As a result, it is possible to prevent the data of the unwritten packet following the packet having the write error from becoming invalid without being recorded on the optical disc.
[0054]
In addition, when performing retry processing of writing on the host computer side, the host computer does not perform useless processing of transferring again the data transferred by all the write requests made following the write request of the packet in which the write error has occurred. Therefore, data recording can be performed efficiently.
[0055]
Next, packet recording processing according to claims 3 and 8 of the present invention in this optical disk recording apparatus will be described.
In the packet recording process described above, when a write error occurs, there may be data in the unwritten packet existing in the buffer only halfway through the packet. If such an incomplete packet is written on the optical disc as it is, an illegal optical disc is produced.
Therefore, in this packet recording process, the creation of an illegal optical disc is prevented.
[0056]
In this packet recording process, when the controller 8 detects a packet write error, the controller 8 determines whether there is an unwritten packet other than the packet that has been written error in the packets already stored in the buffer. When it is determined that there is a packet, it is determined whether or not data is stored to the end in the unwritten packet. When it is determined that data is stored to the end in the packet, the data is not stored. Write a write packet to a predetermined area of the information recording medium, and if it is determined that no data is stored until the end of the packet, write the packet to the outside without writing the packet to the predetermined area of the information recording medium. Is output. The information recording method characterized by the above-mentioned.
[0057]
FIG. 7 is a flowchart showing packet recording processing according to claims 3 and 8 of the present invention in the optical disk recording apparatus shown in FIG.
When the controller 8 receives a packet write request from the host computer at step (indicated by “S” in the figure) 21, the controller 8 records the packet at step 22, and when step 23 detects a write error during packet recording, In 24, the buffer is checked to determine whether or not there is an unrecorded packet (data of an unwritten packet) excluding a packet in which a write error has occurred in the buffer.
[0058]
If it is determined in step 24 that there is no unrecorded packet, the process proceeds to step 27 and an error report is output to the host computer as it is. If there is an unrecorded packet, the process proceeds to step 25 and data is stored up to the end of the unrecorded packet. It is judged whether it is done.
[0059]
If it is determined in step 25 that data has not been stored up to the end of the unrecorded packet, the unrecorded packet is not recorded on the optical disc, and the process returns to step 24 to repeat the above processing for the next unrecorded packet.
[0060]
If it is determined in step 25 that the data has been stored up to the end of the unrecorded packet, the process proceeds to step 26 to record the unrecorded packet in a predetermined area on the optical disk, and the process returns to step 24 to perform the above-described process. Repeating the above process for all unrecorded packets, an error report is output to the host computer in step 27, and the packet recording process is terminated.
[0061]
In this way, when a packet write error is detected, unrecorded packets in which data has been sent only halfway are not written to the optical disc, so that an illegal optical disc can be prevented from being produced.
[0062]
Next, packet recording processing according to claims 4 and 9 of the present invention in this optical disk recording apparatus will be described.
Slightly different from the packet recording process described above, incomplete packets in which data is stored only halfway may be filled with dummy data and recorded as complete packets.
[0063]
In this packet recording process, when the controller 8 detects a packet write error, the controller 8 determines whether there is an unwritten packet other than the packet that has been written in the packets already stored in the buffer. When it is determined that there is data stored to the end in the unwritten packet, it is determined that data has been stored to the end in the packet. When a packet is written to a predetermined area of the information recording medium and it is determined that no data is stored until the end of the packet, dummy data is filled in the remaining area of the packet and then the predetermined area of the information recording medium is filled. Write control processing.
[0064]
FIG. 8 is a flowchart showing packet recording processing according to claims 4 and 9 of the present invention in the optical disk recording apparatus shown in FIG.
When the controller 8 receives a packet write request from the host computer at step (indicated by “S” in the figure) 31, it records the packet at step 32, and when step 33 detects a write error during packet recording, In 34, the buffer is checked to determine whether or not there is an unrecorded packet (data of an unwritten packet) except the packet in which a write error has occurred in the buffer.
[0065]
If it is determined in step 34 that there is no unrecorded packet, the process proceeds to step 38 and an error report is output to the host computer as it is. If there is an unrecorded packet, the process proceeds to step 35 and data is stored up to the end of the unrecorded packet. It is judged whether it is done.
[0066]
If it is determined in step 35 that data has been stored up to the end of the unrecorded packet, the process proceeds to step 37 to record the unrecorded packet in a predetermined area on the optical disc, and the process returns to step 34 to return to the next unrecorded packet. The above processing is repeated for the packet.
[0067]
If it is determined in step 35 that the data has not been stored up to the end of the unrecorded packet, the process proceeds to step 36, where the remaining area in the unrecorded packet is filled with dummy data, and the process proceeds to step 37, where the unrecorded packet is stored. Recording is performed in a predetermined area on the optical disk, and the process returns to the process of step 34 to repeat the above process for the next unrecorded packet.
[0068]
In this way, when the above-described processing is completed for all unrecorded packets and there are no unrecorded packets as determined in step 34, the process proceeds to step 38 to output an error report to the host computer, and this packet recording process is terminated.
[0069]
In this way, when a packet write error is detected, an unrecorded packet in which data has been sent only halfway is written on the optical disk by filling the remaining area of the unrecorded packet with dummy data. Can prevent you from making.
[0070]
Next, packet recording processing according to claims 5 and 10 of the present invention in this optical disk recording apparatus will be described.
Slightly different from the packet recording process described above, in the case of an incomplete packet in which data is stored only halfway, the remaining data is received from the host computer, and the remaining area is filled with that data to form a complete packet. Recording may be performed.
[0071]
In this packet recording process, when the controller 8 detects a packet write error, the controller 8 determines whether there is an unwritten packet other than the packet that has been written in the packets already stored in the buffer. When it is determined that there is data stored to the end in the unwritten packet, it is determined that data has been stored to the end in the packet. When a packet is written in a predetermined area of the information recording medium and it is determined that no data has been stored until the end of the packet, the remaining data is received from outside and filled in the remaining area of the packet before recording the information. Control processing for writing in a predetermined area of the medium is performed.
[0072]
FIG. 9 is a flowchart showing packet recording processing according to claims 5 and 10 of the present invention in the optical disk recording apparatus shown in FIG.
When the controller 8 receives a packet write request from the host computer in step (indicated by “S” in the figure) 41, the controller 8 records the packet in step 42, and when step 43 detects a write error during packet recording, In 44, the buffer is checked to determine whether or not there is an unrecorded packet (data of an unwritten packet) excluding a packet in which a write error has occurred in the buffer.
[0073]
If it is determined in step 44 that there is no unrecorded packet, the process proceeds to step 48 and an error report is output to the host computer as it is. If there is an unrecorded packet, the process proceeds to step 45 and data is stored until the end of the unrecorded packet. It is judged whether it is done.
[0074]
If it is determined in step 45 that data has been stored up to the end of the unrecorded packet, the process proceeds to step 47, where the unrecorded packet is recorded in a predetermined area on the optical disc, and the process returns to step 44 to return to the next unrecorded packet. The above processing is repeated for the packet.
[0075]
If it is determined in step 45 that the data has not been stored up to the end of the unrecorded packet, the process proceeds to step 46 to receive the remaining data of the unrecorded packet from the host computer, and in step 47 the remaining data in the unrecorded packet is received. The area is filled and the unrecorded packet is recorded in a predetermined area on the optical disc, and the process returns to step 44 to repeat the above process for the next unrecorded packet.
[0076]
Thus, when the above-described processing is completed for all unrecorded packets and there are no unrecorded packets as determined in step 44, the process proceeds to step 48 to output an error report to the host computer, and this packet recording process is terminated.
[0077]
In this way, when a packet write error is detected, an unrecorded packet in which data has been sent only halfway is received from the host computer, and after filling the remaining area of the unrecorded packet, the optical disc Therefore, it is possible to prevent making an illegal optical disc.
[0078]
【The invention's effect】
As described above, according to the information recording apparatus and the information recording method of the present invention, when a write error occurs when data is written by the packet write method, the data of the unwritten packet stored up to that time is stored. It is possible to prevent invalidation, and it is possible to reduce the processing load of the host computer at the time of data recording because it is not necessary to perform the retry process of storing the unwritten packets again and writing them.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an optical disc recording apparatus which is an embodiment of an information recording apparatus of the present invention.
2 is a diagram showing a format of a re-recordable compact disc medium as an example of the optical disc 11 shown in FIG. 1. FIG.
3 is a diagram showing a format example of a packet which is a recording unit of the re-recordable compact disc medium shown in FIG. 2. FIG.
4 is a flowchart showing packet recording processing according to claims 1 and 6 of the present invention in the optical disc recording apparatus shown in FIG. 1; FIG.
5 is an explanatory diagram showing a relationship between the buffer 9 and data on the optical disc 11 during the packet recording process shown in FIG. 4;
6 is a flowchart showing packet recording processing according to claims 2 and 7 of the present invention in the optical disc recording apparatus shown in FIG. 1; FIG.
FIG. 7 is a flowchart showing packet recording processing according to claims 3 and 8 of the present invention in the optical disc recording apparatus shown in FIG. 1;
FIG. 8 is a flowchart showing packet recording processing according to claims 4 and 9 of the present invention in the optical disc recording apparatus shown in FIG. 1;
FIG. 9 is a flowchart showing packet recording processing according to claims 5 and 10 of the present invention in the optical disc recording apparatus shown in FIG. 1;
[Explanation of symbols]
1: Motor 2: Coarse motor
3: Optical pickup 4: Rotation control system
5: Coarse motor control system 6: Pickup control system
7: Signal processing system 8: Controller
9: Buffer 10: External interface
21: PCA 22: PMA
23: Lead-in area
24: Track 25: Lead-out area
26: Pre-gap 27: User data
31, 41, 42: packet
32: Link block 33: Run-in block
34: User data 35: Run-out block
43: Unrecorded packet

Claims (10)

外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、該手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、該手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段とを備えた情報記録装置において、
前記パケットの書き込みエラーを検出したとき、前記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、
該手段によって未書き込みパケットが有ると判断されたとき、その未書き込みパケットを前記情報記録媒体の所定領域に書き込む未書込パケット書込手段と、該手段によって書き込んだ後に外部へエラー報告を出力する書込エラー報告出力手段とを設けたことを特徴とする情報記録装置。
A packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a plurality of packets stored in the means are continuously formed by forming a track on an information recording medium capable of recording data In an information recording apparatus comprising: a packet writing means for automatically writing; and a writing control means for starting writing of the next packet following the end of writing of one packet when writing by the means;
An unwritten packet presence / absence determining means for determining whether or not there is an unwritten packet other than a packet having a write error in the packet storage means when detecting a write error of the packet;
When it is determined by the means that there is an unwritten packet, an unwritten packet writing means for writing the unwritten packet to a predetermined area of the information recording medium, and an error report is output to the outside after writing by the means An information recording apparatus comprising a writing error report output means.
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、該手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、該手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段とを備えた情報記録装置において、
前記パケットの書き込みエラーを検出したとき、外部へエラー報告を出力するエラー報告出力手段と、
該手段によってエラー報告を出力した後に外部から発行された書き込み終了要求を受けたとき、前記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、
該手段によって未書き込みパケットが有ると判断されたとき、その未書き込みパケットを前記情報記録媒体の所定領域に書き込む未書込パケット書込手段とを設けたことを特徴とする情報記録装置。
A packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a plurality of packets stored in the means are continuously formed by forming a track on an information recording medium capable of recording data In an information recording apparatus comprising: a packet writing means for automatically writing; and a writing control means for starting writing of the next packet following the end of writing of one packet when writing by the means;
An error report output means for outputting an error report to the outside when the packet write error is detected;
Whether or not there is an unwritten packet in the packet storage means to determine whether or not there is an unwritten packet except for a packet that has failed to be written when an externally issued write end request is received after outputting an error report by the means Judgment means,
An information recording apparatus comprising: an unwritten packet writing means for writing an unwritten packet to a predetermined area of the information recording medium when it is determined by the means that there is an unwritten packet.
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、該手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、該手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段とを備えた情報記録装置において、
前記パケットの書き込みエラーを検出したとき、前記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、
該手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する手段と、
該手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケットを前記情報記録媒体の所定領域に書き込まないで外部へ書き込みエラー報告を出力する未書込パケット書込及び書込エラー報告出力手段とを設けたことを特徴とする情報記録装置。
A packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a plurality of packets stored in the means are continuously formed by forming a track on an information recording medium capable of recording data In an information recording apparatus comprising: a packet writing means for automatically writing; and a writing control means for starting writing of the next packet following the end of writing of one packet when writing by the means;
An unwritten packet presence / absence determining means for determining whether or not there is an unwritten packet other than a packet having a write error in the packet storage means when detecting a write error of the packet;
Means for determining whether data is stored to the end in the unwritten packet when it is determined by the means that there is an unwritten packet;
When it is determined by the means that data has been stored to the end of the packet, the unwritten packet is written to a predetermined area of the information recording medium, and it is determined that no data has been stored to the end of the packet. And an unwritten packet writing and writing error report output means for outputting a write error report to the outside without writing the packet in a predetermined area of the information recording medium. .
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、該手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、該手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段とを備えた情報記録装置において、
前記パケットの書き込みエラーを検出したとき、前記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、
該手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する手段と、
該手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケット内の残りの領域にダミーデータを埋めてから前記情報記録媒体の所定領域に書き込む未書込パケット書込手段とを設けたことを特徴とする情報記録装置。
A packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a plurality of packets stored in the means are continuously formed by forming a track on an information recording medium capable of recording data In an information recording apparatus comprising: a packet writing means for automatically writing; and a writing control means for starting writing of the next packet following the end of writing of one packet when writing by the means;
An unwritten packet presence / absence determining means for determining whether or not there is an unwritten packet other than a packet having a write error in the packet storage means when detecting a write error of the packet;
Means for determining whether data is stored to the end in the unwritten packet when it is determined by the means that there is an unwritten packet;
When it is determined by the means that data has been stored to the end of the packet, the unwritten packet is written to a predetermined area of the information recording medium, and it is determined that no data has been stored to the end of the packet. And an unwritten packet writing means for filling the remaining area in the packet with dummy data and then writing to the predetermined area of the information recording medium.
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納するパケット格納手段と、該手段に格納された複数個のパケットをデータ記録可能な情報記録媒体にトラックを形成して連続的に書き込むパケット書込手段と、該手段による書き込みのときに1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させる書込制御手段とを備えた情報記録装置において、
前記パケットの書き込みエラーを検出したとき、前記パケット格納手段内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断する未書込パケット有無判断手段と、
該手段によって未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断する手段と、
該手段によってパケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、外部から残りのデータを受け取ってそのパケット内の残りの領域に埋めてから前記情報記録媒体の所定領域に書き込む未書込パケット書込手段とを設けたことを特徴とする情報記録装置。
A packet storage means for dividing and storing data supplied from the outside into packets having a predetermined data length, and a plurality of packets stored in the means are continuously formed by forming a track on an information recording medium capable of recording data In an information recording apparatus comprising: a packet writing means for automatically writing; and a writing control means for starting writing of the next packet following the end of writing of one packet when writing by the means;
An unwritten packet presence / absence determining means for determining whether or not there is an unwritten packet other than a packet having a write error in the packet storage means when detecting a write error of the packet;
Means for determining whether data is stored to the end in the unwritten packet when it is determined by the means that there is an unwritten packet;
When it is determined by the means that data has been stored to the end of the packet, the unwritten packet is written to a predetermined area of the information recording medium, and it is determined that no data has been stored to the end of the packet. And an unwritten packet writing means for receiving the remaining data from the outside and filling it in the remaining area in the packet and writing it in a predetermined area of the information recording medium. .
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して前記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、
前記パケットの書き込みエラーを検出したとき、前記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、その書き込みの後に外部へエラー報告を出力することを特徴とする情報記録方法。
Data supplied from the outside is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are written at the end of writing one packet. In the information recording method of continuously writing while starting the writing of the next packet,
When a write error of the packet is detected, it is determined whether or not there is an unwritten packet other than a packet with a write error in the stored packet. When it is determined that there is an unwritten packet, the unwritten packet An information recording method comprising writing a packet to a predetermined area of the information recording medium and outputting an error report to the outside after the writing.
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して前記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、
前記パケットの書き込みエラーを検出したとき、外部へエラー報告を出力し、その出力後に外部から発行された書き込み終了要求を受けたとき、前記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みパケットを前記情報記録媒体の所定領域に書き込むことを特徴とする情報記録方法。
Data supplied from the outside is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are written at the end of writing one packet. In the information recording method of continuously writing while starting the writing of the next packet,
When a write error of the packet is detected, an error report is output to the outside. When a write end request issued from the outside is received after the output, an unwritten packet excluding the write error packet in the stored packet An information recording method characterized in that it is determined whether or not there is a packet, and when it is determined that there is an unwritten packet, the unwritten packet is written in a predetermined area of the information recording medium.
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して前記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、
前記パケットの書き込みエラーを検出したとき、前記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケットを前記情報記録媒体の所定領域に書き込まないで外部へ書き込みエラー報告を出力することを特徴とする情報記録方法。
Data supplied from the outside is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are written at the end of writing one packet. In the information recording method of continuously writing while starting the writing of the next packet,
When a write error of the packet is detected, it is determined whether or not there is an unwritten packet other than a packet with a write error in the stored packet. When it is determined that there is an unwritten packet, the unwritten packet Whether or not data is stored to the end of the packet, and when it is determined that data is stored to the end of the packet, the unwritten packet is written to a predetermined area of the information recording medium. When it is determined that no data is stored until the end of the packet, a write error report is output to the outside without writing the packet in a predetermined area of the information recording medium.
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して前記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、
前記パケットの書き込みエラーを検出したとき、前記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、そのパケット内の残りの領域にダミーデータを埋めてから前記情報記録媒体の所定領域に書き込むことを特徴とする情報記録方法。
Data supplied from the outside is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of recording data, and the plurality of stored packets are written at the end of writing one packet. In the information recording method of continuously writing while starting the writing of the next packet,
When a write error of the packet is detected, it is determined whether or not there is an unwritten packet other than a packet with a write error in the stored packet. When it is determined that there is an unwritten packet, the unwritten packet Whether or not data is stored to the end of the packet, and when it is determined that data is stored to the end of the packet, the unwritten packet is written to a predetermined area of the information recording medium. When it is determined that no data is stored until the end of the packet, dummy data is filled in the remaining area in the packet and then written in the predetermined area of the information recording medium .
外部から供給されるデータを所定のデータ長からなるパケットに分割して格納し、データ記録可能な情報記録媒体にトラックを形成して前記格納された複数個のパケットを1つのパケットの書き込み終了時に続けて次のパケットの書き込みを開始させながら連続的に書き込む情報記録方法において、前記パケットの書き込みエラーを検出したとき、前記格納されたパケットの内に書き込みエラーしたパケットを除く未書き込みパケットが有るか否かを判断し、未書き込みパケットが有ると判断されたとき、その未書き込みのパケット内には最後までデータが格納されているか否かを判断し、パケット内の最後までデータが格納されていると判断されたときには、その未書き込みパケットを前記情報記録媒体の所定領域に書き込み、パケット内の最後までデータが格納されていないと判断されたときは、外部から残りのデータを受け取ってそのパケット内の残りの領域に埋めてから前記情報記録媒体の所定領域に書き込むことを特徴とする情報記録方法。Data supplied from the outside is divided into packets having a predetermined data length and stored, a track is formed on an information recording medium capable of data recording, and the plurality of stored packets are written at the end of writing one packet. In the information recording method for continuously writing while starting the writing of the next packet in succession, when a write error of the packet is detected, there is an unwritten packet other than the packet in which the write error is included in the stored packet. When it is determined that there is an unwritten packet, it is determined whether data is stored to the end in the unwritten packet, and data is stored to the end in the packet. When it is determined that the unwritten packet is written in a predetermined area of the information recording medium, When it is determined that no data has been stored to the end, the remaining data is received from the outside, filled in the remaining area in the packet, and then written to a predetermined area of the information recording medium Method.
JP2000322534A 2000-10-23 2000-10-23 Information recording apparatus and information recording method Expired - Fee Related JP3924422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000322534A JP3924422B2 (en) 2000-10-23 2000-10-23 Information recording apparatus and information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000322534A JP3924422B2 (en) 2000-10-23 2000-10-23 Information recording apparatus and information recording method

Publications (2)

Publication Number Publication Date
JP2002133774A JP2002133774A (en) 2002-05-10
JP3924422B2 true JP3924422B2 (en) 2007-06-06

Family

ID=18800399

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000322534A Expired - Fee Related JP3924422B2 (en) 2000-10-23 2000-10-23 Information recording apparatus and information recording method

Country Status (1)

Country Link
JP (1) JP3924422B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060017801A (en) * 2003-05-20 2006-02-27 코닌클리케 필립스 일렉트로닉스 엔.브이. Handling unwritten areas on a storage medium
JP4792998B2 (en) * 2006-01-31 2011-10-12 パナソニック株式会社 File management method, apparatus, program, and medium

Also Published As

Publication number Publication date
JP2002133774A (en) 2002-05-10

Similar Documents

Publication Publication Date Title
USRE42584E1 (en) Optical disc recording and reproducing apparatus for performing a formatting process as a background process and a method for formatting an optical disc by a background process
JP5095895B2 (en) Method for immediately writing or reading a file on a disk-shaped recording medium
KR100261398B1 (en) Signal recording device and method therefor
US7619961B2 (en) Read-only recording medium and reproducing method thereof
JP3867038B2 (en) Information recording apparatus, information recording method, program, and recording medium
JP3580711B2 (en) Information recording / reproducing device
EP0873560A1 (en) Cd-rom recording
US20020024923A1 (en) Optical information recording medium
TWI257613B (en) Write-once-type recording medium, recording apparatus and method for the same, reproducing apparatus and method for the same, and computer-readable recording medium
WO2001006511A1 (en) Recording medium with write protected defect list
JPH10312650A (en) Optical disk recorder
JP3924422B2 (en) Information recording apparatus and information recording method
JP3825511B2 (en) Information recording / reproducing device
JPH10302397A (en) Optical disk recording device
JP3752108B2 (en) Optical disc recording / reproducing apparatus
JP3866824B2 (en) Optical disk recording device
JP4270163B2 (en) Recording / reproducing method and disk recording / reproducing apparatus
JP4015544B2 (en) Information processing device
JP3892729B2 (en) Program and recording medium
JP2000215446A (en) Information recording and reproducing device
JP3804959B2 (en) Information recording / reproducing device
JP4651603B2 (en) Information recording / reproducing device
JP3715567B2 (en) Information recording / reproducing device
JP2001160265A (en) Voice information recording and reproducing device
JPH11213391A (en) Information recording/reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070226

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

Free format text: PAYMENT UNTIL: 20110302

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120302

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130302

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140302

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees