[go: up one dir, main page]

CN100411044C - Data management method for processing decoding error of read back data of optical disk and optical disk drive - Google Patents

Data management method for processing decoding error of read back data of optical disk and optical disk drive Download PDF

Info

Publication number
CN100411044C
CN100411044C CNB2005100770816A CN200510077081A CN100411044C CN 100411044 C CN100411044 C CN 100411044C CN B2005100770816 A CNB2005100770816 A CN B2005100770816A CN 200510077081 A CN200510077081 A CN 200510077081A CN 100411044 C CN100411044 C CN 100411044C
Authority
CN
China
Prior art keywords
data
decoding
pointer
block
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100770816A
Other languages
Chinese (zh)
Other versions
CN1881445A (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.)
MediaTek Heifei Inc
Original Assignee
MediaTek Inc
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 MediaTek Inc filed Critical MediaTek Inc
Priority to CNB2005100770816A priority Critical patent/CN100411044C/en
Publication of CN1881445A publication Critical patent/CN1881445A/en
Application granted granted Critical
Publication of CN100411044C publication Critical patent/CN100411044C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A data management method and optical disc drive for processing decoding error of read back data of optical disc. The data management method comprises the following steps: providing a buffer pointer and a decoding pointer; using the buffer pointer to indicate an address to which un-decoded read-back data is written, wherein the address is an absolute address in a storage device or a block address of the storage device after block division; using the decode pointer to indicate a start address of a data block in decoding within the readback data; and when a decoding error occurs when a specific data segment in the data block is decoded, updating the buffer pointer to indicate that the address of the un-decoded readback data written into the storage device corresponds to the address indicated by the decoding pointer, so as to re-read the un-decoded readback data of the corresponding data block.

Description

处理光盘的读回数据发生解码错误的数据管理方法及光驱 Data management method and optical drive for dealing with decoding error of read-back data of optical disc

技术领域 technical field

本发明涉及一种处理解码错误(decoding error)的方法与装置,尤指一种处理光盘的读回数据发生解码错误的数据管理方法与光驱。The invention relates to a method and device for dealing with decoding errors, in particular to a data management method and an optical drive for dealing with decoding errors in read-back data of an optical disc.

背景技术 Background technique

传统光盘的读取,是以一个数据区段(sector)为解码单位,所以当产生解码错误而必须要重新读取光盘上的未解码数据时,只需重新读取发生错误的数据区段,并且重新解码所述数据区段即可,这种方式不论是利用硬件或是软件来实施都相当地单纯。但是在数字多功能光盘(digital versatile disc,DVD)或者是下一代的蓝光光盘(Blu-ray disc,BD)或高解析光盘(High-definition DVD,HD-DVD)时,数据并非以一个数据区段为解码单位,而是以数个数据区段集合起来所组成的一个数据区块(block)为解码单位,故任一数据区段发生解码错误而需要重新读取光盘上的未解码数据时,会比传统光盘来的复杂。如业界所公知,对于数字多功能光盘而言,其是以16个数据区段组成一个数据区块,其中所述数据区块即为公知的ECC区块;对于蓝光光盘而言,其是以32个数据区段组成一个数据区块,其中所述数据区块即为公知丛集(cluster);至于高解析光盘,其则是以32个数据区段组成一个数据区块,其中所述数据区块即为公知数据段(data segment)。The reading of a traditional optical disc is based on a data sector (sector) as the decoding unit, so when a decoding error occurs and the undecoded data on the optical disc must be re-read, it is only necessary to re-read the data sector where the error occurred. And it only needs to re-decode the data segment, which is quite simple no matter whether it is implemented by hardware or software. But in digital versatile disc (digital versatile disc, DVD) or the next generation of Blu-ray disc (Blu-ray disc, BD) or high-definition disc (High-definition DVD, HD-DVD), the data is not in a data area A segment is the decoding unit, but a data block (block) composed of several data segments is used as the decoding unit. Therefore, when a decoding error occurs in any data segment and the undecoded data on the disc needs to be read again , will be more complicated than traditional CDs. As is well known in the industry, for a digital versatile disc, a data block is composed of 16 data segments, wherein the data block is a well-known ECC block; for a Blu-ray disc, it is formed by 32 data segments form a data block, wherein the data block is a known cluster (cluster); as for the high-resolution optical disc, it is composed of 32 data segments to form a data block, wherein the data area A block is known as a data segment.

请参阅图1,图1为现有光驱100的示意图。光驱100可处理一光盘102的读回数据所发生的解码错误(decoding error),其包含有一储存装置110(例如动态随机存取内存)、一控制电路120以及一解码电路130。储存装置110作为一环形缓冲器(ring buffer)来储存由光盘102所读取的读回数据,如图1所示,储存装置110的储存空间可视为划分成多个数据区块(block)BK1~BKn,其中每一个数据区块包含有多个数据区段(sector)SC1~SCm。对数字多功能光盘来说,m值为16(亦即每一ECC区块包含有16个区段),而对蓝光光盘和高规格光盘来说,m值为32(亦即每一丛集与每一数据段均包含有32个区段),如业界所公知,一般而言,写入盘片上的数据会先经过交错化(interleaving)的处理,因此,在将由盘片所读取的数据存入储存装置110之前,会先经过去交错化(de-interleaving)的处理,如此一来,同一数据区段在储存装置110中为连续地存放,此外,也可采用另一种作法而将自盘片上所读取的数据直接存入储存装置110,如此一来,储存在储存装置110的是尚未经过去交错化处理的数据,因此,解码电路130便需具有去交错化的功能,亦即解码电路130本身必须包含一去交错化电路,以便后续的解码动作可顺利执行。另外,n值则取决于储存装置110的储存容量,因此,若储存容量愈大,则储存装置110所能纪录的数据区块的数量亦越大(亦即n值愈大)。控制电路120耦接于储存装置110,且控制电路120包含有一缓存指针(bufferingpointer)BP、一解码指针(decoding pointer)DP、以及一读取指针(reading pointer)RP,用来控制储存装置110内读回数据的存取,换句话说,控制电路120可控制一读写头(未显示)来自光盘102读取数据,并将读回数据储存至储存装置110,另外,控制电路120亦可控制储存装置110将其内部已完成解码的读回数据传递至主机104。解码电路130耦接于控制电路120与储存装置110,用来解码储存装置110中所储存的读回数据,此外,在解码时,解码电路130以数据区段为单位来进行解码,而解码过程还包含公知错误更正(error correction)的动作,若解码电路130在解码一数据区段时产生解码错误,则解码电路130会输出一信号S来告知处理器140,处理器140会进一步控制电路120决定如何调整缓存指针BP、解码指针DP以及读取指针RP。以下简述储存装置110内读回数据和控制电路120内所有指针BP、DP、RP的功能及关连性。Please refer to FIG. 1 , which is a schematic diagram of a conventional optical drive 100 . The optical drive 100 is capable of handling decoding errors of read-back data from an optical disc 102 , and includes a storage device 110 (such as DRAM), a control circuit 120 and a decoding circuit 130 . The storage device 110 is used as a ring buffer (ring buffer) to store the read-back data read by the optical disc 102. As shown in FIG. 1, the storage space of the storage device 110 can be regarded as divided into multiple data blocks (block) BK 1 ˜BK n , wherein each data block includes a plurality of data sectors (sectors) SC 1 ˜SC m . For Digital Versatile Discs, the value of m is 16 (that is, each ECC block contains 16 sectors), while for Blu-ray Disc and High Specification Disc, the value of m is 32 (that is, each cluster and Each data segment includes 32 sectors), as is well known in the industry, generally speaking, the data written on the disc will first be processed by interleaving (interleaving). Therefore, the data read from the disc will Before being stored in the storage device 110, it will go through de-interleaving (de-interleaving) processing. In this way, the same data segment is continuously stored in the storage device 110. In addition, another method can also be used to store The data read from the disk is directly stored in the storage device 110. In this way, the data stored in the storage device 110 is data that has not been deinterleaved. Therefore, the decoding circuit 130 needs to have the function of deinterleaving. That is, the decoding circuit 130 itself must include a de-interleaving circuit so that subsequent decoding operations can be performed smoothly. In addition, the value of n depends on the storage capacity of the storage device 110. Therefore, if the storage capacity is larger, the number of data blocks that the storage device 110 can record is also larger (that is, the value of n is larger). The control circuit 120 is coupled to the storage device 110, and the control circuit 120 includes a buffering pointer (buffering pointer) BP, a decoding pointer (decoding pointer) DP, and a read pointer (reading pointer) RP, which are used to control the storage device 110 The access of read-back data, in other words, the control circuit 120 can control a read-write head (not shown) to read data from the optical disc 102, and store the read-back data to the storage device 110. In addition, the control circuit 120 can also control The storage device 110 transmits the decoded read-back data to the host 104 . The decoding circuit 130 is coupled to the control circuit 120 and the storage device 110, and is used to decode the read-back data stored in the storage device 110. In addition, when decoding, the decoding circuit 130 performs decoding in units of data segments, and the decoding process It also includes the action of known error correction. If the decoding circuit 130 generates a decoding error when decoding a data segment, the decoding circuit 130 will output a signal S to inform the processor 140, and the processor 140 will further control the circuit 120 Determine how to adjust the buffer pointer BP, decode pointer DP and read pointer RP. The functions and correlations of the read-back data in the storage device 110 and all the pointers BP, DP, and RP in the control circuit 120 are briefly described below.

