CN1716427A - Recording device and method, host device, semiconductor circuit, and information recording medium - Google Patents
Recording device and method, host device, semiconductor circuit, and information recording medium Download PDFInfo
- Publication number
- CN1716427A CN1716427A CN 200510078357 CN200510078357A CN1716427A CN 1716427 A CN1716427 A CN 1716427A CN 200510078357 CN200510078357 CN 200510078357 CN 200510078357 A CN200510078357 A CN 200510078357A CN 1716427 A CN1716427 A CN 1716427A
- Authority
- CN
- China
- Prior art keywords
- data
- information
- file
- recorded
- recording
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 110
- 239000004065 semiconductor Substances 0.000 title claims description 9
- 230000008439 repair process Effects 0.000 claims abstract description 127
- 230000008569 process Effects 0.000 claims description 63
- 239000000284 extract Substances 0.000 claims description 9
- 238000006073 displacement reaction Methods 0.000 claims description 4
- 230000033458 reproduction Effects 0.000 claims 16
- 238000007726 management method Methods 0.000 description 177
- 238000012545 processing Methods 0.000 description 48
- 238000005192 partition Methods 0.000 description 34
- 238000010586 diagram Methods 0.000 description 31
- 238000003860 storage Methods 0.000 description 28
- 230000007246 mechanism Effects 0.000 description 8
- 238000012795 verification Methods 0.000 description 8
- OAIGZYFGCNNVIE-ZPFDUUQYSA-N Ala-Val-Asp-Pro Chemical compound C[C@H](N)C(=O)N[C@@H](C(C)C)C(=O)N[C@@H](CC(O)=O)C(=O)N1CCC[C@H]1C(O)=O OAIGZYFGCNNVIE-ZPFDUUQYSA-N 0.000 description 6
- 238000013507 mapping Methods 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 4
- 239000003550 marker Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000002950 deficient Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 238000000547 structure data Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Optical Recording Or Reproduction (AREA)
Abstract
Description
该非临时申请基于35U.S.C.§119(a)、申请号为2004-123499于2004年4月19日于日本申请的专利申请的优先权,其全部内容在此引入以作参考。This non-provisional application is based on the priority of 35 U.S.C. §119(a), application number 2004-123499 filed in Japan on April 19, 2004, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本发明涉及一种信息记录媒体、一种用于在信息记录媒体中记录信息的记录设备、一种主机设备、一种半导体电路、一种记录方法以及一种使得记录设备执行记录操作的程序。The present invention relates to an information recording medium, a recording device for recording information in the information recording medium, a host device, a semiconductor circuit, a recording method, and a program for causing the recording device to perform a recording operation.
背景技术Background technique
近年来,各种类型的信息记录媒体常常被用于记录数字数据。特别地,一种可记录(只写一次)光盘因为它不贵即使记录次数仅限于一次但仍然正在普及。In recent years, various types of information recording media are often used to record digital data. In particular, a recordable (write-once) optical disc is gaining popularity even though the number of recordings is limited to one time because it is inexpensive.
光盘的实例包括CD-R盘和DVD-R盘。已经提出了往CD-R盘或DVD-R盘上逐渐增加写入数据的技术(例如,专利公开1)。特别地,一种VAT技术和一种多边界(multi-border)(或多会话)方法是为大家所熟知的。Examples of optical discs include CD-R discs and DVD-R discs. A technique of incrementally writing data to a CD-R disc or DVD-R disc has been proposed (for example, Patent Publication 1). In particular, a VAT technique and a multi-border (or multi-session) approach are well known.
作为本发明的背景,将给出如何使用VAT方法和多边界方法向/从DVD-R盘上记录/再现数据的说明。As a background of the present invention, a description will be given of how to record/reproduce data to/from a DVD-R disc using the VAT method and the multi-boundary method.
首先,将参考附图说明一种使用VAT逐渐增加的记录方法。例如,DVD-R盘被图解为一种信息记录媒体。以下将描述在信息记录媒体上记录图27中所示的文件和目录结构以及一种合成数据结构的过程。First, a recording method using a gradual VAT increase will be described with reference to the drawings. For example, a DVD-R disc is illustrated as an information recording medium. A procedure for recording the file and directory structure shown in FIG. 27 and a composite data structure on an information recording medium will be described below.
将参考图28说明格式化处理。图28示出了在对DVD-R盘(传统的信息记录媒体10000)进行格式化处理之后时刻的数据。Formatting processing will be described with reference to FIG. 28 . FIG. 28 shows data at the moment after the format processing of the DVD-R disc (conventional information recording medium 10000).
该DVD-R盘是一种以DVD-R物理规格定义的信息记录媒体。此外,文件记录采用以DVD-R文件系统规格所定义的卷/文件结构。该DVD-R文件系统规格是符合ISO/IEC 13346标准或通用磁盘格式(UDF)规格的。在下文中,假定卷/文件结构是符合UDF规格的。The DVD-R disc is an information recording medium defined by the DVD-R physical specification. In addition, file recording employs a volume/file structure defined in the DVD-R file system specification. The DVD-R file system specification is compliant with the ISO/IEC 13346 standard or the Universal Disk Format (UDF) specification. In the following, it is assumed that the volume/file structure conforms to the UDF specification.
如图28所示,该信息记录媒体10000具有一种由导入区10101和卷空间10109组成的数据区域。As shown in FIG. 28, the information recording medium 10000 has a data area composed of a lead-in
该导入区10101包括物理格式信息区域10104。提供物理格式信息是为了记录信息记录媒体10000上分配的各种区域的管理信息。管理信息包括,例如,有关下述边界外区域中的地址的信息等。请注意,该物理格式信息区域10104在格式化处理之后立即处于未记录状态。The lead-in
该卷空间10109包括卷结构区域10410、文件结构/文件区域10420,以及虚配置表(VAT)结构区域10430。The
在该卷结构区域10410中,记录一种以UDF规格定义的卷结构。该卷结构包括NSR描述符、主卷描述符、执行描述符、分区描述符、逻辑卷描述符、未分配的空间描述符、终端描述符、逻辑卷完整性描述符、锚定卷描述符等等。In this volume structure area 10410, a volume structure defined in the UDF specification is recorded. The volume structure includes NSR descriptor, main volume descriptor, execution descriptor, partition descriptor, logical volume descriptor, unallocated space descriptor, terminal descriptor, logical volume integrity descriptor, anchor volume descriptor, etc. wait.
在该卷结构/文件区域10410中记录了文件组描述符10421和FE(ROOT)10422,它们被用作分区空间中的目录分级结构的出发点。该FE(ROOT)10422是一种ROOT目录文件的文件入口(file entry)。In this volume structure/file area 10410 are recorded a file group descriptor 10421 and FE(ROOT) 10422, which are used as the starting point of the directory hierarchy in the partition space. The FE (ROOT) 10422 is a file entry (file entry) of a ROOT directory file.
文件入口(以下简称FE)是一种以UDF规格定义的数据结构,并被用于管理将被记录在卷空间之中的文件的位置或大小。请注意,为了简明,假定该ROOT目录文件包括在FE(ROOT)10422中。A file entry (hereinafter referred to as FE) is a data structure defined by the UDF specification, and is used to manage the position or size of a file to be recorded in the volume space. Note that it is assumed that the ROOT directory file is included in FE(ROOT)10422 for simplicity.
在该VAT结构区域10430中记录了VAT 10431和VAT ICB 10432。为了简化对只写一次记录媒体中的文件结构的更新过程,VAT是一种以UDF规格定义的数据结构。In this
当使用VAT时,在文件结构数据的卷空间中的记录位置,诸如FE,是使用在虚拟地址空间中的虚拟地址来指明的。该VAT被用于保持逻辑地址空间中的逻辑地址和虚拟地址之间的对应关系,其中的逻辑地址空间是信息记录媒体上的记录位置。When VAT is used, the recording position in the volume space of the file structure data, such as FE, is specified using a virtual address in the virtual address space. The VAT is used to maintain correspondence between logical addresses and virtual addresses in a logical address space, which is a recording location on an information recording medium.
具有上述特征,可以实际上在诸如DVD-R盘的不允许重写的信息记录媒体上完成对数据的重写。With the above features, rewriting of data can be actually performed on an information recording medium that does not allow rewriting such as a DVD-R disc.
在VAT信息记录媒体上的记录位置是使用VAT ICB来指明的,其被分配给数据记录在信息记录媒体之上的区域的结束扇区(end sector)。The recording position on the VAT information recording medium is indicated using the VAT ICB, which is allocated to the end sector (end sector) of the area where data is recorded on the information recording medium.
其次,在图27的文件和目录结构中,将参考图29说明目录(Dir-A)和数据文件(File-a)的记录过程。Next, in the file and directory structure of FIG. 27, the recording process of the directory (Dir-A) and the data file (File-a) will be described with reference to FIG. 29.
就处于图28的状态中的信息记录媒体10000而言,在执行目录(Dir-A)和数据文件(File-a)的记录过程中,将数据文件(Flle-a)10501、FE(File-a)10502、FE(Dir-A)10503,和FE(ROOT)10504记录在如图29所示的文件结构/文件区域10500中。请注意,目录文件包括在FE(Dir-A)10503中。With regard to the information recording medium 10000 in the state of FIG. 28, during the recording process of the directory (Dir-A) and the data file (File-a), the data file (Flle-a) 10501, FE (File-a) are recorded. a) 10502, FE(Dir-A) 10503, and FE(ROOT) 10504 are recorded in a file structure/file area 10500 as shown in FIG. 29 . Note that the catalog file is included in FE(Dir-A)10503.
新近注册FE 10502、10503和10504的VAT 10521和VAT ICB 10522都记录在VAT结构区域10520中。VAT 10521 and VAT ICB 10522 of newly registered FE 10502, 10503 and 10504 are recorded in VAT structure area 10520.
进一步地,当执行结束处理时,将预定数据记录在不包括下一个边界标识器10531的边界外区域10530中。此外,将预定数据记录在导入区10101的物理格式信息区域10104中,其中该导入区在格式化处理之后处于未记录状态。Further, when the end processing is performed, predetermined data is recorded in the border-out area 10530 that does not include the next border marker 10531 . Furthermore, predetermined data is recorded in the physical format information area 10104 of the lead-in
请注意,执行结束处理,以允许信息再现设备检索最新的卷/文件结构。Note that end processing is performed to allow the information reproducing apparatus to retrieve the latest volume/file structure.
就具有图28的格式化处理之后的数据结构的信息记录媒体10000而言,当执行该文件记录处理和结束处理时,在该信息记录媒体10000上形成图29的数据结构。With regard to the information recording medium 10000 having the data structure after the formatting process of FIG. 28, the data structure of FIG. 29 is formed on the information recording medium 10000 when the file recording process and the end process are executed.
其次,在图27的文件和目录结构中,将参考图30说明目录(Dir-B)和数据文件(File-b)的记录过程。Next, in the file and directory structure of FIG. 27, the recording process of the directory (Dir-B) and the data file (File-b) will be described with reference to FIG.
在这种情况下,将数据文件(File-b)10601和与之相应的文件结构,即,FE(File-b)10602、FE(Dir-B)10603和FE(ROOT)10604,记录在文件结构/文件区域10600中。In this case, the data file (File-b) 10601 and the file structure corresponding thereto, namely, FE(File-b) 10602, FE(Dir-B) 10603, and FE(ROOT) 10604, are recorded in the file structure/files area 10600.
此外,将最新的VAT结构,即VAT 10611和VAT ICB 10612,记录在VAT结构区域10610中。In addition, the latest VAT structure, namely VAT 10611 and VAT ICB 10612, is recorded in the VAT structure area 10610.
最终,通过再一次执行结束处理,将预定的数据记录在不包括下一个边界标识器10621的边界外区域10620中。此外,记录该下一个标识器10531,该下一个标识器10531被分配在边界外区域10530和包括物理格式信息区域10631的边界内区域10630中。Finally, by executing the end processing again, predetermined data is recorded in the border-out area 10620 that does not include the next border marker 10621 . Furthermore, the next marker 10531 allocated in the border-out area 10530 and the border-in area 10630 including the physical format information area 10631 is recorded.
就具有图29的数据结构的信息记录媒体10000而言,在执行上述文件记录程序和结束处理时,在信息记录媒体10000上形成如图30所示的数据结构。With regard to the information recording medium 10000 having the data structure of FIG. 29, the data structure shown in FIG. 30 is formed on the information recording medium 10000 when the above-mentioned file recording program and end processing are executed.
从而,每当执行结束处理时,形成记录在卷空间10109中或插入在边界内区域和边界外区域之间的区域的导入区10101。在下文中,该区域被称为边界区域。Thus, the lead-in
例如,在图30中,给出了边界区域#110700或边界区域#210701。该边界区域类似于CD-R盘的一种会话。For example, in FIG. 30, border area #110700 or border area #210701 is given. The border area is similar to a session of a CD-R disc.
其次,将参考图31所示的再现过程流程图说明再现文件的过程。例如,为了说明的目的而描述再现该数据文件(File-a)10501的过程。Next, the process of reproducing a file will be described with reference to the reproduction process flowchart shown in FIG. 31 . For example, the process of reproducing the data file (File-a) 10501 is described for the purpose of illustration.
从位于导入区10101的物理格式信息区域10104处再现数据以获得物理格式信息(步骤S1101)。Data is reproduced from the physical format information area 10104 located in the lead-in
其次,再现下一个边界标志的数据(步骤S1102)。在步骤S1101或步骤S1103中获得的物理格式信息包括边界外区域的地址信息。在边界外区域的预定位置上记录下一个边界标志的数据,并且从该位置再现下一个边界标志。Next, data of the next boundary marker is reproduced (step S1102). The physical format information obtained in step S1101 or step S1103 includes address information of the out-of-boundary area. Data of the next border mark is recorded at a predetermined position of the border-out area, and the next border mark is reproduced from the position.
例如,在图30中,物理格式信息区域10104包括边界外区域10530的地址信息。包括在边界内区域10630内的物理格式区域10631具有边界外区域10620的地址信息。For example, in FIG. 30 , the physical format information area 10104 includes address information of the out-of-boundary area 10530 . The physical format area 10631 included in the border-in area 10630 has address information of the border-out area 10620 .
当在该步骤中再现的下一个边界标志是处于记录状态时,存在一种较新的(later)记录边界区域,因此,执行步骤S1103及后续步骤。When the next boundary mark reproduced in this step is in the recording state, there is a later recording boundary area, and therefore, step S1103 and subsequent steps are performed.
依照包括在于步骤S1101或步骤S1104获得的物理格式信息中的边界内区域的地址信息,再现下一个边界内区域(步骤S1103)。物理格式信息是从再现的边界内区域中获得的。In accordance with the address information of the in-boundary area included in the physical format information obtained in step S1101 or step S1104, the next in-boundary area is reproduced (step S1103). The physical format information is obtained from the rendered in-bounds area.
当在步骤S1102中再现的下一个边界标志是处于未记录状态时,当前的边界区域是最新的,因此执行步骤S1104和其后步骤。When the next border mark reproduced in step S1102 is in an unrecorded state, the current border area is the latest, so step S1104 and subsequent steps are performed.
当到达最新的边界区域时,参考所获得的最新物理格式信息,以使得从边界区域地址信息中获取可访问区域末端的物理地址(步骤S1104)。在图30中,边界区域#210701的末端是可访问区域的末端。When the latest border area is reached, the obtained latest physical format information is referred to so that the physical address of the end of the accessible area is acquired from the border area address information (step S1104). In FIG. 30, the end of the border area #210701 is the end of the accessible area.
其后,再现卷结构(步骤S1105)。在这种情况下,再现卷结构区域10410。Thereafter, the volume structure is reproduced (step S1105). In this case, the volume structure area 10410 is reproduced.
如此读取的卷结构包括文件组描述符10421的地址信息以及分区开始位置。就VAT方法来说,该卷结构具有以UDF规格定义的虚拟分区映像。基于该信息,认识到VAT结构是记录在卷空间中的。The volume structure thus read includes the address information of the file group descriptor 10421 and the partition start position. In the case of the VAT method, the volume structure has a virtual partition image defined in the UDF specification. Based on this information, it is recognized that the VAT structure is recorded in the volume space.
其后,再现记录在可访问区域末端的VAT ICB 10612(步骤S1106)。VAT的记录位置信息是从如此读取的VAT ICB 10612处获得的,以便读出VAT 10611。Thereafter, the VAT ICB 10612 recorded at the end of the accessible area is reproduced (step S1106). The record position information of VAT is obtained from VAT ICB 10612 thus read in order to read VAT 10611.
当使用虚拟地址管理目标文件及其管理信息时,在步骤S1106中获得的VAT 10611被用于索引VAT入口,在其中注册目标文件的文件入口或目录(步骤S1107)。When using the virtual address to manage the target file and its management information, the VAT 10611 obtained in step S1106 is used to index the VAT entry in which the file entry or directory of the target file is registered (step S1107).
其后,以文件结构/文件区域10420中的文件组描述符10421作为起始点将该虚拟地址转译为逻辑地址,依次读出文件结构/文件区域10600中的FE(ROOT)10604、记录在FE(ROOT)10604中的ROOT目录、文件结构/文件区域10500中的FE(Dir-A)10503、记录在FE(Dir-A)10503中的目录(Dir-A)、FE(File-a)10502。Thereafter, with the file group descriptor 10421 in the file structure/file area 10420 as the starting point, the virtual address is translated into a logical address, and the FE (ROOT) 10604 in the file structure/file area 10600, recorded in FE ( ROOT directory in ROOT) 10604, FE (Dir-A) 10503 in file structure/file area 10500, directory (Dir-A) and FE (File-a) 10502 recorded in FE (Dir-A) 10503 .
这样,通过FE(File-a)10502获得了数据文件(File-a)10501的记录地址,数据文件(File-a)10501得以再现。In this way, the recording address of the data file (File-a) 10501 is obtained by the FE (File-a) 10502, and the data file (File-a) 10501 is reproduced.
此前已经说明了使用VAT方法向DVD-R盘逐渐增加写入数据的方法。替代地,多边界方法已经作为一种不同于该VAT方法的逐渐增加的记录方法而众所周知。就CD-R盘而言,一种相似的方法称作多会话方法。The method of incrementally writing data to a DVD-R disc using the VAT method has been described previously. Alternatively, the multi-boundary method has been known as an incremental recording method different from the VAT method. In the case of CD-R discs, a similar approach is called the multi-session approach.
在该多边界方法中,在一个边界区域接着一个边界区域的基础上执行逐渐增加的数据记录,并且还在一个边界区域接着一个边界区域的基础上记录卷结构和文件结构。In this multi-border method, incremental data recording is performed on a border area by border area basis, and volume structures and file structures are also recorded on a border area by border area basis.
在该多边界方法中,与VAT方法不同,不使用虚拟地址更新数据。当更新文件结构时,新产生卷结构和文件结构,并且将数据记录在新的边界区域中。In this multi-boundary method, unlike the VAT method, data is not updated using virtual addresses. When the file structure is updated, the volume structure and the file structure are newly generated, and data is recorded in a new border area.
在该多边界方法中,通过确认最新的边界区域和记录由此而来的最新的卷结构而执行再现。In this multi-boundary method, reproduction is performed by confirming the latest border area and recording the resulting latest volume structure.
其后,依照以UDF规格定义的数据结构依次跟踪数据,借此再现指定的文件。例如,可以通过类似于只读DVD-ROM盘等等的再现过程读出数据。Thereafter, the data is sequentially tracked in accordance with the data structure defined in the UDF specification, thereby reproducing the specified file. For example, data can be read out through a reproduction process similar to a read-only DVD-ROM disc or the like.
同样在多边界/多会话方法中,常常执行采用图像数据的有效数据记录。Also in the multi-boundary/multi-session approach, efficient data recording with image data is often performed.
当预先已知所有将被记录的文件时(例如,数据备份等等),创建包括所有将被记录在硬盘驱动器上的文件数据的文件、卷结构及其文件结构。When all files to be recorded are known in advance (for example, data backup, etc.), files including all file data to be recorded on the hard disk drive, volume structure and file structure thereof are created.
该文件是一种图像数据。通过分配边界区域(或会话)和连续地记录该图像数据而将图像数据记录到该区域中。This file is a kind of image data. Image data is recorded into a border area (or session) by allocating it and continuously recording the image data.
因为连续地执行记录并且预先创建了文件结构,记录的额外消耗是很小的,借此使得高速记录图像数据成为可能。Since recording is performed continuously and the file structure is created in advance, the overhead of recording is small, thereby making it possible to record image data at a high speed.
[专利公开1]US专利号5666531[Patent Publication 1] US Patent No. 5666531
然而,当上述图像数据被用作记录时,如果存在错误的话,不可能修复记录数据中的错误。However, when the above-mentioned image data is used as a record, it is impossible to repair an error, if any, in the recorded data.
如果当执行检验处理时记录数据,其中在检验处理中在数据被记录之后立即再现数据以确定记录是否成功,那么由记录磁头访问的次数就会大幅度增加,从而导致在记录时间方面的较大增长。If data is recorded when performing a verification process in which the data is reproduced immediately after the data is recorded to determine whether the recording is successful, the number of times of access by the recording head is greatly increased, resulting in a large delay in the recording time. increase.
发明内容Contents of the invention
一种记录设备,用于在信息记录媒体中记录信息。该记录设备包括:用于在信息记录媒体中记录图像数据的装置,该图像数据包括文件结构和文件;用于再现至少一部分记录在该信息记录媒体中的图像数据的装置;用于将该再现数据与对应于该再现数据的一部分图像数据进行比较的装置,以便对在其中图像数据记录出现错误的区域作出检测,作为出错区域;用于从该图像数据中,将相应于记录在出错区域中的数据的数据提取出来作为修复数据的装置;用于在信息记录媒体中记录修复数据的装置;用于产生更新信息以将记录在出错区域中的数据更新为修复数据的装置;以及用于在该信息记录媒体中记录更新信息的装置。A recording device for recording information in an information recording medium. The recording apparatus includes: means for recording image data in an information recording medium, the image data including file structures and files; means for reproducing at least a part of the image data recorded in the information recording medium; means for comparing data with a part of the image data corresponding to the reproduced data, so as to detect an area in which an error occurs in the recording of the image data as an error area; means for extracting data of the data of the data as repair data; means for recording repair data in an information recording medium; means for generating update information to update data recorded in an error area as repair data; A device for recording update information on the information recording medium.
在本发明的一个实施例中,用于产生更新信息的装置产生更新信息,以使得更新信息包括置换管理信息,该管理信息将表示记录在出错区域中的数据的记录位置的信息与表示该修复数据的记录位置的信息相互关联。In one embodiment of the present invention, the means for generating update information generates the update information so that the update information includes replacement management information that combines information indicating the recording position of data recorded in the error area with information indicating the repair The information on the recording location of the data is related to each other.
在本发明的一个实施例中,将包括在该图像数据内的每个文件的再现数据与相应于该再现数据的那部分图像数据进行比较。In one embodiment of the present invention, the reproduced data of each file included in the image data is compared with the part of the image data corresponding to the reproduced data.
在本发明的一个实施例中,该记录设备进一步包括用于确定图像数据中的文件是否是实时文件的装置,其中当确定该文件不是任何实时文件时,将该修复数据记录在该信息记录媒体中。In one embodiment of the present invention, the recording device further includes means for determining whether the file in the image data is a real-time file, wherein when it is determined that the file is not any real-time file, the repair data is recorded on the information recording medium middle.
在本发明的一个实施例中,该记录设备进一步包括:用于确定包括一部分实时数据的范围的长度的装置,以使得当记录在该出错区域中的数据包括一部分实时数据时,可以连续地再现实时数据;以及用于将相应于该范围的数据从图像数据中提取出来作为修复数据的装置,其中该用于产生更新信息的装置产生更新信息,以使得该更新信息包括置换管理信息,该置换管理信息使表示记录在出错区域中的数据位置的第一地址与表示该修复数据的记录位置的第二地址和第二地址信息相互关联。In one embodiment of the present invention, the recording device further includes: means for determining the length of the range including a part of real-time data, so that when the data recorded in the error area includes a part of real-time data, it can be reproduced continuously real-time data; and means for extracting data corresponding to the range from the image data as repair data, wherein the means for generating update information generates update information such that the update information includes replacement management information, the replacement The management information correlates a first address indicating the position of data recorded in the error area with a second address indicating the recording position of the repair data and the second address information.
在本发明的另一个方面,提供一种主机设备,该主机设备使用在信息记录媒体中记录信息的记录设备中。该主机设备包括系统控制部分,其中该系统控制部分设置来控制驱动设备,该驱动设备包括记录/再现部分,用于执行信息记录媒体的记录操作或再现操作。该系统控制部分包括:用于指示该驱动设备以在信息记录媒体中记录包括文件结构和文件的图像数据的装置;用于指示该驱动设备以再现至少一部分记录在该信息记录媒体中的图像数据,从而获得再现数据的装置;用于将再现数据与对应于该再现数据的一部分图像数据进行比较,从而将其中图像数据的记录出现错误的区域检测作为出错区域的装置;用于从该图像数据中将相应于记录在该出错区域中的数据的数据提取出来作为修复数据的装置;用于指示该驱动设备以在信息记录媒体中记录修复数据的装置;用于产生将出错区域中记录的数据更新为修复数据的更新信息的装置;以及用于指示该驱动设备以在信息记录媒体中记录更新信息的装置。In another aspect of the present invention, there is provided a host device used in a recording device that records information in an information recording medium. The host device includes a system control section, wherein the system control section is configured to control a drive device including a recording/reproducing section for performing a recording operation or a reproducing operation of the information recording medium. The system control section includes: means for instructing the drive device to record image data including file structures and files in the information recording medium; means for instructing the drive device to reproduce at least a part of the image data recorded in the information recording medium , thereby obtaining means for reproduced data; for comparing the reproduced data with a part of image data corresponding to the reproduced data, thereby detecting an area in which an error occurred in recording of the image data as an error area; for obtaining from the image data Means for extracting data corresponding to data recorded in the error area as repair data; means for instructing the drive device to record repair data in the information recording medium; for generating data to be recorded in the error area means for updating update information as repair data; and means for instructing the drive apparatus to record the update information in the information recording medium.
在本发明的另一个方面,提供一种半导体集成电路,该半导体集成电路用于在信息记录媒体中记录信息的记录设备中。该半导体集成电路设置来控制驱动设备,该驱动设备包括记录/再现部分,该部分用于执行信息记录媒体的记录操作或再现操作。该半导体集成电路包括:用于指示该驱动设备以在信息记录媒体中记录包括文件结构和文件的图像数据的装置;用于指示该驱动设备以再现至少一部分记录在该信息记录媒体中的图像数据,从而获得再现数据的装置;用于将再现数据与对应于该再现数据的一部分图像数据进行比较,从而将其中图像数据的记录出现错误的区域检测作为出错区域的装置;用于从该图像数据中将相应于记录在该出错区域中的数据的数据提取出来作为修复数据的装置;用于指示该驱动设备将修复数据记录在信息记录媒体中的装置;用于产生将出错区域中记录的数据更新为修复数据的更新信息的装置;以及用于指示该驱动设备以在信息记录媒体中记录更新信息的装置。In another aspect of the present invention, there is provided a semiconductor integrated circuit used in a recording device for recording information in an information recording medium. The semiconductor integrated circuit is provided to control a drive device including a recording/reproducing section for performing a recording operation or a reproducing operation of an information recording medium. The semiconductor integrated circuit includes: means for instructing the drive device to record image data including a file structure and files in the information recording medium; and for instructing the drive device to reproduce at least a part of the image data recorded in the information recording medium , thereby obtaining means for reproduced data; for comparing the reproduced data with a part of image data corresponding to the reproduced data, thereby detecting an area in which an error occurred in recording of the image data as an error area; for obtaining from the image data Means for extracting data corresponding to data recorded in the error area as repair data; means for instructing the drive device to record repair data in the information recording medium; for generating data recorded in the error area means for updating update information as repair data; and means for instructing the drive apparatus to record the update information in the information recording medium.
在本发明的另一个方面,给出一种记录方法,用于在信息记录媒体中记录信息。该记录方法包括以下步骤:在信息记录媒体中记录图像数据,该图像数据包括文件结构和文件;再现至少一部分记录在该信息记录媒体中的图像数据;将该再现数据与对应于该再现数据的一部分图像数据进行比较,以便检测其中图像数据记录出现错误的区域,将其作为出错区域;从该图像数据中,将与记录在出错区域中的数据对应的数据提取出来作为修复数据;在信息记录媒体中记录修复数据;产生更新信息以将记录在出错区域中的数据更新为修复数据;以及在该信息记录媒体中记录更新信息。In another aspect of the present invention, a recording method for recording information in an information recording medium is provided. The recording method includes the steps of: recording image data in an information recording medium, the image data including a file structure and files; reproducing at least a part of the image data recorded in the information recording medium; A part of the image data is compared in order to detect an area where an error occurs in the image data record, and use it as an error area; from the image data, the data corresponding to the data recorded in the error area is extracted as repair data; in the information record recording repair data in the medium; generating update information to update the data recorded in the error area to the repair data; and recording the update information in the information recording medium.
在本发明的另一个方面,在记录设备中使用的主机设备中实施一种方法,用于在信息记录媒体中记录信息。该方法包括以下步骤:指示驱动设备以在信息记录媒体中记录图像数据,该图像数据包括文件结构和文件;指示该驱动设备以再现至少一部分记录在该信息记录媒体中的图像数据,从而获得再现数据;将再现数据与对应于该再现数据的一部分图像数据进行比较,从而将其中图像数据的记录出现错误的区域检测出来作为出错区域;从该图像数据中将对应于记录在该出错区域中的数据的数据提取出来作为修复数据;指示该驱动设备以在信息记录媒体中记录修复数据;产生用于将出错区域中记录的数据更新为修复数据的更新信息;以及指示该驱动设备以将更新信息记录在信息记录媒体中。In another aspect of the present invention, a method for recording information in an information recording medium is implemented in a host device used in the recording device. The method includes the steps of: instructing a drive device to record image data in an information recording medium, the image data including a file structure and files; instructing the drive device to reproduce at least a part of the image data recorded in the information recording medium, thereby obtaining reproduction data; compare reproduced data with a part of image data corresponding to the reproduced data, thereby detecting an area in which an error occurs in the recording of the image data as an error area; The data of the data is extracted as repair data; Instruct the drive device to record the repair data in the information recording medium; Generate update information for updating the data recorded in the error area to the repair data; and Instruct the drive device to update the information recorded on an information recording medium.
在本发明的另一个方面,在记录设备中使用的主机设备中实施一种程序,以用于在信息记录媒体中记录信息。该程序包括以下步骤:指示驱动设备以在信息记录媒体中记录图像数据,该图像数据包括文件结构和文件;指示该驱动设备以再现记录在该信息记录媒体中的图像数据的至少一部分,从而获得再现数据;将再现数据与对应于该再现数据的一部分图像数据进行比较,从而将其中图像数据的记录出现错误的区域检测出来作为出错区域;从该图像数据中将对应于记录在该出错区域中的数据的数据提取出来作为修复数据;指示该驱动设备以在信息记录媒体中记录修复数据;产生用于将出错区域中记录的数据更新为修复数据的更新信息;以及用于指示该驱动设备以在信息记录媒体中记录更新信息。In another aspect of the present invention, a program for recording information in an information recording medium is implemented in a host device used in the recording device. The program includes the steps of: instructing a drive device to record image data in an information recording medium, the image data including a file structure and files; instructing the drive device to reproduce at least a part of the image data recorded in the information recording medium, thereby obtaining reproduce data; compare the reproduced data with a part of image data corresponding to the reproduced data, thereby detecting an area in which an error occurs in the recording of the image data as an error area; from the image data corresponding to the image data recorded in the error area data of the data extracted as repair data; instruct the drive device to record the repair data in the information recording medium; generate update information for updating the data recorded in the error area to the repair data; and for instructing the drive device to The update information is recorded on the information recording medium.
在本发明的另一个方面,给出一种在其上记录有更新信息的信息记录媒体。该更新信息是表示记录在出错区域中的数据已经更新为修复数据的信息。该出错区域是一种其中图像数据的记录出现错误的区域。该修复数据是通过从图像数据中将对应于出错区域中记录的数据的数据提取出来而获得的。In another aspect of the present invention, there is provided an information recording medium having update information recorded thereon. This update information is information indicating that the data recorded in the error area has been updated to repair data. The error area is an area in which an error occurs in the recording of image data. The repair data is obtained by extracting data corresponding to the data recorded in the error area from the image data.
根据本发明,即使在图像数据的记录中发生错误,也可以修复该数据。结果,可以完成可靠的数据记录/再现。According to the present invention, even if an error occurs in the recording of image data, the data can be repaired. As a result, reliable data recording/reproduction can be accomplished.
此外,与依次执行检验处理相比,可以以高速度记录该图像数据。In addition, the image data can be recorded at a high speed compared with sequentially performing inspection processing.
因而,在此说明的本发明使得提供信息记录媒体的优点成为可能,其中,即使当图像数据用于记录文件时,也可以可靠地记录/再现数据,并且即使发生记录故障,该故障也可以修复,一种在信息记录媒体上记录信息的方法和设备,以及一种再现在该信息记录媒体上记录的信息的方法和设备。Thus, the present invention described here makes it possible to provide the advantages of an information recording medium in which, even when image data is used for recording files, data can be reliably recorded/reproduced, and even if a recording failure occurs, the failure can be repaired , A method and apparatus for recording information on an information recording medium, and a method and apparatus for reproducing information recorded on the information recording medium.
基于参考附图对后续详细说明的阅读和理解,本发明的这些及其他优点对于本领域的技术人员来讲将是显而易见的。These and other advantages of the present invention will become apparent to those skilled in the art upon reading and understanding the ensuing detailed description with reference to the accompanying drawings.
附图说明Description of drawings
图1A是根据本发明的一个实施例示出信息记录媒体的外部特性的图表。FIG. 1A is a graph showing external characteristics of an information recording medium according to an embodiment of the present invention.
图1B是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 1B is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图1C是根据本发明的一个实施例示出用户数据区域的数据结构的图表。FIG. 1C is a diagram illustrating a data structure of a user data area according to an embodiment of the present invention.
图2A是根据本发明的一个实施例示出置换管理信息表的数据结构的图表。FIG. 2A is a diagram illustrating a data structure of a replacement management information table according to one embodiment of the present invention.
图2B是示出置换管理信息的数据结构的图表。FIG. 2B is a diagram showing a data structure of replacement management information.
图3A是根据本发明的一个实施例示出会话管理信息的数据结构的图表。FIG. 3A is a diagram illustrating a data structure of session management information according to one embodiment of the present invention.
图3B是根据本发明的一个实施例示出跟踪管理信息的数据结构的图表。FIG. 3B is a diagram illustrating a data structure of tracking management information according to one embodiment of the present invention.
图3C是根据本发明的一个实施例示出空间位图管理信息的数据结构的图表。FIG. 3C is a diagram illustrating a data structure of spatial bitmap management information according to one embodiment of the present invention.
图4是根据本发明的一个实施例示出在用户数据区域执行未记录区域管理的状态的图表。FIG. 4 is a diagram illustrating a state in which unrecorded area management is performed in a user data area according to an embodiment of the present invention.
图5是根据本发明的一个实施例示出磁盘结构信息的数据结构的图表。FIG. 5 is a diagram illustrating a data structure of disk structure information according to one embodiment of the present invention.
图6是根据本发明的一个实施例示出另一个信息记录媒体的数据结构的图表。FIG. 6 is a diagram showing a data structure of another information recording medium according to an embodiment of the present invention.
图7是根据本发明的一个实施例示出信息记录/再现设备的结构的方框图。FIG. 7 is a block diagram showing the structure of an information recording/reproducing apparatus according to an embodiment of the present invention.
图8A是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 8A is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图8B是根据本发明的一个实施例示出文件/目录结构的一个范例的图表。Figure 8B is a diagram illustrating an example of a file/directory structure according to an embodiment of the present invention.
图9A是根据本发明的一个实施例示出图像数据的数据结构的图表。FIG. 9A is a diagram illustrating a data structure of image data according to one embodiment of the present invention.
图9B是根据本发明的一个实施例示出元数据文件中的另一种数据排列的图表。Figure 9B is a diagram illustrating another arrangement of data in a metadata file according to one embodiment of the present invention.
图10是用于解释关于以UDF规格版本2.5定义的元数据文件的数据结构的图表。FIG. 10 is a diagram for explaining the data structure of a metadata file defined in UDF specification version 2.5.
图11A是根据本发明的一个实施例示出卷结构区域的数据排列的图表。FIG. 11A is a diagram illustrating a data arrangement of a volume structure area according to one embodiment of the present invention.
图11B是根据本发明的一个实施例示出卷结构区域的数据排列的图表。FIG. 11B is a diagram showing the data arrangement of the volume structure area according to one embodiment of the present invention.
图12是根据本发明的一个实施例示出记录过程的流程图。FIG. 12 is a flowchart illustrating a recording process according to one embodiment of the present invention.
图13是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 13 is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图14是根据本发明的一个实施例示出修复过程的流程图。FIG. 14 is a flowchart illustrating a repair process according to one embodiment of the present invention.
图15是根据本发明的一个实施例示出在图像数据修复过程之后的信息记录媒体的数据结构的图表。FIG. 15 is a diagram showing a data structure of an information recording medium after an image data restoration process according to an embodiment of the present invention.
图16是根据本发明的一个实施例示出再现过程的流程图。FIG. 16 is a flowchart illustrating a reproduction process according to one embodiment of the present invention.
图17是根据本发明的一个实施例示出修复过程的流程图。FIG. 17 is a flowchart showing a repair process according to one embodiment of the present invention.
图18是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 18 is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图19是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 19 is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图20是根据本发明的一个实施例示出图像数据的数据结构的图表。FIG. 20 is a diagram showing a data structure of image data according to one embodiment of the present invention.
图21是根据本发明的一个实施例示出记录过程的流程图。FIG. 21 is a flowchart illustrating a recording process according to one embodiment of the present invention.
图22是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 22 is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图23是根据本发明的一个实施例示出修复过程的流程图。Figure 23 is a flow chart illustrating a repair process according to one embodiment of the present invention.
图24是根据本发明的一个实施例示出修复记录过程的流程图。FIG. 24 is a flow chart showing a repair recording process according to one embodiment of the present invention.
图25A是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。FIG. 25A is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图25B是根据本发明的一个实施例示出信息记录媒体的数据结构的图表。Fig. 25B is a diagram showing a data structure of an information recording medium according to an embodiment of the present invention.
图26是根据本发明的一个实施例示出再现过程的流程图。FIG. 26 is a flowchart illustrating a reproduction process according to one embodiment of the present invention.
图27是示出在信息记录媒体中记录的文件/目录结构的图表。Fig. 27 is a diagram showing a file/directory structure recorded in an information recording medium.
图28是根据传统技术示出在格式化过程之后的信息记录媒体的数据结构的图表。FIG. 28 is a diagram showing a data structure of an information recording medium after a formatting process according to a conventional technique.
图29是根据传统技术示出在文件记录过程之后的信息记录媒体的数据结构的图表。FIG. 29 is a diagram showing a data structure of an information recording medium after a file recording process according to a conventional technique.
图30是根据传统技术示出在文件记录过程之后的信息记录媒体的数据结构的图表。FIG. 30 is a diagram showing a data structure of an information recording medium after a file recording process according to a conventional technique.
图31是根据传统技术示出文件再现过程的流程图。Fig. 31 is a flowchart showing a file reproduction process according to a conventional technique.
具体实施方式Detailed ways
在下文中,本发明通过参考附图解释范例的方式来说明本发明。Hereinafter, the present invention is explained by way of explaining examples with reference to the accompanying drawings.
(实施例1)(Example 1)
图1A是根据本发明的一个实施例示出信息记录媒体100的外部特性的图表。FIG. 1A is a graph showing external characteristics of an
导入区101被安排在信息记录媒体100的最内部边缘。导出区103被安排在信息记录媒体100的最外面的边缘。数据区域102被安排在信息记录媒体100的导入区101和导出区103之间。The lead-in area 101 is arranged at the innermost edge of the
在导入区101中,记录有光学摄像管访问信息记录媒体100所需的参考信号、用于从其它记录媒体中辨别信息记录媒体100的标识信号等。同样在导出区103中,记录了类似于记录在导入区101中的信息。In the lead-in area 101, a reference signal necessary for the optical pickup 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 area 103 . Each sector is the smallest access unit. Each sector can be identified by address information (ie, physical sector number; hereinafter referred to as "PSN").
数据可以作为包括多个物理扇区的ECC块(或ECC簇)的最小单元而被记录/再现。Data can be recorded/reproduced as a minimum unit of an ECC block (or ECC cluster) including a plurality of physical sectors.
图1B示出了信息记录媒体100的数据结构。在图1B中,在水平方向上示出在图1A中同心示出的导入区101、数据区域102和导出区103。FIG. 1B shows the data structure of the
该导入区101包括磁盘管理信息区域104。该导出区103包括磁盘管理信息区域105。在每个磁盘管理信息区域104和105中,记录有磁盘管理信息。该磁盘管理信息包括置换信息、会话管理信息、空间位图管理信息等等。The lead-in area 101 includes a disk management information area 104 . The lead-out area 103 includes a disk management information area 105 . In each of the disk management information areas 104 and 105, disk management information is recorded. The disk management information includes replacement information, session management information, space bitmap management information and the like.
如将要描述的,磁盘管理信息区域104和105的一部分被用作更新磁盘管理信息的区域。该区域被称作暂时磁盘管理信息区域。As will be described, a part of the disk management information areas 104 and 105 is used as an area for updating the disk management information. This area is called the temporary disk management information area.
置换信息被称为置换管理信息列表,包括原始位置信息,表示在信息记录媒体100(或包括故障扇区的ECC块)上发生故障的故障扇区的位置;以及置换位置信息,表示能被用于代替故障扇区(或包括了置换扇区的ECC块)的置换扇区的位置。The replacement information is called a replacement management information list, and includes original location information indicating the location of a failed sector on the information recording medium 100 (or an ECC block including a failed sector); and replacement location information indicating that it can be used The location of the replacement sector that replaces the failed sector (or the ECC block that includes the replacement sector).
数据区域102包括备用区106、用户数据区域108和备用区107。The data area 102 includes a
每个备用区106和107都是一种包括置换扇区的区域,该置换扇区被用于代替故障扇区。Each of the
该用户数据区域108用于记录用户数据。The user data area 108 is used to record user data.
通常,将置换信息和备用部件(spares)合并的置换记录与检测过程一起执行。检测过程被称为在记录数据之后立即用于再现数据,并将该再现数据与记录数据进行比较的过程,以确定数据是否被正确地记录。Typically, replacement recording incorporating replacement information and spares is performed in conjunction with the detection process. The detection process is referred to as a process for reproducing data immediately after recording the data, and comparing the reproduced data with the recorded data to determine whether the data is correctly recorded.
当在检测过程期间发生错误时,即,数据没有被正确地记录,则执行置换记录。也就是,将故障扇区(或包括了故障扇区的ECC块)替换为置换扇区(或包括了该置换扇区的ECC块),并将数据记录在该置换扇区(或包括了该置换扇区的ECC块)中。该方法被称作线性置换法。When an error occurs during the detection process, that is, data is not recorded correctly, replacement recording is performed. That is, the defective sector (or the ECC block including the defective sector) is replaced with the replacement sector (or the ECC block including the replacement sector), and data is recorded in the replacement sector (or the ECC block including the replacement sector). ECC block of the replacement sector). This method is called the linear permutation method.
通过使用由组合置换信息和置换扇区而获得的置换机制,可能实施对只写一次的信息记录媒体进行伪重写(pseudo-overwrite)记录。By using a replacement mechanism obtained by combining replacement information and replacement sectors, it is possible to implement pseudo-overwrite recording to a write-once information recording medium.
其次,将参考图2A和2B说明伪重写记录。该伪重写记录被称为一种用于映射物理地址的方法,在该物理地址上数据事实上被记录在另一个地方而不会改变数据表面上被记录的表面逻辑地址。为了执行这样的映射,图2A所示的置换管理信息列表1000被用作置换信息。Next, pseudo-overwrite recording will be explained with reference to FIGS. 2A and 2B. This pseudo-overwrite recording is referred to as a method for mapping a physical address on which data is actually recorded at another place without changing the surface logical address recorded on the surface of the data. In order to perform such mapping, a replacement management information list 1000 shown in FIG. 2A is used as replacement information.
图2A示出了置换管理信息列表1000的数据结构。FIG. 2A shows the data structure of the replacement management information list 1000 .
置换管理信息列表1000包括报头信息1001和多个置换管理信息1010(例如,置换管理信息#1、#2、#3,……)。The replacement management information list 1000 includes header information 1001 and a plurality of replacement management information 1010 (for example, replacement management information #1, #2, #3, . . . ).
报头信息1001包括置换管理信息号,该信息号包括在置换管理信息列表1000中。置换管理信息包括表示上述映射的信息。The header information 1001 includes a replacement management information number included in the replacement management information list 1000 . The replacement management information includes information indicating the above-mentioned mapping.
图2B示出了置换管理信息1010的数据结构。置换管理信息1010包括状态信息1011、原始位置信息1012,和置换位置信息1013。FIG. 2B shows the data structure of the replacement management information 1010. The replacement management information 1010 includes status information 1011 , original location information 1012 , and replacement location information 1013 .
状态信息1011具有在所述映射上的状态信息。例如,状态信息1011表示原始位置信息1012和置换位置信息1013的有效/无效状态。Status information 1011 has status information on the map. For example, status information 1011 indicates the valid/invalid status of original position information 1012 and replacement position information 1013 .
原始位置信息1012表示原始信息的位置(例如,物理地址)。Original location information 1012 indicates the location (eg, physical address) of original information.
置换位置信息1013表示置换信息的位置(例如,物理地址)。The replacement location information 1013 indicates the location (for example, physical address) of the replacement information.
通过将由原始位置信息1012表示的原始信息的位置(例如,物理地址)转换成为由置换位置信息1013表示的置换信息的位置(例如,物理地址),从而执行上述映射。The above-described mapping is performed by converting the location (eg, physical address) of the original information indicated by the original location information 1012 into the location (eg, physical address) of the replacement information indicated by the replacement location information 1013 .
相对于在该位置上已经记录数据的逻辑地址而言,如果指示数据重写,则将新建数据记录在具有物理地址的扇区中,该物理地址不同于记录该数据的扇区的物理地址,产生新的置换管理信息1011用于将记录该数据的扇区映射到记录新建数据的扇区,并将新的置换管理信息1011添加到置换管理信息列表1000中。从而当保持该逻辑地址时,即使该数据不被物理重写,也可通过更新置换信息实施对数据进行伪重写的状态。If rewriting of data is instructed with respect to the logical address of data already recorded at the location, new data is recorded in a sector having a physical address different from the physical address of the sector in which the data is recorded, Generate new replacement management information 1011 for mapping the sector recording the data to the sector recording new data, and add the new replacement management information 1011 to the replacement management information list 1000 . Thus, while the logical address is held, even if the data is not physically rewritten, a state in which the data is dummy rewritten can be implemented by updating the replacement information.
此后,这样的记录方法被称为伪重写记录。使用伪重写记录来实施如下所述的修复记录方法。Hereinafter, such a recording method is called pseudo-overwrite recording. Use pseudo-rewrite records to implement the repair record method described below.
其次,将说明在用户数据区域108上的未记录区域管理。根据连续记录方法,将参考图1C说明未记录区域管理,接着,将参考图4说明根据随机记录方法的未记录区域管理。Next, unrecorded area management on the user data area 108 will be explained. According to the continuous recording method, unrecorded area management will be described with reference to FIG. 1C , and next, unrecorded area management according to the random recording method will be described with reference to FIG. 4 .
图1C示出了根据在图1B中所示的用户数据区域108上执行的连续记录方法,未记录区域管理所处的状态。FIG. 1C shows the state in which the unrecorded area management is in accordance with the continuous recording method performed on the user data area 108 shown in FIG. 1B.
用户数据区域108包括多个会话。每个会话包括多个轨道。从而,由会话/跟踪单元管理用户数据区域108。User data area 108 includes a number of sessions. Each session consists of multiple tracks. Thus, the user data area 108 is managed by the session/tracking unit.
信息记录媒体100上的每个轨道是邻接区域。每个轨道由下述轨道管理信息进行管理。Each track on the
每个会话包括多个轨道,其被连续地分配在信息记录媒体100上。每个会话由下述会话管理信息进行管理。Each session includes a plurality of tracks, which are consecutively allocated on the
图3A示出了用于管理会话的会话管理信息200的数据结构。会话管理信息200是包括在磁盘管理信息中的。FIG. 3A shows a data structure of session management information 200 for managing sessions. Session management information 200 is included in disk management information.
磁盘管理信息记录在磁盘管理信息区域104中。提供磁盘管理信息区域105以改善信息记录媒体100的可靠性。特别地,磁盘管理信息区域105是一扩充存储区,用于记录磁盘管理信息区域104中记录的磁盘管理信息的副本和不能记录在磁盘管理信息区域104中的数据。在下文中,将省略对磁盘管理信息区域105的详细说明。Disk management information is recorded in the disk management information area 104 . The disk management information area 105 is provided to improve the reliability of the
会话管理信息200包括报头信息201和多个轨道管理信息。Session management information 200 includes header information 201 and pieces of track management information.
报头信息201具有图3B所示的诸如会话管理信息200的标识符、轨道管理信息210数目的通用信息。The header information 201 has general information such as the identifier of the session management information 200 , the number of track management information 210 shown in FIG. 3B .
轨道管理信息#N具有相应于图1C所示的轨道#N的信息。在这里,N是大于或等于1的整数。Track management information #N has information corresponding to track #N shown in FIG. 1C. Here, N is an integer greater than or equal to 1.
图3B示出了用于管理轨道的轨道管理信息210的数据结构。该轨道管理信息210包括在磁盘管理信息中。FIG. 3B shows a data structure of track management information 210 for managing tracks. This track management information 210 is included in disk management information.
轨道管理信息210包括会话开始信息211,用于表示该轨道是否是会话的导轨;用于表示轨道开始位置的轨道开始位置信息212;以及用于表示已经将数据最新地记录在轨道中的位置的最新记录地址信息213。The track management information 210 includes session start information 211 for indicating whether the track is a track of a session; track start position information 212 for indicating a track start position; The address information 213 is the latest record.
如果通过某个轨道管理信息管理的轨道位于会话的引导位置,一个表示该轨道位于会话的引导位置的值(例如“1”)被设置为会话开始信息211。否则,另一个值(例如“0”)被设置为会话开始信息211。If a track managed by certain track management information is located at the leading position of the session, a value (for example, “1”) indicating that the track is located at the leading position of the session is set as the session start information 211 . Otherwise, another value (for example, “0”) is set as the session start information 211 .
轨道开始位置信息212包括表示轨道开始位置的物理地址。The track start position information 212 includes a physical address indicating a track start position.
最新记录的地址信息213包括表示在轨道之内最新记录数据的位置的物理地址。图1C所示的轨道121中的最新记录地址是由最新记录地址信息213表示的位置的一个范例。The latest recorded address information 213 includes a physical address indicating a position within a track at which data is latest recorded. The latest recording address in the track 121 shown in FIG. 1C is an example of the position indicated by the latest recording address information 213 .
在本发明的实施例中,数据能够一个轨道接着一个轨道地记录。数据是从每个轨道的引导位置开始记录的,并且数据被连续地分配在该轨道中(顺序记录)。在轨道之中执行数据记录之后,在该轨道之中最新记录的数据的位置由最新记录地址信息213来反映。In an embodiment of the present invention, data can be recorded track by track. Data is recorded starting from the leading position of each track, and data is continuously allocated in the track (sequential recording). After data recording is performed in a track, the position of the latest recorded data in the track is reflected by the latest recording address information 213 .
当在该轨道之中重新开始记录时,通过核对最新记录地址信息213的最新值,就有可能确定在该轨道之中的下一个记录开始位置。通常,下一个记录开始位置是最新记录地址信息213所表示的物理扇区的下一个物理扇区。By checking the latest value of the latest recording address information 213 when recording is restarted in the track, it is possible to determine the next recording start position in the track. Normally, the next recording start position is the physical sector next to the physical sector indicated by the latest recording address information 213 .
可替换地,当在作为ECC块的最小单元的信息记录媒体100上执行数据记录时,下一个记录开始位置可以指向包括由最新记录地址信息213表示的物理扇区的ECC块紧挨着的ECC块。Alternatively, when data recording is performed on the
在图1C所示的会话#2中,在最新记录地址121之后的未记录区域122是在其中可以记录数据的备用空间区域。In session #2 shown in FIG. 1C, the unrecorded area 122 following the latest recorded address 121 is a spare space area in which data can be recorded.
具有可记录数据状态的轨道被称作开放轨道(或可记录轨道)。开放轨道的轨道号包括在图3A所示的会话管理信息200的报头信息201中(例如,第一开放轨道号203、第二开放轨道号204等等)。A track having a recordable data state is called an open track (or recordable track). The track numbers of the open tracks are included in the header information 201 of the session management information 200 shown in FIG. 3A (for example, the first open track number 203, the second open track number 204, etc.).
由于某种原因具有数据不可记录状态的轨道(例如不存在未记录区域、用户指令)被称作结束轨道(或不可记录轨道)。结束轨道的轨道号不被包括在报头信息201中。A track having a data unrecordable state for some reason (for example, non-existence of unrecorded area, user instruction) is called an end track (or unrecordable track). The track number of the ending track is not included in the header information 201 .
通过核对开放轨道的轨道号以及最新记录地址信息213,就可能检测信息记录媒体100上的备用空间区域。By checking the track number of the open track and the latest recording address information 213, it is possible to detect the spare space area on the
图4示出了在图1B所示的用户数据区域108上执行根据随机记录方法的未记录区域管理的状态。FIG. 4 shows a state in which unrecorded area management according to the random recording method is performed on the user data area 108 shown in FIG. 1B.
一种随机记录,其在信息记录媒体的任何任意位置上记录数据,甚至可以在只写一次信息记录媒体100上通过管理记录扇区(或ECC块)执行该种随机记录。图4示出了数据还未被记录在未记录区域110中的状态以及位置比由最新记录地址120表示的位置更接近于周缘内侧的区域已经被用于记录数据。A random recording that records data at any arbitrary position on the information recording medium, which can be performed even on the write-once
为了实施该随机记录,必须管理备用空间区域以及在信息记录媒体100上的最新记录地址。在该实施例中,能够通过记录磁盘管理信息区域104和105中的磁盘结构信息1100执行这样的管理。In order to carry out this random recording, it is necessary to manage the spare space area and the latest recording address on the
图5示出了记录在磁盘管理信息区域104中的磁盘结构信息1100的数据结构。FIG. 5 shows the data structure of the disk structure information 1100 recorded in the disk management information area 104 .
该磁盘结构信息1100包括最新记录地址信息1107。最新记录地址信息1107表示最新记录地址120。This disk structure information 1100 includes latest recording address information 1107 . The latest recorded address information 1107 indicates the latest recorded address 120 .
在磁盘管理信息区域104中,还记录图3C所示的空间位图管理信息220。空间位图管理信息220包括报头信息221、管理区域信息222以及空间位图信息223。In the disk management information area 104, space bitmap management information 220 shown in FIG. 3C is also recorded. The space bitmap management information 220 includes header information 221 , management area information 222 and space bitmap information 223 .
报头信息221具有诸如对于空间位图管理信息220的标识符等的通用信息。The header information 221 has general information such as an identifier for the space bitmap management information 220 and the like.
管理区域信息222包括表示用户数据区域108(包括扇区(或ECC块))中的区域的信息,其中所述扇区的未记录/记录状态是由空间位图管理信息220进行管理的。例如,管理区域信息222包括该区域的开始位置和该区域的长度。The management area information 222 includes information indicating an area in the user data area 108 (including sectors (or ECC blocks)) whose unrecorded/recorded status is managed by the space bitmap management information 220 . For example, the management area information 222 includes the start position of the area and the length of the area.
空间位图信息223具有表示包括在管理区域中的每个扇区是否处于未记录状态或记录状态的信息。例如,为每个扇区分配一位数据。例如,为未记录扇区分配″0″,而为记录扇区分配″1″。借此,可以管理在管理区域中的所有扇区的未记录/记录状态。The space bitmap information 223 has information indicating whether each sector included in the management area is in an unrecorded state or a recorded state. For example, one bit of data is assigned to each sector. For example, "0" is assigned to an unrecorded sector, and "1" is assigned to a recorded sector. By this, the unrecorded/recorded status of all sectors in the management area can be managed.
如上所述,可能使用会话管理信息200或空间位图管理信息220两者之一,管理在信息记录100上的扇区的未记录/记录状态。因此,可以取决于应用而选择和使用会话管理信息200或空间位图管理信息220。可替换的,还可以同时使用这两种信息。有关未记录区域管理方法的信息包括在磁盘结构信息1100的记录模式信息1106中。As described above, it is possible to manage the unrecorded/recorded status of sectors on the
磁盘结构信息1100还包括与整个磁盘结构信息1100有关的通用信息1101、表示在磁盘管理信息区域104和105中的最新置换管理信息列表1000的位置的置换管理信息列表位置信息1102、表示用户数据区域108的开始位置的用户数据区域开始位置信息1103、表示用户数据区域108的结束位置的用户数据区域结束位置信息1104、和表示备用区105和107的大小的备用区信息1105和备用区管理信息1109,以及可用于置换的区域。The disk structure information 1100 also includes general information 1101 related to the entire disk structure information 1100, replacement management information list position information 1102 indicating the position of the latest replacement management information list 1000 in the disk management information areas 104 and 105, and replacement management information list position information 1102 indicating the user data area User data area start position information 1103 at the start position of 108, user data area end position information 1104 indicating the end position of the user data area 108, and spare area information 1105 and spare area management information 1109 indicating the sizes of the spare areas 105 and 107 , and the area available for displacement.
通过使用备用区信息1105,备用区的大小可以根据每个信息记录媒体而改变。进一步,通过使用磁盘管理信息位置信息1108,就可能提供在备用区106或备用区107中的如上所述的暂时磁盘管理信息区域。By using the spare area information 1105, the size of the spare area can be changed according to each information recording medium. Further, by using the disk management information location information 1108, it is possible to provide the above-described temporary disk management information area in the
磁盘结构信息1100还包括用于表示在磁盘管理信息区域104和105中最新会话管理信息200的位置的会话管理信息位置信息1110、用于表示在磁盘管理信息区域104和105中最新空间位图管理信息220的位置的空间位图管理信息位置信息1111。The disk structure information 1100 also includes session management information position information 1110 for representing the position of the latest session management information 200 in the disk management information areas 104 and 105, and for representing the latest space bitmap management information in the disk management information areas 104 and 105. The spatial bitmap of the location of the information 220 manages the information location information 1111 .
在图1C和图4所示的范例中,记录在用户数据区域108中的用户数据是通过文件系统进行管理的。通过文件系统管理的空间被称为卷空间109。In the examples shown in FIG. 1C and FIG. 4, user data recorded in the user data area 108 is managed through a file system. The space managed by the file system is called
将多个逻辑扇区分配给卷空间109。可以通过地址信息(即,逻辑扇区号;在下文中称为“LSN”)识别出每个逻辑扇区。A number of logical sectors are allocated to the
请注意,在以下的说明中,记录在信息记录媒体100上的描述符、指针等作为文件系统的卷/文件结构,除非另作说明,假定其具有以ISO/IEC13346标准或UDF(通用磁盘格式)规格定义的数据结构。Please note that in the following description, the descriptors, pointers, etc. recorded on the
如下所述的元数据分区和元数据文件结构被认为是具有UDF规格的2.5版本或2.6版本定义的数据结构。The metadata partition and metadata file structures described below are considered to be data structures defined with version 2.5 or version 2.6 of the UDF specification.
据描述,图1A至1C所示的信息记录媒体100仅具有一个记录层。然而,可以存在一种具有两个或多个记录层的信息记录媒体。It is described that the
图6示出了具有两个记录层的信息记录媒体100b的数据结构。在图6中,L0表示第一层,且L1表示第二层。FIG. 6 shows the data structure of an information recording medium 100b having two recording layers. In FIG. 6, L0 denotes the first layer, and L1 denotes the second layer.
第一和第二层的每一层具有与信息记录媒体100基本上一样的结构。具体地,在第一层的最内侧周缘提供导入区101,并在第二层的最内侧周缘提供导出区103a。进一步,在第一层的最外侧周缘提供外部区域103b,并在第二层的最外侧周缘提供外部区域103c。导入区101、外部区域103b、导出区103a和外部区域103c分别包括磁盘管理信息区域104、105、104a和105a。Each of the first and second layers has substantially the same structure as the
进一步地,如图6所示,给出备用区106、106a、107和107a。如上所述对于每个信息记录媒体可以改变每个备用区的大小。进一步地,就可能在每个备用区中提供附加的暂时磁盘管理信息区域。Further, as shown in FIG. 6,
将用户数据区域108和108a作为逻辑上具有连续逻辑地址的一个卷空间进行处理。The user data areas 108 and 108a are handled as one volume space logically having consecutive logical addresses.
如上所述,具有多个记录层的信息记录媒体可以在逻辑上作为具有单个记录层的信息记录媒体进行处理。As described above, an information recording medium having a plurality of recording layers can be logically handled as an information recording medium having a single recording layer.
在下文中,将说明具有单个记录层的信息记录媒体。该描述可以用于具有多个记录层的信息记录媒体。根据需要,将说明具有多个记录层的信息记录媒体。Hereinafter, an information recording medium having a single recording layer will be explained. This description can be applied to an information recording medium having a plurality of recording layers. An information recording medium having a plurality of recording layers will be described as needed.
图7示出了根据本发明的实施例,信息记录/再现设备300的一种结构。FIG. 7 shows a structure of an information recording/reproducing device 300 according to an embodiment of the present invention.
该信息再现设备300包括主机设备305和驱动设备310。This information reproduction device 300 includes a host device 305 and a drive device 310 .
例如,该主机设备305可以是一种计算机系统或个人计算机。For example, the host device 305 may be a computer system or personal computer.
驱动设备310可以是记录设备、再现设备或记录/再现设备中的任何一个。整个信息记录/再现系统300可以被称为记录设备、再现设备,或记录/再现设备。The drive device 310 may be any one of a recording device, a reproducing device, or a recording/reproducing device. The entire information recording/reproducing system 300 may be called a recording device, a reproducing device, or a recording/reproducing device.
主机设备305包括系统控制部分301和存储电路302。主机设备305还可以包括诸如硬盘驱动器的磁盘设备304。在主机设备305中的元件通过I/O总线303相互连接。The host device 305 includes a system control section 301 and a storage circuit 302 . Host device 305 may also include a magnetic disk device 304 such as a hard drive. Components in host device 305 are connected to each other through I/O bus 303 .
例如,可以用微处理器来实施系统控制部分301,微处理器包括系统控制程序和运行存储器。系统控制部分301执行对文件系统的卷结构/文件结构的记录/再现、元数据分区/文件结构的记录/再现、文件的记录/再现、导入/导出区的记录/再现等进行控制和操作。For example, the system control section 301 can be implemented with a microprocessor including a system control program and an operating memory. The system control section 301 performs control and operation of volume structure/file structure recording/reproduction of the file system, metadata partition/file structure recording/reproduction, file recording/reproduction, lead-in/lead-out area recording/reproduction, and the like.
存储电路302用于,例如,卷结构、文件结构、元数据分区/文件结构和文件的运行和暂时存储。Storage circuitry 302 is used, for example, for the execution and temporary storage of volume structures, file structures, metadata partitions/file structures, and files.
驱动设备310包括驱动控制部分311、存储电路312和记录/再现部分314。在驱动设备310中的元件通过I/O总线313相互连接。The drive device 310 includes a drive control section 311 , a storage circuit 312 and a recording/reproducing section 314 . Components in drive device 310 are connected to each other via I/O bus 313 .
驱动控制部分311可以实施为,例如,微处理器,该微处理器包括驱动控制程序和操作存储器。驱动控制部分311控制和运行磁盘管理信息区域和备用区的记录/再现、伪重写/再现等等。The drive control section 311 can be implemented as, for example, a microprocessor including a drive control program and an operating memory. The drive control section 311 controls and executes recording/reproduction, pseudo-rewriting/reproduction, and the like of the disk management information area and the spare area.
图7所示的系统控制部分301和驱动设备控制部分311可以实施为诸如LSI的半导体集成电路。可替换地,它们还可以实施为通用处理器和存储器(例如ROM)。The system control section 301 and drive device control section 311 shown in FIG. 7 can be implemented as a semiconductor integrated circuit such as LSI. Alternatively, they can also be implemented as a general-purpose processor and memory (eg ROM).
由计算机(例如,通用处理器)执行的程序存储在存储器(例如ROM)中。该程序可以表示根据本发明的再现过程或记录过程,这将在下面说明。任何计算机(例如,通用处理器)执行根据本发明按照该程序的再现过程或记录过程。Programs executed by a computer (eg, a general-purpose processor) are stored in a memory (eg, ROM). The program may represent a reproduction process or a recording process according to the present invention, which will be described below. Any computer (for example, a general-purpose processor) executes the reproduction process or the recording process according to the program according to the present invention.
存储电路312用作,例如,关于磁盘管理信息区域或备用区的数据和传送至该驱动设备310的数据的运行和暂时存储。The storage circuit 312 is used, for example, for execution and temporary storage of data on a disk management information area or a spare area and data transferred to the drive device 310 .
接下来,将参考图8A说明在本发明的实施例中,在信息记录媒体100上的紧邻在记录图像数据之前时刻的数据结构。Next, the data structure at the time immediately before recording image data on the
在图8A中,存在包括磁盘管理信息区域104的导入区101和包括磁盘管理信息区域105的导出区103。数据还未被记录在卷空间109中。In FIG. 8A , there are a lead-in area 101 including a disk management information area 104 and a lead-out area 103 including a disk management information area 105 . Data has not been recorded in the
假定该状态,将说明图8B所示的当记录包括文件和目录分级结构的图像数据500时的过程和数据结构。Assuming this state, the procedure and data structure shown in FIG. 8B when recording
在图8B中,存在File-a、Dir-A、AV-File和AV-Dir,File-a是通用数据文件,Dir-A是它的父目录,AV-File包括按照MPEG方案等编码的AV数据,AV-Dir是它的父目录。In Fig. 8B, there are File-a, Dir-A, AV-File and AV-Dir, File-a is a common data file, Dir-A is its parent directory, and AV-File includes AV coded according to the MPEG scheme, etc. data, AV-Dir is its parent directory.
AV数据被称为包括音频数据和视频数据中的至少一个的数据。AV数据也称作实时数据。包括AV数据的文件称为AV文件。AV文件也称作实时文件。不同于通用数据文件,将被记录/再现的实时文件没有中断。当实时数据记录在信息记录媒体100中时,控制该记录过程以使得实时文件被分配在信息记录媒体100上的物理连续区域中。AV data is referred to as data including at least one of audio data and video data. AV data is also called real-time data. A file including AV data is called an AV file. AV files are also called real-time files. Unlike general-purpose data files, real-time files are to be recorded/reproduced without interruption. When real-time data is recorded in the
连续区域在DVD规格中被称作连续的数据区域(CDA)。The contiguous area is called a contiguous data area (CDA) in the DVD specification.
被确定为参数的用于连续区域的条件表示了:包括在实时文件中的AV数据的数据速率、驱动设备的访问性能或再现性能和缓冲存储器的大小。Conditions for the continuous area determined as parameters represent: the data rate of AV data included in the real-time file, the access performance or reproduction performance of the drive device, and the size of the buffer memory.
在UDF规格中,定义表示实时文件的文件类型(=249)。从通用数据文件分开管理实时文件。In the UDF specification, a file type representing a real-time file is defined (=249). Live files are managed separately from common data files.
图9A示出了图像数据500的数据结构。图像数据500是将图8B所示的文件/目录分级结构以及用于管理该文件/目录分级结构的文件管理信息合并而获得的数据。FIG. 9A shows the data structure of
图像数据500包括卷结构区域410、FE(元数据文件)441、元数据文件440、数据文件(File-a)460、实时文件(AV-File)470、FE(元数据镜像文件)451、卷结构区域411和元数据镜像文件450。这些文件的排列不局限于这种顺序。只要是符合UDF规格的任何顺序都可以。
不包括卷结构区域410和411的区域相应于在2.5版本的UDF规格等中定义的物理分区420。The area excluding the volume structure areas 410 and 411 corresponds to the physical partition 420 defined in the UDF specification of version 2.5 or the like.
物理分区420包括元数据分区430和431。Physical partition 420 includes
在2.5版本的UDF规格中,在元数据分区中提供关于诸如FE的文件结构和记录在卷空间中的目录文件的全部信息。In the UDF specification of version 2.5, all information on the file structure such as FE and directory files recorded in the volume space is provided in the metadata partition.
该元数据分区是由元数据文件进行管理的。The metadata partition is managed by metadata files.
在图9A所示的范例中、作为文件管理信息的元数据文件440包括文件组描述符433、FE(ROOT)442、FE(Dir-A)443、FE(AV-Dir)444、FE(File-a)445,和FE(AV-File)445。In the example shown in FIG. 9A, the metadata file 440 as file management information includes a file group descriptor 433, FE (ROOT) 442, FE (Dir-A) 443, FE (AV-Dir) 444, FE (File -a) 445, and FE (AV-File) 445.
元数据镜像文件450是元数据文件440的复制数据(也就是元数据镜像文件450具有与元数据文件440相同的数据)。元数据文件440和元数据镜像文件450优选地彼此分别编排,以免由于某种原因破坏文件管理信息(例如在信息记录媒体上的刮痕等)。The
在下文中,为了简化起见,假定目录文件包括在每个FE中。Hereinafter, for simplicity, it is assumed that a catalog file is included in each FE.
在物理分区420中的元数据文件440和元数据镜像文件450的记录位置和卷是通过FE(元数据文件)441和FE(元数据镜像文件)451进行管理的。The recording locations and volumes of the metadata file 440 and the
数据文件(File-a)460和实时文件(AV-File)470被分配在物理分区420中。A data file (File-a) 460 and a real-time file (AV-File) 470 are allocated in the physical partition 420 .
特别地,实时文件(AV-File)470被分配在物理分区420的具有预定大小的连续区域中,以便实时文件的数据可以被没有任何中断地再现。In particular, a real-time file (AV-File) 470 is allocated in a contiguous area having a predetermined size of the physical partition 420 so that the data of the real-time file can be reproduced without any interruption.
鉴于该目录分级结构,元数据文件440中的数据可以如图9B所示地编排。Given this directory hierarchy, the data in metadata file 440 may be organized as shown in Figure 9B.
具体地,顺序分配该目录下的目录(Dir-A)和数据文件(File-a)。其后,顺序分配该目录下的目录(AV-Dir)和数据文件(AV-File)。Specifically, the directory (Dir-A) and the data file (File-a) under this directory are sequentially allocated. Thereafter, the directories (AV-Dir) and data files (AV-File) under the directory are sequentially allocated.
这样的目录/文件的配置使得有效地访问特定应用中的数据成为可能。例如。在诸如电视节目录制的特定应用中,首先确定用于记录数据的目录树,然后确定邻近数据之中的该目录下的任何文件和任何目录。Configuration of such directories/files makes it possible to efficiently access data in specific applications. For example. In certain applications such as television program recording, the directory tree used to record data is first determined, and then any files and any directories under that directory among adjacent data are determined.
在图像数据的数据结构中,FE(元数据文件)和元数据文件中的每一个都可以位于ECC块的引导位置。在这种情况下,填充数据(例如,全零的数据)记录在FE(元数据文件)和元数据文件之间。In the data structure of image data, each of FE (metadata file) and metadata file may be located at the leading position of the ECC block. In this case, padding data (for example, data of all zeros) is recorded between the FE (metadata file) and the metadata file.
同样地,填充数据(例如,全零数据)可以记录在FE(元数据镜像文件)和元数据镜像文件之间。Likewise, padding data (for example, all-zero data) may be recorded between FE (metadata mirror file) and metadata mirror file.
在图9A所示的范例中,卷结构区域410和物理分区420记录在卷空间109中。In the example shown in FIG. 9A , volume structure area 410 and physical partition 420 are recorded in
在磁盘设备304等上创建图像数据500。然后,将其从头顺序地记录到卷空间109中。The
其次,将参考图10说明当使用元数据数据文件时,在卷结构中的数据和文件结构中的数据之间的索引关系。Next, an index relationship between data in the volume structure and data in the file structure when a metadata data file is used will be described with reference to FIG. 10 .
在以UDF规格定义的卷结构和文件结构中,锚定卷描述符指针600(以下简称AVDP 600)被认为是起始点。In the volume structure and file structure defined by the UDF specification, the anchor volume descriptor pointer 600 (hereinafter referred to as AVDP 600) is considered as the starting point.
通过读出记录在信息记录媒体100预定位置上的AVDP 600,可以检测卷结构区域410的记录位置。By reading the AVDP 600 recorded at a predetermined position on the
卷结构区域410包括逻辑卷描述符601。可以从逻辑卷描述符601中检测出在元数据分区430中的文件组描述符433的记录位置。The volume structure area 410 includes a logical volume descriptor 601 . The recording position of the file group descriptor 433 in the
逻辑卷描述符601包括分区图(类型2)602。可以从分区图(类型2)602中检测出FE(元数据)441的记录位置和FE(元数据镜像文件)451的记录位置。Logical Volume Descriptor 601 includes Partition Map (Type 2 ) 602 . The recording position of FE (metadata) 441 and the recording position of FE (metadata mirror file) 451 can be detected from the partition map (type 2) 602 .
元数据文件440也是一种由FE进行管理的文件。从FE(元数据文件)441中,可以检测出物理分区420中的元数据文件440的记录位置,也就是元数据分区430的记录位置。Metadata file 440 is also a file managed by FE. From the FE (metadata file) 441, the recording location of the metadata file 440 in the physical partition 420, that is, the recording location of the
在这种情况下,使用表示上述文件组描述符433的记录位置的信息,顺序地从ROOT目录中搜索出文件结构。结果,例如,就可能访问数据文件(File-a)460。In this case, the file structure is sequentially searched from the ROOT directory using information indicating the recording position of the above-mentioned file group descriptor 433 . As a result, it is possible to access the data file (File-a) 460, for example.
元数据文件440的副本记录在元数据镜像文件450中。因此,数据文件(File-a)460也可以使用元数据镜像文件450进行读取。A copy of metadata file 440 is recorded in
图11A示出了卷结构区域410的数据结构和数据排列的一个范例。卷结构区域410包括逻辑卷描述符601和锚定卷描述符指针600。FIG. 11A shows an example of the data structure and data arrangement of the volume structure area 410 . The volume structure area 410 includes a logical volume descriptor 601 and an anchor volume descriptor pointer 600 .
逻辑卷描述符601包括分区图(类型1)1200、元数据文件位置1201、元数据镜像文件位置1202和标志1203。Logical volume descriptor 601 includes partition map (type 1 ) 1200 , metadata file location 1201 , metadata mirror file location 1202 and flag 1203 .
分区图(类型1)1200是用于管理物理分区的信息。Partition map (type 1) 1200 is information for managing physical partitions.
元数据文件位置1201是表示在FE(元数据文件)441的物理分区中的位置的信息。The metadata file location 1201 is information indicating a location in the physical partition of the FE (metadata file) 441 .
元数据镜像文件位置1202是表示在FE(元数据镜像文件)451的物理分区中的位置的信息。The metadata mirror file position 1202 is information indicating a position in the physical partition of the FE (metadata mirror file) 451 .
标志1203包括,例如,表示元数据镜像文件450是否出现在信息记录媒体100上的信息。元数据镜像文件450是UDF规格的一种可选功能。Flag 1203 includes, for example, information indicating whether or not metadata
图11B示出了卷结构区域411的数据结构和数据排列的一个范例。FIG. 11B shows an example of the data structure and data arrangement of the volume structure area 411 .
在卷结构区域411中,记录类似于记录在卷结构区域410中的信息。在卷结构区域411中,记录第二和第三锚定卷描述符指针。In the volume structure area 411 , information similar to that recorded in the volume structure area 410 is recorded. In the volume structure area 411, second and third anchor volume descriptor pointers are recorded.
在每一个上述数据结构中,可以选择性地分配哑数据(例如00h),以使得数据定位的定界符能相应于ECC块之间的边界。例如,锚定卷描述符指针、主卷描述符、逻辑卷描述符601,和逻辑卷完整性描述符,它们每一个都可以从ECC块的引导位置开始分配。In each of the above data structures, dummy data (for example, 00h) can be selectively allocated so that the delimiter for data positioning can correspond to the boundary between ECC blocks. For example, the Anchor Volume Descriptor Pointer, Main Volume Descriptor, Logical Volume Descriptor 601, and Logical Volume Integrity Descriptor, each of which can be allocated from the leading position of the ECC block.
其次,将参考图12所示的流程图说明在图8A的状态中记录图像数据500的过程。Next, the process of recording
在这里,假定在磁盘设备304上创建图像数据500,并且它是被记录在信息记录媒体100中的。Here, it is assumed that the
在记录图像数据500之前,系统控制部分301和驱动控制部分311从信息记录媒体100的磁盘管理信息区域读出数据记录/再现所需的数据。当开始记录图像数据500时,系统控制部分301从磁盘设备304的磁头顺序地读取图像数据500,并将其传送到存储电路302(步骤S101)。Before recording the
其次,系统控制部分301指示驱动设备310记录图像数据500(步骤S102)。在这种情况下,根据磁盘管理信息,图像数据500是记录在信息记录媒体100的未记录连续区域中。Next, the system control section 301 instructs the drive device 310 to record the image data 500 (step S102). In this case, the
在图8A所示的状态中,整个卷空间109处于未记录状态。在这种情况下,图像数据500是从卷空间109开头部分记录在卷空间109中的。In the state shown in FIG. 8A, the
假定执行数据记录而不进行检验处理。当执行检验处理时,需要在数据记录之后通过立即访问该数据而再现该数据。Assume that data recording is performed without verification processing. When performing verification processing, it is necessary to reproduce the data by accessing the data immediately after recording the data.
当执行检验处理时,记录整个图像数据500所需的时间显著增加。因此,不在该步骤中执行检验处理。When performing inspection processing, the time required to record the
在完全记录图像数据500之后,过程进行到下一个步骤。After the
为了反映图像数据500的记录结果,更新该盘管理信息(步骤S103)。例如,更新最新记录的地址信息1107。In order to reflect the recording result of the
未记录区域取决于图像数据500的记录而不同。将会话管理信息200和/或空间位图管理信息220更新为最新状态。The unrecorded area differs depending on the recording of the
例如,当使用会话管理信息200管理未记录区域时,对相应于记录图像数据500的轨道的轨道管理信息210中的最新数据记录位置信息213进行更新。For example, when an unrecorded area is managed using the session management information 200, the latest data recording position information 213 in the track management information 210 corresponding to the track where the
上述记录过程的结果是,信息记录媒体100具有图13所示的数据结构。图像数据500记录在卷空间109的连续区域中,其中卷空间109在图8A中是未记录的。As a result of the recording process described above, the
将参考图14和15说明在上述图像数据记录过程之后对记录数据所进行的修复处理。Restoration processing performed on recorded data after the above-described image data recording process will be described with reference to FIGS. 14 and 15 .
系统控制部分301准备数据修复(步骤S201)。例如,系统控制部分301和驱动控制部分311从信息记录媒体100的磁盘管理信息区域等中读出用于数据记录/再现所需的数据。The system control section 301 prepares for data restoration (step S201). For example, the system control section 301 and the drive control section 311 read out data necessary for data recording/reproduction from the disk management information area or the like of the
此外,准备对在磁盘设备304上的图像数据500和记录在信息记录媒体100上的数据进行再现。In addition,
其次,系统控制部分301指示驱动设备310从记录在信息记录媒体100上的图像数据500的开头再现预定大小的数据(步骤S202)。在这里,该预定的大小是扇区的一个单元或一个ECC块。可选择的,预定大小是整数个扇区的单元或ECC块。Next, the system control section 301 instructs the drive device 310 to reproduce data of a predetermined size from the beginning of the
特别地,优选的是预定大小等于信息记录媒体100的数据重写单元或数据重写单元的整数倍。In particular, it is preferable that the predetermined size is equal to the data rewriting unit of the
将该再现数据传送到存储电路302。This reproduced data is transferred to the storage circuit 302 .
其次,系统控制部分301将再现的存储电路302中的数据与图像数据500的至少一部分进行比较(步骤S203)。例如,当图像数据500保存在磁盘设备304中时,将相应于再现数据的一部分图像数据500从磁盘设备304传送到存储电路302,然后在存储电路302上,进行再现的数据和相应于该再现的数据的部分图像数据500之间的比较。Next, the system control section 301 compares the reproduced data in the storage circuit 302 with at least a part of the image data 500 (step S203). For example, when the
这样的比较也可以在存储电路302以外的地方进行(例如,存储电路312)。Such comparisons may also be performed outside of storage circuit 302 (eg, storage circuit 312).
比较的结果是确定再现的数据是否与相应于该再现数据的部分图像数据500相匹配(步骤S204)。As a result of the comparison, it is determined whether the reproduced data matches the
当再现的数据与相应于该再现数据的部分图像数据500相匹配时,程序进行到步骤S206。否则,程序进行到步骤S205。When the reproduced data matches the
当再现的数据与相应于该再现数据的部分图像数据500不相匹配时,系统控制部分301判断图像数据500的记录出错,检测图像数据500的记录出现错误的区域作为出错区域,并且保持表示出错区域中所记录的数据位置的信息(例如,逻辑地址),将其作为修复信息的一部分(步骤S205)。该修复信息可以存储在,例如,存储电路302中(或磁盘设备304中)。When the reproduced data does not match the part of the
在图15所示的范例中,出错区域510、511和512中的每一个都是图像数据500记录出现错误的区域。表示出错区域的各自位置的信息可以包括在修复信息中。In the example shown in FIG. 15, each of error areas 510, 511, and 512 is an area in which an error occurred in the
一种数据再现本身出现错误的情况下,即因为某种原因发生的再现错误,以类似于再现数据与相应于该再现数据的部分图像数据500不相匹配的情况的方式进行处理。A case where an error occurs in data reproduction itself, that is, a reproduction error that occurs for some reason, is handled in a manner similar to a case where reproduced data does not match the
在完成步骤S205的处理之后,程序进行到步骤S206。After the processing of step S205 is completed, the procedure proceeds to step S206.
确定数据再现/比较是否到达图像数据500的末尾(步骤S206)。It is determined whether the data reproduction/comparison reaches the end of the image data 500 (step S206).
如果数据再现/比较未到达图像数据500的末尾,过程返回到步骤S202,并且继续下一个数据的再现和比较。If the data reproduction/comparison has not reached the end of the
如果数据再现/比较到达了图像数据500的末尾,对记录出现错误的数据执行修复记录(步骤S207)。修复记录包括在置换簇中的记录修复数据,和将记录在出错区域中的数据映射到记录在置换扇区中的修复数据的记录置换信息。If the data reproduction/comparison has reached the end of the
系统控制部分301从图像数据500中提取相应于记录在出错区域中的数据的部分作为修复数据,指示驱动设备310将置换扇区中的修复数据记录在信息记录媒体100上(例如在备用区106或备用区107中)。例如,使用用于修复记录的预定命令来传送指令。The system control part 301 extracts the part corresponding to the data recorded in the error area as the repair data from the
在图15所示的范例中,从图像数据500中,将相应于记录在出错区域510中的数据部分提取出来作为修复数据520,并将该修复数据520记录在信息记录媒体100中。In the example shown in FIG. 15 , from
同样地,用于出错区域511的修复数据521记录在信息记录媒体100中,并且用于出错区域512的修复数据522记录在信息记录媒体100中。Likewise, repair data 521 for the error area 511 is recorded in the
在这种情况下,优选地将用于出错区域的修复数据记录在更接近于该出错区域的置换扇区中。这是因为这样可以减少在数据记录/再现期间的访问时间。In this case, it is preferable to record repair data for the error area in a replacement sector closer to the error area. This is because access time during data recording/reproduction can be reduced.
其次,系统控制部分301产生置换信息1010,该信息将表示记录在出错区域中的数据的位置的信息(例如,物理地址)与表示修复数据的记录位置的信息(例如,物理地址)联系起来,并且将产生的置换信息1010映射到置换管理信息列表1000中。置换管理信息列表1000保持在诸如存储电路302的存储电路中。Next, the system control section 301 generates replacement information 1010 that links information (for example, a physical address) representing a position of data recorded in an error area with information (for example, a physical address) representing a recording position of repair data, And the generated replacement information 1010 is mapped to the replacement management information list 1000 . The replacement management information list 1000 is held in a storage circuit such as the storage circuit 302 .
系统控制部分301指示驱动设备310逐渐地在磁盘管理信息区域104中记录新的置换管理信息列表1000。结果,借助于驱动设备310,包括新的置换管理信息列表1000的磁盘管理信息逐渐地记录在磁盘管理信息区域104中。The system control section 301 instructs the drive device 310 to record a new replacement management information list 1000 in the disk management information area 104 gradually. As a result, disk management information including the new replacement management information list 1000 is gradually recorded in the disk management information area 104 by means of the drive device 310 .
可替换地,系统控制部分301可以输出置换信息更新指令到驱动设备310。置换信息更新指令可以包括表示记录在出错区域中的数据的位置的信息和表示以预定格式记录的修复数据的位置的信息(例如,逻辑地址)。Alternatively, the system control section 301 may output a replacement information update instruction to the drive device 310 . The replacement information update command may include information indicating the location of data recorded in the error area and information indicating the location of repair data recorded in a predetermined format (for example, a logical address).
当驱动设备310接收置换信息更新指令时,驱动设备310通过将包括在置换信息更新指令中的逻辑地址转译为物理地址,以此产生新的置换管理信息1010,并将新的置换管理信息1010添加到置换管理信息列表1000中。When the drive device 310 receives the replacement information update instruction, the drive device 310 translates the logical address included in the replacement information update instruction into a physical address, thereby generating new replacement management information 1010, and adding the new replacement management information 1010 to the replacement management information list 1000.
然后,通过驱动设备310,将包括置换管理信息1010的磁盘管理信息逐渐增加地记录在磁盘管理信息区域104中。Then, the disk management information including the replacement management information 1010 is incrementally recorded in the disk management information area 104 by the drive device 310 .
根据上述结构,通过使用伪重写,将记录在出错区域中的数据更新为修复数据,可以获得相同的效果。产生置换管理信息1010作为表示更新状态的更新信息。置换管理信息1010包括原始位置信息1012和置换位置信息1013。将表示记录在出错区域中的数据位置的信息设置为原始位置信息1012。表示修复数据的记录位置的信息被设置为置换位置信息1013。产生的置换管理信息1010记录在信息记录媒体100中。According to the above structure, the same effect can be obtained by updating the data recorded in the error area to repair data using pseudo-overwriting. Replacement management information 1010 is generated as update information indicating an update status. Replacement management information 1010 includes original location information 1012 and replacement location information 1013 . Information indicating the position of data recorded in the error area is set as original position information 1012 . Information indicating the recording position of repair data is set as replacement position information 1013 . The generated replacement management information 1010 is recorded in the
在下述再现过程中,通过参考置换管理信息1010,不再现记录在出错区域中的数据,且再现修复数据。从而,使用包括置换信息和置换扇区的置换机制,就可能对记录在记录出现错误的区域中的信息进行修复。In the reproduction process described below, by referring to the replacement management information 1010, the data recorded in the error area is not reproduced, and the repair data is reproduced. Thus, using a replacement mechanism including replacement information and a replacement sector, it is possible to repair information recorded in an area where a recording error occurred.
将参考图16说明在上述文件记录过程之后的文件再现过程。在这里,将说明再现数据文件(File-a)460的操作。The file reproduction process after the above-described file recording process will be described with reference to FIG. 16 . Here, the operation of reproducing the data file (File-a) 460 will be explained.
系统控制部分301指示驱动设备310再现记录在信息记录媒体100的预定位置(例如,逻辑地址=256)上的AVDP 600(步骤S301)。The system control section 301 instructs the drive device 310 to reproduce the AVDP 600 recorded on a predetermined location (for example, logical address=256) of the information recording medium 100 (step S301).
其次,系统控制部分301从AVDP 600处获得卷结构410的位置信息,并且指示驱动设备310再现卷结构410(步骤S302)。Next, the system control section 301 obtains the position information of the volume structure 410 from the AVDP 600, and instructs the drive device 310 to reproduce the volume structure 410 (step S302).
系统控制部分301从卷结构410处获得FE(元数据文件)441的位置信息。The system control section 301 obtains location information of an FE (metadata file) 441 from the volume structure 410 .
其次,系统控制部分301再现文件结构(步骤S303)。为了再现该文件结构,系统控制部分301基于获得的FE(元数据文件)441的位置信息,指示驱动设备310再现数据。Next, the system control section 301 reproduces the file structure (step S303). In order to reproduce the file structure, the system control section 301 instructs the drive device 310 to reproduce the data based on the obtained location information of the FE (metadata file) 441 .
其后,从再现的文件结构处获得数据文件(File-a)460的记录位置等,并且再现该数据文件(File-a)460(步骤S304)。Thereafter, the recording position and the like of the data file (File-a) 460 are obtained from the reproduced file structure, and the data file (File-a) 460 is reproduced (step S304).
从系统控制部分301到驱动设备310的再现指令至少表示位置信息,该位置信息表示将读出数据的位置。位置信息通过逻辑地址表示。当驱动设备310接收再现指令时,驱动设备310将再现指令中指定的逻辑地址转译为物理地址。然后,驱动设备310引用置换管理信息列表1000,检索保持物理地址的置换管理信息1010,将其作为原始位置信息1012。The reproduction instruction from the system control section 301 to the drive device 310 indicates at least position information indicating a position where data is to be read out. The location information is represented by a logical address. When the drive device 310 receives a reproduction instruction, the drive device 310 translates the logical address specified in the reproduction instruction into a physical address. Then, the drive device 310 refers to the replacement management information list 1000 , searches the replacement management information 1010 holding the physical address, and uses it as the original position information 1012 .
当在置换管理信息列表100中发现对应于在再现指令中指定的逻辑地址的置换管理信息1010时,获得包括在发现的置换管理信息1010中的置换位置信息1013。结果,获得数据实际上被记录的物理地址,以使得物理地址能对应于在再现指令中指定的逻辑地址。然后,再现该物理地址上的数据。将再现的数据输出到系统控制部分301。When the replacement management information 1010 corresponding to the logical address specified in the reproduction instruction is found in the replacement
具体地,例如,当为图15所示的出错区域510的逻辑地址提供再现指令时,驱动设备310检索置换管理信息列表1000,以便获得修复数据520的物理地址。Specifically, for example, when a reproduction instruction is given for the logical address of error area 510 shown in FIG.
再现修复数据520并且将修复数据输出到系统控制部分301。The repair data 520 is reproduced and output to the system control section 301 .
将一种类似的处理应用到其它出错区域。A similar process is applied to other error areas.
根据上述结构,就可能使用包括置换信息和置换扇区的置换机制,对记录在记录出现错误的区域中的信息进行修复。According to the above structure, it is possible to repair the information recorded in the area where the recording error occurred using the replacement mechanism including the replacement information and the replacement sector.
此外,同当记录图像数据时连续执行检验处理相比,可以减少存取数据的次数。In addition, the number of times of accessing data can be reduced compared to continuously performing verification processing when image data is recorded.
结果,就可能高速和高可靠性地记录图像数据。As a result, it is possible to record image data at high speed and with high reliability.
此外,可能再现数据而不察觉到对逻辑空间上的数据修复。Furthermore, it is possible to reproduce data without being aware of data repair on the logical space.
(实施例2)(Example 2)
将说明不同于实施例1的修复处理。Restoration processing different from Embodiment 1 will be described.
将参考图17和18说明关于图13的状态的修复处理。Restoration processing with respect to the state of FIG. 13 will be described with reference to FIGS. 17 and 18 .
图18是根据本发明的一个实施例示出经过修复处理后的数据结构的图表。FIG. 18 is a diagram illustrating a data structure after a repair process according to an embodiment of the present invention.
系统控制部分301准备数据修复(步骤S401)。在这里,该处理类似于步骤S201的处理。The system control section 301 prepares for data restoration (step S401). Here, the processing is similar to that of step S201.
此外,系统控制部分301分析包括在图像数据500中的文件结构。基于分析结果,在包括在该图像数据500的每个文件单元中执行以下处理。Furthermore, the system control section 301 analyzes the file structure included in the
确定将被处理的文件是否是实时文件(步骤S402)。可以通过,例如,参考以UDF规格定义的文件类型完成该确定。It is determined whether the file to be processed is a real-time file (step S402). This determination can be done, for example, by referring to the document type defined in the UDF specification.
例如,当数据文件(File-a)460不是实时文件时,程序进行到步骤S403。For example, when the data file (File-a) 460 is not a real-time file, the procedure proceeds to step S403.
在这种情况下,系统控制部分301指示驱动设备310执行文件的再现和比较(步骤S403)。更具体地说,在该步骤中,关于整个图像数据500,执行图14中描绘的再现和比较的每个步骤。In this case, the system control section 301 instructs the drive device 310 to perform reproduction and comparison of files (step S403). More specifically, in this step, each step of reproduction and comparison depicted in FIG. 14 is performed with respect to the
将检测出的出错区域(例如,510、511、513等等)注册到修复信息中。The detected error areas (for example, 510, 511, 513, etc.) are registered in the repair information.
例如,当数据文件(AV-File)480是实时文件时,程序进行到步骤S404。For example, when the data file (AV-File) 480 is a real-time file, the procedure proceeds to step S404.
在这种情况下,系统控制部分301指示驱动设备310执行文件的再现和比较(步骤S404)。更具体地说,在该步骤中,关于整个图像数据500,执行图14中描绘的再现和比较的每个步骤。In this case, the system control section 301 instructs the drive device 310 to perform reproduction and comparison of files (step S404). More specifically, in this step, each step of reproduction and comparison depicted in FIG. 14 is performed with respect to the
将检测出的出错区域(例如,512)注册到修复信息中。The detected error area (for example, 512) is registered in the repair information.
在两个步骤S403和S404中,都将出错区域注册到修复信息中。在这种情况下,假定把表示将被注册的出错区域是否包括在实时文件中的信息保存在修复信息中。在下文中,该信息被认为是出错区域类型。In both steps S403 and S404, the error area is registered in the repair information. In this case, it is assumed that information indicating whether the erroneous area to be registered is included in the real-time file is held in the repair information. In the following, this information is referred to as the error field type.
在步骤S403中或在该步骤之后,确定在图像数据500中是否保留有文件(步骤S405)。如果保留有文件,则程序返回到步骤S402,以便处理该保留文件。In or after step S403, it is determined whether a file remains in the image data 500 (step S405). If there is a file reserved, the procedure returns to step S402 in order to process the reserved file.
如果在步骤S405中确定已经处理了所有文件,则过程进行到步骤S406。If it is determined in step S405 that all files have been processed, the process proceeds to step S406.
其后,执行对数据记录的修复(步骤S406)。在步骤S406中,进行类似于步骤S207中的处理。Thereafter, repair of the data record is performed (step S406). In step S406, processing similar to that in step S207 is performed.
以下处理不同于步骤S207的处理。具体地,在修复信息中查阅出错区域类型,并且如果出错区域包括在实时文件中,则不在置换扇区中记录修复数据。The following processing is different from that of step S207. Specifically, the error area type is referred to in the repair information, and if the error area is included in the real-time file, repair data is not recorded in the replacement sector.
如果出错区域未包括在实时文件中,则进行类似于步骤S207的处理。If the error area is not included in the real-time file, a process similar to step S207 is performed.
其后,更新磁盘管理信息(步骤S407)。在步骤S407中,进行类似于步骤S208的处理。Thereafter, the disk management information is updated (step S407). In step S407, processing similar to step S208 is performed.
以下处理不同于步骤S208的处理。具体地,在修复信息中查阅出错区域类型,并且如果出错区域包括在实时文件中,关于新产生的置换管理信息1010,存储仅仅对于原始位置信息1012是有效的信息,并且致使置换位置信息1013无效。The following processing is different from the processing of step S208. Specifically, the error area type is referred to in the repair information, and if the error area is included in the real-time file, regarding the newly generated replacement management information 1010, information valid only for the original position information 1012 is stored, and the replacement position information 1013 is rendered invalid .
如果出错区域未包括在实时文件中,则进行类似于步骤S208处理。If the error area is not included in the real-time file, then proceed with processing similar to step S208.
在图17的流程图中,在文件单元内执行修复处理,因此,不排除对卷结构区域410等等的修复。除了这些文件以外的数据,可以执行实施例1的图14中描绘的修复过程。In the flowchart of FIG. 17, repair processing is performed within a file unit, therefore, repair of the volume structure area 410 and the like is not excluded. For data other than these files, the repair process depicted in FIG. 14 of Embodiment 1 can be performed.
根据上述结构,就可能使用包括置换信息和置换扇区的置换机制,对记录在记录出现出错的区域中的信息进行修复。According to the above structure, it is possible to repair the information recorded in the area where the recording error occurred using the replacement mechanism including the replacement information and the replacement sector.
一个文件接着一个文件地确定文件是否是实时文件。当文件不是实时文件时,修复数据以类似于实施例1的方式记录在置换扇区中。当文件是实时文件时,修复数据不记录在置换扇区中。从而,在实时文件的再现期间不执行访问操作,以使得数据再现不被中断。Whether or not a file is a real-time file is determined on a file-by-file basis. When the file is not a real-time file, repair data is recorded in the replacement sector in a similar manner to Embodiment 1. When the file is a live file, repair data is not recorded in the replacement sector. Thus, no access operation is performed during reproduction of the real-time file, so that data reproduction is not interrupted.
实时文件和其他文件优选记录在不同的ECC块中。在这种情况下,对不是实时文件的区域执行修复记录时,就可能避免实时文件的区域遭受修复记录。Live files and other files are preferably recorded in different ECC blocks. In this case, when repair recording is performed on an area that is not a live file, it is possible to prevent the area of the live file from being subjected to repair recording.
另一方面,将包括实时文件的出错区域注册到置换管理信息列表1000中。因此,可以在实时文件再现之前检测到出错区域。因此,例如,可以执行再现而避开该区域,从而改善系统的可靠性。On the other hand, an error area including a real-time file is registered in the replacement management information list 1000 . Therefore, an erroneous area can be detected before real-time file reproduction. Therefore, for example, reproduction can be performed avoiding this area, thereby improving the reliability of the system.
因为不修复实时文件本身的数据,可以省略整个步骤S404以减少修复处理的处理时间。Because the data of the real-time file itself is not repaired, the entire step S404 can be omitted to reduce the processing time of the repair process.
在上述实施例中,通过参考以,例如,UDF规格定义的文件类型,可以确定文件是否是实时文件。可替换地,可以独立地将轨道分配给记录实时文件的区域和其它区域。In the above-described embodiments, whether a file is a real-time file can be determined by referring to a file type defined in, for example, the UDF specification. Alternatively, tracks may be allocated independently to the area where the real-time file is recorded and to other areas.
(实施例3)(Example 3)
在该实施例中,将说明一种用于记录特别包括AV数据的图像数据,和使用伪重写记录修复记录中的错误的方法。传统地,一直有这样一种问题,即使用图像数据执行记录时,如果在记录数据时发生错误,是不可能进行修复的。本实施例可以解决这样的一种问题。In this embodiment, a method for recording image data including AV data in particular, and repairing an error in recording using pseudo-overwrite recording will be described. Conventionally, there has been a problem that, when recording is performed using image data, if an error occurs while recording data, it is impossible to repair it. This embodiment can solve such a problem.
图19A和19B图解了根据本实施例,在记录图像数据之前时刻在信息记录媒体100上的数据结构。如图19A所示,有包括磁盘管理信息区域104的导入区101,和包括磁盘管理信息区域105的导出区103。在卷空间109中,还没有记录数据。19A and 19B illustrate the data structure on the
以下说明将包括文件和图19B所示的目录树结构的记录图像数据2000进行到这样一种状态和一种数据结构的过程。如图19B所示,为通用数据文件的数据文件(File-e)、及其父目录的目录(Dir-E)、包括通过MPEG等等方案编码的AV数据的实时文件(AV-File),及其父目录的目录(AV-Dir)。The following describes the process of bringing the recorded image data 2000 including files and the directory tree structure shown in FIG. 19B to such a state and a data structure. As shown in Figure 19B, be the data file (File-e) of common data file, the directory (Dir-E) of its parent catalogue, comprise the real-time file (AV-File) of the AV data of scheme coding by MPEG etc., directory (AV-Dir) of its parent directory.
图20示出了图像数据2000的数据结构。图像数据2000是将由图19B所示的目录树和用于管理该目录树的文件管理信息合并成一个文件而获得的文件。FIG. 20 shows the data structure of image data 2000 . Image data 2000 is a file obtained by combining the directory tree shown in FIG. 19B and file management information for managing the directory tree into one file.
图像数据2000包括卷结构区域410、FE(元数据文件)441、元数据文件440、数据文件(File-e)2004、实时文件(AV-File)2005、FE(元数据镜像文件)451、卷结构区域411和元数据镜像文件450。文件的排列不局限于这种顺序。只要是符合UDF规格的任何顺序都可以。Image data 2000 includes volume structure area 410, FE (metadata file) 441, metadata file 440, data file (File-e) 2004, real-time file (AV-File) 2005, FE (metadata mirror file) 451, volume Structure area 411 and
与上述图像数据500相同的数据结构由相同的附图标记表示。The same data structures as those of the
除卷结构区域410和411之外的区域是相应于用2.5版本UDF规格等定义的物理分区420的区域。进一步地,物理分区420包括元数据分区430和431。如上所述,元数据分区包含文件管理信息。Areas other than the volume structure areas 410 and 411 are areas corresponding to the physical partition 420 defined with the version 2.5 UDF specification or the like. Further, the physical partition 420 includes
具体地,在图20所示的范例中,文件组描述符433、FE(ROOT)442、FE(Dir-E)2001、FE(AV-Dir)2002、FE(File-e)2002,和FE(AV-File)2003包括在元数据文件440中。元数据镜像文件450具有与元数据文件440相同的数据。Specifically, in the example shown in FIG. 20, the file group descriptor 433, FE (ROOT) 442, FE (Dir-E) 2001, FE (AV-Dir) 2002, FE (File-e) 2002, and FE (AV-File) 2003 is included in the metadata file 440 .
在以下说明中,为了说明的简明,将目录文件归入FE中。In the following description, for simplicity of description, the directory file is included in FE.
在物理分区420中的元数据文件440和元数据镜像文件450的记录位置和大小是分别通过FE(元数据文件)441和FE(元数据镜像文件)451进行管理的。The recording positions and sizes of the metadata file 440 and the
另一方面,数据文件(File-e)2004和实时文件(AV-File)2005被分配在物理分区420中。On the other hand, a data file (File-e) 2004 and a real-time file (AV-File) 2005 are allocated in the physical partition 420 .
特别地,实时文件(AV-File)2005分配在物理分区420中的满足预定条件的连续区域中,以便可以没有任何中断地再现数据。In particular, a real-time file (AV-File) 2005 is allocated in a continuous area satisfying a predetermined condition in the physical partition 420 so that data can be reproduced without any interruption.
预先在磁盘设备304等上形成这样的图像数据2000,然后将其从头顺序地记录在卷空间109中。Such image data 2000 is formed in advance on the magnetic disk device 304 or the like, and is then sequentially recorded in the
其次,将参考图21所示的流程图说明在图19A的状态中记录图像数据2000的过程。Next, the process of recording image data 2000 in the state of FIG. 19A will be described with reference to the flowchart shown in FIG. 21 .
在这里,假定在磁盘设备304上创建图像数据2000,并且它是被记录在信息记录媒体100中的。Here, it is assumed that the image data 2000 is created on the magnetic disk device 304 and it is recorded in the
在记录图像数据2000以前,系统控制部分301和驱动控制部分3.11从信息记录媒体100的磁盘管理信息区域读出数据记录/再现所需的数据(步骤S2001)。Before recording the image data 2000, the system control section 301 and the drive control section 3.11 read data necessary for data recording/reproduction from the disk management information area of the information recording medium 100 (step S2001).
然后,开始图像数据2000的记录(步骤S2002)。系统控制部分301从磁盘设备304的开头顺序地读取图像数据2000,并将其传送给存储电路302。Then, recording of the image data 2000 is started (step S2002). The system control section 301 sequentially reads the image data 2000 from the head of the magnetic disk device 304 and transfers it to the storage circuit 302 .
系统控制部分301指示驱动设备310记录图像数据2000。在这种情况下,根据磁盘管理信息,将图像数据2000记录在信息记录媒体100的未记录连续区域中。The system control section 301 instructs the drive device 310 to record the image data 2000 . In this case, the image data 2000 is recorded in the unrecorded continuous area of the
在图19A所示的状态中,整个卷空间109处于未记录状态。在这种情况下,图像数据2000是从卷空间109开头起记录在卷空间109中的。In the state shown in FIG. 19A, the
假定执行数据记录而不进行检验处理。在记录全部图像数据2000之后,程序进行到下一步骤。Assume that data recording is performed without verification processing. After recording all the image data 2000, the procedure proceeds to the next step.
其次,更新磁盘管理信息13(步骤S2003)。执行这样处理是为了反映记录图像数据2000的结果。Next, the disk management information 13 is updated (step S2003). Such processing is performed to reflect the result of recording the image data 2000 .
例如,对最新记录地址信息1107进行更新。进一步地,因为依照图像数据2000的记录,未记录区域是改变了的,所以将会话管理信息200和/或空间位图管理信息220更新为最新状态。For example, the latest recorded address information 1107 is updated. Further, since the unrecorded area is changed according to the recording of the image data 2000, the session management information 200 and/or the space bitmap management information 220 are updated to the latest state.
例如,当使用会话管理信息200管理未记录区域时,更新在相应于记录在图像数据500的轨道的轨道管理信息210中的最新数据记录位置信息213。For example, when an unrecorded area is managed using the session management information 200 , the latest data recording position information 213 in the track management information 210 corresponding to the track recorded in the
作为记录过程的结果,在信息记录媒体100上的数据结构成为图22所示的那种。在图19A中,图像数据2000连续地记录在保持未记录的卷空间109中。As a result of the recording process, the data structure on the
在完成图像数据的记录过程之后,执行对于记录数据的修复处理。将参考图23和25A说明对于记录数据的修复处理。After the recording process of the image data is completed, repair processing for the recorded data is performed. Repair processing for recorded data will be described with reference to FIGS. 23 and 25A.
系统控制部分301准备数据修复(步骤S2101)。例如,系统控制部分301和驱动控制部分311从信息记录媒体100的磁盘管理信息区域等中读出数据记录/再现所需的数据。The system control section 301 prepares for data restoration (step S2101). For example, the system control section 301 and the drive control section 311 read out data necessary for data recording/reproduction from the disk management information area or the like of the
此外,准备对在磁盘设备304上的图像数据2000和记录在信息记录媒体100上的数据进行再现。In addition, image data 2000 on the magnetic disk device 304 and data recorded on the
其次,系统控制部分301指示驱动设备310从记录在信息记录媒体100上的图像数据2000的引导位置中再现具有预定大小的数据(步骤S2102)。在这里,该预定的大小表示为扇区的一个单元或一个ECC块的一个单元。可替换地,预定大小表示为扇区或ECC块的整数倍单元。Next, the system control section 301 instructs the drive device 310 to reproduce data having a predetermined size from the leading position of the image data 2000 recorded on the information recording medium 100 (step S2102). Here, the predetermined size is expressed as a unit of a sector or a unit of an ECC block. Alternatively, the predetermined size is represented as an integer multiple unit of a sector or an ECC block.
特别地,优选地预定大小等于信息记录媒体100的数据重写单元或数据重写单元的整数倍。In particular, it is preferable that the predetermined size is equal to the data rewriting unit of the
将该再现数据传送到存储电路302。This reproduced data is transferred to the storage circuit 302 .
其次,系统控制部分301将存储电路302中的再现的数据与图像数据2000的至少一部分进行比较(步骤S2103)。例如,当图像数据2000保存在磁盘设备304中时,将相应于再现数据的一部分图像数据2000从磁盘设备304传送到存储电路302,然后在存储电路302上,对再现的数据和相应于该再现的数据的部分图像数据2000进行比较。Next, the system control section 301 compares the reproduced data in the storage circuit 302 with at least a part of the image data 2000 (step S2103). For example, when the image data 2000 is stored in the disk device 304, a part of the image data 2000 corresponding to the reproduced data is transferred from the disk device 304 to the storage circuit 302, and then on the storage circuit 302, the reproduced data and the data corresponding to the reproduced The portion of the data in the image data 2000 is compared.
这样的比较也可以在存储电路302以外的地方进行(例如,存储电路312)。Such comparisons may also be performed outside of storage circuit 302 (eg, storage circuit 312).
比较的结果是确定再现数据是否与相应于该再现数据的部分图像数据2000相匹配(步骤S2104)。As a result of the comparison, it is determined whether the reproduced data matches the partial image data 2000 corresponding to the reproduced data (step S2104).
当再现数据与相应于该再现数据的部分图像数据2000相匹配时,程序进行到步骤S2106。否则,程序进行到步骤S2015。When the reproduced data matches the partial image data 2000 corresponding to the reproduced data, the procedure proceeds to step S2106. Otherwise, the program proceeds to step S2015.
当再现数据与相应于该再现数据的部分图像数据2000不相匹配时,系统控制部分301确定图像数据2000的记录出现错误,检测图像数据2000的记录出现错误的区域作为出错区域,并且保持表示在出错区域中数据记录位置的信息(例如,逻辑地址),将其作为修复信息的一部分(步骤S2105)。修复信息可以存储在,例如,存储电路302(或磁盘设备304)中。When the reproduced data does not match the part of the image data 2000 corresponding to the reproduced data, the system control section 301 determines that an error occurs in the recording of the image data 2000, detects an area where an error occurs in the recording of the image data 2000 as an error area, and maintains the area indicated in The information (for example, logical address) of the data recording location in the error area is used as a part of the repair information (step S2105). Repair information may be stored, for example, in storage circuit 302 (or disk device 304).
在图25A所示的范例中,出错区域2101、2102中的每一个都是图像数据的数据记录出现错误的区域。表示出错区域的各自位置的信息可以包括在修复信息中。In the example shown in FIG. 25A, each of error areas 2101, 2102 is an area where data recording of image data has an error. Information indicating the respective locations of the error areas may be included in the repair information.
一种数据再现本身出现错误的情况,即因为某种原因发生的再现错误,以与再现数据和对应于该再现数据的部分图像数据2000不相匹配的情况类似的方式进行处理。A case where an error occurs in data reproduction itself, that is, a reproduction error that occurs for some reason, is handled in a similar manner to a case where the reproduced data and the partial image data 2000 corresponding to the reproduced data do not match.
当完成步骤S2015的处理时,处理进行到步骤S2106。When the processing of step S2015 is completed, the processing proceeds to step S2106.
确定数据再现/比较是否到达图像数据的末尾(步骤S2106)。It is determined whether the data reproduction/comparison reaches the end of the image data (step S2106).
如果数据再现/比较未到达图像数据2000的末尾,过程返回到步骤S2102,并且继续下一个数据的再现和比较。If the data reproduction/comparison has not reached the end of the image data 2000, the process returns to step S2102, and reproduction and comparison of the next data is continued.
如果数据再现/比较到达了图像数据2000的末尾,则执行对记录发生错误的数据的修复记录(步骤S2107)。If the data reproduction/comparison has reached the end of the image data 2000, repair recording of data where a recording error occurred is performed (step S2107).
该步骤处理的选取取决于出错区域的种类。将在下面参考图24更为详细地说明该步骤的处理。The selection of this step depends on the type of error area. The processing of this step will be described in more detail below with reference to FIG. 24 .
通过参考表示该出错区域的信息,该信息是作为修复信息存储的,确定出错区域是否包括在实时文件的范围内(步骤S2201)。By referring to the information indicating the erroneous area, which is stored as repair information, it is determined whether the erroneous area is included in the range of the real-time file (step S2201).
例如,通过核对文件结构中的档案入口(FE),可以进行确定。这是因为每个FE保持有关于分区空间内组成每个文件的位置和范围大小的信息。进一步地,通过参考以UDF规格定义的文件类型,就可能确定每个文件是否是实时文件。The determination can be made, for example, by checking the archive entry (FE) in the file structure. This is because each FE holds information about the location and extent size of each file within the partition space. Further, by referring to the file type defined in the UDF specification, it is possible to determine whether each file is a real-time file.
例如,出错区域S2101是不被包括在任何实时文件的任何范围内的区域。在这种情况下,处理进行到步骤S2202。另一方面,出错区域S2102是包括在实时文件范围内的区域。在这种情况下,处理进行到步骤S2204。否则,处理进行到步骤S2202。For example, the error area S2101 is an area not included in any range of any real-time file. In this case, the process proceeds to step S2202. On the other hand, the error area S2102 is an area included in the real-time file range. In this case, the process proceeds to step S2204. Otherwise, the process proceeds to step S2202.
相应于出错区域(即表示出错区域的正确内容的数据)的修复数据记录在置换簇(例如,备用区106或备用区107)中(步骤S2202)。从图像数据2000的相应位置读出相应于出错数据的数据,该读出数据作为修复数据记录在备用区中。例如,在图25A中,记录用于出错区域2101的修复数据2201。Repair data corresponding to the erroneous area (ie, data representing the correct content of the erroneous area) is recorded in the replacement cluster (eg,
例如,通过系统控制部分301将用于修复记录的预定命令发送到驱动设备310而执行这些处理步骤。These processing steps are executed by the system control section 301 sending a predetermined command for repairing the recording to the drive device 310, for example.
将相应于出错数据的修复数据记录在接近出错区域的置换簇的位置上是合乎需要的。这使得减少数据记录/再现所需的访问时间成为可能It is desirable to record the repair data corresponding to the erroneous data at the position of the replacement cluster close to the erroneous area. This makes it possible to reduce the access time required for data recording/reproduction
系统控制部分301产生相关信息并在诸如存储电路302或存储电路312的存储器中保持该相关信息(步骤S2203)。该相关信息是用于使得出错区域的位置信息与备用区中的修复数据的记录位置相互关联的信息。The system control section 301 generates related information and holds the related information in a memory such as the storage circuit 302 or the storage circuit 312 (step S2203). This correlation information is information for correlating the position information of the error area and the recording position of the repair data in the spare area.
重新记录实时文件(步骤S2204)。在这种情况下,如上所述,为了再现实时文件而不发生任何中断(即,为了执行无缝再现),需要将实时文件定位在满足预定标准的物理连续区域中。Re-record the real-time file (step S2204). In this case, as described above, in order to reproduce a real-time file without any interruption (ie, to perform seamless reproduction), it is necessary to locate the real-time file in a physically continuous area satisfying a predetermined criterion.
然而,当出错区域包括在实时文件中时,由于从出错区域提供数据的暂停,而有中断实时文件再现的可能性。However, when an erroneous area is included in a real-time file, there is a possibility of interrupting the reproduction of the real-time file due to the suspension of supply of data from the erroneous area.
在该步骤中,对包括了实时文件上的出错区域的区域进行检测。该包括出错区域的区域可能导致实时文件再现的中断。具体地,在图25A中,包括相应于范围#2(该范围#2包括在实时文件(AV-File)2005中)的出错区域的区域。In this step, an area including an error area on the real-time file is detected. The area including the erroneous area may cause interruption of real-time file reproduction. Specifically, in FIG. 25A, an area corresponding to an error area of range #2 (the range #2 included in the real-time file (AV-File) 2005) is included.
从图像数据2000中读出相应于范围#2的数据,并且该读出数据是记录在作为范围#2a的卷空间109的未记录区域中(包括范围#2的正确内容的数据)。The data corresponding to the range #2 is read out from the image data 2000, and the read data is recorded in the unrecorded area of the
确定范围#2a的长度以满足预定标准。预定标准用于再现包括范围#2a的已修复的实时文件(AV-File)2005,而不会发生任何中断。The length of range #2a is determined to satisfy predetermined criteria. A predetermined criterion is used to reproduce the repaired real-time file (AV-File) 2005 including range #2a without any interruption.
在该范例中,在实时文件中仅仅有一个出错区域。然而,在实时文件中可能有多个出错区域。在这种情况下,可适用类似的处理。如上所述,当重新记录该范围时,确定每个范围的长度,以使得该范围的再现可以执行而不会发生任何中断。In this example, there is only one error field in the live file. However, there may be multiple error areas in the live file. In this case, similar processing is applicable. As described above, when re-recording the range, the length of each range is determined so that reproduction of the range can be performed without any interruption.
其次,对该文件结构进行更新以反映对该范围的重新记录(步骤S2205)。在步骤S2204中,改变实时文件(AV-File)2005的范围。为了反映该变化,应当对文件结构进行更新。在该范例中,需要更新用于管理实时文件(AV-文件)2005的FE。例如,可以通过更新元数据文件,进行文件结构的更新。Next, the file structure is updated to reflect the re-recording of the range (step S2205). In step S2204, the range of the real-time file (AV-File) 2005 is changed. The file structure should be updated to reflect this change. In this example, FE for managing real-time files (AV-files) 2005 needs to be updated. For example, the file structure can be updated by updating the metadata file.
在图25A所示的范例中,作为对元数据文件440的更新的元数据文件2300记录在卷空间109的未记录区域中。进一步地,记录用于管理该元数据文件2300的FE(元数据文件)2301。In the example shown in FIG. 25A , a metadata file 2300 as an update to the metadata file 440 is recorded in an unrecorded area of the
更新该卷结构(步骤S2206)。在步骤S2205中,更新文件结构。通过伪重写该卷结构,将涉及该文件结构的卷结构更新为最新信息。Update the volume structure (step S2206). In step S2205, the file structure is updated. By pseudo-rewriting the volume structure, the volume structure related to the file structure is updated to the latest information.
具体地,在图25A中,将相应于卷结构2302A和2303A更新的卷结构更新为卷结构2302B和2303C。Specifically, in FIG. 25A, volume structures corresponding to volume structures 2302A and 2303A are updated to volume structures 2302B and 2303C.
对于每个包括在修复信息中的出错区域执行修复记录处理。当完成该修复处理时,处理返回到图23中的处理。Repair recording processing is executed for each error area included in the repair information. When this repair process is completed, the process returns to the process in FIG. 23 .
对磁盘管理信息进行更新(步骤S2108)。该更新处理包括以下步骤。Update the disk management information (step S2108). This update process includes the following steps.
在存储电路302等中,系统控制部分301从步骤S2203中获得的相关信息中产生新的置换管理信息1010。In the storage circuit 302 and the like, the system control section 301 generates new replacement management information 1010 from the relevant information obtained in step S2203.
例如,对于包括在相关信息(例如,表示记录在出错区域中的数据的位置和表示在记录修复数据处的置换簇的位置信息)中的信息,执行预定转译(例如,将逻辑地址转译为物理地址)。For example, predetermined translation (for example, translation of a logical address into a physical address).
产生的置换管理信息1010包括原始位置信息1012和置换位置信息1013。记录在出错区域中的数据的位置被设置为原始位置信息1012。记录修复数据的置换簇的位置被设置为置换位置信息1013。The generated replacement management information 1010 includes original location information 1012 and replacement location information 1013 . The location of data recorded in the error area is set as original location information 1012 . The position of the replacement cluster where repair data is recorded is set as replacement position information 1013 .
进一步地,产生包括产生的置换管理信息1010的新的置换管理信息列表1000。在步骤S2206中通过伪重写卷结构而产生的置换管理信息1010被添加到新的置换管理信息列表1000中。Further, a new replacement management information list 1000 including the generated replacement management information 1010 is generated. The replacement management information 1010 generated by pseudo-rewriting the volume structure in step S2206 is added to the new replacement management information list 1000 .
系统控制部分301指示驱动设备310记录产生的置换管理信息列表1000。该驱动设备310逐渐地在磁盘管理信息区域104中记录新的置换管理信息列表1000。The system control section 301 instructs the drive device 310 to record the generated replacement management information list 1000 . The drive device 310 gradually records a new replacement management information list 1000 in the disk management information area 104 .
系统控制部分301可以从在步骤S2203中获得的相关信息中产生置换信息更新指令,该置换信息更新指令包括表示记录在出错区域中的数据位置的信息和表示以预定格式(例如,逻辑地址)记录的修复数据位置的信息,并将置换信息更新指令输出到驱动设备310。The system control section 301 may generate a replacement information update instruction including information indicating the position of data recorded in the error area and indicating the location of data recorded in a predetermined format (for example, logical address) from the relevant information obtained in step S2203. information of the repair data location, and output a replacement information update command to the drive device 310 .
当驱动设备310接收置换信息更新指令时,驱动设备310通过将包括在置换信息更新指令中的逻辑地址转译为物理地址,以此产生置换管理信息1010,将产生的置换管理信息1010添加到置换管理信息列表1000中,并逐渐地在磁盘管理信息区域104中记录该置换管理信息列表1000。When the drive device 310 receives the replacement information update command, the drive device 310 generates the replacement management information 1010 by converting the logical address included in the replacement information update command into a physical address, and adds the generated replacement management information 1010 to the replacement management The replacement management information list 1000 is recorded in the information list 1000 and gradually in the disk management information area 104 .
在步骤S2205中,为了反映该范围的重新记录,通过对卷结构伪重写而将文件结构更新为最新的信息。然而,也可以除了在该文件结构(例如,FE(元数据文件))中的卷结构之外的部分进行伪重写。例如,如图25B所示,可能借助FE(元数据文件)2301B而伪重写FE(元数据文件)441。In step S2205, the file structure is updated to the latest information by pseudo-rewriting the volume structure in order to reflect the re-recording of the range. However, pseudo-rewriting may also be performed on parts other than the volume structure in this file structure (for example, FE (metadata file)). For example, as shown in FIG. 25B, it is possible to pseudo-rewrite FE (metadata file) 441 by means of FE (metadata file) 2301B.
替换地,有可能对已经修复的实时文件的FE进行伪重写。Alternatively, it is possible to pseudo-rewrite the FE of a live file that has been repaired.
上述修复操作等价于对记录在出错区域中的数据更新为修复数据。置换管理信息1010和在更新之后的文件结构作为更新信息记录在信息记录媒体100中,以反映文件系统的更新状态。置换管理信息1010是使得更新之前的文件结构(例如,卷结构2302A、FE(元数据文件)441等等)与更新之后的文件结构(例如,卷结构2302B和FE(元数据文件)2301B等等)相互关联。更新之前的文件结构是表示记录在出错区域中的数据位置的第一地址信息。更新之后的文件结构是表示修复数据的记录位置的第二地址信息。The above repair operation is equivalent to updating the data recorded in the error area to repair data. The replacement management information 1010 and the file structure after update are recorded in the
在下述再现处理中,通过参考置换管理信息1010,对更新之后的文件结构进行再现。因而不再现记录在出错区域中的数据,并且再现修复数据。从而,使用包括置换信息和置换扇区的置换机制,就可能对记录出现错误的区域中的信息进行修复。In the playback processing described below, the updated file structure is played back by referring to the replacement management information 1010 . Thus, the data recorded in the error area is not reproduced, and the repair data is reproduced. Thus, using a replacement mechanism including replacement information and a replacement sector, it is possible to repair information in an area where a recording error occurred.
在完成记录这样一个文件的处理之后,执行用于再现该文件的处理。以下参考图26所示的流程图,将说明用于再现该文件的处理。在这里,将再现该数据文件(File-e)2004的操作作为典型的再现操作进行说明。After the processing of recording such a file is completed, processing for reproducing the file is performed. Referring to the flowchart shown in Fig. 26, the processing for reproducing the file will be described. Here, the operation of reproducing the data file (File-e) 2004 will be described as a typical reproducing operation.
系统控制部分301指示驱动设备310再现记录在信息记录媒体100中的预定位置(例如,逻辑地址=256)上的AVDP 600(步骤S2301)。The system control section 301 instructs the drive device 310 to reproduce the AVDP 600 recorded on a predetermined location (for example, logical address=256) in the information recording medium 100 (step S2301).
其次,系统控制部分301从AVDP 600处获得卷结构410的位置信息,并且指示驱动设备310再现卷结构410(步骤S2302)。Next, the system control section 301 obtains the position information of the volume structure 410 from the AVDP 600, and instructs the drive device 310 to reproduce the volume structure 410 (step S2302).
当接收到指令时,驱动设备310参考置换管理信息列表1000,将保持逻辑卷描述符601的位置信息的置换管理信息1010检索出来,作为原始位置信息1012。当驱动设备310检索置换管理信息1010时,获得包括在置换管理信息1010中的置换位置信息1013。最终,获得卷结构2302B的位置信息。驱动设备310再现卷结构2302B,并将其返回到系统控制部分301中。基于接收的卷结构2302B,系统控制部分301从包括在卷结构2302中的分区图(类型2)处获得FE(元数据文件)2301的位置信息。When receiving the instruction, the drive device 310 refers to the replacement management information list 1000 and retrieves the replacement management information 1010 holding the location information of the logical volume descriptor 601 as the original location information 1012 . When the drive device 310 retrieves the replacement management information 1010, the replacement position information 1013 included in the replacement management information 1010 is obtained. Finally, the location information of the volume structure 2302B is obtained. The drive device 310 reproduces the volume structure 2302B, and returns it to the system control section 301 . Based on the received volume structure 2302B, the system control section 301 obtains the location information of the FE (metadata file) 2301 from the partition map (type 2) included in the volume structure 2302.
其次,系统控制部分301再现文件结构(步骤S2303)。为了再现文件结构,系统控制部分301基于获得的FE(元数据文件)2301的位置信息,指示驱动设备310再现FE(元数据文件)2301。Next, the system control section 301 reproduces the file structure (step S2303). In order to reproduce the file structure, the system control section 301 instructs the drive device 310 to reproduce the FE (metadata file) 2301 based on the obtained position information of the FE (metadata file) 2301 .
元数据文件2300的位置信息是从再现的FE(元数据文件)2301处获得的。从而,就可能访问包括在最新文件管理信息中的元数据文件2300。The location information of the metadata file 2300 is obtained from the reproduced FE (metadata file) 2301 . Thus, it is possible to access the metadata file 2300 included in the latest file management information.
从再现的文件结构处获得数据文件(File-e)2004的记录位置,并且再现数据文件(File-e)2004(步骤S2304)。为了再现该数据文件(File-e)2004,系统控制部分301输出一个再现指令到驱动设备310。在再现指令中,数据文件(File-e)2004的位置信息由逻辑地址表示。当接收到再现指令时,驱动设备310将逻辑地址转译为物理地址。驱动设备310参考该置换管理信息列表1000,并将保持该物理地址的置换管理信息1010检索出来作为原始位置信息1012。The recording position of the data file (File-e) 2004 is obtained from the reproduced file structure, and the data file (File-e) 2004 is reproduced (step S2304). In order to reproduce the data file (File-e) 2004, the system control section 301 outputs a reproduction instruction to the drive device 310. In the reproduction command, the location information of the data file (File-e) 2004 is indicated by a logical address. When receiving a reproduction instruction, the drive device 310 translates the logical address into a physical address. The drive device 310 refers to the replacement management information list 1000 and retrieves the replacement management information 1010 holding the physical address as the original position information 1012 .
当驱动设备310检索置换管理信息1010时,获得包括在置换管理信息1010中的置换位置信息1013。因而,获取在再现指令中相应于该逻辑地址的物理地址。驱动设备310再现位于该物理地址上的数据,并将其返回到系统控制部分301。When the drive device 310 retrieves the replacement management information 1010, the replacement position information 1013 included in the replacement management information 1010 is obtained. Thus, the physical address corresponding to the logical address in the reproduction command is acquired. The drive device 310 reproduces the data located at the physical address, and returns it to the system control section 301 .
在图25A所示的范例中,当将包括出错区域2101的逻辑地址的再现指令输出到驱动设备310时,驱动设备310检索置换管理信息列表1000,并获得修复数据2201的物理地址。In the example shown in FIG. 25A , when a reproduction command including the logical address of error area 2101 is output to drive device 310 , drive device 310 retrieves replacement management information list 1000 and obtains the physical address of repair data 2201 .
驱动设备310再现该修复数据,并将其返回到系统控制部分301。The drive device 310 reproduces the repair data, and returns it to the system control section 301 .
类似的处理适用于其它出错区域。Similar processing applies to other error areas.
另一方面,在实时文件(AV-File)2005的再现中,可以逐步再现包括在文件入口中的范围。这是因为,如参考图23的说明,在对包括实时数据的范围的修复中,重新记录该范围而不使用该置换机制,并通过伪重写而更新该文件结构。On the other hand, in the reproduction of the real-time file (AV-File) 2005, the range included in the file entry can be reproduced step by step. This is because, as explained with reference to FIG. 23, in repairing the range including real-time data, the range is re-recorded without using the replacement mechanism, and the file structure is updated by pseudo-rewriting.
根据上述处理,在图像数据2000的记录中,就可能使用包括置换信息和置换扇区的置换机制,修复记录出现错误的区域(出错区域)中的信息。According to the above processing, in the recording of the image data 2000, it is possible to restore information in an area where an error occurs in recording (error area) using a replacement mechanism including replacement information and a replacement sector.
如果置换机制用于实时文件,则AV数据分配在不连续的位置上,以致在没有任何中断的情况下不能再现AV数据。根据本发明的该实施例,通过在用户数据区域中重新记录包括出错区域的实时文件的范围,就可能修复该数据并满足该AV数据的分配标准。通过伪重写文件结构实现修复处理所需的对该文件结构的更新。If a replacement mechanism is used for a real-time file, AV data is allocated at discontinuous positions so that the AV data cannot be reproduced without any interruption. According to this embodiment of the present invention, by re-recording the range of the real-time file including the erroneous area in the user data area, it is possible to repair the data and satisfy the distribution standard of the AV data. Updates to the file structure required for repair processing are achieved by pseudo-rewriting the file structure.
在不使用任何备用区的情况下实现了对实时文件中的出错区域的修复。因此,不需要分配一个大的备用区。因而,就可能减少实施上的负担并有效地利用信息记录媒体上的数据区域。The repair of the erroneous area in the real-time file is realized without using any spare area. Therefore, there is no need to allocate a large spare area. Therefore, it is possible to reduce the burden on implementation and effectively utilize the data area on the information recording medium.
通过实施上述修复功能,即使信息记录媒体在制造它们的时候降低了质量,还是可能实现作为整个系统的高可靠性。这在可以减少磁盘的制造成本上提供了显著的工业优势。By implementing the above-mentioned restoration function, it is possible to realize high reliability as a whole system even if information recording media are degraded in quality when they are manufactured. This provides a significant industrial advantage in that the manufacturing cost of the magnetic disk can be reduced.
在逻辑空间上,如图25A和25B所示,在完成修复之后获得的文件结构与只读文件结构相同。从而,就可能再现记录在只写一次记录媒体中的数据,甚至在用于只读媒体或可再写性记录媒体的不能执行再现操作的系统中。In the logical space, as shown in FIGS. 25A and 25B , the structure of the file obtained after the restoration is completed is the same as that of the read-only file. Thus, it is possible to reproduce data recorded in a write-once recording medium even in a system for a read-only medium or a rewritable recording medium that cannot perform a reproduction operation.
在上述记录过程中,在记录所有图像数据之后执行修复记录而不执行任何检验处理。当执行检验处理的同时记录图像数据时,必须在记录数据之后立即访问记录的数据,并再现用于数据记录的每个最小单元(例如,ECC块的单元)所记录的数据。从而,当与检验处理一同执行图像数据的记录时,大大地增加了记录整个图像数据2000所需的时间。In the recording process described above, repair recording is performed after recording all image data without performing any verification processing. When image data is recorded while performing verification processing, it is necessary to access the recorded data immediately after recording the data and reproduce the data recorded for each minimum unit (for example, a unit of ECC block) for data recording. Thus, when recording of image data is performed together with inspection processing, the time required to record the entire image data 2000 is greatly increased.
另一方面,在本发明的实施例中,数据的记录和修复两者都使用连续数据访问进行。因此,不需要由磁头部分334进行访问和对磁盘转速进行控制的任何额外的等待时间,并且可能极大地减少处理时间。On the other hand, in the embodiment of the present invention, both recording and repairing of data are performed using continuous data access. Therefore, there is no need for any additional waiting time for access and control of the disk rotational speed by the head section 334, and it is possible to greatly reduce the processing time.
在发明的上述实施例中,系统控制部分301指示驱动设备310执行伪重写。通过使用用于执行伪重写的预定指令(命令)产生这样的指令。可替换地,当接收到正常记录指令时,驱动设备310可能检测数据的重写,并且可能自动地执行伪重写。In the above-described embodiments of the invention, the system control section 301 instructs the drive device 310 to perform dummy rewriting. Such a command is generated by using a predetermined command (command) for performing dummy rewriting. Alternatively, the drive device 310 may detect rewriting of data when receiving a normal recording instruction, and may automatically perform dummy rewriting.
本发明不局限于上述实施例。本发明还可以被用于,例如,一种信息记录媒体(例如,只写一次光盘等等)以及一种记录/再现设备(例如,电视录像机、磁盘录像摄像机等等)中。The present invention is not limited to the above-described embodiments. The present invention can also be used, for example, in an information recording medium (for example, a write-once optical disc, etc.) and a recording/reproducing device (for example, a television video recorder, a disk video camera, etc.).
虽然在这里已经说明了某些优选的实施例,但是不意味着将这样的实施例看作是除所附的权利要求提出的内容之外对本发明范围的限制。在阅读这里的说明书之后,不背离本发明范围和精神的各种其它修改和等价物对于本领域的技术人员来说是显而易见的并且可以容易实现。所有的专利、公开的专利申请以及于此引用的公开文本包含在这里以作参考。While certain preferred embodiments have been described herein, such embodiments are not to be considered as limitations on the scope of the invention except as set forth in the appended claims. Various other modifications and equivalents which do not depart from the scope and spirit of the invention will be apparent to and can be readily made by those skilled in the art after reading the description herein. All patents, published patent applications, and publications cited herein are hereby incorporated by reference.
Claims (11)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004123499 | 2004-04-19 | ||
JP123499/04 | 2004-04-19 | ||
JP138920/04 | 2004-05-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1716427A true CN1716427A (en) | 2006-01-04 |
Family
ID=35822171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510078357 Pending CN1716427A (en) | 2004-04-19 | 2005-04-19 | Recording device and method, host device, semiconductor circuit, and information recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1716427A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101803396A (en) * | 2008-09-17 | 2010-08-11 | 松下电器产业株式会社 | Recording medium, reproduction device, and integrated circuit |
CN108829348A (en) * | 2018-05-29 | 2018-11-16 | 上海兆芯集成电路有限公司 | Memory device and command reordering method |
-
2005
- 2005-04-19 CN CN 200510078357 patent/CN1716427A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101803396A (en) * | 2008-09-17 | 2010-08-11 | 松下电器产业株式会社 | Recording medium, reproduction device, and integrated circuit |
CN101803396B (en) * | 2008-09-17 | 2014-03-05 | 松下电器产业株式会社 | Recording method, reproducing device and integrated circuit |
CN108829348A (en) * | 2018-05-29 | 2018-11-16 | 上海兆芯集成电路有限公司 | Memory device and command reordering method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1253885C (en) | Apparatus and method for recording and reproducing information including system controller | |
CN100346418C (en) | Method and apparatus for managing defects of information recording medium | |
CN1271630C (en) | Method of manufacturing information recording medium, information recording method, and information recording apparatus | |
CN1159718C (en) | Information recording method and information recording/reproducing system | |
CN1311462C (en) | Information recording medium, information recording method and apparatus , information reproduction method and apparatus thereof | |
CN1643600A (en) | Information recording medium, recording apparatus, reproducing apparatus, recording method, and reproducing method allowing updating of defect list | |
CN1698123A (en) | Recording medium, recording device, reproduction device, recording method, and reproduction method | |
CN1121035C (en) | Data recording/reproducing device, file managing method, file information generating method, management information generating device and analyzing device, and medium | |
CN1846268A (en) | Write-once recording medium, recording method, recording apparatus, reproducing method, and reproducing apparatus | |
CN1941142A (en) | Optical recording medium, recording/reproduction apparatus, and recording/reproduction method | |
CN1754220A (en) | Write once read many information recording medium, information recording method, information reproducing method, information recording apparatus, and information reproducing apparatus | |
CN1698122A (en) | Recording medium, recording device, reproduction device, recording method, and reproduction method | |
CN1251189C (en) | Optical disc controller and optical disc device using the same | |
CN1377502A (en) | Method and apparatus for AV data recording, and disk recorded by method and apparatus | |
CN1643605A (en) | Data recording method, data recording device, data recording medium, data reproduction method, and data reproduction device | |
CN1457495A (en) | Information recording apparatus and method, information reproducing apparatus and method, information recording medium, program storage medium and program | |
CN1698120A (en) | Content data transmission system and content data transmission method | |
CN1519756A (en) | Recording and reproducing device, recording and reproducing method, computer program, and recording medium | |
CN1779837A (en) | Method of replacement process, recording apparatus, and recording system | |
CN1674139A (en) | AV data recording device | |
CN1252141A (en) | File storage method, data storage apparatus, storage media management file management, method of writing received data in storage media, and program storage media | |
CN1717649A (en) | Apparatus for managing removable storage medium connectable thereto and method, program and system for managing removable storage medium LSI | |
CN1627427A (en) | Data recording/reproducing device, data recording/reproducing method, program, and recording medium | |
CN1816874A (en) | Information processing device and method, program and recording medium | |
CN1578981A (en) | Information recording medium, simultaneous recording method, and information recording/reproduction apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |