The present invention relates to a recording medium such as an optical recording medium used particularly as write-once recording media as well as relates to a recording apparatus, a recording method, a reproduction apparatus and a reproduction method, which are provided for the recording medium.
As a technology for recording and reproducing digital data, there is known a data-recording technology for using optical disks including magneto-optical disks as recording media. Examples of the optical disks are a CD (Compact Disk), an MD (Mini-Disk) and a DVD (Digital Versatile Disk). The optical disk is the generic name of recording media, which is a metallic thin plate protected by plastic. When a laser beam is radiated to the optical disk, the optical disk emits a reflected signal, from which changes can be read out as changes representing information recorded on the disk.
The optical disks can be classified into a read-only category including a CD, a CD-ROM and a DVD-ROM, which the user is already familiar with, and a writable category allowing data to be written therein as is generally known. The writable category includes an MD, a CD-R, a CD-RW, a DVD-R, a DVD-RW, a DVD+RW and a DVD-RAM. By adopting a magneto-optical recording method, a phase-change recording-method or a pigmented-coat change recording-method for the writable category, data can be recorded onto a disk of this category. The pigmented-coat change recording-method is also referred to as a write-once recording-method. Since this pigmented-coat change recording-method allows data recording once and inhibits renewal of data onto the disk, the disk is good for data-saving applications or the like. On the other hand, the magneto-optical recording method and the phase-change recording-method are adopted in a variety of applications allowing renewal of data. The applications allowing renewal of data include mainly an application of recording various kinds of content data including musical data, movies, games and application programs.
In addition, in recent years, a high-density optical disk called a blue-ray disc has been developed in an effort to produce the product on a very large scale.
Typically, data is recorded onto a high-density optical disk and read out from the disk under a condition requiring a combination of a laser with a wavelength of 405 nm and an objective lens with an NA of 0.85 to be reproduced. The laser required in this condition is the so-called blue laser. With the optical disk having a track pitch of 0.32 μm, a line density of 0.12 μm/bit, a formatting efficiency of about 82% and a diameter of 12 cm, data of the amount of up to 23.3 GB (gigabytes) can be recorded onto and reproduced from the disk in recording/reproduction units, which are each a data block of 64 KB (kilobytes).
There are also two types of optical disk having such a high density, i.e., optical disks of a write-once type and optical disks of a writable type.
In an operation to record data onto an optical disk allowing data to be recorded therein by adoption of the magneto-optical recording method, the pigmented-coat change recording-method or the phase-change recording-method, guide means for tracking data tracks is required. Thus, a groove is created in advance to serve as a pregroove. The groove or a land is used as a data track. A land is a member having a shape resembling a section plateau between two adjacent grooves.
In addition, it is also necessary to record addresses so that data can be recorded at a predetermined location indicated by an address as a location on a data track. Such addresses are recorded on grooves by wobbling the grooves in some cases.
That is to say, a track for recording data is created in advance as typically a pregroove. In this case, addresses are recorded by wobbling the side walls of the pregroove.
By recording addresses in this way, an address can be fetched from wobbling information conveyed by a reflected light beam. Thus, data can be recorded at a predetermined location and reproduced from a predetermined location without creating for example pit data showing an address or the like in advance on the track.
By adding addresses as a wobbling groove, it is not necessary to discretely provide an address area or the like on tracks as an area for recording typically pit data representing addresses. Since such an address area is not required, the capacity for storing actual data is increased by a quantity proportional to the eliminated address area.
It is to be noted that absolute-time (address) information implemented by a groove wobbled as described above is called an ATIP (Absolute Time In Pregroove) or an ADIP (Address in Pregroove).
In addition, in the case of recording media usable as media for recording these kinds of data or not as reproduction-only media, there is known a technology for changing a data-recording location on the disk by providing an alternate area. That is to say, this technology is a defect management technology whereby an alternate recording-area is provided so that, if a location improper for recording data exits on the disk due to a defect such as an injury on the disk, the alternate recording-area can be used as an area serving as a substitute for the defective location to allow proper recording and reproduction operations to be carried out properly.
These defect management technologies are disclosed in documents including Japanese Unexamined Patent Publication No. 2002-521786, and Japanese Patent Laid-open Nos. Sho 60-74020 and Hei 11-39801.
By the way, it is naturally impossible to record data into an already recorded area in a write-once optical recording medium, that is, an area in which data has been recorded before. Examples of the write-once optical recording medium are a CD-R, a DVD-R and a high-density recording medium, which function as a write-once disk.
Specifications of most file systems to be recorded on an optical recording medium are defined by assuming the use of the optical recording medium as a ROM-type disk or a RAM-type disk. The ROM-type disk is a reproduction-only medium and the RAM-type disk is a writable optical disk. Specifications of a file system for a write-once recording medium allowing data to be stored therein only once limit functions of the ordinary file system and include special functions.
The specifications of a file system for a write-once recording medium are a reason why the file system does not become widely popular. On the other hand, a FAT file system capable of keeping up with a variety of OSes of an information-processing apparatus and other file systems cannot be applied to write-once media as they are.
Write-once media is widely used typically in applications of preserving data. If the write-once media can also be used for the FAT file system by keeping the general specifications of the file system as they are, the usability of the write-once media can be further enhanced.
In order to allow a widely used file system such as the FAT file system and a file system for RAMs or hard disks to be applied to write-once media as it is, however, a function to write data into the same address as that of existing data is required. That is to say, a capability of renewing data is required. Of course, one of characteristics of the write-once media is that data cannot be written onto the media for the second time. Thus, it is impossible to use a file system for such a writable recording medium as it is in the first place.
In addition, when the optical disk is mounted on a disk drive or dismounted from it, the recording face of the disk may be injured in dependence on the state in which the disk is kept in the drive and the way in which the disk is used. For this reason, the aforementioned technique of managing defects has been proposed. Of course, even the write-once media must be capable of coping with a defect caused by an injury.
In addition, in the case of the conventional write-once optical disk, data is recorded in a state of being compacted sequentially in areas starting from the inner side. To put it in detail, there is no space left between an area already including recorded data and an area in which data is to be recorded next. This is because the conventional disk is developed with a ROM-type disk used as a base so that, if an unrecorded area exists, a reproduction operation cannot be carried out. Such a situation limits the freedom of a random-access operation carried out on the write-once media.
In addition, for a disk drive or a recording/reproduction apparatus, an operation requested by a host computer to write data at an address specified in the operation as an address in a write-once optical disk or an operation to read out data from such an address is a process of a heavy load.
From what is described above, contemporary write-once media or, in particular, write-once media implemented by a high-density optical disk having a recording capacity of at least 20 GB like the aforementioned blue-ray disk, is required to meet the following requirements. The write-once media shall be capable of renewing data and managing defects by execution of proper management, improving the random accessibility, reducing the processing load borne by the recording/reproduction apparatus, keeping up with a general-purpose file system by the capability of renewing data and maintaining compatibility with writable optical disks as well as reproduction-only disks.
It is thus an object of the present invention addressing such a situation to improve usability of a write-once recording medium with a plurality of recording layers by allowing data stored on the write-once recording medium to be renewed and by executing proper management of defects.
A recording medium provided by the present invention has a plurality of recording layers each including a write once recording area allowing data to be recorded therein only once as an area including a regular recording/reproduction area, which data is recorded into and reproduced from, an alternate area for recording data in an alternate address process carried out due to a defect existing in the regular recording/reproduction area or carried out to renew existing data, a first alternate address management information area for recording alternate address management information for managing alternate address processes each using the alternate area and a second alternate address management information area for recording the alternate address management information in an updateable state in an updating process prior to finalization. In addition, for each data unit of the write once recording area, written/unwritten state indication information is recorded in a predetermined area as information indicating whether or not data has been written into the data unit.
Furthermore, the second alternate address management information areas, which are each provided on one of the recording layers, are used sequentially one after another each as an area for recording alternate address management information serving as an update.
In addition, the written/unwritten state indication information is recorded in the second alternate address management information areas, and the second alternate address management information areas, which are each provided on one of the recording layers, are used sequentially one after another each as an area for recording alternate address management information serving as an update as well as written/unwritten state indication information for each of the recording layers as an update.
A recording apparatus provided by the present invention is a recording apparatus designed for the recording medium described above. The recording apparatus includes write means for recording data onto the recording medium and control means. The control means executes control to use the second alternate address management information areas, which are each provided on one of the recording layers, sequentially one after another each as an area for recording updates when driving the write means to carry out a write operation to update a portion of the written/unwritten state indication information in accordance with an operation to write data into a data unit associated with the updated portion of the written/unwritten state indication information and a write operation to update the alternate address management information in accordance with the alternate address process.
In addition, when driving the write means to carry out a write operation to update a portion of the written/unwritten state indication information in accordance with an operation to write data and a write operation to update the alternate address management information in accordance with the alternate address process, the control means executes control to include information in the written/unwritten state indication information being written in the second alternate address management information area to indicate that the written/unwritten state indication information is effective written/unwritten state indication information in the second alternate address management information area and information in the alternate address management information being written in the second alternate address management information area to indicate that the alternate address management information is effective alternate address management information in the second alternate address management information area.
A reproduction apparatus provided by the present invention is a reproduction apparatus designed for the recording medium described above. The reproduction apparatus includes read means for reproducing data from the recording medium and control means. The control means executes control to use the second alternate address management information areas, which are each provided on one of the recording layers, sequentially one after another, searches pieces of recorded alternate address management information and pieces of recorded written/unwritten state indication information for the effective alternate address management information and the effective written/unwritten state indication information respectively and controls the read means to read out data from the recording medium at a data read request on the basis of the effective alternate address management information and the effective written/unwritten state indication information.
A recording method provided by the present invention is a recording method designed for the recording medium described above. In the recording method, control is executed to use the second alternate address management information areas, which are each provided on one of the recording layers, sequentially one after another each as an area for recording updates in a write operation to update a portion of the written/unwritten state indication information in accordance with an operation to write data into a data unit associated with the updated portion of the written/unwritten state indication information and a write operation to update the alternate address management information in accordance with the alternate address process.
In addition, in a write operation to update a portion of the written/unwritten state indication information in accordance with an operation to write data into a data unit associated with the updated portion of the written/unwritten state indication information and a write operation to update the alternate address management information in accordance with the alternate address process, according to the recording method, control is executed to include information in the written/unwritten state indication information being written in the second alternate address management information area to indicate that the written/unwritten state indication information is effective written/unwritten state indication information in the second alternate address management information area and information in the alternate address management information being written in the second alternate address management information area to indicate that the alternate address management information is effective alternate address management information in the second alternate address management information area.
A reproduction method provided by the present invention is a reproduction method designed for the recording medium described above. In accordance with the reproduction method, control is executed to use the second alternate address management information areas, which are each provided on one of the recording layers, sequentially one after another, search pieces of recorded alternate address management information and pieces of recorded written/unwritten state indication information for the effective alternate address management information and the effective written/unwritten state indication information respectively and read out data from the recording medium at a data read request on the basis of the effective alternate address management information and the effective written/unwritten state indication information.
That is to say, in accordance with the present invention, a write once recording medium has a plurality of recording layers each including a regular recording/reproduction area, an alternate area, a first alternate address management information area and a second alternate address management information area. In addition, written/unwritten state indication information is recorded therein. Typically, the written/unwritten state indication information is recorded in the second alternate address management information area.
By additionally recording alternate address management information related to an alternate address process in the second alternate address management information area, the second alternate address management information area can be used as an area for implementing renewal of the alternate address management information.
In addition, for every data unit (each cluster) on each of the recording layers on the write once recording area, written/unwritten state indication information is used as information indicating whether or not data has been written into the data unit. Thus, in write once media, defects can be managed and data can be renewed.
On the top of that, the second alternate address management information areas, which are each provided on one of the recording layers, are used sequentially one after another each as an area for updating alternate address management information and written/unwritten state indication information. Assume for example a two layer disk. Initially, the alternate address management information area for the first recording layer is used as an area for recording alternate address management information, written/unwritten state indication information for the first recording layer and written/unwritten state indication information for the second recording layer. Then, the alternate address management information, the written/unwritten state indication information the first recording layer and the written/unwritten state indication information for the second recording layer are updated from time to time as write operations are carried out thereafter. At that time, the alternate address management information, the written/unwritten state indication information the first recording layer and the written/unwritten state indication information for the second recording layer are updated by writing data into the second alternate address management information area for the first recording layer. As the second alternate address management information area for the first recording layer is all used up for updating the alternate address management information, the written/unwritten state indication information the first recording layer and the written/unwritten state indication information for the second recording layer, data is written into the second alternate address management information area for the second recording layer to update these pieces of information.
The following description explains an embodiment provided by the present invention as an embodiment implementing an optical disk and a disk drive employed in a recording apparatus and/or a reproduction apparatus as a disk drive designed for the optical disk. The description comprises chapters arranged in the following order:
First of all, an optical disk provided by the embodiment is explained. The optical disk can be implemented by a write-once optical disk referred to as the so-called blue-ray disk. The blue-ray disk pertains to the category of high-density optical disks.
Typical physical parameters of the high-density optical disk provided by the embodiment are explained as follows.
The disk size of the optical disk provided by the embodiment is expressed in terms of a diameter of 120 mm and a disk thickness of 1.2 mm. That is to say, from the external-appearance point of view, the optical disk provided by the embodiment is similar to a disk of a CD (Compact Disk) system and a disk of a DVD (Digital Versatile Disk) system.
As a recording/reproduction laser, the so-called blue laser is used. By using an optical system having a high NA of typically 0.85, setting the track pitch at a small value of typically 0.32 microns and setting the line density at a high value of typically 0.12 microns per bit, it is possible to implement a user-data storage capacity of about 23 Gbyte to 25 Gbyte for an optical disk with a diameter of 12 cm.
In addition, a two-layer disk is also developed. A two-layer disk is an optical disk having two recording layers. In the case of a two-layer disk, a user-data capacity of about 50G can be achieved.
The recording area of the disk includes a lead-in zone on the innermost circumference, a data zone on a middle circumference and a lead-out zone on the outermost circumference.
The lead-in zone, the data zone and the lead-out zone serve as recording and reproduction areas as follows. A prerecorded information area PIC on the innermost side of the lead-in zone is a reproduction-only area. An area starting with a management/control information area of the lead-in zone and ending with the lead-out zone is used as a write-once area allowing data to be written therein only once.
In the reproduction-only area and the write-once area, a spiral recording track is created as a wobbling groove. The wobbling groove serves as a tracking guide in a tracing operation using a laser spot. The wobbling groove is thus a recording track, which data is recorded onto or read out from.
It is to be noted that, this embodiment assumes an optical disk allowing data to be recorded on the groove. However, the scope of the present invention is not limited to the optical disk with such a recording track. For example, the present invention can also be applied to an optical disk adopting a land recording-technique whereby data is recorded on a land between two adjacent grooves. In addition, the present invention can also be applied to an optical disk adopting a land/groove recording-technique whereby data is recorded on a land and a groove.
In addition, the groove used as a recording track in an optical disk has a shape wobbled by a wobbling signal. Thus, a disk drive for such an optical disk detects both edge positions of the groove from a reflected light beam of a laser spot radiated to the groove. Then, by extracting components fluctuating in the radial direction of the disk as fluctuations of both the edge positions in an operation to move the laser spot along the recording track, the wobble signal can be reproduced.
This wobble signal is modulated by information on addresses of recording locations on the recording track. The information on addresses includes physical addresses and other additional information. Thus, by demodulating the wobble signal to produce the information on addresses, the disk drive is capable of controlling addresses, at which data are to be recorded or reproduced.
The lead-in zone shown in
An area between a circumference with a radius of 22.2 mm and a circumference with a radius of 23.1 mm in the lead-in zone is the prerecorded information area PIC.
The prerecorded information area PIC is used for storing reproduction-only information as the wobbling state of the groove. The reproduction-only information includes disk information such as recording/reproduction power conditions, information on areas on the disk and information used for copy protection. It is to be noted that these pieces of information can also be recorded on the disk as emboss pits or the like.
A BCA (Burst Cutting Area) not shown in the figure may be provided on a circumference on the inner side of the prerecorded information area PIC in some cases. The BCA is used for storing a unique ID peculiar to the disk recording medium in such a state that the ID cannot be renewed. The unique ID is recorded marks created in a concentric-circle shape to form recorded data in a bar-code format.
An area between a circumference with a radius of 23.1 mm and a circumference with a radius of 24.0 mm in the lead-in zone is a management/control information area.
The management/control information area has a predetermined area format to include a control data area, a DMA (Defect Management Area), a TDMA (Temporary Defect Management Area), a test write area (OPC) and a buffer area.
The control data area included in the management/control information area is used for recording management/control information such as a disk type, a disk size, a disk version, a layer structure, a channel-bit length, BCA information, a transfer rate, data-zone position information, a recording line speed and recording/reproduction laser power information.
The test write area (OPC) included in the management/control information area is used for a trial writing process carried out in setting data recording/reproduction conditions such as a laser power to be used in recording/reproduction operations. That is, the test write area is a region for adjusting the recording/reproduction conditions.
In the case of an ordinary optical disk, the DMA included in the management/control information area is used for recording alternate-address management information for managing defects. In the case of a write-once optical disk provided by the embodiment, however, the DMA is used for recording not only the alternate-address management information of defects but also management/control information for implementing data renewals in the optical disk. In this case, particularly, the DMA is used for recording ISA management information and OSA management information, which will be described later.
In order to make renewal of data possible by making use of an alternate-address process, the contents of the DMA must also be updated when data is renewed. For updating the contents of the DMA, the TDMA is provided.
Alternate-address management information is added and/or recorded in the TDMA and updated from time to time. Last (most recent) alternate-address management information recorded in the TDMA is eventually transferred to the DMA.
The DMA and the TDMA will be described later in detail.
The area on the circumferences with radii in the range 24.0 to 58.0 mm external to the lead-in zone is used as a data zone. The data zone is an area, which user data is actually recorded into and reproduced from. The start address ADdts and end address ADdte of the data zone are included in the data zone position information recorded in the control data area described earlier.
An ISA (Inner Spare Area) is provided on the innermost circumference of the data zone. On the other hand, an OSA (Outer Spare Area) is provided on the outermost circumference of the data zone. As will be described later, the ISA and the OSA are each used as an alternate area provided for defects and for implementing data renewals (overwriting).
The ISA begins from the start position of the data zone and includes a predetermined number of clusters each having a size of 65,536 bytes.
On the other hand, the OSA includes a predetermined number of clusters, which terminate at the end position of the data zone. The sizes of the ISA and the OSA are described in the DMA.
A user-data area in the data zone is an area sandwiched by the ISA and the OSA. This user-data area is an ordinary recording/reproduction area, which user data is generally recorded into and reproduced from.
The start address ADus and end address ADue of the user-data area define the location of the user-data area and are recorded in the DMA.
The area on the circumferences with radii in the range 58.0 to 58.5 mm external to the data zone is the lead-out zone. The lead-out zone is a management/control information area having a predetermined format to include a control data area, a DMA and a buffer area. Much like the control data area included in the lead-in zone, the control data area of the lead-out zone is used for storing various kinds of management/control information. By the same token, much like the DMA included in the lead-in zone, the DMA of the lead-out zone is used as an area for recording management information of the ISA and management information of the OSA.
As shown in the figure, in addition to undefined segments (reserved segments), the lead-in zone includes a variety of areas such as DMA 2, an OPC (a test write area), a TDMA and DMA 1. On the other hand, in addition to undefined segments (reserved segments), the lead-out zone includes a variety of areas such as DMA 3 and DMA 4.
It is to be noted that the control data area described above is not shown in the figure. This is because, in actuality, a portion of the control data area is used as a DMA for example. Since the structure of a DMA is an essential of the present invention, the control data area is not shown in the figure.
As described above, the lead-in and lead-out zones include four DMAs, i.e., DMA 1 to DMA 4. DMA 1 to DMA 4 are each used as an area for recording the same alternate-address management information.
However, a TDMA is provided as an area used for temporarily recording alternate-address management information and, every time an alternate-address process is carried out due to renewal of data or a defect, new alternate-address management information is additionally recorded in the TDMA to update the information already recorded therein.
Thus, till the disk is finalized, for example, the DMAs are not used. Instead, the alternate-address management is carried out and new alternate-address management information is added to the TDMA and/or recorded in the TDMA. As the disk is finalized, alternate-address management information recorded on the TDMA most recently is transferred to the DMAs so that the alternate-address process based on the DMA can be carried out.
The value of the physical address increases in the directions. That is to say, the value of the physical address on layer 0 increases in the direction from the inner side of the disk to the outer side thereof, and the value of the physical address on layer 1 increases in the direction from the outer side of the disk to the inner side thereof.
Much like the one-layer disk, the lead-in zone on layer 0 includes a variety of areas such as DMA 2, an OPC (a test write area), TDMA 0 and DMA 1. Since the outermost circumference on layer 0 is not a lead-out zone, it is referred to simply as outer zone 0, which includes DMA 3 and DMA 4.
The outermost circumference on layer 1 is referred to simply as outer zone 1, which includes DMA 3 and DMA 4. The innermost circumference of layer 1 is a lead-out zone, which includes a variety of areas such as DMA 2, an OPC (a test write area), TDMA 1 and DMA 1.
As described above, the lead-in zone, outer zones 0 and 1 and the lead-out zone include eight DMAs. In addition, each of the recording layers includes a TDMA.
The size of the lead-in zone on layer 0 and the size of the lead-out zone on layer 1 are equal to the size of the lead-in zone on the one-layer disk. On the other hand, the sizes of outer zones 0 and 1 are equal to the size of the lead-out zone on the one-layer disk.
2: DMAs
The data structure of each DMA recorded in the lead-in zone and the lead-out zone is explained below. In the case of a two-layer disk, the DMAs also include the DMAs in outer zones 0 and 1.
The size of the DMA shown in the figure is 32 clusters (=32×65,536 bytes). It is to be noted that a cluster is the smallest data-recording unit. Of course, the size of a DMA is not limited to 32 clusters. In
In the DMA, cluster numbers 1 to 4 identify four clusters forming a segment for recording a DDS (disc definition structure), which describes the disc in detail.
The contents of the DDS will be described later by referring to
Cluster numbers 5 to 8 identify four clusters forming a segment for recording DFL #1, which is the first recording area of a DFL (defect list). The data structure of the defect list will be described later by referring to
Cluster numbers 9 to 12 identify four clusters forming a segment for recording DFL #2, which is the second recording area of the defect list. The second recording area is followed by the third and subsequent recording areas DFL #3 to DFL #6, which each have a size of four clusters. The four-cluster segment DFL #7 used as the seventh recording area of the defect list is identified by cluster numbers 29 to 32.
As is obvious from the above description, the DMA having a size of 32 clusters includes seven recording areas of the defect list, i.e., DFL #1 to DFL #7.
In a write-once optical disk allowing data to be recorded therein once as is the case with the disk provided by the embodiment, in order to record contents of a DMA, it is necessary to carry out a process referred to as ‘finalize’. In this case, the same contents are recorded in seven recording areas DFL #1 to DFL #7.
In the figure, byte 0 is the position of the beginning of the DDS having a size of 65,536 bytes. A byte-count column shows the number of bytes included in each data content.
Two bytes indicated by byte positions 0 to 1 are used as bytes for recording “DS”, which is a DDS identifier indicating that this cluster is the DDS.
One byte indicated by byte position 2 is used as a byte for recording a DDS format number of the version of the DDS format.
Four bytes indicated by byte positions 4 to 7 are used as bytes for recording the number of times the DDS has been updated. It is to be noted that, in this embodiment, in the finalize process, alternate-address management information is additionally written into the DMA itself instead of being used for updating the DMA. The alternate-address management information is stored in the TDMA before being written into the DMA in the finalize process. Thus, when the finalize process is eventually carried out, a TDDS (temporary DDS) of the TDMA contains the number of times the TDDS has been updated. The aforementioned number of times the DDS has been updated is the number of times the TDDS has been updated.
Four bytes indicated by byte positions 16 to 19 are used as bytes for recording AD_DRV, which is the start physical sector address of a drive area in the DMA.
Four bytes indicated by byte positions 24 to 27 are used as bytes for recording AD_DFL, which is the start physical sector address of a defect list DFL in the DMA.
Four bytes indicated by byte positions 32 to 35 are used as bytes for recording a PSN (physical sector number or a physical sector address) of the start position of the user-data area in the data zone. That is to say, the four bytes are used as bytes for recording a PSN indicating the position of an LSN (logical sector number) of 0.
Four bytes indicated by byte positions 36 to 39 are used as bytes for recording an LSN (logical sector number) of the end position of the user-data area in the data zone.
Four bytes indicated by byte positions 40 to 43 are used as bytes for recording the size of the ISA in the data zone. The ISA is the ISA of a one-layer disk or the ISA on layer 0 of a two-layer disk.
Four bytes indicated by byte positions 44 to 47 are used as bytes for recording the size of each OSA in the data zone.
Four bytes indicated by byte positions 48 to 51 are used as bytes for recording the size of the ISA in the data zone. The ISA is the ISA on layer 1 of a two-layer disk.
One byte indicated by byte position 52 is used as a byte for recording spare area full flags showing whether or not data can be renewed by using an ISA or an OSA. That is to say, the spare area full flag are used to indicate that the ISA and the OSA are being used entirely.
Byte positions other than the byte positions described above are reserved (or undefined) and all filled with codes of 00h.
As described above, the DDS is used as an area for storing the addresses of the user-data area, the sizes of each ISA and each OSA and spare area full flags. That is to say, the DDS is used for storing information for managing and controlling areas of each ISA and each OSA in the data zone.
Next, the data structure of the defect list DFL is explained by referring to
In the defect list DFL shown in
A byte-count column shows the number of bytes composing each data content.
The first 64 bytes of the defect list DFL are used as bytes for recording management information of the defect list DFL. The management information of the defect list DFL includes information indicating that this cluster is the defect list DFL, a version, the number of times the defect list DFL has been updated and the number of entries forming the defect list DFL.
The bytes following the 64th byte are used as bytes for recording contents of each entry of the defect list DFL. Each entry is alternate-address information ati having a length of eight bytes.
A terminator having a length of eight bytes serves as an alternate-address end immediately following ati #N, which is the last one of pieces of effective alternate-address information.
In this DFL, an area following the alternate-address end is filled up with 00h codes till the end of the clusters.
The defect-list management information having a length of 64 bytes is shown in
Two bytes starting with a byte at byte position 0 are used as bytes for recording a character string DF representing the identifier of the defect list DFL.
One byte at byte position 2 is used as a byte for recording the format number of the defect list DFL.
Four bytes starting with a byte at byte position 4 are used as bytes for recording the number of times the defect list DFL has been updated. It is to be noted that this value is actually the number of times the TDFL (temporary defect list) to be described later has been updated and, thus, a value transferred from the TDFL.
Four bytes starting with a byte at byte position 12 are used as bytes for recording the number of entries in the defect list DFL, that is, the number of pieces of alternate-address information ati.
Four bytes starting with a byte at byte position 24 are used as bytes for recording cluster counts indicating the sizes of free areas available in the alternate areas ISA 0, ISA 1, OSA 0 and OSA 1.
Byte positions other than the byte positions described above are reserved and all filled with codes of 00h.
In the case of a one-layer disk, the total number of pieces of alternate-address information ati can be up to a maximum of 32,759.
Each piece of alternate-address information ati comprises eight bytes (or 64 bits, i.e., bits b63 to b0). Bits b63 to b60 are used as bits for recording status 1, which is the status of the entry. In the defect list DFL, the status is set at a value of ‘0000’ indicating an ordinary alternate-address process entry. Other values of the status will be explained later in a description of the alternate address in the TDFL of the TDMA.
Bits b59 to b32 are used as bits for recording the PSN (physical sector address) of the first sector in an alternate source cluster. That is to say, in this data structure, a cluster subjected to an alternate-address process due to a defect or renewal of data is expressed by the physical sector address PSN of the first sector of the cluster.
Bits b31 to b28 are reserved. It is to be noted that these bits can also be used as bits for recording status 2, which is other status in this entry.
Bits b27 to b0 are used as bits for recording the physical sector address PSN of the first sector in an alternate destination cluster. That is to say, in this data structure, a destination cluster required in an alternate-address process due to a defect or renewal of data is expressed by the physical sector address PSN of the first sector of the cluster.
As described above, the alternate-address information ati is treated as an entry showing an alternate source cluster and an alternate destination cluster. Then, such an entry is cataloged in the defect list DFL having a structure shown in
In the DMA, information on an alternate-address management information is recorded in a data structure like the one described above. As explained above, however, these kinds of information are recorded in a process to finalize the disk. In this process, most recent information on an alternate-address management information is transferred from the TDMA to the DMA.
Information on defect processing and information on an alternate-address management carried out due to renewal of data are recorded in the TDMA described below and updated from time to time.
3: TDMA Method
3-1: TDMAs
The following description explains the TDMA (temporary DMA) provided in the management/control information area as shown in
The size of the TDMA is typically 2,048 clusters. As shown in the figure, the first cluster indicated by a cluster number of 1 is used as a cluster for recording a space bitmap for layer 0. A space bitmap comprises bits each representing a cluster of a main data area including the data zone as well as a management/control area including the lead-in zone and the lead-out zone (and the outer zones in the case of a two-layer disk). The value of each bit is write existence/non-existence information indicating whether or not data has been written into a cluster represented by the bit. All clusters ranging from the lead-in zone to the lead-out zone (including the outer zones in the case of a two-layer disk) are each represented by a bit of the space bitmap as described above, and the size of the space bitmap itself is one cluster.
A cluster indicated by a cluster number of 2 is used as a cluster for recording a space bitmap for layer 1 (or the second layer). It is to be noted that, in the case of a one-layer disk, a space bitmap for layer 1 is of course unnecessary.
If an alternate-address process is carried out in, for example, an operation to change data contents, a TDFL (temporary defect list) is additionally recorded to a cluster at the beginning of an unrecorded area in the TDMA. Thus, in the case of a two-layer disk, the first TDFL is recorded in an area starting from the position indicated by a cluster number of 3 as shown in the figure. In the case of a one-layer disk, a space bitmap for layer 1 is not necessary as described above. Thus, the first TDFL is recorded in an area starting from the position indicated by a cluster number of 2. Then, every time an alternate-address process is carried out thereafter, a TDFL is additionally recorded at a subsequent cluster position without providing a gap between the subsequent cluster position and the preceding cluster position.
The size of a TDFL is in the range 1 to up to 4 clusters. Since a space bitmap shows recording states of clusters, the bitmap is updated every time data is written into any of the clusters to update the cluster. When the space bitmap is updated, much like a TDFL, a new space bitmap is additionally recorded in a TDMA area starting from the beginning of a free area in the TDMA.
That is to say, a space bitmap and/or a TDFL is additionally recorded in the TDMA from time to time.
It is to be noted that the configurations of a space bitmap and a TDFL will be described later. Anyway, a TDDS (temporary disc definition structure) is recorded in the last 2,048-byte sector of a cluster used for recording a space bitmap and the last 2,048-byte sector of 1 to 4 clusters used for recording a TDFL. The TDDS is detailed information on the optical disk.
As described above, each bit of a space bitmap represents the recording state of one cluster on the disk, that is, each bit indicates whether or not data has been recorded in the cluster represented thereby. For example, if data has not been recorded in a cluster, a bit representing the cluster is set at 1. It is to be noted that, in the case of a two-layer disk, a space bitmap is provided for each layer and information recorded in one of the space bitmaps is independent of information recorded in the other space bitmap.
For one sector=2,048 bytes, clusters on a layer having a storage capacity of 25 GB can be represented by a space bitmap with a size of 25 sectors. Since one cluster comprises 32 sectors, the space bitmap itself can be formed from one cluster.
In the data structure of a space bitmap shown in
Sector 0 at the beginning of the space bitmap is used as a sector for recording management information of the bitmap.
Two bytes at byte positions 0 and 1 in sector 0 are used as bytes for recording an UB, which is an unallocated space bitmap ID (identifier).
One byte at byte position 2 is used as a byte for recording a format version such as a version of 00h.
Four bytes starting from byte position 4 are used as bytes for recording a layer number indicating whether this space bitmap corresponds to layer 0 or layer 1.
48 bytes starting from byte position 16 are used as bytes for recording bitmap information.
The bitmap information comprises pieces of zone information for three zones, i.e., the inner zone, the data zone and the outer zone. The pieces of zone information are zone information for the inner zone, zone information for the data zone and zone information for the outer zone.
The size of each of the pieces of zone information is 16 bytes. Each of the pieces of zone information comprises a start cluster first PSN, a start byte position of bitmap data, a validate bit length in bitmap data and a reserved area, which each have a size of four bytes.
The start cluster first PSN is a PSN (physical sector address) indicating a start position of the zone on the disk. That is to say, the PSN is a start address, which is used when the zone is mapped onto the space bitmap.
The start byte position of bitmap data is a byte count indicating the start position of bitmap data for the zone as a position relative to the unallocated space bit map identifier located at the beginning of the space bit map.
The validate bit length in bitmap data is also a byte count representing the amount of bitmap data of the zone.
Actual bitmap data is recorded on sector 1 in an area starting from byte position 0 of the sector. Sector 1 is the second sector of the space bitmap. In this area, one sector of the space bitmap represents 1 GB data. The actual bitmap data is followed by reserved areas ending with an area immediately preceding sector 31, which is the last sector of the space bitmap. The reserved areas are filled with codes of 00h.
Sector 31, which is the last sector of the space bitmap, is used as a sector for recording a TDDS.
The pieces of bitmap information described above are managed as follows. First of all, the description explains a space bitmap with the layer number at byte position 4 indicating layer 0. That is to say, the description explains a space bitmap for a one-layer disk or a space bitmap for layer 0 of a two-layer disk.
In this case, the zone information for the inner zone is information for the inner zone of layer 0, that is, information for a lead-in zone.
The start cluster first PSN of the zone is a PSN of the start position of the lead-in zone as shown by a solid-line arrow.
The start byte position of bitmap data is used for recording information indicating the position of bitmap data corresponding to the lead-in zone in the space bitmap as shown by a dashed-line arrow, that is, information indicating byte position 0 of sector 1.
The value of the validate bit length in bitmap data is the size of the bitmap data for the lead-in zone.
The zone information for the data zone is information on the data zone of layer 0.
The start cluster first PSN of the zone is a PSN of the start position of the data zone as shown by a solid-line arrow.
The start byte position of bit map data is used for recording information indicating the position of bitmap data corresponding to the data zone in the space bitmap as shown by a dashed-line arrow, that is, information indicating byte position 0 of sector 2.
The value of the validate bit length in bitmap data is the size of the bitmap data for the data zone.
The zone information for the outer zone is information for the outer zone of layer 0, that is, information for a lead-out zone on a one-layer disk or outer zone 0 of a two-layer disk.
The start cluster first PSN of the zone is a PSN of the start position of the lead-out zone or outer zone 0 as shown by a solid-line arrow.
The start byte position of bitmap data is used for recording information indicating the position of bitmap data corresponding to the lead-out zone (or outer zone 0) in the space bitmap as shown by a dashed-line arrow, that is, information indicating byte position 0 of sector N.
The value of the validate bit length in bitmap data is the size of the bitmap data for the lead-out zone or outer zone 0.
Next, the description explains a space bitmap with the layer number at byte position 4 indicating layer 1. That is to say, the description explains a space bitmap for layer 1 of a two-layer disk.
In this case, the zone information for the inner zone is information for the inner zone of layer 1, that is, information for a lead-out zone.
The start cluster first PSN of the zone is a PSN of the start position of the lead-out zone as shown by a dotted-line arrow. Since the address direction on layer 1 is a direction from an outer side to an inner side, a position indicated by the dotted-line arrow is a start position.
The start byte position of bit map data is used for recording information indicating the position of bitmap data corresponding to the lead-out zone in the space bitmap as shown by a dashed-line arrow, that is, information indicating byte position 0 of sector 1.
The value of the validate bit length in bitmap data is the size of the bitmap data for the lead-out zone.
The zone information for the data zone is information on the data zone of layer 1.
The start cluster first PSN of the zone is a PSN of the start position of the data zone as shown by a dotted-line arrow.
The start byte position of bitmap data is used for recording information indicating the position of bitmap data corresponding to the data zone in the space bitmap as shown by a dashed-line arrow, that is, information indicating byte position 0 of sector 2.
The value of the validate bit length in bitmap data is the size of the bitmap data for the data zone.
The zone information for the outer zone is information for the outer zone 1 of layer 1.
The start cluster first PSN of the zone is a PSN of the start position of the outer zone 1 as shown by a dotted-line arrow.
The start byte position of bitmap data is used for recording information indicating the position of bitmap data corresponding to outer zone 1 in the space bitmap as shown by a dashed-line arrow. The information is information indicating byte position 0 of sector N.
The value of the validate bit length in bitmap data is the size of the bitmap data for outer zone 1.
Next, the data structure of a TDFL is explained. As described above, a TDFL is recorded in a free area following a space bitmap in a TDMA. Every time an updating operation is carried out, a TDFL is recorded at the beginning of the remaining free area.
The TDFL comprises 1 to 4 clusters. By comparing with the DFL shown in
However, the TDFL composed of 1 to 4 clusters is different from the DFL in that a DDS (or a TDDS) is recorded in 2,048 bytes composing the last sector of the TDFL.
It is to be noted that, in the case of the TDFL, an area preceding the last sector of a cluster to which the alternate-address information terminator pertains is filled up with codes of 00h. As described above, the last sector is used as a sector for recording a TDDS. If the alternate-address information terminator pertains to the last sector of a specific cluster, an area between the specific cluster and the last sector of a cluster immediately preceding the specific cluster is filled up with codes of 0 and the last sector of the immediately preceding cluster is used as a sector for recording a TDDS.
The defect-list management information having a size of 64 bytes is identical with the defect-list management information explained earlier by referring to
However, as the number of times the defect list has been updated, the four bytes starting with a byte at byte position 4 are used as bytes for recording the sequence number of the defect list. That is to say, a sequence number included in defect-list management information in a most recent TDFL is the number of times the defect list has been updated.
Besides, the four bytes starting with a byte at byte position 12 are used as bytes for recording the number of entries, that is, the number of pieces of alternate-address information ati. In addition, the four bytes starting with a byte at byte position 24 are used as bytes for recording values of cluster counts at the time the TDFL is updated. This cluster counts represent the sizes of free areas available in the alternate areas ISA 0, ISA 1, OSA 0 and OSA 1.
The data structure of the alternate-address information ati in the TDFL is similar to the data structure shown in
In the case of the TDFL, however, the value of status 1 included in the alternate-address information ati in the TDFL may have a value of 0101 or 1010 in addition to 0000.
Status 1 having a value of 0101 or 1010 indicates that an alternate-address process carried out on a plurality of physically continuous clusters is a burst transfer process, which handles the clusters collectively.
To be more specific, status 1 having a value of 0101 indicates that the start sector physical address of an alternate source cluster and the start sector physical address of an alternate destination cluster, which are included in the alternate-address information ati, are respectively the physical address of the first sector in the first cluster of the physically continuous clusters serving as the alternate source and the physical address of the first sector in the first cluster of the physically continuous clusters serving as the alternate destination.
On the other hand, status 1 having a value of 1010 indicates that the start sector physical address of an alternate source cluster and the start sector physical address of an alternate destination cluster, which are included in the alternate-address information ati are respectively the physical address of the first sector in the last cluster of the physically continuous clusters serving as the alternate source and the physical address of the first sector in the last cluster of the physically continuous clusters serving as the alternate destination.
Thus, in an alternate-address process collectively treating a plurality of physically continuous clusters, it is not necessary to catalog an entry describing the alternate-address information ati for each of all the clusters. Instead, it is necessary to specify only one entry of alternate-address information ati including two physical addresses of first sectors in first clusters and another entry of alternate-address information ati including two physical addresses of first sectors in last clusters as described above.
As described above, basically, the TDFL has a data structure identical with that of a DFL. However, the TDFL is characterized in that the size of the TDFL can be extended to up to four clusters, the last sector is used as a sector for recording a TDDS, and management of burst transfers can be executed by using alternate-address information ati.
As shown in
The TDDS occupies one sector having a size of 2,048 bytes. The TDDS has the same contents as the DDS in a DMA. It is to be noted that, even though the DDS has a size of one cluster consisting of 65,536 bytes, only a portion not beyond byte position 52 is virtually defined as contents of the DDS as explained earlier by referring to
As is obvious from comparison of
Bytes at byte position 1,024 and subsequent byte positions in the TDDS are used as bytes for recording information, which does not exist in the DDS.
Four bytes starting from byte position 1,024 are used as bytes for recording the physical address LRA of a sector on an outermost circumference included in the user-data area as a circumference on which user data has been recorded.
Four bytes starting from byte position 1,028 are used as bytes for recording the physical address AD_BP0 of the first sector in a most recent space bitmap for layer 0 in the TDMA.
Four bytes starting from byte position 1,032 are used as bytes for recording the physical address AD_BP1 of the first sector in a most recent space bitmap for layer 1 in the TDMA.
One byte at byte position 1,036 is used as a byte for recording a flag for controlling the use of an overwrite function.
Bytes at byte positions other than the byte positions described above are reserved and filled with codes of 00h.
As described above, the TDDS includes addresses in the user-data area, ISA and OSA sizes and spare area full flags. That is to say, the TDDS includes management/control information for managing ISAs and OSAs in the data zone. At this point, the TDDS is similar to the DDS.
Also as described above, the TDDS also includes pieces of information such as the physical address AD_BP0 of the first sector in the effective most recent space bitmap for layer 0, the physical address AD_BP1 of the first sector in the effective most recent space bitmap for layer 1 and the physical address AD_DFL of the first sector in the effective most recent TDFL (temporary DFL).
Since a TDDS is recorded in the last sector of the space bitmap and the last sector of the TDFL every time a space bitmap or a TDFL is added, the recorded TDDS is a new TDDS. Thus, in the TDMA shown in
3-2: ISAs and OSAs
An ISA (inner space area) and an OSA (outer space area) are each an area allocated in the data zone as an alternate area used in an alternate-address process carried out on a defective cluster.
In addition, an ISA or an OSA is also used in an operation to write new data into a desired address as an alternate area for actually recording the new data supposed to be written into the desired address, at which other data has been recorded previously. The operation to write the new data into the desired address is thus an operation to renew the other data with the new data.
On the other hand,
On the two-layer disk, the size of ISA 0 may be different from that of ISA 1. However, the size of OSA 0 is equal to that of OSA 1.
The sizes of the ISA (or ISA 0 and ISA 1) and the sizes of the OSA (or OSA 0 and OSA 1) are defined in the DDS and the TDDS, which have been described earlier.
The size of the ISA is determined at an initialization time and remains fixed thereafter. However, the size of the OSA may be changed even after data has been recorded therein. That is to say, the OSA size recorded in the TDDS can be changed in an operation to update the TDDS to increase the size of the OSA.
An alternate-address process using the ISA or the OSA is carried out as follows. An operation to renew data is taken as an example. For example, new data is written into the user-data zone. To be more specific, the data is written into a cluster, in which existing data has already been written previously. That is to say, a request is made as a request to renew the existing data. In this case, since the disk is recognized as a write-once optical disk, the new data cannot be written into the cluster. Thus, the new data is written into a cluster in the ISA or the OSA. This operation is referred to as an alternate-address process.
This alternate-address process is managed as the alternate-address information ati described above. The alternate-address information ati is treated as a TDFL entry including the address of a cluster, in which the existing data has been recorded from the very start, as an alternate source address. The TDFL entry of the alternate-address information ati also includes the address of an ISA or OSA cluster, in which the new data has been written as alternate-address data, as an alternate destination address.
That is to say, in the case of renewal of existing data, alternate-address data is recorded in the ISA or the OSA and the alternate-address process carried out on the data locations for the renewal of the existing data is controlled as alternate-address information ati cataloged on the TDFL in the TDMA. Thus, while the disk is a write-once optical disk, virtually, renewal of data is implemented. In other words, as seen from the OS of a host system, a file system or other systems, renewal of data is implemented.
The alternate-address process can also be applied to management of defects in the same way. To put it in detail, if a cluster is determined to be a defective area, by carrying out the alternate-address process, data supposed to be written in the cluster is written in a cluster of the ISA or the OSA. Then, for the management of this alternate-address process, one alternate-address information ati is cataloged as an entry on the TDFL.
3-3: TDMA-Using Method
As described above, every time data is renewed or an alternate-address process is carried out, a space bitmap and a TDFL in a TDMA are updated.
As described above, the last sector of each of the space bitmaps and the last sector of the TDFL are each used for recording a TDDS (temporary DDS). They are referred to as TDDS 1, TDDS 2 and TDDS 3.
In the case of the state shown in
As explained earlier by referring to
Later on, data is written and, since the space bitmap for layer 0 is updated, a new space bitmap for layer 0 is added to the TDMA. As shown in
To be more specific, AD BP0 in TDDS 4 is used as an address for specifying a space bitmap for layer 0 as a space bitmap, which includes TDDS 4 itself and serves as effective information. Much like the state shown in
Later on, data is written again and, since the space bitmap for layer 0 is updated, a new space bitmap for layer 0 is added to the TDMA. As shown in
To be more specific, AD BP0 in TDDS 4 is used as an address for specifying a space bitmap for layer 0 as a space bitmap, which includes TDDS 4 itself and serves as effective information. Much like the state shown in
As described above, when a TDFL and/or a space bitmap are updated, a TDDS recorded in the last sector of the most recent information includes addresses indicating effective information such as space bitmaps and a TDFL, which are included in the TDMA. The effective information is defined as the most recent space bitmaps and the most recent TDFL, which are cataloged in the TDMA before a finalize process.
Thus, the disk drive is capable of grasping an effective TDFL and effective space bitmaps by referring to a TDDS included in a last recorded TDFL or a last recorded space bitmap recorded in the TDMA.
By the way,
The two space bitmaps and the TDFL are initially cataloged in the TDMA for layer 0. That is to say, only the TDMA for layer 0 is used and, every time a TDFL and/or a space bitmap are updated, the new TDFL and/or the new space bitmap are added to the TDMA as shown in
The TDMA for layer 1 as the second layer is used after the TDMA for layer 0 has been all used up.
Then, the TDMA for layer 1 is also used for cataloging TDFLs and/or space bitmaps one after another by starting from the beginning of the TDMA.
In the state shown in
It is needless to say that, if the TDFL, the space bitmap for layer 0 or the space bitmap for layer 1 is updated thereafter, the updated TDFL or space bitmap is cataloged at the beginning of a free area in the TDMA for layer 1.
As described above, the TDMAs for recording layers 0 and 1 are used one after another for cataloging updated TDFLs and space bitmaps. Thus, the TDMAs for the recording layers can be used jointly as a large single TDMA. As a result, a plurality of DMAs can be utilized with a high degree of efficiency.
In addition, by searching only a TDDS recorded last without regard to whether the TDMA is provided for layer 0 or 1, an effective TDFL and/or space bitmap can be grasped.
In this embodiment, a one-layer disk and a two-layer disk are assumed as described above. It is to be noted, however, that a disk having three or more recording layers is also conceivable. Also in the case of a disk having three or more recording layers, the TDMAs for the layers can be used one after another in the same way.
4: Disk Drive
The following description explains a recording/reproduction apparatus serving as a disk drive for the write-once optical disks described above.
The disk drive provided by the embodiment is capable of forming a layout of a write-once optical disk in a state explained earlier by referring to
A disk 1 is the write-once optical disk described above. The disk 1 is mounted on a turntable not shown in the figure. In a recording/reproduction operation, the turntable is driven into rotation at a CLV (constant linear velocity) by a spindle motor 52.
An optical pickup (optical head) 51 reads out ADIP addresses embedded on the disk 1 as a wobbling shape of a groove track and management/control information as information prerecorded on the disk 1.
At an initialization/formatting time or in an operation to record user data onto the disk 1, the optical pickup 51 records management/control information and user data onto a track in a write-once area. In a reproduction operation, on the other hand, the optical pickup 51 reads out data recorded on the disk 1.
The optical pickup 51 includes a laser diode, a photo detector, an objective lens and an optical system, which are not shown in the figure. The laser diode is a device serving as a source for generating a laser beam. The photo detector is a component for detecting a beam reflected by the disk 1. The objective lens is a component serving as an output terminal of the laser beam. The optical system is a component for radiating the laser beam to a recording face of the disk 1 by way of the objective lens and leading the reflected beam to the photo detector.
In the optical pickup 51, the objective lens is held by a biaxial mechanism in such a way that the mechanism is capable of moving the objective lens in tracking and focus directions.
In addition, the entire optical pickup 51 can be moved in the radial direction of the disk 1 by a thread mechanism 53.
The laser diode included in the optical pickup 51 is driven to emit a laser beam by a drive current generated by a laser driver 63 as a drive signal.
The photo detector employed in the optical pickup 51 detects information conveyed by a beam reflected by the disk 1, converts the detected information into an electrical signal proportional to the light intensity of the reflected beam and supplies the electrical signal to a matrix circuit 54.
The matrix circuit 54 has a current/voltage conversion circuit, which is used for converting a current output by the photo detector comprising a plurality of light-sensitive devices into a voltage, and a matrix processing/amplification circuit for carrying out matrix processing to generate necessary signals. The necessary signals include a high-frequency signal (or a reproduced-data signal) representing reproduced data as well as a focus error signal and a tracking error signal, which are used for servo control.
In addition, a push-pull signal is also generated as a signal related to wobbling of the groove. The signal related to wobbling of the groove is a signal for detecting the wobbling of the groove.
It is to be noted that the matrix circuit 54 may be physically integrated inside the optical pickup 51.
The reproduced-data signal output by the matrix circuit 54 is supplied to a reader/writer circuit 55. The focus error signal and the tracking error signal, which are also generated by the matrix circuit 54, are supplied to a servo circuit 61. The push-pull signal generated by the matrix circuit 54 is supplied to a wobble circuit 58.
The reader/writer circuit 55 is a circuit for carrying out processing such as a binary conversion process on the reproduced-data signal and a process to generate a reproduction clock signal by adopting a PLL technique to generate data read out by the optical pickup 51. The generated data is then supplied to a modulation/demodulation circuit 56.
The modulation/demodulation circuit 56 comprises a functional member serving as a decoder in a reproduction process and a functional member serving as an encoder in a recording process.
In a reproduction process, the modulation/demodulation circuit 56 implements demodulation process for run-length limited code as decoding process on the basis of the reproduction clock signal.
An ECC encoder/decoder 57 is a component for carrying out an ECC encoding process to add error correction codes to data to be recorded onto the disk 1 and an ECC decoding process for correcting errors included in data reproduced from the disk 1.
At a reproduction time, data demodulated by the modulation/demodulation circuit 56 is stored in an internal memory to be subjected to error detection/correction processing and processing such as a de-interleave process to generate the eventual reproduced data.
The reproduced data obtained as a result of a decoding process carried out by the ECC encoder/decoder 57 is read out from the internal memory and transferred to an apparatus connected to the disk drive in accordance with a command given by a system controller 60. An example of the apparatus connected to the disk drive is an AV (Audio-Visual) system 120.
As described above, the push-pull signal output by the matrix circuit 54 as a signal related to the wobbling state of the groove is processed in the wobble circuit 58. The push-pull signal conveying ADIP information is demodulated in the wobble circuit 58 into a data stream composing ADIP addresses. The wobble circuit 58 then supplies the data stream to an address decoder 59.
The address decoder 59 decodes the data received thereby to generate addresses and then supplies the addresses to the system controller 60.
The address decoder 59 also generates a clock signal by carrying out a PLL process using the wobble signal supplied by the wobble circuit 58 and supplies the clock signal to other components for example as a recording-time encode clock signal.
The push-pull signal output by the matrix circuit 54 as a signal related to the wobbling state of the groove is a signal originated from the prerecorded information PIC. In the wobble circuit 58, the push-pull signal is subjected to a band-pass filter process before being supplied to the reader/writer circuit 55, which carries out a binary conversion process to generate a data bit stream. The data bit stream is then supplied to the ECC encoder/decoder 57 for carrying out ECC-decode and de-interleave processes to extract data representing the prerecorded information. The extracted prerecorded information is then supplied to the system controller 60.
On the basis of the fetched prerecorded information, the system controller 60 is capable of carrying out processes such as processing to set a variety of operations and copy protect processing.
At a recording time, data to be recorded is received from the AV system 120. The data to be recorded is buffered in a memory employed in the ECC encoder/decoder 57.
In this case, the ECC encoder/decoder 57 carries out processes on the buffered data to be recorded. The processes include processing to add error correction codes, interleave processing and processing to add sub-codes.
The data completing the ECC encoding process is subjected to a demodulation process such as demodulation adopting an RLL (1–7) PP method in the modulation/demodulation circuit 56 before being supplied to the reader/writer circuit 55.
In these encoding processes carried out at a recording time, the clock signal generated from the wobble signal as described above is used as the encoding clock signal, which serves as a reference signal.
After completing these encoding processes, the data to be recorded is supplied to the reader/writer circuit 55 to be subjected to recording compensation processing such as fine adjustment of a recording power to produce a power value optimum for factors including characteristics of the recording layer, the spot shape of the laser beam and the recording linear speed as well as adjustment of the shape of the laser drive pulse. After completing the recording compensation processing, the data to be recorded is supplied to the laser driver 63 as laser drive pulses.
The laser driver 63 passes on the laser drive pulses to the laser diode employed in the optical pickup 51 to drive the generation of a laser beam from the diode. In this way, pits suitable for the recorded data are created on the disk 1.
It is to be noted that the laser driver 63 includes the so-called APC (Auto Power Control) circuit for controlling the laser output to a fixed value independent of ambient conditions such as the ambient temperature by monitoring the laser output power. A detector is provided in the optical pickup 51 to serve as a monitor for monitoring the laser output power. The system controller 60 gives a target value of the laser output power for each of recording and reproduction processes. The level of the laser output is controlled to the target value for the recording or reproduction process.
The servo circuit 61 generates a variety of servo drive signals from the focus error signal and the tracking error signal, which are received from the matrix circuit 54, to carry out servo operations. The servo drive signals include focus, tracking and thread servo drive signals.
To put it concretely, the focus and tracking drive signals are generated in accordance with the focus error signal and the tracking error signal respectively to drive respectively focus and tracking coils of the biaxial mechanism employed in the optical pickup 51. Thus, tracking and focus servo loops are created as loops comprising the optical pickup 51, the matrix circuit 54, the servo circuit 61 and the biaxial mechanism.
In addition, in accordance with a track jump command received from the system controller 60, the servo circuit 61 turns off the tracking servo loop and carries out a track jump operation by outputting a jump drive signal.
On top of that, the servo circuit 61 generates a thread drive signal on the basis of a thread error signal and an access execution control signal, which is received from the system controller 60, to drive the thread mechanism 53. The thread error signal is obtained as a low-frequency component of the tracking error signal. The thread mechanism 53 has a mechanism comprising a transmission gear, a thread motor and a main shaft for holding the optical pickup 51. The thread mechanism 53 drives the thread motor in accordance with the thread drive signal to slide the optical pickup 51 by a required distance. It is to be noted that the mechanism itself is not shown in the figure.
A spindle servo circuit 62 controls the spindle motor 52 to rotate at a CLV.
The spindle servo circuit 62 obtains a clock signal generated in a PLL process for the wobble signal as information on the present rotational speed of the spindle motor 52 and compares the present rotational speed with a predetermined CLV reference speed to generate a spindle error signal.
In addition, a reproduction clock signal generated at a data reproduction time by a PLL circuit employed in the reader/writer circuit 55 is used as the reference clock signal of a decoding process as well as the information on the present rotational speed of the spindle motor 52. Thus, by comparing this reproduction clock signal with the predetermined CLV reference speed, a spindle error signal can be generated.
Then, the spindle servo circuit 62 outputs the spindle drive signal, which is generated in accordance with the spindle error signal, to carry out the CLV rotation of the spindle motor 52.
In addition, the spindle servo circuit 62 also generates a spindle drive signal in accordance with a spindle kick/brake control signal received from the system controller 60 to carry out operations to start, stop, accelerate and decelerate the spindle motor 52.
A variety of operations carried out by the servo system and the recording/reproduction system as described above are controlled by the system controller 60 based on a microcomputer.
The system controller 60 carries out various kinds of processing in accordance with commands received from the AV system 120.
When a write instruction (or a command to write data) is received from the AV system 120, for example, the system controller 60 first of all moves the optical pickup 51 to an address into which the data is to be written. Then, the ECC encoder/decoder 57 and the modulation/demodulation circuit 56 carry out the encoding processes described above on the data received from the AV system 120. Examples of the data are video and audio data generated in accordance with a variety of methods such as MPEG2. Subsequently, as described above, the reader/writer circuit 55 supplies laser drive pulses representing the data to the laser driver 63 in order to actually record the data on the disk 1.
On the other hand, when a read command to read out data such as MPEG2 video data from the disk 1 is received from the AV system 120, for example, the system controller 60 first of all carries out a seek operation to move the optical pickup 51 to a target address at which the data is to be read out from the disk 1. That is to say, the system controller 60 outputs a seek command to the servo circuit 61 to drive the optical pickup 51 to make an access to a target address specified in the seek command.
Thereafter, necessary control of operations is executed to transfer data of a specified segment to the AV system 120. That is to say, the data is read out from the disk 1, processing such as the decoding and buffering processes is carried out in the reader/writer circuit 55, the modulation/demodulation circuit 56 and the ECC encoder/decoder 57, and the requested data is transferred to the AV system 120.
It is to be noted that, in the operations to record data into the disk 1 and reproduce data from the disk 1, the system controller 60 is capable of controlling accesses to the disk 1 and the recording/reproduction operations by using ADIP addresses detected by the wobble circuit 58 and the address decoder 59.
In addition, at predetermined points of time such as the time the disk 1 is mounted on the disk drive, the system controller 60 reads out a unique ID from the BCA on the disk 1 in case the BCA exists on the disk 1 and prerecorded information (PIC) recorded on the disk 1 as a wobbling groove from the reproduction-only area.
In this case, control of seek operations is executed with the BCA and the prerecorded data zone PR set as targets of the seek operations. That is to say, commands are issued to the servo circuit 61 to make accesses by using the optical pickup 51 to the innermost-circumference side of the disk 1.
Later on, the optical pickup 51 is driven to carry out reproduction tracing to obtain a push-pull signal as information conveyed by a reflected beam. Then, decoding processes are carried out in the wobble circuit 58, reader/writer circuit 55 and ECC encoder/decoder 57 to generate BCA information and prerecorded information as reproduced data.
On the basis of the BCA information and the prerecorded information, which are read out from the disk 1 as described above, the system controller 60 carries out processing such as a process to set laser powers and a copy protect process.
In the configuration shown in
When the disk 1 is mounted on the disk drive, for example, the system controller 60 controls components of the disk drive to read out a TDFL and/or a space bitmap from the TDMA recorded on the disk 1 and store them in the cache memory 60a.
Later on, when an alternate-address process is carried out to renew data or due to a defect, the TDFL or the space bitmap stored in the cache memory 60a is updated.
Every time an alternate-address process is carried out to write or renew data in the disk 1 and the TDFL or the space bitmap is updated, for example, the updated TDFL or space bitmap can be additionally cataloged in the TDMA recorded on the disk 1. By doing so, however, the TDMA recorded on the disk 1 will be used up at an early time.
In order to solve this problem, only the TDFL or the space bitmap stored in the cache memory 60a is updated till the disk 1 is ejected from the disk drive. As the disk 1 is ejected from the disk drive, for example, the last (most recent) TDFL or space bitmap stored in the cache memory 60a is transferred to the TDMA recorded on the disk 1. In this way, the TDMA recorded on the disk 1 is updated only after the TDFL and/or the space bitmap, which are stored in the cache memory 60a, has been updated a large number of times so that the amount of the TDMA consumption can be reduced.
The explanation given thereafter is based on a method to reduce the amount of consumption of the TDMA recorded on the disk 1 by using the cache memory 60a in processing such as a recording process to be described later. It is needless to say, nevertheless, that the present invention can be implemented without the cache memory 60a. Without the cache memory 60a, however, every time a TDFL or a space bitmap is updated, the updated TDFL or the updated space bitmap must be cataloged in the TDMA recorded on the disk 1.
By the way, the typical configuration of the disk drive shown in
In addition, the disk drive may be designed into a configuration that cannot be connected to an apparatus. In this case, unlike the configuration shown in
Of course, other typical configurations are conceivable. For example, the disk drive can be designed as a recording-only apparatus or a reproduction-only apparatus.
5: Operations for the First TDMA Method
5-1: Data Writing
By referring to flowcharts shown in
It is to be noted that, at the time the data-writing process explained below is carried out, the disk 1 has already been mounted on the disk drive, and a TDFL as well as a space bitmap have been transferred from a TDMA on the disk 1 mounted on the disk drive to the cache memory 60a.
In addition, when a request for a write operation or a read operation is received from a host apparatus such as the AV system 120, the target address is specified in the request as a logical sector address. The disk drive carries out logical/physical address conversion processing to convert the logical sector address into a physical sector address but the description of the conversion process for each request from time to time is omitted.
It is to be noted that, in order to convert a logical sector address specified by a host into a physical sector address, it is necessary to add ‘the physical address of the first sector in a user-data area’ recorded in the TDDS to the logical sector address.
Assume that a request to write data into address N has been received from a host apparatus such as the AV system 120 by the system controller 60. In this case, the system controller 60 starts processing represented by the flowchart shown in
If no data has been recorded at the specified address, the flow of the processing goes on to a step F102 to carry out a process to write user data into the address as represented by the flowchart shown in
If data has already been recorded at the specified address so that the process to write the data of this time can not be implemented, on the other hand, the flow of the processing goes on to a step F103 to carry out an overwrite process represented by the flowchart shown in
The process to write user data into the address as represented by the flowchart shown in
First of all, at a step F111, the system controller 60 executes control to write the data into the specified address. That is to say, the optical pickup 51 is driven to make an access to the specified address and record the data of the write request into the address.
If the operation to write the data into the address is completed normally, the flow of the processing goes on from the step F112 to the step F113 at which the space bitmap stored in the cache memory 60a is updated. To put it in detail, the space bitmap is searched for a bit corresponding to a cluster in which the data has been written this time, and the bit is set to a value indicating that data has been written into the cluster. Then, the execution of the processing for the write request is ended.
If the operation carried out at the step F111 to write the data into the address is not completed normally and an alternate-address process function is in an on state, on the other hand, the flow of the processing goes on from the step F113 to the step F114.
It is to be noted that the step F112 is executed also to determine whether or not the alternate-address process function is in an on state by checking whether or not an ISA and/or an OSA have been defined. If at least either an ISA or an OSA has been defined, an alternate-address process can be carried out. In this case, the alternate-address process function is determined to be in an on state.
An ISA or an OSA is determined to have been defined if the size of the ISA or the OSA in the TDDS of the TDMA has been set at a value other than a zero. That is to say, at a formatting time of the disk 1, at least either an ISA or an OSA is defined as an actually existing alternate area by specifying its size at a value other than a zero in a TDDS and recording the TDDS in the first TDMA. As an alternative, for example, an OSA can be redefined by setting its size at a value other than a zero in an operation to update a TDDS in a TDMA.
After all, if at least either an ISA or an OSA exists, the alternate-address process function is determined to be in an on state. In this case, the flow of the processing goes on to the step S114.
If the determination result obtained at the step F112 indicates that neither an ISA nor an OSA exists, indicating that the alternate-address process function has been made ineffective, on the other hand, the flow of the processing goes on to the step S113. It is to be noted that, at this step, the space bitmap stored in the cache memory 60a is searched for a bit corresponding to a cluster at the specified address and the bit is set at a value indicating that data has been recorded in the cluster. Then, the execution of the processing is ended. In this case, however, the write request is ended in an error.
In spite of the fact that a write error has been generated, at the bit in the space bitmap, a flag indicating that data has been recorded in the cluster corresponding to the bit is set in the same way as a normal termination of the processing. The setting of the flag means that the defective area is managed by using the space bitmap as a cluster in which data has been recorded. Thus, even if a request is received as a request to write data into the defective area, in which the error has been generated, by referring to the space bitmap, the processing of the request can be carried out with a high degree of efficiency.
As described above, if the alternate-address process function is determined at the step F112 to be in an on state, the flow of the processing goes on to the step F114, first of all, to determine whether or not the alternate-address process can be actually carried out.
In order to carry out the alternate-address process, the spare area, that is, either the ISA or the OSA, must have a free area for at least recording the data requested in the write operation. In addition, the TDMA must have a margin allowing an entry of the alternate-address information ati for managing this alternate-address process to be added, that is, allowing the TDFL to be updated.
It is possible to determine whether or not the ISA or the OSA has such a free area by checking the number of unused ISA/OSA clusters included in the defect-list management information shown in
If at least either the ISA or the OSA has a free area and the TDMA has a margin for update, the flow of the processing carried out by the system controller 60 goes on from the step F114 to a step F115 at which the optical pickup 51 is driven to make an access to the ISA or the OSA and record the data requested in the write operation into the free area in the ISA or the OSA respectively.
Then, at the next step F116, after the write operation requiring the alternate-address process, the TDFL and the space bitmap, which have been stored in the cache memory 60a, are updated.
To put it in detail, the contents of the TDFL are updated by newly adding an entry of the alternate-address information ati representing the present alternate-address process as shown in
In addition, a bit included in the space bitmap as a bit corresponding to a cluster at the address, at which an error of the requested write operation has been generated, is set at a value indicating that data has been recorded in the cluster. By the same token, a bit included in the space bitmap as a bit corresponding to an ISA or OSA cluster, in which the data has been actually recorded, is set at a value indicating that data has been recorded in the cluster.
Then, the execution of the processing of the write request is ended. In this case, however, a write error has been generated at the address specified in the write request, by carrying out the alternate-address process, the write operation can be completed. From the standpoint of the host apparatus, the processing of the write is ended normally.
If the determination result obtained at the step F114 indicates that neither the ISA nor the OSA has a free area or the TDMA does not have a margin for TDFL to be updated, the flow of the processing carried out by the system controller 60 goes on to a step F117 at which an error report is returned to the host apparatus and the execution of the processing is ended.
If the determination result obtained at the step F101 of the flowchart shown in
The flowchart begins with a step F121 at which the system controller 60 determines whether or not the overwrite function or the data renewal function is effective. The system controller 60 is capable of determining whether or not the overwrite function is effective by referring to a flag included in the TDDS shown in
If the flag indicating whether or not the overwrite function is usable is not set at 1 indicating that the function is not effective, the flow of the processing goes on to a step F122 at which an error report indicating incorrect specification of the address is returned to the host apparatus and the execution of the processing is ended.
If the flag indicating whether or not the overwrite function is usable is set at 1 indicating that the data renewal function is effective, on the other hand, the processing of the data renewal function is started.
In this case, the flow of the processing goes on to a step F123 first of all to determine whether or not the alternate-address process can be carried out. As described above, in order to carry out the alternate-address process, the spare area, that is, either the ISA or the OSA, must have a free area for at least recording the data requested in the write operation and, in addition, the TDMA must have a margin allowing an entry of the alternate-address information ati for managing this alternate-address process to be added, that is, allowing the TDFL to be updated.
If at least either the ISA or the OSA has a free area and the TDMA has a margin allowing an entry of the alternate-address information ati for managing this alternate-address process to be added, the flow of the processing carried out by the system controller 60 goes on from the step F123 to a step F124 at which the optical pickup 51 is driven to make an access to the ISA or the OSA and record the data requested in the write operation into the free area in the ISA or the OSA respectively.
Then, at the next step F125, after the write operation requiring execution of the alternate-address process, the TDFL and the space bitmap, which have been stored in the cache memory 60a, are updated. To put it in detail, the contents of the TDFL are updated by newly adding an entry of the alternate-address information ati representing the present alternate-address process as shown in
However, data at the same address may have been renewed before and an entry of the alternate-address information ati representing the alternate-address process for the renewal has thus been cataloged on the TDFL. In such a case, first of all, all pieces of alternate-address information ati cataloged in the TDFL are searched for an entry including the address as an alternate source address. If alternate-address information ati has been cataloged in the TDFL as an entry including the address as an alternate source address, the alternate destination address included in the alternate-address information ati is changed to the address in the ISA or the OSA. Since the TDFL containing such alternate-address information ati as an entry has been stored in the cache memory 60a at the present point of time, the change of the alternate destination address of the alternate-address information ati can made with ease. It is to be noted that, without the cache memory 60a, every time the TDFL recorded on the disk 1 is updated, the already cataloged entry must be deleted from the TDFL before adding a new entry to the TDFL.
If a new entry of the alternate-address information ati is added to the TDFL, the number of cataloged DFL entries in the defect-list management information shown in
In addition, a bit included in the space bitmap as a bit corresponding to an ISA or OSA cluster, in which the data has been actually recorded, is set at a value indicating that data has been recorded in the cluster.
Then, the execution of the processing of the write request is ended. By carrying out the processing to use the ISA or the OSA as described above, the system controller 60 is capable of coping with a data renewal request, which is a request to write data into an address at which data has been recorded.
If the determination result obtained at the step F123 indicates that neither the ISA nor the OSA has a free area or the TDMA does not have a margin allowing an entry of the alternate-address information ati for managing this alternate-address process to be added, on the other hand, the flow of the processing carried out by the system controller 60 goes on to a step F126 at which an error report indicating no free write area is returned to the host apparatus and the execution of the processing is ended.
By the way, at the step F116 of the flowchart shown in
The flowchart shown in
If the alternate-address process is a process carried out on a cluster or a plurality of physically discontinuous clusters, the flow of the processing goes on to a step F154 at which alternate-address information ati is generated for the cluster or each of the physically discontinuous clusters. In this case, status 1 of the data structure shown in
If the alternate-address process is a process carried out on a plurality of physically continuous alternate source and alternate destination clusters, on the other hand, the flow of the processing goes on to a step F152 at which, first of all, alternate-address information ati is generated for clusters at the beginnings of the alternate source and alternate destination clusters, and status 1 of the alternate-address information ati is set at 0101. Then, at the next step F153, alternate-address information ati is generated for clusters at the ends of the alternate source and alternate destination clusters, and status 1 of the alternate-address information ati is set at 1010. Then, at the next step F155, the two pieces of alternate-address information ati generated in this way are added to the TDFL.
By carrying out the processing described above, even an alternate-address process for three or more physically continuous clusters can be managed by using only two pieces of alternate-address information ati.
5-2: Data Fetching
By referring to a flowchart shown in
Assume that the system controller 60 receives a request to read out data recorded at an address specified in the request from a host apparatus such as the AV system 120. In this case, the flowchart representing the processing begins with a step F201 at which the system controller 60 refers to a space bitmap to determine whether or not data has been stored in the address specified in the request.
If no data has been stored in the address specified in the request, the flow of the processing goes on to a step F202 at which an error report indicating that the specified address is an incorrect address is returned to the host apparatus.
If data has been stored in the address specified in the request, on the other hand, the flow of the processing goes on to a step F203 at which the TDFL is searched for alternate-address information ati including the specified address as an alternate source address in order to determine whether or not an entry including the specified address has been cataloged on the TDFL.
If alternate-address information ati including the specified address as an alternate source address is not found in the search, the flow of the processing goes on from the step F203 to a step F204 at which data is reproduced from an area starting at the specified address before ending the execution of the processing, which is a normal process to reproduce data from the user-data area.
If the determination result obtained at the step F203 indicates that alternate-address information ati including the specified address as an alternate source address has been found in the search, on the other hand, the flow of the processing goes on from the step F203 to a step F205 at which an alternate destination address is acquired from the alternate-address information ati. This alternate destination address is an address in an ISA or an OSA.
Then, at the next step F206, the system controller 60 reads out data from the ISA or OSA address, which has been cataloged in the alternate-address information ati as an alternate destination address, and transfers the reproduced data to the host apparatus such as the AV system 120 before ending the execution of the processing.
By carrying out the processing described above, even if a request to reproduce data is received after the data has been renewed, the most recent data can be reproduced appropriately and transferred to the host.
5-3: Updating of the TDFL/Space Bitmap
In the processing described above, the TDFL stored in the cache memory 60a is updated in case the process to write data into a cluster is accompanied by an alternate-address process and the space bitmap also stored in the cache memory 60a is updated to reflect the data write process. At a certain point of time, the updated TDFL and space bitmap need to be transferred to the TDMA recorded on the disk 1. That is to say, it is necessary to update the state of management based on alternate-address processes and the recording state, which are states recorded on the disk 1.
It is most desirable to update the TDMA recorded on the disk 1 at a point of time the disk 1 is about to be ejected from the disk drive even though the timing to update the TDMA is not limited to the timing to eject the disk 1. Besides the timing to eject the disk 1, the TDMA can also be updated when the power supply of the disk drive is turned off or updated periodically.
At an ejection time or the like, the system controller 60 carries out processing to update the TDFL and/or the space bitmap. This processing starts at a step F301 of the flowchart shown in
The flowchart actually begins with a step F302 to determine whether or not the TDFL stored in the cache memory 60a has been updated. If the TDFL has been updated, the flow of the processing goes on to a step F303 at which a TDDS shown in
Then, at the next step F304, the optical pickup 51 is driven to record the TDFL at the beginning of a free area in the TDMA recorded on the disk 1. It is to be noted that, at that time, since data is newly recorded in the TDMA, the space bitmap stored in the cache memory 60a is also updated.
Then, after the TDFL is recorded in the TDMA, the flow of the processing goes on to a step F305. The flow of the processing also goes on to the step F305 from the step F302 because the TDFL was not updated. In either case, the space bitmap stored in the cache memory 60a is checked to determine whether or not the bitmap has been updated.
If the TDFL has been updated as described above, at least, the space bitmap has also been updated at that time. This is because an alternate-address process has been carried out so that the space bitmap has also been updated as well in accordance with the alternate-address process. In addition, the space bitmap is also updated in accordance with an operation to record data in a cluster even if no alternate-address process has been carried out.
If the space bitmap stored in the cache memory 60a has been updated in one of the situations described above, the flow of the processing goes on to a step F306, at which the TDDS shown in
It is to be noted that, if no data has been written into the disk 1 at all since the disk 1 was mounted on the disk drive, the flow of the processing represented by the flowchart shown in
At the steps F304 and F307, the TDFL and the space bitmap are recorded sequentially at the beginning of a free area in the TDMA recorded on the disk 1 as explained earlier by referring to
In addition, in the case of both the one-layer disk and the two-layer disk, a TDDS added to the last TDFL or space bitmap in the TDMA, being recorded in the last sector of the last TDFL or the last sector of the last space bitmap is the effective TDDS, which points to the effective TDFL and the effective space bitmap.
By the way, when a TDFL is additionally recorded in the TDMA at the step F303, F304, a technique may also be adopted as a conceivable technique for restructuring pieces of alternate-address information ati stored in the cache memory 60a.
At a step F351, pieces of alternate-address information ati cataloged on the TDFL stored in the cache memory 60a are searched to verify whether or not the following condition exists. The source and destination clusters represented by specific pieces of alternate-address information ati are respectively physical continuation of the source and destination clusters represented by the other specific pieces of alternate-address information ati.
If such specific pieces of alternate-address information ati were not been found in the search, the flow of the processing goes from the step F352 back to the step F303 of the flowchart shown in
If such two specific pieces of alternate-address information ati were found in the search, on the other hand, the flow of the processing goes on to a step F353 at which the specific pieces of alternate-address information ati are synthesized for the purpose of restructuring them.
The steps F352 and F353 are executed repeatedly to synthesize any pair of such specific pieces of alternate-address information ati. After all such specific pieces of alternate-address information ati are processed, the flow of the processing goes from the step F352 back to the step F303.
Assume for example that, as shown in
In this case, since the four requests to write data into the clusters are received separately, four pieces of alternate-address information ati are each cataloged as an entry having status 1 of 0000 as shown in
However, two pieces of alternate-address information ati having status 1 of 0101 and status 1 of 1010 respectively can be applied to four alternate-address continuous destination clusters CL1, C12, C13 and C14 and four alternate-address continuous source clusters CL11, C112, C113 and C114 used in this example.
Thus, as shown in
It is to be noted that such restructuring of alternate-address information can of course be applied to any pair of entries with status 1 of 0101 and 1010 indicating a plurality of continuous source and a plurality of destination clusters as described above. For example, a first pair of entries represents a plurality of first continuous source clusters and a plurality of first continuous destination clusters. By the same token, a second pair of entries is a pair provided for a plurality of second continuous source clusters and a plurality of second continuous destination clusters. If the second continuous source clusters are a continuation of the first continuous source clusters and the second continuous destination clusters are a continuation of the first continuous destination clusters, the first pair of entries and the second pair of entries can be restructured into a new pair of entries.
In addition, if a plurality of continuous source and destination clusters represented by a pair of entries with status 1 of 0101 and status 1 of 1010 as described above are respectively continuations of source and destination clusters represented another entry with status 1 of 0000, the pair of entries can be restructured into a new pair including the other entry.
5-4: Conversion into Compatible Disks
By the way, in a writable optical disk, management of alternate addresses is executed by using alternate-address management information stored in the DMA recorded on the disk. That is to say, unlike the disk 1 provided by the embodiment, a TDMA is not provided so that the alternate-address management information stored in the DMA itself is renewed to keep up with an executed alternate-address process. The data structure of the DMA recorded on a writable optical disk is the same as the DMA recorded on the disk 1 provided by the embodiment.
In the write-once optical disk provided by the embodiment, on the other hand, data can be written into an area including the TDMA only once so that the embodiment must adopt a technique to update the TDMA by adding alternate-address management information to the TDMA.
Thus, in order make a disk drive for a writable optical disk capable of reproducing data from the disk 1 provided by the embodiment, it is necessary to reflect most recent alternate-address management information recorded in the TDMA in the DMA.
In addition, in the case of a writable optical disk or the like, alternate-address information ati is recorded in the DMA for each cluster even if an alternate-address process is carried out on clusters located in a contiguous area. In the case of a write-once optical disk like the one provided by the present invention, that is, in the case of a disk with a recording capacity decreasing due to data written therein, however, it is specially important to effectively utilize the limited area of the TDMA. It is thus desirable to adopt a method of not increasing the size of the TDFL even in an alternate-address process carried out on clusters of a contiguous area. Thus, instead of including all cluster addresses completing an alternate-address process as alternate-address information ati in the temporary defect management information TDFL recorded in the TDMA, a burst-transmission format represented by a pair of entries with status 1 of 0101 and status 1 of 1010 as described above is adopted so as to reduce the number of pieces of recorded alternate-address information ati. That is to say, if addresses of three or more continuous clusters are subjected to an alternate-address process, a contiguous area is allocated as alternate-address destinations for the addresses so that only two entries of the alternate-address information ati need to be cataloged on the TDFL.
In the case of a write-once optical disk provided by the embodiment, alternate-address information ati is cataloged on the TDFL every time an alternate-address process is carried out. Thus, the size of information cataloged on the TDFL changes. That is to say, as the number of clusters subjected to the alternate-address process increases, the size of information cataloged on the TDFL also rises. By collecting a plurality of continuous clusters subjected to an alternate-address process into a group of clusters dealt with by carrying out the alternate-address process only once as described above, however, the increase in TDFL used area can be reduced.
If compatibility of the write-once optical disk implemented by the embodiment with the writable optical disk is taken into consideration, it is desirable to provide the write-once optical disk with the format of a DFL in the DMA identical with the corresponding format in the writable optical disk. The DFL in the DMA is obtained as a result of conversion of a TDFL recorded in the TDMA.
To put it concretely, it is desirable to record all pieces of alternate-address information ati in a format with status 1 set at 0000. By using such a format, it is not necessary for the disk drive to switch processing related to information stored in the DMA from one compatible with the write-once optical disk to one compatible with the writable optical disk or vice versa so that a processing load borne by the disk driver can be reduced.
For the reason described above, when information recorded in the TDMA is transferred to the DMA recorded on the disk 1, processing represented by a flowchart shown in
When the processing to transfer information recorded in the TDMA to the DMA to convert the disk 1 into a disk having compatibility with a writable optical disk is carried out, first of all, at a step F401 of the flowchart shown in
Then, at the next step F402, the most recent TDDS recorded in the last sector of the TDMA is read out to create information of the DDS shown in
Subsequently, the flow of the processing goes on to the next step F403 to determine whether or not the TDFL includes one or more pieces of alternate-address information ati. Thus, first of all, the most recent TDFL is read out from the TDMA. As explained earlier by referring to
The number of cataloged pieces of alternate-address information ati set at 0 indicates that no alternate-address information ati is cataloged. In this case, the flow of the processing goes on to a step F404 at which the TDDS is deleted from the TDFL to leave data for creating a DFL like the one shown in
Then, at the next step F408, the created DDS and DFL are recorded in DMA 1, DMA2, DMA 3 and DMA 4, which have been allocated on the disk 1, before the execution of the processing is ended.
If the determination result obtained at the step F403 indicates that the number of cataloged pieces of alternate-address information ati is 1 or greater, on the other hand, the flow of the processing goes on to a step F405 to determine whether or not an alternate-address process has been carried out on continuous alternate-address source and destination areas.
At the step F405, first of all, status 1 of alternate-address information ati cataloged on the TDFL as an entry is fetched. Alternate-address information ati with status 1 of 0101 indicates that an alternate-address process has been carried out on continuous alternate-address source and destination areas represented by the alternate-address information ati.
On the other hand, all the entries cataloged on the TDFL having status 1 of 0000 indicate that no alternate-address process has been carried out on continuous alternate-address source and destination areas. In this case, the flow of the processing goes on to a step F406 at which the TDDS is deleted from the TDFL to leave data for creating a DFL.
If an alternate-address process has been carried out on continuous alternate-address source and destination areas, first of all, at a step F409, entries with status 1 of 0000 are copied to the DFL. These entries each represent alternate-address information ati for an alternate-address process carried out on a normal one-to-one pair consisting of a source cluster and a destination cluster.
Then, at the next step F410, alternate-address information ati with status 1 of 0101 is acquired and the alternate source address in the alternate-address information ati is saved as a start address SA. Then, alternate-address information ati following the alternate-address information ati with status 1 of 0101 is acquired and the alternate source address in the following alternate-address information ati is saved as an end address EA.
Then, at the next step F411, alternate-address information ati with status 1 of 0000 is cataloged on the DFL as alternate-address information ati including the start address SA as the alternate source address. Subsequently, the start address SA is incremented by 1 (SA=SA+1). Then, alternate-address information ati with status 1 of 0000 is cataloged on the DFL as alternate-address information ati including the incremented start address (SA+1) as the alternate source address. These processes are carried out repeatedly till the incremented start address SA reaches the end address EA. By carrying out these processes repeatedly as described above, alternate-address information ati representing continuous alternate-address source and destination areas is cataloged on the DFL as a plurality of entries each describing alternate-address information ati representing a normal one-to-one pair consisting of a source cluster and a destination cluster.
Then, at the next step F412, the TDFL is searched for other alternate-address information entry with status 1 of ‘0101’. If such an entry is found in the search, the flow of the processing goes back to the step F410 to repeat the processes described above. That is to say, the processes of the steps F410 and F411 are carried out on all pieces of alternate-address information ati with status 1 of 0101 on the TDFL.
Then, the flow of the processing goes on from the step F406 or the step F412 to a step F407 at which the pieces of alternate-address information ati cataloged on the created DFL are rearranged in an order of increasing alternate source addresses.
Then, at the next step F408, the created DDS and DFL are recorded in DMA 1, DMA 2, DMA 3 and DMA 4, which have been allocated on the disk 1, before the execution of the processing is ended.
By carrying out the processing described above, alternate-address information recorded in the TDMA is recorded in the DMA by converting the information into entries each having status 1 of 0000.
The disk drive designed for a writable optical disk reads out information from the DMA to verify the state of the alternate-address process. Since the disk 1 provided by the embodiment is converted into a disk having a DMA created as described above, it is possible to verify the state of the alternate-address process and carry out processing in accordance with the state in the same way as the ordinary writable optical disk.
6: Effects of the TDMA Method of this Embodiment
The disk 1 and the disk drive, which are implemented by the embodiment, have the following effects.
In accordance with the embodiment, a write request can be made more than once to write data at the same address in a write-once optical disk. Thus, it is possible to apply a file system, which used to be unusable, to the conventional write-once optical disk. For example, a file system for a variety of operating systems (OS) can be applied as it is. An example of such a file system is a FAT file system. In addition, data can be exchanged without being conscious of differences in OS.
On top of that, the write-once optical disk makes it possible to renew not only user data but, of course, directory information of the FAT or the like recorded in the user-data area. Thus, the write-once optical disk provides convenience that data such as directory information of the FAT or the like can be updated from time to time.
Assuming that the AV system 120 is used, video and musical data can be utilized as updateable media as long as a free area of an ISA or an OSA remains.
In addition, an operation to record data into an address specified by a host computer or the like as an address in the write-once optical disk or read out data from such an address is a heavy processing load for the disk drive. If a write instruction specifying an address is received and the address is known as an address at which data has already been recorded before, an error report can be returned without actually making an access to the write-once optical disk. In order to implement such a configuration, it is necessary to manage the recording states of the write-once optical disk and, in this embodiment, a space bitmap is used as means for implementing the management of the recording states.
By preparing a space bitmap, random recording on a write-once optical disk having a large storage capacity can be implemented without imposing a processing load on the disk drive. In addition, since recording states of alternate areas can be managed, an alternate destination address used in an alternate-address process of a defect or a logical overwriting process can be acquired without actually making an access to the write-once optical disk.
On top of that, by using the space bitmap for managing management/control information areas allocated on the disk as the lead-in and the lead-out zones, recording states of the management/control information can also be managed. In particular, the management of the test area OPC serving as an area for adjusting the power of the laser beam is effective. With the conventional technique, an access must be actually made to the disk in order to search the disk for the address included in the OPC as an address at which data should be written. It is thus quite within the bounds of possibility that an area in which data has been recorded by using a small laser power is interpreted as an unrecorded area. By using the space bitmap for also managing the OPC area, however, it is possible to avoid such misinterpretation.
By combining the overwrite function described before with the space bitmap, the processing load borne by the disk drive can be reduced. That is to say, as is obvious from the pieces of processing represented by the flowcharts shown in
In addition, by putting a defective area detected at a write time and surroundings of the area in recorded status in the space bitmap, it is possible to eliminate a time-consuming process to record data at a defective address caused by an injury. In addition, by combining this feature of the space bitmap and the overwrite function, it is possible to carry out a write process, which appears to the host as a process having no write error.
On top of that, an updated TDML serving as alternate address management information and an updated space bitmap are additionally recorded in the TDMA and, at the same time, information indicating the effective TDFL and/or the effective space bitmap is also recorded as well. Thus, the effective TDFL and/or the effective space bitmap can be identified at each point of time. That is to say, the disk drive is capable of correctly grasping the updating state of the alternate-address management information.
In addition, the fact that the space bitmap is recorded in the TDMA means that the data zone serving as a main area for recording the space bit map is not used. For example, the ISA or the like is not used. Thus, it is possible to carry out an alternate-address process effectively utilizing a data zone and any one of an ISA and an OSA, which each serve as an alternate-address area. For example, either an ISA or an OSA is selected as an alternate-address area to be used in an alternate-address process typically on the basis of preference of an area closer to the alternate source address. By selecting either an ISA or an OSA in this way, an operation to make an access to data completing the alternate-address process can be made efficient.
On top of that, in an operation to write data onto the disk 1, data may not be written into a specified area due to a defect detected in the area and, if data is received continuously thereafter, by carrying out an alternate-address process, the write operation can be continued without returning an error report. For clarity, refer to the flowcharts shown in
In addition, if an operation to write data into a specified area cannot be carried out due to a defect detected in the area, in many cases, areas surrounding the defective area are most likely also areas into which data cannot be recorded. In this case, a write process can be carried out as a process assuming that predetermined areas following the defective area are also defective areas to which no access is actually made. If data for these areas has already been received by the disk drive, an alternate-address process can be carried out on the areas. In this case, even if three or more continuous clusters are subjected to an alternate-address process, alternate-address information ati can be cataloged on the TDFL only as two entries so that the size of the used write area can be reduced.
On top of that, by carrying out a process on the space bitmap to treat a processed area as an area, in which data has been written in this way, an illegal access can be avoided.
If no data for areas following an area, in which data cannot be written, has been received by the disk drive, on the other hand, predetermined ones of the following areas are cataloged on the TDFL as defective clusters each having an allocated alternate destination and treated on the space bitmap as areas, in which data has already been written. If an instruction to write data into such an area is received from the host thereafter, the disk drive refers to the space bitmap to find out that the area is an area, in which data has already been written. In this case, the overwrite function can be executed to record the data without generating an error.
In addition, since the DMA has the same data structure as the writable disk, data can be reproduced by a reproduction system from the disk provided by the embodiment even if the reproduction system designed for a writable disk is used.
Disks provided by preferred embodiments and disk drives designed for the disks have been described so far. However, the scope of the present invention is not limited to the preferred embodiments. That is to say, a variety of modifications within the range of essentials of the present invention are conceivable.
For example, as a recording medium of the present invention, a recording medium other than the optical-disk medium can be used. Examples of the recording medium other than the optical-disk medium are a magneto-optical disk, a magnetic disk and media based on a semiconductor memory.
As is obvious from the above descriptions, the present invention has the following effects.
In accordance with the present invention, a write-once recording medium can be used virtually as a recording medium allowing data already recorded thereon to be renewed. Thus, a file system such as a FAT file system for a writable recording medium can be used for a write-once recording medium. As a result, the present invention provides an effect that the usefulness of a write-once recording medium can be enhanced considerably. For example, the FAT file system, which is a standard file system for information-processing apparatus such as a personal computer, allows a variety of operating systems (OS) to reproduce data from a writable recording medium and record data onto only a writable recording medium. By virtue of the present invention, however, the FAT file system can also be applied to a write-once recording medium as it is and allows data to be exchanged without being conscious of differences between operating systems. These features are also good from compatibility-maintenance point of view.
In addition, in accordance with the present invention, a write-once recording medium can be used as a writable recording medium as long as an alternate area and an area for updating alternate-address management information remain in the write-once recording medium. Thus, the write-once recording medium can be used effectively. As a result, the present invention provides an effect that resource wasting can be reduced.
On top of that, a space bitmap can be referred to as information indicating whether or not data has been recorded in any cluster, which is used as a data unit on each recording layer of the recording medium. In general, a host computer or the like makes a request to record data at an address specified in the request as an address in a recording medium mounted on a recording apparatus or a request to reproduce data from an address specified in the request as an address in a recording medium mounted on a reproduction apparatus, and such requests are a heavy processing load that must be borne by the recording and reproduction apparatus. By referring to such a space bitmap, however, it is possible to determine whether or not data has already been recorded at an address specified for example in a write request. If data has already been recorded at the specified address, an error report can be returned to the host computer without actually making an access to the recording medium. As an alternative, the data can be renewed by carrying out an alternate-address process. In particular, it is also possible to determine whether or not the function to renew data is effective (enabled) without actually making an access to the recording medium.
In addition, by referring to such a space bitmap, it is possible to determine whether or not data has already been recorded at an address specified for example in a read request. If no data has already been recorded at the specified address, an error report can be returned to the host computer without actually making an access to the recording medium.
That is to say, it is possible to reduce a processing load borne by the recording and reproduction apparatus in respectively recording and reproducing data onto and from the recording medium by making random accesses to the recording medium.
In addition, by using the information indicating whether or not data has been recorded in any cluster, recording states of alternate areas can be managed. Thus, it is possible to acquire an alternate destination address, which is to be used in an alternate-address process carried out due to the existence of a defect or carried out to renew data, without actually making an access to the recording medium.
On top of that, management/control areas such as the lead-in and lead-out areas can also be managed by using the information indicating whether or not data has been recorded in any cluster. Thus, the information indicating whether or not data has been recorded in any cluster is suitable for typically a process to grasp the used range of the OPC for adjusting a laser power or the like. That is to say, when the OPC is searched for a trial-write area for adjusting a laser power, it is not necessary to actually make an access to the recording medium and it is also possible to avoid incorrect detection as to whether or not data has been recorded in a cluster.
In addition, if the information indicating whether or not data has been recorded in any cluster reveals that an area used as a target of a write operation is defective due to an injury and data has been recorded in areas surrounding the target area, it is possible to eliminate a process for recording data at an address in the defective target area as a process that would otherwise take long time to carry out. On top of that, by combining this function with a function to renew data, it is possible to carry out a write process which appears to the host as a process involving no write error.
On top of that, the second alternate-address management information areas, which are each provided on one of recording layers, are used sequentially one after another each as an area for updating alternate-address management information and written unwritten state indication information (or a space bitmap provided for each recording layer).
The fact that the second alternate-address management information areas is used in this way means that the second alternate-address management information areas are used collectively as a large second alternate-address management information area. Thus, a plurality of second alternate-address management information areas can be used with a high degree of efficiency.
In addition, at a point of time a write operation is carried out to update a portion of the written unwritten state indication information in accordance with an operation to write data or a write operation is carried out to update the alternate-address management information in accordance with the alternate-address process, control is executed to include information in the written unwritten state indication information being written in the second alternate-address management information area to indicate that the written unwritten state indication information is effective written unwritten state indication information in the second alternate-address management information area or information in the alternate-address management information being written in the second alternate-address management information area to indicate that the alternate-address management information is effective alternate-address management information in the second alternate-address management information area. Thus, at every point of time, the effective alternate-address management information or the effective written unwritten state indication information in the second alternate-address management information area can be identified. That is to say, the recording apparatus and the reproduction apparatus are capable of correctly grasping the updating state of the alternate-address management information and the updating state of the written unwritten state indication information. Thus, by using the written unwritten state indication information and the alternate-address management information, the recording apparatus and the reproduction apparatus are capable of carrying out processing with a high degree of efficiency.
Number | Date | Country | Kind |
---|---|---|---|
2003-066663 | Mar 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2004/003358 | 3/12/2004 | WO | 00 | 11/9/2004 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2004/081938 | 9/23/2004 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5235585 | Bish et al. | Aug 1993 | A |
5237553 | Fukushima et al. | Aug 1993 | A |
5270877 | Fukushima et al. | Dec 1993 | A |
5617393 | Itami et al. | Apr 1997 | A |
6937549 | Nozaki | Aug 2005 | B2 |
20020136134 | Ito et al. | Sep 2002 | A1 |
20030048733 | Heemskerk et al. | Mar 2003 | A1 |
20040174793 | Park et al. | Sep 2004 | A1 |
Number | Date | Country |
---|---|---|
64-046280 | Feb 1989 | JP |
02-183472 | Jul 1990 | JP |
09-102173 | Apr 1997 | JP |
2001-351334 | Dec 2001 | JP |
2002-329321 | Nov 2002 | JP |
2002-352522 | Dec 2002 | JP |
Number | Date | Country | |
---|---|---|---|
20050219979 A1 | Oct 2005 | US |