请参阅图2,图2为图1所示的缓存指针BP、解码指针DP以及读取指针RP指向储存装置110中相对应地址的示意图。读回数据Data_1包含有一未解码读回数据Data_2、一解码中读回数据Data_3(即为目前正在解码中的一特定数据区段)以及一己解码读回数据Data_4。缓存指针BP是用来指示(indicate)从光盘102上读取的一未解码读回数据欲写入至储存装置110的起始地址,亦即所述未解码读回数据紧接着未解码读回数据Data_2而写入至储存装置110中;解码指针DP则是用来指示解码中读回数据Data_3在储存装置110上的起始地址(亦即一特定数据区段的起始地址);而读取指针RP则用来指示目前等待着被主机104(例如一个人计算机)读取的己解码读回数据的地址,即为己解码读回数据Data_4在储存装置110中的起始地址。此外,在正常操作下(即未发生解码错误),若是主机104的数据读取速度快于解码电路130的数据解码速度,则可能在解码电路130仍解码读回数据Data_3时,己解码读回数据Data_4已全部被读取至主机104,故读回数据Data_1仅会包含有未解码读回数据Data_2和解码中读回数据Data_3,此时读取指针RP会停留在解码中读回数据Data_3的前一数据区段的结束地址,而当读回数据Data_3已成功地完成解码时,解码指针DP便会移向读回数据Data_3的下一数据区段的起始地址,以及读取指针RP即会指向读回数据Data_3的起始地址。Please refer to FIG. 2 . FIG. 2 is a diagram illustrating that the buffer pointer BP, the decode pointer DP, and the read pointer RP shown in FIG. 1 point to corresponding addresses in the storage device 110 . The readback data Data_1 includes an undecoded readback data Data_2 , a decoded readback data Data_3 (that is, a specific data segment currently being decoded) and a decoded readback data Data_4 . The buffer pointer BP is used to indicate (indicate) the starting address of an undecoded readback data read from the optical disc 102 to be written to the storage device 110, that is, the undecoded readback data is followed by the undecoded readback data The data Data_2 is written into the storage device 110; the decoding pointer DP is used to indicate the starting address of the data Data_3 read back in the decoding on the storage device 110 (that is, the starting address of a specific data segment); The fetch pointer RP is used to indicate the address of the decoded readback data waiting to be read by the host 104 (eg, a personal computer), that is, the starting address of the decoded readback data Data_4 in the storage device 110 . In addition, under normal operation (that is, no decoding error occurs), if the data reading speed of the host computer 104 is faster than the data decoding speed of the decoding circuit 130, it may be decoded and read back when the decoding circuit 130 is still decoding the read data Data_3. The data Data_4 has been completely read to the host 104, so the read-back data Data_1 will only contain the undecoded read-back data Data_2 and the decoding-reading data Data_3. At this time, the read pointer RP will stay at the position of the decoding-reading-back data Data_3. The end address of the previous data segment, and when the read-back data Data_3 has been successfully decoded, the decoding pointer DP will move to the start address of the next data segment of the read-back data Data_3, and the read pointer RP is It will point to the starting address of the read back data Data_3.

如业界所公知,光驱100会在三种状况下处理光盘102的读回数据发生解码错误的运作,第一种状况为:在发生解码错误时,解码指针DP所指示的解码中读回数据Data_3(对应一数据区段)在储存装置110上的起始地址恰好为解码中读回数据Data_3所对应的数据区块的起始位置;第二种状况为:在发生解码错误时,解码指针DP与读取指针RP并未对应同一数据区块,且解码指针DP所指示的解码中读回数据Data_3(对应一数据区段)在储存装置110上的起始地址并非为解码中读回数据Data_3所对应的数据区块的起始位置;以及第三种状况为:在发生解码错误时,解码指针DP与读取指针RP对应同一数据区块,且解码指针DP所指示的解码中读回数据Data_3(对应一数据区段)在储存装置110上的起始地址并非为解码中读回数据Data_3所对应的数据区块的起始位置。As is well known in the industry, the optical drive 100 will handle the operation of decoding errors in the read-back data of the optical disc 102 in three situations. The first situation is: when a decoding error occurs, the decoded read-back data Data_3 indicated by the decoding pointer DP (corresponding to a data segment) the starting address on the storage device 110 is just the starting position of the data block corresponding to the read-back data Data_3 during decoding; the second situation is: when a decoding error occurs, the decoding pointer DP The read pointer RP does not correspond to the same data block, and the start address of the data read back during decoding Data_3 (corresponding to a data segment) indicated by the decoding pointer DP on the storage device 110 is not the data read back during decoding Data_3 The starting position of the corresponding data block; and the third situation is: when a decoding error occurs, the decoding pointer DP and the read pointer RP correspond to the same data block, and the decoding pointer DP indicates the read back data The start address of Data_3 (corresponding to a data segment) on the storage device 110 is not the start address of the data block corresponding to the data Data_3 read back during decoding.

