CN100380499C - Method for collecting broadcast data file in single control chip - Google Patents

Method for collecting broadcast data file in single control chip Download PDF

Info

Publication number
CN100380499C
CN100380499C CNB2004100752368A CN200410075236A CN100380499C CN 100380499 C CN100380499 C CN 100380499C CN B2004100752368 A CNB2004100752368 A CN B2004100752368A CN 200410075236 A CN200410075236 A CN 200410075236A CN 100380499 C CN100380499 C CN 100380499C
Authority
CN
China
Prior art keywords
data files
block
playable
time block
playable data
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.)
Active
Application number
CNB2004100752368A
Other languages
Chinese (zh)
Other versions
CN1750155A (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2004100752368A priority Critical patent/CN100380499C/en
Publication of CN1750155A publication Critical patent/CN1750155A/en
Application granted granted Critical
Publication of CN100380499C publication Critical patent/CN100380499C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a method for collecting broadcast data file from a disk sheet in an optical system of a single control chip for an MPEG decoder and a servo system to be integrated in. In the method disclosed by the present invention, when one block of the original playing data file of a CD is read, error information for data at the internal of the servo system is utilized to judge whether the currently read block of the playing data file is correct or not; when data error of certain-time block of the block can not be corrected, a spare playing data file carries out reading operation to the corresponding-time block; when the data of the corresponding-time block of the spare playing data file is correct, the time block is utilized to be used as reparation for the data of the original playing data file in order to improve the success rate of the reading for the playing data file.

Description

In single control chip, collect the method for playable data files
Technical field
The present invention relates to a kind of method of data capture, relate in particular in the single control chip electro-optical system, collect the method for playable data files from CD.
Background technology
Present widely popular electro-optical system, for example drivers such as CD-ROM, CD-RW, DVD-ROM, DVD-RW, or even DVD or VCD player etc. all have the function of the information that reads from discs.With the electro-optical system commonly used 50 that Fig. 4 was described is example, and comprising CD drive 52 and mpeg decoder 54, wherein CD drive 52 comprises mechanical part 56 and front-end chip 58, and mpeg decoder 54 then comprises back-end chip 60.When reading of data, electro-optical system 50 will be controlled mechanical part 56 with from CD 62 reading of data, then, front-end chip 58 receives data and carries out the first order and handle (for example the high-frequency RF signal is amplified, processing such as waveform arrangement and digitizing) from mechanical part 56, and rear end chip 60 from front-end chip receive through the rough handling data and carry out the second level handle (for example, with after the data decode again output processing such as play).Wherein, the data mode of delivering to back-end chip 60 from front-end chip 58 is: carry out by the IDE bus and according to the regulation of ATAPI agreement.
The content of CD can be divided into major part and less important part, the main information content such as major part stored images and/or music, less important part is then stored and the main relevant playable data files of the information content, and for example the file of file suffixes " IFO " by name etc. all is the some of played data.If electro-optical system can't correctly be read these playable data files, then can't read the main information content.Therefore, these playable data files are proposed suitable safeguard measure and just seem quite important.With playable data files shown in Figure 5 is example, it further is divided into two parts: original playable data files 501 and standby playable data files 501b, wherein with original playable data files 501 and standby playable data files 501b zoning piece (" block ") all.Be illustrated in fig. 6 shown below,, the flow process that reads commonly used of playable data files done explanation by the process that reads of IFO file.
Fig. 6 describes the process flow diagram of CD literal collection method commonly used.At first, start back (step S500) in electro-optical system, it will read a block (step S510) of CD original I FO file, and then, electro-optical system will be judged the original I FO file block that read whether wrong (step S520).If the data of this original I FO file block are quite right, electro-optical system will judge whether to run through entire I FO file (step S530), and finish the flow process (step S550) of Fig. 6 behind the read operation of finishing entire I FO file.On the other hand, if in the time of still can't revising its mistake after the error in data of the original I FO file block that is read and the correction, promptly read the corresponding block (step S540) of standby IFO file subsequently, and the block of judging this standby IFO file whether wrong (step S560).If the data of this standby IFO block are correct, execution in step S530 then, and judge whether to run through entire I FO file.If when still wrong, then electro-optical system abandons reading the operation (step S570) of present block to the data of the respective block of this standby IFO file after correction.
In step S560, can stagger the time in the data of the corresponding block of judging standby IFO file, proofreaied and correct (similarly, in step S520, also can use this correction program when discovery makes a mistake to original I FO file block) by electro-optical system by correction program.For example, when the present CD that reads is CD, can use CIRC (Cross-Interleaved Reed-Solomon Code) correction program to proofread and correct the mistake of this respective block; And work as the CD that is read when being DVD, can come the data of error recovery by PIPO (Inner-code Parity (PI)/Outer-code Parity (PO)) correction program.If when proofreading and correct successfully, then electro-optical system is with execution in step S530; And if when proofreading and correct failure, because electro-optical system can't utilize original I FO file and standby IFO file to form required playable data files, so can only execution in step S570 and abandon read operation to wrong block.
Next with Fig. 5 example, illustrate that common technology is in the actual conditions that read the playable data files block, and in Fig. 5 the hypothesis electro-optical system present read be the block 503 of original playable data files 501, because block 503 comprises misdata (i.e. time block 505) and this error in data can't be repaired by correction program, so electro-optical system will read the block 503b among the standby playable data files 501b, this block 503b is corresponding to error in data block 503.If the data of this block 503b are wrong and can't be revised the time, the operation that can only abandon reading block 503.But in fact, as shown in Figure 5, what need to carry out data modification in block 503 is time block 505, but the block 503b of standby playable data files 501b, its inferior block that error in data takes place is 507b (data of the inferior block 507 corresponding with it is correct), and the data of inferior block 505b are correct.Yet in the framework of common technology, because can't directly take out the data of time block 505b inferior block 505 is repaired, so electro-optical system just can't obtain complete playable data files.
In addition, according to the regulation of ATAPI, when being CD as if CD, each block will comprise the data of 2048 bytes; Yet when being DVD as if CD, every block will comprise the data of 32K byte.Moreover, in case any mistake occur in this 2048 or the 32K byte in, then must abandon whole 2048 or the 32K byte.Yet once abandon so multibyte data, make the CD that is read at present be judged as and to read easily.In other words, to the processing mode commonly used of playable data files, very easily reduce electro-optical system reading and the broadcast rate to CD because of obtaining required playable data files.
Summary of the invention
Fundamental purpose of the present invention is the method for collecting playable data files in single control chip, and wherein this single control chip comprises mpeg decoder and servo-drive system, and the inner error in data information of using of this servo-drive system can directly be passed to this mpeg decoder.In the method for the preferred embodiment of the present invention, electro-optical system at first reads a block of the original playable data files of CD, judges subsequently whether the data of this block is correct.If the data of this block are correct, then electro-optical system judges whether to run through whole playable data files.If do not run through playable data files, then read the next block of original playable data files, and this reads action and finishes after running through and obtain complete playable data files.If the error in data of this block and can't carry out timing, because servo-drive system is integrated in the same chips with mpeg decoder, so can utilize the inner employed error in data information of servo-drive system to find out the inferior block of error in data to misdata.Next can be in standby playable data files, read the corresponding time block that corresponds to this mistake time block after, judge immediately whether the data of inferior block of this standby broadcast information paper wrong.If the data of corresponding block of standby playable data files are correct, after the inferior block that utilizes standby playable data files is used for repairing the data of source document, judge whether to run through the broadcast information paper subsequently.If the data of standby playable data files time block are still wrong and can't timing, electro-optical system abandons reading the block of present generation error in data.
In the preferred embodiment of the present invention, wherein this error in data information comprises one first error-correcting code.
In the preferred embodiment of the present invention, also comprise following steps: utilize this first error-correcting code to proofread and correct the block that error in data takes place in this original playable data files.
In the preferred embodiment of the present invention, also comprise following steps: utilize and read the block of this generation error in data again, and cooperate this first error-correcting code to proofread and correct this error in data block.
In the preferred embodiment of the present invention, also comprise following steps: when the data of this standby playable data files time block still in the mistake, utilize second error-correcting code to proofread and correct the block that comprises this standby playable data files time block.
In the preferred embodiment of the present invention, also comprise following steps: utilize and read this block that comprises this generation error in data time block again, and cooperate this second error-correcting code to proofread and correct this block.
In the preferred embodiment of the present invention, also comprise following steps: utilizing this second error-correcting code, comprise this block of this standby playable data files mistake time block with correction, and after can't proofreading and correct this generation error in data time block, carry out and abandon reading this generation error in data block at present.
Description of drawings
Fig. 1 is the structure calcspar of single control chip electro-optical system;
Fig. 2 demonstration utilizes method of the present invention to obtain the synoptic diagram of the correct playable data files block of data;
Fig. 3 is the process flow diagram of the dvd playback data file collection method of the preferred embodiment of the present invention;
Fig. 4 is the structure calcspar of electro-optical system commonly used;
Fig. 5 shows the synoptic diagram that reads the broadcast information paper with common technology;
Fig. 6 is the process flow diagram of the playable data files collection method used always.
Embodiment
Fig. 1 shows the structural representation of single control chip system (" system on chip " or " SOC ") CD-ROM drive 10, and playable data files of the present invention, can be management data file or the required management data file of any play operation of file suffixes IFO by name, and the collection method of these playable data files can be used in this single control chip system CD-ROM drive.
Basically, single control chip system CD-ROM drive 10 shown in Figure 1 comprises mechanical part 12 and system-on-a-chip 14, wherein mechanical part 12 can mobile optical read head (Optical Pickup Head) with reading of data from CD 16.And on function, single control chip system 14 integrates front-end chip commonly used and back-end chip (for example 58 of Fig. 4 and 60) in wherein.Because the framework of utilization single control chip system 14 promptly is regardless of front-end chip and back-end chip, so needn't deliver to back-end chip to data from front-end chip according to the ATAPI agreement.In addition, because in the DVD player of SOC, because of servo-drive system (Servo) and mpeg decoder (Decoder) have been incorporated in the same system, so inner error in data information of using of servo-drive system, for example error-correcting code (ECC) and error detection sign indicating number (EDC) etc. can directly be passed to mpeg decoder.Therefore, as shown in Figure 2, because with original playable data files and standby playable data files zoning piece (" block "), and each block further is divided into several times block (" sub-block "), so the preferred embodiment of the present invention can directly be utilized the error in data information that is transmitted by servo-drive system, judge the correctness of each time block.So when needing with reference to standby playable data files when the error in data of original playable data files, the data correctness of corresponding block of standby playable data files that further judgement is desired to read, and can not comprise misdata the time at the corresponding block of standby playable data files, abandon the read operation of relevant block because can't further reading time block data, so can increase the broadcast rate of disc.
With reference to figure 3, it describes the process flow diagram of the dvd playback data file collection method of the preferred embodiment of the present invention.When electro-optical system after step S100 starts, in step S110, read next block of original playable data files subsequently, and judge in step S120 whether the data of this block wrong.If the data of block are correct, then execution in step S130 judges whether to run through the broadcast information paper.If finished and read, then electro-optical system finishes the operation of reading playable data files at step S150.
If in the time of still can't revising its mistake after block data mistake that is read and the correction, then electro-optical system will reading of data error message in step S140 (for example read DVD will judge " PIPO " information), and execution in step S160 is to find out the inferior block of mistake subsequently.Next, electro-optical system reading corresponding block of standby playable data files, and judges in follow-up step S180 whether the inferior block of standby broadcast information paper is wrong with execution in step S170.In the time of can't proofreading and correct its mistake as if the error in data of finding corresponding block of standby playable data files in step S180 and via correction program, then electro-optical system will abandon reading the block of present generation error in data.On the other hand, if the data of corresponding block of standby playable data files are correct, then electro-optical system is after the data of this time block are used to repair the data of playable data files, and execution in step S190 is correct with whole blocks that judge whether playable data files again.If playable data files all time block is all correct, then gets back to step S130 and carry out the operation whether playable data files all runs through.If in step S190, find to still have the incorrect person of data in time block, then get back to step S160 and carry out subsequent step.If have the data of corresponding block in the standby playable data files to be still mistake and during via situation about still can't revise behind the correction program, execution in step S200 then, and abandon reading the block of present generation error in data.
In fact, when in step S120, finding the block data mistake, can carry out correction program earlier, in the hope of the error in data nidus (for example time block 505) of block is proofreaied and correct.Can be utilized as error-correcting code well-known to those skilled in the art (Error Correction Code as for this correction program, ECC) carry out, and be used for judging the mode that time block is whether correct among the step S160, (Error Detection Code EDC) judges then can be utilized as error detection sign indicating number well-known to those skilled in the art.In addition, when utilizing error-correcting code still can't proofread and correct the misdata of original broadcast information paper block, can read this block again, and utilize error-correcting code to carry out correction program again, and in the time can't utilizing this correction program to proofread and correct the misdata of original playable data files, downward again execution in step S140.As for then can deciding the opportunity that stops this correction program, for example after all can't proofreading and correct this misdata, twice block stop reading again on practical situation.In fact, those skilled in the art can be changed according to practical situation and application, but all should be contained in the claim of the present invention based on equivalences change and modification that the preferred embodiment of the present invention has been done.
In addition, when in step S180, finding the error in data of corresponding block of standby playable data files, also can quote the way of above-mentioned steps S120 to the error in data onblock executing correction program of original playable data files, in when, too error in data taking place with the block in standby playable data files, carry out corresponding correction program, and after correction program can't correct mistakes data, judge the error in data of corresponding block again.Certainly, the judgment mode of inferior block also can utilize EDC to finish.Similarly, read the number of times and the mode of block again, also can be changed according to practical situation and application by those skilled in the art.
Next with Fig. 2 example, it is the original playable data files 501 and standby playable data files 501b of Fig. 5, utilizing under the situation of the method disclosed in the present, obtain the correct block of data 503, to be combined into the synoptic diagram of all accurate playable data files 501c of all data (it has the correct inferior block 505b of data).Significantly, all are in block 503, and the inferior block (for example time block 507) that comprises correct data all is read and becomes the part of playable data files 501c.In addition, though the error in data of inferior block 507b, under the correct situation of the data of inferior block 507, for the composition not influence fully of playable data files 501c.On the other hand, read the block 503 of failure, can in step S170, obtain the data of time block 505b, be used for the inferior block 505 of block 503 is repaired, so just form all correct block 501c of data at last easily at Fig. 5.Therefore, so long as at corresponding the block of original playable data files 501 with standby playable data files 501b, take place simultaneously in the absence of error in data (promptly when the error in data of time block 505, but the situation that the data of inferior block 505b are correct), can utilize the inventive method to obtain complete playable data files (can form playable data files 501c).
Though the present invention is as above open with preferred embodiment; but this is not to be used to limit scope of the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; all can make certain variation and retouching, so protection scope of the present invention should be according to being as the criterion that the accompanying Claim book is limited.

Claims (12)

1. in the electro-optical system of single control chip, when original playable data files comprises misdata, collect a kind of method of playable data files from CD, wherein this single control chip comprises mpeg decoder and servo-drive system, the inner error recovery information of using of this servo-drive system can directly be passed to this mpeg decoder, original playable data files of this of this this playable data files of optical disc storage and standby playable data files, this original playable data files and this standby playable data files all are divided into some blocks (Block), each block is divided into several times block (Sub-block) again, and this method comprises the following steps:
When the present block that reads original playable data files comprises error in data, use is by first error recovery information that this servo-drive system transmitted, in order to judge the correctness of this time block that this original playable data files comprises, comprise in time block thereby find out this original playable data files block, comprise the inferior block of misdata;
Read in this standby playable data files, corresponding to the backup playable data files time block of this mistake time block; And
In this standby playable data files, corresponding to the data of the backup playable data files time block of this mistake time block when correct, the data of utilizing this standby playable data files time block to repair corresponding this time block of this original playable data files.
2. the method for claim 1, wherein this single control chip system servo-drive system of integrating this electro-optical system is in wherein.
3. method as claimed in claim 2, wherein when comprising in time block at described this original playable data files block of finding out, comprise when finding the error in data of this original playable data files block in the step of inferior block of misdata, comprise in time block at described this original playable data files block of finding out, the inferior block step and described the reading in this standby playable data files that comprise misdata, also include utilization by first error recovery information that this servo-drive system transmitted between the step corresponding to the backup playable data files time block of this mistake time block, proofread and correct the step of this block of this error in data.
4. method as claimed in claim 3, the step of wherein proofreading and correct the error in data block of this original playable data files is for the error-correcting code (Error Correction Code) of utilizing this first error recovery information to be comprised is proofreaied and correct.
5. the method for claim 1, wherein said this original playable data files block of finding out comprises in time block, and the step that comprises the inferior block of misdata is that the error detection sign indicating number (ErrorDetection Code) that utilizes this error recovery information to comprise carries out.
6. method as claimed in claim 2, read in this standby playable data files described, between the step corresponding to the data of the step of the backup playable data files time block of this mistake time block and corresponding this time block of this original playable data files of described repairing, also include and carry out the whether correct step of data of judging the inferior block of this standby playable data files.
7. whether correct method as claimed in claim 6 wherein judge data the step of this standby playable data files time block, undertaken by second wrong correction data that this servo-drive system transmitted for utilizing.
8. whether correct method as claimed in claim 7 wherein judge data the step of this standby playable data files time block, for the error detection sign indicating number (Error Detection Code) that utilizes this second error recovery information to be comprised carries out.
9. method as claimed in claim 7, wherein when the data of this standby playable data files time block are judged as mistake, between the step of the data of whether correct step of the described data of judging this standby playable data files time block and corresponding this time block of this original playable data files of described repairing, also include the error-correcting code (ErrorCorrection Code) of utilizing this second error recovery information to be comprised, to proofread and correct the step of this standby playable data files time block.
10. method as claimed in claim 9, wherein between the step of the data of the step of this standby playable data files of described correction time block and corresponding this time block of this original playable data files of described repairing, also comprise and read this block that comprises this standby playable data files mistake time block again, and the step that this onblock executing that comprises this standby playable data files mistake time block is proofreaied and correct.
11. the method for claim 1, wherein this original playable data files is the file of file suffixes IFO by name with this standby playable data files.
12. the method for claim 1, wherein the original playable data files of this that repaired is exportable is stored in data in this CD in order to broadcast.
CNB2004100752368A 2004-09-13 2004-09-13 Method for collecting broadcast data file in single control chip Active CN100380499C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100752368A CN100380499C (en) 2004-09-13 2004-09-13 Method for collecting broadcast data file in single control chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100752368A CN100380499C (en) 2004-09-13 2004-09-13 Method for collecting broadcast data file in single control chip

Publications (2)

Publication Number Publication Date
CN1750155A CN1750155A (en) 2006-03-22
CN100380499C true CN100380499C (en) 2008-04-09

Family

ID=36605547

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100752368A Active CN100380499C (en) 2004-09-13 2004-09-13 Method for collecting broadcast data file in single control chip

Country Status (1)

Country Link
CN (1) CN100380499C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8422865B2 (en) * 2006-10-06 2013-04-16 Via Technologies, Inc. DVD navigation systems and computer-implemented methods with check functions
CN102760460A (en) * 2011-04-25 2012-10-31 汤书芹 Access control method for multifunctional optical disk

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0171335A1 (en) * 1984-08-08 1986-02-12 TOTAL Compagnie Française des Pétroles Drilling rod joint, especially for traversing the zones of lost circulation
CN1482604A (en) * 2002-09-13 2004-03-17 联发科技股份有限公司 Method for destroying data access on CD
CN1514440A (en) * 2003-02-10 2004-07-21 威盛电子股份有限公司 Data reading out method
CN1515006A (en) * 2002-02-13 2004-07-21 ���µ�����ҵ��ʽ���� Recording apparatus, recording method, program and recording medium
EP1441339A2 (en) * 2003-01-22 2004-07-28 Hitachi-LG Data Storage Korea Inc. Apparatus and method for reproducing replacement data recorded on a disc

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0171335A1 (en) * 1984-08-08 1986-02-12 TOTAL Compagnie Française des Pétroles Drilling rod joint, especially for traversing the zones of lost circulation
CN1515006A (en) * 2002-02-13 2004-07-21 ���µ�����ҵ��ʽ���� Recording apparatus, recording method, program and recording medium
CN1482604A (en) * 2002-09-13 2004-03-17 联发科技股份有限公司 Method for destroying data access on CD
EP1441339A2 (en) * 2003-01-22 2004-07-28 Hitachi-LG Data Storage Korea Inc. Apparatus and method for reproducing replacement data recorded on a disc
CN1514440A (en) * 2003-02-10 2004-07-21 威盛电子股份有限公司 Data reading out method

Also Published As

Publication number Publication date
CN1750155A (en) 2006-03-22

Similar Documents

Publication Publication Date Title
JP3113201B2 (en) Replacement processing method
JP3938460B2 (en) Information recording apparatus, information recording method, recording medium on which information recording processing program is recorded, optical disc recording apparatus, optical disc recording method, information recording system, and optical disc recording system
TW463145B (en) Information recording medium, information recording and reproduction method, and information recording and reproduction apparatus
JP2000285462A (en) Method for obtaining disk information on optical disk, method for controlling access, method for controlling recording and optical disk recording apparatus
JP3029399B2 (en) Replacement processing method
TW200539141A (en) Optical recording medium, apparatus and method of recording/reproducing data thereon/therefrom, and computer readable recording medium storing program to perform the method
JP2010055663A (en) Optical disk device
US20070065105A1 (en) Data recovery method and system for a data recording
CN100380499C (en) Method for collecting broadcast data file in single control chip
JP3754288B2 (en) Control device
TWI286744B (en) Method for managing defective area on write-once optical recording medium, and optical recording medium using the same
TW201035970A (en) Device and method for determining defect sector on optical disc
CN100573673C (en) Pen recorder and recording method
US20030112715A1 (en) Method and apparatus for accessing target data in a data storage medium
TWI302300B (en) Apparatus and method for defect management of optical disks
CN101872636B (en) Flaw block judging device and method for optical discs
US20050091447A1 (en) Information recording and reproducing device
US7023774B2 (en) Optical disc device capable of recording or reading with high efficiency
TWI273561B (en) Method for collecting playback information file in an integrated signal chip
JP4002773B2 (en) Optical disk device
CN101399067A (en) Recovery method for write-in error of CD-disc
US8072861B2 (en) Method for determining completeness of optical disc and method for playing optical disc
JP3047408U (en) Optical disk drive
JP3992850B2 (en) Information recording / reproducing device
JP5278033B2 (en) Subcode Q channel information correction method and correction program

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