JP5450502B2 - Data recording method and data recording apparatus - Google Patents

Data recording method and data recording apparatus Download PDF

Info

Publication number
JP5450502B2
JP5450502B2 JP2011100390A JP2011100390A JP5450502B2 JP 5450502 B2 JP5450502 B2 JP 5450502B2 JP 2011100390 A JP2011100390 A JP 2011100390A JP 2011100390 A JP2011100390 A JP 2011100390A JP 5450502 B2 JP5450502 B2 JP 5450502B2
Authority
JP
Japan
Prior art keywords
recording
address
physical address
logical address
area
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.)
Active
Application number
JP2011100390A
Other languages
Japanese (ja)
Other versions
JP2011170968A (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.)
Hitachi Consumer Electronics Co Ltd
Original Assignee
Hitachi Consumer Electronics 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 Hitachi Consumer Electronics Co Ltd filed Critical Hitachi Consumer Electronics Co Ltd
Priority to JP2011100390A priority Critical patent/JP5450502B2/en
Publication of JP2011170968A publication Critical patent/JP2011170968A/en
Application granted granted Critical
Publication of JP5450502B2 publication Critical patent/JP5450502B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は記録媒体にデジタルデータを記録するための記録技術に関するものである。   The present invention relates to a recording technique for recording digital data on a recording medium.

記録媒体にデジタルデータを記録、再生する装置の一例として、国際標準規格である非特許文献1などに規定されたDVD−RAMの記録再生装置が挙げられる。   As an example of an apparatus for recording and reproducing digital data on a recording medium, there is a DVD-RAM recording / reproducing apparatus defined in Non-Patent Document 1, which is an international standard.

ディスクが挿入されたり、電源が投入されたりすると、まず、記録再生装置は、リードイン及びリードアウトに配置される欠陥管理情報エリア(DMA)など記録内容を検査して、DVD−RAMが物理フォーマット済みであるかどうか調べる。物理フォーマットされていない場合には、上位装置やユーザなどから物理フォーマットの指示があるまで待機する。   When a disc is inserted or the power is turned on, the recording / reproducing apparatus first checks the recorded contents such as a defect management information area (DMA) arranged in the lead-in and lead-out, and the DVD-RAM is physically formatted. Check whether it has been completed. If it is not physically formatted, it waits until a physical format instruction is received from a host device or a user.

DVD−RAMが物理フォーマット済み場合、記録再生装置は、較正処理や論理整合性検証などの記録準備処理を行った後、ユーザや上位装置からの指示待ち状態となる。記録再生装置は何らかの“命令”を受け取ると、その種類を調べ、それが記録命令である場合には、ユーザデータの記録処理を行い、再生、フォーマット、ディスク取出しなどの命令の場合はそれぞれ対応した処理を行う。通常これらの処理は正常に終了するが、極稀に予期できない理由で処理が通常通りに終了できない場合がある。例えば、光ディスクがユーザエリア内に欠陥を含み、ユーザデータの記録に失敗した場合には、リトライ処理や交替処理などのエラー処理を行う。   When the DVD-RAM has been physically formatted, the recording / reproducing apparatus waits for instructions from the user or the host apparatus after performing recording preparation processing such as calibration processing and logical consistency verification. When the recording / playback device receives some “command”, it checks the type, and if it is a recording command, it records the user data, and if it is a command for playback, formatting, ejecting a disk, etc. Process. Normally, these processes end normally, but there are cases where the process cannot be completed normally for an unexpected reason. For example, when the optical disk includes a defect in the user area and user data recording fails, error processing such as retry processing or replacement processing is performed.

通常DVD−RAMの記録再生装置では、ユーザデータの記録処理の際、記録後に正常に記録できたかどうかを実際に再生して確認し、必要に応じてユーザエリアの替わりにスペアエリアにユーザデータを配置する交替処理を行うことで光ディスクの信頼性を高めている。一般にリードアウト隣に配置されるスペアエリアはリードアウト側からリードイン側の方向に向かい、連続的に使用される。これは光ディスク使用中に発生する欠陥の数に応じて、スペアエリアのサイズを拡大縮小可能とするためである。   In a normal DVD-RAM recording / reproducing apparatus, during the user data recording process, it is actually reproduced to confirm whether or not the data has been normally recorded after recording, and if necessary, user data is stored in the spare area instead of the user area. The reliability of the optical disc is increased by performing the replacement process. Generally, a spare area arranged next to the lead-out is used continuously from the lead-out side to the lead-in side. This is because the size of the spare area can be enlarged / reduced in accordance with the number of defects generated while using the optical disc.

この交替処理の結果を示すユーザエリアとスペアエリアのアドレスの対応情報は、DMAに欠陥リスト(DL)として記録するようにECMA−272では規格化されている。   The correspondence information between the user area and the spare area address indicating the result of the replacement process is standardized in ECMA-272 so as to be recorded in the DMA as a defect list (DL).

また特許文献1に追記型記録ディスクの記録データ完全消去方法及びそれを実現するための装置に関する記載がある。   Patent Document 1 describes a method for completely erasing recorded data on a write-once recording disk and an apparatus for realizing the method.

特開2002−245635号公報(〔0038〕〜〔0043〕、図4)JP 2002-245635 A ([0038] to [0043], FIG. 4)

「Standard ECMA-272: 120mm DVD Rewritable Disc (DVD-RAM)」ECMA 1999年(第43−55頁)"Standard ECMA-272: 120mm DVD Rewritable Disc (DVD-RAM)" ECMA 1999 (pp. 43-55)

図5は記録型光ディスクで一般的に行われている交替処理(Linear Replacement method)による欠陥管理を概略的に説明するためのディスクの図であり、光ディスクは目的に応じて各エリアに論理分割されていることを示す図である。   FIG. 5 is a diagram of a disk for schematically explaining defect management by a replacement process (Linear Replacement method) generally performed on a recordable optical disk. The optical disk is logically divided into areas according to purposes. FIG.

簡易的に光ディスクはリードイン、データエリア、リードアウトに論理分割されているものとし、更にデータエリアは目的に応じてユーザエリアと単数又は複数のスペアエリアに論理分割される。リードイン内の欠陥管理情報エリア(DMA)には、論理分割された各エリアの開始アドレス等の論理構造に関する情報が含まれるDDS(Disc Definition Structure)、またユーザエリアとスペアエリアのアドレスの対応を示す複数のDL(Defect List)からなるDLテーブルが記録される。ただし本文では説明を簡素化するためにスペアエリアはユーザエリア外周側に一つ配置されるとし、リードアウトからリードインの方向に連続的に使用され、アドレスポインタPによって次の交替位置が示されるとする。   For simplicity, the optical disk is logically divided into a lead-in area, a data area, and a lead-out area, and the data area is further logically divided into a user area and one or more spare areas according to the purpose. In the defect management information area (DMA) in the lead-in, DDS (Disc Definition Structure) containing information on the logical structure such as the start address of each logically divided area, and the correspondence between the addresses of the user area and the spare area A DL table composed of a plurality of DLs (Defect Lists) is recorded. However, in order to simplify the explanation in the text, it is assumed that one spare area is arranged on the outer periphery side of the user area, and is continuously used in the direction from the lead-out to the lead-in, and the next replacement position is indicated by the address pointer P. And

図6はDLテーブルを構成するDLを示す図である。   FIG. 6 is a diagram showing DLs that constitute the DL table.

各DLにはユーザエリアの欠陥アドレス、交替処理によって割り当てられたスペアエリア内の交替アドレスが含まれる。図中、黒く塗りつぶされた場所はスペアエリア内の使用済エリアを示す。ポインタPが示すアドレスMはスペアエリア内の次の交替位置を示すアドレスである。つまりこの状態でユーザエリアのアドレスNが欠陥と判断された場合、上位装置によりアドレスNに配置されたユーザデータはスペアエリアのアドレスMに記録される。DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータスから構成され、DLを重ね合わせてDLテーブルは構成される。従ってDLは交替処理の度にDLテーブルに追加されていくため、DLが追加されると原則的にDLテーブルは拡大する。   Each DL includes a defective address in the user area and a replacement address in the spare area assigned by the replacement process. In the figure, the blacked out area indicates a used area in the spare area. The address M indicated by the pointer P is an address indicating the next replacement position in the spare area. That is, in this state, when it is determined that the address N in the user area is defective, the user data arranged at the address N by the higher-level device is recorded in the address M in the spare area. In order to indicate this information, the DL is composed of “address N”, “address M” and a status indicating the relationship, and a DL table is formed by overlapping the DL. Accordingly, since the DL is added to the DL table every time the replacement process is performed, the DL table is expanded in principle when the DL is added.

図7は連続的に交替処理が発生した場合のDLを示す図である。   FIG. 7 is a diagram illustrating a DL when a replacement process occurs continuously.

ユーザエリアのアドレスNの記録エリアに欠陥があると判断された場合、アドレスNに記録されるべきユーザデータはポインタPが示すスペアエリアのアドレスMに記録される。従って次にポインタPはM−1を示し、ステータス、欠陥アドレス、交替アドレスに“置換”、“アドレスN”、“アドレスM”を含むDLがDLテーブルに登録される。続いてユーザエリアのアドレスN+1に欠陥があると判断された場合、その交替位置としてアドレスM−1が割り当てられる。更に続くアドレスN+2に欠陥があると判断されると、アドレスM−2が割り当てられる。しかしながら、スペアエリアのアドレスM−2が記録後すぐに欠陥であると判断された場合には、交替アドレスとしてM+2を含むDLはDLテーブルから削除され、アドレスN+2に記録されるべきユーザデータはスペアエリア内で次の交替位置のアドレスM−3に記録される。この結果得られるDLテーブルは図表のようになる。   If it is determined that there is a defect in the recording area at address N in the user area, user data to be recorded at address N is recorded at address M in the spare area indicated by pointer P. Therefore, next, the pointer P indicates M−1, and a DL including “replacement”, “address N”, and “address M” in the status, defect address, and replacement address is registered in the DL table. Subsequently, when it is determined that the address N + 1 in the user area is defective, the address M-1 is assigned as the replacement position. If it is determined that the subsequent address N + 2 is defective, the address M-2 is assigned. However, if it is determined that the spare area address M-2 is defective immediately after recording, the DL including M + 2 as the replacement address is deleted from the DL table, and the user data to be recorded at the address N + 2 is spare. It is recorded at address M-3 of the next replacement position in the area. The resulting DL table is as shown in the chart.

近年、追記型光ディスクにこの欠陥管理方式を導入し、論理的にデータの上書きを可能にする機能を利用した追記型光ディスクの記録方式の提案が行われている。しかしながらこの記録方式を実現する具体的な光ディスク装置の動作を示す文献はない。   In recent years, this defect management method has been introduced into a write-once optical disc, and a write-once optical disc recording method has been proposed that uses a function that enables logical overwriting of data. However, there is no literature showing the operation of a specific optical disc apparatus that realizes this recording method.

また特許文献1記載の追記型光ディスクのデータ消去方法は対象となる記録済み領域に対して記録時の記録パワー、又は記録時より高い記録パワーでレーザービームを照射して上書きを行い、記録データを消去するものであり、上位装置が消去した論理アドレスが再度使用可能となるといった効果についての記載はない。   The data erasing method of the write once optical disc described in Patent Document 1 is performed by overwriting the target recorded area by irradiating a laser beam with a recording power at the time of recording or a recording power higher than that at the time of recording. There is no description about the effect that the logical address erased by the host device can be used again.

本発明の目的は、従来の追記型光ディスクの機能を維持しつつ、追記型光ディスクに書き換え型光ディスク同様の使用環境を与えることにある。   An object of the present invention is to provide a write-once optical disk with a use environment similar to a rewritable optical disk while maintaining the function of a conventional write-once optical disk.

本発明の目的は、一例として特許請求の範囲に記載の発明により達成される。


The object of the present invention is achieved by the invention described in the claims as an example .


