JPH04205236A - File managing system for draw type information recording medium - Google Patents

File managing system for draw type information recording medium

Info

Publication number
JPH04205236A
JPH04205236A JP2330719A JP33071990A JPH04205236A JP H04205236 A JPH04205236 A JP H04205236A JP 2330719 A JP2330719 A JP 2330719A JP 33071990 A JP33071990 A JP 33071990A JP H04205236 A JPH04205236 A JP H04205236A
Authority
JP
Japan
Prior art keywords
attribute information
data
file
recording area
information recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2330719A
Other languages
Japanese (ja)
Inventor
Yoshinari Aoshima
芳成 青嶋
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.)
Maxell Ltd
Original Assignee
Hitachi Maxell 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 Hitachi Maxell Ltd filed Critical Hitachi Maxell Ltd
Priority to JP2330719A priority Critical patent/JPH04205236A/en
Publication of JPH04205236A publication Critical patent/JPH04205236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、追記型光ディスク等で代表される追記型情報
記録媒体のファイル管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file management system for a write-once information recording medium, typified by a write-once optical disc or the like.

[従来の技術] 近年、大容量の光ディスクを用いて文書等の画像データ
を記録する光デイスクファイルシステムが、新しい文書
管理手段として注目されている。
[Prior Art] In recent years, optical disk file systems that record image data such as documents using large-capacity optical disks have been attracting attention as a new document management means.

この光デイスクファイルシステムに用いられる光ディス
クとしては、−度だけ記録することができる所諸追記型
の光ディスクが多用されている。
Optical discs used in this optical disc file system are often write-once type optical discs that can record only -degrees.

ところで、画像データなどをファイルとして記録するた
めには、画像データの実体であるファイルデータと、フ
ァイル名、データ記録開始アドレス、データサイズ、種
類など、ファイルデータの属性情報(ファイルディレク
トリ)とを記録する必要がある。ファイルデータは、モ
ディファイド・ハフマン法等により圧縮されて不定長に
なっているので、ファイルデータと属性情報とを記録す
るに際し、光ディスクの記録領域を予め一定長のデータ
記録領域と属性情報記録領域とに分け、ファイルデータ
または属性情報のいずれか一方を記録領域の一端から、
他方を記録領域の途中位置から設定するようになすと、
追記型光ディスクの記録容量に無駄を生じやすい。この
点に対処するため、例えば特開昭59−178880号
公報に記載されているように、ファイルデータと属性情
報とを、それぞれ記録媒体の両端から記録することで、
記録容量を無駄なく利用できるようにした技術思想が従
来より知られている。
By the way, in order to record image data etc. as a file, it is necessary to record the file data, which is the substance of the image data, and the attribute information (file directory) of the file data, such as the file name, data recording start address, data size, and type. There is a need to. File data is compressed using the Modified Huffman method and has an undefined length. Therefore, when recording file data and attribute information, the recording area of the optical disc is divided into a fixed length data recording area and an attribute information recording area. the file data or attribute information from one end of the recording area.
If you set the other one from the middle of the recording area,
The recording capacity of write-once optical discs tends to be wasted. In order to deal with this point, for example, as described in Japanese Patent Application Laid-Open No. 59-178880, file data and attribute information are recorded from both ends of the recording medium.
2. Description of the Related Art Technical ideas that allow storage capacity to be used without waste have been known for some time.

一方、追記型光ディスクに対するファイルデータおよび
属性情報の記録は、システムのoSが扱う最小情報単位
からの要請により、1セクタを単位として行われる。従
って、光ディスクの記録領域をデータ記録領域と属性情
報記録領域とに分け、データ記録領域にファイルデータ
を記録するごとに属性情報記録領域に当該ファイルデー
タの属性情報を記録するというデータ記録方式をとると
、必然的に1つのセクタに1つの属性情報を記録しなく
ではならなくなる。かかるファイル管理方式を有する光
ディスクからファイルデータを読み出すについては、デ
ータ領域に記録されたファイルデータの数と同じ数のセ
クタからそれぞれ属性情報を読み出さねばならず、この
処理に時間がかかり、読み出し処理速度の向上を阻害す
る要因となっていた。従来より、かかる不都合に対処す
るため、光ディスクの1セクタは1つの属性情報の情報
量に較べて数倍以上に大きいことに着目し、ファイルデ
ータ並びにこれと対応する属性情報が複数個記録された
後の時点で、既に記録されている複数個の属性情報を1
セクタ分の属性情報にまとめて、予め定められた別の記
録領域に改めて記録し、これによって属性情報を読み出
すためのセクタ数を低減させ、処理時間の短縮化を図る
ファイル管理方式も提案されている。
On the other hand, recording of file data and attribute information on a write-once optical disc is performed in units of one sector in response to a request from the minimum information unit handled by the OS of the system. Therefore, a data recording method is adopted in which the recording area of an optical disc is divided into a data recording area and an attribute information recording area, and each time file data is recorded in the data recording area, the attribute information of the file data is recorded in the attribute information recording area. Therefore, one attribute information must be recorded in one sector. In order to read file data from an optical disc having such a file management system, attribute information must be read from the same number of sectors as the number of file data recorded in the data area, and this process takes time, resulting in a slowdown in the read processing speed. This was a factor that hindered the improvement of Conventionally, in order to deal with this inconvenience, focusing on the fact that one sector of an optical disk is several times larger than the amount of information of one attribute information, a plurality of pieces of file data and attribute information corresponding thereto are recorded. At a later point, multiple pieces of attribute information that have already been recorded will be combined into one
A file management method has also been proposed that reduces the number of sectors needed to read out attribute information and shortens processing time by collecting attribute information for sectors and rerecording it in a separate predetermined recording area. There is.

[発明が解決しようとする課題] しかしながら、この方式によると、1つの属性情報を1
セクタごとに記録する属性情報記録領域と、1セクタ分
にまとめられた新しい属性情報を記録するための別の記
録領域(パック属性情報記録領域)との双方が必要とな
るので、光ディスクの記録容量の無駄がますます大きく
なるという問題があった。
[Problem to be solved by the invention] However, according to this method, one piece of attribute information
Since both an attribute information recording area for recording each sector and another recording area (pack attribute information recording area) for recording new attribute information grouped into one sector are required, the recording capacity of the optical disc is The problem was that the amount of waste was increasing.

本発明は前記の点に鑑みてなされたもので、その目的と
するところは、記憶容量に無駄を生じることなく、かつ
属性情報の読み比し処理の高速化が可能なファイル管理
方式と、それを実現するためのデータ記録方式を提供す
ることにある。
The present invention has been made in view of the above points, and its objects are to provide a file management method that can speed up the process of comparing attribute information without wasting storage capacity; The purpose of this invention is to provide a data recording method to realize this.

[課題を解決するための手段] 本発明は、前記した目的を達成するため、画像データな
どのファイルデータを順次追記するデータ記録領域と、
前記ファイルデータの属性情報を1セクタごとに順次追
記する属性情報記録領域とを有する追記型情報記録媒体
であって、前記データ記録領域の先頭と前記属性情報記
録領域の先頭とを前記追記型情報記録媒体の記録領域の
両端側にそれぞれ位置付けるファイル管理方式において
、前記データ記録領域にファイルデータとその属性情報
とを1つにして追記すると共に、前記属性情報記録領域
の1セクタごとに前記属性情報を複数個ずつまとめて追
記するようにした。
[Means for Solving the Problems] In order to achieve the above-mentioned object, the present invention provides a data recording area in which file data such as image data is sequentially written;
A write-once information recording medium having an attribute information recording area in which attribute information of the file data is sequentially written sector by sector, the write-once information recording medium having a head of the data recording area and a head of the attribute information recording area. In a file management method in which files are located at both ends of a recording area of a recording medium, file data and its attribute information are added together as one in the data recording area, and the attribute information is written in each sector of the attribute information recording area. Added multiple items at once.

また、画像データなどのファイルデータとその属性情報
とを順次追記するデータ記録領域と、前記ファイルデー
タの属性情報を1セクタごとに順次追記する属性情報記
録領域とを有する追記型情報記録媒体であって、当該フ
ァイルデータの属性情報を前記追記型情報記録媒体の記
録領域外に設けられたメモリに複写し、管理するファイ
ル管理方式において、当該メモリに複写され、かつ前記
属性情報記録領域に記録されていない属性情報の数が所
定数になった時点毎に、前記メモリ上の属性情報記録領
域よりそれらの属性情報を読み出してlセクタ分の属性
情報にまとめ、前記属性情報記録領域の空き領域の先頭
セクタに追記するようにした [作用] 複数個の属性情報を1セクタ分ごとにまとめて属性情報
記録領域の各セクタに記録すると、1セクタごとに1つ
の属性情報を記録する場合に比べて属性情報記録領域を
小さくすることができるので、データ記録領域の記録容
量を実質的に増加することができる。
Further, the present invention is a write-once type information recording medium having a data recording area in which file data such as image data and its attribute information are sequentially recorded, and an attribute information recording area in which attribute information of the file data is sequentially recorded sector by sector. In a file management method in which attribute information of the file data is copied to a memory provided outside the recording area of the write-once information recording medium and managed, the attribute information is copied to the memory and recorded in the attribute information recording area. Every time the number of unused attribute information reaches a predetermined number, the attribute information is read from the attribute information recording area on the memory and summarized into one sector worth of attribute information, and the free space in the attribute information recording area is [Operation] When multiple pieces of attribute information are recorded in each sector of the attribute information recording area, it is easier to record one attribute information per sector than when one attribute information is recorded in each sector. Since the attribute information recording area can be made smaller, the recording capacity of the data recording area can be substantially increased.

また、かように、複数個の属性情報を1セクタ分ごとに
まとめて属性情報記録領域の各セクタに記録すると、属
性情報を読み出すためのセクタ数が低減されるので、情
報の読み出し処理時間を短縮することができる。
In addition, if multiple pieces of attribute information are recorded in each sector of the attribute information recording area as described above, the number of sectors for reading the attribute information is reduced, so the information read processing time is reduced. Can be shortened.

一方、ファイルデータを記録するごとに属性情報記録領
域に属性情報を記録せず、予め定められた所定数のファ
イルデータが記録されるごとにそれらのファイルデータ
の属性情報をまとめて属性情報記録領域の空き領域の先
頭セクタに記録するようにすると、情報記録媒体の記録
領域に1セクタごとに1つの属性情報を記録する領域を
設ける必要がなくなるので、前記のファイル管理方式を
実現することができる。
On the other hand, the attribute information is not recorded in the attribute information recording area each time file data is recorded, but each time a predetermined number of file data is recorded, the attribute information of those file data is collectively recorded in the attribute information recording area. By recording in the first sector of the free area of the information recording medium, it is not necessary to provide an area for recording one attribute information for each sector in the recording area of the information recording medium, so the above-mentioned file management method can be realized. .

[実施例コ 以下、本発明に係る追記型情報記録媒体のファイル管理
方式の一例を、追記型光ディスクを例にとって説明する
。
[Embodiment 1] Hereinafter, an example of a file management system for a write-once information recording medium according to the present invention will be explained by taking a write-once optical disc as an example.

第1図は追記型光ディスクの記録領域の割当と割当てら
れた各領域に記録されるデータの構成とを模式的に示す
説明図、第2図は追記型光ディスクの平面図、第3図は
属性情報の一例とデータ領域の構造とを模式的に示す説
明図である。
Fig. 1 is an explanatory diagram schematically showing the allocation of recording areas of a write-once optical disc and the structure of data recorded in each allocated area, Fig. 2 is a plan view of the write-once optical disc, and Fig. 3 is an attribute diagram. FIG. 2 is an explanatory diagram schematically showing an example of information and the structure of a data area.

第1図および第2図に示すように、追記型光ディスクの
記録領域1は、光ディスクのボリューム名、使用開始年
月日等が記録され、システム側が専用に使用するシステ
ム領域2と、ユーザがデータ記録のため利用できるユー
ザ記録領域3とが設けられている。前記ユーザ記録領域
3には、不定長のファイルデータ4とその属性情報5と
が順次追記されるデータ記録領域6と、属性情報5だけ
が順次される属性情報記録領域7とが設けられるように
なっており、これらデータ記録領域6の先頭と属性情報
記録領域7の先頭とは、ユーザ記録領域3の両端側にそ
れぞれ位置付けられるようになっている。なお、同図の
符号8は、ユーザ記録領域3中の未記録領域を示してお
り、初期状態においてはユーザ記録領域3の全体が未記
録領域8となっている。
As shown in Figures 1 and 2, the recording area 1 of a write-once optical disc records the volume name of the optical disc, the date of first use, etc., and the system area 2 is used exclusively by the system, and the system area 2 is used exclusively by the system for data storage. A user recording area 3 that can be used for recording is provided. The user recording area 3 is provided with a data recording area 6 in which file data 4 of undefined length and its attribute information 5 are sequentially recorded, and an attribute information recording area 7 in which only the attribute information 5 is sequentially recorded. The head of the data recording area 6 and the head of the attribute information recording area 7 are positioned at both ends of the user recording area 3, respectively. Note that reference numeral 8 in the figure indicates an unrecorded area in the user recording area 3, and the entire user recording area 3 is the unrecorded area 8 in the initial state.

的記記録領域1は、光デイスクファイル(光デイスク記
録再生装置)が扱う最小情報単位である多数のセクタに
分割されており、各セクタに付された固有のセクタ番号
を指定することによって、当該セクタに対するデータの
入出力を行えるようになっている。そして、本実施例に
おいては、第1図に示すように、属性情報記録領域7の
1セクタ毎に複数個(第1図の例では5つ)の属性情報
5が記録されるようになっている。すなわち、データ記
録領域6に5つのファイルデータ4とその属性情報5と
が追記される毎に、属性情報記録領域7の1セクタに、
それら5つのファイルデータ4の属性情報5がまとめて
追記される。データ記録領域6には追記されているが、
属性情報記録領域7には追記されていないファイルデー
タ4の数が5つに満たない場合には、それらの属性情報
5は、データ記録領域6に追記されるのみで、属性情報
記録領域7には追記されない。
Recording area 1 is divided into a number of sectors, which are the minimum information units handled by an optical disc file (optical disc recording/playback device).By specifying the unique sector number assigned to each sector, the corresponding sector number can be specified. Data can be input and output to the sector. In this embodiment, as shown in FIG. 1, a plurality of pieces of attribute information 5 (five in the example of FIG. 1) are recorded in each sector of the attribute information recording area 7. There is. That is, every time five pieces of file data 4 and their attribute information 5 are added to the data recording area 6, one sector of the attribute information recording area 7 is recorded.
Attribute information 5 of these five file data 4 is added together. Although it is added to the data recording area 6,
If the number of file data 4 that has not been added to the attribute information recording area 7 is less than five, those attribute information 5 are only added to the data recording area 6 and are not added to the attribute information recording area 7. is not added.

属性情報5は、第3図に示すように、IDナンバー10
、ファイルあるいはディレクトリの名前11、データの
格納位置(先頭アドレス)12、ファイルが記録された
日付13、データ容量14、消去済みか否かのフラグ1
5、ディレクトリかファイルかのフラグ16、次のファ
イルの格納位置17よりなる。属性情報5に次のファイ
ルの格納位置17を持たせたのが、本実施例の大きな特
徴である。
Attribute information 5 includes ID number 10, as shown in FIG.
, file or directory name 11, data storage location (starting address) 12, date when the file was recorded 13, data capacity 14, flag 1 indicating whether it has been deleted or not
5, a flag 16 indicating whether it is a directory or a file, and a storage position 17 for the next file. A major feature of this embodiment is that the attribute information 5 includes the storage location 17 of the next file.

次に、本発明に係るデータ記録方式を、第4図〜第11
図によって説明する。
Next, the data recording method according to the present invention is illustrated in FIGS. 4 to 11.
This will be explained using figures.

第4図は本発明のデータ記録方式を実行する光デイスク
ファイルシステムの全体構成図、第5図は光ディスクか
らメモリへの属性情報の複写処理を示す説明図、第6図
はファイルの読み込み処理を示す説明図、第7図はファ
イルの書き込み処理を示す説明図、第8図は属性情報記
録領域への属性情報の書き込み処理を示す説明図、第9
図は光ディスクからメモリへの属性情報の複写処理手順
を示す流れ図、第10図はファイルの読み込み処理手順
を示す流れ図、第11図はファイルの書き込み処理手順
および属性情報記録領域への属性情報の書き込み処理手
順を示す流れ図である。
Figure 4 is an overall configuration diagram of an optical disk file system that implements the data recording method of the present invention, Figure 5 is an explanatory diagram showing the process of copying attribute information from the optical disk to memory, and Figure 6 is the process of reading a file. FIG. 7 is an explanatory diagram showing the file writing process. FIG. 8 is an explanatory diagram showing the attribute information writing process to the attribute information recording area.
Figure 10 is a flowchart showing the procedure for copying attribute information from an optical disc to memory, Figure 10 is a flowchart showing the procedure for reading a file, and Figure 11 is a procedure for writing a file and writing attribute information to the attribute information recording area. It is a flow chart showing a processing procedure.

第4図に示すように、光デイスクファイルシステムは、
システム全体を制御するCPじ(中央処理装置)21と
、画像データ等を登録する追記型光ディスクを用いる光
デイスクファイル22と、各種のメモリ23.24と、
圧縮/伸長プロセッサ25と、前記光デイスクファイル
22に登録する画像データを取り込むスキャナ26と、
画像データ及びメニュー等の文字データを表示するデイ
スプレィ27と、コマンドや画像インデックス等を入力
するキーボード28などによって構成される。メモリ2
3には、前記CPU21を動作させる制御プログラム、
CPU21が利用する変数やテーブル類、−時的な画像
データ等が記憶され、また、ビットマツプメモリ24の
記録内容はデイスプレィ27に表示される画像と1対l
に対応している。そして、CPU21は、スキャナ26
で取り込んだ画像データを、光デイスクファイル22に
転送し、該光デイスクファイル22は追記型光デイスク
上に、画像データの実体であるファイルデータ4とその
属性情報5とを記録するようになっている。
As shown in Figure 4, the optical disk file system is
A central processing unit (CP) 21 that controls the entire system, an optical disk file 22 that uses a write-once optical disk that registers image data, etc., and various types of memories 23 and 24.
a compression/expansion processor 25; a scanner 26 for capturing image data to be registered in the optical disk file 22;
It is comprised of a display 27 that displays image data and text data such as menus, and a keyboard 28 that inputs commands, image indexes, and the like. memory 2
3 includes a control program for operating the CPU 21;
Variables and tables used by the CPU 21, temporal image data, etc. are stored, and the recorded contents of the bitmap memory 24 are in one-to-one correspondence with the images displayed on the display 27.
It corresponds to Then, the CPU 21 uses the scanner 26
The captured image data is transferred to the optical disk file 22, and the optical disk file 22 records file data 4, which is the substance of the image data, and its attribute information 5 on the write-once optical disk. There is.

もちろん、光ディスクの記録領域lが多数のセクタに分
割され、各セクタに固有のセクタ番号が付されているこ
とに対応して、本実施例のシステムにおいても、このセ
クタ番号のみでデータの入出力アドレスを指定できるも
のとされている。
Of course, since the recording area l of an optical disk is divided into a large number of sectors, and each sector is assigned a unique sector number, the system of this embodiment also allows data input/output using only this sector number. It is assumed that the address can be specified.

上記構成において、光デイスクファイル22に光ディス
クが装着されると、光デイスク上の属性情報が光デイス
クファイルシステムに備えられたメモリ23に複写され
る。その複写処理手順を第9図の流れ図および第5図の
説明図を参照しつつ説明する。
In the above configuration, when an optical disk is loaded into the optical disk file 22, the attribute information on the optical disk is copied to the memory 23 provided in the optical disk file system. The copy processing procedure will be explained with reference to the flowchart of FIG. 9 and the explanatory diagram of FIG. 5.

先ず、ステップS−1で、光ディスクの属性情報記録領
域7に記録されたすべての属性情報5が光デイスクファ
イル22によって読み出され、光デイスクファイルシス
テムに備えられたメモリ23に複写される。前記したよ
うに、属性情報記録領域7には、1セクタごとに複数個
の属性情報5が記録されているため、1セクタごとに1
つの属性情報を記録する場合に比べて読み出しセクタ数
を格段に少なくすることができ、メモリ23への複写を
高速で行うことができる。
First, in step S-1, all the attribute information 5 recorded in the attribute information recording area 7 of the optical disc is read out by the optical disc file 22 and copied to the memory 23 provided in the optical disc file system. As mentioned above, in the attribute information recording area 7, a plurality of pieces of attribute information 5 are recorded for each sector, so one piece of attribute information 5 is recorded for each sector.
The number of read sectors can be significantly reduced compared to the case where one piece of attribute information is recorded, and copying to the memory 23 can be performed at high speed.

次に、ステップS−2で、メモリ23に複写された属性
情報5のうち、最後の属性情報5について「次ファイル
の位置17」が読み出され、当該アドレスに次ファイル
が記録されているが否かが調べられ、ステップS−3に
進む。
Next, in step S-2, the "next file position 17" is read out for the last attribute information 5 among the attribute information 5 copied to the memory 23, and the next file is recorded at the address. A check is made to see if the answer is yes or not, and the process proceeds to step S-3.

ステップS−3では、メモリ23に複写された最後の属
性情報5の「次ファイルの位置」に次ファイルが記録さ
れているか否かが判別される。次ファイルがある場合に
は、ステップS−4で、光ディスクのデータ記録領域6
より当該次ファイルの属性情報が読み出され、その属性
情報がメモリ23に複写される。しかる後に、再度ステ
ップS−2に戻り、新たにメモリ23に複写された属性
情報5の「次ファイルの位置」に次ファイルが記録され
ていないと判別されるまで、ステップS−2〜ステップ
S−4の動作が繰り返される。
In step S-3, it is determined whether the next file is recorded in the "next file position" of the last attribute information 5 copied to the memory 23. If there is a next file, in step S-4, the data recording area 6 of the optical disc is
The attribute information of the next file is read out, and the attribute information is copied to the memory 23. After that, the process returns to step S-2 again, and steps S-2 to S are performed until it is determined that the next file is not recorded in the "next file position" of the attribute information 5 newly copied to the memory 23. -4 operation is repeated.

ステップS−3で、次ファイルがないと判別された場合
には、光デイスク上に記録されたすべてのファイルデー
タの属性がメモリ23に複写されたということであるの
で、複写処理を終了する。
If it is determined in step S-3 that there is no next file, this means that the attributes of all file data recorded on the optical disk have been copied to the memory 23, and the copying process ends.

前記の複写処理が終了した後は、ユーザからの指令によ
って、光ディスクに記録されたファイルデータの読み出
し処理、あるいは光ディスクへのファイルデータの書き
込み処理を行うことができる。以下に、光ディスクに記
録されたファイルデータの読み出し処理手順を第9図の
流れ図および第5図の説明図を参照しつつ説明する。
After the above-described copying process is completed, it is possible to read file data recorded on the optical disc or write file data to the optical disc according to a command from the user. The procedure for reading file data recorded on an optical disc will be described below with reference to the flowchart in FIG. 9 and the explanatory diagram in FIG. 5.

ステップ5−11で、読み出したいファイルデータのサ
ーチを行うと、CPUIから検索コマンドが発行され、
メモリ23に記憶された属性情報の検索が行われて、ス
テップ5−12で、当該サーチされたファイルデータに
対応する属性情報がメモリ23に記憶されているか否か
の判別が行われる。
In step 5-11, when you search for the file data you want to read, a search command is issued from the CPUI.
The attribute information stored in the memory 23 is searched, and in step 5-12, it is determined whether the attribute information corresponding to the searched file data is stored in the memory 23.

ステップ5−12で、サーチされたファイルがメモリ2
3上に記憶されていると判別された場合には、ステップ
5−13に進み、検索された所望の属性情報よりファイ
ルデータの格納位置とその容量(データサイズ)が抜き
出される。
In step 5-12, the searched file is stored in memory 2.
If it is determined that the file data is stored on the file 3, the process proceeds to step 5-13, and the storage location and capacity (data size) of the file data are extracted from the retrieved desired attribute information.

次に、抜き出された格納位置情報と容量情報に基づいて
光デイスクファイル22を駆動し、光ディスクのデータ
記録領域6よりそのファイルデータを読み出して(ステ
ップS−14) 、例えばデイスプレィ27に表示し、
読み出し処理を終了する。
Next, the optical disk file 22 is driven based on the extracted storage position information and capacity information, and the file data is read out from the data recording area 6 of the optical disk (step S-14) and displayed on the display 27, for example. ,
Finish the read process.

ステップS〜12で、ファイルが存在しないと判別され
た場合には、ステップ5−15でエラー処理を行い、読
み出し処理を終了する。
If it is determined in steps S-12 that the file does not exist, error processing is performed in step 5-15, and the reading process is ended.

続いて、光ディスクにファイルデータを記録する書き込
み処理手順を第11図の流れ図および第7図と第8図の
説明図を参照しつつ説明する。
Next, the write processing procedure for recording file data on the optical disc will be explained with reference to the flowchart of FIG. 11 and the explanatory diagrams of FIGS. 7 and 8.

スキャナ26から画像データなどのファイルデータが取
り込まれると、そのファイルデータはビットマツプメモ
リ24に転送され、デイスプレィ7に表示される。ここ
で、ユーザが後に検索するときに用いるファイルデータ
の名前等の検索インデックスをキーボード8によって入
力し、書き込み処理の開始を指示すると、書き込み処理
が開始される。
When file data such as image data is taken in from the scanner 26, the file data is transferred to the bitmap memory 24 and displayed on the display 7. Here, when the user inputs a search index such as the name of file data to be used for later searching using the keyboard 8 and instructs the start of the writing process, the writing process is started.

まず、ステップ5−21で、圧縮/伸長プロセッサ25
によってモディファイド・ハフマン法等でデータ圧縮さ
れ、メモリ23に一時記憶されたファイルデータと、キ
ーボード28から入力されたファイルデータの名前など
と共に記録されたファイルデータの格納位置、容量等が
セットされて構成された属性情報とが、データ記録領域
6の空き領域の先頭(記録済みデータ記録領域に続く未
記録領8の先頭)に記録され、ステップ5−22に進む
。
First, in step 5-21, the compression/decompression processor 25
The file data is compressed using the Modified Huffman method, etc., and is temporarily stored in the memory 23, and the storage location, capacity, etc. of the recorded file data are set together with the name of the file data entered from the keyboard 28. The attribute information is recorded at the beginning of the free area of the data recording area 6 (at the beginning of the unrecorded area 8 following the recorded data recording area), and the process proceeds to step 5-22.

ステップ5−22では、前記データ記録領域6に記録さ
れた属性情報が、メモリ23の空き領域の先頭に記録さ
れ、ステップ5−23に進む。
In step 5-22, the attribute information recorded in the data recording area 6 is recorded at the beginning of the free area of the memory 23, and the process proceeds to step 5-23.

ステップ5−23では、データ記録領域6にのみ記録さ
れており、属性情報記録領域7には記録されていない属
性情報の数が所定数(本実施例では5つ)未満か否かが
判別される。
In step 5-23, it is determined whether the number of attribute information recorded only in the data recording area 6 and not recorded in the attribute information recording area 7 is less than a predetermined number (five in this embodiment). Ru.

ステップ5−23で属性情報記録領域7に記録されてい
ない属性情報の数が5つになったと判別された場合には
、ステップ5−24に進み、メモリ上の属性情報記録領
域よりそれらの属性情報を読み出して、1セクタ分の情
報としてまとめる。
If it is determined in step 5-23 that the number of attribute information not recorded in the attribute information recording area 7 has reached five, the process proceeds to step 5-24, and those attributes are recorded from the attribute information recording area on the memory. The information is read out and summarized as one sector's worth of information.

そして、ステップ5−25で、その情報を、属性情報記
録領域7の空き領域の先頭(記録済み属性情報記録領域
に続く未記録領8の先頭)に記録し、書き込み処理を終
了する。
Then, in step 5-25, the information is recorded at the beginning of the free area of the attribute information recording area 7 (at the beginning of the unrecorded area 8 following the recorded attribute information recording area), and the writing process is completed.

ステップ5−23で属性情報記録領域7に記録されてい
ない属性情報の数が5つ未満であると判別された場合に
は、そのまま書き込み処理を終了する。
If it is determined in step 5-23 that the number of pieces of attribute information not recorded in the attribute information recording area 7 is less than five, the writing process is immediately terminated.

かように、本例のデータ記録方式によると、ファイルデ
ータを記録するごとに属性情報記録領域に属性情報を記
録せず、予め定められた所定数のファイルデータが記録
されるごとにそれらのファイルデータの属性情報をまと
めて属性情報記録領域の空き領域の先頭セクタに記録す
るようにしたので、情報記録媒体の記録領域に1セクタ
ごとに1つの属性情報を記録する領域を設ける必要がな
く、前記のファイル管理方式を実現することができる。
As described above, according to the data recording method of this example, attribute information is not recorded in the attribute information recording area each time file data is recorded, but each time a predetermined number of file data is recorded, those files are recorded. Since the attribute information of the data is collectively recorded in the first sector of the free area of the attribute information recording area, there is no need to provide an area for recording one attribute information for each sector in the recording area of the information recording medium. The above file management method can be implemented.

なお、前記実施例においては、光デイスクファイルシス
テムに設けられたメモリに属性情報を複写したが、光デ
ィスクの記録領域外、例えば光ディスクを回転可能に収
納するディスクカートリッジにメモリを埋設し、このメ
モリに属性情報を複写するようにすることもできる。
In the above embodiment, the attribute information is copied to the memory provided in the optical disk file system, but the memory is embedded outside the recording area of the optical disk, for example, in a disk cartridge that rotatably stores the optical disk, and the attribute information is copied to the memory provided in the optical disk file system. It is also possible to copy attribute information.

また、前記実施例においては、情報記録媒体として光デ
ィスクを用いたが、光カードなど他種の情報記録媒体を
用いることもできる。
Furthermore, in the embodiments described above, an optical disk was used as the information recording medium, but other types of information recording medium such as an optical card may also be used.

さらに、前記実施例においては、情報記録媒体として追
記型光ディスクを用いたが、書換え型光ディスクなど他
種の情報記録媒体を用いることもできる。
Further, in the above embodiments, a write-once optical disc is used as the information recording medium, but other types of information recording media such as a rewritable optical disc may also be used.

[発明の効果] 以上説明したように、本発明のファイル管理方式による
と、属性情報記録領域の先頭とファイルデータ記録領域
の先頭とを追記型情報記録媒体の記録領域の両端側にそ
れぞれ位置付けると共に、複数個の属性情報を1セクタ
分ことにまとめて属性情報記録領域の各セクタに記録し
たので、データ記録領域にデータを無駄なく記録するこ
とができる。また、複数個の属性情報を1セクタ分ごと
にまとめて属性情報記録領域の各セクタに記録したので
、属性情報を読み出すためのセクタ数が低減され、情報
の読み出し処理時間を短縮することができる。
[Effects of the Invention] As explained above, according to the file management method of the present invention, the beginning of the attribute information recording area and the beginning of the file data recording area are positioned at both ends of the recording area of the write-once information recording medium, and Since a plurality of pieces of attribute information are recorded in one sector in each sector of the attribute information recording area, data can be recorded in the data recording area without waste. In addition, since multiple pieces of attribute information are recorded in each sector of the attribute information recording area, the number of sectors for reading attribute information is reduced, and the processing time for reading information can be shortened. .

また、ファイルデータを記録するごとに属性情報記録領
域に属性情報を記録せず、予め定められた所定数のファ
イルデータが記録されるごとにそれらのファイルデータ
の属性情報をまとめて属性情報記録領域の空き領域の先
頭セクタに記録するようにしたので、情報記録媒体の記
録領域に1セクタごとに1つの属性情報を記録する領域
を設ける必要がなく、前記のファイル管理方式を実現す
ることができる。
In addition, the attribute information is not recorded in the attribute information recording area each time file data is recorded, but each time a predetermined number of file data is recorded, the attribute information of those file data is collectively recorded in the attribute information recording area. Since the attribute information is recorded in the first sector of the free area of the information recording medium, there is no need to provide an area for recording one attribute information for each sector in the recording area of the information recording medium, and the above-mentioned file management method can be realized. .

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

図はいずれも本発明の一実施例に係り、第1図は追記型
光ディスクの記録領域の割当と割当てられた各領域に記
録されるデータの構成とを模式的に示す説明図、第2図
は追記型光ディスクの平面図、第3図は属性情報の一例
とデータ領域の構造とを模式的に示す説明図、第4図は
本発明のデータ記録方式を実行する光デイスクファイル
システムの全体構成図、第5図は光ディスクからメモリ
への属性情報の複写処理を示す説明図、第6図はファイ
ルの読み込み処理を示す説明図、第7図はファイルの書
き込み処理を示す説明図、第8図は属性情報記録領域へ
の属性情報の書き込み処理を示す説明図、第9図は光デ
ィスクからメモリへの属性情報の複写処理手順を示す流
れ図、第10図はファイルの読み込み処理手順を示す流
れ図、第11図はファイルの書き込み処理手順および属
性情報記録領域への属性情報の書き込み処理手順を示す
流れ図である。 1・・・・・・追記型光ディスクの記録領域、2・・・
・・・システム領域、3・・・・・・ユーザ記録領域、
4・・・・・・ファイルデータ、5・・・・・・属性情
報、6・・・用データ記録領域、7・・・・・属性情報
記録領域、8・・・・・・未記録領域、17・・・・・
・次のファイルの格納位置、23・・叩・メモリ。 第1図 第2図 第4図 第5図 第6図 第8図 tテ)スmテニタ津傾でシ 第9図 第10図 第11図
The figures relate to one embodiment of the present invention, and FIG. 1 is an explanatory diagram schematically showing the allocation of recording areas of a write-once optical disc and the structure of data recorded in each allocated area, and FIG. 3 is an explanatory diagram schematically showing an example of attribute information and the structure of a data area. FIG. 4 is an overall configuration of an optical disk file system that implements the data recording method of the present invention. 5 is an explanatory diagram showing the process of copying attribute information from the optical disk to the memory, FIG. 6 is an explanatory diagram showing the file reading process, FIG. 7 is an explanatory diagram showing the file writing process, and FIG. 9 is an explanatory diagram showing the process of writing attribute information into the attribute information recording area, FIG. 9 is a flowchart showing the procedure of copying the attribute information from the optical disc to the memory, FIG. FIG. 11 is a flowchart showing the procedure for writing a file and the procedure for writing attribute information into the attribute information recording area. 1... Recording area of write-once optical disc, 2...
...System area, 3...User recording area,
4...File data, 5...Attribute information, 6...Data recording area, 7...Attribute information recording area, 8...Unrecorded area , 17...
・Next file storage location, 23...Tap/Memory. Figure 1 Figure 2 Figure 4 Figure 5 Figure 6 Figure 8 Figure 9 Figure 10 Figure 11

Claims (4)

【特許請求の範囲】[Claims] (1)画像データなどのファイルデータを順次追記する
データ記録領域と、前記ファイルデータの属性情報を1
セクタごとに順次追記する属性情報記録領域とを有する
追記型情報記録媒体であって、前記データ記録領域の先
頭と前記属性情報記録領域の先頭とを前記追記型情報記
録媒体の記録領域の両端側にそれぞれ位置付けるファイ
ル管理方式において、前記データ記録領域にファイルデ
ータとその属性情報とを1つにして追記すると共に、前
記属性情報記録領域の1セクタごとに前記属性情報を複
数個ずつまとめて追記することを特徴とする追記型情報
記録媒体のファイル管理方式。
(1) A data recording area in which file data such as image data is sequentially added, and attribute information of the file data
A write-once information recording medium having an attribute information recording area in which data is sequentially written on a sector-by-sector basis, wherein the beginning of the data recording area and the beginning of the attribute information recording area are located at both ends of the recording area of the write-once information recording medium. In the file management method, file data and its attribute information are added together in the data recording area, and a plurality of pieces of the attribute information are collectively added to each sector of the attribute information recording area. A file management method for a write-once information recording medium.
(2)請求項1記載において、前記属性情報が、少なく
ともファイル名、データ記録開始アドレス、データサイ
ズ、それに次ファイルのデータ記録開始アドレスを含ん
で構成されていることを特徴とする追記型情報記録媒体
のファイル管理方式。
(2) A write-once information record according to claim 1, wherein the attribute information includes at least a file name, a data recording start address, a data size, and a data recording start address of the next file. Media file management method.
(3)画像データなどのファイルデータとその属性情報
とを順次追記するデータ記録領域と、前記ファイルデー
タの属性情報を1セクタごとに順次追記する属性情報記
録領域とを有する追記型情報記録媒体であって、当該フ
ァイルデータの属性情報を前記追記型情報記録媒体の記
録領域外に設けられたメモリに複写し、管理するファイ
ル管理方式において、当該メモリに複写され、かつ前記
属性情報記録領域に記録されていない属性情報の数が所
定数になった時点毎に、前記メモリ上の属性情報記録領
域よりそれらの属性情報を読み出して1セクタ分の属性
情報にまとめ、前記属性情報記録領域の空き領域の先頭
セクタに追記するようにしたことを特徴とする追記型情
報記録媒体のファイル管理方式。
(3) A write-once information recording medium having a data recording area in which file data such as image data and its attribute information are sequentially recorded, and an attribute information recording area in which attribute information of the file data is sequentially recorded sector by sector. In a file management method in which attribute information of the file data is copied to a memory provided outside the recording area of the write-once information recording medium and managed, the attribute information is copied to the memory and recorded in the attribute information recording area. Every time the number of unused attribute information reaches a predetermined number, the attribute information is read from the attribute information recording area on the memory and summarized into one sector's worth of attribute information, and the empty area of the attribute information recording area is A file management method for a write-once information recording medium, characterized in that additional writing is performed in the first sector of the file.
(4)請求項3記載において、前記属性情報が、少なく
ともファイル名、データ記録開始アドレス、データサイ
ズ、それに次ファイルのデータ記録開始アドレスを含ん
で構成されていることを特徴とする追記型情報記録媒体
のファイル管理方式。
(4) A write-once information record according to claim 3, wherein the attribute information includes at least a file name, a data recording start address, a data size, and a data recording start address of the next file. Media file management method.
JP2330719A 1990-11-30 1990-11-30 File managing system for draw type information recording medium Pending JPH04205236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2330719A JPH04205236A (en) 1990-11-30 1990-11-30 File managing system for draw type information recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2330719A JPH04205236A (en) 1990-11-30 1990-11-30 File managing system for draw type information recording medium

