Method of and apparatus for managing disc defects in disc, and disc on which defects are managed

- Samsung Electronics

A method of and apparatus for managing disc defects in a disc using a temporary defect management area in the disc, and the disc, where the method includes recording in a data area user data; and recording in a temporary defect management area, which is present in at least one of a lead-in area and a lead-out area, which temporary defect information and temporary defect management information regarding the user data recorded in the data area are recorded. Accordingly, the method and apparatus are applicable to recordable discs and capable of effectively using the defect management area.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 10/663,981, filed Sep. 17, 2003 in the United States Patent and Trademark Office, currently pending, and claims the benefit of Korean Patent Application No. 2002-61897, filed on Oct. 10, 2002 in the Korean Intellectual Property Office, the disclosures of which are incorporated herein in their entirety by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to disc defect management, and more particularly, to a method of and apparatus for managing disc defects using a temporal defect management area (TDMA), and a disc in which defect management is performed using the method and apparatus.

2. Description of the Related Art

Defect management is a process of rewriting data stored in a user data area of a disc in which a defect occurs. The data is rewritten to a new portion of the disc's data area, thereby compensating for the data loss otherwise caused by the defect. In general, defect management is performed using a linear replacement method or a slipping replacement method. In the linear replacement method, the user data area in which the defect exists is replaced with a spare data area having no defects. In slipping replacement method, the user data area with the defect is slipped, and the next user data area having no defects is used.

Both the linear replacement and slipping replacement methods are applicable only to discs, such as a DVD-RAM/RW, on which data can be repeatedly recorded and recording can be performed using a random access method. In other words, the linear replacement and slipping replacement methods are difficult to apply to write-once discs on which recording is allowed only once.

In general, the presence of defects in a disc is detected by recording data on the disc, and then confirming whether the data has been recorded correctly on the disc. However, once the data is recorded on a write-once disc, it is impossible to overwrite the new data and manage the defects therein.

After the development of CD-R and DVD-R, a high-density write-once disc with a recording capacity of several dozen GBs was introduced. This type of disc can be used as a backup disc since it is inexpensive and allows random access that enables fast reading operations. However, since defect management is not available for write-once discs, a backup operation is discontinued when a defective area (i.e., an area where a defect exists) is detected during the backup operation. In general, since a backup operation is performed when a system is not frequently used, such as at night when a system manager does not operate the system, it is more likely that a discontinued backup operation is maintained discontinued for the night when it is stopped because a defective area of a write-once disc is detected such that the backup operation is not completely performed.

SUMMARY OF THE INVENTION

The present invention provides a defect management method and apparatus that can be applied to discs, and a disc having the defects managed using the defect management method.

The present invention also provides a defect management method and apparatus that can manage disc defects even when a defect is detected during a recording operation, enabling the recording operation without interruption, and a disc having the method.

Additional aspects and/or advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.

According to an aspect of the present invention, a disc includes a data area in which user data is recorded, and a temporary defect management area that is present in at least one of a lead-in area and a lead-out area and in which are recorded temporary defect information and temporary defect management information regarding the user data recorded in the data area.

It is preferable, but not required, that the temporary defect information and temporary defect management information are recorded for every recording operation in which user data is recorded in the data area.

Also, it is preferable, but not required, that the temporary defect information contains information indicating a position of a defective area of the data area in which corresponding user data is recorded, or contains information indicating a position of a replacement area that is a substitute for the defective area.

According to another aspect of the present invention, a method of managing disc defects in a disc includes recording defect information regarding data, which is recorded in a data area of the disc according to a recording operation, as temporary defect information in a temporary defect management area that is present in at least one of a lead-in area and a lead-out area of the disc; and recording management information for managing the temporary defect information as temporary defect management information in the temporary defect management area.

It is preferable, but not required, that the method further includes repeating the recording the defect information and the recording the management information for every recording operation; and recording a last recorded temporary defect management information and temporary defect information in a defect management area that is present in at least one of the lead-in area and the lead-out area.

The recording the last recorded temporary defect information is performed during finalization of the disc according to an aspect of the invention.

