The application be that April 14, application number in 2004 are 200480010138.4 the applying date, denomination of invention divides an application for the application for a patent for invention of " recording/reproducing method, recording/reproducing apparatus and optical record medium ".
Summary of the invention
An aspect of of the present present invention provides a kind of recording/reproducing method, a kind of recording/reproducing apparatus, a kind of optical record medium and a kind of computer readable recording medium storing program for performing that writes down the program that is used for described recording/reproducing method thereon, wherein, whether be used according to defect management, CD-WORM can be used.
To be partly articulated other aspect of the present invention and/or advantage in the following description, by describing, it can become more obvious, perhaps can understand by implementing the present invention.
According to an aspect of the present invention, a kind of method at the recording medium identifying recording layer comprises: indicating whether to select optional defect management pattern with recording medium being carried out between the defect management on mode of defect management and the defect management off mode; If defect management on mode is selected, when this recording medium is carried out defect management, data are recorded on this recording medium so; And if defect management off mode is selected, under having the situation of defect management, data are not recorded in this recording medium so.
According to an aspect of the present invention, the step of record data comprises recording medium is initialized as the defective on-mode under defect management on mode, and described initialization comprises: the spare area allocation that will be used for replacing the defective that produces in the data field of recording medium is given the data field; And temporary defect management information is recorded in the temporary defect management area that recording medium provides, described temporary defect management information comprises the identifier about the information of the spare area that distributes and indication defect management on mode.
According to an aspect of the present invention, the step of record data also comprises under defect management on mode: with the predetermined unit of being operating as replace block is recorded in the spare area, described replace block is replaced the defect block about the defective that produces in the data field; And in temporary defect management area, upgrade about the information of defective with as the defect management information for defect management of temporary defect management information with the predetermined unit of being operating as.
According to an aspect of the present invention, the step of record data also comprises under defect management on mode: the size that changes the spare area, and in temporary defect management area, upgrade temporary defect management information, described temporary defect management information comprises the information about the size of the change of spare area.
According to an aspect of the present invention, the step of record data also comprises under defect management on mode: defect management on mode is converted to defect management off mode.
According to an aspect of the present invention, the step that is converted to defect management off mode comprises: recording medium is reinitialized to defect management off mode; And under not having the situation of defect management, data are recorded in the recording medium.
According to an aspect of the present invention, the step that is reinitialized to defect management off mode comprises: the identifier record that will indicate defect management off mode is in temporary defect management area; And will be in temporary defect management area the temporary defect management information of final updated be recorded in the defect management that recording medium provides.
According to an aspect of the present invention, described recording method also comprises the final recording medium of determining, wherein, determines that finally the step of recording medium comprises: will indicate final determine final of recording medium to determine that sign is recorded in the temporary defect management area; The temporary defect management information about the information of defective and defect management information that will comprise final updated in the temporary defect management area is recorded in the defect management that recording medium provides; And the remaining area that is filled in the temporary defect management area that does not wherein have record data with tentation data.
According to an aspect of the present invention, the step of record data comprises under defect management off mode: data are recorded in the data field that provides in the recording medium with the predetermined unit of being operating as; And, upgrade records management information in the temporary defect management area that in recording medium, provides according to the record of data.
According to an aspect of the present invention, described recording method also comprises the final recording medium of determining, wherein, determines that finally the step of recording medium comprises: will indicate recording medium to be determined that by final determine final sign is recorded in the temporary defect management area; To in temporary defect management area, the records management information of final updated be recorded in the defect management that provides in the recording medium; And the remaining area that is filled in the temporary defect management area that does not wherein have record data with tentation data.
According to a further aspect in the invention, a kind of reproduction is recorded in the method for the data on the recording medium, described recording medium comprises continuously arranged Lead-In Area, data field and leading-out zone, this method comprises: the temporary defect management area that provides from Lead-In Area or leading-out zone reads the defect management ON/OFF pattern information that indicates whether recording medium is carried out defect management, to upgrade about the information of the defective that produces in the data field and to be used for the defect management information of management of the defective of each scheduled operation; And read in data in the recorded data zone based on the defect management ON/OFF pattern information that reads.
According to an aspect of the present invention, described reproducting method also comprises: if the defect management ON/OFF pattern information that reads is a defect management on mode, read the defect management information about the information and the final updated of defective of final updated so from temporary defect management area.
According to an aspect of the present invention, described reproducting method also comprises: read the indication recording medium from temporary defect management area and determined sign by final determine final; And the defect management that provides from recording medium reads the defect management information about the information and the final updated of defective of final updated.
According to an aspect of the present invention, described reproducting method also comprises: if the defect management ON/OFF pattern information that reads is a defect management off mode, read final records management information from temporary defect management area so.
According to an aspect of the present invention, described reproducting method also comprises: read the indication recording medium from temporary defect management area and determined sign by final determine final; And the defect management that provides from recording medium reads the defect management information about the information and the final updated of defective of final updated.
According to a further aspect in the invention, a kind ofly be used on recording medium reproducing and/or the equipment of record data, comprise: record/reading unit, it transmits the data about recording medium; And control module, it is a kind of of defect management on mode and defect management off mode with the defect management model selection, whether described defect management pattern indication carries out defect management in the recording medium identifying recording layer, if and defect management on mode is selected, controlling recording/reading unit is recorded in data in the recording medium when recording medium is carried out defect management so, if and defect management off mode is selected, under having the situation of defect management, data are not recorded in the recording medium so.
According to a further aspect in the invention, a kind of equipment that is used for being recorded in the data on the recording medium in recording medium identifying recording layer and/or reproduction, described recording medium comprises continuously arranged Lead-In Area, data field and leading-out zone, this equipment comprises: reading unit, and it transmits the data about recording medium; And control module, the temporary defect management area that its control reading unit provides from Lead-In Area or leading-out zone reads the defect management ON/OFF pattern information that indicates whether recording medium is carried out defect management, upgrading about the information of the defective that in the data field, produces and to be used for the defect management information of management of the defective of each scheduled operation, and control the data of reading unit reading and recording in the data field based on the defect management ON/OFF pattern information that reads.
According to a further aspect in the invention, a kind of optical record medium comprises: continuously arranged Lead-In Area, data field and leading-out zone; Temporary defect management area is used for writing down the information of the defective that produces about the data field, and wherein Lead-In Area or leading-out zone and temporary defect management information are used for the management of defective; And defect management, be used to write down final about the information of defective and final defect management information, and described defect management is in Lead-In Area or leading-out zone, wherein, the temporary defect management information that is recorded in the temporary defect management area comprises defect management ON/OFF pattern information, and whether it will be recorded on the recording medium when recording medium is carried out defect management to record and/or reproducer designation data.
According to a further aspect in the invention, if recording medium is initialized to defect management on mode, the data field is given by this devices allocation in the spare area that is used to write down replace block so, described replace block is replaced defect block about the defective that produces with the predetermined recording unit of being operating as in the data field of recording medium, defect management is empty, and temporary defect management area enters therein about the information of defective and is used for the state that the defect management information of the management of defective can be updated with the predetermined recording unit of being operating as.
According to a further aspect in the invention, if the size of the spare area of recording medium is changed and recording medium is reinitialized, the information about the size of the change of spare area is recorded in the temporary defect management area so.
According to a further aspect in the invention, if recording medium is reinitialized defect management off mode, indicate the information of defect management off mode to be recorded in the temporary defect management area so, and the temporary defect management information of final updated is recorded in the defect management in temporary defect management area.
According to a further aspect in the invention, when recording medium is finally determined, the indication recording medium is determined that by final determine final sign is recorded in the temporary defect management area, the temporary defect management information of final updated is recorded in the defect management in temporary defect management area, and tentation data is filled in the remaining area of the temporary defect management area that does not wherein have record data.
According to a further aspect in the invention, if recording medium is initialized to defect management off mode, defect management is empty, and temporary defect management area enters therein the state that can be updated with the predetermined recording unit of being operating as according to the record records management information of data in the data field.
According to a further aspect in the invention, a kind of coding has the computer readable recording medium storing program for performing of programming instruction, described programming instruction is used to realize the method at the recording medium identifying recording layer carried out by computing machine, this method comprises: with the defect management model selection is a kind of of defect management on mode and defect management off mode, and described defect management pattern indicates whether recording medium is carried out defect management; And if defect management on mode is selected, when recording medium is carried out defect management, data are recorded in the recording medium so; And if defect management off mode is selected, under having the situation of defect management, data are not recorded in the recording medium so.
According to a further aspect in the invention, a kind of coding has the computer readable recording medium storing program for performing of processing instruction, described processing instruction is used to realize being recorded in by the reproduction that computing machine is carried out the method for the data on the recording medium, this recording medium has continuously arranged Lead-In Area, data field and leading-out zone, this method comprises: the temporary defect management area that provides from Lead-In Area or leading-out zone reads defect management ON/OFF pattern information, upgrading about the information of the defective that produces in the data field and to be used for the defect management information of management of the defective of each booking situation operation, described defect management ON/OFF pattern information indication is carried out defect management to recording medium and is not carried out a kind of in two kinds of situations of defect management; And come the data of reading and recording in the data field based on the defect management ON/OFF pattern information that reads.
Embodiment
To be described in detail the embodiment of the invention now, its example shown in the accompanying drawings, wherein, identical label is represented identical parts all the time.In order to explain the present invention, by the reference accompanying drawing, embodiment is described as follows.
Fig. 1 is according to the state diagram of the once writing recording medium of the embodiment of the invention, and show according to DM on-mode (DM-on mode) or DM close pattern (DM-off mode) from being initialised to the life-span of the final once writing recording medium of determining.Whether once writing recording medium according to an aspect of the present invention can use and use under two kinds of patterns according to defect management.First pattern is the DM on-mode, and under this pattern, data are recorded on the recording medium when recording medium is carried out defect management.Second pattern is that DM closes pattern, and under this pattern, data are recorded on the recording medium when defect management is not performed.
Under the DM on-mode, the data field that provides on recording medium is provided in the spare area, and when defect management was performed according to the intention of user or drive manufacturers, data were recorded on the recording medium by drive assembly.Under the pattern of DM pass, data are recorded in by drive assembly does not have defect management on the recording medium, and the intention that wherein writes down according to user or drive manufacturers is performed.Be provided to be used for defect management because distribute to the spare area in partial data district, and because under the pattern of DM pass, do not carry out defect management, so not to be assigned be normal in the spare area under the pattern of DM pass.Although Fig. 1 does not have to show reinitializing from DM pass pattern to the DM on-mode, should be appreciated that for the degree that DMA before finally determining is not filled, such is possible from DM pass pattern to reinitializing of DM on-mode.
The DM on-mode
Life-span according to the write-once optical medium of DM on-mode is presented in the top of Fig. 1.In the following description, term " dish " and " recording medium " can exchange and not be restricted to the medium of particular type mutually.When the dish of being made by dish manufacturer used for the first time, this dish was the blank panel 1 that does not have data to be written into thereon.Yet.Blank panel 1 is included in Lead-In Area, data field and the leading-out zone that distributes during dish is made.The structure of blank panel 1 is presented among Fig. 2 and Fig. 3.The spare area that shows among Fig. 2 and Fig. 3 is not assigned with during dish is made, but is assigned with during the dish initialization.In addition, the distribution of spare area depends on whether carry out defect management to coiling 1.Therefore, by making with dashed lines represent the spare area.
If determine that blank panel 1 will be used according to the DM on-mode, blank panel 1 is initialized to the DM on-mode so.For defect management, the initialization information that the spare area is assigned to the data field of blank panel 1 and is used for defect management is recorded in the presumptive area of blank panel 1.The distribution of spare area is described with reference to Fig. 2 and Fig. 3.
Fig. 2 is the data structure diagrammatic sketch according to the single-recordng-layer recording medium pattern of the dish 1 of the embodiment of the invention.With reference to Fig. 2, in single-recordng-layer, Lead-In Area, data field and leading-out zone are provided with continuously.Lead-In Area, data field and leading-out zone are assigned with during dish is made.If carry out defect management by drive assembly to coiling 1 during being used to coil 1 initialization of using, the spare area is assigned to the data field so.With reference to Fig. 2, two spare areas are assigned to the data field, and the data field comprises spare area #1, user data area and spare area #2.The position that data are recorded in the logic sector number (LSN) 0 with user data area begins, and carries out to the position with last LSN.Although be not all to need in all respects, write fully at spare area #1 (that is, fill) afterwards spare area #2 also can be used.In spare area #2, carry out if be recorded on the direction from the Lead-In Area to the user data area, the size such as the spare area #2 that expands or reduce changes and can easily be carried out so.
Fig. 3 is the data structure diagrammatic sketch according to the double record layer recording medium pattern of the dish 1 of the embodiment of the invention.The structural similarity of the single-recordng-layer recording medium that shows among the structure of double record layer recording medium and Fig. 2.One deck of double record layer recording medium 1 comprises continuous Lead-In Area #0, data field #0 and leading-out zone #0.Another layer comprises continuous Lead-In Area #1, data field #1 and leading-out zone #1.Determine that the defect management drive assembly will be performed during the dish initialization.Therefore, spare area #1 and spare area #2 are assigned to data field #0, and spare area #3 and spare area #4 are assigned to data field #1.In other words, data field #0 comprises spare area #1, user data area #0 and spare area #2, and data field 1 comprises spare area #3, user data area #1 and spare area #4.For the ease of the expansion of spare area #4, wish but the mode use dish 1 that need not increase in direction with LSN from user data area #0 to user data area #1.
The Lead-In Area of the recording medium 1 that shows among Fig. 2 and Fig. 3 and the detailed structure of leading-out zone are described with reference to Fig. 4.Fig. 4 is the detailed data structure diagrammatic sketch in the zone of once writing recording medium according to an aspect of the present invention.With reference to Fig. 4, as mentioned above, once writing recording medium 1 comprises continuous Lead-In Area, data field and leading-out zone, and spare area #1 and spare area #2 are assigned to the data field during the dish initialization that is used for defect management.Lead-In Area comprises defect management (DMA) #1, drive information area, temporary defect management area (TDMA), record condition test section and DMA#2.Leading-out zone comprises DMA#3 and DMA#4.Certainly, distribute to the detail region of Lead-In Area, except Lead-In Area, also can distribute to leading-out zone, perhaps distribute to leading-out zone rather than Lead-In Area.
Spare area #1 and spare area #2 are provided and are used for overwriting data in replace block, replace the piece of user data area when producing defective in the data of described replace block in being recorded in user data area.Drive information area is provided the information that is used for writing down about drive assembly, described drive assembly loading disc and record data or from coiling 1 reading of data in dish 1.The record condition test section is provided and is used for allowing drive assembly to be used for the optimal conditions of recording/reproducing data and to carry out predetermined test for search in the dish that loads.
DMA is provided and is used for record defect information and defect management information (DMI).DMA comprises dish definition structure (DDS) that is used for DMI and the defect list (DFL) that is used for defect information, and DMI is provided to be used for the re-writable recording medium compatibility or is provided be used for reading and write down final defect information and the DMI that TDMA writes down during dish is finally determined.
TDMA is written into when temporary defect management information is updated.Temporary defect management information comprises: the temporary defect definition structure; Space bit map (SBM), it indicates in the piece of the physics free space of dish record or record not by using bit value; And the temporary defect list (TDFL) that is used for temporary defect information.In other words, TDMA is provided and is used for writing down the temporary defect management information (TDMI) that comprises temporary disk (T-disk) definition structure (TDDS), SBM and TDFL.
In once writing recording medium, TDMA is realized defect management by special the preparation by drive assembly.Especially, in re-writable recording medium, only there is DMA to be provided and TDMA is not provided in addition.This is because once writing recording medium can not be rewritten as rewritable media.Different with re-writable recording medium, because when DMI will be updated, once writing recording medium can not be rewritten, so the new zone that needs updated information therein to be written into.Therefore, need with the proportional considerable zone of the time quantum that DMI is updated.Yet, because DMA is little in re-writable recording medium, thus in once writing recording medium TDMA provided in addition and in TDMA DMI be updated.In addition, dish is final determine during, the TDMI of final updated in TDMA (promptly in the end the TDMI during recording operation) is recorded among the DMA as DMI.By DMI being recorded among the DMA that once writing recording medium provides, can realize compatibility with re-writable recording medium.For the ease of explain that the DMI that upgrades is called " TDMI ", and the final TDMI that is recorded among the DMA is called " DMI " in TDMA.
Hereinafter, the TDMI that is recorded among the TDMA will be described in detail.TDMI comprises TDDS, SBM and TDFL.When TDDS, SBM and TDFL were recorded among the TDMA, TDDS and SBM can be recorded in same and TDFL can be recorded in another piece.For example, as shown in Figure 5, TDMI comprises the TDMI#0 that is made up of TDFL#0, TDDS#0 and SBM#0, and this TDMI can be that unit is updated with TDMI#i in TDMA.Another example as shown in Figure 6, TDMA is divided into two parts, and TDDS#i and SBM#i can be used as a piece and are updated in a part, and in another part, TDFL#i can be used as a piece and is updated.The detailed structure of TDDS#i is described with reference to Fig. 7.
Fig. 7 is the detailed data structure diagrammatic sketch of the TDDS#i of TDMI according to an aspect of the present invention.With reference to Fig. 7, TDDS#i comprises the start position information of user data area, the end position information of user data area, the size information of spare area #1, size information, TDFL pointer, record condition test available location pointer, final definite sign and the DM pattern of spare area #2.
The position of distributing to the position of user data area of data field and size and spare area #1 and spare area #2 can be obtained from the end position information of the start position information of user data area and user data area.The size information of the size information of spare area #1 and spare area #2 is recorded as TDDS, and if spare area #1 or spare area #2 extended or reduce, the size information of spare area #1 or spare area #2 is changed so.The positional information of the TDFL of TDFL pointer indication recent renewal.By using the TDFL pointer, can easily find the TDFL of final updated.
The positional information of the record condition test section that the indication of record condition test available location pointer is provided with in Lead-In Area that coils or leading-out zone is tested in described record condition test section and can be performed.By the reference record condition test available location pointer, the position that can easily find test to be performed, and direct sweep record condition test district.
Final definite the sign is to be used to be provided with the final sign of determining of dish, and by using finally definite sign can determine whether dish is finally determined.Though final determine that sign is set among the TDDS#i among Fig. 7, final definite sign also can be set among as shown in Figure 8 the SBM#i.
The DM pattern of Fig. 7 indicates whether corresponding dish 1 is carried out defect management.For example, when being recorded on the dish 1 to data when coiling 1 execution defect management, the DM pattern is set to the DM on-mode, and data are recorded in when coiling on 1 when defect management is not performed, and the DM pattern is set to DM and closes pattern.
Fig. 8 is the detailed data structure diagrammatic sketch of the SBM#i of temporary disk (T-disk) management information according to an aspect of the present invention.With reference to Fig. 8, SBM#i comprises SBM head and position mapping.The SBM head is the identifier of indication SBM.Position mapping is an information mapping, but it is indicated in the piece of the physics posting field of dish record or do not have record by using bit value.For example, the piece that wherein records data is represented by " 1 ", and is not wherein had the piece of record data to be represented by " 0 ".Like this, know in each piece record or do not have record.
Fig. 9 is the detailed data structure diagrammatic sketch of the TDFL#i of temporary disk (T-disk) management information according to an aspect of the present invention.With reference to Fig. 9, TDFL#i comprises that TDFL head, defect list entry #0, defect list entry #1......TDFL head are the identifiers of indication TDFL.Defect list entry #i indicates the information about the defective that produces in user data area.The data structure of the defect list entry #i that shows in Figure 10 displayed map 9.
With reference to Figure 10, defect list entry #i comprises status information, defect block physical address and replace block physical address.The physical address of the defect block of defect block physical address indication user data area, and the physical address of the replace block of replace block physical address indication spare area, described replace block is replaced defect block.Status information comprises replacement information and continuous defect information.Whether replacement information indication defect block has replace block.In other words, exist defect block to have the state of replace block and the state that defect block does not have replace block.The state of continuous defect information indication defect block when the defective that produces at user data area produces in continuous piece.In other words, when producing in the continuous piece of defective at user data area, do not produce defect list entry, but only be created in first defect entry of first defect block among the continuous defect block and the last defect entry of the last defect block among continuous defect block for each piece of continuous defect block.Therefore, can save the space of TDFL.
So far, the present invention's exemplary configurations that can be applied in its recording medium is described.With reference to Fig. 1, after being initialized as the DM on-mode of blank panel 1, the DMA of dish is empty and TDMA enters the state 2 that TDMA therein can be updated.Renewal indication TDMI in TDMA of TDMA is updated.Such renewal is carried out with the booking situation unit of being operating as, and according to an aspect of the present invention, described unit can be one and write back checking unit or a plurality of back checking unit or ejection unit of writing that piece is recorded then and is verified in writing back checking unit.Here, piece refers to error correcting code (ECC) unit that is recorded in the dish.Yet, should be appreciated that, except being that other update methods can be used and/or carry out the unit with the recording operation.
When by drive assembly dish being carried out defect management, data are recorded in the dish 1 of state 2.Then, according to defect management data recording simultaneously, the TDMA shown in Fig. 4 remains on the state 3 that TDMI wherein is updated.In the dish 1 of user mode 3, if in the spare area, produce any change, to coil 1 so and reinitialized, the size information of the spare area of TDMI is changed, and the size information of the change of spare area is recorded among the TDMA, and DMA remains empty.If the spare area that distributes during the dish initialization is fully consumed and the spare area needs are extended, if perhaps user data area lacks zone and the spare area that data will be written into and need be reduced, the size information of spare area is changed (state 4) between the operating period of dish 1 so.The TDDS#i that comprises such change is recorded among the TDMA.Even after the size of spare area is changed, by drive assembly data when coiling the execution defect management also are being recorded in the dish 1, and TDMA is updated (state 5).
With defect management data recording simultaneously during, dish 1 can be reinitialized DM and close pattern.When dish 1 is reinitialized DM and closes pattern, for the compatibility of re-writable recording medium, the final TDDS and the TDFL information that are recorded among the TDMA are recorded among the DMA as DDS and DFL information, and TDMA to be changed be that DM closes pattern.In other words, be set to make renewal among the TDDS that DM pass pattern comes to show in Fig. 7, and the TDDS#n of the final updated in TDMA and TDFL#n are replicated and are recorded in (state 11 to 13) among the DMA by the DM pattern.
Particularly, after just being turned to DM pass pattern again, the DMA of dish 1 is filled and TDMA enters the state 11 that TDMA therein can be updated.Because being changed, the DM pattern is that DM closes pattern, so do not having under the situation of defect management data be recorded and TDMA is updated (state 12).Because defect management is not performed, so the renewal of TDMA relates generally to TDDS#i and SBM#i.Yet if be included among the TDFL#i with the irrelevant content of defect management, TDFL#i also can be updated so.Be used by this way although coil 1, finally determined as fruit tray 1, TDMA is filled and gets the hang of 13 so, and final definite sign is set up (state 13) in TDMA in described state 13.
Data be recorded in the dish of state 5 and by drive assembly to coil 1 carry out defect management in, finally determined as fruit tray, in TDMA, finally determine so to indicate to be configured to prevent after finally determining, coil and be used, and the TDMI of the final updated in TDMA (that is, TDDS#m and TDFL#m) fills DMA and is used as final DMI (state 6).With reference to the embodiment among Fig. 7, finally in TDDS determine that sign is set to " 1 " and finally determines to indicate, and TDDS is recorded among the TDMA and is finally determined with display disc.In addition, be updated in TDMA in order to prevent TDMI, predetermined bit (for example, " FFh ") can be filled in the remaining area of the TDMA that does not wherein have record data.As a result, TDMA is filled.
DM closes pattern
The life-span of closing the write-once optical medium of pattern according to DM is presented in the bottom of Fig. 1.To be used according to DM pass pattern if determine dish 1, blank panel 1 is initialized to DM and closes pattern so.It is empty being initialized as the DMA that DM closes the dish of pattern, and TDMA enters the state 7 that TDMA therein can be updated.The end position information that during the dish initialization, in TDMA, comprises the start position information and the user data area of user data area as the TDDS of initial information record.The size information of the size information of spare area #1 and spare area #2 is registered as " 0 ".In addition, the DM pattern is set to DM and closes pattern.
Because defect management is not performed during data recording, so TDDS and SBM are mainly upgraded in TDMA.Because do not carry out defect management, so the detailed data of the TDDS that uses under the pattern of DM pass can be different.For TDDS and SBM and TDDS that uses under the DM on-mode and the SBM differentiation that will use under the pattern of DM pass, the TDDS and the SBM that use under the pattern of DM pass are called as records management information.
Under the pattern of DM pass, data are recorded in the dish 1 under the situation of not carrying out defect management by drive assembly, and TDMA remains on the state 8 that TDMA wherein can be updated.When dish 1 quilt was finally determined, final definite sign was configured to prevent to coil 1 and is used (state 9) after finally determining in TDMA.In addition, the final TDMI that upgrades in TDMA (that is records management information) fills DMA and is used as final DMI (state 9).Final definite dish 1 has indicates final final definite state that is set up among TDDS in being recorded in TDMA or the SBM that indicates of determining therein, describedly in TDMA, be recorded among the DMA as DMI by the TDDS of final updated and SBM, and the value that equates with " FFh " is recorded in remaining area that SBM can be recorded (promptly, the remaining area of TDMA) in, is recorded in the remaining area of TDMA to prevent data.
Hereinafter, can use the recording/reproducing apparatus of above-mentioned dish to describe with reference to Figure 11.Figure 11 is the schematic block diagram according to recording/reproducing apparatus of the present invention.With reference to Figure 11, this recording/reproducing apparatus comprises record/reading unit 21 and control module 23.Record/reading unit 21 comprises the pick-up that is used for the data on dish 22 at dish 22 identifying recording layers and/or reading and recording, and described dish 22 is optical record mediums according to an aspect of the present invention.Control module 23 according to the one side controlling recording/reading unit 21 of predetermined file system with at dish 22 identifying recording layers with from coiling 22 reading of data.Particularly, according to the present invention, control module 23 determines whether to carry out defect management and according to the initializes dish of determining 22 during data recording when blank panel loads in record/reading unit 21.In addition, control module 23 is coiling in 22 the data recompile according to the controlling recording/reading unit of determining as a result 21 of following detailed description.
Control module comprises main frame I/F 24, DSP 25, RF AMP 26, servo-drive system 27 and system controller 28.During data recording, main frame I/F 24 receives the predetermined recording order from main frame 29, and this predetermined recording order is sent to system controller 28.System controller 28 control DSP 25 and servo-drive system 27 are to carry out the predetermined recording order that receives from main frame I/F 24.DSP 25 adds from the data that main frame I/F 24 receives the additional data of for example parity checking to be used for error correction to, generates error correction block (that is, the ECC piece) by data being carried out error correcting codes (ECC) coding, and modulates the ECC piece in a predetermined manner.RF AMP 26 will be converted to the RF signal from the data of DSP 25 outputs.Record/reading unit 21 comprises the pick-up that is used for writing down from the RF signal of RF AMP 26 transmissions on dish 22.Servo-drive system 27 receives the required order of servocontrol from system controller 28, and the pick-up of record/reading unit 21 is carried out servocontrol.
Particularly, according to an aspect of the present invention, system controller 28 is determined with the DM on-mode still with DM pass pattern use dish 22.So really, definiteness is shown in data and is recorded in whether defect management will be performed when coiling in 22.Although be not all to be required aspect all of the present invention, system controller 28 detects from user's input or detects input from drive manufacturers, and uses the input that detects to determine that dish 22 is in the DM on-mode and still is in DM pass pattern.Yet, should be appreciated that input can differently be received.
If system controller 28 determines that with DM on-mode use dish 22 system controller 28 controlling recording/reading unit 21 is carried out defect management when data are recorded on the dish 22 so.In other words, system controller 28 controlling recording/reading unit 21 writes down replace block with the predetermined unit of being operating as in the spare area of recording medium 22, and upgrades about the information of defective in the TDMA of recording medium and be used for the TDMI of the management of defective with the predetermined unit of being operating as, described replace block replacement produces the defect block of user data area of the recording medium of defective therein.As needs, system controller 28 also changes the size of spare area when dish 22 is used with the DM on-mode.System controller 28 controlling recording/reading unit 21 writes down the information about the size of the spare area that changes (if the words that have) in TDMA.
Even dish 22 is set to the DM on-mode during the dish initialization, system controller 28 also can will coil 22 DM on-mode and be converted to DM pass pattern when dish 22 uses with the DM on-mode.For such conversion, system controller 28 will coil 22 and be reinitialized to DM pass pattern, and controlling recording/reading unit 21 is not recorded in data in the dish 22 under having the situation of defect management.In other words, during reinitializing, system controller 28 controlling recording/reading unit 21 writes down the information that display disc 22 uses with DM pass pattern in TDMA, and will be recorded among the DMA that provides in the recording medium 22 by the TDMI of final updated in TDMA.
When the dish 22 that uses is by this way finally determined, system controller 28 controlling recording/reading unit 21 writes down final determine final of indication recording medium 22 quilts and determines to indicate in TDMA, to in TDMA, be recorded in the disc management area (DMA) that provides in the recording medium 22 as DMI by the TDMI of final updated, and fill the remaining area of the TDMA that is not written into tentation data.
When system controller 28 determined to coil 22 with the pattern use of DM pass, its controlling recording/reading unit 21 was not recorded in data in the dish 22 under having the situation of defect management.In other words, system controller 28 controlling recording/reading unit 21 data is provided in the user data area that provides in the dish 21 with the predetermined unit of being operating as, and upgrades records management information according to such being recorded in the temporary defect management area that provides in the dish 21.In addition, in the mode identical with the DM on-mode, when dish 22 is finally determined, system controller 28 controlling recording/reading unit 22 writes down display disc 22 by final final definite sign of determining in TDMA, to in TDMA, be recorded in the disc management area that provides in the dish 22 by the TDMI of final updated, and fill the remaining area of the TDMA that is not written into tentation data.
At reproduction period, main frame I/F 24 receives from main frame 29 and reproduces order.System controller 28 is carried out and is reproduced required initialization.Record/reading unit 21 projects laser beam on the dish 22 and exports by receiving from coiling the light signal that 22 laser light reflected bundles obtain.RF AMP 26 will be converted to the RF signal from the light signal of record/reading unit 21 outputs, will offer DSP 25 from the modulation signal that the RF signal obtains, and will offer servo-drive system 27 from the servosignal that is used to control that the RF signal obtains.Servo-drive system 27 receives servosignal and receives the required order of servocontrol from system controller 28 from RF AMP 26, and servo-drive system 27 execution are to the servocontrol of pick-up.Main frame I/F 24 will send to main frame 29 from the data that DSP 25 receives.
Particularly, according to an aspect of the present invention, system controller 28 controlling recording/reading unit 21 is from the TDMA read mode information that provides 22 is provided, and based on these data of information reading and recording in the data field that read.When the pattern information that reads is the DM on-mode, system controller 28 controlling recording/reading unit 21 reads the information and the defect management information about defective of final updated from TDMA, if and indicated recording medium 22 to be read from TDMA by final final definite sign of determining, system controller 28 controlling recording/reading unit 21 would be from information and the defect management information about defective that the DMA that provides 28 reads final updated is provided so.
When the pattern information that reads was DM pass pattern, system controller 28 controlling recording/reading unit 21 read final records management information from TDMA.If indication recording medium 22 is determined that by final determine final sign is read from TDMA, system controller 28 controlling recording/reading unit 21 reads the records management information of final updated from the DMA that provides 22 is provided so.
Figure 12 A uses the process flow diagram of the method for once writing recording medium to what Figure 12 E was expression according to the embodiment of the invention with DM on-mode or DM pass pattern.
Although be not all to be required in aspect all, Figure 12 A also can be embodied as computer-readable software to the method among Figure 12 E.In addition, should be appreciated that if controller 28 is multi-purpose computer or special purpose computer, the method for Figure 12 A in Figure 12 E can read computer-readable medium by controller 28 and realize with retrieval Methods for Coding on computer-readable medium so.In case once writing recording medium 22 is loaded in the drive system, then the system controller 28 of drive system the information in the dish 22 of loading of being stored in by use discern loading dish 22 (promptly, the dish 22 that loads is any type), whether the dish 22 whether dish 22 of loading can write down and load is used.If the once writing recording medium that loads in operation 10 is identified as blank panel 22, system controller 28 is carried out initialization process according to user's the order or the intention of drive manufacturers so.
In operation 15, system controller 28 determines whether to carry out the DM pattern according to the intention of user or drive manufacturers.When system controller 28 was determined not carry out defect management and selected DM to close pattern according to the intention of user or drive manufacturers, initialization information was recorded in the dish 22 in operation 20, and handles the A that forwards among Figure 12 E.Because defect management is not performed and the spare area is not assigned with under the pattern of DM pass, thus be registered as " 0 " among the TDDS of the size information of spare area in being recorded in TDMA, and the DM pattern is set to DM and closes pattern.
When system controller 28 is selected the DM on-mode, the part that it gives the data field of dish 22 with spare area allocation, and in dish, write down by the defect management of drive assembly required information and initialization information (operation 30).More particularly, initialization information is included among TDDS#0, SBM#0 and the TDFL#0, is recorded among the TDMA then.With reference to as shown in Figure 7 embodiment, TDDS#0 start position information and end position information, the TDFL pointer of the size of the spare area that provides in the data field and positional information, user data area is provided and is set to the DM pattern of DM on-mode.Be initialised in case coil 22, then coil 22 DMA and be empty and TDMA and enter the state that TDMA therein can be updated.
After initialization, the record order of record/reading unit 21 and control module 23 response main frames comes executive logging (operation 40) by the back proof procedure that writes that is used for defect management.Hereinafter, the back proof procedure that writes of operation 40 is described in more detail with reference to Figure 12 B.In operation 41, user data is recorded in the user area with the unit that proof procedure after writing is performed.In operation 42, the data of record are verified the part that produces defective with discovery therein, and the replace block of replacement defect block is recorded in the spare area.In operation 43, be generated and be stored in the storer about the information of defective.In operation 44, determine whether the predetermined recording operation is finished.If the predetermined recording operation is not finished, handle to forward operation 41 to and write down being repeated so.If the predetermined recording operation is finished, handle forwarding the operation 50 that figure shows and show in detail to so in 12A in Figure 12 C.
In operation 50, defect information and defect management information are updated with the unit of being operating as.The renewal process of operation 50 is described in detail with reference to Figure 12 C.In operation 51, the information about defective of storing in the storer is read into.In operation 52, comprise that the defect list about the information of defective is generated.In operation 53, the defect list of generation is recorded among the TDMA as TDFL #i, and wherein i is corresponding to the quantity of recording operation.In operation 54, TDDS #i and SBM#i are recorded among the TDMA.It is above-mentioned that proof procedure comes the operation 40 of executive logging and the example of the operation 50 of upgrading defect information and defect management information to describe with reference to Figure 13 by writing afterwards.
Figure 13 is the reference diagram that is used to explain the processing of defect management according to an aspect of the present invention.Here, data processing unit can be divided into the sector and bunch.The sector is the minimum data unit that can manage by the file system or the application program of computing machine.Bunch be the minimum data unit that at every turn can physically be recorded in the dish.Usually, at least one sector is formed one bunch.
The sector comprises physical sector and logic sector.Physical sector is the space of the dish that is recorded with the corresponding data in sector therein.Be used to find the address of physical sector to be called physical sector number (PSN).Logic sector is the sector location that is used at file system or application program management data.Similarly, logic sector number (LSN) is assigned to logic sector.For example show among Figure 11 with data recording to the dish or from the dish reading of data data recording/reproducing apparatus, by using PSN to find the position that data will be recorded or reproduce on dish, yet, being used for record or reproduction data computing machine or application program is the unit management total data with the logic sector, and by using LSN to find the position of data.By using whether produce the fact of defective and the position that data recording begins, the contact between LSN and the PSN is converted.
With reference to Figure 13, user data area and spare area are shown.In user data area and spare area, a plurality of PSN are arranged by the physical sector (not shown) of sequentially distributing to it.LSN is assigned at least one physical sector unit.Yet except the defect area of the user data area that produces defective therein, LSN is assigned to the replacement district of spare area.As a result, though physical sector is identical with logic sector in size, if produce defect area, PSN and LSN dissimilate so.
According to sequential recordng mode or recorded at random pattern, user data is recorded in the user data area.Under sequential recordng mode, user data is by record sequentially and continuously.Under the recorded at random pattern, user data does not need by record continuously, but by record randomly.(1) writes the cellular zone that the back proof procedure is performed therein to (7) indication.Data recording and/or reproducer record the user data in the cellular zone (1), and starting position and checking user data that data recording and/or reproducer return cellular zone (1) still are the generation defective by normally writing down.If produce bunch being found of defective therein, this bunch is identified as defect cluster and is designated as defect area (that is defective #1) so.In addition, data recording and/or reproducer rewrite the data that have been recorded among the defective #1 in the spare area.The part of the spare area that is rewritten of user data is designated as and replaces #1 therein.Next, in recording the user data in cellular zone (2) after, data recording and/or reproducer return cellular zone (2) the starting position and the checking user data by normally the record still be the generation defective.If at least one produces bunch being found of defective therein, this bunch is designated as defective #2 so.With with above same mode, to replace #2 accordingly designated with defective #2.In addition, in cellular zone (3), defect area (that is defective #3) and with defective #3 to replace #3 accordingly designated.In cellular zone (4), do not find to produce the part of defective, and do not have defect area.
After the record and checking finished cellular zone (4), if expectation (for example stops recording operation #1, if the record that the user presses ejector button or distributes to the user data of recording operation #1 is done), so data recording and/or reproducer will defective #1 that cellular zone (1) produces in the cellular zone (4) be recorded in to the positional information of defective #3 TDFL temporary defect information (that is, TDFL#1) in.In addition, the management information that is used for the management of TDFL#1 is recorded in TDMA as TDDS#1.
In case recording operation #1 begins, data are to be stored in (5) to (7) to the identical mode of cellular zone (4) with cellular zone (1) so.Therefore, defective #4 and defective #5 and its corresponding replacement #4 and replacement #5 are designated.Defective #1, #2, #3 and #4 are single defect block, its each comprise a defective.Defective #5 is the continuous defect piece, and its continuous piece comprises defective.Replacing #5 is the continuous replace block of replacing defective #5.Piece is physics or logical record unit and can changes.If recording operation #1 is finished in expectation, the recording unit record comprises that temporary defect information #2 about the information of defective #4 and defective #5 (that is, TDFL#2), and is recorded in the information of cumulative record among the temporary defect information #1 so.Similarly, the defect management information that is used for the management of TDFL#2 is recorded in TDMA as TDDS#2.
With reference to Figure 12 A, in operation 60, when spare area deficiency and spare area need extended or user data area is not enough and spare area need be reduced the time, system controller 28 determines whether to change the spare area size.If system controller 28 determines to change the spare area size, in operation 70, the information of reinitializing is recorded in the dish 22 and handles and forwards operation 40 to so.In other words, the size information of the change of spare area is included among the TDDS and TDDS is recorded among the TDMA.
Next, system controller 28 determines whether that dish 22 is reinitialized to DM closes pattern (operation 80).If system controller 28 determines to reinitialize dish 22, in operation 81, the information of reinitializing is recorded in the dish 22 and handles and forwards the A that shows among Figure 12 E to so.Be reinitialized DM as fruit tray 22 and close pattern, the DM on-mode that is provided with in TDDS so is converted into DM and closes pattern upgrading TDDS, and for the compatibility of rewritable media, the TDDS of final updated and TDFL are recorded among the DMA in TDMA.
Next, system controller 28 determines whether the final dish 22 (operation 90) of determining.If system controller 28 determines finally not determine dish 22, processing forwards operation 40 to and is performed by writing back checking process record so.If system controller 28 is determined the final dish of determining, system controller 28 will determine finally that information is recorded in (operation 100) in the dish so.
The operation 100 of the final definite information of record is described with reference to Figure 12 D in dish.In operation 101, system controller 28 determines that finally sign is set to " 1 " in TDDS or SBM, and in operation 102, system controller 28 is recorded in particular value in whole remaining areas of the SBM that is not written into.According to the embodiment that shows, particular value can be recorded in the whole remaining areas of the TDMA that is not written into.In operation 103, the TDDS and the TDFL that are recorded in the final updated among the TDMA fill DMA.
Next, the operation when selecting DM to close pattern is described with reference to Figure 12 E.In operation 110, system controller 28 controlling recording/reading unit 21 is not recorded in data in the dish 22 under having the situation of defect management.In operation 120, system controller 28 upgrades TDMA.Because defect management is not performed, so the renewal in TDMA mainly is TDDS and SDM.In operation 130, system controller 28 determines whether the final dish 22 of determining.
If system controller 28 is determined the final dish 22 of determining, determine that so finally information is recorded in (operation 140) among the DMA.Final definite recording of information is identical with above description with reference to Figure 12 D elaboration in operation 140, and no longer sets forth.If system controller 28 determines finally not determine dish 22, handle forwarding operation 110 to so, and record is performed under the situation of defect management not having.
As mentioned above, according to an aspect of the present invention, recording medium can optionally be used, and according to this selection defect management is carried out or do not carried out to recording medium.In addition, even in to recording medium execution defect management, after the service recorder medium, can not have to use this recording medium under the situation of defect management yet.In addition, recording medium can use with rewritable media compatiblely.In addition, recording medium can be CD-R, DVD-R, Blu-ray disc, Advanced Optical Disc (AOD), rewritable media, magnetic medium and/or a magnet-optical medium of carrying out defect management.
Described recording/reproducing method can be implemented as the computer-readable code in the computer readable recording medium storing program for performing.Computer readable recording medium storing program for performing comprises the various recording units that can be stored in by the data of computer system reads wherein.Such computer readable recording medium storing program for performing is ROM, RAM, CD-ROM, tape, floppy disk and optical data memories, and through the transmission of internet (for example, carrier wave).Computer readable recording medium storing program for performing can be distributed in the computer system that is connected to network, and can be stored according to the form of computer-readable code and operate.The function program, code and the code segment that are used to realize described recording/reproducing method can easily be explained by this area programming technique personnel.
Although specifically represented and described embodiments of the invention with reference to its exemplary embodiment, but it should be understood by one skilled in the art that, under the situation that does not break away from the spirit and scope of the present invention that limit by claims and equivalent thereof, can carry out in form and the various changes on the details it.