JPS63143640A - Data control system - Google Patents

Data control system

Info

Publication number
JPS63143640A
JPS63143640A JP61290074A JP29007486A JPS63143640A JP S63143640 A JPS63143640 A JP S63143640A JP 61290074 A JP61290074 A JP 61290074A JP 29007486 A JP29007486 A JP 29007486A JP S63143640 A JPS63143640 A JP S63143640A
Authority
JP
Japan
Prior art keywords
file
data
data file
areas
data files
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
JP61290074A
Other languages
Japanese (ja)
Inventor
Masahiro Ueda
上田 昌広
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61290074A priority Critical patent/JPS63143640A/en
Publication of JPS63143640A publication Critical patent/JPS63143640A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To effectively utilize the source of a data file by detecting an unused area in each data file, contracting data file size, transferring data files successively in the unused area, and writing information relating to the transferred data file in a directory part. CONSTITUTION:When a data file to be contracted exists, a file processing means 10 reads out information relating to the data file to be contracted from the directory part 2. The means 10 recognizes idle areas between the data files and unused areas in respective data file and determines the contraction of the data file size and an area to which the data file is to be put close on the basis of said recognition. Consequently, idle areas 5, 7 and unused areas 3b, 4b, 6b, 8b in respective data files are removed, an unused area in the rear end part of a file volume is expanded and data files G, 9 which can not be stored before file contraction processing can be stored.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はファイルボリューム内の無駄に空いている領
域を除き、データの保管を効率的に行うデータ管理方式
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data management method for efficiently storing data by removing unnecessary vacant areas in a file volume.

[従来の技術] 第3図は例えば“MELCOM  0860/UMX 
 オペレーティング・システム説明書(QM−8ROO
−79A <54AO> )”の第25頁、及び、“M
ELCOM  0860/UMX  ユーティリティ・
プログラム説明書(QM−8ROO−67A<53AO
>)“の第200頁に示された従来のデータ管理方式を
示す説明図である。図において、(1a)はファイル圧
縮処理前のファイルボリューム、(1b)はファイル圧
縮処理終了後のファイルボリュームであり、(2)はこ
のファイルボリューム内に設けられたディレクトリ部で
、後述するデータファイルに関する情報を保持している
。(3)は前記ファイルボリューム内に格納されたデー
タファイルAであり、(3a)はこのデータファイルA
(3)の使用領域、(3b)は同じく未使用領域である
。(4)、(6)及び(8)は同様のデータファイルB
、D及びFで、(4a)、 (6a)及び(8a)はそ
れらの使用領域、(4b)、 (6b)及び(8b)は
それらの未使用領域である。(5)及び(7)は削除さ
れたデータファイルC及びEのあとに残った空領域で、
通常、この部分には削除前のデータファイルC及びEの
データがそのまま残っており、削除処理ではディレクト
リ部(2)のデータファイルC及びEに関する情報のみ
が消去される。(9)はこのファイルボリューム内に新
たに格納されるデータファイルGである。(lO)はこ
のような構成のファイルボリュームのデータ保管効率を
向上させるために、空領域等を除くファイル圧縮処理を
行うファイル処理手段である。
[Prior art] Fig. 3 shows, for example, “MELCOM 0860/UMX
Operating System Manual (QM-8ROO
-79A <54AO> )”, page 25, and “M
ELCOM 0860/UMX Utility・
Program manual (QM-8ROO-67A<53AO
This is an explanatory diagram showing the conventional data management method shown on page 200 of ">)". In the figure, (1a) is the file volume before file compression processing, and (1b) is the file volume after file compression processing is completed. , and (2) is a directory section provided within this file volume that holds information regarding data files, which will be described later. (3) is a data file A stored within the file volume, and ( 3a) is this data file A
The used area (3) and (3b) are also unused areas. (4), (6) and (8) are similar data files B
, D and F, (4a), (6a) and (8a) are their used areas, and (4b), (6b) and (8b) are their unused areas. (5) and (7) are empty areas left after deleted data files C and E.
Normally, the data of the data files C and E before deletion remains in this part, and in the deletion process, only the information regarding the data files C and E in the directory part (2) is deleted. (9) is the data file G newly stored in this file volume. (lO) is a file processing means that performs file compression processing to remove empty areas, etc., in order to improve the data storage efficiency of the file volume having such a configuration.

次に動作について説明する。第4図はその動作を説明す
るためのフローチャートである。ファイル処理手段(1
0)はファイル圧縮処理が開始されると、まず、ステッ
プSTIにて圧縮すべきデータアイルが残っているか否
かの検知を行い、残っていなければ処理を終了し、残っ
ている場合にのみ処理をステップST2に移す。ステッ
プST2では、検知された圧縮すべきデータファイルに
関する情報をディレクトリ部(2)より読み取り、ステ
ップST4にて、この読み取った情報に基づいてデータ
ファイルの転送を行い、これを前づめにする。次に、こ
の前づめにしたデータファイルに関する情報を、ステッ
プST5にてディレクトリ部(2)に書き込み、処理を
ステップSTIへ戻す。
Next, the operation will be explained. FIG. 4 is a flowchart for explaining the operation. File processing means (1
0), when the file compression process starts, it is first detected in step STI whether or not there is any data file left to be compressed. If there is no data file left, the process is terminated, and only if there is left, the process is started. is moved to step ST2. In step ST2, information regarding the detected data file to be compressed is read from the directory section (2), and in step ST4, the data file is transferred based on the read information and is moved forward. Next, the information regarding the forward-loaded data file is written in the directory section (2) in step ST5, and the process returns to step STI.

以下、圧縮すべきデータファイルがなくなるまでこの処
理を繰り返す。
This process is repeated until there are no more data files to compress.

ファイル処理手段(10)によるこのようなファイル圧
縮処理によって空領域(5)、(7)が除かれ、ファイ
ルボリュームは第3図に1aで示す状態から同図に1b
で示す状態となり、ファイルボリュームの後端部分の、
使用されていない領域が拡大され、ファイル圧縮処理前
には格納することのできなかったデータファイルG(9
)の格納が可能となる。
Through such file compression processing by the file processing means (10), empty areas (5) and (7) are removed, and the file volume changes from the state shown at 1a in FIG. 3 to 1b in the same figure.
The state shown in is reached, and the rear end of the file volume is
The unused area has been expanded and the data file G (9
) can be stored.

[発明が解決しようとする問題点] 従来のデータ管理方式は以上のように構成されているの
で、ファイルボリューム内の空領域(5)。
[Problems to be Solved by the Invention] Since the conventional data management system is configured as described above, the empty space (5) in the file volume.

(7)は除かれるが、データファイル(3)等の未使用
領域(3b)等については何等の処理もなされず、従っ
て、データファイル内のデータ量が増加しないものでは
、未使用領域(3b)等がいつまでも空のままで保持さ
れ続けてファイル領域が無駄に専有され、データファイ
ルのリソースが有効に利用できないという問題点があっ
た。
(7) is removed, but no processing is performed on the unused area (3b) of the data file (3), etc. Therefore, if the amount of data in the data file does not increase, the unused area (3b) etc. ), etc., remain empty forever, resulting in file areas being wasted and the resources of data files being unable to be used effectively.