本発明は、物理的なデータ改ざん不可能と言った従来の追記型光ディスクの機能を維持しつつ、追記型光ディスクにデータの上書きやデータの消去と言った書き換え型光ディスク同様の使用環境を与えることにある。   The present invention provides a use environment similar to a rewritable optical disk such as overwriting or erasing data on a write-once optical disk while maintaining the function of a conventional write-once optical disk that physical data cannot be tampered with. It is in.

交替に関するフラグ及びアドレス情報を有するECCブロック情報の構成を示した説明図である。It is explanatory drawing which showed the structure of the ECC block information which has the flag and address information regarding replacement. データフレームの構成を示した説明図である。It is explanatory drawing which showed the structure of the data frame. ECCブロックの構成を示した説明図である。It is explanatory drawing which showed the structure of the ECC block. 光ディスク記録再生装置の構成を示した説明図である。It is explanatory drawing which showed the structure of the optical disk recording / reproducing apparatus. 欠陥管理機能を有する光ディスクを示した説明図である。It is explanatory drawing which showed the optical disk which has a defect management function. 交替処理とDLを示した説明図である。It is explanatory drawing which showed replacement processing and DL. 連続欠陥のDLを示した説明図である。It is explanatory drawing which showed DL of the continuous defect. 上書き処理とDLを示した説明図である。It is explanatory drawing which showed the overwrite process and DL. 上書き処理とDLを示した説明図である。It is explanatory drawing which showed the overwrite process and DL. 欠陥管理機能を有する光ディスクを示した説明図である。It is explanatory drawing which showed the optical disk which has a defect management function. ECCブロック情報を有するデータフレームの構成を示した説明図である。It is explanatory drawing which showed the structure of the data frame which has ECC block information. 交替に関するアドレス情報を有するECCブロック情報の構成を示した説明図である。It is explanatory drawing which showed the structure of the ECC block information which has the address information regarding replacement. 光ディスクのアドレス空間を説明図である。It is explanatory drawing about the address space of an optical disk. 上書き取り消し処理とDLを示した説明図である。It is explanatory drawing which showed the overwrite cancellation process and DL. 上書き処理中における欠陥の取り扱いとDLを示した説明図である。It is explanatory drawing which showed handling of the defect in overwriting process, and DL. 上書き処理、上書き取り消し処理とDLを示した説明図である。It is explanatory drawing which showed overwrite processing, overwrite cancellation processing, and DL. 上書き取り消しの取り消し処理とDLを示した説明図である。It is explanatory drawing which showed cancellation processing and DL of overwrite cancellation. 交替に関するフラグ及びアドレス情報を有するECCブロック情報の構成を示した説明図である。It is explanatory drawing which showed the structure of the ECC block information which has the flag and address information regarding replacement. 物理アドレス変更取り消し処理用管理情報の構成を示した説明図である。It is explanatory drawing which showed the structure of the management information for a physical address change cancellation process. 再生命令又は記録命令に対する動作を示すのフロチャートである。It is a flowchart which shows the operation | movement with respect to a reproduction | regeneration command or a recording command. ECCブロック情報の交替に関するフラグ及びアドレス値を決定するフロチャートである。It is a flowchart which determines the flag and address value regarding replacement of ECC block information. 交替に関するフラグ及びアドレス情報を用いた上書き取り消し処理を示すのフロチャートである。It is a flowchart which shows the overwrite cancellation process using the flag and address information regarding replacement. 交替に関するアドレス情報を用いた上書き取り消し処理を示すのフロチャートである。It is a flowchart which shows the overwrite cancellation process using the address information regarding replacement. 交替に関するアドレス情報を用いた上書き取り消しの取り消し処理を示すのフロチャートである。It is a flowchart which shows the cancellation process of overwriting cancellation using the address information regarding replacement.

発明を実施するための形態の1つとして追記型光ディスク記録装置が挙げられる。   One of the modes for carrying out the invention is a write-once type optical disk recording apparatus.

追記型光ディすく記録装置の構成は光ディスク、レーザダイオード及び光検出器を搭載する光ヘッド、記録のための符号化処理と再生のための復号化処理を行う記録再生信号処理回路、各ブロックの動作管理を行う制御マイコン、サーボ回路、RAMを含む上位装置とのインターフェース回路、上位装置と接続される入出力端子から構成される。   The write-once optical disc recording device is composed of an optical head equipped with an optical disk, a laser diode, and a photodetector, a recording / reproduction signal processing circuit that performs encoding processing for recording and decoding processing for reproduction, It consists of a control microcomputer that performs operation management, a servo circuit, an interface circuit with a host device including RAM, and an input / output terminal connected to the host device.

以下、本発明の実施の具体的な形態について図を用いて説明する。   Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.

先ず始めに本発明の説明で用いるデータのフォーマット及び記録再生装置の基本構造について図2から図4を用いて説明する。   First, the data format used in the description of the present invention and the basic structure of the recording / reproducing apparatus will be described with reference to FIGS.

図4に光ディスク記録再生装置の構成を示す。   FIG. 4 shows the configuration of the optical disc recording / reproducing apparatus.

図4中、401は光ディスク、402はレーザダイオード及び光検出器を搭載する光ヘッド、403は記録のための符号化処理と再生のための復号化処理を行う記録再生信号処理回路、404は各ブロックの動作管理を行う制御マイコン、405はサーボ回路、406はRAMを含む上位装置とのインターフェース回路、407は入出力端子である。   In FIG. 4, 401 is an optical disk, 402 is an optical head on which a laser diode and a photodetector are mounted, 403 is a recording / reproduction signal processing circuit that performs encoding processing for recording and decoding processing for reproduction, and 404 is each A control microcomputer that performs block operation management, 405 is a servo circuit, 406 is an interface circuit with a host device including a RAM, and 407 is an input / output terminal.

再生時、光ディスク401に記録されているデータは、光ヘッド402から読み出され、記録再生信号処理回路403内で復号化処理が行われる。この復号化処理には、復調処理、誤り訂正処理、デ・スクランブル処理が含まれる。復号化処理が行われた後に得られたメインデータはインターフェース回路406内のRAMに蓄えられた後、入出力端子 407を介して外部のパソコンやMPEGボード等の上位装置(図示せず)などへ出力される。制御マイコン404は、上位装置などからの指令を受け、サーボ回路405を用いて光ディスク401の回転制御、光ヘッド403のフォーカス、トラッキング制御を行いながら指定された光ディスク401のデータの位置へのアクセスを行い、装置全体の再生制御する。   At the time of reproduction, data recorded on the optical disc 401 is read from the optical head 402 and decoded in the recording / reproduction signal processing circuit 403. This decoding processing includes demodulation processing, error correction processing, and descrambling processing. The main data obtained after the decoding process is stored in the RAM in the interface circuit 406, and then sent to an external device (not shown) such as an external personal computer or an MPEG board via the input / output terminal 407. Is output. The control microcomputer 404 receives a command from a host device or the like, and uses the servo circuit 405 to access the data position of the designated optical disc 401 while performing rotation control of the optical disc 401, focus of the optical head 403, and tracking control. To control the reproduction of the entire apparatus.

記録時は、入出力端子407を介して、外部の上位装置などからメインデータが入力される。入力されたメインデータは、インターフェース回路 406内のRAMに蓄えられた後、記録再生信号処理回路403により、スクランブル処理、誤り訂正符号化処理、変調処理などの符号化処理が行われた後、光ヘッド 402を介して、光ディスク401へ書き込まれる。制御マイコン404は、上位装置などからの指令を受け、サーボ回路405を用いて指定された光ディスク401上の記録位置へのアクセスを行い、装置全体の記録制御を行う。   At the time of recording, main data is input from an external host device or the like via the input / output terminal 407. The input main data is stored in the RAM in the interface circuit 406, and after being subjected to encoding processing such as scramble processing, error correction encoding processing, modulation processing, etc. by the recording / reproducing signal processing circuit 403, Data is written to the optical disc 401 via the head 402. The control microcomputer 404 receives a command from the host device or the like, accesses the recording position on the optical disc 401 designated by using the servo circuit 405, and controls the recording of the entire device.

ここで取り扱われる記録時におけるデータの符号化過処理の詳細を図2及び図3を用いて説明する。   Details of the data over-encoding process during recording handled here will be described with reference to FIGS. 2 and 3. FIG.

図2にデータフレームの構成方法を示す。   FIG. 2 shows a data frame configuration method.

入出力端子407から入力される2048バイトからなる各メインデータには、データ識別のための4バイトのデータ識別コード(ID)と、IDの誤り検出符号である2バイトのIED、予備データエリアである6バイトのRSVが付加される。このデータ列の最後部には、データに含まれる誤りを検出する4バイトの誤り検出符号EDCが付加され、全部で2064バイトのデータフレームを構成する。各データユニットは、172バイト12行の形状で扱う。   Each main data consisting of 2048 bytes input from the input / output terminal 407 includes a 4-byte data identification code (ID) for data identification, a 2-byte IED which is an ID error detection code, and a spare data area. A certain 6-byte RSV is added. A 4-byte error detection code EDC for detecting an error included in the data is added to the last part of the data string, so that a data frame of 2064 bytes is formed in total. Each data unit is handled in the form of 172 bytes and 12 rows.

図3にECCブロックの構成方法を示す。   FIG. 3 shows an ECC block configuration method.

本説明ではこのECCブロックを記録再生の単位と仮定する。   In this description, this ECC block is assumed to be a recording / reproduction unit.

図2で示したように構成された172バイト12行のデータフレームは、スクランブル処理が施された後、16データフレーム単位でECCブロックを構成する。縦方向の各列には16バイトの外符号(PO)が付けられる。そのためECCブロックは、12行16データフレーム分の192行のデータに16行の外符号が付加され、208行となる。各行のデータに対して、10バイトの内符号(PI)を付加し、182バイトのデータとする。   The 172-byte 12-row data frame configured as shown in FIG. 2 is subjected to scrambling and then constitutes an ECC block in units of 16 data frames. A 16-byte outer code (PO) is attached to each column in the vertical direction. Therefore, the ECC block has 208 rows by adding 16 rows of outer codes to 192 rows of data for 12 rows and 16 data frames. A 10-byte inner code (PI) is added to the data in each row to obtain 182 bytes of data.

符号化処理時の記録再生信号処理回路403内ではこのように生成した182バイト208行のデータを生成した後、最後にデータに含まれる周波数成分を制限するための周波数変調が行われる。   In the recording / reproduction signal processing circuit 403 at the time of encoding processing, the data of 182 bytes and 208 rows generated in this way is generated, and finally frequency modulation for limiting the frequency component included in the data is performed.

従って、交替処理を行う記録再生装置では、ユーザデータの記録処理の際、データを記録した後、すぐにディスク上のデータを再生し、この再生データとRAMに残るメインデータとを比較、または誤り訂正処理を行いて再生データに含まれるエラー数を検出し、データが正常に記録できたか確認する。結果正常に記録できなかったと判断される場合には、同位置への記録を繰り返し行い、最終的にこの位置では正常に記録できない、つまりこの位置は欠陥であると判断された場合にはスペアエリアにインターフェース回路406内のRAMに残るユーザデータを記録する交替処理を行う。   Therefore, in the recording / reproducing apparatus that performs the alternation process, after the data is recorded, the data on the disk is immediately reproduced, and the reproduced data is compared with the main data remaining in the RAM, or an error occurs. Correction processing is performed to detect the number of errors included in the reproduced data, and it is confirmed whether the data has been recorded normally. As a result, if it is determined that recording could not be performed normally, recording at the same position is repeated, and eventually recording cannot be performed normally at this position, that is, if it is determined that this position is defective, the spare area A replacement process for recording user data remaining in the RAM in the interface circuit 406 is performed.

