JP2011134398A - Optical disk device and method of temporarily storing data of optical disk - Google Patents

Optical disk device and method of temporarily storing data of optical disk Download PDF

Info

Publication number
JP2011134398A
JP2011134398A JP2009293445A JP2009293445A JP2011134398A JP 2011134398 A JP2011134398 A JP 2011134398A JP 2009293445 A JP2009293445 A JP 2009293445A JP 2009293445 A JP2009293445 A JP 2009293445A JP 2011134398 A JP2011134398 A JP 2011134398A
Authority
JP
Japan
Prior art keywords
data
buffer
area
address
alternative
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009293445A
Other languages
Japanese (ja)
Inventor
Masahiro Sato
正浩 佐藤
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.)
Samsung R&D Institute Japan Co Ltd
Original Assignee
Samsung Yokohama Research Institute
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 Samsung Yokohama Research Institute filed Critical Samsung Yokohama Research Institute
Priority to JP2009293445A priority Critical patent/JP2011134398A/en
Publication of JP2011134398A publication Critical patent/JP2011134398A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical disk device capable of improving speed of transmitting data read from an alternative area of an optical disk to a host. <P>SOLUTION: The optical disk device includes: a main buffer 21 temporarily storing the data read from a main area that is a main data writing area on the optical disk; an alternative area buffer 22 temporarily storing data read from an alternative area for alternatively recording the data when the main area includes a defect and cannot be used; and a memory controller 23 moving the data of the alternative area buffer 22 to the main buffer 21 in accordance with an instruction from a CPU 25. Accordingly, data transmission to the host is performed from only the main buffer 21. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、光ディスク装置および光ディスクのデータ一時記憶方法に関する。   The present invention relates to an optical disc apparatus and an optical disc data temporary storage method.

光ディスクは、ディスク上の欠陥ブロック対策として、欠陥ブロックを検出して登録し、それの代替ブロックを代替領域(代替セクタ)に書き込むディフェクトマネージメントを採用したものがある。   Some optical disks employ defect management as a countermeasure against defective blocks on the disk, detecting and registering defective blocks, and writing the replacement blocks in a replacement area (replacement sector).

従来、このディフェクトマネージメントを採用した光ディスク装置において、通常の領域を読み取って一時記憶(キャッシュ)する転送用バッファのほかに、代替領域の内容だけを一時記憶するための代替セクタ用バッファを有しているものがある。その装置によれば、転送用バッファがフルの状態となったときに、欠陥セクタに至る前であっても、代替領域の内容を代替セクタ用バッファに読み取ることで、読み取り速度の向上を図っている(特許文献1)。   Conventionally, an optical disk apparatus adopting this defect management has a substitute sector buffer for temporarily storing only the contents of the substitute area in addition to a transfer buffer for reading and temporarily storing (cache) a normal area. There is something. According to the apparatus, when the transfer buffer becomes full, the reading speed is improved by reading the contents of the alternative area into the alternative sector buffer even before reaching the defective sector. (Patent Document 1).

特開2002−184117号公報JP 2002-184117 A

しかしながら、従来の技術では、代替領域の内容を転送用バッファとは異なる代替セクタ用バッファに一時記憶しているため、欠陥領域のデータを送信するように上位装置(ホスト)から要求されたときには、転送用バッファからの送信から代替セクタ用バッファからの送信に切り替えなければならない。   However, in the conventional technique, since the contents of the alternative area are temporarily stored in the alternative sector buffer different from the transfer buffer, when the host apparatus (host) requests to transmit the defective area data, It is necessary to switch from transmission from the transfer buffer to transmission from the alternative sector buffer.

このため、一時記憶しているデータを、読み出し要求した上位装置へ送り出す際に時間的なロスが発生するという問題がある。   For this reason, there is a problem that a time loss occurs when the temporarily stored data is sent out to the host device that has requested reading.

そこで、本発明の目的は、光ディスクの代替領域から読み出したデータをホスト側へ送信する際の速度を向上させることができる光ディスク装置および光ディスクの一時記憶方法を提供することである。   Accordingly, an object of the present invention is to provide an optical disc apparatus and an optical disc temporary storage method capable of improving the speed at which data read from an alternative area of the optical disc is transmitted to the host side.

上記目的を達成するための本発明による光ディスク装置は、光ディスク上の主たるデータ書き込み領域である主領域から読み取ったデータを一時記憶する第1バッファと、前記主領域に欠陥が存在して使えない部分がある場合に、当該使えない部分に記録すべきデータを代替して記録する代替領域から読み取ったデータを一時記憶する第2バッファと、前記第2バッファのデータを前記第1バッファに移動する制御手段と、を有することを特徴とする。   To achieve the above object, an optical disk apparatus according to the present invention includes a first buffer for temporarily storing data read from a main area which is a main data writing area on an optical disk, and a portion in which the main area is defective and cannot be used. A second buffer for temporarily storing data read from an alternative area for recording the data to be recorded in the unusable portion, and a control for moving the data in the second buffer to the first buffer And means.

上記目的を達成するための本発明による光ディスクの一時記憶方法は、光ディスク上の主たるデータ書き込み領域である主領域から読み取ったデータを第1バッファに一時記憶する段階と、前記第1バッファが予め決められた容量までいっぱいになった場合、または主領域からのデータの読み取り位置が欠陥が存在して使えないことを示す欠陥アドレスに到達した場合に、前記欠陥アドレスに代替してデータを記録した代替領域からデータを読み取って第2バッファに一時記憶する段階と、前記第2バッファのデータを前記第1バッファに移動する段階と、を有することを特徴とする光ディスクのデータ一時記憶方法
以上構成された本発明では、一旦第2バッファに読み出したデータも、第1バッファに移動される。このため、ホストへのデータ送信は第1バッファからのみ行えばよい。
In order to achieve the above object, a method for temporarily storing an optical disk according to the present invention comprises a step of temporarily storing data read from a main area, which is a main data writing area on the optical disk, in a first buffer; When data reaches the specified capacity, or when the data read position from the main area reaches a defective address indicating that the defect exists and cannot be used, the data is recorded in place of the defective address. A method for temporarily storing data in an optical disc, comprising: reading data from an area and temporarily storing the data in a second buffer; and moving the data in the second buffer to the first buffer. In the present invention, data once read to the second buffer is also moved to the first buffer. For this reason, data transmission to the host need only be performed from the first buffer.