この発明は上記のような問題点を解消するためになされ
たもので、ファイルボリューム内の無駄に確保されてい
るデータ領域を削減して、データの保管を効率的に行う
ことのできるデータ管理方式を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and is a data management method that can efficiently store data by reducing the data area that is wasted in a file volume. The purpose is to obtain.

[問題点を解決するための手段] この発明に係るデータ管理方式は、データファイル内の
未使用領域検知して、データファイルのサイズを小さく
してデータファイルを順次転送してゆくとともに、この
転送されるデータファイルに関する情報をディレクトリ
部Zこ書き込むものである。
[Means for Solving the Problems] The data management method according to the present invention detects an unused area in a data file, reduces the size of the data file, and sequentially transfers the data file. This is to write information regarding the data file to be stored in the directory section Z.

[作用] この発明におけるデータ管理方式は、各データファイル
内の未使用領域を検知して、データファイルのサイズを
小さくするとともに、ここにデータファイルを順次転送
してゆくことで、ファイルボリューム内に無駄に確保さ
れていたデータ領域を削減し、ファイルボリューム後端
部分の使用されていない領域の拡大をはかり、データの
保管を効率的に行う。
[Operation] The data management method of the present invention detects unused areas within each data file, reduces the size of the data file, and sequentially transfers the data files to this area, thereby reducing the amount of space within the file volume. To efficiently store data by reducing wastefully secured data areas and expanding unused areas at the rear end of file volumes.

[実施例] 以下、この発明の一実施例を図について説明する。第1
図において、(l a)、 (1b)はファイル圧縮処
理前、及びファイル圧縮処理終了後のファイルボリュー
ム、(2)はディレクトリ部、(3)。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
In the figure, (la) and (1b) are file volumes before file compression processing and after file compression processing is completed, (2) is a directory part, and (3) is a file volume.

(4)、(6)、(8)はデータファイルA、B、D。(4), (6), and (8) are data files A, B, and D.