また光ディスク401が追記型光ディスクである場合には、上位装置から記録命令を受け取った際、記録命令に含まれるアドレスに対して再生信号を用いて未記録/記録済判定を記録前に行い、そのアドレスが未記録であった場合には記録を行うが、記録済であった場合には欠陥として取り扱い、スペアエリアへの交替処理を行う。   When the optical disc 401 is a write-once optical disc, when a recording command is received from the host device, an unrecorded / recorded determination is performed before recording using a reproduction signal for the address included in the recording command, If the address has not been recorded, recording is performed. If the address has been recorded, it is handled as a defect, and the spare area is replaced.

また光ディスクの記録済領域を管理する方法として、DLテーブルに登録されているアドレス、光ディスク上に記録されているセッション、トラック情報を用いる方法やスペースビットマップを用いる方法がある。これらの方法も本発明の未記録/記録済判定に利用することが可能である。   As a method for managing the recorded area of the optical disc, there are a method using an address registered in the DL table, a session recorded on the optical disc, track information, and a space bitmap. These methods can also be used for the unrecorded / recorded determination of the present invention.

これらの交替処理は記録再生の単位であるECCブロックで行われる。   These replacement processes are performed in ECC blocks that are units of recording and reproduction.

次にDVD−RAMの欠陥管理の説明に用いた図5、図6及び図7を基に本発明の具体的な手段について説明する。   Next, specific means of the present invention will be described based on FIGS. 5, 6 and 7 used for the description of defect management of DVD-RAM.

図1に本発明を実現する交替に関するフラグ及びアドレスを含むECCブロック情報の構成の一例を示す。   FIG. 1 shows an example of the configuration of ECC block information including a flag and an address relating to replacement for realizing the present invention.

図11はECCブロック情報を含むデータフレームの構成方法を示す。   FIG. 11 shows a method for constructing a data frame including ECC block information.

2048バイトからなる各メインデータには、データ識別のための4バイトのデータ識別コード(ID)と、IDの誤り検出符号である2バイトのIED、6バイトのECCブロック情報の一部が付加される。このデータ列の最後部には、データに含まれる誤りを検出する4バイトの誤り検出符号EDCが付加され、全部で2064バイトのデータフレームを構成する。   Each main data consisting of 2048 bytes includes a 4-byte data identification code (ID) for data identification, a 2-byte IED that is an ID error detection code, and a part of 6-byte ECC block information. The A 4-byte error detection code EDC for detecting an error included in the data is added to the last part of the data string, so that a data frame of 2064 bytes is formed in total.

このデータフレームは、172バイト12行の形状で扱われ、図3で示す従来同様のECCブロックの構成方法を示す。   This data frame is handled in the form of 172 bytes and 12 rows, and shows a configuration method of the ECC block similar to the conventional one shown in FIG.

そこでECCブロック情報は1ECCブロックを構成する16データフレーム内の6バイトのECCブロック情報を重ね合わせ、6バイト×16行の形式で構成されるデータブロックであり、6バイト×6行にデータを格納し、残る10行をパリティとすることでメインデータ以上の訂正能力を与える。これによりECCブロックで訂正不能が生じた多くの場合においても、ECCブロック情報は再生可能となる。本ECCブロック情報内の先頭1バイトにフラグ情報が格納され、4バイトに交替前のアドレス情報が格納される。フラグ情報は1ビットのオリジナルフラグ、1ビットのディフェクト交替フラグ、及び6ビットのリザーブビットから成る。オリジナルフラグはこのECCブロックに記録されたデータは上位装置からの記録命令に含まれる本論理アドレスに対するドライブによる初めての記録か否かを示し、ディフェクト交替フラグは交替処理時にこの交替はディフェクトが起因して行われるものか否かを示す。また4バイトの交替前のアドレスはこの論理アドレスに対応する交替処理前のECCブロックの先頭IDに対応する物理アドレスを示し、初回記録時、アドレス値として0が記録され、その後、この論理アドレスに対する交替処理が行われる度に直前までこの論理アドレスに対応する物理アドレスとして使用された値に更新される。従って、本アドレス値はこの論理アドレスに対応する物理アドレスの履歴を残すために用いられる。   Therefore, ECC block information is a data block composed of 6 bytes × 16 rows by superimposing 6-byte ECC block information in 16 data frames constituting one ECC block, and stores data in 6 bytes × 6 rows. Then, the remaining 10 rows are set as parity, thereby giving a correction capability higher than that of the main data. As a result, the ECC block information can be reproduced in many cases in which correction is impossible in the ECC block. Flag information is stored in the first 1 byte in the ECC block information, and address information before replacement is stored in 4 bytes. The flag information includes a 1-bit original flag, a 1-bit defect replacement flag, and a 6-bit reserved bit. The original flag indicates whether the data recorded in this ECC block is the first recording by the drive for this logical address included in the recording command from the host device, and the defect replacement flag indicates that this replacement is caused by a defect during the replacement process. Whether or not to be performed. The 4-byte address before replacement indicates the physical address corresponding to the head ID of the ECC block before replacement processing corresponding to this logical address, and 0 is recorded as the address value at the time of initial recording. Each time the replacement process is performed, the value is updated to the value used as the physical address corresponding to this logical address until just before. Therefore, this address value is used to leave a history of physical addresses corresponding to this logical address.

図8は追記型光ディスクで行われる交替処理による上書き処理を概略的に説明するためのディスクの図であり、合わせて上書き処理によるDLを示す図である。   FIG. 8 is a diagram of the disk for schematically explaining the overwrite process by the replacement process performed on the write-once optical disk, and also shows the DL by the overwrite process.

各DLにはユーザエリアの欠陥アドレス、交替処理によって割り当てられたスペアエリア内の交替アドレスが含まれる。ただし、本処理におけるユーザエリアにおける欠陥アドレスは上位装置の命令に含まれ、上書き処理される論理アドレスに対応したユーザエリア内の元来の物理アドレスと言い換えることができる。図中、黒く塗りつぶされた場所はスペアエリア内の使用済エリアを示す。アドレスM(実際にはECCブロックの先頭IDを示すが、交替処理における説明では1ECCブロック全体を示す。)はスペアエリア内の次の交替位置を示すアドレスである。つまりこの状態ですでに記録済であるユーザエリアのアドレスNにデータが記録される場合、上位装置によりアドレスNに記録されるユーザデータはスペアエリアのアドレスMに記録される。このときスペアエリア内に記録されたアドレスMのデータには図1で示したオリジナルフラグ(OF)、ディフェクト交替フラグ(DF)共に設定されず、つまり0の値となり、また記録命令に含まれた論理アドレスに直前まで対応していたアドレスNが交替前アドレス(PID)として含まれる。DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータス“交替”から新規に構成される。   Each DL includes a defective address in the user area and a replacement address in the spare area assigned by the replacement process. However, the defective address in the user area in this process is included in the instruction of the host device, and can be rephrased as the original physical address in the user area corresponding to the logical address to be overwritten. In the figure, the blacked out area indicates a used area in the spare area. Address M (actually indicates the head block ID of the ECC block, but in the description of the replacement process, indicates the entire ECC block) is an address indicating the next replacement position in the spare area. That is, when data is recorded at the address N of the user area that has already been recorded in this state, the user data recorded at the address N by the host device is recorded at the address M of the spare area. At this time, neither the original flag (OF) nor the defect replacement flag (DF) shown in FIG. 1 is set in the data of the address M recorded in the spare area, that is, it has a value of 0 and is included in the recording command. An address N corresponding to the logical address immediately before is included as a pre-change address (PID). The DL is newly composed of “address N”, “address M” and a status “alternate” indicating the relationship to indicate this information.

図9は追記型光ディスクで行われる交替処理による上書き処理を概略的に説明するためのディスクの図であり、合わせて上書き処理によるDLを示す図である。   FIG. 9 is a diagram of the disk for schematically explaining the overwrite process by the replacement process performed on the write-once type optical disk, and also shows the DL by the overwrite process.

図8が示す状態の後、再度ユーザエリアのアドレスNにデータが記録される場合、上位装置によりアドレスNに配置されたユーザデータはスペアエリアのアドレスLに記録される。このときスペアエリア内に記録されたアドレスLのデータには図1で示したオリジナルフラグ、ディフェクト交替フラグ共に設定されず、記録命令に含まれた論理アドレスに直前まで対応していたアドレスMが交替前アドレスとして含まれる。DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータス“交替”から、“アドレスN”、“アドレスL”とその関係を示すステータス“交替”の構成に修正される。   When data is recorded again at the address N in the user area after the state shown in FIG. 8, the user data arranged at the address N by the host device is recorded at the address L in the spare area. At this time, neither the original flag nor the defect replacement flag shown in FIG. 1 is set in the data of the address L recorded in the spare area, and the address M corresponding to the logical address included in the recording command is replaced. Included as previous address. In order to indicate this information, the DL is changed from “address N”, “address M” and status “alternate” indicating the relationship to “address N”, “address L” and status “alternate” indicating the relationship. Is done.

図10はスペアエリアを持たずに欠陥管理を行った場合のディスクの図である。   FIG. 10 is a diagram of a disk when defect management is performed without a spare area.

光ディスクはリードイン、ユーザエリア(データエリア)、リードアウトに論理分割されているものとする。リードイン内のDMAには、論理分割された各エリアの開始アドレス等の論理構造に関する情報が含まれるDDS、またデータエリア内の欠陥アドレスと交替アドレスのアドレスの対応を示す複数のDLからなるDLテーブルが記録される。図中にDLテーブルを構成するいくつかのDLを示す。各DLには欠陥アドレス、交替処理によって割り当てられた交替アドレスが含まれる。ユーザエリアのアドレスNが欠陥と判断された場合、上位装置によりアドレスNに配置されたユーザデータは実際にはアドレスMに記録される。DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータスから構成され、DLを重ね合わせてDLテーブルは構成される。また同様に“アドレスN+1”から“アドレスM+1”の交替処理が行われたことを示すDL、交替先として用いようとしたアドレスM+2が欠陥であったため“アドレスN+2”から“アドレスM+3”の交替処理が行われたことを示すDLもDLテーブルに含まれている。またこの場合においても交替アドレスとして割り当てられた“アドレスM”、“アドレスM+1”及び“アドレスM+2”のデータとして図1で示したフラグ情報、処理前まで割り当てられていたアドレスを加えることでこれから説明と同様の効果を得ることができる。   The optical disk is logically divided into lead-in, user area (data area), and lead-out. The DMA in the lead-in includes a DDS including information on the logical structure such as the start address of each logically divided area, and a DL composed of a plurality of DLs indicating correspondence between defective addresses and alternate addresses in the data area. A table is recorded. In the figure, several DLs constituting the DL table are shown. Each DL includes a defective address and a replacement address assigned by replacement processing. When it is determined that the address N of the user area is defective, the user data arranged at the address N by the host device is actually recorded at the address M. In order to indicate this information, the DL is composed of “address N”, “address M” and a status indicating the relationship, and a DL table is formed by overlapping the DL. Similarly, DL indicating that the replacement process from “address N + 1” to “address M + 1” has been performed, and the replacement process from “address N + 2” to “address M + 3” because the address M + 2 to be used as the replacement destination is defective. The DL indicating that has been performed is also included in the DL table. Also in this case, the description will be made by adding the flag information shown in FIG. 1 and the address assigned before the processing as data of “address M”, “address M + 1” and “address M + 2” assigned as alternate addresses. The same effect can be obtained.

つまり交替アドレスをスペアエリア内に配置することが本発明にとって重要であるわけではない。   In other words, it is not important for the present invention to arrange the replacement address in the spare area.

図13は目的に応じて各エリアに論理分割された光ディスクの物理アドレスと上位装置の各種命令に含まれる論理アドレスの関係を示す図である。   FIG. 13 is a diagram showing the relationship between the physical address of the optical disk logically divided into areas according to the purpose and the logical address included in various commands of the host device.

