METHOD FOR CHOOSING THE DEFECT DETECTION MODE OF AN OPTICAL STORAGE DEVICE
At least one detection area on an optical storage medium is allocated for data storage first, and then the detection area is set to a defect detection mode of either write detection or write verification, depending on the number of defects stated in a previous defect record. If the detection area is the write detection mode and the number of accumulated defects exceeds a default threshold value, the detection area would be configured anew and thereby set to a defect detection mode of write verification.
Latest Mediatek Inc. Patents:
- Wi-Fi multi-link device for indicating capabilities of affiliated stations for different enabled link combinations during association and related capability indication method
- Multi-path voltage-controlled oscillator with same varactor controlled by inputs from different paths and associated method
- Adaptive radio frequency front-end circuit with low insertion loss for WLAN
- METHOD AND APPARATUS FOR PERFORMING SINGULARITY DETECTION AIDED CALIBRATION ON TIME-INTERLEAVED ANALOG-TO-DIGITAL CONVERTER
- Methods and apparatuses of sharing preload region for affine prediction or motion compensation
This application is a divisional application of U.S. application Ser. No. 10/904,886 field Dec. 2, 2004, and is based on and claims priority from Taiwanese Patent Application No. 093108873 filed Mar. 31, 2004.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to a method for choosing the defect detection mode of an optical storage device, more particularly to a method for choosing the defect detection mode of an optical storage device before data are recorded on an optical storage medium.
2. Description of the Related Art
In the event of the existence of defects, for example, scratches, contamination and an intrinsic structural defect, in parts of an optical storage medium (such as a CD), predetermined data cannot be correctly stored on the parts of the optical storage medium. An attempt to read the stored data always ends in finding the data not retrievable and therefore not readable. In order to solve the aforesaid problem of finding unreadable data stored previously on the defective parts of an optical storage medium, related storage medium industry develops a kind of optical storage media with defect management, for example, re-writable CDs in Mount Rainier format, including commonly used CD-MRW discs and DVD+MRW discs.
It is necessary to develop the defect detection technology for identifying defective parts of an optical storage medium so as to ensure the completeness of the data intended for storage. The defect detection technology essentially involves two modes, namely write detection and write verification. In a write detection mode, a servo defect detection signal, which is generated when data is recorded on the optical storage medium, is compared with a default threshold value, as shown in Step 11, Step 12 and Step 13 of
The write detection mode involves comparing a servo defect detection signal generated when data are written, such as an RF Signal or a Sub-Beam Add (SBAD) Signal, with a threshold value directly, to quickly determine whether any defect is present in the current block. However, since a servo defect detection signal is usually a signal that results from retrieval of light reflection, it is rather difficult to decide on an optimal threshold value suitable for various status of defects; for example, reflective conditions vary with the area of a defect, a fingerprint contamination, or a scratch.
With the step of reading the written data, the write verification mode involves verifying repeatedly whether any defect is present. Hence, the write verification mode does identify defects efficiently, compared to the write detection mode that involves simple steps. Nevertheless, the write verification mode is time-consuming as it involves more steps.
To sum up, the conventional defect detection technology can merely choose either a write detection mode or a write verification mode to debug errors. Therefore, it does not assure an optical storage device of two merits, namely speediness and reliability, equally well, nor does it allow the defect detection mode of the optical storage device to be flexibly adjusted according to the actual locations of defects present in an optical storage medium.
SUMMARY OF THE INVENTIONThe primary objective of the present invention is to provide a method for choosing the defect detection mode of an optical storage device. The defect detection mode is chosen according to the actual locations and densities of defects in an optical storage medium, hence two merits, namely speediness and reliability, concurrently exist.
In order to achieve the objective, the present invention discloses a method for choosing the defect detection mode of an optical storage device. At least one detection area on an optical storage medium is allocated for data storage first, and then the detection area is set to a defect detection mode of either write detection or write verification, depending on the number of defects stated in a previous defect record. If the detection area is the write detection mode and the number of accumulated defects exceeds a default threshold value, the detection area is configured anew and thereby set to a defect detection mode of write verification.
Furthermore, if the optical storage medium is an unformatted one, related defect records are absent. Hence, the detection area is directly set to a defect detection mode of write detection. If the detection area is the write detection mode and the number of accumulated defects exceeds a default threshold value, the detection area is configured anew and thereby set to a defect detection mode of write verification.
BRIEF DESCRIPTION OF THE DRAWINGSThe invention will be described according to the appended drawings in which:
FIGS. 3(a)-3(c) are schematic diagrams about dividing a program area into a plurality of detection areas in accordance with the present invention;
FIGS. 4(a)-4(c) are schematic diagrams about choosing a defect detection mode in accordance with the first embodiment of the present invention;
FIGS. 6(a)-6(b) are schematic diagrams about choosing a defect detection mode in accordance with the second embodiment of the present invention; and
FIGS. 3(a)-3(c) are schematic diagrams about dividing a program area into a plurality of detection areas in accordance with the present invention. The data structure of the optical storage medium 31 is essentially divided into the following areas, ordered from innermost to outermost, a lead-in area (LI), a program area and a lead-out area (LO). The program area is further divided into a plurality of data areas (DA), as shown in
FIGS. 4(a)-4(c) are schematic diagrams about choosing a defect detection mode in accordance with the first embodiment of the present invention. The present preferred embodiment may be applied to a formatted optical storage medium. There are four default detection areas, intended to store data and disposed on the optical storage medium, as shown in
Once the detection area is set to the write detection mode, it is necessary to check whether the number of accumulated defects is greater than the threshold value during the actual defect detection operation. If the number of accumulated defects is greater than the threshold value, the detection area is configured anew and thereby set to a defect detection mode of write verification, as shown in Steps 54, 55 and 56. If the number of accumulated defects is still smaller than the threshold value, the defect detection mode need not be altered. If at the beginning the detection area is set to the write verification mode, what should be performed is to go directly to Step 57 to write data in the detection area rather than execute the operations of Steps 55 and 56. Once all the predetermined data are written in the plurality of detection areas, the whole process ends; otherwise it is still necessary to go back to Step 54 to execute related steps one by one, as shown in Steps 58 and 59.
FIGS. 6(a)-6(b) are schematic diagrams about choosing a defect detection mode in accordance with the second embodiment of the present invention. The present preferred embodiment may be applied to an optical storage medium which is unformatted or whose defect distribution remains unknown. Assuming eight detection areas intended for data storage are disposed on the optical storage medium, as shown in
Once a detection area is set to the write detection mode, it is necessary to check whether the number of accumulated defects is greater than the threshold value during the actual defect detection operation. If the number of accumulated defects is greater than the threshold value, the detection area is configured anew and thereby set to a defect detection mode of write verification, as shown in Steps 73, 74 and 75. If the number of accumulated defects is still smaller than the threshold value, the defect detection mode need not be altered. In a situation where the detection area has been set to the write verification mode, what should be performed is to go directly to Step 76 to write data in the detection area rather than to execute the operations of Steps 74 and 75. Once all the intended data are written in the plurality of detection areas, the whole process ends; otherwise it is still necessary to go back to Step 73 to execute related steps one by one, as shown in Steps 77 and 78.
The above-described embodiments of the present invention are intended to be illustrative only. Numerous alternative embodiments may be devised by persons skilled in the art without departing from the scope of the following claims.
Claims
1. A method for choosing the defect detection mode of an optical storage device, comprising the steps of:
- designating at least one detection area on an optical storage medium as a data storage area;
- setting the detection area to a write detection mode for defect detection;
- writing data into the detection area at a write detection mode; and
- setting the detection area to a write verification mode for defect detection in place of the write detection mode if the number of accumulated defects in the detection area exceeds a default threshold value.
2. The method for choosing the defect detection mode of an optical storage device of claim 1, further comprising the steps of:
- counting and recording the defects in the detection area; and
- setting the detection area to a write verification mode for defect detection if the number of the defects in the detection area exceeds the default threshold value.
3. The method for choosing the defect detection mode of an optical storage device of claim 1, wherein the detection area is one of a plurality of data areas on the optical storage medium.
4. The method for choosing the defect detection mode of an optical storage device of claim 1, wherein the detection area is one of a plurality of data packets on the optical storage medium.
5. The method for choosing the defect detection mode of an optical storage device of claim 1, wherein there is only one detection area, which includes all the data storage areas of the optical storage medium.
Type: Application
Filed: Jun 14, 2007
Publication Date: Oct 11, 2007
Applicant: Mediatek Inc. (Hsinchu City)
Inventors: Kuo-Wen Jin (Hsinchu City), Shou-Ren Tsai (Jhubei City), Wei-Guan Yau (Hsinchu City)
Application Number: 11/763,063
International Classification: G11B 15/52 (20060101);