JPH02222025A - Collective input/output processing system for file label - Google Patents
Collective input/output processing system for file labelInfo
- Publication number
- JPH02222025A JPH02222025A JP1043665A JP4366589A JPH02222025A JP H02222025 A JPH02222025 A JP H02222025A JP 1043665 A JP1043665 A JP 1043665A JP 4366589 A JP4366589 A JP 4366589A JP H02222025 A JPH02222025 A JP H02222025A
- Authority
- JP
- Japan
- Prior art keywords
- file
- labels
- input
- label
- output
- 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
Links
- 238000003672 processing method Methods 0.000 claims description 11
- 238000000034 method Methods 0.000 abstract description 9
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はファイルラベル一括入出力処理方式に関し、特
にディスク装置上のファイルのオープン/クローズ処理
時におけるファイルラベル一括入出力処理方式に関する
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a file label batch input/output processing method, and more particularly to a file label batch input/output processing method during open/close processing of files on a disk device.
従来より、ディスクのファイルラベルとしては、ファイ
ルとそれを構成する3つまでのエクステント情報とを記
述する形式Iラベル(以下、ファイルラベルFLIと記
す)と、索引順編成と待機結合編成とに特有なファイル
ラベルでそのファイルに固有な情報を記述する形式2ラ
ベル(以下、ファイルラベルFL2と記す)ヨ、ファイ
ルが4つ以上のエクステントからなるときに4番目以降
のエクステント情報を記述する形式ラベル3(以下、フ
ァイルラベルPL3と記す)とが存在する。Traditionally, disk file labels have been format I labels (hereinafter referred to as file labels FLI) that describe a file and information on up to three extents that make up the file, and format I labels that are unique to index sequential organization and standby join organization. Format 2 label (hereinafter referred to as file label FL2) that describes information specific to the file with a file label, and Format label 3 that describes extent information after the fourth extent when the file consists of four or more extents. (hereinafter referred to as file label PL3) exists.
従来のファイルラベル入出力処理方式では、例えば、セ
クタ方式で1セクタ256バイトの磁気ディスクでは、
ファイルラベルが1セクタに1つずつしか入れられてい
なかったので、ユーザプログラムよりファイルのオープ
ン/クローズ処理が要求されたときに磁気ディスクに対
してファイルラベルの入出力を行おうとすると、1ファ
イルに複数のファイルラベル(例えば、ファイルラベル
FLI、FL2およびFL3)が存在する場合には、フ
ァイルラベルの入出力を複数回に分けて行わなければな
らなかった。With the conventional file label input/output processing method, for example, on a magnetic disk with one sector of 256 bytes using the sector method,
Since only one file label was stored in each sector, when a user program requested file open/close processing and tried to input/output a file label to/from the magnetic disk, only one file was stored. When a plurality of file labels (for example, file labels FLI, FL2, and FL3) exist, input and output of the file labels had to be performed in multiple steps.
上述した従来のファイルラベルの入出力処理方式では、
ディスクの1セクタに1ファイルラベルずつしか格納さ
れていなかったので、ファイルのオーブン/クローズ処
理時にファイルラベルの入出力を行おうとしたときに1
ファイルラベルずつしか入出力できず、1ファイルに複
数のファイルラベルが存在する場合にはファイルラベル
の入力。In the conventional file label input/output processing method described above,
Since only one file label was stored in each sector of the disk, when attempting to input/output a file label during file opening/closing processing, one
Only one file label can be input/output, and if one file has multiple file labels, input the file label.
出力およびサーチを複数回に分けて行わなければならな
いという欠点がある。The disadvantage is that the output and search must be performed in multiple steps.
本発明の目的は、上述の点に鑑み、ディスクの1セクタ
に1ファイルラベルを格納した場合にはセクタ内に空き
領域ができることに着目して、1セクタに1ファイルの
複数のファイルラベルを格納するようにしたファイルラ
ベル一括入出力処理方式を提供することにある。In view of the above-mentioned points, an object of the present invention is to store multiple file labels of one file in one sector by focusing on the fact that when one file label is stored in one sector of a disk, free space is created in the sector. The object of the present invention is to provide a file label batch input/output processing method that allows
本発明のファイルラベル一括入出力処理方式は、ディス
ク装置上にファイルを有する計算機システムにおいて、
1セクタに複数のファイルラベルが格納可能なディスク
と、ファイルのオーブン/クローズ処理を行うファイル
オーブン/クローズ処理手段と、このファイルオープン
/クローズ処理手段によるファイルのオーブン/クロー
ズ処理時に前記ディスクに対して1ファイルの複数のフ
ァイルラベルをセクタ単位で一括して入出力するファイ
ルラベル入出力手段とを有する。The file label batch input/output processing method of the present invention is applicable to a computer system having files on a disk device.
A disk capable of storing a plurality of file labels in one sector, a file oven/close processing means for performing file opening/closing processing, and a file opening/closing processing means for performing file opening/closing processing on the disk. It has a file label input/output means for collectively inputting/outputting a plurality of file labels of one file in units of sectors.
本発明のファイルラベル一括入出力処理方式では、ディ
スクの1セクタに複数のファイルラベルが格納可能であ
り、ファイルオープン/クローズ処理手段がファイルの
オープン/クローズ処理を行い、ファイルラベル入出力
手段がファイルオープン/クローズ処理手段によるファ
イルのオーブン/クローズ処理時にディスクに対して1
ファイルの複数のファイルラベルをセクタ単位で一括し
て入出力する。In the file label batch input/output processing method of the present invention, multiple file labels can be stored in one sector of a disk, the file open/close processing means performs file open/close processing, and the file label input/output means performs file open/close processing. 1 for the disk during file opening/closing processing by the open/close processing means.
Batch input/output of multiple file labels of a file in sector units.
次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明の一実施例に係るファイルラベル一括
入出力処理方式の構成を示すブロック図である0本実施
例のファイルラベル一括入出力処理方式は、ユーザプロ
グラム1と、ファイルオープン/クローズ処理手段2と
、ファイルラベル入出力手段3と、磁気ディスク4とか
ら構成されている。FIG. 1 is a block diagram showing the configuration of a file label batch input/output processing method according to an embodiment of the present invention. It is composed of a close processing means 2, a file label input/output means 3, and a magnetic disk 4.
ファイルオープン/クローズ処理手段2は、磁気ディス
ク4のファイル領域に格納されたファイルに対するオー
プン/クローズ処理を行う手段である。The file open/close processing means 2 is a means for performing open/close processing on files stored in the file area of the magnetic disk 4.
ファイルラベル入出力手段3は、ファイルオープン/ク
ローズ処理手段2によるファイルのオーブン/クローズ
処理時に磁気ディスク4に対して1ファイルの複数のフ
ァイルラベルをセクタ単位で一括して入出力する手段で
ある。The file label input/output means 3 is a means for collectively inputting and outputting a plurality of file labels of one file in sector units to the magnetic disk 4 when the file open/close processing means 2 performs file opening/closing processing.
磁気ディスク4は、1セクタに複数のファイルラベルが
格納可能な磁気ディスクである。The magnetic disk 4 is a magnetic disk that can store a plurality of file labels in one sector.
次に、このように構成された本実施例のファイルラベル
一括入出力処理方式の動作について説明する。Next, the operation of the file label batch input/output processing method of this embodiment configured as described above will be explained.
(1)まず、ユーザプログラム1より、例えばファイル
Aに対するオーブン処理要求があった場合には、ファイ
ルオープン/クローズ処理手段2は、指定された外部フ
ァイル名のファイルラベルの入力をファイルラベル入出
力手段3に要求する。(1) First, when there is an oven processing request for file A from the user program 1, the file open/close processing means 2 inputs the file label of the specified external file name to the file label input/output means. Request 3.
ファイルラベル入出力手段3は、磁気ディスク4のファ
イルラベル領域の1セクタ内にファイルAの複数のファ
イルラベルFLI、FL2およびFL3が一緒に格納さ
れているので、ファイルAの複数のファイルラベルFL
I、FL2およびFL3をセクタ単位で一括して入力す
る0次に、ファイルラベル入出力手段3は、−括して入
力したファイルAの複数のファイルラベルFLI、FL
2およびFL3をファイルオープン/クローズ処理手段
2に渡す。Since a plurality of file labels FLI, FL2, and FL3 of file A are stored together in one sector of the file label area of the magnetic disk 4, the file label input/output means 3 is configured to output a plurality of file labels FLI, FL2, and FL3 of file A.
Next, the file label input/output means 3 inputs multiple file labels FLI, FL of file A that are input in batches.
2 and FL3 to the file open/close processing means 2.
ファイルオープン/クローズ処理手段2は、ファイルラ
ベル入出力手段3から渡されたファイルへの複数のファ
イルラベルFLI、FL2およびFL3に基づいてファ
イルAのオープン処理を行う、ファイルAのオープン処
理が終了すると、ファイルオーブン/クローズ処理手段
2は、その旨をユーザプログラムエに通知する。The file open/close processing means 2 performs the open processing of the file A based on the plurality of file labels FLI, FL2, and FL3 for the file passed from the file label input/output means 3, and when the open processing of the file A is completed. , the file oven/close processing means 2 notifies the user programmer of this fact.
(2)また、ユーザプログラム1より、例えばファイル
Aに対するクローズ処理要求があった場合には、ファイ
ルオーブン/クローズ処理手段2は、指定された外部フ
ァイル名のファイルラベルの入力をファイルラベル入出
力手段3に要求する。(2) Furthermore, when the user program 1 issues a close processing request for, for example, file A, the file oven/close processing means 2 inputs the file label of the specified external file name to the file label input/output means. Request 3.
ファイルラベル入出力手段3は、磁気ディスク4のファ
イルラベル領域の1セクタ内にファイルAの複数のファ
イルラベルFLI、FL2およびFL3が一緒に格納さ
れているので、ファイルへの複数のファイルラベルFL
1.FL2およびFL3をセクタ単位で一括して入力す
る0次に、ファイルラベル入出力手段3は、−括して人
力したファイルへの複数のファイルラベルFL1.FL
2およびFL3をファイルオーブン/クローズ処理手段
2に渡す。Since multiple file labels FLI, FL2, and FL3 of file A are stored together in one sector of the file label area of the magnetic disk 4, the file label input/output means 3 is capable of inputting multiple file labels FLI, FL2, and FL3 to the file.
1. Next, the file label input/output means 3 inputs a plurality of file labels FL1 . FL
2 and FL3 to the file oven/close processing means 2.
ファイルオーブン/クローズ処理手段2は、ファイルラ
ベル入出力手段3から渡されたファイルAの複数のファ
イルラベルFLI、FL2およびFL3に基づいてファ
イルAのクローズ処理を行う。ファイルAのクローズ処
理が終了すると、ファイルオーブン/クローズ処理手段
2は、その旨をユーザプログラム1に通知する。また、
このとき、ファイルAの複数のファイルラベルFLIF
L2およびFL3の一部または全部を変更するti合に
は、ファイルオーブン/クローズ処理手段2は、変更す
るファイルラベルFLI、FL2およびFL3をファイ
ルラベル入出力手段3に渡す。The file oven/close processing means 2 performs the close processing of the file A based on the plurality of file labels FLI, FL2, and FL3 of the file A passed from the file label input/output means 3. When the closing process for file A is completed, the file oven/close processing means 2 notifies the user program 1 to that effect. Also,
At this time, multiple file labels FLIF of file A
When changing part or all of L2 and FL3, the file oven/close processing means 2 passes the file labels FLI, FL2 and FL3 to be changed to the file label input/output means 3.
ファイルラベル入出力処理手段3は、ファイルオーブン
/クローズ処理手段2から渡されたファイルAのファイ
ルラベルFLI、FL2およびFL3を磁気ディスク4
に対してセクタ単位で一括出力する。The file label input/output processing means 3 transfers the file labels FLI, FL2, and FL3 of the file A passed from the file oven/close processing means 2 to the magnetic disk 4.
output in sectors at once.
なお、上記実施例ではディスクを磁気ディスク4とした
が、光ディスク、光磁気ディスク等の他の種類のディス
クであっても本発明が同様に適用できることはいうまで
もない。In the above embodiment, the disk is the magnetic disk 4, but it goes without saying that the present invention is equally applicable to other types of disks such as optical disks and magneto-optical disks.
また、磁気ディスク4の1セクタに1ファイルの複数の
ファイルラベルFLI、FL2およびFL3が一括して
格納可能な場合を例にとって説明したが、1ファイルの
複数のファイルラベルがすべて一括して格納可能でない
場合には、ファイルラベルを複数セクタに分けて格納し
てもよいことはもちろんである。In addition, although we have explained the case where multiple file labels FLI, FL2, and FL3 of one file can be stored at once in one sector of the magnetic disk 4, it is also possible to store all the multiple file labels of one file at once. If not, it goes without saying that the file label may be stored in multiple sectors.
さらに、磁気ディスク4の1セクタに1ファイルの複数
のファイルラベルFLI、FL2およびFL3を一括し
て格納する手段は、かならずしもファイルラベル入出力
手段3に限られず、ユーティリティプログラム等を用い
て磁気ディスク4の1セクタに1ファイルの複数のファ
イルラベルFLl、FL2およびFL3を一括して格納
することもできる。Further, the means for collectively storing a plurality of file labels FLI, FL2, and FL3 of one file in one sector of the magnetic disk 4 is not necessarily limited to the file label input/output means 3, but can be stored on the magnetic disk 4 using a utility program or the like. It is also possible to store a plurality of file labels FLl, FL2, and FL3 of one file all at once in one sector.
以上説明したように本発明は、ディスクの1セクタに1
ファイルの複数のファイルラベルを格納することにより
、従来のようにファイルのオープン/クローズ処理時に
複数のファイルラベルをおのおの一度ずつにわけて人出
力しなくても、−度の入出力処理で複数のファイルラベ
ルを一括して人出力できる効果がある。As explained above, according to the present invention, one sector of the disk has one
By storing multiple file labels of a file, you do not have to manually output multiple file labels each once during file open/close processing as in the past, It has the effect of being able to output file labels all at once.
第1図は本発明の一実施例に係るファイルラベル一括入
出力処理方式の構成を示すブロック図である。
図において、
1・・・ユーザプログラム、
2・・・ファイルオーブン/クローズ処理手段、3・・
・ファイルラベル入出力手段、
4・・・磁気ディスクである。FIG. 1 is a block diagram showing the configuration of a file label batch input/output processing method according to an embodiment of the present invention. In the figure, 1...user program, 2...file oven/close processing means, 3...
-File label input/output means, 4...magnetic disk.
Claims (1)
いて、 1セクタに複数のファイルラベルが格納可能なディスク
と、 ファイルのオープン/クローズ処理を行うファイルオー
プン/クローズ処理手段と、 このファイルオープン/クローズ処理手段によるファイ
ルのオープン/クローズ処理時に前記ディスクに対して
1ファイルの複数のファイルラベルをセクタ単位で一括
して入出力するファイルラベル入出力手段と を有することを特徴とするファイルラベル一括入出力処
理方式。[Scope of Claim] A computer system having files on a disk device, comprising: a disk capable of storing a plurality of file labels in one sector; a file open/close processing means for performing file open/close processing; File label batching comprising: file label input/output means for collectively inputting/outputting a plurality of file labels of one file to/from the disk in sector units during file open/close processing by the closing processing means; Input/output processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1043665A JPH02222025A (en) | 1989-02-23 | 1989-02-23 | Collective input/output processing system for file label |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1043665A JPH02222025A (en) | 1989-02-23 | 1989-02-23 | Collective input/output processing system for file label |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02222025A true JPH02222025A (en) | 1990-09-04 |
Family
ID=12670148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1043665A Pending JPH02222025A (en) | 1989-02-23 | 1989-02-23 | Collective input/output processing system for file label |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02222025A (en) |
-
1989
- 1989-02-23 JP JP1043665A patent/JPH02222025A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02222025A (en) | Collective input/output processing system for file label | |
CN109977097A (en) | A kind of network configuration management method and system based on database | |
JPH0218635A (en) | Decentralized process file control system | |
JPH02222028A (en) | Open system for designation of file label address of optical disk file | |
JPH0296277A (en) | Picture data control system | |
JPH03174622A (en) | Disk duplexing control system | |
JPS60254342A (en) | Controlling method of resources in using | |
JPH0675833A (en) | File managing device | |
JPH02165359A (en) | Data processing system | |
JPH04260141A (en) | Data shared processor | |
JPH03294937A (en) | Physical file coupling processing system | |
JPS59177662A (en) | Optimizing system of exclusive unit in exclusive control | |
JPS59180763A (en) | System for accessing data base system | |
JP2708762B2 (en) | User resource sharing management device | |
JPS62160547A (en) | Volume control system of secondary storage device | |
JPS62283470A (en) | Area management system for optical disk medium by high speed secondary storage device | |
JPH0398137A (en) | File back-up system | |
JPH02190947A (en) | File access processing system in system mounting different operating systems | |
JPH02224156A (en) | File saving system | |
JPH05274334A (en) | System of grasping customer information for each person in charge in banking business | |
JPH03147150A (en) | Data processing system | |
JPH0285939A (en) | Controller for open request of shared file | |
JPH044438A (en) | System for utilizing data base buffer | |
JPH04232542A (en) | Data base retrieval system | |
JPH04102172A (en) | Information retrieving system |