JPH04364547A - Information storage system of auxiliary storage device - Google Patents

Information storage system of auxiliary storage device

Info

Publication number
JPH04364547A
JPH04364547A JP3138863A JP13886391A JPH04364547A JP H04364547 A JPH04364547 A JP H04364547A JP 3138863 A JP3138863 A JP 3138863A JP 13886391 A JP13886391 A JP 13886391A JP H04364547 A JPH04364547 A JP H04364547A
Authority
JP
Japan
Prior art keywords
information
storage
file system
reading
writing
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.)
Withdrawn
Application number
JP3138863A
Other languages
Japanese (ja)
Inventor
Masami Mori
正実 森
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP3138863A priority Critical patent/JPH04364547A/en
Publication of JPH04364547A publication Critical patent/JPH04364547A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To increase the speed of a writing/reading process by the information storage system of the auxiliary storage device. CONSTITUTION:An information compressing means 61a, a writing means 61b, a nonuse informing means 61c, a reading means 61d, and an expanding means 61e are provided in the auxiliary storage device 60. Further, a file system 51b is provided with a block registering means 72. Thus, written information or read information is compressed and expanded in the auxiliary storage device and the storage state of the compressed data is controlled by the file system 51b.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、コンピュータ等に利用
され、主メモリの記憶容量の不足を補う補助記憶装置の
情報格納方式、特に、格納情報に対して圧縮/伸長を行
う機能を備えた補助記憶装置の情報格納方式に関するも
のである。
[Industrial Application Field] The present invention relates to an information storage method of an auxiliary storage device used in computers etc. to compensate for the lack of storage capacity of the main memory, and in particular, an information storage system having a function of compressing/decompressing stored information. The present invention relates to an information storage method of an auxiliary storage device.

【0002】0002

【従来の技術】従来、補助記憶装置に格納されるデータ
などは、圧縮などされずにそのまま格納されていた。し
かし、プログラムやデータの大きさは拡大し続ける一方
であり、ハードディスクなどの補助記憶装置に格納しき
れない状態が生ずることもあった。
2. Description of the Related Art Conventionally, data stored in an auxiliary storage device has been stored as is without being compressed. However, the size of programs and data continues to increase, and there have been cases where the size of programs and data cannot be stored in auxiliary storage devices such as hard disks.

【0003】このようなことから、補助記憶装置に格納
するデータなどは、特別なプログラムなどを用いて予め
圧縮を行ってから補助記憶装置に格納されるようになっ
てきている。
[0003] For this reason, data to be stored in the auxiliary storage device is now compressed in advance using a special program or the like before being stored in the auxiliary storage device.

【0004】従来、この種の分野の技術としては、例え
ば図2のようなものがあった。以下、その構成を図を用
いて説明する。
[0004] Conventionally, as a technique in this type of field, there has been one as shown in FIG. 2, for example. The configuration will be explained below using figures.

【0005】図2は、従来の補助記憶装置の情報格納方
式の一構成例を示す構成図である。この情報格納方式は
、バス11を介して相互に接続されたプロセッサ(CP
U)12及びメモリ13を有するコンピュータ10を備
えている。さらに、コンピュータ10の外部には、バス
11に接続された補助記憶装置20が設けられている。
FIG. 2 is a block diagram showing an example of the structure of a conventional information storage system of an auxiliary storage device. This information storage method is based on processors (CPs) connected to each other via a bus 11.
U) 12 and a computer 10 having a memory 13. Further, an auxiliary storage device 20 connected to the bus 11 is provided outside the computer 10.

【0006】補助記憶装置20には、バス11に接続さ
れたデータ書込み/読出し用の制御装置21を介してハ
ードディスク装置22が設けられている。なお、CPU
12は、補助記憶装置20のデータ書込み/読出し動作
やデータ格納状態などを管理するためのプログラムであ
るファイルシステムを備える他、データ圧縮/伸長用の
特殊プログラム(LHarc  version  1
.13、LZEXE.EXE  v0.91、JPEG
、及びMPEG等)を備えている。
A hard disk device 22 is provided in the auxiliary storage device 20 via a data writing/reading control device 21 connected to the bus 11 . In addition, the CPU
12 includes a file system which is a program for managing data write/read operations and data storage status of the auxiliary storage device 20, as well as a special program for data compression/expansion (LHarc version 1).
.. 13. LZEXE. EXE v0.91, JPEG
, MPEG, etc.).

【0007】次に、動作を説明する。Next, the operation will be explained.

【0008】メモリ13に格納されたデータを補助記憶
装置20に書き込むには、まず、特殊なプログラムを用
いてCPU12で該データを予め圧縮し、その圧縮され
たデータを制御装置21へ送る。制御装置21は圧縮さ
れたデータをファイルシステムで指定されたハードディ
スク装置22上の所定の格納ブロック(領域)へ書き込
む。
In order to write data stored in the memory 13 to the auxiliary storage device 20, the data is first compressed in advance by the CPU 12 using a special program, and the compressed data is sent to the control device 21. The control device 21 writes the compressed data to a predetermined storage block (area) on the hard disk device 22 specified by the file system.

【0009】また、ハードディスク装置22に書き込ま
れた圧縮データをメモリ13に読み込むには、制御装置
21はファイルシステムから指定された格納ブロックの
データを読出し、そのデータをCPU12へ送る。CP
U12は送られてきたデータを特殊なプログラムによっ
て伸長し、メモリ13に格納する。
[0009] Furthermore, in order to read the compressed data written in the hard disk device 22 into the memory 13, the control device 21 reads data in a designated storage block from the file system and sends the data to the CPU 12. C.P.
U12 decompresses the sent data using a special program and stores it in memory 13.

【0010】0010

【発明が解決しようとする課題】しかしながら、上記構
成の情報格納方式では、ハードディスク装置22へ書き
込むデータの圧縮処理、またはハードディスク装置22
から読み出されたデータの伸長処理は、両者ともコンピ
ュータ10内のCPU12を使用して行われていた。そ
のため、その圧縮処理または伸長処理を行う必要がある
か否か、あるいは、いずれの処理を行うかの判断を行う
必要がある他、これらの処理と補助記憶装置20へのア
クセス順序とを管理する必要があった。
[Problems to be Solved by the Invention] However, in the information storage method having the above configuration, it is difficult to compress the data to be written to the hard disk device 22 or
In both cases, the CPU 12 in the computer 10 is used to expand the data read from the computer. Therefore, it is necessary to judge whether compression processing or decompression processing is necessary, or which processing to perform, and also to manage these processing and the order of access to the auxiliary storage device 20. There was a need.

【0011】こうしたことから、圧縮処理及び伸長処理
を行わないで、通常に補助記憶装置20に対するアクセ
スを行う場合に比べて、余分な手順を踏むことになり、
その結果、メモリ13とハードディスク装置22との間
におけるデータの書込み/読出し処理の速度が低下する
という問題があった。
[0011] For this reason, compared to the case where the auxiliary storage device 20 is normally accessed without performing compression processing and decompression processing, extra steps are required.
As a result, there is a problem in that the speed of data writing/reading processing between the memory 13 and the hard disk device 22 is reduced.

【0012】さらに、余分な手順を踏むため、その分、
CPU12は他の作業を行うことができず、CPU12
の使用効率が低下するという問題もあった。
[0012] Furthermore, since there are extra steps,
The CPU 12 cannot perform other work, and the CPU 12
There was also the problem that the usage efficiency of

【0013】本発明は前記従来技術の持っていた課題と
して、余分な手順を踏むことによってデータの書込み/
読出し処理の速度が低下する点、及びCPUの使用効率
が低下する点について解決した補助記憶装置の情報格納
方式を提供するものである。
The present invention solves the problem of the prior art by taking extra steps to write/write data.
The present invention provides an information storage method for an auxiliary storage device that solves the problems of slowing down read processing and reducing CPU usage efficiency.

【0014】[0014]

【課題を解決するための手段】第1の発明では、前記課
題を解決するために、複数の格納ブロックを有し主装置
からの情報を該格納ブロックに書込む書込み処理及びそ
の書込まれた情報を前記主装置へ読出す読出し処理を実
行する補助記憶装置を備え、前記主装置に設けられたフ
ァイルシステムにより前記書込み処理及び読出し処理の
実行を管理する補助記憶装置の情報格納方式において、
前記補助記憶装置及びファイルシステムに次のような手
段を講じたものである。
[Means for Solving the Problem] In order to solve the above problem, the first invention provides a write process for writing information from a main device into the storage block, which has a plurality of storage blocks, and An information storage method for an auxiliary storage device comprising an auxiliary storage device that executes a read process of reading information to the main device, and in which execution of the write process and read process is managed by a file system provided in the main device,
The following measures are taken for the auxiliary storage device and file system.

【0015】即ち、補助記憶装置は、前記書込み処理時
に書込み情報を所定の圧縮率で圧縮して圧縮情報を生成
する情報圧縮手段と、前記ファイルシステムにより予め
指定された複数の前記格納ブロックのうち、前記圧縮率
に応じた任意の格納ブロックに前記圧縮情報を書込む書
込み手段と、前記ファイルシステムにより予め指定され
た複数の前記格納ブロックのうち前記書込み手段によっ
て書き込まれずに残った未使用格納ブロックを前記ファ
イルシステムへ通知する未使用通知手段と、前記読出し
処理時に前記格納ブロック中の圧縮情報を読出す読出し
手段と、前記読出し手段により読出された圧縮情報を伸
長する伸長手段とを、備える。さらに、ファイルシステ
ムは、該ファイルシステムにより予め指定された複数の
前記格納ブロックを使用済み領域として登録する領域登
録手段と、前記領域登録手段により登録された複数の格
納ブロックのうち、前記未使用通知手段により通知され
た前記未使用格納ブロックを未使用領域として再登録す
る領域再登録手段とを、備えたものである。
[0015] That is, the auxiliary storage device includes information compression means for compressing write information at a predetermined compression ratio to generate compressed information during the write process, and information compression means for generating compressed information by compressing write information at a predetermined compression rate during the write process; , a writing means for writing the compressed information into an arbitrary storage block according to the compression ratio, and an unused storage block remaining without being written by the writing means among the plurality of storage blocks specified in advance by the file system. an unused notification means for notifying the file system of the file system; a reading means for reading the compressed information in the storage block during the reading process; and a decompressing means for decompressing the compressed information read by the reading means. Further, the file system includes an area registration means for registering a plurality of the storage blocks specified in advance by the file system as used areas, and an area registration means for registering the plurality of storage blocks specified in advance by the file system as used areas; and area re-registration means for re-registering the unused storage block notified by the means as an unused area.

【0016】第2の発明では、複数の格納ブロックを有
し主装置からの情報を該格納ブロックに書込む書込み処
理及びその書込まれた情報を前記主装置へ読出す読出し
処理を実行する補助記憶装置を備え、前記主装置に設け
られたファイルシステムにより前記書込み処理及び読出
し処理の実行を管理する補助記憶装置の情報格納方式に
おいて、前記補助記憶装置及びファイルシステムに次の
ような手段を講じたものである。
[0016] In the second aspect, the present invention has a plurality of storage blocks, and an auxiliary device that executes a write process for writing information from the main device into the storage block and a read process for reading the written information to the main device. In an information storage method for an auxiliary storage device that includes a storage device and manages execution of the write process and read process using a file system provided in the main device, the following measures are provided for the auxiliary storage device and the file system. It is something that

【0017】即ち、補助記憶装置は、前記書込み処理時
に書込み情報を所定の圧縮率で圧縮して圧縮情報を生成
する情報圧縮手段と、前記ファイルシステムにより予め
指定された複数の前記格納ブロックのうち、前記圧縮率
に応じた任意の格納ブロックに前記圧縮情報を書込む書
込み手段と、前記圧縮情報が書き込まれた格納ブロック
を前記ファイルシステムへ通知する使用通知手段と、前
記読出し処理時に前記格納ブロック中の圧縮情報を読出
す読出し手段と、前記読出し手段により読出された圧縮
情報を伸長する伸長手段とを、備えたものである。さら
に、ファイルシステムは、前記使用通知手段により通知
された前記格納ブロックを使用済み領域として登録する
ブロック登録手段を、備えたものである。
[0017] That is, the auxiliary storage device includes information compression means for compressing write information at a predetermined compression ratio to generate compressed information during the write process, and information compression means for generating compressed information by compressing write information at a predetermined compression rate during the write process; , a writing means for writing the compressed information into an arbitrary storage block according to the compression ratio, a usage notification means for notifying the file system of the storage block in which the compressed information has been written, and a storage block for the reading process. The apparatus is equipped with a reading means for reading compressed information therein, and a decompressing means for decompressing the compressed information read by the reading means. Further, the file system includes block registration means for registering the storage block notified by the usage notification means as a used area.

【0018】[0018]

【作用】第1の発明は、以上のように情報格納方式を構
成したので、ファイルシステムが、領域登録手段を用い
て、書込み用に予め指定した複数の格納ブロックを使用
済み領域として登録し、情報圧縮手段が書込み情報を所
定の圧縮率で圧縮すると、書込み手段は、その圧縮率に
応じて、書込み用に指定された複数の格納ブロックのう
ち、数個の格納ブロックに圧縮情報を書込む。圧縮情報
が書込まれた後、未使用通知手段は、書き込まれずに残
った未使用格納ブロックをファイルシステムへ通知し、
領域再登録手段は該未使用格納ブロックを未使用領域と
して再登録する。
[Operation] In the first invention, since the information storage method is configured as described above, the file system uses the area registration means to register a plurality of storage blocks specified in advance for writing as used areas, When the information compression means compresses the write information at a predetermined compression rate, the writing means writes the compressed information into several storage blocks among the plurality of storage blocks designated for writing according to the compression rate. . After the compression information is written, the unused notification means notifies the file system of unused storage blocks that remain unwritten,
The area reregistration means reregisters the unused storage block as an unused area.

【0019】さらに、読出し処理時には、読出し手段に
よって格納ブロック中の圧縮情報が読出され、その読出
された圧縮情報を伸長手段は伸長し、それが主装置側へ
転送されていく。これにより、補助記憶装置への情報書
込み、あるいは読出しと同時に圧縮/伸長処理を行うこ
とができる。
Furthermore, during read processing, the reading means reads compressed information in the storage block, the decompressing means decompresses the read compressed information, and it is transferred to the main device side. This allows compression/expansion processing to be performed simultaneously with writing or reading information to the auxiliary storage device.

【0020】第2の発明では、ファイルシステムが書込
み用に複数の格納ブロックを指定すると、情報圧縮手段
は、書込み情報を所定の圧縮率で圧縮する。さらに、書
込み手段は、その圧縮率に応じて、書込み用に指定され
た複数の格納ブロックのうち、数個の格納ブロックに圧
縮情報を書込む。そして、使用通知手段は、該圧縮情報
が書き込まれた格納ブロックをファイルシステムへ通知
し、その通知を受けたファイルシステムは、ブロック登
録手段を用いて、その格納ブロックを使用済み領域とし
て登録する。これにより、補助記憶装置への書込み、あ
るいは読出しが第1の発明よりも高速化される。従って
、前記課題を解決できるのである。
In the second invention, when the file system specifies a plurality of storage blocks for writing, the information compression means compresses the writing information at a predetermined compression rate. Further, the writing means writes compressed information to several storage blocks among the plurality of storage blocks designated for writing according to the compression ratio. Then, the usage notification means notifies the file system of the storage block in which the compressed information is written, and the file system that receives the notification registers the storage block as a used area using the block registration means. As a result, writing to or reading from the auxiliary storage device becomes faster than in the first invention. Therefore, the above problem can be solved.

【0021】[0021]

【実施例】図1は、本発明の実施例を示す補助記憶装置
の情報格納方式の構成図である。この情報格納方式は、
コンピュータ(主装置)50及びそれに接続された補助
記憶装置60を備えている。コンピュータ50にはCP
U51が搭載され、そのCPU51がバス52を介して
RAM(ランダム・アクセス・メモリ)等のメモリ53
に接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an information storage system of an auxiliary storage device showing an embodiment of the present invention. This information storage method is
It includes a computer (main device) 50 and an auxiliary storage device 60 connected thereto. The computer 50 has a CP
U51 is installed, and the CPU 51 is connected to a memory 53 such as a RAM (random access memory) via a bus 52.
It is connected to the.

【0022】CPU51は、プログラムであるアプリケ
ーション51a及びファイルシステム51bを有してい
る。アプリケーション51aは、例えば補助記憶装置6
0に対するデータの書込み/読出し処理をファイルシス
テム51bに命令するプログラムであり、ファイルシス
テム51bは、アプリケーション51aの命令を受けて
該データの書込み/読出し処理を管理するプログラムで
ある。CPU51は、これらのプログラムに従って動作
することにより、データの書込み処理及び読出し処理を
制御する機能を有する。
[0022] The CPU 51 has an application 51a, which is a program, and a file system 51b. The application 51a is, for example, an auxiliary storage device 6.
The file system 51b is a program that instructs the file system 51b to perform data write/read processing for 0, and the file system 51b is a program that manages the data write/read processing in response to instructions from the application 51a. The CPU 51 has a function of controlling data writing and reading processes by operating according to these programs.

【0023】補助記憶装置60は、バス52に接続され
た制御装置61及び複数の格納ブロックを有するハード
ディスク装置62で構成されている。制御装置61は、
ファイルシステム51bの指示を受けて、ハードディス
ク装置62に対するデータの書込み/読出し処理を制御
する装置であり、情報圧縮手段61a、書込み手段61
b、未使用通知手段61c、読出し手段61d及び伸長
手段61eを備えている。
The auxiliary storage device 60 is composed of a control device 61 connected to the bus 52 and a hard disk device 62 having a plurality of storage blocks. The control device 61 is
This is a device that controls data writing/reading processing for the hard disk device 62 in response to instructions from the file system 51b, and includes information compression means 61a and writing means 61.
b, unused notification means 61c, reading means 61d, and decompression means 61e.

【0024】情報圧縮手段61aは、書込み処理時に書
込み情報を所定の圧縮率で圧縮して圧縮情報を生成する
手段であり、書込み手段61bは、ファイルシステム5
1bにより予め指定されたハードディスク装置62中の
複数の未使用格納ブロックのうち、前記圧縮率に応じた
任意の格納ブロックに前記圧縮情報を書込む手段である
The information compression means 61a is means for compressing written information at a predetermined compression rate during writing processing to generate compressed information, and the writing means 61b is a means for generating compressed information by compressing written information at a predetermined compression rate during writing processing.
It is means for writing the compressed information into an arbitrary storage block according to the compression ratio among the plurality of unused storage blocks in the hard disk device 62 designated in advance by 1b.

【0025】未使用通知手段61cは、ファイルシステ
ム51bにより予め指定された複数の格納ブロックのう
ち、書込み手段61bによって書き込まれずに残った未
使用格納ブロックをファイルシステム51bへ通知する
手段であり、読出し手段61dは読出し処理時に格納ブ
ロック中の圧縮情報を読出す手段である。加えて、伸長
手段61eは、読出し処理時に格納ブロックから読出さ
れた情報を伸長する手段である。
The unused notification means 61c is a means for notifying the file system 51b of unused storage blocks that remain unwritten by the writing means 61b among a plurality of storage blocks specified in advance by the file system 51b, and Means 61d is means for reading compressed information in the storage block during read processing. In addition, the decompressing means 61e is a means for decompressing information read from the storage block during read processing.

【0026】さらに、ファイルシステム51bには、フ
ァイルシステム51b自身により指定した複数の格納ブ
ロックを使用済み領域として登録する領域登録手段70
と、該領域登録手段70により登録された複数の格納ブ
ロックのうち、未使用通知手段61cにより通知された
前記未使用格納ブロックを未使用領域として再登録する
領域再登録手段71とが、備えられている。
Furthermore, the file system 51b includes area registration means 70 for registering a plurality of storage blocks specified by the file system 51b itself as used areas.
and area re-registration means 71 for re-registering the unused storage block notified by the unused notification means 61c as an unused area among the plurality of storage blocks registered by the area registration means 70. ing.

【0027】次に、以上のように構成される情報格納方
式の動作を説明する。
Next, the operation of the information storage system configured as described above will be explained.