本発明によれば、上位装置へのデータ送信は第1バッファからのみ行えばよいので、代替領域から読み出したデータを含めて、ホスト側へのデータ送り出し速度を向上することができる。   According to the present invention, since data transmission to the host device need only be performed from the first buffer, the data transmission speed to the host side including data read from the alternative area can be improved.

本実施形態の光ディスク装置を示すブロック図である。It is a block diagram which shows the optical disk apparatus of this embodiment. ディフェクトマネージメントを説明するための光ディスクの記録領域を説明するための説明図である。It is explanatory drawing for demonstrating the recording area of the optical disk for demonstrating defect management. ディフェクトマネージメントで使用されるDFLの一例を示す説明図である。It is explanatory drawing which shows an example of DFL used by defect management. 本実施形態による光ディスク装置の動作手順を示すフローチャートである。5 is a flowchart showing an operation procedure of the optical disc apparatus according to the present embodiment. 図4に続き本実施形態による光ディスク装置の動作手順を示すフローチャートである。FIG. 5 is a flowchart illustrating an operation procedure of the optical disc device according to the present embodiment, following FIG. 4. FIG. 図4および5で示した手順による処理を光ディスク上のアドレスを例に説明するための説明図である。FIG. 6 is an explanatory diagram for explaining the processing according to the procedure shown in FIGS. 4 and 5 using an address on the optical disc as an example. 光ディスク上の欠陥に達する前にメインバッファがフルになった場合を説明する説明図である。It is explanatory drawing explaining the case where the main buffer becomes full before reaching the defect on an optical disk. 図6の例による光ディスク上のアドレスのデータがメインバッファに一時記憶された状態を示す説明図である。FIG. 7 is an explanatory diagram showing a state in which address data on the optical disc according to the example of FIG. 6 is temporarily stored in a main buffer.

以下、本発明の実施形態を添付した図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the accompanying drawings.

本実施形態における光ディスク装置は、記録可能なブルーレイディスク(以下BDという。BDにはBD−RE,BD−Rなどが含まれる)、コンパクトディスク(以下CDという。CDにはCD−ROM,CD−R,CD−RWなどが含まれる)、デジタル多目的ディスク(以下DVDという。DVDにはDVD−ROM,DVD−R,DVD+R,DVD−RW,DVD−RAMなどが含まれる)などにおいて、代替領域を用いたディフェクトマネージメントを採用したものに適用可能である。   The optical disc apparatus according to the present embodiment includes a recordable Blu-ray disc (hereinafter referred to as BD; BD includes BD-RE, BD-R, etc.) and a compact disc (hereinafter referred to as CD. CD includes CD-ROM, CD- R, CD-RW, etc.), digital multipurpose disc (hereinafter referred to as DVD, DVD includes DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD-RAM, etc.) It can be applied to those adopting the used defect management.

図1は、本実施形態の光ディスク装置を示すブロック図である。なお、ここに示した以外の記録/再生のための制御装置構成は、上述した各光ディスクへの記録や再生のための装置構成と同じでよく、周知の構成であるため説明を省略する。   FIG. 1 is a block diagram showing an optical disc apparatus according to this embodiment. The configuration of the control device for recording / reproduction other than that shown here may be the same as the configuration of the device for recording and reproduction on each optical disk described above, and is a well-known configuration, and thus the description thereof is omitted.

図1に示した光ディスク装置は、まず基本的な読み出しに関係する部分として、光ディスクから反射光からの信号を取り出すRF部(不図示)からの信号を復調するデコーダ11、読み取ったデータのアドレスを一時記憶するアドレスレジスタ12、読み取ったアドレスと欠陥アドレスを比較するコンパレータ13(比較器)、欠陥のあるアドレス(欠陥アドレス)を一時記憶する欠陥アドレスバッファ14、ホストとの通信を行うインターフェース15、ディフェクトマネージメントのための欠陥リスト(DFL;Defect List)を記録したDFLメモリ16を有する。そして一時記憶に関係する部分として、先読みしたデータを順に一時記憶するメインバッファ21(第1バッファ)、代替領域のデータを一時記憶する代替領域用バッファ22(第2バッファ)、これらのバッファメモリへのデータの出し入れを制御するメモリコントローラ23、を有し、これら全体の制御を行うCPU25を有する。ここでメインバッファ21および代替領域用バッファ22は、たとえばリングバッファが用いられる。またこの装置においてはCPU25およびメモリコントローラ23が制御手段となる。   The optical disk apparatus shown in FIG. 1 first includes a decoder 11 that demodulates a signal from an RF unit (not shown) that extracts a signal from reflected light from an optical disk as a part related to basic reading, and an address of the read data. Address register 12 for temporarily storing, comparator 13 (comparator) for comparing the read address with the defective address, defective address buffer 14 for temporarily storing a defective address (defective address), interface 15 for communicating with the host, defect It has a DFL memory 16 in which a defect list (DFL; Defect List) for management is recorded. Then, as a part related to temporary storage, a main buffer 21 (first buffer) for temporarily storing the pre-read data in order, an alternative area buffer 22 (second buffer) for temporarily storing alternative area data, and these buffer memories A memory controller 23 for controlling the input / output of the data, and a CPU 25 for controlling the whole. Here, as the main buffer 21 and the alternative area buffer 22, for example, a ring buffer is used. In this apparatus, the CPU 25 and the memory controller 23 serve as control means.

この光ディスク装置の概略動作は以下の通りである。   The general operation of this optical disc apparatus is as follows.