请同时参阅图1和图3,图3为图1所示的光驱100应用公知数据管理方法来处理解码错误的第一实施例的示意图。在时间T3时,缓存指针BP指示从光盘102上读取的一未解码读回数据欲写入至储存装置110的起始地址为数据区段SCy(y的数值小于或等于m的数值)的下一数据区段的起始地址,解码指针DP则指示解码中的数据区段SC1的起始地址(请注意,数据区段SC1为数据区块BKi+3的第一个数据区段),读取指针RP是指示目前等待着被主机104读取的己解码读回数据的地址,亦即数据区段SCx(x的数值小于或等于m的数值)的起始地址。当解码电路130对数据区段SC1的信息进行解码而发生解码错误时,解码电路130会输出信号S来告知控制电路120,由于数据区段SC1为数据区块BKi+3的第一个数据区段,因此,在时间T′3时,控制电路120仅需更新缓存指针BP,以使其指向数据区段SC1的起始地址,因此,光驱100便会依据更新后的缓存指针BP来重新将从光盘102上数据区块BKi+3起(例如数据区段SC1至数据区段SCy)的相对应未解码读回数据加载至储存装置110中。如上所述,针对第一种状况,光驱100必须调整一个指针(亦即缓存指针BP)。Please refer to FIG. 1 and FIG. 3 at the same time. FIG. 3 is a schematic diagram of a first embodiment in which the optical drive 100 shown in FIG. 1 applies a known data management method to handle decoding errors. At time T3 , the buffer pointer BP indicates that an undecoded readback data read from the optical disc 102 is to be written into the storage device 110. The starting address is the data segment SC y (the value of y is less than or equal to the value of m ), the decoding pointer DP indicates the starting address of the data segment SC 1 being decoded (please note that the data segment SC 1 is the first one of the data block BK i+3 data segment), the read pointer RP indicates the address of the decoded read-back data waiting to be read by the host 104 at present, that is, the starting address of the data segment SC x (the value of x is less than or equal to the value of m) . When the decoding circuit 130 decodes the information of the data segment SC 1 and a decoding error occurs, the decoding circuit 130 will output a signal S to inform the control circuit 120, since the data segment SC 1 is the first data sectors, therefore, at time T'3 , the control circuit 120 only needs to update the cache pointer BP so that it points to the start address of the data sector SC1 , therefore, the optical drive 100 will follow the updated cache pointer BP to reload the corresponding undecoded readback data from the data block BK i+3 on the optical disc 102 (for example, the data segment SC 1 to the data segment SC y ) into the storage device 110 . As mentioned above, for the first situation, the optical disc drive 100 must adjust a pointer (ie buffer pointer BP).

请同时参阅图1和图4,图4为图1所示的光驱100应用公知数据管理方法来处理解码错误的第二实施例的示意图。在时间T4时,缓存指针BP是指示从光盘102上读取的一未解码读回数据欲写入至储存装置110的起始地址为数据区段SCy(y的数值小于或等于m的数值)的下一数据区段的起始地址,解码指针DP则指示解码中的数据区段SCz(z的数值小于或等于m的数值)的起始地址(请注意,数据区段SCz并非为数据区块BKi+3的第一个数据区段),读取指针RP指示目前等待着被主机104读取的己解码读回数据的地址,亦即数据区段SCx(x的数值小于或等于m的数值)的起始地址。当解码电路130对数据区段SCz的信息进行解码而发生解码错误时,解码电路130会输出信号S来告知控制电路120,由于数据区段SCz并非为数据区块BKi+3的第一个数据区段,因此,在时间T′4时,控制电路120需一并更新缓存指针BP与解码指针DP,以使其指向数据区块BKi+3的起始地址,因此,光驱100便会依据更新后的缓存指针BP来重新将从光盘102上数据区块BKi+3起的相对应未解码读回数据加载至储存装置110中,另外,光驱100还会依据更新后的解码指针DP来重新对数据区块BKi+3起的后续数据区段进行解码操作。如上所述,针对第二种状况,光驱100必须调整二个指针(亦即缓存指针BP与解码指针DP)。Please refer to FIG. 1 and FIG. 4 at the same time. FIG. 4 is a schematic diagram of a second embodiment in which the optical drive 100 shown in FIG. 1 applies a known data management method to handle decoding errors. At time T4 , the buffer pointer BP indicates that an undecoded read-back data read from the optical disc 102 is to be written into the storage device 110. The starting address is the data segment SC y (the value of y is less than or equal to m value), the decoding pointer DP then indicates the starting address of the data segment SC z (the value of z is less than or equal to the value of m) in decoding (please note that the data segment SC z It is not the first data segment of the data block BK i+3 ), the read pointer RP indicates the address of the decoded read-back data waiting to be read by the host 104 at present, that is, the data segment SC x (of x value less than or equal to the starting address of m). When the decoding circuit 130 decodes the information of the data segment SC z and a decoding error occurs, the decoding circuit 130 will output a signal S to inform the control circuit 120, since the data segment SC z is not the first of the data block BK i+3 A data section, therefore, at time T'4 , the control circuit 120 needs to update the buffer pointer BP and the decoding pointer DP together, so that it points to the start address of the data block BK i+3 , therefore, the optical drive 100 Then, the corresponding undecoded readback data from the data block BK i+3 on the optical disc 102 will be reloaded into the storage device 110 according to the updated buffer pointer BP. The pointer DP is used to re-decode subsequent data segments starting from the data block BK i+3 . As mentioned above, for the second situation, the optical drive 100 has to adjust two pointers (ie buffer pointer BP and decode pointer DP).