【0028】まず、ハードディスク装置62に対するデ
ータの書込み処理(a)〜(f)について、図3を参照
しつつ説明する。なお、図3は図1の動作説明図である
First, the data writing processes (a) to (f) to the hard disk device 62 will be explained with reference to FIG. Note that FIG. 3 is an explanatory diagram of the operation of FIG. 1.

【0029】(a)ステップS1の動作アプリケーショ
ン51aは、メモリ53に格納されているデータを補助
記憶装置60に書き込むことをファイルシステム51b
へ要求する。
(a) Operation in step S1 The application 51a instructs the file system 51b to write the data stored in the memory 53 to the auxiliary storage device 60.
request to.

【0030】(b)ステップS2の動作ファイルシステ
ム51bは、アプリケーション51aから書込み要求の
あったデータの量に基づき、ハードディスク装置62中
の複数の格納ブロックを指定し、それを制御装置61へ
通知する。その際、該データのメモリアドレスとそのデ
ータの大きさも通知する。
(b) Operation in step S2 The file system 51b specifies a plurality of storage blocks in the hard disk device 62 based on the amount of data requested to be written by the application 51a, and notifies the control device 61 of the same. . At that time, the memory address of the data and the size of the data are also notified.

【0031】例えば、1格納ブロックが4Kバイトの容
量であり、前記書込み用データの量が38Kバイトであ
れば、ファイルシステム51bは、管理しているハード
ディスク装置62中の未使用格納ブロックの中から10
個の格納ブロックを指定し、それを制御装置61へ通知
する。この時、図4に示す10個の格納ブロックH〜Q
が指定されたものとすると、この格納ブロックH〜Qは
使用済み領域として領域登録手段70によって登録され
る。
For example, if one storage block has a capacity of 4K bytes and the amount of write data is 38K bytes, the file system 51b selects one of the unused storage blocks in the managed hard disk drive 62. 10
The storage block is designated and the control device 61 is notified of it. At this time, the 10 storage blocks H to Q shown in FIG.
is specified, the storage blocks H to Q are registered as used areas by the area registration means 70.

【0032】(c)ステップS3の動作続いて、制御装
置61は、メモリ53における指定されたメモリアドレ
スからデータを取り込み、情報圧縮手段61aによって
該データの圧縮が行われる。その圧縮の割合(圧縮率)
は、データ内容とその圧縮アルゴリズムによって決定さ
れる。例えば、圧縮率が50%とすると、前述の38K
バイトのデータは19Kバイトに圧縮される。
(c) Operation in step S3 Subsequently, the control device 61 takes in data from the designated memory address in the memory 53, and the data is compressed by the information compression means 61a. Its compression ratio (compression ratio)
is determined by the data content and its compression algorithm. For example, if the compression rate is 50%, the 38K
Bytes of data are compressed to 19K bytes.

【0033】(d)ステップS4の動作制御装置61は
、書込み手段61bを用い、圧縮されたデータをハード
ディスク装置62へ書き込む。その際、圧縮率に応じて
、ファイルシステム51bから指定された複数の格納ブ
ロックのうち、いくつかの格納ブロックに書き込む。例
えば、前記データは、19Kバイトに圧縮されたので、
図4に示すように、先に指定された格納ブロックH〜Q
のうち、5個の格納ブロックH〜Lに書込まれる。
(d) In step S4, the operation control device 61 writes the compressed data to the hard disk device 62 using the writing means 61b. At that time, the data is written to some storage blocks among the plurality of storage blocks designated by the file system 51b according to the compression ratio. For example, the data was compressed to 19K bytes, so
As shown in FIG. 4, the previously specified storage blocks H to Q
Of these, the data is written to five storage blocks H to L.

【0034】(e)ステップS5の動作制御装置61の
未使用通知手段61cは、未使用の格納ブロックをファ
イルシステム51bへ通知する。例えば、前述の書込み
処理では5個の格納ブロックM〜Qが未使用なので、該
格納ブロックM〜Qをファイルシステム51bへ通知す
る。
(e) In step S5, the unused notification means 61c of the operation control device 61 notifies the file system 51b of unused storage blocks. For example, since five storage blocks M to Q are unused in the write process described above, the storage blocks M to Q are notified to the file system 51b.

【0035】(f)ステップS6の動作ファイルシステ
ム51bの領域再登録手段71が、未使用通知手段61
cにより通知された5個の格納ブロックM〜Qを未使用
領域として再登録すれば、一連の書込み処理は完了する
(f) Operation in step S6 The area reregistration means 71 of the file system 51b registers the unused notification means 61.
If the five storage blocks M to Q notified by c are re-registered as unused areas, the series of write processing is completed.

【0036】また、アプリケーション51aからの要求
で、ハードディスク装置62からメモリ53へ圧縮デー
タを転送する場合には、まず、ファイルシステム51b
は、圧縮データが読み込まれるメモリ領域をメモリ53
に十分確保する。その後、制御装置61の読出し手段6
1dによってハードディスク装置62の所定の格納ブロ
ック中の圧縮データを読み出す。読み出された圧縮デー
タは、伸長手段61eで伸長されつつ、メモリ53の所
定のアドレスへ転送される。
Furthermore, when transferring compressed data from the hard disk device 62 to the memory 53 in response to a request from the application 51a, first the file system 51b
The memory area where the compressed data is read is the memory 53.
Ensure sufficient capacity. After that, the reading means 6 of the control device 61
1d, the compressed data in a predetermined storage block of the hard disk device 62 is read. The read compressed data is transferred to a predetermined address in the memory 53 while being expanded by the expansion means 61e.

【0037】なお、この読出し処理時に、ファイルシス
テム51bから与えられたメモリ領域の大きさを越えて
、データをメモリ53へ転送する必要がある場合には、
制御装置61は、必要なメモリ容量をファイルシステム
51bに要求する。
Note that during this read process, if it is necessary to transfer data to the memory 53 that exceeds the size of the memory area given by the file system 51b,
The control device 61 requests the necessary memory capacity from the file system 51b.

【0038】このように、本実施例では、補助記憶装置
60内でデータを圧縮して格納するようにしたので、ハ
ードディスク装置62の元のデータ容量より少ない領域
でデータを格納することができる他、ハードディスク装
置62の転送速度が遅くても、圧縮率に応じてメモリ5
3と制御装置61との間のデータ転送速度を高速化する
ことができる。そのため、データ転送速度が遅く、しか
も低容量のハードディスク装置62を効率良く使用でき
るので、低価格なハードディスク装置62を使用するこ
とができる。
In this way, in this embodiment, the data is compressed and stored in the auxiliary storage device 60, so the data can be stored in an area smaller than the original data capacity of the hard disk device 62. , even if the transfer speed of the hard disk device 62 is slow, the memory 5
3 and the control device 61 can be increased. Therefore, a hard disk device 62 with a slow data transfer rate and low capacity can be used efficiently, so a low-cost hard disk device 62 can be used.

【0039】図5は、本発明の他の実施例を示す補助記
憶装置の情報格納方式の構成図であり、図1と共通の要
素には共通の符号が付されている。
FIG. 5 is a block diagram of an information storage system of an auxiliary storage device showing another embodiment of the present invention, in which elements common to those in FIG. 1 are given the same reference numerals.

【0040】この情報格納方式が上記実施例と異なる点
は、未使用通知手段61cに置き換えて使用通知手段6
1c−1を設け、領域登録手段70及び領域再登録手段
71に置き換えてブロック登録手段72をそれぞれ設け
た点である。
The difference in this information storage method from the above embodiment is that the use notification means 6 is replaced with the unused notification means 61c.
1c-1 is provided, and block registration means 72 is provided in place of area registration means 70 and area re-registration means 71, respectively.

【0041】使用通知手段61c−1は、圧縮データが
書き込まれた格納ブロックをファイルシステム51bへ
通知する手段であり、ブロック登録手段72は、使用通
知手段61c−1により通知された格納ブロックを使用
済み領域として登録する手段である。
The use notification means 61c-1 is a means for notifying the file system 51b of the storage block in which compressed data has been written, and the block registration means 72 uses the storage block notified by the use notification means 61c-1. This is a means of registering the area as a completed area.

【0042】図1に示す上記実施例では、ファイルシス
テム51bによって指定された未使用な格納ブロックH
〜Qのすべてを、領域登録手段70を用いて一旦使用済
み領域として登録し、その後、領域再登録手段71によ
って未使用格納ブロックM〜Qを未使用領域として再登
録するようにした。これに対して本実施例では、ファイ
ルシステム51bによって指定された未使用な格納ブロ
ックH〜Qのすべてを、未使用の状態にしておき、その
後、使用された格納ブロックH〜Lをブロック登録手段
72によって使用済み領域として登録するようにしてい
る。その他の動作は、上記実施例と同様である。
In the above embodiment shown in FIG. 1, the unused storage block H specified by the file system 51b
-Q are once registered as used areas using area registration means 70, and then unused storage blocks M-Q are re-registered as unused areas by area re-registration means 71. On the other hand, in this embodiment, all of the unused storage blocks H to Q specified by the file system 51b are kept in an unused state, and then the used storage blocks H to L are stored in the block registration means. 72, the area is registered as a used area. Other operations are similar to those in the above embodiment.

【0043】本実施例は、上記実施例と同様な効果が得
られる他、前述したような登録方法を行うようにしたの
で、上記実施例に比べて補助記憶装置60に対するアク
セスが高速化される。
[0043] In addition to obtaining the same effects as the above-mentioned embodiment, this embodiment uses the registration method described above, so that access to the auxiliary storage device 60 is faster than in the above-mentioned embodiment. .

【0044】なお、本発明は、図示の実施例に限定され
ず、種々の変形が可能である。例えば、その変形例とし
て次のようなものがある。
Note that the present invention is not limited to the illustrated embodiment, and various modifications are possible. For example, there are the following variations.

【0045】(1)上記実施例では、アプリケーション
51aから要求されたデータの読み書きに限ったが、例
えば実行可能なコードの読み書きなどにも適用できる。 (2)ハードディスク装置62に代えて、例えば磁気テ
ープ装置や光ディスク装置などを用いてもよい。 (3)ファイルシステムにより書込み用として予め指定
される複数の格納ブロックH〜Qは、連続した領域であ
っても、不連続な領域であってもよい。
(1) In the above embodiment, the present invention is limited to reading and writing data requested by the application 51a, but it can also be applied to reading and writing executable code, for example. (2) Instead of the hard disk device 62, for example, a magnetic tape device or an optical disk device may be used. (3) The plurality of storage blocks H to Q designated in advance by the file system for writing may be continuous areas or discontinuous areas.