光ディスクからRF信号として取り出された信号は、デコーダ11により復調される。このときエラーがなければ、メモリコントローラ23にデコーダ11から一時記憶要求を出し、CPU25の指定によりメインバッファ21または代替領域用バッファ22に復調されたデータが転送される。ここでのCPU25の動作については後述する。またRF信号からはアドレスデータも復調されて、エラーがなければアドレスレジスタ12に格納される。これらの動作は、バッファの指定以外はCPU25の介在なしに実行される。   A signal extracted as an RF signal from the optical disk is demodulated by the decoder 11. If there is no error at this time, a temporary storage request is issued from the decoder 11 to the memory controller 23, and the demodulated data is transferred to the main buffer 21 or the alternative area buffer 22 as specified by the CPU 25. The operation of the CPU 25 here will be described later. The address data is also demodulated from the RF signal and stored in the address register 12 if there is no error. These operations are executed without the intervention of the CPU 25 except for the designation of the buffer.

アドレスレジスタ12のアドレスは、欠陥アドレスバッファ14内のアドレスとコンパレータ13により比較される(実際には欠陥アドレスバッファ14内のアドレスの一つ前のアドレスである。詳細後述)。なお、欠陥アドレスバッファ14は、CPU25によりDFLメモリ16内のDFLに基づきDFLに記載されている欠陥アドレスが一時的に格納される。比較の結果一致した場合は、CPU25の指令により2通りの動作が行われる。1つ目は欠陥アドレス到達時に復調を停止する復調停止モードである。このときCPU25にインターラプト(Interrupt)を発行し、一時停止を知らせて、即座に代替領域(後述)内のデータを読み出す。2つ目は、欠陥アドレス到達時でも復調を停止せずに復調動作を継続する復調非停止モードである。これは復調動作を停止させないことでピックアップをユーザ領域上からはずさずにトレースさせておくためのモードである。これにより欠陥箇所以降の読み出しを即座に継続することができるようになる。   The address of the address register 12 is compared with the address in the defective address buffer 14 by the comparator 13 (actually, it is the address immediately before the address in the defective address buffer 14, which will be described in detail later). The defective address buffer 14 temporarily stores a defective address described in the DFL based on the DFL in the DFL memory 16 by the CPU 25. If they match as a result of the comparison, two operations are performed according to a command from the CPU 25. The first is a demodulation stop mode in which demodulation is stopped when a defective address is reached. At this time, an interrupt (Interrupt) is issued to the CPU 25 to notify the temporary stop, and data in an alternative area (described later) is immediately read out. The second is a demodulation non-stop mode in which demodulation operation is continued without stopping demodulation even when a defective address is reached. This is a mode for tracing the pickup without removing it from the user area by not stopping the demodulation operation. As a result, reading after the defective portion can be immediately continued.

そして代替領域用バッファ22に記憶したデータはユーザ領域(後述)の欠陥箇所からデータを読み出そうとしたタイミングでメインバッファ21へ移動(またはコピー)する。   Then, the data stored in the alternative area buffer 22 is moved (or copied) to the main buffer 21 at a timing when data is read from a defective portion in the user area (described later).

ホストからデータ要求されると、インターフェース15を介して、その要求がCPU25に通達され、CPU25はインターフェース15を介して、メインバッファ21から要求されたデータをホストに送信する。したがって、ホストへ送信するデータはすべてメインバッファ21からの送信となる。このためホストへのデータ送信に際して送信するバッファの切り替えや、代替領域用バッファ22内から送信するデータを探し出すことが不要となり、その分の時間的ロスがなくなり、高速でデータを送り出すことができる。   When data is requested from the host, the request is notified to the CPU 25 via the interface 15, and the CPU 25 transmits the requested data from the main buffer 21 to the host via the interface 15. Therefore, all data to be transmitted to the host is transmitted from the main buffer 21. Therefore, it is not necessary to switch the buffer to be transmitted at the time of data transmission to the host or to search for the data to be transmitted from the alternative area buffer 22, and the time loss can be eliminated and the data can be sent out at high speed.

なお、ここでホストとは、光ディスクからのデータの読み出しを要求した上位装置を云い、特に限定されない。   Here, the host refers to a host device that has requested reading of data from the optical disk, and is not particularly limited.

以下さらにこの光ディスク装置の動作について説明するが、動作説明の前に、ディフェクトマネージメントについて簡単に説明する。本実施形態で利用するディフェクトマネージメントは従来から行われているものである。図2はディフェクトマネージメントを説明するための光ディスクの記録領域を説明するための説明図である。図3はディフェクトマネージメントで使用されるDFLの一例を示す説明図である。   The operation of this optical disk apparatus will be further described below, but the defect management will be briefly described before the operation description. Defect management used in the present embodiment is conventionally performed. FIG. 2 is an explanatory diagram for explaining a recording area of an optical disc for explaining defect management. FIG. 3 is an explanatory diagram showing an example of a DFL used in defect management.

ディフェクトマネージメントを採用した光ディスクでは、記録領域として主たるデータ書き込み領域であるユーザ領域(主領域)と、ユーザ領域において欠陥があって使えない部分に記録すべきデータを代替して記録する代替領域(交替エリアと云われることもある)とがある。   In an optical disc adopting defect management, the user area (main area), which is the main data writing area, is used as the recording area, and the alternative area (alternately) where data to be recorded is recorded in the unusable part of the user area. Sometimes called area).

たとえば図2に示すように、ユーザ領域のアドレスが35000,35050,35020,35030,35040、代替領域のアドレスが300E0,300F0,30100とする。ここで35010および35030に欠陥があったとする(図中、欠陥のあるアドレスを×印で示した)。そうすると、この欠陥のあるアドレスに書き込むべきデータは代替領域のアドレス30100,300F0が指定されて書き込まれる。本来書き込むべきユーザ領域のアドレス(欠陥アドレス)とその代わりにデータが書き込まれた代替領域のアドレス(代替アドレス)の関係は、図3に示すようなDFLに記述されて光ディスクに書き込まれている。   For example, as shown in FIG. 2, assume that the user area addresses are 35000, 35050, 35020, 35030, and 35040, and the alternative area addresses are 300E0, 300F0, and 30100. Here, it is assumed that 35010 and 35030 have defects (in the figure, defective addresses are indicated by crosses). Then, the data to be written at the defective address is written by specifying the addresses 30100 and 300F0 of the alternative area. The relationship between the address (defective address) of the user area to be originally written and the address (alternative address) of the alternative area where data is written instead is described in the DFL as shown in FIG.

