[go: up one dir, main page]

CN1877728A - Data Recovery Method for Optical Discs with Damaged Table of Contents - Google Patents

Data Recovery Method for Optical Discs with Damaged Table of Contents Download PDF

Info

Publication number
CN1877728A
CN1877728A CN 200510076173 CN200510076173A CN1877728A CN 1877728 A CN1877728 A CN 1877728A CN 200510076173 CN200510076173 CN 200510076173 CN 200510076173 A CN200510076173 A CN 200510076173A CN 1877728 A CN1877728 A CN 1877728A
Authority
CN
China
Prior art keywords
section
last
block
catalogue listing
exist
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
CN 200510076173
Other languages
Chinese (zh)
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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CN 200510076173 priority Critical patent/CN1877728A/en
Publication of CN1877728A publication Critical patent/CN1877728A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data recovery method, which utilizes an optical disk drive to recover data on an optical disk with a damaged directory table area. The method includes identifying a last valid directory table block from the directory table area, and finding a last known segment according to the directory table block. The last known segment is considered a last possible segment. After the judgment, if an area of the last possible sector recording at least one sector of the disc control block is full, detecting whether a next sector exists. If the next sector exists, the detected next sector is regarded as the last possible sector again until the last possible sector with full areas for recording the multiple sectors of the disc control blocks is found.

Description

针对具有损坏的目录表的光盘的数据复原方法Data Recovery Method for Optical Discs with Damaged Table of Contents

技术领域technical field

本发明关于一种数据复原方法,该方法利用一光盘驱动器(Optical discdrive)以复原一具有一损坏的目录表(Table-of-contents,TOC)区域的光盘(Optical disc)上的数据。The present invention relates to a data restoration method, which uses an optical disc drive (Optical disc drive) to restore data on an optical disc (Optical disc) with a damaged Table-of-contents (TOC) area.

背景技术Background technique

每种供数据记录的光学记录媒体,都具备一区域来存储区段(session)的数据。例如,在DVD+R光盘上,区段数据存储于一目录表区域中。当使用者放置一DVD+R光盘到一光盘驱动器中时,该光盘驱动器读取该目录表区域中一最新的目录表区块(block)来取得区段的数据。然而,该最新的目录表区块有时会发生遗失、不能读取或数据不正确的情形。如果使用者将出现上述情况的光盘放入该光盘驱动器中,光盘驱动器会由于区段数据错误,而无法读取光盘中的数据。如此一来,此张光盘中所存储的数据虽然完整,仍然无法被光盘驱动器取得。Each optical recording medium for data recording has an area for storing session data. For example, on a DVD+R disc, session data is stored in a table of contents area. When a user puts a DVD+R disc into an optical disc drive, the optical disc drive reads a latest table of contents block (block) in the table of contents area to obtain the data of the session. However, the latest table of contents block is sometimes lost, unreadable or incorrect in data. If the user puts the optical disc with the above situation into the optical disc drive, the optical disc drive will not be able to read the data in the optical disc due to sector data errors. As a result, although the data stored in this CD is complete, it still cannot be obtained by the CD drive.

为了成功读取此种光盘中的数据,本发明提供一种数据复原方法,从光盘的其他存储区域找到正确有效的区段数据,使该光盘中所存储的数据,仍可以被光盘驱动器取得。In order to successfully read the data in the optical disc, the present invention provides a data recovery method, which finds correct and valid segment data from other storage areas of the optical disc, so that the data stored in the optical disc can still be obtained by the optical disc drive.

发明内容Contents of the invention

本发明提供一种数据复原方法,该方法利用一光盘驱动器以复原一具有一损坏的目录表区域的光盘上的数据。The present invention provides a data restoration method, which utilizes an optical disk drive to restore data on an optical disk with a damaged table of contents area.

