JPS63220317A - Writing area management system for rewriting disable medium - Google Patents

Writing area management system for rewriting disable medium

Info

Publication number
JPS63220317A
JPS63220317A JP62055748A JP5574887A JPS63220317A JP S63220317 A JPS63220317 A JP S63220317A JP 62055748 A JP62055748 A JP 62055748A JP 5574887 A JP5574887 A JP 5574887A JP S63220317 A JPS63220317 A JP S63220317A
Authority
JP
Japan
Prior art keywords
free space
space information
label
information label
medium
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
JP62055748A
Other languages
Japanese (ja)
Inventor
Megumi Chiba
千葉 恵
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62055748A priority Critical patent/JPS63220317A/en
Publication of JPS63220317A publication Critical patent/JPS63220317A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To sharply save an idle area information label area by saving an idle area information label to a saving device, updating data only in the saving device at the time of forming a new file to be frequently generated or expanding an already existing file, and only at the time of ejecting a rewriting disabled medium from a file device, writing data in the rewriting disable medium. CONSTITUTION:Only when it is necessary to form a new file or expand an already existing file in the rewriting disable medium 2, an idle area information label updating means 1-2 inputs a saved label 3-1 from the saving device 3, updates the contents of the label 3-1 and newly writes the updated contents as a saved label 3-1. When the ejection of the medium 2 is requested, an idle area information label restoring means 1-3 inputs the saved label 3-1 from the device 3 only when the label 3-1 is updated, writes a new idle area information label L4 in the medium and ends the writing to eject the medium 2.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はファイル装置に使用される再書込み不可媒体の
書込み領域管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a write area management system for non-rewritable media used in file devices.

〔従来の技術〕[Conventional technology]

従来のファイル装置に使用されている再書込み不可媒体
の書込み領域管理方式では再書込み不可媒体上に空き領
域情報ラベル領域を設け、再書込み不可媒体上に新しい
ファイルを作成するときおよび既にあるファイルを拡張
するときに、その都度新しい空き領域情報ラベルをその
再書込み不可媒体上に書込んでいる6 〔発明が解決しようとする問題点〕 上述した従来の再書込み不可媒体の書込み領域管理方式
を使用すると、新しいファイルを作成するときおよび既
にあるファイルを拡張するときに、その都度新しい空き
領域情報ラベルがその再書込み不可媒体上に書込まれる
ため、再書込み不可媒体上に作成される空き領域情報ラ
ベル数がいたずらに多くなり、大きな空き領域情報ラベ
ル領域を必要とするという問題点がある。
In the write area management method for non-rewritable media used in conventional file devices, a free space information label area is provided on the non-rewritable media, and this is used when creating a new file or saving an existing file on the non-rewritable media. When expanding, a new free space information label is written on the non-rewritable medium each time.6 [Problems to be solved by the invention] The above-mentioned conventional write area management method for non-rewritable media is used. Then, each time you create a new file or extend an existing file, a new free space information label is written on the non-rewritable medium, so the free space information created on the non-rewritable medium There is a problem that the number of labels increases unnecessarily and a large free space information label area is required.

加えて、再書込み不可媒体上の空き領域情報ラベル数が
多くなるに伴って、再書込み不可媒体をファイル装置に
装填するときや再書込み不可媒体に新しいファイルを作
成するときおよび既にあるファイルを拡張するときに、
それぞれ必要となる空き領域情報ラベルの検索時間が長
くなるという欠点がある。
In addition, as the number of free space information labels on non-rewritable media increases, it becomes more difficult to load non-rewritable media into a file device, create new files on non-rewritable media, and expand existing files. When you do,
Each method has the disadvantage that it takes a long time to search for the required free space information label.

本発明の目的は、再書込み不可媒体上に作成される空き
領域情報ラベル数を節減して、再書込み不可媒体上の領
域を有効利用するとともに空き領域情報ラベルの検索時
間を短縮する再書込み不可媒体の書込み領域管理方式を
提供することにある。
An object of the present invention is to reduce the number of free space information labels created on a non-rewritable medium, effectively utilize the area on the non-rewritable medium, and shorten the search time for free space information labels. The object of the present invention is to provide a method for managing a writing area of a medium.

