CN1985323B - Data recording/reproduction for write-once discs - Google Patents

Data recording/reproduction for write-once discs Download PDF

Info

Publication number
CN1985323B
CN1985323B CN200580023140XA CN200580023140A CN1985323B CN 1985323 B CN1985323 B CN 1985323B CN 200580023140X A CN200580023140X A CN 200580023140XA CN 200580023140 A CN200580023140 A CN 200580023140A CN 1985323 B CN1985323 B CN 1985323B
Authority
CN
China
Prior art keywords
write
data
sector
logic
instruction
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.)
Expired - Fee Related
Application number
CN200580023140XA
Other languages
Chinese (zh)
Other versions
CN1985323A (en
Inventor
后藤芳稔
加勒特·J·布班
拉吉夫·Y·纳加尔
萨罗什·C·哈维瓦拉
拉温德·S·森德
韦莎尔·V·高特格
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
Microsoft Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Microsoft Corp
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, Microsoft Corp filed Critical Matsushita Electric Industrial Co Ltd
Priority claimed from PCT/JP2005/008822 external-priority patent/WO2005109427A1/en
Publication of CN1985323A publication Critical patent/CN1985323A/en
Application granted granted Critical
Publication of CN1985323B publication Critical patent/CN1985323B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B2020/10898Overwriting or replacing recorded data
    • G11B2020/10907Overwriting or replacing recorded data using pseudo-overwriting, i.e. virtually or logically overwriting data on WORM media by remapping recorded blocks to alternate areas

Abstract

A recording method of the present invention includes the steps of: receiving a write instruction which specifies at least a logical sector in which data is to be written; determining whether the logical sector specified by the write instruction corresponds to a recorded physical sector or an unrecorded physical sector (S1111); when it is determined that the logical sector specified by the write instruction corresponds to an unrecorded physical sector, writing the data into the unrecorded physical sector (S1112); and when it is determined that the logical sector specified by the write instruction corresponds to a recorded physical sector, writing the data into an unrecorded physical sector other than the recorded pysical sector (S1113), generating a remapping table including remapping information which remaps an original address of the recorded physical sector to a remapping address of the selected physical sector, and writing the remapping table on the write-once disc (S1114).

Description

The data recording/reproducing of write-once discs
Technical field
The present invention relates to be used to utilize logic can rewrite a kind of recording method and the equipment of the write-once discs of (overwritable) mechanism (write-once disc), a kind of reproducting method and equipment, and the SIC (semiconductor integrated circuit) that is used for this recording unit or reproducer.
Background technology
Develop the UDF (universal disc format that OSTA (optical storage technology association) announces by comings and goings
Figure 05823140X_0
) standard, the file system that is used for CD has obtained progress.
For write-once discs, from the record of many conversation recordings to the file one by one that uses VAT (virtual allocation table), recording method is improved.
On the other hand, for rewriteeing (rewritable) dish, structure from the structure of the non-journal of using ECMA 167 regulations to the metadata partition of using UDF revised edition 2.5 (after this, being called UDF 2.5) regulation, volume and file structure are improved, and ECMA 167 wherein is international standards.The advantage of using metadata partition is the raising of extracting the performance of metadata (for example document entry/catalogue), and the soundness when improving medium and being damaged.
But, metadata partition can not be used on write-once discs, add data.This is that reason is that the realization of this combination exists difficulty because UDF 2.5 does not allow to use the metadata partition with VAT.
In typical case, it also is difficult developing a kind of new recording method for write-once discs.This difficulty derives from its physical characteristics, for example the data that write of single can not be rewritten, and therefore need study from following several aspects: with the compatibility of Computer Architecture, and the possibility of implementing at driving arrangement, the restriction that the consumer products private resource brings, or the like.
The present invention has considered the problems referred to above, and one of its purpose is that the metadata partition advantage is offered data recording on the write-once discs.
Summary of the invention
A kind of recording method of the present invention, be used for data are write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, this recording method may further comprise the steps: receive and write instruction, this writes instruction and specifies at least one logic sector that will write data therein; Judge that the specified logic sector of said write instruction is corresponding to writing down physical sector or not writing down physical sector; The logic sector of judging said write instruction appointment writes the described physical sector that do not write down with described data when not writing down physical sector; And the logic sector of judging said write instruction appointment is when writing down physical sector, described data are write do not write down physical sector rather than the described physical sector that write down, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with the described original address that has write down physical sector, and the described table that remaps is write described write-once discs.
In one embodiment of the invention, the described data that write comprise the metadata that has document entry at least.
In one embodiment of the invention, the described data that write comprise the data of file.
In one embodiment of the invention, described data are sequentially write the track that distributes on the described write-once discs, this track has a plurality of physical sectors, but and does not selectedly write down the physical sector that physical sector is next write address appointment in the track.
In one embodiment of the invention, described method is further comprising the steps of: but reception is to the inquiry of described next write address in the track; And respond described inquiry, but provide the information that shows described next write address in the track.
In one embodiment of the invention, the described table that remaps is included at least a portion of defect list, and this defect list is described at least one defective physical sector.
Another reverse side, the invention provides a kind of recording unit, be used for data are write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, and this recording unit comprises: driving mechanism is used for described write-once discs is carried out recording operation; And drive control part, be used to control described driving mechanism; Wherein: described drive control part is used to receive the instruction that writes that appointment will write data wherein at least one logic sector, and judge that the specified logic sector of said write instruction is corresponding to writing down physical sector or not writing down physical sector, the logic sector of judging said write instruction appointment is not when writing down physical sector, and described drive control part is controlled described driving mechanism described data are write the described physical sector that do not write down; And the logic sector of judging said write instruction appointment is when writing down physical sector, described drive control part is controlled described driving mechanism and described data are write is not write down physical sector rather than the described physical sector that write down, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with the described original address that has write down physical sector, and controls described driving mechanism described remapping shown to write described write-once discs.
On the other hand, the invention provides the SIC (semiconductor integrated circuit) of using in a kind of recording unit, be used for data are write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, wherein: described SIC (semiconductor integrated circuit) is used for controlling and driving mechanism described write-once discs is carried out recording operation, described SIC (semiconductor integrated circuit) is used to receive the instruction that writes that appointment will write data wherein at least one logic sector, and judge that the specified logic sector of said write instruction is corresponding to writing down physical sector or not writing down physical sector, the logic sector of judging said write instruction appointment is not when writing down physical sector, described SIC (semiconductor integrated circuit) is controlled described driving mechanism described data is write the described physical sector that do not write down, and the logic sector of judging said write instruction appointment is when writing down physical sector, described SIC (semiconductor integrated circuit) is controlled described driving mechanism and described data are write is not write down physical sector rather than the described physical sector that write down, this does not write down physical sector and is selected from a plurality of physical sectors corresponding with a plurality of logic sectors in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with the described original address that has write down physical sector, and controls described driving mechanism described remapping shown to write described write-once discs.
On the other hand, the invention provides a kind of recording method, be used for data are write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, this recording method may further comprise the steps: response first writes instruction, this writes instruction and specifies at least one logic sector will write data therein, described data is write the corresponding described physical sector of logic sector that writes the instruction appointment with described first; And respond second and write instruction, this writes instruction and specifies at least one logic sector that will write data therein, with described data write do not write down physical sector rather than with described second write the instruction appointment the corresponding described physical sector of logic sector, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with described second original address of described physical sector that writes the logic sector correspondence of instruction appointment, and will describedly remap and show to write described write-once discs.
In one embodiment of the invention, the described data that write comprise the metadata that has document entry at least.
In one embodiment of the invention, the described data that write comprise the data of file.
In one embodiment of the invention, described data are sequentially write the track that distributes on the described write-once discs, this track has a plurality of physical sectors, but and does not selectedly write down the physical sector that physical sector is next write address appointment in the track.
In one embodiment of the invention, described method is further comprising the steps of: but reception is to the inquiry of described next write address in the track; And respond described inquiry, but provide the information that shows described next write address in the track.
In one embodiment of the invention, the described table that remaps is included at least a portion of defect list, and this defect list is described at least one defective physical sector.
On the other hand, the invention provides a kind of recording unit, be used for data are write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, and this recording unit comprises: driving mechanism is used for described write-once discs is carried out recording operation; And drive control part, be used to control described driving mechanism, wherein: response first writes instruction, this writes instruction and specifies at least one logic sector will write data therein, and described drive control part is controlled described driving mechanism and described data write the corresponding described physical sector of logic sector that writes the instruction appointment with described first; And respond second and write instruction, this writes instruction and specifies at least one logic sector that will write data therein, described drive control part control described driving mechanism with described data write do not write down physical sector rather than with described second write the instruction appointment the corresponding described physical sector of logic sector, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with described second original address of described physical sector that writes the logic sector correspondence of instruction appointment, and controls described driving mechanism and will describedly remap and show to write described write-once discs.
On the other hand, the invention provides the SIC (semiconductor integrated circuit) of using in a kind of recording unit, be used for data are write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, wherein: described SIC (semiconductor integrated circuit) is used for controlling and driving mechanism described write-once discs is carried out recording operation, response first writes instruction, this writes instruction and specifies at least one logic sector that will write data therein, described SIC (semiconductor integrated circuit) control described driving mechanism with described data write with described first write the instruction appointment the corresponding described physical sector of logic sector, and respond second and write instruction, this writes instruction and specifies at least one logic sector that will write data therein, described SIC (semiconductor integrated circuit) control described driving mechanism with described data write do not write down physical sector rather than with described second write the instruction appointment the corresponding described physical sector of logic sector, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with described second original address of described physical sector that writes the logic sector correspondence of instruction appointment, and controls described driving mechanism and will describedly remap and show to write described write-once discs.
On the other hand, the invention provides a kind of reproducting method, be used to read the data that write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, the table that will remap writes described write-once discs, this table that remaps comprises the multinomial information that remaps, each original address with described physical sector in the described multinomial information that remaps is remapped to the address of remapping of the physical sector that comprises in the described volume space, described reproducting method may further comprise the steps: receive reading command, this reading command is specified therefrom at least one logic sector of reading of data; Judge whether the described physical sector corresponding with the specified logic sector of described reading command should be shown remap with described remapping; When the corresponding described physical sector of described logic sector of judgement and described reading command appointment should remap, place, the address reading of data that remaps that the information of remapping that comprises in the described table that remaps remaps; And the corresponding described physical sector of the described logic sector of judgement and described reading command appointment is not when should remap, in the place, address of the described physical sector corresponding with the described logic sector of described reading command appointment reading of data.
On the other hand, the invention provides a kind of reproducer, be used to read the data that write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, the table that will remap writes described write-once discs, this table that remaps comprises the multinomial information that remaps, each original address with described physical sector in the described multinomial information that remaps is remapped to the address of remapping of the physical sector that comprises in the described volume space, described reproducer comprises: driving mechanism is used for described write-once discs is reproduced operation; And drive control part, be used to control described driving mechanism, wherein: described drive control part is used to receive reading command, this reading command is specified therefrom at least one logic sector of reading of data, and whether the specified corresponding described physical sector of logic sector of judgement and described reading command should remap with the described table that remaps, when the corresponding described physical sector of described logic sector of judgement and described reading command appointment should remap, described drive control part is controlled described driving mechanism place, the address reading of data that remaps that the information of remapping that comprises remaps in the described table that remaps, and the corresponding described physical sector of the described logic sector of judgement and described reading command appointment not be when should remap, and described drive control part is controlled described driving mechanism in the place, address of the described physical sector corresponding with the described logic sector of described reading command appointment reading of data.
On the other hand, the invention provides the SIC (semiconductor integrated circuit) of using in a kind of reproducer, be used to read the data that write write-once discs, described write-once discs has a plurality of physical sectors, described write-once discs includes the volume space of a plurality of logic sectors, in described a plurality of logic sector each is all corresponding to one of described a plurality of physical sectors, the table that will remap writes described write-once discs, this table that remaps comprises the multinomial information that remaps, each original address with described physical sector in the described multinomial information that remaps is remapped to the address of remapping of the physical sector that comprises in the described volume space, wherein: described SIC (semiconductor integrated circuit) is used for controlling and driving mechanism described write-once discs is reproduced operation, described SIC (semiconductor integrated circuit) is used to receive reading command, this reading command is specified therefrom at least one logic sector of reading of data, and whether the specified corresponding described physical sector of logic sector of judgement and described reading command should remap with the described table that remaps, when the corresponding described physical sector of described logic sector of judgement and described reading command appointment should remap, described SIC (semiconductor integrated circuit) is controlled described driving mechanism place, the address reading of data that remaps that the information of remapping that comprises remaps in the described table that remaps, and the corresponding described physical sector of the described logic sector of judgement and described reading command appointment not be when should remap, and described SIC (semiconductor integrated circuit) is controlled described driving mechanism in the place, address of the described physical sector corresponding with the described logic sector of described reading command appointment reading of data.
By with reference to the following drawings, to read and the following detailed description of understanding, these advantages of the present invention and other advantage will become apparent to those skilled in the art.
Description of drawings
The structure of Fig. 1 declare record file time domain;
The structure of Fig. 2 explanation record data-A file time domain in the root directory of dish with state shown in Figure 1;
The structure of Fig. 3 explanation record data-A file time domain in the root directory of dish with big spare area;
Fig. 4 is the process flow diagram of the program of declare record file;
Fig. 5 illustrates a kind of optical disc information recording/reproducing system;
Fig. 6 illustrates the transmission of ordering between driving arrangement and the system controller;
The piece of user data area when each all illustrates and at rewritable disk situation and write-once discs situation data is remapped among Fig. 7 A~7D;
When each among Fig. 8 A and the 8B all illustrates data is write NWA, the piece of user data area;
The data structure that Fig. 9 explanation is remapped and shown;
Figure 10 explanation is used for illustrating the regional structure of pseudo-Improvement;
The process flow diagram of the program that all to be explanation optical disc information recording/reproducing system write data of each among Figure 11 A and the 11B;
Figure 12 explanation is the optical disc information recording/reproducing system of a consumption video recorder or a consumer video player part;
Figure 13 is explanation recording/reproducing system shown in Figure 12 writes the program of data on optical disc write once a process flow diagram;
Figure 14 is the process flow diagram of explanation recording/reproducing system shown in Figure 12 program of reading of data from the optical disc write once.
Embodiment
After deliberation the rewritten function of the write-once discs carried out of driving arrangement.But, its practical application is very difficult, because how many data driving arrangement does not know to have to rewrite, and want where rewrite data.
For example, the data storing that rewrite other position outside write-once discs, and specify the information of original position and replacement position in driving arrangement, to handle.When the data volume of rewrite data increases, need the longer time to search for somewhere and replace.Therefore, because resource (for example CPU speed and internal memory) is less, this driving arrangement can not carry out read/write with enough performances.
Therefore, new file system should be able to be distinguished the data that will rewrite and the data that newly write, this new file system should be able to have the driving arrangement coupling that can rewrite function.So, found the data that metadata partition is used for write-once discs to add and do not used the possibility of VAT.
The strategic significance of this thought comprises: by allowing device handle the rewriting of existing piece, file system does not need to realize this logic.Do the complexity that has reduced file system driver like this.
In the following embodiments, provided scheme in detail based on this thought.
Embodiment 1
Can reduce the data volume of rewrite data by the program in the optimization file system.In this embodiment, can rewrite the new recording method of the driving arrangement of function basic read/write operation is described according to having write-once discs.
After this, embodiments of the invention will be described with reference to the drawings.
The structure of Fig. 1 and 2 declare area.Fig. 4 is the process flow diagram of the program of declare record file.Fig. 1 illustrates the state that has write down file after logical format is operated.Fig. 2 explanation has the state that has write down data-A file on the dish of state shown in Figure 1 in root directory.
At first key diagram 1.
The data field comprises for example with lower area: Lead-In Area, volume space and leading-out zone (wherein Lead-In Area and leading-out zone are by physical layer management).Physical sector is an addressable unit in the data field, according to ascending physical sector number is distributed to each physical sector.Volume space is made up of logic sector, according to ascending logic sector number is distributed to each logic sector.Each logic sector is all corresponding uniquely with physical sector in advance.For example, the logic sector with logic sector number 0 is corresponding to the physical sector with physical sector number 10000, and the start address of volume space is stored in the Lead-In Area.
Defect management (DMA) is such zone, and the information that shows replace block address in the replacement operation and be replaced corresponding relation between the block address is recorded in this zone as defect list.
Interim DMA (TDMA) is such zone, in increasing progressively write operation the temporary defect inventory is recorded in wherein.When a dish is finally forbidden increasing progressively write operation, the temporary defect inventory is registered among the DMA as defect list.Two parts at dish just provide DMA in the part of the inside and the part of outside.So, twice defect list is recorded in the different zones altogether.In DMA, write down dish information, for example positional information of orbit information, spare area or the like.
The spare area is to replace the district, and by replacement operation with data recording therein, this mode is equivalent to linear replacement method.Distribute this to replace the district in the volume space outside that file system is handled.In this example, data are recorded in the part of spare area.Use physical address with the address in the inherent mode assign alternate area.In order to simplify this explanation, with the relative address in SA (address, spare area) the expression spare area.Last and the later sector of SA#m is in not recording status.
In the present invention, the linear replacement algorithm that generally is used for defect management is applied to the rewriting operation that driving arrangement is carried out.
Volume space is made up of three tracks.Track is a zone on the write-once discs, from the beginning of track with data recording therein sequentially.In the track the end of recording areas manage by driving arrangement.Track condition (close and open) shows the state of track." close (Close) " and show that all sectors in the track all have been used to data recording." open (Open) " and show that the sector also is not used to data recording in addition.In other words, can data be write the track of opening with incremental manner.
Volume structure
Volume and file structure meet UDF 2.5.The volume structure that is positioned in the zone with less logic sector number comprises Volume Descriptor anchor pointer (Anchor Volume Descriptor Pointer), volume recognition sequence, Volume Descriptor sequence and logical volume integrity sequence.The volume structure that is positioned in the zone with big logic sector number comprises Volume Descriptor anchor pointer and Volume Descriptor sequence.The logical volume integrity sequence that has write down Logical Volume Integrity Descriptor therein is the part of volume structure.But, in this example for convenience for the purpose of, Logical Volume Integrity Descriptor is drawn under the volume structure clearly.Owing to write down volume structure in the past, so track #1 and #3 are in closed condition.Distribute and be described to the subregion of the zone of track #2 as the UDF appointment.Meta data file also is called metadata partition.For it and metadata partition are made a distinction, track #2 zone is called Physical Extents.In meta data file, write down untapped zone in advance.Track #2 is the zone that is used for the log file data.Therefore, the later zone of recording areas is in not recording status.
File structure
Metadata bitmap FE (metadata bitmap file document entry) is the document entry that is used to manage into metadata bitmap assigned region.The metadata bitmap is to be used to illustrate the bitmap that is ready to for the available sector of using in the meta data file.Be not only Unrecorded zone, also having by deleted file inlet or catalogue becomes the zone of not using the zone, all is recorded in the bitmap as Free Region.Meta data file FE (meta data file document entry) is the document entry that is used to manage into the meta data file assigned region.In meta data file, log file inlet and catalogue.In UDF, go back log file set identifier (File Set Descriptor), this point is not described among the figure.
Root directory FE (root directory document entry) is the document entry that is used to manage into the root directory assigned region.Root directory FE is recorded in the MA#i.Root directory is recorded in the MA#i+1.Though do not draw among the figure, from physically, in fact root directory FE and root directory are stored in the sector of spare area.Show in the spare area which sector replaces the information of root directory FE and root directory and be recorded among the TDMA.MA (meta data file address) shows the relative address in the meta data file.Owing to write down file in the past, so MA#k goes up and later zone is available.
The file logging program
The exemplary process that data-A file logging is gone to the write-once discs shown in Figure 1 is described below with reference to Fig. 2 and 4.
In step S101, the metadata bitmap is read in internal memory, in internal memory, upgrade, to obtain the recording areas in the meta data file.
In step S102, catalogue is read in internal memory (will under this catalogue registration documents), in internal memory, upgrade then.In this example, read root directory, registration data-A file.
In step S103, the document entry of catalogue is read in internal memory, more the information of new directory (for example size, update time or the like).
In step S104, from not recording areas opening entry data-A file data of track #2.
In step S105,, in internal memory, produce the document entry information of file in order to register the positional information of recorded data.
In step S106, be recorded in the data of upgrading or producing in the internal memory.In example shown in Figure 2, send instruction and allow driving arrangement that the metadata bitmap file is recorded in same position.Because specified zone is a zone of having write down, therefore, driving arrangement is at SA#m place record data, and this position is the not beginning of record data in the spare area.It obtains instruction root directory is recorded in MA#k.Therefore, it is invalid that the root directory that is recorded in the MA#i+1 place becomes, and the sector at MA#i+1 place becomes available sector in logical space.Even obtain instructing with the Free Region of data recording in the meta data file, can not be with data recording to that zone, because the All Ranges in the meta data file write down in advance.Therefore, the data recording of root directory is being gone in SA#m+1 in the spare area by replacement operation.
Replacement operation is a pseudo-rewriting operation of the present invention.As employed here, " pseudo-rewriting operation " this term refers to logical overwrite operation, in this operation, the mechanism of replacement operation is used to respond data are write the instruction of recording areas, and data are write not recording areas.
Obtain instructing document entry to write MA#i with root directory.In this case, MA#i is a recording areas.Therefore, by pseudo-rewriting operation, with the SA#m+2 of data storing in the spare area.Obtain instructing document entry to write MA#k+1 with data-A file.By pseudo-rewriting operation these data storing are arrived SA#m+3.
In step S107, obtain instruction and upgrade the logical volume integrity identifier, to show the integrality state of file structure.By pseudo-rewriting operation data storing is arrived SA#m+4.
Fig. 5 illustrates optical disc information recording/reproducing system 500 of the present invention.This information recording/regenerating system 500 comprises system controller 510, driving arrangement 520 and input/output bus 530, and driving arrangement 520 wherein is used for from the optical disk reading breath of winning the confidence, and information is write CD.
Between system controller 510 and driving arrangement 520, the response of instruction and utility command collection, and the transmission of read/write data are all undertaken by input/output bus 530.
System controller 510 comprises controller 511 and internal memory 512.System controller 510 can be a personal computer.Controller 511 can be a this SIC (semiconductor integrated circuit) of CPU (CPU (central processing unit)) for example, carries out the method for describing in the embodiments of the invention.
In addition, the program that is used for allowing controller 511 carry out the method that embodiment describe is stored in the internal memory 512.In controller 511, can realize file system, utility routine or device driver.
Driving arrangement 520 comprises system LSI 521, internal memory 522 and driving mechanism 523.The program that is used for allowing system LSI 521 carry out the method that embodiments of the invention describe can be stored in the internal memory 522.System LSI 521 can form on semi-conductor chip, and can comprise microprocessor.
Driving mechanism 523 comprises the mechanism of loading optical disk, is used for the pick-up head 524 of read/write data on dish, is used for the travel mechanism of mobile pick-up head 524.Driving mechanism 523 is by system LSI 521 controls.
As mentioned above, can the log file data and do not rewrite, some metadata can be carried out record with pseudo-rewriting operation.In typical case, the size of the metadata that updating file needs is less than the size of data of file, so can reduce the size of the data that will rewrite.The size of document entry is 2048 bytes, and the size of catalogue depends on the length of quantity of documents and filename.As an example,, 39 file loggings in catalogue, just can be recorded in directory information in the sector of 2048 bytes if each filename is 12 characters.Therefore, by with this new recording method with have the driving arrangement of rewriting function and combine, can realize read/write operation for write-once discs basically.
Embodiment 2
This embodiment describes file is write the another kind of recording method that write-once discs gets on, and the state on this dish has been made introduction for 1 li at embodiment shown in Figure 2.
In Fig. 2, recording areas does not have only 2 sector: SA#m+5 and #m+6, therefore, if metadata bitmap and root directory are write the spare area, just the document entry of root directory and the document entry of file can not be write.Therefore, can not write down other file, have Free Region in the meta data file, because the not recording areas in the spare area uses up even the metadata bitmap shows.
So, describe below and will check not a kind of recording method of the log file of recorded area size in the spare area.
Fig. 3 illustrates the regional structure on the dish that same data shown in Figure 2 are write.In Fig. 3, owing to provide bigger spare area by the logical formatting operation, so the spare area has than bigger not recording areas shown in Figure 2.
Fig. 6 illustrates data and the transmission of order between driving arrangement and system controller.Concrete order can be applied to the multimedia command set standard of ANSI (ANSI) specified standard or INCITS (the international council of information technology standard) T10 regulation.
The program that step S601, S603, S605 and S607 illustrative system controller are carried out.The program that step S602, S604, S606 and S608 explanation driving arrangement are carried out.
In step S601, understand the type be loaded into the medium that goes in the driving arrangement from the system controller request, system controller finds that this medium is that single writes can pseudo-rewriting dish, and recognizes that driving arrangement supports the pseudo-function of rewriting.
In step S602, driving arrangement is read the type information of the dish that is loaded.Driving arrangement judges also whether this dish supports the pseudo-function of rewriting.Driving arrangement is told system controller with these information.
In step S603, by the orbit information of request acquisition write-once discs, system controller obtains this information from driving arrangement.Particularly, request obtains among the track #2 the not size of recording areas, but next one write address in this track, perhaps next one recording address in this track.In order to write the data of file, need to obtain in advance above-mentioned information, and check whether recording areas not has the size of regulation.Owing in track #2, can distribute other meta data file, for example, can be 128MB for the dish prescribed level of 23GB total volume.If the size of recording areas is not less than this prescribed level, just this dish is used as read-only disk.If this size is equal to or greater than prescribed level, program is just gone to next step.The size of document entry is 2kB.When only document entry being recorded the Free Region of 128MB, can write down at most document entry corresponding to 65,536 files.
In step S604, driving arrangement reads the information relevant with number of tracks from Lead-In Area, DMA or the TDMA of the dish that loaded, positional information, and the opening/closing state of each track, the perhaps address information of last record.Tell system controller with these information.
In step S605, the instruction driving arrangement reads the metadata bit map area.As a result, system controller obtains the metadata bitmap, and checks whether available sector is arranged.When available sector was arranged, program entered next procedure.When not having available sector, in the not recording areas of track #2, distribute the additional areas of meta data file, with the reservation available sector.In this checking process, by using the prescribed level of available sector, for example this prescribed level can be 128kB, and system controller can judge whether the other zone that is used for meta data file is preengage.
In step S606, driving arrangement is from the appointed area reading of data, and gives system controller with these data transfer.
In step S607, by obtaining spare area information to the driving arrangement request, system controller obtains these information, and checks whether to have in the spare area to have prescribed level or bigger not recording areas.
For example, when the size of recording areas is not equal to or greater than 8MB, just can be with this dish as recordable disc.When this size the time less than 8MB, just with this dish as read-only disk.Not only the spare area is used for pseudo-the rewriting, also is used for defect management.Therefore, need other not recording areas to recover dish and go up defective sector.
In step S608, driving arrangement reads the quantity of spare area from Lead-In Area, DMA or the TDMA of the dish that loaded, the size of spare area, and the size of recording areas not in each spare area.Tell system controller with these information.
As mentioned above, rewrite by puppet or defect management is recorded in data in the not recording areas in the spare area.Write-once discs driving arrangement of the present invention has the function that sends white space information and media type information to system controller, because driving arrangement stores the data to certain position, this position may be different from the position of file system expection.No matter when log file the time, obtain this white space information by request, system controller can determine whether to write down this file, the result, and system controller can be with the log file correctly of the related data in the meta data file.
Embodiment 3
Among the embodiment 2 in front, must in the format write-once discs, distribute spare area with enough sizes.But how many file loggings user's there is no telling will have go to dish, and the size of file, therefore, determine that formative the time the suitable size of spare area is difficult.If used all spare areas, just can not be at any file of disc recording, even recording areas is not still stayed in the user data area.On the other hand, if distribute a bigger spare area, after using up whole user data areas, recording areas might still not stayed in the spare area so.
In addition, in the time of each log file, file system driver must be checked in the spare area the not size of recording areas, and therefore, space management becomes and is difficult to implement.This enforcement for the file system driver of computer system is improper.
Therefore, will introduce the not only also recording method of indication replacement data in user data area below in the spare area.
At first, thought of the present invention is described:
These devices can be write piece by new data being write the next one, and create an inlet in the table that remaps that driving arrangement stores, and handle the rewriting of data with existing.File system continues to use same logical block number (LBN), and driving arrangement is remapped to new position based on the inlet in the table with request.In order to reduce the size of this table, after these pieces were released, file system was not reused these pieces.That is to say that file system must know that it is using single to write medium, and adjusts its operation in view of the above.
This device uses normal volume space to store the data that remap.That is to say, but its next one writing position in the same track at original block place writes.No matter when file system need be distributed new space, and file system all can be write piece to this device inquiry next one.Therefore, file system and device are shared same space in order to write.
Secondly, utilize Fig. 7 A~7D, 8A~8B and 9 to describe the validity of above thought.
Piece in Fig. 7 A~7D and 8A~8B explanation user data area.Come generally to illustrate this thought with piece rather than sector here.User data area is identified as volume space by file system.Be that each piece distributes physical block address (being described as PBA later on) and LBA (Logical Block Addressing) (being described as LBA later on), therefore, the corresponding relation between definite in advance PBA and the LBA wherein as an example, begins to distribute PBA from numbers 100, begins to distribute LBA from number 0.
Fig. 9 illustrates the data structure of the table that remaps that driving arrangement stores.This table has some inlets, and each inlet all indicates original address and the address of remapping.This data structure can be the common data structures with defect list, and this defect list is used to rewritable disk to carry out defect management.
Generally, it is very effective that above thought seems not to be, because conflict is arranged when being used for rewritable disk.
Shown in Fig. 7 A, rewritable disk has the spare area, in the spare area from for example numbers 200 beginning to distribute a PBA.In the average case of rewritable disk,, just use linear replacement algorithm with the piece PBA 200 and 201 of these data storing in the spare area if piece and these pieces that data are write LBA2 and 5 are defective.This just means that LBA 2 and 5 is reallocated to PBA 200 and 201.Therefore, when some pieces in the volume space become out of use because of defective, with the good block compensation in the spare area.
If above thought is applied to rewritable disk, shown in Fig. 7 B, in the piece of the data storing that will write LBA2 and 5 in the user data area, for example among the PBA 103 and 107.But the piece PBA 103 that these remap and 107 can not be used to store the data that are requested to be stored into LBA 3 and 7, because these pieces are replaced by LBA 2 and 5.This situation has been destroyed the hypothesis that the zero defect logical space is provided, and when wherein supposing to write down any data by file system, can not reduce the data capacity of rewritable disk.In addition, in this case, driving arrangement can not determine the to remap position of data because file system may write data randomly, and has only file system to handle the space bit map of specifying the zone that can be used to write down.
Described as embodiment 1, also linear replacement algorithm can be applied to write-once discs.Shown in Fig. 7 C, distribute the spare area for write-once discs in advance.If this part is rewritten, perhaps can not write, just with the block compensation this part in the spare area because of defective.As an example, when data D1 is write LBA 2,, just compensate this piece with piece PBA 200 if there is defective in this piece.When data D2 is write LBA 5, if PBA 105 has write down content, just with these data storing to PBA 201.
Suppose that piece and the defect block that will rewrite will compensate with belonging to volume space another piece in addition.Not only for rewritable disk, and for write-once discs, this thought seems it all is problematic.
But according to the present invention, write-once discs can not guarantee to provide the zero defect logical space as rewritable disk, because if write once on a piece of write-once discs, just can not change the data in this piece.And the new file system that is used for write-once discs will use journal to write data.In this, this thought is effective for the write-once discs shown in Fig. 7 D.Data D1, D2 and D3 are write LBA0,1 and 2 in proper order, and during this time, if block PBA 102 is defective, data can be write next piece PBA 103 so.In addition, data D4, D5 and D6 are write LBA 4,5 and 6 in proper order, can using more then, new data D5 ' rewrites LBA 5.When rewriting, data storing is arrived piece PBA 107, but it is a next one writing position.Like this, this thought does not require the distribution that changes logical block number (LBN), because no matter when need to rewrite, but data can both be write next one writing position, runs out up to user data area.In the rewritable disk situation, can not be with data recording to the piece that is used to remap, still for write-once discs, the present invention is without any problem.For example, can be with data recording to piece LBA 7.In this case, data storing is arrived PBA 108, and will specify this inlet that remaps to add to the table that remaps from original address PBA 107 to the address PBA 108 that remaps.
As mentioned above, according to the present invention, even two secondary data of having given logical block address assignment, driving arrangement also can write down these data to NWA by distributing new physical block address.
But for another relatively actual vital point of above thought is by inquiring about next one write address, come to preserve the inlet that stores in the table that remaps from the file system to the driving arrangement.The mechanism of the size that Fig. 8 A and 8B explanation reduce to show.In this drawing, prior record block PBA100~105.Shown in Fig. 8 A, when data D1 is write LBA1, but store the data to next one writing position PBA 106, increase an inlet, PBA 101 is remapped to PBA 106 with explanation.During this time, file system does not know where data are re-mapped to., just store the data to next piece PBA 107, and add an inlet if but the file system instruction writes foregoing next one writing position LBA 6 with new data D2.In the present invention, before any data of record, but the next one write address that file system check upgraded, avoiding rewriting, but and instruct data are write the next one write address that upgraded, but its next one write address is LBA 7 in Fig. 8 B.So just do not need other inlet.File system also can not redistributed data and give the file area of deleting, thereby because same reason has been avoided the necessity of rewriting.
Further, space management that can the simplified-file system is because file system only uses the NWA in each track to distribute new region to be used for record.This means that file system can not check in the spare area, and can not record space bitmap, particularly metadata bitmap.
The ECC piece that the unit in zone can be made up of a plurality of physical sectors remaps.When remapping physical sector, whole physical sectors of the ECC piece under this physical sector are all remapped.In this case, the original address and the address of remapping of remapping in the inlet of table all specified by the physical address of the initial sector of each ECC piece.As an addressable unit, physical block and logical block can be physical sector and logic sector.Even newly write a sector, also to write an ECC piece that comprises this sector, the initial sector that then NWA is moved on to next ECC piece goes.Therefore, when write several data, these data are distributed, thereby these data are write same ECC piece.
According to the present invention, can provide the benefit of using metadata partition for the use of write-once discs.At first, the data that in being used for the track that metadata writes, remapping and will rewrite, then, the visit of extracting metadata can localize, and performance can improve.Generally speaking, as long as track has Unrecorded sector, just rewrite data is stored on same the track.When record data use up track, rewrite data can be stored into other track and get on, data be write other does not write down on the physical block in the same track because given its right of priority.Secondly, when distributing other track, can write down the metadata image file, to improve soundness for the metadata image file.
Estimate the potentiality of rewriting here, at following example scenario: the capacity of dish is 23 GB (=23 * 1024 3Byte), the ECC piece is made up of 32 sectors, and sector-size is 2kB (=23 * 1024 byte).If the mean size of the file of disc recording is 128kB, in the catalogue average record 10 files, the dish on can write down about 188,000 files and 18,800 catalogues.When file system these document entries are formed bunch, be updated to when going in the ECC piece, need about 6400 inlets in the table that remaps.When the size of inlet was 8 bytes, the size of table became about 50kB.In the table time of remapping when driving arrangement can be handled 256kB at most, will write 188,000 files and 18,800 catalogues randomly.Therefore, the present invention also is of practical significance for the optical disc write once of future generation that uses the blue light technology.
Describe below above thought is applied to a example based on the new file system of UDF and write-once discs of future generation.
Figure 10 has drawn and has been used to illustrate the structure in above-mentioned zone of remapping.Also the regional layout of describing among the embodiment 1 is used for this embodiment.
Defect management (DMA) is a zone of wherein having write down defect list, and interim DMA (TDMA) is a zone of having write down the temporary defect inventory.The table that remaps can be recorded among the DMA and TDMA with defect list and temporary defect inventory.Here, defect list and temporary defect inventory can be used for specifying replacement information by defect management, use same data structure to specify the information of remapping simultaneously.Do the realization that to simplify driving arrangement like this, because the explanation of inlet is identical for defect management with pseudo-the rewriting.When inlet is specified when remapping information, the inlet in the table shows the corresponding relation between the address of the address of the piece that will remap and the piece that remaps.
Distribute the spare area beyond volume space, the address in the spare area is represented with SA (address, spare area).
Volume space comprises three tracks, record data sequentially in each track.But with in the track not the start address of recording areas manage into next one write address (NWA)." use " and " preengaging " describes the state of track with new term, can rewrite so that show the data in these tracks, and can preengage these data that remap in the track.All sectors of having used track to refer in the track all have been used for data recording.Preengage and referred to the sector that existence does not also have record data.In other words, data incrementally can be write and preengage track.Owing to write down volume structure in advance, so track #1 is one and has used track.Track #2 distributes the track of reservation that is used for metadata record.Track #3 distributes the track of reservation that is used for user data.
New data-A file more is described below and with the exemplary process of data-B file logging in the optical disc write once.
At first, reading meta data file FE, is the meta data file assigned region with the acquisition, wherein the relative address in MA (meta data file address) the representation element data file.
When file system more during new data-A file, document entry is read in internal memory and updating file inlet, so that register information indicates the position that will write the data of upgrading and the relevant information in the internal memory (for example big or small and update time or the like).File system instruction driving arrangement is the data of rewrite data-A file logically.Then, driving arrangement physically is stored into NWA with data (data-A ') and gets on, because data have been write down in the corresponding physical sector, and driving arrangement adds this inlet in the defect list to.If after having inquired about driving arrangement, the file system instruction writes NWA with data, does not just need inlet is added in the defect list.In the present invention, suggestion adopts this mode to preserve inlet, because can be with the location registers of data in document entry.But, when having upgraded the part of big file, can rewrite and want data updated, rather than the total data of file is write.After data were write dish and go up, document entry (data-A ' FE) was logically rewritten in the file system instruction, so that the position and the update time of the data that explanation writes.Then, driving arrangement is physically writing data the sector shown in the MA#k+1 place, and inlet is stored in the defect list.
When file system with data-B file new record to root directory following time, catalogue is read in internal memory, new directory more in internal memory is added new file (data-B file) in this catalogue to.Create in internal memory before the document entry of data-B file, the data-data of B file are write the NWA of track #3, the NWA that is shown MA#k+2 then from track #2 begins, document entry in the write memory (data-B FE) and root directory.For the reposition of root directory is described, document entry after the renewal of instruction rewriting catalogue writes data the NWA that is depicted as MA#k+4.So, just rewritten the document entry of catalogue in the metadata in order to preserve inlet, the data of other metadata (document entry of file and catalogue) and file then are written into and do not rewrite.
In order to show the integrality of file structure, the Logical Volume Integrity Descriptor that upgraded is rewritten in instruction, and data are write SA#m place, sector in the spare area.
In above pseudo-rewriting operation, can respond instruction that data are write recording areas the data storing that will rewrite in the spare area or preengage among the NWA of track.The destination of storage data can be decided by driving arrangement.Similarly, because defective is when can not be recorded in data on the sector, can be by replacement data among the NWA of defect management in spare area or track.
Figure 11 A and 11B are the process flow diagrams that the program that optical disc write once gets on is write data in explanation.To introduce the program that optical disc information recording/reproducing system among Fig. 5 writes data below.
In the time of updating file, file system instruction writes file data, thereby data are write and do not rewrite, and file system will write document entry and create document entry by upgrading, thereby and instruction write document entry and rewrite document entry.
When new file logging is under catalogue, file system is created the document entry of file, and write catalogue and its document entry creaties directory and the document entry of catalogue by in internal memory, upgrading, and instruction writes data, document entry and the catalogue of file, thereby writes these data and do not rewrite.Then, this file system instruction writes the document entry of catalogue, thereby rewrites document entry.
Fig. 1 1A is the program of the file system of controller 511 execution.Figure 11 B is the program that driving arrangement 520 is carried out.
In step S1101, system controller 510 receives request from the user.For example, this request is that data-A file is replaced with new data, perhaps from other medium with data-B file copy to the root directory of this dish.The data that will write are sent in the internal memory 512 of system controller 510, the destination of record data to show with the pathname in the directory tree structure.
In step S1102, file system instruction driving arrangement reading of data is asked the catalogue or the file that obtain to extract the user.From meta data file, read metadata, for example document entry and catalogue.
In step S1103, file system was inquired about NWA before the instruction driving arrangement writes data, because possible driving arrangement can mobile NWA.
In step S1104, response user request, file system is created some metadata, thus the data volume that will rewrite by the type of distinguishing the data that will write minimizes.As described in the explanation of Figure 10, under the situation of updating file, file system is created the position that document entry is specified the data that will write.This document entry is the data that will rewrite.Under with the situation of new file logging under the catalogue, file system is created the inlet of new file, and new directory more, thus the document entry of registering new file and catalogue.The document entry of catalogue is the data that will rewrite, and other metadata is can write and the data that do not need to rewrite.
In step S1105, file system instruction driving arrangement begins to write from NWA does not need the data of rewriting.
In step S1106, file system instruction driving arrangement writes data, thus on logic sector rewrite data.At step S1105 and S1106, can instruct with same write command and write data, because by checking the state of logic sector in step S1111, driving arrangement can judge that rewriting still is not carry out rewriting writing these data.
In step S1111, driving arrangement receives write command from file system, and this order indicates at least one logic sector that will write data therein, and checks whether the pairing physical sector of prior logic sector has write down data.In this inspection, the logic sector number that driving arrangement utilizes the file system instruction to write is therein judged the state of physical sector.When logic sector number less than NWA the time, physical sector has write down, otherwise does not carry out record.If physical sector does not have record, just enter step S1112, otherwise (if writing down) just enters step S1113.
In step S1112, driving arrangement writes data in advance and logic sector corresponding physical sector.
In step S1113, driving arrangement writes other with data and does not write down physical sector.When remapping data based on the ECC piece, other does not write down physical sector is one of sector that belongs to the ECC piece, and this ECC piece is that the next one can be write piece.For example, under the situation that the ECC piece is made up of 32 sectors, second sector in the ECC piece is rewritten in instruction, physically data is write next and can write second sector in the ECC piece.So, be the relative address in the ECC piece reservation ECC piece that remaps.
In step S1114, driving arrangement is according to the information creating inlet that remaps, to specify and the relevant original address in the prior corresponding physical of logic sector sector, and the remap address relevant, and will remap information storage in the defect list/table that remaps with the physical sector that writes data therein.Under the situation that the ECC piece is made up of 32 sectors, original address is the start address of the ECC piece under the original physical sector, and the address of remapping is the start address of the ECC piece under the physical sector that remaps.
When applying the present invention to recording/reproducing system (for example consuming video recorder or consumption player), file system and driving arrangement can be by common microprocessor controls shown in Figure 12.In this case, system file may be to driving arrangement inquiry NWA, and this is because recording/reproducing system is known NWA.At first, when dish is written into driver element, check the NWA of each track, then, this system can manage NWA later on writing some data.
Figure 12 illustrates optical disc information recording/reproducing system 1200, and it is the part of consumption video recorder or consumption player.Information recording/regenerating system 1200 comprises that controller 1211, internal memory 1212 and driving mechanism 523 are used for reading writing information on CD.Controller 1211 can be a SIC (semiconductor integrated circuit) for example, CPU (CPU (central processing unit)) for example, and carry out the method for describing in the embodiments of the invention.Also have, the program that allows controller 1211 carry out the method for describing among the embodiment is stored in 1212 li of internal memories.1211 li of controllers, can the execute file system, utility routine or device driver.Driving mechanism 523 can be by controller 1211 controls.
Figure 13 is a process flow diagram, and the recording/reproducing system of describing among this flowchart text Figure 12 writes the program that optical disc write once gets on data.
Receive request at step S1301 middle controller 1211 from the user.For example, this request be replacement data-A file as new data, perhaps with data-B file from other medium copy to this dish on root directory under.The data that will write are sent to internal memory 1212, the destination of record data to be shown by the pathname in the directory tree structure.
In step S1302, the file system reading of data is asked the catalogue or the file that obtain to extract the user.Read metadata from meta data file, such as document entry and catalogue.
In step S1303, file system obtained NWA before writing data.
In step S1304, response user request, file system is created some metadata, thereby makes the data volume minimum that will rewrite by the type of distinguishing the data that will write.As described in the explanation of Figure 10, under the situation of updating file, file system is created the position that document entry is specified the data that will write.This document entry is the data that will rewrite.With new file logging under the situation under the catalogue, file system is created the document entry of new file, and the new directory document entry of registering new file and catalogue more.The document entry of catalogue is the data that will rewrite, and other data are can write and the data of not rewriting.Data type is divided into type i: needn't rewrite; Type II: need to rewrite.
In step S1305, the file system instruction writes the logic sector that begins from NWA with I type data.Then, enter step S1311, this step is the operation that writes I type data.
In step S1306, the file system instruction writes logic sector with II type data.Enter step S1321 then, carry out the operation of rewrite data in logic sector.For I type and II type data, the write command that writes data of sending can be different.
In step S1311, data are write in advance and logic sector corresponding physical sector.
In step S1321, logically rewrite data in logic sector writes other with physics mode with data and does not write down physical sector, specifically writes NWA.
In step S1322, create inlet as the information that remaps, indicating in advance original address, and the address of remapping that writes the physical sector of data therein, and deposit it in defect list corresponding to the physical sector of logic sector.
Introduce the method for using the front to utilize Figure 11 and Figure 13 explanation below, write the playback program of the write-once discs of data from dish.Figure 14 is key diagram 5 and the 12 illustrated recording/reproducing systems process flow diagram from the program of optical disc write once reading of data.Wherein, recording/reproducing system receives reading command, and this instruction indicates therefrom at least one logic sector of reading of data.
In step S1401, the original address of all inlets that search stores in remapping and showing.Because instruction will be read logic sector number, therefore, prior and the corresponding physical sector number of this logic sector are used to search for the inlet that shows the physical sector that remaps.When remapping based on the ECC piece, the start address of registration ECC piece in inlet.In this case, check whether physical sector number belongs to the ECC piece that remaps.Under the situation of the described information recording/regenerating of Fig. 5 system, this operation can be finished by driving arrangement.
In step S1402,, just enter step S1403, otherwise enter step S1404 if find inlet.
In step S1403, replace the original address of physical sector with the address of remapping of the physical sector that shows in the inlet that finds.If do not find inlet in step S1402, just the address that will read is defined as the address with the corresponding physical sector of logic sector of reading command appointment.If in S1402, found inlet, just will read that the address is defined as and the table that remaps in the corresponding address of remapping of original address found.
In step S1404, place, the address reading of data of determining.
As mentioned above, when not finding the address, from the corresponding physical sector reading of data of prior logic sector, this is because the data that store in the table explanation logic sector that remaps are not re-mapped to other physical sector.
When finding the address, the physical sector reading of data of the address appointment of from the information that remaps that finds, remapping, this is because the data that store in the entry declaration logic sector that finds in the table that remaps are remapped.
If in volume space, remap data, particularly be mapped to the NWA in the track rather than be mapped to the spare area, just piece ground sense data more.
Described as top embodiment, can apply the present invention to driving arrangement, data be write and when not rewriting, file system makes the amount minimum of the data that must rewrite, and by query driven equipment, the file system instruction writes data does not write down the sector.
Industrial applicibility
For providing recording method and equipment to be used for utilizing the write-once discs of logical overwrite mechanism, reproducting method and equipment are provided, and provide semiconductor integrated circuit to be used for recording equipment or reproducer, the present invention is useful.

Claims (6)

1. a recording method is used for data are write write-once discs,
Described write-once discs has a plurality of physical sectors, and described write-once discs includes the volume space of a plurality of logic sectors, and each in described a plurality of logic sectors is all corresponding to one of described a plurality of physical sectors,
This recording method may further comprise the steps:
Reception writes instruction, and this writes instruction and specifies at least one logic sector that will write data therein;
Judge that the specified logic sector of said write instruction is corresponding to writing down physical sector or not writing down physical sector;
The logic sector of judging said write instruction appointment writes the described physical sector that do not write down with described data when not writing down physical sector; And
The logic sector of judging said write instruction appointment is when writing down physical sector, described data are write do not write down physical sector rather than the described physical sector that write down, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with the described original address that has write down physical sector, and the described table that remaps is write described write-once discs;
Wherein saidly write instruction and be based on the data that will write and be designated as and be used for updating file and still be used to create new file and judge;
Be used under the situation of updating file, the metadata of the document entry of described file is the data that will rewrite; And
Be used to create under the situation of new file, the metadata of the document entry of root directory is the data that will rewrite.
2. a recording unit is used for data are write write-once discs,
Described write-once discs has a plurality of physical sectors, and described write-once discs includes the volume space of a plurality of logic sectors, and each in described a plurality of logic sectors is all corresponding to one of described a plurality of physical sectors,
This recording unit comprises:
System controller is used to instruct recording operation to described write-once discs;
Driving mechanism is used for described write-once discs is carried out recording operation; And
Drive control part is used to control described driving mechanism;
Wherein:
Described drive control part is used to receive the instruction that writes that appointment will write data wherein at least one logic sector, and judges that the specified logic sector of said write instruction is corresponding to writing down physical sector or do not write down physical sector,
The logic sector of judging said write instruction appointment is not when writing down physical sector, and described drive control part is controlled described driving mechanism described data are write the described physical sector that do not write down; And
The logic sector of judging said write instruction appointment is when writing down physical sector, described drive control part is controlled described driving mechanism and described data are write is not write down physical sector rather than the described physical sector that write down, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with the described original address that has write down physical sector, and controls described driving mechanism described remapping shown to write described write-once discs;
Wherein said system controller is used to instruct said write instruction, said write instruction to be based on the data that will write to be designated as and to be used for updating file and still to be used to create new file and to judge;
Be used under the situation of updating file, the metadata of the document entry of described file is the data that will rewrite; And
Be used to create under the situation of new file, the metadata of the document entry of root directory is the data that will rewrite.
3. the SIC (semiconductor integrated circuit) of using in the recording unit is used for data are write write-once discs,
Described write-once discs has a plurality of physical sectors, and described write-once discs includes the volume space of a plurality of logic sectors, and each in described a plurality of logic sectors is all corresponding to one of described a plurality of physical sectors,
Wherein:
Described SIC (semiconductor integrated circuit) is used for the control documents system, and this document system is used to instruct the recording operation to described write-once discs;
Described SIC (semiconductor integrated circuit) is used for controlling and driving mechanism described write-once discs is carried out recording operation,
Described SIC (semiconductor integrated circuit) is used to receive the instruction that writes that appointment will write data wherein at least one logic sector, and judges that the specified logic sector of said write instruction is corresponding to writing down physical sector or do not write down physical sector,
The logic sector of judging said write instruction appointment is not when writing down physical sector, and described SIC (semiconductor integrated circuit) is controlled described driving mechanism described data are write the described physical sector that do not write down, and
The logic sector of judging said write instruction appointment is when writing down physical sector, described SIC (semiconductor integrated circuit) is controlled described driving mechanism and described data are write is not write down physical sector rather than the described physical sector that write down, this does not write down physical sector and is selected from a plurality of physical sectors corresponding with a plurality of logic sectors in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with the described original address that has write down physical sector, and controls described driving mechanism described remapping shown to write described write-once discs;
Wherein said SIC (semiconductor integrated circuit) is controlled described file system and is instructed said write instruction, said write instruction to be based on the data that will write to be designated as and to be used for updating file and still to be used to create new file and to judge;
Be used under the situation of updating file, the metadata of the document entry of described file is the data that will rewrite; And
Be used to create under the situation of new file, the metadata of the document entry of root directory is the data that will rewrite.
4. a recording method is used for data are write write-once discs,
Described write-once discs has a plurality of physical sectors, and described write-once discs includes the volume space of a plurality of logic sectors, and each in described a plurality of logic sectors is all corresponding to one of described a plurality of physical sectors,
This recording method may further comprise the steps:
Response first writes instruction, and this writes instruction and specifies at least one logic sector that will write data therein, described data is write the corresponding described physical sector of logic sector that writes the instruction appointment with described first; And
Response second writes instruction, this writes instruction and specifies at least one logic sector that will write data therein, with described data write do not write down physical sector rather than with described second write the instruction appointment the corresponding described physical sector of logic sector, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with described second original address of described physical sector that writes the logic sector correspondence of instruction appointment, and will describedly remap and show to write described write-once discs;
Wherein said first and second write instruction is based on the data that will write and is designated as and is used for updating file and still is used to create new file and judges;
Be used under the situation of updating file, the metadata of the document entry of described file is the data that will rewrite; And
Be used to create under the situation of new file, the metadata of the document entry of root directory is the data that will rewrite.
5. a recording unit is used for data are write write-once discs,
Described write-once discs has a plurality of physical sectors, and described write-once discs includes the volume space of a plurality of logic sectors, and each in described a plurality of logic sectors is all corresponding to one of described a plurality of physical sectors,
This recording unit comprises:
System controller is used to instruct recording operation to described write-once discs;
Driving mechanism is used for described write-once discs is carried out recording operation; And
Drive control part is used to control described driving mechanism,
Wherein:
Response first writes instruction, this writes instruction and specifies at least one logic sector will write data therein, and described drive control part is controlled described driving mechanism and described data write the corresponding described physical sector of logic sector that writes the instruction appointment with described first; And
Response second writes instruction, this writes instruction and specifies at least one logic sector that will write data therein, described drive control part control described driving mechanism with described data write do not write down physical sector rather than with described second write the instruction appointment the corresponding described physical sector of logic sector, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with described second original address of described physical sector that writes the logic sector correspondence of instruction appointment, and controls described driving mechanism and will describedly remap and show to write described write-once discs;
Wherein said system controller is used to instruct described first and second to write instruction, and described first and second write instruction is based on the data that will write and is designated as and is used for updating file and still is used to create new file and judges;
Be used under the situation of updating file, the metadata of the document entry of described file is the data that will rewrite; And
Be used to create under the situation of new file, the metadata of the document entry of root directory is the data that will rewrite.
6. the SIC (semiconductor integrated circuit) of using in the recording unit is used for data are write write-once discs,
Described write-once discs has a plurality of physical sectors, and described write-once discs includes the volume space of a plurality of logic sectors, and each in described a plurality of logic sectors is all corresponding to one of described a plurality of physical sectors,
Wherein:
Described SIC (semiconductor integrated circuit) is used for the control documents system, and this document system is used to instruct the recording operation to described write-once discs;
Described SIC (semiconductor integrated circuit) is used for controlling and driving mechanism described write-once discs is carried out recording operation,
Response first writes instruction, this writes instruction and specifies at least one logic sector that will write data therein, described SIC (semiconductor integrated circuit) control described driving mechanism with described data write with described first write the instruction appointment the corresponding described physical sector of logic sector, and
Response second writes instruction, this writes instruction and specifies at least one logic sector that will write data therein, described SIC (semiconductor integrated circuit) control described driving mechanism with described data write do not write down physical sector rather than with described second write the instruction appointment the corresponding described physical sector of logic sector, this does not write down a plurality of physical sectors that physical sector is selected from a plurality of logic sector correspondences in the described volume space, generation comprises the table that remaps of the information of remapping, this information is remapped to the address of remapping of selected physical sector with described second original address of described physical sector that writes the logic sector correspondence of instruction appointment, and controls described driving mechanism and will describedly remap and show to write described write-once discs;
Wherein said SIC (semiconductor integrated circuit) is controlled described file system and is instructed described first and second to write instruction, and described first and second write instruction is based on the data that will write and is designated as and is used for updating file and still is used to create new file and judges;
Be used under the situation of updating file, the metadata of the document entry of described file is the data that will rewrite; And
Be used to create under the situation of new file, the metadata of the document entry of root directory is the data that will rewrite.
CN200580023140XA 2004-05-10 2005-05-09 Data recording/reproduction for write-once discs Expired - Fee Related CN1985323B (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
US56953704P 2004-05-10 2004-05-10
US60/569,537 2004-05-10
US57761604P 2004-06-07 2004-06-07
US60/577,616 2004-06-07
US66823705P 2005-04-04 2005-04-04
US60/668,237 2005-04-04
PCT/JP2005/008822 WO2005109427A1 (en) 2004-05-10 2005-05-09 Data recording/reproduction for write-once discs

Publications (2)

Publication Number Publication Date
CN1985323A CN1985323A (en) 2007-06-20
CN1985323B true CN1985323B (en) 2010-11-10

Family

ID=38063759

Family Applications (3)

Application Number Title Priority Date Filing Date
CNB2005800148084A Expired - Fee Related CN100562937C (en) 2004-05-10 2005-05-09 The data record method of Write-once optical disc and device
CN200580023140XA Expired - Fee Related CN1985323B (en) 2004-05-10 2005-05-09 Data recording/reproduction for write-once discs
CNB2005800141009A Expired - Fee Related CN100573693C (en) 2004-05-10 2005-05-09 Pseudo-overwriting data on write-once discs

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CNB2005800148084A Expired - Fee Related CN100562937C (en) 2004-05-10 2005-05-09 The data record method of Write-once optical disc and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CNB2005800141009A Expired - Fee Related CN100573693C (en) 2004-05-10 2005-05-09 Pseudo-overwriting data on write-once discs

Country Status (1)

Country Link
CN (3) CN100562937C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625628B (en) * 2009-08-17 2011-03-23 宋振华 Method for realizing customization of mapping of logical volume manager (LVM)
JP6429124B2 (en) * 2015-03-27 2018-11-28 パナソニックIpマネジメント株式会社 Optical disc apparatus, method and computer program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TA KASHI YOKOZEKI ET AL:"A VIRTUAL OPTICAL DISK METHOD TO REALIZE REWRITABILITY AND REVISION CONTROL ON A WRITE-ONCE OPTICAL DIS K",1990.01.05,第34页至第43页. *
TAKASHIYOKOZEKIETAL:"AVIRTUALOPTICALDISKMETHODTOREALIZEREWRITABILITYANDREVISIONCONTROLONAWRITE-ONCEOPTICALDISK" 1990.01.05

Also Published As

Publication number Publication date
CN100573693C (en) 2009-12-23
CN1985323A (en) 2007-06-20
CN1957413A (en) 2007-05-02
CN1957418A (en) 2007-05-02
CN100562937C (en) 2009-11-25

Similar Documents

Publication Publication Date Title
CN101859579B (en) Drive device
CN1957414B (en) Data recording/reproduction for write-once discs
US5666531A (en) Recordable CDROM accessing system
CN101819802B (en) Drive device
JP5128130B2 (en) Data pseudo-rewrite for write-once discs
KR100891088B1 (en) A method and an apparatus for writing data on a write-once disc, and a semiconductor integrated circuit
CN101707061B (en) Drive device
KR20070029704A (en) Data recording/reproduction for write-once discs
CN1985323B (en) Data recording/reproduction for write-once discs
CN101006510B (en) Drive device
CN1842862B (en) Drive device
JP2002324364A (en) Information recording apparatus and information recording method
JPH08212121A (en) Information recording method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101110

Termination date: 20190509