JP2000066844A - Disk device compression system - Google Patents

Disk device compression system

Info

Publication number
JP2000066844A
JP2000066844A JP10230686A JP23068698A JP2000066844A JP 2000066844 A JP2000066844 A JP 2000066844A JP 10230686 A JP10230686 A JP 10230686A JP 23068698 A JP23068698 A JP 23068698A JP 2000066844 A JP2000066844 A JP 2000066844A
Authority
JP
Japan
Prior art keywords
data
file
disk
storing
access
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
JP10230686A
Other languages
Japanese (ja)
Inventor
Tomonori Teranishi
寺西智則
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 Office Systems Ltd
Original Assignee
NEC Office Systems 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 NEC Office Systems Ltd filed Critical NEC Office Systems Ltd
Priority to JP10230686A priority Critical patent/JP2000066844A/en
Publication of JP2000066844A publication Critical patent/JP2000066844A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively use disk resources and to shorten the time by eliminating a data expanding processing which is performed when data are read out by storing the data by compressing or expanding the data and automatically rewriting file data of high access frequency into uncompressed data. SOLUTION: This system is equipped with an input/output control part 1 which handles a request to write or read a disk, a data control part 2 which compresses or expands data and rewrites file data of high access frequency into uncompressed data, and a disk device 3 which stores the data. Consequently, when a file which is compressed and stored on a disk is accessed frequently, expanded data are automatically stored on the disk to shorten the data read time. Further, a file which is not accessed frequently is automatically compressed to effectively make good use of disk resources without exerting large influence on the disk read-in performance.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データを圧縮しデ
ィスクに格納する事によって、ディスク資源を有効に利
用し、且つ頻繁にアクセスするデータに関しては圧縮せ
ずディスクに格納しておくことによってデータ読み出し
時に行われるデータの伸長処理を無くし時間を短縮する
ことができるディスク装置圧縮システムに関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of effectively utilizing disk resources by compressing data and storing the data on a disk, and storing data frequently accessed by storing the data on the disk without compression. The present invention relates to a disk device compression system that can reduce the time by eliminating data expansion processing performed at the time of reading.

【0002】[0002]

【従来の技術】近年、オフィス等での事務の合理化が進
み、その一環として、各自が一台のパーソナルコンピュ
ータをローエンドマシンとして持ち、この各パーソナル
コンピュータをLAN回線で共通に接続して、ファイル
の共有化を図ったシステムが構築されている。
2. Description of the Related Art In recent years, the rationalization of office work in offices and the like has progressed. A system for sharing has been constructed.

【0003】この際、用いられるパーソナルコンピュー
タは、性能の向上が目覚しく、デスクトップタイプか
ら、小型、軽量で、携帯に便利な、所謂ラップトップタ
イプがその主流を占めるように成った。性能的にはデス
クトップタイプと何ら遜色も無く、最近では比較的大容
量の磁気ディスク装置を補助記憶装置として標準装備さ
れたものも出現してきている。
At this time, the personal computer used has been remarkably improved in performance, and the mainstream has been the so-called laptop type, which is smaller, lighter, and more portable than the desktop type. In terms of performance, there is no inferiority to the desktop type, and recently, a magnetic disk device having a relatively large capacity is provided as an auxiliary storage device as standard equipment.

【0004】この種OA(オフィスオートメーション)
分野でパーソナルコンピュータを使用する場合におい
て、パーソナルコンピュータが取り扱うプログラム及び
データを圧縮して使用するアプリケーションは少なかっ
た。また、圧縮する場合であっても、その圧縮をソフト
ウェアによって実現していた。また、パーソナルコンピ
ュータの処理の高速化、内部メモリの大容量化等が進む
一方で、取り扱うプログラム、データファイルのサイズ
等が増え、補助記憶装置の容量不足を引き起こしている
のが現状である。
This kind of OA (office automation)
When a personal computer is used in the field, few applications use programs and data compressed by the personal computer for use. Further, even in the case of compression, the compression has been realized by software. At the same time, while the processing speed of personal computers and the capacity of internal memories are increasing, the sizes of programs and data files to be handled are increasing, and the capacity of the auxiliary storage device is insufficient.

【0005】即ち、上記のOA分野等で使用されるパー
ソナルコンピュータでは、データの圧縮/伸張がソフト
ウェアによって実現されていたため、パーソナルコンピ
ュータ本体に内蔵するCPUにかかる処理負担が大き
く、システムの処理速度の低下を招くという問題があっ
た。そこで、上記の問題点を解決するため、データ圧縮
/伸張機能をディスクコントローラに持たせることによ
り、補助記憶装置としての高密度利用を図り、かつ本体
CPUにかかる処理負荷の軽減を図ることができ、ディ
スク資源を有効に利用することができるディスク圧縮シ
ステムの一例が、特開平05−313825号公報に記
載されている。
That is, in the personal computer used in the OA field and the like, since the data compression / expansion is realized by software, the processing load on the CPU built in the personal computer itself is large, and the processing speed of the system is reduced. There has been a problem of causing a decrease. Therefore, in order to solve the above problem, by providing a data compression / expansion function to the disk controller, high-density use as an auxiliary storage device can be achieved, and the processing load on the main CPU can be reduced. An example of a disk compression system that can effectively use disk resources is described in Japanese Patent Application Laid-Open No. 05-313825.