It is preferable, but not required, that the recording the defect information further includes recording information indicating a position of a defective area of the data area containing corresponding user data, as the temporary defect information; recording information indicating the position of a replacement area, which is a substitute for the defective area, as the temporary defect information; or sequentially recording the temporary defect information in a temporary defect information area included in the temporary defect management area, starting from a start of the temporary defect information area.

It is preferable, but not required, that the recording management information comprises sequentially recording the defect information in a temporary defect management information area included in the temporary defect management area, starting from an end of the temporary defect management information area.

According to yet another aspect of the present invention, a recording and/or reproducing apparatus for use with a disc includes a recording/reading unit that records data on or reads data from the disc; and a controller that controls the recording/reading unit to record defect information regarding the data, which is recorded in a data area of the disc according to a recording operation, as temporary defect information in a temporary defect management area that is present in at least one of a lead-in area and a lead-out area of the disc, and to record management information for managing the temporary defect information as temporary defect management information in the temporary defect management area.

It is preferable, but not required, that the controller controls the recording/reading unit to record the temporary defect information and the temporary defect management information in the temporary defect management area for every recording operation, and, during finalization of the disc, to record a last recorded temporary defect information and a last recorded temporary defect management information in a defect management area which is present in at least one of the lead-in area and the lead-out area of the disc.

According to still another aspect of the present invention, a recording apparatus for use with a disc includes a recording/reading unit that records data on or reads data from the disc; and a controller that controls the recording/reading unit to record defect information regarding first data, which is recorded in a data area of the disc according to a first recording operation, as first temporary defect information in a temporary defect management area that is present in at least one of a lead-in area and a lead-out area of the disc, to record first defect management information for managing the first temporary defect information as first temporary defect management information in the temporary defect management area, to record second defect information regarding second data, which is recorded in the data area according to a second recording operation, as second temporary defect information in the temporary defect management area, and to record defect management information for managing the second temporary defect information as second temporary defect management information in the temporary defect management area.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or other aspects and advantages of the present invention will become more apparent and more readily appreciated by describing in detail embodiments thereof with reference to the accompanying drawings in which:

FIG. 1 is a block diagram of a recording and/or reproducing apparatus according to an embodiment of the present invention;

FIGS. 2A and 2B illustrate structures of a disc according to embodiments of the present invention;

FIG. 3 illustrates data structures of the discs of FIGS. 2A and 2B according to an embodiment of the present invention;

FIGS. 4A through 4D illustrate data structures of a defect management area according to embodiments of the present invention;

FIG. 5 illustrates recording of data in a user data area and a spare area, according to an embodiment of the present invention;

FIGS. 6A, 6B and 7 illustrate data structures of temporary defect information TDFL #0 and TDFL #1 according to embodiments of the present invention;

FIG. 8 is a flowchart illustrating a defect management method according to an embodiment of the present invention; and

FIG. 9 is a flowchart illustrating a defect management method according to another embodiment of the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Reference will now be made in detail to the present embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

FIG. 1 is a block diagram of a recording and/or reproducing apparatus according to an embodiment of the present invention. Referring to FIG. 1, the recording and/or reproducing apparatus includes a recording/reading unit 1, a controller 2, and a memory 3. The recording/reading unit 1 records data on a disc 100, which is an information storage medium according to a first embodiment of the present invention, and reads back the data from the disc 100 to verify the accuracy of the recorded data. The controller 2 performs defect management according to an embodiment of the present invention. In the shown embodiment, the controller 2 uses a verify-after-write method in which data is recorded on the disc 100 in predetermined data units and the accuracy of the recorded data is verified to detect a defect in the recorded data. In other words, the controller 2 records user data on the disc 100 in units of recording operations, and verifies the recorded user data to detect an area (i.e., a defective area) of the disc 100 in which a defect exists. After the recording the data in the predetermined units, the controller 2 creates information that indicates a position of the defective area of the disc 100 as temporary defect information and stores the created temporary defect information in the memory 3. If the amount of the stored information reaches a predetermined level, the controller 2 records the stored information as defect information on the disc 100.