请同时参阅图1和图5,图5为图1所示的光驱100应用公知数据管理方法来处理解码错误的第三实施例的示意图。在时间T5时,缓存指针BP指示从光盘102上读取的一未解码读回数据欲写入至储存装置110的起始地址为数据区段SCy(y的数值小于或等于m的数值)的下一数据区段的起始地址,解码指针DP则指示解码中的数据区段SCz(z的数值小于或等于m的数值)的起始地址(数据区段SCz并非数据区块BKi+3的第一个数据区段);读取指针RP指示目前等待着被主机104读取的己解码读回数据的地址,亦即数据区段SCj(j的数值小于或等于m的数值)的起始地址。如图5所示,数据区段SCj与数据区段SCz均位于同一数据区块BKi+3中。当解码电路130对数据区段SCz的信息进行解码而发生解码错误时,解码电路130会输出信号S来告知控制电路120,所以,在时间T′5时,控制电路120需一并更新缓存指针BP、解码指针DP(读取指针RP所指向的地址并不会改变),以使其均指向数据区块BKi+3的起始地址,因此,光驱100便会依据更新后的缓存指针BP来重新自光盘102上将数据区块BKi+3起的相对应未解码读回数据加载至储存装置110中,以及依据更新后的解码指针DP来重新对数据区块BKi+3起的后续数据区段进行解码操作。另一方面,由于读取指针RP所对应的地址是超越解码指针DP所对应的地址,因此光驱100会暂停将储存装置110中的已解码读回数据传递至主机104,直到解码指针DP所对应的地址超越读取指针RP为止。如上所述,针对第三种状况,光驱100必须调整二个指针(亦即缓存指针BP与解码指针DP),并且还需要记住已被主机读走的数据,防止被主机重复读取。Please refer to FIG. 1 and FIG. 5 at the same time. FIG. 5 is a schematic diagram of a third embodiment in which the optical drive 100 shown in FIG. 1 applies a known data management method to handle decoding errors. At time T5, the buffer pointer BP indicates that the start address of an undecoded readback data read from the optical disc 102 to be written into the storage device 110 is the data segment SC y (the value of y is less than or equal to the value of m) The starting address of the next data segment, the decoding pointer DP then indicates the starting address of the decoding data segment SC z (the value of z is less than or equal to the value of m) (the data segment SC z is not the data block BK The first data segment of i+3 ); the read pointer RP indicates the address of the decoded read-back data currently waiting to be read by the host computer 104, that is, the data segment SC j (the value of j is less than or equal to m value) starting address. As shown in FIG. 5 , the data segment SC j and the data segment SC z are located in the same data block BK i+3 . When the decoding circuit 130 decodes the information of the data section SC z and a decoding error occurs, the decoding circuit 130 will output a signal S to inform the control circuit 120, so at time T'5 , the control circuit 120 needs to update the cache The pointer BP and the decoding pointer DP (the address pointed to by the read pointer RP will not change), so that they all point to the start address of the data block BK i+3 , therefore, the optical drive 100 will be based on the updated cache pointer BP reloads the corresponding undecoded read-back data of the data block BK i+3 from the optical disc 102 into the storage device 110, and re-decodes the data block BK i+3 according to the updated decoding pointer DP Subsequent data segments are decoded. On the other hand, since the address corresponding to the read pointer RP is beyond the address corresponding to the decode pointer DP, the optical drive 100 will suspend transmitting the decoded read-back data in the storage device 110 to the host 104 until the address corresponding to the decode pointer DP The address goes beyond the read pointer RP. As mentioned above, for the third situation, the optical drive 100 must adjust two pointers (that is, the buffer pointer BP and the decoding pointer DP), and also need to remember the data that has been read by the host to prevent repeated reading by the host.

如图3至图5所示,当数据区块BKi+3中一数据区段的解码产生错误时(上述第一、第二、第三种状况),数据区块BKi+3会重新进行解码的操作,若数据区块BKi+3一直无法顺利地被解码,则现有光驱100会放弃对数据区块BKi+3中未完成解码的数据区段的解码操作,而当主机104要求时,将数据区块BKi+3中已完成解码的数据区段的信息传递至主机104,若主机104要求传递数据区块BKi+3中未完成解码的数据区段的信息时,则响应处理解码错误的信息给主机104。As shown in Figures 3 to 5, when an error occurs in the decoding of a data segment in the data block BK i+3 (the above-mentioned first, second, and third situations), the data block BK i+3 will be restarted For the decoding operation, if the data block BK i+3 cannot be decoded smoothly, the existing optical drive 100 will give up the decoding operation for the undecoded data segment in the data block BK i+3 , and when the host When required by 104, transmit the information of the decoded data segment in the data block BK i+3 to the host 104, if the host 104 requests to transmit the information of the undecoded data segment in the data block BK i+3 , then respond to the host 104 with information about processing decoding errors.

综上所述,由于解码指针DP并不固定指向某一数据区块的起始或是结束地址,而是可以指向所述数据区块内的任意一数据区段,因此便导致一旦发生解码错误时,现有处理解码错误的数据管理方法需要针对不同的情况来对缓存指针BP与解码指针DP进行适当的调整,由于判断机制繁复,最后便会造成整体光驱100的复杂度增高,且光驱100处理解码错误的效能也会受到一定的影响而不显著。To sum up, since the decoding pointer DP does not fixedly point to the start or end address of a data block, but can point to any data segment in the data block, once a decoding error occurs At this time, the existing data management method for dealing with decoding errors needs to properly adjust the buffer pointer BP and the decoding pointer DP according to different situations. Due to the complicated judgment mechanism, the complexity of the overall optical drive 100 will eventually increase, and the optical drive 100 The performance of dealing with decoding errors will also be affected to a certain extent but not significantly.

发明内容 Contents of the invention

本发明的目的之一在于提供一种处理一光盘的读回数据发生解码错误的数据管理方法与光驱,以解决上述问题。One of the objectives of the present invention is to provide a data management method and an optical drive for dealing with decoding errors in the read-back data of an optical disc, so as to solve the above-mentioned problems.

本发明揭露一种处理一光盘的读回数据发生解码错误的数据管理方法,所述读回数据储存于一光驱中一储存装置内,所述读回数据包含有多个数据区块,每一数据区块包含有多个数据区段。所述数据管理方法包含有:(a)提供一缓存指针以及一解码指针;(b)使用所述缓存指针来指示自所述光盘所读取的一未解码读回数据写入至所述储存装置的地址;(c)使用所述解码指针来指示所述读回数据内解码中的一数据区块的起始地址,其中在所述数据区块中所有数据区段皆被成功地解码前,所述解码指针持续地指向所述数据区块的起始地址;以及(d)当解码所述数据区块中一特定数据区段而发生解码错误时,更新所述缓存指针以指示所述未解码读回数据写入至所述储存装置的地址对应至所述解码指针所指示的地址,以重新从所述光盘读取对应所述数据区块的未解码读回数据。The invention discloses a data management method for dealing with decoding errors in the read-back data of an optical disc. The read-back data is stored in a storage device in an optical drive, and the read-back data includes a plurality of data blocks, each of which is A data block contains multiple data segments. The data management method includes: (a) providing a buffer pointer and a decoding pointer; (b) using the buffer pointer to indicate that an undecoded readback data read from the optical disc is written into the storage address of the device; (c) using the decode pointer to indicate the start address of a data block being decoded within the readback data before all data sectors in the data block are successfully decoded , the decoding pointer continuously points to the start address of the data block; and (d) when decoding a specific data segment in the data block and a decoding error occurs, updating the cache pointer to indicate the The address where the undecoded readback data is written to the storage device corresponds to the address indicated by the decoding pointer, so as to reread the undecoded readback data corresponding to the data block from the optical disc.

本发明还包括:(e)当步骤(d)重复执行一预定次数之后,仅将所述数据区块内已成功解码的数据传递至所述主机。The present invention further includes: (e) after step (d) is repeatedly executed for a predetermined number of times, only the successfully decoded data in the data block is transmitted to the host.

