JPH04363737A - Information storage system for auxiliary storage device - Google Patents

Information storage system for auxiliary storage device

Info

Publication number
JPH04363737A
JPH04363737A JP3138862A JP13886291A JPH04363737A JP H04363737 A JPH04363737 A JP H04363737A JP 3138862 A JP3138862 A JP 3138862A JP 13886291 A JP13886291 A JP 13886291A JP H04363737 A JPH04363737 A JP H04363737A
Authority
JP
Japan
Prior art keywords
information
writing
auxiliary storage
storage device
blocks
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
JP3138862A
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 JP3138862A priority Critical patent/JPH04363737A/en
Publication of JPH04363737A publication Critical patent/JPH04363737A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To carry out a writing and reading processing at a high speed. CONSTITUTION:When an information compressing means 61a compresses writing information, a writing means 61b writes the compressed information in several physical blocks among the plural physical blocks designated for writing according to the compressibility. A correspondence updating means 61c reloads logical blocks corresponding to the residual unused physical blocks in which the compressed information is not written to the logical blocks different from the above mentioned logical blocks. Moreover, the compressed information in the physical blocks is read by a reading means 61d, and the read compressed information is extended by an extending means 61e. Thus, the compression and extension of the writing or reading information can be operated in an auxiliary storage device 60.

Description

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

【0001】0001

【産業上の利用分野】本発明は、仮想記憶システムを用
いたコンピュータ等に外付けされ、主メモリの記憶容量
の不足を補う補助記憶装置において、格納情報に対して
圧縮/伸長を行う機能を備えた補助記憶装置の情報格納
方式に関するものである。
[Industrial Application Field] The present invention provides a function for compressing/expanding stored information in an auxiliary storage device that is externally attached to a computer using a virtual storage system and compensates for a lack of storage capacity in the main memory. The present invention relates to an information storage method of an auxiliary storage device provided therein.

【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 block (area) on the hard disk device 22 specified by the file system.

【0009】また、ハードディスク装置22に書き込ま
れた圧縮データをメモリ13に読み込むには、制御装置
21はファイルシステムから指定されたブロックのデー
タを読出し、そのデータをCPU12へ送る。CPU1
2は送られてきたデータを特殊なプログラムによって伸
長し、メモリ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 of a specified block from the file system and sends the data to the CPU 12. CPU1
2 decompresses the sent data using a special program and stores it in the 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 data writing/reading speed 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 tasks, and the CPU 12
There was also the problem that the usage efficiency of

【0013】本発明は前記従来技術の持っていた課題と
して、データの書込み/読出し速度が低下する点などに
ついて解決した補助記憶装置の情報格納方式を提供する
ものである。
The present invention provides an information storage system for an auxiliary storage device that solves the problem of the prior art, such as a decrease in data writing/reading speed.

【0014】[0014]

【課題を解決するための手段】本発明では、前記課題を
解決するために、論理ブロックに対応付けられた複数の
物理ブロックを有し、該物理ブロックに主装置からの情
報を書込む書込み処理及びその書込まれた情報を前記主
装置へ読出す読出し処理を実行する補助記憶装置を備え
、前記主装置に設けられたファイルシステムにより前記
書込み処理及び読出し処理の実行を管理する補助記憶装
置の情報格納方式において、前記補助記憶装置は、次の
ような手段を講じたものである。即ち、前記書込み処理
時に書込み情報を所定の圧縮率で圧縮して圧縮情報を生
成する情報圧縮手段と、前記ファイルシステムの指示に
基づき予め指定された複数の物理ブロックのうち、前記
圧縮率に応じた任意の物理ブロックに前記圧縮情報を書
込む書込み手段と、前記指定された複数の物理ブロック
のうち、前記書込み手段によって書き込まれずに残った
未使用物理ブロックに対応した論理ブロックを別の論理
ブロックに書換え、前記論理ブロックと物理ブロックと
の対応付けを変更する対応付け変更手段と、前記読出し
処理時に前記物理ブロック中の圧縮情報を読出す読出し
手段と、前記読出し手段により読出された圧縮情報を伸
長する伸長手段とを、備えたものである。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention has a plurality of physical blocks associated with logical blocks, and provides a write process for writing information from a main device into the physical blocks. and an auxiliary storage device that executes a read process to read the written information to the main device, and an auxiliary storage device that manages execution of the write process and read process by a file system provided in the main device. In the information storage system, the auxiliary storage device takes the following measures. That is, information compression means generates compressed information by compressing write information at a predetermined compression rate during the write process; writing means for writing the compressed information into an arbitrary physical block; and a logical block corresponding to an unused physical block remaining unwritten by the writing means among the specified plurality of physical blocks to another logical block. a correspondence changing means for rewriting the correspondence between the logical block and the physical block, a reading means for reading the compressed information in the physical block during the reading process, and a reading means for reading the compressed information read by the reading means. and an elongating means for elongating.