〔問題点を解決するための手段〕 本発明の再書込み不可媒体の書込み領域管理方式は、−
個もしくは複数個のファイルと空き領域を知り得る情報
を含む空き領域情報ラベルとを書込んで使用する一度デ
ータを書込んだ領域には再度書込みをすることができな
い再書込み不可媒体の書込み領域管理方式において、前
記空き領域情報ラベルを退避して記憶するための再書込
みが可能な退避装置と、前記再書込み不可媒体をファイ
ル装置に装填するときに前記空き領域情報ラベルを前記
退避装置に退避する空き領域情報ラベル退避手段と、新
しいファイルの作成や既にあるファイルの拡張など前記
再書込み不可媒体の空き領域情報に変更がある場合に前
記退避装置に退避中の前記空き領域情報ラベルを更新す
る空き領域情報ラベル更新手段と、前記退避装置に退避
中の前記空き領域情報ラベルが更新されている場合に前
記再書込み不可媒体をファイル装置から取外す前に更新
された前記空き領域情報ラベルを前記再書込み不可媒体
上の元の位置とは別の未書込み領域に書込む空き領域情
報ラベル復元手段とを備えて構成されている。
[Means for solving the problem] The write area management method for non-rewritable media of the present invention is as follows:-
Write area management for non-rewritable media where data cannot be written again to the area where data has been written once. In the method, a rewritable saving device is provided for saving and storing the free space information label, and the free space information label is saved to the saving device when the non-rewritable medium is loaded into the file device. a free space information label saving means, and a free space for updating the free space information label being saved in the saving device when there is a change in the free space information of the non-rewritable medium such as creating a new file or extending an existing file. an area information label updating unit; and when the free space information label being saved in the saving device has been updated, the updated free space information label is rewritten before the non-rewritable medium is removed from the file device. and a free space information label restoring means for writing to an unwritten area different from the original position on the disabled medium.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の再書込み不可媒体の書込み領域管理方
式を示す一実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment of a write area management system for non-rewritable media according to the present invention.

第1図において、データ処理装置1は空き領域情報ラベ
ル退避手段l−1,空き領域情報ラベル更新手段1−2
および空き領域情報ラベル復元手段1−3を含んでおり
、ファイル装置に装填された再書込み不可媒体2は空き
領域情報ラベル領域2−1に古いものから順にLL、L
2.L3およびL4という空き領域情報ラベルを記憶し
、ファイル領域2−2に一個もしくは複数個のファイル
を記憶する書込み済領域と今後新たなデータを書込むこ
とができる未書込み領域とを含むことを示しており、電
源断の場合においても記憶されたデータが失われること
のない磁気ディスクを使用した退避装置3は空き領域情
報ラベル退避手段1−1により退避する空き領域情報ラ
ベルである退避ラベル3−1を含んでいることを示して
いる。
In FIG. 1, a data processing device 1 includes free space information label saving means l-1 and free space information label updating means 1-2.
and a free space information label restoring means 1-3, and the non-rewritable medium 2 loaded in the file device is stored in the free space information label area 2-1 in order of LL and L from the oldest one.
2. Free space information labels L3 and L4 are stored, indicating that the file area 2-2 includes a written area for storing one or more files and an unwritten area into which new data can be written in the future. The evacuation device 3, which uses a magnetic disk in which stored data is not lost even in the event of a power outage, has an evacuation label 3-, which is a free space information label, saved by the free space information label evacuation means 1-1. 1 is included.

なお、上記の空き領域情報ラベルL1とL2はこの再書
込み不可媒体2が過去に使用されたときに既に更新され
たために不用となったものであり、空き領域情報ラベル
L3は今回この再書込み不可媒体2を装填した時点にお
いて有効なものであり、空き領域情報ラベルL4は今回
の処理が終了してこの再書込み不可媒体2をファイル装
置から取外す時点で書込まれるものを示している。
Note that the above free space information labels L1 and L2 are no longer needed because they were already updated when this non-rewritable medium 2 was used in the past, and the free space information label L3 is the one that is no longer needed for this non-rewritable medium 2. It is valid when the medium 2 is loaded, and the free space information label L4 indicates what is written when the current process is completed and the non-rewritable medium 2 is removed from the file device.

次に、本実施例において再書込み不可媒体の書込み領域
管理方式の動作を説明する。
Next, the operation of the write area management system for non-rewritable media in this embodiment will be explained.

第2図はファイル装置に再書込み不可媒体2を装填し、
この再書込み不可媒体2に新しいファ、イルの作成また
はファイルの拡張を伴うファイル処理を行った後に、こ
の再書込み不可媒体2を取外すまでの処理動作を示す流
れ図である。
Figure 2 shows that a non-rewritable medium 2 is loaded in the file device,
2 is a flowchart showing a processing operation from the time when file processing involving the creation of a new file or the extension of a file to the non-rewritable medium 2 to the time when the non-rewritable medium 2 is removed.

また、第3図、第4図および第5図はそれぞれ空き領域
情報ラベル退避手段1−1.空き領域情報ラベル更新手
段1−2および空き領域情報ラベル復元手段1−3の処
理動作を示す流れ図である。
Further, FIGS. 3, 4, and 5 respectively show the free space information label saving means 1-1. It is a flowchart showing the processing operations of the free space information label updating means 1-2 and the free space information label restoring means 1-3.