【0006】しかし、この公報に記載されている構成
は、ディスクへ書き込むデータを圧縮処理するか否かを
示す情報が設定されるデータ圧縮レジスタと、外部より
供給される書き込みデータを圧縮処理するデータ圧縮回
路と、データ圧縮レジスタの情報に従い、外部より供給
される生の書込みデータ又は、上記圧縮回路で圧縮され
た書込みデータの何れか一方を選択し、出力する第一の
データセレクタ(圧縮データセレクタ)と、この第一の
データセレクタを介して出力されるデータに、上記デー
タ圧縮レジスタの内容に従う、圧縮処理されているか否
かを示す属性情報を付加して、ディスク上の指定された
領域に書込むデータ書込み手段、及び上記ディスク上の
指定された領域よりデータ及びそのデータに付随する属
性情報を読み込むデータ読込み手段を持つディスク制御
部と、上記ディスクより読込まれた圧縮データを伸張処
理するデータ伸張回路と、上記ディスク上より読込まれ
たデータの属性情報をもとに読込みデータが圧縮されて
いるか否かを判定する判定ロジックと、この判定ロジッ
クの判定結果に従い、ディスクより読込んだ生の読込み
データ又は上記伸張回路を経た読込みデータの何れか一
方を選択する第二のデータセレクタ(伸張データセレク
タ)とで構成されたものであった。
However, the configuration described in this publication includes a data compression register in which information indicating whether data to be written to a disk is compressed is set, and a data compression register for compressing write data supplied from the outside. A first data selector (a compressed data selector) for selecting and outputting either raw write data supplied from the outside or write data compressed by the compression circuit in accordance with information of a compression circuit and a data compression register. ) And to the data output through the first data selector, attribute information indicating whether or not compression processing has been performed according to the contents of the data compression register is added to the designated area on the disk. Data writing means for writing, and data for reading data and attribute information accompanying the data from a designated area on the disk. A disk control unit having data reading means, a data expansion circuit for expanding compressed data read from the disk, and whether or not the read data is compressed based on attribute information of the data read from the disk. And a second data selector (decompressed data selector) for selecting either the raw read data read from the disk or the read data passed through the decompression circuit in accordance with the judgment result of the judgment logic. It was composed of

【0007】つまり、上記の公報技術によると、書込み
データの圧縮処理ハードウェアと読込みデータの伸張処
理ハードウェアとをディスクコントローラに持たせて、
書込みデータを任意に圧縮処理してディスクに格納し、
伸張(復元)処理して外部装置に渡す事ができる構成と
したものであって、これにより上位の外部装置(例えば
パーソナルコンピュータ本体)に処理負担をかけること
無く、補助記憶装置(例えば磁気ディスク装置)へのア
クセスによるデータの読み書きに際してデータの圧縮/
伸張処理が行われるので、システム処理の高速化と補助
記憶装置の高密度利用が図れるものであるが、この公報
に記載されているディスク装置圧縮システムは、データ
を圧縮または非圧縮かを選択し、選択された方法でディ
スクにデータを書き込むシステムであり、この公報技術
には、次のような問題点がある。
That is, according to the above-mentioned publication technology, the disk controller is provided with hardware for compressing write data and hardware for decompressing read data.
Arbitrarily compresses the write data and stores it on disk,
It is configured so that it can be expanded (restored) and transferred to an external device, and this does not impose a processing load on a higher-level external device (for example, the main body of a personal computer), and an auxiliary storage device (for example, a magnetic disk device) Data compression / compression when reading / writing data by accessing
Since the decompression process is performed, the system processing can be speeded up and the auxiliary storage device can be used at high density. However, the disk device compression system described in this publication selects whether data is compressed or uncompressed. This system writes data to a disk by a selected method. This publication technology has the following problems.

【0008】[0008]

【解決すべき問題点】第一の問題点は、頻繁にアクセス
するデータが圧縮されディスク上に格納されていた場
合、データの読み込み時には毎回データを伸長する必要
があり、ディスクからのデータ読み出し時間が掛かって
しまう。第二の問題点は、一旦ディスク上にデータを書
き込むと、圧縮か非圧縮か指定された方法で書き込まれ
たままで、それを自動的に変更することができない。
[Problem to be Solved] The first problem is that if data that is frequently accessed is compressed and stored on a disk, it is necessary to decompress the data every time data is read, and the time required to read data from the disk is reduced. Will be hung. The second problem is that once data is written on the disk, it cannot be automatically changed while it is written in a specified manner, whether it is compressed or uncompressed.