このような欠陥のある光ディスクを読み取る場合、ユーザ領域のアドレスが順に読み込まれて行き、DFLにある欠陥アドレスに差し掛かったところで、代替領域を読み込むためのシークが行われて代替アドレスのデータが読み込まれる。このため欠陥アドレスの位置に来るたびに代替アドレスを読むとすると、この例では4回の大きなシーク動作が必要となる。35000から30100へのシーク、30100から35020へのシーク、35020から300F0へのシーク、300F0から35040へのシークである。このためデータの読み出しに時間がかかる。   When reading such a defective optical disc, the addresses in the user area are read in order, and when the defective address in the DFL is reached, a seek to read the alternative area is performed and the data of the alternative address is read. . For this reason, if an alternative address is read every time a defective address is reached, four large seek operations are required in this example. Seek from 35000 to 30100, seek from 30100 to 35020, seek from 35020 to 300F0, seek from 300F0 to 35040. For this reason, it takes time to read data.

次に、本実施形態の動作を詳しく説明する。図4および5は、本実施形態による光ディスクの動作手順を示すフローチャートである。   Next, the operation of this embodiment will be described in detail. 4 and 5 are flowcharts showing the operation procedure of the optical disc according to the present embodiment.

まず、ホストから読み取りコマンドが来ると、CPU25はそのコマンドで指定されたアドレスから直近の欠陥アドレスをDFLから見つけ出す。見つけ出した欠陥アドレスは欠陥アドレスバッファ14に設定する。さらに機能設定を欠陥アドレスに来たら復調を停止する復調停止モードを設定する(S1)。これによりユーザ領域の欠陥アドレスに到達した時点で復調動作が停止するようになる。   First, when a read command is received from the host, the CPU 25 finds the latest defective address from the address specified by the command from the DFL. The found defective address is set in the defective address buffer 14. Further, a demodulation stop mode for stopping demodulation when the function setting comes to the defective address is set (S1). As a result, the demodulation operation stops when the defect address in the user area is reached.

そして読み取りコマンドで指令されたユーザ領域のアドレスにピックアップをシークさせ読み取り位置に移動させ、そこでから読み取った信号を復調して、復調されたデータをメインバッファ21に蓄えて行く(S2)。これは、ホストから最初に読み出し指令があったアドレスから順に、ホストから読み出し指令されたアドレスから先のアドレスのデータを先読みしてゆくのである。   Then, the pickup is sought to the address of the user area instructed by the read command and moved to the reading position, and the signal read therefrom is demodulated, and the demodulated data is stored in the main buffer 21 (S2). This is because the data of the address ahead of the address instructed by the host is read in order from the address at which the host instructed to read it first.

途中で復調動作が停止した場合は(S3:Yes)、メインバッファ21がフル(容量いっぱい、あるいは予め決められた容量値に達したとき)となったか否かを判断する(S11)。ここでバッファフルの状態となれば(S11:Yes)、メインバッファ21にそれ以上書き込めないので、ユーザ領域をそれ以上読み取ることができなくなる。このため復調動作が停止するのである。そしてこのままでは読み取り動作に空きができる(空き時間ができる)。本実施形態ではこのような状態となったときの空き時間を利用して代替領域のデータを先読みする。   If the demodulation operation stops halfway (S3: Yes), it is determined whether or not the main buffer 21 is full (when the capacity is full or when a predetermined capacity value is reached) (S11). If the buffer is full (S11: Yes), no more data can be written to the main buffer 21, and the user area cannot be read any more. For this reason, the demodulation operation stops. In this state, the reading operation is freed up (free time is available). In the present embodiment, the spare area data is prefetched using the free time when such a state occurs.

このためにCPU25は代替領域用バッファ22(図中「代替用バッファ」と略記する)に空きがあるか否かを判断する(S12)。ここで代替領域用バッファ22に空きがなければS15へ処理が移ることになる。   For this purpose, the CPU 25 determines whether or not there is a free space in the alternative area buffer 22 (abbreviated as “alternative buffer” in the figure) (S12). If there is no space in the alternative area buffer 22, the process moves to S15.

代替領域用バッファ22が空であれば(S12:Yes)、蓄えられるだけの代替領域のデータを代替領域から読み出して復調し、代替領域用バッファ22に蓄える(S13)。蓄えられるだけ蓄えたかどうかの判断は、代替領域用バッファ22がフルになること、またはメインバッファ21に予め決められた以上の空きができること(つまりメインバッファ21への先読みによる蓄積が再開可能となること)、またはホストから要求されたデータのアドレスがメインバッファ21に蓄積されたアドレスの直前まで来たことなどである。   If the alternative area buffer 22 is empty (S12: Yes), the data of the alternative area that can be stored is read from the alternative area, demodulated, and stored in the alternative area buffer 22 (S13). The determination as to whether or not it has been stored is that the alternative area buffer 22 is full, or that the main buffer 21 has more space than predetermined (that is, accumulation by prefetching in the main buffer 21 can be resumed). Or the address of the data requested from the host has come to just before the address stored in the main buffer 21.