Here, the recording operation is a unit of work determined according to a user's intention or is a recording work to be performed. According to this embodiment, a recording operation indicates a process in which the disc 100 is loaded into the recording and/or reproducing apparatus, data is recorded on the disc 100, and the disc 100 is taken out from the recording and/or reproducing apparatus. During the recording operation, data is recorded and verified at least once. In general, data is recorded and verified several times. Defect information, which is obtained using the verify-after-write method, is temporarily stored in the memory 3.

When a user presses the eject button (not shown) of the recording and/or reproducing apparatus in order to remove the disc 100 after recording data, the controller 2 expects the recording operation to be terminated. Next, the controller 2 reads the information stored in the memory 3, provides the read data to the recording/reading unit 1, and controls the recording/reading unit 1 to record the read data on the disc 100.

If the recording of data on the disc 100 is completed (i.e., no more data will be recorded on the disc 100 and the disc 100 is to be finalized), the controller 2 records the temporary defect information and the temporary defect management information in a defect management area of the disc 100.

During reproduction, the recording and/or reproducing apparatus utilizes the defect information and the defect management information in the defect management area and/or the temporary defect management area in order to access the recorded user data. While described in terms of a recording and/or reproducing apparatus as shown in FIG. 1, it is understood that the apparatus can be an individual recording or reproducing apparatus or a recording and reproducing apparatus.

FIGS. 2A and 2B illustrates structures of the disc 100 of FIG. 1 according to embodiments of the present invention. FIG. 2A illustrates in detail a single record layer disc representation of disc 100 having a record layer L0. The disc 100 includes a lead-in area, a data area, and a lead-out area. The lead-in area is located in an inner part of the disc 100, and the lead-out area is located in an outer part of the disc 100. The data area is present between the lead-in area and the lead-out area, and is divided into a user data area and a spare area.

The user data area is an area of the data area where user data is recorded. The spare area is an area of the data area other than the user data area which is the replacement area for a portion of the user data area having a defect. The spare area serves to compensate for a loss in the recording area due to a defect in the user data area. On the assumption that defects may occur within the disc 100, it is preferable, but not required, that the spare area assumes 5% of the entire data capacity of the disc 100, so that a greater amount of data can be recorded on the disc 100.

FIG. 2B illustrates a double record layer disc representation of disc 100 having two record layers L0 and L1. A lead-in area, a data area, and an outer area are sequentially formed from the inner part of the first record layer L0 to the outer part of the first layer L0. Also, an outer area, a data area, and a lead-out area are sequentially formed from the outer part of the second record layer L1 to the second record layer L1 inner part. Unlike the single record layer disc 100 of FIG. 2A, the lead-out area is present in the inner part of the disc 100 of FIG. 2B. That is, the disc 100 of FIG. 2B has an opposite track path (OTP) in which data is recorded starting from the lead-in area of the first record layer L0 and continuing toward the outer area of the first record layer L0, and continuing from the outer area of the second record layer L1 to the lead-out area of the second record layer L1. The spare area is allotted to each of the record layers L0 and L1.

In the embodiments of FIGS. 2A and 2B, the spare areas are present between the user data area and the lead-out area and between the user data area and the outer area. If necessary, a portion of the user data area may be used as another spare area. Specifically, more than one spare area may be present between the lead-in area and the lead-out area.

FIG. 3 illustrates details of the structures of the disc 100 according to an embodiment of the present invention. Referring to FIG. 3, a temporary defect management area is present in at least one of the lead-in area, the lead-out area, and the outer area of the disc 100. Also, a temporary defect management area is present at least one of the lead-in area and the lead-out area.

In general, information that relates to managing defects in the disc 100 is recorded in a defect management area. Such information includes the structure of the disc 100 for defect management, a position of defect information, whether defect management is performed, and a position and a size of the spare area. In the case of a write-once disc, new data is generally recorded after previously recorded data when the previously recorded data changes according to an aspect of the invention.