光ディスクはリードイン、データエリア、リードアウトに論理分割されているものとし、更にデータエリアは目的に応じてユーザエリアとスペアエリアに論理分割される。またリードイン、データエリアの開始物理アドレスはそれぞれA及びBであり、リードアウトの終了物理アドレスはCである。光ディスク上のユーザエリアにのみ論理アドレスは割り当てられ、DLに登録が無い場合には論理アドレスnに対し、物理アドレスB+nが対応付けられる。ただし、DLの欠陥アドレスとしてB+nが登録されていた場合には論理アドレスnには、そのDLに登録されたスペアエリア内の物理アドレスである交替アドレスが対応する。従ってユーザエリアの最終アドレスがB+aである場合には、論理アドレス空間として0からaが使用可能となる。   The optical disk is logically divided into lead-in, data area, and lead-out, and the data area is further logically divided into a user area and a spare area according to the purpose. The start physical addresses of the lead-in and data areas are A and B, respectively, and the end physical address of the lead-out is C. A logical address is assigned only to the user area on the optical disc. When there is no registration in the DL, the physical address B + n is associated with the logical address n. However, when B + n is registered as a defective address of a DL, a logical address n corresponds to an alternate address that is a physical address in a spare area registered in the DL. Therefore, when the final address of the user area is B + a, 0 to a can be used as the logical address space.

図12に本発明を実現する交替に関するアドレスを含むECCブロック情報の構成の一例を示す。   FIG. 12 shows an example of the configuration of ECC block information including addresses relating to replacement for realizing the present invention.

図11はECCブロック情報を含むデータフレームの構成方法を示す。   FIG. 11 shows a method for constructing a data frame including ECC block information.

図1同様、6バイト×16行の形式で構成されるデータブロックであり、6バイト×6行にデータを格納し、残る10行をパリティとするECCブロック情報には3種類の4バイトのアドレス情報が格納される。これらのアドレス情報は交替前アドレス、UNDOアドレス、そしてREDOアドレスである。交替前アドレスはこの論理アドレスに対応する交替処理前のECCブロックの先頭IDに対応する物理アドレスを示し、上位装置からの記録命令に命令に含まれる論理アドレスからDLを用いずに変換される本来の物理アドレスへの記録が行われる時には、アドレス値として0が記録され、その後、この論理アドレスに対する交替処理が行われる度に直前までこの論理アドレスに対応する物理アドレスとして使用された値に更新される。UNDOアドレスは上書き取り消し処理(UNDO処理)時に使用されるデータが記録されている物理アドレスを示し、上位装置からの記録命令に命令に含まれる論理アドレスへの初回記録時はアドレス値として上書き取り消し処理が不可能であることを示す0が使用され、その後、この論理アドレスにデータが記録、つまり上書きが行われる度に直前までこの論理アドレスに対応する物理アドレスとして使用された値に更新される。ただし欠陥検出による交替時には欠陥ECCブロックには有効データが含まれないため、欠陥ECCブロック内の同アドレスと同一の物理アドレスが使用される。REDOアドレスは”上書き取り消し”の取り消し処理(REDO処理)時に使用されるデータが記録されている物理アドレスを示し、上書き取り消し処理、または”上書き取り消し”の取り消し処理以外には”上書き取り消し”の取り消し処理が不可能であることを示す0が使用される。   As in FIG. 1, this is a data block configured in a format of 6 bytes × 16 rows, data is stored in 6 bytes × 6 rows, and ECC block information having the remaining 10 rows as parity has three types of 4-byte addresses. Information is stored. These address information are a pre-replacement address, an UNDO address, and a REDO address. The address before replacement indicates a physical address corresponding to the head ID of the ECC block before replacement processing corresponding to this logical address, and is originally converted from a logical address included in the instruction to the recording instruction from the higher-level device without using DL. When recording is performed on the physical address, 0 is recorded as the address value, and thereafter, every time replacement processing is performed on this logical address, the value is updated to the value used as the physical address corresponding to this logical address until just before. The The UNDO address indicates a physical address in which data used at the time of overwriting cancellation (UNDO processing) is recorded. Overwriting cancellation processing is performed as an address value at the time of initial recording to the logical address included in the instruction in the recording instruction from the host device. 0 is used to indicate that it is impossible, and thereafter, data is recorded at this logical address, that is, each time overwriting is performed, it is updated to the value used as the physical address corresponding to this logical address until just before. However, since valid data is not included in the defective ECC block at the time of replacement due to defect detection, the same physical address as the same address in the defective ECC block is used. The REDO address indicates the physical address where the data used during the “overwrite cancel” cancel process (REDO process) is recorded. 0 is used to indicate that processing is not possible.

従って、これら3種類のアドレス値はこの論理アドレスに対応する物理アドレスの履歴を残すために用いられる。   Therefore, these three types of address values are used to leave a history of physical addresses corresponding to this logical address.

図8は追記型光ディスクで行われる交替処理による上書き処理を概略的に説明するためのディスクの図であり、合わせて上書き処理によるDLを示す図である。   FIG. 8 is a diagram of the disk for schematically explaining the overwrite process by the replacement process performed on the write-once optical disk, and also shows the DL by the overwrite process.

各DLにはユーザエリアの欠陥アドレス、交替処理によって割り当てられたスペアエリア内の交替アドレスが含まれる。ただし、本処理におけるユーザエリアにおける欠陥アドレスは上位装置の命令に含まれ、上書き処理される論理アドレスに対応したユーザエリア内の元来の物理アドレスと言い換えることができる。図中、黒く塗りつぶされた場所はスペアエリア内の使用済エリアを示す。アドレスMはスペアエリア内の次の交替位置を示すアドレスである。つまりこの状態ですでに記録済であるユーザエリアのアドレスNにデータが記録される場合、上位装置によりアドレスNに記録されるユーザデータはスペアエリアのアドレスMに記録される。このときスペアエリア内に記録されたアドレスMのデータには図12で示した記録命令に含まれた論理アドレスに直前まで対応していたアドレスNが交替前アドレス(PID)として、UNDOアドレス(UID)には同じくアドレスN、REDOアドレス(RID)には0が含まれる。DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータス“交替”から新規に構成される。   Each DL includes a defective address in the user area and a replacement address in the spare area assigned by the replacement process. However, the defective address in the user area in this process is included in the instruction of the host device, and can be rephrased as the original physical address in the user area corresponding to the logical address to be overwritten. In the figure, the blacked out area indicates a used area in the spare area. The address M is an address indicating the next replacement position in the spare area. That is, when data is recorded at the address N of the user area that has already been recorded in this state, the user data recorded at the address N by the host device is recorded at the address M of the spare area. At this time, in the data of the address M recorded in the spare area, the address N corresponding to the logical address included in the recording command shown in FIG. 12 until immediately before is used as the pre-change address (PID) as the UNDO address (UID). ) Similarly includes address N, and REDO address (RID) includes 0. The DL is newly composed of “address N”, “address M” and a status “alternate” indicating the relationship to indicate this information.

図9は追記型光ディスクで行われる交替処理による上書き処理を概略的に説明するためのディスクの図であり、合わせて上書き処理によるDLを示す図である。   FIG. 9 is a diagram of the disk for schematically explaining the overwrite process by the replacement process performed on the write-once type optical disk, and also shows the DL by the overwrite process.

図8が示す状態の後、再度ユーザエリアのアドレスNにデータが記録される場合、上位装置によりアドレスNに配置されたユーザデータはスペアエリアのアドレスLに記録される。このときスペアエリア内に記録されたアドレスLのデータには図12で示した記録命令に含まれた論理アドレスに直前まで対応していたアドレスMが交替前アドレスとして、UNDOアドレスには同じくアドレスM、REDOアドレスには0が含まれる。DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータス“交替”から、“アドレスN”、“アドレスL”とその関係を示すステータス“交替”の構成に修正される。   When data is recorded again at the address N in the user area after the state shown in FIG. 8, the user data arranged at the address N by the host device is recorded at the address L in the spare area. At this time, the data of the address L recorded in the spare area has the address M corresponding to the logical address included in the recording command shown in FIG. , 0 is included in the REDO address. In order to indicate this information, the DL is changed from “address N”, “address M” and status “alternate” indicating the relationship to “address N”, “address L” and status “alternate” indicating the relationship. Is done.

ここで図12の3種類のアドレス情報の関係から図1のフラグに相当する情報が得られることを説明する。   Here, it will be described that information corresponding to the flag of FIG. 1 is obtained from the relationship between the three types of address information of FIG.

本ECCブロックに記録されたデータは上位装置からの記録命令に含まれる論理アドレスに対するドライブによる初めての記録か否か、を示すオリジナルフラグは、UNDOアドレスが0か否かと等価である。交替処理時にこの交替はディフェクトが起因して行われるものか否か、を示すディフェクト交替フラグは、UNDOアドレスが交替先アドレスと等価であるか否かと等価である。従って図12が示す3種類のアドレス情報から図1に含まれる全ての情報を得ることが可能であることが分かる。   The original flag indicating whether or not the data recorded in this ECC block is the first recording by the drive for the logical address included in the recording command from the host device is equivalent to whether or not the UNDO address is 0. The defect replacement flag indicating whether or not this replacement is caused by a defect during the replacement processing is equivalent to whether or not the UNDO address is equivalent to the replacement destination address. Therefore, it can be seen that all the information included in FIG. 1 can be obtained from the three types of address information shown in FIG.

次に図1または図12のECCブロック情報を含むデータを記録し、論理的に上書き処理を行うことが可能な追記型光ディスク記録方式で実現可能な上書き取り消し処理について説明する。   Next, an overwrite canceling process that can be realized by a write-once optical disc recording method that records data including the ECC block information shown in FIG. 1 or 12 and can logically perform the overwrite process will be described.

図14は追記型光ディスクで行われる上書き取り消し処理を概略的に説明するためのディスクの図であり、合わせて上書き取り消し処理によるDLを示す図である。   FIG. 14 is a diagram of a disk for schematically explaining the overwrite canceling process performed on the write-once optical disk, and also shows a DL by the overwrite canceling process.

図9が示す状態の後、ユーザエリアのアドレスNへの上書き処理を取り消す場合、スペアエリア内に記録されたアドレスLのデータに含まれるECCブロック情報内の交替に関するフラグやアドレス情報より検出される直前まで上書き取り消し命令に含まれたこの論理アドレスに対応した光ディスク上の物理アドレスMに再度アドレスを割り付け直す。   When canceling the overwrite processing to the address N in the user area after the state shown in FIG. 9, it is detected from the replacement flag or address information in the ECC block information included in the data of the address L recorded in the spare area. The address is reassigned to the physical address M on the optical disk corresponding to the logical address included in the overwrite cancel command until just before.

DLはこの情報を示すために“アドレスN”、“アドレスL”とその関係を示すステータス“交替”から、再び“アドレスN”、“アドレスM”とその関係を示すステータス“交替”の構成に修正される。また図8の状態の後、ユーザエリアのアドレスNへの上書き処理を取り消す場合、スペアエリア内に記録されたアドレスMのデータに含まれる直前まで命令に含まれたこの論理アドレスに対応した光ディスク上の物理アドレスNに再度アドレスを割り付け直すために、DLはこの情報を示すためにDLテーブルから削除される。   In order to indicate this information, DL changes from “address N”, “address L” and status “alternate” indicating the relationship to “address N”, “address M” and status “alternate” indicating the relationship. Will be corrected. In addition, after canceling the overwrite processing to the address N in the user area after the state of FIG. 8, on the optical disk corresponding to this logical address included in the instruction until immediately before being included in the data of the address M recorded in the spare area. DL is deleted from the DL table to indicate this information in order to reassign the physical address N to the physical address N again.

しかしながら図14が示す方法では上書き取り消し処理の後に“上書き取り消しの取り消し処理”を行う場合、つまり再度DLを元の “アドレスN”、“アドレスL”とその関係を示すステータス“交替”に復元するためにはアドレスM以降に使用されたスペアエリア内の記録済みの交替アドレスを再生し、データに含まれるECCブロック情報を用いてアドレスL探し出さなければならないといった手間がかかる。   However, in the method shown in FIG. 14, when “overwrite cancellation cancellation process” is performed after the overwrite cancellation process, that is, the DL is restored again to the original “address N”, “address L” and the status “alternate” indicating the relationship. For this purpose, it takes time and effort to reproduce the recorded alternate address in the spare area used after the address M and to search for the address L using the ECC block information included in the data.