その後CPU25は、代替領域用バッファ22に蓄えたデータに対してメインバッファ21の移動先アドレスを設定すると共に、欠陥アドレスに到達しても復調を停止しない復調非停止モードを設定する(S14)。この処理のうちは、前者はDFLを参照して代替領域用バッファ22に読み取った代替アドレスのデータをメインバッファ21に移動させる際に、元のユーザ領域の欠陥アドレスを代替アドレスのデータに対して関連付けしておくのである。これにより、代替領域用バッファ22に記憶されたデータをメインバッファ21に移動する際にどの位置に移動すべきかが設定されることになる。また、S14の後者の処理は、この段階で代替領域用バッファ22にデータが蓄積されるようになるので、今後欠陥アドレスに到達しても、代替領域にピックアップをシークする必要がなくなるため、復調を停止しないようにして、欠陥アドレスの次のアドレスのデータを即座に読み込むことができるようにするのである。   Thereafter, the CPU 25 sets a destination address of the main buffer 21 for the data stored in the alternative area buffer 22, and sets a demodulation non-stop mode in which the demodulation is not stopped even when the defective address is reached (S14). In this process, when the former moves the substitute address data read into the substitute area buffer 22 by referring to the DFL to the main buffer 21, the defective address of the original user area is replaced with the substitute address data. It is related. As a result, the position to which the data stored in the alternative area buffer 22 should be moved when the data is moved to the main buffer 21 is set. In the latter process of S14, data is accumulated in the substitute area buffer 22 at this stage, so that it is not necessary to seek the pickup in the substitute area even if the defect address is reached in the future. Thus, the data at the address next to the defective address can be read immediately.

続いて、S11でユーザ領域からピックアップが離れた際のユーザ領域の元のアドレスの次のアドレスにシークしてメインバッファ21に空きができるのを待って(S15)、S2へ戻る。なお、S15においてメインバッファ21に空きができるまで待っている間、復調動作も停止することになるが、この停止原因は欠陥アドレスによるものではないため、ここでの手順は先へ進まなくてもよい。また、S12がNoでこのS15にきた場合には、ピックアップは代替領域にシークしていないので、メインバッファ21に空きができるのを待つだけでシーク動作は発生しない。   Subsequently, in S11, seek to the address next to the original address of the user area when the pickup is separated from the user area and wait for the main buffer 21 to be freed (S15), and the process returns to S2. Note that while waiting for the main buffer 21 to become free in S15, the demodulation operation is also stopped, but the cause of this stop is not due to a defective address, so the procedure here does not have to proceed. Good. If S12 is No and the process has arrived at S15, the pickup has not sought into the alternative area, so only a wait is made in the main buffer 21 and no seek operation occurs.

S11において、メインバッファ21がフルではない場合(S11:No)、シーク位置が欠陥アドレスに到達したか否か判断する(S21)。欠陥アドレスに到達したか否か判断はコンパレータ13により行われる。実際には欠陥アドレス自体からはアドレスも復調できない可能性が高い。このためコンパレータ13では欠陥アドレスバッファ14に格納されている欠陥アドレスの一つ前のアドレスと、アドレスレジスタ12のアドレスを比較することで欠陥アドレスに到達したか否か判断している。   In S11, when the main buffer 21 is not full (S11: No), it is determined whether or not the seek position has reached the defective address (S21). The comparator 13 determines whether or not the defective address has been reached. In fact, there is a high possibility that the address cannot be demodulated from the defective address itself. For this reason, the comparator 13 determines whether or not the defective address has been reached by comparing the address immediately before the defective address stored in the defective address buffer 14 with the address of the address register 12.

ここで(S11のメインバッファ21がフルか否か判断後)、シーク位置が欠陥アドレスに到達したと判断された場合(S21:Yes)、代替領域用バッファ22に空きがある場合は(S22:Yes)、欠陥が見つかったアドレスを代替する代替アドレスを含む代替領域を代替領域用バッファ22の空き分だけ読み込む(S23)。これにより代替領域用バッファ22への読み込みが、S21で一致した欠陥アドレスに対応した代替アドレスのデータ以外のデータも次々に代替領域から読み込まれることになる。光ディスクにおいては代替領域は光ディスクの最内周または最外周にあるため、ユーザ領域と代替領域を頻繁に移動するシーク動作を行うと読み取りに時間がかかるようになる。そこで、本実施形態では代替領域にシークする必要が生じたなら、できるだけ多くのデータを代替領域から先読みしてしまうのである。これにより欠陥アドレスにぶつかるたびにユーザ領域と代替領域を移動するシーク動作が少なくなって読み取り動作の高速化を図ることができる。   Here (after determining whether or not the main buffer 21 is full in S11), if it is determined that the seek position has reached the defective address (S21: Yes), if there is an empty space in the alternative area buffer 22 (S22: Yes), an alternative area including an alternative address for substituting for an address where a defect is found is read as much as the free space in the alternative area buffer 22 (S23). As a result, data other than the data of the alternative address corresponding to the defective address matched in S21 is read from the alternative area buffer 22 one after another. In the optical disc, the alternative area is at the innermost or outermost circumference of the optical disc, so that it takes time to read when performing a seek operation that frequently moves between the user area and the alternative area. Therefore, in this embodiment, if it is necessary to seek to the alternative area, as much data as possible is prefetched from the alternative area. As a result, the seek operation for moving between the user area and the alternative area every time a defective address is encountered is reduced, and the reading operation can be speeded up.

そして、CPU25からの指示で欠陥アドレスの代わりに読み込んだ代替アドレスのデータは、代替領域用バッファ22からメインバッファ21へ移動させる(S24)。データの移動自体はメモリコントローラからの指示で代替領域用バッファ22からメインバッファ21へ移動する。   Then, the alternative address data read instead of the defective address in accordance with an instruction from the CPU 25 is moved from the alternative area buffer 22 to the main buffer 21 (S24). The data movement itself moves from the substitute area buffer 22 to the main buffer 21 in accordance with an instruction from the memory controller.

その後CPU25は、前記S14同様に、代替領域用バッファ22に蓄えたデータに対してメインバッファ21の移動先アドレスを設定すると共に、欠陥アドレスに到達しても復調を停止しない復調非停止モードを設定する(S25)。そしてS2へ戻る。   Thereafter, as in S14, the CPU 25 sets the destination address of the main buffer 21 for the data stored in the alternative area buffer 22, and sets the demodulation non-stop mode in which the demodulation is not stopped even when the defective address is reached. (S25). Then, the process returns to S2.