In general, when a disc is loaded into a recording/reproducing apparatus such as that shown in FIG. 1, the apparatus reads data from the lead-in area and the lead-out area of the disc 100 to determine how to manage the disc 100 and record data on or read data from the disc 100. However, if the amount of data recorded in the lead-in area increases, a longer time is spent preparing the recording or reproducing of data after the loading of the disc. Accordingly, the present invention proposes temporary defect management information and temporary defect information. The temporary defect management information and the temporary defect information are recorded in a temporary defect management area that is formed in the lead-in area and/or the lead-out area.

According to an embodiment of the present invention, the defect management is performed using the linear replacement method. Thus, the temporary defect information includes information indicating the position of a defective area of the disc 100, and information indicating a portion of the disc 100 that can be a replacement area for the defective area. The temporary defect management information is used to manage the temporary defect information and includes information indicating the point of the disc 100 where the temporary defect information is recorded.

According to an embodiment of the present invention, the temporary defect information and the temporary defect management information are recorded every time a recording operation ends. The temporary defect management area includes temporary defect information #0 and temporary defect information #1. The temporary defect information #0 includes information regarding a defect occurring in data recorded during recording operation #0 and information regarding a replacement area. The temporary defect information #1 includes information regarding a defect occurring in data recorded during recording operation #1 and information regarding a replacement area as temporary defect information #1. Further, the temporary defect management area includes temporary defect management information #0, #1. The temporary defect management information #0, #1 includes corresponding information for managing the temporary defect information #0, #1.

If no more data can or is to be recorded on the disc 100 or if a user does not want to record more data on the disc 100 (i.e., the disc 100 needs to be finalized), the temporary defect information recorded in the temporary defect information area and the temporary defect management information recorded in the temporary defect management information area are recorded in the defect management area.

A reason for recording the temporary defect management information and the temporary defect information in the defect management area (DMA) again will now be explained. When no more data will be recorded on the disc 100 (i.e., the disc 100 needs to be finalized), the temporary defect management information and the temporary defect information, which are updated several times, are moved to the defect management area of the lead-in area, thereby enabling fast reading of the information recorded in the disc 100. Also, it is possible to increase the reliability of information by recording the defect management information in a plurality of areas.

In an embodiment of the invention, the defect information recorded in the temporary defect information areas #0 through #i-1 is accumulatively recorded in a temporary defect information area #i. Therefore, it is sufficient to read the defect information from the last recorded temporary defect information #i and again record the read information in the DMA during the finalization of the disc 100.

For a high-density disc with a recording capacity of several dozen GBs, it is generally desirable that a cluster is allocated to an area in which temporary defect management information #i is recorded, and four to eight clusters are allocated to an area in which temporary defect information #i is recorded. This is because it is generally preferable to record new information in units of clusters to update information when a minimum physical unit of record is a cluster, although the amount of the temporary defect information #i is just several KBs. A total amount of defects allowed in a disc 100 is preferably about 5 percent of the disc recording capacity. For instance, about four to eight clusters are required to record temporary defect information #i, considering that information regarding a defect is about 8 bytes long and the size of a cluster is 64 KB long.

A verify-after-write method can be performed on temporary defect information #i and temporary defect management information #i according to an aspect of the invention. When a defect is detected, information recorded in the defective area of the disc 100 containing the defect may be either recorded in a spare area using the linear replacement method, or recorded in an area adjacent to the defective area using the slipping replacement method.

FIGS. 4A through 4D illustrate data structures of a temporary defect management area (TDMA) according to embodiments of the present invention. Referring to FIG. 4A, a temporary defect management area is logically divided into two parts: a temporary defect information area, and a temporary defect management information area. Temporary defect information TDFL #0, TDFL #1, TDFL #2 are sequentially recorded in the temporary defect information area, starting from a start of the temporary defect information area toward the end thereof. Temporary defect management information TDDS #0, TDDS #1, TDDS #2 are sequentially recorded starting from a start of the temporary defect management information area toward the end thereof. The temporary defect management information TDDS #0, TDDS #1, and TDDS #2 correspond to temporary defect information TDFL #0, TDFL #1, TDFL #2, respectively.

