CN101399067B - Recovery method for write-in error of CD-disc - Google Patents

Recovery method for write-in error of CD-disc Download PDF

Info

Publication number
CN101399067B
CN101399067B CN2007101619184A CN200710161918A CN101399067B CN 101399067 B CN101399067 B CN 101399067B CN 2007101619184 A CN2007101619184 A CN 2007101619184A CN 200710161918 A CN200710161918 A CN 200710161918A CN 101399067 B CN101399067 B CN 101399067B
Authority
CN
China
Prior art keywords
data
file system
fragment
write
disc
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
CN2007101619184A
Other languages
Chinese (zh)
Other versions
CN101399067A (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.)
Sunplus Technology Co Ltd
Original Assignee
Sunplus Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sunplus Technology Co Ltd filed Critical Sunplus Technology Co Ltd
Priority to CN2007101619184A priority Critical patent/CN101399067B/en
Publication of CN101399067A publication Critical patent/CN101399067A/en
Application granted granted Critical
Publication of CN101399067B publication Critical patent/CN101399067B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Recording Or Reproduction (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention provides a disc writing error restoration method which can restore normal recorded data of the disc when writing errors happen to the disc, wherein the disc comprises a data segment and a video index. The method comprises the following steps: reading a file system of the disc to obtain a position of the data segment of the last normal recording before the writing errors happen; according to the last normal recorded data segment position, searching backward the video index of next data segment to obtain a recording time of the last recording data segment before the writing errors happen; updating the disc file system according to the recording time to restore the normal recorded data on the disc.

Description

The restoration methods of disc writing error
Technical field
The present invention relates to a kind of CD restorative procedure, and be particularly related to a kind of restoration methods of CD generation write error.
Background technology
Arriving along with the information age, in the face of and numerical data that form differ huge the time from various numbers of channels, the light memory medium that have simultaneously that storage volume is big, access speed is fast, is easy to carry and is beneficial to advantages such as preservation has just like become modern's one of indispensable application tool when storage data.
Digital versatile disc (Digital Versatile Disk, DVD) be the media for storing optical information of a new generation, its packing density and capacity are compared to conventional optical disc (Compact Disk, CD) significant progress is all arranged, and its form is also divided into specifications such as DVD-ROM, DVD-R, DVD-RW, DVD-RAM, DVD+R, DVD+RW because of the difference of purposes and each support manufacturer of family.The user only needs can use these DVD burning photo or data by burning medium such as the cd-rom recorder of computing machine or DVD recorder, and is quite convenient.
Yet, when using the disk recording film, sometimes because the defective (for example scratch, fingerprint etc.) that the quality of CD itself is bad or CD uses, or situation such as outage takes place suddenly in imprinting way, and causing the CD burning failure, this film data of being noted before will making is committed to the flames.
Particularly, when carrying out the film imprinting, the processing mode of file system is different with general burn recording software, when formaing at the beginning, outside the stationkeeping of initialization files system, when not sealing dish in recording the way, the position of its file system all is to decide according to the end position of the actual data slot of recording.And if will be when reusing this disk recording film next time, then need to carry out earlier the work of Data Detection, obtaining the file system of recording generation for the last time, and with the data of this file system as basis, continue to carry out video recording next time or make envelope dish record.
For instance, be the synoptic diagram of known write-once digital versatile disc data shown in Fig. 1.Please refer to Fig. 1, when using write-once digital versatile disc recorded film, whenever after having recorded one piece of data fragment (data slot 110,120), after its end position, promptly set up the file system (file system 130,140) of its relevant information of record, and provide CD-ROM drive to read and the played data fragment.
On the other hand, shown in Figure 2 is the known synoptic diagram that repeats to write (Rewritable) digital versatile disc data.Please refer to Fig. 2, when use can repeat to write the digital versatile disc recorded film, whenever after having recorded one piece of data fragment (data slot 210,220,230), promptly can upgrade the file system 240 that leaves the CD particular section in, to provide CD-ROM drive to read and the played data fragment.
Yet actual when using video disk recording, the footage of being recorded all is by user's decision, so film data length that is produced when not sealing dish and quantity are unfixing.Therefore, in case when in disk recording way problem taking place, will cause the video recording process can not normal termination, the file system of CD also has little time to upgrade.The result not only can't continue to use this CD baking again, and the film of before recording also can't recover, and causes result without redemption.
Summary of the invention
The invention provides a kind of restoration methods of disc writing error, by before each data slot, adding a video pointer, and when imprinting CDs, upgrade this video pointer every the set time, and can be when write error takes place, see through this video pointer and find out the data slot of recording for the last time, and recover optical disc data.
For reaching above-mentioned or other purposes, the present invention proposes a kind of restoration methods of disc writing error, be suitable for when CD generation write error, recover optical disc data, the method comprises the following steps: at first to read the file system of CD, to obtain the position that the data slot of last normal imprinting before the write error takes place, and according to the position of this data slot, look for the video pointer of next data slot backward, to obtain the recording time that last data recording fragment before the write error takes place.Last then upgrade the file system of CD according to this recording time, to recover optical disc data.Wherein, above-mentioned CD is for repeating to write digital versatile disc.
In one embodiment of the invention, upgrade the file system of described CD according to described recording time, comprise judging whether to keep with the step of the data of recovering on the described CD normal imprinting and take place to write the optical disc data fragment before the write error, keep if need, then recover this data slot, and reference paper system and data recovered fragment, to produce new file system, at last this new file system is write CD, to recover optical disc data.
In one embodiment of the invention, reference paper system and data recovered fragment, and the step that produces new file system also comprises the length that detects the defective fragment that causes write error, reference paper system and data recovered fragment then, and, produce new file system according to the length of defective fragment.
In one embodiment of the invention, obtain after the position of this data slot that the preceding last normal imprinting of this write error takes place, also comprise the length that detects the defective fragment that causes write error, and new file system is being write CD, after the step with these data of recovering this CD, then comprise from then on beginning after the defective fragment, continue to record another segment data fragment.
In one embodiment of the invention, upgrade the file system of CD, also comprise the file system CD that writes direct, and the video pointer of data slot is removed with the step of recovering the data of normal imprinting on the CD according to recording time.
In one embodiment of the invention, new file system is write CD, also comprise the browsing data that updates data slot, and this browsing data is added file system with the step of recovering optical disc data.
In one embodiment of the invention, above-mentioned CD is for repeating to write digital versatile disc.
The present invention finds out and takes place to write the optical disc data fragment at last before this write error by the mode of searching file system and video pointer, upgrades the file system of CD according to this, and recovers the data of original imprinting.In addition, the present invention also comprises the length that detects the defective fragment that causes disc writing error, and the number of times of this type of defective of record generation, and whether decision continues burning CD or direct mounting.Therefore, the present invention not only can rescue back the data slot of previous imprinting, and can continue burning data after the position of last time generation interruption or defectiveness fragment, saves the consumption of CD.
The present invention is above-mentioned to be become apparent with other purpose, feature and advantage in order to make, preferred embodiment cited below particularly, and with reference to the accompanying drawings, make following detailed description.
Brief Description Of Drawings
Fig. 1 illustrates the synoptic diagram of known write-once digital versatile disc data.
Fig. 2 illustrates the known synoptic diagram that repeats to write the digital versatile disc data.
Fig. 3 be according to shown in the first embodiment of the invention when the synoptic diagram that runs into when outage data of optical disk.
Fig. 4 is the restoration methods process flow diagram according to the disc writing error shown in the first embodiment of the invention.
Fig. 5 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the first embodiment of the invention.
Fig. 6 is according to the synoptic diagram of data of optical disk when running into compact disc defect shown in the second embodiment of the invention.
Fig. 7 is the restoration methods process flow diagram according to the disc writing error shown in the second embodiment of the invention.
Fig. 8 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the second embodiment of the invention.
Fig. 9 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the second embodiment of the invention.
Figure 10 be according to shown in the third embodiment of the invention when the synoptic diagram that runs into when outage data of optical disk.
Figure 11 is the restoration methods process flow diagram according to the disc writing error shown in the third embodiment of the invention.
Figure 12 is the restoration methods process flow diagram according to the disc writing error shown in the fourth embodiment of the invention.
Figure 13 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the fourth embodiment of the invention.
Embodiment
The data of CD burning comprise video data and file system, wherein the part of file system can have the different modes of filling in because of the difference of disc types, but emphasis is to press when stopping to record a video key as the user, and cd-rom recorder just can come the updating file system according to the content of this imprinting.Yet, if in the process of CD burning, cause write error because of outage or compact disc defect, can cause the video recording process abnormal end, the file system of CD has little time to upgrade.Just must find out last updating file system this moment, just can learn the relevant information of previous recording image fragment, and then data are recovered.On the other hand,, then must detect this defective length partly earlier, can when burning next time, skip this defective partly, continue to use these CD baking data if cause write error because of the defective on the CD.The present invention promptly is a restoration methods of overlapping disc writing error of developing according to above-mentioned notion.In order to make content of the present invention more clear, below the example that can implement according to this really as the present invention especially exemplified by embodiment.
Difference according to disc types, and the difference that causes the reason of write error, the present invention all provides corresponding solution, pray and allow to recover the data slot of the problem that takes place and the data slot of before having recorded, and can continue to use other data of disk recording, according to above-mentioned situation, each describes in detail for an embodiment with next:
First embodiment
Fig. 3 be according to shown in the first embodiment of the invention when the synoptic diagram that runs into when outage data of optical disk.Please refer to Fig. 3, the CD of present embodiment is the write-once digital versatile disc, and when running into powering-off state in the way of imprinting CDs, the data that write down in the CD comprise data slot 310,320,330, and file system 340,350.As shown in Figure 3, when having the imprinting of one piece of data fragment to finish, cd-rom recorder promptly can be loaded with the file system of its relevant information in imprinting after this data slot.Yet, if when suddenly outage taking place in the CD burning way, then except the data slot 330 of present imprinting was not finished, the file system of data slot 330 also had little time to produce, therefore when reading CD next time, will not do because file system and upgrade and reading of data correctly.
Fig. 4 is the restoration methods process flow diagram according to the disc writing error shown in the first embodiment of the invention.Please be simultaneously with reference to Fig. 3 and Fig. 4, when in the process of burning CD, meeting with above-mentioned outage condition, present embodiment is promptly obtained the last writing position (LastWritten Address) (step S410) of CD earlier from the record of cd-rom recorder, and be starting point with this last writing position, search the file system (step S420) that writes CD at last forward.With Fig. 3 is example, and last writing position is the tail end of data slot 330, and last thus writing position is searched forward, can find the file system 350 that writes CD at last.
Then, judge whether that reservation takes place to write optical disc data fragment (step S430) before the write error.Keep if need, then this data slot is recovered (step S440), and with reference to the file system and the data recovered fragment that had before searched, to produce new file system (step S450), then this new file system is write CD at last, and recover optical disc data (step S460).
On the other hand,, judge not retention data fragment if at step S430, then direct data slot with reference to imprinting at last before file system that had before searched and the outage, and produce new file system (step S470).Then be that new file system is write CD at last, and recover optical disc data (step S460).It should be noted that in this step,, therefore in one embodiment, also be included in after the data slot, add one section buffered data fragment owing to when outage, can not determine whether the data that write at that time are complete bug check and correction of data.
For instance, Fig. 5 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the first embodiment of the invention.Therefore please refer to Fig. 5, owing to the size of ECC data of tail end less than of the data slot 330 of last imprinting can add that several ECC data are as buffered data fragment 360 in the back of data slot 330.The usefulness of this practice is intended to keep one section blank fragment as buffer zone, allows the reaction of cd-rom recorder optical system can get caught up in time of data carving, to guarantee the correct and safety of data.
Please refer to Fig. 5 equally, new file system 370 is to be right after the writing later of above-mentioned buffered data fragment 360, and produces one group of data slot that comprises N ECC data altogether, so far then finishes the more new element of file system.When reading CD next time, can find out and read corresponding data slot by the data that read new file system 370.
What deserves to be mentioned is, in above-mentioned steps S450 and S470, in reference data fragment and the file system, also comprise the browsing data that updates this data slot, and add in the new file system.Its purpose is to allow the CD-ROM drive can be by this browsing data, jump chapters and sections reading of data.
Second embodiment
Fig. 6 is according to the synoptic diagram of data of optical disk when running into compact disc defect shown in the second embodiment of the invention.Please refer to Fig. 6, the CD of present embodiment is the write-once digital versatile disc, and when when running into compact disc defect in the way of imprinting CDs write error taking place, the data that write down in the CD comprise data slot 610,620,630, and file system 640,650.Identical with first embodiment is that when having the imprinting of one piece of data fragment to finish, cd-rom recorder promptly can be loaded with the file system of its relevant information in imprinting after this data slot.Yet different with first embodiment is, when because of compact disc defect write error taking place in the CD burning way, data slot 630 back of imprinting at present are defective fragment 660.Similarly,, therefore cause when reading CD next time, can't normal read enroll the data of system because file system has little time to upgrade.
Fig. 7 is the restoration methods process flow diagram according to the disc writing error shown in the second embodiment of the invention.Please be simultaneously with reference to Fig. 6 and Fig. 7, when CD generation above-mentioned condition, the same elder generation of present embodiment obtains the last writing position (step S702) of CD from the record of cd-rom recorder, and detects the length (step S704) that causes the defective fragment of write error on the CD.This defective fragment is from last writing position, detect defective data slot backward and get, but and the length help system that detects the defective fragment is understood the degree that CD damages, whether carry out the mounting action with decision.
In addition, present embodiment also comprises that with above-mentioned last writing position be starting point, searches the file system (step S706) that writes CD at last forward.And when searching file system, then can whether carry out the mounting action ahead of time with decision by judging whether the previous defective fragment length of measuring surpasses a preset length (step S708).When if the length of defective fragment surpasses preset length, then the decidable CD is impaired serious, has been not suitable for continuing engraving data, and can directly carry out mounting action (step S710) to CD this moment.
For instance, Fig. 8 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the second embodiment of the invention.Please refer to Fig. 8 because the length of defective fragment 660 surpasses preset length, so cd-rom recorder will be directly in the particular section 600 record mounting data of CD, and finish the imprinting of CD.
Otherwise, if when the length of defective fragment surpasses preset length, then represent CD that little part defective is only arranged, still can continue to be used for burning data, promptly can further judge whether this moment to keep and take place to write optical disc data fragment (step S712) before the write error.Keep if need, then this data slot is recovered (step S714), and with reference to the file system and the data recovered fragment that had before searched, to produce new file system (step S716), then this new file system is write CD at last, and recover optical disc data (step S718).
On the other hand, if at step S712, judge not retention data fragment, then can be directly with reference to the data slot of the file system that searches with the preceding last imprinting that makes a mistake, and the new file system (step S720) that generation is desired to insert, at last, then same new file system with above-mentioned generation writes CD, and recovers optical disc data (step S718).New file system is right after after above-mentioned defective fragment and writes, and promptly finishes the more new element of file system after writing.When reading CD next time, can be by the data that read new file system, and find out and read corresponding data slot.
For instance, Fig. 9 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the second embodiment of the invention.Please refer to Fig. 9, the length of supposing defective fragment 660 surpasses preset length, then system will with reference to the file system 650 that searches with make a mistake before the data slot 630 of last imprinting, and produce new file system 670, and fill out after defective fragment 660.In addition, after the write error that correction of the defect fragment 660 is caused, CD can continue to be used for another data slot 680 of imprinting, and produces its corresponding file system 690.Hence one can see that, and after using write error restoration methods of the present invention, CD can be used for data recording, the therefore consumption that can save CD once again.
What deserves to be mentioned is, though adopt said method can when CD has little part defective, continue burning data.Yet if this type of is when causing the situation of write error to repeat because of little part defective (for example occurring another defective fragment behind data slot 680 again), the decidable CD quality is bad or impaired serious.Therefore, the present invention in another embodiment, also be included in when causing write error because of compact disc defect at every turn, the number of times of its generation of accumulative total, and when the number of times of write error surpasses preset times, directly CD is carried out the mounting action, no longer accept the burning of data, to guarantee the burning quality of data of optical disk.
Another kind of CD be then for can repeating to write digital versatile disc, and causes the situation of write error at factors such as above-mentioned sudden power or CD quality are not good, and the present invention also provides corresponding solution respectively, below enumerates an embodiment respectively and describes in detail:
The 3rd embodiment
The characteristic that can repeat to write digital versatile disc is that its file system is unified certain particular section that is recorded in CD, when causing write error in case in the process of imprinting, take place to cut off the power supply or because of CD quality is bad, then because file system has little time to upgrade, and the data that can't learn the data slot back of last normal imprinting from file system are data of a preceding imprinting or because outage or CD problem are recorded the data that stay.
At this problem, present embodiment imports the notion of video pointer (Video indicator), utilization can repeat to write the characteristic that repeats to write of digital versatile disc, when recording new data slot at every turn, promptly reserve the space of 1-n ECC earlier in CD, to insert a video pointer, this video pointer has an orbit information (track information), and this orbit information comprises: video data attribute (Video Attributes), voice data attribute (Audio Attributes), chapters and sections information (Program (Chapter) Information), core information (Cell Information), VOBU distribute (VOBU Maps), data recording (Recording Data) or recording time (Recording Time).In the present embodiment every the i.e. orbit information in the new video pointer more of a set time.In view of the above, when situation such as run into outage or CD quality is bad, only need utilize this video pointer to find out the time of last renewal data recording fragment, and it is write file system, the data that can't correctly read because of write error before can recovering earlier.For instance, Figure 10 be according to shown in the third embodiment of the invention when the synoptic diagram that runs into when outage data of optical disk.Please refer to Figure 10, when when running into outage in the way of imprinting CDs write error taking place, the data that write down in the CD comprise data slot 1010,1020 and 1030, have then inserted video pointer 1040,1050 and 1060 before each data slot respectively.Wherein, with regard to data slot 1030, every the i.e. orbit information of record in the new video pointer 1060 more of a set time.In addition, when each segment data fragment imprinting finished, cd-rom recorder promptly can make CD-ROM drive can read correct data with the Data Update of video pointer to file system 1000.
Yet when outage took place, 1030 of data slots recorded half, wherein, because the fragment 1035 of last burning does not reach the length of set time yet, so the orbit information of record also only terminates in fragment 1034 in the video pointer 1060, and file system 1000 is not upgraded yet.Therefore, CD-ROM drive can't be learnt the data slot of last normal imprinting from file system when reading of data, and read error takes place.
In view of the above, the invention provides corresponding solution.Figure 11 is the restoration methods process flow diagram according to the disc writing error shown in the third embodiment of the invention.Please be simultaneously with reference to Figure 10 and Figure 11, when outage took place CD, present embodiment can read the file system of CD earlier, to obtain the position (step S1110) that the data slot of last normal imprinting before the write error takes place.
Then then can look for the video pointer (step S1120) of next data slot backward according to the position of data slot.As shown in Figure 10, the data slot of last normal imprinting is a data slot 1020, and the tail end of data slot 1020 is sought backward thus, can find the video pointer 1060 of next data slot 1030.
Then, by reading the video pointer, can obtain the recording time (step S1130) that the preceding last data recording fragment of write error takes place.Wherein, the last recording time that upgrades only records fragment 1034, and therefore the fragment of back will be rejected then owing to its recording time the unknown.Yet, adopt the method for present embodiment can rescue back the fragment 1031~1034 of major part, and unlikelyly cause too big loss.
Next step is to judge whether to keep to take place to write optical disc data fragment (step S1140) before the write error.Keep if need, then this data slot is recovered (step S1150), and with reference to the file system and the data recovered fragment that had before read, to produce new file system (step S1160), then this new file system is write CD at last, and recover optical disc data (step S1170).
On the other hand,, judge not retention data fragment, then ignore the data slot of recording for the last time before the generation write error,, and recover optical disc data (step S1180) with the updating file system if at step S1140.
What deserves to be mentioned is, described as first embodiment, in order to allow CD-ROM drive can search out each chapters and sections in the data slot 1030, when recording time is write compact disk file system, also can update the browsing data of this data slot 1030, and add in the file system 1000.In view of the above, when using CD-ROM drive to play CD, can play by reading browsing data execution jump, and browse CD content apace in the future.
In addition, when only desire keeps complete data slot as if the user, then can obtain write error takes place before after the position of data slot of last normal imprinting, just direct data with its video pointer write file system, also remove simultaneously the video pointer of next data slot, make cd-rom recorder when burning data next time, can be directly continue burning data from the tail end of last data slot.
In sum, by the restoration methods of the disc writing error of present embodiment, the data that can recover before to have recorded not only, also the most data that can record when making a mistake are rescued back, and increase the security of data burning.On the other hand, at because of the not good situation that causes write error of CD quality, below describe in detail for an embodiment again:
The 4th embodiment
Figure 12 is the restoration methods process flow diagram according to the disc writing error shown in the fourth embodiment of the invention.Please refer to Figure 12, when write error takes place because quality is bad in CD, present embodiment can read the file system of CD earlier, to obtain the position (step S1210) that the data slot of last normal imprinting before the write error takes place, and, look for the video pointer (step S1220) of next data slot backward according to the position of this data slot.Then then can obtain the recording time (step S1230) that the preceding last data recording fragment of write error takes place by reading the video pointer.The step S1110 of above step and the 3rd embodiment~1130 are same or similar, so its detailed content does not repeat them here.
Next step then is to judge whether to keep to take place to write optical disc data fragment (step S1240) before the write error.Keep if need, then data slot is recovered, and the further length (step S1250) that detects the defective fragment that causes write error, and then with reference to the file system and the data recovered fragment that had before searched, and detected defective fragment length, to produce new file system (step S1260), then this new file system is write CD at last, and recover optical disc data (step S1270).In view of the above, when burning data next time, cd-rom recorder promptly can continue to record another segment data fragment after the defective fragment.
On the other hand, in step S1240,, then can further detect the length (step S1280) of the defective fragment that causes write error if judge not retention data fragment.Last then ignore the data slot recorded for the last time before the write error takes place, and according to detected defective fragment length, the updating file system, and recover optical disc data (step S1290)
For instance, Figure 13 is the synoptic diagram that recovers the back data of optical disk according to the disc writing error shown in the fourth embodiment of the invention.Please refer to Figure 13, when because of compact disc defect write error taking place in the way of imprinting CDs, the data that write down in the CD comprise data slot 1310,1320 and 1330, have then inserted video pointer 1340,1350 and 1360 before each data slot respectively.Wherein, with regard to data slot 1330, every the i.e. orbit information of record in the new video pointer 1360 more of a set time.
When write error takes place, cd-rom recorder can go to detect the length of the defective fragment 1370 of CD, and the data of reference video pointer 1360, with updating file system 1300, make CD-ROM drive can read correct data, and when next data recording, can be from defective fragment 1370 back, continue to record another data slot 1380, and produce its corresponding video pointer 1390.
In sum, the restoration methods of disc writing error of the present invention has following advantage at least:
In the CD burning process because outage or reason such as compact disc defect when causing write error, utilize the more new technological process of file system and action that data are recovered, and can protect this to write and the existing data of CD.
2. detect the length of compact disc defect automatically, therefore can when next engraving data, skip defective and partly continue to use CD baking, save the consumption of CD.
3. by before can repeating to write in the digital versatile disc every data fragment, adding a video pointer, and upgrade wherein information at any time, make when write error takes place, can give the data slot of last burning for change, the safety of protection data of optical disk.
Though the present invention discloses as above with preferred embodiment; yet these preferred embodiments are not used for limiting the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; can both make some changes and improvement, so protection scope of the present invention should be as the criterion with claim qualification person.

Claims (7)

1. the restoration methods of a disc writing error is suitable for when CD generation write error, recovers the data of normal imprinting on the described CD, and wherein said CD comprises data slot and video pointer, and described method comprises the following steps:
Read the file system of described CD, to obtain the position that the data slot of last normal imprinting before the said write mistake takes place;
According to the position of the data slot of described last normal imprinting, look for the video pointer of next data slot backward, to obtain the recording time that last data recording fragment before the said write mistake takes place;
Upgrade the file system of described CD according to described recording time, to recover the data of normal imprinting on the described CD.
2. the method for claim 1 is wherein upgraded the file system of described CD according to described recording time, comprise with the step of recovering the data of normal imprinting on the described CD:
Judge whether to keep and take place to write described optical disc data fragment before the said write mistake;
If need to keep, then recover described data slot;
Reach data recovered fragment with reference to described file system, and produce new file system; And
Described new file system is written to described CD, to recover the data of normal imprinting on the described CD.
3. method as claimed in claim 2, wherein judge whether to keep write the step of described optical disc data fragment before the said write mistake takes place after, also comprise:
If do not keep, then ignore the data slot of recording for the last time before the generation said write mistake, upgrade the file system of described CD, to recover the data of normal imprinting on the described CD.
4. method as claimed in claim 2 wherein reaches data recovered fragment with reference to described file system, and the step of generation new file system also comprises:
Detection causes the length of the defective fragment of said write mistake; And
With reference to described file system and data recovered fragment, and, produce described new file system according to the length of described defective fragment.
5. method as claimed in claim 4 wherein is being written to described CD with described new file system, after the step of recovering the data of normal imprinting on the described CD, also comprises:
After described defective fragment, continue to record another data slot.
6. the method for claim 1 is wherein upgraded the file system of described CD according to described recording time, also comprise with the step of recovering the data of normal imprinting on the described CD:
Directly described file system is written to described CD; And
Remove the video pointer of described data slot.
7. method as claimed in claim 2 wherein is written to described CD with described new file system, also comprises with the step of recovering described optical disc data:
Update the browsing data of described data slot; And
Described browsing data is joined described file system.
CN2007101619184A 2007-09-26 2007-09-26 Recovery method for write-in error of CD-disc Expired - Fee Related CN101399067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101619184A CN101399067B (en) 2007-09-26 2007-09-26 Recovery method for write-in error of CD-disc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101619184A CN101399067B (en) 2007-09-26 2007-09-26 Recovery method for write-in error of CD-disc

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201010180952A Division CN101819801B (en) 2007-09-26 2007-09-26 Recovery method of disc writing error

Publications (2)

Publication Number Publication Date
CN101399067A CN101399067A (en) 2009-04-01
CN101399067B true CN101399067B (en) 2011-04-13

Family

ID=40517552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101619184A Expired - Fee Related CN101399067B (en) 2007-09-26 2007-09-26 Recovery method for write-in error of CD-disc

Country Status (1)

Country Link
CN (1) CN101399067B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103137159B (en) * 2011-11-28 2016-05-18 杭州海康威视数字技术股份有限公司 Video recording fault-tolerant method and device thereof at straight quarter in digital hard disc video recorder
CN114242119B (en) * 2021-12-17 2024-03-01 统信软件技术有限公司 Optical disk data repairing method, optical disk data checking method and computing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5172381A (en) * 1989-04-27 1992-12-15 International Business Machines Corporation Enhanced data formats and machine operations for enabling error correction
CN1387184A (en) * 2001-05-19 2002-12-25 三星电子株式会社 Device and method for controlling write-in data during generating error in optical drive
CN1954385A (en) * 2004-05-17 2007-04-25 株式会社理光 Recording method, information recording device, information reproducing device, program, recording medium, and computer program product

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5172381A (en) * 1989-04-27 1992-12-15 International Business Machines Corporation Enhanced data formats and machine operations for enabling error correction
CN1387184A (en) * 2001-05-19 2002-12-25 三星电子株式会社 Device and method for controlling write-in data during generating error in optical drive
CN1954385A (en) * 2004-05-17 2007-04-25 株式会社理光 Recording method, information recording device, information reproducing device, program, recording medium, and computer program product

Also Published As

Publication number Publication date
CN101399067A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
US7031239B2 (en) Information recording medium, recording apparatus, reproduction apparatus, recording method and reproduction method
KR100959306B1 (en) System and method for searching for duplicate data
JPH0563861B2 (en)
RU99128106A (en) RECORDING MEDIA FOR STORING INFORMATION ON THE ORIGINAL POSITION FOR EACH ZONE AND METHOD OF DATA MANAGEMENT USING THIS INFORMATION
JPH10125006A (en) Signal recorder and signal recording method
RU2005134020A (en) UNRESCRIBABLE OPTICAL DISK AND METHOD AND DEVICE FOR RESTORING CONTROL INFORMATION OF A DISK FROM AN UNRESCRIBABLE OPTICAL DISK
US20070065118A1 (en) Data recording methods and systems for rewritable disks
CN100440352C (en) Power failure recovery method
CN101399067B (en) Recovery method for write-in error of CD-disc
CN101819801B (en) Recovery method of disc writing error
US8077570B2 (en) Error recovery method for video recording
RU2256240C2 (en) Optical disk and method for recording data onto said disk and/or reproduction of data from said disk
US7756399B2 (en) Safe recovery in DVD recordable/rewritable realtime recording
CN1839443B (en) Apparatus and method for searching writable area, apparatus and method for updating recording management information, integrated circuit
JPH0877681A (en) Apparatus and method for recording/reproducing a plurality of recording media
US20040125715A1 (en) Method and system for searching and recording in optical recording medium
EP1771843A1 (en) Recording device and method
KR100510498B1 (en) Method and apparatus for recording data in defect disc
CN100589194C (en) Device and method for recording and reproducing data using storage medium
KR19990072508A (en) Information Recording Method and Apparatus
US8218412B2 (en) Method and system for determining disc format for recovery of data recording
CN101206895B (en) Method for recuperation of disk writen data
JP2793062B2 (en) Disc player
CN101051502B (en) Method for the recovery of a damaged table of contents in an optical disc
JPH1186450A (en) Mini disk recording/reproducing device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110413

Termination date: 20170926

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