CN101819801B - Recovery method of disc writing error - Google Patents

Recovery method of disc writing error Download PDF

Info

Publication number
CN101819801B
CN101819801B CN201010180952A CN201010180952A CN101819801B CN 101819801 B CN101819801 B CN 101819801B CN 201010180952 A CN201010180952 A CN 201010180952A CN 201010180952 A CN201010180952 A CN 201010180952A CN 101819801 B CN101819801 B CN 101819801B
Authority
CN
China
Prior art keywords
data
fragment
file system
write
length
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
CN201010180952A
Other languages
Chinese (zh)
Other versions
CN101819801A (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 CN201010180952A priority Critical patent/CN101819801B/en
Publication of CN101819801A publication Critical patent/CN101819801A/en
Application granted granted Critical
Publication of CN101819801B publication Critical patent/CN101819801B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a recovery method of a disc writing error, which is suitable for recovering data of a disc when the disc has a writing error. The method comprises the following steps of: firstly, obtaining a last writing position of the disc, and forwards searching a file system which is written into the disc at last by taking the last writing position as a starting point; secondly, judging whether to reserve a data segment written into the disc before the occurrence of a writing error or not; if not, referring to the file system and the data segment written into the disc before the occurrence of the writing error, and forming a new file system; and finally, writing the new file system into the disc to recover the data of the disc, thereby protecting data written this time and the existing data of the disc.

Description

The restoration methods of disc writing error
The application is that the one Chinese patent application that is entitled as " restoration methods of disc writing error " submitted on September 26th, 2007 number is the division of 200710161918.4 application.
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 recorders, 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 cause the CD burning failure, this will make film data of being noted before commit 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 in recording the way, not sealing dish, 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, shown in Fig. 1 for the known synoptic diagram that once writes the digital versatile disc data.Please with reference to Fig. 1; When use once writes the 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 with reference 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 when not sealing dish, is produced 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
In view of this, the present invention provides a kind of restoration methods of disc writing error, by finding out the file system that writes CD at last, and writes the optical disc data fragment with reference to taking place before the write error, upgrades the file system of CD according to this, and recovers optical disc data.
For reaching above-mentioned or other purpose, the present invention proposes a kind of restoration methods of disc writing error, is suitable for when CD generation write error, recovers optical disc data, and the method comprises the following steps: to obtain the last writing position of said CD; With said last writing position is starting point, searches the file system that writes said CD at last forward; Judge whether to keep and take place to write said optical disc data fragment before the said write mistake; If need not keep, then reference writes the said file system of said CD at last and takes place to write said optical disc data fragment before the said write mistake, and produces new file system; And said new file system is written to said CD, and recover said optical disc data.
The present invention also provides a kind of restoration methods of disc writing error, is suitable for when CD generation write error, recovering this optical disc data, and this method comprises the following steps: to obtain the last writing position of said CD; With said last writing position is starting point, searches the file system that writes said CD at last forward; Judge whether to keep and take place to write said optical disc data fragment before the said write mistake; If need to keep, then recover said data slot; Reach data recovered fragment with reference to the said file system that writes said CD at last, and produce new file system; And said new file system is written to said CD, and recover said optical disc data.
In one embodiment of the invention, after the step of the last writing position of obtaining CD, also comprise the length that detects defective (defect) fragment that causes write error.
In one embodiment of the invention; After searching the step of the file system that writes CD at last forward; Comprise also whether the length of judging the defective fragment surpasses a preset length, and when the length of defective fragment surpasses preset length, directly CD is carried out the mounting action.
In one embodiment of the invention; When the length of judging the defective fragment is no more than preset length; Then continue to judge whether to keep to take place to write this data slot of CD before the write error, if need reservation, then restore data fragment; And reference paper system and data recovered fragment, to produce new file system.At last new file system is write CD, and recover optical disc data.
In one embodiment of the invention; Detection causes the step of length of the defective fragment of write error to comprise that also accumulative total causes the number of times of write error because of the defective fragment; And whether the number of times of judging this write error surpasses a preset times; And when the number of times of write error surpasses preset times, directly CD is carried out the mounting action.
In one embodiment of the invention, after searching the step of the file system that writes CD at last forward, also comprise directly file system is write CD, and CD is carried out the mounting action.
In one embodiment of the invention, the step that writes the optical disc data fragment before reference paper system and the generation write error also comprises the browsing data (navigation data) that updates data slot, and this browsing data is added above-mentioned new file system.
In one embodiment of the invention; Before the step that new file system is written in the CD; Also be included in above-mentioned data slot and add a buffered data fragment at the back; And this buffered data fragment has comprised by a plurality of bug check and correction (Error Checking and Correcting, ECC) data that form of data combination.
In one embodiment of the invention, new file system is being write CD, and recovering after the optical disc data, also comprising this CD is carried out the mounting action.
In one embodiment of the invention, above-mentioned CD is for repeating to write digital versatile disc.
For make the present invention above-mentioned with other purpose, feature and advantage can be more obviously understandable, hereinafter is special lifts preferred embodiment, and with reference to accompanying drawing, makes following detailed description.
Brief Description Of Drawings
Fig. 1 illustrates the known synoptic diagram that once writes the 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 data of optical disk when cutting off the power supply.
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 data of optical disk when cutting off the power supply.
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 be according to above-mentioned notion develop one the cover disc writing error restoration methods.In order to make content of the present invention more clear, below specially lift the example that embodiment can implement as the present invention really according to this.
Difference according to disc types; And the difference that causes the reason of write error; The present invention all provides corresponding solution, prays and makes data slot that can recover 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 is lifted an embodiment and specifies with next:
First embodiment
Fig. 3 be according to shown in the first embodiment of the invention when the synoptic diagram that runs into data of optical disk when cutting off the power supply.Please with reference to Fig. 3, the CD of present embodiment is for once writing digital versatile disc, and when in the way of imprinting CDs, running into powering-off state, data recorded comprises data slot 310,320,330 in the CD, 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 in the CD burning way, suddenly outage taking place, then except the data slot 330 of present imprinting was not accomplished, 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 (Last Written 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 confirm 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.Please with reference to Fig. 5, because therefore 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, lets 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.
Equally please with reference to Fig. 5, new file system 370 is to be right after in the back of above-mentioned buffered data fragment 360 to write, and produces one group of data slot that comprises N ECC data altogether, so far then accomplishes 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 let 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 with reference to Fig. 6, the CD of present embodiment is for once writing digital versatile disc, and when when running into compact disc defect in the way of imprinting CDs write error taking place, data recorded comprises data slot 610,620,630 in the CD, 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.Likewise,, 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 to begin 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 with reference 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 accomplish 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 after writing, promptly accomplishes the more new element of file system.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 with reference to Fig. 9, suppose that the length of defective fragment 660 surpasses preset length, then system will with reference to the file system that searches 650 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 once again, the consumption that therefore can save CD.
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 to occur because of little part defective (for example behind data slot 680, occurring another defective fragment again), the decidable CD quality is bad or impaired serious.Therefore; The present invention also is included in when causing write error because of compact disc defect the number of times of its generation of accumulative total in another embodiment at every turn; 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 to 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 specifies:
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 from file system, learn the data slot back of last normal imprinting are data of a preceding imprinting or because outage or CD problem are recorded the data that stay.
To 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; The space of promptly reserving 1-n ECC earlier is to insert a video pointer in CD; 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 whenever at a distance from 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 data of optical disk when cutting off the power supply.Please with reference to Figure 10, when when running into outage in the way of imprinting CDs write error taking place, data recorded comprises data slot 1010,1020 and 1030 in the CD, before each data slot, has then inserted video pointer 1040,1050 and 1060 respectively.Wherein, with regard to data slot 1030, whenever at a distance from i.e. recording tracks information 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 proper data Data Update to the file system 1000 of video pointer.
Yet when outage took place, 1030 of data slots recorded half the; Wherein, Because the fragment 1035 of last burning does not reach the length of set time yet, so recording tracks information 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 present 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.Can know that by 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 the fragment of back then because its recording time is unknown, therefore will be rejected.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; Said as first embodiment, in order to let 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 directly the data of its video pointer are write file system, also remove the video pointer of next data slot simultaneously; 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 not only can recover before to have recorded, the most data that also can record when making a mistake are rescued back, and increase the security of data burning.On the other hand, to because of the not good situation that causes write error of CD quality, below lift an embodiment again and specify:
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 with reference to Figure 12; When write error takes place because quality is bad in CD; Present embodiment can read the file system of CD earlier; Obtaining 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 repeats no more at this.
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 further detect the length (step S1250) of 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 begin after the defective fragment, continues to record another segment data 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 with reference to Figure 13, when because of compact disc defect write error taking place in the way of imprinting CDs, data recorded comprises data slot 1310,1320 and 1330 in the CD, has then inserted video pointer 1340,1350 and 1360 before respectively at each data slot.Wherein, with regard to data slot 1330, whenever at a distance from i.e. recording tracks information in the new video pointer 1360 more of a set time.
When write error took 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 proper data, and when next data recording, can begin 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 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 updated at any time information wherein, 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; Do not breaking away 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 (14)

1. the restoration methods of a disc writing error is suitable for when CD generation write error, recovering this optical disc data, and this method comprises the following steps:
Obtain the last writing position of said CD;
Detection causes the length of the defective fragment of said write mistake;
With said last writing position is starting point, searches the file system that writes said CD at last forward;
Whether the length of judging said defective fragment surpasses a preset length;
When the length of said defective fragment surpasses said preset length, directly said CD is carried out the mounting action;
When the length of said defective fragment does not surpass said preset length, judge whether to keep and take place to write said optical disc data fragment before the said write mistake;
If need not keep, then reference writes the said file system of said CD at last and takes place to write said optical disc data fragment before the said write mistake, and produces new file system; And
Said new file system is written to said CD, and recovers said optical disc data.
2. the method for claim 1 wherein after whether the length of judging said defective fragment surpasses the step of said preset length, also comprises:
When the length of said defective fragment is no more than said preset length, then continues to judge whether to keep and take place to write said optical disc data fragment before the said write mistake.
3. the method for claim 1, the step that wherein detects the length of the said defective fragment that causes the said write mistake also comprises:
Accumulative total causes the number of times of said write mistake because of said defective fragment;
Whether the number of times of judging the said write mistake surpasses a preset times; And
When the number of times of said write mistake surpasses said preset times, directly said CD is carried out the mounting action.
4. the method for claim 1, the step that wherein writes the said data slot of said CD with reference to the said file system that writes said CD at last and before the said write mistake takes place also comprises:
Update the browsing data of said data slot; And
Said browsing data is joined said new file system.
5. the method for claim 1 wherein before said new file system is written to the step of said CD, also comprises:
One buffered data fragment is joined after the said data slot.
6. method as claimed in claim 5, wherein said buffered data fragment comprises the part that is combined by a plurality of bug check and correction of data.
7. the method for claim 1 wherein is being written to said CD with said new file system, and is recovering after the step of said optical disc data, also comprises:
Carry out the mounting action of said CD.
8. the restoration methods of a disc writing error is suitable for when CD generation write error, recovering this optical disc data, and this method comprises the following steps:
Obtain the last writing position of said CD;
Detection causes the length of the defective fragment of said write mistake;
With said last writing position is starting point, searches the file system that writes said CD at last forward;
Whether the length of judging said defective fragment surpasses a preset length;
When the length of said defective fragment surpasses said preset length, directly said CD is carried out the mounting action;
When the length of said defective fragment does not surpass said preset length, judge whether to keep and take place to write said optical disc data fragment before the said write mistake;
If need to keep, then recover said data slot;
Reach data recovered fragment with reference to the said file system that writes said CD at last, and produce new file system; And
Said new file system is written to said CD, and recovers said optical disc data.
9. method as claimed in claim 8 wherein after whether the length of judging said defective fragment surpasses the step of said preset length, also comprises:
When the length of said defective fragment is no more than said preset length, then continues to judge whether to keep and take place to write said optical disc data fragment before the said write mistake.
10. method as claimed in claim 8, the step that wherein detects the length of the said defective fragment that causes the said write mistake also comprises:
Accumulative total causes the number of times of said write mistake because of said defective fragment;
Whether the number of times of judging the said write mistake surpasses a preset times; And
When the number of times of said write mistake surpasses said preset times, directly said CD is carried out the mounting action.
11. method as claimed in claim 8, wherein reaching with reference to the said file system that writes said CD at last, the step of data recovered fragment also comprises:
Update the browsing data of said data slot; And
Said browsing data is joined said new file system.
12. method as claimed in claim 8 wherein before said new file system is written to the step of said CD, also comprises:
One buffered data fragment is joined after the said data slot.
13. method as claimed in claim 12, wherein said buffered data fragment comprises the part that is combined by a plurality of bug check and correction of data.
14. method as claimed in claim 8 wherein is being written to said CD with said new file system, and is recovering after the step of said optical disc data, also comprises:
Carry out the mounting action of said CD.
CN201010180952A 2007-09-26 2007-09-26 Recovery method of disc writing error Expired - Fee Related CN101819801B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
CN101819801A CN101819801A (en) 2010-09-01
CN101819801B true CN101819801B (en) 2012-10-10

Family

ID=42654859

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN101819801B (en)

Citations (2)

* 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

Patent Citations (2)

* 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2005-327405A 2005.11.24

Also Published As

Publication number Publication date
CN101819801A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
US8098549B2 (en) Information recording medium, recording apparatus, reproduction apparatus, recording method and reproduction method
JPH0563861B2 (en)
CN101399067B (en) Recovery method for write-in error of CD-disc
JP2004146018A5 (en)
CN101819801B (en) Recovery method of disc writing error
CN100578639C (en) Optical disc and method for recording data on and/or reproducing data from optical disc
US8077570B2 (en) Error recovery method for video recording
US7983123B2 (en) Methods of defect management and reproduction, program and recording medium, and apparatuses for information recording and information reproduction
US7756399B2 (en) Safe recovery in DVD recordable/rewritable realtime recording
US20070166015A1 (en) Recording device and method
KR100510498B1 (en) Method and apparatus for recording data in defect disc
KR100604817B1 (en) Storage medium comprised of dual format and data-recovering method therewith
JP2793062B2 (en) Disc player
US8218412B2 (en) Method and system for determining disc format for recovery of data recording
CN101206895B (en) Method for recuperation of disk writen data
JPH10208399A (en) Information recording method
JPH1186450A (en) Mini disk recording/reproducing device
CN101051502B (en) Method for the recovery of a damaged table of contents in an optical disc
US20060179399A1 (en) Method and recorder for recording data on a record carrier
CN101211577A (en) Optical disc video recorder servo control method
KR19980053624A (en) How to Restore User Table Contents of Mini Disk Player
KR20030073237A (en) Formating method of optical disc reader/writer

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

Termination date: 20170926

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