JPH02118820A - Area control system for auxiliary memory - Google Patents

Area control system for auxiliary memory

Info

Publication number
JPH02118820A
JPH02118820A JP63272564A JP27256488A JPH02118820A JP H02118820 A JPH02118820 A JP H02118820A JP 63272564 A JP63272564 A JP 63272564A JP 27256488 A JP27256488 A JP 27256488A JP H02118820 A JPH02118820 A JP H02118820A
Authority
JP
Japan
Prior art keywords
area
auxiliary storage
storage device
area management
management program
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
JP63272564A
Other languages
Japanese (ja)
Inventor
Toru Suzuki
徹 鈴木
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 JP63272564A priority Critical patent/JPH02118820A/en
Publication of JPH02118820A publication Critical patent/JPH02118820A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To facilitate an area control by using an area control program stored at the time of using a certain auxiliary memory and controlling a storing area. CONSTITUTION:When the assigning request or a releasing request of an area on an auxiliary memory 2 is executed from a user program, etc., operated on a host computer 1, an area control program control means 111 in an OS 11 reads an area control program 200 from a control information area 20 of the auxiliary memory 2 of the requesting destination to an area control program and reads it to an executing area 12 and activates the read area control program 200. Then, based on the area control mode specified beforehand, the assignment or the release on the auxiliary memory 2 is executed, the result is delivered to the area control program control means 111, the processed result is received from the area control program 200, and then, it is transferred to the user program, etc., of the requesting source.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機システムにおいて使用される補助
記憶装置の記憶領域の割り当て等を管理する補助記憶装
置の領域管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an area management method for an auxiliary storage device used in a computer system, which manages storage area allocation, etc. of the auxiliary storage device.

〔従来の技術〕[Conventional technology]

一般に、電子計算機システムで使用される磁気ディスク
装置等の補助記+j!装置に対しては、オペレーティン
グシステム(O3)の領域管理機能によりファイル領域
や未使用領域の管理が行われており、ユーザはその機能
により補助記憶装置上に効果的に且つ容易にファイルの
領域を作成することが可能となっている。そして、従来
、上述のような補助記憶装置の領域管理は、O3自体に
組み込まれた領域管理プログラムによって実行されてい
た。
In general, supplementary notes on magnetic disk devices used in computer systems +j! For devices, file areas and unused areas are managed by the area management function of the operating system (O3), which allows users to effectively and easily allocate file areas on auxiliary storage devices. It is possible to create one. Conventionally, the area management of the auxiliary storage device as described above has been executed by an area management program built into O3 itself.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来はO3自体に組み込まれた領域管
理プログラムを使用して補助記憶装置の領域管理を行う
ので、個々の補助記憶装置毎に異なる領域管理形態を採
用してきめ細かな管理を行うといったことが難しいとい
う欠点があった。
As mentioned above, conventionally, the area management program built into O3 itself is used to manage the area of auxiliary storage devices, so a different area management form is adopted for each auxiliary storage device for detailed management. The drawback was that it was difficult to do so.

本発明はこのような事情に鑑みて為されたものであり、
その目的は、個々の補助記憶装置毎に異なる領域管理形
態を採用することが容易に行える補助記憶装置の領域管
理方式を提供することにあ〔課題を解決するための手段
〕 本発明は上記の口約を達成するために、電子計算機シス
テムにおける補助記憶装置の領域管理方式において、前
記補助記憶装置自体に前記補助記憶装置の記憶領域の管
理を司る領域管理プログラムを記憶させておき、前記補
助記憶装置の利用時、前記補助記憶装置に記憶された前
記領域管理プログラムを使用して前記補助記憶装置の記
憶領域の管理を行うようにしている。
The present invention has been made in view of these circumstances,
The purpose of the present invention is to provide an area management method for an auxiliary storage device that can easily adopt a different area management form for each individual auxiliary storage device. In order to achieve this, in an area management method for an auxiliary storage device in a computer system, an area management program that manages the storage area of the auxiliary storage device is stored in the auxiliary storage device itself, and the auxiliary storage device When the device is used, the storage area of the auxiliary storage device is managed using the area management program stored in the auxiliary storage device.

〔作用〕[Effect]