Referring to FIG. 4B, a temporary defect management area is logically divided into two parts: a temporary defect information area and a temporary defect management information area, as shown in FIG. 4A. However, the sequence of recording information in the temporary defect information area and the temporary defect management information area is not the same as the sequence of recording information in those of FIG. 4A. In detail, temporary defect information TDFL #0, TDFL #1, TDFL #2 are sequentially recorded starting from an end of the temporary defect information area toward the start thereof. The temporary defect management information TDDS #0, TDDS #1, TDDS #2 are sequentially recorded starting from an end of the temporary defect management information area toward the start thereof. The temporary defect management information TDDS #0, TDDS #1, and TDDS #2 correspond to temporary defect information TDFL #0, TDFL #1, and TDFL #2, respectively.

Referring to FIG. 4C, corresponding temporary defect information and temporary defect management information are a pair of information in a corresponding temporary management information recorded in the temporary defect management area (TDMA). That is, temporary management information TDMA #0, TDMA #1, TDMA #2 are sequentially recorded starting from the start of the temporary defect management area toward an ending point thereof. The temporary management information TDMA #0 contains a corresponding pair of the temporary defect management information TDDS #0 and the temporary defect information TDFL #0. The temporary management information TDMA #1 contains a corresponding pair of the temporary defect management information TDDS #1 and the temporary defect information TDFL #1. The temporary management information TDMA #2 contains a corresponding pair of the temporary defect management information TDDS #2 and the temporary defect information TDFL #2.

Referring to FIG. 4D, compared to the temporary defect management area of FIG. 4C, corresponding temporary defect information and temporary defect management information are a pair of information in a corresponding temporary management information recorded in a temporary defect management area, but the sequence of recording the information is not the same. That is, temporary management information TDMA #0, TDMA #1, TDMA #2 are sequentially recorded starting from the end of the temporary defect management area toward the start thereof. The temporary management information TDMA #0, TDMA #1, and TDMA #2 contain a pair of the corresponding temporary defect management information TDDS #0 and temporary defect information TDFL #0, a pair of the corresponding temporary defect management information TDDS #1 and temporary defect information TDFL #1, and a pair of the corresponding temporary defect management information TDDS #2 and temporary defect information TDFL #2, respectively.

FIG. 5 illustrates recording of data in a user data area A and a spare area B according to an embodiment of the present invention. Data can be processed in units of sectors or clusters. A sector denotes a minimum unit of data that can be managed in a file system of a computer or in an application. A cluster denotes a minimum unit of data that can be physically recorded on a disc at once. In general, one or more sectors constitute a cluster.

There are two types of sectors: a physical sector and a logical sector. The physical sector is an area on a disc where a sector of data is to be recorded. An address for detecting the physical sector is called a physical sector number (PSN). The logical sector is a unit in which data can be managed in a file system or an application. An address for detecting the logical sector is called a logical sector number (LSN). A disc recording/reproducing apparatus such as that shown in FIG. 1 detects the recording position of data using a PSN, and when recording data on the disc 100, the entire data is managed in units of LSNs in a computer or an application and the position of data is detected using the LSN. The relationship between an LSN and a PSN is changed by a controller 2 of the recording/reproducing apparatus, based on whether the disc 100 contains a defect and an initial position of recording data.

Referring to FIG. 5, A denotes a user data area and B denotes a spare area in which PSNs are allocated to a plurality of sectors (not shown) in ascending order. In general, each LSN corresponds to at least one PSN. However, since LSNs are allocated to non-defective sectors in ascending order, the correspondence between the PSNs and the LSNs is not maintained when the disc 100 has a defective area, even if the size of a physical sector is the same as that of a logical sector.

In the data area A, sections 1001 through 1007 denote predetermined units of data in which the verify-after-write method is performed. A recording apparatus records user data in section 1001, returns to the start of section 1001, and checks if the user data is appropriately recorded or a defect exists in section 1001. If a defect is detected in a portion of section 1001, the portion is designated as defect #1. The user data recorded in defect #1 is also recorded on a portion of the spare area B. Here, the portion of the spare area B in which data recorded in defect #1 is rewritten is called replacement #1.