そのため“上書き取り消しの取り消し処理”を効果的に行うために、図12が示すECCブロック情報を用いた上書き処理を行う。この上書き取り消しの取り消し処理を図15、図16及び図17を用いて説明する。   Therefore, in order to effectively perform the “overwrite cancellation cancellation process”, the overwrite process using the ECC block information shown in FIG. 12 is performed. This overwriting cancellation process will be described with reference to FIGS. 15, 16, and 17. FIG.

図15は追記型光ディスクで行われる交替処理による上書き処理時に欠陥が検出され、1度の上書き処理で2回の交替が発生した状況を概略的に説明するためのディスクの図であり、合わせて上書き処理によるDLを示す図である。   FIG. 15 is a diagram of a disk for schematically explaining a situation in which a defect is detected during an overwriting process by a replacement process performed on a write-once optical disc, and two replacements occur in one overwrite process. It is a figure which shows DL by an overwrite process.

各DLにはユーザエリアの欠陥アドレス、交替処理によって割り当てられたスペアエリア内の交替アドレスが含まれる。アドレスMはスペアエリア内の次の交替位置を示すアドレスであり、この状態ですでに記録済であるユーザエリアのアドレスNにデータが記録される場合、上位装置によりアドレスNに記録されるユーザデータはスペアエリアのアドレスMに記録される。このときスペアエリア内に記録されたアドレスMのデータには図12で示した記録命令に含まれた論理アドレスに直前まで対応していたアドレスNが交替前アドレス(PID)として、UNDOアドレス(UID)には同じくアドレスN、REDOアドレス(RID)には0が含まれており、DLはこの情報を示すために“アドレスN”、“アドレスM”とその関係を示すステータス“交替”から構成されている。しかし上書き処理のための交替記録が終了し、交替先のアドレスMに記録されたデータを再生してみると十分な再生性能を得ることができず、欠陥と判断できたため、アドレスLをスペアエリア内の次の交替位置とし記録を行う。このとき最終的にアドレスLのデータには欠陥による交替処理の直前まで本論理アドレスに対応していたアドレスMが交替前アドレスとして登録され、UNDOアドレスには欠陥アドレスに記録されたUNDOアドレスと同じアドレスN、REDOアドレスには0が含まれ、このDLはこの情報を示すために“アドレスN”、“アドレスL”とその関係を示すステータス“交替”の構成に修正される。   Each DL includes a defective address in the user area and a replacement address in the spare area assigned by the replacement process. The address M is an address indicating the next replacement position in the spare area. When data is recorded in the address N of the user area that has already been recorded in this state, the user data recorded in the address N by the host device Is recorded at address M in the spare area. At this time, in the data of the address M recorded in the spare area, the address N corresponding to the logical address included in the recording command shown in FIG. 12 until immediately before is used as the pre-change address (PID) as the UNDO address (UID). ) Also includes address N and REDO address (RID) 0, and DL is composed of “address N”, “address M” and status “alternate” indicating the relationship to indicate this information. ing. However, the replacement recording for the overwriting process is completed, and when the data recorded at the replacement destination address M is reproduced, sufficient reproduction performance cannot be obtained and it is determined that the defect is a defect. The next replacement position is recorded. At this time, the address M corresponding to this logical address until the time immediately before the replacement process due to the defect is finally registered as the address before replacement in the data of the address L, and the UNDO address is the same as the UNDO address recorded in the defective address. The address N and REDO address contain 0, and this DL is modified to have a status “alternate” indicating “address N”, “address L” and the relationship to indicate this information.

図16は追記型光ディスクで行われる上書き処理及び上書き取り消し処理を概略的に説明するためのディスクの図であり、合わせて上書き取り消し処理、続けて行われる上書き取り消し処理によるDLの変化を示す図である。   FIG. 16 is a diagram of the disk for schematically explaining the overwrite process and overwrite cancellation process performed on the write-once optical disk, and shows the change in DL due to the overwrite cancellation process and the subsequent overwrite cancellation process. is there.

図15が示す状態の後、再度ユーザエリアのアドレスNにデータが記録される場合、上位装置によりアドレスNに配置されたユーザデータはスペアエリアのアドレスKに記録される。このときスペアエリア内に記録されたアドレスKのデータにはたアドレスLが交替前アドレスとして登録され、UNDOアドレスにはPIDと同様のアドレスと同じアドレスL、REDOアドレスには0が含まれ、このDLはこの情報を示すために“アドレスN”、“アドレスK”とその関係を示すステータス“交替”の構成に修正される。その後、ユーザエリアのアドレスNのデータ記録の取り消し処理が行われる場合、アドレスKのECCブロック情報に含まれるUNDOアドレスに記録されたアドレスLのデータ(データB)を再度読み出し、そのデータのID、EDC、PI、PO等の付加情報を付け替えて再変調した後に光ディスクに記録される。このとき新規交替先のアドレスJのデータにはアドレスKが交替前アドレスとして登録され、UNDOアドレスにはアドレスLのECCブロック情報内のUIDと同じアドレスN、REDOアドレスには上書き処理取り消し処理が行われる直前まで本論理アドレスに対応付けられていたKが含まれ、結果的にDLはこの情報を示すために“アドレスN”、“アドレスJ”とその関係を示すステータス“交替”の構成に修正される。   When data is recorded again at the address N in the user area after the state shown in FIG. 15, the user data arranged at the address N by the higher-level device is recorded at the address K in the spare area. At this time, the address L is registered as the pre-replacement address in the data of the address K recorded in the spare area, the UNDO address includes the same address L as the address similar to the PID, and the REDO address includes 0. In order to indicate this information, the DL is modified to a configuration of “address N”, “address K” and a status “alternate” indicating the relationship. Thereafter, when the data recording cancellation process at the address N in the user area is performed, the data at the address L (data B) recorded at the UNDO address included in the ECC block information at the address K is read again, and the ID, After remodulating additional information such as EDC, PI, and PO, the information is recorded on the optical disc. At this time, the address K is registered as the pre-replacement address in the data of the new replacement destination address J, and the overwrite processing cancellation processing is performed for the UNDO address, the same address N as the UID in the ECC block information of the address L, and the REDO address. K was associated with this logical address until immediately before it was read. As a result, the DL was modified to have a status of “address N”, “address J” and status “alternate” indicating the relationship to indicate this information. Is done.

図17は追記型光ディスクで行われる“上書き取り消し”の取り消し処理を概略的に説明するためのディスクの図であり、合わせて上書き処理によるDLを示す図である。   FIG. 17 is a diagram of the disc for schematically explaining the “overwrite cancel” cancel process performed on the write-once optical disc, and also shows a DL by the overwrite process.

図16が示す状態の後、再度ユーザエリアのアドレスNの“データ記録の取り消し”の取り消し処理が行われる場合、アドレスJのECCブロック情報に含まれるREDOアドレスに記録されたアドレスKのデータ(データC)を再度読み出し、そのデータのID、EDC、PI、PO等の付加情報を付け替えて再変調した後に光ディスクに記録される。このとき新規交替先のアドレスIのECCブロック情報としてアドレスJが交替前アドレスとして登録され、UNDOアドレスには上書き処理取り消し処理が行われる直前まで本論理アドレスに対応付けられていたJが含まれ、REDOアドレスにはアドレスKのECCブロック情報内のUIDと同じ0、結果的にDLはこの情報を示すために“アドレスN”、“アドレスI”とその関係を示すステータス“交替”の構成に修正される。   After the state shown in FIG. 16, when the “data recording cancel” cancel process of the address N in the user area is performed again, the data (data) of the address K recorded in the REDO address included in the ECC block information of the address J C) is read again, the additional information such as ID, EDC, PI, PO, etc. of the data is replaced and remodulated, and then recorded on the optical disc. At this time, the address J is registered as the pre-replacement address as the ECC block information of the new replacement destination address I, and the UNDO address includes J that was associated with this logical address until immediately before the overwrite processing cancellation processing is performed. The redo address has the same 0 as the UID in the ECC block information at address K. As a result, the DL is modified to have a configuration of “address N”, “address I” and status “alternate” indicating the relationship to indicate this information. Is done.

上書き取り消し処理、“上書き取り消し”の取り消し処理及び欠陥による交替処理時に新たに記録されるデータに格納されるECCブロック情報内のUNDOアドレス及びREDOアドレスを決定する方法について図23と図24を用いて説明する。   A method of determining the UNDO address and the REDO address in the ECC block information stored in the newly recorded data during the overwrite cancel process, the “overwrite cancel” cancel process, and the replacement process due to a defect will be described with reference to FIGS. explain.

図23は上書き取り消し処理時に新たに記録されるデータに付加されるECCブロック情報内の各アドレス情報を決定するフロチャートである。   FIG. 23 is a flowchart for determining each address information in the ECC block information added to data newly recorded at the time of overwriting cancellation processing.

上書き取り消し処理を行う場合、以下のような規則に従い図12で示した3種のアドレス、つまり、この論理アドレスに対応する交替処理前のECCブロックの先頭IDに対応する物理アドレスを示す交替前アドレス、上書き取り消し処理(UNDO処理)時に使用されるデータが記録されている物理アドレスを示すUNDOアドレス、上書き取り消し”の取り消し処理(REDO処理)時に使用されるデータが記録されている物理アドレスを示すREDOアドレスは決定する。   When performing the overwrite cancellation process, the pre-replacement address indicating the three types of addresses shown in FIG. 12 according to the following rules, that is, the physical address corresponding to the head ID of the ECC block before the replacement process corresponding to this logical address. , UNDO address indicating the physical address in which data used in the overwrite cancellation process (UNDO process) is recorded, REDO indicating the physical address in which data used in the cancellation process (REDO process) of “Overwrite cancellation” is recorded The address is determined.

上位装置からの上書き取り消し命令に含まれる論理アドレスに対応する最新の物理アドレス(X)を所定の演算やDLから導出し、求められた物理アドレスに記録されたデータの再生が行われる。この再生データから復調されたECCブロック内のECCブロック情報からUNDOアドレスを読み出し、このUNDOアドレスに対応する物理アドレス(Y)に記録されたデータ再生が行われる。再生データを復調して得られたECCブロックのECCブロック情報を保存した状態で、・「交替前アドレス」として上書き取り消し命令に含まれる論理アドレスから所定の演算やDLから導出された物理アドレス(X)・「REDOアドレス」として交替前アドレスと同じ物理アドレス(X)・「UNDOアドレス」として物理アドレス(X)のUNDOアドレスに対応する物理アドレス(Y)のECCブロック情報のUNDOアドレスを設定する。   The latest physical address (X) corresponding to the logical address included in the overwrite cancellation command from the host device is derived from a predetermined calculation or DL, and the data recorded at the obtained physical address is reproduced. The UNDO address is read from the ECC block information in the ECC block demodulated from the reproduction data, and the data recorded at the physical address (Y) corresponding to the UNDO address is reproduced. In a state where the ECC block information of the ECC block obtained by demodulating the reproduction data is stored, a physical address derived from a predetermined operation or DL from a logical address included in the overwrite cancel instruction as “address before replacement” (X )-The same physical address (X) as the address before replacement as "REDO address"-The UNDO address of the ECC block information of the physical address (Y) corresponding to the UNDO address of the physical address (X) is set as "UNDO address".

このように設定されたECCブロック情報を物理アドレス(Y)に記録されていたECCブロックの新たなECCブロック情報とし、再度変調処理した変調データが光ディスク上に新たな記録位置として割り当てられた物理アドレス(Z)に記録される。   The ECC block information set in this way is used as new ECC block information of the ECC block recorded at the physical address (Y), and the modulated data that has been subjected to the modulation process again is assigned as a new recording position on the optical disk. Recorded in (Z).