本発明の補助記憶装置の領域管理方式においては、電子
計算機システムで使用される個々の補助記憶装置自体に
その補助記憶装置の記憶領域の管理を司る領域管理プロ
グラムが記憶されており、成る補助記憶装置の利用時に
は、その補助記憶装置に記憶されている領域管理プログ
ラムが使用されて、その補助記憶装置の記憶領域の管理
が行われる。
In the area management method for an auxiliary storage device of the present invention, each auxiliary storage device used in a computer system stores an area management program that manages the storage area of the auxiliary storage device. When the device is used, an area management program stored in the auxiliary storage device is used to manage the storage area of the auxiliary storage device.

〔実施例〕〔Example〕

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

第1図は本発明の補助記憶装置の領域管理方式を適用し
た電子計算機システムの一例を示す要部ブロック図であ
り、ホストコンピュータlとこれに接続された補助記憶
装置2とで構成されている。
FIG. 1 is a block diagram showing an example of a computer system to which the auxiliary storage area management method of the present invention is applied, and is composed of a host computer 1 and an auxiliary storage 2 connected thereto. .

この補助記憶装面2が本発明の領域管理方式によって記
憶令頁域の管理対象となる補助記憶装置である。また、
ホストコンピュータ1内には、補助記憶装置初期化手段
lOと、領域管理プログラム制御手段111を含む03
11と、領域管理プログラム読み込みおよび実行領域1
2とが設けられ、補助記憶装置2には領域管理プログラ
ム200が格納された制御情報域20が存在する。
This auxiliary storage surface 2 is an auxiliary storage device whose storage area is to be managed by the area management method of the present invention. Also,
The host computer 1 includes an auxiliary storage device initialization means 1O and an area management program control means 111.
11 and area management program loading and execution area 1
2 is provided, and the auxiliary storage device 2 has a control information area 20 in which an area management program 200 is stored.

ホストコンピュータ1に設けられた補助記憶装置初期化
手段10は、補助記憶装置2を初期化するに際して、補
助記憶値W2の領域管理を司る領域管理プログラムを補
助記憶装置2に書き込む機能を持つ、一般に補助記憶装
置の記憶領域はVTOC等の制御情報域20とそれ以外
のユーザファイル等が作成される領域とに区分されるが
、本実施例では制御情報域20に領域管理プログラム2
00を格納するようにしている。
The auxiliary storage device initialization means 10 provided in the host computer 1 generally has a function of writing an area management program that manages the area of the auxiliary storage value W2 into the auxiliary storage device 2 when initializing the auxiliary storage device 2. The storage area of the auxiliary storage device is divided into a control information area 20 such as VTOC and an area where other user files etc. are created. In this embodiment, the area management program 2 is placed in the control information area 20.
00 is stored.

また、ホストコンピュータ1のosll内に設けられた
領域管理プログラム制御手段111は、補助記憶装置2
に格納された領域管理プログラム200の実行制御を行
うものであり、領域管理プログラム読み込みおよび実行
頭域12は文字通り補助記憶装置2上の領域管理プログ
ラム200が読み込まれ実行される領域である。
Further, the area management program control means 111 provided in the OSLL of the host computer 1 controls the auxiliary storage device 2.
The area management program reading and execution area 12 is literally an area where the area management program 200 on the auxiliary storage device 2 is read and executed.

第2図は補助記憶装置初期化手段10の処理例の流れ図
、第3図は領域管理プログラム制御手段111および領
域管理プログラム200の処理例の流れ図であり、以下
各図を参照して本実施例の動作を説明する。
FIG. 2 is a flowchart of a processing example of the auxiliary storage device initialization means 10, and FIG. 3 is a flowchart of a processing example of the area management program control means 111 and the area management program 200. Explain the operation.

補助記憶装置2を使用するにあたっては、それを初期化
する必要がある0本発明ではその初期化時に併せて補助
記憶装置2で使用する領域管理プログラム200を補助
記憶装置2に格納するようにしている。すなわち、補助
記憶装置2の初期化時、補助記憶装置初期化手段10は
、第2図に示すように補助記憶装置2を従来と同様に初
期化しくステップS1)、次に制御情報域2oに領域管
理プログラムの領域を確保し、この確保した領域に補助
記憶装置2で使用する領域管理プログラム200を書き
込む(ステップs2)、これで、補助記憶装置2の初期
化が終了し、使用が可能となる。
When using the auxiliary storage device 2, it is necessary to initialize it. In the present invention, the area management program 200 used in the auxiliary storage device 2 is stored in the auxiliary storage device 2 at the same time as the initialization. There is. That is, when initializing the auxiliary storage device 2, the auxiliary storage device initialization means 10 initializes the auxiliary storage device 2 as shown in FIG. An area for the area management program is secured, and the area management program 200 to be used in the auxiliary storage device 2 is written in this secured area (step s2). This completes the initialization of the auxiliary storage device 2 and makes it usable. Become.