F、(3a)、(4a)、(6a)、(8a)はそれら
の使用領域、(3b)、 (4b)、 (6b)、 (
8b)はそれらの未使用領域、(5)、(7)は空領域
、(9)は新たに格納するデータファイルG、(10)
はファイル処理手段であり、これらは第3図に同一符号
が付されたものと同等のものである。
F, (3a), (4a), (6a), (8a) are their usage areas, (3b), (4b), (6b), (
8b) is the unused area, (5) and (7) are empty areas, (9) is the data file G to be newly stored, (10)
is a file processing means, and these are equivalent to those given the same reference numerals in FIG.

次に動作について説明する。第2図はその動作を説明す
るためのフローチャートである。ファイル処理手段(1
0)は従来の場合と同様に、ファイル圧縮処理が開始さ
れると、まず、ステップST1にて圧縮すべきデータア
イルが残っているか否かの検知を行う。圧縮すべきデー
タファイルがあれば、処理をステップST2に移し、検
知された圧縮すべきデータファイルに関する情報をディ
レクトリ部(2)より読み取る。次に、ステップST3
において、データファイル間の空領域、さらには各デー
タファイル内の未使用領域の認知を行い、それに基づい
てデータファイルサイズの縮小、及びデータファイルを
どの領域に前づめにするかを決定する。前づめにする領
域が決定されると、ステップST4にてデータファイル
の縮小・転送をしてその前づめを行う。次に、ステップ
ST5でこの前づめにしたデータファイルに関する情報
をディレクトリ部(2)に書き込み、処理をステップS
TIへ戻す。以下、圧縮すべきデータファイルがなくな
るまでこの処理を繰り返す。
Next, the operation will be explained. FIG. 2 is a flowchart for explaining the operation. File processing means (1
0), as in the conventional case, when file compression processing is started, first, in step ST1, it is detected whether or not there remains a data file to be compressed. If there is a data file to be compressed, the process moves to step ST2, and information regarding the detected data file to be compressed is read from the directory section (2). Next, step ST3
In this step, empty areas between data files and unused areas within each data file are recognized, and based on this recognition, it is determined to reduce the data file size and to which area the data files should be moved forward. When the area to be moved forward is determined, the data file is reduced and transferred in step ST4, and the area is moved forward. Next, in step ST5, the information regarding the forward-packed data file is written in the directory section (2), and the process is continued in step S.
Return to TI. This process is repeated until there are no more data files to compress.

ファイル処理手段(10)によるこのようなファイル圧
縮処理によって、空領域(5)、(7)、及び各データ
ファイル内の未使用領域(3b)、 (4b)。
Such file compression processing by the file processing means (10) results in empty areas (5), (7) and unused areas (3b), (4b) in each data file.

(6b)、 (8b)が除かれ、従ってファイルボリュ
ームは第1図に1aで示す状態から同図に1bで示す状
態となり、ファイルボリュームの後端部分にある使用さ
れていない領域が拡大され、ファイル圧縮処理前には格
納できなかったデータファイルG(9)の格納が可能と
なる。
(6b) and (8b) are removed, so the file volume changes from the state shown at 1a in Figure 1 to the state shown at 1b in the same figure, and the unused area at the rear end of the file volume is expanded, Data file G(9), which could not be stored before file compression processing, can now be stored.

なお、上記実施例ではデータファイル間の空領域につい
てもファイル圧縮処理を行うものを示したが、データフ
ァイル間の空領域には何等の処理も行わず、データファ
イル内の未使用領域のみを除いてデータファイルの大き
さを小さくするだけでもよい。
Note that in the above embodiment, file compression processing is also performed on the empty areas between data files, but no processing is performed on the empty areas between data files, and only unused areas within the data files are removed. You can simply reduce the size of the data file by using

また、上記実施例ではデータファイルを前づめに転送し
、転送処理の後にそのデータファイルに関する情報をデ
ィレクトリ部へ書き込む場合について説明したが、デー
タファイルの転送処理は後づめとしても、また、このデ
ータファイルの転送処理前にディレクトリ部への書き込
み処理を行うようにしてもよく、上記実施例と同様の効
果を奏する。
Furthermore, in the above embodiment, a case has been described in which data files are transferred in advance and information about the data files is written to the directory section after the transfer process. The writing process to the directory section may be performed before the file transfer process, and the same effect as in the above embodiment can be achieved.

[発明の効果] 以上のように、この発明によれば各データファイル間 イル内の未使用領域を検知し、データファイルサイズを
縮小してそこにデータファイルを順次転送してゆき、転
送したデータファイルに関する情報をディレクトリ部へ
書き込むように構成したので、ファイルボリューム内の
無駄に確保されていたデータ領域が削減されて、ファイ
ルボリューム後端部分の使用されていない領域が拡大さ
れ、データファイルのリソースを有効に利用できる効果
がある。
[Effects of the Invention] As described above, according to the present invention, the unused area in the file between each data file is detected, the data file size is reduced and the data files are sequentially transferred there, and the transferred data is Since the configuration is configured to write information about files to the directory section, the data area that was wasted in the file volume is reduced, the unused area at the end of the file volume is expanded, and data file resources are This has the effect of making effective use of.

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