步骤(a)还包括提供一实际解码指针,所述数据管理方法还包括使用所述实际解码指针来指示所述数据区块内一解码中数据区段的起始地址,以及步骤(e)依据所述解码指针与所述实际解码指针将已成功解码的数据传递至所述主机。Step (a) further includes providing an actual decoding pointer, the data management method further includes using the actual decoding pointer to indicate a start address of a data sector being decoded in the data block, and step (e) according to The decode pointer and the actual decode pointer deliver successfully decoded data to the host.

所述储存装置为一动态随机存取内存DRAM。The storage device is a dynamic random access memory DRAM.

所述光盘为一数字多功能光盘DVD、一高解析光盘HD-DVD或者一蓝光光盘BD。The optical disc is a digital versatile disc DVD, a high resolution disc HD-DVD or a Blu-ray disc BD.

此外,本发明另揭露一种光驱,其可处理一光盘的读回数据所发生的解码错误,所述光驱包含有:一储存装置,用来储存所述读回数据,所述读回数据包含有多个数据区块以及所述数据区块包含有多个数据区段;一控制电路,耦接于所述储存装置,用来控制所述储存装置的数据存取;以及一解码电路,耦接于控制电路与所述储存装置。所述控制电路包含有:一缓存指针,用来指示从所述光盘所读取的一未解码读回数据写入至所述储存装置的地址;以及一解码指针,用来指示所述读回数据内解码中的一数据区块的起始地址,其中在所述数据区块中所有数据区段被成功地解码前,所述解码指针持续地指示所述数据区块的起始地址;当所述解码电路解码所述数据区块中一特定数据区段而发生解码错误时,所述控制电路会更新所述缓存指针以指示所述未解码读回数据写入至所述储存装置的地址对应至所述解码指针所指示的地址,以重新自所述光盘读取对应所述数据区块的未解码读回数据。In addition, the present invention further discloses an optical drive, which can deal with decoding errors that occur in the read-back data of an optical disc. The optical drive includes: a storage device for storing the read-back data, and the read-back data includes There are a plurality of data blocks and the data blocks include a plurality of data sectors; a control circuit, coupled to the storage device, for controlling data access of the storage device; and a decoding circuit, coupled Connected to the control circuit and the storage device. The control circuit includes: a cache pointer, used to indicate an address for writing an undecoded readback data read from the optical disc to the storage device; and a decode pointer, used to indicate the readback a starting address of a data block in decoding within the data, wherein the decoding pointer continuously indicates the starting address of the data block until all data sectors in the data block are successfully decoded; when When the decoding circuit decodes a specific data segment in the data block and a decoding error occurs, the control circuit updates the cache pointer to indicate the address where the undecoded readback data is written to the storage device Corresponding to the address indicated by the decoding pointer, to re-read undecoded readback data corresponding to the data block from the optical disc.

当所述控制电路重复更新所述缓存指针达一预定次数之后,所述控制电路仅将所述数据区块内已成功解码的数据传递至所述主机。After the control circuit repeatedly updates the cache pointer for a predetermined number of times, the control circuit only transmits successfully decoded data in the data block to the host.

所述控制电路另包含有一实际解码指针,用来指示所述数据区块内一解码中数据区段的起始地址,以及所述控制电路依据所述解码指针与所述实际解码指针将已成功解码的数据传递至所述主机。The control circuit further includes an actual decoding pointer, which is used to indicate the start address of a data segment being decoded in the data block, and the control circuit will have successfully decoded according to the decoding pointer and the actual decoding pointer. The decoded data is passed to the host.

所述储存装置为一动态随机存取内存DRAM。The storage device is a dynamic random access memory DRAM.

所述光盘为一数字多功能光盘、一高解析光盘或者一蓝光光盘。The disc is a digital versatile disc, a high-resolution disc or a Blu-ray disc.

本发明数据管理方法与应用所述数据管理方法的光驱另提供一解码指针来取代现有解码指针的功能,而在一解码中数据区块内所有的数据区段都被成功地解码之前,本发明所揭露的解码指针会一直持续地指示所述解码中数据区块的起始地址而不会有所改变,故不会有现有技术一般地在发生解码错误时需要依据不同的情况来做不同的处理。总而言之,本发明数据管理方法与应用所述数据管理方法的光驱可降低整体系统的复杂度,且光驱处理解码错误的效能也会大幅地提升。The data management method of the present invention and the optical drive using the data management method also provide a decoding pointer to replace the function of the existing decoding pointer, and before all the data sectors in a decoding data block are successfully decoded, the present invention The decoding pointer disclosed by the invention will continuously indicate the start address of the data block being decoded without changing, so there is no need to do it according to different situations when a decoding error occurs in the prior art treated differently. All in all, the data management method of the present invention and the optical drive using the data management method can reduce the complexity of the overall system, and the performance of the optical drive in dealing with decoding errors will also be greatly improved.

附图说明 Description of drawings

图1为现有光驱的示意图。FIG. 1 is a schematic diagram of an existing optical drive.

图2为图1所示的缓存指针、解码指针以及读取指针指向储存装置中相对应地址的示意图。FIG. 2 is a schematic diagram of the cache pointer, the decode pointer and the read pointer shown in FIG. 1 pointing to corresponding addresses in the storage device.

图3为图1所示的光驱应用现有数据管理方法来处理解码错误的第一实施例的示意图。FIG. 3 is a schematic diagram of a first embodiment in which the optical drive shown in FIG. 1 applies a conventional data management method to handle decoding errors.

图4为图1所示的光驱应用现有数据管理方法来处理解码错误的第二实施例的示意图。FIG. 4 is a schematic diagram of a second embodiment in which the optical drive shown in FIG. 1 applies a conventional data management method to handle decoding errors.

图5为图1所示的光驱应用现有数据管理方法来处理解码错误的第三实施例的示意图。FIG. 5 is a schematic diagram of a third embodiment in which the optical drive shown in FIG. 1 applies an existing data management method to handle decoding errors.

图6为本发明光驱的一实施例的示意图。FIG. 6 is a schematic diagram of an embodiment of the optical drive of the present invention.

图7为图6所示的光驱应用本发明数据管理方法来处理解码错误的一实施例的示意图。FIG. 7 is a schematic diagram of an embodiment in which the optical drive shown in FIG. 6 applies the data management method of the present invention to handle decoding errors.

光驱                100、600Optical drive 100, 600

光盘                102、602CD 102, 602

储存装置            110、610storage device 110, 610

控制电路            120、620Control circuit 120, 620

解码电路            130、630Decoding circuit 130, 630

主机                104、604Host 104, 604

具体实施方式 Detailed ways