第2図において、動作を開始してファイル装置に再書込
み不可媒体2を装填したとき、ステップ21で空き領域
情報ラベル退避手段1−1は第3図に示すようにステッ
プ31で再書込み不可媒体2から空き領域情報ラベルL
3を入力し、これをステップ31で退避ラベル3−1と
して退避装置3に書込む。
In FIG. 2, when the operation is started and the non-rewritable medium 2 is loaded in the file device, the free space information label saving means 1-1 is activated in step 21 to save the non-rewritable medium 2 in step 31 as shown in FIG. 2 to free space information label L
3 is input, and this is written in the evacuation device 3 as an evacuation label 3-1 in step 31.

続いて、ステップ22に移りこの再書込み不可媒体2に
新しいファイルの作成または既にあるファイルの拡張の
必要が生じた場合(YES)のみ、ステップ23で空き
領域情報ラベル更新手段1−2は第4図に示すようにス
テップ41で退避装置3から退避ラベル3−1を入力し
、ステップ42でこの内容を更新し、ステップ43でこ
れを新たに退避ラベル3−1として書込む。
Next, the process moves to step 22, and only when it is necessary to create a new file or expand an existing file on this non-rewritable medium 2 (YES), in step 23, the free space information label updating means 1-2 updates the fourth As shown in the figure, the evacuation label 3-1 is input from the evacuation device 3 in step 41, its contents are updated in step 42, and it is newly written as the evacuation label 3-1 in step 43.

続いて、ステップ24に進むが再書込み不可媒体2の取
外しの要求がない(No)ならば、ステップ22に戻り
上記の動作を繰り返す。再書込み不可媒体2の取外しの
要求がある(YES)ならば、ステップ25に移り空き
領域情報ラベル復元手段1−3は第5図に示すようにス
テップ51で退避ラベル3−1の更新があった場合のみ
、ステップ52で退避装置3から退避ラベル3−1を入
力し、これをステップ53で再書込み不可媒体2に新し
い空き領域情報ラベルL4を書込んで終了し、再書込み
不可媒体2を取外すことができる。
Next, the process proceeds to step 24, but if there is no request to remove the non-rewritable medium 2 (No), the process returns to step 22 and repeats the above operations. If there is a request to remove the non-rewritable medium 2 (YES), the process moves to step 25, and the free space information label restoring means 1-3 determines that the evacuation label 3-1 has been updated in step 51, as shown in FIG. Only in this case, the evacuation label 3-1 is input from the evacuation device 3 in step 52, and a new free space information label L4 is written to the non-rewritable medium 2 in step 53, and the process ends. Can be removed.

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

以上説明したように、本発明は、空き領域情報ラベルを
退避装置に退避して、頻繁に発生する新しいファイルの
作成や既にあるファイルの拡張時には退避装置上でのみ
更新し、再書込み不可媒体をファイル装置から取り外す
ときにのみ再書込み不可媒体上に書込むことによって、
再書込み不可媒体上に作成される空き領域情報ラベル数
を太きく削減して空き領域情報ラベル領域を大幅に節約
するという効果と、再書込み不可媒体を装填するときの
空き領域情報ラベルの検索時間を短縮するという効果と
、新しいファイルの作成や既にあるファイルの拡張時に
再書込み不可媒体上の空き領域情報ラベルを検索する必
要がなくなり処理時間が格段に短縮されるという効果を
有する。
As explained above, the present invention saves the free space information label to the save device, updates it only on the save device when creating a new file or expanding an existing file, which occurs frequently, and saves the free space information label to the save device, thereby saving the free space information label to the save device and updating it only on the save device when creating a new file or extending an existing file, which occurs frequently. By writing on non-rewritable media only when removed from the file device,
The number of free space information labels created on non-rewritable media is significantly reduced, resulting in a significant saving in free space information label space, and the search time for free space information labels when loading non-rewritable media. This has the effect of shortening the processing time, and it is no longer necessary to search for a free space information label on a non-rewritable medium when creating a new file or expanding an existing file, thereby significantly shortening the processing time.

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