该方法为,首先,从该目录表区域中,识别一最后有效的目录表区块(Latest valid TOC block)。接着,根据该最后有效的目录表区块,找出一最后已知的区段(Last known session),并且将该最后已知的区段视为一最后可能存在的区段(Last possible session)。判断供记录该最后可能存在的区段的至少一区段光盘控制区块(Session disc control block,SDCB)的一区域是否已满载。如判断结果为肯定,则基于该最后可能存在的区段的区段光盘控制区块检测一下一区段(Next session)是否存在。若该下一区段存在,则重新将该检测到的下一区段视为该最后可能存在的区段,并且重复上述判断步骤直到找到一最后的区段,亦即,该最后的区段的记录该多个区段光盘控制区块的区域未满载。The method is, firstly, identifying a last valid TOC block (Latest valid TOC block) from the TOC area. Then, find out a last known section (Last known session) according to the last valid table of contents block, and regard the last known section as a last possible existing section (Last possible session) . It is judged whether an area of at least one session disc control block (Session disc control block, SDCB) for recording the last possible session is full. If the judgment result is affirmative, then check whether the next session (Next session) exists based on the segment disc control block of the last possible segment. If the next section exists, then the detected next section is regarded as the last possible section again, and the above-mentioned judging steps are repeated until a final section is found, that is, the last section The area for recording the control block of the multi-session disc is not full.

本发明的数据复原方法,运用光盘利用不同区域存储数据的特性,复原于目录表区域中毁损的区段数据。当目录表区域毁损时,可从光盘的其他区域,重新取得区段数据,让使用者可持续使用该光盘并且记录数据于其上。The data restoration method of the present invention utilizes the characteristics of storing data in different regions of the optical disk to restore the damaged segment data in the table of contents region. When the table of contents area is damaged, the segment data can be retrieved from other areas of the optical disc, so that the user can continue to use the optical disc and record data on it.

关于本发明的优点与精神可以藉由以下的发明详述及附图得到进一步的了解。The advantages and spirit of the present invention can be further understood through the following detailed description of the invention and the accompanying drawings.

附图说明Description of drawings

图1表示一流程图,说明根据本发明的一较佳具体实施例的数据复原方法的程序。FIG. 1 shows a flowchart illustrating the procedure of a data restoration method according to a preferred embodiment of the present invention.

图2表示一流程图,说明光盘驱动器将该复原的区段数据纪录至光盘中的程序。FIG. 2 shows a flow chart illustrating the procedure for the optical disc drive to record the recovered segment data into the optical disc.

主要元件符号说明Description of main component symbols

S10-S16:流程步骤S10-S16: Process steps

S20-S26:流程步骤S20-S26: Process steps

具体实施方式Detailed ways

本发明旨在提供一种数据复原方法,该方法利用一光盘驱动器以复原一具有一损坏的目录表区域的光盘上的数据。The present invention aims to provide a data restoration method, which uses an optical disk drive to restore data on an optical disk with a damaged table of contents area.

该方法为,首先,从该目录表区域中,识别一最后有效的目录表区块。接着,根据该最后有效的目录表区块,找出一最后已知的区段,并且将该最后已知的区段视为一最后可能存在的区段。判断供记录该最后可能存在的区段的至少一区段光盘控制区块的一区域是否已满载。如判断结果为肯定,则基于该最后可能存在的区段的区段光盘控制区块内的数据,检测一下一区段是否存在。若该下一区段存在,则重新将该检测到的下一区段视为该最后可能存在的区段,并且重复上述判断步骤直到找到一最后的区段,亦即,该最后的区段的记录该多个区段光盘控制区块的区域未满载。The method is, firstly, identifying a last valid directory block from the directory area. Then, according to the last valid table of contents block, a last known segment is found, and the last known segment is regarded as a last possible existing segment. It is judged whether an area of the control block of the at least one session optical disc for recording the last possible session is full. If the judging result is affirmative, then based on the data in the sector disc control block of the last possible sector, it is detected whether the next sector exists. If the next section exists, then the detected next section is regarded as the last possible section again, and the above-mentioned judging steps are repeated until a final section is found, that is, the last section The area for recording the control block of the multi-session disc is not full.

