JP2953882B2 - Free label address acquisition method for file label area - Google Patents
Free label address acquisition method for file label areaInfo
- Publication number
- JP2953882B2 JP2953882B2 JP4257848A JP25784892A JP2953882B2 JP 2953882 B2 JP2953882 B2 JP 2953882B2 JP 4257848 A JP4257848 A JP 4257848A JP 25784892 A JP25784892 A JP 25784892A JP 2953882 B2 JP2953882 B2 JP 2953882B2
- Authority
- JP
- Japan
- Prior art keywords
- label
- file
- area
- storage volume
- address
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION
【0001】[0001]
【産業上の利用分野】本発明は大容量記憶ボリューム上
のファイルの領域の確保に必要なVTOC(Volume Tab
le of Content ;ファイルラベル領域)の空きラベルア
ドレスの取得方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a VTOC (Volume Tab) necessary for securing a file area on a large-capacity storage volume.
le of Content (file label area).
【0002】[0002]
【従来の技術】従来、ファイル領域の確保時に出力され
るファイルラベルの空きファイルラベルアドレスは、大
容量記憶ボリュームに対してハードウェアキーサーチの
I/O命令を実行することにより取得していた。2. Description of the Related Art Conventionally, an empty file label address of a file label output when a file area is secured has been obtained by executing a hardware key search I / O instruction for a large-capacity storage volume.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のVTO
Cの空きラベルアドレス取得方式では、ファイルラベル
を出力する際の空きファイルラベルアドレスを大容量記
憶ボリュームに対するI/O命令の実行により獲得して
いたため処理時間がかかるという欠点があった。SUMMARY OF THE INVENTION The above-mentioned conventional VTO
The C free label address acquisition method has a drawback that it takes a long processing time because a free file label address for outputting a file label is obtained by executing an I / O instruction for a large-capacity storage volume.
【0004】[0004]
【0005】[0005]
【課題を解決するための手段】第1の発明は、大容量記Means for Solving the Problems The first invention is a large-capacity storage device.
憶ボリューム上のファイル領域の確保時にファイルラベFile label when securing the file area on the storage
ルを出力する際のファイルラベル領域の空きラベルアドEmpty label address in the file label area when outputting a file
レス取得方式において、システム立ち上げ時または前記Address acquisition method, at system startup or when
大容量記憶ボリュームのシステム組み込み時に前記大容When installing a large storage volume system,
量記憶ボリュームの管理情報及びファイルラベル領域にIn the management information and file label area of the volume storage volume
対するアクセスが行われたか否かを管理するボリュームVolume that manages whether access to the
制御テーブルを作成する自動媒体認識手段と、前記ファAutomatic medium recognition means for creating a control table;
イルラベル領域に対するアクセスが実行された場合に起This occurs when access to the file label area is executed.
動され前記ボリューム制御テーブルを参照して前記大容And refer to the volume control table to
量記憶ボリュームのファイルラベル領域アクセスが最初File label area access of mass storage volume first
であれば前記ファイルラベル領域を検索し前記ファイルIf the file label area is searched, the file
ラベル領域の使用済ラベル領域をフラグONとし未使用Unused label area with flag ON for used label area
ラベル領域をフラグOFFとして前記ファイルラベル領The label area is set to flag OFF and the file label area
域の相対アドレスと対応させながら前記フラグを前記相The flag is associated with the relative address of the
対アドレスの若番順に並べることにより空きラベル管理Empty label management by arranging in ascending order of address
テーブルを作成する空きラベル管理テーブル作成手段Empty label management table creation means for creating a table
と、上位プログラムから前記大容量記憶ボリューム上のFrom the host program on the mass storage volume
ファイル領域確保の要求を受けて前記大容量記憶ボリュIn response to a request for securing a file area, the mass storage volume
ーム上に領域の確保を行うとともに前記ファイルラベルSecures an area on the
領域の空きラベルアドレス獲得指示を出力し取得したラOutputs the instruction to acquire the free label address of the area and
ベルアドレスに前記確保したファイルのファイルラベルThe file label of the file secured at the bell address
を出力するファイル領域確保手段と、空きラベルアドレMeans to output a file area and an empty label address
ス獲得指示を受けて前記空きラベル管理テーブルを検索Search the empty label management table in response to
し前記フラグがOFFである位置を獲得し獲得した前記And the position where the flag is OFF is obtained and
位置を前記大容量記憶ボリュームの前記ファイルラベルLocate the file label of the mass storage volume
領域の前記ラベルアドレスに変換する空きラベル検索手An empty label searcher that converts the label address of the area
段とを備えたことを特徴とする。And a step.
【0006】[0006]
【実施例】次に、本発明の実施例について図面を参照し
て説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0007】図1は第1の発明の一実施例を示すブロッ
ク図である。FIG. 1 is a block diagram showing an embodiment of the first invention.
【0008】空きラベル管理テーブル作成手段2は、シ
ステム立ち上げ時または大容量記憶ボリューム6のシス
テム組み込み時に自動媒体認識手段3によって起動さ
れ、大容量記憶ボリューム6内のVTOC(Volume Tab
le of Content ;ファイルラベル領域)を検索し、VT
OCの使用ラベル領域をフラグON、未使用ラベル領域
をフラグOFFとしてVTOCのラベル領域の相対アド
レスとVTOC空きラベル管理テーブル1のフラグとを
対応させながら、VTOC空きラベル管理テーブル1の
作成を行う。The empty label management table creating means 2 is started up by the automatic medium recognition means 3 when the system is started or when the large-capacity storage volume 6 is installed in the system, and the VTOC (Volume Tab) in the large-capacity storage volume 6 is used.
le of Content; file label area)
The used label area of the OC is set to the flag ON, and the unused label area is set to the flag OFF to create the VTOC free label management table 1 while associating the relative address of the VTOC label area with the flag of the VTOC free label management table 1.
【0009】プログラムから大容量記憶ボリューム6上
にファイル領域確保の要求があると、ファイル領域確保
手段5は、大容量記憶ボリューム6上に領域の確保を行
うとともに、VTOCの空きラベルアドレスを獲得する
ために空きラベル検索手段4を起動する。When a program requests a file area to be secured on the large-capacity storage volume 6, the file-area securing means 5 secures an area on the large-capacity storage volume 6 and acquires a free label address of the VTOC. For this purpose, the empty label search means 4 is started.
【0010】空きラベル検索手段4は、VTOC空きラ
ベル管理テーブル1を検索し、フラグがOFFである位
置を獲得する。次に、獲得した位置を大容量記憶ボリュ
ーム6のVTOCのラベルアドレスに変換してファイル
領域確保手段5に空きラベルのアドレスを通知する。The empty label searching means 4 searches the VTOC empty label management table 1 to obtain a position where the flag is OFF. Next, the acquired position is converted into the VTOC label address of the large-capacity storage volume 6 and the address of the free label is notified to the file area securing means 5.
【0011】ファイル領域確保手段5は、空きラベル検
索手段4より獲得したラベルアドレスに、確保したファ
イルのファイルラベルを出力しファイル領域の確保を終
了する。The file area securing means 5 outputs the file label of the secured file to the label address obtained from the empty label searching means 4, and ends the securing of the file area.
【0012】また、図2は第2の発明の一実施例を示す
ブロック図である。FIG. 2 is a block diagram showing an embodiment of the second invention.
【0013】ボリューム制御テーブル21は、システム
立ち上げ時または大容量記憶ボリューム27のシステム
組み込み時に、自動媒体認識手段24によって作成さ
れ、大容量記憶ボリューム27の管理情報、及びVTO
Cに対するアクセスが行われたか否かを管理する。The volume control table 21 is created by the automatic medium recognizing means 24 when the system is started or when the mass storage volume 27 is installed in the system, and the management information of the mass storage volume 27 and the VTO
It manages whether or not access to C has been made.
【0014】空きラベル管理テーブル作成手段23は、
VTOCに対するアクセスが実行された場合に起動さ
れ、当該大容量記憶ボリューム27のVTOCアクセス
が最初であれば、大容量記憶ボリューム27内のVTO
Cを検索し、VTOCの使用ラベル領域をフラグON、
未使用ラベル領域をフラグOFFとしてVTOCの相対
ラベルアドレスとVTOC空きラベル管理テーブル22
のビットとを対応させながら、VTOC空きラベル管理
テーブル22の作成を行う。The empty label management table creating means 23 comprises:
It is started when the access to the VTOC is executed, and if the VTOC access of the mass storage volume 27 is the first, the VTOC in the mass storage volume 27 is
C is searched, and the used label area of VTOC is set to a flag ON,
The unused label area is set to the flag OFF, and the relative label address of the VTOC and the VTOC empty label management table 22 are set.
The VTOC empty label management table 22 is created while associating the bits with the bits.
【0015】プログラムから大容量記憶ボリューム27
上にファイル領域確保の要求があると、ファイル領域確
保手段26は、大容量記憶ボリューム27上に領域の確
保を行うとともに、VTOCの空きラベルアドレスを獲
得するために、空きラベル検索手段25を起動する。From the program, the large storage volume 27
When there is a request for securing a file area above, the file area securing means 26 secures an area on the large-capacity storage volume 27 and activates the empty label searching means 25 to acquire an empty label address of the VTOC. I do.
【0016】空きラベル検索手段25は、VTOC空き
ラベル管理テーブル22を検索し、フラグがOFFであ
る位置を獲得する。次に、獲得した位置を大容量記憶ボ
リューム27のVTOCのラベルアドレスに変換してフ
ァイル領域確保手段26に空きラベルのアドレスを通知
する。The vacant label search means 25 searches the VTOC vacant label management table 22 to obtain a position where the flag is OFF. Next, the acquired position is converted into the VTOC label address of the large-capacity storage volume 27, and the address of the free label is notified to the file area securing means 26.
【0017】ファイル領域確保手段26は、空きラベル
検索手段25より獲得したラベルアドレスに、確保した
ファイルのファイルラベルを出力し、ファイル領域の確
保を終了する。The file area securing means 26 outputs the file label of the secured file to the label address obtained from the empty label searching means 25, and ends the securing of the file area.
【0018】[0018]
【発明の効果】以上説明したように、本発明は、ファイ
ル領域確保時にファイルラベルアドレス獲得のためのI
/O命令の実行が不要になるため、処理時間を短縮でき
る効果がある。As described above, according to the present invention, when a file area is secured, I
Since the execution of the / O instruction becomes unnecessary, there is an effect that the processing time can be reduced.
【0019】また、VTOC空きラベル管理テーブルの
作成を、大容量記憶ボリュームに対する最初のアクセス
時まで遅延させることにより、立ち上げ時間の遅延を防
ぐことができる効果がある。Further, by delaying the creation of the VTOC empty label management table until the first access to the large-capacity storage volume, there is an effect that a delay in the startup time can be prevented.
【図1】第1の発明の一実施例を示すブロック図であ
る。FIG. 1 is a block diagram showing an embodiment of the first invention.
【図2】第2の発明の一実施例を示すブロック図であ
る。FIG. 2 is a block diagram showing an embodiment of the second invention.
1,22 VTOC空きラベル管理テーブル 2,23 空きラベル管理テーブル作成手段 3,24 自動媒体認識手段 4,25 空きラベル検索手段 5,26 ファイル領域確保手段 6,27 大容量記憶ボリューム 21 ボリューム制御テーブル 1, 22 VTOC free label management table 2, 23 free label management table creation means 3, 24 automatic medium recognition means 4, 25 free label search means 5, 26 file area securing means 6, 27 large storage volume 21 volume control table
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−77938(JP,A) 特開 平3−232026(JP,A) 特開 平4−236639(JP,A) 「ACOSソフトウェア ACOS− 4/MVP XE データ管理説明 書」,第7版,日本電気株式会社,1989 年9月,p.21−25 (58)調査した分野(Int.Cl.6,DB名) G06F 12/00 G06F 3/06 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-4-77938 (JP, A) JP-A-3-232026 (JP, A) JP-A-4-236639 (JP, A) “ACOS software ACOS- 4 / MVP XE Data Management Manual ", 7th edition, NEC Corporation, September 1989, p. 21-25 (58) Field surveyed (Int. Cl. 6 , DB name) G06F 12/00 G06F 3/06
Claims (1)
確保時にファイルラベルを出力する際のファイルラベルFile label for outputting the file label when securing
領域の空きラベルアドレス取得方式において、システムIn the area free label address acquisition method, the system
立ち上げ時または前記大容量記憶ボリュームのシステムAt startup or at the mass storage volume system
組み込み時に前記大容量記憶ボリュームの管理情報及びAt the time of installation, management information of the mass storage volume and
ファイルラベル領域に対するアクセスが行われたか否かWhether the file label area has been accessed
を管理するボリューム制御テーブルを作成する自動媒体Media that creates a volume control table that manages data
認識手段と、前記ファイルラベル領域に対するアクセスRecognition means and access to the file label area
が実行された場合に起動され前記ボリューム制御テーブIs executed when the volume control table is executed.
ルを参照して前記大容量記憶ボリュームのファイルラベAnd refer to the file label of the mass storage volume.
ル領域アクセスが最初であれば前記ファイルラベル領域If file area access is first, the file label area
を検索し前記ファイルラベル領域の使用済ラベル領域をSearch for the used label area of the file label area
フラグONとし未使用ラベル領域をフラグOFFとしてFlag ON and unused label area flag OFF
前記ファイルラベル領域の相対アドレスと対応させながWhile corresponding to the relative address of the file label area
ら前記フラグを前記相対アドレスの若番順に並べることThe flags in ascending order of the relative address
により空きラベル管理テーブルを作成する空きラベル管Empty label tube to create empty label management table
理テーブル作成手段と、上位プログラムから前記大容量Logical table creation means and the large capacity
記憶ボリューム上のファイル領域確保の要求を受けて前Before receiving a request to secure a file area on the storage volume
記大容量記憶ボリューム上に領域の確保を行うとともにWhile securing space on a large storage volume
前記ファイルラベル領域の空きラベルアドレス獲得指示Instruction for acquiring a free label address in the file label area
を出力し取得したラベルアドレスに前記確保したファイIs output to the obtained label address.
ルのファイルラベルを出力するファイル領域確保手段File area allocation means to output file label of file
と、空きラベルアドレス獲得指示を受けて前記空きラベAnd receiving the empty label address acquisition instruction,
ル管理テーブルを検索し前記フラグがOFFである位置Searches the file management table and finds the position where the flag is OFF.
を獲得し獲得した前記位置を前記大容量記憶ボリュームAnd the obtained position is stored in the mass storage volume.
の前記ファイルラベル領域の前記ラベルアドレスに変換To the label address of the file label area
する空きラベル検索手段とを備えたことを特徴とするフAnd a vacant label search means.
ァイルラベル領域の空きラベルアドレス取得方式。A method for acquiring an empty label address in the file label area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4257848A JP2953882B2 (en) | 1992-09-28 | 1992-09-28 | Free label address acquisition method for file label area |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4257848A JP2953882B2 (en) | 1992-09-28 | 1992-09-28 | Free label address acquisition method for file label area |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06110758A JPH06110758A (en) | 1994-04-22 |
| JP2953882B2 true JP2953882B2 (en) | 1999-09-27 |
Family
ID=17311996
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4257848A Expired - Fee Related JP2953882B2 (en) | 1992-09-28 | 1992-09-28 | Free label address acquisition method for file label area |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2953882B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2743857B2 (en) * | 1995-03-13 | 1998-04-22 | 日本電気株式会社 | Data area management system for area shared files |
-
1992
- 1992-09-28 JP JP4257848A patent/JP2953882B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| 「ACOSソフトウェア ACOS−4/MVP XE データ管理説明書」,第7版,日本電気株式会社,1989年9月,p.21−25 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06110758A (en) | 1994-04-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5740405A (en) | Method and system for providing data compatibility between different versions of a software program | |
| JP3548197B2 (en) | Multiple file name reference system | |
| US7577686B1 (en) | Dynamic table configuration in a virtual machine | |
| US5758352A (en) | Common name space for long and short filenames | |
| JP2002055995A (en) | Information processing method and apparatus | |
| JPH07104808B2 (en) | Method and apparatus for dynamic volume tracking in an installable file system | |
| JPH10198587A (en) | Method and apparatus for indirect addressing of a file system | |
| CN111414231A (en) | A method and device for mutual conversion between a virtual machine image and a container image | |
| US20030115221A1 (en) | Systems, methods, and computer program products to improve performance of ported applications, such as a database, operating on UNIX system services for the OS/390 | |
| US8898167B2 (en) | Method of accessing files in electronic devices | |
| US8612717B2 (en) | Storage system | |
| KR960032162A (en) | METHOD AND MEMORY FOR RECORDING AND STORING A STORAGE MEDIUM BASED ON PHYSICAL PARTITIONS | |
| US9971607B1 (en) | Method of accessing files in electronic devices | |
| JP2953882B2 (en) | Free label address acquisition method for file label area | |
| CN115374074A (en) | Log processing method and device, storage medium and electronic equipment | |
| JP2630103B2 (en) | File space reservation method | |
| JP2825839B2 (en) | Deadlock detection processing method | |
| JP2008186053A (en) | File management device, file management method and file management program | |
| JPS61248124A (en) | Input precedence control system | |
| JP2912657B2 (en) | File access processor | |
| JP2702356B2 (en) | Debug information access method | |
| JPH05233428A (en) | Data storage control system | |
| JPH05189393A (en) | Reset processing circuit | |
| JPH0793192A (en) | File management method | |
| JPS6125264A (en) | information processing equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19990629 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070716 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080716 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090716 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100716 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110716 Year of fee payment: 12 |
|
| LAPS | Cancellation because of no payment of annual fees |