CN101006510A - Drive device - Google Patents

Drive device Download PDF

Info

Publication number
CN101006510A
CN101006510A CN200580027815.8A CN200580027815A CN101006510A CN 101006510 A CN101006510 A CN 101006510A CN 200580027815 A CN200580027815 A CN 200580027815A CN 101006510 A CN101006510 A CN 101006510A
Authority
CN
China
Prior art keywords
mentioned
management information
record
data
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.)
Granted
Application number
CN200580027815.8A
Other languages
Chinese (zh)
Other versions
CN101006510B (en
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
Priority claimed from PCT/JP2005/010955 external-priority patent/WO2005124771A1/en
Publication of CN101006510A publication Critical patent/CN101006510A/en
Application granted granted Critical
Publication of CN101006510B publication Critical patent/CN101006510B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

A drive device (310) includes a recording/reproduction unit (314) and a drive control unit (311). The drive control unit (311) allocates a continuous area at a particular position in the user data area other than the position specified by a recording instruction, controls the recording/reproduction unit so as to record data in the allocated continuous area, and generates new disc management information including first alternation management information for mapping the starting position of the continuous area specified by the recording instruction at the starting position of the allocated continuous area and second alternation management information for mapping the end position of the continuous area specified by the recording instruction at the end position of the allocated continuous area.

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 was continuous defect block sequence, the pointer that status information represents to point to defect area was 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 disc management information area and user data area, in above-mentioned disc management information area, record the disc management information that is used to manage above-mentioned additional record type recording medium, 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 record of accepting the continuum of above-mentioned user data area is appointed as the position of wanting record data is indicated; Distribute (allocate) to give the continuum by the ad-hoc location in the above-mentioned user data area beyond the above-mentioned position of above-mentioned record indication appointment; Control above-mentioned record regenerating portion, make above-mentioned data recording in the above-mentioned continuum of distributing; Generate new disc management information, this new disc management information comprise with by the starting position mapping (mapping) of the above-mentioned continuum of above-mentioned record indication appointment to the 1st alternative management information of the starting position of the above-mentioned continuum of distributing and will indicate the end position of the above-mentioned continuum of appointment to be mapped to the 2nd alternative management information of the end position of the above-mentioned continuum of distributing by above-mentioned record; And control above-mentioned record regenerating portion, make above-mentioned new disc management information is recorded in the above-mentioned disc management information area.
Another drive unit of the present invention carries out journal to additional record type recording medium, wherein, above-mentioned additional record type recording medium comprises disc management information area and user data area, in above-mentioned disc management information area, record the disc management information that is used to manage above-mentioned additional record type recording medium, above-mentioned disc management information comprises the map information that the 1st continuum in the above-mentioned user data area is mapped to the 2nd continuum in the above-mentioned user data area, above-mentioned map information constitutes: the starting position that the starting position of above-mentioned the 1st continuum is mapped to above-mentioned the 2nd continuum, and, the end position of above-mentioned the 1st continuum is mapped to the end position of above-mentioned the 2nd continuum, 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 record of accepting will the part of above-mentioned the 1st continuum to be appointed as the position of wanting record data is indicated; Control above-mentioned record regenerating portion, make above-mentioned data are recorded in by the ad-hoc location in the above-mentioned user data area beyond the above-mentioned position of above-mentioned record indication appointment; Upgrade above-mentioned map information, make except above-mentioned position, keep the mapping status of realizing by above-mentioned map information by above-mentioned record indication appointment; Generation comprises the new disc management information of the map information after the above-mentioned renewal; And control above-mentioned record regenerating portion, make above-mentioned new disc management information is recorded in the above-mentioned disc management information area.
Above-mentioned map information comprise starting position with above-mentioned the 1st continuum be mapped to above-mentioned the 2nd continuum the starting position the 1st alternative management information and the end position of above-mentioned the 1st continuum is mapped to the 2nd alternative management information of the end position of above-mentioned the 2nd continuum, the renewal of above-mentioned map information is undertaken by following action: generation will be by the above-mentioned location map of above-mentioned record indication appointment the 3rd new alternative management information to above-mentioned ad-hoc location; Do not upgrade above-mentioned the 1st alternative management information and above-mentioned the 2nd alternative management information ground and generate the 4th new alternative management information and the 5th new alternative management information; And above-mentioned the 3rd new alternative management information, above-mentioned new the 4th alternative management information and above-mentioned the 5th alternative management information be appended in the above-mentioned map information.
Above-mentioned map information comprise starting position with above-mentioned the 1st continuum be mapped to above-mentioned the 2nd continuum the starting position the 1st alternative management information and the end position of above-mentioned the 1st continuum is mapped to the 2nd alternative management information of the end position of above-mentioned the 2nd continuum, the renewal of above-mentioned map information is undertaken by following action: generation will be by the above-mentioned location map of above-mentioned record indication appointment the 3rd new alternative management information to above-mentioned ad-hoc location; Above-mentioned the 3rd new alternative management information is appended in the above-mentioned map information; And upgrade above-mentioned the 1st alternative management information and above-mentioned the 2nd alternative management information.
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 the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 35 is the process flow diagram of recording processing in the expression embodiments of the present invention.
Figure 36 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 36 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 37 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 37 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 38 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 38 B is the key diagram about alternative management information 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 is the key diagram about alternative management information in the embodiments of the present invention.
Figure 41 is the key diagram of skipping record about AV data in the embodiments of the present invention.
Figure 42 is the key diagram about alternative management information in the embodiments of the present invention.
Figure 43 is the key diagram about alternative management information in the embodiments of the present invention.
Figure 44 is the key diagram about alternative management information 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、121LRA
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 (original) positional information
1013 replace (replacement) 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 10 3 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 #1401, track #2402, 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 program 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 13 A 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 1010B is DFL entry2010.
The state 12011A that comprises among the DFL entry2010 and state 22011B, defect cluster beginning PSN 2012, replace bunch beginning PSN 2013 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 PSN 2012 and replace a bunch beginning PSN 2013 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 12011A comprise at least with alternative management information 1010B in the Flag1 information identical with Flag2.That is, for example, when the value of state 12011A 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 PSN 2013, 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 22011B 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 12011A.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 12011A 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 step 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 Figure 22 A 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 program 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 DFL entry2103A of expression end position.
Promptly, drive unit 310 of the present invention generates the starting position of continuum 2200 is mapped to the 1st alternative management information (DFL entry2102A) of the 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 program (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-3NWA 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 #N 5602), 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 5622 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+25620 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 above-described embodiment, with reference to Figure 15 A and Figure 16 A the method for using alternative management information (2), (3) and alternative management information (5), (6) to replace writing down the continuum is illustrated.
In the present embodiment, further pseudo-ly rewritten these continuous carrying out and replace a program part, data structure and data recording in the zone of record to describe being used for.
The program of the data recording of present embodiment is described with reference to Figure 34.Wherein, use information recording/reproducing apparatus 300 shown in Figure 6, data are recorded in the information recording carrier 100.Alternative management information have alternative management information shown in Figure 180 an example, be the data structure of DFL entry2010.
The example of performed step among the step S113 shown in Figure 34 presentation graphs 8A.These steps are carried out by the drive control part 311 of drive unit 310.
(step S301) drive control part 311 determines whether to be the 1st time replacement record.
Particularly, drive control part 311 determines whether be replaced by on other the position by record indication appointed positions (that is the position of being represented by the corresponding physical address of logical address that is comprised with the record indication).As a result, processing advances to step S302.Under situation about being replaced, being defined as is the 2nd later replacement record.As a result, processing advances to step S311.
Whether be replaced by other the determining of position by record indication appointed positions, for example by determining whether in up-to-date alternative management information tabulation, to be found and to carry out as being replaced alternative management information that a positional information has by record indication appointed positions.
In addition, the processing of step S301 is identical with the processing of the S151 shown in Fig. 8 B.Thus, by the result of determination of the step S151 value as built-in variable is kept, in step S301,, whether be replaced by and replaced bunch thereby also can determine to comprise by record indication appointed positions ECC bunch with reference to the value of this built-in variable.
(step S311) drive control part 311 is determined from indicating by record whether the replacement of appointed positions to other position is from the single ECC bunch of replacement to single ECC bunch.
Whether determining so for example is found in up-to-date alternative management information tabulation and carries out as being replaced alternative management information that a positional information has by determining to contain to comprise by ECC bunch scope of record indication appointed positions.
For example, 1DFL entry2010 (state 2 2011B=" 0001 ") and 2DFLentry2010 (state 2 2011B=" 0010 ") are found in the alternative management information tabulation.Wherein, the 1st DFL entry2010 shines upon (mapping) starting position to the 2nd continuum with the starting position of the 1st continuum, and 2DFL entry2010 is mapped to the terminal position of the 1st continuum the terminal position of the 2nd continuum.The 1st continuum and the 2nd continuum all are to include a plurality of ECC bunch continuous zones.
In this case, 1DFL entry2010 and 2DFL entry2010 represent from a plurality of continuous ECC bunch to a plurality of ECC bunch continuous replacements, therefore, be defined as not being from single ECC bunch of replacement to single ECC bunch.As a result, processing advances to step S312.The back is described in detail step S312 with reference to Figure 35.Not that being defined as is from the single ECC bunch of replacement to single ECC bunch under such situation.As a result, processing advances to step S304.
Wherein, step S302~processing of step S305 is identical with the processing of step S302 shown in Figure 19~step S305.Therefore omit its explanation here.
Figure 35 represents the example of step performed among the step S312 shown in Figure 34.These steps are carried out by the drive control part 311 of drive unit 310.
(step S651) drive control part 311 generates new 3DFL entry2010, and this 3DFL entry2010 is stored in the memory circuitry 312.This 3DFL entry2010 is used to represent from comprising by the single ECC of record indication appointed positions bunch to the replacement that comprises by the single ECC of the certain location beyond the record indication appointed positions bunch.
(step S652) drive control part 311 is set to value among the 3DFL entry2010.
Particularly, expression exists " 00 00 " of the replacement record of replacing item to be set among state 1 2011A of 3DFLentry2010.Comprising by record indicates the value of ECC bunch beginning PSN of appointed positions to be set among the defect cluster beginning PSN2012 of 3DFL entry2010.Comprise physical record the value of beginning PSN of replacement cluster of ad-hoc location of data be set among the replacement cluster beginning PSN2013 of 3DFL entry2010." 0000 " of representing single bunch replacement record is set among state 2 2011B of 3DFL entry2010.
(step S653) drive control part 311 is determined: exclude to comprise in the continuum of 1DFL entry2010 that from by step S311, is found (state 2 2011B=" 0001 ") and 2DFL entry2010 (state 2 2011B=" 0010 ") expression and indicate in ECC bunch the zone of appointed positions by record, whether residual have comprise a plurality of ECC bunches continuum.So really, whether continuous usual practice as indicating with respect to follow-up ECC bunch of sign and with reference to this and carry out by set this ECC bunch of expression in each ECC bunch that this continuum comprised.
In step S653, be defined as handling advancing to step S654 under the residual situation that the continuum arranged.In step S653, be defined as under the residual situation about having, handle advancing to step S656 by the single ECC bunch zone that constitutes.
In addition, excluding ECC bunch the zone that comprises by record indication appointed positions in the continuum that the 1DFL entry2010 that finds from by step S311 and the 2nd DFLentry2010 represent is under the situation about being made of a plurality of zones, whether for each zone is determining of continuum, determines that the result carries out the processing of step S654 or step S656 for each.
(step S654) drive control part 311 generates new DFL entry, and this new DFL entry is stored in the memory circuitry 312.
Particularly, under the situation that determined residual continuum begins from the starting position of being represented by 1DFLentry in step S653, generate new 4DFL entry2010, and, determined residual continuum generates new 5DFL entry2010 under the situation that the terminal position of being represented by 2DFL entry finishes in step S653.
(step S655) drive control part 311 is set in value among the DFL entry2010 newly-generated among the step S654.
Particularly, " 0000 " of the expression replacement replacement that an exists record is set among state 1 2011A of 4DFLentry2010.The value that comprises by ECC bunch the beginning PSN that writes down ECC bunch the tight front of indicating appointed positions is set among the defect cluster beginning PSN2012 of 4DFL entry2010.The value of ECC bunch beginning PSN that comprises ECC bunch replacement item by record indication appointed positions and be ECC bunch tight front is set among the replacement cluster beginning PSN2013 of 4DFL entry2010.Expression is that " 0010 " of the end position of continuum is set among state 2 2011B of 4DFL entry2010.
Particularly, " 0000 " of the expression replacement replacement that an exists record is set among state 1 2011A of 5DFLentry2010.The value that comprises by ECC bunch the beginning PSN that writes down ECC bunch the tight back of indicating appointed positions is set among the defect cluster beginning PSN2012 of 5DFL entry2010.The value of ECC bunch beginning PSN that comprises ECC bunch replacement item by record indication appointed positions and be ECC bunch tight back is set among the replacement cluster beginning PSN2013 of 5DFL entry2010.Expression is that " 0001 " of the starting position of continuum is set among state 2 2011B of 5DFL entry2010.
The 1st and 2DFL entry2010 be not updated.As a result, the 1st keeps identical value with 2DFLentry2010.
So, 1DFL entry2010 and 4DFL entry2010 represent with the part of the 1st continuum (promptly, continuum till since beginning ECC bunch of the 1st continuum to ECC bunch that comprises by ECC bunch tight front of record indication appointed positions) is mapped to the part (that is being continuum till ECC bunch ECC bunch of tight front to comprising ECC bunch replacement item by record indication appointed positions) of the 2nd continuum since beginning ECC bunch of the 2nd continuum.This is mapped as from a plurality of continuous ECC bunches of mappings to a plurality of continuous ECC bunches.
In addition, 5DFL entry2010 and 2DFL entry2010 represent with the part of the 1st continuum (promptly, from comprising the continuum till by ECC bunch tight back of record indication appointed positions ECC bunch begins to the 1st continuum final ECC bunch) be mapped to the part (that is being continuum till ECC bunch ECC bunch of tight back begins to the 2nd continuum final ECC bunch) of the 2nd continuum from comprising ECC bunch replacement item by record indication appointed positions.This is mapped as from a plurality of continuous ECC bunches of mappings to a plurality of continuous ECC bunches.
The value of 311 renewals the 1st of (step S656) drive control part and 2DFL entry2010.
Particularly, be defined as in step S653 under the situation identical with the starting position of being represented by 1DFL entry2010 of the position of the residual zone that single ECC bunch arranged and this single ECC bunch, the value of state 2 2011B of 1DFL entry2010 is updated to " 0000 " from " 0001 ".Thus, 1DFL entry2010 represents from the single ECC bunch replacement to single ECC bunch.
The other field of 1DFL entry2010 is not updated, and keeps identical value.
Be defined as in step S653 under the situation identical with the terminal position of being represented by 2DFL entry2010 of the position of the residual zone that single ECC bunch arranged and this single ECC bunch, the value of state 2 2011B of 2DFLentry2010 is updated to " 0000 " from " 0010 ".Thus, 2DFL entry2010 represents from the single ECC bunch replacement to single ECC bunch.
The other field of 2DFL entry2010 is not updated, and keeps identical value.
In addition, in step S654 and S655, can generate the 4th and 5DFL entry2010 and upgrade its value, also can generate the 4th or 5DFL entry2010 in any DFLentry2010 and upgrade its value.Under the situation that determined residual continuum begins from the starting position of being represented by 1DFL entry in step S653, generate new 4DFLentry2010, under the situation that the terminal position of being represented by 2DFL entry finishes, generate new 5DFL entry2010.Thus, be defined as in step S653 under the residual situation that the continuum arranged, except by record indication appointed positions, the mapping status from the 1st continuum to the 2nd continuum is kept.
In addition, in step S656, can upgrade the 1st and the value of 2DFL entry2010, also can upgrade the 1st or 2DFL entry2010 in the value of any DFL entry2010.Residual when single ECC bunch district is arranged when in step S653, being defined as, under the situation identical of the position of this single ECC bunch with the starting position of representing by 1DFL entry2010, the value of state 2 2011B of 1DFL entry2010 is updated, under the situation identical with the terminal position of being represented by 2DFL entry2010 of the position of this single ECC bunch, the value of state 2 2011B of 2DFLentry2010 is updated.Thus, be defined as in step S653 under the residual situation about having by the single ECC bunch zone that constitutes, except indicating appointed positions by record, the mapping status from the 1st continuum to the 2nd continuum is kept.
So, according to corresponding by in the represented continuum that is replaced item of the 1st and the 2DFL entry2010 that are found among record indication appointed positions and the step S311 which place, and execution in step S654, S655, S656, except indicating appointed positions by record, the mapping status from the 1st continuum to the 2nd continuum is kept.
For example, also can be by the single ECC bunch zone that constitutes with by the combination of a plurality of ECC bunches of continuums that constitute except zone by record indication appointed positions.
In addition, also can be more than 1 ECC bunch by the position in the zone of record indication appointment.In this case, in step S651, with the 1st and identic 2 the DFL entry of 2DFL entry (being respectively state 2 2011B=" 0001 " and state 2 2011B=" 0010 ") by newly-generated.
Below, according to the program of Figure 34 and data recording shown in Figure 35 concrete processing example is described.
In the state shown in Figure 16 A, drive unit 310 accepts data " E2 " 6000 are recorded in the record indication of the position of LSN=V2.Wherein, data " E1 " have been recorded in the position of LSN=V2.
Record position in the physical address space of data " E2 " 6000 is determined according to the LRA500D shown in Figure 16 A, is PSN=v7 here.
The relation of having carried out LSN after the record of data " E2 " 6001 and PSN is shown in Figure 36 A.Promptly, be replaced by the 2nd continuum 1201 with respect to the 1st continuum 1200 in Figure 16 A, the part that the 1st continuum 1201 is replaced by the 2nd continuum in Figure 36 A promptly continuously replaces the district 6101 (part of PSN=x4~replace v4), separately bunch 6102 (PSN=v7) and the 2nd continuum promptly replaces distinguishing 6103 continuously (PSN=v6~x5).
Reflect this state, alternative management information tabulation 1000 is updated shown in Figure 36 B.Wherein newly append alternative management information 6601,6602 and 6603.
Wherein, alternative management information 6602 is corresponding to the pseudo-regenerative recording of above-mentioned data " E2 " 6000.In addition, alternative management information the 6601, the 6603rd is added in order to cut apart continuum 1201 and to shine upon.
By above-described recording processing, when existing regeneration to LSN=V2 to require,, realize pseudo-regenerative recording from PSN=v7 playback of data " E2 ".
If under the situation about cutting apart of not carrying out such replacement item, just continuum 1201 integral body must be replaced with the continuum of identical size.In the example shown in Figure 36 A, are objects of Data Update although have only ECC bunches 6104 in the continuum 1201, but need to comprise the replacement of a plurality of ECC bunches continuum 1201 integral body, the waste that can produce user data area.In addition, also need the regeneration and the record of recorded data in the continuum 1201, this can increase the processing time that is used to write down.
In addition, according to the program of the data recording in the present embodiment, the ECC shown in Figure 36 A bunch of 6104 ECC bunches of only having needs to upgrade are like that replaced, and are corresponding, change the kind of alternative management information.Thus, can avoid the waste of user data area.
In addition, the program of above-mentioned data recording can be adapted to the replacement record both sides of pseudo-regenerative recording and defect cluster.
In addition, in the state shown in Figure 24 A, drive unit 310 is received in the record indication of the location records data " C2 " of LSN=160.Wherein, data " C1 " have been recorded in the position of LSN=160.
Figure 37 A represents to carry out pseudo-regenerative recording state afterwards according to this record indication.Data " C " 6301 are recorded in the position of PSN=1388.
Reflect this state, the alternative management information tabulation is updated shown in Figure 37 B.Wherein, newly append alternative management information 6402.In addition, alternative management information 6401 and 6403 is replaced and replaces with the identical expression with 2103A of alternative management information 2102A of Figure 24 B, but the value of state 2 2011B is changed, and is converted into the alternative management information of the replacement that is used for single ECC bunch.
By carrying out such processing, just need not continuum 6110 integral body are replaced with the continuum of identical size.Thus, can avoid the waste of user data area.
(embodiment 7)
In the above-described embodiment, when carrying out pseudo-regenerative recording, alternative management information (1) or (4) just are appended in the alternative management information tabulation 1000, and the capacity of alternative management information tabulation 1000 is increased.
In the present embodiment, for by with a plurality of alternative management information (1) or (4) to alternative management information (2) and (3) or and (6) conversion method of cutting down the capacity of alternative management information tabulation 1000 narrate.
In the state shown in Figure 16 A, drive unit 310 is designated as: data " E3 " 7000 are recorded in the position of LSN=V1, data " E4 " 7001 are recorded in the position of LSN=V2, data " E5 " 7002 are recorded in the position of LSN=V3.Wherein, data " E1 " have all been recorded in the position of LSN=V1, V2, V3.
Record position in the physical address space of data " E3 " 7000, data " E4 " 7001, data " E5 " 7002 (promptly replacing item) decides according to the LRA500D shown in Figure 16 A.In this example, these record positions are respectively the positions of PSN=v7, PSN=v8, PSN=v9.
The relation of having carried out LSN after the record of data " E3 " 7000, data " E4 " 7001, data " E5 " 7002 and PSN is shown in Figure 38 A.
At this moment, tabulate 1000 the time,, generate and amount to 3 alternative management information (4) with respect to replacement record separately when upgrade alternative management information with the method identical with above-mentioned embodiment.
In addition, in the present embodiment, shown in Figure 38 B, upgrade alternative management information tabulation 1000.Wherein newly append alternative management information 7611,7612. Alternative management information 7611,7612 is respectively alternative management information (5) and (6).
Promptly, drive control part 311 is checked from the zone of host apparatus 305 record indications, judging to be replaced item and to replace whether item is the continuum, all is under the situation of continuum being judged as, and uses alternative management information (5), (6) or (2), (3) to replace record.
As mentioned above, do not use under the situation of present embodiment, need to amount to 3 alternative management information (4), but under the situation of using present embodiment, only 2 alternative management information get final product, can realize that the capacity of alternative management information tabulation 1000 is cut down.
For the effect of cutting down alternative management information, the zone of object that becomes pseudo-regenerative recording is wide more, more the effect that can obtain.This is because according to present embodiment, for the continuum, only need 2 fixing all the time alternative management information.
As mentioned above, with from the unit of the record of host apparatus 305 indication independently, the physical configuration that drive unit 310 is considered to be replaced item and replaced the data of item by using alternative management information (5), (6) or (2), (3), just can be cut down the capacity that alternative management information is tabulated.
In addition, above-mentioned explanation is applicable to the replacement record both sides of identical on the meaning that replaces record, pseudo-regenerative recording and defect cluster.
For example, replacing item also can be in replacing the district.
In addition, in the state shown in Figure 24 A, drive unit 310 is designated as: data " C3 " are recorded in the position of LSN=128, data " C4 " are recorded in the position of LSN=160, data " C5 " are recorded in the position of LSN=192.Wherein, data have all been recorded in the position of LSN=128, LSN=160, LSN=192.
In this embodiment, data " C3 ", data " C4 ", data " C5 " are recorded in the position of PSN=1420, PSN=1452, PSN=1484 respectively.
The relation of having carried out LSN after the record of data " C3 ", data " C4 ", data " C5 " and PSN is shown in Figure 39 A.
And, shown in Figure 39 B, upgrade the alternative management information tabulation.Wherein newly append alternative management information 7401,7403. Alternative management information 7401,7403 is equivalent to alternative management information (5) and (6) respectively, and in order to represent the mapping of continuum, state 2 2011B separately become " 0001 " and " 0010 ".
(embodiment 8)
In the embodiment of reference Figure 36 A explanation, be illustrated for being used for further pseudo-data structure and the logging program that rewrites the part in the zone of having carried out continuous replacement record.
In the present embodiment, by using the data structure of different alternative management information tabulations, for can the equally further pseudo-method that rewrites the part in the zone of having carried out continuous replacement record describing.
Figure 40 has carried out the tabulation of the alternative management information in the present embodiment 1000 under the situation of the record identical with Figure 36 A.
Different with other embodiments on following this point, that is, in alternative management information tabulation 1000, between alternative management information (5) and (6), configurable alternative management information (4).
Particularly, in Figure 40, be that to dispose alternative management information (4) between alternative management information 516A and the 517A be alternative management information 8601 in alternative management information (5) and (6).
By carrying out such configuration, only newly append alternative management information 8601 for the tabulation of the alternative management information shown in Figure 16 B 1000 and get final product.
Thus, by the less alternative management information tabulation 1000 of capacity shown in Figure 40, can realize pseudo-regenerative recording for the zone of having carried out continuous replacement record.
In addition, also alternative management information (1) can be configured between alternative management information (5) and (6), perhaps alternative management information (1) or (4) be configured between alternative management information (5) and (6).In these cases, also can obtain effect same as described above.
(embodiment 9)
In the present embodiment, the record for different pseudo-regenerative recordings describes in proper order.
When the AV data that will comprise images such as video recording, film or voice data were recorded in the such information recording carrier of CD, in order to guarantee continuous data reproduction, above-mentioned AV data had predetermined continuous length, at the enterprising line item of information recording carrier.For example, in dvd standard, the continuum that will have such predetermined length is called CDA.
And, in the record of such AV data, do not carry out write-verify checking and handle, use the defect management mode of skipping (skip) record that is called.
As shown in figure 41, what is called is skipped record and is meant following method, promptly, (1) with the AV data in the process of panel (extent) #1 record, (2) avoid and skip this defect area when detecting defect cluster 9600 because of some reasons such as error in addresss, (3) next continue the record of AV data as panel #2 in recordable zone.
At this moment, for defect cluster 9600, not carrying out to the replacement of replacing the zone is the feature of skipping record.
Do not carry out to the reason of the replacement of replacing the zone is if replace, then need can't guarantee the regeneration of continuous AV data to the visit of replacing the zone during AV data reproduction.
Skipping of such AV data following problem is arranged in the record.That is, owing to skip defect cluster in the record of AV data, therefore the record position of data has just changed at this moment.And the change of this record position also needs reflection with respect to file system.
For example, in Figure 41, the data configuration 9601 in the logical address space of the AV data of record preceding document system supposition is the position of LSN=B1~B4.Yet because defect cluster 9600, the data configuration 9602 in the logical address space of physical record has just become the position of LSN=B1~B2 and LSN=B3~B5.
Handle for the change of in the recording processing of carrying out the AV data, carrying out such logical data configuration in real time, the such problem of installation that needs special file system is just arranged.
In addition, need transmit to host apparatus 305 from the detection of drive unit 310 defect cluster 9600.Thus, exist when desire just realizes skipping when writing down need be than the existing system such problem of complex installation more.
Therefore, in the present embodiment, in skipping record, solve above-mentioned problem by using replacement information.
The recording method of present embodiment is described with reference to Figure 41 and Figure 42.
In the present embodiment, skip record same as described abovely, write down the AV data to information recording carrier 100 with identical physical data configuration.
But the drive unit 310 that has carried out skipping record generates alternative management information 9601 shown in Figure 42 and 9611 this point with different in the past.
Wherein, alternative management information 9601 and 9611 is to avoid defect cluster 9600, recording alternative management information is replaced to the zone of PSN=a3~a5 in the zone of PSN=a2~a4.
By generating such alternative management information, the data configuration in the logical address space becomes data configuration 9603.
Data configuration 9603 becomes the zone of LSN=A1~A4, can keep identical data configuration with the data configuration 9601 of supposition before the record.
Thus, even skipping under the situation of record, file system one side in host apparatus 305 also need not to operate especially.In addition, even can not skip record to the detection that host apparatus 305 transmits defect cluster 600 from drive unit 310 yet.
By the above, present embodiment is not handled by the AV data not being carried out write-verify checking, and skips record, thereby can have the reliability that improves data recording and then can realize that the installation of file system or drive unit reduces such excellent results.
In addition, as an example of AV data, having can be with the definite Real-timeFile of UDF standard.
(embodiment 10)
In the present embodiment, with reference to Figure 43 the different instances of alternative management information is described.
In Figure 43, new flag information AVFlag10000 is set in status information 1011.
AVFlag10000 is that the corresponding alternative management information of expression is the replacement information used of the data beyond the AV data, or the sign of the replacement information used of AV data.
The alternative management information tabulation 1000 under the situation of this AVFlag10000 is used in expression in the alternative management information 10610A of Figure 44 and 10611B.
By reference AVFlag10000, drive unit can know in advance whether corresponding data are AV data.
As mentioned above, the AV data are recorded in the mode of not carrying out checking treatment, and the possibility of makeing mistakes is arranged when therefore regenerating.
If, just can carry out preparation or countermeasure corresponding to such mistake implementing to learn whether be the AV data before the regeneration, so in the facility of installing of system.
Also comprise alternative management information 10620 and 10620 in alternative management information tabulation 1000 shown in Figure 44.Alternative management information 10620 and 10620 is alternative management information (7) of the position of expression defect cluster.
In the present embodiment, if in the #2 of the panel of Figure 43, exist under the situation of defect cluster, then shown in the alternative management information tabulation 1000 as shown in figure 44, allowing in alternative management information (5), (6) is that insertion represents that the alternative management information (7) of the position of defect cluster is the data structure of alternative management information 10620 or 10620 between alternative management information 10610A and the 10611B.By this data structure, just need not cutting apart of alternative management information 10610A and 10611B.Thus, can cut down the capacity of alternative management information tabulation.
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 (4)

1. a drive unit carries out journal to additional record type recording medium, wherein,
Above-mentioned additional record type recording medium comprises disc management information area and user data area,
In above-mentioned disc management information area, record the disc management information that is used to manage above-mentioned additional record type recording medium,
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 record indication of the position of wanting record data is appointed as the continuum of above-mentioned user data area in acceptance;
The continuum is distributed to by the ad-hoc location in the above-mentioned user data area beyond the above-mentioned position of above-mentioned record indication appointment;
Control above-mentioned record regenerating portion, make above-mentioned data recording in the above-mentioned continuum of distributing;
Generate new disc management information, this new disc management information comprise with the starting position by the above-mentioned continuum of above-mentioned record indication appointment be mapped to the above-mentioned continuum of distributing the starting position the 1st alternative management information and will be mapped to the 2nd alternative management information of the end position of the above-mentioned continuum of distributing by the end position of the above-mentioned continuum of above-mentioned record indication appointment; And
Control above-mentioned record regenerating portion, make above-mentioned new disc management information is recorded in the above-mentioned disc management information area.
2. a drive unit carries out journal to additional record type recording medium, wherein,
Above-mentioned additional record type recording medium comprises disc management information area and user data area,
In above-mentioned disc management information area, record the disc management information that is used to manage above-mentioned additional record type recording medium,
Above-mentioned disc management information comprises the map information that the 1st continuum in the above-mentioned user data area is mapped to the 2nd continuum in the above-mentioned user data area,
Above-mentioned map information constitutes: the starting position of above-mentioned the 1st continuum is mapped to the starting position of above-mentioned the 2nd continuum, and, the end position of above-mentioned the 1st continuum is mapped to the end position of above-mentioned the 2nd continuum,
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 the part of above-mentioned the 1st continuum is appointed as the record indication of the position of wanting record data;
Control above-mentioned record regenerating portion, make above-mentioned data are recorded in by the ad-hoc location in the above-mentioned user data area beyond the above-mentioned position of above-mentioned record indication appointment;
Upgrade above-mentioned map information, make except above-mentioned position, keep the mapping status of realizing by above-mentioned map information by above-mentioned record indication appointment;
Generation comprises the new disc management information of the map information after the above-mentioned renewal; And
Control above-mentioned record regenerating portion, make above-mentioned new disc management information is recorded in the above-mentioned disc management information area.
3. drive unit as claimed in claim 2, wherein,
Above-mentioned map information comprises starting position with above-mentioned the 1st continuum and is mapped to the 1st alternative management information of starting position of above-mentioned the 2nd continuum and the 2nd alternative management information that the end position of above-mentioned the 1st continuum is mapped to the end position of above-mentioned the 2nd continuum
The renewal of above-mentioned map information is undertaken by following action:
Generation will be indicated new 3rd alternative management information of the above-mentioned location map of appointment to above-mentioned ad-hoc location by above-mentioned record;
Do not upgrade above-mentioned the 1st alternative management information and above-mentioned the 2nd alternative management information ground and generate the 4th new alternative management information and the 5th new alternative management information; And
Above-mentioned the 3rd new alternative management information, above-mentioned new the 4th alternative management information and above-mentioned the 5th alternative management information are appended in the above-mentioned map information.
4. drive unit as claimed in claim 2, wherein,
Above-mentioned map information comprises starting position with above-mentioned the 1st continuum and is mapped to the 1st alternative management information of starting position of above-mentioned the 2nd continuum and the 2nd alternative management information that the end position of above-mentioned the 1st continuum is mapped to the end position of above-mentioned the 2nd continuum
The renewal of above-mentioned map information is undertaken by following action:
Generation will be indicated new 3rd alternative management information of the above-mentioned location map of appointment to above-mentioned ad-hoc location by above-mentioned record;
Above-mentioned the 3rd new alternative management information is appended in the above-mentioned map information; And
Upgrade above-mentioned the 1st alternative management information and above-mentioned the 2nd alternative management information.
CN2005800278158A 2004-06-15 2005-06-15 Drive device Expired - Fee Related CN101006510B (en)

Applications Claiming Priority (15)

Application Number Priority Date Filing Date Title
JP177662/2004 2004-06-15
JP177663/2004 2004-06-15
JP177666/2004 2004-06-15
JP2004177662 2004-06-15
JP2004177665 2004-06-15
JP2004177666 2004-06-15
JP177664/2004 2004-06-15
JP177665/2004 2004-06-15
JP2004177663 2004-06-15
JP2004177664 2004-06-15
JP2004189013 2004-06-25
JP189013/2004 2004-06-25
JP2004255440 2004-09-02
JP255440/2004 2004-09-02
PCT/JP2005/010955 WO2005124771A1 (en) 2004-06-15 2005-06-15 Drive device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN2009101659922A Division CN101707060B (en) 2004-06-15 2005-06-15 Drive device
CN2009101659941A Division CN101707061B (en) 2004-06-15 2005-06-15 Drive device

Publications (2)

Publication Number Publication Date
CN101006510A true CN101006510A (en) 2007-07-25
CN101006510B CN101006510B (en) 2011-09-07

Family

ID=38701571

Family Applications (8)

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

Family Applications Before (6)

Application Number Title Priority Date Filing Date
CN2005800278232A Expired - Fee Related CN101006512B (en) 2004-06-15 2005-06-14 Drive device
CN2009101286414A Expired - Fee Related CN101577134B (en) 2004-06-15 2005-06-14 Drive device
CN200910140035A Pending CN101640056A (en) 2004-06-15 2005-06-14 Drive device
CN2005800277507A Expired - Fee Related CN101023485B (en) 2004-06-15 2005-06-14 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 After (1)

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

Country Status (1)

Country Link
CN (8) CN101006512B (en)

Families Citing this family (3)

* 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
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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN101807418B (en) Drive device
CN101859579B (en) Drive device
CN101894576B (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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110907

Termination date: 20200615