第1図はこの発明の一実施例によるデータ管理方式を示
す説明図、第2図はその動作を説明するためのフチヤー
ド、第3図は従来のデータ管理方式を示す説明図、第4
図はその動作を説明するためのフローチャートである。 (1a)、 (1b)はファイル圧縮処理前、及び処理
後のファイルボリューム、(2)はディレクトリ部、(
3)、(4)、(6)及び(8)はデータファイル(3
a)、 (4a)、 (6a)及び(8a)はそれらの
使用領域、(3b)、 (4b)、 (6b)及び(8
b)はそれらの未使用領域、(10)はファイル処理手
段。 なお、図中、同一符号は同一、又は相当部分を示す。 (外2名) 第1図 10:ファイル処理6穫 第2図
FIG. 1 is an explanatory diagram showing a data management system according to an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining its operation, FIG. 3 is an explanatory diagram showing a conventional data management system, and FIG.
The figure is a flowchart for explaining the operation. (1a) and (1b) are file volumes before and after file compression processing, (2) are directory parts, (
3), (4), (6) and (8) are data files (3)
a), (4a), (6a) and (8a) are their usage areas, (3b), (4b), (6b) and (8
b) is those unused areas, and (10) is the file processing means. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. (2 others) Figure 1 10: File processing 6 results Figure 2

Claims (1)

【特許請求の範囲】[Claims] データファイルに関する情報を保持するディレクトリ部
をファイルボリューム内に設けて、前記ファイルボリュ
ーム内に格納した前記データファイルを管理するデータ
管理方式において、前記データファイル内の未使用領域
を検知し、当該未使用領域に前記データファイルを順次
転送してゆくとともに、前記未使用領域に転送するデー
タファイルに関する情報を前記ディレクトリ部に書き込
むことを特徴とするデータ管理方式。
In a data management method in which a directory section for holding information about data files is provided in a file volume and the data files stored in the file volume are managed, an unused area in the data file is detected and the unused area is detected. A data management method characterized in that the data files are sequentially transferred to the area, and information regarding the data files to be transferred to the unused area is written in the directory section.
JP61290074A 1986-12-05 1986-12-05 Data control system Pending JPS63143640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61290074A JPS63143640A (en) 1986-12-05 1986-12-05 Data control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61290074A JPS63143640A (en) 1986-12-05 1986-12-05 Data control system

Publications (1)

Publication Number Publication Date
JPS63143640A true JPS63143640A (en) 1988-06-15

Family

ID=17751454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61290074A Pending JPS63143640A (en) 1986-12-05 1986-12-05 Data control system

Country Status (1)

Country Link
JP (1) JPS63143640A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04206279A (en) * 1990-11-29 1992-07-28 Fujitsu Ltd Connector
JPH04338843A (en) * 1991-04-01 1992-11-26 Xerox Corp File compact designing method for electronic printing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04206279A (en) * 1990-11-29 1992-07-28 Fujitsu Ltd Connector
JPH04338843A (en) * 1991-04-01 1992-11-26 Xerox Corp File compact designing method for electronic printing system

Similar Documents

Publication Publication Date Title
US5890159A (en) Data transfer mechanism between databases using a separate pipe at each database
US6052692A (en) Method and system for managing image related events without compromising image processing
JPS63143640A (en) Data control system
JPS63262734A (en) Data managing system
JPH02201552A (en) Transaction trace information picking system
JPH02267643A (en) File extension system
JP2546528B2 (en) Variable-length block storage system for fixed-length sector disk
JP2574537B2 (en) Process management equipment
JP3988500B2 (en) Directory file saving system and program
JP3255121B2 (en) Database search device, database search method, information processing device, recording medium storing program for causing computer to execute database search method
JPH05151037A (en) Reorganization processing system for database in business processing
JPH03225537A (en) File saving system
JP2835885B2 (en) Document processing device
JPH04170672A (en) Article data deleting system
JPH06231016A (en) File coupling/dividing method
JPH05258123A (en) Terminal system with ic card
JPH01282660A (en) System program high speed loading system
JP2861548B2 (en) Multiple host method
JPS6382532A (en) Converting system from logical address to real address
JPH04142652A (en) Sysout automatic transfer/output unit
JP2002073384A (en) Folder-to-archives transform method
JPH04260142A (en) Disk file saving system
JPH04101243A (en) Standby coupling organization file device
JPH01191241A (en) File deleting system
JPS63177234A (en) File save loading method