请参阅图6,图6为本发明光驱600的一实施例的示意图。光驱600的功能与操作类似于图1所示的光驱100,其同样地可处理一光盘(例如DVD)602的读回数据所发生的解码错误(decoding error)。本实施例中,光驱600包含有一储存装置610(例如动态随机存取内存)、一控制电路620以及一解码电路630。本实施例中,储存装置610是作为一环形缓冲器(ring buffer)来储存由光盘602所读取的读回数据,然而,请注意,环形缓冲器仅为储存装置610的一种实施例,对于本发明而言,储存装置610并未局限于环形缓冲器的结构。如图6所示,储存装置610的储存空间可视为划分成多个数据区块BK1~BKn,其中每一个数据区块包含有多个数据区段SC1~SCm。对数字多功能光盘来说,m值为16(亦即每一ECC区块包含有16个区段),而对蓝光光盘和高规格光盘来说,m值为32(亦即每一丛集与每一数据段均包含有32个区段),另外,n值则取决于储存装置610的储存容量,因此,若储存容量愈大,则储存装置610所能纪录的数据区块的数量亦越大(亦即n值愈大)。本发明光驱600与现有光驱100的主要不同点在于控制电路620除了包含有现有的缓存指针BP、解码指针DP以及读取指针RP,其另设置有一实际解码指针(actual decoding pointer)ADP,此外,控制电路620还提供一种新的控制机制来控制解码指针DP,其相关操作于后详述。解码电路630耦接于控制电路620与储存装置610,用来解码储存装置610中所储存的读回数据,此外,若解码电路630在解码一数据区段时产生解码错误,则解码电路630会输出一信号S来告知控制电路620,而控制电路620便会进一步地决定如何调整缓存指针BP、实际解码指针ADP以及读取指针RP。Please refer to FIG. 6 . FIG. 6 is a schematic diagram of an embodiment of an optical drive 600 of the present invention. The function and operation of the optical drive 600 are similar to the optical drive 100 shown in FIG. 1 , and it can also handle decoding errors that occur when reading back data from an optical disc (eg, DVD) 602 . In this embodiment, the optical drive 600 includes a storage device 610 (eg DRAM), a control circuit 620 and a decoding circuit 630 . In this embodiment, the storage device 610 is used as a ring buffer to store the read-back data read by the optical disc 602. However, please note that the ring buffer is only one embodiment of the storage device 610. For the present invention, the storage device 610 is not limited to the ring buffer structure. As shown in FIG. 6 , the storage space of the storage device 610 can be regarded as divided into a plurality of data blocks BK 1 -BK n , wherein each data block includes a plurality of data segments SC 1 -SC m . For Digital Versatile Discs, the value of m is 16 (that is, each ECC block contains 16 sectors), while for Blu-ray Disc and High Specification Disc, the value of m is 32 (that is, each cluster and Each data segment includes 32 segments), and the value of n depends on the storage capacity of the storage device 610. Therefore, if the storage capacity is larger, the number of data blocks that the storage device 610 can record is also greater. Larger (that is, the larger the value of n). The main difference between the optical drive 600 of the present invention and the existing optical drive 100 is that the control circuit 620 is provided with an actual decoding pointer (actual decoding pointer) ADP in addition to the existing buffer pointer BP, decoding pointer DP and read pointer RP. In addition, the control circuit 620 also provides a new control mechanism to control the decoding pointer DP, and its related operations will be described in detail later. The decoding circuit 630 is coupled to the control circuit 620 and the storage device 610, and is used to decode the read-back data stored in the storage device 610. In addition, if the decoding circuit 630 generates a decoding error when decoding a data segment, the decoding circuit 630 will Output a signal S to inform the control circuit 620, and the control circuit 620 will further determine how to adjust the buffer pointer BP, the actual decoding pointer ADP and the read pointer RP.

缓存指针BP和读取指针RP的功能与运作方式和现有技术相同,在此不另赘述,而对于解码指针DP来说,控制电路620是控制其指示储存装置610中正在解码的数据区块的起始地址,请注意,不同于现有技术的是,在所述解码中的数据区块内所有的数据区段(SC1~SCm)都被成功地解码之前,解码指针DP会一直持续地指示所述解码中的数据区块的起始地址而不会有所改变。此外,控制电路620另使用实际解码指针ADP来指示在所述解码中的数据区块内目前正进行解码的数据区段的起始位置,其作用则和现有解码指针DP相同,换句话说,由于解码指针DP的运作在本实施例中不同于其原本操作,故新增的实际解码指针ADP便用来取代原先解码指针DP的功能。请注意,如业界所公知,在正常操作(未发生解码错误)下,解码指针DP以及读取指针RP所对应的地址的移动并不会超越缓存指针BP所对应的地址,以及读取指针RP所对应的地址的移动并不会超越解码指针DP所对应的地址。The functions and operation methods of the buffer pointer BP and the read pointer RP are the same as those of the prior art, and will not be repeated here. For the decoding pointer DP, the control circuit 620 controls it to indicate the data block being decoded in the storage device 610 Please note that different from the prior art, the decoding pointer DP will always be The starting address of the data block being decoded is continuously indicated without changing. In addition, the control circuit 620 also uses the actual decoding pointer ADP to indicate the starting position of the data segment currently being decoded in the data block being decoded, and its function is the same as that of the existing decoding pointer DP, in other words , since the operation of the decoding pointer DP in this embodiment is different from its original operation, the newly added actual decoding pointer ADP is used to replace the function of the original decoding pointer DP. Please note that as known in the industry, under normal operation (no decoding error occurs), the address corresponding to the decoding pointer DP and the read pointer RP will not move beyond the address corresponding to the cache pointer BP and the read pointer RP The movement of the corresponding address will not exceed the address corresponding to the decoding pointer DP.