【0015】[0015]

【作用】本発明は、以上のように補助記憶装置の情報格
納方式を構成したので、情報圧縮手段が書込み情報を所
定の圧縮率で圧縮すると、書込み手段は、その圧縮率に
応じて、書込み用に指定された複数の物理ブロックのう
ち、数個の物理ブロックに圧縮情報を書込む。圧縮情報
が書込まれた後、対応付け変更手段は、書き込まれずに
残った未使用物理ブロックに対応した論理ブロックを、
その論理ブロックとは別の論理ブロックに書換え、論理
ブロックと物理ブロックとの対応付けを変更する。
[Operation] The present invention has the information storage method of the auxiliary storage device configured as described above, so that when the information compression means compresses the written information at a predetermined compression rate, the writing means writes the information according to the compression rate. Writes compression information to several physical blocks among the multiple physical blocks specified for the purpose. After the compression information is written, the association change means changes the logical blocks corresponding to the unused physical blocks that remain without being written to.
The logical block is rewritten to a different logical block, and the correspondence between the logical block and the physical block is changed.

【0016】さらに、読出し処理時には、読出し手段に
よって物理ブロック中の圧縮情報が読出され、その読出
された圧縮情報を伸長手段は伸長し、それが主装置側へ
転送されていく。これにより、補助記憶装置への情報書
込み、あるいは読出しと同時に圧縮/伸長処理を行うこ
とができる。従って、前記課題を解決できるのである。
Furthermore, during the read process, the read means reads the compressed information in the physical 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. Therefore, the above problem can be solved.

【0017】[0017]

【実施例】図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.

【0018】CPU51は、プログラムであるアプリケ
ーション51a及びファイルシステム51bを有してい
る。アプリケーション51aは、例えば補助記憶装置6
0に対するデータの書込み/読出し処理をファイルシス
テム51bに命令するプログラムであり、ファイルシス
テム51bは、アプリケーション51aの命令を受けて
該データの書込み/読出し処理を管理するプログラムで
ある。CPU51は、これらのプログラムに従って動作
することにより、データの書込み処理及び読出し処理を
制御する機能を有する。
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.

【0019】補助記憶装置60は、バス52に接続され
た制御装置61及びハードディスク装置62で構成され
ている。ハードディスク装置62は、実際の格納領域で
ある複数の物理ブロックを有するほか、アクセス要求の
あった仮想の論理ブロックと実際にアクセスする物理ブ
ロックの対応付けを保持する対応表を特定領域に備えて
いる。
The auxiliary storage device 60 is composed of a control device 61 and a hard disk device 62 connected to the bus 52. The hard disk device 62 has a plurality of physical blocks that are actual storage areas, and also has a correspondence table in a specific area that holds the correspondence between the virtual logical blocks that are requested to access and the physical blocks that are actually accessed. .

【0020】制御装置61は、ファイルシステム51b
の指示を受けて、ハードディスク装置62に対するデー
タの書込み/読出し処理を制御する装置であり、対応表
書込み領域61A、情報圧縮手段61a、書込み手段6
1b、対応付け変更手段61c、読出し手段61d及び
伸長手段61eを備えている。
[0020] The control device 61 has a file system 51b.
This is a device that controls data writing/reading processing for the hard disk device 62 in response to instructions from the hard disk device 62, and includes a correspondence table writing area 61A, information compression means 61a, and writing means 6.
1b, an association changing means 61c, a reading means 61d, and an expanding means 61e.

【0021】対応表書込み領域61Aは、ハードディス
ク装置62から読み出された対応表を記憶するRAM等
の領域である。情報圧縮手段61aは、書込み処理時に
書込み情報を所定の圧縮率で圧縮して圧縮情報を生成す
る手段であり、書込み手段61bは、ファイルシステム
51bにより予め指定されたハードディスク装置62中
の複数の未使用物理ブロックのうち、前記圧縮率に応じ
た任意の物理ブロックに前記圧縮情報を書込む手段であ
る。
The correspondence table writing area 61A is an area such as a RAM that stores the correspondence table read from the hard disk device 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 compresses a plurality of unused files in the hard disk device 62 specified in advance by the file system 51b. It is a means for writing the compression information into an arbitrary physical block according to the compression ratio among the used physical blocks.

【0022】対応付け変更手段61cは、ファイルシス
テム51bにより予め指定された複数のブロックのうち
、書込み手段61bによって書き込まれずに残った未使
用物理ブロックに対応した論理ブロックを別の論理ブロ
ックになるように前記対応表を書換え、論理ブロックと
物理ブロックとの対応付けを変更する手段である。読出
し手段61dは読出し処理時に物理ブロック中の圧縮情
報を読出す手段であり、加えて、伸長手段61eは、読
出し処理時に物理ブロックから読出された情報を伸長す
る手段である。
[0022] The association changing means 61c changes a logical block corresponding to an unused physical block that remains unwritten by the writing means 61b from among the plurality of blocks specified in advance by the file system 51b into a different logical block. This means rewrites the correspondence table to change the correspondence between logical blocks and physical blocks. The reading means 61d is a means for reading compressed information in a physical block during a read process, and in addition, the decompressing means 61e is a means for decompressing information read from a physical block during a read process.

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

【0024】まず、ハードディスク装置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.

【0025】(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.

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

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

【0028】(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.

【0029】(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 blocks among the plurality of blocks specified by the file system 51b according to the compression ratio. For example, since the data has been compressed to 19K bytes, it is written into five blocks h-l among the previously specified blocks h-q, as shown in FIG.

【0030】(e)ステップS5の動作制御装置61の
対応付け変更手段61cは、未使用の5個のブロックを
、ハードディスク装置62の最大ブロックM以降に続く
5個のブロックとして、論理ブロックと物理ブロックの
対応表を書換える。
(e) In step S5, the association changing means 61c of the operation control device 61 assigns the five unused blocks as the five blocks following the maximum block M of the hard disk device 62, and assigns them to logical blocks and physical blocks. Rewrite the block correspondence table.

【0031】例えば、先程の書込みではブロックm〜q
の5個のブロックが未使用なので、このブロックm〜q
を図4に示すブロックM+1〜M+5へのアクセスに使
用されるブロックとして対応表を書換える。これは、実
際に存在しない論理ブロックM+1〜M+5から先程の
書込みで未使用であった物理ブロックへリンクAがはら
れていることを示している。このように、対応表が書換
えられることにより、実際に存在しない論理ブロックM
+1〜M+5へのアクセスが生じると、実存する物理ブ
ロックm〜qが代替ブロックとしてアクセスされる。
For example, in the previous writing, blocks m to q
5 blocks are unused, so these blocks m~q
The correspondence table is rewritten as blocks used to access blocks M+1 to M+5 shown in FIG. This indicates that a link A is established from the logical blocks M+1 to M+5, which do not actually exist, to the physical block that was unused in the previous writing. In this way, by rewriting the correspondence table, the logical block M that does not actually exist
When access to +1 to M+5 occurs, existing physical blocks m to q are accessed as alternative blocks.

【0032】また、アプリケーション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
Compressed data in a predetermined physical block of the hard disk device 62 is read by 1d. The read compressed data is transferred to a predetermined address in the memory 53 while being expanded by the expansion means 61e.

【0033】なお、この読出し処理時に、ファイルシス
テム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 may request the necessary memory capacity from the file system 51b.

【0034】本実施例は、次のような利点を有している
This embodiment has the following advantages.

【0035】(a)補助記憶装置60内でデータを圧縮
して格納するようにしたので、ハードディスク装置62
の元のデータ容量より少ない領域でデータを格納するこ
とができる他、ハードディスク装置62の転送速度が遅
くても、圧縮率に応じてメモリ53と制御装置61との
間のデータ転送速度を高速化することができる。そのた
め、データ転送速度が遅く、しかも低容量のハードディ
スク装置62を効率良く使用できるので、低価格なハー
ドディスク装置62を使用することができる。
(a) Since the data is compressed and stored in the auxiliary storage device 60, the hard disk device 62
In addition to being able to store data in an area smaller than the original data capacity, the data transfer speed between the memory 53 and the control device 61 can be increased according to the compression ratio even if the transfer speed of the hard disk device 62 is slow. can do. 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.

【0036】(b)対応表は、ハードディスク装置62
の特定の領域に格納し、その内容を制御装置61内の対
応表書込み領域61Aへ転送して使用するようにしたの
で、例えば、制御装置61の電源が停止されて対応表書
込領域61Aに保持されている対応表の内容が消去され
ても、ハードディスク装置62から再び転送してくれば
良く、正確な処理が可能となる。
(b) The correspondence table shows the hard disk drive 62
, and the contents are transferred to the correspondence table writing area 61A in the control device 61 for use. Even if the content of the stored correspondence table is erased, it is only necessary to transfer it again from the hard disk device 62, and accurate processing becomes possible.

【0037】(c)対応表は、すべての論理ブロック及
び物理ブロックを管理するので、対応表に保持された物
理ブロックをファイルシステム51bから隠蔽すること
ができる。これによって、ファイルシステム51bによ
り、対応表の内容が誤って書換えられるような恐れがな
くなる。
(c) Since the correspondence table manages all logical blocks and physical blocks, the physical blocks held in the correspondence table can be hidden from the file system 51b. This eliminates the possibility that the contents of the correspondence table will be erroneously rewritten by the file system 51b.

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

【0039】(1)上記実施例では、アプリケーション
51aから要求されたデータの読み書きに限ったが、例
えば実行可能なコードの読み書きなどにも適用できる。
(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.

【0040】(2)ハードディスク装置62に代えて、
例えば磁気テープ装置や光ディスク装置などを用いても
よい。
(2) Instead of the hard disk device 62,
For example, a magnetic tape device or an optical disk device may be used.

【0041】(3)予め指定される複数の物理ブロック
h〜qは、連続した領域であっても、不連続な領域であ
ってもよい。
(3) The plurality of physical blocks h to q specified in advance may be continuous areas or discontinuous areas.

【0042】[0042]

【発明の効果】以上詳細に説明したように、本発明によ
れば、補助記憶装置に、情報圧縮手段、書込み手段、対
応付け変更手段、読出し手段及び伸長手段を設け、補助
記憶装置内で書込み情報あるいは読出し情報の圧縮/伸
長を行うようにしたので、従来のように、主装置で圧縮
/伸長処理を行う必要がなくなり、その圧縮/伸長処理
に費やされていた余分な手順を省くことができる。その
ため、書込み/読出し速度が向上し、しかも、主装置は
、省かれた手順分、他の作業を行うことができるので、
効率良く使用できる。
As described above in detail, according to the present invention, the auxiliary storage device is provided with information compression means, writing means, correspondence changing means, reading means, and decompression means, and information is written in the auxiliary storage device. Since the information or read information is compressed/expanded, it is no longer necessary to perform compression/expansion processing in the main device as in the past, and the extra steps used for compression/expansion processing can be omitted. Can be done. Therefore, the writing/reading speed is improved, and the main device can perform other tasks by replacing the omitted steps.
Can be used efficiently.

【図面の簡単な説明】[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;

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

50  主装置 60  補助記憶装置 61A  対応表書込領域 61a  情報圧縮手段 61b  書込み手段 61c  対応付け変更手段 61d  読出し手段 61e  伸長手段 62  ハードディスク装置 50 Main device 60 Auxiliary storage device 61A Correspondence table writing area 61a Information compression means 61b Writing means 61c Correspondence change means 61d Reading means 61e Expansion means 62 Hard disk device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  論理ブロックに対応付けられた複数の
物理ブロックを有し、該物理ブロックに主装置からの情
報を書込む書込み処理及びその書込まれた情報を前記主
装置へ読出す読出し処理を実行する補助記憶装置を備え
、前記主装置に設けられたファイルシステムにより前記
書込み処理及び読出し処理の実行を管理する補助記憶装
置の情報格納方式において、前記補助記憶装置は、前記
書込み処理時に書込み情報を所定の圧縮率で圧縮して圧
縮情報を生成する情報圧縮手段と、前記ファイルシステ
ムの指示に基づき予め指定された複数の物理ブロックの
うち、前記圧縮率に応じた任意の物理ブロックに前記圧
縮情報を書込む書込み手段と、前記指定された複数の物
理ブロックのうち、前記書込み手段によって書き込まれ
ずに残った未使用物理ブロックに対応した論理ブロック
を別の論理ブロックに書換え、前記論理ブロックと物理
ブロックとの対応付けを変更する対応付け変更手段と、
前記読出し処理時に前記物理ブロック中の圧縮情報を読
出す読出し手段と、前記読出し手段により読出された圧
縮情報を伸長する伸長手段とを、備えたことを特徴とす
る補助記憶装置の情報格納方式。
1. A write process that has a plurality of physical blocks associated with a logical block, writes information from a main device to the physical block, and a read process that reads the written information to the main device. In the information storage method of the auxiliary storage device, the auxiliary storage device includes an auxiliary storage device that executes the write process and manages the execution of the write process and the read process by a file system provided in the main device. an information compression means for generating compressed information by compressing information at a predetermined compression rate; a writing means for writing compressed information; and a logical block corresponding to an unused physical block remaining unwritten by the writing means among the specified plurality of physical blocks, and rewriting the logical block to another logical block, and writing the logical block to another logical block. a mapping change means for changing the mapping with the physical block;
An information storage system for an auxiliary storage device, comprising: a reading unit for reading compressed information in the physical block during the reading process; and a decompressing unit for decompressing the compressed information read by the reading unit.
JP3138862A 1991-06-11 1991-06-11 Information storage system for auxiliary storage device Withdrawn JPH04363737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3138862A JPH04363737A (en) 1991-06-11 1991-06-11 Information storage system for auxiliary storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3138862A JPH04363737A (en) 1991-06-11 1991-06-11 Information storage system for auxiliary storage device

Publications (1)

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

Family

ID=15231875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3138862A Withdrawn JPH04363737A (en) 1991-06-11 1991-06-11 Information storage system for auxiliary storage device

Country Status (1)

Country Link
JP (1) JPH04363737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995029437A1 (en) * 1994-04-22 1995-11-02 Sony Corporation Device and method for transmitting data, and device and method for recording data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995029437A1 (en) * 1994-04-22 1995-11-02 Sony Corporation Device and method for transmitting data, and device and method for recording data

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
US7281104B1 (en) System and method for online data migration
US7380091B2 (en) Heap memory management using a tri-linked list
US5717886A (en) Semiconductor disk device and memory management method
JP2570003B2 (en) Magnetic tape controller
JPH08234921A (en) Method for management of address space and storage subsystem
JPH0628108A (en) Data storage system
US20040010668A1 (en) Backup technique for data stored on multiple storage devices
US20110125950A1 (en) Systems and methods for performing deduplicated data processing on tape
US8151068B2 (en) Data copy management for faster reads
JP4220726B2 (en) External storage system and storage controller
JPH04363737A (en) Information storage system for auxiliary storage device
US6510499B1 (en) Method, apparatus, and article of manufacture for providing access to data stored in compressed files
JP2000029636A (en) I/o subsystem, data storage and memory initialization method in i/o subsystem
US7318131B2 (en) CPU-containing LSI, and optical disk device and LSI device with the same
JP6080492B2 (en) Information processing apparatus, activation method, and program
JPH04364547A (en) Information storage system of auxiliary storage device
JPH06161842A (en) External storage device and computer using the same
JPH0793101A (en) Data backup device
US20020169758A1 (en) Apparatus and methods for reducing compression and decompression time in a computer system
JP6080491B2 (en) Information processing apparatus, activation method, and program
JPH07191822A (en) Data storage device and data system
JPH04241644A (en) Journal sampling processor

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