CN101006511A - Drive device - Google Patents

Drive device Download PDF

Info

Publication number
CN101006511A
CN101006511A CN 200580027822 CN200580027822A CN101006511A CN 101006511 A CN101006511 A CN 101006511A CN 200580027822 CN200580027822 CN 200580027822 CN 200580027822 A CN200580027822 A CN 200580027822A CN 101006511 A CN101006511 A CN 101006511A
Authority
CN
China
Prior art keywords
data
record
information
mentioned
management information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200580027822
Other languages
Chinese (zh)
Inventor
中村正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of CN101006511A publication Critical patent/CN101006511A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Optical Recording Or Reproduction (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

A drive apparatus of the present invention includes a recording/reproduction section and a drive control section. The drive control section at least performs a process including: performing an RMW process of reproducing data recorded in an original ECC cluster including the location specified by the recording instruction, modifying at least a portion of the reproduced data, and recording the modified data in a replacement ECC cluster; determining whether or not there is any physical sector, in which the reproduction of data has failed, in the original ECC cluster in the RMW process; and setting status information value in status information of replacement management information when it is determined that there is any physical sector, in which the reproduction of data has failed, in the original ECC cluster in the RMW process, the status information value indicating that there is any physical sector, in which the reproduction of data has failed, in the original ECC cluster, the status information indicating that the original ECC cluster is replaced with the replacement ECC cluster.

Description

Drive unit
Technical field
The present invention relates to a kind of in information recording carrier record data and drive unit that the data that write down in the information recording carrier are regenerated.
Background technology
In recent years, in the record of numerical data, use various forms of information recording carriers, though the erasable type CD that can repeat rewrite data is wherein arranged and only allows record 1 time but cheap additional record type (write-once the claims disposable recording again) CD of medium.
With this erasable type CD is example, comprising DVD-RAM dish, BD-RE (Blu-ray Disc Rewritable: dish etc. erasable Blu-ray Disc).
In addition, be example with additional record type CD, comprising DVD-R dish, BD-R (Blu-ray Disc Recordable: can write down Blu-ray Disc) dish etc.
In order to improve the reliability of the data that write down on the disc, imported mechanisms of defect management in the erasable type CD.
Mechanisms of defect management is made of slide displacement (slipping replacement) algorithm and linear orthomorphism (linear replacement) algorithm substantially.
The slip replacement algorithm is mainly implemented when the format disc.That is, when formaing processing, check whole ECC bunches (cluster) in the user data area, in case discovery defect cluster, just its position is signed in to major defects tabulation (hereinafter referred to as PDL), the Logic Cluster of correspondence is displaced to the physical cluster of next non-defective, tackled.
Thus, when user data, carry out record, can improve the reliability of data recording with regard to the defect cluster of having avoided logining among the PDL.
On the other hand, linear replacement algorithm is implemented when user data.
That is, when record data, carry out checking treatment this record result is confirmed.If the record failure, ECC bunch that has then carried out record becomes defect cluster, and (hereinafter referred to as SDL) manages its position by secondary defect list.
In addition, user data is replaced recording in the replacement district that interior week on disc or most peripheral be provided with.
In replacing record, also carry out above-mentioned checking treatment.Writing down successful words data recording position can determine, therefore, generate the SDL item this moment, signs in among the above-mentioned SDL, and this SDL item is the information that the positional information of defect cluster and ECC bunch the positional information that replaces the destination are mapped.
In addition, at replacing whole ECC bunches of comprising in the district SDL item is set sometimes, to each ECC bunch be can as replace promptly be at present the free area or as an alternative an item situation of finishing using manage.Free area in this replacement district is also referred to as spare cluster.
During regeneration, with reference to PDL or SDL, as required to replacing ECC bunch of item to regenerate.
In the defect management that is provided with in above-mentioned PDL or the sdl logging Lead-In Area on disc (being called DMA later on).In addition the information that also comprises the capacity of replacing the district etc. among the DMA.
Under the situation of erasable type CD, the renewal of the information relevant with defect management is undertaken by rewriting DMA.
In addition, in additional record type CD, for example also can import mechanisms of defect management shown in the patent documentation 1.
The data structure of disc has been described among the accompanying drawing 3A of patent documentation 1.In the disc of patent documentation 1, DMA is arranged in Lead-In Area and the leading-out zone.
And then temporary defect management area (TDMA) is arranged in Lead-In Area and the leading-out zone.
Under the situation of additional record type CD, the renewal of the information relevant with defect management is undertaken by append defect information to TDMA when upgrading defect information at every turn.
In addition, closing or during termination (finalize) disc, with the content record of up-to-date TDMA in DMA.
Record temporary defect management information (Temporary defect managementinformation is called TDDS later on) and temporary defect information (Temporary DefectInformation is called TDFL later on) among the TDMA.
The data structure of having represented TDDS among the accompanying drawing 5B in the patent documentation 1.TDDS comprises the pointer information that points to corresponding TDFL.TDFL has write down in TDMA repeatedly, and therefore, pointer information is also to each TDFL record in addition.
And then, write down the final entry address (lastrecorded address) on the additional record type CD among the TDDS.Shown in the accompanying drawing 5B of patent documentation 1,1 additional record type CD can keep a plurality of final entries address.
In addition, the final entry that has write down among the TDDS on the additional record type CD is replaced address (lastrecorded replacement address).Shown in the accompanying drawing 5B of patent documentation 1,1 disc can keep a plurality of final entries to replace the address.
The data structure of having represented TDFL in the accompanying drawing 6 of patent documentation 1.
Comprise defective related information (information regarding defect) #1, #2 etc. among the TDFL.
The defective related information comprises status information (state information), point to the pointer of defect cluster, point to the pointer that replaces bunch.
The defective related information have with above-mentioned SDL in the same data structure of the SDL item that comprises and bring into play same function.
Figure 33 A and Figure 33 B represent the update method of the accompanying drawing 9A and the disclosed TDFL of accompanying drawing 9B of patent documentation 1.
Figure 33 A represents the data structure of TDFL#0.TDFL#0 comprises defective related information #1, #2, the #3 for defective #1, #2, #3.
After supposing that TDFL#0 is recorded, in additional record type CD, carry out new data recording, produced defective #4, #5.At this moment, the TDFL#1 shown in Figure 33 B is recorded on the additional record type CD.
Here, TDFL#1 generates by whole defective related information #4, the #5 that keep and newly append for defective #4, #5 of the defect management information that will comprise among the TDFL#0.
The data structure of having represented the defective related information in the accompanying drawing 10 of patent documentation 1.
The defective related information comprises status information.Status information comprises and is used for representing that defect area is the continuous defect piece (continuous defect block) or the information of independent defect block (single defectblock).
And then the defective related information comprises the pointer (position of defect area on disc) that points to defect area.
And then the defective related information comprises the pointer that points to the corresponding replacement of defect area district.
When defect area is a continuous defective when determining sequence, the pointer that status information represents to point to defect area is the beginning or the end position of continuous defect piece.In addition, also beginning or end positions that the pointer that replaces the district is these replacement pieces are pointed in expression.
By utilizing these data structures in additional record type CD, to realize mechanisms of defect management.
And then, when using above-mentioned mechanisms of defect management, also can in additional record type CD, realize pseudo-(pseudo-overwrite) record that rewrites.
The pseudo-regenerative recording that uses Figure 31 and Figure 32 explanation in additional record type information recording carrier, to carry out.
In above-mentioned mechanisms of defect management, by means of defective related information or the such replacement information of SDL item, can not change on data recording apparent logical address and with the physical address map (mapping) of physical record data to keeping other places of getting up in advance.
Therefore, if send indication has had record on additional record type CD logical address overwriting data, as long as then with in the sector (sector) of this data recording to other physical address and upgrade replacement information to keep original logical address, just can be from the apparent state of realizing the data rewrite record.Later on this recording method is called pseudo-regenerative recording.
Figure 31 is the figure that has write down the state behind several catalogues and the file in the information recording carrier 1 that is illustrated in as additional record type CD.In addition, under this state, do not carry out pseudo-regenerative recording as yet.
In additional record type CD, be user data area on the unit management disc with track (track) and section (session).
Among Figure 31, the management of the user data that writes down on the user data area realizes by means of file system.The space that file system is managed is called volume space 2.
In addition, in the following description, short of write up especially is as the volume/file structure of configuration file system and be recorded in descriptor in the information recording carrier 1 or structure of pointer, metadata (meta data) subregion or meta data file etc. and all have ISO/IEC13346 standard or UDF (Universal Disk Format: the universal disc format) data structure of prescribed by standard.
Among Figure 31, record volume structure district 3 and Physical Extents 4 in the volume space 2.
The metadata partition 5a, the 5b that comprise UDF Standard Edition 2.5 defineds in the Physical Extents 4.
In addition, record meta data file 6a and in the Physical Extents 4 as the metadata image file 6b of its copy.
In addition, the file item (FE) of representing the record position in these Physical Extents 4 is that FE (meta data file) 7a and FE (metadata image file) 7b also go on record.In addition, also record data file (File-a) 8, data file (File-b) 9.
It is in the meta data file that document structure information such as FE or catalogue file all is configured in metadata partition.
In the data structure of UDF prescribed by standard, in volume structure district 3, record the record position of metadata partition 5a and set of file descriptor (FSD) 12.
As the starting point of FSD12, can begin retrieving files structure successively from the ROOT catalogue, for example visit (access) data file (File-a) 8.
Then, when under the state at Figure 31 during new pseudo-overwriting data file (File-c), just become state shown in Figure 32.
Here, tentation data file (File-c) is recorded under the ROOT catalogue on the information recording carrier 1.
When recording data files (File-c), upgrade and the required document structure information of generation supplemental data file (File-c).Specifically be the renewal of FE (ROOT) 13 or the generation of FE (File-c) 14.
In addition, data file (File-c) 15 is recorded to the not recording areas of Figure 31, becomes the state of Figure 32.
When FE (File-c) 14 went on record, FE (File-c) 14 was recorded to the not recording areas 11a among the metadata partition 5a (being meta data file 6a).
Then, FE (ROOT) 16 by pseudo-regenerative recording to FE (ROOT) 13.
At this moment, shown in figure 32, the data of FE (ROOT) 16 are recorded to replaces district 17.
And then, upgrade the replacement information that comprises in the disc management information 2, FE (ROOT) 13 is mapped to FE (ROOT) 16.
After having carried out such file logging processing, the action of playback of data file (File-c) 15 becomes as follows.
Obtain the positional information of FE (meta data file) 7a and FSD12 from the volume structure district 3 of information recording carrier 1.
Then, carry out the regeneration of file structure.For the file structure of regenerating,, carry out the regeneration of FSD12 based on the positional information of acquired FE (meta data file) 7a and FSD12.
Obtain the positional information of FE (ROOT) 13 as logical address from the FSD12 of regeneration.
Based on the positional information (logical address) of obtained FE (ROOT) 13, carry out the regeneration of FE (ROOT) 13.
At this moment, with reference to replacement information, regeneration is mapped to the FE (ROOT) 16 of the positional information (logical address) of FE (ROOT) 13.
FE (ROOT) 16 comprises up-to-date ROOT catalogue file, thereby has the positional information of sensing FE (File-c) 14.
In addition, utilize the positional information of the data file (File-c) 15 that obtains from FE (File-c) 14, playback of data file (File-c) 15.
In additional record type CD, also can carry out pseudo-regenerative recording as mentioned above by using mechanisms of defect management.
Patent documentation 1: No. 2004/0076096 instructions of U.S. Patent Application Publication
But the problem that exists in the pseudo-regenerative recording mode of above-mentioned illustrated additional record type CD is: in case the not recording areas of replacing in the district runs out, even then residual in the user data area have a not recording areas, also can't proceed data recording.Reason is, can't the updating file system information.
Particularly, additional record type CD is different from replaces the erasable type CD that district's capacity can be expanded when needed, and it is just definite when disc formatsization (initialization).
In addition, very difficult consideration is carried out pseudo-regenerative recording and is determined suitable replacement district capacity in advance.
If pre-determined replacement district capacity is excessive, then the user data area capacity reduces, even too smallly the residual situation that has recording areas not also can't continue record data in the user data area then can occur.Which kind of situation no matter all can not effectively utilize the user data area of additional record type CD.
Summary of the invention
The present invention is used to address the above problem, and its purpose is to provide a kind of drive unit that can not utilize user data area in the pseudo-regenerative recording of additional record type CD lavishly.
Drive unit of the present invention carries out order (sequential) record to additional record type recording medium, wherein, above-mentioned additional record type recording medium comprises a plurality of ECC bunches, above-mentioned a plurality of ECC bunch comprises a plurality of physical sectors respectively, above-mentioned drive unit comprises: record regenerating portion, carry out operation of recording or regeneration action to above-mentioned additional record type recording medium; And drive control part, control above-mentioned record regenerating portion, wherein, above-mentioned drive control part is carried out following action at least: accept to specify the data that will write down at least and will write down the record indication of the position of above-mentioned data; Carrying out RMW handles, it is to regenerate to comprising by the recorded data that is replaced in an ECC bunch of above-mentioned record indication appointed positions that this RMW handles, revise at least a portion of the data after the above-mentioned regeneration, and with above-mentioned revised data recording in replace ECC bunch; In above-mentioned RMW handles, determine at the above-mentioned physical sector that whether has the data reproduction failure in an ECC bunch that is replaced; And when in above-mentioned RMW handles, being defined as under the above-mentioned situation that is replaced the physical sector that has the data reproduction failure in an ECC bunch, in the above-mentioned status information that is replaced an ECC bunch of alternative management information that is replaced by ECC bunch of above-mentioned replacement item of expression, set the above-mentioned state information value that is replaced the physical sector that has the data reproduction failure in an ECC bunch of expression.
Another drive unit of the present invention is regenerated to the data that are recorded in the additional record type recording medium, wherein, above-mentioned additional record type recording medium comprises a plurality of ECC bunches, above-mentioned a plurality of ECC bunch comprises a plurality of physical sectors respectively, in above-mentioned a plurality of ECC bunches, record the front position information of replacing respectively, in the data recording of carrying out according to the record indication is under the situation of additional record, in the information of above-mentioned replacement front position, be set with the information that record is replaced in expression, in the data recording of carrying out according to above-mentioned record indication is under the situation of the 1st pseudo-regenerative recording, in the information of above-mentioned replacement front position, be set with the information of expression by above-mentioned record indication appointed positions, in the data recording of carrying out according to above-mentioned record indication is under the situation of the 2nd later pseudo-regenerative recording, in the information of above-mentioned replacement front position, be set with the information of expression by the replacement item of above-mentioned record indication appointed positions, above-mentioned drive unit comprises: record regenerating portion, carry out operation of recording or regeneration action to above-mentioned additional record type recording medium; And drive control part, control above-mentioned record regenerating portion, wherein, above-mentioned drive control part is carried out following action at least: accept to specify at least the regeneration indication of the position of the data that will regenerate; Determine whether in the status information of alternative management information, to be set with state information value, the status information of this alternative management information represents that (original) ECC bunch that be replaced who comprises by the specified position of above-mentioned regeneration indication is replaced by replacement (replacement) ECC bunch, and this state information value is illustrated in the above-mentioned physical sector that has the data reproduction failure in an ECC bunch that is replaced; And in the status information that is defined as in above-mentioned alternative management information, be set with under the situation that is illustrated in the above-mentioned state information value that is replaced the physical sector that has data reproduction failure in an ECC bunch, control above-mentioned record regenerating portion so that the data of record in following such ECC bunch are regenerated, wherein this ECC bunch be in by with ECC bunch of corresponding above-mentioned ECC bunch of being replaced the represented position of a positional information of above-mentioned replacement item.
By means of the present invention, can provide a kind of drive unit that in the pseudo-regenerative recording of additional record type CD, can not utilize user data area lavishly.
Description of drawings
Figure 1A is the figure of an example of the outward appearance of information recording carrier 100 in the expression embodiments of the present invention.
Figure 1B is the figure of an example of the data structure of information recording carrier 100 in the expression embodiments of the present invention.
Fig. 1 C is the figure of an example of the data structure of the user data area 108 of expression shown in Figure 1B.
Fig. 2 A is the figure of an example of the data structure of section management information 200 in the expression embodiments of the present invention.
Fig. 2 B is the figure of an example of the data structure of expression embodiments of the present invention middle orbit management information 210.
Fig. 2 C is the figure of an example of the data structure of free area management information 220 in the expression embodiments of the present invention.
Fig. 3 is the figure of an example of the data structure of disc structure information 1100 in the expression embodiments of the present invention.
Fig. 4 is the figure of an example of the data structure of another information recording carrier 100b in the expression embodiments of the present invention.
Fig. 5 A is the figure of an example of the data structure of alternative management information tabulation 1000 in the expression embodiments of the present invention.
Fig. 5 B is the figure of an example of the data structure of alternative management information 1010 in the expression embodiments of the present invention.
Fig. 6 is the block diagram of an example of the structure of information recording/reproducing apparatus 300 in the expression embodiments of the present invention.
Fig. 7 is the figure of an example of the data structure on the information recording carrier after the format processing in the expression embodiments of the present invention.
Fig. 8 A is the process flow diagram of recording processing in the expression embodiments of the present invention.
Fig. 8 B is the process flow diagram that RMW handles in the expression embodiments of the present invention.
Fig. 9 is the figure of an example of the data structure on the information recording carrier after the recording processing in the expression embodiments of the present invention.
Figure 10 is the process flow diagram of Regeneration Treatment in the expression embodiments of the present invention.
Figure 11 is the figure of an example of the data structure of alternative management information 1010B in the expression embodiments of the present invention.
Figure 12 is the figure of an example of the data structure of physical address space and logical address space in the expression embodiments of the present invention.
Figure 13 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 13 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 14 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 14 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 15 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 15 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 16 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 16 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 17 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 17 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 18 is that alternative management information is the figure of an example of the data structure of DFL entry2010 in the expression embodiments of the present invention.
Figure 19 A is the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 19 B is the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 20 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 20 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 21 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 21 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 22 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 22 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 23 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 23 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 24 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 24 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 25 is the exemplary plot of the data structure of embodiments of the present invention middle orbit management information.
Figure 26 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 26 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 27 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 28 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 29 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 30 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 31 is the figure of an example of the data structure on the information recording carrier in the expression prior art.
Figure 32 is the figure of an example of the data structure on the information recording carrier after the file recording processing in the expression prior art.
Figure 33 A is the figure of an example of the data structure of TDFL in the expression prior art.
Figure 33 B is the figure of an example of the data structure of TDFL in the expression prior art.
Figure 34 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 35 is the key diagram about alternative management information in the embodiments of the present invention.
Figure 36 A is the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 36 B is the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 36 C is the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 37 is the process flow diagram of Regeneration Treatment in the expression embodiments of the present invention.
Figure 38 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 39 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 39 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 40 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 41 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 42 is the figure of an example of the data structure of expression embodiments of the present invention middle orbit management information 9210.
Figure 43 is the key diagram that distributes about the track on the information recording carrier in the embodiments of the present invention.
Figure 44 is the key diagram that distributes about the track on the information recording carrier in the embodiments of the present invention.
Figure 45 is the key diagram that distributes about the track on the information recording carrier in the embodiments of the present invention.
Figure 46 is the key diagram that distributes about the track on the information recording carrier in the embodiments of the present invention.
Symbol description
100,100b information recording carrier
101 Lead-In Areas
102,102a data field
103 leading-out zones
103b, 103c perimeter region
104,104a, 105,105a disc management information area
106, week is replaced the district in the 106a
107, the 107a periphery is replaced the district
108,108a user data area
109 volume spaces
122 recording areas not
120、121?LRA
210 track management information
211 section start informations
212 track start position informations
Final data record position information (LRA) in 213 tracks
300 information recording/reproducing apparatus
301 systems control divisions
302 memory circuitries
The 303I/O bus
304 disk sets
310 drive units
311 drive control parts
312 memory circuitries
313 internal buss
314 record regenerating portions
410 volume structure districts
600?800AVDP
601 logical volume descriptors
602 divide figure (partition map) (type 2)
440 meta data files
450 metadata image files
500 view data
510,511,512,513 error-zone
520,521,522 repair datas
The tabulation of 1000 alternative management information
1010 alternative management information
1011 status informations
1012 are replaced a positional information
1013 replace a positional information
1100 disc structure information
1103 user data area start position informations
1104 user data area end position information
1105 replace district's information
Embodiment
Below, on one side with reference to accompanying drawing, embodiments of the present invention are described on one side.
(embodiment 1)
1-1. additional record type recording medium
Figure 1A represents the outward appearance of the information recording carrier 100 in the embodiments of the present invention.
Interior week at information recording carrier 100 is disposed Lead-In Area 101.Most peripheral at information recording carrier 100 disposes leading-out zone 103.Between the Lead-In Area 101 of information recording carrier 100 and leading-out zone 103, dispose data field 102.
When recording the optical pickup apparatus visit information recording medium 100 that comprises in the record regenerating portion 314 that is described below in the Lead-In Area 101 required reference information or with identifying information of other recording mediums etc.Also record in the leading-out zone 103 with Lead-In Area 101 in the identical information of information that write down.
Lead-In Area 101, data field 102 and leading-out zone 103 a plurality of physical sectors have been distributed.Each physical sector is minimum visit unit.Each physical sector is discerned by the such address information of physical sector number (being called PSN later on).
ECC bunch (or the ECC piece) that will comprise a plurality of physical sectors carries out data recording and regeneration as least unit.
Figure 1B represents the data structure of information recording carrier 100.Among Figure 1B, represent with landscape configuration being expressed as the Lead-In Area 101, data field 102 of concentric circles and leading-out zone 103 among Figure 1A.
Lead-In Area 101 comprises disc management information area 104, and leading-out zone 103 comprises disc management information area 105.
Difference record disc management information in the disc management information area 104,105.Disc management information is included in alternative management information tabulation described later, section management information, free area management information etc.Disc management information area 104,105 is used as needed zone when upgrading disc management information.The required zone of this renewal is also referred to as interim disc management information area.
In addition, when applying the present invention to the BD-R standard, term in this instructions " disc management information area " should be used wording instead and be " disc directorial area ", term in this instructions " interim disc management information area " should be used wording instead and be " interim disc directorial area ", term in this instructions " disc management information " should be used wording instead and be " disc management structure ", and the term in this instructions " interim disc management information " should be used wording instead and be " interim disc management structure ".
Replace district 106, user data area 108 and periphery in data field 102 comprises week and replace district 107.
User data area 108 is zones of the required use of user data.
Fig. 1 C represents the data structure of user data area 108.
User data area 108 comprises a plurality of sections.Each section comprises many tracks.
Each track is the continuum on the information recording carrier 100.Each track manages by the track management information that is described below.
In addition, when applying the present invention to the BD-R standard, the term in this instructions " track " should be used wording instead and be " journal district (SRR) ".
Each section comprises many tracks that dispose continuously on the information recording carrier 100.Each section manages by the section management information that is described below.
Fig. 2 A represents to be used for to manage the data structure of the section management information 200 of section.Section management information 200 is included in the disc management information.
Section management information 200 comprises sector head (header) information 201 and a plurality of track management information.
Sector head information 201 has the general information such as number of the track management information of representing among the identifier of section management information 200 or Fig. 2 B 210.
Track management information #N has and the track #N information corresponding shown in Fig. 1 C.Here, N is the integer more than or equal to 1.
Fig. 2 B represents to be used for to manage the data structure of the track management information 210 of track.Track management information 210 is included in the disc management information.
Track management information 210 comprises: section start information 211 is used for representing whether track is the beginning track of section; Track start position information 212 is used for representing the starting position of track; And final data record position information (being called LRA later on) 213 in the track, be used for representing the interior position of record data at last of track.
If the track that certain track management information 210 is managed is positioned at the beginning of section, represent that then the value (for example " 1 ") that this track is arranged in section beginning is set to section start information 211.In addition, in section start information 211, set different values (for example " 0 ").
Track start position information 212 comprises the physical address of the starting position of representing track.
Final data record position information 213 comprises the physical address that is used for representing having write down in the track final position of valid data in the track.The user data that for example provides from host apparatus 305 is provided valid data.LRA120 shown in Fig. 1 C or LRA121 are examples of final data record position information 213 in the track.
In addition, when applying the present invention to the BD-R standard, the term in this instructions " track management information " should be used wording instead and be " journal district item ", and the term in this instructions " section management information " should be used wording instead and be " journal district information ".
In addition, information recording carrier 100 with ECC bunch be least unit when carrying out data recording, final data record position information 213 is not limited to indicate ECC bunch border in the track.This is because in general, the data capacity of record indication defined can not be the integral multiple of ECC bunch capacity.At this moment, LRA213 represents to write down the last physical sector address that the data of indication defined are recorded.
In addition, when LRA213 and ECC bunch of border were inconsistent, and then the data recording of record indication defined was filled (padding) data, up to ECC bunch of border.
In the present embodiment, can be by the track record data.New data recording is carried out from each track beginning, and in orbit, data are by configuration (journal) continuously.Carry out data recording in this track, the position of last record is reflected in the interior final data record position information 213 of track in this track.
When in this track, writing down once more,, just can know next record starting position in this track by checking the value of final data record position information 213 in the up-to-date track.
In addition, when after having distributed track, and then in this track, not having data recording fully, also set the setting (for example " 0 ") of representing this state in the final data record position information 213 in orbit.
But record position next time (being called NWA later on) expression is by the position of the next physical sector of the physical sector shown in the final data record position information 213 in the track.Perhaps, when information recording carrier 100 is a least unit when carrying out data recording with certain ECC bunch, NWA represents to comprise ECC bunch next ECC bunch beginning position by the physical sector shown in the final data record position information 213 in the track.
If represent, be (formula 1) with formula.
(formula 1)
(a) LRA ≠ 0 o'clock,
NWA=N×(Floor(LRA/N)+1)
The physical sector number that comprises in N:ECC bunch (for example, N=32)
(b) during LRA=0
NWA=(starting position of respective rail)
Wherein, Floor (x) expression is smaller or equal to the max-int of x.
In the explanation afterwards, suppose that NWA represents ECC bunch beginning position.
The track that is in the state of recorded data is called open tracks (open track).
The orbital number of open tracks is included in the sector head information 201 in the section management information 200 shown in Fig. 2 A (for example, the 1st open tracks numbering the 203, the 2nd open tracks numbering 204 etc.).
On the other hand, the track of non-open tracks is called closed orbit (closed track).
For example, there is not the track of recording areas not or become closed orbit by the track of user's indication.
Different with open tracks, the orbital number of closed orbit is not kept in the sector head information 210 in the section management information 200.
Forbid record data in closed orbit.
By checking final data record position information 213 in the track in open tracks numbering and the track management information 210, just can know the not recording areas on the information recording carrier 100.
In addition, when applying the present invention to the BD-R standard, open tracks is represented open SRR.In addition, closed orbit represents to seal SRR.
In addition, in additional record type information recording carrier 100, also can finish by management accounts ECC bunch, thus the optional position on information recording carrier (physical address) record data are promptly realized a kind of recorded at random.
In order to realize this recorded at random, must manage free area on the information recording carrier 100 and final data record position.
In the present embodiment, utilize the disc management information of record in free area management information 220 shown in Fig. 2 C and the disc management information area 104,105, realize this management.
When carrying out recorded at random, the free area management information 220 in the disc management information area 104 shown in the record diagram 2C.
Fig. 2 C represents the data structure of free area information 220.Free area information 220 comprises sector head information 221, management object district information 222 and free area information 223.
Sector head information 221 has the general information such as identifier of free area management information 220.
Management object district information 222 comprises the information that is used for specifying the zone in the user data area 108, and the zone in this user data area 108 comprises by 220 pairs of free area management information record/record sector that state manages that finishes not.For example, management object district information 222 comprises this regional starting position or length that should the zone.
Free area information 223 comprises each ECC bunch of being used for representing comprising in the management object zone and does not write down or write down the information that finishes.For example, to each ECC bunch of data of distributing each 1 bit, if corresponding ECC bunch of record then be set at for example " 0 " as yet if record finishes then is set at for example " 1 ", thus, can be realized the management to whole ECC bunches idle condition of target area.
The disc management information of record comprises disc structure information 1100 shown in Figure 3 in the disc management information area 104.Disc structure information 1100 comprises final data record position information 1107.Final data record position information 1107 comprises the physical address that has write down the position of data in the expression user data area 108 at last.
Disc structure information 1100 also comprises: general information 1101 is whole relevant with disc structure information 1100; Alternative management information list placement information 1102 is represented the up-to-date positional information of alternative management information tabulation 1000 in disc management information area 104,105; User area start position information 1103, the starting position of expression user area 108; User area end position information 1104, the end position of expression user area 108; And replace district's information 1105 and replace district's management information 1108, expression disc management information area information 1107b, replace the zone that district 106, periphery replace the capacity in district 107 or can use when replacing interior week.
By using disc management information area information 1107b, can be at the capacity of each information recording carrier change disc management information area.And then, by using disc management information area information 1107b, replace the capacity that district 106 or periphery are replaced above-mentioned interim disc management information area in the district 107 in can changing week.
By using the district's information 1105 of replacing, can replace the capacity in district at each information recording carrier change.For example, the capacity that also can be replaced district 106 or periphery replacement district 107 interior week is appointed as 0.
Replacement district management information 1108 comprises the next available position information that all replacements district 106, periphery are replaced next available position in the district 107 in the expression.
Replace in the district at each, similarly carry out journal with track.Next available position information performance during each is replaced and distinguishes and the NWA identical functions in the track begin from the position shown in the next available position information to carry out in proper order to replacing the new data records of being done in the district.
Disc structure information 1100 also comprises: section management information positional information 1109, represent the positional information of up-to-date section management information 200 in disc management information area 104,105; Free area management information positional information 1110 is represented the positional information of up-to-date free area management information 220 in disc management information area 104,105.
As mentioned above, use the idle condition of in section management information 200 or the free area management information 220 any one physical sector on can management information recording medium 100.Thus, also can select use in section management information 200 or the free area management information 220 any one according to purposes.Perhaps, also can use both simultaneously.This information relevant with the free area way to manage is included in the record kind of information 1106 of disc structure information 1100.
In addition, disc management information area 105 for the reliability that improves information recording carrier 100 to disc management information area 104 in the disc management information of record when carrying out duplicated record or upgrading disc management information etc., be used expansion area under the situation under in disc management information area 104, preserving not, therefore omit its detailed description later on.In addition, for replacing processing too such as distinguishing the medium interim disc management information that writes down.
In the example shown in Fig. 1 C, the management of the user data of record is carried out by means of file system on the user data area 108.The space that file system is managed is called volume space 109.
Volume space a plurality of logic sectors have been distributed.Each logic sector is discerned by the such address information of logical sector number (being called LSN later on).
In addition, in the following description, short of write up especially is as the volume/file structure of configuration file system and the descriptor or pointer, metadata partition or the meta data file etc. that are recorded in the information recording carrier 100 all have ISO/IEC13346 standard or UDF (Universal Disk Format: the universal disc format) data structure of prescribed by standard.Certainly, also can use other file system.
In addition, though the information recording carrier 100 shown in Figure 1A~Fig. 1 C is to describe as the medium with 1 recording layer, also can be information recording carrier with 2 above recording layers.
Fig. 4 represents to have the data structure of the information recording carrier 100b of 2 recording layers.
In Fig. 4, L0 represents the 1st layer, and L1 represents the 2nd layer.Layers 1 and 2 has the structure roughly the same with information recording carrier 100 respectively.That is, Lead-In Area 101 is arranged on interior all sides of the 1st layer, and leading-out zone 103a is arranged on the 2nd layer interior week.And then, be provided with perimeter region 103b at the 1st layer most peripheral, be provided with perimeter region 103c at the 2nd layer most peripheral.Lead-In Area 101, perimeter region 103b, leading-out zone 104a, perimeter region 103c comprise disc management information area 104,105,104a, 105a respectively.
In addition, as shown in Figure 4, be provided with and replace district 106,106a, 107,107a.As mentioned above, each is replaced the capacity of distinguishing and can make change at each information recording carrier.In addition, each is replaced in the district the interim disc management information area that appends also can be set.In addition, user data area 108 and 108a are taken as 1 volume space processing in logic with continuous logical address.
As mentioned above, the information recording carrier with a plurality of recording layers can be used as the information recording carrier that logically has 1 recording layer handles.After, though describe at the information recording carrier with 1 recording layer, these explanations also are applicable to the information recording carrier with a plurality of recording layers.Therefore, the information recording carrier with a plurality of recording layers only suitably is described under the situation that needs specify.
1-2. pseudo-regenerative recording
Below, with reference to Fig. 5 A and Fig. 5 B explanation replacement information.
Replacement information refers to the alternative management information tabulation (perhaps defect list) that comprises alternative management information (perhaps defect list entry), this alternative management information comprise bunch (defect cluster) that occurred defective on the expression information recording carrier the position be replaced the replacement item positional information of position that a positional information and expression are used for replacing the replacement bunch of this defect cluster.
In addition, among the present invention, can in user data area, write down and replace bunch.
And then the present invention utilizes replacement information to be implemented in pseudo-regenerative recording in the additional record type information recording carrier.
Shown in Figure 1B, replace district 106, user data area 108 and periphery in data field 102 comprises week and replace district 107.
In replace district 106 and periphery week and replace at least a portion in the district 107 and be used as data to record on the user data area 108 and replace the zone of writing down.
For example, when having defect cluster on the user data area 108, replace district 106 and periphery in interior week and replace at least a portion in the district 107 and be used as required replacement bunch replaced in record to this defect cluster zone.
Perhaps, replacing district 106 and periphery in interior week replaces at least a portion in the district 107 and also can be used as the required zone of data after upgrading in the record pseudo-regenerative recording described later.
The replacement record that replacement information and replacement district combine is implemented with checking treatment.
Checking treatment is meant after record data these data of regenerating, and the data of recorded data and regeneration are compared, and checks whether data are correctly noted at once.A series of processing like this are called write-verify checking and handle.
When checking treatment is made mistakes, when promptly data are not correctly noted, implement to replace record.That is, defect cluster is replaced by and replaces bunch, during data are recorded to and replace bunch.
In bunch being recorded to, this replacement replaces in week in district 106 (or periphery is replaced district 107) or the user data area 108.
Pseudo-regenerative recording be a kind of do not change on data recording apparent logical address and with the physical address map of physical record data method to other place.
When sending indication when the logical address overwriting data of record having been arranged, the new data of record in ECC bunch on the other physical address different with the physical address of data recording before this rewrites, and will rewrite before ECC bunch and the replacement of having write down new data and bunch map.
Replacement in this pseudo-regenerative recording bunch is recorded to replaces in district or the user data area.
Use the alternative management information tabulation 1000 shown in Fig. 5 A as carrying out the required replacement information of this mapping.
Handle by means of such mapping,, can realize the state that data are rewritten by puppet though in fact data are not rewritten.Later on this recording method is called pseudo-regenerative recording.
Fig. 5 A represents the data structure as the alternative management information tabulation 1000 of replacement information of the present invention.The mapping of the position that alternative management information tabulation 1000 is used to carry out defect cluster and the position that replaces bunch.Alternative management information tabulation 1000 comprises sector head information 1001, a plurality of alternative management information 1010 (alternative management information #1, #2, #3.......).
Sector head information 1001 comprises the number of the alternative management information that comprises in the alternative management information tabulation 1000.Alternative management information comprises the information of representing above-mentioned mapping.
Fig. 5 B represents the data structure of alternative management information 1010.Alternative management information 1010 comprises status information 1011, is replaced a positional information 1012 and replaces a positional information 1013.
Status information 1011 comprises the status information relevant with above-mentioned mapping.For example, the kind or the attribute of expression alternative management information 1010, be replaced a positional information 1012 and replace a positional information 1013 effectively/disarmed state etc.
Be replaced the position that a positional information 1012 expressions are replaced the information (for example defect cluster) of item.
Replace the position of the information that a positional information 1013 expressions replace (for example replace bunch).
In addition, under the situation of pseudo-regenerative recording,,, shine upon thus to replace ECC bunch position after a positional information 1013 indications rewrite to be replaced ECC bunch position before a positional information 1012 indications rewrite.
Here, being replaced a positional information 1012 and replacing an item positional information 1013 and also can use the physical address (for example PSN) of corresponding ECC bunch beginning sector to represent of login in the alternative management information 1010.This is because be that unit shines upon with ECC bunch in defect management and the pseudo-regenerative recording.
In existing linear orthomorphism, replace bunch being recorded in and replace in the district.Thus, replacing ECC bunch the positional information that always has in the positional information 1013 in the replacement district is set in wherein.
On the other hand, in the present invention, replace bunch being not limited to be recorded in replacing in the district, also can be recorded in user data area.Therefore, replace in the positional information 1013 and can set the information that ECC bunch position in the district is replaced in expression, perhaps set the information of ECC bunch position in the expression user data area.
In addition, a replacement positional information 1013 has become can indicate two ECC that any one write down in the zone bunches, therefore, also can in status information 1011 discriminant information be set, being used for differentiating what replace a positional information 1013 indications is ECC bunch that replaces in the district ECC bunch or the user data area.
1-3. record regenerator
Fig. 6 represents the structure of the information recording/reproducing apparatus 300 of embodiment of the present invention.
Information recording/reproducing apparatus 300 comprises host apparatus 305 and drive unit 310.
Host apparatus 305 can be for example computer system or PC.
Drive unit 310 can be pen recorder, regenerating unit, record regenerator any one.In addition, also information recording/reproducing apparatus 300 integral body can be called pen recorder, regenerating unit, record regenerator.
Host apparatus 305 comprises systems control division 301 and memory circuitry 302.Host apparatus 305 also can also comprise the disk set 304 of hard disk drive and so on.Textural element in the host apparatus 305 interconnects by I/O bus 303.
Systems control division 301 is realized by means of the control program of for example system or the microprocessor that comprises operand store.Exclusive disjunction is controlled in the record regenerating of the record regenerating of the volume structure/file structure of 301 pairs of file system of systems control division, the metadata partition/file structure that is described below, the record regenerating of file, the processing such as record regenerating of importing/leading-out zone.
Memory circuitry 302 is used for the computing of volume structure, file structure, metadata partition/file structure and file or preservation temporarily etc.
Drive unit 310 comprises drive control part 311 and memory circuitry 312, record regenerating portion 314.Textural element in the drive unit 310 interconnects by internal bus 313.
Drive control part 311 is realized by means of the control program of for example driver or the microprocessor that comprises operand store.Exclusive disjunction is controlled in processing such as the record regenerating in 311 pairs of disc management information areas of drive control part or replacement district, pseudo-regenerative recording regeneration.
In addition, systems control division 301 shown in Figure 6 or drive control part 311 both can be realized by means of SIC (semiconductor integrated circuit) such as LSI, also can realize by means of general processor and storer (for example ROM).
Preserve the executable program of computing machine (for example general processor) in the storer (for example ROM).Address Regeneration Treatment of the present invention described later and recording processing on this program representation, computing machine (for example general processor) is carried out Regeneration Treatment of the present invention and recording processing according to this program.
Memory circuitry 312 is used for the disc management information area or replaces the relevant data in district and operation of data that drive unit 310 sends or interim preservation etc.
1-4. recording processing program (1)
Then, with reference to Fig. 7 the data structure of carrying out in the present embodiment on the format processing information recording carrier 100 afterwards is described.
User data area 108 track #1 401, track #2 402, track #3403 have been distributed.
User data area 108 has been distributed volume space 109.In volume space 109, be assigned volume structure district 410, Physical Extents 420 and volume structure district 411.
The metadata partition 430 that comprises UDF Standard Edition 2.5 or version defined thereafter in the Physical Extents 420.
Write down meta data file 440 in the Physical Extents 420.In addition, in the explanation afterwards, be the relevant explanation of metadata image file though omitted for simplicity with the copy of meta data file 440, can certainly write down the metadata image file.
In addition, the file item (FE) that has write down the record position in the Physical Extents 420 of representation element data file 440 is FE (meta data file) 441.
Document structure informations such as the record position of expression subscriber data file or the FE of capacity or catalogue file all are configured in metadata partition 430, are in the meta data file 440.
Only write down the ROOT catalogue among Fig. 7, therefore, in meta data file 440, only write down set of file descriptor (FSD) 433 and FE (ROOT) 442.In addition, for the purpose of simplifying the description, take it is included in form among each FE for catalogue file.
In addition, suppose that this is the state that does not carry out any replacement record as yet constantly.In addition, the free area management in the metadata partition 430 also can be carried out according to metadata bitmap (not shown), so that stipulate by UDF Standard Edition 2.5.
Perhaps, also the free area of metadata partition 430 can be kept Unrecorded state, utilize the LRA405 of track #1 that the free area in the metadata partition 430 is managed.
In addition, the distribution method of track is not limited to shown in Figure 7, for example, also can distribute more track.In addition, also the track at the end of user data area can be changed to the state that can append new-track, append track in case of necessity.
Then, with reference to the program of data recording among the flowchart text the present invention shown in Fig. 8 A.
Here, tentation data file (File-a) is recorded in the information recording carrier 100.
In addition, the user data area 108 of information recording carrier 100 has been distributed a plurality of logical addresses and a plurality of physical address, supposed that these a plurality of logical addresses and the corresponding relation of these a plurality of physical addresss are predetermined.
Each of these a plurality of logical addresses is for example all passed through logical sector number (LSN) or LBA (Logical Block Addressing) (LBA) is represented.
Each of these a plurality of physical addresss is then represented by for example physical sector number (PSN) or physical block address (PBA).In addition, suppose at least 1 track of user data area 108 distribution.
Before the record of data file (File-a), drive control part 311 is carried out the preparation of data recording and is handled (step S101).The preparation of this data recording is handled when for example information recording carrier 100 is packed drive unit 310 into and is carried out.
For example, drive control part 311 is read up-to-date disc management information from the disc management information area 104 (or disc management information area 105) of information recording carrier 100.
According to this disc management information, determine to be used for to represent the basic logical address-physical address map of the corresponding relation of a plurality of logical addresses that user data area 108 is distributed and a plurality of physical addresss, for this reason, obtain Fig. 3 user data area start position information 1103, user data area end position information 1104, replace district's information 1105 etc.
After, drive control part 311 carries out the conversion of logical address and initial physical addresses according to basic logical address-physical address map.
In addition, drive control part 311 is obtained the track management information that comprises in the disc management information.
(step S102) drive control part 311 is accepted the record indication from host apparatus 305.Record indication comprises the logical address of the position of the record data that are used for indicating.This logical address is represented by for example logical sector number (LSN) or LBA (Logical Block Addressing) (LBA).Record indication both can comprise the unity logic address that is used for indicating writing down the position of single data, also can comprise a plurality of logical addresses of a plurality of positions of a plurality of data that are used for indicating writing down respectively.
The logical address that comprises in the record indication is determined based on the logical address (being logic NWA) that for example is used for representing next position that can record data in the certain tracks by host apparatus 305.
Logic NWA for example in response to the request that sends to drive unit 310 from host apparatus 305, outputs to host apparatus 305 from drive unit 310.
Logic NWA will be by being obtained according to the conversion of basic logical address-physical address map by above-mentioned (formula 1) determined NWA.This conversion is carried out by drive control part 311.Definite program of NWA and logic NWA describes in detail in embodiment 2 described later.
The systems control division 301 of host apparatus 305 generates or upgrades the filesystem information of needs when recording data files (File-a).For example, systems control division 301 generates in memory circuitry 302 and the parent directory of corresponding FE of data file (File-a) (File-a) or updated data file (File-a) is the ROOT catalogue.
The ROOT catalogue with after corresponding FE of data file (File-a) (File-a) or the renewal that generates like this is recorded to information recording carrier 100 by indicating to drive unit 310 output records from host apparatus 305, reflects up-to-date filesystem information.
In addition, whether host apparatus 305 uses the order of regulation to remain to drive unit 310 inquiries where necessary and replaces the required not recording areas of record etc.
In addition, the indication that outputs to drive unit 310 from host apparatus 305 also can be the standardized commands of SCSI multimedia order etc.
For example, the request of logic NWA or record indication also can be respectively READ TRACKINFORMATION order or WRITE order.
The logical address that the record that (step S103) drive control part 311 will receive in step S102 according to basic logical address-physical address map comprises in indicating is converted to physical address.
(step S104) drive control part 311 is determined 1 track (open tracks) at least 1 track of user data area 108 distribution according to the track management information 210 (Fig. 2 B) that comprises in corresponding physical address of logical address that comprises in indicating with this record and the disc management information.
Drive control part 311 determines to be used for being illustrated in the physical address (being NWA) of the position of next recorded data in this determined track based on the LRA213 of this determined track.This NWA be for example according to above-mentioned (formula 1) but determined next time recording address.
In addition, the definite of NWA both can carry out in step S104, also can carry out in other steps.For example, also can in handling, the preparation of above-mentioned data recording finish in advance.
Here, use LRA213 to calculate NWA, the data structure of track management information is become simple, and need in track management information, not preserve NWA information.
Whether the corresponding physical address of logical address that (step S105) drive control part 311 comprises in determining to indicate with this record is littler than NWA.
If be defined as with the indication of this record in the corresponding physical address of logical address that comprises littler than NWA, then should record indicate that to be confirmed as be that the record that writes down the zone that finishes in the user data area 108 is indicated.That is, to be confirmed as be pseudo-regenerative recording to the data recording of record indication.In this case, processing enters step S106.Otherwise, handle entering step S108.
(step S106) drive control part 311 definite data that will write down.Under the data recording unit in the information recording carrier 100 is ECC bunch situation, drive control part 311 will be defined as the data that will write down by the specified data of record indication.For example, when the record position of the specified data of record indication was consistent with ECC bunch border with capacity, ECC bunch of integral body was rewritten, and therefore, will indicate specified data former state to be defined as the data that will write down by record.
Under inconsistent situation, drive control part 311 is carried out " read, change, write " described later and is handled.In this case, the data of the drive control part 311 ECC bunch of unit that will obtain in " read, change, write " processing procedure are defined as the data that will write down.
(step S107) drive control part 311 is determined by the determined record position of wanting record data of step S106.Particularly, drive control part 311 will be the ad-hoc location in the user data area 108 by the ad-hoc location beyond the position shown in the corresponding physical address of logical address that comprises in indicating with this record, be defined as the determined record position of wanting record data by step S106.
Here, this ad-hoc location also can be the NWA in the determined track in step S104.
Perhaps, this ad-hoc location also can be the NWA in the open tracks different with determined track in step S104.In this case, the NWA in this open tracks preferably represents distance and writes down nearest position, position shown in the corresponding physical address of logical address that comprises in the indication.
Whether the corresponding physical address of logical address that (step S108) drive control part 311 comprises in determining to indicate with this record equals NWA.If be defined as with the indication of this record in the corresponding physical address of logical address that comprises equal NWA, then should record indicate that to be confirmed as be that record at position shown in the NWA is indicated.That is, to be confirmed as be additional record (new record) to the data recording of record indication.In this case, processing enters step S109.Otherwise, handle entering step S111.
(step S109) drive control part 311 definite data that will write down.Particularly, drive control part 311 will write down and indicate specified data to be defined as the data that will write down.
At this moment, whether drive control part 311 is judged by the end end of the specified data of record indication consistent with ECC bunch of border.If inconsistent, then insert padding data (for example all being the data of 00h), end end that makes data and the data that are defined as after ECC bunch of border is consistent writing down.
(step S110) drive control part 311 is determined by the determined record position of wanting record data of step S109.Particularly, drive control part 311 will be defined as the determined record position of wanting record data by step S109 by the position (promptly by the position shown in the NWA) shown in the corresponding physical address of logical address that comprises in indicating with this record.
(step S111) drive control part 311 carries out fault processing.
311 pairs of determined record position executive loggings of (step S112) drive control part are handled.
Under the situation that is judged to be "Yes" of step S105, drive control part 311 controlling recording reproducing units 314 make the data recording that will write down that will determine in step S106 to determined record position in step S107.
Under the situation that is judged to be "Yes" of step S108, drive control part 311 controlling recording reproducing units 314 make the data recording that will write down that will determine in step S109 to determined record position in step S110.
And then the data behind 311 pairs of records of drive control part are carried out checking treatment, determine thus whether this data recording is successful.If this data recording success handles then entering step S113.
If the failure of this data recording, replace in week in then distributing district's 106 grades replace in any zone of district and user data area 108 not recording areas instead bunch, during this data recording replaced bunch to this.
If final this data recording success handles then entering step S113.
In addition, the processing of above-mentioned steps S106 and step S112 also can realize by means of " read, change, write " processing (being called RMW later on handles).
In RMW handles, the 1st, drive control part 311 controlling recording reproducing units 314 make regeneration comprise the data of record in ECC bunch of physical sector, and the data that will regenerate from this ECC bunch are saved in memory circuitry 312 (" reading " handle), and this physical sector is arranged in by the position shown in the corresponding physical address of logical address that comprises with the record indication.
In addition, in the moment of carrying out this Regeneration Treatment, ECC bunch of the regeneration object might be replaced record.Therefore, drive control part 311 controlling recording reproducing units 314 make with reference to alternative management information tabulation 1000 and data of record in the regeneration replace ECC bunch as required.Be described below data reproduction step with reference to alternative management information tabulation 1000.
The 2nd, drive control part 311 will be from this ECC bunch of born again data, be recorded in by with the record indication in data in the physical sector of the position shown in the corresponding physical address of logical address that comprises, be replaced into by record indication data designated (" changing " handles).Consequently, ECC bunch data after the renewal have been obtained.
Drive control part 311 is implemented " reading " and is handled and " changing " processing in step S106.
Fig. 8 B is illustrated in and carries out the step of being implemented when " reading " handles with " changing " processing among the step S106 shown in Fig. 8 A.Each step shown in Fig. 8 B is carried out by the drive control part 311 of drive unit 310.
Whether ECC bunch of determining to comprise by the specified position of record indication of (step S151) drive control part 311 is replaced bunch replacement.Thisly determine to realize by for example retrieving alternative management information tabulation 1000.
When having found to handle entering step S152A to be when being replaced the alternative management information 1010 of item, just to be defined as being replaced a bunch replacement by the specified position of record indication.Otherwise, handle entering step S152B.
In addition, also the result of determination of step S151 can be preserved as the value of built-in variable, determine to comprise by record with reference to this built-in variable value in other steps in case of necessity and indicate ECC bunch of specified position whether to be replaced bunch replacement.Thus, can avoid repeating same processing.For example, if the result of determination of step S151 is a "Yes", then preserve " 1 " value as this built-in variable; If the result of determination of step S151 is a "No", then preserve " 0 " value as this built-in variable.
(step S152A) drive control part 311 need to determine whether RMW to handle.For example, when by the position of the specified data of record indication and size when consistent with ECC bunch border, drive control part 311 not needing to be defined as the RMW processing; When the position of being indicated specified data by record and size and ECC bunch border were inconsistent, drive control part 311 needing to be defined as RMW to handle.
When being defined as needing RMW to handle, handle entering step S153; Otherwise, handle entering step S157.
Also can similarly the result of determination of step S152A be preserved as the value of built-in variable, need determine whether RMW to handle in other steps with reference to this built-in variable value in case of necessity with step S151.
(step S152B) drive control part 311 need to determine whether RMW to handle.The processing of step S152B is identical with the processing of step S152A.
When being defined as needing RMW to handle, handle entering step S154; Otherwise, handle entering step S157.
(step S153) drive control part 311 controlling recording reproducing units 314 make regeneration record in the replacement shown in the alternative management information 1010 that step S151 finds bunch data rather than comprise the data of record in by the specified position of record indication ECC bunch, and the data of regeneration are saved in memory circuitry 312.
(step S154) drive control part 311 controlling recording reproducing units 314 make regeneration comprise by the data that write down record in ECC bunch that indicates specified position, and the data of regeneration are saved in memory circuitry 312.
(step S155) drive control part 311 is served as reasons the data replacement of regeneration and is write down the specified data of indication, generates revised data thus.
(step S156) drive control part 311 is defined as recording data in the information recording carrier 100 with revised data.
(step S157) drive control part 311 will be defined as recording data in the information recording carrier 100 by the specified data of record indication.
So far, finishing " reading " handles and " changing " processing.
The 3rd, drive control part 311 controlling recording reproducing units 314 make ECC bunch data recording after the renewals that will obtain in " changing " handles to original ECC bunch position (" writing " processing).Drive control part 311 is implemented " writing " and is handled in step S112.
But, in the present invention, because information recording carrier is an additional record type medium, therefore in fact can't be at original ECC bunch location records.
Therefore, replace in week in distributing district's 106 grades replace in any zone of district and user data area 108 not recording areas instead bunch, during the data recording after upgrading replaced bunch to this.
And then the data behind 311 pairs of records of drive control part are carried out checking treatment, determine thus whether this data recording is successful.If this data recording success handles then entering step S113.
If the failure of this data recording is replaced week such as district's 106 grades and is replaced not recording areas in any zone of district and user data area 108 as further replacing bunch in then distributing, during this data recording further replaced bunch to this.
After final this data recording success, handle entering step S113.
In addition, when, all can being rewritten for ECC bunch when whole corresponding to ECC bunch, therefore, no longer need above-mentioned " reading " to handle by the specified zone of record indication.
(step S113) drive control part 311 generates alternative management information 1010 according to the processing among the step S112, and this alternative management information is saved in memory circuitry 312.For example, in step S112, when drive control part 311 control (implementing pseudo-the rewriting) record regenerating portion 314 make by with this record indication in position ad-hoc location in addition shown in the corresponding physical address of logical address that comprises be in the ad-hoc location in the user data area 108 behind the record data, drive control part 311 generates alternative management information 1010, and the corresponding physical address map of logical address that this information will comprise in will indicating with this record is to the physical address of this ad-hoc location of expression.
In addition, also can be by the existing alternative management information of retrieval tabulation 1000, determine whether in existing alternative management information tabulation 1000, to have found to have and the identical alternative management information that is replaced a positional information 1,012 1010 of the pairing physical address of logical address that comprises during record is indicated.
If found, 311 of drive control parts upgrade this alternative management information 1010, are set at new replacement item positional information 1013 so that will represent the physical address of this ad-hoc location.
If do not find, 311 of drive control parts generate new alternative management information 1010 and should new alternative management information 1010 be appended in the alternative management information tabulation 1000.
Then, drive control part 311 is carried out the rearrangement of alternative management information tabulation 1000.For example, drive control part 311 also can rearrange alternative management information tabulation 1000 according to status information 1011, then the physical address that is replaced a positional information 1012 is carried out rearranging of alternative management information tabulation 1000.
So just generated new alternative management information tabulation 1000, the corresponding physical address map of logical address that the alternative management information 1010 that wherein comprises will comprise in will indicating with record is to the physical address that is used for representing this ad-hoc location.
(step S114) drive control part 311 upgrades disc management information to reflect above-mentioned operation of recording.For example, drive control part 311 upgrades final data record position information 1107.In addition, drive control part 311 upgrade with the corresponding track management information 210 of track that has write down data in LRA213 to reflect up-to-date recording status.
And then drive control part 311 generates the new disc management information that has comprised the information after new alternative management information tabulation 1000 or track management information 210 etc. are upgraded.In addition, set the alternative management information list placement information 1102 or the section management information positional information 1109 that comprise in the new disc management information, to represent new alternative management information tabulation 1000 or the state-of-the-art record position of track management information 210 on information recording carrier 100.
Drive control part 311 controlling recording reproducing units 314 are so that record regulation zone on the information recording carrier 100 (for example interim disc management information area) with new disc management information.According to this kind mode, disc management information is updated to last state.
In addition, after data recording finished, drive unit 310 also can be given host apparatus 305 with the result notification of above-mentioned operation of recording.The result of operation of recording is meant and represents for example information of data recording success or data recording failure etc.
This notice can be given host apparatus 305 with the regulation timed sending.For example, can be when step S108 finishes or in step S112 this notice be sent to host apparatus 305 during wrong generation.Perhaps also can before the data recording physical end, this notice be sent to host apparatus 305.For example, can receive record indication and moment of can correct understanding should record indicating will represent that the notice of end of record (EOR) sends to host apparatus 305 from host apparatus 305 at drive unit 310.
In addition, in above-mentioned replacement recording processing, also can begin to become big direction from ECC bunch the position that is replaced item and retrieve not recording areas to PSN.After recording areas has been found not in retrieval like this, with this not recording areas distribute instead bunch.
In addition, also can be earlier in comprising a track that is replaced bunch, retrieve not recording areas, begin to become big direction from this track then and retrieve not recording areas each bar track successively to PSN.
If the retrieval of the recording areas end that arrived user data area 108 is not still found not recording areas, then can be that periphery is replaced in the district 107 and retrieved not recording areas in the zone of this user data area 108 and then.
And then, if the retrieval of recording areas has not arrived the end of replacing district 107 and has not still found not recording areas, then can from the assigned position of interior all sides of information recording carrier 100 (for example, replace in interior week district 106 beginning, user data area 108 beginning or apart from the position of these beginning predetermined distances) beginning becomes big direction to PSN and retrieves not recording areas.
In addition, in the step S105 and step S108 of data recording program,, determine pseudo-regenerative recording of these data or additional record by comparing with the corresponding physical address of logical address and the NWA that are comprised by the record indication.
Why can determine pseudo-regenerative recording of these data or additional record by such comparison process, be because information recording carrier 100 is additional record type information recording carriers, and, can carry out journal at this additional record type information recording carrier.
The replacement record that the use user data area of describing among the present invention is realized also can be applied to erasable type CD.But, under the situation of erasable type CD,, need more complicated handling procedure in order to determine that this data recording is regenerative recording or additional record (or new record).Reason is that under the situation of erasable optical disk, any place on the CD can be rewritten at random.
Shown in above-mentioned embodiment, by drive unit erasable type CD is implemented the free area management if desire like that, then as described in the explanation of background technology, for example need use SDL pair with erasable type CD on whole ECC bunch of corresponding alternative management information manage.And, be regenerative recording or new record in order to determine to the data recording of being done somewhere in the user data area on certain erasable type CD, need for example retrieve whole alternative management information tabulation 1000 and finish to judge whether to write down.Similarly, whether be not used as and replaced bunch in order to understand fully certain ECC bunch, also must the whole alternative management information tabulation 1000 of retrieval.The treatment capacity of this processing also can increase and increase along with alternative management information 1000 the capacity of tabulating, and can become serious problem for capacity the CD that constantly increases.
On the other hand, in the present invention,, all be to have write down the zone that finishes less than the zone of NWA so can guarantee in certain bar track address value because of it is additional record type information recording carrier and is journal.
Thus, just can determine that simply this data recording is pseudo-regenerative recording or additional record, and not be subjected to the influence of the capacity of alternative management information tabulation 1000 by means of step S105 and 108 such comparison process.In addition, replace bunch get final product, therefore be easy to selection from the later choice of location of NWA.
Also the situation with erasable type CD is identical when in addition, carrying out pseudo-regenerative recording in the recorded at random mode of additional record type CD.
And then, under the situation of the recorded at random mode of additional record type CD, need the special structure of above-mentioned free area management information 220 and so on.Compare with the free area management of journal mode, the free area management information 220 of recorded at random mode has increased the processing load to drive control part 311 significantly.
Particularly, in the journal mode, can be with the numerical limitations (for example maximum 4) in the scope of the convenience that does not damage file system of open tracks.
At this moment, the number of open tracks depends on the structure of file system, can not be subjected to the influence that CD capacity increases; On the other hand, the capacity of the free area management information 220 of recorded at random increases along with the increase of CD capacity, handles load and also increases.
That is,, in the journal mode, carry out the effect highly significant of the present invention of pseudo-rewriting mode for the CD that capacity constantly increases.
In addition, the invention is characterized in,, determine NWA according to the LRA213 that comprises in the up-to-date track management information 210 and (formula 1) in order to determine to use pseudo-regenerative recording or additional record.
By on disc, writing down the LRA213 that upgrades by data recording in advance, information recording carrier 100 is packed into behind the drive unit 310, find the required time of up-to-date LRA213 to shorten.
In addition, calculate NWA, just can construct the track management information data simply, and need in track management information, not preserve NWA information by using LRA213.
If do not use the present invention,, just need for example following program in order to determine to use pseudo-regenerative recording or additional record.
That is, must determine to comprise with record indication in the track of the corresponding physical address of logical address that comprises, begin to check ECC bunch successively from the beginning of this track, judge whether that record finishes.
Then, if ECC bunch of the position of record indication write down and finished, then being defined as is pseudo-regenerative recording.
This processing especially becomes its treatment capacity of big back at orbital capacity and also becomes very big, and is therefore not preferred.
On the other hand, if use present embodiment, then can not be subjected to the influence of orbital capacity and determine pseudo-regenerative recording or additional record simply.
In addition, by in track management information 210, comprising LRA213, just can when driver 10 receives the record indication, determine the track of record destination, and determine NWA at an easy rate.
Fig. 9 represents to utilize this logging program to write down data structure on the information recording carrier 100 after the data file.
Explanation is as the data file (File-a) 460 of an example of data file among Fig. 9.Suppose and use above-mentioned logging program in data file (File-a) 460, to detect defect cluster #1 and defect cluster #2.
For this reason, suppose that disc management information is recorded in the disc management information area 104, this disc management information comprises and is used for representing to replace bunch #1 to replace the alternative management information of defect cluster #1 and to be used for representing to replace bunch #2 to replace the alternative management information of defect cluster #2.
As shown in Figure 9, replace a bunch #1 to be recorded in and replace district 106, replace a bunch #3 to be recorded in user data area 108.
And then (data file File-a) 460 its content after this record is finished is upgraded by pseudo-regenerative recording.
Particularly, renewal bunch #2 and renewal bunch #4 partly are equivalent to the part by pseudo-regenerative recording renewal.
Suppose that the new data that is upgraded by pseudo-regenerative recording is recorded to respectively among the replacement bunch #2 and replacement bunch #4 that distributes as the replacement of upgrading bunch #2 and renewal bunch #4, corresponding replacement information is recorded in the disc management information area 104.
As shown in Figure 9, replace a bunch #2 to distribute to and replace district 106, replace a bunch #4 to distribute to user data area 108.
1-5. playback processing program (1)
Regeneration Treatment with reference to the flowchart text file of Figure 10.Here, the action with the data file shown in Figure 9 (File-a) 460 of regenerating is that example describes.
Before playback of data, drive control part 311 is carried out the preparation of data reproduction and is handled (step S201).The preparation of this data reproduction is handled when for example information recording carrier 100 is packed drive unit 310 into and is carried out.For example, drive control part 311 is read disc management information from the disc management information area 104 (or disc management information area 105) of information recording carrier 100.
Drive control part 311 is obtained user data area start position information 1103, user data area end position information 1104, is replaced district's information 1105 etc. from this disc management information, in order to the basic logical address-physical address map of the corresponding relation of a plurality of logical addresses of determining to be used for to represent user data area 108 is distributed and a plurality of physical addresss.
After, drive control part 311 is according to basic logical address-physical address map, the conversion of actuating logic address and initial physical addresses.
(step S202) at first, systems control division 301 sends regeneration indication to drive unit 310, the AVDP of record in the assigned position of regenerating information recording medium 100 (for example LSN=256).
In addition, AVDP by the UDF standard code, become the data structure of the starting point of filesystem information, be recorded in volume structure district 410 and the volume structure district 411.
(step S203) follows, and systems control division 301 is obtained the positional information of the Primary Volume Descriptor string 410A of record in the volume structure district 410 from AVDP.Systems control division 301 further sends indication to drive unit 310, regeneration master file structure 410A.
Systems control division 301 further begins sense data structure successively from the Primary Volume Descriptor string 410A of regeneration, obtains the positional information (LSN) of FE (meta data file) 441.
(step S204) follows, the regeneration of systems control division 301 execute file structures.For the file structure of regenerating, systems control division 301 according to the positional information (LSN) of obtained FE (meta data file) 441 to drive unit 310 indication of regenerating, regeneration FE (meta data file) 441.
Here, systems control division 301 obtains the positional information of meta data file 440 among the information of obtained FE (meta data file) 441, thereby can accesses meta-data file 440.
After (step S205), according to the reproducer of common UDF standard, with the order of FSD433, FE (ROOT) 442, FE (File-a) 443, data file (File-a) 460 regenerate (omitting explanation) to the regeneration of catalogue file.
In each step of above-mentioned Regeneration Treatment, indicate to drive unit 310 output regeneration from host apparatus 305.The drive control part 311 of drive unit 310 is accepted the regeneration indication from host apparatus 305, carries out Regeneration Treatment according to this regeneration indication.
Regeneration indication comprises the logical address of the position of the playback of data that is used for indicating.Logical address is represented by for example logical sector number (LSN).Perhaps, logical address also can be represented by LBA (Logical Block Addressing) (LBA).In addition, regeneration indication is a read command for example.
Drive control part 311 will be regenerated according to basic logical address-physical address map (for example with reference to Figure 12), and the logical address that comprises is converted to physical address in the indication.
Then, drive control part 311 determines whether to have found alternative management information 1010 in alternative management information tabulation 1000 by retrieval alternative management information tabulation 1000, and this alternative management information 1010 has identical with the pairing physical address of logical address that comprises during regeneration the is indicated positional information 1012 that is replaced.
If found, 311 controlling recording reproducing units 314 of drive control part make its replacement item positional information 1013 with reference to this alternative management information 1010, begin playback of data from the position shown in this replacement positional information 1013.
If do not find, 311 controlling recording reproducing units 314 of drive control part, the position playback of data shown in the feasible corresponding physical address of logical address that from indicate, comprises with regeneration.The data of regenerating according to this kind mode are returned to host apparatus 305.
1-6. recording processing program (2)
Figure 11 represents the data structure of alternative management information 1010B.The different embodiments of the alternative management information 1010 shown in the alternative management information 1010B presentation graphs 5B.
Comprise following 3 information among the alternative management information 1010B of Figure 11 as status information 1011.As shown in figure 11, these 3 information notes are Flag1, Flag2, Flag3.
Flag1 is used for information that alternative management information 1010B is classified, comprises to be used for representing that this replacement information is used to replace to write down or to be used to refer to defect cluster.
Flag2 is the relevant information of record position of the replacement managed with alternative management information 1010B bunch, comprises that to be used for expression be (or replace) or the information in user data area in replacing the district.
Flag3 be with alternative management information 1010B managed bunch the relevant information of number, comprise be used for representing this replacement information be with single bunch corresponding or with a plurality of bunches of continuous information corresponding.When with continuous a plurality of bunches of corresponding situations under, Flag3 further comprise be used for representing corresponding with the starting position of continuum or with the end position information corresponding.
After, according to Figure 11 detailed logging program of the present invention is described.
In addition, use the kind of the symbolic representation alternative management information of Figure 11 right-hand member row later on where necessary.For example, the alternative management information note that the 1st row is had the such status information 1011 of Flag1=1 (replace with), Flag2=0 (replacing replacing the district), Flag3=00 (single bunch) is done alternative management information (1).
Figure 12 is the exemplary plot of the data structure of physical address space and logical address space on the information recording carrier 100 of the present invention.
In addition, Figure 12 also represented when host apparatus 305 is observed, to be illustrated in the position on the information recording carrier 100 logical address logical sector number (LSN), with the corresponding relation of physical address physical sector number (PSN) under original state that is illustrated in the physical location on the information recording carrier 100.This corresponding relation is called basic logical address-physical address map (representing with the wave-like line arrow among the figure, down together).
1 row shown in Figure 12 is corresponding to 1 ECC bunch.In Figure 12, physical address (PSN) is illustrated in in the delegation with the logical address (LSN) that is assigned to this physical address.
In Figure 12, the value representation of PSN and LSN is the PSN and the LSN value of the terminal sector that begins from corresponding ECC bunch beginning sector.
Here, though be example, also can be other structures with 1 ECC bunch situation about constituting by 32 sectors.
In being assigned to, replaces PSN district 106, periphery replacement district 107 and user data area 108 week.
In addition, suppose from the beginning of user data area 108 and begin to distribute track.Since record data not fully under the state of Figure 12, therefore, the beginning of LRA500 directed towards user data field 108.
On the other hand, LSN only is assigned to user data area 108 (perhaps volume space 109).
The particular logical sector that host apparatus 305 uses on this LSN appointed information recording medium 100 writes down or the indication of regenerating.
Drive unit 310 will be converted to PSN according to basic logical address-physical address map from the LSN that host apparatus 305 receives, again according to the PSN of gained visit physical sector or ECC bunch.
Afterwards in the replacement record of explanation,, when logical address that need be different-physical address map, then use alternative management information 1010 with this corresponding relation based on basic logical address-physical address map.
In addition, PSN among Figure 12 or the value of LSN only are used to the example that illustrates, and actual value is with the difference of the structure of information recording medium 100 or capacity and difference.
In addition, as mentioned above, though disc management information or the capacity of replacing the district are variable, their capacity is being determined according to formaing when handling from the indication of host apparatus 305 etc.In addition, after format was handled, the beginning of user data area 108 and end position can not change.
Basic logical address-physical address map can be determined uniquely according to the computing of the information of the disc structure information 1100 that comprises in the disc management information (user data area start position information 1103, user data area end position information 1104, replace district's information 1105 etc.) in more detail, by regulation etc.
Use-case with reference to Figure 12~Figure 17 B explanation alternative management information 1010B shown in Figure 11.
At first, variation from the state of Figure 12 to the state of Figure 1A is described.
Host apparatus 305 is emitted in the indication of the newly-built record data in position " A " of LSN=0.
The drive unit 310 that receives the indication of this record is converted to PSN=1100 according to basic logical address-physical address map with LSN=0, in the location records data " A " of PSN=1100.
Then, the data of 310 pairs of records of drive unit are carried out verification.Here suppose verification succeeds.
And then host apparatus 305 is emitted in the indication of the pseudo-regenerative recording data in position " A1 " of LSN=0.
The drive unit 310 that receives the indication of this record is converted to PSN=1100 according to basic logical address-physical address map with LSN=0, carries out RMW in the position of PSN=1100 and handles.Then, the location records data " A1 " of PSN=100 in replacing district 106.
At this moment, generate alternative management information 511 by drive unit 310.The record position that is replaced setting data in the item " A " in alternative management information 511 is PSN=1100, and the record position of setting data " A1 " is PSN=100 in the replacement item of alternative management information 511.The status information 1011 of alternative management information 511 is set according to Figure 11.
In addition, alternative management information 511 is corresponding to the solid arrow among Figure 13 A.The starting point of arrow represents to be replaced item, and the terminal point of arrow represents to replace (later identical).
And then in Figure 13 A, host apparatus 305 indications are in the location records data " B " of LSN=2.
Verification failure when record data " B ", the position of week replacing the PSN=132 in the district 106 in data " B " can be recorded to.
Replace record therewith and correspondingly generate alternative management information 512.PSN=1032 is set in being replaced of alternative management information 512 in the item, set PSN=132 in the replacement item of alternative management information 512.The status information 1011 of alternative management information 512 is set according to Figure 11 similarly.
Data configuration behind the above-mentioned record and alternative management information tabulation are shown in Figure 13 A and Figure 13 B.Used alternative management information (1) among the alternative management information tabulation 1000A of Figure 13 B.
On the other hand, Figure 14 A and Figure 14 B are the figure that is used for illustrating the state when having used alternative management information (4), (7).
Here, host apparatus 305 indications are in the location records data " C " of LSN=64.Drive unit 310 records data " C " according to this record indication the position of PSN=1164.Here, if the result of verification makes mistakes, the not recording areas (PSN=1196) in the distributing user data field 108 then replaces data " C " to record the position of PSN=1196.
According to this result, generate alternative management information 513.
And then host apparatus 305 indications thereafter, are indicated record data " D1 " in the location records data " D " of LSN=128.
In addition, if the failure of the verification behind the record data " D1 ", data " D1 " are then replaced recording the position of PSN=1292.
At this moment, generate alternative management information 514.
In addition, PSN=1260 is a defect cluster of not replacing item, generates corresponding alternative management information 515.
And then host apparatus 305 indications are when the pseudo-regenerative recording data in position " D2 " of LSN=128, and data " D2 " are replaced recording the position of PSN=1324.
At this moment, generate alternative management information 514A.On the other hand, because alternative management information 514 no longer needs, therefore it is deleted from alternative management information tabulation 1000.
After above recording processing, LRA is updated to the position of 500B.
In addition, the alternative management information 1000B (Figure 14 B) that tabulates is rearranged the Flag1 in the status information 1011, then the PSN value that is replaced a positional information 1012 is rearranged.
Figure 15 A and Figure 15 B are the figure that is used for illustrating the state when having used alternative management information (5), (6).
Here, host apparatus 305 indications are in the location records data " E " of LSN=256~X1.
At this moment, if verification failure, data " E " are replaced recording the position of PSN=x2~x3, then generate alternative management information 516 and alternative management information 517.These two alternative management information are represented to be equivalent to replace ECC bunch beginning PSN of the starting position of writing down respectively and are equivalent to ECC bunch beginning PSN of end position.
Suppose that in Figure 16 A and Figure 16 B host apparatus 305 is further indicated in the pseudo-regenerative recording data " E1 " in the position of LSN=257~X1.
At this moment, to be recorded among the 15A be the position of the PSN=x4~x5 of recording areas not to data " E1 ".
In addition, generate the information of alternative management information 516A, generate alternative management information 517A replaces the end point of record as expression information as the starting point of this replacement of expression.
At this moment, owing to no longer need alternative management information 516,517, therefore, with its deletion from the alternative management information tabulation.
In addition, though in Figure 15 A and 16A, replace the record destination and all be arranged in user data area 108, can certainly be arranged in and replace district 106.In this case, use alternative management information (2), (3).
In addition, as reference Fig. 8 A was illustrated, the alternative management information list records after the renewal was in the disc management information area.
1-7. playback processing program (2)
When the data that regeneration is write down according to this kind mode, need to carry out following processing.
Before playback of data, drive control part 311 is carried out the preparation of data reproduction and is handled.The preparation of this data reproduction is handled identical with for example above-mentioned step S201.
Then, under the state of for example Figure 13 A, suppose the indication of data " B " of sending regeneration LSN=32 from host apparatus 305,310 of drive units are obtained PSN=1132 according to basic logical address-physical address map.
So drive unit 310 retrieval from up-to-date alternative management information tabulation 1000 has the alternative management information of PSN=1132 as being replaced item.
Here, find alternative management information 512, therefore, obtain the PSN=132 that replaces item from here.
Drive unit 310 is from PSN=132 playback of data " B ", sends it back host apparatus 305 as the playback of data of LSN=32.
Even host apparatus 305 specified LSN have changed, the processing of drive unit 310 1 sides is still identical.The LSN that receives is converted to PSN according to basic logical address-physical address map, if found corresponding alternative management information, playback of data from replace bunch then.If can not find corresponding alternative management information, then get final product according to the regeneration of PSN former state.
By as mentioned above, just can in the pseudo-regenerative recording of information recording carrier 100, lavishly user data area be used as and replace item.
1-8. recording processing program (3)
Figure 18 represents that the different structure example with the same alternative management information of above-mentioned alternative management information 1010 or alternative management information 1011B is DFL entry2010.
The state 12011A that comprises among the DFL entry2010 and state 22011B, defect cluster beginning PSN2012, replace bunch beginning PSN2013 respectively with above-mentioned status information 1011, be replaced a positional information 1012, to be replaced a positional information 1013 identical.
Here, with illustrated identical of reference Fig. 5 B, defect cluster beginning PSN2012 and replace a bunch beginning PSN2013 also can use the physical address (for example PSN) of corresponding ECC bunch beginning sector to represent.This is because be that unit shines upon with ECC bunch in defect management and the pseudo-regenerative recording.
Here, state 1 2011A comprise at least with alternative management information 1010B in the Flag1 information identical with Flag2.That is, for example, when the value of state 1 2011A is under the situation of " 1000 ", its replacement information represents not replace (Flag2=0 be equivalent to not replace situation).In this case, in replacing bunch beginning PSN2013, set " 0 ".
On the other hand, when item is replaced in existence, in state 1, set " 0000 " (Flag2=0 is equivalent to that the situation of replacing item is arranged).
In addition, state 2 2011B comprise at least with alternative management information 1010B in the identical information of Flag3.
That is, for example, when the value of state 2 2011B is under the situation of " 0000 ", this replacement information is corresponding to single bunch (being equivalent to Flag3=00).
Similarly, when the value of state 2 is for example under the situation of " 0001 ", this replacement information is corresponding to the beginning sector position (being equivalent to Flag3=01) of beginning bunch that comprises a plurality of bunches continuum.On the other hand, under the situation of " 0010 ", corresponding to the beginning sector position (being equivalent to Flag3=10) at end bunch that comprises a plurality of bunches continuum.
This DFL entry2010 goes for whole embodiments.
Secondly, with reference to the data structure of DFL entry2010 shown in Figure 180 and the process flow diagram of Figure 19 A, further describe the example of handling at the alternative management information of using among the illustrated step S113 of above-mentioned Fig. 8 A.
Here, suppose that the step S112 at Fig. 8 A enters step S113 to replacing after item writes down for realizing pseudo-regenerative recording.
(step S301) judges that at first this puppet regenerative recording is the 1st regenerative recording or the 2nd time or regenerative recording thereafter.
This judgement is by for example up-to-date alternative management information list retrieval being had beginning PSN value that obtain, ECC bunch as the DFL entry2010 of defect cluster beginning PSN2012 value and can carry out in the step S103 of Fig. 8 A, and this ECC bunch comprises the corresponding physical address of logical address that comprises in indicating with record.
This up-to-date alternative management information tabulation is born again from the disc management information area in for example step S101 (Fig. 8 A), and is saved in memory circuitry 312.
If in the alternative management information tabulation, do not find corresponding alternative management information (for example DFL entry2010),, handle entering step S302 then as the 1st pseudo-regenerative recording.
If in the alternative management information tabulation, found corresponding alternative management information,, handle entering step S304 then as the 2nd pseudo-regenerative recording.
In addition, also can prejudge pseudo-regenerative recording in other steps is the 1st regenerative recording or the 2nd time or regenerative recording thereafter.For example, also can judge at step S106.Can preserve the judged result of this moment, use at step S301.
(step S302) then carries out following the processing if the 1st time is replaced record.
At first, on the memory circuitry 312 of drive unit 310, generate new DFL entry2010 by drive control part 311.
(step S303) then sets numerical value in this DFL entry2010.
That is, set suitable value for state 1 2011A.For example, if there is the replacement record of replacing item, then set " 0000 ".
Then, defect cluster beginning PSN2012 is set ECC bunch the beginning PSN value that is arranged in the corresponding physical address of logical address that comprises with the record indication.
Then, to replacing bunch beginning PSN2013 beginning PSN value of replacement bunch of data that has been set in physical record in the replacement record of tight front.
And then, to the suitable value of state 2 2011B setting of this DFL entry2010.For example, if single bunch replacement record is then set " 0000 ".
(step S304) is if following the processing then carried out in the 2nd later replacement record.
That is,, enter step S305 in the step of tight front for the DFL entry2010 that finds is upgraded processing.
(step S305) at first is updated to appropriate value with state 1 2011A of this DFL entry2010.For example, if there is the replacement record of replacing item, then set " 0000 ".
Then, bunch beginning PSN2013 beginning PSN value of replacement bunch of data that has been updated in the replacement record of tight front physical record will be replaced.That is, set new replacement item.
In addition, because be,, keep identical value to get final product so do not need to change defect cluster beginning PSN2012 at the 2nd time of identical ECC bunch later replacement record.
And then, state 2 2011B of this DFL entry2010 are updated to appropriate value.For example, if single bunch replacement record is then set " 0000 ".
(step S306) realizes the renewal of alternative management information tabulation by above processing.That is, append new DFL entry2010, perhaps upgrade existing DFL entry2010 value.
In addition, tabulation rearranges to alternative management information.This rearranges for example state 1 2011A is carried out.And then, start PSN 2012, state 2 2011B, replace bunch order of beginning PSN 2013 to rearrange according to defect cluster.
Thus, the step S113 of Fig. 8 A finishes.Here the up-to-date alternative management information tabulation of gained is added and records (temporarily) disc management information area.
In addition, though in above-mentioned processing example, the replacement record that carries out in order to realize pseudo-regenerative recording has been described, the occasion of the replacement of carrying out when this is equally applicable to defect cluster occur record.
Yet, as in the background technology with reference to Figure 33 A and Figure 33 B illustrated, in the defect management of existing additional record type CD, all keep existing alternative management information and append new alternative management information when occurring replacing record at every turn.
If this method is applied to the such recording method that user data area is used as the replacement item of present embodiment, alternative management information will increase when record was replaced in each appearance, it is big that the capacity of alternative management information tabulation becomes, so be not suitable for the installation of drive unit etc.
Particularly, in the defect management of existing additional record type CD, what once be replaced bunch can not be replaced once more, but carries out in present embodiment under the situation of pseudo-regenerative recording, may repeatedly become the object of replacing record.For this reason, the capacity of alternative management information tabulation may become very big.
In addition, a plurality of alternative management information with value of same defect bunch beginning PSN2012 can occur in alternative management information tabulation, this just further needs the processing of appending or machine-processed to obtain up-to-date alternative management information.
In addition, in the defect management of erasable type CD, at whole replacement items alternative management information bunch is set, no matter whether it has been used as and has replaced.
If this method is applied to such user data area is used as in the method for replacing item of present embodiment, just need just to have begun a large amount of alternative management information, or not preferred from the angle of installing.
On the other hand, by means of the method for using Figure 19 A, only generate needed MIN defect management information and managed and get final product, up-to-date alternative management information also is easy to find.
1-9. recording processing program (4)
Further describe the processing example of the alternative management information in the data recording program with reference to Figure 19 B.
Each step shown in Figure 19 B is included among the step S113 shown in Fig. 8 A.In the following description, with reference to a data structure that example is DFL entry2010 of alternative management information shown in Figure 180.
In addition, suppose that here the step S112 at Fig. 8 A enters step S113 to replacing after item writes down for realizing pseudo-regenerative recording.
(step S601) drive control part 311 determines whether the zone by record indication appointment is the continuous zone of physical address space.
For example, drive control part 311 is according to being indicated specified record position by record and by the capacity that writes down the specified data that will write down of indication, determining the area size on physical address space.When the area size on the physical address space of determining according to this kind mode during greater than 1 ECC bunch size, it is continuum in the physical address space that drive control part 311 is defined as zone by record indication appointment.
When the judged result of step S601 is under the situation of "Yes", handle entering step S602.When the judged result of step S601 is under the situation of "No", handle entering step S603.
(step S602) drive control part 311 determines that whether the zone of physical record data in step S112 is the continuum in the physical address space.
For example, when the area size of implementing recording processing in step S112 equaled area size by record indication appointment, the zone that drive control part 311 is defined as physical record data in step S112 was the continuum in the physical address space.
When the judged result of step S602 is under the situation of "Yes", handle entering step S604.When the judged result of step S602 is under the situation of "No", handle entering step S603.
(step S603) drive control part 311 is carried out for example with reference to the illustrated processing of Figure 19 A.
(step S604) drive control part 311 determines that pseudo-regenerative recording is the 1st regenerative recording or the 2nd time or regenerative recording thereafter.
Thisly determine by for example retrieving the tabulation of up-to-date alternative management information, and making with the 1st DFL entry2010 that is replaced a positional information (state 22011B=" 0001 ") and the 2nd DFL entry2010 (state 2 2011B=" 0010 ") that in the determined continuum of step S601 are same area according in the alternative management information tabulation, whether having found to possess expression.
If in the alternative management information tabulation, do not find corresponding the 1st DFL entry2010 and the 2nd DFL entry2010,, handle entering step S605 then as the 1st pseudo-regenerative recording.
If in the alternative management information tabulation, found corresponding the 1st DFL entry2010 and the 2nd DFL entry2010,, handle entering step S607 then as the 2nd pseudo-regenerative recording.
(step S605) drive control part 311 generates the 1st new DFL entry2010 and the 2nd new DFL entry2010, and they are saved in memory circuitry 312.
(step S606) drive control part 311 is setting value in the 1st and the 2nd DFL entry2010.
Setting " 0000 " expression in state 1 2011A of the 1st DFL entry2010 is to have the replacement record of replacing item.
In the defect cluster of the 1st DFL entry2010 beginning PSN2012, set and comprise by the beginning PSN value starting position in the zone of record indication appointment, ECC bunch.
In the replacement cluster of the 1st DFL entry2010 beginning PSN2013, set the beginning PSN value starting position, ECC bunch of continuum of data that comprised physical record.
Setting " 0001 " expression in state 2 2011B of the 1st DFL entry2010 is the starting position of continuum.
Setting " 0000 " expression in state 1 2011A of the 2nd DFL entry2010 is to have the replacement record of replacing item.
In the defect cluster of the 2nd DFL entry2010 beginning PSN2012, set and comprise by the beginning PSN value end position in the zone of record indication appointment, ECC bunch.End position by the zone of writing down the indication appointment is for example asked for the data length of the data that will write down according to the corresponding physical address of logical address that comprises in indicating with record.
In the replacement of the 2nd DFL entry2010 bunch beginning PSN2013, set beginning PSN value end position, ECC bunch of continuum of data that comprised physical record.
Setting " 0010 " expression in state 2 2011B of the 2nd DFL entry2010 is the end position of continuum.
The the 1st and the 2nd DFL entry2010 that 311 pairs of (step S607) drive control parts are found in step S604 upgrades processing.Particularly, this renewal handle by in step S608 in the 1st and the 2nd DFL entry2010 setting value realize.
(step S608) drive control part 311 is setting value in the 1st and the 2nd DFL entry2010.
In the replacement cluster of the 1st DFL entry2010 beginning PSN2013, set the beginning PSN value starting position, ECC bunch of continuum of data that comprised physical record.That is, set the starting position in new replacement item zone.
Do not need to change the defect cluster beginning PSN2012 of the 1st DFL entry2010, keep identical value to get final product.This is because this is the 2nd the later replacement record that same ECC bunch is carried out.
In the replacement cluster of the 2nd DFL entry2010 beginning PSN2013, set beginning PSN value end position, ECC bunch of continuum of data that comprised physical record.That is, set the end position in new replacement item zone.
Do not need to change the defect cluster beginning PSN2012 of the 2nd DFL entry2010, keep identical value to get final product.This is because this is the 2nd the later replacement record that same ECC bunch is carried out.
(step S609) realizes the renewal of alternative management information tabulation by above processing.That is, the 1st and the 2nd new DFL entry2010 is appended in the alternative management information tabulation.Perhaps, upgrade in the alternative management information tabulation the existing the 1st and the value of the 2nd DFL entry2010.
Tabulation rearranges to alternative management information.This rearrange according to for example more the order of state 1 2011A of new administration information carry out.And then the order that starts PSN2013 according to defect cluster beginning PSN2012, state 2 2011B, replacement cluster rearranges.
Thus, the step S113 of Fig. 8 A finishes.Here the up-to-date alternative management information tabulation of gained is added and records (temporarily) disc management information area.
In addition, though in above-mentioned processing example, the replacement record that carries out in order to realize pseudo-regenerative recording has been described, the occasion of this replacement of carrying out when defect cluster occurring equally record.
Use Figure 20 A to Figure 24 B to further specify recording processing program.
Figure 20 A and Figure 13 A etc. are identical, physical address space and logical address space on the expression information recording carrier 100.Represented after and then format is handled at the location records of LSN=0 state after the data " A0 " among Figure 20 A.In physical address space, at the location records of PSN=1000 data " A0 ".
At this moment, LSN=0 and PSN=1000 have kept the relation of basic logical address-physical address map.
Therefore, do not comprise alternative management information in the alternative management information tabulation corresponding shown in Figure 20 B, only comprise sector head information 1001 with Figure 20 A.
Then, under the state of Figure 20 A, suppose from host apparatus 305 and send the location records data " A1 " of indication at LSN=0.State in Figure 21 A behind this record of expression execution.
Shown in Figure 21 A, the position of PSN=1000 has been write down and has been finished, and therefore, data " A1 " are replaced to the position of the PSN=1132 in the user data area for example.
The replacement record of this moment is the 1st replacement record, therefore, according to using the illustrated later program of step S302 of Figure 19 A, the DFL entry2100A shown in Figure 21 B is appended in the alternative management information tabulation.
Then, under the state of Figure 21 A, suppose from host apparatus 305 and send the location records data " A2 " of indication at LSN=0.State in Fig. 2 2A behind this record of expression execution.
Shown in Figure 22 A, the position of PSN=1000 has been write down and has been finished, and therefore, data " A2 " are replaced to the position of the PSN=1164 in the user data area for example.
The replacement record of this moment is the 2nd replacement record, therefore, according to using the illustrated later program of step S304 of Figure 19 A, shown in Figure 22 B, DFL entry2100A is updated to DFL entry2100B.(that is, do not append DFL entry.)
Then, under the state of Figure 22 A, suppose from host apparatus 305 and send indication in the location records data " B0 " of LSN=96, in the location records data " C0 " of LSN=128~192.State in Figure 23 A behind this record of expression execution.
Shown in Figure 23 A, suppose that checking treatment is made mistakes when data " B0 " being recorded the position of PSN=1196.
At this moment, data " B0 " are replaced to periphery for example and replace PSN=x10 in the district 107.
The replacement record of this moment is the 1st replacement record, therefore, according to using the illustrated later step of step S302 of Figure 19 A, appends DFL entry2101A shown in Figure 23 B.
On the other hand, the verification succeeds behind tentation data " C0 " record, then the alternative management information tabulation is constant.
Then, under the state of Figure 23 A, suppose from host apparatus 305 and send the location records data " C1 " of indication in LSN=128~192.State in Figure 24 A behind this record of expression execution.
Shown in Figure 24 A, the position of PSN=1228~1292 has been write down and has been finished, and therefore, data " C1 " are replaced to the position of PSN=1324~1388 in the user data area for example.
The replacement record of this moment is the 1st replacement record, therefore, according to using the illustrated later program of step S302 of Figure 19 A, appends DFL entry2102A and 2103A shown in Figure 24 B.
Here, this replacement record is the replacement record that 2200 (PSN=1228~1292) are substituted into continuum 2201 (PSN=1324~1388) from the continuum, therefore, as mentioned above, use expression to replace the DFL entry2102A of district's beginning and the DFLentry2103A of expression end position.
Promptly, drive unit 310 of the present invention generates starting position with continuum 2200 and is mapped to the 1st alternative management information (DFLentry2102A) of starting position of continuum 2201 and the 2nd alternative management information (DFL entry2103A) that the end position of continuum 2200 is mapped to the end position of continuum 2201 in the puppet that continuum 2200 is replaced with the continuum 2201 in the user data area 108 rewrites.
Here, though enforcement is the replacement record of the continuum of 3 ECC bunch of sizes, 2 DFL entry have only been appended.This is by the replacement item in the user area is shone upon the effect that realizes by means of DFLentry2102A and DFL entry2103A as the continuum.
In addition, about the replacement of continuum, after the 2nd time, can certainly upgrade existing DFL entry.
(embodiment 2)
2-1.NWA determine handling procedure
But definite method of record position next time (being called logic NWA later on) that the logical address returned by the request of drive unit 310 response host apparatus 305 is represented is described here.
In the present embodiment, logic NWA is determined by following program.
At first determine to comprise the physical sector shown in the LRA next ECC of ECC bunch bunch.This ECC bunch is exactly next record ECC bunch.But the beginning physical sector that writes down ECC bunch becomes record position next time, but is exactly above-mentioned NWA by record position next time that this physical address is represented.
To be PSN value that this NWA is represented be converted to the value of gained behind the LSN according to basic logical address-physical address map to the value of logic NWA.
Use several instantiations to describe below.
Under the state of Figure 12, the beginning of LRA500 indication user data area 108, therefore, the NWA in the physical address space of this moment is PSN=1100.The LSN corresponding with PSN=1100 is LSN=0, therefore, and logic NWA=0.
Among Figure 13 A, host apparatus 305 sends the position that indication records data " A " LSN=0 after drive unit 310 is obtained logic NWA=0.
In addition, and then after the record of data " A ", the LRA of track #1 points to ECC bunch that comprises PSN=1100, and therefore, this NWA is PSN=1132.Thus, logic NWA=32.At this moment, host apparatus 305 may send the indication at logic NWA=32 record data " B ".
And then after the record of data " B ", the LRA of track #1 points to the physical sector in ECC bunch that comprises PSN=1132, and therefore, this NWA is PSN=1164.Thus, logic NWA=64.
The feature of definite method of aforesaid logic NWA is to determine logic NWA so that keep the relation of basic logical address-physical address map.That is, at first determine NWA, obtain logic NWA according to basic logical address-physical address map then, therefore, do not need alternative management information 1010B for new data recording according to the LRA in the track.
In addition, in Figure 14 A, though actual up-to-date logic NWA is corresponding with LRA500B, host apparatus 305 sometimes kept with the corresponding value of LRA501B as logic NWA.
Carry out the record later by drive unit 310 as the action that is independent of host apparatus 305, and host apparatus 305 just might produce this state not when drive unit 310 is obtained up-to-date logic NWA to the position of PSN=1292.
In addition, if host apparatus 305 attempts to indicate the new data of record in this state, will send the record indication to the logic NWA corresponding with LRA501B, actual data are then recorded the position of PSN=1336 by drive unit 310.
This record is to replace record, therefore, just needs new alternative management information.
On the other hand, if host apparatus 305 from drive unit 310 obtain with the corresponding logic NWA of up-to-date LRA500B after send again the record new data indication, then this record can not become the replacement record, does not need new alternative management information yet.
Figure 15 A and Figure 16 A too, host apparatus 305 sometimes can keep the value corresponding with LRA501C as logic NWA among each figure, but actual up-to-date LRA is respectively LRA500C and LRA500D.
Thus, host apparatus 305 was preferably obtained up-to-date logic NWA before the record new data.
In a word, when host apparatus 305 indication record new datas, for example, in the tight front output request of the step S102 of Fig. 8 A so that obtain up-to-date logic NWA from drive unit 310.On the other hand, the drive unit 310 that receives this request will return to host apparatus 305 by LRA and the determined logic NWA of NWA according to said procedure.
The host apparatus 305 that receives logic NWA sends the next record indication according to this value.
By means of such action, when the record new data, no longer need alternative management information 1010B, only when having carried out the replacement record, just need alternative management information 1010B.
Consequently, can obtain following effect: suppress the increase of the data volume of alternative management information tabulation 1000, the treatment capacity when reducing record regenerating reduces amount of ram, and reduces data capacity on the information recording carrier 100 or the like.
(embodiment 3)
3-1. recording processing step (1)
NWA in above-mentioned embodiment 2 determines in the method, the situation that certain LSN is not used can occur.
For example, at Figure 14 A, the logic sector of the position of LSN=96 is the logic sector that never is recorded data from the angle of host apparatus 305 or file system.
This logic sector is called as and does not write down logic sector or do not use logic sector, isolated logic sector etc.
In addition, do not write down Logic Cluster that logic sector constitutes and be called and do not write down Logic Cluster by this.For example, the position of LSN=96~127 is not write down Logic Cluster among Figure 14 A.
Similarly, in Figure 15 A, the position of LSN=X2 is not write down logic sector.
Shown in Figure 14 A etc., for this logic sector that do not write down, with other the same LSN that also distributed of common logic sector, and the LSN of logic sector after this is constant, and this is the feature that NWA determines handling procedure in the above-mentioned embodiment.
When this logic sector that do not write down is sent when indication record, similarly carry out pseudo-regenerative recording with above-mentioned embodiment.For example, can be following processing.
Here, under the state of Figure 14 A, suppose and send the location records data " F " of indication LSN=96.
At this moment, drive unit 310 is converted to PSN=1196 with LSN=96 according to basic logical address-physical address map.
Compare PSN=1196 and NWA as can be known, PSN=1196 has write down and has finished.
At this moment, similarly carry out pseudo-regenerative recording with above-mentioned other embodiments.
So drive unit 310 is (being PSN=1336 in this case) record data " F " in the position shown in the NWA, and then generate alternative management information 518.
By this processing record is carried out in the position of LSN=96.Consequently, LSN=96 does not write down Logic Cluster, but becomes common Logic Cluster.
But, the position of the corresponding LSN=256 that is associated by basic logical address-physical address map with the position of PSN=1336~287 becomes again and does not write down Logic Cluster.
And then, behind the record data " G ", become the state of Figure 17 A and Figure 17 B.
3-2. playback processing program (1)
Among Figure 14 A, the Logic Cluster of the position of LSN=224 is not write down Logic Cluster.
The corresponding physical cluster of Logic Cluster that do not write down of the position by basic logical address-physical address map and LSN=224 is the position of PSN=1324.
The physical cluster of the position of PSN=1324 further associates by the physical cluster of alternative management information 514 with the position of PSN=1228.
In addition, the physical cluster of the position of PSN=1228 maps according to the Logic Cluster of the position of basic logical address-physical address map and LSN=128.
That is, the physical cluster of the position of PSN=1228 is assigned with these 2 Logic Cluster of not record Logic Cluster as the position of the Logic Cluster of the position of LSN=128 and LSN=224.
The following describes the program when regenerating under the state that 2 such Logic Cluster are assigned to 1 physical cluster.
At first, send the indication of regenerating from host apparatus 305 at the Logic Cluster of the position of LSN=128 after, by drive unit 310 LSN that receives is converted to PSN (being called a regeneration PSN) according to basic logical address-physical address map earlier.
Here, a regeneration PSN is PSN=1228.Retrieval has PSN=1228 as the alternative management information that is replaced item in the alternative management information tabulation, can find alternative management information 514A.
In addition, the indicated replacement of regeneration alternative management information 514A bunch is the physical cluster of PSN=1324 position.
On the other hand, the Logic Cluster of the position of LSN=224 sent the regeneration indication after, try to achieve PSN=1324 value as a regeneration item PSN according to basic logical address-physical address map.But retrieval in alternative management information tabulation can not find and has PSN=1324 as an alternative management information that is replaced.
Therefore, drive unit 310 begins playback of data from PSN=1324.
By this Regeneration Treatment, even the logic sector that do not write down that did not once also write down data is in logic being sent under the situation of indicating of regenerating the data of also can regenerating from the corresponding physical sector.
Thus, wait, no longer include the zone of exception the zone on information recording carrier 100, in its system architecture, no longer need to implement complicated fault processing, can come construction systems with simpler installation from the file system of main frame one side.
In addition, when not sending when indication regeneration,, will bear the data that should not regenerate originally more as mentioned above from corresponding physical bunch playback of data at writing down logic sector.If such data reproduction is not suitable for its system architecture, then can use following reproducer.
Promptly, when playback of data, after specifying the LSN that regenerates to be converted to PSN according to basic logical address-physical address map, retrieval has the PSN of this gained as the alternative management information 1010B that is replaced a positional information 1012 in alternative management information tabulation 1000.
If found the corresponding positional information 1012 that is replaced, then with above-mentioned other embodiments similarly from replacing ECC bunch of beginning playback of data of the position shown in the positional information 1013.
If do not find, then then with replace a positional information 1013 be the object retrieval have with specify the corresponding PSN value of LSN of regenerating be replaced a positional information 1012.
If found a corresponding replacement positional information 1013, then be judged as by this replacements item positional information 1013 indicated ECC bunch instead a bunch record finish.
At this moment, drive unit 310 is from this ECC bunch playback of data, but replaces, and for example all is that 0 value turns back to host apparatus 305 as playback of data with setting.
By this Regeneration Treatment, even, also can bear suitable data again from the corresponding physical sector not sending under the situation of indicating of regenerating to writing down logic sector.
In addition, this Regeneration Treatment is carried out when host apparatus 305 receives the regeneration indication at drive unit 310 in each step of the Regeneration Treatment of reference Figure 10 explanation.
3-3 NWA determines the comparison of program
Illustrate different from the embodiment described above, do not produce the NWA that does not write down logic sector and determine program.
Determining that at this NWA in the program, LRA manages to logic, is to write down new data among the logic NWA in the position on logic LRA next door.
At this moment, the LSN with presentation logic NWA is converted to PSN (as PSN-1) according to basic logical address-physical address map.
In addition, with respect to this logic NWA, the ECC of physical record data bunch is that to comprise ECC bunch of the PSN shown in the LRA213 next ECC bunch be NWA (PSN of position that will represent this NWA is as PSN-2).
With this PSN-1 as be replaced, PSN-2 as an alternative item replace record.
At this moment, for management logic NWA, use the embodiment different with track management information shown in Figure 25 3210.
In the track management information 3210 of Figure 25, final data record logical location information 3214 in the redetermination track.
Final data record position information 213 is by the final entry position in the PSN managing physical address space in the track, and relative therewith, final data record logical location information 3214 is by the final entry position in the LSN management logic address space in the track.
Final data record logical location information 3214 just can be determined each bar track logic NWA separately in drive unit 310 reference rail.
The update method of final data record logical location information 3214 is as follows in the track.
That is, set 0 initial value as final data record logical location information 3214 in the track.Then, the drive unit 310 that receives record indication from host apparatus 305 is accepted as LSN with record position.If the LSN that receives is bigger than final data record logical location information 3214 in the track, then with this LSN more in the new-track final data write down logical location information 3214.
Can make in the track final data record logical location information 3214 remain on maximal value by this processing.
Figure 26 A represented according to above-mentioned NWA determining step with Figure 13 A, Figure 14 A, journal that Figure 17 A is identical data " A ", " B ", " C ", " D ", " F ", " G " data structure afterwards.
Among Figure 26 B, with all management information (7) logins as an alternative of whole defect clusters.But, also can from tabulating 1000F, alternative management information delete these alternative management information (7).By deleting the capacity that can reduce among the alternative management information tabulation 1000F.
Here, comparison diagram 17B and Figure 26 B separately alternative management information tabulation 1000E and 1000F as can be known, the alternative management information quantity among the alternative management information tabulation 1000E reduces more.
If under deletion alternative management information (7) state afterwards, relatively, will find that the alternative management information quantity among the alternative management information tabulation 1000E becomes still less.
Thus, in embodiment 1 and the embodiment 2 explanation, produce the NWA do not write down logic sector determine method than with reference to Figure 26 A explanation do not produce the method that does not write down logic sector, be more suitable in the data capacity that suppresses the alternative management information tabulation.
In addition, in alternative management information tabulation 1000F, can grasp the distribution of the defect cluster on the information recording carrier 100 in advance, when regeneration, just can avoid these defect clusters and optimize data and read processing etc. by keeping alternative management information (7).
(embodiment 4)
In the present embodiment, further describe the logging program of data.
Figure 27 is the figure of an example that is illustrated in the data structure of the information recording carrier 100 before the data recording of carrying out present embodiment.The border between ECC bunch is represented in position among the figure shown in the .Also be same in other accompanying drawings afterwards.
The following describes in this state from the logging program of host apparatus 305 when drive unit 310 sends the record indication of data " D1 " 4622 and data " E1 " 4623.
The record indication of data " D1 " 4622 is for example pseudo-regenerative recording to be carried out in the position of writing down the PSN=a0 in the zone 4600 that finishes.
When executive logging was indicated, host apparatus 305 required logic NWA to drive unit 310.
Receive drive unit that logic NWA requires 310 and determine NWA4611A, will turn back to host apparatus 305 with the corresponding logic NWA of NWA4611A according to LRA4610A.
At this moment, sometimes host apparatus 305 can to drive unit 310 send continuously to the record indication of the corresponding LSN=A0 record data of PSN=a0 " D1 " 4622 and to the record indication of the corresponding LSN=A2 record data of NWA4611A (PSN=a2) " E1 " 4623.
If drive unit 310 has been carried out the record indication of data " D1 " 4622, data " E1 " 4623 successively according to the indication of the record of host apparatus 305, then its record result as shown in figure 28.
Here, the record of data " D1 " 4622 indication is that pseudo-regenerative recording is carried out in the record zone 4600 that finishes.Thus, data " D1 " 4622 are replaced to NWA4611A (PSN=a2).In addition, NWA4611A becomes NWA4611B (PSN=a3).
Replace record by this, the position of PSN=a2 becomes to write down and finishes, and therefore, data " E1 " 4623 further are replaced to NWA4611B (PNS=a3).
As mentioned above, be record indication though host apparatus 305 sends to writing down with the corresponding LSN=A2 of NWA4611A (PSN=a2), in fact record different therewith position (PNS=a3).
Thus, be not only at data " D1 " 4622A and generated alternative management information 1010, and also generated alternative management information 1010, thereby produced the problem that alternative management information 1000 capacity of tabulating increase at data " E1 " 4223A.
The cause of this problem is that drive unit has been implemented the replacement record that host apparatus 305 does not reckon with.
That is, implement to replace record by drive unit after, the other record indication of sending from host apparatus 305 needs to replace to be handled, and has caused the tabulate increase of 1000 capacity of alternative management information.
On the other hand, the following describes the method that in the recording step of present embodiment, does not produce with data " E1 " 4623 corresponding alternative management information 1010.
In the present embodiment, suppose when host apparatus 305 sends the record indication under the state of Figure 27, send the record indication that is used for additional record earlier.
In addition, after the record indication of additional record, send the record indication of regenerative recording.The result of this logging program is a data structure shown in Figure 29.
In addition, the file system of action is carried out the renewal of all files or newly-built management on host apparatus 305, therefore can determine to write down the order of indication.
Among Figure 29, data " E1 " 4623B records NWA4611A (PSN=a2).In addition, data " D1 " 4622B records PSN=a4.
As mentioned above, host apparatus 305 has sent the record indication at NWA4611A (PSN=a2), and therefore, the position is identical with the physical record position shown in the record indication.Thus, this record can not become the replacement record.
That is, alternative management information 1010 can not be generated, the tabulate increase of 1000 capacity of alternative management information can be prevented data " E1 " 4623.
In addition, in the record of data " D1 " 4622, under any one the situation of Figure 28 and Figure 29, all only need identical alternative management information 1010.In Figure 28 and Figure 29, have only the record position (promptly replacing the position of item) of data " D1 " 4622 to change the invariable number of necessary alternative management information 1010.
As above, present embodiment attempts to carry out under the situation of regenerative recording and additional record at host apparatus 305, by preferentially sending the record indication of additional record, can avoid producing alternative management information 1010, reduces the data capacity of alternative management information tabulation 1000.
(embodiment 5)
Here, investigation is divided into the data of a constant volume ECC bunch capacity (for example 64KB) size and sends the situation of record indication at each unit after cutting apart successively to drive unit 310 by host apparatus 305.
During these data of drive unit 310 continuous recordings, there is defect cluster at certain record position sometimes,, needs ECC bunch of use adjacency in order to replace this defect cluster.
In this case, after the record position thereafter, all record all can be replaced record to data in 1 bunch of 1 bunch of ground on the direction that PSN increases.
At this moment, each record unit all needs alternative management information, when the data capacity that will write down is very big, just needs a lot of alternative management information, thereby causes the data capacity of alternative management information tabulation 1000 to increase.
The program that the record destination that utilizes drive unit 310 to replace bunch of using in replacing record in the present embodiment below with reference to Figure 30 explanation is selected, this program helps to reduce the data capacity of alternative management information tabulation 1000.
Among Figure 30, for example, the record indication of sending by means of host apparatus 305 will be replaced bunches 5700 and replace record as being replaced item.
At this moment, replacing item determines by following steps.
In Figure 30, replacing bunch can be not recording areas 5601A (among the track #N5602), not recording areas 5612 (among the track #N+15610), not recording areas 5622 (among the track #N+25620), recording areas 5632 (among the track #N+35630) not, and wherein each all is assignable replacements item.
Here, check from the position that is replaced bunches 5700 that (for example, being replaced the beginning physical sector in bunches 5700) replace distance between the position (for example, the NWA position of open tracks) to candidate.In Figure 30, the distance of replacing item with respect to above-mentioned each candidate is respectively D13, D12, D10, D11.
Here the magnitude relationship of supposing each distance value is D13>D12>D11>D10.
If the not recording areas 562 2 of chosen distance nearest (being D10) is item as an alternative, be the shortest at that time then from being replaced a distance to the replacement item, the access time in the time of also can shortening data reproduction thus.
But, recording areas 5622 and be replaced a position 5700 and be included among the same track #N+2 5620 not.Therefore, be decided to be not recording areas 5622 if will replace item, then as mentioned above, when sending continuous record indication from host apparatus 305, the data capacity that alternative management information tabulation 1000 will occur increases such problem.
Therefore, in the present embodiment, though selected distance to be replaced a bunch nearest not recording areas as an alternative, the feature of this selections is, gets rid of and is replaced the not recording areas that item bunch is positioned at same track.
That is, get rid of nearest not recording areas 5622, the not recording areas 5632 of the next distance of selection nearly (being D11) is item as an alternative.
Thus, when send from host apparatus 305 at be replaced bunches 5700 write down indication the time, drive unit 310 replaces bunches 5710 at the NWA location records of recording areas 5632 not.
In addition, generate and to be used for representing being mapped to and replacing bunches 5710 alternative management information, and it is noted from being replaced bunches 5700.
As reference step S107 and S112 (Fig. 8 A) are illustrated, drive control part 311 of the present invention is when carrying out pseudo-regenerative recording, controlling recording reproducing unit 314 make with data recording to by with the record indication that is received in ad-hoc location beyond the position shown in the corresponding physical address of logical address that comprises, i.e. ad-hoc location in the user data area 108.
In the present embodiment, this ad-hoc location is the NWA in the open tracks different with determined track in step S104 (Fig. 8 A).
And then, nearest position, position shown in the corresponding physical address of logical address that the NWA in this open tracks represents to comprise in indicating with record.
By means of this recording step, even host apparatus 305 has then further sent record indication, recording areas 5622 is not carried out new data recording, can not become the replacement record yet, do not need to increase alternative management information.
In addition, from be replaced to a distance of replacing be minimum distance except same track.Thus, the access time in the time of can shortening data reproduction.
In addition, also can only check distance, determine to replace item at the not recording areas that has than being replaced a bunch big PSN.This be because, be to carry out journal in the additional record type information recording carrier along the direction that PSN increases, therefore, on the direction that PSN increases, replace to record and help visit data efficiently.In this case, exhaust, then can use not recording areas with less PSN if having the not recording areas of big PSN.
In addition, if there are a plurality of equidistant not recording areas, the direction of then preferably selecting PSN to increase.This be because, be to carry out journal in the additional record type information recording carrier along the direction that PSN increases, therefore, on the direction that PSN increases, replace to record and help visit data efficiently.
In addition, also can determine to be replaced with the difference of a PSN value of replacing and the distance of replacement item according to being replaced.Perhaps, also can determine with the physical distance of replacing item according to being replaced item.This be because, in information recording carrier 100, PSN begins to increase with spiral fashion from interior all sides, therefore, the difference of PSN value sometimes may be inconsistent with physical distance.For example, though on the radial direction of information recording carrier 100 ECC of adjacency bunch physical distance is near each other, the difference of PSN value is not minimum.
(embodiment 6)
In the present embodiment, further describe the logging program of data.
5-1. data structure
The user data area of having described information recording carrier 100 of the present invention 102 is divided into minimum visit unit, is physical sector, is least unit with ECC bunch of being made of a plurality of physical sectors, carries out the record regenerating of data.
In each ECC bunch and physical sector, except that user data, also comprise address information or various control information, attribute information (user's control data).
These information are pressed the information that physical sector unit sets in addition, and the information of setting by ECC bunch of unit is also arranged.
In order to improve reliability of recording data, user data or user's control data are recorded on the information recording carrier 100 after pressing ECC bunch of unit enforcement interleaving treatment or scrambling processing.
In the present embodiment, the several attribute informations that are contained in ECC bunch are described.
As shown in figure 34, each physical sector that comprises in ECC of the present invention bunch is set attribute informations such as Flag-A, Flag-B, Flag-C respectively.
Flag-A is for filling sign, the data that are recorded in each physical sector of expression are the valid data (Flag-A=0) that provide from host apparatus 305, or drive unit 310 is in order to imbed the padding data that writes down to ECC bunch of border (for example all be 0 pseudo-data) (Flag-A=1).Padding data is an example of invalid data.
Not that drive unit 310 inserts padding datas under ECC bunch the situation of integral multiple of capacity at data capacity, make the capacity of data of record consistent with ECC bunch border from the indication of host apparatus 305 record.
Flag-B is a validity flag, and the data that expression is recorded in each physical sector are valid data (Flag-B=0) or invalid data (Flag-B=1).
Usually, because each physical cluster of non-padding data comprises valid data, thus Flag-B=0, but for example when carrying out RMW and handle, be Flag-B=1 sometimes.
That is, in replacing recording RMW processing, certain physical sector of can not regenerating sometimes.
Exist under the situation of this unrenewable physical sector, do not have the data that will write down in the physical sector of corresponding replacement item.
As described in reference Fig. 8 B, in RMW handles,, must write back data once more after the physical sector playback of data.Thereby, in the step S153 shown in Fig. 8 B,, can produce misregistration if, then can not write back data from certain physical sector regeneration failure.
Therefore, in the present embodiment, the drive control part 311 of drive unit 310 in the physical sector of the replacement item that does not have the data that will write down, protocol failure data (for example pseudo-data such as 00h).
311 pairs of drive control parts have write down the physical sector of pseudo-data and have set Flag-B=1.Flag-B=1 represents not write down active data.
By the program of this data recording, can avoid the generation of RMW errors in processing.
Flag-C is the property a upgraded sign, is the sign that each physical sector in replacing bunch is set.
In the data that are contained in each physical sector in replacing bunch is under the data conditions that has changed from data that are replaced, sets Flag-C=0, as renewal is arranged.On the other hand, do not carrying out change, under the data conditions in former state record renewal source, setting Flag-C=1, do not upgrading as having.
And each ECC cocooning tool of present embodiment has the front position of replacement information, as one of its attribute information.The setting program details of replacement front position information as described later.
In the present embodiment, the status information 1011 of reference Figure 11 explanation is further appended flag information.
Here, shown in the alternative management information 1010C as shown in figure 35,, can judge the data class that comprises in ECC bunch that is replaced a positional information 1012 indications as Flag4.
Here, so-called data class be according to be replaced a positional information 1012 indication bunch in the data that comprise with replace a positional information 1013 indications bunch in the information determined of the relation of the data that comprise.
Particularly, the 1st data class is equivalent to be replaced the situation of a positional information 1012 indication defect clusters.If the value of the Flag4 of this moment for example is " 00 ".
The 2nd data class be equivalent to upgrade be replaced a positional information 1012 indication bunch in the data that comprise, utilize pseudo-the rewriting, replace a positional information 1013 indications bunch in the data conditions of record after upgrading.If the value of the Flag4 of this moment for example is " 01 ".
The 3rd data class be equivalent to be replaced a positional information 1012 indication bunch in the data independence that comprises, utilize pseudo-the rewriting, in this position to the situation of bunch record data of replacing a positional information 1013 indications.If the value of the Flag4 of this moment for example is " 10 ".
For example according to above-mentioned embodiment, the alternative management information 512 shown in Figure 13 B is equivalent to Flag4=00.In addition, the alternative management information 6200 shown in the alternative management information 514A shown in Figure 14 B or Figure 39 B is equivalent to Flag4=01.And the alternative management information 518 shown in Figure 17 B is equivalent to Flag4=10.
Shown in alternative management information 6200, as long as the situation that the packets of information the same with Flag4 is contained among the above-mentioned DFL entry2010 shown in Figure 180 for example is contained among the state 22011B.For example, making the value of state 2 2011B is the situation of the situation of " 1000 " corresponding to Flag4=01.
This Flag4 is set when data recording.For example in the step S113 of Fig. 8 A, set the information of Flag4.Perhaps, set state 2 2011B that are equivalent to Flag4.The details of the setting program of Flag4 as described later.
5-2. recording processing program
With reference to Figure 36 A, Figure 36 B and Figure 36 C, the program of the data recording of present embodiment is described.Here, if, data are recorded on the information recording carrier 100 with information recording/reproducing apparatus shown in Figure 6 300.
The detailed example of the processing of the step S156 shown in Figure 36 A presentation graphs 8B.Each step shown in Figure 36 A is carried out by the drive control part 311 of drive unit 310.
Before the step S156 of Fig. 8 B, utilize the step S153 of Fig. 8 B or step S154 to implement to read to handle, afterwards, utilize step S155 to implement " changing " and handle.
In step S153 and step S154, under the situation of reproductive success, drive control part 311 remains on the data of regeneration in the memory circuitry 312, under the situation that is replaced the physical sector that has the regeneration failure in an ECC bunch, drive control part 311 is in order to generate data that will be recorded in replacing ECC bunch, will be used for being recorded in and being replaced the physical sector that the physical sector of regeneration failure in an ECC bunch is corresponding in replacing ECC bunch invalid data, be that pseudo-data are inserted in the data that remain in the memory circuitry 312.
Then, in step S155, utilize the data shown in the record indication, change remains on the record data of wanting in the memory circuitry 132.
Above result as wanting record data, is remained in the memory circuitry 132.
Below, each step shown in the further explanatory drawings 36A.
(step S501) drive control part 311 determines to be recorded in the data on the information recording carrier 100.
(step S502) drive control part 311 is set and is remained on the pairing attribute information of data in the memory circuitry 312, will opening entry.
In step S151 (Fig. 8 B), be judged as under the situation of essential RMW processing the value of the attribute information that obtains as the regeneration result among former state maintenance step S153 or the step S154.
In step S153 and S154, under the situation that is replaced the physical sector that has the regeneration failure in an ECC bunch, as being recorded in the data of replacing in the item, insert invalid data, be pseudo-data, as to be recorded in a physical sector in the physical sector that is replaced in an ECC bunch the regeneration failure corresponding replaced ECC bunch in data.In step S502, pairing Flag-B sets " 1 " to the physical sector that has inserted invalid data.
In step S155 (Fig. 8 B),, set Flag-C=0 to having implemented " changing " processing physical sector afterwards that RMW handles.
(step S503) drive control part 311 is set to remain on and is wanted the pairing replacement of record data front position information in the memory circuitry 312.
In step S151 (Fig. 8 B), has not replaced under the situation of (promptly the data recording that indication is carried out according to record is the 1st pseudo-regenerative recording) being defined as comprising by record indication appointed positions ECC bunch, replacement front position information setting has been represented to be replaced the information of the address of item bunch.An address that is replaced bunch is represented by record indication appointed positions (for example according to basic logical address-physical address map, to be converted to physical address by the logical address of record indication appointment, by the position of the ECC that comprises this physical address bunch beginning PSN value representation).
In step S151 (Fig. 8 B), under being defined as comprising the situation that has been replaced by replacement cluster (promptly the data recording that indication is carried out according to record is the pseudo-regenerative recording after the 2nd time) by ECC bunch that writes down the indication appointed positions, represent the information of the address of the replacement cluster of having replaced to replacing the front position information setting, with the replacement item of indicating tight front bunch.
The address of the replacement item of this tight front bunch is for example obtained from alternative management information in step S151 (Fig. 8 B).
In addition, in above-mentioned steps S502 (Figure 36 A), in replacing bunch, have under the situation of the physical sector of having set Flag-B=1, in the step S113 of Fig. 8 A, state 2 2011B of the alternative management information of this replacements processing of management are set at " 1000 ".
The detailed example of the processing of step S157 shown in Figure 36 B presentation graphs 8B.Each step shown in Figure 36 B is carried out by the drive control part 311 of drive unit 310.
(step S506) drive control part 311 will be defined as being recorded in data on the information recording carrier 100 by record indication data designated.
(step S507) drive control part 311 is set and is remained on the pairing attribute information of data in the memory circuitry 312, will opening entry.
Set the value of regulation to being contained in each sign in ECC bunch the attribute information.For example, set Flag-A=0, Flag-B=0, Flag-C=0.
The result as the data that will write down, is remained in the memory circuitry 312.
(step S508) drive control part 311 is set the pairing replacement of the data front position information in the memory circuitry 312, will opening entry that remains on.
This step is the same with the S503 of Figure 36 A.
The detailed example of the processing of the step S109 shown in Figure 36 C presentation graphs 8A.Each step shown in Figure 36 C is carried out by the drive control part 311 of drive unit 310.
(step S511) drive control part 311 definite data that will write down.Particularly, drive control part 311 will indicate data designated to be defined as the data that will write down by record.
At this moment, whether drive control part 311 is judged by record indication data designated end consistent with ECC bunch of border.Under inconsistent situation, insert padding data (for example all being the data of 00h), make the end of data consistent with ECC bunch of border, be defined as the data that will write down.
(step S512) drive control part 311 is set and is remained on the pairing attribute information of data in the memory circuitry 312, will opening entry.
Each sign that is contained in ECC bunch the attribute information is set initial value.For example, set Flag-A=0, Flag-B=0, Flag-C=1.
Wherein, the physical sector of record padding data among the step S511 is set Flag-A=1.
The result as the data that will write down, is remained in the memory circuitry 312.
(step S512) drive control part 311 is set the pairing replacement of the data front position information in the memory circuitry 312, will opening entry that remains on.
In this step, to replacing the information that the front position information setting represents not replace record.
For example setting all is the value of " 0 ".
5-3. playback processing program
With reference to Figure 37, the program of the data reproduction of present embodiment is described.Here, if with information recording/reproducing apparatus shown in Figure 6 300, from information recording carrier 100 playback of data.
Each step shown in Figure 37 is carried out by the drive control part 311 of drive unit 310.
(step S651) drive control part 311 is accepted the regeneration indication.
(step S652) drive control part 311 is according to basic logical address-physical address map, and the logical address of the reproduction position that comprises in the expression regeneration indication is converted to physical address.
(step S653) drive control part 311 retrieval alternative management information, this alternative management information comprise ECC bunch the beginning PSN that contains the physical address that obtains among the S652 in steps, as being replaced item.
If find corresponding alternative management information, then handle and advance to S654.If do not find corresponding alternative management information, then handle and advance to S655.
(step S654) drive control part 311 is set the alternative management information of finding among the step S653 and is expressed as the physical address of replacing item, as reproduction position.
(step S655) drive control part 311 is set the physical address that obtains by according to the logical address that basic logical address-the physical address map conversion is indicated appointment by regenerating, as reproduction position.
(step S656) drive control part 311 controlling recording reproducing units 314 are with the reproduction position playback of data from being set by step formerly.
Drive control part 311 utilizes the error-detecting debugging functions, determines whether regeneration is successful.
Under the situation of the reproductive success of all physical sectors, finish Regeneration Treatment.
Under the situation of the physical sector that has the regeneration failure, handle advancing to step S657.
(step S657) drive control part 311 determines whether can be to the tentative again Regeneration Treatment of the physical sector of regeneration failure.
Determine whether the physical sector of regeneration failure is set Flag-B=1.
Be defined as being set with under the situation of Flag-B=1, handling advancing to step S659.At this moment, by carrying out the tentative again of data reproduction, can from the mistake of regenerating, recover from replacing the position shown in the information of front position.
Perhaps, in step S653, be judged as under the situation of replacing item, judge whether the Flag4 of alternative management information is " 01 " (or state 2 2011B are " 1000 ").Based on the judgement of Flag4 in the regeneration failure of step S656, especially effective in the time of can not regenerating Flag-B.
Be " 01 " if be judged as Flag4, then handle advancing to S659.
Under situation in addition, (also comprise not to be judged as among the step S653 and do not have the situation of replacing item), handle advancing to S658.
(step S658) drive control part 311 determines to have produced the regeneration mistake.As a result, Regeneration Treatment finishes.
(step S659) drive control part 311 is set and is replaced the physical address shown in the information of front position, as reproduction position.
(step S660) drive control part 311 controlling recording reproducing units 314 are with the reproduction position playback of data from step setting formerly.
Utilize the error-detecting debugging functions, judge whether regeneration is successful.
Under case of successful, Regeneration Treatment finishes.At this moment, the data that will set the pairing physical sector regeneration of physical sector of Flag-B=1 in replace bunch output to host apparatus 305.
Under the situation of failure, handle advancing to step S658.
In addition, when not writing down logic sector and carry out the regeneration indication, as described in step S656, if carry out the regeneration of data from the corresponding physical sector, the data that then will regenerate and originally should not regenerate.Under the situation that produces this data reproduction fault, can use following reproducer.
That is, when playback of data, according to basic logical address-physical address map, the LSN of regeneration appointment is converted to PSN, retrieval has the PSN that obtains and is used as the alternative management information 1010B that is replaced a positional information 1012 in the alternative management information tabulation 1000.If find corresponding replacement front position information 1012, then from the physical sector playback of data of the PSN that obtains.
At this moment, obtain from ECC bunch of the physical sector that comprises regeneration and to replace front position information, check and replace in the information of front position whether logined effective value.Logining in replacing front position information has under the situation of effective value, this ECC bunch is not write down Logic Cluster as can be known, so drive unit 310 will not turn back to host apparatus 305 from the data of this ECC bunch regeneration, replace and return setting, for example all be 0 value, as playback of data.
In addition, also can replace and check replacement front position information, and check Flag-A.Obtain Flag-A, the value of checking Flag-A corresponding to the physical sector of regeneration.Since under the situation of Flag-A=1 as can be known this physical sector, replace and return setting, for example all be 0 value, so drive unit 310 will not turn back to host apparatus 305 from the data that this physical sector is regenerated for not writing down logic sector as playback of data.
In addition, also can check Flag-B.Equally, obtain Flag-B, check its value corresponding to the physical sector of regeneration.Since under the situation of Flag-B=1 as can be known this physical sector, replace and return setting, for example all be 0 value, so drive unit 310 will not turn back to host apparatus 305 from the data that this physical sector is regenerated for not writing down logic sector as playback of data.
In addition, also can check Flag-C.Equally, obtain Flag-C, check its value corresponding to the physical sector of regeneration.Since under the situation of Flag-C=0 as can be known this physical sector, replace and return setting, for example all be 0 value, so drive unit 310 will not turn back to host apparatus 305 from the data that this physical sector is regenerated for not writing down logic sector as playback of data.
By this Regeneration Treatment, even if do not sending under the situation of indicating of regenerating to writing down logic sector, also can be from the suitable data of corresponding physical sector regeneration.
5-4. the example of record and Regeneration Treatment
Below, the example based on the concrete processing of Figure 36 A-Figure 36 C and data recording shown in Figure 37 and reproducer is described.
For example, establish among Figure 34, be used to record indication, newly-built record data " A0 " among bunch #i6000 of the ECC in user data area from host apparatus 305.At this moment, the values that write down pairing each sign of physical sector 6003 of data " A0 " become Flag-A=0, Flag-B=0, Flag-C=0.
In addition, because capacity and ECC bunch of border of the data " A0 " that provide from host apparatus 305 are inconsistent, so the remainder driven device 310 protocol failure data of ECC bunch of #i6000, be padding data.The value that has write down pairing each sign of physical sector of padding data is Flag-A=1, FlagB=0 etc.
Below, as if the state for Figure 34, the PSN=a1 indication record data " B1 " among 305 couples of ECC bunch of #i6000 of host apparatus then write down the result shown in Figure 38 A.
Under the state of Figure 34, ECC bunch of #i6000 be record, handles with replacing and handles so carry out RMW.That is ECC bunch of #i6000 of drive unit 310 regeneration.Data " A0 " after the regeneration are inserted data " B1 ", also upgrade necessary value of statistical indicant.In addition, insert padding data, up to ECC bunch border.
The data that so obtain are recorded among the ECC bunch of #i+1 6001 as recording areas not.And then generation is made as ECC bunch of #i6000 and is replaced item, ECC bunch of #i+1 6001 is made as the alternative management information 1010 of replacing item.
Shown in Figure 38 A, the value that has write down the pairing Flag-C of physical sector of data " A0 " among ECC bunch of #i+1 6001 is 1.This be because, in above-mentioned RMW handles, drive unit 310 with data " A0 " from ECC bunch of #i exact copy to ECC bunch of #i+1, upgrade.
Below, for the state of Figure 38 A,, then write down the result shown in Figure 39 A if establish host apparatus 305 indications record data " C2 " in ECC bunch of #i6000.
This moment is same, owing to ECC bunch of #i6000 record, so carry out the RMW processing and replace processing.That is ECC bunch of #i+1 6001 of drive unit 310 regeneration.Afterwards, the data of regeneration are carried out the insertion of data " C2 " and padding data and the renewal of the value of statistical indicant of necessity.With the data recording that obtains to as ECC bunch of #i+2 6002 of posting field not.And, generate ECC bunch of #i6000 is made as shown in Figure 39 B and be replaced item, ECC bunch of #i+2 be made as the alternative management information 6200 of replacing item.
Here, be located in the regeneration of ECC bunch of #i+1 6001 the regeneration failure of data " A0 ".If former, because this failure does not advance to RMW and handles misregistration.
On the other hand, in the present embodiment, shown in Figure 40 A, in the physical sector in wanting ECC bunch of #i+2 6003 of record data " A0 ", write down pseudo-data, as a token of value is set at Flag-B=1.In other physical sector, record is from the correct data of ECC bunch of #i+1 6002 regeneration of the replacement position of the tight front of conduct.By this logging program, can continue to ECC bunch of #i+2 record.
This moment is same, generates the alternative management information 6200 shown in Figure 39 B.
Perhaps, also can be shown in Figure 39 A, check the value of the Flag-C of the physical sector that has write down data " A0 " in the ECC bunch of #i+1 6001, if there is not renewal (=1), then, record ECC bunch of #i+2 6002 from the ECC bunch of #i6000 sense data " A0 " of the status data that records ECC bunch of #i+1 6001 tight fronts.
Owing to read the status data of this tight front, so each ECC cocooning tool of present embodiment has the front position of replacement information, as one of its attribute information.
With reference to Figure 38 A, Figure 39 A, Figure 40 A the front position information of replacing is described.For example, if ECC bunch of #i+1 6001 then has the value as the PSN=a0 of the address information of the beginning physical sector of ECC bunch of #i6000, as an alternative front position information 6101 (with reference to Figure 38 A).Equally, if ECC bunch of #i+2 then has the value as the PSN=a2 of the address information of the beginning physical sector of ECC bunch of #i+1, as an alternative front position information 6102 (with reference to Figure 39 A, Figure 40 A).
Promptly, is the 1st replacement record with reference to Figure 38 A explanation to ECC bunch of #i+1 6001 record data " B0 ", owing to there is not the replacement position of tight front, so set address information, be the value of PSN=a0 as the beginning physical sector of an ECC bunch of #i6000 who is replaced to replacing front position information 6101.
In addition, with reference to Figure 39 A explanation be replacement record the 2nd time after to ECC bunch of #i+2 6002 record data " C2 ", so to replace front position information 6100 set as tight front replace item ECC bunch of #i+1 6001 the beginning physical sector address information, be the value of PSN=a2.
In addition, the situation to ECC bunch of #i6000 record data " A0 " that illustrates with reference to Figure 34 is not to replace record, so as the information of representing it, to replacing for example setting " 0 " of front position information 6100.
In the additional record type medium of ECC bunch of use, have following characteristic, that is, the renewal of data becomes pseudo-regenerative recording, and the status data of tight front is still residual, writes down new data.
In the present embodiment,, in ECC bunch, reset again to be illustrated in and whether upgraded the identifying information of data in the RMW processing or replaced front position information, the reliability of pseudo-regenerative recording is improved by utilizing this feature.
That is, expression drive unit 310 being set, to be recorded in data in each physical sector be the valid data that provide from host apparatus 305 or the attribute information of invalid data.
Under the situation that is invalid data, so it is that the capacity of data capacity than ECC bunch owing to from the indication of host apparatus 305 record is little of to imbed the padding data (Flag-A=1) that writes down to ECC bunch of border that drive unit 310 can be distinguished, the physical sector of failing during still RMW handles, for landfill regeneration and the invalid data (Flag-B=1) that writes down.
In RMW handles, even if produce under the wrong situation of regeneration, also can set the attribute information (Flag-B=1) of this state of expression by the pseudo-data of record as invalid data, finish recording processing.And, when this is regenerated, can judge by replacing the valid data that whether have tight front on the position shown in the information of front position, by the data of the tight front of regenerating, carry out from the wrong recovery of regenerating.
By pressing physical sector unit difference because from the few invalid data that inserts of data capacity (padding data) and pseudo-data of host apparatus 305 record indications, thus can judge from the recovery of the mistake of regenerating, effective from the data of which physical sector.
If be judged as the valid data that have tight front, then, can obtain valid data from replacing ECC bunch of playback of data of the position shown in the information of front position.Thus, the reliability in the pseudo-regenerative recording is improved.
In addition, by the front position information of replacing is set, the data of the tight front of can regenerating when ECC bunch that writes down from replacement regeneration are carried out from the wrong recovery of regenerating.
In addition, by this Flag4 is set, can under following situation, obtain effect.
That is, when desire is regenerated certain when replacing bunch, sometimes because of can not regenerate this replacement bunch of certain reason.For example user's spots such as fingerprint are attached to the situation on replacing bunch.
At this moment, drive unit 310 under the situation of Flag4=00 or Flag4=01, attempts being replaced the ECC shown in the information 1012 bunch regeneration with reference to the Flag4 of alternative management information.
Under the situation of Flag4=00, being replaced item is defect cluster, the checking treatment failure during its record.
But the current situation of carrying out regeneration might reproductive success.For example, when verification and during the state variation of information recording carrier 100 (remove spot, environment temperature is not equal) or the drive unit of carrying out regeneration not simultaneously, reproductive success sometimes.
If reproductive success, then it is with the same from replacing a data of regeneration.Thus, even if the regeneration failure to replacing bunch also can as host apparatus 305, can be accepted correct data from being replaced a bunch regeneration of carrying out necessary data.
In addition, under the situation of Flag4=01, be replaced be before upgrading bunch, carry out its regeneration usually.RMW when wherein, the part or all of data in ECC bunch are by new record more handles and rewrites.
In other words, because during partial data do not residue in bunch to change before renewal, so these data that do not change are valid data for host apparatus 305.
And, because the only this not data of change turn back to host apparatus 305 really from drive unit 310, thus also the physical sector that can upgrade with can discern RMW the time and not the information of the physical sector of renewal be recorded in each physical sector.For example, Flag-B or the Flag-C as ECC bunch attribute information is equivalent to this.
Thus, can only return not data on the physical sector that upgrades to host apparatus 305.
In addition, under the situation of Flag4=10, being replaced item is and the unallied data in renewal back so do not carry out regeneration, to handle as the regeneration mistake.
By carrying out above-mentioned processing, can carry out the high data recording regeneration of reliability to information recording carrier 100.
As the example of Flag4=01, shown in above-mentioned alternative management information 514A or alternative management information 6200, to carry out under the situation of repeatedly replacing record, the information 1012 that is replaced of this alternative management information does not constitute the replacement item bunch of tight front.
For example, bunch be ECC bunch of PSN=1228 by being replaced shown in the information 1012 that be replaced of alternative management information 514A, but the replacement item of tight front it bunch is ECC bunch of PSN=1292.
Thus, carrying out under the situation of repeatedly replacing record,, knowing the renewal prevariety of tight front by with reference to above-mentioned replacement front position information.
For example, under the situation of the alternative management information shown in Figure 39 B 6200, be state 22001B=" 1000 " that the ECC bunch of #i6000 of indication PSN=a0 is as being replaced bunch.
But shown in Figure 39 A, for ECC bunch of #i+2 6002, the renewal prevariety of tight front is ECC bunch of #i+1 6001.
In addition, owing to the beginning physical sector of ECC bunch of #i+2 6002 can not be regenerated in RMW handles, so write down pseudo-data (Flag-B=1).
At this moment, drive unit 310 is when ECC bunch of #i+2 6002 of regeneration, from as ECC bunch of #i+1 6001 playback of data that upgrade prevariety, replace the beginning sector of ECC bunch of #i+2 6002, the data on the beginning sector of ECC bunch of #i+1 6001 are turned back to host apparatus 305.
(embodiment 7)
Because under the situation of the alternative management information tabulation that scar on the information recording carrier or spot etc. can not be regenerated up-to-date, can not be specific whether will be by ECC bunch of regeneration indication appointment instead of other ECC bunch.At this moment, can not correctly regenerate and be reproduced the data of indication.
Therefore, for correct playback of data, whether must check and to repair up-to-date alternative management information and to tabulate by ECC bunch of regeneration indication appointment instead of other ECC bunch.
The reproducer of the data in the time of can not regenerating part or all of alternative management information tabulation 1000 because of certain reason is described in the present embodiment with reference to Figure 41.
Figure 41 is that the repeatedly figure of data structure one example of the information recording carrier 100 of data recording has been carried out in expression.
Among Figure 41, ECC bunch of #j7000 as being replaced item, being carried out and repeatedly replace record, it is replaced item and takes over the order of changing, and is made as ECC bunch of #j+1 7001, #j+2 7002, #j-1 7003.
The for example above-mentioned embodiment of this record order is described, is determined by following search program, promptly when item is replaced in retrieval, becomes big direction by PSN and retrieves not posting field, if arrive the end of user data area, then returns beginning.
In the present embodiment, each ECC bunch comprises replacement front position information shown in Figure 41.
Under this state, when because under the situation of part or all of certain reason and the alternative management information of can not regenerating tabulation 1000, if in the past, because it is unclear to replace the corresponding relation of record, so correct playback of data.
Therefore, in the present embodiment, the replacement front position information by checking that each ECC cocooning tool has is described, repairs up-to-date alternative management information tabulation 1000, carry out the method for correct data reproduction.
During repair process in carrying out present embodiment, information recording/reproducing apparatus 300B or drive unit 310 regenerating information recording mediums 100 each ECC bunch, and check the replacement front position information that each ECC cocooning tool has.
That is, check the replacement front position information that each ECC cocooning tool of information recording carrier 100 has, to replace the front position information setting expression ECC bunch of information (for example value be " 0 ") of replacing record be to be replaced an ECC bunch or also fully ECC bunch of the execution replacement.
The value of replacing front position information is not that ECC bunch of information of representing not replace record is ECC bunch that replaces.
Among Figure 41, the replacement front position information setting of ECC bunch of #j 7000 represents not replace the information (for example " 0 ") of record.
The replacement front position information 7700,7701,7702 of ECC bunch of #j+1 7001, #j+2 7002, #j-1 7003 is set the information of expression PSN=b1, PSN=b2, PSN=b3 respectively.
Under this state, the essential final replacement item that detects ECC bunch of #j 7000.
Use and replace the up-to-date replacement item that front position information is judged ECC bunch of #j 7000.That is, can replace front position information by search judges.
Among Figure 41, as can be known ECC bunch of #j 7000 replaced with ECC bunch of #j-1 7003.
Thus, renewable ECC bunch of #j 7000 is made as is replaced, ECC bunch of #j-1 7003 is made as an alternative management information of replacing, can carry out the reparation of alternative management information tabulation 1000.
As mentioned above, even if when the alternative management information tabulation 1000 of can not regenerating because of certain reason part or all of, also can check the value of replacing front position information, repair up-to-date alternative management information and tabulate 1000 by information recording carrier 100 whole having been write down ECC bunch.
That is, owing to be replaced item and the corresponding relation of replacing item as can be known, so renewable one-tenth alternative management information tabulation 1000.Be recorded in the information recording carrier 100 by alternative management information tabulation 1000, can carry out common regeneration since next time with regeneration.
In addition, as determining up-to-date other method of replacing item, the method that refresh counter is used as each ECC bunch attribute information is set in addition.
Refresh counter is to ECC bunch of setting 0 of new record.To replacing ECC bunch of record destination, record again after carrying out when upgrading, all adding 1.
Among Figure 41, ECC bunch of #j 7000 sets " 0 ", and ECC bunch of #j+1 7001, #j+2 7002, #j-1 7003 set " 1 ", " 2 ", " 3 " respectively.
Have peaked ECC bunch in this refresh counter and be up-to-date data.
In addition, the sign (Flag-D) of expression record kind also can be set, as each ECC bunch attribute information.
This sign is that ECC bunch of expression replacement item is the information of the replacement record (Flag-D=0) or the replacement of the pseudo-regenerative recording record (Flag-D=1) of defect cluster.
Sometimes be under the situation of defect cluster at above-mentioned ECC bunch #j 7000, can not regenerate is contained in the ECC bunch of attribute information such as replacement front position information among the #j 7000.
At this moment, if the sign (Flag-D) of expression record kind is arranged in replace ECC bunch, then know be replaced be before the defect cluster or the renewal of pseudo-regenerative recording bunch.
This information helps regeneration alternative management information tabulation 1000.
In pseudo-regenerative recording, the address value of the replacement item by an address value of carrying out the information of replacing record to replacing front position information setting and record expression, be replaced bunch, tight front, and by this ECC bunch of regeneration, thereby under the situation of destroying the alternative management information tabulation owing to certain reason, can carry out this repair process.Write down ECC bunch replacement front position information by checking all, known ECC bunch that is replaced an ECC bunch or replaces item.In addition, decidable is corresponding to ECC bunch of the up-to-date replacement item that is replaced an ECC bunch.
(embodiment 8)
Fig. 42 is figure of data structure of the track management information 8210 of expression present embodiment.Track management information 8210 is characterised in that except that track management information 210, also to have track and generate information 8214.
When track generates information 214 and is provided to append certain track on information recording carrier 100, the various information when storing this and appending.
For example, by the size or the position of host apparatus 305 indication tracks, under the situation of appending new track, the track generation information 8214 of the pairing track management information 8210 of the track of specified size or position is set the information that situation is appended in expression.This information for example is meant the sign of regulation or represents the id information etc. of this host apparatus.
As other example, size or position by drive unit 310 indication tracks, under the situation of appending new track, the track generation information 8214 of the pairing track management information 8210 of the track of specified size or position is set expression append the sign of situation.Perhaps, also can set the id information of this main frame of expression.
In addition, do not indicate the size of track or position in addition expressly and the track that exists.Track in the pairing track management information 210 of this track is generated the value that information 8214 is also set regulation.For example, set whole tracks by 00h and generate information 8214 etc.
Figure 43 is the state change map that is illustrated in when appending track on the information recording carrier 100.
Figure 43 is an original state, gives a track #1 with the information recording carrier integral dispensing.Under this state, from the size of the 305 track designation #1 of main frame portion, the state that appends track #2 as shown in figure 44.
At this moment, the pairing track of track #1 is generated information 214 and set the sign that expression is generated by host apparatus 305.
On the other hand, track #2 can't help host apparatus 305 direct specified size etc., is attaching the size of track designation #1 and the track that appends.
Thus, the pairing track of track #2 is generated information 8214 and set 00h.
The same afterwards, if the size of track designation #2 among Figure 45 then generates information 8214 to the pairing track of track #2 and sets the sign that expression is generated by host apparatus 305.
And track #3 can't help host apparatus 305 direct specified size etc., is attaching the size of track designation #2 and the track that appends, sets 00h so track is generated information 8214.
Among Figure 46, append track #4 again to the end portion of information recording carrier 100 from host apparatus 305 indications.
At this moment, the pairing track of track #4 is generated information 8214 and set the sign that expression is generated by host apparatus 305.
On the other hand, though the size of change track #3 owing to be not directly to be specified by host apparatus 305, does not change (still being 00h) so track generates the value of information 8214.
It is useful in the following cases that above-mentioned track generates information 8214.
That is, usually, track is the zone of being guaranteed for certain purpose by main frame portion 305 grades.
In addition, if certain track noresidue capacity then appends new track.
At this moment, new track is appended in the indication of the track of 305 pairs of residual clear areas of host apparatus.
But, be the track that utilizes purpose to append for certain by the track that appends from the indication of main frame portion 305 before this.
Thereby, should be to be intended to set the capacity of distributing to each track for certain, the intention when this track is appended other track and will violate that track appends originally.
Therefore, in the present embodiment, reference rail generates information 8214, judge before this during, host apparatus 305 etc. do not plan the track of setting capacity.
That is, check track is generated the track that information 8214 is set 00h, this track is appended new track.
By carrying out this processing, append new track to the intention when track appends before can not violating, use and the user convenience raising.
Also can only append new track, forbid the track of value beyond setting is appended new track to the track that track is generated information 8214 setting 00h.At this moment, can further strictly limit the new track of violating the intention when track appended in the past appends.
The present invention can be used for providing a kind of drive unit that can not utilize user data area in the pseudo-regenerative recording of additional record type CD lavishly etc.

Claims (2)

1. a drive unit carries out journal to additional record type recording medium, wherein,
Above-mentioned additional record type recording medium comprises a plurality of ECC bunches,
Above-mentioned a plurality of ECC bunch comprises a plurality of physical sectors respectively,
Above-mentioned drive unit comprises: record regenerating portion, carry out operation of recording or regeneration action to above-mentioned additional record type recording medium; And drive control part, control above-mentioned record regenerating portion,
Wherein, above-mentioned drive control part is carried out following action at least:
Accept to specify at least the record indication of data that will write down and the position that will write down above-mentioned data;
Carrying out RMW handles, it is to regenerate to comprising by the recorded data that is replaced in an ECC bunch of above-mentioned record indication appointed positions that this RMW handles, revise at least a portion of the data after the above-mentioned regeneration, and with above-mentioned revised data recording in replace ECC bunch;
In above-mentioned RMW handles, determine at the above-mentioned physical sector that whether has the data reproduction failure in an ECC bunch that is replaced; And
When in above-mentioned RMW handles, being defined as under the above-mentioned situation that is replaced the physical sector that has the data reproduction failure in an ECC bunch, in the above-mentioned status information that is replaced an ECC bunch of alternative management information that is replaced by ECC bunch of above-mentioned replacement item of expression, set the above-mentioned state information value that is replaced the physical sector that has the data reproduction failure in an ECC bunch of expression.
2. a drive unit is regenerated to the data that are recorded in the additional record type recording medium, wherein,
Above-mentioned additional record type recording medium comprises a plurality of ECC bunches,
Above-mentioned a plurality of ECC bunch comprises a plurality of physical sectors respectively,
In above-mentioned a plurality of ECC bunches, record the front position information of replacing respectively,
In the data recording of carrying out according to the record indication is under the situation of additional record, is set with the information that record is replaced in expression in the information of above-mentioned replacement front position,
In the data recording of carrying out according to above-mentioned record indication is under the situation of the 1st pseudo-regenerative recording, is set with the information of expression by above-mentioned record indication appointed positions in the information of above-mentioned replacement front position,
In the data recording of carrying out according to above-mentioned record indication is under the situation of the 2nd later pseudo-regenerative recording, is set with the information of expression by the replacement item of above-mentioned record indication appointed positions in the information of above-mentioned replacement front position,
Above-mentioned drive unit comprises: record regenerating portion, carry out operation of recording or regeneration action to above-mentioned additional record type recording medium; And drive control part, control above-mentioned record regenerating portion,
Wherein, above-mentioned drive control part is carried out following action at least:
The regeneration indication of the position of the data that will regenerate is specified in acceptance at least;
Determine whether in the status information of alternative management information, to be set with state information value, the status information of this alternative management information is represented to comprise by being replaced an ECC bunch and being replaced by and replacing ECC bunch of the specified position of above-mentioned regeneration indication, and this state information value is illustrated in the above-mentioned physical sector that has the data reproduction failure in an ECC bunch that is replaced; And
In the status information that is defined as in above-mentioned alternative management information, be set with under the situation that is illustrated in the above-mentioned state information value that is replaced the physical sector that has data reproduction failure in an ECC bunch, control above-mentioned record regenerating portion so that the data of record in following such ECC bunch are regenerated, wherein this ECC bunch be in by with ECC bunch of corresponding above-mentioned ECC bunch of being replaced the represented position of a positional information of above-mentioned replacement item.
CN 200580027822 2004-06-15 2005-06-15 Drive device Pending CN101006511A (en)

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP177664/2004 2004-06-15
JP177662/2004 2004-06-15
JP177663/2004 2004-06-15
JP2004177662 2004-06-15
JP177668/2004 2004-06-15
JP177665/2004 2004-06-15
JP177666/2004 2004-06-15
JP189013/2004 2004-06-25
JP255440/2004 2004-09-02

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN2010101345152A Division CN101807418B (en) 2004-06-15 2005-06-15 Drive device

Publications (1)

Publication Number Publication Date
CN101006511A true CN101006511A (en) 2007-07-25

Family

ID=38701571

Family Applications (8)

Application Number Title Priority Date Filing Date
CN200910140035A Pending CN101640056A (en) 2004-06-15 2005-06-14 Drive device
CN2009101286414A Expired - Fee Related CN101577134B (en) 2004-06-15 2005-06-14 Drive device
CN2005800278232A Expired - Fee Related CN101006512B (en) 2004-06-15 2005-06-14 Drive device
CN2005800277507A Expired - Fee Related CN101023485B (en) 2004-06-15 2005-06-14 Drive device
CN2005800272166A Expired - Fee Related CN101015014B (en) 2004-06-15 2005-06-15 Drive device
CN2005800278158A Expired - Fee Related CN101006510B (en) 2004-06-15 2005-06-15 Drive device
CN 200580027822 Pending CN101006511A (en) 2004-06-15 2005-06-15 Drive device
CN2005800272293A Expired - Fee Related CN101015015B (en) 2004-06-15 2005-06-15 Drive device

Family Applications Before (6)

Application Number Title Priority Date Filing Date
CN200910140035A Pending CN101640056A (en) 2004-06-15 2005-06-14 Drive device
CN2009101286414A Expired - Fee Related CN101577134B (en) 2004-06-15 2005-06-14 Drive device
CN2005800278232A Expired - Fee Related CN101006512B (en) 2004-06-15 2005-06-14 Drive device
CN2005800277507A Expired - Fee Related CN101023485B (en) 2004-06-15 2005-06-14 Drive device
CN2005800272166A Expired - Fee Related CN101015014B (en) 2004-06-15 2005-06-15 Drive device
CN2005800278158A Expired - Fee Related CN101006510B (en) 2004-06-15 2005-06-15 Drive device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN2005800272293A Expired - Fee Related CN101015015B (en) 2004-06-15 2005-06-15 Drive device

Country Status (1)

Country Link
CN (8) CN101640056A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207959A (en) * 2012-01-13 2013-07-17 宇龙计算机通信科技(深圳)有限公司 Encryption method and system based on data card of file system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6056215B2 (en) * 2012-06-28 2017-01-11 ソニー株式会社 Recording apparatus and recording method
JP5966838B2 (en) * 2012-10-10 2016-08-10 ソニー株式会社 Recording control apparatus and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0172465B1 (en) * 1994-11-11 1999-04-15 김광호 Edit recording apparatus
JPH11213626A (en) * 1998-01-21 1999-08-06 Toshiba Corp Data recording medium, data recording apparatus and data reproducing apparatus
JP2000200461A (en) * 1999-01-06 2000-07-18 Sanyo Electric Co Ltd Disk recorder
JP4407095B2 (en) * 2001-12-14 2010-02-03 株式会社日立製作所 Recording method and recording apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207959A (en) * 2012-01-13 2013-07-17 宇龙计算机通信科技(深圳)有限公司 Encryption method and system based on data card of file system

Also Published As

Publication number Publication date
CN101015014B (en) 2011-09-28
CN101015015A (en) 2007-08-08
CN101023485A (en) 2007-08-22
CN101006510B (en) 2011-09-07
CN101577134A (en) 2009-11-11
CN101640056A (en) 2010-02-03
CN101015015B (en) 2010-09-29
CN101023485B (en) 2010-11-03
CN101006512B (en) 2011-04-20
CN101006512A (en) 2007-07-25
CN101006510A (en) 2007-07-25
CN101577134B (en) 2012-05-30
CN101015014A (en) 2007-08-08

Similar Documents

Publication Publication Date Title
CN101807418B (en) Drive device
CN101894576B (en) Drive device
CN101859579B (en) Drive device
CN101707060B (en) Drive device
CN101006510B (en) Drive device
CN1860549B (en) Drive device
CN101006509B (en) Drive device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070725