ただしこの上書き処理内で新規に記録されたデータが結果的に欠陥として検出された場合には・「交替前アドレス」として新たに割り当てられた物理アドレス(Y)をECCブロック情報の新たな交替前アドレスとして置換し、再度記録位置として割り当てられた物理アドレスに記録される。   However, when newly recorded data is detected as a defect as a result in this overwriting process, the newly assigned physical address (Y) as the “address before replacement” is used before the new replacement of the ECC block information. It is replaced with an address and recorded again at a physical address assigned as a recording position.

図24は“上書き取り消し”の取り消し処理時に新たに記録されるデータに付加されるECCブロック情報内の各アドレス情報を決定するフロチャートである。   FIG. 24 is a flowchart for determining each address information in the ECC block information added to the data newly recorded at the time of the “overwrite cancel” cancel process.

“上書き取り消し”の取り消し処理を行う場合、以下のような規則に従い図12で示した3種のアドレスは決定する。   When the “overwrite cancel” cancel process is performed, the three types of addresses shown in FIG. 12 are determined according to the following rules.

上位装置からの“上書き取り消し”の取り消し命令に含まれる論理アドレスに対応する最新の物理アドレス(X)を所定の演算やDLから導出し、求められた物理アドレスに記録されたデータの再生が行われる。この再生データから復調されたECCブロック内のECCブロック情報からREDOアドレスを読み出し、このREDOアドレスに対応する物理アドレス(Y)に記録されたデータ再生が行われる。再生データを復調して得られたECCブロックのECCブロック情報を保存した状態で、・「交替前アドレス」として上書き取り消し命令に含まれる論理アドレスから所定の演算やDLから導出された物理アドレス(X)・「REDOアドレス」として物理アドレス(X)のREDOアドレスに対応する物理アドレス(Y)のECCブロック情報のREDOアドレス・「UNDOアドレス」として交替前アドレスと同じ物理アドレス(X)を設定する。   The latest physical address (X) corresponding to the logical address included in the “overwrite cancel” cancel command from the host device is derived from a predetermined operation or DL, and the data recorded at the obtained physical address is reproduced. Is called. The REDO address is read from the ECC block information in the ECC block demodulated from the reproduction data, and the data recorded at the physical address (Y) corresponding to the REDO address is reproduced. In a state where the ECC block information of the ECC block obtained by demodulating the reproduction data is stored, a physical address derived from a predetermined operation or DL from a logical address included in the overwrite cancel instruction as “address before replacement” (X ) • The REDO address of the ECC block information of the physical address (Y) corresponding to the REDO address of the physical address (X) is set as the “REDO address”. The same physical address (X) as the pre-replacement address is set as the “UNDO address”.

このように設定されたECCブロック情報を物理アドレス(Y)に記録されていたECCブロックの新たなECCブロック情報とし、再度変調処理した変調データが光ディスク上に新たな記録位置として割り当てられた物理アドレス(Z)に記録される。   The ECC block information set in this way is used as new ECC block information of the ECC block recorded at the physical address (Y), and the modulated data that has been subjected to the modulation process again is assigned as a new recording position on the optical disk. Recorded in (Z).

ただしこの上書き処理内で新規に記録されたデータが結果的に欠陥として検出された場合には・「交替前アドレス」として新たに割り当てられた物理アドレス(Y)をECCブロック情報の新たな交替前アドレスとして置換し、再度記録位置として割り当てられた物理アドレスに記録される。   However, when newly recorded data is detected as a defect as a result in this overwriting process, the newly assigned physical address (Y) as the “address before replacement” is used before the new replacement of the ECC block information. It is replaced with an address and recorded again at a physical address assigned as a recording position.

従って、UNDOアドレス、REDOアドレスの内、UNDO処理時に特異アドレスとして必要となるアドレス情報はUNDOアドレスのみであり、REDO処理時に特異アドレスとして必要となるアドレス情報はREDOアドレスのみであることが解る。   Therefore, it can be understood that, among the UNDO address and the REDO address, the address information required as a unique address during UNDO processing is only the UNDO address, and the address information required as the unique address during REDO processing is only the REDO address.

ただし各処理を行っている間に発生する欠陥による交替処理により交替前アドレスとUNDOアドレス、REDOアドレスの全てが異なることになるが、上書き取り消し処理、“上書き取り消し”の取り消し処理中にUNDOアドレスやREDOアドレスを辿って再生された欠陥ECCブロックはスキップする、つまり欠陥による交替アドレスに記録されたECCブロックのメインデータと、このECCブロック情報の交替前アドレスから求められる欠陥ECCブロック内のECCブロック情報を組み合わせて使用することで図12が示す構成を図18が示すECCブロック情報のように簡素化することが可能になる。   However, the pre-replacement address, the UNDO address, and the REDO address are all different due to the replacement process due to a defect that occurs during each process. However, the UNDO address or The defective ECC block reproduced by following the REDO address is skipped. That is, the ECC block information in the defective ECC block obtained from the main data of the ECC block recorded at the replacement address due to the defect and the pre-replacement address of the ECC block information. By using these in combination, the configuration shown in FIG. 12 can be simplified like the ECC block information shown in FIG.

図18のECCブロック情報内に1バイトのフラグ情報、4バイトの交替前のアドレス情報、そして4バイトのUNDOまたはREDOアドレス情報が格納される。フラグ情報は1ビットのオリジナルフラグ、1ビットのディフェクト交替フラグ、1ビットのUNDOフラグ、及び5ビットのリザーブビットから成る。オリジナルフラグはこのECCブロックに記録されたデータは上位装置からの記録命令に含まれる本論理アドレスに対するドライブによる初めての記録か否かを示し、ディフェクト交替フラグは交替処理時にこの交替はディフェクトが起因して行われるものか否かを示し、UNDOフラグは交替処理時にこの交替はUNDOが起因して行われるものか否かを示す。また4バイトの交替前のアドレスはこの論理アドレスに対応する交替処理前のECCブロックの先頭IDに対応する物理アドレスを示し、初回記録時、アドレス値として0が記録され、その後、この論理アドレスに対する交替処理が行われる度に直前までこの論理アドレスに対応する物理アドレスとして使用された値に更新される。UNDOまたはREDOアドレスはUNDOフラグと組み合わせて使用され、アドレスとして0以外が設定され、且つUNDOフラグが設定されている場合、図12におけるUNDOアドレスとなり、上書き取り消し処理(UNDO処理)時に使用されるデータが記録されている物理アドレスを示し、アドレスとして0以外が設定され、且つUNDOフラグが設定されていない場合、図12におけるREDOアドレスとなり、上書き取り消し処理(REDO処理)時に使用されるデータが記録されている物理アドレスを示す。   In the ECC block information of FIG. 18, 1-byte flag information, 4-byte address information before replacement, and 4-byte UNDO or REDO address information are stored. The flag information includes a 1-bit original flag, a 1-bit defect replacement flag, a 1-bit UNDO flag, and a 5-bit reserve bit. The original flag indicates whether the data recorded in this ECC block is the first recording by the drive for this logical address included in the recording command from the host device, and the defect replacement flag indicates that this replacement is caused by a defect during the replacement process. The UNDO flag indicates whether the replacement is performed due to UNDO during the replacement process. The 4-byte address before replacement indicates the physical address corresponding to the head ID of the ECC block before replacement processing corresponding to this logical address, and 0 is recorded as the address value at the time of initial recording. Each time the replacement process is performed, the value is updated to the value used as the physical address corresponding to this logical address until just before. The UNDO or REDO address is used in combination with the UNDO flag, and when the address other than 0 is set and the UNDO flag is set, it becomes the UNDO address in FIG. 12 and is used during the overwrite cancellation process (UNDO process). Indicates a recorded physical address, and if the address is set to a value other than 0 and the UNDO flag is not set, the REDO address in FIG. 12 is obtained, and data used in the overwrite cancellation process (REDO process) is recorded. Physical address.

従って図18が示す数ビットのフラグ情報及び2種類のアドレス情報から図12同様の上書き取り消し処理、及び“上書き取り消し”の取り消し処理処理が実現可能になることが分かる。   Therefore, it can be understood that the overwrite cancel processing similar to FIG. 12 and the “overwrite cancel” cancel processing can be realized from the several bits of flag information and two types of address information shown in FIG.

次に図12、18を用いて説明した論理上書きが可能な追記型光ディスクにおける上書き取り消し処理、及び“上書き取り消し”の取り消し処理に必要な情報の一部をECCブロック情報以外に記録することが可能であることを図19を用いて説明する。   Next, it is possible to record a part of the information necessary for the overwrite cancel processing in the write-once optical disc capable of logical overwriting and the “overwrite cancel” cancel processing described with reference to FIGS. 12 and 18 in addition to the ECC block information. This will be described with reference to FIG.

図19は物理アドレス変更取り消し処理用管理情報(UL)の構成を示した説明図である。   FIG. 19 is an explanatory diagram showing the configuration of the management information (UL) for physical address change cancellation processing.

この物理アドレス変更取り消し処理用管理情報はDDS、DL同様にリードイン等の光ディスクの管理エリアに記録される。また物理アドレス変更取り消し処理用管理情報は複数のリストを重ね合わせて構成され、各リストはオペレーション情報、対象アドレス情報、補足アドレス情報から構成される。これらの情報と図18で説明した情報とを対応付けると、オペレーション情報はUNDOフラグに対応し、補足アドレス情報は“UNDOまたはREDOアドレス”に対応する。対象アドレス情報は、ECCブロックの物理アドレス情報、つまりECCブロックの先頭IDを意味する。   This physical address change cancellation processing management information is recorded in the management area of the optical disc such as lead-in as in the case of DDS and DL. Further, the management information for physical address change cancellation processing is configured by superimposing a plurality of lists, and each list is configured by operation information, target address information, and supplemental address information. When these pieces of information are associated with the information described with reference to FIG. 18, the operation information corresponds to the UNDO flag, and the supplemental address information corresponds to “UNDO or REDO address”. The target address information means physical address information of the ECC block, that is, the head ID of the ECC block.

従って図12、18の説明より本物理アドレス変更取り消し処理用管理情報と図1で示したECCブロック情報の技術を組み合わせることで上書き取り消し処理、及び“上書き取り消し”の取り消し処理が可能になることがわかるため、ECCブロック情報に十分なリザーブ領域が無い場合に有効である。ただし物理アドレス変更取り消し処理用管理情報を構成するリスト数に制限が必要なため、リスト数が制限数に達したときには古い順にリストを自動削除するなどといった対策処理は必要となる。   Accordingly, from the description of FIGS. 12 and 18, it is possible to perform overwrite cancellation processing and “overwrite cancellation” cancellation processing by combining the management information for physical address change cancellation processing and the technology of the ECC block information shown in FIG. 1. As can be seen, this is effective when there is no sufficient reserved area in the ECC block information. However, since the number of lists constituting the management information for physical address change cancellation processing needs to be limited, it is necessary to take countermeasures such as automatically deleting the list from the oldest when the number of lists reaches the limit.

最後に上記に示した論理上書きを実現する追記型光ディスク記録方式に対する“上書き取り消し”及び“上書き取り消しの取り消し”を実現する光ディスク記録装置構成とその動作について説明する。   Finally, the configuration and operation of an optical disk recording apparatus that realizes “overwrite cancellation” and “cancel overwrite cancellation” with respect to the write-once optical disk recording system that realizes the logical overwriting described above will be described.

光ディスク記録装置の構成は図4に示した光ディスク記録再生装置の構成同様である。   The configuration of the optical disc recording apparatus is the same as that of the optical disc recording / reproducing apparatus shown in FIG.

