[go: up one dir, main page]

JP2001291366A - Recording method and apparatus, and recording medium - Google Patents

Recording method and apparatus, and recording medium

Info

Publication number
JP2001291366A
JP2001291366A JP2000101545A JP2000101545A JP2001291366A JP 2001291366 A JP2001291366 A JP 2001291366A JP 2000101545 A JP2000101545 A JP 2000101545A JP 2000101545 A JP2000101545 A JP 2000101545A JP 2001291366 A JP2001291366 A JP 2001291366A
Authority
JP
Japan
Prior art keywords
file
area
entity
recording medium
data
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
Application number
JP2000101545A
Other languages
Japanese (ja)
Inventor
Hirobumi Todo
博文 藤堂
Makoto Yamada
誠 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2000101545A priority Critical patent/JP2001291366A/en
Publication of JP2001291366A publication Critical patent/JP2001291366A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 ディスク上の階層構造を管理する管理情報が
失われても復元可能にする。 【解決手段】 領域DAN−2は、ディスクの階層構造
の管理情報が記録される。RIFは、領域DAN−2の
複製とRIF自身のFEとからなる。また、領域DAN
−3に書き込まれるファイルも、本来のFEが複製され
たFEが付加される。ファイルの2重化されたFEは、
REIFによって管理される。領域DAN−2における
ファイルのFIDによって当該ファイルのFEが指し示
される。当該FEは、RIFにおける対応するファイル
のFIDによっても指し示される。領域DAN−2の情
報が破損された場合は、RIFの対応する情報が破損さ
れた情報に換えて用いられるか、RIFの対応する情報
が領域DAN−2に対して書き込まれて、破損された管
理情報が修復される。
(57) [Summary] [PROBLEMS] To enable restoration even if management information for managing a hierarchical structure on a disk is lost. An area DAN-2 records management information of a hierarchical structure of a disk. The RIF includes a copy of the area DAN-2 and the FE of the RIF itself. Also, the area DAN
-3 in which the original FE is duplicated is also added to the file written in -3. The duplicated FE of the file is
Managed by REIF. The FID of the file in the area DAN-2 indicates the FE of the file. The FE is also indicated by the FID of the corresponding file in the RIF. If the information in the area dan-2 is damaged, the corresponding information in the RIF is used in place of the damaged information, or the corresponding information in the RIF is written to the area dan-2 and the information is damaged. The management information is restored.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、書き換え可能
で、特に大容量のデータを記録可能なディスク状記録媒
体にデータを記録する記録方法および装置、ならびに、
記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording method and apparatus for recording data on a rewritable disk-shaped recording medium capable of recording a particularly large amount of data, and
It relates to a recording medium.

【0002】[0002]

【従来の技術】近年、DVD(Digital Versatile Disk)
に代表される、高密度光ディスクの開発が進み、それに
伴い、規格の標準化が進められた。この標準化により、
UDF(Universal Disk Format)が策定された。DVD
が書き換え可能とされたDVD−RAM(DVD-Random Ac
cess Memory)は、このUDFに従った論理フォーマット
が用いられる。また、CD−ROM(Compact Disc-Read
Only Memory)が書き込み可能とされたCD−Rや、書
き換え可能とされCD−RWも、このUDFを適用可能
である。
2. Description of the Related Art In recent years, DVD (Digital Versatile Disk)
As a result, the development of high-density optical discs has progressed, and with this, standardization of standards has been promoted. With this standardization,
UDF (Universal Disk Format) was formulated. DVD
DVD-RAM (DVD-Random Ac
cess Memory) uses a logical format according to the UDF. Also, CD-ROM (Compact Disc-Read
This UDF is applicable to a CD-R in which Only Memory (Writable Memory) is writable and a CD-RW in which rewritable data is rewritable.

【0003】UDFにおいては、階層的なファイルシス
テムが用いられ、ルートディレクトリに格納された情報
からサブディレクトリが参照され、サブディレクトリに
格納された情報から、さらに別のサブディレクトリの参
照や、実体的なファイルの参照がなされる。
[0003] In UDF, a hierarchical file system is used, and a subdirectory is referred to from information stored in a root directory. File is referenced.

【0004】上述について、より具体的に説明する。デ
ィスク上の記録領域は、セクタを最小単位としてアクセ
スされ、例えばDVD−RAMでは、ディスクの内側か
ら外側へとアクセスがなされる。最内周側から、リード
イン領域に続けてボリューム情報が書き込まれる領域
(ここでは、システム領域とする)が配され、ここに、
ルートディレクトリのファイルエントリ(File Entry:以
下、FEと略称する)が書き込まれる位置が示される。
FEは、ルートディレクトリ、サブディレクトリおよび
ファイルのアドレスと長さの情報であるアロケーション
ディスクリプタ(Allocation Descriptor:以下、ADと
略称する)からなる。
The above will be described more specifically. The recording area on the disk is accessed with a sector as a minimum unit. For example, in a DVD-RAM, access is made from the inside to the outside of the disk. From the innermost side, an area (here, a system area) in which volume information is written is arranged following the lead-in area.
A position where a file entry (File Entry: hereinafter abbreviated as FE) of the root directory is written is shown.
The FE includes an Allocation Descriptor (hereinafter, abbreviated as AD), which is information on the address and length of a root directory, a subdirectory, and a file.

【0005】ルートディレクトリのFEにおいて、AD
によって実体としてのルートディレクトリの論理アドレ
スと長さとが示される。ルートディレクトリは、1また
は複数のファイル識別記述子(File Identifier Descrip
tor:以下、FIDと略称する)を含み、FIDによっ
て、ルートディレクトリ下にあるサブディレクトリのF
EやファイルのFEが参照される。これらのFEによっ
て、それぞれ対応するサブディレクトリやファイルの実
体が参照される。また、サブディレクトリの実体は、さ
らに1または複数のFIDを含む。すなわち、UDFに
おいて、ルートディレクトリ以外は、FIDおよびFE
をポインタとして、FID、FEおよび実体の順にアク
セスが行われる。
In the root directory FE, AD
Indicates the logical address and length of the root directory as an entity. The root directory contains one or more File Identifier Descrip
tor: hereinafter abbreviated as FID).
E and FE of the file are referred to. These FEs refer to the corresponding subdirectories and file entities. The substance of the subdirectory further includes one or more FIDs. That is, in UDF, except for the root directory, FID and FE
Are used as pointers to access in the order of FID, FE, and entity.

【0006】[0006]

【発明が解決しようとする課題】ところで、UDFで
は、上述のFID、FEおよび実体は、記録可能な領域
のどこに書き込んでも良いとされている。FID、FE
および実体は、互いに関連する情報であっても、離れた
アドレスに書き込むことができる。また、FID、FE
および実体が書き込まれるアドレスは、アクセスされる
順番になっていなくても良いとされている。
By the way, in UDF, the above-mentioned FID, FE and entity can be written in any recordable area. FID, FE
And entities can be written to distant addresses, even if they are related information. FID, FE
It is stated that the addresses where the entities are written need not be in the order in which they are accessed.

【0007】図18は、このように規定された従来のU
DFによる、ディスク上のデータ配置の例を示す。ディ
スク200の最内周にリードイン領域201が配され、
リードイン領域201の外側にシステム領域202が配
される。ルートディレクトリの実体203は、例えばシ
ステム領域202の外側に配される。
FIG. 18 shows a conventional U defined as above.
4 shows an example of data arrangement on a disk by DF. A lead-in area 201 is arranged on the innermost circumference of the disc 200,
A system area 202 is arranged outside the lead-in area 201. The entity 203 of the root directory is arranged, for example, outside the system area 202.

【0008】一例として、ルートディレクトリからサブ
ディレクトリを介してファイルにアクセスする場合につ
いて説明する。ルートディレクトリの実体203のFI
Dに基づき、ルートディレクトリの実体203から物理
的に離れたアドレスにあるサブディレクトリのFE20
4が参照される。さらに、サブディレクトリのFE20
4のADに基づき、サブディレクトリのFE204から
離れたアドレスにあるサブディレクトリの実体205が
参照される。同様にして、サブディレクトリの実体20
5のFIDが参照されてサブディレクトリの実体205
から離れたアドレスにあるファイルのFE206が参照
され、このファイルのFE206のADにより、ファイ
ルのFE206から離れたアドレスにあるファイルの実
体207が参照される。
As an example, a case where a file is accessed from a root directory via a subdirectory will be described. FI of entity 203 of root directory
D, the FE 20 of the subdirectory at an address physically separated from the entity 203 of the root directory.
4 is referenced. In addition, FE20 in the subdirectory
4, the entity 205 of the subdirectory located at an address remote from the FE 204 of the subdirectory is referred to. Similarly, the subdirectory entity 20
5 is referred to, and the entity 205 of the subdirectory is referred to.
The FE 206 of the file located at an address distant from the file is referred to, and the AD of the FE 206 of the file refers to the entity 207 of the file located at an address distant from the FE 206 of the file.

【0009】別の例として、ルートディレクトリからフ
ァイルを直接的に参照する場合でも、ルートディレクト
リの実体203のFIDが参照され、ルートディレクト
リの実体203から離れたアドレスにあるファイルのF
E208が参照され、ファイルのFE208のADによ
り、ファイルのFE208から離れたアドレスにあるフ
ァイルの実体209が参照される。
As another example, even when a file is directly referenced from the root directory, the FID of the entity 203 of the root directory is referred to and the FID of the file at an address distant from the entity 203 of the root directory is referred to.
E208 is referred to, and the file entity 209 at an address remote from the FE208 of the file is referred to by the AD of the FE208 of the file.

【0010】このように、ディスク上にディレクトリや
ファイルの情報が点在すると、その情報を読みとるのに
時間がかかってしまう。すなわち、互いに離れたアドレ
スに存在するポインタを参照して一つのファイルのアク
セスするのでは、ディスクのシーク時間が余計にかかっ
てしまい、速やかなアクセスができないという問題点が
あった。特に、光ディスクや光磁気ディスクのように、
ハードディスクなどに比べてアクセスが遅いディスク状
記録媒体では、著しい。
As described above, when information on directories and files is scattered on a disk, it takes time to read the information. That is, if one file is accessed by referring to pointers existing at addresses apart from each other, the seek time of the disk becomes longer, and there is a problem that quick access is not possible. In particular, like optical disks and magneto-optical disks,
This is remarkable in a disk-shaped recording medium that is slower to access than a hard disk or the like.

【0011】この問題を解消するために、例えば、FI
DやFEなどのポインタ情報を、ディスクの所定領域に
まとめて記録することも考えられる。しかしながら、管
理情報を1つしか記録媒体上に記録しないような場合、
何らかの原因でこの管理情報が失われてしまうと、失わ
れた管理情報を復元することができずに、記録媒体上に
記録された情報にアクセスすることができなくなってし
まうという問題点があった。
To solve this problem, for example, FI
It is also conceivable to collectively record pointer information such as D and FE in a predetermined area of the disk. However, when only one piece of management information is recorded on a recording medium,
If this management information is lost for some reason, there is a problem that the lost management information cannot be restored and the information recorded on the recording medium cannot be accessed. .

【0012】したがって、この発明の目的は、何らかの
理由で記録媒体上の管理情報が失われても、失われた管
理情報を復元することができるような記録方法および装
置、ならびに、記録媒体を提供することにある。
Accordingly, an object of the present invention is to provide a recording method and apparatus and a recording medium which can restore the lost management information even if the management information on the recording medium is lost for some reason. Is to do.

【0013】[0013]

【課題を解決するための手段】この発明は、上述の問題
を解決するために、階層的なファイルシステムに基づき
データをディスク状記録媒体に記録する記録方法におい
て、ファイルシステムの階層構造を管理する管理情報を
ディスク状記録媒体の特定領域に記録するようにしたと
共に、特定領域全体を別の領域にそのままコピーし、さ
らに、別の領域にコピーされた特定領域全体を1つのバ
ックアップファイルとして扱うようにしたことを特徴と
する記録方法である。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention manages a hierarchical structure of a file system in a recording method for recording data on a disk-shaped recording medium based on a hierarchical file system. The management information is recorded in a specific area of the disk-shaped recording medium, the entire specific area is directly copied to another area, and the entire specific area copied to another area is treated as one backup file. This is a recording method characterized in that:

【0014】また、この発明は、階層的なファイルシス
テムに基づきデータをディスク状記録媒体に記録する記
録装置において、ファイルシステムの階層構造を管理す
る管理情報をディスク状記録媒体の特定領域に記録する
ようにしたと共に、特定領域全体を別の領域にそのまま
コピーし、管理情報のバックアップファイルとして扱う
ようにしたことを特徴とする記録装置である。
According to the present invention, in a recording apparatus for recording data on a disk-shaped recording medium based on a hierarchical file system, management information for managing the hierarchical structure of the file system is recorded in a specific area of the disk-shaped recording medium. In addition to the above, the recording apparatus is characterized in that the entire specified area is copied to another area as it is and handled as a backup file of the management information.

【0015】また、この発明は、階層的なファイルシス
テムに基づきデータをディスク状記録媒体に記録された
記録媒体において、ファイルシステムの階層構造を管理
する管理情報をディスク状記録媒体の特定領域に記録す
るようにしたと共に、特定領域全体を別の領域にそのま
まコピーし、さらに、別の領域にコピーされた特定領域
全体を1つのバックアップファイルとして扱うことがで
きるようにされたことを特徴とする記録媒体である。
According to the present invention, in a recording medium in which data is recorded on a disk-shaped recording medium based on a hierarchical file system, management information for managing the hierarchical structure of the file system is recorded in a specific area of the disk-shaped recording medium. Recording, wherein the entire specified area is directly copied to another area, and the entire specified area copied to another area can be handled as one backup file. Medium.

【0016】上述したように、この発明は、ファイルシ
ステムの階層構造を管理する管理情報をディスク状記録
媒体の特定領域に記録するようにしたと共に、特定領域
全体を別の領域にそのままコピーし、さらに、別の領域
にコピーされた特定領域全体を1つのバックアップファ
イルとして扱うようにしているため、ファイルシステム
の管理情報が破損しても、ックアップファイルを用いて
管理情報を復元することができる。
As described above, according to the present invention, management information for managing the hierarchical structure of a file system is recorded in a specific area of a disk-shaped recording medium, and the entire specific area is copied as is to another area. Further, since the entire specified area copied to another area is handled as one backup file, even if the management information of the file system is damaged, the management information can be restored using the backup file. .

【0017】[0017]

【発明の実施の形態】以下、この発明の実施の一形態
を、図面を参照しながら説明する。図1は、この発明に
よるディスク状記録媒体1の論理フォーマットを、ディ
スクの形状に対応付けて示す。このディスク状記録媒体
1の論理フォーマットは、従来例で上述したUDF(Uni
versal Disk Format)に準ずるものである。ディスク状
記録媒体1(以下、ディスク1と称する)において、最
内周にリードイン領域10が配される。リードイン領域
10の外側から論理セクタ番号(LSN:Logical Sect
orNumber)が割り当てられ、順に、ボリューム情報領域
11、領域DAN(Data Area Number)−1、DAN−
2、DAN−3およびボリューム情報領域12が配さ
れ、最外周にリードアウト領域13が配される。領域D
AN−1〜DAN−3には、論理ブロック番号が割り当
てられる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a logical format of a disk-shaped recording medium 1 according to the present invention in association with a disk shape. The logical format of the disc-shaped recording medium 1 is UDF (Uniform
versal Disk Format). In the disk-shaped recording medium 1 (hereinafter, referred to as the disk 1), a lead-in area 10 is arranged on the innermost circumference. Logical sector numbers (LSN: Logical Sect) from outside the lead-in area 10
or Number), and the volume information area 11, the area DAN (Data Area Number) -1, and the DAN-
2, a DAN-3 and a volume information area 12, and a lead-out area 13 at the outermost periphery. Area D
Logical block numbers are assigned to AN-1 to AN-3.

【0018】図2は、ボリューム情報領域11および1
2の一例の内容を示す。ボリューム情報領域11には、
UDFの規定に基づき、VRS(Volume Recognition Se
quence)、MVDS(Main Volume Descriptor)およびL
VIS(Logical Volume Integrity Sequence)が書き込
まれる。ボリューム情報領域11の終端には、アンカー
ポイントが置かれる。また、ボリューム情報領域11の
内容は、リードアウト領域13の内側のボリューム情報
領域12にRVDS(Reserve Volume DescriptorSequen
ce)として2度書きされる。ボリューム情報領域12の
先頭および終端には、アンカーポイントが置かれる。ボ
リューム情報領域12の終端のアンカーポイントは、最
終論理セクタ番号に対応する。
FIG. 2 shows the volume information areas 11 and 1
2 shows the contents of an example. In the volume information area 11,
Based on UDF regulations, VRS (Volume Recognition Se
quence), MVDS (Main Volume Descriptor) and L
VIS (Logical Volume Integrity Sequence) is written. At the end of the volume information area 11, an anchor point is set. The contents of the volume information area 11 are stored in the volume information area 12 inside the lead-out area 13 in an RVDS (Reserve Volume Descriptor Sequence).
ce) is written twice. An anchor point is placed at the beginning and end of the volume information area 12. The anchor point at the end of the volume information area 12 corresponds to the last logical sector number.

【0019】論理セクタ番号が272から(最終論理セ
クタ番号−272)の間は、LVS(Logical Volume Sp
ace)とされ、パーティション領域が設けられる。このL
VSに、上述の領域DAN−1〜DAN−3が配され
る。LVSの最内周側に設けられる領域DAN−1は、
UDFの規定に基づくFSD(File Set Descriptor)お
よびSBD(Space Bitmap Descriptor)からなる。SB
Dは、ディスク1の全体の空きエリア情報を、セクタ毎
にフラグを立てることで表現する。また、領域DAN−
1には、ファイルシステムの階層構造のルートディレク
トリのFEのアドレスが示される。
When the logical sector number is between 272 and (final logical sector number-272), LVS (Logical Volume Sp
ace), and a partition area is provided. This L
The above-mentioned areas DAN-1 to DAN-3 are arranged in the VS. The area DAN-1 provided on the innermost side of the LVS is
It consists of FSD (File Set Descriptor) and SBD (Space Bitmap Descriptor) based on the UDF regulations. SB
D represents the entire free area information of the disk 1 by setting a flag for each sector. In addition, the area DAN-
1 shows the address of the FE of the root directory of the hierarchical structure of the file system.

【0020】領域DAN−2は、ディレクトリのFE(F
ile Entry)と、その実体のFID(File ID)とが置かれ
る領域である。すなわち、これらディレクトリのFEと
その実体のFIDとは、領域DAN−2にまとめて記録
されることになる。このように、領域DAN−2には、
ファイルシステムの階層構造の管理情報が記録される。
The area DAN-2 is a directory FE (F
ile (Entry) and the entity's FID (File ID). That is, the FE of these directories and the FID of the entity are collectively recorded in the area DAN-2. As described above, in the area DAN-2,
Management information of the hierarchical structure of the file system is recorded.

【0021】領域DAN−2は、後述するフォーマット
時に、予め所定の容量が連続的に確保される。詳細は後
述するが、領域DAN−2の未使用領域は、特定の属性
が付されたファイルとして確保される。以下、この領域
DAN−2の未使用領域からなるファイルを、EIF(E
ntry Information File)と称する。未使用領域をEIF
としてファイル化して扱うことで、上述のSBDにおい
て、この未使用領域が空きエリアとして認識されないよ
うにできる。
In the area DAN-2, a predetermined capacity is continuously secured in advance at the time of formatting to be described later. Although details will be described later, the unused area of the area DAN-2 is secured as a file to which a specific attribute is added. Hereinafter, a file composed of an unused area of the area DAN-2 is referred to as an EIF (E
ntry Information File). EIF unused area
The unused area can be prevented from being recognized as a free area in the above-described SBD.

【0022】なお、従来例で既に述べたが、FEは、フ
ァイルやディレクトリの実体の場所(アドレス)および
大きさを示す。FE中のAD(Allocation Descriptor)
によって、これらの情報が記される。また、FIDは、
ファイルやディレクトリの名前と、FEの場所(アドレ
ス)および大きさを示す。FID中のICB(Informati
on Control Block)によってこれらの情報が記される。
As already described in the conventional example, FE indicates the actual location (address) and size of a file or directory. AD (Allocation Descriptor) during FE
Indicates this information. Also, FID is
The name of the file or directory, and the location (address) and size of the FE are shown. ICB in FID (Informati
on Control Block) describes this information.

【0023】領域DAN−3には、ファイルのFEとそ
の実体とが置かれる領域である。領域DAN−3におい
て、ファイルのFEとそのFEに対応したファイルは、
アドレス的に連続して配置される。ファイルを追加する
際には、既存のファイルに対してアドレス的に連続的
に、追加されるファイルのFEが配置され、さらに、ア
ドレス的に連続してファイルの実体が配置される。この
ように、ファイルのFEおよび実体をアドレス的に連続
して配置することにより、ファイルへのアクセスを高速
に行うことができる。
The area DAN-3 is an area where the FE of the file and its substance are placed. In the area DAN-3, the FE of the file and the file corresponding to the FE are:
They are arranged consecutively in address. When a file is added, the FE of the file to be added is continuously arranged in address with respect to the existing file, and the substance of the file is continuously arranged in address. In this way, by arranging the FEs and entities of the file consecutively in terms of address, the file can be accessed at high speed.

【0024】図3および図4を用いて、この発明による
ディレクトリ、ファイルおよび空きエリアの管理方法に
ついて説明する。図3は、上述の図1に対して、領域D
AN−1〜DAN−3を抜き出した図である。ここで
は、データの記録方向は、図3に一例が示されるよう
に、反時計回りであるものとする。図4は、各FE、F
IDおよび実体の一例の階層構造を示す。
Referring to FIGS. 3 and 4, a method of managing directories, files and free areas according to the present invention will be described. FIG. 3 shows a region D in FIG.
It is the figure which extracted AN-1-AN-3. Here, it is assumed that the data recording direction is counterclockwise as shown in an example in FIG. FIG. 4 shows each FE, F
3 shows a hierarchical structure of an example of an ID and an entity.

【0025】例えば、ルートディレクトリのFEがLS
N=aから開始されるとする。ルートディレクトリのF
E中のADによって、ルートディレクトリの実体のアド
レスおよび大きさが示される。ルートディレクトリのア
ドレスは、ルートディレクトリのFEと連続的に配置で
きるようにされており、例えばLSN=a+1とされ
る。ルートディレクトリの実体は、1以上のFIDを含
む。ルートディレクトリのサブディレクトリ(以下、サ
ブディレクトリと略称する)のFEの名前、アドレスお
よび大きさがFIDに記される。サブディレクトリのF
Eは、ルートディレクトリの実体と連続的になるように
配置され、例えばLSN=a+2とされる。このサブデ
ィレクトリのFE中のADによって、当該サブディレク
トリの実体のアドレスおよび大きさが記される。このサ
ブディレクトリの実体のアドレスは、当該サブディレク
トリのFEと連続的になるように配置され、例えばLS
N=a+3とされる。サブディレクトリに実体は、1以
上のFIDを含み、ファイルや他のサブディレクトリの
FEの名前、アドレスおよび大きさが記される。
For example, if the FE of the root directory is LS
It is assumed that the processing starts from N = a. F of root directory
The address and size of the entity of the root directory are indicated by AD in E. The address of the root directory can be arranged continuously with the FE of the root directory. For example, LSN = a + 1. The root directory entity includes one or more FIDs. The name, address, and size of the FE of a subdirectory of the root directory (hereinafter abbreviated as a subdirectory) are described in the FID. F in subdirectory
E is arranged so as to be continuous with the entity of the root directory, for example, LSN = a + 2. The address and size of the entity of the subdirectory are described by the AD in the FE of the subdirectory. The address of the entity of this subdirectory is arranged so as to be continuous with the FE of the subdirectory.
N = a + 3. The entity in the subdirectory includes one or more FIDs, and describes the name, address, and size of the FE of the file or another subdirectory.

【0026】各FE、FIDおよび実体がこのように参
照されることで、図4に一例が示されるように、領域D
AN−2の最内周の所定位置に配置されたルートディレ
クトリのFEに対して連続的に、ルートディレクトリの
実体およびルートディレクトリのサブディレクトリ情報
などが配置される。
By referring to each FE, FID and entity in this way, as shown in FIG.
An entity of the root directory, subdirectory information of the root directory, and the like are continuously arranged with respect to the FE of the root directory located at a predetermined position on the innermost circumference of AN-2.

【0027】一方、図3を参照し、ルートディレクトリ
の実体中のFIDによって、EIFのFEの名前、アド
レスおよび大きさが記される。そして、EIFのFE中
のADによって、EIFの実体のアドレスおよび大きさ
が記される。このように、EIFはファイルとして扱わ
れるので、他のファイルと同様に、FEによってそのア
ドレスおよび大きさが示される。
On the other hand, referring to FIG. 3, the name, address and size of the FE of the EIF are described by the FID in the substance of the root directory. The address and size of the entity of the EIF are described by the AD in the FE of the EIF. As described above, since the EIF is treated as a file, its address and size are indicated by the FE as in the case of other files.

【0028】EIFのFEは、図4に一例が示されるよ
うに、例えばEIFの実体よりも後ろに配置される。E
IFの実体の開始および/または終了アドレス、ならび
に、大きさは、後述するように、領域DAN−2に書き
込まれる各情報の量によって変動する。
As shown in an example in FIG. 4, the FE of the EIF is arranged, for example, after the entity of the EIF. E
The start and / or end address and the size of the entity of the IF vary depending on the amount of each information written to the area DAN-2, as described later.

【0029】以上、ルートディレクトリのFE、ルート
ディレクトリの実体、ルートディレクトリのサブディレ
クトリのFE、ルートディレクトリのサブディレクトリ
の実体、EIFのFEおよびEIFの実体は、領域DA
N−2に配置される。
As described above, the FE of the root directory, the entity of the root directory, the FE of the subdirectory of the root directory, the entity of the subdirectory of the root directory, the FE of the EIF and the entity of the EIF are stored in the area DA.
N-2.

【0030】領域DAN−3には、ファイルのFEおよ
びファイルの実体が配置される。ファイルの実体は、実
際にユーザデータなどが書き込まれる領域である。図3
に一例が示されるように、ルートディレクトリの実体中
のFIDによって名前、アドレスおよび大きさが記され
たファイルのFEは、領域DAN−3に配置される。こ
のときの、ファイルのFEの開始アドレスをLSN=d
とする。ファイルのFE中のADによって、当該ファイ
ルの実体のアドレスおよび大きさが示される。ファイル
の実体は、当該ファイルのFEと連続的になるように配
置され、例えば開始アドレスがLSN=d+1とされ
る。
In the area DAN-3, the FE of the file and the substance of the file are arranged. The substance of the file is an area where user data and the like are actually written. FIG.
As shown in FIG. 2, the FE of a file whose name, address, and size are described by the FID in the entity of the root directory is placed in the area DAN-3. At this time, the start address of the FE of the file is LSN = d
And The address and size of the entity of the file are indicated by the AD in the FE of the file. The substance of the file is arranged so as to be continuous with the FE of the file. For example, the start address is LSN = d + 1.

【0031】上述したように、領域DAN−2は、この
ディスク1のフォーマット処理時に予め確保される。次
に、このディスク1の一例のフォーマット方法につい
て、概略的に説明する。なお、リードイン領域10およ
びリードアウト領域13は、例えばディスク1の製造の
プレス行程の際に予め作成されるなどして、フォーマッ
ト処理以前から既に存在するものとする。フォーマット
処理は、ディスク1の内周側から外周側にかけて進めら
れる。
As described above, the area DAN-2 is reserved in advance when the disk 1 is formatted. Next, an example of a format method of the disc 1 will be schematically described. It is assumed that the lead-in area 10 and the lead-out area 13 already exist before the format process, for example, they are created in advance during a press process for manufacturing the disc 1. The formatting process proceeds from the inner circumference to the outer circumference of the disk 1.

【0032】フォーマット処理が開始されると、最初
に、上述したVRS、MVDSおよびLVISがリード
イン領域10の外側から書き込まれる。次に、LVSが
作成される。LVSにおいて、先ず、領域DAN−1が
作成される。FSDが書き込まれ、ルートディレクトリ
の位置が決められる。そして、SBDが作成される。こ
のときに、上述したEIFの領域をSBDにおいて使用
済み領域とすることで、EIFの領域が確保される。
When the formatting process is started, first, the above-mentioned VRS, MVDS and LVIS are written from outside the lead-in area 10. Next, an LVS is created. In the LVS, first, an area DAN-1 is created. The FSD is written and the location of the root directory is determined. Then, an SBD is created. At this time, the EIF area is secured by setting the EIF area as a used area in the SBD.

【0033】SBDが作成され領域DAN−1が作成さ
れると、次に、領域DAN−1の外側から領域DAN−
2が作成される。領域DAN−2の作成において、先
ず、領域DAN−1で書き込まれたFSDに基づき、所
定アドレスにルートディレクトリFEおよびルートディ
レクトリの実体が連続的に書き込まれる。次に、作成さ
れたルートディレクトリの実体に、EIFのFIDが追
加される。このFIDにおいて、EIFのFEのアドレ
スが指定される。
After the SBD is created and the area DAN-1 is created, the area DAN-
2 is created. In the creation of the area DAN-2, first, the root directory FE and the substance of the root directory are continuously written at predetermined addresses based on the FSD written in the area DAN-1. Next, the FID of the EIF is added to the entity of the created root directory. In this FID, the address of the FE of the EIF is specified.

【0034】このとき、EIFの属性がFID中に指定
される。指定されるEIFの属性は、EIFが他の機器
やOS(Operating System)によって消去、書き換え、移
動などが行われないようにするためのものである。例え
ば「隠しファイル属性」、「システムファイル属性」お
よび「読み出し専用ファイル属性」が、共にEIFの属
性として指定される。
At this time, the attribute of the EIF is specified in the FID. The designated attribute of the EIF is for preventing the EIF from being deleted, rewritten, or moved by another device or an OS (Operating System). For example, "hidden file attribute", "system file attribute", and "read-only file attribute" are all specified as attributes of the EIF.

【0035】「隠しファイル属性」は、この属性が設定
されたファイルを通常の方法では閲覧できなくする属性
である。「システムファイル属性」は、この属性が設定
されたファイルがシステムのために必要なファイルであ
ることを示す属性である。「読み出し専用ファイル属
性」は、この属性が設定されたファイルが読み出し専用
であって、変更や消去がシステムによって禁止されるこ
とを示す属性である。これら3つの属性を共にファイル
に指定することで、意図的な操作以外には、そのファイ
ルに対する消去、書き換え、移動などの処理を行うこと
ができなくされる。なお、これらの属性は、所定の方法
で解除することができる。
The “hidden file attribute” is an attribute that makes it impossible to browse a file for which this attribute is set by a normal method. The “system file attribute” is an attribute indicating that the file to which this attribute is set is a file necessary for the system. The “read-only file attribute” is an attribute indicating that the file to which this attribute is set is read-only, and that alteration or deletion is prohibited by the system. By designating these three attributes together in a file, it becomes impossible to perform processes such as erasing, rewriting, and moving the file except for intentional operations. Note that these attributes can be canceled by a predetermined method.

【0036】次に、EIFのFEが作成される。上述し
たように、FEでは、当該ファイルのアドレスと大きさ
が指定される。したがって、FEを指定するだけで、当
該ファイルが存在することになり、ダミーファイルとし
て用いることができる。EIFのFEには、「読み出し
専用ファイル属性」および「システムファイル属性」が
指定される。
Next, the FE of the EIF is created. As described above, the FE specifies the address and size of the file. Therefore, the file exists only by designating the FE, and can be used as a dummy file. “Read-only file attribute” and “system file attribute” are specified in the FE of the EIF.

【0037】このように、領域DAN−2内にEIFを
存在させることで、領域DAN−2の空きエリアをEI
Fによって確保することができる。上述したように、D
AN−2には、フォーマット処理後に、サブディレクト
リのFEおよび実体が書き込まれる。このときには、E
IFの領域を削って、これらサブディレクトリのFEお
よび実体が領域DAN−2に作成される。
As described above, by making the EIF exist in the area DAN-2, the free area of the area DAN-2 is
F. As mentioned above, D
After the format process, the FE and the entity of the subdirectory are written in AN-2. At this time, E
By removing the IF area, the FE and entity of these subdirectories are created in the area DAN-2.

【0038】なお、詳細は後述するが、領域DAN−2
の作成順は、上述の順序に限られず、他の順序で行うよ
うにしても良い。このとき当然、領域DAN−2におけ
る各情報の配置順序も変わってくる。
Although details will be described later, the area DAN-2
Are not limited to the order described above, and may be performed in another order. At this time, naturally, the arrangement order of each information in the area DAN-2 also changes.

【0039】このようにして領域DAN−2が作成され
る。領域DAN−2の外側は領域DAN−3であるが、
領域DAN−3では、特に何も処理が行われない。例え
ば、領域DAN−3として指定される領域を飛び越して
次の処理がなされる。領域DAN−3の次は、RVDS
が作成される。これは、上述したように、先に作成され
たVRS、MVDSおよびLVISの情報が2度書きさ
れる。RVDSが作成されて、ディスク1のフォーマッ
ト処理が完了される。
Thus, the area DAN-2 is created. Outside the area DAN-2 is the area DAN-3,
No processing is particularly performed in the area DAN-3. For example, the following processing is performed while skipping the area specified as the area DAN-3. After the area DAN-3, RVDS
Is created. As described above, the information of the previously created VRS, MVDS, and LVIS is written twice. The RVDS is created, and the formatting process of the disc 1 is completed.

【0040】なお、上述では、領域DAN−2におい
て、ルートディレクトリのFEおよび実体を書き込んで
からEIFを作成し、さらにEIFのFEを作成するよ
うに説明したが、これはこの例に限定されない。この実
施の一形態では、EIFのFEが配置される場所アドレ
スが固定的なものとされる。EIFのFEの配置場所と
しては、(1)ルートディレクトリの前、(2)ルート
ディレクトリの後、(3)領域DAN−2とDAN−3
との間、この3通りが考えられる。図5A〜図5Eを参
照しながら、それぞれの場合についての領域DAN−2
におけるEIFの作成方法について説明する。
In the above description, in the area DAN-2, the FE and entity of the root directory are written, then the EIF is created, and then the FE of the EIF is created. However, the present invention is not limited to this example. In this embodiment, the location address where the FE of the EIF is arranged is fixed. The locations of the FEs of the EIF include (1) before the root directory, (2) after the root directory, and (3) areas DAN-2 and DAN-3.
These three cases are conceivable. Referring to FIGS. 5A to 5E, the region DAN-2 for each case is described.
A method of creating an EIF in the embodiment will be described.

【0041】なお、図5A〜図5Eにおいて、ブロック
全体が領域DAN−2に対応し、左端が領域DAN−1
の終端に対応するものとする。すなわち、LSNは、図
の左端から右端に向けて増加する。また、図5および後
述の図6において、ディレクトリは「Dir」と略称さ
れている。
In FIGS. 5A to 5E, the entire block corresponds to the area DAN-2, and the left end is the area DAN-1.
At the end. That is, the LSN increases from the left end to the right end in the figure. In FIG. 5 and FIG. 6 described later, the directory is abbreviated as “Dir”.

【0042】図5Aは、領域DAN−2の先頭側にルー
トディレクトリのFEおよび実体が配され、領域DAN
−2の終端にEIFのFEが配される例である。EIF
の実体は、ルートディレクトリの実体の終端からEIF
のFEの先頭の間の領域とされる。この図5Aの例で
は、ルートディレクトリの実体中の、EIFのFIDに
よって、領域DAN−2の終端側に配されるEIFのF
Eのアドレスが示される。そして、EIFのFEによ
り、アドレスを遡ってEIFの実体の開始アドレスが示
される。
FIG. 5A shows that the FE and the entity of the root directory are arranged at the head of the area DAN-2,
This is an example in which the FE of the EIF is arranged at the end of -2. EIF
Is the EIF from the end of the root directory entity.
Is an area between the heads of the FEs. In the example of FIG. 5A, the FIF of the EIF arranged on the end side of the area DAN-2 is determined by the FID of the EIF in the entity of the root directory.
The address of E is shown. The FE of the EIF indicates the start address of the entity of the EIF by going back the address.

【0043】この図5Aの例では、ルートディレクトリ
の実体に続けて、領域DAN−2に対してサブディレク
トリの情報(FEおよび実体)などの追加が行われる。
EIFの実体は、先頭側から領域を削られ、EIFのF
E中のADに記されたEIFの開始アドレス情報が書き
換えられる。
In the example of FIG. 5A, information on the sub-directory (FE and entity) is added to the area DAN-2 following the entity of the root directory.
The EIF entity has its area removed from the beginning,
The start address information of the EIF described in the AD in E is rewritten.

【0044】この図5Aの例において、EIFのFEの
アドレスを、予め決められたアドレスにしておくこと
で、ルートディレクトリの実体中のFIDを参照しなく
ても、EIFにアクセスすることができるようになる。
したがって、ルートディレクトリの実体中の、EIFに
対応するFIDが書き換えられることが無い。そのた
め、例えばEIFが何らかの原因で書き換えられるなど
して壊されても、EIFのFEが残っていれば、EIF
を容易に復元することができる。
In the example of FIG. 5A, by setting the address of the FE of the EIF to a predetermined address, the EIF can be accessed without referring to the FID in the entity of the root directory. become.
Therefore, the FID corresponding to the EIF in the entity of the root directory is not rewritten. Therefore, even if the EIF is destroyed by being rewritten for some reason, if the FE of the EIF remains, the EIF
Can be easily restored.

【0045】図5Bは、領域DAN−2の先頭側にEI
FのFEおよびEIFの実体が配され、領域DAN−2
の終端側にルートディレクトリの実体およびFEが配さ
れる例である。ルートディレクトリの実体中のFIDに
よって、アドレスを遡ってEIFのFEが示され、EI
FのFE中のADによって、EIFの実体が示される。
FIG. 5B shows an example in which the EI is located at the beginning of the area DAN-2.
The FE and EIF entities of F are located in region DAN-2.
In this example, the root directory entity and the FE are arranged on the end side of the root directory. The FID in the entity of the root directory indicates the FE of the EIF by going back to the address.
AD in F's FE indicates the substance of EIF.

【0046】この図5Bの例では、EIFの実体の先頭
側から削られて、領域DAN−2に対するサブディレク
トリの情報の追加が行われる。EIFのFEも、それに
伴い書き換えられる。なお、図5Bの例では、終端側に
配されるルートディレクトリのFEは、フォーマット処
理後に指定される。例えばルートディレクトリがフォー
マット処理後に作成され、その際に、ルートディレクト
リのFEが作成される。
In the example of FIG. 5B, the information of the subdirectory is added to the area DAN-2 by deleting the EIF entity from the beginning. The FE of the EIF is rewritten accordingly. In the example of FIG. 5B, the FE of the root directory allocated on the terminal side is specified after the format processing. For example, a root directory is created after the format processing, and at that time, the FE of the root directory is created.

【0047】通常、コンピュータシステムなどでは、ル
ートディレクトリからディスクのアクセスを行うため、
この図5Bの例のように、EIFのFEおよび実体の後
にルートディレクトリのFEおよび実体を配置すること
で、EIFのFEおよび実体に対する安全性が高まる。
Normally, in a computer system or the like, a disc is accessed from a root directory.
By arranging the FE and the entity of the root directory after the FE and the entity of the EIF as in the example of FIG. 5B, the security for the FE and the entity of the EIF increases.

【0048】以下同様にして、図5Cは、ルートディレ
クトリのFEの前にEIFのFEを配置する例である。
すなわち、領域DAN−2の先頭側にEIFのFEとル
ートディレクトリのFEとを配置し、それに続けてルー
トディレクトリの実体およびEIFの実体が配される。
また、図5Dは、領域DAN−2の先頭側にEIFのF
Eおよび実体が配され、終端側にルートディレクトリの
FEおよび実体が配される例である。さらに、図5E
は、領域DAN−2の先頭側にルートディレクトリのF
Eおよび実体が配され、終端側にEIFのFEおよび実
体が配される例である。
Similarly, FIG. 5C shows an example in which the FE of the EIF is arranged before the FE of the root directory.
That is, the FE of the EIF and the FE of the root directory are arranged at the head side of the area DAN-2, followed by the entity of the root directory and the entity of the EIF.
FIG. 5D shows the EIF F at the beginning of area DAN-2.
In this example, E and the entity are arranged, and the FE and the entity of the root directory are arranged on the end side. Further, FIG.
Is the root directory F at the beginning of the area DAN-2.
In this example, an E and an entity are arranged, and an FE and an entity of the EIF are arranged on the terminal side.

【0049】次に、フォーマット処理後にサブディレク
トリを追加する方法について、より詳細に説明する。上
述したように、サブディレクトリのFEおよび実体は、
領域DAN−2内に、EIFの実体の領域が削られて作
成される。上述の図5Aの場合を例にとって、図6を参
照しながら説明する。なお、図6において、各部の意味
は、上述の図5と同じである。
Next, a method of adding a subdirectory after the format processing will be described in more detail. As mentioned above, the FE and entity of the subdirectory are:
In the area DAN-2, the actual area of the EIF is cut and created. This will be described with reference to FIG. 6 taking the case of FIG. 5A as an example. In FIG. 6, the meaning of each unit is the same as that in FIG. 5 described above.

【0050】図6Aは、フォーマット処理直後の様子を
示す。この図6Aは、上述の図5Aに対応する図であ
る。この状態に対して、サブディレクトリの追加を行
う。先ず、図6Bに示されるように、ルートディレクト
リの実体に対して、サブディレクトリを示すFIDの追
加が行われる。このとき、EIFの実体のエリアのサイ
ズを小さくするように、FIDが追加される。これは、
実際には、ルートディレクトリの実体が置かれている最
後のセクタが一杯になった場合に、EIFの実体が削ら
れる。そうでない場合は、削る必要はない。
FIG. 6A shows a state immediately after the format processing. FIG. 6A is a diagram corresponding to FIG. 5A described above. In this state, a subdirectory is added. First, as shown in FIG. 6B, an FID indicating a subdirectory is added to the entity of the root directory. At this time, the FID is added so as to reduce the size of the area of the entity of the EIF. this is,
Actually, when the last sector in which the entity of the root directory is placed becomes full, the entity of the EIF is deleted. If not, there is no need to cut.

【0051】次に、サブディレクトリのFEを追加する
ため、EIFのサイズをさらに小さくする(図6C)。
この場合には、EIFの実体を必ず削る必要がある。さ
らに、図6Dに示されるように、サブディレクトリの実
体を追加するために、EIFの実体のサイズをさらに小
さくする。また、これまでのEIFの実体のサイズの変
更を反映するように、EIFのFEの情報が書き換えら
れる。
Next, the size of the EIF is further reduced in order to add the FE of the subdirectory (FIG. 6C).
In this case, the entity of the EIF must be deleted. Further, as shown in FIG. 6D, the size of the entity of the EIF is further reduced in order to add the entity of the subdirectory. Further, the FE information of the EIF is rewritten so as to reflect the change in the size of the entity of the EIF so far.

【0052】上述ではサブディレクトリを追加する例に
ついて説明したが、この方法は、ルートディレクトリに
ファイルを追加する場合にも、そのまま適用することが
可能である。
In the above description, an example in which a subdirectory is added has been described. However, this method can be applied to a case where a file is added to a root directory.

【0053】なお、例えば上述した図5Eの例のよう
に、サブディレクトリのFEの場所にEIFのFEが存
在するような場合も考えられる。この場合には、EIF
のFEを他のセクタに移動した後に、EIFに対応する
FIDのアドレス情報を更新する必要がある。図5Aの
ような構成では、このような処理の必要は、無い。
It is also conceivable that the FE of the EIF exists at the location of the FE in the subdirectory as in the example of FIG. 5E described above. In this case, EIF
After moving the FE to another sector, it is necessary to update the address information of the FID corresponding to the EIF. In the configuration shown in FIG. 5A, there is no need for such processing.

【0054】次に、ルートディレクトリに対してファイ
ルを追加する処理について、図7を用いて説明する。上
述したように、ファイルのFEおよび実体は、領域DA
N−3に配置される。ルートディレクトリにファイルを
追加する際には、ルートディレクトリの実体中に、追加
されるファイルのFIDが追加して書き込まれる。この
とき、必要であれば、領域DAN−2のEIFのサイズ
が削られ、それに伴い、EIFのFEが書き換えられ
る。
Next, a process of adding a file to the root directory will be described with reference to FIG. As described above, the FE and entity of the file are stored in the area DA.
N-3. When a file is added to the root directory, the FID of the file to be added is additionally written in the substance of the root directory. At this time, if necessary, the size of the EIF in the area DAN-2 is reduced, and accordingly, the FE of the EIF is rewritten.

【0055】ルートディレクトリの実体中に追加された
FIDに示されるアドレスに、追加されるファイル(フ
ァイルAとする)のFEが作成される。ファイルAの実
体は、このファイルAのFEに対し、アドレス的に連続
して書き込まれる。さらにファイルB、ファイルC、・
・・と書き込む場合には、直前に書き込まれたファイル
Aの実体の後端に、アドレス的に連続してファイルBの
FEが作成され、このFEに対し、アドレス的に連続し
てファイルBの実体が書き込まれる。次のファイルCに
ついても同様に、ファイルCのFEが直前のファイルB
の後端から、アドレス的に連続して作成され、ファイル
CのFEに対し、ファイルCの実体がアドレス的に連続
的に書き込まれる。
The FE of the file to be added (referred to as file A) is created at the address indicated by the FID added in the entity of the root directory. The substance of the file A is continuously written in the FE of the file A in an address manner. File B, File C, ...
In the case of writing, the FE of the file B is created continuously in address at the rear end of the entity of the file A written immediately before, and the FE of the file B is successively created in address in response to this FE. The entity is written. Similarly, for the next file C, the FE of the file C
Are created consecutively in address from the rear end, and the substance of file C is continuously written in address to FE of file C.

【0056】このように、ファイルのFEの直後に当該
ファイルの実体を配置することで、連続的なアクセスが
可能になる。さらに、複数のファイルについて、連続的
に配置すると、これら複数ファイルの連続的なアクセス
をより高速に行うことができる。
As described above, by locating the substance of the file immediately after the FE of the file, continuous access becomes possible. Further, by continuously arranging a plurality of files, continuous access to the plurality of files can be performed at higher speed.

【0057】ところで、例えば領域DAN−2に置かれ
た一つのルートディレクトリ下に、多くのサブディレク
トリを追加したような場合、ルートディレクトリの実体
中のFIDや、サブディレクトリのFEおよび実体が多
数、追加されることになる。この結果、追加されたFI
DやサブディレクトリのFEおよび実体によって、領域
DAN−2が一杯になってしまうことが考えられる。
By the way, for example, when many subdirectories are added under one root directory located in the area DAN-2, there are many FIDs in the entity of the root directory, and many FEs and entities in the subdirectory. Will be added. As a result, the added FI
It is conceivable that the area DAN-2 becomes full depending on D and the FE and entity of the subdirectory.

【0058】この発明においては、このような場合、若
しディスク1の全体的な容量に余裕があれば、領域DA
N−3の、ファイルが存在する位置の外側に、新たに領
域DAN−2およびDAN−3を作成するようにでき
る。以下、この新たな領域DAN−2およびDAN−3
を、領域DAN−2’および領域DAN−3’と称す
る。
According to the present invention, in such a case, if there is room in the overall capacity of the disc 1, the area DA
Areas DAN-2 and DAN-3 can be newly created outside the position where the file exists in N-3. Hereinafter, the new regions DAN-2 and DAN-3 will be described.
Are referred to as a region DAN-2 ′ and a region DAN-3 ′.

【0059】図8は、領域DAN−2’および領域DA
N−3’を概略的に示す。領域DAN−2’は、領域D
AN−2に既に存在するEIFのFEにおいて、既存の
ADに対してAD’を追加して、EIFのファイルサイ
ズを増加させることで形成される。追加されたAD’に
は、上述した、領域DAN−3のファイルが存在する位
置の外側を示すアドレスが記されると共に、領域DAN
−2’として追加するEIF’の大きさが記される。こ
の追加されるEIF’の外側が、新たに形成される領域
DAN−3とされる。ルートディレクトリに追加される
サブディレクトリのFEおよび実体は、この領域DAN
−2’に書き込まれ、ファイルは、領域DAN−3’に
書き込まれる。
FIG. 8 shows the area DAN-2 'and the area DA.
N-3 'is shown schematically. The area DAN-2 ′ is the area D
In the FE of the EIF already existing in AN-2, the FE is formed by adding AD ′ to the existing AD to increase the file size of the EIF. In the added AD ', an address indicating the outside of the location where the file of the area DAN-3 exists is described, and the added area of the area DAN-3 is described.
The size of the EIF 'to be added is described as -2'. The outside of the added EIF 'is a newly formed region DAN-3. The FE and entity of the subdirectory added to the root directory are stored in this area DAN.
-2 'and the file is written to area DAN-3'.

【0060】また、このとき、既存の領域DAN−1に
あるSBDが、領域DAN−2’に作成されたEIF’
に対応して書き換えられる。これにより、領域DAN−
2’に作成されたEIF’の領域が確保される。
At this time, the SBD in the existing area DAN-1 is replaced with the EIF 'created in the area DAN-2'.
Is rewritten corresponding to. Thereby, the area DAN-
The area of EIF 'created in 2' is secured.

【0061】EIFは、何らかの理由で破壊されてしま
うことが有り得る。EIFが破壊されてしまうと、ファ
イルの実体が領域DAN−3に存在するにも関わらず、
そのファイルを参照する情報(サブディレクトリのFE
および実体など)が失われてしまい、実質的にそのファ
イルにアクセスできなくなるのである。そのため、EI
Fが破壊された場合には、これを復元する必要がある。
The EIF may be destroyed for some reason. If the EIF is destroyed, the file entity exists in the area DAN-3,
Information that refers to the file (FE in the subdirectory)
And the entity itself), and the file becomes virtually inaccessible. Therefore, EI
If F is destroyed, it must be restored.

【0062】EIFの復元は、次のようにして行われ
る。一例として、EIFが消去され、同じディレクトリ
にファイルの追加が行われたような場合、ルートディレ
クトリの実体にあるEIFのFIDが消去されることに
なる。
The restoration of the EIF is performed as follows. For example, when the EIF is deleted and a file is added to the same directory, the FID of the EIF in the root directory is deleted.

【0063】第1の場合として、ルートディレクトリの
実体中のFIDだけが消去され、EIFのFEの場所が
残り、且つ、EIFのFEの場所が分かっている場合が
ある。この場合には、残っているEIFのFEに基づき
EIFのFIDを作成し、作成されたFIDを、ルート
ディレクトリの実体に追加することで、復元することが
できる。
In the first case, only the FID in the entity of the root directory is deleted, the FE location of the EIF remains, and the FE location of the EIF is known. In this case, the EFID can be restored by creating an EIF FID based on the remaining EIF FE and adding the created FID to the root directory entity.

【0064】また、第2の場合として、EIFのFEの
場所が分からなくなっていること場合考えられる。この
ときには、領域DAN−2の全域をスキャンして再計算
し、EIFのFIDとFEを新規に作成することで、復
元することができる。例えば、領域DAN−2をスキャ
ンして、EIF以外の部分を抽出し、抽出された部分と
領域DAN−2との差分をとることで、EIFの領域を
求めることができる。領域DAN−2にEIFがまとめ
て確保されているので、このような復元方法が可能とな
る。
As a second case, it is conceivable that the location of the FE of the EIF is not known. At this time, the whole area of the area DAN-2 is scanned and recalculated, and the FID and the FE of the EIF are newly created to be restored. For example, an area of the EIF can be obtained by scanning the area DAN-2, extracting a part other than the EIF, and calculating a difference between the extracted part and the area DAN-2. Since the EIFs are collectively secured in the area DAN-2, such a restoration method is possible.

【0065】図9は、この発明に適用することができる
ドライブ装置の一例の構成を示す。ここでは、上述した
ディスク1を記録層に相変化金属材料を用いたものと
し、ドライブ装置は、レーザの出力を調節することで記
録層に加える温度を制御して結晶/非結晶に状態を変え
させる相変化技術によって、ディスク1にデータの記録
を行うものとする。
FIG. 9 shows an example of the configuration of a drive device applicable to the present invention. Here, it is assumed that the above-described disc 1 uses a phase-change metal material for the recording layer, and the drive device controls the temperature applied to the recording layer by adjusting the laser output to change the state between crystalline and non-crystalline. It is assumed that data is recorded on the disk 1 by the phase change technique to be performed.

【0066】ディスク1は、スピンドルモータ22によ
って、回転駆動される。ディスク1にデータを記録し、
また、データをディスク1から再生するために、光ピッ
クアップ23が設けられている。光ピックアップ23が
送りモータ24によってディスク径方向に送られる。
The disk 1 is driven to rotate by a spindle motor 22. Record data on disk 1,
An optical pickup 23 is provided for reproducing data from the disk 1. The optical pickup 23 is fed by a feed motor 24 in the radial direction of the disk.

【0067】外部のホストコンピュータ30からのデー
タがインターフェイス29(例えばSCMS(Serial Co
py Management System) )を介してドライブに供給され
る。インターフェイス29には、エンコーダ/デコーダ
ブロック25が接続され、エンコーダ/デコーダブロッ
ク25には、バッファメモリ26が接続されている。バ
ッファメモリ26は、ライトデータまたはリードデータ
を保持する。
Data from the external host computer 30 is transmitted to the interface 29 (for example, SCMS (Serial Co.)).
py Management System)). An encoder / decoder block 25 is connected to the interface 29, and a buffer memory 26 is connected to the encoder / decoder block 25. The buffer memory 26 holds write data or read data.

【0068】ライトデータがインターフェイス29を介
してエンコーダ/デコーダブロック25に供給される。
エンコーダ/デコーダブロック25では、記録時には、
上述したフォーマットのデータを生成し、次にそのフォ
ーマットに従ってデータをエンコードする。再生時に
は、デコード処理を行い、ディジタルデータをインター
フェイス29を介してホストコンピュータ30に出力す
る。アドレスは、例えばエンコーダ/デコーダブロック
25において、サブコードとして付加され、また、デー
タ中のヘッダに対しても付加される。
The write data is supplied to the encoder / decoder block 25 via the interface 29.
In the encoder / decoder block 25, at the time of recording,
The data in the format described above is generated, and then the data is encoded according to the format. At the time of reproduction, decoding processing is performed, and digital data is output to the host computer 30 via the interface 29. The address is added as a subcode in, for example, the encoder / decoder block 25, and is also added to a header in the data.

【0069】エンコーダ/デコーダブロック25からの
記録データが記録イコライザ27を介してレーザドライ
バ28に供給される。レーザドライバ28では、ディス
ク1に対して記録データを記録するための所定のレベル
を有するドライブ波形が生成される。レーザドライバ2
8の出力が光ピックアップ23に対して供給され、デー
タが記録される。レーザドライバ28は、RF信号処理
ブロック31内のAPC(Automatic Power Control) に
よって、上述したように、レーザパワーが適切なものに
制御される。また、ディスク1からの戻り光により発生
した信号がRF信号処理ブロック31に供給される。ア
ドレス抽出回路32では、RF信号処理ブロックから供
給された信号に基づき、アドレス情報の抽出を行う。抽
出されたアドレス情報は、後述する制御用マイコン33
に供給される。
The recording data from the encoder / decoder block 25 is supplied to the laser driver 28 via the recording equalizer 27. In the laser driver 28, a drive waveform having a predetermined level for recording recording data on the disk 1 is generated. Laser driver 2
8 is supplied to the optical pickup 23 to record data. As described above, the laser power of the laser driver 28 is controlled to be appropriate by the APC (Automatic Power Control) in the RF signal processing block 31. Further, a signal generated by the return light from the disk 1 is supplied to the RF signal processing block 31. The address extraction circuit 32 extracts address information based on the signal supplied from the RF signal processing block. The extracted address information is stored in a control microcomputer 33 described later.
Supplied to

【0070】また、RF信号処理ブロック31では、マ
トリックスアンプがフォトディテクタの検出信号を演算
することによって、トラッキングエラー信号TERR、
フォーカスエラー信号FERRを生成する。トラッキン
グエラー信号、フォーカスエラー信号がサーボブロック
34に供給される。
Further, in the RF signal processing block 31, the tracking error signal TERR,
A focus error signal FERR is generated. The tracking error signal and the focus error signal are supplied to the servo block 34.

【0071】制御用マイコン33がアドレスを使用して
シーク動作を制御し、また、制御信号を使用してレーザ
パワーの制御等を行う。制御用マイコン33は、CPU
(Central Processing Unit)、RAM(Random Access Me
mory)およびROM(Read Only Memory)などからなり、
インターフェイス29、エンコーダ/デコーダブロック
25、RF信号処理ブロック31、サーボブロック34
等、ドライブの全体を制御する。また、制御用マイコン
33に対してメモリ36を接続することもできる。
The control microcomputer 33 controls the seek operation using the address and controls the laser power using the control signal. The control microcomputer 33 is a CPU
(Central Processing Unit), RAM (Random Access Me
mory) and ROM (Read Only Memory)
Interface 29, encoder / decoder block 25, RF signal processing block 31, servo block 34
Control the entire drive, etc. Further, a memory 36 can be connected to the control microcomputer 33.

【0072】さらに、ディスク1を再生することで得ら
れるRF信号がエンコーダ/デコーダブロック25に供
給され、エンコーダ/デコーダブロック25では、記録
時に施された変調処理の復調、エラー訂正符号の復号
(すなわち、エラー訂正)等の所定のフォーマットに準
ずるデコードを行う。エンコーダ/デコーダブロック2
5では、再生データがバッファメモリ26に格納され
る。ホストコンピュータ30からのリードコマンドが受
け付けられると、リードデータがインターフェイス29
を介してホストコンピュータ30に対して転送される。
Further, an RF signal obtained by reproducing the disk 1 is supplied to an encoder / decoder block 25. The encoder / decoder block 25 demodulates a modulation process performed during recording and decodes an error correction code (that is, decodes an error correction code). , Error correction) and the like. Encoder / decoder block 2
In 5, the reproduction data is stored in the buffer memory 26. When a read command from the host computer 30 is received, the read data is transmitted to the interface 29.
Is transferred to the host computer 30 via the.

【0073】RF信号処理ブロック31からのフレーム
同期信号、トラッキングエラー信号およびフォーカスエ
ラー信号と、アドレス抽出回路からのアドレス情報がサ
ーボブロック34に供給される。サーボブロック34
は、光ピックアップ23に対するトラッキングサーボお
よびフォーカスサーボと、スピンドルモータ22に対す
るスピンドルサーボと、送りモータ24に対するスレッ
ドサーボを行う。
The frame synchronization signal, tracking error signal and focus error signal from the RF signal processing block 31 and address information from the address extraction circuit are supplied to the servo block 34. Servo block 34
Performs tracking servo and focus servo for the optical pickup 23, spindle servo for the spindle motor 22, and thread servo for the feed motor 24.

【0074】なお、上述では、ドライブ装置に対してホ
ストコンピュータ30が接続されると説明したが、これ
はこの例に限定されない。ドライブ装置に接続される機
器は、ディジタル信号の入出力を行いインターフェイス
が適合していれば、他の機器でも良い。例えば、このド
ライブ装置は、例えば撮像画像をディスク状記録媒体に
記録するようにされたカメラ付き携帯用ディジタルビデ
オレコーダに内蔵されるものとしても良い。
In the above description, the host computer 30 is connected to the drive device. However, this is not limited to this example. The device connected to the drive device may be another device as long as the device inputs and outputs digital signals and has an appropriate interface. For example, the drive device may be built in a portable digital video recorder with a camera that records a captured image on a disk-shaped recording medium, for example.

【0075】上述では、ディスク1に対するフォーマッ
トデータをエンコーダ/デコーダブロック25で生成す
るように説明したが、これはこの例に限定されない。フ
ォーマットデータは、制御用マイコン33で生成するこ
とができる。また、フォーマットデータは、ホストコン
ピュータ30から供給するようにしても良い。
In the above description, the format data for the disc 1 is generated by the encoder / decoder block 25, but this is not limited to this example. The format data can be generated by the control microcomputer 33. The format data may be supplied from the host computer 30.

【0076】次に、この実施の一形態における管理ファ
イルの保護方法について説明する。図10Aに示される
領域DAN−2に対して、図10Bに一例が示されるバ
ックアップファイルを作成し、管理ファイルの保護を行
う。以下、この領域DAN−2に対するバックアップフ
ァイルを、RIF(Reserve Information File)と称す
る。RIFは、このように、図10Aの領域DAN−2
対してRIF自体のFEが付加されて構成されるファイ
ルである。RIFは、領域DAN−2の直後に配置され
る。
Next, a method of protecting the management file according to the embodiment will be described. A backup file, an example of which is shown in FIG. 10B, is created for the area DAN-2 shown in FIG. 10A to protect the management file. Hereinafter, the backup file for this area dan-2 is referred to as RIF (Reserve Information File). The RIF is thus the region DAN-2 of FIG. 10A.
On the other hand, it is a file configured by adding the FE of the RIF itself. The RIF is located immediately after the area DAN-2.

【0077】図10Aの例では、領域DAN−2は、上
述したように、LSN側からルートディレクトリのFE
およびルートディレクトリの実体が配され、続けてEI
FのFIDが配される。そして、EIFのFIDの後ろ
にRIFのFIDが配され、さらに、REIF(Reserve
Entry Information File)のFIDが配される。この実
施の一形態では、図10Cに一例が示されるように、領
域DAN−3に書き込まれるファイルのFEが2重書き
され、バックアップされる。REIFは、この2重書き
されたFEの情報を管理するファイルである。REIF
のFIDの次には、例えば領域DAN−3に書き込まれ
たファイルのFIDが配され、その後ろにREIFのF
Eが配される。REIFのADによって、領域DAN−
3に書き込まれたファイルの2重化されたFEが指し示
される。REIFのFEの後ろがEIFの実体とされ
る。
In the example shown in FIG. 10A, the area DAN-2 is, as described above, the FE of the root directory from the LSN side.
And the root directory entity, followed by EI
The FID of F is provided. Then, the FID of the RIF is arranged after the FID of the EIF, and the REIF (Reserve (Reserve)) is further provided.
FID of Entry Information File). In this embodiment, as shown in an example in FIG. 10C, the FE of the file written in the area DAN-3 is double-written and backed up. REIF is a file for managing the information of the double-written FE. REIF
Next to the FID of the REIF, for example, the FID of the file written in the area DAN-3 is arranged, and after that, the FID of the REIF is placed.
E is placed. By the AD of REIF, the area DAN-
3, the duplicated FE of the file written is indicated. The EIF entity after the FE of the REIF is the entity of the EIF.

【0078】一方、RIFは、図10Bに示されるよう
に、図10Aの領域DAN−2のコピーと、RIF自身
のFEとからなる。図11は、領域DAN−2およびR
IFの関係を示す。このように、RIFの実体は、領域
DAN−2の完全なコピーからなり、これにRIFのF
Eが付加されて、RIFが構成される。
On the other hand, as shown in FIG. 10B, the RIF includes a copy of the area DAN-2 in FIG. 10A and the FE of the RIF itself. FIG. 11 shows regions DAN-2 and R
The relationship of IF is shown. Thus, the RIF entity consists of a complete copy of region DAN-2, which is
E is added to form the RIF.

【0079】なお、上述では、領域DAN−3のファイ
ルのFEは、領域DAN−2とRIFとで互いに対応す
るFIDによって指し示されているが、これはこの例に
限定されない。領域DAN−2のFIDとRIFのFI
Dとで、領域DAN−3のファイルの異なるFEを指し
示すようにしてもよい。例えば、図12に一例が示され
るように、領域DAN−2のFIDで、領域DAN−3
のファイルの元のFEを指し示し、RIFのFIDで、
領域DAN−3のファイルの2重化されたFEを指し示
すようにできる。以下では、管理の容易さなどから、領
域DAN−2のFIDとRIFのFIDとで同一のFE
を指し示す場合を例にとって説明する。
In the above description, the FE of the file in the area DAN-3 is indicated by the corresponding FID in the area DAN-2 and the RIF, but this is not limited to this example. FID of area DAN-2 and FI of RIF
D and D may indicate different FEs of the file in the area DAN-3. For example, as shown in FIG. 12, the FID of the area DAN-2 and the area dan-3
To the original FE of the file, and the FID of the RIF,
It can be made to indicate the duplicated FE of the file in the area DAN-3. Hereinafter, the same FE is used for the FID of the area DAN-2 and the FID of the RIF for ease of management.
The following describes an example of a case in which is indicated.

【0080】RIFは、ディスク1のフォーマット処理
時に、次のようにして作成される。先ず、上述したよう
にしてフォーマット処理が進められ、領域DAN−1が
作成される。領域DAN−1が作成されると、その外側
に、領域DAN−2が作成される。すなわち、所定アド
レスにルートディレクトリが作成され、ルートディレク
トリの実体が連続的に書き込まれる。そして、作成され
たルートディレクトリの実体に、EIFのFIDが追加
され、EIFのアドレスが指定される。
The RIF is created as follows at the time of formatting the disk 1. First, the format process proceeds as described above, and an area DAN-1 is created. When the area DAN-1 is created, an area DAN-2 is created outside the area DAN-1. That is, a root directory is created at a predetermined address, and the substance of the root directory is continuously written. Then, the FID of the EIF is added to the entity of the created root directory, and the address of the EIF is specified.

【0081】次に、ルートディレクトリの実体に、RI
FのFIDが追加される。さらに、領域DAN−2の直
後に、領域DAN−2と同じ大きさのRIFの実体と、
RIFのFEとが作成される。なお、この段階では、R
IFのFEだけがディスク1に書き込まれる。RIFの
FEが書き込まれると、RIFの実体に対して、ルート
ディレクトリのコピーが書き込まれると共に、EIFの
FEのコピーが書き込まれる。
Next, the entity of the root directory is
The FID of F is added. Further, immediately after the area DAN-2, an RIF entity having the same size as the area DAN-2;
An RIF FE is created. At this stage, R
Only the IF FE is written to disk 1. When the FE of the RIF is written, a copy of the root directory and a copy of the FE of the EIF are written to the entity of the RIF.

【0082】なお、作成されたRIFには、他の機器や
OSによって消去、書き換えなどが行われないように、
上述した、「隠しファイル属性」、読み出し専用ファイ
ル属性」および「システムファイル属性」が共に付加さ
れる。
Note that the created RIF is protected from being erased or rewritten by another device or OS.
The “hidden file attribute”, the read-only file attribute, and the “system file attribute” are all added.

【0083】ルートディレクトリに対して新たにサブデ
ィレクトリ(SD)を追加する場合には、領域DAN−
2に対してサブディレクトリのFIDおよびFEを書き
込むと共に、RIFの実体にも、図13に一例が示され
るように、領域DAN−2に書かれた各データと全く同
一のデータを書き込む。このときには、各データは、任
意の順番で書き込むことができる。
When a new subdirectory (SD) is added to the root directory, the area DAN-
13, the FID and FE of the sub-directory are written, and the same data as the data written in the area DAN-2 is written in the RIF entity as shown in FIG. At this time, each data can be written in an arbitrary order.

【0084】ルートディレクトリにファイルを追加する
場合には、図14に一例が示されるように、追加される
ファイルのFIDが領域DAN−2に書き込まれると共
に、RIFの実体にも、領域DAN−2と同様に、書き
込まれる。
When a file is added to the root directory, as shown in an example in FIG. 14, the FID of the file to be added is written in the area DAN-2, and the substance of the RIF is also stored in the area DAN-2. Is written in the same way as

【0085】上述したように、この実施の一形態では、
ファイルのFEも2重化される。上述の図14の例で
は、2重化されたファイルのFEの一方に対して、領域
DAN−2及びRIFのFIDが作成されている。これ
はこの例に限らず、図15に一例が示されているよう
に、領域DAN−2における追加ファイルのFIDと、
RIFにおける追加ファイルのFIDとを、2重化され
たファイルのFEに対してそれぞれ作成するようにして
もよい。
As described above, in this embodiment,
The FE of the file is also duplicated. In the example of FIG. 14 described above, the FID of the area DAN-2 and the FID of the RIF are created for one of the FEs of the duplicated file. This is not limited to this example, and as shown in an example in FIG. 15, the FID of the additional file in the area DAN-2,
The FID of the additional file in the RIF may be created for each FE of the duplicated file.

【0086】次に、領域DAN−2のデータが破損され
た場合について考える。領域DAN−2の破損により失
われた管理データは、RIFを用いて修復することがで
きる。修復の方法としては、置換と復元の2つの方法が
考えられる。以下、この領域DAN−2の破損により損
なわれた管理データの修復方法について説明する。
Next, a case where the data in the area DAN-2 is damaged will be considered. The management data lost due to the corruption of the area DAN-2 can be repaired using the RIF. As a method of restoration, two methods of replacement and restoration can be considered. Hereinafter, a method of repairing the management data damaged by the damage of the area DAN-2 will be described.

【0087】先ず、第1の方法として、データの置換に
よって修復を行う方法について、図16を用いて説明す
る。例えばサブディレクトリのFEが破損された場合、
第1のステップとして、領域DAN−2内のサブディレ
クトリのFIDによって、RIFの実体内に書き込まれ
ているサブディレクトリのFEを指し示すように、領域
DAN−2内のサブディレクトリのFIDを書き換え
る。それと共に、RIFの実体に書き込まれている、サ
ブディレクトリのFIDも、同様に書き換える。そし
て、第2のステップとして、RIFの実体内に書き込ま
れているサブディレクトリのFEが有効になるように、
RIFのFEが書き換えられる。このとき、RIFの実
体は、置き換えられたサブディレクトリのFEの分だ
け、縮小される。
First, a method of performing restoration by replacing data as a first method will be described with reference to FIG. For example, if the FE in the subdirectory is corrupted,
As a first step, the FID of the sub-directory in the area DAN-2 is rewritten so that the FID of the sub-directory in the area DAN-2 indicates the FE of the sub-directory written in the entity of the RIF. At the same time, the FID of the subdirectory written in the RIF entity is similarly rewritten. Then, as a second step, the FE of the subdirectory written in the entity of the RIF becomes effective,
The FE of the RIF is rewritten. At this time, the entity of the RIF is reduced by the FE of the replaced subdirectory.

【0088】このようにすることで、データの置き換え
を行うことができる。なお、ここではサブディレクトリ
のFEが破損された例について説明したが、上述の処理
は、サブディレクトリのFIDや、その実体が破損され
た場合にも適用可能なものである。
In this way, data can be replaced. Although the example in which the FE of the subdirectory is damaged has been described here, the above-described processing can be applied to the case where the FID of the subdirectory or the entity thereof is damaged.

【0089】次に、第2の方法として、データの復元に
よって修復を行う方法について、図17を用いて説明す
る。上述と同様、サブディレクトリのFEが破損された
ものとする。第1のステップとして、破損されたサブデ
ィレクトリのFEに相当するデータを、RIF中から探
し出す。探し出されたデータは、領域DAN−2におけ
るEIF実体内の空き領域に新たに書き込まれると共
に、RIF内に書き込まれる。若し、当該データを書き
込むだけの空き領域がない場合には、上述の第1の方法
によりデータを置換して対処する。
Next, as a second method, a method of performing restoration by restoring data will be described with reference to FIG. As described above, it is assumed that the FE in the subdirectory has been damaged. As a first step, data corresponding to the FE of the damaged subdirectory is searched for in the RIF. The found data is newly written in an empty area in the EIF entity in the area DAN-2, and is also written in the RIF. If there is no free space for writing the data, the data is replaced by the first method described above.

【0090】第2のステップとして、領域DAN−2に
おけるEIFのFEを書き換えて、EIFに新たに書き
込まれたデータの分だけファイルサイズを縮小する。そ
れと共に、RIF実体内のEIFのFEが、同様にして
書き換えられる。
As a second step, the FE of the EIF in the area DAN-2 is rewritten to reduce the file size by the data newly written in the EIF. At the same time, the FE of the EIF in the RIF entity is similarly rewritten.

【0091】第3のステップとして、領域DAN−2の
サブディレクトリのFIDが、新たに書き込まれ復元さ
れたサブディレクトリのFEを指し示すように書き換え
られる。それと共に、RIF内の対応するサブディレク
トリのFIDが、同様にして書き換えられる。このよう
にして、破損された管理データが修復される。
As a third step, the FID of the subdirectory of the area DAN-2 is rewritten so as to indicate the FE of the newly written and restored subdirectory. At the same time, the FID of the corresponding subdirectory in the RIF is similarly rewritten. In this way, the damaged management data is repaired.

【0092】なお、第1の方法は、第2の方法に対して
処理が容易であるという利点がある。一方、第2の方法
は、復元され修復された管理データのバックアップも、
新たに作成されるため、第1の方法に比して、信頼性が
高い、という利点がある。
Note that the first method has an advantage that processing is easier than the second method. On the other hand, the second method is to backup the restored and restored management data,
Since it is newly created, there is an advantage that the reliability is higher than that of the first method.