【0009】本発明は、以上の問題点を解決するととも
に、データを圧縮しディスクに格納する事によって、デ
ィスク資源を有効に利用し、且つ頻繁にアクセスするデ
ータに関しては圧縮せずディスクに格納しておくことに
よってデータ読み出し時に行われるデータの伸長処理を
無くし時間を短縮することができるディスク装置圧縮シ
ステムを提供することにある。
The present invention solves the problems described above, compresses data and stores it on a disk, thereby effectively utilizing disk resources and storing frequently accessed data on a disk without compression. Accordingly, it is an object of the present invention to provide a disk device compression system capable of eliminating the data decompression process performed at the time of data reading and shortening the time.

【0010】[0010]

【問題点を解決するための手段】第一に、ディスクへの
書き込みまたは読み込み要求を行う入出力制御部と、デ
ータの圧縮または伸長を行ったりアクセス頻度の多いフ
ァイルデータを自動的に非圧縮データに置き換えるデー
タ制御部と、データを記憶するディスク装置と、で構成
する。
[Means for Solving the Problems] First, an input / output control unit for making a write or read request to a disk, and automatically compressing or decompressing data or automatically converting file data frequently accessed to uncompressed data And a disk device for storing data.

【0011】第二に、前記データ制御部は、ファイルデ
ータを圧縮または伸長するデータ圧縮伸長処理部と、フ
ァイルデータの入出力の管理及びファイル管理テーブル
の管理を行うデータ制御部と、ディスク装置とのデータ
の受け渡しをするディスク制御部と、で構成する。
Second, the data control unit includes a data compression / decompression processing unit for compressing or decompressing file data, a data control unit for managing input / output of file data and a file management table, and a disk device. And a disk control unit for transferring the data.

【0012】第三に、前記ディスク装置は、ファイルデ
ータのアクセス情報を記憶するファイル管理テーブル記
憶部と、ファイルデータを記憶するデータ記憶部と、で
構成する。第四に、前記ファイルデータのアクセス情報
を記憶するファイル管理テーブル記憶部は、最初にアク
セスが行われた日を記憶する初期アクセス日と、一番最
後にアクセスした日を記憶する最終アクセス日と、初期
アクセス日と最終アクセス日の間にアクセスした回数を
記憶するアクセス回数と、ファイルが圧縮されているか
どうかを記憶する圧縮フラグと、を備えている。
Third, the disk device comprises a file management table storage unit for storing file data access information and a data storage unit for storing file data. Fourth, the file management table storage unit that stores the access information of the file data includes an initial access date that stores the date of the first access, and a last access date that stores the date of the last access. , The number of accesses that stores the number of accesses between the initial access date and the last access date, and a compression flag that stores whether the file is compressed.

【0013】第五に、ディスクへの書き込みまたは読み
込み要求を行う入出力制御部と、データの圧縮または伸
長を行ったりアクセス頻度の多いファイルデータを自動
的に非圧縮データに置き換えるデータ制御部と、オペレ
ータからの操作の有無を監視し、一定時間操作がない場
合、データ制御部に通知する操作監視部と、データを記
憶するディスク装置と、で構成する。
Fifth, an input / output control unit that issues a write or read request to a disk, a data control unit that compresses or decompresses data or automatically replaces frequently accessed file data with uncompressed data, It comprises an operation monitoring unit that monitors the presence or absence of an operation from the operator and notifies the data control unit when there is no operation for a certain period of time, and a disk device that stores data.

【0014】第六に、前記ディスク装置は、ファイルデ
ータのアクセス情報を記憶するファイル管理テーブル記
憶部と、ファイルデータを記憶するデータ記憶部とで構
成されており、前記ファイルデータのアクセス情報を記
憶するファイル管理テーブル記憶部は、伸長フラグを有
し、ファイルアクセス時にファイルの圧縮をせず、アイ
ドル状態の時にファイルを圧縮し、伸長フラグはONで
あればそのファイルをアイドル状態の時に伸長し、OF
Fでアクセス頻度が少なければアイドル状態の時にファ
イルを圧縮するように構成する。
Sixth, the disk device includes a file management table storage unit for storing file data access information and a data storage unit for storing file data, and stores the file data access information. The file management table storage unit has a decompression flag, does not compress the file when accessing the file, compresses the file in the idle state, and if the decompression flag is ON, decompresses the file in the idle state, OF
If the access frequency is low in F, the file is compressed in the idle state.

【0015】[0015]

【発明の実施態様】DESCRIPTION OF THE PREFERRED EMBODIMENTS

【0016】[0016]

【実施例の構成】本発明の実施例について図1を参照し
て説明する。本発明の実施例は、ディスクへの書き込み
または読み込み要求を行う入出力制御部1と、データの
圧縮または伸長を行ったりアクセス頻度の多いファイル
データを自動的に非圧縮データに置き換えるデータ制御
部2と、データを記憶するディスク装置3とを含む。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIG. An embodiment of the present invention comprises an input / output control unit 1 for issuing a write or read request to a disk, and a data control unit 2 for compressing or decompressing data or automatically replacing frequently accessed file data with uncompressed data. And a disk device 3 for storing data.