【0046】[0046]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、補助記憶装置に、情報圧縮手段、書込み手段
、未使用通知手段、読出し手段及び伸長手段を設けると
ともに、ファイルシステムに、領域登録手段及び領域再
登録手段を設け、補助記憶装置内で書込み情報あるいは
読出し情報の圧縮/伸長を行うようにしたので、従来の
ように、主装置で圧縮/伸長処理を行う必要がなくなり
、その圧縮/伸長処理に費やされていた余分な手順を省
くことができる。そのため、書込み/読出し処理の速度
が向上し、しかも、主装置は、省かれた手順分、他の作
業を行うことができるので、効率良く使用できる。
As explained in detail above, according to the first invention, the auxiliary storage device is provided with information compression means, writing means, unused notification means, reading means, and decompression means, and the file system is , an area registration means and an area re-registration means are provided to compress/expand write information or read information in the auxiliary storage device, so there is no need to perform compression/expansion processing in the main device as in the past. , the extra steps expended in the compression/decompression process can be omitted. Therefore, the speed of write/read processing is improved, and the main device can perform other tasks by the omitted steps, so it can be used more efficiently.

【0047】第2の発明によれば、補助記憶装置に、情
報圧縮手段、書込み手段、使用通知手段、読出し手段及
び伸長手段を設けるとともに、ファイルシステムに、ブ
ロック登録手段を設け、第1の発明と同様に補助記憶装
置内で書込み情報あるいは読出し情報の圧縮/伸長を行
うようにしたので、第1の発明に比べ、書込み/読出し
処理の速度がより向上する。
According to the second invention, the auxiliary storage device is provided with information compression means, writing means, usage notification means, reading means, and decompression means, and the file system is provided with block registration means. Since the write information or the read information is compressed/expanded in the auxiliary storage device in the same manner as in the above, the speed of the write/read processing is further improved compared to the first invention.

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

【図1】本発明の実施例を示す補助記憶装置の情報格納
方式の構成図である。
FIG. 1 is a configuration diagram of an information storage method of an auxiliary storage device showing an embodiment of the present invention.

【図2】従来の補助記憶装置の情報格納方式の構成図で
ある。
FIG. 2 is a configuration diagram of an information storage method of a conventional auxiliary storage device.

【図3】図1の動作説明図である。FIG. 3 is an explanatory diagram of the operation in FIG. 1;

【図4】図1中のハードディスク装置の格納形式を示す
図である。
FIG. 4 is a diagram showing a storage format of the hard disk device in FIG. 1;

【図5】本発明の他の実施例を示す補助記憶装置の情報
格納方式の構成図である。
FIG. 5 is a configuration diagram of an information storage method of an auxiliary storage device showing another embodiment of the present invention.

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

50  主装置 60  補助記憶装置 61a  情報圧縮手段 61b  書込み手段 61c  未使用通知手段 61c−1  使用通知手段 61d  読出し手段 61e  伸長手段 70  領域登録手段 71  領域再登録手段 72  ブロック登録手段 50 Main device 60 Auxiliary storage device 61a Information compression means 61b Writing means 61c Unused notification means 61c-1 Usage Notification Means 61d Reading means 61e Expansion means 70 Area registration means 71 Area reregistration means 72 Block registration means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】    複数の格納ブロックを有し主装置
からの情報を該格納ブロックに書込む書込み処理及びそ
の書込まれた情報を前記主装置へ読出す読出し処理を実
行する補助記憶装置を備え、前記主装置に設けられたフ
ァイルシステムにより前記書込み処理及び読出し処理の
実行を管理する補助記憶装置の情報格納方式において、
前記補助記憶装置は、前記書込み処理時に書込み情報を
所定の圧縮率で圧縮して圧縮情報を生成する情報圧縮手
段と、前記ファイルシステムにより予め指定された複数
の前記格納ブロックのうち、前記圧縮率に応じた任意の
格納ブロックに前記圧縮情報を書込む書込み手段と、前
記ファイルシステムにより予め指定された複数の前記格
納ブロックのうち、前記書込み手段によって書き込まれ
ずに残った未使用格納ブロックを前記ファイルシステム
へ通知する未使用通知手段と、前記読出し処理時に前記
格納ブロック中の圧縮情報を読出す読出し手段と、前記
読出し手段により読出された圧縮情報を伸長する伸長手
段とを、備えると共に、前記ファイルシステムは、該フ
ァイルシステムにより予め指定された複数の前記格納ブ
ロックを使用済み領域として登録する領域登録手段と、
前記領域登録手段により登録された複数の格納ブロック
のうち、前記未使用通知手段により通知された前記未使
用格納ブロックを未使用領域として再登録する領域再登
録手段とを、備えたことを特徴とする補助記憶装置の情
報格納方式。
1. An auxiliary storage device that has a plurality of storage blocks and executes a write process for writing information from a main device into the storage blocks and a read process for reading the written information to the main device. , an information storage method for an auxiliary storage device that manages execution of the write process and read process by a file system provided in the main device,
The auxiliary storage device includes an information compression unit that compresses write information at a predetermined compression rate to generate compressed information during the write process, and a compressed information compressor that compresses the write information at a predetermined compression rate during the write process; writing means for writing the compressed information into an arbitrary storage block according to the file system; an unused notification means for notifying a system; a reading means for reading out compressed information in the storage block during the reading process; and a decompression means for decompressing the compressed information read by the reading means; The system includes an area registration means for registering the plurality of storage blocks specified in advance by the file system as used areas;
It is characterized by comprising an area re-registration means for re-registering the unused storage block notified by the unused notification means as an unused area among the plurality of storage blocks registered by the area registration means. Information storage method of auxiliary storage device.
【請求項2】  複数の格納ブロックを有し主装置から
の情報を該格納ブロックに書込む書込み処理及びその書
込まれた情報を前記主装置へ読出す読出し処理を実行す
る補助記憶装置を備え、前記主装置に設けられたファイ
ルシステムにより前記書込み処理及び読出し処理の実行
を管理する補助記憶装置の情報格納方式において、前記
補助記憶装置は、前記書込み処理時に書込み情報を所定
の圧縮率で圧縮して圧縮情報を生成する情報圧縮手段と
、前記ファイルシステムにより予め指定された複数の前
記格納ブロックのうち、前記圧縮率に応じた任意の格納
ブロックに前記圧縮情報を書込む書込み手段と、前記圧
縮情報が書き込まれた格納ブロックを前記ファイルシス
テムへ通知する使用通知手段と、前記読出し処理時に前
記格納ブロック中の圧縮情報を読出す読出し手段と、前
記読出し手段により読出された圧縮情報を伸長する伸長
手段とを、備えると共に、前記ファイルシステムは、前
記使用通知手段により通知された前記格納ブロックを使
用済み領域として登録するブロック登録手段を、備えた
ことを特徴とする補助記憶装置の情報格納方式。
2. An auxiliary storage device having a plurality of storage blocks and executing a write process of writing information from a main device into the storage block and a read process of reading the written information to the main device. , an information storage method for an auxiliary storage device in which execution of the write process and read process is managed by a file system provided in the main device, wherein the auxiliary storage device compresses written information at a predetermined compression rate during the write process; information compression means for generating compressed information; a writing means for writing the compressed information into an arbitrary storage block according to the compression rate among the plurality of storage blocks specified in advance by the file system; a use notification means for notifying the file system of a storage block in which compressed information has been written; a reading means for reading compressed information in the storage block during the reading process; and decompressing the compressed information read by the reading means. An information storage method for an auxiliary storage device, characterized in that the file system further comprises a block registration means for registering the storage block notified by the usage notification means as a used area. .
JP3138863A 1991-06-11 1991-06-11 Information storage system of auxiliary storage device Withdrawn JPH04364547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3138863A JPH04364547A (en) 1991-06-11 1991-06-11 Information storage system of auxiliary storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3138863A JPH04364547A (en) 1991-06-11 1991-06-11 Information storage system of auxiliary storage device

Publications (1)

Publication Number Publication Date
JPH04364547A true JPH04364547A (en) 1992-12-16

Family

ID=15231896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3138863A Withdrawn JPH04364547A (en) 1991-06-11 1991-06-11 Information storage system of auxiliary storage device

Country Status (1)

Country Link
JP (1) JPH04364547A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5787487A (en) * 1993-11-30 1998-07-28 Fuji Xerox Co., Ltd. Information storage system for converting data at transfer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5787487A (en) * 1993-11-30 1998-07-28 Fuji Xerox Co., Ltd. Information storage system for converting data at transfer

Similar Documents

Publication Publication Date Title
JP3554045B2 (en) Recorded content restoring device and recording restoring device of auxiliary storage device
JP2972501B2 (en) I / O subsystem and exclusive control method in I / O subsystem
US7330947B2 (en) Method and apparatus for backing up data in virtual storage medium
JP2570003B2 (en) Magnetic tape controller
JP4220726B2 (en) External storage system and storage controller
JPH04364547A (en) Information storage system of auxiliary storage device
JP6080492B2 (en) Information processing apparatus, activation method, and program
JPH04363737A (en) Information storage system for auxiliary storage device
JP2630310B2 (en) Magnetic disk storage
JP6080491B2 (en) Information processing apparatus, activation method, and program
JPH06161842A (en) External storage device and computer using the same
JPH07191822A (en) Data storage device and data system
JPH05274198A (en) Information processor
JPH05233267A (en) Device incorporating program rom
JPH05282104A (en) External storage control device
JP6080490B2 (en) Information processing apparatus, activation method, and program
JPH09219648A (en) File processor
JPH0573476A (en) Dma device
JP2000011540A (en) Magnetic tape control device with compression mechanism
JPH05120116A (en) Information processor
JPH03196236A (en) Data recording system in on-line system
JPH0619774A (en) File server system
JPH10177491A (en) Synchronous memory file device and its method
JPH11120043A (en) Data managing method
JPH0756639B2 (en) Virtual memory management method for images

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980903