【0093】次に、ルートディレクトリの下にファイル
File1を作成する処理について説明する。第1のス
テップとして、上述の図10において、ルートディレク
トリの下にファイルFile1を書き込む場合、ルート
ディレクトリの実体にファイルFile1のFIDを書
き込むと共に、RIFの実体にも、同じ情報を書き込
む。第2のステップとして、領域DAN−3に対してフ
ァイルFile1のFEとその実体を書き込み、その直
後に、そのFEのバックアップ(FE’)を書き込む。
第3のステップとして、ルートディレクトリ内にREI
FのFIDを書き込むと共に、REIFのFEを領域D
AN−2に書き込む。そして、書き込まれたREIFの
FE中のADに、FE’のアドレス情報と大きさを書き
込む。さらに、これらの情報、すなわち、REIFのF
ID、FEおよびFE中のADを、RIFに書き込む。
Next, a process for creating the file File1 under the root directory will be described. As a first step, in FIG. 10 described above, when writing the file File1 under the root directory, the FID of the file File1 is written into the entity of the root directory, and the same information is also written into the entity of the RIF. As a second step, the FE of the file File1 and its substance are written to the area DAN-3, and immediately after that, a backup (FE ') of the FE is written.
The third step is to add the REI in the root directory.
F FID is written and REIF FE is
Write to AN-2. Then, the address information and the size of the FE ′ are written in the AD in the FE of the written REIF. Furthermore, this information, that is, REIF F
Write ID, FE and AD in FE to RIF.

【0094】領域DAN−3にあるファイルFile1
のFEが破損された場合には、以下のようにして修復す
る。なお、この処理についても、上述したRIFによる
領域DAN−2の修復と同様に、置換と復元の2つの方
法が考えられる。
The file File1 in the area DAN-3
If the FE is damaged, it is repaired as follows. As for this processing, two methods of replacement and restoration are conceivable as in the above-described restoration of the area DAN-2 by the RIF.

【0095】置換による修復は、次のようにして行われ
る。第1のステップとして、REIFのFEから、ファ
イルFile1のFE’を見つけ出す。次に、第2のス
テップとして、見つけられたファイルFile1のF
E’を正式なFEとするために、領域DAN−2および
RIFの実体内のファイルFile1のFIDを書き換
える。そして、第3のステップとして、領域DAN−2
における、ファイルFile1のFE’に対応するRE
IFのFE内のADを削除すると共に、RIFに対して
も、同様の処理を施す。すなわち、RIFにおける、フ
ァイルFile1のFE’に対応するREIFのFE内
のADを削除する。
The repair by replacement is performed as follows. As a first step, FE ′ of file File1 is found from FE of REIF. Next, as a second step, the F of the found file File1 is
In order to make E 'an official FE, the FID of the file File1 in the area DAN-2 and the RIF is rewritten. Then, as a third step, the area DAN-2
Corresponding to FE ′ of file File1
The same processing is performed on the RIF while deleting the AD in the FE of the IF. That is, the AD in the FE of the REIF corresponding to the FE ′ of the file File1 in the RIF is deleted.

【0096】復元による修復は、次のようになる。先
ず、REIFのFEから、ファイルFile1のFE’
を見つけ出す。そして、ファイルFile1のFE’か
らFEを復元する。復元されたファイルFile1のF
Eは、領域DAN−3の空き領域に書き込まれる。それ
と共に、領域DAN−2と、RIF内のファイルFil
e1のFIDを書き換える。
The restoration by restoration is as follows. First, from the FE of the REIF, the FE 'of the file File1
Find out. Then, the FE is restored from the FE 'of the file File1. F of restored file File1
E is written to a free area of the area DAN-3. At the same time, the area Dan-2 and the file Fil in the RIF
Rewrite the FID of e1.

【0097】なお、上述では、この発明が光ディスクや
光磁気ディスクなどの、換装可能なディスク状記録媒体
に適用されるように説明したが、これはこの例に限られ
ない。この発明は、媒体上に記録されるデータを媒体上
に存在する所定の管理情報によって管理するようにした
ディスク状記録媒体であれば、他の種類のものにも適用
可能である。例えば、この発明は、ハードディスクドラ
イブなどの固定ドライブにも適用可能である。
In the above description, the present invention has been described as being applied to a replaceable disk-shaped recording medium such as an optical disk or a magneto-optical disk. However, the present invention is not limited to this example. The present invention can be applied to other types of disc-shaped recording media as long as data recorded on the medium is managed by predetermined management information existing on the medium. For example, the present invention is also applicable to a fixed drive such as a hard disk drive.

【0098】[0098]

【発明の効果】以上説明したように、この発明によれ
ば、ファイルやディレクトリの管理情報がまとめてバッ
クアップファイルとして2重化される。そのため、ファ
イルやディレクトリの管理情報が、破損などの何らかの
理由で読みとれなくなっても、このバックアップファイ
ルを用いることで管理情報を復元することができる効果
がある。
As described above, according to the present invention, management information of files and directories is collectively duplicated as a backup file. Therefore, even if the management information of the file or directory cannot be read for some reason such as damage, there is an effect that the management information can be restored by using the backup file.

【0099】また、この発明の実施の一形態によれば、
RIFのFEを調べることにより、領域DAN−2の欠
陥セクタの量が分かるという効果がある。つまり、RI
Fのファイルサイズが小さいほど、領域DAN−2の欠
陥セクタの数が多いことになるからである。
Further, according to one embodiment of the present invention,
By examining the FE of the RIF, there is an effect that the amount of defective sectors in the area DAN-2 can be determined. That is, RI
This is because the smaller the file size of F, the larger the number of defective sectors in the area DAN-2.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明によるディスク状記録媒体の論理フォ
ーマットをディスクの形状に対応付けて示す略線図であ
る。
FIG. 1 is a schematic diagram showing a logical format of a disk-shaped recording medium according to the present invention in association with a disk shape.

【図2】ボリューム情報領域の一例の内容を示す略線図
である。
FIG. 2 is a schematic diagram illustrating the contents of an example of a volume information area.

【図3】この発明によるディレクトリ、ファイルおよび
空きエリアの管理方法について説明するための略線図で
ある。
FIG. 3 is a schematic diagram illustrating a method for managing directories, files, and empty areas according to the present invention;

【図4】この発明によるディレクトリ、ファイルおよび
空きエリアの管理方法について説明するための略線図で
ある。
FIG. 4 is a schematic diagram illustrating a method for managing directories, files, and free areas according to the present invention;

【図5】領域DAN−2におけるEIFの作成方法につ
いて説明するための略線図である。
FIG. 5 is a schematic diagram for explaining a method of creating an EIF in an area DAN-2.

【図6】フォーマット処理後にサブディレクトリを追加
する方法を説明するための略線図である。
FIG. 6 is a schematic diagram for explaining a method of adding a subdirectory after a format process.

【図7】ルートディレクトリに対してファイルを追加す
る処理を説明するための略線図である。
FIG. 7 is a schematic diagram illustrating a process of adding a file to a root directory.

【図8】新規に追加された領域DAN−2’および領域
DAN−3’を概略的に示す略線図である。
FIG. 8 is a schematic diagram schematically showing a newly added region DAN-2 ′ and a region DAN-3 ′.

【図9】この発明に適用することができるドライブ装置
の一例の構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of an example of a drive device applicable to the present invention.

【図10】この発明によるRIFを概略的に説明するた
めの略線図である。
FIG. 10 is a schematic diagram for schematically explaining a RIF according to the present invention.

【図11】領域DAN−2とRIFとの関係を示す略線
図である。
FIG. 11 is a schematic diagram illustrating a relationship between a region DAN-2 and RIF.

【図12】RIFの他の例を示す略線図である。FIG. 12 is a schematic diagram illustrating another example of the RIF.

【図13】ルートディレクトリにサブディレクトリを追
加する例を説明する略線図である。
FIG. 13 is a schematic diagram illustrating an example of adding a subdirectory to a root directory.

【図14】ルートディレクトリにファイルを追加する例
を説明する略線図である。
FIG. 14 is a schematic diagram illustrating an example of adding a file to a root directory.

【図15】ルートディレクトリにファイルを追加する他
の例を説明する略線図である。
FIG. 15 is a schematic diagram illustrating another example of adding a file to a root directory.

【図16】データの置換によって修復を行う方法を説明
するための略線図である。
FIG. 16 is a schematic diagram for explaining a method of performing restoration by replacing data.

【図17】データの復元によって修復を行う方法を説明
するための略線図である。
FIG. 17 is a schematic diagram for explaining a method of performing restoration by restoring data.

【図18】従来のUDFによるディスク上のデータ配置
の例を示す略線図である。
FIG. 18 is a schematic diagram illustrating an example of a data arrangement on a disk according to a conventional UDF.

【符号の説明】[Explanation of symbols]

1・・・ディスク状記録媒体、10・・・リードイン領
域、11,12・・・ボリューム情報領域、13・・・
リードアウト領域
DESCRIPTION OF SYMBOLS 1 ... Disk-shaped recording medium, 10 ... Lead-in area, 11, 12 ... Volume information area, 13 ...
Lead-out area

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11B 20/12 G11B 20/12 Fターム(参考) 5B065 BA04 CC08 EA24 EA35 ZA16 5B082 DE06 EA01 5D044 BC06 CC06 DE02 DE12 DE38 DE52 DE64 DE69 DE73 5D110 AA17 BB01 DA04 DC26 DD03 DE04 DF01 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G11B 20/12 G11B 20/12 F term (Reference) 5B065 BA04 CC08 EA24 EA35 ZA16 5B082 DE06 EA01 5D044 BC06 CC06 DE02 DE12 DE38 DE52 DE64 DE69 DE73 5D110 AA17 BB01 DA04 DC26 DD03 DE04 DF01

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 階層的なファイルシステムに基づきデー
タをディスク状記録媒体に記録する記録方法において、 ファイルシステムの階層構造を管理する管理情報をディ
スク状記録媒体の特定領域に記録するようにしたと共
に、上記特定領域全体を別の領域にそのままコピーし、
さらに、上記別の領域に上記コピーされた上記特定領域
全体を1つのバックアップファイルとして扱うようにし
たことを特徴とする記録方法。
1. A recording method for recording data on a disk-shaped recording medium based on a hierarchical file system, wherein management information for managing a hierarchical structure of the file system is recorded in a specific area of the disk-shaped recording medium. , Copy the entire specified area as is to another area,
Further, the recording method is characterized in that the whole of the specific area copied in the different area is handled as one backup file.
【請求項2】 請求項1に記載する記録方法において、 上記特定領域にデータの書き込みが行われた場合、上記
バックアップファイルの実体にも上記特定領域に上記書
き込まれた上記データと同じデータを書き込むようにし
たことを特徴とする記録方法。
2. The recording method according to claim 1, wherein when data is written in the specific area, the same data as the data written in the specific area is also written in the actual backup file. A recording method characterized in that:
【請求項3】 請求項1に記載する記録方法において、 上記管理情報が破損した場合、上記バックアップファイ
ルの中の対応するデータをそのまま上記破損された上記
管理情報の復元データとして利用することを特徴とする
記録方法。
3. The recording method according to claim 1, wherein when the management information is damaged, corresponding data in the backup file is used as it is as restoration data of the damaged management information. Recording method.
【請求項4】 請求項1に記載する記録方法において、 上記管理情報が破損した場合、上記バックアップファイ
ルの中の対応するデータを上記特定領域にコピーするこ
とを特徴とする記録方法。
4. The recording method according to claim 1, wherein when the management information is damaged, corresponding data in the backup file is copied to the specific area.
【請求項5】 請求項1に記載する記録方法において、 ファイルの実体の場所と大きさを示す情報をディスク状
記録媒体の他の特定領域に記録するようにしたと共に、
上記ファイルの実体の場所と大きさを示す情報のコピー
を上記ファイルの実体の直後に続けて記録するようにし
たことを特徴とする記録方法。
5. The recording method according to claim 1, wherein information indicating the location and size of the file entity is recorded in another specific area of the disk-shaped recording medium.
A recording method, characterized in that a copy of information indicating the location and size of the entity of the file is recorded immediately after the entity of the file.
【請求項6】 請求項5に記載する記録方法において、 上記ファイルの実体の場所と大きさを示す情報のコピー
を、上記バックアップファイルとまとめて1つのバック
アップファイルとして扱うようにしたことを特徴とする
記録方法。
6. The recording method according to claim 5, wherein a copy of the information indicating the location and size of the entity of the file is treated as one backup file together with the backup file. How to record.
【請求項7】 請求項1に記載の記録方法において、 上記バックアップファイルに対して隠しファイル属性
と、システムファイル属性と、読み出し専用ファイル属
性とを設定するようにしたことを特徴とする記録方法。
7. The recording method according to claim 1, wherein a hidden file attribute, a system file attribute, and a read-only file attribute are set for the backup file.
【請求項8】 階層的なファイルシステムに基づきデー
タをディスク状記録媒体に記録する記録装置において、 ファイルシステムの階層構造を管理する管理情報をディ
スク状記録媒体の特定領域に記録するようにしたと共
に、上記特定領域全体を別の領域にそのままコピーし、
上記管理情報のバックアップファイルとして扱うように
したことを特徴とする記録装置。
8. A recording apparatus for recording data on a disk-shaped recording medium based on a hierarchical file system, wherein management information for managing the hierarchical structure of the file system is recorded in a specific area of the disk-shaped recording medium. , Copy the entire specified area as is to another area,
A recording apparatus characterized in that it is handled as a backup file of the management information.
【請求項9】 請求項8に記載する記録装置において、 上記特定領域にデータの書き込みが行われた場合、上記
バックアップファイルの実体にも上記特定領域に上記書
き込まれた上記データと同じデータを書き込むようにし
たことを特徴とする記録装置。
9. The recording apparatus according to claim 8, wherein when data is written in the specific area, the same data as the data written in the specific area is also written in the actual backup file. A recording apparatus characterized in that:
【請求項10】 請求項8に記載する記録装置におい
て、 上記管理情報が破損した場合、上記バックアップファイ
ルの中の対応するデータをそのまま上記は損された上記
管理情報の復元データとして利用できるようにすること
を特徴とする記録装置。
10. The recording device according to claim 8, wherein when the management information is damaged, the corresponding data in the backup file can be used as it is as restoration data of the damaged management information. A recording device, comprising:
【請求項11】 請求項8に記載する記録装置におい
て、 上記管理情報が破損した場合、上記バックアップファイ
ルの中の対応するデータを上記特定領域にコピーするこ
とを特徴とする記録装置。
11. The recording apparatus according to claim 8, wherein when the management information is damaged, corresponding data in the backup file is copied to the specific area.
【請求項12】 請求項8に記載する記録装置におい
て、 ファイルの実体の場所と大きさを示す情報をディスク状
記録媒体の他の特定領域に記録するようにしたと共に、
上記ファイルの実体の場所と大きさを示す情報のコピー
を上記ファイルの実体の直後に続けて記録するようにし
たことを特徴とする記録装置。
12. The recording apparatus according to claim 8, wherein information indicating the location and size of the file entity is recorded in another specific area of the disk-shaped recording medium.
A recording apparatus characterized in that a copy of information indicating the location and size of the entity of the file is recorded immediately after the entity of the file.
【請求項13】 請求項12に記載する記録装置におい
て、 上記ファイルの実体の場所と大きさを示す情報のコピー
を、上記バックアップファイルとまとめて1つのバック
アップファイルとして扱えるようにしたことを特徴とす
る記録装置。
13. The recording apparatus according to claim 12, wherein a copy of information indicating the location and size of the entity of the file can be handled together with the backup file as one backup file. Recording device.
【請求項14】 請求項8に記載の記録装置において、 上記バックアップファイルに対して隠しファイル属性
と、システムファイル属性と、読み出し専用ファイル属
性とを設定するようにしたことを特徴とする記録装置。
14. The recording apparatus according to claim 8, wherein a hidden file attribute, a system file attribute, and a read-only file attribute are set for the backup file.
【請求項15】 階層的なファイルシステムに基づきデ
ータをディスク状記録媒体に記録された記録媒体におい
て、 ファイルシステムの階層構造を管理する管理情報をディ
スク状記録媒体の特定領域に記録するようにしたと共
に、上記特定領域全体を別の領域にそのままコピーし、
さらに、上記別の領域に上記コピーされた上記特定領域
全体を1つのバックアップファイルとして扱うことがで
きるようにされたことを特徴とする記録媒体。
15. In a recording medium in which data is recorded on a disk-shaped recording medium based on a hierarchical file system, management information for managing the hierarchical structure of the file system is recorded in a specific area of the disk-shaped recording medium. At the same time, the entire specified area is copied to another area as it is,
Further, a recording medium characterized in that the entire specified area copied in the different area can be handled as one backup file.
【請求項16】 請求項15に記載する記録媒体におい
て、 上記特定領域にデータの書き込みが行われた場合、上記
バックアップファイルの実体にも上記特定領域に上記書
き込まれた上記データと同じデータが書き込まれたこと
を特徴とする記録媒体。
16. The recording medium according to claim 15, wherein when data is written in the specific area, the same data as the data written in the specific area is written also in the entity of the backup file. A recording medium characterized by having been recorded.
【請求項17】 請求項15に記載する記録媒体におい
て、 上記管理情報が破損した場合、上記バックアップファイ
ルの中の対応するデータをそのまま上記は損された上記
管理情報の復元データとして利用されることを特徴とす
る記録媒体。
17. The recording medium according to claim 15, wherein when the management information is damaged, the corresponding data in the backup file is used as it is as restoration data of the damaged management information. Recording medium characterized by the above-mentioned.
【請求項18】 請求項15に記載する記録媒体におい
て、 上記管理情報が破損した場合、上記バックアップファイ
ルの中の対応するデータを上記特定領域にコピーするこ
とを特徴とする記録媒体。
18. The recording medium according to claim 15, wherein when the management information is damaged, corresponding data in the backup file is copied to the specific area.
【請求項19】 請求項15に記載する記録媒体におい
て、 ファイルの実体の場所と大きさを示す情報をディスク状
記録媒体の他の特定領域に記録するようにしたと共に、
上記ファイルの実体の場所と大きさを示す情報のコピー
を上記ファイルの実体の直後に続けて記録されたことを
特徴とする記録媒体。
19. The recording medium according to claim 15, wherein information indicating a location and a size of a file entity is recorded in another specific area of the disc-shaped recording medium.
A recording medium characterized by recording a copy of information indicating the location and size of the file entity immediately after the file entity.
【請求項20】 請求項19に記載する記録媒体におい
て、 上記ファイルの実体の場所と大きさを示す情報のコピー
を、上記バックアップファイルとまとめて1つのバック
アップファイルとして扱えるようにされたことを特徴と
する記録媒体。
20. The recording medium according to claim 19, wherein a copy of the information indicating the location and size of the entity of the file can be handled together with the backup file as one backup file. Recording medium.
【請求項21】 請求項15に記載の記録媒体におい
て、 上記バックアップファイルに対して隠しファイル属性
と、システムファイル属性と、読み出し専用ファイル属
性とを設定されたことを特徴とする記録媒体。
21. The recording medium according to claim 15, wherein a hidden file attribute, a system file attribute, and a read-only file attribute are set for the backup file.
JP2000101545A 2000-04-03 2000-04-03 Recording method and apparatus, and recording medium Pending JP2001291366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000101545A JP2001291366A (en) 2000-04-03 2000-04-03 Recording method and apparatus, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000101545A JP2001291366A (en) 2000-04-03 2000-04-03 Recording method and apparatus, and recording medium

Publications (1)

Publication Number Publication Date
JP2001291366A true JP2001291366A (en) 2001-10-19

Family

ID=18615574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000101545A Pending JP2001291366A (en) 2000-04-03 2000-04-03 Recording method and apparatus, and recording medium

Country Status (1)

Country Link
JP (1) JP2001291366A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002052847A1 (en) * 2000-12-26 2002-07-04 Sony Corporation Data recording method, data recorder, and recording medium
JP2002373099A (en) * 2001-06-14 2002-12-26 Sharp Corp Disk management method
WO2003049111A1 (en) * 2001-11-30 2003-06-12 Sony Corporation Data recording/reproducing apparatus and data recording/reproducing method
KR100736480B1 (en) 2005-11-21 2007-07-06 엘지전자 주식회사 Apparatus and method for media synchronization of a portable device
KR101155663B1 (en) 2005-06-30 2012-06-13 삼성전자주식회사 A composite image apparatus and copy method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002052847A1 (en) * 2000-12-26 2002-07-04 Sony Corporation Data recording method, data recorder, and recording medium
US6954830B2 (en) 2000-12-26 2005-10-11 Sony Corporation Data recording method, data recorder, and recording medium
JP2002373099A (en) * 2001-06-14 2002-12-26 Sharp Corp Disk management method
WO2003049111A1 (en) * 2001-11-30 2003-06-12 Sony Corporation Data recording/reproducing apparatus and data recording/reproducing method
US7236689B2 (en) 2001-11-30 2007-06-26 Sony Corporation Data recording/reproducing apparatus and data recording/reproducing method
KR101155663B1 (en) 2005-06-30 2012-06-13 삼성전자주식회사 A composite image apparatus and copy method thereof
KR100736480B1 (en) 2005-11-21 2007-07-06 엘지전자 주식회사 Apparatus and method for media synchronization of a portable device

Similar Documents

Publication Publication Date Title
JP5095895B2 (en) Method for immediately writing or reading a file on a disk-shaped recording medium
EP0464811B1 (en) Information recording medium and information recording and reproducing apparatus
US7974954B2 (en) Recording method, recording apparatus, and record medium
JP2002074832A (en) Data tampering check apparatus and method, and recording medium
JP4300669B2 (en) Recording method and apparatus, and recording medium
JP2001243102A (en) Recording apparatus and method, and recording medium
JPH10144011A (en) Disk unit
CN101089975B (en) Recording method and optical disk recording device
JP2001291366A (en) Recording method and apparatus, and recording medium
JPH0876935A (en) Backup data creation playback system
JP2003173285A (en) Information recording method and information recording / reproducing device
JP3707396B2 (en) Recording method and recording apparatus
JP3707400B2 (en) Recording method and recording apparatus
JP2001243723A (en) Recording device and method
JP3486486B2 (en) CD-R drive device
JP3562486B2 (en) Recording method, recording apparatus, and recording medium
KR100709656B1 (en) Recording device and recording method