第1図は本発明の一実施例のブロック図、第2図は本発
明の一実施例の処理動作を示す流れ図、第3図は空き領
域情報ラベル退避手段の処理動作を示す流れ図、第4図
は空き領域情報ラベル更新手段の処理動作を示す流れ図
、第5図は空き領域情報ラベル復元手段の処理動作を示
す流れ図である。 1・・・データ処理装置、1−1・・・空き領域情報ラ
ベル退避手段、1−2・・・空き領域情報ラベル更新手
段、1−3・・・空き領域情報ラベル復元手段、2・・
・再書込み不可媒体、2−1空き領域情報ラベル領域、
2−2・・・ファイル領域、3・・・退避装置、3−1
・・・退避ラベル。 第1図 第2図 第3図 第4図 第5図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing the processing operation of an embodiment of the invention, FIG. 3 is a flowchart showing the processing operation of the free space information label saving means, and FIG. The figure is a flowchart showing the processing operation of the free space information label updating means, and FIG. 5 is a flowchart showing the processing operation of the free space information label restoring means. 1... Data processing device, 1-1... Free space information label saving means, 1-2... Free space information label updating means, 1-3... Free space information label restoring means, 2...
- Non-rewritable medium, 2-1 free space information label area,
2-2...File area, 3...Evacuation device, 3-1
...Evacuation label. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 一個もしくは複数個のファイルと空き領域を知り得る情
報を含む空き領域情報ラベルとを書込んで使用する一度
データを書込んだ領域には再度書込みをすることができ
ない再書込み不可媒体の書込み領域管理方式において、
前記空き領域情報ラベルを退避して記憶するための再書
込みが可能な退避装置と、前記再書込み不可媒体をファ
イル装置に装填するときに前記空き領域情報ラベルを前
記退避装置に退避する空き領域情報ラベル退避手段と、
新しいファイルの作成や既にあるファイルの拡張など前
記再書込み不可媒体の空き領域情報に変更がある場合に
前記退避装置に退避中の前記空き領域情報ラベルを更新
する空き領域情報ラベル更新手段と、前記退避装置に退
避中の前記空き領域情報ラベルが更新されている場合に
前記再書込み不可媒体をファイル装置から取外す前に更
新された前記空き領域情報ラベルを前記再書込み不可媒
体上の元の位置とは別の未書込み領域に書込む空き領域
情報ラベル復元手段とを備えることを特徴とする再書込
み不可媒体の書込み領域管理方式。
Write area management for non-rewritable media where one or more files and a free space information label containing information on free space are written and used. Once data has been written, it is not possible to write again. In the method,
A rewritable saving device for saving and storing the free space information label; and free space information for saving the free space information label to the saving device when loading the non-rewritable medium into the file device. label evacuation means;
a free space information label updating means for updating the free space information label being saved in the saving device when there is a change in the free space information of the non-rewritable medium such as creation of a new file or expansion of an existing file; If the free space information label being saved to the save device has been updated, the updated free space information label is replaced with the original position on the non-rewritable medium before the non-rewritable medium is removed from the file device. 1. A write area management method for a non-rewritable medium, comprising a free space information label restoring means for writing to another unwritten area.
JP62055748A 1987-03-10 1987-03-10 Writing area management system for rewriting disable medium Pending JPS63220317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62055748A JPS63220317A (en) 1987-03-10 1987-03-10 Writing area management system for rewriting disable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62055748A JPS63220317A (en) 1987-03-10 1987-03-10 Writing area management system for rewriting disable medium

Publications (1)

Publication Number Publication Date
JPS63220317A true JPS63220317A (en) 1988-09-13

Family

ID=13007474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62055748A Pending JPS63220317A (en) 1987-03-10 1987-03-10 Writing area management system for rewriting disable medium

Country Status (1)

Country Link
JP (1) JPS63220317A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0337710A (en) * 1989-07-05 1991-02-19 Nec Corp Optical disk controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0337710A (en) * 1989-07-05 1991-02-19 Nec Corp Optical disk controller

Similar Documents

Publication Publication Date Title
JP2005332067A (en) Backup acquisition method and disk array device
WO2016192375A1 (en) Storage device and block storage method based on the storage device
CN103577513A (en) Systems and/or methods for caching xml information sets with delayed node instantiation
JPH09115227A (en) Write-in method for variable length sequencial record
US11176089B2 (en) Systems and methods for implementing dynamic file systems
JPS63220317A (en) Writing area management system for rewriting disable medium
JPH0330034A (en) Optical disk file managing method
JPH0394377A (en) Map file updating system
JPH0258653B2 (en)
JP2822869B2 (en) Library file management device
JP3022011B2 (en) Data backup system
JP2000137639A (en) Long-term data archive management system using optical disk library
JPS63311451A (en) Access system for low-speed access medium incapable of rewriting
JPS63173270A (en) Data set area managing system for draw type storage device
JPH0644116A (en) Disk file saving control system
JPS63213042A (en) Method for extending file area
JPH05151037A (en) Reorganization processing system for database in business processing
JPS62237538A (en) File management system
JPH05151716A (en) Data backup method of magnetic tape
JPS6346553A (en) File copying method
JP6157158B2 (en) Information processing apparatus, control method thereof, and program
JPH03122712A (en) Backup system for file
JPH02242473A (en) Storage control method
JPH052518A (en) File system for secondary storage device
JPS63231547A (en) Empty area managing system for memory device