CN101577134A - Drive device - Google Patents

Drive device Download PDF

Info

Publication number
CN101577134A
CN101577134A CNA2009101286414A CN200910128641A CN101577134A CN 101577134 A CN101577134 A CN 101577134A CN A2009101286414 A CNA2009101286414 A CN A2009101286414A CN 200910128641 A CN200910128641 A CN 200910128641A CN 101577134 A CN101577134 A CN 101577134A
Authority
CN
China
Prior art keywords
record
data
management information
mentioned
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
CNA2009101286414A
Other languages
Chinese (zh)
Other versions
CN101577134B (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
Publication of CN101577134A publication Critical patent/CN101577134A/en
Application granted granted Critical
Publication of CN101577134B publication Critical patent/CN101577134B/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 apparatus of the present invention includes: a recording/reproduction section, a drive control section. The drive control section performs a process including: controlling the recording/reproduction section for recording data into a substitude position in a user data area not a position included in the record indication; determining whether data recording in the substitude position in the user data area is successful; controlling a recording/reproduction section for recording data into a position in the substitution area when data recording at the substitution postion in the user data area is failure.

Description

Drive unit
The application is dividing an application of following application:
Denomination of invention: drive unit
International filing date: on June 14th, 2005
National applications number: 200580001120.2
Technical field
The present invention relates to a kind of at the information recording carrier identifying recording layer and the data that write down on to the information recording carrier drive unit of regenerating.
Background technology
In recent years, in the record of digitalized data, use various forms of information recording carriers, though the erasable type CD that can repeat rewrite data is wherein arranged and only allow 1 cheap additional record type CD of medium of record.
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,, check whole ECC bunches in the user data area,, just its position signed in to major defects and tabulate (hereinafter referred to as PDL) that the physical cluster that the Logic Cluster of correspondence is displaced to next non-defective is tackled in case find defect cluster formaing when handling.
Thus, when user data, carry out record, improved 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 record failure has then been carried out ECC bunch of record and become cancellation bunch, (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, sometimes the SDL item is set at replacing whole ECC bunches of comprising in the district, 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,, in case of necessity ECC a bunch of replacing regenerated with reference to PDL or SDL.
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 also comprise the information such as capacity of replacing the district among the DMA.
Under the situation of erasable type CD, the renewal of the information relevant with defect management is finished by rewriting DMA.
In addition, in additional record type CD, also can import for example 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 finished 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 has the data structure identical with the SDL item that comprises among the above-mentioned SDL and brings into play identical functions.
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 and defective #1, #2, the corresponding defective related information of #3 #1, #2, #3.
After supposing that TDFL#0 is recorded, in additional record type CD, carried out new data recording, defective #4, #5 have taken place.At this moment, the TDFL#1 shown in Figure 33 B is recorded on the additional record type CD.
Here, TDFL#1 all keeps and newly appends with the corresponding defective related information of defective #4, #5 #4, #5 generating by 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.
Utilize 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 the pseudo-record that covers.
The puppet of using Figure 31 and Figure 32 explanation to carry out in additional record type information recording carrier covers record.
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 of physical record data to keeping other positions of getting up in advance.
Therefore, if covering, sending indication has had record on additional record type CD logical address writes data, as long as then with in the 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 data are override record.Later on this recording method is called puppet and overrides record.
Figure 31 is that to be illustrated in additional record type CD be the figure that has write down the state behind several catalogues and the file in the information recording carrier 1.In addition, this state representation is not carried out puppet as yet and is override record.
In additional record type CD, be user data area on the unit management disc with optical track (track) and section (session).
Among Figure 31, the management of the user data that writes down in 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 specially write up 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 partition or meta data file etc. and all have ISO/IEC13346 standard or UDF (Universal Disk Format: the data structure of prescribed by standard universal disk format).
Among Figure 31, volume structure district 3 and Physical Extents 4 have been write down 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, having write down meta data file 6a and copy thereof in the Physical Extents 4 is metadata image file 6b.
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, data file (File-a) 8, data file (File-b) 9 have also been write down.
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, write down 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 data file (File-a) 8.
Then, after new puppet overrides data file (File-c) on the state of Figure 31, promptly 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 generate the required document structure information that appends of data file (File-c).Specifically be the renewal of FE (ROOT) 13 and 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 override by puppet and records on the 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, the regeneration of execute 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.
Carry out the regeneration of FE (ROOT) 13 based on the positional information (logical address) of obtained 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 playback of data file (File-c) 15 of the data file (File-c) 15 that obtains from FE (File-c) 14.
In aforesaid additional record type CD, also can carry out puppet and override record by means of mechanisms of defect management.
Patent documentation 1: No. 2004/0076096 instructions of U.S. Patent Application Publication
But the puppet of above-mentioned illustrated additional record type CD overrides the problem that exists in the recording mode and is, in case the not recording areas of replacing in the district runs out, even then still have not recording areas in the user data area, also can't proceed data recording after this.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 where necessary, and it is just definite when disc formatsization (initialization).
In addition, very difficult consideration is carried out puppet and is override record and determine suitable replacement district capacity in advance.
If pre-determined replacement district capacity is excessive, then the user data area capacity reduces, even the too small situation that then can occur still having in the user data area recording areas not also can't continue record data after this.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 invention solves the problems referred to above, its purpose is: provide a kind of puppet at additional record type CD to override the drive unit that can not utilize user data area in the record lavishly.
Drive unit of the present invention is a kind of additional record type recording medium to be carried out the drive unit that puppet overrides record, wherein, above-mentioned additional record type recording medium comprises replaces district and user data area, in above-mentioned user data area, be assigned at least 1 optical track, above-mentioned drive unit comprises: record regenerating portion is used at above-mentioned additional record type recording medium executive logging action or regeneration action; And drive control part, being used for controlling above-mentioned record regenerating portion, the performed processing of above-mentioned drive control part comprises: receive the record indication that comprises the position of answering record data; 1 optical track among corresponding above-mentioned at least 1 optical track in above-mentioned position that comprises in the definite and above-mentioned record indication; Control above-mentioned record regenerating portion and make replacement position in above-mentioned user data area rather than the above-mentioned data of above-mentioned location records that in above-mentioned record indication, comprise; Whether the above-mentioned replacement location records above-mentioned data of judgement in above-mentioned user data area are successful; And when the above-mentioned data failure of above-mentioned replacement location records in above-mentioned user data area, control above-mentioned record regenerating portion and make above-mentioned data of location records in above-mentioned replacement district.
Whether the performed processing of above-mentioned drive control part also can also comprise: judge in the above-mentioned data of above-mentioned location records in above-mentioned replacement district successful; And, when the above-mentioned data failure of above-mentioned location records in above-mentioned replacement district, repeat the above-mentioned data of record in above-mentioned replacement district, till the above-mentioned data success of record in above-mentioned replacement district.
Above-mentioned definite optical track also can be open optical track (open track).
Above-mentioned definite optical track also can be to comprise the not sealing optical track (closedtrack) of recording areas.
Other drive units of the present invention are a kind of additional record type recording medium to be carried out the drive unit that puppet overrides record, wherein, above-mentioned additional record type recording medium comprises replaces district and user data area, above-mentioned drive unit comprises: record regenerating portion is used at above-mentioned additional record type recording medium executive logging action or regeneration action; And drive control part is used for controlling above-mentioned record regenerating portion, and the performed processing of above-mentioned drive control part comprises: generate the alternative management information that comprises original position and replace the position; And, controlling above-mentioned record regenerating portion records above-mentioned alternative management information in the above-mentioned additional record type recording medium, when having taken place to override the replacement that is recorded as purpose with puppet, above-mentioned drive control part is set above-mentioned replacement position to above-mentioned alternative management information with the value of the 1st scope, when taken place with cause by defective be recorded as the replacement of purpose the time, above-mentioned drive control part is set above-mentioned replacement position to above-mentioned alternative management information with the value of the 2nd scope.
Above-mentioned the 1st scope is the scope of above-mentioned user data area, and above-mentioned the 2nd scope is the scope in above-mentioned replacement district.
By means of the present invention, can provide a kind of puppet to override the drive unit that can not utilize user data area in the record lavishly at additional record type CD.
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 optical track management information 210 in the expression embodiments of the present invention.
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 other information recording carriers 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 the 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 the 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 the recording processing in the expression embodiments of the present invention.
Figure 19 B is the process flow diagram of the 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 optical track management information in the embodiments of the present invention.
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 the recording processing in the expression embodiments of the present invention.
Figure 35 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 36 A is about replacing the key diagram of record 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 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 41 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 41 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 42 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 42 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 43 A is the process flow diagram of the recording processing in the expression embodiments of the present invention.
Figure 44 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 45 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 45 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 46 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 46 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 47 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 48 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 49 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 50 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 51 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 51 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 52 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 52 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 53 A is about replacing the key diagram of record in the embodiments of the present invention.
Figure 53 B is the key diagram about alternative management information in the embodiments of the present invention.
Figure 54 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 55 is about replacing the key diagram of record in the embodiments of the present invention.
Figure 56 is about replacing the key diagram of record 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 area
109 volume spaces
122 recording areas not
120、121?LRA
210 optical track management information
211 section start informations
212 optical track start position informations
Final data record position information (LRA) in 213 optical 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
420 Physical Extents
440 meta data files
450 metadata image files
The tabulation of 1000 alternative management information
1010,1010B alternative management information
1011 status informations
1012 original position information
1013 replace 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
2010DFL?entry
2011A state 1
2012 defect clusters beginning PSN
2011B state 2
2013 replace a bunch beginning PSN
Embodiment
Below, with reference to the description of drawings embodiments of the present invention.
(the 1st embodiment)
1-1. additional record type recording medium
Figure 1A represents the outward appearance of the information recording carrier 100 of embodiments of the present invention.
Interior week at information recording carrier 100 has been disposed Lead-In Area 101.Most peripheral at information recording carrier 100 has disposed leading-out zone 103.Between the Lead-In Area 101 of information recording carrier 100 and leading-out zone 103, disposed data field 102.
When having write down 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 necessary reference information or with identifying information of other recording mediums etc.The also identical information of information that write down in record and the Lead-In Area 101 in the leading-out zone 103.
Lead-In Area 101, data field 102 and leading-out zone 103 a plurality of physical sectors have been distributed.Each physical sector is minimum visit unit.Each physical sector is discerned by the such address information of physical sector number (being called PSN later on).
ECC bunch (or the ECC piece) that will comprise a plurality of physical sectors carries out data recording and regeneration as least unit.
Figure 1B represents the data structure of information recording carrier 100.Among Figure 1B, represent with landscape configuration being expressed as the Lead-In Area 101, data field 102 of concentric circles and leading-out zone 103 among Figure 1A.
Lead-In Area 101 comprises disc management information area 104, and leading-out zone 103 comprises disc management information area 105.
Difference record disc management information in the disc management information area 104,105.Disc management information is included in alternative management information tabulation described later, section management information, free area management information etc.Disc management information area 104,105 is used as needed zone when upgrading disc management information.The required zone of this renewal is also referred to as interim disc management information area.
In addition, when applying the present invention to the BD-R standard, term in this instructions " disc management information area " is interpreted as " disc directorial area ", term in this instructions " interim disc management information area " is interpreted as " interim disc directorial area ", term in this instructions " disc management information " is interpreted as " disc management structure ", and the term in this instructions " interim disc management information " is interpreted as " 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 optical tracks.
Each optical track is the continuum on the information recording carrier 100.Each optical track manages by the optical track management information that is described below.
In addition, when applying the present invention to the BD-R standard, the term in this instructions " optical track " is interpreted as " journal district (SRR) ".
Each section comprises many optical 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 optical track management information.
Sector head information 201 has the general information such as number of the optical track management information of representing among the identifier of section management information 200 or Fig. 2 B 210.
Optical track management information #N has and the optical 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 optical track management information 210 of optical track.Optical track management information 210 is included in the disc management information.
Optical track management information 210 comprises: section start information 211 is used for representing whether optical track is the beginning optical track of section; Optical track start position information 212 is used for representing the starting position of optical track; Final data record position information (being called LRA later on) 213 in the optical track is used for representing the interior position of record data at last of optical track.
If the optical track that certain optical track management information 210 is managed is positioned at the beginning of section, represent that then the value (for example " 1 ") that this optical 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 ").
Optical track start position information 212 comprises the physical address of the starting position of representing optical track.
Final data record position information 213 comprises the physical address that is used for representing having write down in the optical track final position of valid data in the optical 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 optical track.
In addition, when applying the present invention to the BD-R standard, the term in this instructions " optical track management information " is interpreted as " journal district item ", and the term in this instructions " section management information " is interpreted as " 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 ECC bunch border in the optical 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 are inconsistent, the data of record indication defined and then, the record padding data is up to ECC bunch of border.
In the present embodiment, can be at each optical track record data.New data recording is carried out from the beginning of each optical track, and in optical track, data are by configuration (journal) continuously.Carry out data recording in this optical track, the position of last record is reflected in the interior final data record position information 213 of optical track in this optical track.
When in this optical track, writing down once more,, just can know next record starting position in this optical track by checking the value of final data record position information 213 in the up-to-date optical track.
In addition, when after having distributed optical track, and then in this optical track, not having data recording fully, also the predetermined value (for example " 0 ") of this state of expression can be set and give final data record position information 213 in the optical track.
But next record position (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 optical track.Perhaps, when information recording carrier 100 is a least unit when carrying out data recording with certain ECC bunch, NWA represents to comprise by next ECC bunch the beginning position physical sector shown in the final data record position information 213 in the optical track, ECC bunch.
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=O,
NWA=(starting position of corresponding optical track)
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 optical track that is in the state of recorded data is called open optical track (open track).
The track number of open optical track is included in the sector head information 201 in the section management information 200 shown in Fig. 2 A (for example, the 1st open track number the 203, the 2nd open track number 204 etc.).
On the other hand, the optical track of non-open optical track is called sealing optical track (closed track).
For example, there is not the optical track of recording areas not or become the sealing optical track by the optical track of user's indication.
Different with open optical track, the track number of sealing optical track is not kept in the sector head information 210 in the section management information 200.
Forbid record data in the sealing optical track.
By checking final data record position information 213 in the optical track in open track number and the optical 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 optical track is represented open SRR.In addition, the sealing optical track represents to seal SRR.
In addition, in additional record type information recording carrier 100, thereby ECC bunch of optional position (physical address) record data on information recording carrier that also can finish by management accounts 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 to 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 district in the user data area 108, comprises in this user data area 108 by free area management information 220 to manage the finish sector of state of record/record not.For example, the management object district information 222 starting position length in this district maybe that comprises this district.
Free area information 223 comprises each ECC bunch of being used for representing comprising in the management object district and does not write down or write down the information of state of finishing.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 whole ECC bunches idle condition management 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 replacement district information 1105 is distinguished management information 1108 with replacing, the zone that can use when the capacity in expression disc management information area information 1107b, interior all replacements district 106, periphery replacement district 107 or replacement.
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 optical track.Next available position information performance during each is replaced and distinguishes and the NWA identical functions in the optical track are replaced the new data records of being done in the district and are begun from the position shown in the next available position information to carry out in proper order each.
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; And free area management information positional information 1110, represent 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 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, since 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 Fig. 1 C example illustrated, 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 specially write up 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 (UniversalDisk Format: the data structure of prescribed by standard universal disk format).Certainly, also can use other file system.
In addition, the information recording carrier 100 shown in Figure 1A~Fig. 1 C is to describe as the medium with 1 recording layer, but also can be to have 2 or the information recording carrier of pluratity of recording layers more.
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 in logic with continuous logical address and handle.
As 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 treats.After, describe at information recording carrier, but these explanations also are applicable to the information recording carrier with a plurality of recording layers with 1 recording layer.Therefore, the information recording carrier with a plurality of recording layers only suitably is described under the situation that needs specify.
1-2. puppet overrides record
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), and this alternative management information (perhaps defect list entry) comprises the replacement positional information of position that the original position information of position of bunch (defect cluster) that occurred defective on the expression information recording carrier and expression are used for replacing the replacement bunch of this defect cluster.
In addition, among the present invention, can replace bunch at user data area record.
And then the present invention utilizes replacement information to realize that the puppet in additional record type information recording carrier covers record.
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 recorded data on the user data area 108 is replaced 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 record puppet described later and override the required zone of data after upgrading in the record.
The replacement record that replacement information and replacement district combine is implemented with checking treatment.
Checking treatment is meant these data of regenerating after record data, the data after recorded data and the 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-cover record be a kind of do not change on data recording apparent logical address and with the physical address map of physical record data gimmick to other place.
When sending indication when having had the logical address covering of writing down to write data, the new data of record in ECC bunch on the different other physical address of the physical address of the data recording before overriding with this, and before will overriding ECC bunch bunch map with the replacement of having write down new data.
This pseudo-replacement that covers in the record 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,, it is looked look like the state that the realization data are capped though in fact data are not capped.Later on this recording method is called puppet and overrides record.
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 for 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 is comprised 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, original position information 1012 and replaces positional information 1013.
Status information 1011 comprises the status information relevant with above-mentioned mapping.For example, represent the kind of alternative management information 1010 or effective/disarmed state of attribute, original position information 1012 and replacement positional information 1013 etc.
1012 expressions of original position information are replaced the position of the information (for example defect cluster) of item.
Replace the position of the information that positional information 1013 expressions replace (for example replace bunch).
In addition, override in puppet under the situation of record, ECC bunch position before covering with 1012 indications of original position information to replace ECC bunch position after positional information 1013 indications cover, is shone upon thus.
Here, the original position information 1012 of login also can use the physical address (for example PSN) of corresponding ECC bunch beginning sector to represent with replacement positional information 1013 in the alternative management information 1010.This is because defect management and pseudo-overriding in the record with ECC bunch are that unit shines upon.
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, replacement positional information 1013 has become can indicate two ECC that any one write down in the district bunches, therefore, also can its discriminant information be set in status information 1011, being used for differentiating what replace 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 any one of pen recorder, regenerating unit, record regenerator.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 drive and so on.Textural element in the host apparatus 305 interconnects by I/O bus 303.
Systems control division 301 is by means of the control program of for example system or comprise the memory-aided microprocessor of computing and realize.Processing such as the recording/reproducing of the record of the record of the volume structure/file structure of 301 pairs of file system of systems control division, metadata partition/file structure of regenerating, being described below, regeneration, file, the record of importing/leading-out zone, regeneration are controlled and computing.
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 by means of the control program that for example drives or comprise the memory-aided microprocessor realization of computing.Record, regeneration, the puppet in 311 pairs of disc management information areas of drive control part or replacement district override processing such as record, regeneration and control and computing.
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 followed this program and is carried out Regeneration Treatment of the present invention and recording processing.
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 and interim preserve etc.
1-4. recording processing step (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.
Be assigned optical track #1 401, optical track #2 402, optical track #3 403 at user data area 108.
Be assigned volume space 109 at user data area 108.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 and the FE of capacity, 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 optical track #1 that the free area in the metadata partition 430 is managed.
In addition, the distribution method of optical track is not limited to shown in Figure 7, for example, also can distribute more optical tracks.In addition, also the optical track at the end of user data area can be changed to the state that can append new optical track, append optical track in case of necessity.
Then, with reference to the step 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, in the user data area 108 of information recording carrier 100, be assigned a plurality of logical addresses and a plurality of physical address, suppose 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 user data area 108 and be assigned at least 1 optical track.
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 reads up-to-date disc management information from the disc management information area 104 (or disc management information area 105) of information recording carrier 100.
From this disc management information, obtain Fig. 3 user data area start position information 1103, user data area end position information 1104, replace district's information 1105 etc., 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 the conversion of basic logical address-physical address map actuating logic address and initial physical addresses.
In addition, drive control part 311 is obtained the optical track management information that comprises in the disc management information.
(step S102) drive control part 311 is indicated from host apparatus 305 receiving records.Record indication comprises the logical address that is used for representing answering the position of record data.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 representing writing down the position of single data, also can comprise a plurality of logical addresses that are used for representing writing down respectively a plurality of positions of a plurality of data.
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 specific optical track by host apparatus 305.
Logic NWA for example responds the request that sends to drive unit 310 from host apparatus 305, outputs to host apparatus 305 from drive unit 310.
Logic NWA obtains by carrying out conversion according to basic logical address-physical address map by above-mentioned (formula 1) determined NWA.This conversion is carried out by drive control part 311.The deciding step of NWA and logic NWA describes in detail in the 2nd embodiment described later.
The systems control division 301 of host apparatus 305 generates and upgrades the filesystem information of necessity when recording data files (File-a).For example, to generate the parent directory with the corresponding FE of data file (File-a) (File-a), updated data file (File-a) in memory circuitry 302 be the ROOT catalogue to systems control division 301.
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 predetermined order to remain to drive unit 310 inquiries where necessary and replaces the required not recording areas of record.
In addition, the indication that outputs to drive unit 310 from host apparatus 305 also can be standardized commands such as SCSI multimedia order.
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 is comprised in indicating is transformed to physical address.
(step S104) drive control part 311 is determined 1 optical track (open optical track) at least 1 optical track that user data area 108 distributes according to the optical 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 is used for being illustrated in the physical address (being NWA) of the position of next recorded data in this determined optical track based on the LRA213 decision of this determined optical 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.Record also can be finished in the preparation of above-mentioned data recording is handled in advance.
Here, calculate NWA, just can construct the optical track management information data simply, and need in optical track management information, not preserve NWA information by using LRA213.
Whether the corresponding physical address of logical address that 311 decisions of (step S 105) drive control part comprise in indicating with this record is littler than NWA.
If decision for 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 the pseudo-record that covers to the data recording of record indication.In this case, processing enters step S106.Otherwise, handle entering step S108.
The data that 311 decisions of (step S106) drive control part should be 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 should 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 should 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 should write down.
(step S107) drive control part 311 definite record positions of answering record data that determined by 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 record position of answering record data that is determined by step S106.
Here, this ad-hoc location also can be the NWA in the optical track that is determined in step S104.
Perhaps, this ad-hoc location also can be the NWA in the open optical track different with the optical track that is determined in step S104.In this case, the NWA in this opening optical track preferably represents 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 311 decisions of (step S108) drive control part comprise in indicating with this record equals NWA.If decision for 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.
The data that 311 decisions of (step S109) drive control part should be write down.Particularly, drive control part 311 will write down and indicate specified data to be defined as the data that should 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), the end end that makes data with after ECC bunch of border is consistent as the data that should write down.
(step S110) drive control part 311 definite record positions of answering record data that determined by step S109.Particularly, drive control part 311 will by with the indication of this record in position (promptly by the position shown in the NWA) shown in the corresponding physical address of logical address that comprises be defined as the record position of answering record data that determined by step S109.
(step S111) drive control part 311 error process.
The recording processing that (step S112) drive control part 311 is carried out to the record position that is determined.
Under the situation that is judged to be "Yes" of step S105, the data recording that should write down that drive control part 311 controlling recording reproducing units 314 will determine in step S106 is to the record position that is determined in step S107.
Under the situation that is judged to be "Yes" of step S108, the data recording that should write down that drive control part 311 controlling recording reproducing units 314 will determine in step S109 is to the record position that is determined 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 in any district that district's 106 grades replace district and user data area 108 not recording areas instead bunch, during this data recording replaced bunch to this.
After the final success of this data recording, handle 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, the regeneration of drive control part 311 controlling recording reproducing units 314 comprises 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, when 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 are with reference to alternative management information tabulation 1000, as required the data of record in the regeneration replace ECC bunch.Be described below data reproduction step with reference to alternative management information tabulation 1000.
The 2nd, drive control part 311 will be from this ECC bunch of born again data, be recorded in by with the record indication in data in the physical sector of the position shown in the corresponding physical address of logical address that comprises, be replaced into by the specified data of record indication (" 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.
311 decisions of (step S151) drive control part comprise by record indicates ECC bunch of specified position whether to be replaced bunch replacement.This decision realizes by for example retrieving alternative management information tabulation 1000.
When having found, 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, decide to comprise 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 by record.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.
Whether 311 decisions of (step S152A) drive control part need 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 determines to not needing 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 decisions were needs RMW processing.
When decision is handled for needs RMW, 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, needing determine whether RMW to handle in other steps with reference to this built-in variable value in case of necessity with step S151.
Whether 311 decisions of (step S152B) drive control part need RMW to handle.The processing of step S152B is identical with the processing of step S152A.
When decision is handled for needs RMW, handle entering step S154; Otherwise, handle entering step S157.
The regeneration of (step S153) drive control part 311 controlling recording reproducing units 314 is in the replacement shown in the alternative management information 1010 that step S151 finds bunch 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.
314 regeneration of (step S154) drive control part 311 controlling recording reproducing units 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, ECC bunch data recording after the renewal that drive control part 311 controlling recording reproducing units 314 will obtain in " changing " handles is 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 in any district that district's 106 grades replace 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, the not recording areas of replacing in week in then distributing in any district that district's 106 grades replace district and user data area 108 replaces bunch as the next one, during this data recording is replaced bunch to this next one.
If final this data recording success handles then 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 in the step 8112, and this alternative management information is saved in memory circuitry 312.For example, in step 8112, when drive control part 311 controlling recording reproducing units 314 by with the indication of this record in ad-hoc location beyond the position 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 (implementing puppet overrides), 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 retrieving existing alternative management information tabulation 1000 determines whether to have found to have the original position information 1012 identical with the corresponding physical address of logical address that comprises during record is indicated in existing alternative management information tabulation 1000 alternative management information 1010.
If found, 311 of drive control parts upgrade this alternative management information 1010, are set at new replacement 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 be carried out alternative management information tabulation 1000 to status information 1011 and rearrange, and then the physical address to original position information 1012 carries 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 optical track management information 210 of optical 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 and optical track management information 210 etc. are upgraded.In addition, set the alternative management information list placement information 1102 and 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 optical track management information 210 on information recording carrier 100.
Drive control part 311 controlling recording reproducing units 314 are to record new disc management information the presumptive area (for example interim disc management information area) on the information recording carrier 100.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 send to host apparatus 305 at predetermined instant.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 the record indication from host apparatus 305 and can will represent that the notice of end of record (EOR) sends to host apparatus 305 in this record indication of correct understanding 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 the optical track that is replaced bunch, retrieve not recording areas, begin to become big direction from this optical track then and retrieve not recording areas each optical 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 be from the precalculated 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 preset distances) beginning becomes big direction to PSN and retrieves not recording areas.
In addition, in the step S105 and step S108 of data recording step, by writing down or additional record with comparing by the corresponding physical address of logical address that comprises in the record indication and NWA to decide this data puppet override.
Why can decide this data puppet is override record 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, override record or additional record (or newly-built record) in order to determine this data recording, need more complicated treatment step.Reason is that under the situation of erasable type CD, the arbitrary site on the CD can rewrite at random.
If shown in above-mentioned embodiment, by drive unit erasable type CD is implemented the free area management like that, then as described in the explanation of background technology, for example need using, SDL manages ECC bunch of whole on the erasable type CD corresponding alternative management information.And, in order to determine that the data recording that do in certain place in the user data area on certain erasable type CD is override record or newly-built record, need for example retrieve whole alternative management information tabulation 1000 and finish to judge whether to write down.Similarly, whether be 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 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,, can guarantee that in certain optical track address value all is to have write down the zone that finishes less than the zone of NWA because of it is additional record type information recording carrier and is journal.
Thus, just can determine that simply this data recording is that puppet overrides record 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 also get final product, therefore be easy to selection from the later choice of location of NWA.
In addition, carrying out puppet in the recorded at random mode of additional record type CD overrides when record also the situation with erasable type CD is identical.
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 of 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 optical track.
At this moment, the number of open optical track 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,, use the journal mode to carry out the effect highly significant of the present invention that puppet overrides mode for the CD that capacity constantly increases.
In addition, the invention is characterized in,, decide NWA according to the LRA213 that comprises in the up-to-date optical track management information 210 and (formula 1) in order to determine to use puppet to override record 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 optical track management information data simply, and need in optical track management information, not preserve NWA information by using LRA213.
If do not use the present invention,, just need for example following steps in order to determine to use puppet to override record or additional record.
That is, must determine to comprise and the optical track that writes down the corresponding physical address of logical address that comprises in the indication, check ECC bunch in proper order, judge whether that record finishes from the beginning beginning of this optical track.
Then, if ECC bunch of the position of record indication write down and finished, then determine to override record for puppet.
This processing especially becomes its treatment capacity of big back at the optical track capacity and also becomes very big, and is therefore inadvisable.
On the other hand, if use present embodiment, then can not be subjected to the optical track capacity influence and simply decision be that puppet overrides record or additional record.
In addition, by in optical track management information 210, comprising LRA213, just can when driver 10 receives the record indication, decision write down the optical track of destination, and determine NWA easily.
Fig. 9 represents to utilize this recording step 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 recording step in data file (File-8) 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 overrides record by puppet and upgrades.
Particularly, upgrading bunch #2 is equivalent to override the part that record upgrades by puppet with the part of upgrading bunch #4.
Suppose that being override the new data that writes down renewal by puppet is recorded to the replacement bunch #2 and replacement bunch #4 that distributes as the replacement item that upgrades bunch #2 and renewal bunch #4 respectively, 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. Regeneration Treatment step (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 the playback of data file, 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 reads 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 determining to be used for to be illustrated in a plurality of logical addresses that user data area 108 distributes and a plurality of physical addresss.
After, drive control part 311 is according to the conversion of basic logical address-physical address map actuating logic address and initial physical addresses.
(step S202) at first, systems control division 301 sends regeneration indication to drive unit 310, AVDP of record in the precalculated 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 the sequential read structure of fetching data 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 regeneration step 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 receives the regeneration indication from host apparatus 305, carries out Regeneration Treatment according to this regeneration indication.
Regeneration indication comprises the logical address that is used for representing answering the position of playback of data.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 transformed 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 and the identical original position information 1012 of the corresponding physical address of logical address that comprises during regeneration is indicated.
If found, 311 controlling recording reproducing units 314 of drive control part begin playback of data with reference to the replacement positional information 1013 of this alternative management information 1010 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 shown in the corresponding physical address of logical address that comprises from indicate with regeneration begins playback of data.The data of regenerating according to this kind mode are returned to host apparatus 305.
1-6. recording processing step (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 to be used for expression and to be in replacing the district or to replace, still the information in user data area.
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, still and a plurality of bunches of continuous information corresponding.When with continuous a plurality of bunches of corresponding situations under, Flag3 also 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 recording step of the present invention is described.
In addition, use the kind of the symbolic representation alternative management information that Figure 11 right-hand member lists 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 has also represented to be illustrated in the logical address logical sector number (LSN) and 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 of the position on the information recording carrier 100 when host apparatus 305 is observed.This corresponding relation is called basic logical address-physical address map (representing with the swash 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 of the terminal sector that begins from corresponding ECC bunch beginning sector and the value of LSN.
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 optical track.Because under the state of Figure 12, record data not fully, 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 and the indication of regenerating.
Drive unit 310 will be transformed 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 and the value of LSN only are used to the example that illustrates, and actual value is different and different with the structure of information recording medium 100 and capacity.
In addition, as mentioned above, disc management information and the capacity of replacing the district are variable, and 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 and the end position of user data area 108 no longer changed.
Basic logical address-physical address map can be determined by predetermined computing etc. uniquely according to 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.
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 position of LSN=0 from new recorded data " A ".
The drive unit 310 that receives the indication of this record is transformed 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 the position puppet that host apparatus 305 is emitted in LSN=0 overrides the indication of record data " A1 ".
The drive unit 310 that receives the indication of this record is transformed 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 " of 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.
To should the 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 the defect cluster that does not replace item, generates corresponding alternative management information 515.
And then host apparatus 305 indications are when the position of LSN=128 puppet overrides record data " D2 ", and data " D2 " are replaced recording the position of PSN=1324.
At this moment, generate alternative management information 514A.On the other hand, alternative management information 514 no longer needs, therefore with its deletion 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 according to the Flag1 in the status information 1011, then the PSN value to original position information 1012 rearranges.
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 further indication overrides record data " E1 " in the position of LSN=257~X1 puppet.
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, 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 all to be positioned at user data area 108, can certainly be positioned at 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. Regeneration Treatment step (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 sending the data " B " of 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, owing to 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 transformed 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.
As above, override in the record in the puppet of information recording carrier 100, just can be not lavishly with user data area as replacing.
1-8. recording processing step (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 starts PSN 2012 with state 22011B, defect cluster, status information 1011, original position information 1012, the original position information 1013 with above-mentioned is identical respectively to replace a bunch beginning PSN 2013.
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 defect management and pseudo-overriding in the record with ECC bunch are that unit shines upon.
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 22011B 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 position (being equivalent to Flag3=01) of beginning bunch beginning sector that comprises a plurality of bunches continuum.On the other hand, under the situation of " 0010 ", corresponding to the position (being equivalent to Flag3=10) of beginning sector, 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 for realizing that puppet overrides after record writes down the replacement item.
(step S301) at first judge this puppet override record be override for the 1st time record or the 2nd time or after this override record.
This judgement is to carry out as the DFL entry2010 of defect cluster beginning PSN2012 value by for example up-to-date alternative management information list retrieval being had beginning PSN value that obtain, ECC bunch 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), then override record as the 1st puppet, handle entering step S302.
If in the alternative management information tabulation, found corresponding alternative management information, then override record as the 2nd puppet, handle entering step S304.
In addition, also can in other steps, prejudge puppet override record be override for the 1st time record or the 2nd time or after this override record.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, for setting, defect cluster beginning PSN2012 is arranged in the beginning PSN value corresponding physical address of logical address that comprises with the record indication, ECC bunch.
Then, be the beginning PSN value of replacement bunch of data that replaced physical record in the replacement record of bunch beginning PSN2013 before being set in.
And then, be the suitable value of state 22011B 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 step before for the DFL entry2010 that finds is upgraded processing.
(step S305) at first is updated to appropriate value with the state 12011A 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 replacement record before 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, the state 22011B of this DFL entry2010 is 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 for example rearranges state 12011A is carried out.And then, start PSN2012, state 22011B, replace bunch order of beginning PSN2013 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 puppet to override record 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 when occurring replacing record and append new alternative management information 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, and is not suitable for the installation of drive unit etc.
Particularly, though in the defect management of existing additional record type CD, what once be replaced bunch can not be replaced once more, carries out puppet in present embodiment and overrides under the situation of record, 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 and 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, be unfavorable for installation equally.
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 step (4)
Further describe the processing example of the alternative management information in the data recording step 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 for realizing that puppet overrides after record writes down the replacement item.
(step S601) drive control part 311 determines whether the zone by record indication appointment is zone continuous in the 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, drive control part 311 will be defined as the continuum in the physical address space by the zone of 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 equals area size by record indication appointment, drive control part 311 will be in step S112 the zone of physical record data be defined as 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 decision is pseudo-override record be override for the 1st time record or the 2nd time or after this override record.
This decision is by for example retrieving up-to-date alternative management information tabulation, according to whether found to possess expression in the alternative management information tabulation making with the 1st DFL entry2010 (state 22011B=" 0001 ") and the 2DFL entry2010 (state 22011B=" 0010 ") that are the original position information of same area in the continuum that step S601 is determined.
If in the alternative management information tabulation, do not find corresponding 1DFL entry2010 and 2DFL entry2010, then override record as the 1st puppet, handle entering step S605.
If in the alternative management information tabulation, found corresponding 1DFL entry2010 and 2DFL entry2010, then override record as the 2nd puppet, handle entering step S607.
(step S605) drive control part 311 generates new 1DFL entry2010 and new 2DFL entry2010, and it is saved in memory circuitry 312.
(step S606) drive control part 311 the 1st and 2DFL entry2010 in setting value.
Setting " 0000 " expression in the state 12011A of 1DFL entry2010 is to have the replacement record of replacing item.
In the defect cluster of 1DFL 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 1DFL entry2010 beginning PSN2013, set the beginning PSN value starting position, ECC bunch of continuum of data that comprised physical record.
Setting " 0001 " expression in the state 22011B of 1DFL entry2010 is the starting position of continuum.
Setting " 0000 " expression in the state 12011A of 2DFL entry2010 is to have the replacement record of replacing item.
In the defect cluster of 2DFL 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 cluster of 2DFL entry2010 beginning PSN2013, set beginning PSN value end position, ECC bunch of continuum of data that comprised physical record.
Setting " 0010 " expression in the state 22011B of 2DFL entry2010 is the end position of continuum.
The 1st and 2DFL entry2010 that 311 pairs of (step S607) drive control parts are found in step S604 upgrade processing.Particularly, this renewal handle by in step S608 the 1st and 2DFL entry2010 in setting value realize.
(step S608) drive control part 311 the 1st and 2DFL entry2010 in setting value.
In the replacement cluster of 1DFL 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 district.
Do not need to change the defect cluster beginning PSN2012 of 1DFL 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 2DFL 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 district.
Do not need to change the defect cluster beginning PSN2012 of 2DFL 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, new the 1st and 2DFL entry2010 are appended in the alternative management information tabulation.Perhaps upgrade in the alternative management information tabulation the existing the 1st and the value of 2DFL entry2010.
Tabulation rearranges to alternative management information.This rearrange according to for example more the order of the state 12011A of new administration information carry out.And then the order that starts PSN2013 according to defect cluster beginning PSN2012, state 22011B, 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 puppet to override record has been described, the occasion of the replacement of carrying out when this is equally applicable to defect cluster occur record.
Use Figure 20 A to Figure 24 B to further specify the recording processing step.
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 step of step S304 of Figure 19 A, the DFL entry2100A shown in Figure 22 B is updated to DFL entry2100B.(that is, do not append DFL entry.)
Then, under the state of Figure 22 A, suppose from host apparatus 305 and send indication in the location records data " B0 " of LSN=96, in the location records data " C0 " of LSN=128~192.State in Figure 23 A behind this record of expression execution.
Shown in Figure 23 A, suppose that checking treatment is made mistakes when data " B0 " being recorded the position of PSN=1196.
At this moment, data " B0 " are replaced to periphery for example and replace PSN=x10 in the district 107.
The replacement record of this moment is the 1st replacement record, therefore, according to using the illustrated later step of step S302 of Figure 19 A, appends DFL entry2101A shown in Figure 23 B.
On the other hand, the verification succeeds behind tentation data " C0 " record, then the alternative management information tabulation is constant.
Then, under the state of Figure 23 A, suppose from host apparatus 305 and send the location records data " C1 " of indication in LSN=128~192.State in Figure 24 A behind this record of expression execution.
Shown in Figure 24 A, the position of PSN=1228~1292 has been write down and has been finished, and therefore, data " C1 " are replaced to the position of PSN=1324~1388 in the user data area for example.
The replacement record of this moment is the 1st replacement record, therefore, according to using the illustrated later step of step S302 of Figure 19 A, appends DFL entry2102A and 2103A shown in Figure 24 B.
Here, this replacement record is 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 in the puppet that continuum 2200 is replaced with the continuum 2201 in the user data area 108 overrides, generate starting position with continuum 2200 be mapped to continuum 2201 the starting position the 1st alternative management information (DFLentry2102A) and the end position of continuum 2200 is mapped to the 2nd alternative management information (DFL entry2103A) of the end position of continuum 2201.
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.
(the 2nd embodiment)
2-1.NWA decision treatment step
But the determining method of record position next time (becoming 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 steps.
At first determine to comprise the physical sector shown in the LRA, next ECC bunch of ECC bunch.This ECC bunch is next record ECC bunch.But the beginning physical sector that writes down ECC bunch becomes record position next time, but is above-mentioned NWA by record position next time that this physical address is represented.
To be PSN value that this NWA is represented be transformed 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 records LSN=0 from sending indication after drive unit 310 is obtained logic NWA=0 with data " A ".
In addition, and then after the record of data " A ", the LRA of optical 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 optical 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 the determining method of aforesaid logic NWA is: decision logic NWA is so that keep the relation of basic logical address-physical address map.That is, at first, 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 decision of the LRA in optical track NWA.
In addition, in Figure 14 A, although actual up-to-date logic NWA is corresponding with LRA500B, host apparatus 305 sometimes also kept with the corresponding value of LRA501B as logic NWA.
Carry out the record later to the position of PSN=1292 by drive unit 310 as the action that is independent of host apparatus 305, in addition, host apparatus 305 not when drive unit 310 is obtained up-to-date logic NWA, just might produce this state again.
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, the step S102 output request before that is being close to Fig. 8 A is 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 above-mentioned steps.
The host apparatus 305 of the logic NWA that receives 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 suppress the increase of the data volume of alternative management information tabulation 1000, the treatment capacity when reducing data recording regeneration reduces amount of memory, and reduces data capacity on the information recording carrier 100 or the like.
(the 3rd embodiment)
3-1. recording processing step (1)
In the NWA determining method in above-mentioned the 2nd embodiment, the situation that certain LSN is not used can appear.
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 of NWA decision treatment step in the above-mentioned embodiment.
When this logic sector that do not write down is sent when indication record, similarly carry out puppet with above-mentioned embodiment and override record.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 transformed 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 puppet with above-mentioned other embodiments and override record.
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, corresponding with the position of PSN=1336, the position of LSN=256~287 that associated by basic logical address-physical address map becomes new not record Logic Cluster.
And then, behind the record data " G ", become the state of Figure 17 A and Figure 17 B.
3-2. Regeneration Treatment step (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 is according to basic logical address-physical address map, maps with the Logic Cluster of the position of 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 step 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, at first the LSN that receives is transformed to PSN (being called regeneration object PSN) according to basic logical address-physical address map by drive unit 310.
Here, regeneration object PSN is PSN=1228.When retrieval has PSN=1228 as the alternative management information that is replaced in alternative management information tabulation, can get 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 the object PSN that regenerates according to basic logical address-physical address map.But, even retrieval in alternative management information tabulation also 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 to once not writing down not the writing down under the situation that logic sector sending regeneration indication of data in logic yet, also can be from the corresponding physical sector data of regenerating.
Thus, wait from the file system of main frame one side, the zone no longer includes the exception district on the information recording carrier 100, no longer needs complicated fault processing is installed in its system architecture, and implementation system is constructed more simply.
In addition, when not sending when indication regeneration,, will bear the data that should not regenerate originally more as mentioned above from corresponding physical cluster playback of data at writing down logic sector.If such data reproduction is not suitable for its system architecture, then can use following regeneration step.
That is, when playback of data, the LSN that specifies regeneration is transformed to PSN according to basic logical address-physical address map after, the PSN that retrieval has this gained is the alternative management information 1010B of the original position information 1012 in the administration information list 1000 as an alternative.
If found corresponding original position information 1012, 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, be the original position information 1012 that the object retrieval has and specify the corresponding PSN value of LSN of regeneration then then to replace positional information 1013.
If found corresponding replacement positional information 1013, then be judged as by this replacement 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 promptly for example all is that 0 value turns back to host apparatus 305 as playback of data with predetermined value.
By this Regeneration Treatment, even, also can bear suitable data again from 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.
The comparison of 3-3NWA deciding step
Illustrate different from the embodiment described above, do not produce the NWA deciding step that does not write down logic sector.
In this NWA deciding step, LRA manages to logic, writes down new data in the logic NWA of the adjacent position of logic LRA.
At this moment, the LSN with presentation logic NWA is transformed 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 to comprise next ECC bunch the NWA PSN shown in the LRA213, ECC bunch (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 optical track management information shown in Figure 25 3210.
In the optical track management information 3210 of Figure 25, final data record logical location information 3214 in the redetermination optical track.
The final entry position that final data record position information 213 is managed in the physical address space of representing by PSN in the optical track, the final entry position relative therewith, that final data record logical location information 3214 is managed in the logical address space of representing by LSN in the optical track.
Drive unit 310 just can determine each optical track logic NWA separately with reference to final data record logical location information 3214 in the optical track.
The update method of final data record logical location information 3214 is as follows in the optical track.
That is, set 0 initial value as final data record logical location information 3214 in the optical track.Then, the drive unit 310 that receives record indication from host apparatus 305 is interpreted as LSN with record position.If the LSN that receives is bigger than final data record logical location information 3214 in the optical track, then upgrade final data record logical location information 3214 in the optical track with this LSN.
Can make final data record logical location information 3214 maintenance maximal values in the optical track by this processing.
Figure 26 A represented according to above-mentioned NWA deciding 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 is still less.
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 littler.
Thus, illustrate in the 1st embodiment and the 2nd embodiment, produce the NWA determining method do not write down logic sector and be more suitable in the data capacity that suppresses the alternative management information tabulation than the method that does not write down logic sector that do not produce with reference to Figure 26 A explanation.
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 processing such as data read by keeping alternative management information (7).
(the 4th embodiment)
Further describe the data recording step in the present embodiment.
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.Among the figure The border between ECC bunch is represented in shown position.Also be like this in other accompanying drawings afterwards.
The following describes in this state from the recording step 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 puppet to be carried out in the position of writing down PSN=a0 in the zone 4600 that finishes to override record.
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 the record district 4600 that finishes is carried out puppet and overrides record.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 in the recording step of present embodiment, do not produce method 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, at first send the record indication that is used for additional record.
In addition, after the record indication of additional record, send the record indication that overrides record.The result of this recording step is a data structure shown in Figure 29.
In addition, the file system of action is carried out the renewal of all files and 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 at host apparatus 305 under the situation that overrides record and additional record, 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.
(the 5th embodiment)
Here, investigation is divided into the data of a constant volume ECC bunch capacity (for example 64KB) size, sends the record indication by each unit sequence after cutting apart to drive unit 310 by host apparatus 305.
During these data of drive unit 310 continuous recordings, sometimes there is defect cluster,, needs ECC bunch of use adjacency in order to replace this defect cluster at certain record position.
In this case, after the record position thereafter, all record all can be replaced record data in cluster cluster 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 step 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 step 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, replace bunch having, not recording areas 5601A (among the optical track #N 5602), not recording areas 5612 (among the optical track #N+1 5610), not recording areas 5622 (among the optical track #N+2 5620), recording areas 5632 (among the optical track #N+3 5630) not as assignable replacements item.
Here, calculate from the position that is replaced bunches 5700 (for example, being replaced the beginning physical sector in bunches 5700) and replace distance between the position (for example, opening the NWA position of optical track) to candidate.In Figure 30, the distance of replacing 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 original position 5700 are not included among the same optical track #N+25620.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 bunch nearest not recording areas item as an alternative, the feature of this selection is not select and be replaced a bunch not recording areas that is positioned at same optical 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 is in the NWA location records replacement cluster 5710 of recording areas 5632 not.
In addition, generate and to be used for representing from being replaced bunches 5700 alternative management information that are mapped to replacement cluster 5710, and it is noted.
Illustrated as reference step S107 and S112 (Fig. 8 A), when drive control part 311 of the present invention overrides record in the execution puppet, controlling recording reproducing unit 314, with data recording to by with the indication of received record 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 optical track different with the optical track that is determined 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 opening optical track comprises in representing to indicate with this 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 optical track.Thus, the access time in the time of can shortening data reproduction.
In addition, can be the calculation and object distance also to have than the not recording areas that is replaced bunch big PSN, determine to replace item.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, exhausting if having the not recording areas of bigger PSN, can be object with the not recording areas with less PSN then.
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 decide the distance that is replaced item and replaces item according to being replaced the difference of item with the PSN value of replacing item.Perhaps, also can decide 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.
(the 6th embodiment)
The step of the data recording of present embodiment is described with reference to Figure 34.Here, tentation data is to use information recording/reproducing apparatus shown in Figure 6 300 to record in the information recording carrier 100.Each step shown in Figure 34 is carried out by the drive control part 311 of drive unit 310.
(step S1101) drive control part 311 receives the record indication from host apparatus 305.The record indication specifies data and the expression that will write down should write down the logical address of the position of these data.
This processing is identical with the processing of the step S102 shown in Fig. 8 A.
(step S1102) drive control part 311 will write down the logical address that comprises in the indication and be transformed to physical address.This conversion for example realizes according to basic logical address-physical address map.
This processing is identical with the processing of the step S103 shown in Fig. 8 A.
Determine 1 optical track at least in 1 optical track of (step S1103) drive control part 311 from be distributed in user data area 108.This decision realizes according to the optical track management information 210 (Fig. 2 B) that comprises in corresponding physical address of logical address that comprises in for example indicating with record and the disc management information.Optical track management information 210 is illustrated in the scope on the data field 102 of optical track, therefore, as long as known physical address, just can determine corresponding optical track.
This processing is identical with the processing of the step S104 shown in Fig. 8 A.
The optical track that 311 decisions of (step S1104) drive control part are determined in step S1103 is open optical track or sealing optical track.This decision realizes according to for example optical track management information 210 (Fig. 2 B).The optical track that does not comprise track number in the sector head information 201 is the sealing optical track.
The definition of open optical track can be with reference to the 1st embodiment.The definition of sealing optical track can be with reference to the 1st embodiment.
In addition, when applying the present invention to the BD-R standard, the term in this instructions " open optical track " is interpreted as " open SRR ", and the term in this instructions " sealing optical track " is interpreted as " sealing SRR ".
When in step S1104, determining to be when opening optical track, handle entering step S1105, when decision is that processing entering step S1106 when sealing optical track.
Handle at open optical track executive logging in (step S1105) this step.The recording processing of carrying out at open optical track comprises for example step S105 shown in Fig. 8 A~S114.
Handle at sealing optical track executive logging in (step S1106) this step.The recording processing of carrying out at the sealing optical track comprises for example step S106 shown in Fig. 8 A~S114.
That is, in to the recording processing of sealing optical track, carry out puppet and override record.At this moment, replacing item may be the NWA that is different from the open optical track of the sealing optical track that determines at step S1104.
Below according to the concrete processing example of data recording step explanation shown in Figure 34.
Figure 35 A is illustrated in an example carrying out the data structure of the information recording carrier 100 before handling according to data recording step shown in Figure 34.
In the example shown in Figure 35 A, optical track #N-1, optical track #N are distributed in the user data area 108.Here, optical track #N-1 is open optical track.
Comprise record finish district 6600 and recording areas 6602 not among the optical track #N-1.
Suppose that drive control part 311 receives the record indication from host apparatus 305 under state shown in Figure 35 A.Here the content of this record indication is the position that indication records data " A " 6602 LSN=A1 (PSN=a1).
If use existing sequential record method, this record indication is exactly a misregistration.This is because LSN=A1 is bigger than NWA6611A.
Perhaps, if misregistration is not used as in this record indication, will be shown in Figure 36 A, record dummy argument data or padding data are (for example in the zone of PSN=b1 to PSN=a1, value all is " 00h "), record data " A " 6602 in and then should the zone in zone.This processing can realize by the step of inserting record dummy argument data or padding data before the step S112 shown in Fig. 8 A for example.
By means of this method, data " A " 6602 are recorded to the position of PSN=a1.But, can produce the other problemses such as capacity that need record this useless action of padding data or waste information recording carrier 100 like this.
In addition, the method shown in Figure 36 A has been carried out the additional record of data, and therefore, can only be used for optical track #N-1 is the occasion of open optical track.
If optical track #N-1 is the sealing optical track, the additional record of data is under an embargo.Therefore, can not use the method shown in Figure 36 A to carry out record for the sealing optical track.
In order to make data recording not be subjected to optical track #N-1 is the restriction of open optical track or sealing optical track, for example can be shown in Figure 37 A, and not in the location records data " A " 6602 of PSN=a1, and the ad-hoc location record data " A " 6602 in replacing the district.
In Figure 37 A example illustrated, the position of week replacing the PSN=s1 in the district 106 in data " A " 6602 are recorded in.According to this kind mode, in Figure 37 A example illustrated, therefore record data not among the optical track #N-1, do not upgrade the position of LRA6610A yet.
Drive control part 311 generates alternative management information 6615, so that will be mapped to the physical address (being PSN=s1) of the physical record position that is used for representing data " A " 6602 with the corresponding physical address of logical address (being PSN=a1) that comprise in the record indication.
Figure 37 B represents an example of the data structure of alternative management information 6615.Alternative management information 6615 comprise as the defect cluster of raw address beginning PSN2012 and as an alternative the replacement cluster of address start PSN2013.Set and write down the corresponding physical address of logical address (being PSN=a1) that comprises in indicating among the defect cluster beginning PSN2012 of alternative management information 6615.Set the physical address (being PSN=s1) of the physical record position that is used for representing data " A " 6602 among the replacement of the alternative management information 6615 bunch beginning PSN2013.
By generating this alternative management information 6615, when drive control part 311 receives expression when beginning the regeneration indication of playback of data from the position of LSN=A1 from host apparatus 315, just can be rather than begin playback of data " A " 6602 with the position of the corresponding PSN=a1 of LSN=A1 from the position of PSN=s1.
Perhaps, when in step S1104, determining under the situation of optical track #N-1 for open optical track, shown in Figure 38 A, also can be at position (being the position of the PSN=b1) record data " A " 6602 of the NWA6611A of optical track #N-1.In this case, in record data " A " 6602, the LRA6610A of the final entry position in the expression optical track #N-1 is updated to LRA6610B.
Drive control part 311 generates alternative management information 6616, so that will be mapped to the physical address (being PSN=b1) of the physical record position that is used for representing data " A " 6602 with the corresponding physical address of logical address (being PSN=a1) that comprise in the record indication.
Figure 38 B represents an example of the data structure of alternative management information 6616.The structure of alternative management information 6616 is identical with the structure of alternative management information 6615.Set and write down the corresponding physical address of logical address (being PSN=a1) that comprises in indicating among the defect cluster beginning PSN2012 of alternative management information 6616.Set the physical address (being PSN=b1) of the physical record position that is used for representing data " A " 6602 among the replacement of the alternative management information 6616 bunch beginning PSN2013.
By generating this alternative management information 6616, when drive control part 311 receives expression when beginning the regeneration indication of playback of data from the position of LSN=A1 from host apparatus 315, just can be rather than begin playback of data " A " 6602 with the position of the corresponding PSN=a1 of LSN=A1 from the position of PSN=b1.
Perhaps, when in step S1104, being defined as under the situation of optical track #N-1 for the sealing optical track, shown in Figure 39 A, also can be in the location records data " A " 6602 of the NWA of the open optical track different with optical track #N-1.
In Figure 39 A example illustrated, with the optical track #N of optical track #N-1 adjacency be open optical track, therefore, data " A " 6602 are recorded to the position of the NWA6621A of optical track #N.In this case, in record data " A " 6602, the LRA6621A of the final entry position in the expression optical track #N is updated to LRA6621B.
On the other hand, the sealing optical track that has been used for representing to carry out the record indication is that the LRA6611A of the final entry position in the optical track #N-1 does not upgrade.
In addition, the open optical track different with optical track #N is not limited to the optical track with optical track #N adjacency.The open optical track different with optical track #N can be any open optical track beyond the optical track #N.
For example, but so long as record position next time of the nearer open optical track of the corresponding physical address of logical address that distance and record indication comprise, all be desirable from the viewpoint of accessibility.
Drive control part 311 generates alternative management information 7615, so that will be mapped to the physical address (being PSN=b2) of the physical record position that is used for representing data " A " 6602 with the corresponding physical address of logical address (being PSN=a1) that comprise in the record indication.
Figure 39 B represents an example of the data structure of alternative management information 7615.The structure of alternative management information 7615 is identical with the structure of alternative management information 6615.Set and write down the corresponding physical address of logical address (being PSN=a1) that comprises in indicating among the defect cluster beginning PSN2012 of alternative management information 7615.Set the physical address (being PSN=b2) of the physical record position that is used for representing data " A " 6602 among the replacement of the alternative management information 7615 bunch beginning PSN2013.
By generating this alternative management information 7615, when drive control part 311 receives expression when beginning the regeneration indication of playback of data from the position of LSN=A1 from host apparatus 315, just can be rather than begin playback of data " A " 6602 with the position of the corresponding PSN=a1 of LSN=A1 from the position of PSN=b2.
Under any situation of Figure 37 A, Figure 38 A and Figure 39 A, the zone of using in information recording carrier 100 all is the amount of capacity by the specified data " A " 6602 of record indication, and does not need to write down useless dummy argument data etc.
As known from the above, though with record indication under the corresponding physical address of logical address that the comprises situation bigger than NWA, replace record by using alternative management information, just can realize not having misregistration and data recording efficiently.
Figure 40 A is illustrated in an example carrying out the data structure of the information recording carrier 100 before handling according to data recording step shown in Figure 34.
In the example shown in Figure 40 A, optical track #N-1, optical track #N are distributed in the user data area 108.Here, optical track #N-1 comprises the not sealing optical track of recording areas 6701.Optical track #N is open optical track.
Write down data " A " 6700 among the optical track #N-1,, therefore, forbidden additional record new data in optical track #N-1 because optical track #N-1 is the optical track that has sealed.
This is because as mentioned above, the sealing optical track is that optical track, the appending of new data that does not contain track number in the sector head information 201 is forbidden.
Because optical track #N is open optical track, can be in optical track #N the additional record new data.
Suppose that drive control part 311 receives the record indication from host apparatus 305 under state shown in Figure 40 A.Here the content of supposing this record indication is the position that indication records data " A1 " 6703A LSN=A1 (PSN=a1).Here, the position of LSN=A1 (PSN=a1) is the position of having write down data " A " 6700.Therefore, this record indication is that indication overrides data " A1 " 6703 puppets on the data " A " 6700.
Here, data " A1 " 6703A has been write down in the position (being the position of PSN=a2) of supposing the NWA6711A in the not recording areas of the sealing optical track optical track #N-1 shown in Figure 41 A.
In this case, drive control part 311 generates alternative management information 6730, so that will be mapped to the physical address (being PSN=a2) of the physical record position that is used for representing data " A1 " 6703A with the corresponding physical address of logical address (being PSN=a1) that comprise in the record indication.
Figure 41 B represents an example of the data structure of alternative management information 6730.The structure of alternative management information 6730 is identical with the structure of alternative management information 6615.Set and write down the corresponding physical address of logical address (being PSN=a1) that comprises in indicating among the defect cluster beginning PSN2012 of alternative management information 6730.Set the physical address (being PSN=a2) of the physical record position that is used for representing data " A1 " 6703A among the replacement cluster of the alternative management information 6730 beginning PSN2013.
In record data " A1 " 6730, the LRA6710A of the final entry position in the expression optical track #N-1 is updated to LRA6710B.According to this kind mode,, need to carry out the processing that the LRA in the sealing optical track is upgraded for record data in the not recording areas of sealing optical track.
Along with the increase of the recording capacity of information recording carrier 100, the quantity of assignable optical track becomes very big in the user data area 108.Especially, in a single day the sealing optical track is assigned with, and its quantity just can not reduce.(on the other hand, the quantity of opening optical track can increase or reduce.For example, when open optical track became the sealing optical track, the quantity of open optical track reduced.)
Consequently, the renewal of the LRA in the sealing optical track is handled and may be become the very large processing of treatment capacity.
For fear of the excessive processing of this treatment capacity, in the present embodiment, the data recording step illustrated with reference Figure 39 A is identical, when optical track #N-1 is defined as sealing optical track, shown in Figure 42 A, at location records data " A1 " 6703A of the NWA of the open optical track different with optical track #N-1.
In Figure 42 A example illustrated, with the optical track #N of optical track #N-1 adjacency be open optical track, therefore, data " A1 " 6703A is recorded to the position of the NWA6721A of optical track #N.
Drive control part 311 generates alternative management information 6733, so that will be mapped to the physical address (being PSN=a3) of the physical record position that is used for representing data " A1 " 6703A with the corresponding physical address of logical address (being PSN=a1) that comprise in the record indication.
Figure 42 B represents an example of the data structure of alternative management information 6733.The structure of alternative management information 6733 is identical with the structure of alternative management information 6615.Set and write down the corresponding physical address of logical address (being PSN=a1) that comprises in indicating among the defect cluster beginning PSN2012 of alternative management information 6733.Set the physical address (being PSN=a3) of the physical record position that is used for representing data " A1 " 6703A among the replacement cluster of the alternative management information 6733 beginning PSN2013.
In record data " A1 " 6703A, the LRA6721A of the final entry position in the expression optical track #N is updated to LRA6721B.But, do not need to upgrade the LRA6710A that represents the final entry position in the optical track #N-1.According to this kind mode,, do not need to carry out the processing that the LRA in the sealing optical track is upgraded for record data in the not recording areas of open optical track.
By means of this data recording step, can either carry out puppet to the sealing optical track and override record, do not need to manage the LRA213 in the sealing optical track again.
In addition, in the 1st embodiment, as mentioned above, data recording also can be handled by RMW and finish.
If end and ECC bunch of border by the specified data of record indication are inconsistent, and with record indication in the corresponding physical address of logical address that comprises be confirmed as being included in the not recording areas in the sealing optical track, so, also can in the data that will write down, insert padding data (for example " 00h "), make that the end that records the data in the optical track is consistent with ECC bunch border.
(the 7th embodiment)
As mentioned above, in the step S112 of Fig. 8 A, data are recorded to the position that is designated as the record destination.After data recording is finished, carry out determination processing, judge whether the record of these data is successful.This processing is called checking treatment.If the result of checking treatment is judged to be this data recording failure, then is called the verification mistake has taken place.Checking treatment is by for example reading recorded data from information recording carrier 100, judging whether consistent realization of this sense data and the data that should write down.
In above-mentioned replacement record, when having write down data in the replacement cluster in user data area 108, the verification mistake might take place.In this case, regard this replacement cluster as defect cluster, distribute new replacement cluster, record data in this new replacement cluster to replacing the district then.
Verification has taken place during record data in the new replacement cluster in replacing the district and staggered the time, the replacement cluster that this is new replaces with the replacement cluster of replacing the renewal in the district, repeats this replacement and handles.
An example of the treatment step of carrying out among the step S112 of Figure 43 presentation graphs 8A.Each step shown in Figure 43 is carried out by the drive control part 311 of drive unit 310.
(step S1108) drive control part 311 is at the ad-hoc location record data of user data area 108.Here, this ad-hoc location determines in the step S107,110 of Fig. 8 A.
(step S1109) drive control part 311 judges whether the data recording in user data area 108 is successful.This judgement realizes by carrying out for example above-mentioned checking treatment.If the step S113 that then enters Fig. 8 is handled in success.If failure handles entering step S1110.
(step S1110) drive control part 311 is at the ad-hoc location record data of replacing district's (all replacements district 106 or periphery are replaced district 107 for example).Here, decide this ad-hoc location with reference to the next available position information of replacing in the replacement district that comprises in district's management information 1108.
(step S1111) drive control part 311 judges whether the data recording in replacing the district is successful.This judgement realizes by carrying out for example above-mentioned checking treatment.If the step S113 that then enters Fig. 8 A is handled in success.If failure is handled and is then returned step S1110.According to this kind mode, repeat record data in replacing the district, up to the success of the data recording in replacing the district.
As mentioned above, when having defect cluster in 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 record puppet described later and override the required district of data after upgrading in the record.
Promptly, when replacing that at least a portion can be used as the pseudo-required zone of data that overrides after upgrading in the record of record in the district 107 because the verification mistake in the pseudo-replacement record that overrides record when causing having produced defect cluster in the user data area 108, is replaced district 106 and periphery interior week.
According to Figure 34, data recording step shown in Figure 43 concrete processing example is described below.
Figure 44 A is illustrated in an example carrying out the data structure of the information processing medium 100 before handling according to data recording step shown in Figure 34.
In the example shown in Figure 44 A, optical track #M 7000, optical track #M 7100 are distributed in the user data area 108.Here, optical track #M 7000 is finish district 7003 and open optical tracks of recording areas 7002 not of the record that comprises " A " 7001 that have data.
In addition, optical track #M 7100 comprises the not open optical track of recording areas 7102.
Suppose that drive control part 311 receives the record indication from host apparatus 305 under state shown in Figure 44 A.Here the content of supposing this record indication is the position that indication records data " A1 " 7101 LSN=A0 (PSN=a0).Here, the position of LSN=A0 (PSN=a0) is the position of having write down data " A " 7001.Therefore, this record indication is that indication overrides data " A1 " 7101 puppets on the data " A " 7001.
Drive control part 311 is at ad-hoc location record data " A1 " 7101A (step S1108) of user data area 108.
In the example shown in Figure 45 A, the position that data " A1 " 7101A is recorded to 1 NWA that is arranged in user data area 108 is the replacement cluster of the position of PSN=a1.
In this case, drive control part 311 is judged to the whether success (step S1109) of the record of data " A1 " 7101A of the replacement cluster of the position that is arranged in PSN=a1.
If success, 311 of drive control parts generate the alternative management information 7200 shown in Figure 45 B.If failure, 311 ad-hoc location (step S1110) that data " A1 " 7101A recorded the replacement district of drive control part.
In Figure 46 A example illustrated, data " A1 " 7101A is recorded to and is arranged in that to replace 106 positions, district week be the replacement cluster of the position of PSN=s1.In this case, drive control part 311 is judged to the whether success (step S1111) of the record of data " A1 " 7101A of the replacement cluster of the position that is arranged in PSN=s1.
If success, 311 of drive control parts generate the alternative management information 7201 shown in Figure 46 B.If failure, 311 ad-hoc location that data " A1 " 7101A recorded the replacement district of drive control part.
Repetition is record data in replacing the district, up to the success of the data recording in replacing the district.Therefore, can't know that in advance replacing record carries out several times.
Thus, receive from host apparatus 305 when drive unit 310 under the situation of 1 record indication, drive unit 310 might be carried out and repeatedly replace record.At this moment, the 2nd later replacement record is exactly the replacement record that host apparatus 305 does not reckon with.
As described among,, will produce the problem that the capacity of alternative management information tabulation 1000 increases if drive unit has been carried out the replacement record that host apparatus 305 does not reckon with at the 4th embodiment etc.
On the other hand, in the present embodiment, be at the NWA execution of opening optical track verification to have taken place to stagger the time later all execution in replacing the district of replacement record when puppet overrides the replacement that causes.
Thus, in user data area, the replacement record that host apparatus 305 does not reckon with can not take place.
Thus, even when host apparatus 305 sends continuous record indication, the capacity of alternative management information tabulation can not increase yet.
In addition, stagger the time, replace and not use user data area and use and replace the district, thus, can shorten to the time of determining till the NWA when verification occurring.
Be assigned in the user data area if will replace, then be substituted into after the NWA till checking treatment finishes, up-to-date NWA is uncertain.
Reason is that NWA is brought in constant renewal in, up to the checking treatment success of replacing item.
On the other hand, by means of the present invention, NWA will carry out the moment that puppet overrides record in decision to determine that therefore, drive unit 310 can not postpone by time of origin at returning up-to-date NWA from the request of host apparatus 305.
In addition, above-mentioned is that open optical track is that example describes with optical track #M 7000, but optical track #M 7000 also can be the sealing optical track.In addition, position shown in the record indication also can be included in not in the recording areas 7002.In either case, all with the above-mentioned step S1118 shown in Figure 43~S1111 that similarly carries out.
In addition, in each embodiment, can use any one management information as an alternative of DFL entry2010 of alternative management information 1010B, Figure 16 of alternative management information 1010, Figure 11 of Fig. 5 B.
Alternative management information comprises original position information 1012 (perhaps defect cluster beginning PSN2012) at least and replaces positional information 1013 (perhaps replacement cluster beginning PSN2013).
And then, can use identical alternative management information, do not replaced the influence of purpose (replacement that defective causes is still for realizing the pseudo-replacement of being done that overrides).Thus, can realize that by means of the alternative management information of single structure puppet overrides recording mode, and do not replaced purpose or replace the kind of item and the influence of position.
Thus, when playback of data from the information recording carrier 100 that is override record by puppet, kind and the position that can not consider to replace purpose or replace item use same processing to regenerate, and drive unit 310 becomes and is easy to realize.
In addition, when having taken place to override when being the replacement of purpose, set the physical address of the ad-hoc location that is used for representing user data area 108 in the replacement positional information 1013 of alternative management information (perhaps replacement cluster beginning PSN2013) with puppet; When taken place with cause because of defective replace with the record of purpose the time, then set and be used for expression and replace the physical address of the ad-hoc location in district's (week replace district 106 for example or periphery is replaced district 107).
Therefore, when having taken place to override when being the replacement of purpose with puppet, the scope of the physical address that the replacement positional information 1013 of alternative management information was set in (perhaps replacing a bunch beginning PSN2013) just is defined in the scope of user data area 108 (hereinafter referred to as the 1st scope).In addition, when taken place with cause because of defective replace with the record of purpose the time, the scope of the physical address of setting in the replacement positional information 1013 of alternative management information (perhaps replacement cluster beginning PSN2013) then is defined in the scope of replacing the district (below be also referred to as the 2nd scope).
According to this kind mode, can keep replacement purpose relevant information and utilize single structure to generate alternative management information, therefore, can be when recovering under the situation of when replacement cluster is regenerated, makeing mistakes required information.
That is, when alternative management information is with because defective has taken place when being recorded as the replacement of purpose, is judged as and in being replaced item, has write down and replace an identical data.At this moment, be replaced item, the correct data of might regenerating by attempting regeneration.In the time can regenerating data correct, just can avoid the mistake of regenerating.
(the 8th embodiment)
In the present embodiment, the step of the record destination that in replacing record, is used for selecting replacing bunch with reference to Figure 47 explanation.
Figure 47 has represented in the information recording carrier 100 of the present invention to replace the structure of district or optical track, an example of the state of recording areas not.
Replace district 106, periphery replacement district 107 and their not recording areas 601A, 601B in comprising in the information recording carrier 100 week.
In addition, comprise optical track #18610 (opening), optical track #28620 (opening) and their not recording areas 8612,8622.
Thus, the record destination that has a plurality of replacements bunch on the information recording carrier 100.
The capacity of the not recording areas of present embodiment in replacing the district satisfies under the state of predetermined benchmark, preferentially with user data area as the record destination that replaces bunch.
That is, when the record destination that decision replaces bunch, from disc structure information 1100, obtain the capacity of the not recording areas in the replacement district at that time.
Then, differentiating not, whether the capacity of recording areas satisfies predetermined reference value.
If satisfy, then select user data area as the record destination.
Here said predetermined reference value for example is meant that the capability value of recording areas is not lower than predetermined capacity value, the capability value of recording areas is not lower than the predetermined ratio of all told of distinguishing with respect to replacement etc.
In addition, when no longer including not recording areas in the user data area, can will replace the district as the record destination that replaces bunch.
This replacement bunch is recorded to the position shown in the next available position information 8600A of Figure 47 for example.
In addition, in general, in the such file system of for example UDF, customizing messages (data structure that for example is called as LVID) must be upgraded when closing information recording medium 100.
In addition, in the user data area after recording areas is not used up, just can not append user data again, therefore, carry out the processing of closing of information recording carrier 100.
By means of present embodiment, replace in this state and still have not recording areas residue in the district, therefore, can positively write down the such information of LVID.
Otherwise, replace the district if used earlier, then when closing information recording medium 100, can not write down LVID, also just can not finish and close processing.
That is, can carry out and practical close that to handle be one of effect of present embodiment.
In addition, above-mentioned explanation also is applicable to defect cluster and pseudo-both the replacement records of record that override certainly.
(the 9th embodiment)
In the present embodiment, the step of the record destination that in replacing record, is used for selecting replacing bunch with reference to Figure 48 explanation.
Among Figure 48, original position 9650 is defect clusters, this position is used as be replaced an execution replacement record.
At this moment, replacing item determines by following steps.
In Figure 48, replace bunch as recordable replacements, recording areas 9601A (replacing in the district 106 in interior week), not recording areas 9612 (in optical track 9610), not recording areas 9622 (in optical track 9620), 9601B (replace distinguish in 107 in periphery) are arranged not.
Here, will be expressed as D1 from the preset range of replacing district's 106 beginnings interior week.
In the present embodiment, when being replaced bunch scope that is positioned at D1, replacing item and week replace district 106 in being decided to be.
Similarly, will replace the preset range of distinguishing 107 beginnings from periphery and be expressed as D4.
In the present embodiment, when being replaced bunch scope that is positioned at D4, replacing item and be decided to be periphery and replace district 107.
The original position 9650 of Figure 48 is positioned at from the position of the D2 that replaces district's 106 beginnings week, supposes D1>D2, and then the replacement item of original position 9650 is by replacing district's 106 decisions interior week.
At this moment, replacement cluster is recorded to the position shown in the next available position information 9600A of Figure 48 for example.
Here, also can use not recording areas 9612 as original position 9650, but original position 9650 is positioned at the preset range D1 that replace district's 106 beginnings from week, therefore, not using not, recording areas 9612 is one of features of present embodiment.
On the other hand, the original position 9651 of Figure 48 is positioned at from the position of the D3 that replaces district's 106 beginnings week, because D1<D3, so the replacement Xiang Buhui of original position 9651 replaces district 106 in interior week.Similarly, can not be substituted into periphery yet and replace district 107.
Here, original position 9651 for example is replaced to not in recording areas 9622 user data areas such as grade.That is, replace in the district 107 and have not recording areas, under the situation that does not satisfy the relevant condition of above-mentioned scope, replace in the district 107 and have not recording areas, also do not use these districts even replace district 106 or periphery interior week even replace district 106 or periphery in interior week; This is one of feature of present embodiment.
Week replace district 106 according to a this replacement interior circumferential portion of selecting step, the beginning part of volume space preferentially to be substituted into information recording carrier 100 promptly.In addition, preferentially to be substituted into the outer peripheral portion of information recording carrier 100 be that periphery is replaced district 107 to the end part of volume space.
In general, in the file system such such as UDF, the beginning of volume space and end dispose as the information (for example FSD or ROOT catalogue) of the starting point of volume structure or bibliographic structure, space bit map etc.
These data are accessed when reading in information recording carrier 100 at first, later on through regular meeting by frequent access.
By means of present embodiment, these data to replacing in the district, therefore, might be improved the record regenerating performance of data by centralized configuration.
In addition, the replacement record of defect cluster has been described here, but above-mentioned explanation can be applied to also overriding record with the puppet that replaces the record same meaning.
(the 10th embodiment)
Further describe the data recording step in the present embodiment.
Figure 49 A 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.
In Figure 49 A, optical track #N-1 10000, optical track #N 10010 have been distributed.
All recording areas 10003 not among the optical track #N 10010.In addition, optical track #N 10010 is positioned at the end of user data area.
In existing journal mode, can only distribute new optical track with position arbitrarily at the optical track of the such end that is arranged in user data area of optical track #N 10010.
Suppose under the state of Figure 49 A, send the indication of record data " B " 10820 from host apparatus 305 to drive unit 310.
Here, suppose that indication records LSN=A2 (PSN=a2) with data " B " 10820, if then use the recording method of existing journal, for example dummy argument data will be recorded always position and then record data " B " 10820 before the position that is close to PSN=a2.
Though making in this way can record data, the capacity that information recording carrier 100 can occur is slatterned such problem by the dummy argument data.Especially, as PSN=a2 during, can slattern very large user data area space near user data area terminal.
Perhaps, shown in Figure 50 A, the part of optical track #N 10010 is appended as optical track #N+1 10020 again, from the beginning opening entry data " B " 10820 of optical track #N+1 10020.
In this case, though can not waste user data area, optical track is assigned to the end of user data area, will occur appending the such problem of optical track again.
Therefore, in the present embodiment, solve these problems by following recording method.
That is, in the optical track that can append new optical track, when having sent the indication of writing down to the physical address greater than NWA, these data are replaced to record and replace bunch.
In addition, generate alternative management information 1010, as being replaced item, the replacement of having carried out record with reality is item bunch as an alternative with record indication physical cluster pointed.
For example, Figure 51 A is an example replacing the data structure under district 107 situation as an alternative with periphery.
Among Figure 51 A, data " B " 10820B is recorded in periphery and replaces district 107.On the other hand, the i.e. record data not in the position of the PSN=a2 among the optical track #N10010 from position that host apparatus 305 has sent the record indication.Thus, LRA10030A is not updated yet.
At this moment, the alternative management information 10817 that is generated is shown in Figure 51 B, and information 1012 is set PSN=a2 in situ, is replacing positional information 1013 setting PSN=s2.
PSN=a2 is equivalent to above-mentioned record indication position pointed of sending from host apparatus 305.On the other hand, PSN=s2 is that data " B " 10820 replaces the physical record position of distinguishing in 107 in periphery.
By generating such alternative management information 817, when when host apparatus 305 sends the indication that LSN=A2 is regenerated, just can be from the PSN=s2 data " B " 10820 of regenerating.
Similarly, in Figure 52 A, data " B " 10820C is recorded to the NWA10011A position of recordable CD-ROM drive #N-1 10000.LRA10010A is along with this record is updated to LRA10010C.
At this moment, the alternative management information 10818 that is generated is shown in Figure 52 B, and information 1012 is set PSN=a2 in situ, is replacing positional information 1013 setting PSN=b1 (with the corresponding physical address of NWA611A).
And then, become not record bunch with the corresponding Logic Cluster of PSN=b1, therefore, also can be arranged on original position information 1012 and set PSN=b1, set 0 alternative management information 10819 replacing positional information 1013.
By generating such alternative management information 10818, when when host apparatus 305 sends the indication that LSN=A2 is regenerated, just can be from PSN=b1 data " B " 10820C that regenerates.
In addition, by generating alternative management information 10819, when sending the indication of regenerating with the corresponding LSN of PSN=b1 from host apparatus 305, playback of data " B " not just for example all is 0 data but return.
Under any one situation of Figure 51 A and Figure 52 A, just there is the amount of capacity of the data " B " 10802 of record indication in the zone of using in information recording carrier 100, does not need to write down record ignoreds such as dummy argument data.
In addition, when carrying out data recording, do not append new optical track, therefore, might further freely append optical track at optical track #N10010.
As known from the above, in the optical track that can append new optical track, when having sent when carrying out the indication of data recording greater than the address location of NWA, replace record by using alternative management information to carry out, just can realize error-free data recording efficiently, and can not hinder appending of thereafter new optical track.
In addition, Figure 53 A be under the state of Figure 52 A further at optical track #N 10010 record data, form finish ECC bunch (PSN=c1) in the front that is close to PSN=a2 after the district 10840 of record and write down the exemplary plot of 10842 o'clock data structures of data " C ".
Here, by the checking treatment behind data " C " 10842 records, find that ECC bunch of PSN=c1 is defect cluster 10841, consequently, data " C " 10842A is replaced ECC bunch that records PNS=a2.
In order to reflect this replacement record, alternative management information 10820 is set shown in Figure 53 B.Being replaced of alternative management information 10820 is PNS=c1, and replacing is PNS=a2.
Under the state of Figure 52 A, do not have record data among the PNS=a2, but shown in Figure 53 A, by means of journal, in journal after the data, also write down data in this zone, can effectively utilize user data area.
(the 11st embodiment)
Further describe the data recording step in the present embodiment.
Here, to follow the UDF standard file system is formatd the example that is treated to of processing, declare record step.
Figure 54 is the figure that represents not carry out the corresponding instance of logical address space and physical address space when replacing record.
In addition, also represented the configuration of the data that comprise in the volume structure district 410 by the UDF prescribed by standard among Figure 54.
The format of file system is handled and is meant the processing that the file control information that comprises the data in these volume structure districts 410 and the meta data file in the partition space 440 etc. is noted.
At present, file system all is that imagination is recording in the information recording carrier 100 after the spanned file management information among memory circuitry 302 grades under the state of Figure 54.
When actual executive logging, can as Figure 55 for example defect cluster appear midway sometimes, replace record.
Along with the execution of this replacement record, later data all must be to replace record.
Thus, the capacity of alternative management information tabulation 1000 increases.
One of method that is used for avoiding this situation is the defect cluster of PSN=1292 to be replaced to record replace the district.
But for the user data in the visit information recording medium 100, volume structure district 410 and meta data file 440 are the data that must read at first.
If this data dispersed record, will be lengthened to the time till the beginning of regeneration user data to replacing in the district, destroy user convenience.
In addition, another avoidance method is the data that change in the file control information, thereby changes the logical address of record destination.That is, when causing writing down the destination when skew takes place, absorb this side-play amount by means of the change of the record destination of file control information owing to replacing record.Thus, write down with regard to not needing to replace.
But, in order to carry out this processing, need be created on the data of the file control information of having determined when beginning is handled in format once more, can cause the increase of file system complexity and the increase in processing time.
Therefore, in the present embodiment, solve these problems by following recording method.
That is, shown in Figure 56, during the data that in record volume structure district 410, comprise, between beginning Volume Descriptor pointer 703 and data in addition, reserve predetermined quantity reservation bunches 9000, carry out the format of file system and handle.
Reservation bunches 9000 is the zone of not writing down valid data under original state, when record volume structure district 410, if the checking treatment failure then is used as and replaces bunch.
In the present embodiment, write down volume identifier string 700, Primary Volume Descriptor string 701 and logical volume successively by the write-verify checking processing and save descriptor 702 from damage.
In addition, when checking treatment is failed, replace record in reservation bunches 11000.
In Figure 56, for example PSN=1132 is a defect cluster, and it replaces item is PSN=1164.After, logical volume is saved descriptor 702 from damage and also is replaced record, and by reserving a plurality of reservations bunches 11000, beginning Volume Descriptor pointer 703 and partition space thereafter 710 just can be recorded in the PSN=1356 place, the record position non-migration.
And then, in the present embodiment, in reservation bunches 11000, carry out the pre-note of beginning Volume Descriptor pointer 703.
The pre-note of beginning Volume Descriptor pointer 703 was meant before physical record begins Volume Descriptor pointer 703, write down the data with beginning Volume Descriptor pointer 703 identical contents in advance.
In Figure 56, suitable therewith to the record of PSN=1292 and 1324.
The effect of carrying out pre-note is as follows.
If, then need to replace record in 703 failures of PSN=1356 start-of-record Volume Descriptor pointer.
At this moment, replace item, just beginning Volume Descriptor pointer 703 can be replaced record, and PSN=1356 address offset can not occur afterwards as long as the PSN=1292 and 1324 that generation alternative management information 1010 finishes pre-note is appointed as.
In addition, the replacement item of file control information and be replaced very approaching, the access time when having shortened regeneration.
In addition, also can further be provided with between the beginning of beginning Volume Descriptor pointer 703 and partition space 710 and preengage bunches 11000.
By above processing, present embodiment has realized the zero access to file control information in the format of the file system of UDF standard is handled, further avoided the generation of alternative management information 1010.
In addition, also can define special alternative management information 1010, finish with specific record and bunch to associate so that will preengage bunches 11000.
Particularly, the new sign that is used for representing this special replacement information is set in the status information 1011 of alternative management information 1010.
In addition, the PSN that setting recording finishes bunch in the information 1012 in situ.On the other hand, in replacing positional information 1013, set the PSN of reservation bunches 11000.
For example, can save the not recording reservation of PSN=1228 bunches 11001 from damage descriptor 702 with the logical volume of PSN=1196 associates.
This is not write down bunch, only allow to carry out data recording when puppet that the record that associates by alternative management information 1010 finishes bunch overrides record carrying out.
By carrying out such association, can guarantee that the puppet that certain record finishes bunch future overrides record.
For example, to save descriptor 702 from damage be with data that at last must record in the information recording carrier 100 of UDF standard format to logical volume.
Thus, by specific record being finished bunch and reservation bunch associates in advance, just can carry out this puppet effectively and override record.
Industrial utilizability
The present invention can be used for providing a kind of puppet at additional record type CD to override in the record and can not have The drive unit that utilizes lavishly user data area is arranged.

Claims (7)

1. drive unit is a kind of additional record type recording medium to be carried out the drive unit that puppet overrides record, wherein,
Above-mentioned additional record type recording medium comprises replaces district and user data area,
Above-mentioned drive unit comprises:
Record regenerating portion is used at above-mentioned additional record type recording medium executive logging action or regeneration action; And
Drive control part is used for controlling above-mentioned record regenerating portion,
The performed processing of above-mentioned drive control part comprises:
Generation comprises original position and replaces the alternative management information of position; And
Control above-mentioned record regenerating portion above-mentioned alternative management information recorded in the above-mentioned additional record type recording medium,
When having taken place to override the replacement that is recorded as purpose with puppet, above-mentioned drive control part is set above-mentioned replacement position to above-mentioned alternative management information to the value of the 1st scope,
When taken place with cause by defective be recorded as the replacement of purpose the time, above-mentioned drive control part is set above-mentioned replacement position to above-mentioned alternative management information to the value of the 2nd scope.
2. drive unit as claimed in claim 1, wherein,
Above-mentioned the 1st scope is the scope of above-mentioned user data area,
Above-mentioned the 2nd scope is the scope in above-mentioned replacement district.
3. carry out the pseudo-additional record type recording medium that overrides thereon for one kind, above-mentioned additional record type recording medium comprises:
Replace the district; And
User data area,
Wherein when having taken place to override the replacement that is recorded as purpose with puppet, the value of the 1st scope is set the above-mentioned replacement position to above-mentioned alternative management information; And
Wherein when taken place with cause by defective be recorded as the replacement of purpose the time, the value of the 2nd scope is set the above-mentioned replacement position to above-mentioned alternative management information.
4. the regenerating unit of the additional record type medium according to claim 3 that is used to regenerate comprises:
Reproducing unit is used for carrying out the regeneration action at above-mentioned additional record type recording medium; And
The regeneration control part is used to control above-mentioned reproducing unit,
The performed processing of wherein above-mentioned regeneration control part comprises: control above-mentioned reproducing unit and make from above-mentioned replacement district or above-mentioned user data area playback of data.
5. carry out the pseudo-additional record type medium that overrides thereon for one kind, wherein above-mentioned additional record type recording medium comprises replaces district and user data area,
Wherein when receive record when indication that comprises with the corresponding optical track in position of answering record data the above-mentioned position that above-mentioned data are recorded in the replacement position in the above-mentioned user data area rather than comprise in above-mentioned record indication; And
When the above-mentioned data failure of above-mentioned replacement location records in above-mentioned user data area, above-mentioned data are recorded in the position in the above-mentioned replacement district.
6. renovation process that is used to carry out the regeneration of additional record type recording medium according to claim 5.
7. recording method that is used to carry out the record of additional record type recording medium according to claim 5.
CN2009101286414A 2004-06-15 2005-06-14 Drive device Expired - Fee Related CN101577134B (en)

Applications Claiming Priority (21)

Application Number Priority Date Filing Date Title
JP2004177663 2004-06-15
JP2004-177664 2004-06-15
JP2004177664 2004-06-15
JP2004-177662 2004-06-15
JP2004-177666 2004-06-15
JP2004177662 2004-06-15
JP2004177667 2004-06-15
JP2004177667 2004-06-15
JP2004-177667 2004-06-15
JP2004-177663 2004-06-15
JP2004177663 2004-06-15
JP2004177666 2004-06-15
JP2004177662 2004-06-15
JP2004177664 2004-06-15
JP2004177666 2004-06-15
JP2007189013 2004-06-25
JP2004189013 2004-06-25
JP2007-189013 2004-06-25
JP2004-255440 2004-09-02
JP2004255440 2004-09-02
JP2004255440 2004-09-02

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2005800011202A Division CN1860549B (en) 2004-06-15 2005-06-14 Drive device

Publications (2)

Publication Number Publication Date
CN101577134A true CN101577134A (en) 2009-11-11
CN101577134B CN101577134B (en) 2012-05-30

Family

ID=38701571

Family Applications (8)

Application Number Title Priority Date Filing Date
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
CN2005800278232A Expired - Fee Related CN101006512B (en) 2004-06-15 2005-06-14 Drive device
CN2005800277507A Expired - Fee Related CN101023485B (en) 2004-06-15 2005-06-14 Drive device
CN 200580027822 Pending CN101006511A (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
CN2005800272293A Expired - Fee Related CN101015015B (en) 2004-06-15 2005-06-15 Drive device

Family Applications After (7)

Application Number Title Priority Date Filing Date
CN200910140035A Pending CN101640056A (en) 2004-06-15 2005-06-14 Drive device
CN2005800278232A Expired - Fee Related CN101006512B (en) 2004-06-15 2005-06-14 Drive device
CN2005800277507A Expired - Fee Related CN101023485B (en) 2004-06-15 2005-06-14 Drive device
CN 200580027822 Pending CN101006511A (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
CN2005800272293A Expired - Fee Related CN101015015B (en) 2004-06-15 2005-06-15 Drive device

Country Status (1)

Country Link
CN (8) CN101577134B (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
CN101006512A (en) 2007-07-25
CN101015014A (en) 2007-08-08
CN101006510B (en) 2011-09-07
CN101015015B (en) 2010-09-29
CN101015015A (en) 2007-08-08
CN101577134B (en) 2012-05-30
CN101006510A (en) 2007-07-25
CN101006511A (en) 2007-07-25
CN101015014B (en) 2011-09-28
CN101640056A (en) 2010-02-03
CN101023485A (en) 2007-08-22
CN101023485B (en) 2010-11-03
CN101006512B (en) 2011-04-20

Similar Documents

Publication Publication Date Title
CN101859579B (en) Drive device
CN101853685B (en) Drive device
CN101807418B (en) Drive device
CN101707060B (en) Drive device
CN101023485B (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

Granted publication date: 20120530

Termination date: 20200614

CF01 Termination of patent right due to non-payment of annual fee