JP2630310B2 - Magnetic disk storage - Google Patents

Magnetic disk storage

Info

Publication number
JP2630310B2
JP2630310B2 JP7162534A JP16253495A JP2630310B2 JP 2630310 B2 JP2630310 B2 JP 2630310B2 JP 7162534 A JP7162534 A JP 7162534A JP 16253495 A JP16253495 A JP 16253495A JP 2630310 B2 JP2630310 B2 JP 2630310B2
Authority
JP
Japan
Prior art keywords
data
magnetic disk
unit
disk drive
storage area
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.)
Expired - Lifetime
Application number
JP7162534A
Other languages
Japanese (ja)
Other versions
JPH0916444A (en
Inventor
学 松浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7162534A priority Critical patent/JP2630310B2/en
Publication of JPH0916444A publication Critical patent/JPH0916444A/en
Application granted granted Critical
Publication of JP2630310B2 publication Critical patent/JP2630310B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、磁気ディスク記憶装
置に関し、特に記憶領域を管理する管理情報を自身で保
持して、データブロックを再配置できる磁気ディスク記
憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk storage device, and more particularly to a magnetic disk storage device capable of rearranging data blocks while maintaining management information for managing storage areas.

【0002】[0002]

【従来の技術】従来、磁気ディスク記憶装置の記憶領域
を管理する情報を処理装置側で保持し、データ入出力を
行っている。特開平4−364547号公報によれば、
補助記憶装置60内に、書込みデータを圧縮する情報圧
縮手段61aと、ハードディスク装置62の記憶領域に
データを書込む書込み手段61bと、記憶領域の未使用
領域をCPU51に通知する未使用通知手段61cと、
記憶領域からデータを読出す読出し手段61dと、読出
した圧縮データを元に戻す伸長手段61eと、が設けら
れている。さらに、主装置50のCPU51のファイル
システム51bに、記憶領域を管理し、未使用ブロック
の登録および再登録をするブロック登録手段70および
ブロック再登録手段71が設けられている。
2. Description of the Related Art Conventionally, information for managing a storage area of a magnetic disk storage device is held on a processing device side to perform data input / output. According to JP-A-4-36447,
In the auxiliary storage device 60, an information compression unit 61a for compressing write data, a writing unit 61b for writing data to a storage area of the hard disk device 62, and an unused notification unit 61c for notifying the CPU 51 of an unused area of the storage area. When,
There are provided reading means 61d for reading data from the storage area and decompressing means 61e for restoring the read compressed data. Further, the file system 51b of the CPU 51 of the main device 50 is provided with a block registration unit 70 and a block re-registration unit 71 for managing storage areas and registering and re-registering unused blocks.

【0003】次に、動作を説明する。主装置50内のア
プリケーション51aが、補助記憶装置60に対する書
込み要求を発生させた場合、ファイルシステム51bに
よって指定された記憶領域にアクセス要求を出す。補助
記憶装置60は、情報圧縮手段61a、書込み手段61
bを経て、磁気ディスク記憶装置62に圧縮データが書
き込まれる。圧縮データが書き込まれた後は、未使用手
段61cが記憶領域の未使用領域を主装置50に通知す
る。読出し要求の場合は、記憶領域のデータは、読出し
手段61d、伸長手段61eを経て伸長されたデータを
主装置50内のメモリ53へ転送される。
Next, the operation will be described. When the application 51a in the main device 50 issues a write request to the auxiliary storage device 60, it issues an access request to the storage area specified by the file system 51b. The auxiliary storage device 60 includes an information compression unit 61a, a writing unit 61
Through b, the compressed data is written to the magnetic disk storage device 62. After the compressed data is written, the unused unit 61c notifies the main device 50 of the unused area of the storage area. In the case of a read request, the data in the storage area is transferred to the memory 53 in the main device 50 by expanding the expanded data via the reading means 61d and the expanding means 61e.

【0004】この先行例によれば、データ圧縮およびデ
ータ伸長処理が主装置50でなく補助記憶装置60で行
われるため、主装置50の処理手順が省かれて、書込み
/読出し処理速度が向上する。しかし、ハードディスク
装置62の未使用領域を主装置側で管理しているため、
補助記憶装置60を別の主装置50に接続することがで
きない。また、記憶領域の管理情報が何等かの原因で破
壊された場合、ハードディスク装置が使用できなくなる
恐れがある。更にまた、ハードディスク装置62の使用
を続けていくとデータブロックの記憶領域が不連続な記
憶領域にまたがり、書込み/読出し処理の速度を劣化さ
せる。
According to this prior art, since the data compression and data decompression processing are performed in the auxiliary storage device 60 instead of the main device 50, the processing procedure of the main device 50 is omitted, and the write / read processing speed is improved. . However, since the unused area of the hard disk device 62 is managed on the main device side,
The auxiliary storage device 60 cannot be connected to another main device 50. If the management information of the storage area is destroyed for some reason, the hard disk device may not be usable. Furthermore, as the use of the hard disk device 62 is continued, the storage area of the data block extends over the discontinuous storage area, deteriorating the write / read processing speed.

【0005】[0005]

【発明が解決しようとする課題】従来の磁気ディスク記
憶装置における記憶領域管理を磁気ディスク記憶装置で
行い、別の主装置に接続替えを容易にする。
SUMMARY OF THE INVENTION The storage area management in a conventional magnetic disk storage device is performed by the magnetic disk storage device, so that the connection can be easily switched to another main device.

【0006】更に、磁気ディスク記憶装置は、データを
格納するブロックが不連続な記憶領域にまたがり、書込
み/読出し処理時間の低下を防ぐデータブロック再配置
を、自身が保持する記憶領域管理情報に基づいて行う。
Further, the magnetic disk storage device performs data block relocation to prevent a decrease in write / read processing time over blocks in which data is stored over discontinuous storage regions based on storage region management information held by itself. Do it.

【0007】[0007]

【課題を解決するための手段】この発明の目的は、磁気
ディスク記憶装置の記憶領域管理情報を磁気ディスク記
憶装置が持ち、処理装置との接続替えを可能にする。
SUMMARY OF THE INVENTION It is an object of the present invention to enable a magnetic disk storage device to have storage area management information of the magnetic disk storage device and to switch the connection with a processing device.

【0008】更に、この発明の目的は、磁気ディスク記
憶装置のアイドル状態にデータブロックを該管理情報を
用いて再配置し、アクセス時間の低下を防ぐことにあ
る。
It is another object of the present invention to rearrange data blocks in the idle state of the magnetic disk storage device using the management information, thereby preventing a reduction in access time.

【0009】そのため、この発明の処理装置から送付さ
れる書込み/読出し要求に基づいて、データの書込み/
読出しを制御する制御部と、書き込みデータの圧縮と読
み出しデータの伸長をする手段と、データを格納する記
憶領域とデータ受け渡しをする磁気ディスクドライブ
と、を備える磁気ディスク記憶装置において、前記処理
装置と前記磁気ディスクドライブの間を受け渡しされる
データを一時記憶するメモリと、前記記憶領域の管理情
報,データ自体,圧縮および伸長処理の制御情報を格納
する磁気ディスクドライブと、前記処理装置から渡され
る書込みデータを一時記憶するメモリで圧縮処理する圧
縮部と、前記磁気ディスクドライブから渡される読出し
データを一時記憶するメモリで伸長処理する伸長部と、
前記磁気ディスクドライブの記憶領域に格納されている
データブロックを連続した記憶領域に、前記管理情報に
基づいて再配置する再配置部と、前記磁気ディスク記憶
装置に対するアクセス状況を監視して一定期間アクセス
がないとき、前記再配置部を起動するタイマ回路と、を
備えることを特徴とする。
Therefore, data writing / reading is performed based on a write / read request sent from the processing device of the present invention.
A magnetic disk storage device comprising: a control unit that controls reading; a unit that compresses write data and a unit that expands read data; and a magnetic disk drive that exchanges data with a storage area that stores data. A memory for temporarily storing data transferred between the magnetic disk drives; a magnetic disk drive for storing management information of the storage area, data itself, and control information for compression and decompression processing; A compression unit that performs compression processing in a memory that temporarily stores data; an expansion unit that performs expansion processing in a memory that temporarily stores read data passed from the magnetic disk drive;
A relocation unit that relocates data blocks stored in a storage area of the magnetic disk drive to a continuous storage area based on the management information; and monitors access status to the magnetic disk storage device to access for a fixed period of time. And a timer circuit for activating the rearrangement unit when there is no data.

【0010】[0010]

【実施例】次に、この発明について図面を参照して説明
する。
Next, the present invention will be described with reference to the drawings.

【0011】この発明の一実施例の機能ブロックを示す
図1を参照すると、磁気ディスク記憶装置2は、処理装
置1と磁気ディスク記憶装置2間のインタフェースおよ
び自身の動作を制御する制御部10と、書込みデータを
圧縮する圧縮プログラムによって動作する圧縮部11
と、圧縮されたデータを伸長する伸長プログラムによっ
て動作する伸長部12と、記憶領域のデータブロックを
再配置する再配置プログラムで動作する再配置部13
と、処理装置1から磁気ディスク記憶装置2にアクセス
が発生しないアイドル期間を監視するタイマ回路14
と、書込み/読出しデータならびに圧縮,伸長,再配置
のデータを一時蓄えるメモリ16と、データ自体ならび
に記憶領域管理情報および圧縮,伸長,再配置の制御情
報を受け渡しする磁気ディスクドライブ15とを有す
る。
Referring to FIG. 1 showing functional blocks of an embodiment of the present invention, a magnetic disk storage device 2 includes an interface between a processing device 1 and the magnetic disk storage device 2 and a control unit 10 for controlling its own operation. , A compression unit 11 operated by a compression program for compressing write data
A decompression unit 12 operated by a decompression program for decompressing compressed data, and a relocation unit 13 operated by a relocation program for relocating data blocks in a storage area
And a timer circuit 14 for monitoring an idle period during which no access occurs from the processing device 1 to the magnetic disk storage device 2.
And a memory 16 for temporarily storing write / read data and compression / decompression / relocation data, and a magnetic disk drive 15 for transferring the data itself and storage area management information and compression / decompression / relocation control information.

【0012】更に、磁気ディスクドライブ15の論理的
な構造は、記憶領域管理情報であるインデックス部20
と、データ自体を格納するデータ部21と、データ圧縮
を行う圧縮プログラム格納部22と、データ伸長を行う
伸長プログラム格納部23と、データブロックの再配置
を行う再配置プログラム格納部24と、を受け渡すイン
タフェ−スをもつ。
Further, the logical structure of the magnetic disk drive 15 is such that an index unit 20 which is storage area management information.
And a data section 21 for storing data itself, a compression program storage section 22 for performing data compression, a decompression program storage section 23 for performing data decompression, and a relocation program storage section 24 for relocating data blocks. It has an interface for passing.

【0013】次に、実施例の動作について説明する。Next, the operation of the embodiment will be described.

【0014】処理装置1から磁気ディスク記憶装置2へ
書込み要求が発生した場合、その要求をまず制御部10
で受ける。制御部10は書込みデータをメモリ16に一
時蓄え、圧縮部11で該データを圧縮する。圧縮された
データは、制御部10によって、記憶領域管理情報であ
るインデックス部20が参照されて、磁気ディスクドラ
イブ15のデータ部21に書き込まれる。制御部10は
磁気ディスクドライブ15のデータ部21にデータが書
き込まれたことを示す応答を処理装置1に通知する。処
理装置1から磁気ディスク記憶装置2に対し、データ読
み込み要求が発生した場合、その要求をまず制御部10
で受ける。制御部10は磁気ディスクドライブ15のイ
ンデックス部20を参照して、データ部21からデータ
を読み込みメモリ16に一時蓄える。伸長部12は、圧
縮されているデータを元に戻す伸長を行い、制御部10
に戻す。制御部10はそのデータを読込みデータとして
処理装置1に送付する。
When a write request is issued from the processing device 1 to the magnetic disk storage device 2, the request is first sent to the control unit 10.
Receive at The control unit 10 temporarily stores the write data in the memory 16, and the compression unit 11 compresses the data. The compressed data is written to the data section 21 of the magnetic disk drive 15 by the control section 10 by referring to the index section 20 which is storage area management information. The control unit 10 notifies the processing device 1 of a response indicating that data has been written to the data unit 21 of the magnetic disk drive 15. When a data read request is issued from the processing device 1 to the magnetic disk storage device 2, the request is first sent to the control unit 10.
Receive at The control unit 10 reads the data from the data unit 21 with reference to the index unit 20 of the magnetic disk drive 15 and temporarily stores the data in the memory 16. The decompression unit 12 performs decompression for restoring the compressed data to its original state.
Return to The control unit 10 sends the data to the processing device 1 as read data.

【0015】磁気ディスク記憶装置2に対して、予じめ
定められた一定時間、書込み/読込み要求によるアクセ
スが発生しない場合、タイマ回路14は該アクセスがな
いことを検知して、再配置部13に記憶領域のデータブ
ロックの再配置要求を出す。
If no access is made to the magnetic disk storage device 2 by a write / read request for a predetermined period of time, the timer circuit 14 detects that there is no access, and the relocation unit 13 Issue a request to relocate the data blocks in the storage area.

【0016】再配置部13は、制御部10を介して磁気
ディスクドライブ15に格納されているデータブロック
を、記憶領域管理情報であるインデックス部20に基づ
いて再配置する。1つのファイルが不連続な記憶領域に
またがっている場合、連続な記憶領域に格納されるよう
にデータブロックが再配置され、磁気ディスクドライブ
15のシークタイムが短縮され、アクセスの低下が防が
れる。
The relocation unit 13 relocates the data blocks stored in the magnetic disk drive 15 via the control unit 10 based on the index unit 20 which is storage area management information. If one file spans a discontinuous storage area, the data blocks are rearranged so as to be stored in the continuous storage area, the seek time of the magnetic disk drive 15 is reduced, and a decrease in access is prevented. .

【0017】[0017]

【発明の効果】以上説明したように、この発明によれ
ば、磁気ディスク記憶装置が、記憶領域管理情報である
インデックス部を磁気ディスク記憶装置自身で持ってい
るため、磁気ディスク記憶装置を別の処理装置に接続替
えすることができる。
As described above, according to the present invention, the magnetic disk storage device has the index portion, which is the storage area management information, in the magnetic disk storage device itself. The connection to the processing device can be changed.

【0018】また、この発明によれば、データブロック
の再配置機能を有しているため、圧縮/伸長機能だけを
有する磁気ディスク記憶装置に比べ、アクセス速度の低
下が防ぐことができる。
Further, according to the present invention, since a data block relocation function is provided, a decrease in access speed can be prevented as compared with a magnetic disk storage device having only a compression / decompression function.

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

【図1】この発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】図1の磁気ディスクドライブの論理的な構造を
示す図である。
FIG. 2 is a diagram showing a logical structure of the magnetic disk drive of FIG.

【図3】従来の補助記憶装置のブロック図である。FIG. 3 is a block diagram of a conventional auxiliary storage device.

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

1 処理装置 2 磁気ディスク記憶装置 10 制御部 11 圧縮部 12 伸長部 13 再配置部 14 タイマ回路 15 磁気ディスクドライブ 16 メモリ Reference Signs List 1 processing device 2 magnetic disk storage device 10 control unit 11 compression unit 12 decompression unit 13 relocation unit 14 timer circuit 15 magnetic disk drive 16 memory

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 処理装置から送付される書込み/読出し
要求に基づいて、データの書込み/読出しを制御する制
御部と、書き込みデータの圧縮と読み出しデータの伸長
をする手段と、データを格納する記憶領域と前記データ
の受け渡しをする磁気ディスクドライブと、を備える磁
気ディスク記憶装置において、 前記処理装置と前記磁気ディスクドライブの間を受け渡
されるデータを一時記憶するメモリと、 前記記憶領域の管理情報,データ自体,圧縮および伸長
処理の制御情報の受け渡しをする磁気ディスクドライブ
と、 前記処理装置から渡される書込みデータを一時記憶する
メモリで圧縮処理する圧縮部と、 前記磁気ディスクドライブから渡される読出しデータを
一時記憶するメモリで伸長処理する伸長部と、 前記磁気ディスクドライブの記憶領域のデータブロック
を連続した記憶領域に、前記管理情報に基づいて再配置
する再配置部と、 前記磁気ディスク記憶装置に対するアクセス状況を監視
して一定期間アクセスがないとき、前記再配置部を起動
するタイマ回路と、 を備えることを特徴とする磁気ディスク記憶装置。
1. A control unit for controlling writing / reading of data based on a writing / reading request sent from a processing device, means for compressing write data and expanding read data, and storage for storing data. A magnetic disk storage device comprising: an area and a magnetic disk drive that transfers the data; a memory that temporarily stores data transferred between the processing device and the magnetic disk drive; management information of the storage area; A magnetic disk drive that exchanges data itself, control information for compression and decompression processing, a compression unit that performs compression processing in a memory that temporarily stores write data that is passed from the processing device, and a read unit that receives read data that is passed from the magnetic disk drive. A decompression unit for performing a decompression process in a memory for temporarily storing, and the magnetic disk drive A relocation unit that relocates data blocks of a storage area to a continuous storage area based on the management information; and monitors an access status to the magnetic disk storage device, and when there is no access for a certain period, the relocation unit. A magnetic disk storage device, comprising: a timer circuit that starts up.
JP7162534A 1995-06-28 1995-06-28 Magnetic disk storage Expired - Lifetime JP2630310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7162534A JP2630310B2 (en) 1995-06-28 1995-06-28 Magnetic disk storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7162534A JP2630310B2 (en) 1995-06-28 1995-06-28 Magnetic disk storage

Publications (2)

Publication Number Publication Date
JPH0916444A JPH0916444A (en) 1997-01-17
JP2630310B2 true JP2630310B2 (en) 1997-07-16

Family

ID=15756447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7162534A Expired - Lifetime JP2630310B2 (en) 1995-06-28 1995-06-28 Magnetic disk storage

Country Status (1)

Country Link
JP (1) JP2630310B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3641872B2 (en) * 1996-04-08 2005-04-27 株式会社日立製作所 Storage system
JP3744504B2 (en) * 2003-04-01 2006-02-15 株式会社日立製作所 Processor device

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
発明協会公開技報公技番号93−12143
発明協会公開技報公技番号93−19718
発明協会公開技報公技番号93−22660
発明協会公開技報公技番号93−23859
発明協会公開技報公技番号94−13297

Also Published As

Publication number Publication date
JPH0916444A (en) 1997-01-17

Similar Documents

Publication Publication Date Title
US5829045A (en) Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures
US20080005461A1 (en) Power-saving control apparatus, power-saving control method, and computer product
JPH11242631A (en) Computer system and data preserving/restoring method for the same
US6851012B2 (en) Information processing system, information processing method and readable-by-computer recording medium
JP2630310B2 (en) Magnetic disk storage
JPH1153123A (en) Backup system
JP3471988B2 (en) Facsimile machine
JP2000163298A (en) Information management system for plural storage devices
JP4055386B2 (en) Information processing device
JP3043662B2 (en) Data backup method
JP4910785B2 (en) Electronic device, power control program for electronic device, and power control method
JP2005316697A (en) Disk array system and method for data backup
JPH11306674A (en) Disk storage device and disk write control method applied to the device
JP2004272393A (en) Cpu built-in lsi and optical disk unit using the same, and lsi device
JP2638451B2 (en) Information processing device
JPH04364547A (en) Information storage system of auxiliary storage device
JPH07129079A (en) Method for installing programming loader
JPH10254780A (en) Disk cache control system
JPH08202503A (en) Disk array device
JPH1196083A (en) Semiconductor disk device
JPH1125599A (en) Removable data recorder
JPH052518A (en) File system for secondary storage device
JPH02122474A (en) Input/output controller
JPH0528057A (en) File backup circuit
JP3984588B2 (en) Recorded content restoration device of auxiliary storage device and file creation device used therefor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970304