CN1527312A - CD data error diagnosing method - Google Patents

CD data error diagnosing method Download PDF

Info

Publication number
CN1527312A
CN1527312A CNA031587690A CN03158769A CN1527312A CN 1527312 A CN1527312 A CN 1527312A CN A031587690 A CNA031587690 A CN A031587690A CN 03158769 A CN03158769 A CN 03158769A CN 1527312 A CN1527312 A CN 1527312A
Authority
CN
China
Prior art keywords
discs
data
error
damage
data block
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.)
Granted
Application number
CNA031587690A
Other languages
Chinese (zh)
Other versions
CN1272792C (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 CN 03158769 priority Critical patent/CN1272792C/en
Publication of CN1527312A publication Critical patent/CN1527312A/en
Application granted granted Critical
Publication of CN1272792C publication Critical patent/CN1272792C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Optical Recording Or Reproduction (AREA)

Abstract

The CD data error diagnosing method is used in measuring the damage state of CD quickly. The diagnosing method includes first selecting data blocks in preset number in the CD; judging whether the selected data blocks are damaged; calculating the ratio between the damaged data blocks and the selected data blocks; and judging the damage state of the CD by referring the ratio.

Description

Discs error in data diagnostic method
Technical field
The present invention is relevant for a kind of discs error in data diagnostic method, and be particularly to a kind of mode of in discs, choosing the data block of predetermined number and calculating the damage ratio of these data blocks, in order to the discs error in data diagnostic method of the damage situation of judging discs.
Background technology
All the time, medium is all being played the part of indispensable role in computing machine and audio-video system, so scientific and technological circle constantly carry out the research of medium.Therefore, no matter be the kind or the technology such as the stability of medium and memory capacity of medium, all obtained considerable progress.Because CD has advantages such as high stability and high storage capacity, so its range of application is universal day by day especially, and has the optical disc product of various different qualities constantly to weed out the old and bring forth the new.With the example that is applied as of audio-visual aspect, the CD of storage film data has been the bigger DVD of capacity (Digital Versatile Disc is called for short a DVD) CD by VCD (Video Compact Disc is called for short VCD) progress, in order to the image frame of storage high image quality.
In the prior art, the method of error in data situation on any fast detecting discs is not provided in CD player, so that whether the discs that the user inserted that can't form a prompt judgement can not be used, more can't be according to the damage situation of inserting discs, adopt different broadcast strategies, so that the more comfortable environment of viewing and admiring to be provided to the user.In personal computer, though can adopt the mode of complete scan light disc, judge the damage situation of discs, this scan mode needs to expend extremely long sweep time and unrealistic significantly.
Summary of the invention
The invention provides a kind of discs error in data diagnostic method, apace the damage situation of diagnostic light disc.This discs error in data diagnostic method comprises the following steps: to choose arbitrarily the logic data block of predetermined number; Judge whether each logic data block of choosing damages; Calculate the logic data block that damages subsequently and account for the damage ratio that all choose logic data block; And the damage ratio of reference calculation gained, judge the damage situation of discs.
Selected logic data block can be the logic data block of data block (Data block), data sector (Data sector) or arbitrary form in preferred embodiment, and wherein data block comprises a plurality of data sector.When being judgment standard with the data block, can choose data sector that this data block comprises one, and judge whether this data sector is correct, whether damage in order to determine this data block, and the mode of data sector that read block comprises can directly read first data sector or reaches in the mode of choosing a data sector arbitrarily.On the other hand, if when being judgment standard, just can directly judge with the error flag or the error count of selected data sector whether it damages with the data sector.
The step of judging the damage situation of discs in preferred embodiment comprises: the fiducial interval of calculating aforementioned damage ratio; And when the upper limit of fiducial interval when damaging critical value, judge that this discs is out of use discs.The account form of fiducial interval D is in the preferred embodiment:
P-2*sqrt(P*(1-P)/Q)<D<P+2*sqrt(P*(1-P)/Q)
Wherein Q is aforesaid predetermined number, and P is the damage ratio.And in preferred embodiment, (P* (1-P)/Q) is when damaging critical value, and then the decidable discs is out of use discs as P+2*sqrt; And when this damage ratio when this damage critical value and change are read between the mode critical value, can utilize skip wrong data block and no longer the mode of retry (Retry) read or play this discs.
By in the above-mentioned explanation as can be known, a kind of discs error in data diagnostic method provided by the present invention, check discs owing to adopt the sampling principle, therefore, not only can test and calculate the damage situation of discs apace, but the damage situation of reference light disc more adopts different reading or broadcast strategy or judge that directly this discs can not use with decision.
For above and other objects of the present invention, feature and advantage can be become apparent, hereinafter special with preferred embodiment, and conjunction with figs., elaborate.
Description of drawings
Fig. 1 shows the process step of a kind of discs error in data diagnostic method of preferred embodiment according to the present invention; And
Fig. 2 shows the process step of judging the damage situation of discs according to Principle of Statistics.
Embodiment
Please refer to Fig. 1, it is the process step of a kind of discs error in data diagnostic method of the preferred embodiment according to the present invention.In order to reach the purpose that scans apace with the damage situation of calculating discs, discs error in data diagnostic method in the preferred embodiment of the present invention adopts the sampling principle, the data block of coming discs is comprised is carried out sample testing, and according to the result of sample testing, calculate and the damage situation of differentiating discs, thereby in computer system or electro-optical system, CD-ROM disc player (drive) for example, the CD-RW disc player, the DVD-ROM disc player, the DVD+R disc player, the DVD+RW disc player, or DVD-RAM disc player, when playing film in the DVD player systems such as (DVD player), can adopt different broadcast strategies according to the damage situation of discs (for example when discs damage situation is serious, will skip wrong data block and retry (Retry) no longer), so that the more comfortable environment of viewing and admiring to be provided to the user.In addition, the disclosed diagnostic method of the present invention also can be applicable in the discs test machine, whether can not use in order to judge discs apace, and for discs is hired out the dealer, be ten minutes discs testing tool easily.
As shown in Figure 1, in the S110 step, at first choose (for example being 1000) data blocks a plurality of in the discs (Data block), these a plurality of data blocks that are selected are the predetermined number of predetermined sample test.Certainly, the user can select to use the data block of different predetermined numbers according to the accuracy of the test result of desiring to reach.Moreover, choose the mode of the data block of predetermined number, can choose one by picked at random or in the predetermined number of consecutive data block, for example every continuous three data blocks are promptly selected one, and the selected taker of these three data blocks can also be fixed (for example fixedly selecting first) or carry out (for example selecting one at random in three data blocks) in mode at random.In fact, those skilled in the art can change the mode of choosing of data block according to the demand of reality, but all do not break away from the equivalence modification of preferred embodiment spirit of the present invention, must be contained among the present patent application scope.
Secondly in the S120 step, just can begin to check and judge whether each data block that is selected is damaged, its method can be by reading data sector (the Data sector that each data block comprises, a data block comprises 16 data sectors) mode, for example fixedly read first data sector of each data block and check the disc player system, as the foundation of judging whether each data block is damaged the error flag that this data sector responded.That is to say, when checking first data sector of data block, during as if this data sector mistake, judge that promptly the data block that comprises this data sector is the corrupt data piece; And the error flag that is responded when the disc player system is when indicating this data sector to be the correct data sector, and the data block that just will comprise this data sector is recorded as correct data block.As for the whether wrong mode in judgment data sector, can be when reading the VCD sheet, the C2 error flag (C2 error flag) that is returned according to the disc player system decides whether mistake of this data sector; And when reading the DVD sheet, the error count (Error count) that can calculate in each data sector is used as basis for estimation, but those skilled in the art still can be changed preferred embodiment according to actual demand.
In the S130 step, can use the corrupt data piece that the S120 step is write down, calculate the damage ratio P that it accounts for selected data block.For example, supposing has 5 at the corrupt data piece that the S120 step is write down, and then can calculate damage ratio P is 5/1000ths (5/1000).
After in the S130 step, obtaining damage ratio P, just can be in the S140 step damage ratio P of reference calculation gained, judge the damage situation of discs.Its method please refer to shown in Figure 2, in the S210 step, at first calculates the fiducial interval D of aforementioned damage ratio P, and its account form is:
P-2*sqrt(P*(1-P)/Q)<D<P+2*sqrt(P*(1-P)/Q)....(1)
Q wherein is aforesaid predetermined number, and P then is the damage ratio.Supposing that aforementioned predetermined number Q is 1000, is 5/1000 and damage ratio P, and numerical value substitution formula (1) is calculated, and then obtains fiducial interval D and is:
5/1000-4.46/1000<D<5/1000+4.46/1000 that is
0.04/1000<D<9.46/1000
That is to say that when the predetermined number Q of sample testing is 1000 data blocks, and test result is when having 5 to damage, then the possible damage ratio of overall optical disc will be between 0.04/1000 and 9.46/1000.In order to ensure the playback quality of image, present embodiment is shown in step S220, and when the upper limit of fiducial interval D, just above-mentioned 9.46/1000 when damaging critical value, judges that then this discs is out of use discs.For example when selected damage critical value was 1%, when pointing out its data block that comprises 6 damages as if the test result of discs, this discs of decidable was out of use discs.Certainly, the user also can adopt different critical values according to its actual requirement.In addition, also can adopt the mode of setting multiple critical value to read or play discs.For example when the upper limit of fiducial interval D when damaging critical value (for example above-mentioned 1%), judge that promptly this discs is out of use discs; But when the upper limit of fiducial interval D drops on when damaging critical value and reading between the mode critical value (for example being 0.5%) with change, can adopt skip wrong data block and no longer the mode of retry (Retry) read (or broadcast) discs.In fact, any type of logic data block all can be used as judgment standard in the discs, those skilled in the art can change preferred embodiment according to actual demand, but all must be contained among the claim of the present invention based on the equivalence modification and change of spirit of the present invention.
In addition, though above-mentioned preferred embodiment is judgment standard with the data block, and adopt the mode in each data block, choose a data sector and to judge its correctness, decide the correctness of selected data block, and then calculate the damage ratio of discs, but be that judgment standard also can obtain similar effect with the data sector.For example, can in step S110, change choosing predetermined quantity (for example being 5000) data sector, and change at step S120 and to judge whether each data sector is damaged.Then in step S130, calculate the damage ratio ratio of the data sector and the selected data sector of damage (that is be judged as), calculate fiducial interval according to formula (1) more at last, and as judging that discs damages the foundation of situation, whether decision need change and read/broadcast mode or judge that this discs is out of use disc more at last.It should be noted, because of a data block comprises 16 data sectors, so in the embodiment that with the data sector is judgment standard, should choose more data sector.For example need choose 1000 data blocks during for judgment standard and judge, make a decision but just need to choose 5000 data blocks when being benchmark with the data sector with the data block.In addition, relevant critical value also can be adjusted simultaneously, for example will be that the damage critical value 1% of benchmark changes mode such as 2% into and handles with the data block.Moreover, choose the whether wrong mode (can deciding according to the C2 error flag that the disc player system responded when for example reading the VCD sheet) of the mode (at random or in the predetermined number of consecutive data sector, select), judgment data sector of data sector etc., can be identical with the embodiment that with the data block is judgment standard.Those skilled in the art work as and can be changed according to practical application, but all must be contained among the claim of the present invention based on the equivalence modification of preferred embodiment of the present invention.
In sum, the present invention has following advantage at least:
1. can test and calculate the damage situation of discs apace.
2. but the damage situation of reference light disc determines to adopt different reading/broadcast strategy in CD player, or the judgement discs can not be used.
Though the present invention is disclosed as above by preferred embodiment; right its is not in order to limit the present invention; any technician of this area; under the premise without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking appended the claim person of defining.

Claims (15)

1. discs error in data diagnostic method is applicable to comprise the following steps: the damage situation of diagnostic light disc
Choose the data block (Data block) of this discs of predetermined number;
Judge whether each data block that is selected is damaged; And
Computational discrimination accounts for the damage ratio of selected data block for the data block of damaging; And
Judge the damage situation of this discs according to this damage ratio.
2. as 1 described discs error in data diagnostic method of claim the, the step of wherein judging the damage situation of this discs comprises the step of the fiducial interval of calculating this damage ratio.
3. as 2 described discs error in data diagnostic methods of claim the, wherein when this predetermined number be Q, and when should the damage ratio being P, then (P* (1-P)/Q) and P+2*sqrt are (between the P* (1-P)/Q) between P-2*sqrt for this fiducial interval.
4. as 2 described discs error in data diagnostic methods of claim the, wherein, judge that this discs is out of use disc when the upper limit of this fiducial interval during greater than first critical value.
5. as 4 described discs error in data diagnostic methods of claim the, wherein be not more than this first critical value but during when the upper limit of this fiducial interval greater than second critical value, with skip in this discs error block and no longer the mode of this error block of retry (Retry) read discs.
6. discs error in data diagnostic method is applicable to comprise the following steps: the damage situation of diagnostic light disc
Choose the data sector (Data Sector) of this discs of predetermined number;
Judge whether each data sector that is selected is damaged; And
Computational discrimination accounts for the damage ratio of selected data sector for the data sector of damaging; And
Judge the damage situation of this discs according to this damage ratio.
7. as 6 described discs error in data diagnostic methods of claim the, the step of wherein judging the damage situation of this discs comprises the step of the fiducial interval of calculating this damage ratio.
8. as 7 described discs error in data diagnostic methods of claim the, wherein when this predetermined number be Q, and when should the damage ratio being P, then (P* (1-P)/Q) and P+2*sqrt are (between the P* (1-P)/Q) between P-2*sqrt for this fiducial interval.
9. as 7 described discs error in data diagnostic methods of claim the, wherein, judge that this discs is out of use disc when the upper limit of this fiducial interval during greater than first critical value.
10. as 9 described discs error in data diagnostic methods of claim the, wherein be not more than this first critical value but during when the upper limit of this fiducial interval greater than second critical value, with skip in this discs error block (Data block) and no longer the mode of this error block of retry (Retry) read discs, wherein each data block comprises a plurality of these data sector.
11. a discs error in data diagnostic method is applicable to comprise the following steps: the damage situation of diagnostic light disc
Choose the logic data block of this discs of predetermined number;
Judge whether each logic data block that is selected damages; And
Computational discrimination accounts for the damage ratio of selected logic data block for the logic data block that damages; And
Judge the damage situation of this discs according to this damage ratio.
12. as 11 described discs error in data diagnostic methods of claim the, the step of wherein judging the damage situation of this discs comprises the step of the fiducial interval of calculating this damage ratio.
13. as 12 described discs error in data diagnostic methods of claim the, wherein when this predetermined number be Q, and when should the damage ratio being P, then (P* (1-P)/Q) and P+2*sqrt are (between the P* (1-P)/Q) between P-2*sqrt for this fiducial interval.
14., wherein, judge that this discs is out of use disc when the upper limit of this fiducial interval during greater than this first critical value as 12 described discs error in data diagnostic methods of claim the.
15. as 12 described discs error in data diagnostic methods of claim the, wherein be not more than this first critical value but during when the upper limit of this fiducial interval greater than second critical value, with skip in this discs error block (Data block) and no longer the mode of this error block of retry (Retry) read discs, wherein each data block comprises a plurality of data sector (Data sector).
CN 03158769 2003-09-24 2003-09-24 CD data error diagnosing method Expired - Lifetime CN1272792C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03158769 CN1272792C (en) 2003-09-24 2003-09-24 CD data error diagnosing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03158769 CN1272792C (en) 2003-09-24 2003-09-24 CD data error diagnosing method

Publications (2)

Publication Number Publication Date
CN1527312A true CN1527312A (en) 2004-09-08
CN1272792C CN1272792C (en) 2006-08-30

Family

ID=34287291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03158769 Expired - Lifetime CN1272792C (en) 2003-09-24 2003-09-24 CD data error diagnosing method

Country Status (1)

Country Link
CN (1) CN1272792C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102956270A (en) * 2012-10-25 2013-03-06 北京奇虎科技有限公司 Mobile storage equipment detecting method and device
CN102969026A (en) * 2012-10-25 2013-03-13 北京奇虎科技有限公司 Mobile storage device detection method and apparatus based on data processing system
CN110289023A (en) * 2018-03-19 2019-09-27 株式会社东芝 Disk device and medium scanning method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102956270A (en) * 2012-10-25 2013-03-06 北京奇虎科技有限公司 Mobile storage equipment detecting method and device
CN102969026A (en) * 2012-10-25 2013-03-13 北京奇虎科技有限公司 Mobile storage device detection method and apparatus based on data processing system
CN102969026B (en) * 2012-10-25 2015-09-30 北京奇虎科技有限公司 Based on movable storage device detection method and the device of data handling system
CN102956270B (en) * 2012-10-25 2015-11-25 北京奇虎科技有限公司 Movable storage device detection method and device
CN110289023A (en) * 2018-03-19 2019-09-27 株式会社东芝 Disk device and medium scanning method
CN110289023B (en) * 2018-03-19 2021-06-01 株式会社东芝 Disk device and medium scanning method

Also Published As

Publication number Publication date
CN1272792C (en) 2006-08-30

Similar Documents

Publication Publication Date Title
CN100431035C (en) Method for managing shortage position in data storage medium and recording medium
US7555200B2 (en) Recording medium having a data structure for managing a data stream recorded on the recording medium and recording and reproducing methods and apparatuses
US20090180369A1 (en) Method for Controlling the Quality of Storage Media
CN1272792C (en) CD data error diagnosing method
AU2006315202A1 (en) Apparatus and method for analysis of optical storage media
CN1477508A (en) Method for automatically-detecting computer video multimedia playback function
KR100573686B1 (en) Method for reproducing optical disc
MXPA02009424A (en) Defect detection of recordable storage media.
CN1224037C (en) Device and method for disting uishing disc type
US5740151A (en) Optical test disk having a plurality of different formats
KR100532457B1 (en) Apparatus and method for handling reading failure of storage medium having moving image and for reproducing the storage medium
KR19980082391A (en) Pollution degree display device and method of DVD
US20050286378A1 (en) Data writing method
US7536275B2 (en) Method for evaluating anti-contamination level on a surface of optical recording medium, the apparatus and the optical recording medium
US7209417B2 (en) Method of and apparatus for recording data on defective optical storage media and computer readable medium storing the method
CN1227654C (en) Method for correcting optimum writing capability of CD
US20030214891A1 (en) Method and apparatus for removing vibration in disc drive
JPH07176142A (en) Disk device
TWI221215B (en) Method for diagnosing data errors on optical disc
US7471873B2 (en) Method for repairing video/audio files of multimedia video/audio disks
WO2007000707A2 (en) A method and system for protecting data stored on an optical disc
CN1555056A (en) Method of and apparatus for detecting type of disc
JPH05159507A (en) Inspecting apparatus and method for optical disc
JP2000293850A (en) Information signal recording and reproducing device
JP4493534B2 (en) Dirty detection device for optical pickup, control method thereof, control program, and recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20060830