図4中、401は光ディスク、402はレーザダイオード及び光検出器を搭載する光ヘッド、403は記録のための符号化処理と再生のための復号化処理を行う記録再生信号処理回路、404は各ブロックの動作管理を行う制御マイコン、405はサーボ回路、406はRAMを含む上位装置とのインターフェース回路、407は入出力端子である。   In FIG. 4, 401 is an optical disk, 402 is an optical head on which a laser diode and a photodetector are mounted, 403 is a recording / reproduction signal processing circuit that performs encoding processing for recording and decoding processing for reproduction, and 404 is each A control microcomputer that performs block operation management, 405 is a servo circuit, 406 is an interface circuit with a host device including a RAM, and 407 is an input / output terminal.

記録時、入出力端子407を介して、外部の上位装置などからドライブ動作を指示する命令及び必要に応じてメインデータ等が入力される。従来同様に通常のドライブ動作で記録命令が入力された場合、制御マイコン405は記録命令に含まれる論理アドレスに対応する物理アドレスをDDSに記録された各エリアのアドレス情報とDLを用いて求めだし、その物理アドレス領域は記録済か未記録かの判断を行う。その物理アドレスがすでに記録済であった場合にはDLテーブルを修正して新たな物理アドレスの割り当てを行った後、上位装置にデータ転送の指示が送られ、上位装置から転送されるメインデータは制御マイコン405の指示に応じて、インターフェース回路406内のRAMに蓄えられる。それと同時に制御マイコン405は求められた物理アドレスへのシーク処理をサーボ回路405を用いて行い、記録再生信号処理回路403により、スクランブル処理、誤り訂正符号化処理、変調処理などの符号化処理が行われた後、光ヘッド402を介して、光ディスク401上の対象となる新たに割り当てられた物理アドレス領域へ書き込み処理を行う。その物理アドレスが未記録であった場合には、同様に上位装置にデータ転送の指示が送られ、上位装置から転送されるメインデータは制御マイコン405の指示に応じて、インターフェース回路406内のRAMに蓄えられる。それと同時に制御マイコン405は求められた物理アドレスへのシーク処理をサーボ回路 405を用いて行い、記録再生信号処理回路403により、スクランブル処理、誤り訂正符号化処理、変調処理などの符号化処理が行われた後、光ヘッド402を介して、光ディスク401上の対象となる物理アドレス領域へ書き込み処理を行う。   At the time of recording, a command for instructing a drive operation and, if necessary, main data and the like are input from an external host device via the input / output terminal 407. When a recording command is input in a normal drive operation as in the past, the control microcomputer 405 obtains a physical address corresponding to the logical address included in the recording command using the address information and DL of each area recorded in the DDS. Whether the physical address area is recorded or not is determined. If the physical address has already been recorded, after modifying the DL table and assigning a new physical address, a data transfer instruction is sent to the host device, and the main data transferred from the host device is The data is stored in the RAM in the interface circuit 406 in accordance with an instruction from the control microcomputer 405. At the same time, the control microcomputer 405 uses the servo circuit 405 to perform seek processing to the obtained physical address, and the recording / reproduction signal processing circuit 403 performs coding processing such as scramble processing, error correction coding processing, and modulation processing. After that, a write process is performed on a newly assigned physical address area on the optical disc 401 via the optical head 402. If the physical address has not been recorded, a data transfer instruction is similarly sent to the host device, and the main data transferred from the host device is stored in the RAM in the interface circuit 406 in accordance with the instruction from the control microcomputer 405. Stored in At the same time, the control microcomputer 405 performs seek processing to the obtained physical address using the servo circuit 405, and the recording / playback signal processing circuit 403 performs coding processing such as scramble processing, error correction coding processing, modulation processing, and the like. After that, writing processing is performed on the target physical address area on the optical disc 401 via the optical head 402.

このように光ディスク上の所定の物理アドレス領域に記録されたデータの品質を確認するために、制御マイコン405は新規に記録された物理アドレスへのシーク処理をサーボ回路405を用いて行い、光ヘッド402を介して記録再生信号処理回路403において復調処理、誤り訂正処理を行い、検出された再生データ内の誤りの頻度に応じて記録が正常に行えたか否かの判断を行う。制御マイコン405が、記録が正常に行われた、つまり記録領域に欠陥の影響が見られなかったと判断した場合には記録が正常に終了したことをインターフェース回路406を介して上位装置に伝え、記録が正常に行われなかった、つまり記録領域が欠陥と判断できる場合にはスペアエリア内に新たに記録領域を設定して同様の書き込み処理を行う。   In order to confirm the quality of the data recorded in the predetermined physical address area on the optical disk in this way, the control microcomputer 405 performs a seek process to the newly recorded physical address using the servo circuit 405, and the optical head The recording / playback signal processing circuit 403 performs demodulation processing and error correction processing via the block 402, and determines whether or not recording has been performed normally according to the frequency of errors in the detected playback data. When the control microcomputer 405 determines that the recording is normally performed, that is, the influence of the defect is not observed in the recording area, the control microcomputer 405 notifies the upper apparatus via the interface circuit 406 that the recording has been normally completed, and the recording is performed. Is not normally performed, that is, when the recording area can be determined to be defective, a new recording area is set in the spare area and the same writing process is performed.

図20のフロチャートはこの記録装置の一連の記録・再生動作のアルゴリズムを示す。   The flowchart in FIG. 20 shows an algorithm of a series of recording / reproducing operations of this recording apparatus.

また図21のフロチャートは記録処理時に行われる各種フラグ情報及びアドレス情報の作成アルゴリズムを示す。このアルゴリズムは図20の記録処理内で行われるものである。上位装置からの記録命令に含まれる論理アドレスに対応する物理アドレスが未記録の場合、オリジナルフラグを設定し、他の情報は未設定のままECCブロック情報は作成される。記録済の場合、上書き処理による記録が行われ、交替前アドレスに論理アドレスにこの記録命令を受け付ける前まで対応していた物理アドレスを設定し、交替なしの状態で論理アドレスに対応する物理アドレスがDMA内のDLのリストの欠陥アドレスとして登録されていない場合、記録命令に含まれる論理アドレスへの最初の記録と判断できるため、オリジナルフラグを設定する。次に本交替理由が欠陥によるものであればディフェクトフラグを設定し、“上書き取り消し”や“上書き取り消しの取り消し”によるものであれば図23や図24で示す方法でREDOアドレスを設定する。最後にそれぞれの状況に応じて適切なUNDOアドレスを設定し、ECCブロック情報は作成される。   Further, the flowchart of FIG. 21 shows various flag information and address information creation algorithms performed during the recording process. This algorithm is performed in the recording process of FIG. When the physical address corresponding to the logical address included in the recording command from the host device is not recorded, the original flag is set and the ECC block information is created while the other information is not set. If it has already been recorded, recording is performed by overwriting, and the physical address corresponding to the logical address before accepting this recording command is set as the logical address before replacement, and the physical address corresponding to the logical address without replacement is If it is not registered as a defective address in the DL list in the DMA, it can be determined that the recording is the first recording to the logical address included in the recording command, so the original flag is set. Next, if the reason for this replacement is due to a defect, a defect flag is set, and if it is due to “overwrite cancel” or “cancel overwrite cancel”, the REDO address is set by the method shown in FIGS. Finally, an appropriate UNDO address is set according to each situation, and ECC block information is created.

これらの各種判断は通常光ディスク記録装置内の制御マイコン405で行われる。   These various determinations are usually made by the control microcomputer 405 in the optical disk recording apparatus.

また光ディスク401上に記録された情報を用いて行われる上位装置からの各種命令に対する制御は制御マイコン405にて適切に判断され同様に行われる。   Also, the control for various commands from the host device performed using the information recorded on the optical disc 401 is appropriately determined by the control microcomputer 405 and performed in the same manner.

図22は図14を用いて説明を行った上書き取り消し処理における光ディスク記録装置の動作を示すフロチャートである。上位装置から上書き取り消し命令が入力された場合、制御マイコン405は上書き取り消し命令に含まれる論理アドレスに対応する物理アドレスをDDSに記録された各エリアのアドレス情報とDLを用いて求めだし、求められた物理アドレスへのシーク処理をサーボ回路405を用いて行い、所定の物理アドレスから光ヘッド402を介して読み出された再生信号は記録再生信号処理回路403において復調処理、誤り訂正処理を行い、インターフェース内のRAM406へと取り込まれる。この復調されたECCブロックからECCブロック管理情報内のディフェクトフラグの値が設定されていない場合には交替前アドレスを新たな物理アドレスに再割り当てするDLテーブルの修正を行う。またECCブロック管理情報内のディフェクトフラグの値が設定されている場合には交替前アドレスを次の再生物理アドレスとし同様の処理を繰り返す。   FIG. 22 is a flowchart showing the operation of the optical disk recording apparatus in the overwrite canceling process described with reference to FIG. When an overwrite cancel command is input from the host device, the control microcomputer 405 obtains a physical address corresponding to the logical address included in the overwrite cancel command using the address information and DL of each area recorded in the DDS. The seek signal to the physical address is performed using the servo circuit 405, and the reproduction signal read from the predetermined physical address via the optical head 402 is subjected to demodulation processing and error correction processing in the recording / reproduction signal processing circuit 403, The data is taken into the RAM 406 in the interface. When the value of the defect flag in the ECC block management information is not set from the demodulated ECC block, the DL table for reassigning the pre-replacement address to a new physical address is corrected. If the value of the defect flag in the ECC block management information is set, the same process is repeated with the address before replacement as the next reproduction physical address.

以上、上書き処理可能な追記型光ディスクの“上書き取り消し処理”及び“上書き取り消しの取り消し処理”を行うための方法、及びそれを実現するための記録装置について説明したが本文の内容は一例として記載しており、同様の効果を得られるデータ構成、情報の組み合わせについて全て触れることは不可能であるが本質的に同じ効果が得られるものは本発明の範囲に含まれる。   The method for performing “overwrite cancellation processing” and “overwrite cancellation cancellation processing” of a write-once optical disc that can be overwritten, and the recording apparatus for realizing it have been described above, but the content of the text is described as an example. However, it is impossible to touch on all the data structures and information combinations that can obtain the same effect, but those that can obtain the same effect are included in the scope of the present invention.

401 光ディスク、402 光ヘッド、403 記録再生信号処理回路、404 制御マイコン、405 サーボ回路、406 インターフェース回路、407 入出力端子。   401 optical disk, 402 optical head, 403 recording / reproducing signal processing circuit, 404 control microcomputer, 405 servo circuit, 406 interface circuit, 407 input / output terminal.

Claims (4)