本发明藉由判断光盘的区段中存储区段光盘控制区块的区域满载与否,来推断是否存在下一区段。这是因为当该存储区段光盘控制区块的区域满载后,该区段即无法记录更多的片段数据(Fragment information),因此该区段应为封闭区段。当数据无法再记录于一封闭区段时,应有一新区段开放于该封闭区段之后,用以存储更多数据于光盘上。The present invention infers whether there is a next segment by judging whether the area storing the segment disc control block in the segment of the optical disc is full or not. This is because when the area of the control block of the storage segment optical disc is full, the segment cannot record more fragment information (Fragment information), so the segment should be a closed segment. When data can no longer be recorded in a closed section, a new section should be opened after the closed section to store more data on the optical disc.

请参阅图1,图1表示一流程图,说明根据本发明的一较佳具体实施例的数据复原方法的程序。于此较佳具体实施例中,该光盘为一DVD+R光盘。Please refer to FIG. 1. FIG. 1 shows a flow chart illustrating the procedure of a data recovery method according to a preferred embodiment of the present invention. In this preferred embodiment, the disc is a DVD+R disc.

首先,执行步骤S10,自该目录表区域处,提取一最后实际存在的目录表区块(Last physical TOC block)作为一现行处理的目录表区块。接着执行步骤S11,判断该现行处理的目录表区块是否有效。如果该现行处理的目录表区块无效,则执行步骤S12,提取该现行处理的目录表区块的前一个目录表区块,重新将该前一个目录表区块视为该现行处理的目录表区块,并且重复步骤S11到步骤S12直到找到一有效的目录表区块为止。如果该现行处理的目录表区块有效,则执行步骤S13,将该现行处理的目录表区块视为该最后有效的目录表区块,并根据该最后有效的目录表区块,找出一最后已知的区段。将该最后已知的区段视为一最后可能存在的区段。随即执行步骤S14,判断供记录该最后可能存在的区段的至少一区段光盘控制区块的一区域是否已满载,于本实施例中,该区域即为该最后可能存在的区段中的一内部光盘区段识别区域(Inner disc/session identification zone)。若S14的结果为否定,则执行步骤S16,结束数据复原程序。若S14的结果为肯定,则执行步骤S15,检测一下一区段否存在。如下一区段不存在,则执行步骤S16,结束数据复原程序。如下一区段存在,则重新将该检测到的下一区段视为该最后可能存在的区段,并且重复步骤S14到步骤S15直到步骤S15的结果为否定为止。First, step S10 is executed to extract a last physical TOC block from the TOC area as a currently processed TOC block. Then step S11 is executed to determine whether the currently processed table of contents block is valid. If the table of contents block of this current processing is invalid, then execute step S12, extract the previous table of contents block of the table of contents block of this current processing, regard this previous table of contents block as the table of contents of this current processing again block, and repeat steps S11 to S12 until a valid table of contents block is found. If the table of contents block of this current processing is valid, then execute step S13, the table of contents block of this current processing is regarded as this last effective table of contents block, and according to this last effective table of contents block, find out a Last known segment. The last known segment is considered a last possible segment. Then step S14 is executed to determine whether an area of at least one section optical disc control block for recording the last possible section is fully loaded. In this embodiment, this area is the last possible section in the - Inner disc/session identification zone. If the result of S14 is negative, execute step S16 to end the data recovery procedure. If the result of S14 is affirmative, then execute step S15 to check whether the next section exists. If the next section does not exist, execute step S16 to end the data restoration procedure. If the next section exists, the detected next section is regarded as the last possible section again, and step S14 to step S15 are repeated until the result of step S15 is negative.

当光盘驱动器执行上述的数据复原程序完毕,即可得到完整的区段数据。并且,光盘驱动器可依据这些区段数据,读取光盘中每一区段所存储的数据。以下将说明光盘驱动器将该复原的区段数据纪录至该光盘中的程序。When the optical disk drive completes the above-mentioned data recovery procedure, the complete segment data can be obtained. Moreover, the optical disc drive can read the data stored in each segment of the optical disc according to the segment data. The procedure for recording the restored segment data into the optical disc by the optical disc drive will be described below.