Next, the recording apparatus records user data in section 1002, returns to the start of section 1002, and checks whether the data is properly recorded or a defect exists in section 1002. If a defect is detected in a portion of section 1002, the portion is designated as defect #2. Likewise, replacement #2 corresponding to defect #2 is formed in the spare area B. Further, defect #3 and replacement #3 are designated in section 1003 of the user data area A and the spare area B, respectively. In section 1004, a defect does not occur and a defective area is not designated.

The recording apparatus records information regarding defect #1, #2, and #3 occurring in sections 1001 through 1003 as temporary defect information TDFL #0 in the temporary defect management area when recording operation #0 is expected to end, after the recording and verifying of data to section 1004, i.e., when a user presses the eject button of a recording apparatus or recording of user data allocated in a recording operation is complete. Also, defect management information for managing the temporary defect information TDFL #0 is recorded as temporary defect management information TDDS #0 in the temporary defect management area.

When recording operation #1 starts, data is recorded in sections 1005 through 1007 and defects #4 and #5 and replacements #4 and #5 are formed in the user data area A and the spare area B in the temporary defect management area, respectively, as explained with respect to sections 1001 through 1004. If the second recording operation is expected to end, the recording apparatus records information regarding defects #4 and #5 as temporary defect information TDFL #1, and records the information contained in the temporary defect information TDFL #0 once again. Thereafter, defect management information for managing the temporary defect information TDFL #1 is recorded in the temporary defect management area.

FIGS. 6A and 6B illustrate data structures of temporary defect information TDFL #0 and TDFL #1 according to an embodiment of the present invention. FIG. 7 illustrates a data structure of information regarding defect #i.

Referring to FIGS. 6A and 6B, the temporary defect information TDFL #0 contains information regarding defects #1 through #3. In detail, the information regarding defect #1 indicates the position of an area in which defect #1 exists and the position of an area in which replacement #1 is recorded. The information regarding defect #2 indicates the position of an area in which defect #2 exists and the position of an area in which replacement #2 is recorded. The information regarding defect #3 indicates the position of an area in which defect #3 exists and the position of an area in which replacement #3 is recorded.

The temporary defect information TDFL #1 further contains information regarding defects #4 and #5 in addition to the information contained in the temporary defect information TDFL #0. That is, the temporary defect information TDFL #1 includes the information regarding defect #1, the information regarding defect #2, the information regarding defect #3, the information regarding defect #4, and the information regarding defect #5.

Referring to FIG. 7, the information regarding defect #i describes a pointer pointing to defect #i and a pointer pointing to replacement #i. In detail, the pointer for defect #i specifies the starting and ending points of the defect #i, and the pointer for replacement #i specifies the starting and ending points of the replacement #i.

Hereinafter, a defect management method according to an embodiment of the present invention will be described with reference to FIG. 8. Referring to FIG. 8, in action 801, a recording apparatus records defect information regarding data recorded according to a first recording operation as first temporary defect information in a temporary defect management area of a disc. This process serves to manage disc defects. In action 802, management information for managing the first temporary defect information is recorded as first temporary defect management information in the temporary defect management area.

In action 803, it is checked whether the disc needs to be finalized. In action 804, if it is determined in action 803 that the disc does not need to be finalized, actions 801 and 802 are repeated while increasing indexes given to the recording operation, temporary defect information, and temporary defect management information by 1. However, it is understood that other numbers can be used for the index to the extent that the numbers serve to distinguish sets of recorded data.

In action 805, if it is determined in action 803 that the disc needs to be finalized, a last recorded temporary defect management information and a last recorded temporary defect information are recorded in a defect management area. That is, the last recorded temporary defect management information and the last recorded temporary defect information are recorded as the final temporary defect management information and temporary defect information in the defect management area (DMA). The final temporary defect management information and temporary defect information may be repeatedly recorded so as to increase the reliability of data detection according to an aspect of the invention.