Publications (1)

Publication Number Publication Date
JPH04205236A true JPH04205236A (en) 1992-07-27

Family

ID=18235805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2330719A Pending JPH04205236A (en) 1990-11-30 1990-11-30 File managing system for draw type information recording medium

Country Status (1)

Country Link
JP (1) JPH04205236A (en)

Similar Documents

Publication Publication Date Title
JP2646399B2 (en) Method and apparatus for efficiently managing a write-once volume
EP0487331B1 (en) Directory management system
JPH05313980A (en) Information recording method
JPH04141867A (en) File managing method
JPH10188481A (en) CD-ROM creation method and creation system
JP2831369B2 (en) Information recording / reproducing method and system
JPH0786844B2 (en) Formatting a write-once optical storage medium
JPH0330034A (en) Optical disk file management method
JPS62226375A (en) Image information search method
JPH03192436A (en) Information recording and playback method
JPH03268038A (en) Data storing system
JPH0357037A (en) File management device
JPH04182970A (en) Data storage system
JPH0477938A (en) Data storage method
JP2701271B2 (en) Image file recording method
JPH01236488A (en) Rewritable type optical disk control system
JPS62177642A (en) File management system for postscript filing device
JPH10171690A (en) Electronic file device
JPS63255889A (en) Data aisle device
JP2569084B2 (en) File management method
JPS60225938A (en) Information search method
JPH10254740A (en) Data processing system
JPH03130875A (en) Information file device
JPH0371263A (en) Retrieval system for optical disk file device
JPH08153028A (en) File management method and file management device