请参阅图2,图2表示一流程图,说明光盘驱动器将该复原的区段数据纪录至光盘中的程序。该光盘驱动器中包含一光盘文件(Disc file)用以存储该最后有效的目录表区块。首先,当该光盘驱动器从该目录表区域中,识别出该最后有效的目录表区块后,即执行步骤S20,存储该最后有效的目录表区块至该光盘文件中。当该光盘驱动器判断出该最后可能存在的区段中,供记录至少一区段光盘控制区块的区域已满载,即执行步骤S22,将该最后可能存在的区段视为一封闭的区段。随即执行步骤S24,根据该最后可能存在的区段的区段光盘控制区块,更新或附加关于该最后可能存在的区段的一管理信息(Management information)至该光盘驱动器中的该光盘文件内。最后,执行步骤S26,该光盘驱动器将该光盘文件记录至该光盘的该目录表区域中,成为一新目录表区块。Please refer to FIG. 2 . FIG. 2 shows a flow chart illustrating the procedure for the optical disc drive to record the recovered segment data into the optical disc. The optical disc drive includes a disc file (Disc file) for storing the last valid table of contents block. Firstly, after the optical disk drive recognizes the last valid directory block from the table of contents area, step S20 is executed to store the last valid directory table block into the optical disc file. When the optical disc drive determines that the area for recording at least one disc control block in the last possible section is fully loaded, step S22 is executed, and the last possible section is regarded as a closed section . Immediately execute step S24, according to the section disc control block of the last possible section, update or add a management information (Management information) about the last possible section to the disc file in the optical disc drive . Finally, step S26 is executed, the optical disc drive records the optical disc file into the table of contents area of the optical disc to become a new table of contents block.

该光盘驱动器也能记录一新数据至该光盘上。并且,在记录该新数据至该光盘上的过程中,关于该新数据的管理信息可附加至该光盘驱动器中的该光盘文件内。在完成记录该新数据至该光盘上之后,该光盘驱动器将该光盘文件记录至该光盘的该目录表区域中,成为一新目录表区块。The optical disc drive can also record a new data to the optical disc. And, during the process of recording the new data on the optical disc, management information about the new data can be appended to the optical disc file in the optical disc drive. After finishing recording the new data on the optical disc, the optical disc drive records the optical disc file into the table of contents area of the optical disc to become a new table of contents block.

藉由以上较佳具体实施例的详述,希望能更加清楚描述本发明的特征与精神,而并非以上述所公开的较佳具体实施例来对本发明的范畴加以限制。相反地,其目的是希望能涵盖各种改变及等效性的安排于本发明的权利要求的范畴内。Through the above detailed description of the preferred embodiments, it is hoped that the features and spirit of the present invention can be described more clearly, rather than limiting the scope of the present invention by the preferred embodiments disclosed above. On the contrary, the intention is to cover various modifications and equivalent arrangements within the scope of the appended claims.

Claims (8)