なお、S21がNoの場合は、復調停止原因がほかにあるので、そのための処理(図示「その他の処理」)を行って、復調停止が解消できればS2へ戻るが復帰できなければ処理は読み取り不良などの異常による終了となる。   If S21 is No, there are other causes for the demodulation stop, so the process for that ("other process" in the figure) is performed. If the demodulation stop can be resolved, the process returns to S2, but if the recovery cannot be recovered, the process is defective. It ends due to abnormalities such as.

一方、S3において復調が停止しない場合、すなわち、S14または25において復調非停止モードが設定された後の動作ということになる。この場合、読み出し位置が欠陥アドレスに到達したか否かを判断する(S31)。この処理はコンパレータ13により判断される。ここでも実際にはS21と同様に、アドレスレジスタ12内のアドレスと、欠陥アドレスバッファ14に格納されているアドレスの一つ前のアドレスが比較されて判断される。ここで欠陥アドレスに到達していなければ、手順はS2へ戻りそのままメインバッファ22へデータの蓄積を継続することになる。   On the other hand, if the demodulation does not stop in S3, that is, the operation after the demodulation non-stop mode is set in S14 or 25. In this case, it is determined whether or not the read position has reached the defective address (S31). This process is determined by the comparator 13. Here, in practice, as in S21, the determination is made by comparing the address in the address register 12 with the previous address stored in the defective address buffer 14. If the defective address has not been reached, the procedure returns to S2 and continues to store data in the main buffer 22 as it is.

欠陥アドレスに到達していれば(S31:Yes)、コンパレータ13からその旨の信号がCPU25に出される。そしてCPU25はメモリコントローラ23に指示して、代替領域用バッファ22内のデータをメインバッファ21へ移動させる(S32)。このとき代替領域用バッファ22内のデータは、S14またはS25で関連付けされているユーザ領域の欠陥アドレスが参照されて、メインバッファ21におけるその欠陥アドレスのデータを格納するべき位置へ移動される。ここでは欠陥アドレスに到達した時点でそれを判断した欠陥アドレスの一つ前のアドレスのデータはメインバッファ21に格納されていて、その次に来る欠陥アドレスのデータが来るべきメインバッファの位置が空いているので、そこに代替領域用バッファ22内の対応するデータを移動することになる。   If the defect address has been reached (S31: Yes), a signal to that effect is output from the comparator 13 to the CPU 25. Then, the CPU 25 instructs the memory controller 23 to move the data in the alternative area buffer 22 to the main buffer 21 (S32). At this time, the data in the alternative area buffer 22 is moved to a position in the main buffer 21 where the data of the defective address is stored with reference to the defective address of the user area associated in S14 or S25. Here, the data of the address immediately before the defective address determined when the defective address is reached is stored in the main buffer 21, and the position of the main buffer where the next defective address data is to be received is empty. Therefore, the corresponding data in the alternative area buffer 22 is moved there.

これにより、メインバッファ21が読み込むべきデータは代替領域用バッファ22からメインバッファ21へ移動されることになる。そしてピックアップのシーク位置はユーザ領域から離れていないので、欠陥アドレスを読み飛ばしてその次のアドレスを即座に読み込むことができるようになる。つまりこの場合は欠陥アドレスがあっても代替領域へのシークが発生しないのである。   As a result, data to be read by the main buffer 21 is moved from the substitute area buffer 22 to the main buffer 21. Since the pickup seek position is not far from the user area, it is possible to skip the defective address and immediately read the next address. That is, in this case, even if there is a defective address, seek to the alternative area does not occur.

その後、CPU25は欠陥アドレスバッファ14にDFLから次の欠陥アドレスを設定する(S33)。   Thereafter, the CPU 25 sets the next defective address from the DFL in the defective address buffer 14 (S33).

その後、代替領域用バッファ22に他のデータがあるか否かを判断して(S34)、他のデータがあれば(S34:Yes)、すなわち代替領域用バッファ22に別な代替アドレスのデータがあれば、そのまま手順はS2へ戻る。したがって、この場合は、復調非停止モードが継続されることになる。   Thereafter, it is determined whether or not there is other data in the alternative area buffer 22 (S34), and if there is other data (S34: Yes), that is, data of another alternative address is stored in the alternative area buffer 22. If there is, the procedure returns to S2. Therefore, in this case, the demodulation non-stop mode is continued.

一方、代替領域用バッファ22に他のデータがなければ(S34:No)、復調停止モードを設定して(S35)、手順はS2へ戻る。これは、代替領域用バッファ22に他のデータがないので、次回欠陥アドレスに到達したときに復調を停止して代替領域のデータを読み込むようにするためである(S21〜S25の処理を実行させるため)。   On the other hand, if there is no other data in the alternative area buffer 22 (S34: No), the demodulation stop mode is set (S35), and the procedure returns to S2. This is because there is no other data in the substitute area buffer 22, so that the demodulation is stopped and the substitute area data is read when the next defective address is reached (the processes of S21 to S25 are executed). For).

以上の処理による動作を光ディスク上のアドレスを例に説明する。図6は上記手順による処理を光ディスク上のアドレスを例に説明するための説明図である。   The operation by the above processing will be described with an address on the optical disk as an example. FIG. 6 is an explanatory diagram for explaining the processing according to the above procedure using an address on the optical disc as an example.

まず、最初のシークにより要求された35000を読む。またDFLより欠陥アドレスバッファ14に35010を設定し、復調停止モードにする。   First, read 35000 requested by the first seek. Also, 35010 is set in the defective address buffer 14 from the DFL to set the demodulation stop mode.

続いて、次のアドレス(35010)を取得して欠陥アドレスバッファ14のアドレスと比較する(実際には一つ前のアドレスと比較)。図6の例では、一致するので復調が停止する。ここで代替領域にシークして代替アドレスのデータを読み込む。このとき代替領域用バッファ22に3アドレス分の空きがあれば、本来必要な30100を読み込んで、さらにその後の300F0,300E0も同時に読み込んでしまう。   Subsequently, the next address (35010) is acquired and compared with the address of the defective address buffer 14 (actually compared with the previous address). In the example of FIG. 6, the demodulation stops because they match. Here, seek to the alternative area and read the data of the alternative address. At this time, if there is an empty space for three addresses in the alternative area buffer 22, 30100 which is originally necessary is read, and the subsequent 300F0 and 300E0 are also read simultaneously.