リードインエリアとリードアウトエリアとユーザエリアを有する追記型光ディスクの記録方法であって、
追記型光ディスクのユーザエリア内の物理アドレスに対応する第1の論理アドレスを含む第1の記録命令に対し、第1の論理アドレスに対応するユーザエリア内の第1の物理アドレスが示す記録領域が記録済みで、かつ、前記第1の物理アドレスに交替先が割り当てられていない場合、前記第1の論理アドレスに対応する未記録の記録領域を示すユーザエリア内の第2の物理アドレスを交替先として新たに割り当て、前記第2の物理アドレスが示す記録領域に記録処理を実行し、
前記第1の記録命令による記録の後に行われる第1の論理アドレスを含む第2の記録命令に対し、前記第1の論理アドレスに未記録の記録領域を示すユーザエリア内の第3の物理アドレスを交替先として新たに割り当て、前記第3の物理アドレスが示す記録領域に記録処理を実行し、
前記交替先として割り当てられた第2の物理アドレスが示す記録領域に記録されるデータは、前記第1の論理アドレスに対する最初の交替記録であることを示す情報と、前記第1の記録命令による記録の直前に前記第1の論理アドレスに対応している第1の物理アドレス情報とを含み、
前記交替先として割り当てられた第3の物理アドレスが示す記録領域に記録されるデータは、前記第1の論理アドレスに対する最初の交替記録ではないことを示す情報と、前記第2の記録命令による記録の直前に前記第1の論理アドレスに対応している第2の物理アドレス情報とを含む記録方法。
A write-once optical disc recording method having a lead-in area, a lead-out area, and a user area ,
In response to the first recording command including the first logical address corresponding to the physical address in the user area of the write-once optical disc, the recording area indicated by the first physical address in the user area corresponding to the first logical address is If the replacement destination is not assigned to the first physical address, the replacement destination is the second physical address in the user area indicating the unrecorded recording area corresponding to the first logical address. As a new allocation, execute the recording process in the recording area indicated by the second physical address,
In response to a second recording command including a first logical address performed after recording by the first recording command , a third physical address in a user area indicating an unrecorded recording area in the first logical address Is newly assigned as a replacement destination, and a recording process is executed in the recording area indicated by the third physical address,
The data recorded in the recording area indicated by the second physical address assigned as the replacement destination is information indicating that it is the first replacement recording for the first logical address, and recording by the first recording command First physical address information corresponding to the first logical address immediately before
The data recorded in the recording area indicated by the third physical address assigned as the replacement destination is information indicating that it is not the first replacement recording for the first logical address, and recording by the second recording command And a second physical address information corresponding to the first logical address immediately before the recording method.
リードインエリアとリードアウトエリアとユーザエリアを有する追記型光ディスクの記録装置であって、
上位装置から各種命令及びデータを受け取る入出力端子と、
記録装置の動作管理を行う制御手段と、
上位装置とのインターフェース回路と、
符号化処理を行う記録再生信号処理回路と、を有し、
追記型光ディスクのユーザエリア内の物理アドレスに対応する第1の論理アドレスを含む第1の記録命令に対し、第1の論理アドレスに対応するユーザエリア内の第1の物理アドレスが示す記録領域が記録済みで、かつ、前記第1の物理アドレスに交替先が割り当てられていない場合、前記第1の論理アドレスに対応する未記録の記録領域を示すユーザエリア内の第2の物理アドレスを交替先として新たに割り当て、前記第2の物理アドレスが示す記録領域に記録処理を実行し、
前記第1の記録命令による記録の後に行われる第1の論理アドレスを含む第2の記録命令に対し、前記第1の論理アドレスに未記録の記録領域を示すユーザエリア内の第3の物理アドレスを交替先として新たに割り当て、前記第3の物理アドレスが示す記録領域に記録処理を実行し、
前記交替先として割り当てられた第2の物理アドレスが示す記録領域に記録されるデータは、前記第1の論理アドレスに対する最初の交替記録であることを示す情報と、前記第1の記録命令による記録の直前に前記第1の論理アドレスに対応している第1の物理アドレス情報とを含み、
前記交替先として割り当てられた第3の物理アドレスが示す記録領域に記録されるデータは、前記第1の論理アドレスに対する最初の交替記録ではないことを示す情報と、前記第2の記録命令による記録の直前に前記第1の論理アドレスに対応している第2の物理アドレス情報とを含む記録装置。
A write-once optical disc recording apparatus having a lead-in area, a lead-out area, and a user area ,
I / O terminals for receiving various commands and data from the host device,
Control means for managing the operation of the recording device;
An interface circuit with the host device;
A recording / reproducing signal processing circuit for performing an encoding process,
In response to the first recording command including the first logical address corresponding to the physical address in the user area of the write-once optical disc, the recording area indicated by the first physical address in the user area corresponding to the first logical address is If the replacement destination is not assigned to the first physical address, the replacement destination is the second physical address in the user area indicating the unrecorded recording area corresponding to the first logical address. As a new allocation, execute the recording process in the recording area indicated by the second physical address,
In response to a second recording command including a first logical address performed after recording by the first recording command , a third physical address in a user area indicating an unrecorded recording area in the first logical address Is newly assigned as a replacement destination, and a recording process is executed in the recording area indicated by the third physical address,
The data recorded in the recording area indicated by the second physical address assigned as the replacement destination is information indicating that it is the first replacement recording for the first logical address, and recording by the first recording command First physical address information corresponding to the first logical address immediately before
The data recorded in the recording area indicated by the third physical address assigned as the replacement destination is information indicating that it is not the first replacement recording for the first logical address, and recording by the second recording command And a second physical address information corresponding to the first logical address immediately before.
リードインエリアとリードアウトエリアとユーザエリアを有する追記型光ディスクの再生方法であって、
前記追記型光ディスクは、
ユーザエリア内の物理アドレスに対応する第1の論理アドレスを含む第1の記録命令に対し、第1の論理アドレスに対応するユーザエリア内の第1の物理アドレスが示す記録領域が記録済みで、かつ、前記第1の物理アドレスに交替先が割り当てられていない場合、前記第1の論理アドレスに対応する未記録の記録領域を示すユーザエリア内の第2の物理アドレスが交替先として新たに割り当てられ、前記第2の物理アドレスが示す記録領域に記録処理が実行され、
前記第1の記録命令による記録の後に行われる前記第1の論理アドレスを含む第2の記録命令に対し、前記第1の論理アドレスに未記録の記録領域を示すユーザエリア内の第3の物理アドレスが交替先として新たに割り当てられ、前記第3の物理アドレスが示す記録領域に記録処理が実行されており、
更に、前記交替先として割り当てられた第2の物理アドレスが示す記録領域に記録されるデータに、前記第1の論理アドレスに対する最初の交替記録であることを示す情報と、前記第1の記録命令による記録の直前に前記第1の論理アドレスに対応している第1の物理アドレス情報とが含まれ、
前記交替先として割り当てられた第3の物理アドレスが示す記録領域に記録されるデータに、前記第1の論理アドレスに対する最初の交替記録ではないことを示す情報と、前記第2の記録命令による記録の直前に前記第1の論理アドレスに対応している第2の物理アドレス情報とが含まれている追記型光ディスクであり、
前記追記型光ディスクからディフェクトリストを読み出すステップと、
前記追記型光ディスクの前記第2の物理アドレスが示す記録領域に記録されるデータから、前記第1の論理アドレスに対する最初の交替記録であることを示す情報と、前記第1の記録命令による記録の直前に前記第1の論理アドレスに対応している第1の物理アドレス情報とを読み出すステップと、
前記第3の物理アドレスが示す記録領域に記録されるデータから、前記第1の論理アドレスに対する最初の交替記録ではないことを示す情報と、前記第2の記録命令による記録の直前に前記第1の論理アドレスに対応している第2の物理アドレス情報とを読み出すステップと、
を含む再生方法。
A write-once optical disc playback method having a lead-in area, a lead-out area, and a user area ,
The write-once optical disc is
For the first recording instruction including a first logical address corresponding to the physical address in the user area, recording area indicated by the first physical address in the user area in the recorded corresponding to the first logical address, If no replacement destination is assigned to the first physical address, a second physical address in the user area indicating an unrecorded recording area corresponding to the first logical address is newly assigned as a replacement destination. And a recording process is executed in the recording area indicated by the second physical address,
In response to a second recording command including the first logical address, which is performed after recording by the first recording command , a third physical in the user area indicating an unrecorded recording area at the first logical address. An address is newly assigned as a replacement destination, and a recording process is executed in the recording area indicated by the third physical address,
Further, the data recorded in the recording area indicated by the second physical address assigned as the replacement destination includes information indicating the first replacement recording for the first logical address, and the first recording command. Immediately before recording by the first physical address information corresponding to the first logical address,
The data recorded in the recording area indicated by the third physical address assigned as the replacement destination includes information indicating that it is not the first replacement recording for the first logical address, and recording by the second recording command Is a write-once optical disc including second physical address information corresponding to the first logical address immediately before
Reading a defect list from the write-once optical disc;
From the data recorded in the recording area indicated by the second physical address of the write-once optical disc, information indicating the first alternate recording for the first logical address, and recording by the first recording command Reading the first physical address information corresponding to the first logical address immediately before;
From the data recorded in the recording area indicated by the third physical address, information indicating that it is not the first alternate recording for the first logical address, and the first immediately before recording by the second recording command Reading second physical address information corresponding to the logical address of
A playback method including:
請求項3に記載の再生方法であって、
前記第1の論理アドレスに対する最初の交替記録であることを示す情報と、前記第1の記録命令による記録の直前に前記第1の論理アドレスに対応している第1の物理アドレス情報と、前記第1の論理アドレスに対する最初の交替記録ではないことを示す情報と、前記第2の記録命令による記録の直前に前記第1の論理アドレスに対応している第2の物理アドレス情報と、に基づいて前記ディフェクトリストで管理されている交替情報を確認することを特徴とする再生方法。
The reproduction method according to claim 3, wherein
Information indicating the first alternate recording for the first logical address; first physical address information corresponding to the first logical address immediately before recording by the first recording command; Based on information indicating that the recording is not the first replacement recording for the first logical address, and second physical address information corresponding to the first logical address immediately before recording by the second recording command. And confirming the replacement information managed in the defect list.
JP2011100390A 2011-04-28 2011-04-28 Data recording method and data recording apparatus Active JP5450502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011100390A JP5450502B2 (en) 2011-04-28 2011-04-28 Data recording method and data recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011100390A JP5450502B2 (en) 2011-04-28 2011-04-28 Data recording method and data recording apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008323108A Division JP4769855B2 (en) 2008-12-19 2008-12-19 Data recording method and data recording apparatus

Publications (2)

Publication Number Publication Date
JP2011170968A JP2011170968A (en) 2011-09-01
JP5450502B2 true JP5450502B2 (en) 2014-03-26

Family

ID=44684914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011100390A Active JP5450502B2 (en) 2011-04-28 2011-04-28 Data recording method and data recording apparatus

Country Status (1)

Country Link
JP (1) JP5450502B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139801A (en) * 1997-07-14 1999-02-12 Olympus Optical Co Ltd Method for recording information
ATE462184T1 (en) * 2002-12-11 2010-04-15 Lg Electronics Inc OVERWRITE METHOD AND INFORMATION RECORDING METHOD FOR A WRITE-ONCE OPTICAL DISK
KR101008641B1 (en) * 2002-12-11 2011-01-17 엘지전자 주식회사 Method and apparatus for managing overwrite on an optical disc write once
JP2005251242A (en) * 2004-03-01 2005-09-15 Pioneer Electronic Corp Information recording medium, device and method for recording information thereon, device and method for reproducing information therefrom, computer program for controlling recording/reproducing, and data structure containing control signal
KR100667758B1 (en) * 2004-07-30 2007-01-11 삼성전자주식회사 Information recording medium, recording/reproducing apparatus and recording/reproducing method

Also Published As

Publication number Publication date
JP2011170968A (en) 2011-09-01

Similar Documents

Publication Publication Date Title
US7630283B2 (en) Optical disc, method and apparatus for managing a defective area on an optical disc of write once type
US8433860B2 (en) Information storage medium, recording/reproducing apparatus, and recording/reproducing method
JP4262611B2 (en) Data recording method and data recording apparatus
WO2005109432A1 (en) Information recording device
JP4769881B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
JP2008508655A (en) Information recording medium, recording / reproducing apparatus, and recording / reproducing method
KR101254186B1 (en) Method for managing information recording medium in which extra ECC is applied, information recording medium therefor and apparatus therefor
US7768898B2 (en) Multi-layer information storage medium and information apparatus
JP4512454B2 (en) Data recording method and data recording apparatus
JP4768573B2 (en) Information recording medium, recording / reproducing apparatus, and recording / reproducing method capable of effectively performing recording prevention function
JP4713140B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
JP5450502B2 (en) Data recording method and data recording apparatus
JP4769855B2 (en) Data recording method and data recording apparatus
JP2006040454A (en) Write once optical disk device
JP2006024298A (en) Recording method and recorder
US7768887B2 (en) Information recording/reproducing apparatus and updating method of management information for optical disk medium
JP4562703B2 (en) Information recording medium and information recording apparatus
JP4734215B2 (en) Recording method and optical disk recording apparatus
JP2000353367A (en) Disk type recording medium recording device, and disk type recording medium recording method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110428

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110513

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20110617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121203

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130611

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130909

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130909

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20131001

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131225

R150 Certificate of patent or registration of utility model

Ref document number: 5450502

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250