次に、補助記憶装置2の領域管理は次のようにして行わ
れる。ホストコンピュータ1上でe 作するユーザプロ
グラム等から補助記憶装置2上の領域の割り当て要求あ
るいは解放要求が出されると、03II中の領域管理プ
ログラム制御手段111は、要求先の補助記憶装置2の
制御情報域2oがら領域管理プログラム200を領域管
理プログラム読み込みおよび実行領域12に読み込み(
ステップ5IO)、この読み込んだ領域管理プログラム
200を起動する(ステップ511)。
Next, area management of the auxiliary storage device 2 is performed as follows. When a user program created on the host computer 1 issues a request to allocate or release an area on the auxiliary storage device 2, the area management program control means 111 in 03II controls the auxiliary storage device 2 that is the request destination. Loading the area management program 200 from the information area 2o and loading it into the execution area 12 (
Step 5IO), this read area management program 200 is activated (Step 511).

起動された領域管理プログラム200は、予め定められ
た領域管理形態に基づき、上記の割り当て要求あるいは
解放要求にしたがって補助記憶装置2上の記憶9I域の
割り当て或いは解放を行い、結果を領域管理プログラム
制御手段111に渡すくステップ512)。
The activated area management program 200 allocates or releases the storage 9I area on the auxiliary storage device 2 in accordance with the above allocation request or release request based on a predetermined area management form, and controls the area management program based on the result. Step 512).

領域管理プログラム制御手段111は、領域管理プログ
ラム200から処理結果を受は取ると、それを要求元の
ユーザプログラム等に渡しくステップ513)、処理を
終了する。
When the area management program control means 111 receives the processing result from the area management program 200, it passes it to the requesting user program (step 513), and ends the process.

以上のようにして、ユーザプログラム等からの領域の割
り当て要求あるいは解放要求が処理され、補助記憶装置
2の領域管理が実現される。
As described above, area allocation requests or release requests from user programs and the like are processed, and area management of the auxiliary storage device 2 is realized.

なお、本実施例では採用していないが、たとえば割り当
て要求あるいは解放要求の頻繁に発生するシステムにお
いては、第3図のステップSIOで実行した領域管理プ
ログラム読み込みおよび実行頭域12への領域管理プロ
グラム200の読み込み処理を、システム初期化時に行
い、領域管理プログラム200をメモリに常駐させ、割
り当て解放における処理の高速化をはかること等の各種
の付加変更が可能である。
Although not adopted in this embodiment, for example, in a system where allocation requests or release requests occur frequently, the loading of the area management program and the loading of the area management program to the execution area 12 executed in step SIO in FIG. Various additional changes can be made, such as performing read processing of 200 at the time of system initialization, making the area management program 200 resident in memory, and speeding up processing in allocation release.

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

以上説明したように、本発明の補助記憶装置の領域管理
方式においては、領域管理プログラムを個々の補助記憶
装置に記憶させておき、成る補助記憶装置の利用時には
その補助記憶装置に記憶された領域管理プログラムを使
用してその補助記憶装置の記i!!iI域の管理を行う
ようにしたので、個々の補助記憶装置に合致した適切な
形態で領域管理を行うといったことが容易にできるとい
う効果がある。
As explained above, in the area management method of the auxiliary storage device of the present invention, an area management program is stored in each auxiliary storage device, and when the auxiliary storage device is used, the area stored in the auxiliary storage device is Use the management program to record the auxiliary storage device! ! Since the iI area is managed, it is possible to easily manage the area in an appropriate form that matches each auxiliary storage device.

また、個々の補助記憶装置の領域管理に使用する領域管
理プログラムはその補助記憶装置自体に記憶されている
ため、補助記憶装置と領域管理プログラムとの対応が明
確となり、誤った領域管理プログラムを使用する戊は皆
無となる。
In addition, since the area management program used to manage the area of each auxiliary storage device is stored in the auxiliary storage device itself, the correspondence between the auxiliary storage device and the area management program is clear, and it is possible to avoid using the wrong area management program. There will be no one left to do so.

更に、O8自体から領域管理プログラムを取り除いて両
者を独立させた為、O3のサイズを小さくすることがで
き、また個々の補助記憶装置の領域管理形態を意識する
必要がなくなる。このため、例えばO3のレビジョン時
、従来のように新O3に旧O8で採用されていた領域管
理プログラムも併せ持たせることや、個々の補助記憶装
置が旧O8で管理されたものであるか判断させる等の処
理が不要となる。
Furthermore, since the area management program is removed from the O8 itself and the two are made independent, the size of the O3 can be reduced, and there is no need to be aware of the area management format of each auxiliary storage device. For this reason, for example, when revising O3, it is necessary to make the new O3 also include the area management program used in the old O8, and to determine whether each auxiliary storage device was managed by the old O8. This eliminates the need for processing such as

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

第1図は本発明の補助記憶装置の領域管理方式を適用し
た電子計算機システムの一例を示す要部ブロック図、 第2図は補助記憶装置初期化手段10の処理例の流れ図
および、 第3図は領域管理プログラム制御手段111および領域
管理プログラム200の処理例の流れ図である。 図において、 1・・・ホストコンピュータ 10・・・補助記憶装置初期化手段 11・・・オペレーティングシステム(O3)12・・
・領域管理プログラム読み込みおよび実行領域 111・・・領域管理プログラム制御手段2・・・補助
記憶装置 20・・・制御情報域(VTOC) 200・・・領域管理プログラム
FIG. 1 is a block diagram of main parts showing an example of a computer system to which the auxiliary storage device area management method of the present invention is applied; FIG. 2 is a flowchart of an example of processing by the auxiliary storage device initialization means 10; is a flowchart of an example of processing by the area management program control means 111 and the area management program 200. In the figure, 1... host computer 10... auxiliary storage device initialization means 11... operating system (O3) 12...
- Area management program reading and execution area 111... Area management program control means 2... Auxiliary storage device 20... Control information area (VTOC) 200... Area management program

Claims (1)

【特許請求の範囲】 電子計算機システムにおける補助記憶装置の領域管理方
式において、 前記補助記憶装置自体に前記補助記憶装置の記憶領域の
管理を司る領域管理プログラムを記憶させておき、 前記補助記憶装置の利用時、前記補助記憶装置に記憶さ
れた前記領域管理プログラムを使用して前記補助記憶装
置の記憶領域の管理を行うようにしたことを特徴とする
補助記憶装置の領域管理方式。
[Claims] In an area management method for an auxiliary storage device in a computer system, the auxiliary storage device itself stores an area management program that manages the storage area of the auxiliary storage device; An area management method for an auxiliary storage device, characterized in that, when used, the storage area of the auxiliary storage device is managed using the area management program stored in the auxiliary storage device.
JP63272564A 1988-10-28 1988-10-28 Area control system for auxiliary memory Pending JPH02118820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63272564A JPH02118820A (en) 1988-10-28 1988-10-28 Area control system for auxiliary memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63272564A JPH02118820A (en) 1988-10-28 1988-10-28 Area control system for auxiliary memory

Publications (1)

Publication Number Publication Date
JPH02118820A true JPH02118820A (en) 1990-05-07

Family

ID=17515663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63272564A Pending JPH02118820A (en) 1988-10-28 1988-10-28 Area control system for auxiliary memory

Country Status (1)

Country Link
JP (1) JPH02118820A (en)

Similar Documents

Publication Publication Date Title
US5526523A (en) Interface between operating system and operating system extension
JP2005501317A (en) External data storage management system and method
US20080229040A1 (en) Network storage system, management method therefor, and control program product therefor
JP2008065445A (en) Computer system for saving storage area by integrating same data, storage systems and those control method
JPS6367685B2 (en)
JPH02118820A (en) Area control system for auxiliary memory
JP2005099971A (en) Input/output control method of virtual tape device
JP2000242437A (en) Storage device system for preparing copy of data
WO2021015174A1 (en) Storage management device, storage management method and program
JPH08147062A (en) Password collating method of computer
JPH052456A (en) Information storing method for storing media and system therefor
JPS61245253A (en) Input and output control system for virtual computer
JPH0337748A (en) External storage accessing system utilizing main storage
JP3301551B2 (en) Data processing device with sorting function
JPH0394346A (en) Method for expanding buffer
JP2915612B2 (en) Shared area management method
JPH0652028A (en) Film managing device
JPH09293007A (en) Program install device
JPH10124400A (en) Data processor and method for accessing data recording medium
JP3087274B2 (en) File exclusion control system
JPH0695945A (en) Transfer system for work file
JP2966431B2 (en) File area clear method in information processing device
JPH0289119A (en) Data processor
JPH03257521A (en) Medium copy system
JPH0392944A (en) Data updating system for sequential file