そして、入れ替えなければならない30100のデータをメインバッファ21に移動する。また、復調非停止モードを設定して、アドレス35020にシークして復調を再開する。   Then, 30100 data that must be replaced is moved to the main buffer 21. Also, the demodulation non-stop mode is set, seek is performed at address 35020, and demodulation is resumed.

続いてアドレス35020は、通常どおりメインバッファ21に読み込む。続いてアドレス35030は、欠陥アドレスバッファ14のアドレスと一致するので、データ移動機能が働き、代替領域用バッファ22から300F0がメインバッファ21に移動されると同時にCPU25にインターラプトが通知されて、次の欠陥アドレス35100を設定する。そして35030に続く35040は通常どおりに復調されてメインバッファ21に蓄えられてゆく。   Subsequently, the address 35020 is read into the main buffer 21 as usual. Subsequently, since the address 35030 coincides with the address of the defective address buffer 14, the data movement function is activated, and the interrupt 25 is notified to the CPU 25 at the same time that the 300F0 is moved from the replacement area buffer 22 to the main buffer 21, and the next The defect address 35100 is set. Then, 35040 following 35030 is demodulated as usual and stored in the main buffer 21.

次に、光ディスク上の欠陥に達する前にメインバッファ21がフルになった場合を説明する(ここでは代替領域用バッファ22の空きが2アドレス分あった場合を例にする)。図7は、光ディスク上の欠陥に達する前にメインバッファ21がフルになった場合を説明する説明図である。   Next, a case where the main buffer 21 becomes full before reaching a defect on the optical disk will be described (here, a case where the spare area buffer 22 has two free spaces is taken as an example). FIG. 7 is an explanatory diagram for explaining a case where the main buffer 21 becomes full before reaching a defect on the optical disk.

図7では、アドレス34FF0のデータを読み込んだ時点で、メインバッファ21がフルになったとする。そうする次のアドレス35000を読み込まずに、代替領域用バッファ22の空き分だけ代替領域のデータを読み込む。ここでは300F0,30100である。なお、メインバッファ21にデータを読む際には、直近の欠陥アドレス(この例では35010)を欠陥アドレスバッファ14に設定している。   In FIG. 7, it is assumed that the main buffer 21 is full when the data at the address 34FF0 is read. Instead of reading the next address 35000, the data in the alternative area is read as much as the space in the alternative area buffer 22. Here, it is 300F0, 30100. When reading data into the main buffer 21, the latest defective address (35010 in this example) is set in the defective address buffer 14.

その後、次回メインバッファ21に空きができれば一時記憶動作を再開し、アドレス3500が読み込まれ、続いてアドレス35010に達した際には、アドレス30100がメインバッファ21に移動される。なお、移動した後の代替領域用バッファ22のデータは消去する。   Thereafter, if the main buffer 21 becomes empty next time, the temporary storage operation is resumed, the address 3500 is read, and when the address 35010 is reached, the address 30100 is moved to the main buffer 21. The data in the replacement area buffer 22 after the movement is deleted.

以上の処理により、メインバッファ21には、必ず論理的にデータが並ぶことになる。図8は、図6の例による光ディスク上のアドレスのデータがメインバッファ21に一時記憶された状態を示す説明図である。図示するように、メインバッファ21に一時記憶されたデータのアドレスは、35000,30100(35010の代替アドレス),35020,300F0(35030の代替アドレス),35040となる。   Through the above processing, data is always logically arranged in the main buffer 21. FIG. 8 is an explanatory diagram showing a state in which the address data on the optical disc according to the example of FIG. As shown in the figure, the addresses of the data temporarily stored in the main buffer 21 are 35000, 30100 (alternative address of 35010), 35020, 300F0 (alternative address of 35030), 35040.

したがって、ホストからの要求に対してはメインバッファ21内のデータを送信すればよい。このためホストへのデータ送信時には代替領域用バッファ22内を検索したり、送信元バッファを切り替えたりするなどの処理が不要となるので、送信動作を高速にすることができる。   Therefore, the data in the main buffer 21 may be transmitted in response to a request from the host. For this reason, processing such as searching in the alternative area buffer 22 or switching the transmission source buffer is not required when data is transmitted to the host, so that the transmission operation can be speeded up.

以上説明したように本実施形態によれば、一旦代替領域用バッファ22に読み出したデータも、メインバッファ21に移動されるため、メインバッファ21内からホストへ送信する際には、メインバッファ21からのみデータを送信すればよい。このためホスト側への送り出しについても高速化することができる。   As described above, according to the present embodiment, the data once read to the alternative area buffer 22 is also moved to the main buffer 21, so when transmitting from the main buffer 21 to the host, the data is read from the main buffer 21. Only need to send data. For this reason, the sending to the host side can also be speeded up.

以上本発明を適用した実施形態を説明したが、本発明は、このような実施形態に限定されるものではなく、本願の特許請求の範囲に記載した技術思想の範囲でさまざまな変形形態が可能であることは言うまでもない。   Although the embodiment to which the present invention is applied has been described above, the present invention is not limited to such an embodiment, and various modifications are possible within the scope of the technical idea described in the claims of the present application. Needless to say.

11 デコーダ、
12 レジスタ、
13 コンパレータ、
14 欠陥代替アドレスバッファ、
15 インターフェース、
16 DFLメモリ、
21 メインバッファ、
22 代替領域用バッファ、
23 メモリコントローラ、
25 CPU。
11 decoder,
12 registers,
13 Comparator,
14 defective alternative address buffer,
15 interface,
16 DFL memory,
21 Main buffer,
22 Alternative area buffer,
23 Memory controller,
25 CPU.

Claims (5)