Also, the verify-after-write method may be performed on the final temporary defect management information and the final temporary defect information according to an aspect of the invention. If a defect is detected from final temporary defect management information and the final temporary defect information, an area of the disc in which the defect occurs and data recorded after the area having the defect may be regarded as being unavailable (i.e., the areas of the final temporary defect management information and the final temporary defect information are designated as a defective area) and the final temporary defect management information and the final temporary defect information may be again recorded after the defective area.

FIG. 9 is a flowchart illustrating a disc defect management method according to another embodiment of the present invention. Referring to FIG. 9, a recording apparatus records user data in a data area in units of data to facilitate the verify-after-write method (in action 901). In action 902, the user data recorded in action 901 is verified to detect the existence of defects in any area of the disc 100. In action 903, the controller 2 of FIG. 1 designates the area having the defect as a defective area, rewrites the user data recorded in the defective area in a spare area to create a replacement area, and creates pointer information pointing to the defective area and the replacement area, respectively. In action 904, the pointer information is stored as first temporary defect information in the memory 3 of FIG. 1. In action 905, it is checked whether the recording operation is expected to end. If it is determined in action 905 that the recording operation is not likely to end, actions 901 through 904 are repeated.

However, in action 906, if it is determined in step 905 that the recording operation is likely to end (i.e., when the recording of the user data is complete by user input or according to the recording operation), the controller 2 reads temporary defect information #0 from the memory 3 and records the temporary defect information #0 as temporary defect information TDFL #0 in a temporary defect management area. In action 907, management information for managing temporary defect information TDFL #0 is recorded as temporary defect management information TDDS #0 in the temporary defect management area.

In action 908, it is checked whether the disc 100 needs to be finalized. If it is determined in action 908 that the finalizing of the disc 100 is not needed, actions 901 through 907 are repeated while indexes given to the recording operation, temporary defect information, and temporary defect management information are increased by 1. However, it is understood that other numbers can be used for the index to the extent that the numbers serve to distinguish sets of recorded data.

In action 910, if it is determined in action 908 that finalization of the disc 100 is needed, a last recorded temporary defect information TDFL #i and a last recorded temporary defect management information TDDS #i are recorded as defect information DFL and defect management information DDS in a defect management area (DMA). The defect information DFL and defect management information DDS may be repeatedly recorded several times to increase the reliability of data detection according to an aspect of the invention.

Further, the verify-after-write method may be performed on the defect information DFL and defect management information DDS according to an aspect of the invention. If a defect is detected from those DFL and DDS, an area having the defect and data recorded after the area having the defect may be regarded as being unavailable (, i.e., the area including the DFL and DDS is designated as a defective area), and the defect management information and defect information may be again recorded after the defective area.

The aforementioned defect management method may be embodied as a computer program that can be run by a computer. Codes and code segments, which constitute the computer program, can be easily reasoned by a computer programmer in the art. The program is stored in a computer readable medium. When the program is read and run by a computer, the defect management method according to the present invention is performed by the computer. Here, the computer-readable medium may be a magnetic recording medium, an optical recording medium, a carrier wave medium firmware or other recordable medium.

While not required in all aspects, it is understood that the controller 2 can be computer implementing the method using the computer program encoded on a computer readable medium. The computer can be implemented as a chip having firmware, or can be a general or special purpose computer programmable to perform the method.

In addition, it is understood that, in order to achieve a recording capacity of several dozen gigabytes, the recording and/or reproducing unit 1 could include a low wavelength, high numerical aperture type unit usable to record dozens of gigabytes of data on the disc 100. Examples of such units include, but are not limited to, those units using light wavelengths of 405 nm and having numerical apertures of 0.85, those units compatible with Blu-ray discs, and/or those units compatible with Advanced Optical Discs (AOD).

As described above, the present invention provides disc defect management that is applicable to discs. According to an aspect of the present invention, a temporary defect information area is present in a lead-in area and/or a lead-out area, so that defect information can be accumulatively recorded. Also, during finalization of a disc, only last recorded temporary defect information is read from a temporary defect management area and is recorded in a defect management area, thereby enabling efficient use of the defect management area. Accordingly, it is possible to record user data on even a write-once disc while performing defect management, thereby more stably backup operations can be performed without interruptions.

