JPH02267618A - File updating/adding method and file access method for cd-rom medium - Google Patents

File updating/adding method and file access method for cd-rom medium

Info

Publication number
JPH02267618A
JPH02267618A JP1088381A JP8838189A JPH02267618A JP H02267618 A JPH02267618 A JP H02267618A JP 1088381 A JP1088381 A JP 1088381A JP 8838189 A JP8838189 A JP 8838189A JP H02267618 A JPH02267618 A JP H02267618A
Authority
JP
Japan
Prior art keywords
file
subdirectory
rom medium
files
directory
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
JP1088381A
Other languages
Japanese (ja)
Inventor
Yoshio Arai
新井 淑夫
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP1088381A priority Critical patent/JPH02267618A/en
Publication of JPH02267618A publication Critical patent/JPH02267618A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To decrease the number of processes by writing a file itself into an unused area of a CD-ROM medium when the file contents are updated or at addition of files and at the same time writing a subdirectory into the final logic sector of the CD-ROM medium. CONSTITUTION:The presence or absence of an unused area of a CD-ROM medium is decided and then the presence or absence of a rewritten CD-ROM medium is decided by reference of the final logic sector of the CD-ROM medium. Then a subdirectory (SD2') 7 including a directory code showing the recorded information on the files (B', E) 6 is written into the final logic sector of the CD-ROM medium for identification of the update of the file contents and the addition of files when the file contents are updated or at addition of files. At the same time, the file itself is written into the unused area of the CD-ROM medium. Thus the update of the file contents or the addition of files is carried out just once within a range shown by a directory. Then the time and labor and the cost required for revision are reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はCD−ROM媒体におけるファイル更新/追加
方法およびファイルアクセス方法に関し、特にファイル
とディレクトリとが木構造となって記録されている追記
可能なCD−ROM媒体におけるファイル更新/追加方
法およびファイルアクセス方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a file update/addition method and a file access method in a CD-ROM medium, and in particular to a CD-ROM medium in which files and directories are recorded in a tree structure and which is recordable. The present invention relates to a file update/addition method and a file access method in a CD-ROM medium.

〔従来の技術〕[Conventional technology]

CD−ROM媒体では、第1図に示すように、ファイル
とディレクトリ (ルートディレクトリおよびサブディ
レクトリ)とが木構造となって記録されている場合、フ
ァイルとディレクトリとがそれぞれ密接な関係を持ち、
1つのディレクトリの中に複数のディレクトリレコード
が記録され、各ディレクトリレコードに続(ファイルや
ディレクトリの情報が記録されている。
In a CD-ROM medium, as shown in Figure 1, when files and directories (root directory and subdirectories) are recorded in a tree structure, the files and directories have a close relationship with each other.
A plurality of directory records are recorded in one directory, and each directory record (file and directory information is recorded).

そして、各ディレクトリレコードの情報を基にしてファ
イルをアクセスするため、ファイル内容の更新(追加、
変更および削除)やファイルの追加を行った際にそのフ
ァイルの情報が記録されているディレクトリレコードの
情報も書き替えなければならない。
Then, to access the file based on the information in each directory record, the file contents are updated (added, added,
When a file is added (changed or deleted) or a file is added, the information in the directory record that records the file information must also be rewritten.

しかし、ファイルとディレクトリとが木構造となってい
る場合にファイル内容の更新やファイルの追加を行うと
、そのファイルに関する全てのディレクトリをいもづる
式に書き替えなければならないため、ファイル内容の更
新やファイルの追加は論理的に不可能であった0例えば
、追記が可能であっても書替えが物理的に不可能なCD
−ROM媒体上で第1図で示すファイル(B)を更新す
る際、ファイル(B)の領域として確保しである領域内
でファイル(B)の書替えは物理的に不可能であり、未
使用領域内に更新したファイル(B’)を書き込んでも
、ファイル(B)を示しているディレクトリレコードの
内容を書き替えなければ更新したファイル(B′)を示
すことができない。
However, if files and directories are in a tree structure and you update the file contents or add a file, all the directories related to that file must be rewritten in an imozuru style. Additions were logically impossible 0 For example, even if additional writing is possible, it is physically impossible to rewrite a CD.
- When updating the file (B) shown in Figure 1 on the ROM medium, it is physically impossible to rewrite the file (B) within the area reserved for the file (B), so it is not used. Even if the updated file (B') is written in the area, the updated file (B') cannot be indicated unless the contents of the directory record indicating the file (B) are rewritten.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の技術では、ファイルとディレクトリとが
木構造となっていて書替えが物理的に行えないCD−R
OM媒体上では追記可能であってもわずかな量のファイ
ル内容の更新やファイルの追加さえもできなかったので
、ファイル内容を更新したりファイルを追加したりする
ときには更新したり追加したりする量の大小にかかわら
ずオリジナルデータファイル全体をブリマスタリングし
てファイルシミュレーションを行い、マスタリングして
CD−ROM媒体の原盤を作成し、必要に応じた枚数骨
プレスする必要があり、そのつと改版するための手間や
費用がかかるという欠点がある。
With the conventional technology described above, the files and directories are in a tree structure and cannot be physically rewritten on a CD-R.
On OM media, even if it is possible to add files, it is not possible to update even a small amount of file content or add files, so when updating file content or adding files, the amount of updates or additions is required. Regardless of the size of the original data file, it is necessary to perform file simulation by mastering the entire original data file, mastering it to create a master disc for CD-ROM media, and pressing the required number of discs. The disadvantage is that it is time consuming and expensive.

本発明の目的は、上述の点に鑑み、1つのディレクトリ
で示す範囲のファイル内容の更新やファイルの追加を一
度だけ行えるようにしたCD−ROM媒体におけるファ
イル更新/追加方法およびファイルアクセス方法を提供
することにある。
In view of the above-mentioned points, an object of the present invention is to provide a method for updating/adding files in a CD-ROM medium and a method for accessing files in which file contents within a range indicated by one directory can be updated or files added only once. It's about doing.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のCD−ROM媒体におけるファイル更新/追加
方法は、ファイルとディレクトリとが木構造となって記
録されている追記可能なCD−ROM媒体のファイル内
容を更新したリファイルを追加したりするファイル更新
/追加方法において、CD−ROM媒体に未使用頭載が
あるか否かを判断する第1のステップと、CD−ROM
媒体の最終論理セクタを見て再書込みされたCD−RO
M媒体であるか否かを判断する第2のステップと、ファ
イル内容の更新やファイルの追加時にそのフアイルに関
する情報を記録しているディレクトリレコードが含まれ
ているサブディレクトリをファイル内容の更新やファイ
ルの追加を識別するためにCD−ROM媒体の最終論理
セクタに書き込む第3のステップと、ファイル自身をC
D−ROM媒体の未使用領域に書き込む第4のステップ
とを含む。
The method for updating/adding files to a CD-ROM medium of the present invention is to add a refile that updates the file contents of a write-once CD-ROM medium in which files and directories are recorded in a tree structure. In the update/addition method, a first step of determining whether or not there is an unused header on the CD-ROM medium;
CD-RO rewritten by looking at the last logical sector of the media
The second step is to determine whether the file is an M medium or not. a third step of writing the last logical sector of the CD-ROM medium to identify the addition of the file itself;
and a fourth step of writing to an unused area of the D-ROM medium.

本発明のCD−ROM媒体におけるファイルアクセス方
法は、ファイルとディレクトリとが木構造となって記録
されている追記可能なCD−ROM媒体のファイルをア
クセスするファイルアクセス方法において、目的のファ
イル名を人力後にそのファイルの情報が記録されている
サブディレクトリを捜し出す第1のステップと、CD−
ROM媒体の最終論理セクタを読み込み読み込んだ内容
がサブディレクトリか否かを識別する第2のステップと
、第2のステップで読み込んだ内容がサブディレクトリ
の場合に第1のステップで捜し出したサブディレクトリ
と同一のファイル群を示すサブディレクトリかどうかを
比較する第3のステップと、第2のステップで読み込ん
だ内容がサブディレクトリでない場合または第3のステ
ップで第1のステップで捜し出したサブディレクトリと
同一のファイル群を示すサブディレクトリでない場合に
第1のステップで捜し出したサブディレクトリの情報を
基にファイルをアクセスする第4のステップと、第3の
ステップで第1のステップで捜し出したサブディレクト
リと同一のファイル群を示すサブディレクトリである場
合にCD−ROM媒体の最終論理セクタに書き込まれて
いるサブディレクトリの情報を基にファイルをアクセス
する第5のステップとを含む。
A file access method for a CD-ROM medium according to the present invention is a file access method for accessing a file on a recordable CD-ROM medium in which files and directories are recorded in a tree structure. The first step is to locate the subdirectory in which the information of the file is recorded, and the CD-
A second step of reading the last logical sector of the ROM medium and identifying whether the read content is a subdirectory or not, and if the content read in the second step is a subdirectory, the subdirectory searched in the first step is The third step compares whether the subdirectories indicate the same file group, and if the content read in the second step is not a subdirectory, or the third step compares whether the subdirectory is the same as the subdirectory found in the first step. A fourth step in which the file is accessed based on the information of the subdirectory found in the first step if the subdirectory does not represent a group of files, and a third step in which the file is accessed based on the information of the subdirectory found in the first step. and a fifth step of accessing the file based on information of the subdirectory written in the final logical sector of the CD-ROM medium if the subdirectory indicates a group of files.

〔作用〕[Effect]

本発明のCD−ROM媒体におけるファイル更新/追加
方法では、第1のステップにおいてCD−ROM媒体に
未使用領域があるか否かを判断し、第2のステップにお
いてCD−ROM媒体の最終論理セクタを見て再書込み
されたCD−ROM媒体であるか否かを判断し、第3の
ステップにおいてファイル内容の更新やファイルの追加
時にそのファイルに関する情報を記録しているディレク
トリレコードが含まれているサブディレクトリをファイ
ル内容の更新やファイルの追加を識別するためにCD−
ROM媒体の最終論理セクタに書き込み、第4のステッ
プにおいてファイル自身をCD−ROM媒体の未使用領
域に書き込む。
In the file update/addition method on a CD-ROM medium of the present invention, in the first step it is determined whether or not there is an unused area in the CD-ROM medium, and in the second step, the last logical sector of the CD-ROM medium is It is determined whether or not the CD-ROM medium has been rewritten by looking at the file, and in the third step, a directory record is included that records information about the file when the file contents are updated or a file is added. CD- subdirectories to identify file content updates and file additions.
The final logical sector of the ROM medium is written, and in a fourth step the file itself is written to an unused area of the CD-ROM medium.

本発明のCD−ROM媒体におけるファイルアクセス方
法では、第1のステップにおいて目的のファイル名を入
力後にそのファイルの情報が記録されているサブディレ
クトリを捜し出し、第2のステップにおいてCD−RO
M媒体の最終論理セクタを読み込み読み込んだ内容がサ
ブディレクトリか否かを識別し、第3のステップにおい
て第2のステップで読み込んだ内容がサブディレクトリ
の場合に第1のステップで捜し出したサブディレクトリ
と同一のファイル群を示すサブディレクトリかどうかを
比較し、第4のステップにおいて第2のステップで読み
込んだ内容がサブディレクトリでない場合または第3の
ステップで第1のステップで捜し出したサブディレクト
リと同一のファイル群を示すサブディレクトリでない場
合に第1のステップで捜し出したサブディレクトリの情
報を基にファイルをアクセスし、第5のステップにおい
て第3のステップで第1のステップで捜し出したサブデ
ィレクトリと同一のファイル群を示すサブディレクトリ
である場合にCD−ROM媒体の最終論理セクタに書き
込まれているサブディレクトリの情報を基にファイルを
アクセスする。
In the file access method for a CD-ROM medium of the present invention, in the first step, after inputting the target file name, a subdirectory in which information about the file is recorded is searched, and in the second step, the file access method for the CD-ROM medium is performed.
Read the last logical sector of the M medium and identify whether the read content is a subdirectory or not. In the third step, if the content read in the second step is a subdirectory, identify the subdirectory found in the first step. In the fourth step, if the content read in the second step is not a subdirectory, or if the content read in the third step is the same as the subdirectory found in the first step. If the subdirectory does not indicate a group of files, the file is accessed based on the information of the subdirectory found in the first step, and in the fifth step, the file is accessed based on the subdirectory information found in the first step. If the subdirectory indicates a group of files, the file is accessed based on the subdirectory information written in the final logical sector of the CD-ROM medium.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るファイル更新/追加
方法によってファイル内容の更新およびファイルの追加
が行われ本発明の一実施例に係るファイルアクセス方法
によって読み込むことができるCD−ROM媒体の概略
論理フォーマットを示す図である。このCD−ROM媒
体上には、ボリュームディスクリブタ(VD)1と、パ
ステーブル(PT)2と、ルートディレクトリ (RD
)3と、複数のサブディレクトリ (SDl、Sn2゜
Sn3.Sn2.・・・)4と、複数のファイル(A。
FIG. 1 shows a CD-ROM medium on which file contents are updated and files are added by a file update/addition method according to an embodiment of the present invention, and which can be read by a file access method according to an embodiment of the present invention. FIG. 2 is a diagram showing a schematic logical format of . On this CD-ROM medium, a volume disc libter (VD) 1, a path table (PT) 2, and a root directory (RD
)3, multiple subdirectories (SDl, Sn2゜Sn3.Sn2....)4, and multiple files (A.

B、C,D)5と、ファイル内容が更新されたファイル
(B゛)および追加されたファイル(F、)(以下、更
新/追加されたファイルという)6と、更新〆追加され
たファイル(B“、E)6を指すサブディレクトリ (
SD2’ )7とが設けられている。
B, C, D) 5, the file whose file contents have been updated (B), the added file (F,) (hereinafter referred to as the updated/added file) 6, and the updated/added file ( B", E) Subdirectory pointing to 6 (
SD2')7 is provided.

ボリュームディスクリブタ(VD)1は、CD−ROM
媒体のボリュームに関する情報が記録され、ボリューム
ディスクリブタ(VD)1で示されるボリューム内の全
てのディレクトリの必要最小限の情報が記録されている
パステーブル(PT)2と、木構造となっているディレ
クトリの一番元となるルートディレクトリ (RD)3
とを示す。
The volume disc libter (VD) 1 is a CD-ROM
Information about the volume of the medium is recorded, and it has a tree structure with a path table (PT) 2 that records the minimum necessary information of all the directories in the volume indicated by the volume disc libter (VD) 1. Root directory (RD) 3, which is the origin of the directory
and

ルートディレクトリ (RD)3とサブディレクトリ 
(SDI、Sn2.Sn3.Sn2. ・・・)4とは
、それぞれが示すサブディレクトリ (SDI。
Root directory (RD) 3 and subdirectories
(SDI, Sn2.Sn3.Sn2....) 4 is the subdirectory (SDI.

Sn2.Sn3.Sn2.・・・)4やファイル(A。Sn2. Sn3. Sn2. ...) 4 and file (A.

B、C,D)5の情報を記録するディレクトリレコード
が記録されている。
B, C, D) A directory record for recording information of 5 is recorded.

サブディレクトリ (SD2’ )7もルートディレク
トリ (RD)3やサブディレクトリ (SDISD2
.Sn3.Sn2.・・・)4と同じ構造を持つ。サブ
ディレクトリ (SD2°)7には、サブディレクトリ
 (Sn2)が示しているファイル群と同一のファイル
群を示すディレクトリレコードが記録されているが、更
新/追加されたファイル(B’ 、E)6に関しては更
新/追加されたファイル(B’ 、E)6のディレクト
リレコードが記録されている。
Subdirectory (SD2') 7 also includes root directory (RD)3 and subdirectory (SDISD2
.. Sn3. Sn2. ...) It has the same structure as 4. In the subdirectory (SD2°) 7, a directory record indicating the same file group as the file group indicated by the subdirectory (Sn2) is recorded, but the updated/added files (B', E) 6 Regarding, the directory record of the updated/added file (B', E) 6 is recorded.

第2図は、第1図で示されるサブディレクトリ(Sn2
>4とサブディレクトリ (SD2’ )1とのディレ
クトリレコードのファイル修飾の関係を示す図である。
Figure 2 shows the subdirectory (Sn2) shown in Figure 1.
4 is a diagram showing the relationship between file modifications of directory records and subdirectory (SD2')1.

ディレクトリ (ルートディレクトリおよびサブディレ
クトリ)の中には、各々のディレクトリの記録されてい
る位置等が記録されているディレクトリレコードと、そ
れぞれのディレクトリの親子関係に関する情報が記録さ
れているディレクトリレコードと、サブディレクトリ4
やファイル5等に関する詳細な情報が記録されているデ
ィレクトリレコードとが含まれている。詳しくは、ディ
レクトリ中の第1ディレクトリレコード(DRI)には
それぞれのディレクトリが記録されている位置等の情報
が記録され、第2ディレクトリレコード(DR2)には
当8亥ディレクトリを示している親ディレクトリの情報
などが記録され、第3ディレクトリレコード以降のディ
レクトリレコード(DRA−DRE、DRB’ )には
それぞれのファイル(A−E、B’)の情報が記録され
ている。
A directory (root directory and subdirectories) contains directory records that record the recorded location of each directory, directory records that record information about the parent-child relationship of each directory, and subdirectories. directory 4
and a directory record in which detailed information regarding the file 5 and the like is recorded. Specifically, the first directory record (DRI) in the directory records information such as the location where each directory is recorded, and the second directory record (DR2) records the parent directory indicating the current directory. Information on each file (A-E, B') is recorded in the third directory record and subsequent directory records (DRA-DRE, DRB').

第3図を参照すると、本実施例のファイル更新/追加方
法によりファイル内容の更新やファイルの追加を行う際
の処理手順は、未使用領域有無判断ステップ11と、再
書込み媒体判断ステップ12と、更新/追加ファイル書
込みステップ13と、更新/追加ファイルディレクトリ
最終論理セクタ書込みステップ14と、エラー出カステ
ップ15とからなる。
Referring to FIG. 3, the processing procedure when updating file contents or adding files using the file update/add method of this embodiment includes an unused area determination step 11, a rewrite medium determination step 12, It consists of an update/addition file write step 13, an update/addition file directory final logical sector write step 14, and an error output step 15.

第4図を参照すると、本実施例のファイルアクセス方法
によりファイル内容の更新や追加を行ったファイルのア
クセスを行う際の処理手順は、目的ファイル名人カステ
ップ21と、サブディレクトリ探索ステップ22と、最
終論理セクタ読込みステップ23と、ディレクトリ判断
ステップ24と、ディレクトリ比較ステップ25と、同
一フアイル群指示判断ステップ26と、最終論理セクタ
サブディレクトリ使用ファイルアクセスステップ27と
、探索サブディレクトリ使用ファイルアクセスステップ
2Bとからなる。
Referring to FIG. 4, the processing procedure when accessing a file whose contents have been updated or added using the file access method of this embodiment includes a target file master step 21, a subdirectory search step 22, Final logical sector reading step 23, directory determination step 24, directory comparison step 25, same file group instruction determination step 26, final logical sector subdirectory usage file access step 27, search subdirectory usage file access step 2B Consisting of

次に、このように構成された本実施例のCDROM媒体
におけるファイル更新/追加方法およびファイルアクセ
ス方法の動作について説明する。
Next, the operations of the file update/addition method and file access method in the CDROM medium of this embodiment configured as described above will be explained.

(1)本実施例のファイル更新/追加方法によりファイ
ル内容の更新やファイルの追加を行う際の処理手順 CD−ROM媒体上にファイル内容の更新やファイルの
追加に十分な未使用領域があるか否かを判断しくステッ
プ11)、十分な未使用領域があることを確認すると、
最終論理セクタを読み込んで以前に再書込み処理が行わ
れたCD−ROM媒体であるか否かを61認する(ステ
ップ12)。ステップ11で未使用領域が不十分であっ
たり、ステップ12で以前に再書込み処理が行われてい
るCD−ROM媒体であった場合には、再書込みはでき
ない旨のエラーを出力し、再書込み処理は行わないで処
理を終了する(ステップ15)。
(1) Processing procedure when updating file contents or adding files using the file update/adding method of this embodiment Is there enough unused space on the CD-ROM medium to update file contents or add files? In step 11), confirm that there is sufficient unused space.
The final logical sector is read and it is determined 61 whether or not the CD-ROM medium has been previously rewritten (step 12). If there is insufficient unused space in step 11, or if the CD-ROM medium has been previously rewritten in step 12, an error indicating that rewriting is not possible is output and the rewriting process is performed. The process ends without performing any further processing (step 15).

ステップ11で未使用領域が十分に有り、かつステップ
12で以前に再書込み処理が行われていないCD−RO
M媒体であった場合には、未使用領域の先頭から更新/
追加するファイル(B’E)6を書き込む(ステップ1
3)。そして、更新/追加したファイル(B’ 、E)
6のディレクトリレコードが含まれるサブディレクトリ
 (SD2°)7を最終論理セクタに書き込む(ステッ
プ14)。第1ディレクトリレコード(DPI)には新
しくディレクトリを書き込んだ位置(最終論理セクタ)
を記録するのではなく、更新される元のディレクトリの
ある位置を記録する。つまり、更新前と更新後の第1デ
ィレクトリレコード(DRl)および第2ディレクトリ
レコード(DR2)は同一となる。これでファイル内容
の更新やファイルの追加の処理は終了する。
A CD-RO that has sufficient unused space in step 11 and that has not been rewritten previously in step 12
If the medium is M, update/start from the beginning of the unused area.
Write the file to be added (B'E) 6 (Step 1
3). And the updated/added files (B', E)
Subdirectory (SD2°) 7 containing directory record 6 is written to the final logical sector (step 14). The first directory record (DPI) is the location where the new directory is written (last logical sector)
instead of recording the location of the original directory being updated. In other words, the first directory record (DRl) and the second directory record (DR2) before and after the update are the same. This completes the process of updating file contents and adding files.

(2)本実施例のファイルアクセス方法によりファイル
内容の更新を行ったファイルや追加を行ったファイルを
アクセスする際の処理手順アクセスする目的のファイル
のファイル名を入力しくステップ21)、目的のファイ
ルのディレクトリレコードが記録されているサブディレ
クトリ (SC2)4を捜す(ステップ22)。
(2) Processing procedure when accessing a file whose contents have been updated or added using the file access method of this embodiment Step 21) Enter the file name of the file to be accessed. The subdirectory (SC2) 4 in which the directory record of is recorded is searched for (step 22).

次に、CD−ROM媒体が再書き込みされた媒体か否か
を確認する意味も含めてCD−ROM媒体の最終論理セ
クタを読み込み(ステップ23)、これがサブディレク
トリか否かを判断する(ステップ24)。
Next, the last logical sector of the CD-ROM medium is read (step 23), including the meaning of checking whether the CD-ROM medium has been rewritten, and it is determined whether this is a subdirectory (step 24). ).

読み込んだ内容がサブディレクトリである場合には、捜
し出したサブディレクトリ (SC2)4と第1ディレ
クトリレコード(DRI)および第2ディレクトリレコ
ード(DR2)同士の比較を行い(ステップ25)、同
一のファイル群を示すディレクトリレコードが含まれる
サブディレクトリか否かを判断する(ステップ26)。
If the read content is a subdirectory, the searched subdirectory (SC2) 4, the first directory record (DRI), and the second directory record (DR2) are compared (step 25) to find the same file group. It is determined whether or not the subdirectory contains a directory record indicating (step 26).

ステップ26で捜し出したサブディレクトリと最終論理
セクタに書き込まれているサブディレクトリとが異なる
ファイル群を示すディレクトリレコードを含む場合や、
ステップ24で最終論理セクタの内容がサブディレクト
リでない場合には、目的のファイルはファイル内容が更
新されたファイルや追加されたファイルではないとして
、先に捜し出したサブディレクトリ (SC2)3中の
ディレクトリレコードを用いてファイルのアクセスを行
う(ステップ28)。
If the subdirectory found in step 26 and the subdirectory written in the final logical sector contain directory records indicating different file groups,
If the content of the final logical sector is not a subdirectory in step 24, it is assumed that the target file is not a file whose file contents have been updated or added, and the directory record in the previously searched subdirectory (SC2) 3. The file is accessed using (step 28).

一方、捜し出したサブディレクトリと最終論理セクタに
書き込まれているサブディレクトリとが同一のファイル
群を示すディレクトリレコードからなる場合には、最終
論理セクタに書き込まれているサブディレクトリ (S
D2’ )7中のディレクトリレコードを用いてファイ
ルのアクセスを行う (ステップ27)。
On the other hand, if the searched subdirectory and the subdirectory written in the final logical sector consist of directory records indicating the same file group, the subdirectory written in the final logical sector (S
The file is accessed using the directory record in D2')7 (step 27).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、ファイル内容の更新やフ
ァイルの追加時にファイル自身をCDROM媒体の未使
用領域に書込み、サブディレクトリをCD−ROM媒体
の最終論理セクタに書き込むようにしたことにより、C
D−ROM媒体上のファイル内容の更新やファイルの追
加が必要となったときにCD−ROM媒体上にファイル
内容の更新やファイルの追加を行うのに十分な未使用領
域が存在すれば、新たにブリマスクリングからプレスす
るまでの工程をふまえずに、ファイル内容の更新やファ
イルの追加が行え、わずかな量のファイル内容の更新や
ファイルの追加のためにCD−ROM媒体を改版する必
要がなくなり、新たなプリマスクリングからプレスまで
の工程を回避することができ、費用の節減を図ることが
可能であるという効果がある。
As explained above, the present invention writes the file itself to an unused area of the CD-ROM medium when updating the file contents or adding a file, and writes the subdirectory to the last logical sector of the CD-ROM medium.
When it becomes necessary to update the file contents or add files on the D-ROM medium, if there is enough unused space on the CD-ROM medium to update the file contents or add files, the new file can be added. File contents can be updated and files can be added without considering the process from brimasking to pressing, and there is no need to revise the CD-ROM medium to update a small amount of file contents or add files. This has the effect that it is possible to avoid the process from a new pre-mask ring to pressing, and it is possible to reduce costs.

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

第1図は本発明の一実施例に係るファイル更新/追加方
法Cよってファイル内容の更新およびファイルの追加が
行われ本発明の一実施例に係るファイルアクセス方法に
よって読み込むことができるCD−ROM媒体上のディ
レクトリやファイルの関係を示す概略論理フォーマット
図、第2図はサブディレクトリ中のディレクトリレコー
ドのファイル修飾の関係を示す概略図、第3図は本実施
例のファイル更新/i!加方法によりファイル内容の更
新やファイルの追加を行う際の処理手順を示す流れ図、 第4図は本実施例のファイルアクセス方法によりファイ
ル内容の更新や追加を行ったファイルをアクセスする際
の処理手順を示す流れ図である。 図において、 1・・・ボリュームディスクリブタ(VD)、2・・・
パステーブル(PT)、 3・・・ルートディレクトリ (RD)、4・・・サブ
ディレクトリ (SD)、5・・・ファイル(A〜D)
、 6・・・更新/追加されたファイル(B’ 、 E)、 7・・・更新/追加されたファイルを指すサブディレク
トリ (SD2’)、 11・・未使用領域有無判断ステップ、12・・再書込
み媒体判断ステップ、 13・・更新/追加ファイル書込みステップ、14・・
更新/追加ファイルディレクトリ最終論理セクタ書込み
ステップ、 15・・エラー出カステップ、 21・・目的ファイル名人カステップ、22・・サブデ
ィレクトリ探索ステップ、23・・最終論理セクタ読込
みステップ、24・・ディレクトリ判断ステップ、 25・・ディレクトリ比較ステップ、 26・・同一フアイル群指示判断ステップ、27・・最
終論理セクタサブディレクトリ使用ファイルアクセスス
テップ、 28・・探索サブディレクトリ使用ファイルアクセスス
テップである。
FIG. 1 shows a CD-ROM medium on which file contents are updated and files are added by a file update/addition method C according to an embodiment of the present invention, and which can be read by a file access method according to an embodiment of the present invention. The above is a schematic logical format diagram showing the relationship between directories and files, Figure 2 is a schematic diagram showing the relationship of file modifications of directory records in subdirectories, and Figure 3 is a diagram showing the file update/i! of this embodiment. A flowchart showing the processing procedure when updating file contents or adding files using the addition method. Figure 4 shows the processing procedure when accessing a file whose file contents have been updated or added using the file access method of this embodiment. FIG. In the figure, 1...Volume disc libter (VD), 2...
Path table (PT), 3...Root directory (RD), 4...Subdirectory (SD), 5...File (A to D)
, 6... Updated/added files (B', E), 7... Subdirectory pointing to the updated/added files (SD2'), 11... Unused area determination step, 12... Re-writing medium determination step, 13... Update/additional file writing step, 14...
Update/Add File Directory Final Logical Sector Writing Step, 15...Error Output Step, 21...Target File Expert Step, 22...Subdirectory Search Step, 23...Final Logical Sector Reading Step, 24...Directory Judgment Steps 25: Directory comparison step, 26: Same file group instruction determination step, 27: Last logical sector subdirectory usage file access step, 28: Search subdirectory usage file access step.

Claims (2)

【特許請求の範囲】[Claims] (1)ファイルとディレクトリとが木構造となって記録
されている追記可能なCD−ROM媒体のファイル内容
を更新したりファイルを追加したりするファイル更新/
追加方法において、 CD−ROM媒体に未使用領域があるか否かを判断する
第1のステップと、 CD−ROM媒体の最終論理セクタを見て再書込みされ
たCD−ROM媒体であるか否かを判断する第2のステ
ップと、 ファイル内容の更新やファイルの追加時にそのファイル
に関する情報を記録しているディレクトリレコードが含
まれているサブディレクトリをファイル内容の更新やフ
ァイルの追加を識別するためにCD−ROM媒体の最終
論理セクタに書き込む第3のステップと、 ファイル自身をCD−ROM媒体の未使用領域に書き込
む第4のステップと を含むことを特徴とするCD−ROM媒体におけるファ
イル更新/追加方法。
(1) File update/to update the file contents or add files to a writable CD-ROM medium in which files and directories are recorded in a tree structure.
In the additional method, a first step of determining whether there is unused space on the CD-ROM medium; and looking at the last logical sector of the CD-ROM medium to determine whether the CD-ROM medium has been rewritten. The second step is to identify the subdirectory that contains the directory record that records information about the file when the file content is updated or a file is added. A file update/addition in a CD-ROM medium, characterized in that it includes a third step of writing to the last logical sector of the CD-ROM medium, and a fourth step of writing the file itself to an unused area of the CD-ROM medium. Method.
(2)ファイルとディレクトリとが木構造となって記録
されている追記可能なCD−ROM媒体のファイルをア
クセスするファイルアクセス方法において、 目的のファイル名を入力後にそのファイルの情報が記録
されているサブディレクトリを捜し出す第1のステップ
と、 CD−ROM媒体の最終論理セクタを読み込み読み込ん
だ内容がサブディレクトリか否かを識別する第2のステ
ップと、 第2のステップで読み込んだ内容がサブディレクトリの
場合に第1のステップで捜し出したサブディレクトリと
同一のファイル群を示すサブディレクトリかどうかを比
較する第3のステップと、第2のステップで読み込んだ
内容がサブディレクトリでない場合または第3のステッ
プで第1のステップで捜し出したサブディレクトリと同
一のファイル群を示すサブディレクトリでない場合に第
1のステップで捜し出したサブディレクトリの情報を基
にファイルをアクセスする第4のステップと、 第3のステップで第1のステップで捜し出したサブディ
レクトリと同一のファイル群を示すサブディレクトリで
ある場合にCD−ROM媒体の最終論理セクタに書き込
まれているサブディレクトリの情報を基にファイルをア
クセスする第5のステップと を含むことを特徴とするCD−ROM媒体におけるファ
イルアクセス方法。
(2) In a file access method for accessing files on a write-once CD-ROM medium in which files and directories are recorded in a tree structure, information about the file is recorded after inputting the target file name. A first step of locating a subdirectory, a second step of reading the last logical sector of the CD-ROM medium and identifying whether the read content is a subdirectory, and a second step of determining whether the read content is a subdirectory. If the content read in the second step is not a subdirectory, or if the content read in the second step is not a subdirectory, or the third step a fourth step of accessing a file based on the information of the subdirectory found in the first step if the subdirectory does not indicate the same file group as the subdirectory found in the first step; A fifth step of accessing files based on subdirectory information written in the final logical sector of the CD-ROM medium if the subdirectory indicates the same file group as the subdirectory found in the first step. A method for accessing files on a CD-ROM medium, comprising:
JP1088381A 1989-04-07 1989-04-07 File updating/adding method and file access method for cd-rom medium Pending JPH02267618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1088381A JPH02267618A (en) 1989-04-07 1989-04-07 File updating/adding method and file access method for cd-rom medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1088381A JPH02267618A (en) 1989-04-07 1989-04-07 File updating/adding method and file access method for cd-rom medium

Publications (1)

Publication Number Publication Date
JPH02267618A true JPH02267618A (en) 1990-11-01

Family

ID=13941215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1088381A Pending JPH02267618A (en) 1989-04-07 1989-04-07 File updating/adding method and file access method for cd-rom medium

Country Status (1)

Country Link
JP (1) JPH02267618A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0507397A2 (en) * 1991-04-02 1992-10-07 Koninklijke Philips Electronics N.V. Method and device for recording information volumes in a track of a record carrier, and a device for reading the record carrier thus obtained

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0507397A2 (en) * 1991-04-02 1992-10-07 Koninklijke Philips Electronics N.V. Method and device for recording information volumes in a track of a record carrier, and a device for reading the record carrier thus obtained
EP0507403A2 (en) * 1991-04-02 1992-10-07 Koninklijke Philips Electronics N.V. Record carrier, reading apparatus for reading the record carrier, as well as a method and recording apparatus for recording information on a record carrier
EP0507403A3 (en) * 1991-04-02 1995-04-26 Koninkl Philips Electronics Nv
EP0507397A3 (en) * 1991-04-02 1995-04-26 Koninkl Philips Electronics Nv

Similar Documents

Publication Publication Date Title
US5210734A (en) Information management method for appendage type additional information recording medium
KR100291267B1 (en) System and method for manufacturing data cd-rom disc capable of booting and cd-rom disc thereof
RU2294566C2 (en) Method and device for recording digital information signal
EP0479535B1 (en) File managing method
US20100149938A1 (en) Information recording/reproducing apparatus, information recording/reproducing method, program storage medium, and program
JP2940208B2 (en) Recording / reproducing method, recording / reproducing apparatus, optical disc
CN1833287B (en) Information processing device and method
JP2007528090A (en) Apparatus and method for recording digital information signals
JP4300669B2 (en) Recording method and apparatus, and recording medium
KR20070044459A (en) Device for and method of recording information on a record carrier
JP2008505425A (en) Information recording apparatus and method
JP3636987B2 (en) Data recording method, erasing method of rewritable area data, erasing method of rewritable compact disc rewritable area and erasing method of read-only data
JPH0876935A (en) Backup data preparation and reproduction system
US5875476A (en) Filing system for managing recording and retrieving of information
JPH02267618A (en) File updating/adding method and file access method for cd-rom medium
JPH09115246A (en) Method and device for recording information, and recording medium
US20080259754A1 (en) Recorder, Host Device, Recording Method, Instruction Method, Program, Integrated Circuit, Reproducing Device, Reproducing Method and Write-Once-Read-Many Recording Medium
CN100562937C (en) The data record method of Write-once optical disc and device
US20080140729A1 (en) Method for Changing Operation on a Storage Medium from a Current File System to a New or Updated File System
JPH11175380A (en) Information reproduction method
JP3453185B2 (en) Write-once optical disc creation and playback system
US7558159B2 (en) Recorder and recording medium
US20070136520A1 (en) Device for and method of recording digital information signals
CN1842862B (en) Drive device
US20070130419A1 (en) Device for and method of recording digital information signals