【0017】データ制御部2はファイルデータを圧縮ま
たは伸長するデータ圧縮伸長処理部21と、ファイルデ
ータの入出力の管理及びファイル管理テーブルの管理を
行うデータ制御部22と、ディスク装置3とのデータの
受け渡しをするディスク制御部23とを備える。ディス
ク装置3は、ファイルデータのアクセス情報を記憶する
ファイル管理テーブル記憶部31と、ファイルデータを
記憶するデータ記憶部32で構成されている。
The data control unit 2 includes a data compression / decompression processing unit 21 for compressing or decompressing file data, a data control unit 22 for managing input / output of file data and a file management table, and a data And a disk control unit 23 that transfers the data. The disk device 3 includes a file management table storage unit 31 that stores access information of file data, and a data storage unit 32 that stores file data.

【0018】ファイル管理テーブル31は、図3に示す
ように、最初にアクセスが行われた日を記憶する初期ア
クセス日と、一番最後にアクセスした日を記憶する最終
アクセス日と、初期アクセス日と最終アクセス日の間に
アクセスした回数を記憶するアクセス回数と、ファイル
が圧縮されているかどうかを記憶する圧縮フラグを備え
ている。
As shown in FIG. 3, the file management table 31 has an initial access date for storing the date of the first access, a last access date for storing the date of the last access, and an initial access date. And a compression flag for storing whether the file is compressed or not, and an access count for storing the number of accesses between the last access date and the last access date.

【0019】次に、図1及び図2を用いて本実施例の動
作について詳細に説明する。入出力制御部1よりデータ
記憶部32に格納されているファイルデータの読み込み
がデータ制御部22に要求される(ステップA1)。フ
ァイルデータの読み込みの要求を受けたらデータ制御部
22はディスク装置入出力制御部23を通して情報管理
テーブル記憶部31に格納されている情報を更新する。
更新する情報は、最終アクセス日を現在の日付に、アク
セス回数をプラス1する。(ステップA2)。
Next, the operation of this embodiment will be described in detail with reference to FIGS. The input / output control unit 1 requests the data control unit 22 to read the file data stored in the data storage unit 32 (step A1). When receiving the request to read the file data, the data control unit 22 updates the information stored in the information management table storage unit 31 through the disk device input / output control unit 23.
For the information to be updated, the last access date is set to the current date, and the access count is increased by one. (Step A2).

【0020】更に、アクセス頻度をファイル管理テーブ
ル記憶部31の初期アクセス日と最終アクセス日からそ
の間の日数を割り出し、割り出した日数とアクセス回数
よりアクセス頻度を計算する。(ステップA3)。計算
したアクセス頻度があらかじめ設定されていたアクセス
頻度と比較し(ステップA4)次の処理をおこなう。
Further, the number of days between the initial access date and the last access date of the file management table storage unit 31 is calculated from the access frequency, and the access frequency is calculated from the calculated number of days and the number of accesses. (Step A3). The calculated access frequency is compared with a preset access frequency (step A4), and the next processing is performed.

【0021】計算したアクセス頻度が設定されていたア
クセス頻度を超えていた場合(現在アクセスしたファイ
ルデータは頻繁にアクセスするものと判断)データ記憶
部32から読み込んだファイルデータが圧縮さされてい
れば、ファイル管理テーブル記憶部31の圧縮フラグを
OFFにしデータ圧縮伸長処理部21でファイルデータ
を伸長する。(ステップA5)。
If the calculated access frequency exceeds the set access frequency (the currently accessed file data is determined to be accessed frequently), if the file data read from the data storage unit 32 is compressed Then, the compression flag in the file management table storage unit 31 is turned off, and the data compression / decompression processing unit 21 decompresses the file data. (Step A5).

【0022】伸長したファイルデータを入出力制御部1
に供給すると共に、ディスク入出力制御部23を通じ
て、伸長したファイルデータをデータ記憶部32に格納
し、既存の圧縮ファイルデータをデータ記憶部32から
削除する(ステップA6)。またデータ記憶部32から
読み込んだファイルデータが圧縮されていない場合は読
み込んだデータは、そのまま入出力制御部1に供給しフ
ァイル管理テーブル記憶部31の圧縮フラグはOFFの
ままにする。
The decompressed file data is transmitted to the input / output control unit 1
The compressed file data is stored in the data storage unit 32 through the disk input / output control unit 23, and the existing compressed file data is deleted from the data storage unit 32 (step A6). If the file data read from the data storage unit 32 is not compressed, the read data is supplied to the input / output control unit 1 as it is, and the compression flag of the file management table storage unit 31 remains OFF.

【0023】計算したアクセス頻度が設定されていたア
クセス頻度を超えいなかった場合(現在アクセスしたフ
ァイルデータはアクセス頻度が少ないものと判断)デー
タ記憶部32から読み込んだファイルデータが圧縮され
ていれば、ファイル管理テーブル記憶部31の圧縮フラ
グはONのままにし、データ圧縮伸長処理部21でファ
イルデータを伸長(ステップA7)した結果が入出力制
御部1に供給される。
If the calculated access frequency does not exceed the set access frequency (it is determined that the currently accessed file data has a low access frequency), and if the file data read from the data storage unit 32 is compressed, The compression flag of the file management table storage unit 31 is kept ON, and the result of decompressing the file data by the data compression / decompression processing unit 21 (step A7) is supplied to the input / output control unit 1.

【0024】また読み込んだファイルデータが圧縮され
ていない場合、読み込んだデータが入出力制御部1に供
給され、ファイル管理テーブル記憶部31の圧縮フラグ
をONにしデータ圧縮伸長処理部21でファイルデータ
を圧縮(ステップA8)しディスク装置制御装置23を
通して圧縮したファイルデータをデータ記憶部32に格
納すると共に、既存の圧縮されていない(非圧縮の)フ
ァイルデータをデータ記憶部32から削除する。(ステ
ップA9)次に、本発明の他の実施例について図4を用
いて詳細に説明する。
When the read file data is not compressed, the read data is supplied to the input / output control unit 1, the compression flag of the file management table storage unit 31 is turned on, and the data compression / decompression processing unit 21 converts the file data. The file data that has been compressed (step A8) and compressed through the disk device controller 23 is stored in the data storage unit 32, and the existing uncompressed (uncompressed) file data is deleted from the data storage unit 32. (Step A9) Next, another embodiment of the present invention will be described in detail with reference to FIG.

【0025】本実施例は、図1と比べ操作監視部4を有
する点で異なる。操作監視部4は、オペレータからの操
作の有無を監視し、一定時間操作がない場合、データ制
御部22に通知する。また、図7を参照すると図3と比
べファイル管理テーブル記憶部31に伸長フラグを有
し、また図5、6を参照すると図2と比べファイルアク
セス時にファイルの圧縮をせず、アイドル状態の時にフ
ァイルを圧縮する点で異なる。
The present embodiment differs from FIG. 1 in that an operation monitoring unit 4 is provided. The operation monitoring unit 4 monitors the presence or absence of an operation by the operator, and notifies the data control unit 22 when there is no operation for a predetermined time. 7 has a decompression flag in the file management table storage unit 31 as compared with FIG. 3, and referring to FIGS. 5 and 6, the file is not compressed at the time of file access as compared with FIG. They differ in that they compress files.

【0026】伸長フラグはONであればそのファイルを
アイドル状態の時に伸長することを意味し、OFFでア
クセス頻度が少なければアイドル状態の時にファイルを
圧縮する事を意味する。本実施例の動作を、図4と図5
及び図6を用いて詳細に説明する。まずデータ読み込み
時の処理を図4及び図5を用いて説明する。
If the decompression flag is ON, it means that the file is decompressed in the idle state, and if it is OFF, if the access frequency is low, it means that the file is compressed in the idle state. FIGS. 4 and 5 show the operation of this embodiment.
This will be described in detail with reference to FIG. First, processing at the time of data reading will be described with reference to FIGS.

【0027】ファイルデータの読み込み発生時、図2の
ステップA1、A2と同様にファイル情報管理テーブル
記憶部31を更新する。(ステップB1、B2)。次に
読み込んだファイルデータが圧縮されているか判断を行
い(ステップB3)、ファイルデータが圧縮されていな
ければ、そのまま読み込んだファイルデータを入出力制
御部1に供給する。ファイルデータが圧縮されていれ
ば、図2のステップA3、A4と同様にアクセス頻度を
計算し、あらかじめ設定されていたアクセス頻度と比較
する(ステップB4、B5)。
When reading of file data occurs, the file information management table storage unit 31 is updated in the same manner as in steps A1 and A2 in FIG. (Steps B1, B2). Next, it is determined whether the read file data is compressed (step B3). If the file data is not compressed, the read file data is supplied to the input / output control unit 1 as it is. If the file data is compressed, the access frequency is calculated as in steps A3 and A4 in FIG. 2 and compared with the preset access frequency (steps B4 and B5).

【0028】ここで計算したアクセス頻度が設定されて
いたアクセス頻度を超えていた場合、現在アクセスした
ファイルデータは頻繁にアクセスするものと判断しファ
イル管理テーブル記憶部31の伸長フラグをONに変更
する(ステップB6)処理のみを行い、圧縮ファイルを
非圧縮ファイルに置き換える処理は行わない。計算した
アクセス頻度が設定されていたアクセス頻度を超えない
場合、アクセス頻度が少ないものと判断し、ファイル管
理テーブル記憶部31の伸長フラグの変更は行わない。
If the calculated access frequency exceeds the set access frequency, it is determined that the currently accessed file data is accessed frequently, and the extension flag of the file management table storage unit 31 is changed to ON. (Step B6) Only the process is performed, and the process of replacing the compressed file with the uncompressed file is not performed. If the calculated access frequency does not exceed the set access frequency, it is determined that the access frequency is low, and the decompression flag in the file management table storage unit 31 is not changed.

【0029】データ記憶部32より読み込んだファイル
データは、データ圧縮伸長処理部21によって伸長され
た後、伸長したデータを入出力制御部1に供給する。そ
の後、端末の操作がしばらく発生しないアイドル状態が
発生した時のファイルデータの処理について図4及び図
6を参照して説明する。操作監視部4はオペレータの操
作が一定時間なかった時、データ制御部22にアイドル
中であることを通知する(ステップC1)。通知を受け
たデータ制御部22はファイル管理テーブル31の情報
を読み込み次の処理を各ファイル毎に行う。
The file data read from the data storage section 32 is decompressed by the data compression / decompression processing section 21, and then the decompressed data is supplied to the input / output control section 1. Then, the processing of the file data when the idle state in which the operation of the terminal does not occur for a while occurs will be described with reference to FIGS. When there is no operation by the operator for a certain period of time, the operation monitoring unit 4 notifies the data control unit 22 that the operation is idle (step C1). Upon receiving the notification, the data control unit 22 reads the information in the file management table 31 and performs the following processing for each file.

【0030】伸長フラグがONであった場合、頻繁にア
クセスが発生するが圧縮されているファイルなのでデー
タ制御部22は、そのファイルデータ読み込んだ後、デ
ータ圧縮伸長処理部21でファイルデータを伸長し(ス
テップC3)ディスク装置制御装置を通して伸長したデ
ータをデータ記憶部32に格納すると共に、既存の圧縮
データをデータ記憶部32から削除し(ステップC4)
伸長フラグ及び圧縮フラグをOFF(ステップC5)に
戻す。
When the decompression flag is ON, the file is accessed frequently but is a compressed file. After reading the file data, the data control unit 22 decompresses the file data by the data compression / decompression processing unit 21. (Step C3) The data expanded through the disk device controller is stored in the data storage unit 32, and the existing compressed data is deleted from the data storage unit 32 (Step C4).
The decompression flag and the compression flag are turned off (step C5).

【0031】また伸長フラグがOFFで且つ圧縮フラグ
がOFFであった場合、初期アクセス日と最終アクセス
日とアクセス回数よりアクセス頻度を計算し(ステップ
C6)設定されていたアクセス頻度を超えていなけれ
ば、データ圧縮伸長処理部21を用いファイルデータを
圧縮し(ステップC7)データ記憶部32に格納し既存
の非圧縮ファイルデータを削除し(ステップC8)圧縮
フラグをONにする(ステップC9)。
If the decompression flag is OFF and the compression flag is OFF, the access frequency is calculated from the initial access date, the last access date, and the number of accesses (step C6). Then, the file data is compressed using the data compression / decompression processing unit 21 (step C7), stored in the data storage unit 32 and the existing uncompressed file data is deleted (step C8), and the compression flag is turned on (step C9).

【0032】伸長フラグがOFFで圧縮フラグがONの
場合は何も処理されない。これによりファイルアクセス
時でなく端末を使用していない時間に、データの圧縮処
理や、圧縮ファイルから非圧縮ファイルまたは非圧縮フ
ァイルから圧縮ファイルへの置き換えを行うことで、更
にファイルデータのアクセス時間を短縮をすることが出
来る。
If the decompression flag is OFF and the compression flag is ON, no processing is performed. This allows data compression processing and replacement of compressed files to uncompressed files or uncompressed files to compressed files at times when the terminal is not being used and not during file access, further reducing file data access time. Can be shortened.

【0033】[0033]

【発明の効果】第一の効果は、一旦圧縮されてディスク
に格納されているファイルも頻繁にアクセスするように
なった時には、自動的に伸長されたデータがディスク上
に記憶され、データ読み込み時の時間が向上する。その
理由は毎回データをアクセスする度に圧縮されたデータ
を伸長する必要が無くなる為である。
The first effect is that, when the file once compressed and stored on the disk is frequently accessed, the automatically expanded data is stored on the disk, and the data is read when the data is read. Time to improve. The reason is that it is not necessary to decompress the compressed data every time the data is accessed.

【0034】第二の効果は、頻繁にアクセスしなくなっ
たファイルは自動的に圧縮されデータがディスク上に記
憶される為、ディスク読み込み性能にあまり影響を与え
ずディスク資源が有効に活用される。
The second effect is that a file which is no longer frequently accessed is automatically compressed and the data is stored on the disk, so that the disk reading performance is not significantly affected and the disk resources are effectively used.

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

【図1】図1は、本発明に係るディスク装置圧縮システ
ムの概要を示すブロック図である。
FIG. 1 is a block diagram showing an outline of a disk device compression system according to the present invention.

【図2】図2は、本発明に係るディスク装置圧縮システ
ムの動作状態を示すフローチャートである。
FIG. 2 is a flowchart showing an operation state of the disk device compression system according to the present invention.

【図3】図3は、本発明に係るディスク装置圧縮システ
ムにおけるファイル管理テーブルでの管理状況を示す説
明図である。
FIG. 3 is an explanatory diagram showing a management status in a file management table in the disk device compression system according to the present invention.

【図4】図4は、本発明に係るディスク装置圧縮システ
ムの他の実施例の概要を示すブロック図である。
FIG. 4 is a block diagram showing an outline of another embodiment of the disk drive compression system according to the present invention.

【図5】図5は、本発明に係るディスク装置圧縮システ
ムの他の実施例における動作状態を示すフローチャート
である。
FIG. 5 is a flowchart showing an operation state in another embodiment of the disk device compression system according to the present invention.