While described in terms of a write-once disc, it is understood that the method can be used with rewritable media or where the medium has write-once and rewritable portions.

Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in this embodiment without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.

Claims

1. A method of managing disc defects in a disc, the disc comprising a data area and a temporary defect management area in one of a lead-in and/or a lead-out area, the method comprising:

recording temporary defect information in the temporary defect management area, the temporary defect information comprising defect information regarding data recorded in the data area according to a recording operation; and
recording temporary defect management information in the temporary defect management area, the temporary defect management information comprising management information for managing the temporary defect information.

2. The method of claim 1, further comprising:

repeating the recording the temporary defect information and the recording the temporary defect management information for each unit of the data recorded during a plurality of recording operations; and
recording a last recorded temporary defect management information and a last temporary defect information in a defect management area that is present in at least one of the lead-in area and/or the lead-out area.

3. The method of claim 1, wherein the recording the last recorded temporary defect management information is performed during finalization of the disc.

4. The method of claim 1, wherein the recording the temporary defect information comprises recording in the temporary defect information defect position information indicating a position of a defective area of the data area.

5. The method of claim 3, wherein the recording the temporary defect information further comprises recording in the temporary defect information replacement position information indicating a position of a replacement area that includes a portion of the data also recorded in the defective area so as to be a substitute for the defective area.

6. The method of claim 1, wherein:

the temporary defect information comprises multiple units of temporary defect information,
the temporary defect management area further comprises a temporary defect information area, and
the recording the temporary defect information further comprises sequentially recording the units of the temporary defect information in the temporary defect information area starting from a start of the temporary defect information area.

7. The method of claim 1, wherein:

the temporary defect management information comprises multiple units of temporary defect management information,
the temporary defect management area further comprises a temporary defect management information area, and
the recording the temporary defect management information comprises sequentially recording the units of the temporary defect management information in the temporary defect management information area, starting from an end of the temporary defect management information area.

8. The method of claim 1, wherein:

the temporary defect information comprises multiple units of temporary defect information,
the temporary defect management area further comprises a temporary defect information area and a temporary defect management information area,
the temporary defect management information comprises multiple units of temporary defect management information, and
the recording the temporary defect information and the recording the temporary defect management information comprise sequentially recording corresponding units of the temporary defect information and temporary defect management information as a pair of information in corresponding units of temporary management information, starting from a start of the temporary defect management area.

9. The method of claim 1, wherein:

the temporary defect information comprises multiple units of temporary defect information,
the temporary defect management area further comprises a temporary defect information area and a temporary defect management information area,
the temporary defect management information comprises multiple units of temporary defect management information, and
the recording the temporary defect information and the recording the temporary defect management information comprise sequentially recording corresponding temporary defect information and temporary defect management information as a pair of information, starting from an end of the temporary defect management area.

10. The method of claim 1, wherein the recording the temporary defect information further comprises:

recording the data in predetermined units of the data;
verifying the recorded data to detect a defective area of the disc in which a defect exists;
if a defective area is detected, storing first temporary defect information in a memory, the first temporary defect information comprising information pointing to a position of the defective area and information pointing to a replacement area that contains a unit of data recorded in the defective area so as to be a substitute area for the defective area;
repeating the recording the data through the storing in the memory at least once; and
reading at least the first temporary defect information stored in the memory and recording the read information as the first temporary defect information in the temporary defect management area.
Patent History
Publication number: 20060203636
Type: Application
Filed: May 10, 2006
Publication Date: Sep 14, 2006
Applicant: Samsung Electronics Co., Ltd. (Suwon-si)
Inventors: Jung-wan Ko (Suwon-si), Kyung-geun Lee (Seongnam-si), Sung-hee Hwang (Seoul)
Application Number: 11/430,906
Classifications
Current U.S. Class: 369/47.140
International Classification: G11B 20/10 (20060101);