请同时参阅图6和图7,图7为图6所示的光驱600应用本发明数据管理方法来处理解码错误的一实施例的示意图。在时间T71时,缓存指针BP是指示从光盘602上读取的一未解码读回数据欲写入至储存装置610的起始地址为数据区段SCc(c的数值小于或等于m的数值)的下一数据区段的起始地址,解码指针DP则指示解码中的数据区块BKi+2的起始地址,实际解码指针ADP是指示解码中的数据区段SCb(b的数值小于或等于m的数值)的起始地址,而读取指针RP是指示目前等待着被主机604读取的己解码读回数据的地址,亦即数据区段SCa(a的数值小于或等于m的数值)的起始地址。当解码电路630对数据区段SCb的信息进行解码而发生解码错误时,解码电路630会输出信号S来告知控制电路620,因此,在时间T72时,控制电路620仅需更新缓存指针BP与实际解码指针ADP,以使其均指向数据区块BKi+2的起始地址,因此,光驱600便会依据更新后的缓存指针BP来重新自光盘602上将数据区块BKi+2起的相对应未解码读回数据加载至储存装置610中,此外,光驱600另会依据更新后的实际解码指针ADP而自数据区块BKi+2中第一个数据区段SC1起开始进行解码的操作。由于数据区块BKi+2中所有的数据区段尚未成功地完成解码,所以,解码指针DP仍会持续地对应数据区块BKi+2的起始地址。Please refer to FIG. 6 and FIG. 7 at the same time. FIG. 7 is a schematic diagram of an embodiment in which the optical drive 600 shown in FIG. 6 applies the data management method of the present invention to handle decoding errors. At time T71 , the cache pointer BP indicates that an undecoded read-back data read from the optical disc 602 is to be written into the storage device 610. The starting address is the data segment SC c (the value of c is less than or equal to m value), the decoding pointer DP then indicates the starting address of the data block BK i+2 in decoding, and the actual decoding pointer ADP indicates the data segment SC b (b's in decoding) The value is less than or equal to the starting address of m), and the read pointer RP indicates the address of the decoded read-back data waiting to be read by the host computer 604 at present, that is, the data segment SC a (the value of a is less than or equal to the value of m) start address. When the decoding circuit 630 decodes the information of the data segment SC b and a decoding error occurs, the decoding circuit 630 will output a signal S to inform the control circuit 620, therefore, at time T72 , the control circuit 620 only needs to update the buffer pointer BP and the actual decoding pointer ADP, so that they both point to the start address of the data block BK i+2 , therefore, the optical drive 600 will reload the data block BK i+2 from the optical disc 602 according to the updated buffer pointer BP The corresponding undecoded read-back data from the start is loaded into the storage device 610. In addition, the optical drive 600 will start from the first data segment SC 1 in the data block BK i+2 according to the updated actual decoding pointer ADP Perform decoding operations. Since all the data segments in the data block BK i+2 have not been successfully decoded, the decoding pointer DP will still continuously correspond to the start address of the data block BK i+2 .

在时间T73时,缓存指针BP是指示从光盘602上读取的一未解码读回数据欲写入至储存装置610的起始地址为数据区段SCe(e的数值小于或等于m的数值)的下一数据区段的起始地址,解码指针DP则继续指示数据区块BKi+2的起始地址,实际解码指针ADP则指示解码中的数据区段SCm(其为数据区块BKi+2的最后一个数据区段)的起始地址,而读取指针RP是指示目前等待着被主机604读取的己解码读回数据的地址,亦即数据区段SCd(d的数值小于或等于m的数值)的起始地址。当解码电路630成功地对数据区段SCm的信息进行解码后,表示数据区块BKi+2中所有的数据区段皆成功地完成解码,所以,在时间T74时,控制电路620便一并更新解码指针DP与实际解码指针ADP,以使其均指向数据区块BKi+3的起始地址,因此,光驱600便会依据更新后的实际解码指针ADP而自数据区块BKi+3中第一个数据区段SC1起开始进行解码的操作。如上所述,对于光驱600而言,当其在解码时发生解码错误,光驱600仅调整两个指针(亦即缓存指针BP与实际解码指针ADP)。At time T73 , the buffer pointer BP indicates that the start address of an undecoded read-back data read from the optical disc 602 to be written into the storage device 610 is the data segment SC e (the value of e is less than or equal to m value), the decoding pointer DP then continues to indicate the starting address of the data block BK i+2 , and the actual decoding pointer ADP then indicates the data segment SC m in decoding (it is the data area The starting address of the last data segment of the block BK i+2 ), and the read pointer RP indicates the address of the decoded read-back data waiting to be read by the host 604 at present, that is, the data segment SC d (d value less than or equal to the value of m) start address. When the decoding circuit 630 successfully decodes the information of the data segment SC m , it means that all the data segments in the data block BK i+2 are successfully decoded. Therefore, at time T74 , the control circuit 620 Update the decoding pointer DP and the actual decoding pointer ADP together, so that they both point to the start address of the data block BK i+3 . Therefore, the optical drive 600 will start from the data block BK i according to the updated actual decoding pointer ADP. The decoding operation starts from the first data segment SC 1 in +3 . As mentioned above, for the optical drive 600 , when a decoding error occurs during decoding, the optical drive 600 only adjusts two pointers (ie, the buffer pointer BP and the actual decoding pointer ADP).

本实施例中,若是某一解码中数据区块一直无法成功地完成解码的操作,则控制电路620可适当地调整读取指针RP、实际解码指针ADP与解码指针DP来直接放弃所述数据区块的所有信息而不将其传递至主机604,亦即即使所述数据区块中已有部分数据区段完成解码,对应所述部分数据区段的已解码读回数据仍会被舍弃。此外,若是某一解码中数据区块一直无法成功地完成解码的操作,则控制电路620也可依据实际解码指针ADP与解码指针DP来将所述数据区块中已可成功解码的部分数据区段的已解码读回数据传送给主机604。In this embodiment, if a data block in decoding cannot be successfully decoded, the control circuit 620 can properly adjust the read pointer RP, the actual decoding pointer ADP and the decoding pointer DP to directly discard the data block All the information of the block is not transmitted to the host 604, that is, even if some data segments in the data block have been decoded, the decoded read-back data corresponding to the part of the data segment will still be discarded. In addition, if a data block in decoding cannot be successfully decoded, the control circuit 620 can also convert the part of the data area that has been successfully decoded in the data block according to the actual decoding pointer ADP and the decoding pointer DP. The segment's decoded readback data is sent to the host 604 .

相对于现有技术,本发明数据管理方法与应用所述数据管理方法的光驱另提供一解码指针来取代现有解码指针的功能,而在一解码中数据区块内所有的数据区段都被成功地解码之前,本发明所揭露的解码指针会一直持续地指示所述解码中数据区块的起始地址而不会有所改变,故不会有现有技术一般地在发生解码错误时需要依据不同的情况来做不同的处理。总而言之,本发明数据管理方法与应用所述数据管理方法的光驱可降低整体系统的复杂度,且光驱处理解码错误的效能也会大幅地提升。Compared with the prior art, the data management method of the present invention and the optical drive using the data management method provide a decoding pointer to replace the function of the existing decoding pointer, and in a decoding process, all data segments in the data block are Before successful decoding, the decoding pointer disclosed in the present invention will continue to indicate the start address of the data block being decoded without changing, so there is no need for prior art when decoding errors occur. According to different situations to do different treatment. All in all, the data management method of the present invention and the optical drive using the data management method can reduce the complexity of the overall system, and the performance of the optical drive in dealing with decoding errors will also be greatly improved.

以上所述仅为本发明的较佳实施例,凡依据本发明所做的均等变化与修饰,皆应涵盖在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. data managing method of handling the readback data generation decoding error of CD, described readback data is stored in the CD-ROM drive in the storage device, described readback data includes a plurality of block, each block includes a plurality of data segments, it is characterized in that described data managing method includes:
(a) provide a buffer pointers, an actual decoding pointer and a decoding pointer;
(b) readback data of not decoding that uses described buffer pointers to indicate to read from described CD writes to the address of described storage device;
(c) use described actual decoding pointer to indicate the start address of data segments in the interior decoding of described block;
(d) use described decoding pointer to indicate the start address of the block in the decoding in the described readback data, before wherein all data segments were successfully decoded in described block, described decoding pointer was indicated the start address of described block constantly; And
(e) when when a certain data blocks in the described block of decoding decoding error taking place, upgrade described buffer pointers and correspond to the indicated address of described decoding pointer, to read the not decoding readback data of corresponding described block again from described CD with the address of indicating the described readback data of not decoding to write to described storage device.
2. method according to claim 1 is characterized in that, also comprises:
(f) after step (e) repeats a pre-determined number, according to described decoding pointer and described actual decoding pointer only with the success data transfer of decoding described main frame extremely in the described block.
3. data managing method according to claim 1 is characterized in that: described storage device is a DRAM (Dynamic Random Access Memory) DRAM.
4. data managing method according to claim 1 is characterized in that: described CD is a digital versatile disc DVD, a high analytical disc HD-DVD or a Blu-ray Disc BD.
5. CD-ROM drive, the decoding error that readback data took place that it can handle CD is characterized in that, described CD-ROM drive includes:
One storage device is used for storing described readback data, and described readback data includes a plurality of block and described block includes a plurality of data segments;
One control circuit is coupled to described storage device, is used for controlling the data access of described storage device; And
One decoding circuit is coupled to control circuit and described storage device;
Described control circuit includes:
One buffer pointers is used to refer to the readback data of not decoding that reads from described CD and writes to the address of described storage device;
One actual decoding pointer is used to refer in the described block start address of data segments in the decoding; And
One decoding pointer is used to refer to the start address of the block in the decoding in the described readback data, and wherein all data segments are by before the decoding successfully in described block, and described decoding pointer is indicated the start address of described block constantly;
Wherein decode a certain data blocks in the described block and decode when described decoding circuit
During mistake, described control circuit can upgrade described buffer pointers and write to indicate the described readback data of not decoding
Go into to correspond to the indicated address of described decoding pointer to the address of described storage device, with again from institute
State the not decoding readback data that CD reads corresponding described block.
6. CD-ROM drive according to claim 5, it is characterized in that: when described control circuit repeats to upgrade after described buffer pointers reaches a pre-determined number, described control circuit according to described decoding pointer and described actual decoding pointer only with the success data transfer of decoding described main frame extremely in the described block.
7. CD-ROM drive according to claim 5 is characterized in that: described storage device is a DRAM (Dynamic Random Access Memory) DRAM.
8. CD-ROM drive according to claim 5 is characterized in that: described CD is a digital versatile disc, a high analytical disc or a Blu-ray Disc.
CNB2005100770816A 2005-06-15 2005-06-15 Data management method for processing decoding error of read back data of optical disk and optical disk drive Expired - Fee Related CN100411044C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100770816A CN100411044C (en) 2005-06-15 2005-06-15 Data management method for processing decoding error of read back data of optical disk and optical disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100770816A CN100411044C (en) 2005-06-15 2005-06-15 Data management method for processing decoding error of read back data of optical disk and optical disk drive

Publications (2)

Publication Number Publication Date
CN1881445A CN1881445A (en) 2006-12-20
CN100411044C true CN100411044C (en) 2008-08-13

Family

ID=37519606

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100770816A Expired - Fee Related CN100411044C (en) 2005-06-15 2005-06-15 Data management method for processing decoding error of read back data of optical disk and optical disk drive

Country Status (1)

Country Link
CN (1) CN100411044C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9497466B2 (en) 2011-01-17 2016-11-15 Mediatek Inc. Buffering apparatus for buffering multi-partition video/image bitstream and related method thereof
US8990435B2 (en) * 2011-01-17 2015-03-24 Mediatek Inc. Method and apparatus for accessing data of multi-tile encoded picture stored in buffering apparatus
EP2740270A4 (en) 2011-10-31 2015-04-29 Mediatek Inc Apparatus and method for buffering context arrays referenced for performing entropy decoding upon multi-tile encoded picture and related entropy decoder
CN107728943B (en) * 2017-10-09 2020-09-18 华中科技大学 A method for delaying generation of verification disc and corresponding data recovery method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206185A (en) * 1997-06-13 1999-01-27 日本电气株式会社 A sync detector capable of detecting the position of a frame without a sync signal within a frame
JP2001118340A (en) * 1999-10-20 2001-04-27 Sony Corp Device and method for recording and reproduction and recording medium
US20040103360A1 (en) * 2002-10-29 2004-05-27 Takaro Mori Information recording and reproducing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1206185A (en) * 1997-06-13 1999-01-27 日本电气株式会社 A sync detector capable of detecting the position of a frame without a sync signal within a frame
JP2001118340A (en) * 1999-10-20 2001-04-27 Sony Corp Device and method for recording and reproduction and recording medium
US20040103360A1 (en) * 2002-10-29 2004-05-27 Takaro Mori Information recording and reproducing apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Method for shortening the MOB_TRF_IND messagethrough reducing size of the CID field by replacing it with aShortBasic CID. Sunny Chang,Changhoi Koo,Taein Hyon,Yunsang Park.IEEE C802.16e-04/92r1(http://www.ieee802.org/16/tge/). 2004 *

Also Published As

Publication number Publication date
CN1881445A (en) 2006-12-20

Similar Documents

Publication Publication Date Title
CN1299193C (en) System and method for processing write-in in HDD using 4K block size
US6363511B1 (en) Device and method for decoding data streams from storage media
JP2003346432A (en) Data storage device and data processing method
US10678442B2 (en) Disk drive that efficiently handles random mixed-R/W command-streams
US7395488B2 (en) System and method for efficient use of memory device bandwidth
CN100337271C (en) Method for writing streaming audiovisual data to a disk drive
TW201407968A (en) Data processing system with retained sector reprocessing
JP2004103127A (en) Method for rearranging sectors of information recording medium and information storage device
US6651208B1 (en) Method and system for multiple column syndrome generation
CN108630232A (en) Disk set, its control method and controller
CN100411044C (en) Data management method for processing decoding error of read back data of optical disk and optical disk drive
US20110022793A1 (en) Systems And Methods For Accessing Hard Disk Drives
US20070189137A1 (en) Rotating disk storage device and recording method
US8145839B2 (en) Raid—5 controller and accessing method with data stream distribution and aggregation operations based on the primitive data access block of storage devices
US9299387B2 (en) Magnetic disk apparatus, controller and data processing method
EP2605121B1 (en) Systems and methods for handling out of order reporting in a storage device
US8559280B2 (en) Optical disk drive and method for data recording of optical disk drives
US20050240750A1 (en) Interleaved mapping method and apparatus for accessing memory
US20080065825A1 (en) Optical storage device and data storage method thereof
JP2010287128A (en) Controller, storage medium, and information control method
JP2008117491A (en) Recording device, recording method and program
US20070011576A1 (en) Data managing method and optical disc drive for handling an decoding error of a readback data retrieved from an optical disc
CN100454425C (en) Method and apparatus for selectively rebuffering and decoding a portion of a data block
US9710197B2 (en) Storage device, controller, and method
US7076579B2 (en) Structure and method for multi-section management of a buffer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: MEDIATEK ( HEFEI ) CO., LTD.

Free format text: FORMER OWNER: MEDIATEK INC.

Effective date: 20090619

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090619

Address after: Anhui Province Information Park of Hefei high tech Development Zone E building 3-5 layer

Patentee after: MediaTek (Hefei) Inc.

Address before: Hsinchu Science Industrial Park, Taiwan

Patentee before: MediaTek.Inc

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080813

Termination date: 20190615