JPS63164087A - File management system - Google Patents
File management systemInfo
- Publication number
- JPS63164087A JPS63164087A JP31112286A JP31112286A JPS63164087A JP S63164087 A JPS63164087 A JP S63164087A JP 31112286 A JP31112286 A JP 31112286A JP 31112286 A JP31112286 A JP 31112286A JP S63164087 A JPS63164087 A JP S63164087A
- Authority
- JP
- Japan
- Prior art keywords
- data
- identification mark
- information recording
- information
- valid
- 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.)
- Granted
Links
- 230000003287 optical effect Effects 0.000 description 9
- 238000007726 management method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
Landscapes
- Optical Recording Or Reproduction (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明はファイル管理方式に関し、特に光デイスクファ
イル等の追記型情報記録装置において、変更が良く行わ
れるファイル体系のアクセスタイムを短縮可能とするフ
ァイル管理方式に関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a file management system, and more particularly to a file management system that can shorten the access time of a file system that is frequently changed in a write-once information recording device such as an optical disk file.
従来技術
例えば、従来の追記型光デイスクファイル装置において
は、書換えができない、ディレクトリ情報の一回に書込
める長さが決まっている等の理由により、変更を加える
と記録量が大きくなるという基本的な問題がある。Conventional technology For example, in conventional write-once optical disk file devices, the amount of recording increases when changes are made due to reasons such as not being able to be rewritten or the length of directory information that can be written at one time being fixed. There is a problem.
上述の如き特性を有する追記型光デイスクファイル装置
においては、あるデータが削除されたときには、デリー
トフラグを設定することが通常行われている。しかしな
がら、このデリートフラグが立っているかどうかは、そ
のデータを読込んでみないとわからないため、実際には
削除されたデータをも読込む必要があった。In write-once optical disk file devices having the above characteristics, a delete flag is usually set when certain data is deleted. However, since it is not possible to know whether the delete flag is set until the data is read, it is actually necessary to read the deleted data as well.
しかしながら、記録内容が大量に変更された場合には上
記削除データが多くなって無駄な読込みが多くなり、こ
のため、アクセススピードが大幅に低下するという問題
がある。However, when the recorded contents are changed in large quantities, the amount of deleted data increases, resulting in a lot of unnecessary reading, which causes a problem in that the access speed decreases significantly.
目 的
本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来のファイル管理方式における上述の
如き問題を解消し、前述の書換えができない、ディレク
トリ情報の一回に書込める長さが決まっている等の制約
の下で、アクセススピードを最高にすることが可能なフ
ァイル管理方式を提供することにある。Purpose The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in conventional file management systems, and to write directory information in one go that cannot be rewritten as described above. The object of the present invention is to provide a file management method that can maximize access speed under constraints such as a fixed length.
構 成
本発明の上記目的は、情報記録媒体に順次情報を記録す
る追記型情報記録装置において、前記情報記録媒体の情
報記録領域に対応して該情報v!、録領域に記録されて
いるデータの有効・無効を識別するための識別マークを
記録する手段を設け、アクセス時、前記記録手段の識別
マークを読出して解析し、有効データのみを読出すよう
にしたファイル管理方式によって達成される。Configuration The above-mentioned object of the present invention is to provide a write-once type information recording device that sequentially records information on an information recording medium, in which the information v! , a means for recording an identification mark to identify whether data recorded in the recording area is valid or invalid is provided, and upon access, the identification mark of the recording means is read out and analyzed, and only valid data is read out. This is achieved through a file management method.
以下、本発明の構成を、実施例に基づいてより詳細に説
明する。Hereinafter, the configuration of the present invention will be explained in more detail based on examples.
第2図は光ディスクに書込まれるデータセットのフォー
マットを示す図であり、「処理対象」は何番目のデータ
セットに対するものかを示すものであり、「処理」には
・追加(A)と削除(D)とがある。Figure 2 is a diagram showing the format of the data set written to the optical disk, and the "processing target" indicates which data set it is for, and the "processing" includes ・addition (A) and deletion. There is (D).
例えば、「ア」〜「工」とデータを書いた場合、光デイ
スク上には第3図に示すように記録される。For example, when data is written as "a" to "technique", it is recorded on the optical disk as shown in FIG.
ここで、3番目のデータを「オ」に変更すると、第4図
のようになる。第4図において、5番目のデータセット
の「口(ブランク)、2.DJは3番目のデータを削除
することを、また、「オ、2.AJはその位置にデータ
「オ」を書込むことを示している。Here, if the third data is changed to "o", the result will be as shown in FIG. In Figure 4, the fifth data set is blank, 2. DJ deletes the third data, and 2. AJ writes data "o" at that position. It is shown that.
同様に、3番目のデータを、順次、r力」、「キ」。Similarly, the third data is sequentially changed to "r force" and "ki".
・・・・「コ」まで5回変更したとすると、第5図に示
すようになる。しかし、この内容は、実際には、第6図
に示すものと同等である。. . . If the character is changed five times up to "ko", the result will be as shown in Fig. 5. However, this content is actually equivalent to that shown in FIG.
そこで、記録領域の一部を用いて、第7図に示すような
識別マークを設けることにする。この識別マークは、1
ビツトが上述のデータセット1個に対応し、有効なもの
をtl 1 j#で示している。この識別マークを参照
して、有効なもの、ここでは、1.2,4.16のみを
読込むようにすることにより、アクセスタイムの大幅な
短縮が可能になる。Therefore, an identification mark as shown in FIG. 7 is provided using a part of the recording area. This identification mark is 1
The bits correspond to one of the above-mentioned data sets, and valid bits are indicated by tl 1 j#. By referring to this identification mark and reading only the valid ones, here 1.2 and 4.16, it is possible to significantly shorten the access time.
上記識別マークの記録方法としては。How to record the above identification mark.
(1)記録領域の初めのところに予め場所を空けておき
、ここに書込む方法
(2)ある一定セクタのデータ書込み後、その後側に書
込む方法
等がある。また、識別マークは、データがある数以上書
込まれた時点で書込めば良く、以後、その数毎に識別マ
ークの書込みを行えば良い。(1) A method of leaving a space at the beginning of the recording area in advance and writing there; (2) A method of writing data to a certain sector and then writing to the subsequent side. Further, the identification mark may be written when a certain number or more of data have been written, and thereafter, the identification mark may be written for each of that number.
第1図(a)に上記一定セクタ数まで書込まれた後の、
識別マークの書込みタイミングのフローチャートを、ま
た、同(b)に読込み時のフローチャートを示した。After writing up to the above-mentioned certain number of sectors in FIG. 1(a),
A flowchart of the writing timing of the identification mark is shown, and a flowchart of the reading time is shown in FIG.
まず、第1図(a)の動作は、一定セクタ数まで書込ま
れた後、1セクタを読込み(ステップ21)、有効デー
タか否かをチェックして(ステップ22)、有効データ
であれば前記識別マークを「○N」と設定する準備をし
くステップ24)、また、有効データでなければ前記識
別マークをroFFJと設定する準ff&をして(ステ
ップ23)、上記一定数のセクタ全部のチェック終了後
(ステップ25)、上記ステップ23、24でQ備した
結果に従って、識別マークの書込みを行う(ステップ2
6)ものである。First, the operation shown in FIG. 1(a) is that after a certain number of sectors have been written, one sector is read (step 21), and it is checked whether or not it is valid data (step 22). Prepare to set the identification mark as "○N" (step 24), and if the data is not valid, perform a semi-ff& to set the identification mark as roFFJ (step 23), and complete all sectors of the fixed number of sectors. After the check is completed (step 25), an identification mark is written according to the results prepared in steps 23 and 24 (step 2).
6) It is a thing.
また、第1図(b)に示した読込み時の動作は、光ディ
スクの読込みを開始した後、前記識別マークの有無を監
視しくステップ31)、識別マークがある場合には、第
7図に示した如きデータの有効。In addition, the reading operation shown in FIG. 1(b) is such that after starting reading the optical disc, the presence or absence of the identification mark is monitored (step 31), and if there is an identification mark, the reading operation is as shown in FIG. Validity of such data.
無効sraに従って、有効データのみの選択的読込みを
行い(ステップ32)、識別マークがない場合には、従
来の通り、すべてのデータの読込みを行う(ステップ3
3)というものである。According to the invalid sra, only valid data is selectively read (step 32), and if there is no identification mark, all data is read as before (step 3).
3).
上記実施例によれば、ある単位で有効データの識別を行
うことにより、変更が良く行われるファイル体系のアク
セスタイムを大幅に短縮することが可能になる。According to the above embodiment, by identifying valid data in a certain unit, it is possible to significantly shorten the access time for a file system that is frequently changed.
上記実施例においては、ある単位毎にデータの有効・無
効をチェックして識別マークを書込むようにしており、
第2回目のチェック以降は、先頭からのすべてのデータ
についての有効・無効が識別マークに含まれる。二の「
ある単位毎」の大きさはデータの変更の頻度等により、
自由に決定することができる。また、上記実施例には示
されていないが、データの変更処理と同時に、上記識別
マークの書込みを行うようにしても良い。In the above embodiment, the validity/invalidity of data is checked for each unit and an identification mark is written.
After the second check, the identification mark includes the validity/invalidity of all data from the beginning. The second “
The size of each unit depends on the frequency of data changes, etc.
You can decide freely. Further, although not shown in the above embodiment, the identification mark may be written at the same time as the data change process.
効 果
以上述べた如く、本発明によれば、情報記録媒体に順次
情報を記録する追記型情報記録装置において、前記情報
記録媒体の情報記録領域に対応して該情報記録領域に記
録されているデータの有効・無効を識別するための識別
マークを記録する手段を設け、アクセス時、前記記録手
段の識別マークを読出して解析し、有効データのみを読
出すようにしたので、前述の書換えができない、ディレ
クトリ情報の一回に書込める長さが決まっている等の制
約の下で、アクセススピードを最高にすることが可能な
ファイル管理方式を実現できるという顕著な効果を奏す
るものである。Effects As described above, according to the present invention, in a write-once type information recording device that sequentially records information on an information recording medium, information is recorded in the information recording area corresponding to the information recording area of the information recording medium. A means for recording an identification mark to identify whether data is valid or invalid is provided, and when accessing, the identification mark of the recording means is read and analyzed to read only valid data, so the above-mentioned rewriting is not possible. This has the remarkable effect of realizing a file management system that can maximize access speed under constraints such as the length of directory information that can be written at one time.
第1図(a)、(b)は本発明の一実施例である光デイ
スクファイル装置の動作を示すフローチャート、第2図
は光ディスクに書込まれるデータセットのフォーマット
を示す図、第3図〜第6図は光デイスク上に書かれたデ
ータの例を示す図、第7図は識別マークの一例を示す図
である。
1〜16:データセット、21〜26.31〜33:処
理ステップ。
第 1 図 (a)
第 1 図 (b)
第 2 図
第 3 図
第 仝 図FIGS. 1(a) and (b) are flowcharts showing the operation of an optical disk file device which is an embodiment of the present invention, FIG. 2 is a diagram showing the format of a data set written to an optical disk, and FIGS. FIG. 6 is a diagram showing an example of data written on an optical disk, and FIG. 7 is a diagram showing an example of an identification mark. 1-16: Data sets, 21-26. 31-33: Processing steps. Figure 1 (a) Figure 1 (b) Figure 2 Figure 3 Figure 2
Claims (1)
録装置において、前記情報記録媒体の情報記録領域に対
応して該情報記録領域に記録されているデータの有効・
無効を識別するための識別マークを記録する手段を設け
、アクセス時、前記記録手段の識別マークを読出して解
析し、有効データのみを読出すようにしたファイル管理
方式。(1) In a write-once information recording device that sequentially records information on an information recording medium, the validity of the data recorded in the information recording area of the information recording medium corresponds to the information recording area.
A file management system comprising means for recording an identification mark for identifying invalid data, and upon access, the identification mark of the recording means is read and analyzed to read only valid data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61311122A JP2671298B2 (en) | 1986-12-26 | 1986-12-26 | File management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61311122A JP2671298B2 (en) | 1986-12-26 | 1986-12-26 | File management method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63164087A true JPS63164087A (en) | 1988-07-07 |
JP2671298B2 JP2671298B2 (en) | 1997-10-29 |
Family
ID=18013402
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61311122A Expired - Lifetime JP2671298B2 (en) | 1986-12-26 | 1986-12-26 | File management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2671298B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113742391A (en) * | 2021-09-07 | 2021-12-03 | 国家电网有限公司技术学院分公司 | Data processing system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59154652A (en) * | 1983-02-24 | 1984-09-03 | Canon Inc | Information recording system by optical disk |
-
1986
- 1986-12-26 JP JP61311122A patent/JP2671298B2/en not_active Expired - Lifetime
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59154652A (en) * | 1983-02-24 | 1984-09-03 | Canon Inc | Information recording system by optical disk |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113742391A (en) * | 2021-09-07 | 2021-12-03 | 国家电网有限公司技术学院分公司 | Data processing system |
Also Published As
Publication number | Publication date |
---|---|
JP2671298B2 (en) | 1997-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR960005470A (en) | Recording / playback apparatus using general data and audio data | |
KR910010414A (en) | Method and apparatus for writing data to a magnetic recording medium | |
KR950033851A (en) | Method and apparatus for protecting data written to partial read-only memory (ROM) from unauthorized copying | |
JPS62281167A (en) | Emulation for mobile memory | |
KR920018734A (en) | Data recording and reproducing apparatus, data recording method and data reproducing method | |
JPS6220141A (en) | Optical information recording medium | |
JPS60175254A (en) | Dead copy preventing method for software recording medium | |
US5048004A (en) | Optical recording medium recording and reproducing device | |
JPH0588957A (en) | Directory format | |
JPS63164087A (en) | File management system | |
JPS5841578B2 (en) | Control method for rotating storage device | |
JPS63104284A (en) | Disk file access system | |
JPH03222158A (en) | Additionally writing method for data | |
JPS58219658A (en) | Magnetic disk controller | |
JPS59136860A (en) | Disk controller | |
KR950000133B1 (en) | Recording method of optical media | |
JPS6095654A (en) | Plural file managing system | |
JPS6391887A (en) | Data recording system | |
JPS61283091A (en) | Recording data access system for file device | |
JPS60660A (en) | Write method of track format | |
US6289475B1 (en) | Method of retrieving storage capacity of damaged sector | |
JPS63197058A (en) | Draw type optical disk device | |
JPH0518196B2 (en) | ||
JPH02185783A (en) | Read/write system for cartridge magnetic tape device | |
JPH0580072B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term |