JPH0659948A - File management system - Google Patents

File management system

Info

Publication number
JPH0659948A
JPH0659948A JP4214807A JP21480792A JPH0659948A JP H0659948 A JPH0659948 A JP H0659948A JP 4214807 A JP4214807 A JP 4214807A JP 21480792 A JP21480792 A JP 21480792A JP H0659948 A JPH0659948 A JP H0659948A
Authority
JP
Japan
Prior art keywords
unused area
file
area
storage device
unused
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
JP4214807A
Other languages
Japanese (ja)
Inventor
Tokihiro Ito
時博 伊藤
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido Ltd
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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP4214807A priority Critical patent/JPH0659948A/en
Publication of JPH0659948A publication Critical patent/JPH0659948A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To rapidly retrieve an unused area by preparing an unused area management storing area in a main storage, and retrieving the unused area management storing area in the main storage at the time of requiring the retrieval of the unused area. CONSTITUTION:A reading/writing procedure part 15 reads out the file label of a file storage device 13. An unused area editing procedure part 16 edits an unused area from the file start and end positions of the read file label and stores the edited result in the unused area management storing area 18 of the main storage 11. When it is necessary to retrieve the unused area at the time of preparing a file, an unused area retrieving procedure part 17 retrieves the unused area from the storing area 18. Since the storing area 18 is prepared in the main storage 11, the unused area can rapidly be retrieved at the time of preparing the file.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ファイル管理方式に関
し、特に電子計算機システムのファイル管理方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management system, and more particularly to a file management system for an electronic computer system.

【0002】[0002]

【従来の技術】一般にファイル記憶装置を採用している
電子計算機システムでは、ファイル記憶装置のデータ領
域の一部に、ファイル記憶装置の未使用領域を検索する
ための未使用領域管理格納域を有している。
2. Description of the Related Art Generally, in an electronic computer system employing a file storage device, an unused area management storage area for searching an unused area of the file storage device is provided in a part of the data area of the file storage device. is doing.

【0003】従来のファイル管理方式は図2に示すよう
にファイル記憶装置制御プログラム24を持つ主記憶2
1、ファイル記憶装置コントローラ22およびファイル
記憶装置23を有している。ファイル記憶装置制御プロ
グラム24は読み込み書き込み手続き部25、未使用領
域編集手続き部26および未使用領域検索手続き部27
を有しており、ファイル記憶装置23は未使用領域管理
格納域28に接続されている。
A conventional file management system is a main memory 2 having a file storage device control program 24 as shown in FIG.
1, a file storage device controller 22 and a file storage device 23. The file storage device control program 24 includes a read / write procedure section 25, an unused area edit procedure section 26, and an unused area search procedure section 27.
The file storage device 23 is connected to the unused area management storage area 28.

【0004】主記憶21は実行プログラムのロードやバ
ッファとして使用するためのメモリである。ファイル記
憶装置コントローラ22はファイル記憶装置を制御する
ハードウェアである。ファイル記憶装置23はファイル
データが格納されている。ファイル記憶装置制御プログ
ラム24は主記憶21にロードされ、ファイル記憶装置
23をファイル記憶装置コントローラ22を介して制御
する。読み込み書き込み手続き部25はファイル記憶装
置23のファイルデータの読み込み及び、書き込む機能
を持つ。未使用領域編集手続き部26は読み込み書き込
み手続き部25によって読み込まれたファイルラベルの
情報を編集して、ファイル記憶装置23の未使用領域管
理格納域28に書き込む機能をもつ。未使用領域検索手
続き部27は、ファイル記憶装置23の未使用領域管理
格納域28を読み込み、未使用領域の検索を行う機能を
もつ。
The main memory 21 is a memory for loading an execution program and using it as a buffer. The file storage device controller 22 is hardware that controls the file storage device. The file storage device 23 stores file data. The file storage device control program 24 is loaded into the main memory 21, and controls the file storage device 23 via the file storage device controller 22. The read / write procedure unit 25 has a function of reading and writing file data in the file storage device 23. The unused area editing procedure section 26 has a function of editing the information of the file label read by the read / write procedure section 25 and writing it in the unused area management storage area 28 of the file storage device 23. The unused area search procedure unit 27 has a function of reading the unused area management storage area 28 of the file storage device 23 and searching for an unused area.

【0005】次にこのファイル管理方式の動作を説明す
る。読み込み書き込み手続き部25がファイル記憶装置
23のファイルラベルを読み込む。未使用領域編集手続
き部26は、読み込まれたファイルラベルのファイル開
始位置とファイル終了位置から未使用領域を編集し、フ
ァイル記憶装置23の未使用領域管理格納域28に書き
込む。次にファイル作成時に未使用領域を検索する必要
がある時は、未使用領域検索検索手続き部27がファイ
ル記憶装置23の未使用領域管理格納域28を読み込
み、未使用領域を検索する。
Next, the operation of this file management system will be described. The read / write procedure unit 25 reads the file label of the file storage device 23. The unused area editing procedure unit 26 edits the unused area from the file start position and the file end position of the read file label, and writes it in the unused area management storage area 28 of the file storage device 23. Next, when it is necessary to search for an unused area when creating a file, the unused area search search procedure unit 27 reads the unused area management storage area 28 of the file storage device 23 and searches for an unused area.

【0006】[0006]

【発明が解決しようとする課題】従来のファイル管理方
式では、ファイル記憶装置のデータ領域の一部にファイ
ル記憶装置の未使用領域を検索するための未使用領域管
理格納域を有しているため、未使用領域の検索に未使用
領域管理格納域を読み込む時間を要するという欠点があ
る。
The conventional file management system has an unused area management storage area for searching an unused area of the file storage device in a part of the data area of the file storage device. However, there is a drawback that it takes time to read the unused area management storage area for searching the unused area.

【0007】本発明の目的は以上の欠点を解消して、未
使用領域の検索を高速で行うファイル管理方式を提供す
ることにある。
An object of the present invention is to solve the above-mentioned drawbacks and to provide a file management system which searches an unused area at high speed.

【0008】[0008]

【課題を解決するための手段】本発明の方式では、ファ
イル記憶装置上の未使用領域情報を主記憶上に持つ未使
用領域管理格納域と、ファイル記憶装置上のファイルラ
ベル及びデータをファイル記憶装置コントローラを介し
て読み込む読み込み手続き部及び、書き込む書き込み手
続き部と、前記手続き部より読み込んだファイルラベル
情報から、主記憶上の未使用領域管理格納域を編集す
る、未使用領域編集手続き部と、前記未使用領域管理格
納域から未使用領域の情報を検索する、未使用領域検索
手続き部とを備えたことを特徴とするファイル記憶装置
制御プログラムによる構成される。
According to the method of the present invention, an unused area management storage area having unused area information on the file storage device in the main storage, and a file label and data on the file storage device are stored in the file storage device. A read procedure section for reading through the device controller, a write procedure section for writing, and an unused area edit procedure section for editing the unused area management storage area on the main memory from the file label information read by the procedure section, An unused area search procedure unit for searching the unused area management storage area for unused area information is provided.

【0009】[0009]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0010】図1は本発明の一実施例のファイル管理方
式を示すブロック図である。図1において、本発明の一
実施例は主記憶11、ファイル記憶装置コントローラ1
2およびファイル記憶装置13を有しており、、ファイ
ル記憶装置制御プログラム14は主記憶11内に有して
いて、読み込み書き込み手続き部15、未使用領域編集
手続き部16および未使用領域検索手続部17を制御
し、未使用領域編集手続き部16および検索手続き部1
7は未使用領域管理格納域18を制御するように接続さ
れている。
FIG. 1 is a block diagram showing a file management system according to an embodiment of the present invention. In FIG. 1, one embodiment of the present invention is a main memory 11 and a file storage device controller 1.
2 and a file storage device 13, and a file storage device control program 14 in the main memory 11, a read / write procedure section 15, an unused area editing procedure section 16 and an unused area search procedure section. 17 to control the unused area editing procedure section 16 and the search procedure section 1
7 is connected to control the unused area management storage area 18.

【0011】主記憶11は実行プログラムのロードやバ
ッファとして使用するためのメモリである。ファイル記
憶装置コントローラ12はファイル記憶装置を制御する
ハードウェアである。ファイル記憶装置13はファイル
データが格納されている。ファイル記憶装置制御プログ
ラム14は主記憶11にロードされ、ファイル記憶装置
13をファイル記憶装置コトローラ12を介して制御す
る。読み込み書き込み手続き部15はファイル記憶装置
13のファイルデータの読み込み及び、書き込む機能を
もつ。未使用領域編集手続き部26は読み込み書き込み
手続き部15によって読み込まれたファイルラベルの情
報を編集して、主記憶1の未使用領域管理格納域18に
格納する機能をもつ。未使用領域検索手続き部17は、
主記憶11の未使用領域管理格納域18から未使用領域
の検索を行う機能をもつ。
The main memory 11 is a memory for loading an execution program and using it as a buffer. The file storage device controller 12 is hardware that controls the file storage device. The file storage device 13 stores file data. The file storage device control program 14 is loaded into the main memory 11 and controls the file storage device 13 via the file storage device controller 12. The read / write procedure unit 15 has a function of reading and writing file data in the file storage device 13. The unused area editing procedure section 26 has a function of editing the file label information read by the read / write procedure section 15 and storing it in the unused area management storage area 18 of the main memory 1. The unused area search procedure unit 17
It has a function of searching an unused area from the unused area management storage area 18 of the main memory 11.

【0012】次にこのファイル管理方式の動作を説明す
る。読み込み書き込み手続き部15がファイル記憶装置
13のファイルラベルを読み込む。未使用領域編集手続
き部16は、読み込まれたファイルラベルのファイル開
始位置とファイル終了位置から未使用領域を編集し、主
記憶11の未使用領域管理格納域18に格納する。次に
ファイル作成時に未使用領域を検索する必要がある時
は、未使用領域検索手続き部17が主記憶11の未使用
領域管理格納域18より、未使用領域を検索する。
Next, the operation of this file management system will be described. The read / write procedure unit 15 reads the file label of the file storage device 13. The unused area editing procedure unit 16 edits the unused area from the file start position and the file end position of the read file label and stores it in the unused area management storage area 18 of the main memory 11. Next, when it is necessary to search for an unused area when creating a file, the unused area search procedure section 17 searches the unused area management storage area 18 of the main memory 11 for an unused area.

【0013】このようにして、主記憶上に未使用領域管
理格納域を作成することにより、ファイル作成時の未使
用領域の検索を高速に行うことができる。
By thus creating the unused area management storage area in the main memory, the unused area can be searched at high speed when the file is created.

【0014】[0014]

【発明の効果】以上の説明で明らかな如く、本発明のフ
ァイル管理方式は、主記憶上に未使用領域管理格納域を
作成し、未使用領域の検索が必要な時は主記憶上の未使
用領域管理格納域を検索することによって、未使用領域
の検索を高速で行うことができる。
As is apparent from the above description, the file management system of the present invention creates an unused area management storage area in the main memory, and when an unused area needs to be searched, it is not stored in the main memory. By searching the used area management storage area, the unused area can be searched at high speed.

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

【図1】本発明の一実施例のファイル管理方式を示すブ
ロック図である。
FIG. 1 is a block diagram showing a file management system according to an embodiment of the present invention.

【図2】従来のファイル管理方式を示すブロック図であ
る。
FIG. 2 is a block diagram showing a conventional file management system.

【符号の説明】[Explanation of symbols]

11 主記憶 12 ファイル記憶装置コントローラ 13 ファイル記憶装置 14 ファイル記憶装置制御プログラム 15 読み込み書き込み手続き部 16 未使用領域編集手続き部 17 未使用領域検索手続き部 18 未使用領域管理格納域 11 main memory 12 file storage device controller 13 file storage device 14 file storage device control program 15 read / write procedure section 16 unused area editing procedure section 17 unused area search procedure section 18 unused area management storage area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ファイル記憶装置を有する計算機システ
ムにおいて、ファイル記憶装置上の未使用領域情報を主
記憶上に持つ未使用領域管理格納域と、ファイル記憶装
置上のファイルラベル及びデータをファイル記憶装置コ
ントローラを介して読み込む読み込み手続き部及び書き
込む書き込み手続き部と、前記手続き部より読み込んだ
ファイルラベル情報から、主記憶上の未使用領域管理格
納域を編集する、未使用領域編集手続き部と、前記未使
用領域管理格納域から未使用領域の情報を検索する、未
使用領域検索手続き部とを備えたことを特徴とするファ
イル記憶装置制御プログラムによるファイル管理方式。
1. In a computer system having a file storage device, an unused area management storage area having unused area information on the file storage device in a main memory, and a file label and data on the file storage device are stored in the file storage device. A read procedure section and a write procedure section to be read via the controller, and an unused area edit procedure section for editing an unused area management storage area in the main memory from the file label information read from the procedure section, A file management method according to a file storage device control program, comprising: an unused area search procedure section for searching information on an unused area from a used area management storage area.
JP4214807A 1992-08-12 1992-08-12 File management system Pending JPH0659948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4214807A JPH0659948A (en) 1992-08-12 1992-08-12 File management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4214807A JPH0659948A (en) 1992-08-12 1992-08-12 File management system

Publications (1)

Publication Number Publication Date
JPH0659948A true JPH0659948A (en) 1994-03-04

Family

ID=16661852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4214807A Pending JPH0659948A (en) 1992-08-12 1992-08-12 File management system

Country Status (1)

Country Link
JP (1) JPH0659948A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08249223A (en) * 1995-03-13 1996-09-27 Nec Corp Data area management system for area-sharing file

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08249223A (en) * 1995-03-13 1996-09-27 Nec Corp Data area management system for area-sharing file

Similar Documents

Publication Publication Date Title
US5220667A (en) Computer system
KR940024703A (en) Memory Controller and Memory Data Retrieval Circuit
US6256644B1 (en) Control system for storing data in accordance with predefined characteristics thereof
JPH0659948A (en) File management system
US5258910A (en) Text editor with memory for eliminating duplicate sentences
JPH0756651B2 (en) Document file search method
JPH0239225A (en) Filing system
EP0587952A1 (en) Method for controlling a tape system storage device
JP2573577B2 (en) File access device
KR920009721B1 (en) Method for processing log file
JPS62177642A (en) File management system for postscript filing device
JPH04104315A (en) File retrieval system for magnetic tape device
JPH113211A (en) Pc card setting system for computer system
JPH05274845A (en) Controlling method for magnetic tape recording/ reproducing device
JPH05233232A (en) Text editing processor and edition processing method
KR940004622A (en) VRT data management circuit
JPH03282947A (en) File managing system
JPH0536239A (en) File storage device
JPH0664599B2 (en) Document file search device
JPH0963175A (en) Magnetic disk control device
JPH05257655A (en) Program managing system
JPH05324208A (en) Storage device
JPH06149647A (en) Multi-media file managing system
JPH0714291A (en) Cd auto-changer
JPH06243182A (en) Drawing editing management device for cad system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990831