1, a kind of data recovery method, this method utilize a CD drive to restore data that have on the CD in a catalogue listing zone of damaging, and this method comprises the following step:
(a) from this catalogue listing zone, identification one last effectively catalogue listing block;
(b) according to should last effectively catalogue listing block, find out a last known section, and will be somebody's turn to do at last that known section is considered as a section that may exist at last;
(c) whether judgement is fully loaded for a zone of at least one section CD control block of this section that may exist at last of record;
(d) if whether the result of step (c) for certainly, controls block detection one next section based on the section CD of this section that may exist at last and exists; And
(e) if the result of step (d) for certainly, is considered as the section that this may exist at last with this detected next section again, and repeating step (c) arrives step (e) till the result of step (c) is to negate.
2, the method for claim 1, wherein in step (a), an optical file is opened in this CD drive should last effectively catalogue listing block with storage.
3, method as claimed in claim 2, wherein step (d) and execution the following step:
This section that may exist at last is considered as the section of a sealing, and according to the section CD of this section that may exist at last control block, upgrade or an additional management information this optical file to this CD drive about this section that may exist at last in.
4, method as claimed in claim 3, wherein this CD drive can be recorded to this optical file in this catalogue listing zone of this CD and become a new directory list area piece.
5, method as claimed in claim 3, this CD drive and write down a new data to this CD wherein, in the process in this new data of record to this CD, be attached in this optical file in this CD drive about the management information of this new data, in finish this new data of record to this CD after, this optical file is recorded to and becomes a new directory list area piece in this catalogue listing zone of this CD.
6, the method for claim 1, wherein step (a) is carried out with the following step:
(a1) this catalogue listing location is certainly extracted the catalogue listing block of a last in esse catalogue listing block as an existing processing;
(a2) judge whether the catalogue listing block of this existing processing is effective;
(a3) if the result of step (a2) for certainly, is considered as this last effectively catalogue listing block with the catalogue listing block of this existing processing; And
(a4) if the result of step (a2) is for negating, extract the previous catalogue listing block of the catalogue listing block of this existing processing, again the catalogue listing block section of being extracted in the step (a4) is considered as the catalogue listing block of this existing processing, and repeating step (a2) arrives step (a4) till the result of step (a2) is to affirm.
7, the method for claim 1, wherein this CD is a DVD+R CD.
8, the method for claim 1, wherein at least one section CD control of this of this section that may exist at last block is recorded in the inner disc section identified region of this section that may exist at last.
CN 200510076173 2005-06-08 2005-06-08 Data Recovery Method for Optical Discs with Damaged Table of Contents Pending CN1877728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510076173 CN1877728A (en) 2005-06-08 2005-06-08 Data Recovery Method for Optical Discs with Damaged Table of Contents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510076173 CN1877728A (en) 2005-06-08 2005-06-08 Data Recovery Method for Optical Discs with Damaged Table of Contents

Publications (1)

Publication Number Publication Date
CN1877728A true CN1877728A (en) 2006-12-13

Family

ID=37510132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510076173 Pending CN1877728A (en) 2005-06-08 2005-06-08 Data Recovery Method for Optical Discs with Damaged Table of Contents

Country Status (1)

Country Link
CN (1) CN1877728A (en)

Similar Documents

Publication Publication Date Title
US7274639B1 (en) Disk drive performing multi-level prioritization of entries in a suspect sector list to identify and relocate defective data sectors
CN1739158A (en) Method for managing defective areas on write-once optical recording medium and optical recording medium using the method
US8472296B2 (en) Information recording medium, recording/reproducing apparatus, and recording/reproducing method to distinguish between an original recording block and a replacement recording block
WO2001093035A3 (en) Defect management system for write-once storage disk
TW463145B (en) Information recording medium, information recording and reproduction method, and information recording and reproduction apparatus
CN1669078A (en) Information storage medium on which drive data is recorded and method of recording information on the information storage medium
KR100858469B1 (en) Magnetic disk control device, magnetic disk device and read disturbance repair method
EP1227480A3 (en) Method and apparatus for reading and writing information, and program storage medium for storage for storing read and write procedure program
JP4074806B2 (en) Bad sector search method, data recording apparatus, and program
US7617419B2 (en) Apparatus and method for managing random-directional scratches on hard disk
CN1877728A (en) Data Recovery Method for Optical Discs with Damaged Table of Contents
KR101024921B1 (en) A method of managing a defective area on an optical record carrier that can be written once, and an optical record carrier using the same
WO2006031052A2 (en) Recording medium, and method and apparatus of recording and reproducing data on the same
US20060280087A1 (en) Method for recovering data from optical disc with damaged toc
CN101271714B (en) Information recording/reproducing method
EP1026682A1 (en) System and method for selectively recovering areas on a disc marked as unuseable
CN100587829C (en) Information recording and reproducing device and information recording method
TWI426506B (en) Data recording method and data recording apparatus
JP4484777B2 (en) Optical disc recording / reproducing apparatus
CN101051502B (en) Method for recovering damaged optical disc table of contents in optical disc
WO2005020238A1 (en) Information recorder/reproducer, information recording/reproducing method and program
US20080098050A1 (en) Defect Management for Storage Media
CN1848252A (en) Method for recording data to optical information recording medium in which calibration area is fully loaded
JP3641254B2 (en) Computer system
EP1553597A2 (en) Method and apparatus for updating data on a disk storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication