CN101006509B - drive unit - Google Patents
drive unit Download PDFInfo
- Publication number
- CN101006509B CN101006509B CN2005800278124A CN200580027812A CN101006509B CN 101006509 B CN101006509 B CN 101006509B CN 2005800278124 A CN2005800278124 A CN 2005800278124A CN 200580027812 A CN200580027812 A CN 200580027812A CN 101006509 B CN101006509 B CN 101006509B
- Authority
- CN
- China
- Prior art keywords
- management information
- recording
- replacement
- mentioned
- area
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Optical Recording Or Reproduction (AREA)
Abstract
本发明的驱动装置(310)包含记录再生部(314)和驱动控制部(311)。驱动控制部(311)所执行的处理包含:确定在替换管理信息列表中是否发现了包含与记录指示中包含的逻辑地址相对应的物理地址一致的被替换项物理地址的步骤(S301);当没有发现替换管理信息时,作为对基于与记录指示中包含的逻辑地址相对应的物理地址所表示的位置的第一次伪重写记录所执行的处理的步骤(S302,S303);当发现替换管理信息时,作为对基于与记录指示中包含的逻辑地址相对应的物理地址所表示的位置的第二次以后的伪重写记录所执行的处理步骤(S304,S305)。
A drive device (310) of the present invention includes a recording and reproducing unit (314) and a drive control unit (311). The processing performed by the drive control unit (311) includes: a step of determining whether a physical address of the replaced item corresponding to the physical address corresponding to the logical address contained in the recording instruction is found in the replacement management information list (S301); When the replacement management information is not found, as a step (S302, S303); In the case of management information, it is a processing step (S304, S305) executed for the second and subsequent pseudo-overwrite recording based on the position indicated by the physical address corresponding to the logical address included in the recording instruction.
Description
技术领域technical field
本发明涉及一种向信息记录介质中记录数据并对信息记录介质中记录的数据进行再生的驱动装置。The present invention relates to a drive device for recording data on an information recording medium and reproducing the data recorded on the information recording medium.
背景技术Background technique
近年来,在数字数据的记录中使用各种形式的信息记录介质,其中有可以重复改写数据的可擦写型光盘和虽然只允许记录1次但介质价格低廉的追加记录型(write-once,又称一次性记录)光盘。In recent years, various forms of information recording media have been used in the recording of digital data, including rewritable optical discs that can repeatedly rewrite data and write-once, low-cost media that can only be recorded once. Also known as one-time record) CD.
以这种可擦写型光盘为例,其中包括DVD-RAM盘、BD-RE(Blu-rayDisc Rewritable:可擦写蓝光光盘)盘等。Take this rewritable optical disc as an example, including DVD-RAM disc, BD-RE (Blu-ray Disc Rewritable: rewritable Blu-ray Disc) disc, and the like.
另外,以追加记录型光盘为例,其中包括DVD-R盘、BD-R(Blu-rayDisc Recordable:可记录蓝光光盘)盘等。In addition, taking additional recordable optical discs as an example, DVD-R discs, BD-R (Blu-ray Disc Recordable: Blu-ray Disc Recordable) discs, and the like are included.
为了提高盘片上记录的数据的可靠性,可擦写型光盘中导入了缺陷管理机制。In order to improve the reliability of the data recorded on the disc, a defect management mechanism is introduced into the rewritable optical disc.
缺陷管理机制大体上由滑动置换(slipping replacement)算法和线性置换(linear replacement)算法构成。The defect management mechanism generally consists of a sliding replacement algorithm and a linear replacement algorithm.
滑动置换算法主要在格式化盘片时实施。即,在进行格式化处理时,检查用户数据区中的全部ECC簇(cluster),一旦发现缺陷簇,就将其位置登录到主缺陷列表(以下称为PDL),将对应的逻辑簇偏移到下一个非缺陷的物理簇,加以应对。The sliding replacement algorithm is mainly implemented when formatting the disc. That is, when performing format processing, all ECC clusters (clusters) in the user data area are checked, and once a defective cluster is found, its position is registered in the main defect list (hereinafter referred to as PDL), and the corresponding logical cluster is offset Go to the next non-defective physical cluster and deal with it.
由此,在记录用户数据时,就避开了PDL中登录的缺陷簇来进行记录,提高了数据记录的可靠性。Thus, when recording user data, recording is performed while avoiding defective clusters registered in the PDL, thereby improving the reliability of data recording.
另一方面,线性置换算法在记录用户数据时实施。On the other hand, the linear permutation algorithm is implemented when recording user data.
即,在记录数据时,进行校验处理对该记录结果进行确认。如果记录失败,则进行了记录的ECC簇成为缺陷簇,通过次级缺陷列表(以下称为SDL)管理其位置。That is, when recording data, verify processing is performed to confirm the recording result. If recording fails, the recorded ECC cluster becomes a defective cluster, and its position is managed by a secondary defect list (hereinafter referred to as SDL).
此外,将用户数据代替记录到在盘片上的最内周或最外周设置的替换区中。In addition, user data is recorded instead in a replacement area provided at the innermost or outermost circumference on the disc.
在代替记录中也进行上述的校验处理。记录成功的话数据记录位置即可确定,因此,此时生成SDL项,登录到上述SDL中,该SDL项是将缺陷簇的位置信息与替换项的ECC簇的位置信息对应起来的信息。The verification process described above is also performed in the substitute record. If the recording is successful, the data recording position can be determined. Therefore, at this time, an SDL item is generated and registered in the above SDL. The SDL item is information corresponding to the position information of the defective cluster and the position information of the ECC cluster of the replacement item.
此外,有时候针对替换区中包含的全部ECC簇设置SDL项,对各个ECC簇是可以用作替换项即目前是空闲区还是已经作为替换项使用完毕的情况进行管理。该替换区中的空闲区也称为备用簇。In addition, sometimes SDL items are set for all ECC clusters included in the replacement area, and whether each ECC cluster can be used as a replacement item, that is, whether it is currently a free area or has been used as a replacement item, is managed. The free area in the replacement area is also called a spare cluster.
再生时,参照PDL或SDL,根据需要对替换项的ECC簇进行再生。When reproducing, refer to the PDL or SDL, and regenerate the replacement ECC cluster as necessary.
上述PDL或SDL记录在盘片上的导入区内设置的缺陷管理区(以后称为DMA)中。DMA中除此之外还包含替换区的容量等的信息。The above-mentioned PDL or SDL is recorded in a defect management area (hereinafter referred to as DMA) provided in the lead-in area on the disc. In addition to this, the DMA also includes information such as the capacity of the spare area.
可擦写型光盘的情况下,与缺陷管理相关的信息的更新通过改写DMA来进行。In the case of a rewritable optical disc, information related to defect management is updated by rewriting DMA.
另外,在追加记录型光盘中也可以导入例如专利文献1所示的缺陷管理机制。In addition, for example, a defect management mechanism disclosed in
专利文献1的附图3A中描述了盘片的数据结构。专利文献1的盘片中,DMA设置在导入区和导出区中。The data structure of the disc is described in FIG. 3A of
进而,临时缺陷管理区(TDMA)设置在导入区和导出区中。Furthermore, a temporary defect management area (TDMA) is provided in the lead-in area and the lead-out area.
在追加记录型光盘的情况下,与缺陷管理相关的信息的更新通过在每次更新缺陷信息时向TDMA追加缺陷信息来进行。In the case of a write-once optical disc, updating of information related to defect management is performed by adding defect information to TDMA every time the defect information is updated.
此外,在关闭或终结化(finalize)盘片时,将最新的TDMA的内容记录到DMA中。In addition, when closing or finalizing the disc, the contents of the latest TDMA are recorded in the DMA.
TDMA中记录临时缺陷管理信息(Temporary defect managementinformation,以后称为TDDS)和临时缺陷信息(Temporary DefectInformation,以后称为TDFL)。TDMA records temporary defect management information (Temporary defect management information, hereinafter referred to as TDDS) and temporary defect information (Temporary Defect Information, hereinafter referred to as TDFL).
专利文献1中的附图5B中表示了TDDS的数据结构。TDDS包含指向相应的TDFL的指针信息。TDFL在TDMA中记录了多次,因此,指针信息也对各个TDFL加以记录。The data structure of TDDS is shown in FIG. 5B in
进而,TDDS中记录了追加记录型光盘上的最终记录地址(lastrecorded address)。如专利文献1的附图5B所示,1个追加记录型光盘可以保持多个最终记录地址。Furthermore, the last recorded address (last recorded address) on the write-once optical disc is recorded in the TDDS. As shown in FIG. 5B of
另外,TDDS中记录了追加记录型光盘上的最终记录替换地址(lastrecorded replacement address)。如专利文献1的附图5B所示,1个盘片可以保持多个最终记录替换地址。In addition, the last recorded replacement address (lastrecorded replacement address) on the additional recording type optical disc is recorded in the TDDS. As shown in FIG. 5B of
专利文献1的附图6中表示了TDFL的数据结构。FIG. 6 of
TDFL中包含缺陷关联信息(information regarding defect)#1、#2等。TDFL includes defect related information (information regarding defect) #1, #2 and so on.
缺陷关联信息包含状态信息(state information)、指向缺陷簇的指针、指向代替簇的指针。Defect-related information includes state information, pointers to defective clusters, and pointers to replacement clusters.
缺陷关联信息具有与上述SDL中包含的SDL项同样的数据结构并发挥同样的功能。The defect-related information has the same data structure as the SDL item contained in the above-mentioned SDL, and performs the same function.
图33A及图33B表示专利文献1的附图9A及附图9B所公开的TDFL的更新方法。33A and 33B show the updating method of TDFL disclosed in FIG. 9A and FIG. 9B of
图33A表示TDFL#0的数据结构。TDFL#0包含与缺陷#1、#2、#3相对应的缺陷关联信息#1、#2、#3。Fig. 33A shows the data structure of
假定TDFL#0被记录后,在追加记录型光盘中进行了新的数据记录,发生了缺陷#4、#5。此时,图3 3B所示的TDFL#1被记录到追加记录型光盘上。Assume that after
这里,TDFL#1是通过将TDFL#0中包含的缺陷管理信息全部保持下来并新追加与缺陷#4、#5相对应的缺陷关联信息#4、#5而生成的。Here,
专利文献1的附图10中表示了缺陷关联信息的数据结构。The data structure of defect-related information is shown in FIG. 10 of
缺陷关联信息包含状态信息。状态信息包含用来表示缺陷区是连续缺陷块(continuous defect block)还是单独缺陷块(single defectblock)的信息。The defect-associated information includes status information. The status information includes information indicating whether the defective area is a continuous defect block (continuous defect block) or a single defect block (single defect block).
进而,缺陷关联信息包含指向缺陷区的指针(缺陷区在盘片上的位置)。Furthermore, the defect-related information includes a pointer to a defective area (the position of the defective area on the disc).
进而,缺陷关联信息包含指向与缺陷区相对应的代替区的指针。Furthermore, the defect-associated information includes a pointer to a replacement area corresponding to the defective area.
当缺陷区是连续的缺陷块序列时,状态信息表示指向缺陷区的指针是连续缺陷块的开始还是结束位置。另外,也表示指向代替区的指针是这些代替块的开始或结束位置。When the defective area is a sequence of continuous defective blocks, the status information indicates whether the pointer pointing to the defective area is the beginning or the end of the continuous defective blocks. In addition, it also indicates that the pointer to the replacement area is the start or end position of these replacement blocks.
通过利用这些数据结构在追加记录型光盘中实现缺陷管理机制。By utilizing these data structures, a defect management mechanism is realized in the write-once optical disc.
进而,当使用上述缺陷管理机制时,也可以在追加记录型光盘中实现伪重写(pseudo-overwrite)记录。Furthermore, when the above-mentioned defect management mechanism is used, pseudo-overwrite recording can also be realized in a write-once optical disc.
使用图31和图32说明在追加记录型信息记录介质中进行的伪重写记录。The pseudo-overwrite recording performed on the write-once-type information recording medium will be described with reference to FIGS. 31 and 32 .
在上述缺陷管理机制中,借助于缺陷关联信息或SDL项这样的替换信息,能够不改变数据记录的表观上的逻辑地址而将实际记录数据的物理地址映射(mapping)到预先保留起来的其他位置。In the above-mentioned defect management mechanism, by means of replacement information such as defect-related information or SDL items, the physical address of the actually recorded data can be mapped (mapping) to other pre-reserved physical addresses without changing the apparent logical address of the data record. Location.
因此,如果发出指示向追加记录型光盘上已经有了记录的逻辑地址重写写入数据,则只要将该数据记录到别的物理地址上的扇区中并更新替换信息以维持原来的逻辑地址,就可以从表观上实现将数据重写记录的状态。以后将这种记录方法称为伪重写记录。Therefore, if an instruction is issued to rewrite data to a logical address that has already been recorded on the record-on-record optical disc, it is only necessary to record the data in a sector on another physical address and update the replacement information to maintain the original logical address. , the state of rewriting data to records can be realized apparently. This recording method is hereinafter referred to as pseudo-overwrite recording.
图31是表示在作为追加记录型光盘的信息记录介质1中记录了若干个目录和文件后的状态的图。此外,在该状态下尚未进行伪重写记录。FIG. 31 is a diagram showing a state in which several directories and files are recorded on the
在追加记录型光盘中,以光轨和区段为单位管理盘片上的用户数据区。In the write-once optical disc, the user data area on the disc is managed in units of tracks and sessions.
图31中,用户数据区中记录的用户数据的管理借助于文件系统实现。文件系统所管理的空间称为卷空间2。In Fig. 31, management of user data recorded in the user data area is realized by means of a file system. The space managed by the file system is called
此外,在以下说明中,只要没有特别地详细记载,作为构成文件系统的卷/文件结构而记录在信息记录介质1中的描述符或指针、元数据(meta data)分区或元数据文件的结构等都具有ISO/IEC13346标准或UDF(Universal Disk Format:通用盘片格式)标准所规定的数据结构。In addition, in the following description, unless otherwise specified in detail, the descriptors and pointers recorded in the
图31中,卷空间2内记录了卷结构区3和物理分区4。In FIG. 31 ,
物理分区4内包含UDF标准版本2.5所规定的元数据分区5a、5b。The
另外,物理分区4内记录了元数据文件6a及作为其副本的元数据镜像文件6b。In addition, a metadata file 6 a and a metadata mirror file 6 b serving as a copy thereof are recorded in the
此外,表示这些物理分区4中的记录位置的文件项(FE)即FE(元数据文件)7a及FE(元数据镜像文件)7b也被记录下来。另外,也记录了数据文件(File-a)8、数据文件(File-b)9。In addition, FE (metadata file) 7a and FE (metadata mirror file) 7b, which are file entries (FE) indicating recording positions in these
FE或目录文件等文件结构信息全部配置在元数据分区即元数据文件中。File structure information such as FE or directory files are all configured in the metadata partition, that is, the metadata file.
UDF标准所规定的数据结构中,在卷结构区3中记录了元数据分区5a及文件集描述符(FSD)12的记录位置。In the data structure stipulated by the UDF standard, the recording positions of the metadata partition 5 a and the file set descriptor (FSD) 12 are recorded in the
作为FSD12的起点,可以从ROOT目录开始依次检索文件结构,例如访问数据文件(File-a)8。As the starting point of FSD12, the file structure can be sequentially retrieved from the ROOT directory, for example, the access data file (File-a)8.
接着,当在图31的状态下新伪重写数据文件(File-c)时,就成为图32所示的状态。Next, when the data file (File-c) is newly pseudo-rewritten in the state of FIG. 31, the state shown in FIG. 32 will be obtained.
这里,假定数据文件(File-c)被记录到信息记录介质1上的ROOT目录下。Here, it is assumed that the data file (File-c) is recorded under the ROOT directory on the
在记录数据文件(File-c)时,更新并生成追加数据文件(File-c)所需的文件结构信息。具体是FE(ROOT)13的更新或FE(File-c)14的生成。When the data file (File-c) is recorded, the file structure information required for adding the data file (File-c) is updated and generated. Specifically, it is updating of FE (ROOT) 13 or creation of FE (File-c) 14 .
此外,数据文件(File-c)15被记录到图31的未记录区,成为图32的状态。In addition, the data file (File-c) 15 is recorded in the unrecorded area of FIG. 31 , and it becomes the state of FIG. 32 .
FE(File-c)14被记录下来时,FE(File-c)14被记录到元数据分区5a(即元数据文件6a)中的未记录区11a。When the FE(File-c) 14 is recorded, the FE(File-c) 14 is recorded in the unrecorded area 11a in the metadata partition 5a (namely, the metadata file 6a).
接着,FE(ROOT)16被伪重写记录到FE(ROOT)13上。Next, FE(ROOT) 16 is dummy overwritten and recorded onto FE(ROOT) 13 .
此时,如图32所示,FE(ROOT)16的数据被记录到替换区17。At this time, as shown in FIG. 32 , the data of FE (ROOT) 16 is recorded in the replacement area 17 .
进而,更新盘片管理信息2中包含的替换信息,将FE(ROOT)13映射到FE(ROOT)16。Furthermore, the replacement information included in the
在进行了这样的文件记录处理后,再生数据文件(File-c)15的动作变为如下所示。After such file recording processing is performed, the operation of reproducing the data file (File-c) 15 becomes as follows.
从信息记录介质1的卷结构区3取得FE(元数据文件)7a和FSD12的位置信息。The location information of FE (metadata file) 7 a and FSD 12 is acquired from the
接着,进行文件结构的再生。为了再生文件结构,基于已取得的FE(元数据文件)7a和FSD12的位置信息,进行FSD12的再生。Next, reproduction of the file structure is performed. In order to reproduce the file structure, the FSD12 is reproduced based on the acquired FE (metadata file) 7a and the location information of the FSD12.
从再生的FSD12取得FE(ROOT)13的位置信息作为逻辑地址。The location information of FE(ROOT) 13 is acquired from the reproduced FSD 12 as a logical address.
基于所取得的FE(ROOT)13的位置信息(逻辑地址),进行FE(ROOT)13的再生。Based on the acquired location information (logical address) of FE (ROOT) 13, FE (ROOT) 13 is reproduced.
此时,参照替换信息,再生被映射到FE(ROOT)13的位置信息(逻辑地址)的FE(ROOT)16。At this time, referring to the replacement information, FE(ROOT) 16 mapped to the location information (logical address) of FE(ROOT) 13 is reproduced.
FE(ROOT)16包含最新的ROOT目录文件,因而具有指向FE(File-c)14的位置信息。FE(ROOT) 16 contains the latest ROOT directory file and thus has location information pointing to FE(File-c) 14 .
此外,利用从FE(File-c)14取得的数据文件(File-c)15的位置信息,再生数据文件(File-c)15。Furthermore, the data file (File-c) 15 is reproduced using the position information of the data file (File-c) 15 acquired from the FE (File-c) 14 .
在如上所述的追加记录型光盘中,也可以借助于缺陷管理机制进行伪重写记录。In the write-once optical disc as described above, it is also possible to perform pseudo-overwrite recording by means of a defect management mechanism.
专利文献1:美国专利申请公开第2004/0076096号说明书Patent Document 1: Specification of US Patent Application Publication No. 2004/0076096
但是,上述所说明的追加记录型光盘的伪重写记录方式中存在的问题是:一旦替换区中的未记录区被用完,即使用户数据区中仍有未记录区,也无法继续进行数据记录。原因在于,无法更新文件系统信息。However, the problem in the pseudo-overwrite recording method of the write-once optical disc described above is that once the unrecorded area in the replacement area is used up, even if there is still an unrecorded area in the user data area, data cannot be continued. Record. The reason is that the file system information cannot be updated.
特别是,追加记录型光盘不同于替换区容量可以在需要时扩展的可擦写型光盘,其在盘片格式化(初始化)时就已确定。In particular, write-once optical discs are different from rewritable optical discs in which the spare area capacity can be expanded as needed, which is determined when the disc is formatted (initialized).
此外,很难考虑进行伪重写记录而事先确定适当的替换区容量。Furthermore, it is difficult to determine in advance an appropriate spare area capacity in consideration of pseudo-overwrite recording.
如果事先确定的替换区容量过大,则用户数据区容量减少,而过小则会出现即使用户数据区中仍有未记录区也无法继续记录数据的状况。无论哪种情况,都不能有效地利用追加记录型光盘的用户数据区。If the capacity of the replacement area determined in advance is too large, the capacity of the user data area will decrease, and if it is too small, there will be a situation that data cannot be continuously recorded even if there is an unrecorded area in the user data area. In either case, the user data area of the write-once optical disc cannot be effectively used.
发明内容Contents of the invention
本发明解决了上述问题,其目的在于提供一种在追加记录型光盘的伪重写记录中能够没有浪费地利用用户数据区的驱动装置。The present invention solves the above problems, and an object of the present invention is to provide a drive device capable of using a user data area without waste in pseudo-overwrite recording of a write-once optical disc.
本发明的驱动装置是一种对追加记录型记录介质进行顺序(sequential)记录的驱动装置,其中,上述追加记录型记录介质包含:数据区和盘片管理信息区,在上述盘片管理信息区中记录有用来管理上述追加记录型记录介质的盘片管理信息,在上述数据区中分配有多个物理地址,在上述用户数据区中分配有多个逻辑地址,在上述用户数据区中至少分配有一个顺序记录区,上述盘片管理信息包含:用来管理上述至少一个顺序记录区的顺序记录区管理信息,上述顺序记录区管理信息包含:最终记录地址,该最终记录地址是表示顺序记录区内最后记录数据的位置的物理地址,上述盘片管理信息包含:至少包括一个替换管理信息的替换管理信息列表,上述至少一个替换管理信息将表示上述用户数据区中的被替换项位置的物理地址映射到表示替换项位置的别的物理地址上,上述驱动装置包含:记录再生部,对上述追加记录型记录介质进行记录动作或再生动作;以及驱动控制部,控制上述记录再生部,上述驱动控制部所执行的处理包含:从上述盘片管理信息区读出上述盘片管理信息;基于上述盘片管理信息,确定表示上述多个逻辑地址与上述多个物理地址的对应关系的初始逻辑地址-物理地址映射;接受记录指示,该记录指示包含表示应记录数据的位置的逻辑地址;按照上述初始逻辑地址-物理地址映射,将上述记录指示中包含的上述逻辑地址变换为物理地址;基于与上述记录指示中包含的上述逻辑地址相对应的上述物理地址和上述顺序记录区管理信息,确定上述至少一个顺序记录区中的一个顺序记录区;基于上述所确定的顺序记录区内的上述最终记录地址,将表示上述所确定的顺序记录区中下一个可记录数据的位置的物理地址,确定为下次可记录地址;与上述记录指示中包含的上述逻辑地址相对应的上述物理地址和上述下次可记录地址进行比较;当与上述记录指示中包含的上述逻辑地址相对应的上述物理地址小于上述下次可记录地址时,所执行的处理包含:控制上述记录再生部使得将上述数据记录到上述用户数据区中的特定位置,该特定位置是指与上述记录指示中包含的上述逻辑地址相对应的上述物理地址所示的位置以外的特定的位置、确定在上述替换管理信息列表中是否发现了替换管理信息,该替换管理信息是包含与上述记录指示中包含的上述逻辑地址相对应的物理地址一致的被替换项物理地址;当没有发现上述替换管理信息时,作为对基于与上述记录指示中包含的上述逻辑地址相对应的物理地址所表示的位置的第一次伪重写记录,所执行的处理包含:生成将与上述记录指示中包含的上述逻辑地址相对应的上述物理地址映射到表示上述特定位置的物理地址上的新的替换管理信息、以及通过将上述新的替换管理信息追加到上述替换管理信息列表中,来更新上述替换管理信息列表;当发现上述替换管理信息时,作为对基于与上述记录指示中包含的上述逻辑地址相对应的物理地址所表示的位置的第二次以后的伪重写记录,所执行的处理包含:通过将上述发现的替换管理信息的替换项地址变更为表示上述特定位置的物理地址,来更新上述替换管理信息列表、生成新的盘片管理信息,该新的盘片管理信息包含上述更新的替换管理信息列表和由上述数据的记录而更新的上述最终记录地址、以及控制上述记录再生部使得将上述新的盘片管理信息记录到上述盘片管理信息区中。The drive device of the present invention is a drive device for performing sequential recording on a record-on-addition recording medium, wherein the record-on-addition recording medium includes: a data area and a disc management information area, and in the disc management information area Disc management information for managing the above-mentioned additional recording type recording medium is recorded in the above-mentioned data area, a plurality of physical addresses are allocated in the above-mentioned data area, a plurality of logical addresses are allocated in the above-mentioned user data area, and at least There is a sequential recording area, the disc management information includes: sequential recording area management information for managing at least one sequential recording area, the sequential recording area management information includes: the final recording address, the final recording address indicates the sequential recording area The physical address of the location where data is last recorded in the disk, the above-mentioned disc management information includes: a replacement management information list including at least one replacement management information, and the above-mentioned at least one replacement management information will indicate the physical address of the location of the replaced item in the user data area Mapped to another physical address indicating the position of the replacement item, the above-mentioned drive device includes: a recording and reproducing unit that performs a recording operation or a reproducing operation on the above-mentioned write-once recording medium; and a drive control unit that controls the above-mentioned recording and reproducing unit. The processing performed by the unit includes: reading the above-mentioned disk management information from the above-mentioned disk management information area; Physical address mapping; accepting a recording instruction, the recording instruction contains a logical address representing the location of the data to be recorded; according to the above-mentioned initial logical address-physical address mapping, converting the above-mentioned logical address contained in the above-mentioned recording instruction into a physical address; based on the above-mentioned recording the physical address corresponding to the logical address included in the instruction and the sequential recording area management information, determining a sequential recording area in the at least one sequential recording area; based on the above-mentioned final recording address in the determined sequential recording area , determining the physical address representing the position of the next recordable data in the above-mentioned determined sequential recording area as the next recordable address; The recordable address is compared; when the above-mentioned physical address corresponding to the above-mentioned logical address included in the above-mentioned recording instruction is smaller than the above-mentioned next recordable address, the processing performed includes: controlling the above-mentioned recording and reproducing unit so that the above-mentioned data is recorded in the above-mentioned A specific position in the user data area, the specific position refers to a specific position other than the position indicated by the above-mentioned physical address corresponding to the above-mentioned logical address contained in the above-mentioned recording instruction, and it is determined whether a Replacement management information, the replacement management information contains the physical address of the replaced item that is consistent with the physical address corresponding to the above-mentioned logical address contained in the above-mentioned record instruction; when the above-mentioned replacement management information is not found, as a pair based on the above-mentioned record instruction contains the first pseudo-rewrite of the location indicated by the physical address corresponding to the above logical address recording, the executed processing includes: generating new replacement management information that maps the above-mentioned physical address corresponding to the above-mentioned logical address included in the above-mentioned recording instruction to the physical address representing the above-mentioned specific location; adding management information to the replacement management information list to update the replacement management information list; when the replacement management information is found, as a reference to the location indicated by the physical address corresponding to the logical address contained in the recording instruction For the pseudo-overwrite recording after the second time, the processing executed includes: updating the replacement management information list and generating a new disc by changing the replacement item address of the replacement management information found above to the physical address indicating the specific location. disc management information, the new disc management information includes the above-mentioned updated replacement management information list and the above-mentioned final recording address updated by recording the above-mentioned data, and the above-mentioned recording and reproducing unit is controlled so that the above-mentioned new disc management information is recorded in In the above disc management information area.
也可以是,上述追加记录型记录介质包含多个ECC簇,上述多个ECC簇分别包含多个扇区,在上述多个扇区中分别分配上述多个物理地址,上述下次可记录地址是包含上述最终记录地址的ECC簇的下一ECC簇中包含的开头扇区的物理地址。It may also be that the above-mentioned additional recording type recording medium includes a plurality of ECC clusters, and the above-mentioned multiple ECC clusters respectively include a plurality of sectors, and the above-mentioned multiple physical addresses are respectively allocated in the above-mentioned multiple sectors, and the above-mentioned next recordable address is The physical address of the first sector included in the ECC cluster next to the ECC cluster including the above-mentioned last recording address.
借助于本发明,能够提供一种在追加记录型光盘的伪重写记录中可以没有浪费地利用用户数据区的驱动装置。According to the present invention, it is possible to provide a drive device capable of using a user data area without waste in pseudo-overwrite recording of a write-once optical disc.
附图说明Description of drawings
图1A是表示本发明的实施方式中信息记录介质100的外观的一个实例的图。FIG. 1A is a diagram showing an example of the appearance of an
图1B是表示本发明的实施方式中信息记录介质100的数据结构的一个实例的图。FIG. 1B is a diagram showing an example of the data structure of the
图1C是表示图1B所示的用户数据区108的数据结构的一个实例的图。FIG. 1C is a diagram showing an example of the data structure of the
图2A是表示本发明的实施方式中区段管理信息200的数据结构的一个实例的图。FIG. 2A is a diagram showing an example of the data structure of segment management information 200 in the embodiment of the present invention.
图2B是表示本发明的实施方式中光轨管理信息210的数据结构的一个实例的图。FIG. 2B is a diagram showing an example of the data structure of the track management information 210 in the embodiment of the present invention.
图2C是表示本发明的实施方式中空闲区管理信息220的数据结构的一个实例的图。FIG. 2C is a diagram showing an example of the data structure of free area management information 220 in the embodiment of the present invention.
图3是表示本发明的实施方式中盘片结构信息1100的数据结构的一个实例的图。FIG. 3 is a diagram showing an example of the data structure of the
图4是表示本发明的实施方式中另一个信息记录介质100b的数据结构的一个实例的图。FIG. 4 is a diagram showing an example of the data structure of another information recording medium 100b in the embodiment of the present invention.
图5A是表示本发明的实施方式中替换管理信息列表1000的数据结构的一个实例的图。FIG. 5A is a diagram showing an example of the data structure of the replacement
图5B是表示本发明的实施方式中替换管理信息1010的数据结构的一个实例的图。FIG. 5B is a diagram showing an example of the data structure of the replacement management information 1010 in the embodiment of the present invention.
图6是表示本发明的实施方式中信息记录再生装置300的结构的一个实例的框图。FIG. 6 is a block diagram showing an example of the configuration of an information recording/reproducing device 300 according to the embodiment of the present invention.
图7是表示本发明的实施方式中格式化处理后的信息记录介质上的数据结构的一个实例的图。7 is a diagram showing an example of a data structure on an information recording medium after format processing in the embodiment of the present invention.
图8A是表示本发明的实施方式中记录处理的流程图。FIG. 8A is a flowchart showing recording processing in the embodiment of the present invention.
图8B是表示本发明的实施方式中RMW处理的流程图。Fig. 8B is a flowchart showing RMW processing in the embodiment of the present invention.
图9是表示本发明的实施方式中记录处理后的信息记录介质上的数据结构的一个实例的图。9 is a diagram showing an example of a data structure on an information recording medium after recording processing in the embodiment of the present invention.
图10是表示本发明的实施方式中的再生处理的流程图。FIG. 10 is a flowchart showing regeneration processing in the embodiment of the present invention.
图11是表示本发明的实施方式中替换管理信息1010B的数据结构的一个实例的图。FIG. 11 is a diagram showing an example of the data structure of replacement management information 1010B in the embodiment of the present invention.
图12是表示本发明的实施方式中物理地址空间和逻辑地址空间的数据结构的一个实例的图。FIG. 12 is a diagram showing an example of the data structure of the physical address space and the logical address space in the embodiment of the present invention.
图13A是关于本发明的实施方式中替换记录的说明图。Fig. 13A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图13B是关于本发明的实施方式中替换管理信息的说明图。Fig. 13B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图14A是关于本发明的实施方式中替换记录的说明图。Fig. 14A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图14B是关于本发明的实施方式中替换管理信息的说明图。Fig. 14B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图15A是关于本发明的实施方式中替换记录的说明图。Fig. 15A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图15B是关于本发明的实施方式中替换管理信息的说明图。Fig. 15B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图16A是关于本发明的实施方式中替换记录的说明图。Fig. 16A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图16B是关于本发明的实施方式中替换管理信息的说明图。FIG. 16B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图17A是关于本发明的实施方式中替换记录的说明图。Fig. 17A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图17B是关于本发明的实施方式中替换管理信息的说明图。FIG. 17B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图18是表示本发明的实施方式中替换管理信息即DFL entry2010的数据结构的一个实例的图。FIG. 18 is a diagram showing an example of the data structure of
图19A是表示本发明的实施方式中记录处理的流程图。Fig. 19A is a flowchart showing recording processing in the embodiment of the present invention.
图19B是表示本发明的实施方式中记录处理的流程图。Fig. 19B is a flowchart showing recording processing in the embodiment of the present invention.
图20A是关于本发明的实施方式中替换记录的说明图。FIG. 20A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图20B是关于本发明的实施方式中替换管理信息的说明图。FIG. 20B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图21A是关于本发明的实施方式中替换记录的说明图。Fig. 21A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图21B是关于本发明的实施方式中替换管理信息的说明图。Fig. 21B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图22A是关于本发明的实施方式中替换记录的说明图。Fig. 22A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图22B是关于本发明的实施方式中替换管理信息的说明图。Fig. 22B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图23A是关于本发明的实施方式中替换记录的说明图。Fig. 23A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图23B是关于本发明的实施方式中替换管理信息的说明图。Fig. 23B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图24A是关于本发明的实施方式中替换记录的说明图。Fig. 24A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图24B是关于本发明的实施方式中替换管理信息的说明图。Fig. 24B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图25是本发明的实施方式中光轨管理信息的数据结构的示例图。Fig. 25 is a diagram showing an example of the data structure of track management information in the embodiment of the present invention.
图26A是关于本发明的实施方式中替换记录的说明图。Fig. 26A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图26B是关于本发明的实施方式中替换管理信息的说明图。Fig. 26B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图27是关于本发明的实施方式中替换记录的说明图。Fig. 27 is an explanatory diagram related to replacement records in the embodiment of the present invention.
图28是关于本发明的实施方式中替换记录的说明图。Fig. 28 is an explanatory diagram related to replacement records in the embodiment of the present invention.
图29是关于本发明的实施方式中替换记录的说明图。Fig. 29 is an explanatory diagram related to replacement records in the embodiment of the present invention.
图30是关于本发明的实施方式中替换记录的说明图。Fig. 30 is an explanatory diagram related to replacement records in the embodiment of the present invention.
图31是表示现有技术中信息记录介质上的数据结构的一个实例的图。Fig. 31 is a diagram showing an example of a data structure on an information recording medium in the prior art.
图32是表示现有技术中文件记录处理后的信息记录介质上的数据结构的一个实例的图。FIG. 32 is a diagram showing an example of a data structure on an information recording medium after file recording processing in the conventional art.
图33A是表示现有技术中TDFL的数据结构的一个实例的图。Fig. 33A is a diagram showing an example of the data structure of TDFL in the prior art.
图33B是表示现有技术中TDFL的数据结构的一个实例的图。Fig. 33B is a diagram showing an example of the data structure of TDFL in the prior art.
图34是表示本发明的实施方式中盘片结构信息1100的数据结构的一个实例的图。FIG. 34 is a diagram showing an example of the data structure of the
图35A是表示本发明的实施方式中替换记录控制信息列表的数据结构的一个实例的图。35A is a diagram showing an example of the data structure of the replacement recording control information list in the embodiment of the present invention.
图35B是表示本发明的实施方式中光轨管理信息210的数据结构的一个实例的图。FIG. 35B is a diagram showing an example of the data structure of the track management information 210 in the embodiment of the present invention.
图36A是关于本发明的实施方式中替换记录的说明图。Fig. 36A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图37A是关于本发明的实施方式中替换记录的说明图。Fig. 37A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图37B是关于本发明的实施方式中替换管理信息的说明图。Fig. 37B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图38A是关于本发明的实施方式中替换记录的说明图。Fig. 38A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图39A是关于本发明的实施方式中替换记录的说明图。Fig. 39A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图39B是关于本发明的实施方式中替换管理信息的说明图。Fig. 39B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图40是本发明的实施方式中光轨管理信息的数据结构的示例图。Fig. 40 is a diagram showing an example of the data structure of track management information in the embodiment of the present invention.
图41A是关于本发明的实施方式中替换记录的说明图。Fig. 41A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图42A是关于本发明的实施方式中替换记录的说明图。Fig. 42A is an explanatory diagram related to a replacement record in the embodiment of the present invention.
图42B是关于本发明的实施方式中替换管理信息的说明图。Fig. 42B is an explanatory diagram related to replacement management information in the embodiment of the present invention.
图43是本发明的实施方式中光轨管理信息的数据结构的示例图。Fig. 43 is a diagram showing an example of the data structure of track management information in the embodiment of the present invention.
图44是本发明的实施方式中光轨管理信息的数据结构的示例图。Fig. 44 is a diagram showing an example of the data structure of track management information in the embodiment of the present invention.
符号说明Symbol Description
100、100b信息记录介质100, 100b information recording medium
101导入区101 lead-in area
102、102a数据区102, 102a data area
103导出区103 export area
103b、103c外周区103b, 103c peripheral area
104、104a、105、105a盘片管理信息区104, 104a, 105, 105a disc management information area
106、106a内周替换区106, 106a inner peripheral replacement area
107、107a外周替换区107, 107a peripheral replacement area
108、108a用户区108, 108a user area
109卷空间109 rolls of space
122未记录区122 unrecorded area
120、121LRA120, 121LRA
210光轨管理信息210 light track management information
211区段开始信息211 section start information
212光轨开始位置信息212 Track start position information
213光轨内最终数据记录位置信息(LRA)213 Final data recording location information (LRA) in the optical track
300信息记录再生装置300 information recording and reproducing device
301系统控制部301 System Control Department
302存储器电路302 memory circuit
303I/O总线303 I/O bus
304磁盘装置304 disk device
310驱动装置310 drive unit
311驱动控制部311 Drive Control Department
312存储器电路312 memory circuit
313内部总线313 internal bus
314记录再生部314 Recording and reproduction department
410卷结构区Volume 410 Structure Area
420物理分区420 physical partition
440元数据文件440 metadata files
450元数据镜像文件450 metadata mirror files
1000替换管理信息列表1000 replacement management information list
1010、1010B替换管理信息1010, 1010B replacement management information
1011状态信息1011 Status Information
1012被替换项位置信息1012 Location information of the replaced item
1013替换项位置信息1013 Replacement item location information
1100盘片结构信息1100 disc structure information
1103用户数据区开始位置信息1103 User data area start position information
1104用户数据区结束位置信息1104 User data area end position information
1105替换区信息1105 replacement area information
2010DFL entry2010DFL entry
2011A状态1
2012缺陷簇开头PSN2012 Defective Cluster Begins PSN
2011B状态2
2013代替簇开头PSN2013 instead of cluster beginning PSN
具体实施方式Detailed ways
下面,一边参照附图,一边说明本发明的实施方式。Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(第1实施方式)(first embodiment)
1-1.追加记录型记录介质1-1. Additional recording type recording medium
图1A表示本发明的实施方式中的信息记录介质100的外观。FIG. 1A shows the appearance of an
在信息记录介质100的最内周配置有导入区101。在信息记录介质100的最外周配置有导出区103。在信息记录介质100的导入区101与导出区103之间配置有数据区102。A lead-in area 101 is arranged on the innermost periphery of the
导入区101中记录有在后文叙述的记录再生部314中包含的光学拾取器访问信息记录介质100时所需的基准信息或与其他记录介质的识别信息等。导出区103中也记录有与导入区101中所记录的信息相同的信息。In the lead-in area 101 , reference information necessary for an optical pickup included in the recording/reproducing unit 314 described later to access the
为对导入区101、数据区102和导出区103分配了多个物理扇区。各个物理扇区是最小的访问单位。各个物理扇区通过物理扇区编号(以后称为PSN)这样的地址信息来识别。A plurality of physical sectors are allocated to the lead-in area 101 , the data area 102 and the lead-out
将包含多个物理扇区的ECC簇(或ECC块)作为最小单位进行数据记录和再生。Data is recorded and reproduced using an ECC cluster (or ECC block) including a plurality of physical sectors as a minimum unit.
图1B表示信息记录介质100的数据结构。图1B中,将图1A中表示为同心圆状的导入区101、数据区102和导出区103以横向配置表示。FIG. 1B shows the data structure of the
导入区101包含盘片管理信息区104,导出区103包含盘片管理信息区105。The lead-in area 101 includes a disc management information area 104 , and the lead-out
盘片管理信息区104、105中分别记录盘片管理信息。盘片管理信息包含在后文叙述的替换管理信息列表、区段管理信息、空闲区管理信息等。盘片管理信息区104、105用作更新盘片管理信息时所需要的区域。该更新所需的区域也称为临时盘片管理信息区。Disc management information is recorded in the disc management information areas 104 and 105, respectively. The disc management information includes a replacement management information list, session management information, free area management information, etc., which will be described later. The disc management information areas 104 and 105 are used as areas required for updating the disc management information. The area required for this update is also referred to as a temporary disc management information area.
此外,在将本发明应用于BD-R标准时,本说明书中的用语“盘片管理信息区”应换用措辞为“盘片管理区”,本说明书中的用语“临时盘片管理信息区”应换用措辞为“临时盘片管理区”,本说明书中的用语“盘片管理信息”应换用措辞为“盘片管理结构”,本说明书中的用语“临时盘片管理信息”应换用措辞为“临时盘片管理结构”。In addition, when the present invention is applied to the BD-R standard, the term "disc management information area" in this specification should be replaced with "disc management area", and the term "temporary disc management information area" in this specification The term "temporary disc management area" should be used instead, the term "disc management information" in this manual should be replaced with the wording "disc management structure", and the term "temporary disc management information" in this manual should be replaced Use the wording "Temporary Disc Management Structure".
数据区102包含内周替换区106、用户数据区108和外周替换区107。The data area 102 includes an
用户数据区108是记录用户数据所需要使用的区域。The
图1C表示用户数据区108的数据结构。FIG. 1C shows the data structure of the
用户数据区108包含多个区段。各区段包含多条光轨。The
各光轨是信息记录介质100上的连续区域。各光轨通过在后文叙述的光轨管理信息进行管理。Each track is a continuous area on the
此外,在将本发明应用于BD-R标准时,本说明书中的用语“光轨”应换用措辞为“顺序记录区(SRR)”。In addition, when the present invention is applied to the BD-R standard, the term "track" in this specification should be replaced with the term "sequential recording region (SRR)".
各区段包含信息记录介质100上连续配置的多条光轨。各区段通过在后文叙述的区段管理信息进行管理。Each session includes a plurality of tracks arranged continuously on the
图2A表示用来管理区段的区段管理信息200的数据结构。区段管理信息200包含在盘片管理信息中。FIG. 2A shows the data structure of sector management information 200 used to manage sectors. The session management information 200 is included in the disc management information.
区段管理信息200包含扇区头(header)信息201和多个光轨管理信息。The session management information 200 includes header information 201 and a plurality of track management information.
扇区头信息201具有区段管理信息200的标识符或图2B中表示的光轨管理信息210的数目等一般性信息。The sector header information 201 has general information such as an identifier of the session management information 200 or the number of the track management information 210 shown in FIG. 2B.
光轨管理信息#N具有与图1C所示的光轨#N相对应的信息。这里,N是大于等于1的整数。The track management information #N has information corresponding to the track #N shown in FIG. 1C. Here, N is an integer greater than or equal to 1.
图2B表示用来管理光轨的光轨管理信息210的数据结构。光轨管理信息210包含在盘片管理信息中。FIG. 2B shows the data structure of track management information 210 used to manage tracks. The track management information 210 is included in the disc management information.
光轨管理信息210包含:区段开始信息211,用来表示光轨是否是区段的开头光轨;光轨开始位置信息212,用来表示光轨的开始位置;以及光轨内最终数据记录位置信息(以后称为LRA)213,用来表示光轨内最后记录数据的位置。The track management information 210 includes: section start information 211, used to indicate whether the track is the beginning track of the section; track
如果某条光轨管理信息210所管理的光轨位于区段的开头,则表示该光轨位于区段开头的值(例如“1”)被设定到区段开始信息211中。除此之外,在区段开始信息211中设定不同的值(例如“0”)。If a track managed by a piece of track management information 210 is located at the beginning of a session, a value indicating that the track is located at the beginning of the session (for example, “1”) is set in the session start information 211 . Besides, a different value (for example, "0") is set in the section start information 211 .
光轨开始位置信息212包含表示光轨的开始位置的物理地址。The track
光轨内最终数据记录位置信息213包含用来表示光轨中记录了有效数据的最终位置的物理地址。有效数据是指例如从主机装置305提供的用户数据。图1C所示的LRA120或LRA121是光轨内最终数据记录位置信息213的一个实例。The final data
此外,当将本发明应用于BD-R标准时,本说明书中的用语“光轨管理信息”应换用措辞为“顺序记录区项”,本说明书中的用语“区段管理信息”应换用措辞为“顺序记录区信息”。Furthermore, when the present invention is applied to the BD-R standard, the term "track management information" in this specification should be replaced by the wording "sequential recording area entry", and the term "session management information" in this specification should be replaced by The wording is "sequential recording area information".
此外,信息记录介质100在以ECC簇为最小单位进行数据记录时,光轨内最终数据记录位置信息213并不限于指示ECC簇的边界。这是因为,一般说来,记录指示所规定的数据容量不会是ECC簇的容量的整数倍。此时,LRA213表示记录指示所规定的数据被记录的最后的物理扇区地址。In addition, when the
另外,当LRA213与ECC簇边界不一致时,紧接着记录指示所规定的数据记录填充数据,直到ECC簇边界。Also, when the
在本实施方式中,可以按光轨记录数据。新的数据记录从各光轨开头进行,在光轨内,数据被连续配置(顺序记录)。在该光轨内进行数据记录的话,该光轨内最后记录的位置反映到光轨内最终数据记录位置信息213中。In this embodiment, data can be recorded on a track basis. New data recording is performed from the head of each track, and data is continuously arranged (sequential recording) within the track. If data recording is performed in the track, the last recorded position in the track is reflected in the last data
当再次在该光轨中进行记录时,通过查看最新的光轨内最终数据记录位置信息213的值,就可以知道该光轨中下一个记录开始位置。When recording is performed on the track again, the next recording start position in the track can be known by checking the value of the last data
此外,在分配了光轨之后紧接着在该光轨中完全没有数据记录时,也可以在光轨内最终数据记录位置信息213中设定表示该状态的规定值(例如“0”)。Also, when no data is recorded in the track immediately after the allocation of the track, a predetermined value (for example, "0") indicating this state may be set in the last data
下次可记录地址(以后称为NWA)表示由光轨内最终数据记录位置信息213所示的物理扇区的下一个物理扇区的位置。或者,当信息记录介质100以某个ECC簇为最小单位进行数据记录时,NWA表示包含由光轨内最终数据记录位置信息213所示的物理扇区的、ECC簇的下一个ECC簇的开头位置。The next recordable address (hereinafter referred to as NWA) indicates the position of the physical sector next to the physical sector indicated by the last data
如果用算式表示,即为(算式1)。If it is represented by a formula, it is (Formula 1).
(算式1)(Equation 1)
(a)LRA≠0时,(a) When LRA≠0,
NWA=N×(Floor(LRA/N)+1)NWA=N×(Floor(LRA/N)+1)
N:ECC簇中包含的物理扇区数(例如,N=32)N: the number of physical sectors contained in the ECC cluster (for example, N=32)
(b)LRA=0时(b) When LRA=0
NWA=(相应光轨的开始位置)NWA=(the start position of the corresponding track)
其中,Floor(x)表示小于等于x的最大整数值。Wherein, Floor(x) represents the largest integer value less than or equal to x.
在以后的说明中,假定NWA表示ECC簇的开头位置。In the following description, it is assumed that NWA indicates the head position of the ECC cluster.
处于可记录数据的状态的光轨称为开放光轨(open track)。A track in a state where data can be recorded is called an open track.
开放光轨的光轨编号包含在图2A所示的区段管理信息200中的扇区头信息201中(例如,第1开放光轨编号203、第2开放光轨编号204等)。The track number of the open track is included in the header information 201 of the session management information 200 shown in FIG. 2A (for example, the first open track number 203, the second open track number 204, etc.).
另一方面,非开放光轨的光轨称为封闭光轨(closed track)。On the other hand, a track that is not an open track is called a closed track.
例如,不存在未记录区的光轨或由用户指示的光轨成为封闭光轨。For example, a track having no unrecorded area or a track instructed by the user becomes a closed track.
与开放光轨不同,封闭光轨的光轨编号不保存在区段管理信息200中的扇区头信息210中。Unlike an open track, the track number of a closed track is not stored in the sector header information 210 in the session management information 200 .
禁止向封闭光轨中记录数据。Recording data to closed tracks is prohibited.
通过查看开放光轨编号和光轨管理信息210中的光轨内最终数据记录位置信息213,就能够知道信息记录介质100上的未记录区。The unrecorded area on the
此外,在将本发明应用于BD-R标准时,开放光轨表示开放SRR。另外,封闭光轨表示封闭SRR。Furthermore, when the present invention is applied to the BD-R standard, an open track means an open SRR. In addition, a closed track means a closed SRR.
另外,在追加记录型信息记录介质100中,也可以通过管理记录完毕的ECC簇,从而在信息记录介质上的任意位置(物理地址)记录数据,即实现一种随机记录。In addition, in the write-once-type
为了实现这种随机记录,必须对信息记录介质100上的空闲区和最终数据记录位置进行管理。In order to realize such random recording, it is necessary to manage the free area and the final data recording position on the
在本实施方式中,利用图2C所示的空闲区管理信息220和盘片管理信息区104、105中记录的盘片管理信息,实现这种管理。In this embodiment, such management is realized by using the free area management information 220 shown in FIG. 2C and the disc management information recorded in the disc management information areas 104 and 105 .
在执行随机记录时,盘片管理信息区104中记录图2C所示的空闲区管理信息220。When random recording is performed, free area management information 220 shown in FIG. 2C is recorded in the disc management information area 104 .
图2C表示空闲区信息220的数据结构。空闲区信息220包含扇区头信息221、管理对象区信息222和空闲区信息223。FIG. 2C shows the data structure of the free area information 220. As shown in FIG. The free area information 220 includes sector header information 221 , managed area information 222 and free area information 223 .
扇区头信息221具有空闲区管理信息220的标识符等一般性信息。The sector header information 221 includes general information such as an identifier of the free area management information 220 .
管理对象区信息222包含用来特别指定用户数据区108中的区域的信息,该用户数据区108中的区域包含由空闲区管理信息220对未记录/记录完毕状态进行管理的扇区。例如,管理对象区信息222包含该区域的开始位置或该区域的长度。The managed area information 222 includes information for specifying an area in the
空闲区信息223包含用来表示管理对象区域中包含的各ECC簇是未记录还是记录完毕的信息。例如,对各ECC簇分配各1比特的数据,如果相应ECC簇尚未记录则设定为例如“0”,如果记录完毕则设定为例如“1”,由此,能够实现对象区的全部ECC簇的空闲状况的管理。The free area information 223 includes information indicating whether each ECC cluster included in the managed area is unrecorded or recorded. For example, each 1-bit data is assigned to each ECC cluster, and if the corresponding ECC cluster has not been recorded, it is set to, for example, "0", and if it has been recorded, it is set to, for example, "1". Thus, all ECC of the target area can be realized. Cluster idle status management.
盘片管理信息区104中记录的盘片管理信息包含图3所示的盘片结构信息1100。盘片结构信息1100包含最终数据记录位置信息1107。最终数据记录位置信息1107包含表示用户数据区108中最后记录了数据的位置的物理地址。The disc management information recorded in the disc management information area 104 includes the
盘片结构信息1100还包含:一般信息1101,与盘片结构信息1100整体相关;替换管理信息列表位置信息1102,表示最新的替换管理信息列表1000在盘片管理信息区104、105中的位置信息;用户区开始位置信息1103,表示用户区108的开始位置;用户区结束位置信息1104,表示用户区108的结束位置;以及替换区信息1105及替换区管理信息1108,表示盘片管理信息区信息1107b、内周替换区106、外周替换区107的容量或替换时可用的区域。The
通过使用盘片管理信息区信息1107b,能够针对每个信息记录介质变更盘片管理信息区的容量。进而,通过使用盘片管理信息区信息1107b,能够改变内周替换区106或外周替换区107中上述临时盘片管理信息区的容量。By using the disc management information area information 1107b, the capacity of the disc management information area can be changed for each information recording medium. Furthermore, by using the disc management information area information 1107b, the capacity of the temporary disc management information area in the inner
通过使用替换区信息1105,能够针对每个信息记录介质变更替换区的容量。例如,也可以将内周替换区106或外周替换区107的容量指定为0。By using the spare area information 1105, the capacity of the spare area can be changed for each information recording medium. For example, the capacity of the inner
替换区管理信息1108包含表示内周替换区106、外周替换区107中下一可用位置的下次可用位置信息。The replacement area management information 1108 includes next available location information indicating the next available location in the
在各替换区中,与光轨同样地进行顺序记录。各替换区中的下次可用位置信息发挥与光轨中的NWA相同的功能,对替换区所做的新数据记录从下次可用位置信息所示的位置开始顺序执行。In each spare area, sequential recording is performed in the same manner as the track. The next available location information in each spare area serves the same function as the NWA in the track, and new data recording to the spare area is sequentially performed from the position indicated by the next available location information.
盘片结构信息1100还包含:区段管理信息位置信息1109,表示最新的区段管理信息200在盘片管理信息区104、105中的位置信息;空闲区管理信息位置信息1110,表示最新的空闲区管理信息220在盘片管理信息区104、105中的位置信息。The
如上所述,使用区段管理信息200或空闲区管理信息220中的任意一个都可以管理信息记录介质100上的物理扇区的空闲状况。由此,也可以根据用途选择使用区段管理信息200或空闲区管理信息220中的任意一个。或者,也可以同时使用两者。这种与空闲区管理方式相关的信息包含在盘片结构信息1100的记录种类信息1106中。As described above, the vacant status of physical sectors on the
此外,盘片管理信息区105在为了提高信息记录介质100的可靠性而对盘片管理信息区104中记录的盘片管理信息进行复制记录或者更新盘片管理信息等时,是在盘片管理信息区104中保存不下的情况下所用的扩展区,因此以后省略其详细说明。另外,对于替换区中等所记录的临时盘片管理信息等也同样处理。In addition, when the disc management information area 105 copies and records the disc management information recorded in the disc management information area 104 or updates the disc management information in order to improve the reliability of the
在图1C所示的实例中,用户数据区108上记录的用户数据的管理借助于文件系统进行。文件系统所管理的空间称为卷空间109。In the example shown in FIG. 1C, management of user data recorded on the
对卷空间分配了多个逻辑扇区。各逻辑扇区通过逻辑扇区编号(以后称为LSN)这样的地址信息来识别。Multiple logical sectors are allocated to the volume space. Each logical sector is identified by address information such as a logical sector number (hereinafter referred to as LSN).
此外,在以下说明中,只要没有特别地详细记载,作为构成文件系统的卷/文件结构而记录在信息记录介质100中的描述符或指针、元数据分区或元数据文件等都具有ISO/IEC13346标准或UDF(Universal Disk Format:通用盘片格式)标准所规定的数据结构。当然,也可以使用其他的文件系统。In addition, in the following description, unless otherwise specified in detail, descriptors, pointers, metadata partitions, metadata files, and the like recorded on the
此外,虽然图1A~图1C所示的信息记录介质100是作为具有1个记录层的介质进行说明的,但也可以是具有2个以上记录层的信息记录介质。In addition, although the
图4表示具有2个记录层的信息记录介质100b的数据结构。FIG. 4 shows the data structure of an information recording medium 100b having two recording layers.
在图4中,L0表示第1层,L1表示第2层。第1层和第2层分别具有与信息记录介质100大致相同的结构。即,导入区101设置在第1层的最内周侧,导出区103a设置在第2层的最内周。进而,在第1层的最外周设置了外周区103b,在第2层的最外周设置了外周区103c。导入区101、外周区103b、导出区104a、外周区103c分别包含盘片管理信息区104、105、104a、105a。In FIG. 4 , L0 represents the first layer, and L1 represents the second layer. Each of the first layer and the second layer has approximately the same structure as that of the
另外,如图4所示,设置了替换区106、106a、107、107a。如上所述,各替换区的容量可以针对每个信息记录介质作出变更。另外,各替换区中也可以设置追加的临时盘片管理信息区。此外,用户数据区108和108a被当作具有连续的逻辑地址的1个逻辑上的卷空间处理。In addition, as shown in FIG. 4,
如上所述,可以将具有多个记录层的信息记录介质当作在逻辑上具有1个记录层的信息记录介质处理。以后,虽然针对具有1个记录层的信息记录介质进行说明,但这些说明也适用于具有多个记录层的信息记录介质。因此,只在需要特别说明的情况下适当说明具有多个记录层的信息记录介质。As described above, an information recording medium having a plurality of recording layers can be handled as an information recording medium logically having one recording layer. Hereinafter, although an information recording medium having one recording layer will be described, these descriptions are also applicable to an information recording medium having a plurality of recording layers. Therefore, an information recording medium having a plurality of recording layers is properly described only when special explanation is required.
1-2.伪重写记录1-2. Pseudo-rewrite records
下面,参照图5A和图5B说明替换信息。Next, replacement information will be described with reference to FIGS. 5A and 5B .
替换信息指的是包含替换管理信息(或者缺陷列表项)的替换管理信息列表(或者缺陷列表),该替换管理信息包含表示信息记录介质上出现了缺陷的簇(缺陷簇)的位置的被替换项位置信息、以及表示用来替换该缺陷簇的代替簇的位置的替换项位置信息。The replacement information refers to a replacement management information list (or defect list) that includes replacement management information (or defect list items) that includes replaced information indicating the position of a cluster (defective cluster) that has a defect on the information recording medium. item position information, and replacement item position information indicating the position of a replacement cluster for replacing the defective cluster.
另外,本发明中,可以在用户数据区中记录代替簇。Also, in the present invention, it is possible to record a substitute cluster in the user data area.
进而,本发明利用替换信息实现了在追加记录型信息记录介质中的伪重写记录。Furthermore, the present invention realizes pseudo-overwrite recording in a record-on-add type information recording medium by using replacement information.
如图1B所示,数据区102包含内周替换区106、用户数据区108和外周替换区107。As shown in FIG. 1B , the data area 102 includes an
内周替换区106和外周替换区107中至少一部分被用作对用户数据区108上记录的数据进行替换记录的区域。At least a part of the inner
例如,当用户数据区108上存在缺陷簇时,内周替换区106和外周替换区107中至少一部分被用作记录对该缺陷簇进行替换所需的代替簇的区域。For example, when there is a defective cluster in the
或者,内周替换区106和外周替换区107中至少一部分也可以被用作记录后述的伪重写记录中更新后的数据所需的区域。Alternatively, at least a part of the inner
替换信息和替换区组合而成的替换记录与校验处理一起实施。The replacement record, which is a combination of the replacement information and the replacement area, is carried out together with the verification process.
校验处理是指在记录数据之后马上再生该数据,对所记录的数据与再生的数据进行比较,检查数据是否被正确地记录下来。这样的一系列处理称为写后校验处理。The verification process is to reproduce the data immediately after recording the data, compare the recorded data with the reproduced data, and check whether the data is recorded correctly. Such a series of processing is called verify-after-write processing.
当校验处理出错时,即数据没有被正确地记录下来时,实施替换记录。即,缺陷簇被替换为代替簇,数据被记录到代替簇中。When a verification process fails, that is, data is not recorded correctly, replacement recording is performed. That is, a defective cluster is replaced with a substitute cluster, and data is recorded in the substitute cluster.
该代替簇被记录到内周替换区106(或外周替换区107)或者用户数据区108中。The replacement cluster is recorded in the inner spare area 106 (or the outer spare area 107 ) or the
伪重写记录是一种不改变数据记录的表观上的逻辑地址而将实际记录数据的物理地址映射到另外的地方的方法。Pseudo-overwrite recording is a method of mapping the physical address of actually recorded data to another place without changing the apparent logical address of the data record.
当发出指示向已经有了记录的逻辑地址重写写入数据时,在与该重写之前的数据记录的物理地址不同的另外的物理地址上的ECC簇中记录新的数据,并将重写之前的ECC簇与记录了新数据的代替簇映射起来。When an instruction is issued to rewrite data to a logical address that already has a record, record new data in an ECC cluster at another physical address that is different from the physical address of the data record before the rewrite, and rewrite The previous ECC cluster is mapped with the replacement cluster in which new data is recorded.
这种伪重写记录中的代替簇被记录到替换区或用户数据区中。Substitute clusters in such pseudo-overwrite recording are recorded into the replacement area or the user data area.
使用图5A所示的替换管理信息列表1000作为进行这种映射所需的替换信息。The replacement
借助于这样的映射处理,虽然数据实际上并没有被重写,但可以实现数据被伪重写的状态。以后将这种记录方法称为伪重写记录。With such mapping processing, although data is not actually rewritten, a state where data is pseudo-rewritten can be realized. This recording method is hereinafter referred to as pseudo-overwrite recording.
图5A表示作为本发明的替换信息的替换管理信息列表1000的数据结构。替换管理信息列表1000用于进行缺陷簇的位置与代替簇的位置的映射。替换管理信息列表1000包含扇区头信息1001、多个替换管理信息1010(替换管理信息#1、#2、#3......)。FIG. 5A shows the data structure of a replacement
扇区头信息1001包含替换管理信息列表1000中包含的替换管理信息的数目。替换管理信息包含表示上述映射的信息。The header information 1001 includes the number of replacement management information included in the replacement
图5B表示替换管理信息1010的数据结构。替换管理信息1010包含状态信息1011、被替换项位置信息1012和替换项位置信息1013。FIG. 5B shows the data structure of the replacement management information 1010. As shown in FIG. The replacement management information 1010 includes status information 1011 , replaced item location information 1012 , and replacement item location information 1013 .
状态信息1011包含与上述映射相关的状态信息。例如,表示替换管理信息1010的种类或属性、被替换项位置信息1012以及替换项位置信息1013的有效/无效状态等。Status information 1011 includes status information related to the above-mentioned mapping. For example, it indicates the type or attribute of the replacement management information 1010, the validity/invalid status of the replaced item position information 1012 and the replacement item position information 1013, and the like.
被替换项位置信息1012表示被替换项的信息(例如缺陷簇)的位置。The replaced item position information 1012 indicates the position of the replaced item information (for example, a defective cluster).
替换项位置信息1013表示替换项的信息(例如代替簇)的位置。The replacement item position information 1013 indicates the position of replacement item information (for example, a replacement cluster).
另外,在伪重写记录的情况下,以被替换项位置信息1012指示重写前的ECC簇的位置,以替换项位置信息1013指示重写后的ECC簇的位置,由此进行映射。Also, in the case of pseudo-overwrite recording, mapping is performed by indicating the position of the ECC cluster before overwriting with the replaced item position information 1012 and indicating the position of the ECC cluster after overwriting with the replaced item position information 1013 .
这里,替换管理信息1010中登录的被替换项位置信息1012与替换项位置信息1013也可以使用对应的ECC簇的开头扇区的物理地址(例如PSN)来表示。这是因为,缺陷管理和伪重写记录中是以ECC簇为单位进行映射的。Here, the replaced item location information 1012 and the replacement item location information 1013 registered in the replacement management information 1010 may also be represented by the physical address (for example, PSN) of the head sector of the corresponding ECC cluster. This is because defect management and pseudo-overwrite recording are mapped in units of ECC clusters.
在现有的线性置换中,代替簇被记录在替换区中。由此,替换项位置信息1013中一直有替换区中的ECC簇的位置信息设定于其中。In the existing linear replacement, a replacement cluster is recorded in the replacement area. Therefore, the location information of the ECC cluster in the replacement area is always set in the replacement item location information 1013 .
另一方面,在本发明中,代替簇并不限于记录在替换区中,也可以记录在用户数据区。因此,替换项位置信息1013中可以设定表示替换区内的ECC簇的位置的信息,或者设定表示用户数据区内的ECC簇的位置的信息。On the other hand, in the present invention, the replacement cluster is not limited to be recorded in the replacement area, but may also be recorded in the user data area. Therefore, information indicating the position of the ECC cluster in the replacement area or information indicating the position of the ECC cluster in the user data area may be set in the replacement item position information 1013 .
此外,替换项位置信息1013变成了可以指示两个区域中的任意一个所记录的ECC簇,因此,也可以在状态信息1011中设置判别信息,用来判别替换项位置信息1013指示的是替换区中的ECC簇还是用户数据区中的ECC簇。In addition, the replacement item location information 1013 can indicate the ECC cluster recorded in any one of the two areas. Therefore, discrimination information can also be set in the status information 1011 to determine whether the replacement item location information 1013 indicates a replacement The ECC clusters in the zone are also the ECC clusters in the user data zone.
1-3.记录再生装置1-3. Recording and playback device
图6表示本发明实施方式的信息记录再生装置300的结构。FIG. 6 shows the configuration of an information recording and reproducing device 300 according to an embodiment of the present invention.
信息记录再生装置300包含主机装置305和驱动装置310。The information recording and reproducing device 300 includes a
主机装置305可以是例如计算机系统或个人电脑。
驱动装置310可以是记录装置、再生装置、记录再生装置任何一个。此外,也可以将信息记录再生装置300整体称作记录装置、再生装置、记录再生装置。The drive device 310 may be any one of a recording device, a playback device, and a recording and playback device. In addition, the information recording and reproducing device 300 as a whole may be referred to as a recording device, a reproducing device, or a recording and reproducing device.
主机装置305包含系统控制部301和存储器电路302。主机装置305也可以还包含硬盘驱动器之类的磁盘装置304。主机装置305内的结构要素通过I/O总线303相互连接。The
系统控制部301借助于例如系统的控制程序或包含运算存储器的微处理器实现。系统控制部301对文件系统的卷结构/文件结构的记录再生、在后文叙述的元数据分区/文件结构的记录再生、文件的记录再生、导入/导出区的记录再生等处理进行控制或运算。The
存储器电路302用于卷结构、文件结构、元数据分区/文件结构以及文件的运算或临时保存等。The memory circuit 302 is used for volume structure, file structure, metadata partition/file structure, operation or temporary storage of files, and the like.
驱动装置310包含驱动控制部311和存储器电路312、记录再生部314。驱动装置310内的结构要素通过内部总线313相互连接。The drive device 310 includes a drive control unit 311 , a memory circuit 312 , and a recording/reproducing unit 314 . The components in the drive device 310 are connected to each other by an internal bus 313 .
驱动控制部311借助于例如驱动器的控制程序或包含运算存储器的微处理器实现。驱动控制部311对盘片管理信息区或替换区的记录再生、伪重写记录再生等处理进行控制或运算。The drive control unit 311 is realized by, for example, a driver control program or a microprocessor including an arithmetic memory. The drive control unit 311 controls or calculates processes such as recording and reproduction of the disc management information area and replacement area, pseudo-overwrite recording and reproduction, and the like.
此外,图6所示的系统控制部301或驱动控制部311既可以借助于LSI等半导体集成电路实现,也可以借助于通用处理器和存储器(例如ROM)来实现。In addition, the
存储器(例如ROM)中保存有计算机(例如通用处理器)可执行的程序。该程序表示上述及后述的本发明的再生处理和记录处理,计算机(例如通用处理器)按照该程序执行本发明的再生处理和记录处理。A program executable by a computer (eg, a general-purpose processor) is stored in the memory (eg, ROM). This program represents the playback processing and recording processing of the present invention described above and later, and a computer (for example, a general-purpose processor) executes the playback processing and recording processing of the present invention according to the program.
存储器电路312用于与盘片管理信息区或替换区相关的数据和驱动装置310传送来的数据的运算或临时保存等。The memory circuit 312 is used for calculation or temporary storage of data related to the disc management information area or replacement area and data transmitted from the drive device 310 .
1-4.记录处理步骤(1)1-4. Record processing steps (1)
接着,参照图7说明本实施方式中执行格式化处理之后的信息记录介质100上的数据结构。Next, the data structure on the
对用户数据区108分配了光轨#1 401、光轨#2 402、光轨#3403。To the
对用户数据区108分配了卷空间109。对卷空间109分配了卷结构区410、物理分区420和卷结构区411。A
物理分区420中包含UDF标准版本2.5或者其后的版本所规定的元数据分区430。The physical partition 420 includes the
物理分区420中记录了元数据文件440。此外,在以后的说明中,虽然为了简单起见而省略了与元数据文件440的副本即元数据镜像文件相关的说明,但是当然也可以记录元数据镜像文件。A
此外,记录了表示元数据文件440的物理分区420中的记录位置的文件项(FE)即FE(元数据文件)441。Furthermore, a file entry (FE) indicating a recording position in the physical partition 420 of the
表示用户数据文件的记录位置或容量的FE、或目录文件等文件结构信息全部配置在元数据分区430、即元数据文件440内。All file structure information such as FE indicating the recording position or capacity of the user data file or directory files is arranged in the
图7中只记录了ROOT目录,因此,在元数据文件440中只记录了文件集描述符(FSD)433和FE(ROOT)442。此外,为了简化说明,对于目录文件采取将其包含在各FE中的形式。Only the ROOT directory is recorded in FIG. 7 , therefore, only the file set descriptor (FSD) 433 and FE(ROOT) 442 are recorded in the
另外,假定该时刻是尚未进行任何替换记录的状态。此外,元数据分区430中的空闲区管理也可以按照元数据位图(未图示)来执行,以便按UDF标准版本2.5进行规定。In addition, it is assumed that at this point in time, no replacement recording has been performed. In addition, the free area management in the
或者,也可以将元数据分区430的空闲区保持未记录的状态,利用光轨#1的LRA405对元数据分区430中的空闲区进行管理。Alternatively, the free area in the
此外,光轨的分配方法并不限于图7所示,例如,也可以分配更多的光轨。另外,也可以将用户数据区的最末尾的光轨置为可追加新光轨的状态,必要时追加光轨。In addition, the method of allocating tracks is not limited to that shown in FIG. 7 , for example, more tracks may be allocated. In addition, it is also possible to set the last track in the user data area to a state where a new track can be added, and to add a track when necessary.
接着,参照图8A所示的流程图说明本发明中数据记录的步骤。Next, the steps of data recording in the present invention will be described with reference to the flowchart shown in FIG. 8A.
这里,假定数据文件(File-a)记录在信息记录介质100中。Here, it is assumed that the data file (File-a) is recorded in the
此外,对信息记录介质100的用户数据区108分配了多个逻辑地址和多个物理地址,假定该多个逻辑地址与该多个物理地址的对应关系是预先确定的。In addition, a plurality of logical addresses and a plurality of physical addresses are assigned to the
该多个逻辑地址的每一个都通过例如逻辑扇区编号(LSN)或逻辑块地址(LBA)来表示。Each of the plurality of logical addresses is represented by, for example, a Logical Sector Number (LSN) or a Logical Block Address (LBA).
该多个物理地址的每一个则通过例如物理扇区编号(PSN)或物理块地址(PBA)来表示。另外,假定对用户数据区108分配至少1条光轨。Each of the plurality of physical addresses is then represented by, for example, a Physical Sector Number (PSN) or a Physical Block Address (PBA). In addition, it is assumed that at least one track is allocated to the
(步骤S101)在数据文件(File-a)的记录之前,驱动控制部311执行数据记录的准备处理。这种数据记录的准备处理在例如信息记录介质100装入驱动装置310时执行。(Step S101 ) Before recording the data file (File-a), the drive control unit 311 executes a preparation process for data recording. This preparation process for data recording is executed, for example, when the
例如,驱动控制部311从信息记录介质100的盘片管理信息区104(或盘片管理信息区105)读出最新的盘片管理信息。For example, the drive control unit 311 reads the latest disc management information from the disc management information area 104 (or the disc management information area 105 ) of the
根据该盘片管理信息,确定用来表示对用户数据区108分配的多个逻辑地址与多个物理地址的对应关系的初始逻辑地址-物理地址映射,为此,取得图3的用户数据区开始位置信息1103、用户数据区结束位置信息1104、替换区信息1105等。According to the disk management information, determine the initial logical address-physical address mapping used to represent the corresponding relationship between a plurality of logical addresses allocated to the
以后,驱动控制部311按照初始逻辑地址-物理地址映射来进行逻辑地址与初始物理地址的变换。Thereafter, the drive control unit 311 converts the logical address and the initial physical address according to the initial logical address-physical address mapping.
另外,驱动控制部311取得盘片管理信息中包含的光轨管理信息。In addition, the drive control unit 311 acquires track management information included in the disc management information.
(步骤S102)驱动控制部311从主机装置305接受记录指示。记录指示包含用来表示应记录数据的位置的逻辑地址。该逻辑地址通过例如逻辑扇区编号(LSN)或逻辑块地址(LBA)来表示。记录指示既可以包含用来表示应记录单一数据的位置的单一逻辑地址,也可以包含用来表示应分别记录多个数据的多个位置的多个逻辑地址。(Step S102 ) The drive control unit 311 receives a recording instruction from the
记录指示中包含的逻辑地址由主机装置305基于例如用来表示特定光轨内下一个可以记录数据的位置的逻辑地址(即逻辑NWA)来确定。The logical address included in the recording instruction is determined by the
逻辑NWA例如相应从主机装置305发送到驱动装置310的请求,从驱动装置310输出到主机装置305。The logical NWA is output from the drive device 310 to the
逻辑NWA是通过将由上述(算式1)所确定的NWA按照初始逻辑地址-物理地址映射进行变换而得到的。这种变换由驱动控制部311执行。NWA和逻辑NWA的确定步骤在后述的第2实施方式中详细说明。The logical NWA is obtained by converting the NWA determined by the above (Equation 1) according to the initial logical address-physical address mapping. This conversion is performed by the drive control unit 311 . The procedure for determining the NWA and the logical NWA will be described in detail in the second embodiment described later.
主机装置305的系统控制部301在记录数据文件(File-a)时生成或更新需要的文件系统信息。例如,系统控制部301在存储器电路302中生成与数据文件(File-a)相对应的FE(File-a)、或更新数据文件(File-a)的父目录即ROOT目录。The
这样生成的与数据文件(File-a)相对应的FE(File-a)或更新后的ROOT目录通过从主机装置305向驱动装置310输出记录指示而被记录到信息记录介质100,反映出最新的文件系统信息。The FE (File-a) corresponding to the data file (File-a) generated in this way or the updated ROOT directory is recorded on the
此外,主机装置305在必要时使用规定的命令向驱动装置310查询是否剩余进行替换记录所需的未记录区。Furthermore, the
此外,从主机装置305输出到驱动装置310的指示也可以是SCSI多介质命令等的标准化命令。In addition, the instruction output from the
例如,逻辑NWA的请求或记录指示也可以分别是READ TRACKINFORMATION命令或WRITE命令。For example, the request or record indication of the logical NWA may also be a READ TRACK INFORMATION command or a WRITE command, respectively.
(步骤S103)驱动控制部311按照初始逻辑地址-物理地址映射将在步骤S102中接受到的记录指示中包含的逻辑地址变换为物理地址。(Step S103 ) The drive control unit 311 converts the logical address included in the recording instruction received in step S102 into a physical address according to the initial logical address-physical address mapping.
(步骤S104)驱动控制部311根据与该记录指示中包含的逻辑地址相对应的物理地址和盘片管理信息中包含的光轨管理信息210(图2B),确定对用户数据区108分配的至少1条光轨中的1条光轨(开放光轨)。(Step S104) The drive control unit 311 determines at least the address allocated to the
驱动控制部311基于该所确定的光轨的LRA213,确定用来表示在该所确定的光轨中下一个可记录数据的位置的物理地址(即NWA)。该NWA是例如按照上述(算式1)所确定的下次可记录地址。Based on the
此外,NWA的确定既可以在步骤S104中进行,也可以在其他步骤中进行。例如,也可以在上述数据记录的准备处理中预先完成。In addition, the determination of NWA can be performed in step S104 or in other steps. For example, it may be done in advance in the preparation process for data recording described above.
这里,使用LRA213计算出NWA,就能够使光轨管理信息的数据结构变简单,而不需要在光轨管理信息中保存NWA信息。Here, by using the LRA213 to calculate the NWA, the data structure of the track management information can be simplified without storing the NWA information in the track management information.
(步骤S105)驱动控制部311确定与该记录指示中包含的逻辑地址相对应的物理地址是否比NWA小。(Step S105) The drive control section 311 determines whether or not the physical address corresponding to the logical address included in the recording instruction is smaller than the NWA.
如果确定为与该记录指示中包含的逻辑地址相对应的物理地址比NWA小,则该记录指示被确定为是针对用户数据区108中的已经记录完毕的区域的记录指示。即,记录指示的数据记录被确定为是伪重写记录。在这种情况下,处理进入步骤S106。否则,处理进入步骤S108。If it is determined that the physical address corresponding to the logical address included in the recording instruction is smaller than the NWA, the recording instruction is determined as a recording instruction for an already-recorded area in the
(步骤S106)驱动控制部311确定应记录的数据。当信息记录介质100中的数据记录单位为ECC簇的情况下,驱动控制部311将由记录指示所指定的数据确定为应记录的数据。例如,当记录指示所指定的数据的记录位置和容量与ECC簇的边界一致时,ECC簇整体被改写,因此,将由记录指示所指定的数据原样确定为应记录的数据。(Step S106) The drive control unit 311 specifies data to be recorded. When the data recording unit on the
当不一致的情况下,驱动控制部311执行后述的“读、改、写”处理。这种情况下,驱动控制部311将在“读、改、写”处理过程中获得的ECC簇单位的数据确定为应记录的数据。If they do not match, the drive control unit 311 executes "reading, rewriting, and writing" processing described later. In this case, the drive control unit 311 specifies the data in units of ECC clusters obtained in the process of “reading, rewriting, and writing” as data to be recorded.
(步骤S107)驱动控制部311确定由步骤S106所确定的应记录数据的记录位置。具体地,驱动控制部311将由与该记录指示中包含的逻辑地址相对应的物理地址所示位置以外的特定位置即用户数据区108中的特定位置,确定为由步骤S106所确定的应记录数据的记录位置。(Step S107) The drive control unit 311 determines the recording position of the data determined in Step S106 to be recorded. Specifically, the drive control unit 311 determines a specific position other than the position indicated by the physical address corresponding to the logical address included in the recording instruction, that is, a specific position in the
这里,该特定位置也可以是在步骤S104中所确定的光轨内的NWA。Here, the specific location may also be the NWA within the track determined in step S104.
或者,该特定位置也可以是与在步骤S104中所确定的光轨不同的开放光轨内的NWA。这种情况下,该开放光轨中的NWA最好是距离表示与记录指示中包含的逻辑地址相对应的物理地址所示位置最近的位置。Alternatively, the specific location may also be an NWA in an open track different from the track determined in step S104. In this case, the NWA in the open track is preferably the closest to the position indicated by the physical address corresponding to the logical address included in the recording instruction.
(步骤S108)驱动控制部311确定与该记录指示中包含的逻辑地址相对应的物理地址是否等于NWA。如果确定为与该记录指示中包含的逻辑地址相对应的物理地址等于NWA,则该记录指示被确定为是针对NWA所示位置的记录指示。即,记录指示的数据记录被确定为是追加记录(新记录)。在这种情况下,处理进入步骤S109。否则,处理进入步骤S111。(Step S108) The drive control section 311 determines whether or not the physical address corresponding to the logical address contained in the recording instruction is equal to NWA. If it is determined that the physical address corresponding to the logical address contained in the recording indication is equal to NWA, then the recording indication is determined to be a recording indication for the location indicated by NWA. That is, the data record indicated by the record is determined to be an additional record (new record). In this case, the process proceeds to step S109. Otherwise, the process proceeds to step S111.
(步骤S109)驱动控制部311确定应记录的数据。具体地,驱动控制部311将记录指示所指定的数据确定为应记录的数据。(Step S109) The drive control unit 311 specifies data to be recorded. Specifically, the drive control unit 311 specifies the data designated by the recording instruction as the data to be recorded.
此时,驱动控制部311判断由记录指示所指定的数据的结束端与ECC簇边界是否一致。如果不一致,则插入填充数据(例如全部为00h的数据),使数据的结束端与ECC簇边界一致后确定为应记录的数据。At this time, the drive control unit 311 determines whether or not the end of the data designated by the recording instruction coincides with the ECC cluster boundary. If not, insert padding data (for example, all 00h data), make the end of the data consistent with the ECC cluster boundary, and determine it as the data to be recorded.
(步骤S110)驱动控制部311确定由步骤S109所确定的应记录数据的记录位置。具体地,驱动控制部311将由与该记录指示中包含的逻辑地址相对应的物理地址所示的位置(即由NWA所示的位置)确定为由步骤S109所确定的应记录数据的记录位置。(Step S110) The drive control unit 311 determines the recording position of the data determined in step S109 to be recorded. Specifically, the drive control unit 311 determines the location indicated by the physical address corresponding to the logical address included in the recording instruction (that is, the location indicated by NWA) as the recording location of the data specified in step S109.
(步骤S111)驱动控制部311进行错误处理。(Step S111) The drive control unit 311 performs error processing.
(步骤S112)驱动控制部311对所确定的记录位置执行记录处理。(Step S112) The drive control unit 311 executes recording processing on the determined recording position.
当步骤S105的判定为“是”的情况下,驱动控制部311控制记录再生部314使得将在步骤S106中确定的应记录的数据记录到在步骤S107中所确定的记录位置。When the determination in step S105 is YES, the drive control unit 311 controls the recording/reproducing unit 314 so as to record the data to be recorded determined in step S106 to the recording position determined in step S107 .
当步骤S108的判定为“是”的情况下,驱动控制部311控制记录再生部314使得将在步骤S109中确定的应记录的数据记录到在步骤S110中所确定的记录位置。When the determination in step S108 is YES, the drive control unit 311 controls the recording/reproducing unit 314 so that the data to be recorded determined in step S109 is recorded in the recording position determined in step S110 .
进而,驱动控制部311对记录后的数据进行校验处理,由此确定该数据记录是否成功。如果该数据记录成功,处理则进入步骤S113。Furthermore, the drive control unit 311 performs verification processing on the recorded data, thereby determining whether or not the data recording has been successful. If the data recording is successful, the process proceeds to step S113.
如果该数据记录失败,则分配内周替换区106等替换区及用户数据区108的任一个区域中的未记录区作为代替簇,将该数据记录到该代替簇中。If the data recording fails, an unrecorded area in any one of the spare area such as the inner
最终如果该数据记录成功,处理则进入步骤S113。Finally, if the data recording is successful, the process proceeds to step S113.
此外,上述步骤S106和步骤S112的处理也可以借助于“读、改、写”处理(以后称为RMW处理)来实现。In addition, the above-mentioned processing of step S106 and step S112 can also be realized by means of "read, modify, write" processing (hereinafter referred to as RMW processing).
在RMW处理中,第1,驱动控制部311控制记录再生部314使得再生包含物理扇区的ECC簇中记录的数据,并将从该ECC簇中再生的数据保存到存储器电路312(“读”处理),该物理扇区位于由与记录指示中包含的逻辑地址相对应的物理地址所示的位置。In the RMW processing, first, the drive control unit 311 controls the recording/reproducing unit 314 so as to reproduce the data recorded in the ECC cluster including the physical sector, and store the data reproduced from the ECC cluster in the memory circuit 312 (“read” process), the physical sector is located at the position shown by the physical address corresponding to the logical address contained in the record indication.
此外,在执行该再生处理的时候,再生对象的ECC簇有可能是被替换记录的。因此,驱动控制部311控制记录再生部314使得参照替换管理信息列表1000并根据需要再生替换项的ECC簇中记录的数据。在后文叙述参照替换管理信息列表1000的数据再生步骤。In addition, when this reproduction process is executed, there is a possibility that the ECC cluster to be reproduced may be replaced and recorded. Therefore, the drive control unit 311 controls the recording/playback unit 314 so as to refer to the replacement
第2,驱动控制部311将从该ECC簇再生出来的数据中、记录在由与记录指示中包含的逻辑地址相对应的物理地址所示的位置处的物理扇区中的数据,置换为由记录指示指定的数据(“改”处理)。其结果是,获得了更新后的ECC簇的数据。Second, the drive control unit 311 replaces the data recorded in the physical sector at the position indicated by the physical address corresponding to the logical address included in the recording instruction among the data reproduced from the ECC cluster by The data designated by the instruction is recorded ("change" processing). As a result, data of the updated ECC cluster is obtained.
驱动控制部311在步骤S106中实施“读”处理和“改”处理。The drive control unit 311 performs "read" processing and "rewrite" processing in step S106.
图8B表示在图8A所示的步骤S106中执行“读”处理和“改”处理时所实施的步骤。图8B所示的各步骤由驱动装置310的驱动控制部311执行。FIG. 8B shows the steps performed when the "read" process and the "modify" process are executed in step S106 shown in FIG. 8A. Each step shown in FIG. 8B is executed by the drive control unit 311 of the drive device 310 .
(步骤S151)驱动控制部311确定包含由记录指示所指定的位置的ECC簇是否已经被代替簇替换。这种确定是通过例如检索替换管理信息列表1000来实现的。(Step S151) The drive control section 311 determines whether the ECC cluster including the position specified by the recording instruction has been replaced by a substitute cluster. This determination is achieved by, for example, retrieving the replacement
当找到了以由记录指示所指定的位置为被替换项的替换管理信息1010时,就确定为已经被代替簇替换,处理进入步骤S152A。否则,处理进入步骤S152B。When the replacement management information 1010 with the position specified by the record indication as the replaced item is found, it is determined that it has been replaced by the replacement cluster, and the process proceeds to step S152A. Otherwise, the process proceeds to step S152B.
此外,也可以将步骤S151的判定结果作为内部变量的值保存起来,必要时在其他步骤参照该内部变量值来确定包含由记录指示所指定的位置的ECC簇是否已经被代替簇替换。由此,能够避免重复执行同一处理。例如,如果步骤S151的判定结果为“是”,则保存“1”作为该内部变量的值;如果步骤S151的判定结果为“否”,则保存“0”作为该内部变量的值。In addition, the determination result of step S151 may also be stored as an internal variable value, and if necessary, refer to the internal variable value in other steps to determine whether the ECC cluster including the position specified by the recording instruction has been replaced by a replacement cluster. Thereby, it is possible to avoid repetitive execution of the same processing. For example, if the determination result of step S151 is "Yes", then store "1" as the value of the internal variable; if the determination result of step S151 is "No", then store "0" as the value of the internal variable.
(步骤S152A)驱动控制部311确定是否需要RMW处理。例如,当由记录指示所指定的数据的位置和大小与ECC簇的边界一致时,驱动控制部311确定为不需要RMW处理;当由记录指示所指定的数据的位置和大小与ECC簇的边界不一致时,驱动控制部311确定为需要RMW处理。(Step S152A) The drive control section 311 determines whether RMW processing is necessary. For example, when the position and size of the data specified by the recording instruction coincide with the boundary of the ECC cluster, the drive control section 311 determines that RMW processing is not required; If they do not match, the drive control unit 311 determines that RMW processing is necessary.
当确定为需要RMW处理时,处理进入步骤S153;否则,处理进入步骤S157。When it is determined that RMW processing is necessary, the process proceeds to step S153; otherwise, the process proceeds to step S157.
也可以与步骤S151同样地将步骤S152A的判定结果作为内部变量的值保存起来,必要时在其他步骤参照该内部变量值来确定是否需要RMW处理。Similar to step S151, the determination result of step S152A may be stored as an internal variable value, and if necessary, this internal variable value may be referred to in other steps to determine whether RMW processing is necessary.
(步骤S152B)驱动控制部311确定是否需要RMW处理。步骤S152B的处理与步骤S152A的处理相同。(Step S152B) The drive control section 311 determines whether RMW processing is necessary. The processing of step S152B is the same as the processing of step S152A.
当确定为需要RMW处理时,处理进入步骤S154;否则,处理进入步骤S157。When it is determined that RMW processing is necessary, the process proceeds to step S154; otherwise, the process proceeds to step S157.
(步骤S153)驱动控制部311控制记录再生部314使得再生在步骤S151发现的替换管理信息1010所示的代替簇中记录的数据而不是包含由记录指示所指定的位置的ECC簇中记录的数据,并将再生的数据保存到存储器电路312。(Step S153) The drive control unit 311 controls the recording and reproducing unit 314 so that the data recorded in the replacement cluster shown in the replacement management information 1010 found in step S151 instead of the data recorded in the ECC cluster including the position specified by the recording instruction is reproduced. , and store the reproduced data in the memory circuit 312.
(步骤S154)驱动控制部311控制记录再生部314使得再生包含由记录指示所指定的位置的ECC簇中记录的数据,并将再生的数据保存到存储器电路312。(Step S154 ) The drive control unit 311 controls the recording/reproducing unit 314 to reproduce the data recorded in the ECC cluster including the position specified by the recording instruction, and stores the reproduced data in the memory circuit 312 .
(步骤S155)驱动控制部311将再生的数据置换为由记录指示所指定的数据,由此生成修正后的数据。(Step S155) The drive control unit 311 replaces the reproduced data with the data designated by the recording instruction, thereby generating corrected data.
(步骤S156)驱动控制部311将修正后的数据确定为应记录到信息记录介质100中的数据。(Step S156 ) The drive control unit 311 specifies the corrected data as data to be recorded on the
(步骤S157)驱动控制部311将由记录指示所指定的数据确定为应记录到信息记录介质100中的数据。(Step S157 ) The drive control unit 311 specifies the data designated by the recording instruction as the data to be recorded on the
至此,结束“读”处理和“改”处理。So far, the "read" processing and the "modify" processing are ended.
第3,驱动控制部311控制记录再生部314使得将在“改”处理中获得的更新后的ECC簇的数据记录到原来的ECC簇的位置(“写”处理)。驱动控制部311在步骤S112中实施“写”处理。Third, the drive control unit 311 controls the recording/reproducing unit 314 so as to record the data of the updated ECC cluster obtained in the "rewrite" process to the position of the original ECC cluster ("write" process). The drive control unit 311 executes "write" processing in step S112.
不过,在本发明中,由于信息记录介质是追加记录型介质,因此实际上无法在原来的ECC簇的位置记录。However, in the present invention, since the information recording medium is a write-once medium, it is actually impossible to record at the position of the original ECC cluster.
因此,分配内周替换区106等替换区及用户数据区108的任一个区域中的未记录区作为代替簇,将更新后的数据记录到该代替簇中。Therefore, an unrecorded area in any one of the spare area such as the inner
进而,驱动控制部311对记录后的数据进行校验处理,由此确定该数据记录是否成功。如果该数据记录成功,处理则进入步骤S113。Furthermore, the drive control unit 311 performs verification processing on the recorded data, thereby determining whether or not the data recording has been successful. If the data recording is successful, the process proceeds to step S113.
如果该数据记录失败,则分配内周替换区106等替换区及用户数据区108的任一个区域中的未记录区作为进一步的代替簇,将该数据记录到该进一步的代替簇中。If the data recording fails, an unrecorded area in any one of the replacement area such as the inner
在最终该数据记录成功后,处理进入步骤S113。After the data recording is finally successful, the process proceeds to step S113.
此外,当由记录指示所指定的区域对应于ECC簇整体时,全部ECC簇都会被改写,因此,不再需要上述的“读”处理。Also, when the area designated by the recording instruction corresponds to the entire ECC cluster, all the ECC clusters will be rewritten, so the above-described "read" processing is no longer necessary.
(步骤S113)驱动控制部311根据步骤S112中的处理生成替换管理信息1010,将该替换管理信息保存到存储器电路312。例如,在步骤S112中,当驱动控制部311控制(实施伪重写)记录再生部314使得在由与该记录指示中包含的逻辑地址相对应的物理地址所示位置以外的特定位置即用户数据区108中的特定位置中记录数据后,驱动控制部311生成替换管理信息1010,该信息将与该记录指示中包含的逻辑地址相对应的物理地址映射到表示该特定位置的物理地址。(Step S113 ) The drive control unit 311 generates replacement management information 1010 according to the processing in step S112 , and stores the replacement management information in the memory circuit 312 . For example, in step S112, when the drive control unit 311 controls (performs pseudo-overwriting) the recording/reproducing unit 314 so that user data is stored at a specific position other than the position indicated by the physical address corresponding to the logical address included in the recording instruction. After data is recorded in a specific location in
此外,也可以通过检索现有的替换管理信息列表1000来确定是否在现有的替换管理信息列表1000中发现了具有与记录指示中包含的逻辑地址所对应的物理地址相同的被替换项位置信息1012的替换管理信息1010。In addition, it may also be determined by searching the existing replacement
如果发现了,驱动控制部311则更新该替换管理信息1010,以便将表示该特定位置的物理地址设定为新的替换项位置信息1013。If found, the drive control unit 311 updates the replacement management information 1010 so as to set the physical address indicating the specific location as the new replacement item location information 1013 .
如果没有发现,驱动控制部311则生成新的替换管理信息1010并将该新替换管理信息1010追加到替换管理信息列表1000中。If not found, the drive control unit 311 generates new replacement management information 1010 and adds the new replacement management information 1010 to the replacement
接着,驱动控制部311执行替换管理信息列表1000的重排。例如,驱动控制部311也可以按照状态信息1011将替换管理信息列表1000重新排列,接着对被替换项位置信息1012的物理地址进行替换管理信息列表1000的重新排列。Next, the drive control unit 311 rearranges the replacement
这样就生成了新的替换管理信息列表1000,其中包含的替换管理信息1010将与记录指示中包含的逻辑地址相对应的物理地址映射到用来表示该特定位置的物理地址。In this way, a new replacement
(步骤S114)驱动控制部311更新盘片管理信息以反映出上述记录动作。例如,驱动控制部311更新最终数据记录位置信息1107。另外,驱动控制部311更新与记录了数据的光轨相对应的光轨管理信息210中的LRA213以反映出最新的记录状态。(Step S114) The drive control unit 311 updates the disc management information to reflect the recording operation described above. For example, the drive control unit 311 updates the last data recording location information 1107 . In addition, the drive control unit 311 updates the
进而,驱动控制部311生成包含了新的替换管理信息列表1000或光轨管理信息210等更新后的信息的新盘片管理信息。另外,设定新盘片管理信息中包含的替换管理信息列表位置信息1102或区段管理信息位置信息1109,以表示新替换管理信息列表1000或光轨管理信息210在信息记录介质100上的最新记录位置。Furthermore, the drive control unit 311 generates new disc management information including updated information such as the new replacement
驱动控制部311控制记录再生部314以便将新的盘片管理信息记录到信息记录介质100上的规定区域(例如临时盘片管理信息区)。依照此种方式,盘片管理信息更新为最新状态。The drive control unit 311 controls the recording/reproducing unit 314 so as to record new disc management information in a predetermined area (for example, a temporary disc management information area) on the
此外,数据记录结束后,驱动装置310也可以将上述记录动作的结果通知给主机装置305。记录动作的结果是指表示例如数据记录成功或者数据记录失败等的信息。In addition, after the data recording is completed, the drive device 310 may also notify the
这种通知可以以规定定时发送给主机装置305。例如,可以在步骤S108结束时、或者在步骤S112中有错误发生时将这种通知发送给主机装置305。或者也可以在数据记录实际结束前将这种通知发送给主机装置305。例如,可以在驱动装置310从主机装置305接受到记录指示并能够正确理解该记录指示的时候将表示记录结束的通知发送给主机装置305。Such a notification can be sent to the
此外,在上述替换记录处理中,也可以从被替换项的ECC簇的位置开始向PSN变大的方向检索未记录区。这样检索发现了未记录区后,将该未记录区分配作为代替簇。In addition, in the replacement recording process described above, the unrecorded area may be searched from the position of the ECC cluster of the item to be replaced in the direction of increasing PSN. When an unrecorded area is found by such a search, the unrecorded area is allocated as a replacement cluster.
另外,也可以先在包含被替换项簇的光轨中检索未记录区,然后从该光轨开始向PSN变大的方向依次检索各条光轨中的未记录区。In addition, it is also possible to first search for the unrecorded area in the track containing the cluster to be replaced, and then sequentially search for the unrecorded area in each track from the track toward the direction of increasing PSN.
如果未记录区的检索到达了用户数据区108的末端仍然没有发现未记录区,则可以在紧接着该用户数据区108的区域即外周替换区107中检索未记录区。If the search for the unrecorded area reaches the end of the
进而,如果未记录区的检索到达了替换区107的末端仍然没有发现未记录区,则可以从信息记录介质100的内周侧的规定位置(例如,内周替换区106的开头、用户数据区108的开头、或者距离这些开头规定距离的位置)开始向PSN变大的方向检索未记录区。Furthermore, if the search for the unrecorded area has reached the end of the
此外,在数据记录步骤的步骤S105和步骤S108中,通过将与由记录指示所包含的逻辑地址相对应的物理地址与NWA进行比较,来确定将该数据伪重写记录还是追加记录。Furthermore, in step S105 and step S108 of the data recording step, by comparing the physical address corresponding to the logical address included in the recording instruction with the NWA, it is determined whether the data is pseudo-overwrite-recorded or additionally recorded.
之所以能够通过这样的比较处理来确定将该数据伪重写记录还是追加记录,是因为信息记录介质100是追加记录型信息记录介质,而且,可以针对该追加记录型信息记录介质进行顺序记录。The reason why the pseudo-overwrite recording or additional recording of the data can be determined by such a comparison process is that the
本发明中描述的使用用户数据区实现的替换记录也可以应用于可擦写型光盘。但是,在可擦写型光盘的情况下,为了确定该数据记录是重写记录还是追加记录(或新记录),需要更复杂的处理步骤。原因在于,在可擦写光盘的情况下,光盘上的任意地方都可以随机改写。The replacement recording realized using the user data area described in the present invention can also be applied to rewritable optical discs. However, in the case of a rewritable optical disc, in order to determine whether the data recording is overwrite recording or additional recording (or new recording), more complicated processing steps are required. The reason is that, in the case of rewritable discs, any place on the disc can be rewritten randomly.
如果欲如上述实施方式所示那样由驱动装置对可擦写型光盘实施空闲区管理,则如背景技术的说明中所描述,需要使用例如SDL对与可擦写型光盘上全部的ECC簇相对应的替换管理信息进行管理。而且,为了确定对某个可擦写型光盘上的用户数据区中的某个地方所做的数据记录是重写记录还是新记录,需要例如检索整个替换管理信息列表1000以判断是否已经记录完毕。同样地,为了弄清某个ECC簇是否未已经被用作代替簇,也必须检索整个替换管理信息列表1000。这种处理的处理量也会随着替换管理信息列表1000的容量增大而增大,对于容量在不断增大的光盘来说会成为严重的问题。If it is desired to use the drive device to manage the free area of the rewritable optical disc as shown in the above embodiment, as described in the description of the background technology, it is necessary to use, for example, SDL to associate all ECC clusters on the rewritable optical disc The corresponding replacement management information is managed. Moreover, in order to determine whether the data recording done somewhere in the user data area on a certain rewritable optical disc is a rewrite recording or a new recording, it is necessary, for example, to search the entire replacement
另一方面,在本发明中,因其是追加记录型信息记录介质、而且是顺序记录,所以能够保证在某条光轨内地址值小于NWA的区域都是已经记录完毕的区域。On the other hand, in the present invention, since it is an additional record type information recording medium and is sequentially recorded, it can be ensured that the areas with address values smaller than NWA in a certain track are already recorded areas.
由此,就可以借助于步骤S105和108那样的比较处理简单地确定该数据记录是伪重写记录还是追加记录,而不受替换管理信息列表1000的容量的影响。另外,代替簇从NWA以后的位置选择即可,因此易于选择。Thus, it is possible to simply determine whether the data record is a pseudo-overwrite record or an additional record by means of the comparison process in steps S105 and S108, without being affected by the capacity of the replacement
另外,以追加记录型光盘的随机记录方式进行伪重写记录时也与可擦写型光盘的情况相同。In addition, the pseudo-overwrite recording is performed by the random recording method of the write-once optical disc as in the case of the rewritable optical disc.
进而,在追加记录型光盘的随机记录方式的情况下,需要上述的空闲区管理信息220之类的特别的结构。与顺序记录方式的空闲区管理相比,随机记录方式的空闲区管理信息220大幅度地增加了对驱动控制部311的处理负荷。Furthermore, in the case of the random recording method of the write-once optical disc, a special structure such as the above-mentioned free area management information 220 is required. Compared with the free area management of the sequential recording method, the free area management information 220 of the random recording method greatly increases the processing load on the drive control unit 311 .
特别是,在顺序记录方式中,可以将开放光轨的数目限制在不损伤文件系统的便利性的范围内(例如最大4个)。In particular, in the sequential recording method, the number of open tracks can be limited within a range that does not impair the convenience of the file system (for example, a maximum of four).
此时,开放光轨的数目依赖于文件系统的结构,不会受到光盘容量增大的影响;另一方面,随机记录的空闲区管理信息220的容量随着光盘容量的增大而增加,处理负荷也增大。At this time, the number of open optical tracks depends on the structure of the file system and will not be affected by the increase in the capacity of the disc; The load also increases.
即,对于容量不断增大的光盘来说,在顺序记录方式中进行伪重写方式的本发明的效果非常显著。That is, the effect of the present invention in which the pseudo-overwrite method is performed in the sequential recording method is very remarkable for an optical disc whose capacity is increasing.
另外,本发明的特征在于,为了确定使用伪重写记录还是追加记录,根据最新的光轨管理信息210中包含的LRA213和(算式1)来确定NWA。In addition, the present invention is characterized in that NWA is determined based on
通过在盘片上预先记录由数据记录更新的LRA213,将信息记录介质100装入驱动装置310后,找到最新的LRA213所需的时间变短。By pre-recording the
此外,通过使用LRA213计算出NWA,就能够简单地构造出光轨管理信息数据,而不需要在光轨管理信息中保存NWA信息。In addition, by using the LRA213 to calculate the NWA, the track management information data can be simply constructed without storing the NWA information in the track management information.
如果不使用本发明,为了确定使用伪重写记录还是追加记录,就需要例如以下步骤。If the present invention is not used, in order to determine whether to use pseudo-overwrite recording or append recording, for example, the following steps are required.
即,必须确定包含与记录指示中包含的逻辑地址相对应的物理地址的光轨,从该光轨的开头开始顺序查看ECC簇,判断是否记录完毕。That is, it is necessary to specify a track including a physical address corresponding to the logical address included in the recording instruction, and to check the ECC clusters sequentially from the head of the track to determine whether recording is complete.
然后,如果记录指示的位置的ECC簇已经记录完毕,则确定为是伪重写记录。Then, if the ECC cluster at the position indicated by the recording has already been recorded, it is determined to be a pseudo-overwrite recording.
这种处理尤其在光轨容量变大后其处理量也变得非常大,因此不优选。Such processing is not preferable because the amount of processing becomes very large especially when the track capacity increases.
另一方面,如果使用本实施方式,则能够不受光轨容量的影响而简单地确定是伪重写记录还是追加记录。On the other hand, according to this embodiment, it is possible to easily determine whether to perform pseudo-overwrite recording or additional recording without being affected by the track capacity.
另外,通过在光轨管理信息210中包含LRA213,就可以在驱动装置310接受到记录指示时确定记录项的光轨,并且很容易地确定NWA。In addition, by including the
图9表示利用这种记录步骤记录了数据文件后的信息记录介质100上的数据结构。FIG. 9 shows the data structure on the
图9中说明作为数据文件的一个实例的数据文件(File-a)460。假定使用上述记录步骤在数据文件(File-a)460中检测出缺陷簇#1和缺陷簇#2。FIG. 9 illustrates a data file (File-a) 460 as an example of a data file. Assume that a
为此,假定盘片管理信息记录在盘片管理信息区104中,该盘片管理信息包含用来表示以代替簇#1替换缺陷簇#1的替换管理信息和用来表示以代替簇#2替换缺陷簇#2的替换管理信息。For this reason, it is assumed that disc management information is recorded in the disc management information area 104, and the disc management information includes replacement management information indicating that the
如图9所示,代替簇#1记录在替换区106,代替簇#3记录在用户数据区108。As shown in FIG. 9 , the
进而,(数据文件File-a)460在该记录完成后其内容通过伪重写记录而更新。Furthermore, the contents of (data file File-a) 460 are updated by pseudo-overwrite recording after the recording is completed.
具体地,更新簇#2和更新簇#4部分相当于由伪重写记录更新的部分。Specifically, the
假定被伪重写记录更新的新数据分别被记录到作为更新簇#2和更新簇#4的代替而分配的代替簇#2和代替簇#4中,对应的替换信息被记录到盘片管理信息区104中。Assume that new data updated by pseudo-overwrite recording is recorded in
如图9所示,代替簇#2分配给替换区106,代替簇#4分配给用户数据区108。As shown in FIG. 9 , the
1-5.再生处理步骤(1)1-5. Regeneration treatment steps (1)
参照图10的流程图说明文件的再生处理。这里,以再生图9所示的数据文件(File-a)460的动作为例进行说明。The file playback process will be described with reference to the flowchart in FIG. 10 . Here, the operation of reproducing the data file (File-a) 460 shown in FIG. 9 will be described as an example.
(步骤S201)在再生数据之前,驱动控制部311执行数据再生的准备处理。这种数据再生的准备处理在例如信息记录介质100装入驱动装置310时执行。例如,驱动控制部311从信息记录介质100的盘片管理信息区104(或盘片管理信息区105)读出盘片管理信息。(Step S201 ) Before data reproduction, the drive control unit 311 executes preparation processing for data reproduction. This preparation process for data reproduction is executed, for example, when the
驱动控制部311从该盘片管理信息中取得用户数据区开始位置信息1103、用户数据区结束位置信息1104、替换区信息1105等,用以确定用来表示对用户数据区108分配的多个逻辑地址与多个物理地址的对应关系的初始逻辑地址-物理地址映射。The drive control unit 311 acquires user data area start position information 1103, user data area end position information 1104, replacement area information 1105, etc. from the disc management information to determine a plurality of logics used to indicate allocation to the
以后,驱动控制部311按照初始逻辑地址-物理地址映射,执行逻辑地址与初始物理地址的变换。Thereafter, the drive control unit 311 performs conversion between the logical address and the initial physical address according to the initial logical address-physical address mapping.
(步骤S202)首先,系统控制部301向驱动装置310发出再生指示,再生信息记录介质100的规定位置(例如LSN=256)中记录的AVDP。(Step S202 ) First, the
此外,AVDP是由UDF标准规定的、成为文件系统信息的起点的数据结构,记录在卷结构区410和卷结构区411中。In addition, AVDP is a data structure defined by the UDF standard and serves as the starting point of file system information, and is recorded in the volume structure area 410 and the volume structure area 411 .
(步骤S203)接着,系统控制部301从AVDP中取得卷结构区410中记录的主卷描述符串410A的位置信息。系统控制部301进一步向驱动装置310发出指示,再生主卷结构410A。(Step S203 ) Next, the
系统控制部301进一步从再生的主卷描述符串410A开始顺序读出数据结构,取得FE(元数据文件)441的位置信息(LSN)。The
(步骤S204)接着,系统控制部301执行文件结构的再生。为了再生文件结构,系统控制部301根据所取得的FE(元数据文件)441的位置信息(LSN)对驱动装置310进行再生指示,再生FE(元数据文件)441。(Step S204) Next, the
这里,系统控制部301从所取得的FE(元数据文件)441的信息之中获取元数据文件440的位置信息,从而可以访问元数据文件440。Here, the
(步骤S205)以后,按照通常的UDF标准的再生步骤,以FSD433、FE(ROOT)442、FE(File-a)443、数据文件(File-a)460的顺序进行再生(省略对目录文件的再生的说明)。(step S205) afterward, according to the reproduction step of common UDF standard, reproduce (omit the catalog file) instructions for regeneration).
在上述的再生处理的各个步骤中,从主机装置305向驱动装置310输出再生指示。驱动装置310的驱动控制部311接受来自主机装置305的再生指示,按照该再生指示执行再生处理。In each step of the playback process described above, a playback instruction is output from the
再生指示包含用来表示应再生数据的位置的逻辑地址。逻辑地址通过例如逻辑扇区编号(LSN)来表示。或者,逻辑地址也可以通过逻辑块地址(LBA)来表示。此外,再生指示是例如READ命令。The reproduction instruction includes a logical address indicating the location of the data to be reproduced. Logical addresses are represented by, for example, Logical Sector Numbers (LSNs). Alternatively, the logical address can also be represented by a logical block address (LBA). Also, the playback instruction is, for example, a READ command.
驱动控制部311按照初始逻辑地址-物理地址映射(例如参照图12)将再生指示中包含的逻辑地址变换为物理地址。The drive control unit 311 converts the logical address included in the playback instruction into a physical address according to the initial logical address-physical address mapping (for example, refer to FIG. 12 ).
接着,驱动控制部311通过检索替换管理信息列表1000来确定是否在替换管理信息列表1000中发现了替换管理信息1010,该替换管理信息1010具有与再生指示中包含的逻辑地址所对应的物理地址相同的被替换项位置信息1012。Next, the drive control section 311 determines whether replacement management information 1010 having the same physical address as that corresponding to the logical address included in the reproduction instruction is found in the replacement
如果发现了,驱动控制部311则控制记录再生部314,使其参照该替换管理信息1010的替换项位置信息1013,从该替换项位置信息1013所示的位置开始再生数据。If found, the drive control unit 311 controls the recording and reproducing unit 314 to refer to the replacement item position information 1013 of the replacement management information 1010 and start reproducing data from the position indicated by the replacement item position information 1013 .
如果没有发现,驱动控制部311则控制记录再生部314,使得从与再生指示中包含的逻辑地址相对应的物理地址所示的位置再生数据。依照此种方式再生的数据被返送到主机装置305。If not found, the drive control unit 311 controls the recording and reproduction unit 314 so as to reproduce data from the position indicated by the physical address corresponding to the logical address included in the reproduction instruction. The data thus reproduced is sent back to the
1-6.记录处理步骤(2)1-6. Record processing steps (2)
图11表示替换管理信息1010B的数据结构。替换管理信息1010B表示图5B所示的替换管理信息1010的不同实施方式。FIG. 11 shows the data structure of the replacement management information 1010B. The replacement management information 1010B represents a different embodiment of the replacement management information 1010 shown in FIG. 5B.
图11的替换管理信息1010B中包含以下3个信息作为状态信息1011。如图11所示,将这3个信息记做Flag1、Flag2、Flag3。The replacement management information 1010B in FIG. 11 includes the following three pieces of information as status information 1011 . As shown in FIG. 11 , these three pieces of information are referred to as Flag1, Flag2, and Flag3.
Flag1是用来将代替管理信息1010B进行分类的信息,包含用来表示该替换信息是用于替换记录的还是用来指示缺陷簇的。Flag1 is information for classifying the replacement management information 1010B, and includes information indicating whether the replacement information is used for replacement recording or indicates a defective cluster.
Flag2是与替换管理信息1010B所管理的代替簇的记录位置相关的信息,包含用来表示是在替换区中(或没有替换项)还是在用户数据区中的信息。Flag2 is information related to the recording position of the replacement cluster managed by the replacement management information 1010B, and includes information indicating whether it is in the replacement area (or there is no replacement item) or in the user data area.
Flag3是与替换管理信息1010B所管理的簇的数目相关的信息,包含用来表示该替换信息是与单一簇相对应的还是与连续的多个簇相对应的信息。当与连续的多个簇相对应的情况下,Flag3进一步包含用来表示是与连续区域的开始位置相对应还是与结束位置相对应的信息。Flag3 is information related to the number of clusters managed by the replacement management information 1010B, and includes information indicating whether the replacement information corresponds to a single cluster or to a plurality of consecutive clusters. When corresponding to a plurality of continuous clusters, Flag3 further includes information indicating whether to correspond to the start position or the end position of the continuous area.
以后,按照图11说明本发明的详细的记录步骤。Hereinafter, the detailed recording procedure of the present invention will be described with reference to FIG. 11 .
此外,以后在必要时使用图11右端列的符号表示替换管理信息的种类。例如,将第1行具有Fla1=1(代替用)、Flag2=0(代替到替换区)、Flag3=00(单一簇)这样的状态信息1011的替换管理信息记做替换管理信息(1)。In addition, the types of the replacement management information will be indicated using the symbols in the column at the right end of FIG. 11 as necessary hereinafter. For example, replacement management information having status information 1011 such as Fla1=1 (for replacement), Flag2=0 (replacement to replacement area), and Flag3=00 (single cluster) in the first row is referred to as replacement management information (1).
图12是本发明的信息记录介质100上物理地址空间与逻辑地址空间的数据结构的示例图。FIG. 12 is an example diagram of the data structure of the physical address space and the logical address space on the
另外,图12也表示了从主机装置305观察时表示在信息记录介质100上的位置的逻辑地址即逻辑扇区编号(LSN)、与表示在信息记录介质100上的实际位置的物理地址即物理扇区编号(PSN)在初始状态下的对应关系。这种对应关系称为初始逻辑地址-物理地址映射(图中以波状线箭头表示,下同)。In addition, FIG. 12 also shows the logical sector number (LSN) which is the logical address indicating the position on the
图12所示的1行对应于1个ECC簇。在图12中,物理地址(PSN)与分配到该物理地址的逻辑地址(LSN)表示在同一行中。One row shown in FIG. 12 corresponds to one ECC cluster. In FIG. 12, a physical address (PSN) and a logical address (LSN) assigned to the physical address are shown on the same row.
在图12中,PSN与LSN的值表示为从对应ECC簇的开头扇区开始的末端扇区的PSN和LSN值。In FIG. 12, the values of PSN and LSN are represented as PSN and LSN values of the end sector starting from the head sector of the corresponding ECC cluster.
这里,虽然以1个ECC簇由32个扇区构成的情况为例,但也可以是其他结构。Here, a case where one ECC cluster is composed of 32 sectors is taken as an example, but other configurations are also possible.
PSN被分配到内周替换区106、外周替换区107和用户数据区108。PSNs are allocated to the inner
此外,假定从用户数据区108的开头开始分配光轨。由于在图12的状态下完全未记录数据,因此,LRA500指向用户数据区108的开头。Furthermore, it is assumed that tracks are allocated from the beginning of the
另一方面,LSN只分配到用户数据区108(或者卷空间109)。On the other hand, LSN is allocated only to the user data area 108 (or volume space 109).
主机装置305使用该LSN指定信息记录介质100上的特定逻辑扇区,进行记录或再生指示。Using this LSN, the
驱动装置310将从主机装置305接受到的LSN按照初始逻辑地址-物理地址映射变换为PSN,再根据所得的PSN访问物理扇区或ECC簇。The drive device 310 converts the LSN received from the
在以后说明的替换记录中,以初始逻辑地址-物理地址映射为基础,当需要与该对应关系不同的逻辑地址-物理地址映射时则使用替换管理信息1010。In the replacement record described later, the replacement management information 1010 is used when a logical address-physical address mapping different from this correspondence relationship is required based on the initial logical address-physical address mapping.
此外,图12中的PSN或LSN的值只不过是用于说明的实例,实际值随信息记录介质100的结构或容量的不同而不同。In addition, the values of PSN or LSN in FIG. 12 are merely examples for explanation, and actual values vary depending on the structure or capacity of the
另外,如上所述,虽然盘片管理信息或替换区的容量是可变的,但是它们的容量在根据来自主机装置305的指示等进行格式化处理时确定。此外,在格式化处理后,用户数据区108的开始和结束位置不会变化。In addition, as described above, although the disc management information and the capacity of the spare area are variable, their capacity is determined when formatting processing is performed based on an instruction from the
初始逻辑地址-物理地址映射可以根据盘片管理信息中包含的盘片结构信息1100的信息(更详细地是,用户数据区开始位置信息1103、用户数据区结束位置信息1104、替换区信息1105等)通过规定的运算等而唯一地确定。The initial logical address-physical address mapping can be based on the information of the
参照图12~图17B说明图11所示的替换管理信息1010B的使用实例。An example of use of the replacement management information 1010B shown in FIG. 11 will be described with reference to FIGS. 12 to 17B.
首先,说明从图12的状态到图13A的状态的变化。First, the transition from the state of FIG. 12 to the state of FIG. 13A will be described.
主机装置305发出在LSN=0的位置新建记录数据“A”的指示。The
接受到该记录指示的驱动装置310按照初始逻辑地址-物理地址映射将LSN=0变换为PSN=1100,在PSN=1100的位置记录数据“A”。Drive device 310 having received the recording instruction converts LSN=0 to PSN=1100 according to the initial logical address-physical address mapping, and records data "A" at the position of PSN=1100.
接着,驱动装置310对记录的数据进行校验。这里假定校验成功。Next, the drive device 310 verifies the recorded data. It is assumed here that the verification was successful.
进而,主机装置305发出在LSN=0的位置伪重写记录数据“A1”的指示。Furthermore, the
接受到该记录指示的驱动装置310按照初始逻辑地址-物理地址映射将LSN=0变换为PSN=1100,在PSN=1100的位置进行RMW处理。然后,在替换区106中PSN=100的位置记录数据“A1”。The drive device 310 that received the recording instruction converts LSN=0 to PSN=1100 according to the initial logical address-physical address mapping, and performs RMW processing at the position of PSN=1100. Then, data "A1" is recorded at the position of PSN=100 in the
此时,由驱动装置310生成替换管理信息511。在替换管理信息511的被替换项中设定数据“A”的记录位置即PSN=1100,在替换管理信息511的替换项中设定数据“A1”的记录位置即PSN=100。替换管理信息511的状态信息1011按照图11设定。At this time, the
此外,替换管理信息511对应于图13A中的实线箭头。箭头的起点表示被替换项,箭头的终点表示替换项(以后相同)。Also, the
进而,在图13A中,主机装置305指示在LSN=2的位置记录数据“B”。Furthermore, in FIG. 13A , the
在记录数据“B”时校验失败的话,数据“B”会被记录到内周替换区106中的PSN=132的位置。If the verification fails when the data “B” is recorded, the data “B” will be recorded in the position of PSN=132 in the inner
与此替换记录相应地生成替换管理信息512。替换管理信息512的被替换项中设定PSN=1032,替换管理信息512的替换项中设定PSN=132。替换管理信息512的状态信息1011也同样地按照图11设定。The
上述记录后的数据配置和替换管理信息列表如图13A和图13B所示。图13B的替换管理信息列表1000A中使用了替换管理信息(1)。The above recorded data configuration and replacement management information list are shown in Fig. 13A and Fig. 13B. Replacement management information (1) is used in the replacement
另一方面,图14A和图14B是用来说明使用了替换管理信息(4)、(7)时的状态的图。On the other hand, FIG. 14A and FIG. 14B are diagrams for explaining the state when the replacement management information (4), (7) is used.
这里,主机装置305指示在LSN=64的位置记录数据“C”。驱动装置310按照该记录指示将数据“C”记录到PSN=1164的位置。这里,如果校验的结果出错,则分配用户数据区108中的未记录区(PSN=1196),将数据“C”代替记录到PSN=1196的位置。Here, the
按照该结果,生成替换管理信息513。According to this result,
进而,主机装置305指示在LSN=128的位置记录数据“D”,其后,指示记录数据“D1”。Furthermore, the
此外,如果记录数据“D1”后的校验失败,数据“D1”则被代替记录到PSN=1292的位置。In addition, if the verification after recording the data "D1" fails, the data "D1" is recorded instead at the position of PSN=1292.
此时,生成替换管理信息514。At this time,
另外,PSN=1260是没有替换项的缺陷簇,生成相应的替换管理信息515。In addition, PSN=1260 is a defective cluster without a replacement item, and corresponding
进而,主机装置305指示在LSN=128的位置伪重写记录数据“D2”时,数据“D2”被代替记录到PSN=1324的位置。Furthermore, when the
此时,生成替换管理信息514A。另一方面,由于替换管理信息514不再需要,因此将其从替换管理信息列表1000中删除。At this time,
在以上的记录处理后,LRA更新为500B的位置。After the above recording process, the LRA is updated to the position of 500B.
此外,将替换管理信息列表1000B(图14B)对状态信息1011中的Flag1重新排列,接着对被替换项位置信息1012的PSN值重新排列。In addition, the replacement
图15A和图15B是用来说明使用了替换管理信息(5)、(6)时的状态的图。15A and 15B are diagrams for explaining the state when the replacement management information (5), (6) is used.
这里,主机装置305指示在LSN=256~X1的位置记录数据“E”。Here, the
此时,如果校验失败、数据“E”被代替记录到PSN=x2~x3的位置,则生成替换管理信息516和替换管理信息517。这两个替换管理信息分别表示相当于代替记录的开始位置的ECC簇的开头PSN及相当于结束位置的ECC簇的开头PSN。At this time, if the verification fails and the data "E" is replaced and recorded at the position of PSN=x2 to x3,
假定在图16A和图16B中,主机装置305进一步指示在LSN=257~X1的位置伪重写记录数据“E1”。Assume that in FIGS. 16A and 16B , the
此时,数据“E1”被记录到在15A中是未记录区的PSN=x4~x5的位置。At this time, data "E1" is recorded in the position of PSN=x4-x5 which is an unrecorded area in 15A.
此外,生成替换管理信息516A作为表示该替换的开始点的信息,生成替换管理信息517A作为表示代替记录的结束点的信息。Also,
此时,由于不再需要替换管理信息516、517,因此,将其从替换管理信息列表中删除。At this time, since the
此外,虽然在图15A和16A中,替换记录项全部位于用户数据区108中,但是当然也可以位于替换区106中。这种情况下,使用替换管理信息(2)、(3)。Furthermore, although in FIGS. 15A and 16A, the replacement records are all located in the
此外,如参照图8A所说明的那样,更新后的替换管理信息列表记录在盘片管理信息区中。Furthermore, as explained with reference to FIG. 8A, the updated replacement management information list is recorded in the disc management information area.
1-7.再生处理步骤(2)1-7. Regeneration treatment step (2)
在再生依照此种方式记录的数据时,需要执行以下的处理。When reproducing data recorded in this way, the following processing needs to be performed.
在再生数据之前,驱动控制部311执行数据再生的准备处理。这种数据再生的准备处理与例如上述的步骤S201相同。Before reproducing data, the drive control unit 311 executes preparatory processing for data reproduction. The preparatory process for such data reproduction is the same as, for example, step S201 described above.
然后,在例如图13A的状态下,假定从主机装置305发出再生LSN=32的数据“B”的指示,驱动装置310则按照初始逻辑地址-物理地址映射,取得PSN=1132。Then, for example, in the state of FIG. 13A , assuming that the
于是,驱动装置310从最新的替换管理信息列表1000中检索具有PSN=1132的替换管理信息作为被替换项。Then, the drive device 310 retrieves the replacement management information having PSN=1132 from the latest replacement
这里,找到替换管理信息512,因此,由此处取得替换项的PSN=132。Here, the
驱动装置310从PSN=132处再生数据“B”,作为LSN=32的再生数据发送回主机装置305。The drive device 310 reproduces the data "B" from PSN=132, and sends it back to the
即使主机装置305所指定的LSN改变了,驱动装置310一侧的处理仍然相同。将接受到的LSN按照初始逻辑地址-物理地址映射变换为PSN,如果找到了对应的替换管理信息,则从代替簇中再生数据。如果找不到对应的替换管理信息,则按照PSN原样再生即可。Even if the LSN specified by the
如上所述,就可以在信息记录介质100的伪重写记录中,没有浪费地将用户数据区用作替换项。As described above, it is possible to use the user data area as a replacement without waste in the pseudo-overwrite recording of the
1-8.记录处理步骤(3)1-8. Record processing steps (3)
图18表示与上述替换管理信息1010或替换管理信息1010B同样的替换管理信息的不同结构实例即DFL entry2010。FIG. 18 shows a
DFL entry2010中包含的状态1 2011A和状态2 2011B、缺陷簇开头PSN 2012、代替簇开头PSN 2013分别与上述的状态信息1011、被替换项位置信息1012、被替换项位置信息1013相同。
这里,与参照图5B所说明的相同,缺陷簇开头PSN 2012和代替簇开头PSN 2013也可以使用相应的ECC簇的开头扇区的物理地址(例如PSN)来表示。这是因为,缺陷管理和伪重写记录中是以ECC簇为单位进行映射的。Here, as described with reference to FIG. 5B , the defective cluster head PSN 2012 and the replacement
这里,状态1 2011A至少包含与替换管理信息1010B中的Flag1和Flag2相同的信息。即,例如,当状态1 2011A的值为“1000”的情况下,其替换信息表示没有替换项(Flag2=0相当于没有替换项的情况)。在这种情况下,在代替簇开头PSN 2013中设定“0”。Here, the
另一方面,当存在替换项时,在状态1中设定“0000”(Flag2=0相当于有替换项的情况)。On the other hand, when there is an alternative, "0000" is set in Status 1 (Flag2=0 corresponds to the case where there is an alternative).
另外,状态2 2011B至少包含与替换管理信息1010B中的Flag3相同的信息。In addition, the
即,例如,当状态2 2011B的值为“0000”的情况下,该替换信息对应于单一簇(相当于Flag3=00)。That is, for example, when the value of the
同样地,当状态2的值为例如“0001”的情况下,该替换信息对应于包含多个簇的连续区域的开始簇的开头扇区位置(相当于Flag3=01)。另一方面,在“0010”的情况下,对应于包含多个簇的连续区域的末尾簇的开头扇区位置(相当于Flag3=10)。Similarly, when the value of
该DFL entry2010可以适用于全部实施方式。This DFL entry2010 can be applied to all implementations.
其次,参照图18所示的DFL entry2010的数据结构和图19A的流程图,进一步详细说明针对使用上述图8A所说明的步骤S113中的替换管理信息进行处理的实例。Next, referring to the data structure of DFL entry2010 shown in FIG. 18 and the flow chart of FIG. 19A, an example of processing the replacement management information in step S113 described above using FIG. 8A will be further described in detail.
这里,假定在图8A的步骤S112为实现伪重写记录而对替换项进行记录后进入步骤S113。Here, it is assumed that the procedure proceeds to step S113 after the replacement is recorded in step S112 of FIG. 8A for pseudo-overwrite recording.
(步骤S301)首先判断该伪重写记录是第1次重写记录还是第2次或此后的重写记录。(Step S301) Firstly, it is judged whether the pseudo-overwrite record is the first overwrite record or the second or subsequent overwrite record.
该判断是通过例如对最新的替换管理信息列表检索具有在图8A的步骤S103中获得的、ECC簇的开头PSN值作为缺陷簇开头PSN2012值的DFL entry2010而进行的,该ECC簇包含与记录指示中包含的逻辑地址相对应的物理地址。This judgment is performed by, for example, searching the latest replacement management information list for the
该最新的替换管理信息列表在例如步骤S101(图8A)中从盘片管理信息区再生出来,并保存到存储器电路312。The latest replacement management information list is reproduced from the disc management information area in step S101 (FIG. 8A), and stored in the memory circuit 312, for example.
如果在替换管理信息列表中没有发现相应的替换管理信息(例如DFL entry2010),则作为第1次伪重写记录,处理进入步骤S302。If no corresponding replacement management information (such as DFL entry2010) is found in the replacement management information list, then as the first pseudo-rewrite record, the process proceeds to step S302.
如果在替换管理信息列表中发现了相应的替换管理信息,则作为第2次伪重写记录,处理进入步骤S304。If the corresponding replacement management information is found in the replacement management information list, the processing proceeds to step S304 as the second pseudo-overwrite record.
此外,也可以在其他步骤中预先判断伪重写记录是第1次重写记录还是第2次或此后的重写记录。例如,也可以在步骤S106进行判断。可以保存此时的判断结果,在步骤S301使用。In addition, it may also be determined in advance whether the pseudo-overwrite record is the first overwrite record or the second or subsequent overwrite record in other steps. For example, the determination may also be made in step S106. The judgment result at this time can be saved and used in step S301.
(步骤S302)如果是第1次替换记录,则执行以下处理。(Step S302) If it is the first replacement record, the following processing is performed.
首先,由驱动控制部311在驱动装置310的存储器电路312上生成新的DFL entry2010。First, a
(步骤S303)接着,在该DFL entry2010中设定数值。(Step S303) Next, set a value in the DFL entry2010.
即,为状态1 2011A设定适当的值。例如,如果是存在替换项的替换记录,则设定“0000”。That is, set an appropriate value for
接着,对缺陷簇开头PSN2012设定位于与记录指示中包含的逻辑地址相对应的物理地址的ECC簇的开头PSN值。Next, the head PSN value of the ECC cluster located at the physical address corresponding to the logical address included in the recording instruction is set to the defective cluster head PSN 2012 .
接着,对代替簇开头PSN2013设定在之前的替换记录中实际记录了数据的代替簇的开头PSN值。Next, in the replacement
进而,对该DFL entry2010的状态2 2011B设定适当的值。例如,如果是单一簇的替换记录,则设定“0000”。Furthermore, an appropriate value is set for the
(步骤S304)如果是第2次以后的替换记录,则执行以下处理。(Step S304) If it is the replacement record of the second time or later, the following processing is performed.
即,为了对在之前的步骤中发现的DFL entry2010进行更新处理,进入步骤S305。That is, in order to update the
(步骤S305)首先,将该DFL entry2010的状态1 2011A更新为适当值。例如,如果是存在替换项的替换记录,则设定“0000”。(Step S305) First, update the
接着,将代替簇开头PSN2013更新为在之前的替换记录中实际记录了数据的代替簇的开头PSN值。即,设定新的替换项。Next, the replacement
此外,因为是针对相同ECC簇的第2次以后的替换记录,所以不需要改变缺陷簇开头PSN2012,保持相同的值即可。In addition, since it is the second and subsequent replacement records for the same ECC cluster, there is no need to change the defective cluster head PSN2012, and it is only necessary to keep the same value.
进而,将该DFL entry2010的状态2 2011B更新为适当值。例如,如果是单一簇的替换记录,则设定“0000”。Furthermore, update the
(步骤S306)通过以上处理实现替换管理信息列表的更新。即,追加新的DFL entry2010,或者更新现有的DFL entry2010值。(Step S306) The updating of the replacement management information list is realized through the above processing. That is, append a new DFL entry2010, or update an existing DFL entry2010 value.
此外,对替换管理信息列表进行重新排列。该重新排列是对例如状态1 2011A进行的。进而,按照缺陷簇开头PSN2012、状态2 2011B、代替簇开头PSN2013的顺序进行重新排列。In addition, rearrangement of the replacement management information list is performed. This rearrangement is for
由此,图8A的步骤S113结束。这里所得的最新替换管理信息列表被追加记录到(临时)盘片管理信息区。Thus, step S113 in FIG. 8A ends. The latest replacement management information list obtained here is additionally recorded in the (temporary) disc management information area.
此外,虽然在上述的处理实例中,说明了为了实现伪重写记录而进行的替换记录,但是这同样适用于出现缺陷簇时进行的替换记录的场合。In addition, although in the above-mentioned processing example, description was made of replacement recording performed to realize pseudo-overwrite recording, the same applies to the case of replacement recording performed when a defective cluster occurs.
然而,如在背景技术中参照图33A和图33B所说明的那样,在现有的追加记录型光盘的缺陷管理中,每次出现替换记录时都保留现有的替换管理信息并追加新的替换管理信息。However, as explained with reference to FIG. 33A and FIG. 33B in the background art, in the defect management of the conventional record-on-write optical disc, every time a replacement record occurs, the existing replacement management information is retained and a new replacement is added. management information.
如果将这种方法应用于本实施方式这样的将用户数据区用作替换项的记录方法的话,每次出现替换记录时替换管理信息就会增加,替换管理信息列表的容量变大,故不适合驱动装置等的安装。If this method is applied to the recording method using the user data area as a replacement item in this embodiment, the replacement management information will increase every time a replacement record occurs, and the capacity of the replacement management information list will become large, so it is not suitable. Installation of drives, etc.
特别是,在现有的追加记录型光盘的缺陷管理中,曾经被替换的簇不会再次被替换,但在本实施方式这种伪重写记录的情况下,可能多次成为替换记录的对象。为此,替换管理信息列表的容量可能变得非常大。In particular, in the defect management of conventional write-once optical discs, clusters that were once replaced will not be replaced again, but in the case of pseudo-overwrite recording as in this embodiment, it may become the target of replacement recording many times. . For this reason, the capacity of the replacement management information list may become very large.
另外,在替换管理信息列表中会出现多个具有相同缺陷簇开头PSN2012的值的替换管理信息,这就进一步需要有追加的处理或机制以取得最新的替换管理信息。In addition, there may be multiple replacement management information with the same defective cluster head PSN2012 value in the replacement management information list, which further requires additional processing or mechanism to obtain the latest replacement management information.
另外,在可擦写型光盘的缺陷管理中,针对全部替换项簇设置替换管理信息,无论其是否已经被用作替换项。In addition, in defect management of rewritable optical discs, replacement management information is set for all replacement clusters regardless of whether they have been used as replacements or not.
如果将这种方法应用于本实施方式这样的将用户数据区用作替换项的方法中的话,刚开始就需要大量的替换管理信息,还是从安装的角度出发不优选。If this method is applied to the method of using the user data area as a replacement item as in this embodiment, a large amount of replacement management information is required from the beginning, which is not preferable from the viewpoint of installation.
另一方面,借助于使用图19A的方法,只生成所需要的最低限度的缺陷管理信息加以管理即可,最新的替换管理信息也很容易找到。On the other hand, by using the method of FIG. 19A, only the minimum required defect management information can be generated and managed, and the latest replacement management information can be easily found.
1-9.记录处理步骤(4)1-9. Record processing steps (4)
参照图19B进一步详细说明数据记录步骤中的替换管理信息的处理实例。A processing example of replacing management information in the data recording step will be described in further detail with reference to FIG. 19B.
图19B所示的各步骤包含在图8A所示的步骤S113中。在以下的说明中,参照图18所示的替换管理信息的一个实例即DFL entry2010的数据结构。Each step shown in FIG. 19B is included in step S113 shown in FIG. 8A . In the following description, reference is made to the data structure of
此外,这里假定在图8A的步骤S112为实现伪重写记录而对替换项进行记录后进入步骤S113。In addition, it is assumed here that the process proceeds to step S113 after the replacement is recorded in step S112 of FIG. 8A for pseudo-overwrite recording.
(步骤S601)驱动控制部311确定由记录指示指定的区域是否是物理地址空间连续的区域。(Step S601) The drive control unit 311 determines whether the area specified by the recording instruction is an area in which the physical address space is continuous.
例如,驱动控制部311根据由记录指示所指定的记录位置和由记录指示所指定的要记录的数据的容量,确定在物理地址空间上的区域大小。当依照此种方式确定的物理地址空间上的区域大小大于1个ECC簇的尺寸时,驱动控制部311将由记录指示指定的区域确定为物理地址空间中的连续区域。For example, the drive control unit 311 determines the area size on the physical address space based on the recording position designated by the recording instruction and the capacity of the data to be recorded designated by the recording instruction. When the area size in the physical address space determined in this way is larger than the size of one ECC cluster, the drive control unit 311 determines the area specified by the recording instruction as a continuous area in the physical address space.
当步骤S601的判断结果为“是”的情况下,处理进入步骤S602。当步骤S601的判断结果为“否”的情况下,处理进入步骤S603。When the determination result in step S601 is "YES", the process proceeds to step S602. When the determination result in step S601 is "No", the process proceeds to step S603.
(步骤S602)驱动控制部311确定在步骤S112中实际记录数据的区域是否是物理地址空间中的连续区域。(Step S602) The drive control section 311 determines whether the area where data is actually recorded in step S112 is a continuous area in the physical address space.
例如,当在步骤S112中实施记录处理的区域大小等于由记录指示指定的区域大小时,驱动控制部311将在步骤S112中实际记录数据的区域确定为物理地址空间中的连续区域。For example, when the size of the area where the recording process is performed in step S112 is equal to the size of the area specified by the recording instruction, the drive control unit 311 determines the area where data is actually recorded in step S112 as a contiguous area in the physical address space.
当步骤S602的判断结果为“是”的情况下,处理进入步骤S604。当步骤S602的判断结果为“否”的情况下,处理进入步骤S603。When the determination result in step S602 is "YES", the process proceeds to step S604. When the determination result in step S602 is "No", the process proceeds to step S603.
(步骤S603)驱动控制部311执行例如参照图19A所说明的处理。(Step S603 ) The drive control unit 311 executes, for example, the processing described with reference to FIG. 19A .
(步骤S604)驱动控制部311确定伪重写记录是第1次重写记录还是第2次或此后的重写记录。(Step S604) The drive control unit 311 determines whether the dummy overwrite recording is the first overwrite recording or the second or subsequent overwrite recording.
这种确定是通过例如检索最新的替换管理信息列表、根据在替换管理信息列表中是否发现了具备表示与在步骤S601所确定的连续区域是相同区域的被替换项位置信息的第1 DFL entry2010(状态2 2011B=“0001”)和第2 DFL entry2010(状态2 2011B=“0010”)而作出的。This determination is by, for example, retrieving the latest replacement management information list, based on whether the first DFL entry 2010(
如果在替换管理信息列表中没有发现相应的第1 DFL entry2010和第2 DFL entry2010,则作为第1次伪重写记录,处理进入步骤S605。If the corresponding
如果在替换管理信息列表中发现了相应的第1 DFL entry2010和第2 DFL entry2010,则作为第2次伪重写记录,处理进入步骤S607。If the corresponding first DFL entry2010 and the second DFL entry2010 are found in the replacement management information list, then as the second pseudo-rewrite record, the process proceeds to step S607.
(步骤S605)驱动控制部311生成新的第1 DFL entry2010和新的第2 DFL entry2010,并将其保存到存储器电路312。(Step S605) The drive control unit 311 generates a new
(步骤S606)驱动控制部311在第1和第2 DFL entry2010中设定值。(Step S606) The drive control unit 311 sets values in the first and
在第1 DFL entry2010的状态1 2011A中设定“0000”表示是存在替换项的替换记录。Setting "0000" in the
在第1 DFL entry2010的缺陷簇开头PSN2012中设定包含由记录指示指定的区域的开始位置的、ECC簇的开头PSN值。In the defective cluster head PSN 2012 of the
在第1 DFL entry2010的替换簇开头PSN2013中设定包含实际记录了数据的连续区域的开始位置的、ECC簇的开头PSN值。In the replacement
在第1 DFL entry2010的状态2 2011B中设定“0001”表示是连续区域的开始位置。Setting "0001" in the
在第2 DFL entry2010的状态1 2011A中设定“0000”表示是存在替换项的替换记录。Setting "0000" in the
在第2 DFL entry2010的缺陷簇开头PSN2012中设定包含由记录指示指定的区域的结束位置的、ECC簇的开头PSN值。由记录指示指定的区域的结束位置例如根据与记录指示中包含的逻辑地址相对应的物理地址和要记录的数据的数据长度求取。In the defect cluster head PSN 2012 of the
在第2 DFL entry2010的代替簇开头PSN2013中设定包含实际记录了数据的连续区域的结束位置的、ECC簇的开头PSN值。In the substitute
在第2 DFL entry2010的状态2 2011B中设定“0010”表示是连续区域的结束位置。Setting "0010" in the
(步骤S607)驱动控制部311对在步骤S604中发现的第1和第2 DFL entry2010进行更新处理。具体地,该更新处理是通过在步骤S608中在第1和第2 DFL entry2010中设定值来实现的。(Step S607) The drive control unit 311 updates the first and
(步骤S608)驱动控制部311在第1和第2 DFL entry2010中设定值。(Step S608) The drive control unit 311 sets values in the first and
在第1 DFL entry2010的替换簇开头PSN2013中设定包含实际记录了数据的连续区域的开始位置的、ECC簇的开头PSN值。即,设定新的替换项区域的开始位置。In the replacement
不需要改变第1 DFL entry2010的缺陷簇开头PSN2012,保持相同的值即可。这是因为,这是对同一ECC簇进行的第2次以后的替换记录。There is no need to change the PSN2012 at the beginning of the defect cluster of the first DFL entry2010, just keep the same value. This is because this is the second and subsequent replacement recording performed on the same ECC cluster.
在第2 DFL entry2010的替换簇开头PSN2013中设定包含实际记录了数据的连续区域的结束位置的、ECC簇的开头PSN值。即,设定新的替换项区域的结束位置。In the replacement
不需要改变第2 DFL entry2010的缺陷簇开头PSN2012,保持相同的值即可。这是因为,这是对同一ECC簇进行的第2次以后的替换记录。There is no need to change the PSN2012 at the beginning of the defect cluster of the second DFL entry2010, just keep the same value. This is because this is the second and subsequent replacement recording performed on the same ECC cluster.
(步骤S609)通过以上处理实现替换管理信息列表的更新。即,将新的第1和第2 DFL entry2010追加到替换管理信息列表中。或者,更新替换管理信息列表中现有的第1和第2 DFL entry2010的值。(Step S609) The update of the replacement management information list is realized through the above processing. That is, the new first and second DFL entry2010 are added to the replacement management information list. Or, update and replace the existing 1st and 2nd DFL entry2010 values in the management information list.
对替换管理信息列表进行重新排列。该重新排列根据例如更新管理信息的状态1 2011A的顺序进行。进而,按照缺陷簇开头PSN2012、状态2 2011B、替换簇开头PSN2013的顺序进行重新排列。Rearrange the replacement management information list. This rearrangement is performed according to, for example, the order of updating the
由此,图8A的步骤S113结束。这里所得的最新替换管理信息列表被追加记录到(临时)盘片管理信息区。Thus, step S113 in FIG. 8A ends. The latest replacement management information list obtained here is additionally recorded in the (temporary) disc management information area.
此外,虽然在上述的处理实例中,说明了为了实现伪重写记录而进行的替换记录,但这同样可适用于出现缺陷簇时进行的替换记录的场合。In addition, although in the above-mentioned processing example, description was made of replacement recording for realizing pseudo-overwrite recording, the same applies to the case of replacement recording when a defective cluster occurs.
使用图20A至图24B进一步说明记录处理步骤。The recording processing procedure is further described using FIGS. 20A to 24B .
图20A与图13A等相同,表示信息记录介质100上的物理地址空间与逻辑地址空间。图20A中表示了紧接着格式化处理之后在LSN=0的位置记录了数据“A0”后的状态。在物理地址空间中,在PSN=1000的位置记录了数据“A0”。FIG. 20A shows the physical address space and the logical address space on the
此时,LSN=0和PSN=1000维持了初始逻辑地址-物理地址映射的关系。At this time, LSN=0 and PSN=1000 maintain the initial logical address-physical address mapping relationship.
因此,图20B所示的与图20A对应的替换管理信息列表中不包含替换管理信息,只包含扇区头信息1001。Therefore, the replacement management information list shown in FIG. 20B and corresponding to FIG. 20A does not include replacement management information, but includes only sector header information 1001.
接着,在图20A的状态下,假定从主机装置305发出指示在LSN=0的位置记录数据“A1”。在图21A中表示执行该记录后的状态。Next, in the state of FIG. 20A , it is assumed that an instruction is issued from the
如图21A所示,PSN=1000的位置已经记录完毕,因此,数据“A1”被替换到例如用户数据区中的PSN=1132的位置。As shown in FIG. 21A, the position of PSN=1000 has already been recorded, and therefore, the data "A1" is replaced, for example, at the position of PSN=1132 in the user data area.
此时的替换记录是第1次替换记录,因此,按照使用图19A所说明的步骤S302以后的步骤,将图21B所示的DFL entry2100A追加到替换管理信息列表中。The replacement record at this time is the first replacement record, so the
接着,在图21A的状态下,假定从主机装置305发出指示在LSN=0的位置记录数据“A2”。在图22A中表示执行该记录后的状态。Next, in the state of FIG. 21A, it is assumed that an instruction is issued from the
如图22A所示,PSN=1000的位置已经记录完毕,因此,数据“A2”被替换到例如用户数据区中的PSN=1164的位置。As shown in FIG. 22A, the position of PSN=1000 has already been recorded, and therefore, the data "A2" is replaced, for example, at the position of PSN=1164 in the user data area.
此时的替换记录是第2次替换记录,因此,按照使用图19A所说明的步骤S304以后的步骤,如图22B所示,将DFL entry2100A更新为DFL entry2100B。(即,不追加DFL entry。)The replacement record at this time is the second replacement record, therefore, according to the steps after step S304 described using FIG. 19A , as shown in FIG. 22B ,
接着,在图22A的状态下,假定从主机装置305发出指示在LSN=96的位置记录数据“B0”、在LSN=128~192的位置记录数据“C0”。在图23A中表示执行该记录后的状态。Next, in the state of FIG. 22A , it is assumed that an instruction is issued from the
如图23A所示,假定在将数据“B0”记录到PSN=1196的位置时校验处理出错。As shown in FIG. 23A, it is assumed that an error occurs in the verification process when data "B0" is recorded at the position of PSN=1196.
此时,数据“B0”被替换到例如外周替换区107中的PSN=x10。At this time, the data "B0" is replaced to PSN=x10 in the
此时的替换记录是第1次替换记录,因此,按照使用图19A所说明的步骤S302以后的步骤,如图23B所示追加DFL entry2101A。The replacement record at this time is the first replacement record, and therefore,
另一方面,假定数据“C0”记录后的校验成功,则替换管理信息列表不变。On the other hand, assuming that the verification after the data "C0" is recorded succeeds, the replacement management information list does not change.
接着,在图23A的状态下,假定从主机装置305发出指示在LSN=128~192的位置记录数据“C1”。在图24A中表示执行该记录后的状态。Next, in the state of FIG. 23A , it is assumed that the
如图24A所示,PSN=1228~1292的位置已经记录完毕,因此,数据“C1”被替换到例如用户数据区中的PSN=1324~1388的位置。As shown in FIG. 24A, the positions of PSN=1228~1292 have already been recorded, therefore, the data "C1" is replaced, for example, at the positions of PSN=1324~1388 in the user data area.
此时的替换记录是第1次替换记录,因此,按照使用图19A所说明的步骤S302以后的步骤,如图24B所示追加DFL entry2102A和2103A。The replacement record at this time is the first replacement record, and therefore,
这里,该替换记录是从连续区域2200(PSN=1228~1292)替换到连续区域2201(PSN=1324~1388)的替换记录,因此,如上所述,使用表示替换区开头的DFL entry2102A和表示结束位置的DFLentry2103A。Here, the replacement record is a replacement record from the continuous area 2200 (PSN=1228 to 1292) to the continuous area 2201 (PSN=1324 to 1388). Therefore, as described above, the
即,本发明的驱动装置310在将连续区域2200替换为用户数据区108中的连续区域2201的伪重写中,生成将连续区域2200的开始位置映射到连续区域2201的开始位置的第1替换管理信息(DFLentry2102A)、以及将连续区域2200的结束位置映射到连续区域2201的结束位置的第2替换管理信息(DFL entry2103A)。That is, the drive device 310 of the present invention generates a first replacement in which the start position of the
这里,虽然实施的是3个ECC簇大小的连续区域的替换记录,但只追加了2个DFL entry。这是通过将用户区中的替换项借助于DFLentry2102A和DFL entry2103A作为连续区域映射而实现的效果。Here, only 2 DFL entries are added although the replacement recording of the continuous area of 3 ECC cluster sizes is performed. This is the effect achieved by mapping the replacement in the user area as a continuous area with the help of DFLentry2102A and DFLentry2103A.
此外,关于连续区域的替换,在第2次以后当然也可以更新已有的DFL entry。In addition, regarding the replacement of the continuous area, it is of course possible to update the existing DFL entry after the second time.
(第2实施方式)(second embodiment)
2-1.NWA确定处理步骤2-1.NWA determination processing steps
这里说明由驱动装置310响应主机装置305的请求而返回的逻辑地址所表示的下次可记录地址(以后称为逻辑NWA)的确定方法。Here, a method for determining a next recordable address (hereinafter referred to as a logical NWA) indicated by a logical address returned by the drive device 310 in response to a request from the
在本实施方式中,逻辑NWA由以下步骤确定。In this embodiment, the logical NWA is determined by the following steps.
首先确定包含LRA所示的物理扇区的ECC簇的下一ECC簇。该ECC簇就是下一个记录ECC簇。记录ECC簇的开头物理扇区成为下次可记录地址,由该物理地址表示的下次可记录地址就是上述的NWA。Firstly, the next ECC cluster of the ECC cluster including the physical sector indicated by the LRA is determined. This ECC cluster is the next recorded ECC cluster. The first physical sector where the ECC cluster is recorded becomes the next recordable address, and the next recordable address indicated by this physical address is the above-mentioned NWA.
逻辑NWA的值是将该NWA表示的PSN值按照初始逻辑地址-物理地址映射变换为LSN后所得的值。The value of the logical NWA is the value obtained after converting the PSN value represented by the NWA into an LSN according to the initial logical address-physical address mapping.
下面使用几个具体实例进行说明。A few specific examples are used below for illustration.
在图12的状态下,LRA500指示用户数据区108的开头,因此,此时的物理地址空间中的NWA为PSN=1100。与PSN=1100对应的LSN为LSN=0,因此,逻辑NWA=0。In the state of FIG. 12,
图13A中,主机装置305从驱动装置310取得逻辑NWA=0后发出指示将数据“A”记录到LSN=0的位置。In FIG. 13A , the
另外,紧接着数据“A”的记录之后,光轨#1的LRA指向包含PSN=1100的ECC簇,因此,该NWA为PSN=1132。由此,逻辑NWA=32。此时,主机装置305可能发出针对逻辑NWA=32记录数据“B”的指示。Also, immediately after the recording of data "A", the LRA of
紧接着数据“B”的记录之后,光轨#1的LRA指向包含PSN=1132的ECC簇内的物理扇区,因此,该NWA为PSN=1164。由此,逻辑NWA=64。Immediately after the recording of data "B", the LRA of
如上所述的逻辑NWA的确定方法的特征是,确定逻辑NWA以便维持初始逻辑地址-物理地址映射的关系。即,首先根据光轨内的LRA确定NWA,然后根据初始逻辑地址-物理地址映射取得逻辑NWA,因此,对于新的数据记录不需要替换管理信息1010B。The method of determining the logical NWA as described above is characterized in that the logical NWA is determined so as to maintain the relationship of the initial logical address-physical address mapping. That is, the NWA is first determined based on the LRA in the track, and then the logical NWA is obtained based on the initial logical address-physical address mapping. Therefore, there is no need to replace the management information 1010B for new data recording.
此外,在图14A中,虽然实际的最新的逻辑NWA与LRA500B对应,但主机装置305有时候保持了与LRA501B相对应的值作为逻辑NWA。In addition, in FIG. 14A , although the latest logical NWA actually corresponds to LRA500B, the
由驱动装置310作为独立于主机装置305的动作执行对PSN=1292的位置以后的记录,而主机装置305又没有从驱动装置310取得最新的逻辑NWA时,就有可能产生这种状态。This state may occur when the drive device 310 performs recording to PSN=1292 and beyond as an operation independent of the
此外,如果在这种状态下主机装置305试图指示记录新的数据,就会向与LRA501B对应的逻辑NWA发出记录指示,而实际的数据则由驱动装置310记录到PSN=1336的位置。In addition, if the
该记录是替换记录,因此,就需要新的替换管理信息。This record is a replacement record, and therefore, new replacement management information is required.
另一方面,如果主机装置305从驱动装置310取得与最新的LRA500B相对应的逻辑NWA之后再发出记录新数据的指示,则该记录不会变成替换记录,也不需要新的替换管理信息。On the other hand, if the
图15A和图16A也一样,各图中主机装置305有时候会保持与LRA501C对应的值作为逻辑NWA,但实际的最新LRA分别是LRA500C和LRA500D。15A and 16A, the
由此,主机装置305在记录新数据之前最好是取得最新的逻辑NWA。Therefore, it is preferable for the
总之,当主机装置305指示记录新数据时,例如,紧邻着图8A的步骤S102之前输出请求以便从驱动装置310取得最新的逻辑NWA。另一方面,接受到该请求的驱动装置310按照上述步骤将由LRA和NWA所确定的逻辑NWA返回给主机装置305。In short, when the
接受到逻辑NWA的主机装置305根据该值发出下一记录指示。The
借助于这样的动作,在记录新数据时不再需要替换管理信息1010B,只在执行了替换记录时才需要替换管理信息1010B。With such an action, the replacement management information 1010B is no longer required when new data is recorded, and the replacement management information 1010B is required only when replacement recording is performed.
其结果是,可以抑制替换管理信息列表1000的数据量的增加,降低记录再生时的处理量,减少内存量,并减少信息记录介质100上的数据容量。As a result, the increase in the data volume of the replacement
(第3实施方式)(third embodiment)
3-1.记录处理步骤(1)3-1. Record processing steps (1)
在上述第2实施方式中的NWA确定方法中,会出现某个LSN不被使用的情况。In the NWA determination method in the above-mentioned second embodiment, a certain LSN may not be used.
例如,在图14A,LSN=96的位置的逻辑扇区从主机装置305或文件系统的角度来看,是从来没有被记录数据的逻辑扇区。For example, in FIG. 14A, the logical sector at the position of LSN=96 is a logical sector that has never recorded data from the perspective of the
这种逻辑扇区被称为未记录逻辑扇区、或未使用逻辑扇区、孤立逻辑扇区等。Such a logical sector is called an unrecorded logical sector, or an unused logical sector, an orphan logical sector, or the like.
另外,由这种未记录逻辑扇区构成的逻辑簇称为未记录逻辑簇。例如,图14A中LSN=96~127的位置是未记录逻辑簇。In addition, a logical cluster composed of such unrecorded logical sectors is called an unrecorded logical cluster. For example, the positions of LSN=96 to 127 in FIG. 14A are unrecorded logical clusters.
同样地,在图15A中,LSN=X2的位置是未记录逻辑扇区。Likewise, in FIG. 15A, the position of LSN=X2 is an unrecorded logical sector.
如图14A等所示,对于这种未记录逻辑扇区,与其他的通常的逻辑扇区一样也分配了LSN,而此后的逻辑扇区的LSN不变,这是上述实施方式中NWA确定处理步骤的特征。As shown in FIG. 14A, etc., for this unrecorded logical sector, an LSN is allocated like other common logical sectors, and the LSN of subsequent logical sectors remains unchanged. This is the NWA determination process in the above-mentioned embodiment. The characteristics of the steps.
当对这种未记录逻辑扇区发出记录指示时,与上述实施方式同样地进行伪重写记录。例如,可以是以下处理。When a recording instruction is issued for such an unrecorded logical sector, pseudo-overwrite recording is performed in the same manner as in the above-described embodiment. For example, the following processing is possible.
这里,在图14A的状态下,假定发出指示对LSN=96的位置记录数据“F”。Here, in the state of FIG. 14A, it is assumed that an instruction is issued to record data "F" at the location of LSN=96.
此时,驱动装置310将LSN=96按照初始逻辑地址-物理地址映射变换为PSN=1196。At this time, the drive device 310 converts LSN=96 into PSN=1196 according to the initial logical address-physical address mapping.
比较PSN=1196与NWA可知,PSN=1196已经记录完毕。Comparing PSN=1196 with NWA shows that PSN=1196 has already been recorded.
此时,与上述其他实施方式同样地执行伪重写记录。At this time, pseudo-overwrite recording is performed in the same manner as in the other embodiments described above.
于是,驱动装置310在NWA所示的位置(这种情况下是PSN=1336)记录数据“F”,进而生成替换管理信息518。Then, the drive device 310 records the data "F" at the position indicated by NWA (PSN=1336 in this case), and further generates the
通过这种处理对LSN=96的位置进行记录。其结果是,LSN=96不再是未记录逻辑簇,而是变为通常的逻辑簇。The position of LSN=96 is recorded by this process. As a result, LSN=96 is no longer an unrecorded logical cluster, but a normal logical cluster.
不过,与PSN=1336的位置相对应由初始逻辑地址-物理地址映射关联起来的LSN=256~287的位置重新成为未记录逻辑簇。However, the positions of LSN=256 to 287 associated with the position of PSN=1336 by the initial logical address-physical address mapping become unrecorded logical clusters again.
进而,记录数据“G”后,成为图17A和图17B的状态。Furthermore, after data "G" is recorded, the states shown in Figs. 17A and 17B are obtained.
3-2.再生处理步骤(1)3-2. Regeneration treatment steps (1)
图14A中,LSN=224的位置的逻辑簇是未记录逻辑簇。In FIG. 14A, the logical cluster at the position of LSN=224 is an unrecorded logical cluster.
通过初始逻辑地址-物理地址映射与LSN=224的位置的未记录逻辑簇相对应的物理簇是PSN=1324的位置。The physical cluster corresponding to the unrecorded logical cluster at the position of LSN=224 by the initial logical address-physical address mapping is the position of PSN=1324.
PSN=1324的位置的物理簇进一步通过替换管理信息514与PSN=1228的位置的物理簇关联起来。The physical cluster at the location of PSN=1324 is further associated with the physical cluster at the location of PSN=1228 through the
此外,PSN=1228的位置的物理簇按照初始逻辑地址-物理地址映射与LSN=128的位置的逻辑簇映射起来。In addition, the physical cluster at the location of PSN=1228 is mapped with the logical cluster at the location of LSN=128 according to the initial logical address-physical address mapping.
即,PSN=1228的位置的物理簇被分配作为LSN=128的位置的逻辑簇和LSN=224的位置的未记录逻辑簇这2个逻辑簇。That is, the physical cluster at the position of PSN=1228 is assigned two logical clusters, namely, the logical cluster at the position of LSN=128 and the unrecorded logical cluster at the position of LSN=224.
下面说明这样的2个逻辑簇被分配到1个物理簇的状态下进行再生时的步骤。The following describes the procedure for performing reproduction in a state where such two logical clusters are allocated to one physical cluster.
首先,从主机装置305发出针对LSN=128的位置的逻辑簇进行再生的指示后,首先由驱动装置310将接受到的LSN按照初始逻辑地址-物理地址映射变换为PSN(称为再生对象PSN)。First, after the
这里,再生对象PSN是PSN=1228。在替换管理信息列表中检索具有PSN=1228作为被替换项的替换管理信息,可发现替换管理信息514A。Here, the playback target PSN is PSN=1228. Searching for the replacement management information having PSN=1228 as the replaced item in the replacement management information list, the
此外,再生替换管理信息514A所指示的代替簇即PSN=1324位置的物理簇。Also, the replacement cluster indicated by the
另一方面,对LSN=224的位置的逻辑簇发出再生指示后,按照初始逻辑地址-物理地址映射求得PSN=1324值作为再生项PSN。但是,在替换管理信息列表中检索,找不到具有PSN=1324作为被替换项的替换管理信息。On the other hand, after issuing a reproduction instruction to the logical cluster at the position of LSN=224, a value of PSN=1324 is obtained as the reproduction item PSN according to the initial logical address-physical address mapping. However, searching in the replacement management information list, no replacement management information having PSN=1324 as a replaced item could be found.
因此,驱动装置310从PSN=1324开始再生数据。Therefore, the drive device 310 starts to reproduce data from PSN=1324.
通过这种再生处理,即使在对逻辑上一次也没有记录过数据的未记录逻辑扇区发出再生指示的情况下,也能够从对应的物理扇区再生出数据。Through such reproduction processing, even when a reproduction instruction is issued to an unrecorded logical sector to which no data has been logically recorded once, data can be reproduced from the corresponding physical sector.
由此,从主机一侧的文件系统等来看,对于信息记录介质100上的区域而言不再有例外的区域,在其系统结构中不再需要实施复杂的错误处理,能够以更简单的安装来构筑系统。Thus, from the perspective of the file system on the host side, there is no exception area for the area on the
此外,当针对未记录逻辑扇区发出再生指示时,如上所述从对应的物理簇再生数据的话,就会再生出本来不应该再生的数据。如果这样的数据再生不适合其系统结构,则可以使用以下再生步骤。Also, when a reproduction instruction is issued for an unrecorded logical sector, if data is reproduced from the corresponding physical cluster as described above, data that should not be reproduced will be reproduced. If such data regeneration is not suitable for its system architecture, the following regeneration procedure can be used.
即,在再生数据时,将指定再生的LSN按照初始逻辑地址-物理地址映射变换为PSN后,在替换管理信息列表1000中检索具有该所得的PSN作为被替换项位置信息1012的替换管理信息1010B。That is, when reproducing data, after the LSN designated for reproduction is converted into a PSN according to the initial logical address-physical address mapping, the replacement management information 1010B having the obtained PSN as the replaced item position information 1012 is searched in the replacement
如果找到了对应的被替换项位置信息1012,则与上述的其他实施方式同样地从替换项位置信息1013所示的位置的ECC簇开始再生数据。If the corresponding replaced item position information 1012 is found, data is reproduced from the ECC cluster at the position indicated by the replaced item position information 1013 in the same manner as in the other embodiments described above.
如果没有找到,则接着以替换项位置信息1013为对象检索具有与指定再生的LSN相对应的PSN值的被替换项位置信息1012。If not found, next, the replaced item position information 1013 is searched for the replaced item position information 1012 having the PSN value corresponding to the LSN designated to reproduce.
如果发现了相应的替换项位置信息1013,则判断为由该替换项位置信息1013所指示的ECC簇已经作为代替簇记录完毕。If the corresponding replacement item position information 1013 is found, it is determined that the ECC cluster indicated by the replacement item position information 1013 has already been recorded as a replacement cluster.
此时,驱动装置310不从该ECC簇再生数据,而是取而代之,将规定值例如全部为0的值作为再生数据返回到主机装置305。At this time, the drive device 310 does not reproduce data from the ECC cluster, but instead returns predetermined values, eg, all 0 values, to the
通过这种再生处理,即使在对未记录逻辑扇区发出再生指示的情况下,也能够从对应的物理扇区再生出适当的数据。Through such reproduction processing, even when a reproduction instruction is issued for an unrecorded logical sector, appropriate data can be reproduced from the corresponding physical sector.
此外,这种再生处理在参照图10说明的再生处理的各个步骤中在驱动装置310从主机装置305接受到再生指示时执行。Note that such regeneration processing is executed when the drive device 310 receives a regeneration instruction from the
3-3 NWA确定步骤的比较3-3 Comparison of NWA determination steps
说明与上述实施方式不同的、不产生未记录逻辑扇区的NWA确定步骤。The NWA determination procedure that does not generate unrecorded logical sectors, which is different from the above-mentioned embodiment, will be described.
在本NWA确定步骤中,对逻辑LRA进行管理,在逻辑LRA旁边的位置即逻辑NWA中记录新数据。In this NWA determining step, the logical LRA is managed, and new data is recorded in the logical NWA, which is a position next to the logical LRA.
此时,将表示逻辑NWA的LSN按照初始逻辑地址-物理地址映射变换为PSN(作为PSN-1)。At this point, the LSN representing the logical NWA is transformed into a PSN (as PSN-1) according to the initial logical address-physical address mapping.
另外,相对于该逻辑NWA,实际记录数据的ECC簇是包含LRA213所示的PSN的ECC簇的下一个ECC簇即NWA(将表示该NWA的位置的PSN作为PSN-2)。Also, the ECC cluster in which data is actually recorded is the NWA that is the next ECC cluster to the ECC cluster including the PSN indicated by the
将该PSN-1作为被替换项、PSN-2作为替换项进行替换记录。The PSN-1 is regarded as the replaced item, and the PSN-2 is regarded as the replacement item, and the replacement record is performed.
此时,为了管理逻辑NWA,使用与图25所示的光轨管理信息3210不同的实施方式。At this time, in order to manage the logical NWA, an embodiment different from the track management information 3210 shown in FIG. 25 is used.
在图25的光轨管理信息3210中,新定义光轨内最终数据记录逻辑位置信息3214。In the track management information 3210 in FIG. 25, the last data recording logical position information 3214 in the track is newly defined.
光轨内最终数据记录位置信息213通过PSN管理物理地址空间中的最终记录位置,与此相对,光轨内最终数据记录逻辑位置信息3214通过LSN管理逻辑地址空间中的最终记录位置。The last data recording position information in
驱动装置310参照光轨内最终数据记录逻辑位置信息3214就能够确定各条光轨各自的逻辑NWA。The drive device 310 can determine the logical NWA of each track by referring to the last data recording logical position information 3214 in the track.
光轨内最终数据记录逻辑位置信息3214的更新方法如下。The update method of the final data recording logical position information 3214 in a track is as follows.
即,设定0作为光轨内最终数据记录逻辑位置信息3214的初始值。然后,从主机装置305接受到记录指示的驱动装置310将记录位置接受为LSN。如果接受到的LSN比光轨内最终数据记录逻辑位置信息3214大,则用该LSN更新光轨内最终数据记录逻辑位置信息3214。That is, 0 is set as the initial value of the last data recording logical position information 3214 in a track. Then, the drive device 310 having received the recording instruction from the
通过这种处理可以使光轨内最终数据记录逻辑位置信息3214保持在最大值。Through this process, the final data recording logical position information 3214 in the optical track can be kept at the maximum value.
图26A表示了按照上述NWA确定步骤以与图13A、图14A、图17A相同的顺序记录了数据“A”、“B”、“C”、“D”、“F”、“G”之后的数据结构。Fig. 26A shows the data "A", "B", "C", "D", "F", "G" after recording the data "A", "B", "C", "D", "F", "G" in the same order as in Fig. 13A, Fig. data structure.
图26B中,将全部缺陷簇都作为替换管理信息(7)登录。不过,也可以从替换管理信息列表1000F中删除这些替换管理信息(7)。通过删除能够减少替换管理信息列表1000F中的容量。In FIG. 26B, all defective clusters are registered as replacement management information (7). However, these replacement management information ( 7 ) may also be deleted from the replacement
这里,比较图17B和图26B各自的替换管理信息列表1000E和1000F可知,替换管理信息列表1000E中的替换管理信息数量减少更多。Here, comparing the respective replacement management information lists 1000E and 1000F in FIG. 17B and FIG. 26B, it can be seen that the number of replacement management information in the replacement
如果在删除替换管理信息(7)之后的状态下比较,就会发现替换管理信息列表1000E中的替换管理信息数量变得更少。If compared in the state after the replacement management information (7) is deleted, it is found that the number of replacement management information in the replacement
由此,第1实施方式和第2实施方式中说明的、产生未记录逻辑扇区的NWA确定方法比参照图26A说明的不产生未记录逻辑扇区的方法,更适合于抑制替换管理信息列表的数据容量。Therefore, the NWA specifying method in which an unrecorded logical sector occurs as described in the first embodiment and the second embodiment is more suitable for suppressing replacement management information list than the method in which an unrecorded logical sector is not generated as described with reference to FIG. 26A . data capacity.
此外,在替换管理信息列表1000F中,通过保留替换管理信息(7)能够预先掌握信息记录介质100上的缺陷簇的分布,在再生时就可以避开这些缺陷簇而优化数据读出处理。In addition, by retaining the replacement management information (7) in the replacement
(第4实施方式)(fourth embodiment)
进一步描述本实施方式中的数据记录步骤。The data recording step in this embodiment will be further described.
图27是表示在执行本实施方式的数据记录之前的信息记录介质100的数据结构的一个实例的图。图中所示的位置表示ECC簇之间的边界。在以后的其他附图中也是同样。FIG. 27 is a diagram showing an example of the data structure of the
下面说明在这种状态下从主机装置305向驱动装置310发出数据“D1”4622和数据“E1”4623的记录指示时的记录步骤。The following describes the recording procedure when the
数据“D1”4622的记录指示是例如对已经记录完毕的区域4600中的PSN=a0的位置进行伪重写记录。The recording instruction of the data "D1" 4622 is, for example, to perform pseudo-overwrite recording at the position of PSN=a0 in the already-recorded
在执行记录指示时,主机装置305向驱动装置310要求逻辑NWA。When executing a recording instruction, the
接受到逻辑NWA要求的驱动装置310根据LRA4610A确定出NWA4611A,将与NWA4611A相对应的逻辑NWA返回到主机装置305。The drive device 310 that has received the logical NWA request determines the NWA 4611A based on the
此时,有时候主机装置305会向驱动装置310连续发出对与PSN=a0相对应的LSN=A0记录数据“D1”4622的记录指示、以及对与NWA4611A(PSN=a2)相对应的LSN=A2记录数据“E1”4623的记录指示。At this time, sometimes the
如果驱动装置310按照主机装置305的记录指示依次执行了数据“D1”4622、数据“E1”4623的记录指示,则其记录结果如图28所示。If the drive device 310 sequentially executes the recording instruction of the data "D1" 4622 and the data "E1" 4623 according to the recording instruction of the
这里,数据“D1”4622的记录指示是对记录完毕区域4600进行伪重写记录。由此,数据“D1”4622被替换到NWA4611A(PSN=a2)。此外,NWA4611A变为NWA4611B(PSN=a3)。Here, the recording instruction of the data “D1” 4622 is to perform pseudo-overwrite recording on the recorded
通过该替换记录,PSN=a2的位置变为已经记录完毕,因此,数据“E1”4623进一步被替换到NWA4611B(PNS=a3)。By this replacement recording, the position of PSN=a2 has already been recorded, so the data "E1" 4623 is further replaced in NWA 4611B (PNS=a3).
如上所述,主机装置305发出的虽然是对与NWA4611A(PSN=a2)相对应的LSN=A2进行记录的记录指示,但实际上记录到与此不同的位置(PNS=a3)。As described above, although the
由此,不仅是针对数据“D1”4622A生成了替换管理信息1010,而且针对数据“E1”4223A也生成了替换管理信息1010,因而产生了替换管理信息列表1000容量增加的问题。As a result, the replacement management information 1010 is generated not only for the data "D1" 4622A but also for the data "E1" 4223A, thereby causing a problem that the capacity of the replacement
这种问题的起因在于,驱动装置实施了主机装置305没有预料到的替换记录。This problem arises because the drive device implements alternate recording that the
即,由驱动装置实施替换记录后,从主机装置305发出的另外的记录指示需要替换处理,导致了替换管理信息列表1000容量的增加。That is, after replacement recording is performed by the drive device, another recording instruction from the
另一方面,下面说明在本实施方式的记录步骤中不产生与数据“E1”4623相对应的替换管理信息1010的方法。On the other hand, the method of not generating the replacement management information 1010 corresponding to the data "E1" 4623 in the recording step of this embodiment will be described below.
在本实施方式中,假定在图27的状态下主机装置305发出记录指示时,首先发出用于追加记录的记录指示。In this embodiment, it is assumed that when the
此外,在追加记录的记录指示之后,发出重写记录的记录指示。这种记录步骤的结果是图29所示的数据结构。Also, after the recording instruction of the additional recording, the recording instruction of the overwrite recording is issued. The result of this recording step is the data structure shown in FIG. 29 .
此外,在主机装置305上动作的文件系统执行全部文件的更新或新建的管理,因此能够确定记录指示的顺序。In addition, since the file system operating on the
图29中,数据“E1”4623B记录到NWA4611A(PSN=a2)。另外,数据“D1”4622B记录到PSN=a4。In FIG. 29, data "E1" 4623B is recorded in NWA 4611A (PSN=a2). In addition, data "D1" 4622B is recorded to PSN=a4.
如上所述,主机装置305针对NWA4611A(PSN=a2)发出了记录指示,因此,记录指示所示位置与实际记录位置相同。由此,该记录不会成为替换记录。As described above, the
即,对数据“E1”4623不会生成替换管理信息1010,能够防止替换管理信息列表1000容量的增加。That is, the replacement management information 1010 is not generated for the data "E1" 4623, and the capacity of the replacement
此外,在数据“D1”4622的记录中,在图28和图29的任意一个的情况下,都只需要相同的替换管理信息1010。在图28和图29中,只有数据“D1”4622的记录位置(即替换项的位置)改变,必要的替换管理信息1010的数目不变。In addition, in the recording of the data "D1" 4622, only the same replacement management information 1010 is required in either case of FIG. 28 and FIG. 29 . In FIGS. 28 and 29, only the recording position of the data "D1" 4622 (ie, the position of the replacement item) is changed, and the number of necessary replacement management information 1010 is not changed.
如上,本实施方式在主机装置305试图执行重写记录和追加记录的情况下,通过优先发出追加记录的记录指示,能够避免产生替换管理信息1010,减少替换管理信息列表1000的数据容量。As described above, in this embodiment, when the
(第5实施方式)(fifth embodiment)
这里,考察由主机装置305将一定容量的数据分割为ECC簇的容量(例如64KB)大小并针对分割后的每个单位依次向驱动装置310发出记录指示。Here, consider that the
驱动装置310连续记录这些数据时,有时在某个记录位置存在缺陷簇,为了替换该缺陷簇,需要使用邻接的ECC簇。When the drive device 310 continuously records these data, there may be a defective cluster at a certain recording position, and an adjacent ECC cluster needs to be used to replace the defective cluster.
在这种情况下,其后的记录位置之后,全部记录都会1个簇1个簇地在PSN增大的方向上对数据进行替换记录。In this case, after the subsequent recording position, data is replaced and recorded cluster by cluster in the direction in which the PSN increases for all recordings.
此时,每个记录单位都需要替换管理信息,当要记录的数据容量很大时,就需要很多替换管理信息,从而导致替换管理信息列表1000的数据容量增大。At this time, each recording unit needs to replace management information. When the volume of data to be recorded is large, a lot of replacement management information is required, resulting in an increase in the data capacity of the replacement
下面参照图30说明在本实施方式中在替换记录中使用的利用驱动装置310进行代替簇的记录项选择的步骤,该步骤有助于减小替换管理信息列表1000的数据容量。Next, a procedure for selecting a recording item of a replacement cluster by the drive device 310 used in the replacement recording in this embodiment will be described with reference to FIG. 30 , which contributes to reducing the data capacity of the replacement
图30中,例如,借助于主机装置305发出的记录指示,将被替换项簇5700作为被替换项进行替换记录。In FIG. 30 , for example, by means of a recording instruction issued by the
此时,替换项通过以下步骤确定。At this time, the replacement item is determined by the following steps.
在图30中,代替簇可以是未记录区5601A(光轨#N 5602中)、未记录区5612(光轨#N+1 5610中)、未记录区5622(光轨#N+2 5620中)、未记录区5632(光轨#N+3 5630中),其中每一个都是可分配的替换项。In Fig. 30, instead of clusters can be unrecorded area 5601A (in track #N 5602), unrecorded area 5612 (in track #N+1 5610), unrecorded area 5622 (in track #N+2 5620) ), unrecorded area 5632 (in track #N+3 5630), each of which is a distributable replacement item.
这里,计算从被替换项簇5700的位置(例如,被替换项簇5700中的开头物理扇区)到候补替换项位置(例如,开放光轨的NWA位置)之间的距离。在图30中,相对于上述各候补替换项的距离分别是D13、D12、D10、D11。Here, the distance between the position of the replaced item cluster 5700 (for example, the first physical sector in the replaced item cluster 5700) and the position of the candidate replacement item (for example, the NWA position of the open track) is calculated. In FIG. 30 , the distances to the above-mentioned replacement candidates are D13, D12, D10, and D11, respectively.
这里假定各距离值的大小关系为D13>D12>D11>D10。It is assumed here that the magnitude relationship of the distance values is D13>D12>D11>D10.
如果选择距离最近(即D10)的未记录区5622作为替换项,则从被替换项至替换项的距离在当时是最短的,由此也能够缩短数据再生时的访问时间。If the unrecorded area 5622 with the shortest distance (that is, D10) is selected as the replacement item, the distance from the replaced item to the replacement item is the shortest at that time, thereby shortening the access time during data reproduction.
但是,未记录区5622和被替换项位置5700包含在同一光轨#N+2 5620中。因此,如果将替换项定为未记录区5622,则如上所述,当从主机装置305发出连续的记录指示时,就会出现替换管理信息列表1000的数据容量增加这样的问题。However, the unrecorded area 5622 and the replaced item location 5700 are contained in the same track #N+2 5620. Therefore, if the replacement item is set as the unrecorded area 5622, as described above, when successive recording instructions are issued from the
因此,在本实施方式中,虽然选择了距离被替换项簇最近的未记录区作为替换项,但该选择的特征是,不选择与被替换项簇位于同一光轨内的未记录区。Therefore, in this embodiment, although the unrecorded area closest to the replacement cluster is selected as the replacement, the feature of this selection is that the unrecorded area located in the same track as the replacement cluster is not selected.
即,排除距离最近的未记录区5622,选择下一个距离近(即D11)的未记录区5632作为替换项。That is, the unrecorded area 5622 with the shortest distance is excluded, and the unrecorded area 5632 with the next closest distance (ie D11) is selected as a replacement item.
由此,当从主机装置305发出针对被替换项簇5700进行记录的指示时,驱动装置310在未记录区5632的NWA位置记录替换项簇5710。Thus, when the
此外,生成用来表示从被替换项簇5700映射到替换项簇5710的替换管理信息,将其记录下来。Also, replacement management information indicating the mapping from the replaced item cluster 5700 to the replaced item cluster 5710 is generated and recorded.
如参照步骤S107和S112(图8A)所说明,本发明的驱动控制部311在执行伪重写记录时,控制记录再生部314使得将数据记录到由与所接受到的记录指示中包含的逻辑地址相对应的物理地址所示的位置以外的特定位置,即用户数据区108中的特定位置。As described with reference to steps S107 and S112 (FIG. 8A), the drive control unit 311 of the present invention controls the recording and reproduction unit 314 to record data to the logic contained in the received recording instruction when performing pseudo-overwrite recording. A specific location other than the location indicated by the physical address corresponding to the address is a specific location in the
在本实施方式中,该特定位置是与在步骤S104(图8A)中所确定的光轨不同的开放光轨内的NWA。In this embodiment, the specific location is an NWA within an open track different from the track determined in step S104 ( FIG. 8A ).
进而,该开放光轨内的NWA表示与该记录指示中包含的逻辑地址相对应的物理地址所示位置最近的位置。Furthermore, the NWA in the open track indicates the closest position to the position indicated by the physical address corresponding to the logical address included in the recording instruction.
借助于这种记录步骤,即使主机装置305接着进一步发出了记录指示,对未记录区5622进行新的数据记录,也不会变成替换记录,不需要增加替换管理信息。With this recording procedure, even if the
另外,从被替换项至替换项的距离是除了同一光轨之外的最近距离。由此,能够缩短数据再生时的访问时间。In addition, the distance from the replaced item to the replaced item is the shortest distance other than the same track. Thereby, the access time at the time of data reproduction can be shortened.
此外,也可以只针对具有比被替换项簇大的PSN的未记录区计算距离,确定替换项。这是因为,追加记录型信息记录介质中是沿着PSN增加的方向进行顺序记录的,因此,在PSN增加的方向上进行替换记录有助于高效地访问数据。这种情况下,如果具有大的PSN的未记录区耗尽,则可以使用具有较小PSN的未记录区。In addition, the distance may be calculated only for the unrecorded area having a PSN larger than that of the cluster to be replaced, and the replacement item may be determined. This is because sequential recording is performed in the direction in which the PSN increases in the write-once-type information recording medium, and therefore, replacement recording in the direction in which the PSN increases contributes to efficient data access. In this case, if an unrecorded area with a large PSN is exhausted, an unrecorded area with a smaller PSN can be used.
此外,如果存在多个距离相等的未记录区,则最好是选择PSN增加的方向。这是因为,追加记录型信息记录介质中是沿着PSN增加的方向进行顺序记录的,因此,在PSN增加的方向上进行替换记录有助于高效地访问数据。Also, if there are a plurality of unrecorded areas at equal distances, it is preferable to select the direction in which the PSN increases. This is because sequential recording is performed in the direction in which the PSN increases in the write-once-type information recording medium, and therefore, replacement recording in the direction in which the PSN increases contributes to efficient data access.
此外,也可以根据被替换项与替换项的PSN值的差值来确定被替换项与替换项的距离。或者,也可以根据被替换项与替换项的物理距离来确定。这是因为,在信息记录介质100中,PSN从内周侧开始以螺旋状增加,因此,PSN值的差值有时候可能与物理距离不一致。例如,在信息记录介质100的半径方向上邻接的ECC簇彼此虽然物理距离近,但PSN值的差值不是最小的。In addition, the distance between the replaced item and the replaced item may also be determined according to the difference between the PSN values of the replaced item and the replaced item. Alternatively, it can also be determined according to the physical distance between the replaced item and the replacement item. This is because, in the
(第6实施方式)(sixth embodiment)
在本实施方式中说明用来在执行代替记录的信息记录介质100中实现高效的数据再生的数据结构及其方法。In this embodiment, a data structure and a method thereof for realizing efficient data reproduction in the
图34表示盘片结构信息1100的不同实施方式即盘片结构信息6100的数据结构。FIG. 34 shows the data structure of the
在盘片结构信息6100中,新定义了替换记录控制信息列表6000。In the
替换记录控制信息列表6000的数据结构如图35A所示。替换记录控制信息列表6000包含数据长度6001、替换记录控制信息项#1~的列表。The data structure of the replacement recording
数据长度6001表示替换记录控制信息列表6000的整体数据容量或所含的代替管理信息项的总数。The data length 6001 indicates the entire data capacity of the replacement record
各个替换记录控制信息项与信息记录介质100上的各条光轨相对应。例如,使列表中替换记录控制信息项的顺序与光轨编号一致,从而将两者对应起来。Each item of replacement recording control information corresponds to each track on the
各个替换记录控制信息项包含用来表示在从相对应的光轨再生数据时是否需要参照替换管理信息列表1000的信息。Each item of replacement recording control information includes information indicating whether or not it is necessary to refer to the replacement
即,例如如果在光轨#1上根本不存在根据替换管理信息列表1000中包含的替换管理信息参照的物理簇(或物理扇区),则将表示该状态的值(例如“1”)设定到替换记录控制信息项#1。That is, for example, if there is no physical cluster (or physical sector) referred to by the replacement management information included in the replacement
反之,如果存在根据替换管理信息列表1000中包含的替换管理信息参照的物理簇(或物理扇区),或者不知道所参照的物理簇是否存在,则将表示该状态的值(例如“0”)设定到替换记录控制信息项#1。On the contrary, if there is a physical cluster (or physical sector) referred to according to the replacement management information included in the replacement
由此,在从信息记录介质100的特定光轨再生数据时,首先查看相应的替换记录控制信息项。由此,如果发现根本不存在根据替换管理信息参照的物理簇,则在其后的再生中可以省略替换信息列表的检索处理,能够提高再生性能。Thus, when data is reproduced from a specific track of the
另一方面,如果存在根据替换管理信息参照的物理簇或者不知道是否存在,则可以像上述的其他实施方式一样执行替换信息列表的检索处理进行数据再生。On the other hand, if there is a physical cluster referred to by the replacement management information or if it is not known, data reproduction can be performed by performing a search process of the replacement information list as in the other embodiments described above.
图35B是具有与图35A的替换记录控制信息列表6000同样效果的、不同的光轨管理信息6210的实施实例。FIG. 35B is an implementation example of different
这种光轨管理信息6210中重新定义了替换记录控制信息6214。In this
替换记录控制信息6214中包含与图35A的替换记录控制信息项的功能相同的信息,用来确定相应的光轨中是否存在根据替换管理信息参照的物理簇。The replacement recording control information 6214 includes the information with the same function as the replacement recording control information item in FIG. 35A, and is used to determine whether there is a physical cluster referred to by the replacement management information in the corresponding track.
由此,使用该光轨管理信息6210也可以像上述那样省略替换信息列表的检索处理,提高再生性能。As a result, even by using the
(第7实施方式)(seventh embodiment)
进一步描述本实施方式中的数据记录步骤。The data recording step in this embodiment will be further described.
这里说明为了分配代替簇而使用的、使用用户数据区中的特定光轨的情况下的记录步骤。Here, the recording procedure in the case of using a specific track in the user data area used for allocating a substitute cluster will be described.
进一步说明为了分配代替簇而使用的、用来管理光轨的光轨管理信息。The track management information for managing tracks used for allocating substitute clusters will be further described.
首先,说明使用封闭光轨作为代替簇的分配项时的情况。First, the case where a closed track is used as an allocation item instead of a cluster will be described.
如上所述,封闭光轨是扇区头信息201中不含光轨编号的光轨,新数据的追加是被禁止的。As described above, a closed track is a track that does not contain a track number in the header information 201, and the addition of new data is prohibited.
另一方面,在本实施方式中,在封闭光轨的未记录区中可以分配代替簇。On the other hand, in this embodiment, a substitute cluster may be allocated to an unrecorded area of a closed track.
图36A是在执行本实施方式的记录之前的信息记录介质100上的数据结构的示例图。FIG. 36A is a diagram showing an example of a data structure on the
这里,光轨#M7000是封闭光轨,已经记录了例如数据“A”7001等,虽然包含未记录区7002,但不能追加记录新的数据。Here, track #M7000 is a closed track on which, for example, data "A" 7001 has already been recorded. Although it includes an
此外,光轨#N7010是开放光轨,包含未记录区7012,可以记录新数据。Also, track #N7010 is an open track, includes an
假定在图36A的状态下从主机装置305发出了将数据“A1”7020伪重写记录到数据“A”7001上的指示。Assume that in the state of FIG. 36A , an instruction has been issued from the
按照到此为止所说明的记录步骤,例如在光轨#N7010的NWA7014A所示的位置记录数据“A1”7020,并设置与其相对应的替换管理信息。According to the recording procedure described so far, for example, data "A1" 7020 is recorded at the position indicated by NWA 7014A of track #N7010, and replacement management information corresponding thereto is set.
但是,在本实施方式中,如图37A所示,在封闭光轨#M7000的未记录区中NWA7004A所示的位置即PSN=a2记录数据“A1”7020。However, in this embodiment, as shown in FIG. 37A, data "A1" 7020 is recorded at the position indicated by NWA7004A in the unrecorded area of closed track #M7000, that is, PSN=a2.
此外,设置如图37B所示的替换管理信息列表那样的被替换项为PSN=a1、替换项为PSN=a2的替换管理信息7030,作为与该伪重写记录相对应的替换管理信息。In addition,
另外,也可以与上述实施方式同样地设置被替换项为PSN=a2、替换项为PSN=0的替换管理信息7031。In addition, the
此外,LRA7003A被更新为LRA7003B。Also, LRA7003A was updated to LRA7003B.
通过执行这种伪重写记录,就可以在保持封闭光轨的禁止记录新数据的功能的同时,将封闭光轨中存在的未记录区用作代替簇。By performing such pseudo-overwrite recording, it is possible to use the unrecorded area existing in the closed track as a substitute cluster while maintaining the function of prohibiting recording of new data of the closed track.
其结果是,在具备光轨结构的追加记录型信息记录介质中,能够不浪费地有效使用数据区。As a result, in the write-once information recording medium having the track structure, the data area can be effectively used without waste.
另外,如果在信息记录介质100的特定区域上只希望记录代替簇,则只要设置本实施方式的封闭光轨,就能够实现只记录代替簇而不记录来自主机装置305的新数据的区域。In addition, if only replacement clusters are to be recorded in a specific area of the
在例如对元数据文件440通过伪重写记录进行更新时,这样的区域可以用作只记录更新后的数据的区域。Such an area can be used as an area where only updated data is recorded when, for example, the
此外,针对图37A的状态,通过参照替换管理信息7030,就能够利用在其他实施方式中所说明的同样的步骤执行数据再生。Also, by referring to the
另外,图38A是在执行本实施方式的记录之前的信息记录介质100上的数据结构的另一个示例图。In addition, FIG. 38A is another exemplary diagram of the data structure on the
这里,光轨#M7100是封闭光轨,数据已经记录到LRA7103A所示的位置,而且不能追加记录新数据。Here, track #M7100 is a closed track, and data has been recorded to the position indicated by LRA7103A, and new data cannot be additionally recorded.
此外,光轨#N7110是开放光轨,已经记录了数据“B”7111,并可以进一步追加记录新数据。In addition, track #N7110 is an open track, data "B" 7111 has already been recorded, and new data can be additionally recorded.
假定在图38A的状态下从主机装置305发出了将数据“B1”7120伪重写记录到数据“B”7111上的指示。Assume that in the state of FIG. 38A , an instruction has been issued from the
按照到此为止所说明的记录步骤,例如在光轨#N7110的NWA7114A所示的位置记录数据“B1”7120,并设置与其相对应的替换管理信息。According to the recording procedure described so far, for example, data "B1" 7120 is recorded at the position indicated by NWA7114A of track #N7110, and replacement management information corresponding thereto is set.
但是,在本实施方式中,如图39A所示,在封闭光轨#M7100的未记录区中NWA7104A所示的位置即PSN=b2记录数据“B1”7120。However, in this embodiment, as shown in FIG. 39A, data "B1" 7120 is recorded at the position indicated by NWA7104A in the unrecorded area of closed track #M7100, that is, PSN=b2.
此外,设置如图39B所示的替换管理信息列表那样的被替换项为PSN=b1、替换项为PSN=b2的替换管理信息7130,作为与该伪重写记录相对应的替换管理信息。In addition,
另外,也可以与上述实施方式同样地设置被替换项为PSN=b2、替换项为PSN=0的替换管理信息7131。In addition, the
此外,LRA7103A被更新为LRA7103B。另一方面,光轨#N7110的LRA7113A不被更新。Also, LRA7103A was updated to LRA7103B. On the other hand, LRA7113A of track #N7110 is not updated.
通过执行这种伪重写记录,既能够没有浪费地有效利用数据区,当下一次在光轨#N7110记录新数据时,又不需要替换管理信息,能够抑制替换管理信息列表的容量。By performing such pseudo-overwrite recording, the data area can be effectively used without waste, and when new data is recorded in track #N7110 next time, replacement management information is not required, and the capacity of the replacement management information list can be suppressed.
由于存在这种效果,当信息记录介质100上存在多个未记录区时,也可以优先使用封闭光轨中的未记录区。Due to this effect, when there are a plurality of unrecorded areas on the
此外,针对图39A的状态,通过参照替换管理信息7130,就能够利用在其他实施方式中所说明的同样的步骤执行数据再生。Furthermore, by referring to the
进而,在针对封闭光轨进行替换记录时,也可以使用如图40所示的光轨管理信息7210。Furthermore, the
与光轨管理信息210不同,光轨管理信息7210中重新定义了光轨类别信息7250和最终替换记录位置信息7251。在后文叙述光轨类别信息7250。Different from the track management information 210, the track type information 7250 and the final replacement recording position information 7251 are redefined in the
下面说明最终替换记录位置信息7251。Next, the final replacement recording location information 7251 will be described.
如上所述,本实施方式中,在封闭光轨中也执行代替簇的记录,并更新该封闭光轨的LRA。As described above, in the present embodiment, recording of a substitute cluster is performed also in a closed track, and the LRA of the closed track is updated.
另一方面,在使用最终替换记录位置信息7251的情况下,光轨封闭后不更新该封闭光轨的LRA,而是更新最终替换记录位置信息7251。On the other hand, when the last replacement recording position information 7251 is used, after the track is closed, the LRA of the closed track is not updated, but the final replacement recording position information 7251 is updated.
即,在光轨刚被封闭之后,该封闭光轨的LRA与最终替换记录位置信息7251表示相同的位置。此外,每当代替簇被记录到封闭光轨时,最终替换记录位置信息7251都被更新。That is, immediately after the track is closed, the LRA of the closed track and the final replacement recording position information 7251 indicate the same position. Also, the final replacement recording position information 7251 is updated every time a replacement cluster is recorded in a closed track.
对该封闭光轨的下一次替换记录从最终替换记录位置信息7251所指示的位置开始执行。The next replacement recording to the closed track is performed from the position indicated by the last replacement recording position information 7251 .
依照此种方式,通过独立地管理封闭光轨的LRA和最终替换记录位置信息7251,就能够管理光轨在封闭前后的最终记录位置。 In this way, by independently managing the LRA of the closed track and the final replacement recording position information 7251, it is possible to manage the final recording position of the track before and after closing.
此外,为了简化可替换记录的封闭光轨的管理,也可以在扇区头信息201中重新设置该光轨编号的列表。In addition, in order to simplify the management of closed tracks that can be recorded alternatively, the list of track numbers can also be reset in the header information 201 .
该列表独立于扇区头信息201中包含的开放光轨的光轨编号的列表。This list is independent from the list of track numbers of open tracks contained in the header information 201 .
此外,也可以保存用来表示光轨被封闭后所记录的代替簇所需的信息。In addition, it is also possible to store information required to indicate a replacement cluster recorded after the track is closed.
例如,在上述替换管理信息1010B中设置新标志位Flag4,当光轨处于开放状态下进行记录时设定Flag4=0,当光轨处于封闭状态下进行记录时设定Flag4=1。For example, a new flag Flag4 is set in the replacement management information 1010B, and Flag4=0 is set when the track is open for recording, and Flag4=1 is set when the track is closed for recording.
在上述的替换管理信息730和780中,该Flag4设定为1。In the replacement management information 730 and 780 described above, this Flag4 is set to 1.
或者,各ECC簇中存在用来保存属性信息的区域。也可以在该用来保存属性信息的区域中保存用来表示光轨被封闭后所记录的代替簇所需的信息(例如,与上述的Flag4相同的信息)。Alternatively, an area for storing attribute information exists in each ECC cluster. Information required to indicate a replacement cluster recorded after the track is closed (for example, the same information as Flag4 above) may be stored in the attribute information storage area.
接着说明使用用户数据区中的专用光轨来分配代替簇时的情况。Next, a case where a replacement cluster is allocated using a dedicated track in the user data area will be described.
图41A是在执行本实施方式的记录之前的信息记录介质100上的数据结构的示例图。FIG. 41A is a diagram showing an example of a data structure on the
这里,光轨#M7300是与其他实施方式相同的光轨,例如已经记录了数据“A”7301等。以后将这种光轨称为用户数据光轨。Here, track #M7300 is the same track as in other embodiments, for example, data "A" 7301 and the like have already been recorded. Such a track is hereinafter referred to as a user data track.
此外,光轨#N7310是本实施方式中说明的光轨,包含扩展替换区7312。In addition, track #N7310 is the track described in this embodiment, and includes the extended
该光轨#N7310与现有的用户数据光轨不同,它是用于记录代替簇的专用光轨。即,具有与替换区106或107相同的功能的区域定义为用户数据区中的特定光轨。以后将这种光轨称为扩展替换光轨。This track #N7310 is different from the conventional user data track, and is a dedicated track for recording a substitute cluster. That is, an area having the same function as the
相对于图41A,将数据“A1”7320伪重写记录到数据“A”7301上之后的信息记录介质100的数据结构的示例图是图42A。With respect to FIG. 41A , an example diagram of the data structure of the
图42A中,数据“A1”7320记录在光轨#N7310。此外,生成替换管理信息7730,以图42B所示的PSN=a1作为被替换项,以PSN=a2作为替换项。In FIG. 42A, data "A1" 7320 is recorded in track #N7310. Also, replacement management information 7730 is generated, with PSN=a1 shown in FIG. 42B as the replaced item and PSN=a2 as the replaced item.
光轨#N7310与其他光轨相同,通过光轨管理信息来管理LRA,LRA7302A被更新为LRA7302B。Track #N7310 is the same as other tracks, LRA is managed by track management information, and LRA7302A is updated to LRA7302B.
图43是本实施方式中光轨管理信息7410的数据结构。相对于光轨管理信息210,新定义了光轨类别信息7750。FIG. 43 shows the data structure of the
光轨类别信息7750包含用来辨别上述的用户数据光轨和扩展替换光轨所需的信息,例如,如果是用户数据光轨则设定为“0”,如果是扩展替换光轨则设定为“1”。The track type information 7750 includes information necessary for distinguishing the above-mentioned user data track from the extended replacement track. For example, if it is a user data track, set it to "0", and if it is an extended replacement track, set to "1".
此外,相对于光轨管理信息210,也可以进一步设置用来表示有无扩展替换区7310的未记录区的标志位等。In addition, with respect to the track management information 210, a flag bit for indicating whether there is an unrecorded area of the extended replacement area 7310 or the like may be further set.
针对图42A的状态,通过参照替换管理信息7330,就能够利用在其他实施方式中所说明的同样的步骤执行数据再生。For the state of FIG. 42A , by referring to the replacement management information 7330 , data reproduction can be executed by the same procedure as described in other embodiments.
以上,通过定义扩展替换光轨作为代替簇的记录项,就可以实现用户数据区的替换记录,进而,替换项簇被集中配置到特定区域,因此,可以实现高速的数据访问。As mentioned above, by defining the extended replacement track as the recording item of the replacement cluster, the replacement recording of the user data area can be realized, and further, the replacement item cluster is concentrated in a specific area, so high-speed data access can be realized.
此外,用户数据光轨和扩展替换光轨既可以通过同一区段管理信息200中包含的形式进行管理,也可以设置只管理扩展替换光轨的新的区段管理信息。In addition, the user data track and the extended replacement track may be managed in the form included in the same session management information 200, or new session management information may be set to manage only the extended replacement track.
此外,为了简化这种扩展替换区的管理,也可以在盘片结构信息1100的替换区信息1105或替换区管理信息1108中追加信息。In addition, in order to simplify the management of such an extended spare area, information may be added to the spare area information 1105 or the spare area management information 1108 of the
即,也可以在用来管理替换区106而设置的信息中追加用来管理扩展替换区的信息。That is, information for managing the extended spare area may be added to the information set for managing the
例如,可以是表示有无扩展替换区的标志位或其容量、表示扩展替换区中有无未记录区的标志位、扩展替换区中的下一可记录位置信息等。For example, it may be a flag indicating whether there is an extended spare area or its capacity, a flag indicating whether there is an unrecorded area in the extended spare area, next recordable position information in the extended spare area, and the like.
此外,目前,新光轨只能追加到用户数据区的末端位置,而扩展替换光轨也可以追加到具有未记录区的开放光轨中。由此,能够提高用于确保扩展替换区的灵活性。Furthermore, currently, new tracks can only be appended to the end position of the user data area, while extended replacement tracks can also be appended to open tracks with unrecorded areas. Thereby, the flexibility for securing the expanded spare area can be improved.
此外,扩展替换区具备与替换区相同的功能,因此,也可以将扩展替换区用作记录最新的盘片结构信息1100、区段管理信息200、替换管理信息列表1000等盘片管理信息所需的临时盘片管理信息区。即,由于区段管理信息200、替换管理信息列表1000是可变长的数据,因此,当导入区101、内周替换区106、或外周替换区107中设置的临时盘片管理信息区的未记录区不足时,使用扩展替换区即可。此时,最好是将临时盘片管理信息的记录位置记录到例如导入区101中。In addition, the extended spare area has the same function as the spare area, so the extended spare area can also be used to record the latest
(第8实施方式)(eighth embodiment)
参照图43说明光轨管理信息7410的光轨类别信息7750。The track type information 7750 of the
光轨类别信息7750包含用来辨别对应的光轨是否是可以用作代替簇的记录项的光轨的信息,例如,如果是可以使用的光轨,则设定为“0”,如果是不可使用的光轨,则设定为“1”。The track type information 7750 includes information for identifying whether the corresponding track is a track that can be used as a record item instead of a cluster. For example, if it is a usable track, it is set to "0", and if it is not If the track is used, set it to "1".
所谓的不可使用的光轨是指例如没有未记录区的封闭光轨或者无论有无未记录区,由于某种原因而不愿将其用作替换项的光轨。A so-called unusable track is, for example, a track that is closed without an unrecorded area or a track that is unwilling to be used as a replacement for some reason regardless of the presence or absence of an unrecorded area.
此外,也可以允许将开放光轨设定为不可使用的光轨。In addition, it is also possible to allow open tracks to be set as unusable tracks.
通过具备这种光轨类别信息7750,驱动装置310就能够很容易地找到可以用作替换项的光轨。By having such track type information 7750, the drive device 310 can easily find a track that can be used as a replacement.
另外,图44是表示本实施方式中不同的光轨管理信息8210的数据结构的图。光轨管理信息8210不同于光轨管理信息210,新定义了替换控制信息8001。In addition, FIG. 44 is a diagram showing a data structure of different
替换控制信息8001提供用来相对于光轨管理信息8210所管理的光轨控制替换记录项所需的信息。The replacement control information 8001 provides information necessary for controlling the replacement of recorded items with respect to the track managed by the
更具体地说,可以指定替换区、同一光轨内、其他光轨等作为替换记录项。针对各个替换记录项预先确定规定值(例如0、1、2),将该值设定到替换控制信息8001中。More specifically, a replacement area, within the same track, another track, or the like can be designated as a replacement entry. A predetermined value (for example, 0, 1, 2) is predetermined for each replacement entry, and this value is set in the replacement control information 8001 .
驱动装置310参照替换控制信息8001确定在以某条光轨中的数据为被替换项的替换记录中代替簇的记录项。The drive device 310 refers to the replacement control information 8001 to determine the record item to replace the cluster in the replacement record in which the data in a certain track is replaced.
即,如果替换控制信息8001指示将替换区用作替换记录项,则将代替簇记录到替换区中。同样地,如果指示将其他光轨用作替换记录项,则将不同于被替换项的光轨的未记录区作为替换项。That is, if the replacement control information 8001 indicates to use the replacement area as a replacement record item, a replacement cluster is recorded into the replacement area. Likewise, if another track is indicated as a replacement entry, an unrecorded area of a track other than the replaced one is used as a replacement.
由以上可知,通过在光轨管理信息中设置光轨类别信息7750或替换控制信息8001这样的用来控制替换项的信息,就能够实现可以反映信息记录再生装置或用户在替换记录方面的意图的优异的安装。As can be seen from the above, by setting information for controlling replacement items such as track type information 7750 or replacement control information 8001 in the track management information, it is possible to achieve a system that can reflect the intention of the information recording and reproducing device or the user on replacement recording. Excellent installation.
本发明可用于提供一种在追加记录型光盘的伪重写记录中能够没有浪费地利用用户数据区的驱动装置等。The present invention can be used to provide a drive device and the like that can use a user data area without waste in pseudo-overwrite recording of a write-once optical disc.
Claims (3)
Applications Claiming Priority (15)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP177664/2004 | 2004-06-15 | ||
JP177663/2004 | 2004-06-15 | ||
JP2004177661 | 2004-06-15 | ||
JP177661/2004 | 2004-06-15 | ||
JP2004177664 | 2004-06-15 | ||
JP2004177662 | 2004-06-15 | ||
JP2004177666 | 2004-06-15 | ||
JP177662/2004 | 2004-06-15 | ||
JP177666/2004 | 2004-06-15 | ||
JP2004177663 | 2004-06-15 | ||
JP2004189013 | 2004-06-25 | ||
JP189013/2004 | 2004-06-25 | ||
JP255440/2004 | 2004-09-02 | ||
JP2004255440 | 2004-09-02 | ||
PCT/JP2005/010889 WO2005124766A1 (en) | 2004-06-15 | 2005-06-14 | Drive device |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102416189A Division CN101894576B (en) | 2004-06-15 | 2005-06-14 | Drive device |
CN2010102415909A Division CN101908358A (en) | 2004-06-15 | 2005-06-14 | drive unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101006509A CN101006509A (en) | 2007-07-25 |
CN101006509B true CN101006509B (en) | 2010-09-29 |
Family
ID=37031172
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200580001052XA Expired - Fee Related CN1842862B (en) | 2004-06-15 | 2005-06-14 | Drive device |
CN2005800278124A Expired - Fee Related CN101006509B (en) | 2004-06-15 | 2005-06-14 | drive unit |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200580001052XA Expired - Fee Related CN1842862B (en) | 2004-06-15 | 2005-06-14 | Drive device |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN1842862B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1144127C (en) * | 1995-11-10 | 2004-03-31 | 索尼公司 | Information processing device and information processing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6160778A (en) * | 1999-03-08 | 2000-12-12 | Matsushita Electric Industrial Co., Ltd. | Information recording medium, information recording method, information recording apparatus and information reproducing apparatus |
-
2005
- 2005-06-14 CN CN200580001052XA patent/CN1842862B/en not_active Expired - Fee Related
- 2005-06-14 CN CN2005800278124A patent/CN101006509B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1144127C (en) * | 1995-11-10 | 2004-03-31 | 索尼公司 | Information processing device and information processing method |
Non-Patent Citations (1)
Title |
---|
全文. |
Also Published As
Publication number | Publication date |
---|---|
CN101006509A (en) | 2007-07-25 |
CN1842862A (en) | 2006-10-04 |
CN1842862B (en) | 2012-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4908575B2 (en) | Drive device | |
JP4989710B2 (en) | Drive device | |
CN101807418A (en) | Drive device | |
JP4830034B2 (en) | Drive device | |
CN101577134B (en) | Drive device | |
CN101006509B (en) | drive unit | |
CN1860549B (en) | Drive device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100929 Termination date: 20200614 |