光ディスク上の主たるデータ書き込み領域である主領域から読み取ったデータを一時記憶する第1バッファと、
前記主領域に欠陥が存在して使えない箇所がある場合に、当該使えない箇所に記録すべきデータを代替して記録する代替領域から読み取ったデータを一時記憶する第2バッファと、
前記第2バッファのデータを前記第1バッファに移動する制御手段と、
を有することを特徴とする光ディスク装置。
A first buffer for temporarily storing data read from a main area which is a main data writing area on the optical disc;
A second buffer for temporarily storing data read from an alternative area for recording in place of data to be recorded in the unusable part when there is a defect in the main area and cannot be used;
Control means for moving the data in the second buffer to the first buffer;
An optical disc apparatus comprising:
前記制御手段は、前記光ディスクからのデータの読み取り位置が、前記欠陥の存在する箇所を示す欠陥アドレスに達した時点で、当該欠陥アドレスに対応した前記代替領域内の代替アドレスのデータを読み出すと共に、前記欠陥領域に記録されている他のデータを続けて読み出して前記第2バッファに蓄積することを特徴とする請求項1記載の光ディスク装置。   The control means reads the data of the alternative address in the alternative area corresponding to the defective address when the reading position of the data from the optical disc reaches the defective address indicating the location where the defect exists, 2. The optical disc apparatus according to claim 1, wherein other data recorded in the defective area is continuously read out and stored in the second buffer. 前記制御手段は、さらに前記第1バッファが予め決められた容量までいっぱいになったときに、前記第2バッファへのデータの蓄積を行うことを特徴とする請求項1または2記載の光ディスク装置。   3. The optical disc apparatus according to claim 1, wherein the control unit further accumulates data in the second buffer when the first buffer is full up to a predetermined capacity. 光ディスク上の主たるデータ書き込み領域である主領域から読み取ったデータを第1バッファに一時記憶する段階と、
前記第1バッファが予め決められた容量までいっぱいになった場合、または主領域からのデータの読み取り位置が欠陥が存在することを示す欠陥アドレスに到達した場合に、前記欠陥アドレスに代替してデータを記録した代替領域からデータを読み取って第2バッファに一時記憶する段階と、
前記第2バッファのデータを前記第1バッファに移動する段階と、
を有することを特徴とする光ディスクのデータ一時記憶方法。
Temporarily storing data read from a main area which is a main data writing area on the optical disc in a first buffer;
When the first buffer is filled up to a predetermined capacity, or when the reading position of data from the main area reaches a defective address indicating that a defect exists, data is substituted for the defective address. Reading the data from the alternative area in which data is recorded and temporarily storing it in the second buffer;
Moving the data in the second buffer to the first buffer;
A method of temporarily storing data on an optical disc, comprising:
前記第2バッファに一時記憶する段階において、前記光ディスクからのデータの読み取り位置が前記欠陥アドレスに達した時点で当該欠陥アドレスに対応した代替アドレスのデータのほかに、前記代替領域に記録されている他のデータを読み出して前記第2バッファに蓄積することを特徴とする請求項4記載の光ディスクのデータ一時記憶方法。   In the step of temporarily storing in the second buffer, when the data reading position from the optical disk reaches the defective address, it is recorded in the alternative area in addition to the data of the alternative address corresponding to the defective address. 5. The method of temporarily storing data on an optical disc according to claim 4, wherein other data is read and stored in the second buffer.
JP2009293445A 2009-12-24 2009-12-24 Optical disk device and method of temporarily storing data of optical disk Pending JP2011134398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009293445A JP2011134398A (en) 2009-12-24 2009-12-24 Optical disk device and method of temporarily storing data of optical disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009293445A JP2011134398A (en) 2009-12-24 2009-12-24 Optical disk device and method of temporarily storing data of optical disk

Publications (1)

Publication Number Publication Date
JP2011134398A true JP2011134398A (en) 2011-07-07

Family

ID=44346963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009293445A Pending JP2011134398A (en) 2009-12-24 2009-12-24 Optical disk device and method of temporarily storing data of optical disk

Country Status (1)

Country Link
JP (1) JP2011134398A (en)

Similar Documents

Publication Publication Date Title
JP2004234859A (en) Data structure of defect management information in optical recording medium
JP2008305548A (en) Recording and playback method suitable for recording and playback of audiovisual data, recording and playback drive for them, information recording and playback system, and information recording medium
JP2009080935A (en) Information recording medium, information recording method, and information recording device
JP4283767B2 (en) High-density multi-layer optical disc, data recording for each recording layer on it, and spare area management method for high-density multi-layer optical disc
JP2005071599A (en) Read-only optical disk and reproducing method therefor
JP2004039228A (en) Method for recording data to optical disk, method for recording data to spare storage region of optical disk, and optical disk device
US7613867B2 (en) Information recording apparatus, information recording method and recording medium recording program
JP2008112482A (en) Optical disk recording device
JP4342375B2 (en) Test recording method and test recording apparatus
JP2006500723A (en) Method for managing defective area on write-once type optical recording medium, and optical recording medium using this method
JP2011134398A (en) Optical disk device and method of temporarily storing data of optical disk
JP2008518374A (en) Blu-Ray disc error recovery strategy
JP2012185874A (en) Recording and reproducing device, and recording and reproducing method
US20040153737A1 (en) Information recording apparatus and information recording method
JP2004030788A (en) Device and method for managing defect in writable storage medium
JP4972064B2 (en) Optical disk drive control device
JP2010152981A (en) Method and device for reading optical disk
JP2007066415A (en) Information recording/reproducing device and information recording/reproducing method
JP2006085797A (en) Optical disk device and alternation processing method of optical disk device
US7602686B2 (en) Information recording medium, method for simultaneous recording and reproduction, and information recording and reproduction apparatus
JP5385971B2 (en) Information reproducing apparatus and information reproducing method
JP2007200417A (en) Information recording/reproducing device and update method of management information of optical disk medium
JP2007328831A (en) Information reproducing device and method
JP2008108360A (en) Data structure, information recording and reproducing device and management method for write-once type information recording medium, and write-once type information recording medium
JP2005216431A (en) Information recording and reproducing device