【図6】図6は、本発明に係るディスク装置圧縮システ
ムの他の実施例におけるデータ制御部がアイドル状態で
ある場合の動作を示すフローチャートである。
FIG. 6 is a flowchart showing an operation when the data control unit is in an idle state in another embodiment of the disk drive compression system according to the present invention.

【図7】図7は、本発明に係るディスク装置圧縮システ
ムの他の実施例におけるファイル管理テーブルでの管理
状況を示す説明図である。
FIG. 7 is an explanatory diagram showing a management status in a file management table in another embodiment of the disk device compression system according to the present invention.

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

1 入出力制御部 2 データ制御部 21 データ圧縮伸長処理部 22 データ制御部 23 ディスク装置入出力制御部 3 ディスク装置 32 データ記憶部 31 情報管理テーブル記憶部 4 操作監視部 REFERENCE SIGNS LIST 1 input / output control unit 2 data control unit 21 data compression / decompression processing unit 22 data control unit 23 disk device input / output control unit 3 disk device 32 data storage unit 31 information management table storage unit 4 operation monitoring unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】ディスクへの書き込みまたは読み込み要求
を行う入出力制御部と、データの圧縮または伸長を行っ
たりアクセス頻度の多いファイルデータを自動的に非圧
縮データに置き換えるデータ制御部と、データを記憶す
るディスク装置と、で構成したことを特徴とするディス
ク装置圧縮システム。
An input / output control unit for requesting writing or reading to / from a disk; a data control unit for compressing or decompressing data or automatically replacing frequently accessed file data with uncompressed data; A disk device compression system, comprising: a disk device for storing.
【請求項2】前記データ制御部は、ファイルデータを圧
縮または伸長するデータ圧縮伸長処理部と、ファイルデ
ータの入出力の管理及びファイル管理テーブルの管理を
行うデータ制御部と、ディスク装置とのデータの受け渡
しをするディスク制御部と、で構成したことを特徴とす
る請求項2記載のディスク装置圧縮システム。
2. The data control section includes: a data compression / decompression processing section for compressing or decompressing file data; a data control section for managing input / output of file data and a file management table; 3. The disk drive compression system according to claim 2, further comprising: a disk controller for transferring the data.
【請求項3】前記ディスク装置は、ファイルデータのア
クセス情報を記憶するファイル管理テーブル記憶部と、
ファイルデータを記憶するデータ記憶部と、で構成した
ことを特徴とする請求項1及び2記載のディスク装置圧
縮システム。
3. A disk management table storage unit for storing file data access information, wherein:
3. The disk drive compression system according to claim 1, further comprising a data storage unit for storing file data.
【請求項4】前記ファイルデータのアクセス情報を記憶
するファイル管理テーブル記憶部は、最初にアクセスが
行われた日を記憶する初期アクセス日と、一番最後にア
クセスした日を記憶する最終アクセス日と、初期アクセ
ス日と最終アクセス日の間にアクセスした回数を記憶す
るアクセス回数と、ファイルが圧縮されているかどうか
を記憶する圧縮フラグと、を備えていることを特徴とす
る請求項3記載のディスク装置圧縮システム。
4. A file management table storage unit for storing access information of file data, wherein: an initial access date for storing a date of first access; and a last access date for storing a date of last access. 4. The apparatus according to claim 3, further comprising: an access count for storing the number of accesses between the initial access date and the last access date; and a compression flag for storing whether the file is compressed. Disk unit compression system.
【請求項5】ディスクへの書き込みまたは読み込み要求
を行う入出力制御部と、データの圧縮または伸長を行っ
たりアクセス頻度の多いファイルデータを自動的に非圧
縮データに置き換えるデータ制御部と、オペレータから
の操作の有無を監視し、一定時間操作がない場合、デー
タ制御部に通知する操作監視部と、データを記憶するデ
ィスク装置と、で構成したことを特徴とするディスク装
置圧縮システム。
5. An input / output control unit for issuing a write or read request to a disk, a data control unit for compressing or decompressing data or automatically replacing frequently accessed file data with uncompressed data, 2. A disk device compression system, comprising: an operation monitoring unit that monitors the presence or absence of an operation of the device and notifies the data control unit when there is no operation for a predetermined time; and a disk device that stores data.
【請求項6】前記ディスク装置は、ファイルデータのア
クセス情報を記憶するファイル管理テーブル記憶部と、
ファイルデータを記憶するデータ記憶部とで構成されて
おり、前記ファイルデータのアクセス情報を記憶するフ
ァイル管理テーブル記憶部は、伸長フラグを有し、ファ
イルアクセス時にファイルの圧縮をせず、アイドル状態
の時にファイルを圧縮し、伸長フラグはONであればそ
のファイルをアイドル状態の時に伸長し、OFFでアク
セス頻度が少なければアイドル状態の時にファイルを圧
縮するように構成したことを特徴とする請求項6記載の
ディスク装置圧縮システム。
6. A file management table storage unit for storing file data access information, wherein:
A file management table storage unit for storing access information of the file data, which has a decompression flag, does not compress the file at the time of file access, and has an idle state. The file is compressed when the file is decompressed, and when the decompression flag is ON, the file is decompressed when the file is idle, and when the file is OFF and the access frequency is low, the file is compressed when the file is idle. The disk device compression system according to claim 1.
JP10230686A 1998-08-17 1998-08-17 Disk device compression system Pending JP2000066844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10230686A JP2000066844A (en) 1998-08-17 1998-08-17 Disk device compression system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10230686A JP2000066844A (en) 1998-08-17 1998-08-17 Disk device compression system

Publications (1)

Publication Number Publication Date
JP2000066844A true JP2000066844A (en) 2000-03-03

Family

ID=16911732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10230686A Pending JP2000066844A (en) 1998-08-17 1998-08-17 Disk device compression system

Country Status (1)

Country Link
JP (1) JP2000066844A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005165870A (en) * 2003-12-04 2005-06-23 Tsubasa System Co Ltd E-mail client program
JP2007519057A (en) * 2003-07-10 2007-07-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and system for distributing content items
US7275166B2 (en) 2002-11-25 2007-09-25 Fujitsu Limited Power saving control system and power saving control method
JP2009070361A (en) * 2007-09-11 2009-04-02 Hitachi Ltd Method and device for managing data compression and integrity in computer storage system
US7962700B2 (en) * 2006-09-06 2011-06-14 International Business Machines Corporation Systems and methods for reducing latency for accessing compressed memory using stratified compressed memory architectures and organization
EP2633692A1 (en) * 2010-10-27 2013-09-04 1/6 Qualcomm Incorporated Media file caching for an electronic device to conserve resources
JP2014200014A (en) * 2013-03-29 2014-10-23 キヤノン株式会社 Image processing device and image processing method
US9146933B2 (en) 2011-12-22 2015-09-29 International Business Machines Corporation Compressed storage access system with uncompressed frequent use data
WO2022154414A1 (en) * 2021-01-12 2022-07-21 삼성전자 주식회사 Electronic device and method for operation of storage of electronic device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275166B2 (en) 2002-11-25 2007-09-25 Fujitsu Limited Power saving control system and power saving control method
JP2007519057A (en) * 2003-07-10 2007-07-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Method and system for distributing content items
JP2005165870A (en) * 2003-12-04 2005-06-23 Tsubasa System Co Ltd E-mail client program
US7962700B2 (en) * 2006-09-06 2011-06-14 International Business Machines Corporation Systems and methods for reducing latency for accessing compressed memory using stratified compressed memory architectures and organization
JP2009070361A (en) * 2007-09-11 2009-04-02 Hitachi Ltd Method and device for managing data compression and integrity in computer storage system
EP2633692A1 (en) * 2010-10-27 2013-09-04 1/6 Qualcomm Incorporated Media file caching for an electronic device to conserve resources
US9002826B2 (en) 2010-10-27 2015-04-07 Qualcomm Incorporated Media file caching for an electronic device to conserve resources
US9146933B2 (en) 2011-12-22 2015-09-29 International Business Machines Corporation Compressed storage access system with uncompressed frequent use data
JP2014200014A (en) * 2013-03-29 2014-10-23 キヤノン株式会社 Image processing device and image processing method
WO2022154414A1 (en) * 2021-01-12 2022-07-21 삼성전자 주식회사 Electronic device and method for operation of storage of electronic device

Similar Documents

Publication Publication Date Title
US6658549B2 (en) Method and system allowing a single entity to manage memory comprising compressed and uncompressed data
US7181457B2 (en) System and method for utilizing compression in database caches to facilitate access to database information
US6145068A (en) Data transfer to a non-volatile storage medium
JP3580630B2 (en) System for managing power consumption and method for managing power supply
US8326811B2 (en) File management method and computer system
JP2009530702A (en) Data storage management method and device
JP2004348945A (en) Dismountable storage device having data compression function
WO2017117919A1 (en) Data storage method and device
JP2000066844A (en) Disk device compression system
US5561824A (en) Storage management of data for ensuring communication of minimal length data
US6490669B1 (en) Memory LSI with compressed data inputting and outputting function
EP2168060A1 (en) System and/or method for reducing disk space usage and improving input/output performance of computer systems
CN113377391B (en) Method, device, equipment and medium for making and burning image file
US20200250101A1 (en) System and method for intelligent tile-based memory bandwidth management
JP2000089983A (en) Data storage device and method therefor
US6694393B1 (en) Method and apparatus for compressing information for use in embedded systems
CN114003573A (en) Compression method, device, equipment, storage medium and program product of file system
US9946729B1 (en) Sparse recall and writes for archived and transformed data objects
CN109727183B (en) Scheduling method and device for compression table of graphics rendering buffer
JP2001125820A (en) Cache data managing device for web browser
US20240184460A1 (en) Compression-expansion control apparatus, storage system, and compression-expansion control method
KR102216841B1 (en) Apparatus for high-speed decompression based on flexible use of memory, method therefor, and computer recordable medium storing program to perform the method
JPH05120131A (en) Storage managing system in computer
JPH06324925A (en) File system with data compressing function
JPH07319743A (en) File compression management system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term