JPH11143748A - File compression management device and file compression management method in computer system, and recording medium recording said method - Google Patents
File compression management device and file compression management method in computer system, and recording medium recording said methodInfo
- Publication number
- JPH11143748A JPH11143748A JP9307427A JP30742797A JPH11143748A JP H11143748 A JPH11143748 A JP H11143748A JP 9307427 A JP9307427 A JP 9307427A JP 30742797 A JP30742797 A JP 30742797A JP H11143748 A JPH11143748 A JP H11143748A
- Authority
- JP
- Japan
- Prior art keywords
- file
- compression
- computer system
- files
- management
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【課題】 ファイルを効率よく圧縮することによりシス
テムの運用効率を向上することのできるファイル管理圧
縮方法および装置を実現すること。
【解決手段】 ファイル装置内に格納された複数のファ
イルのいずれかを選択的に圧縮するコンピュータシステ
ムにおけるファイル圧縮管理方法であって、ファイル装
置内における領域が所定以上大きなファイルまたはアク
セスされる割合が所定以下のファイルを選択して圧縮す
ることを特徴とする。
(57) [Summary] [PROBLEMS] To realize a file management compression method and apparatus capable of improving the operation efficiency of a system by efficiently compressing a file. A file compression management method in a computer system for selectively compressing any one of a plurality of files stored in a file device, wherein a file whose area in the file device is larger than a predetermined area or a ratio of access is large. It is characterized by selecting and compressing files equal to or less than a predetermined file.
Description
【0001】[0001]
【発明の属する技術分野】本発明はコンピュータシステ
ムにおけるファイル管理圧縮方法および装置に関する。[0001] 1. Field of the Invention [0002] The present invention relates to a file management compression method and apparatus in a computer system.
【0002】[0002]
【従来の技術】近年ファイル装置の大容量化が進み、小
規模なコンピュータシステムにおいても、数十GBのフ
ァイル装置を具備するのが一般的になってきている。こ
のため、コンピュータシステムが必要とするファイル容
量として、十分と考えられがちである。しかし、最近市
販されるアプリケーションは、画像データを持つ場合が
多く、数十MBから200MB以上の容量を必要とする
ものが普通となってきている。このため、コンピュータ
システムに十分なファイル容量があると思っていても、
システムを拡張するに従って容量不足となる場合が多々
発生するようになってきた。2. Description of the Related Art In recent years, the capacity of file devices has been increased, and even small-scale computer systems are generally equipped with file devices of several tens of GB. For this reason, it is often considered that the file capacity required by the computer system is sufficient. However, recently marketed applications often have image data, and those requiring a capacity of several tens of MB to 200 MB or more have become common. So even if you think your computer system has enough file space,
As the system is expanded, the capacity often becomes insufficient.
【0003】コンピュータシステムの運用効率にはファ
イル装置の空き容量が大きく影響するため、運用効率を
向上するためにはファイル装置の空き容量を大きくとる
ことが必要となるが、コンピュータシステムに十分なフ
ァイル容量があると思っていても、システムを拡張する
に従って空き容量が十分でなくなると不足となる場合が
多々発生し、このような場合にはコンピュータシステム
の運用効率が悪いという問題点がある。このため、ファ
イルを圧縮することによりファイルの空き容量を大きな
ものとし、システムの運用効率を向上することが従来よ
り行われている。Since the free space of a file device greatly affects the operation efficiency of a computer system, it is necessary to increase the free space of the file device in order to improve the operation efficiency. Even if it is thought that there is a capacity, the system often runs short if the free space becomes insufficient as the system is expanded. In such a case, the operation efficiency of the computer system is poor. For this reason, it has been conventionally performed to increase the free space of a file by compressing the file and to improve the operation efficiency of the system.
【0004】[0004]
【発明が解決しようとする課題】上述したように、空き
容量を大きなものとし、システムの運用効率を向上する
ことが従来より行われているがファイルの圧縮は一般的
にはファイル装置全体に行われることが多い。圧縮した
ファイルを動作させる際には当然ながら解凍する必要が
あるが、ファイル装置全体を圧縮すると、各アプリケー
ションを動作させる度毎に解凍作業が行われることとな
り、時間がかかり、作業性が低下するという問題点があ
る。As described above, it has been conventionally practiced to increase the free space and improve the operation efficiency of the system. However, file compression is generally performed on the entire file device. It is often said. Naturally, when operating a compressed file, it is necessary to decompress it. However, when the entire file device is compressed, decompression work is performed every time each application is operated, which takes time and reduces workability. There is a problem.
【0005】また、ファイルを指定して圧縮することも
考えられるが、この場合にはファイルを指定する手間が
かかり煩わしいという問題点がある。[0005] In addition, it is conceivable to compress a file by designating it. However, in this case, there is a problem that it is troublesome and troublesome to designate the file.
【0006】本発明は、上述したような従来の技術が有
する問題点に鑑みてなされたものであって、ファイルを
効率よく圧縮することによりシステムの運用効率を向上
することのできるファイル管理圧縮方法および装置を実
現することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and is directed to a file management compression method capable of improving the operation efficiency of a system by efficiently compressing files. And a device.
【0007】[0007]
【課題を解決するための手段】本発明のコンピュータシ
ステムにおけるファイル圧縮管理方法は、ファイル装置
内に格納された複数のファイルのいずれかを選択的に圧
縮するコンピュータシステムにおけるファイル圧縮管理
方法であって、ファイル装置内における領域が所定以上
大きなファイルを選択して圧縮することを特徴とする。A file compression management method in a computer system according to the present invention is a file compression management method in a computer system for selectively compressing any one of a plurality of files stored in a file device. And selecting and compressing a file whose area in the file device is larger than a predetermined value.
【0008】本発明の他の形態によるコンピュータシス
テムにおけるファイル圧縮管理方法は、ファイル装置内
に格納された複数のファイルのいずれかを選択的に圧縮
するコンピュータシステムにおけるファイル圧縮管理方
法であって、アクセスされる割合が所定以下のファイル
を選択して圧縮することを特徴とする。A file compression management method in a computer system according to another embodiment of the present invention is a file compression management method in a computer system for selectively compressing any one of a plurality of files stored in a file device. The file is compressed by selecting a file whose ratio is equal to or less than a predetermined value.
【0009】上記のいずれの場合においても、ファイル
の圧縮を所定時間毎に行うこととしてもよい。[0009] In any of the above cases, the file may be compressed at predetermined time intervals.
【0010】本発明の記録媒体は、上記のいずれかに記
載の方法をコンピュータに実行させるためのプログラム
が記録されている。[0010] The recording medium of the present invention stores a program for causing a computer to execute any of the methods described above.
【0011】本発明によるコンピュータシステムにおけ
るファイル圧縮管理装置は、ファイル装置内に格納され
た複数のファイルのいずれかを選択的に圧縮するコンピ
ュータシステムにおけるファイル圧縮管理装置であっ
て、前記ファイル装置内の各ファイルの内容やファイル
に関する情報を読み出すファイル読出手段と、前記ファ
イル装置内のファイルについて圧縮する書込作業を行う
ファイル書込手段と、前記ファイル読出手段およびファ
イル書込手段を介してファイル装置内のファイル情報を
得、また、圧縮動作の制御を行うシステム制御部と、圧
縮を行うべきファイルについての順位を示し、大きな値
ほど順位が高い圧縮段階が前記ファイル装置内の各ファ
イルに対応して記述されたファイル管理テーブルと、前
記ファイル装置における複数のファイルそれぞれの占有
率を示すファイル使用率と、ファイル使用率が高いほど
大きな値となる圧縮段階が記述されている上限使用率テ
ーブルと、所定時間毎に各ファイルの使用率を前記シス
テム制御部に問い合わせ、問い合わせ結果のファイル使
用率に対応して前記上限使用率テーブルに格納されてい
る圧縮段階を読み出してファイル名とともに出力するフ
ァイル使用率監視手段と、前記ファイル管理テーブルの
記述内容をファイル使用率監視手段の出力内容に更新
し、圧縮段階が所定数以上のファイルを読み出して前記
システム制御部に通知するファイル管理手段と、を有
し、前記システム制御部は、コンピュータシステムの運
用の終了を待って、前記ファイル管理手段から通知され
たファイルに対して圧縮を行うことを特徴とする。A file compression management device in a computer system according to the present invention is a file compression management device in a computer system for selectively compressing any one of a plurality of files stored in a file device. File reading means for reading the contents of each file and information about the file; file writing means for performing a writing operation for compressing the file in the file device; The system control unit that obtains the file information and controls the compression operation, and indicates the order of the files to be compressed, and the larger the value, the higher the compression stage in the order corresponding to each file in the file device. The described file management table and the file device A file usage rate indicating an occupancy rate of each of the plurality of files, an upper limit usage rate table in which a compression stage having a larger value as the file usage rate is described, and a usage rate of each file at predetermined time intervals are determined by the system. File control means for inquiring the control unit, reading out the compression stage stored in the upper limit use rate table corresponding to the file use rate of the query result, and outputting it together with the file name, and the description contents of the file management table. File management means for updating to the output content of the file usage monitoring means, reading out a predetermined number or more files in the compression stage, and notifying the file to the system control unit, wherein the system control unit operates the computer system. Waiting for completion, compressing the file notified from the file management means. To.
【0012】本発明の他の形態によるコンピュータシス
テムにおけるファイル圧縮管理装置は、ファイル装置内
に格納された複数のファイルのいずれかを選択的に圧縮
するコンピュータシステムにおけるファイル圧縮管理装
置であって、前記ファイル装置内の各ファイルの内容や
ファイルに関する情報を読み出すファイル読出手段と、
前記ファイル装置内のファイルについて圧縮する書込作
業を行うファイル書込手段と、前記ファイル読出手段お
よびファイル書込手段を介してファイル装置内のファイ
ル情報を得、また、圧縮動作の制御を行うシステム制御
部と、圧縮を行うべきファイルについての順位を示し、
大きな値ほど順位が高い圧縮段階が前記ファイル装置内
の各ファイルに対応して記述されたファイル管理テーブ
ルと、前記ファイル装置における複数のファイルそれぞ
れのアクセス率を示すファイルアクセス率と、ファイル
アクセス率が高いほど小さな値となる圧縮段階が記述さ
れている上限使用率テーブルと、所定時間毎に各ファイ
ルのアクセス率を前記システム制御部に問い合わせ、問
い合わせ結果のファイルアクセス率に対応して前記上限
使用率テーブルに格納されている圧縮段階を読み出して
ファイル名とともに出力するファイルアクセス率監視手
段と、前記ファイル管理テーブルの記述内容をファイル
アクセス率監視手段の出力内容に更新し、圧縮段階が所
定数以下のファイルを読み出して前記システム制御部に
通知するファイル管理手段と、を有し、前記システム制
御部は、コンピュータシステムの運用の終了を待って、
前記ファイル管理手段から通知されたファイルに対して
圧縮を行うことを特徴とする。A file compression management device in a computer system according to another aspect of the present invention is a file compression management device in a computer system for selectively compressing any of a plurality of files stored in a file device, File reading means for reading information on the contents and files of each file in the file device;
A file writing unit for performing a writing operation for compressing a file in the file device, a system for obtaining file information in the file device via the file reading unit and the file writing unit, and controlling a compression operation Indicates the control unit and the order of files to be compressed,
The larger the value, the higher the compression stage, the file management table in which the file is described corresponding to each file in the file device, the file access ratio indicating the access ratio of each of the plurality of files in the file device, and the file access ratio. An upper-limit use rate table in which a compression step that becomes smaller as the value becomes higher is described, and an access rate of each file is inquired to the system controller every predetermined time, and the upper-limit use rate is corresponded to the file access rate as a result of the inquiry. File access rate monitoring means for reading out the compression stage stored in the table and outputting it together with the file name, and updating the description content of the file management table to the output content of the file access rate monitoring means, wherein the number of compression stages is equal to or less than a predetermined number. File to be read and notified to the system control unit It has a management unit, wherein the system control unit waits for the completion of the operation of a computer system,
The compression is performed on the file notified from the file management unit.
【0013】「作用」本発明の特徴は、コンピュータシ
ステムにおいて、ファイル(プログラム群、データ群)
の使用率やアクセス率といった特性に応じて複数のスレ
ッショルド値である圧縮段階により圧縮するファイルを
選択することを特徴とする。ファイルが所定のスレッシ
ョルド値を越えるとシステムの運用の終了時に、ファイ
ルを読出圧縮して書込を行うことにより空きファイル領
域を拡大させることを特徴としている。[Operation] A feature of the present invention is that a file (program group, data group) is stored in a computer system.
A file to be compressed is selected in a compression step, which is a plurality of threshold values, according to characteristics such as a usage rate and an access rate. It is characterized in that when a file exceeds a predetermined threshold value, at the end of system operation, the file is read out, compressed and written to expand the free file area.
【0014】以降、ファイル使用率がスレッショルド値
を越える毎に同様の処理を行う。圧縮され格納される
と、仕様可能領域が増大し、大量データを使用するプロ
グラムも走行可能となり、よりシステムの運用効率を向
上させることができる。Thereafter, the same processing is performed every time the file usage rate exceeds the threshold value. When the data is compressed and stored, the specifiable area increases, and a program using a large amount of data can be run, so that the operation efficiency of the system can be further improved.
【0015】使用率に着目して圧縮ファイルの選択を行
う場合にはより大きな空き領域を確保することができ、
アクセス率に着目して圧縮ファイルの選択を行う場合に
はアクセス率が高い、換言すると使用頻度の高いファイ
ルについては圧縮されないこととなり、円滑な運用が可
能となる。When a compressed file is selected by paying attention to the usage rate, a larger free area can be secured.
When a compressed file is selected by paying attention to the access rate, a file having a high access rate, in other words, a frequently used file is not compressed, so that a smooth operation can be performed.
【0016】[0016]
【発明の実施の形態】次に、本発明の実施例について図
面を参照して説明する。Next, an embodiment of the present invention will be described with reference to the drawings.
【0017】第1の実施例 図1は、本発明を適用したコンピュータシステムの一実
施例のシステム構成を示すブロック図であり、本体装置
100とファイル装置200とから構成されている。[0017] First Embodiment FIG. 1 is a block diagram showing the system configuration of an embodiment of a computer system according to the present invention, and a main unit 100 and the file system 200.
【0018】本体装置100は、システム全体を制御す
るシステム制御部101、ファイル読出手段102、フ
ァイル書込手段103、ファイル圧縮手段104、ファ
イル管理手段105、ファイル管理テーブル106、フ
ァイル使用率監視手段107、上限使用率テーブル10
8とから構成されている。The main unit 100 includes a system control unit 101 for controlling the entire system, a file reading unit 102, a file writing unit 103, a file compression unit 104, a file management unit 105, a file management table 106, and a file usage monitoring unit 107. , Upper limit usage rate table 10
And 8.
【0019】ファイル読出手段102はシステム制御部
101からの指示によりファイル装置200内の各ファ
イルの内容やファイルの格納状態を読み出してシステム
制御部101へ送出する。The file reading means 102 reads the contents of each file in the file device 200 and the storage state of the file in accordance with an instruction from the system control unit 101 and sends it to the system control unit 101.
【0020】ファイル書込手段103はシステム制御部
101からの指示によりファイル装置200へのファイ
ルの書込を行い、また、ファイル圧縮手段104からの
指示によりファイル装置200内のファイルについて圧
縮する書込作業を行う。The file writing means 103 writes a file into the file device 200 in accordance with an instruction from the system control unit 101, and writes a file in the file device 200 in accordance with an instruction from the file compression means 104. Do the work.
【0021】ファイル圧縮手段104はシステム制御部
101からの指示を受けてファイル書込手段103への
圧縮指示を出力する。The file compression means 104 receives an instruction from the system control unit 101 and outputs a compression instruction to the file writing means 103.
【0022】図2は、ファイル管理テーブル106の構
成を示す図であり、ファイル名と圧縮段階とが対応して
記述されている。この圧縮段階は、圧縮を行うべきファ
イルについて順位付けしたものであり、図2に示す例で
は値が大きなほど圧縮を行うべき順位が高いファイルで
あることを示している。FIG. 2 is a diagram showing the configuration of the file management table 106, in which file names and compression stages are described in correspondence. In this compression stage, the files to be compressed are ranked. In the example shown in FIG. 2, the larger the value, the higher the file to be compressed.
【0023】図3は、上限使用率テーブル108の構成
を示す図であり、圧縮段階とファイル装置200におけ
る各ファイルの占有率を示すファイル使用率とが対応し
て記述されている。図示するようにファイル使用率が高
いほど大きな圧縮段階が記述されている。FIG. 3 is a diagram showing the configuration of the upper limit use rate table 108, in which the compression stages and the file use rates indicating the occupancy rates of the respective files in the file device 200 are described in correspondence. As shown in the figure, the higher the file usage rate, the larger the compression stage is described.
【0024】ファイル使用率監視手段107は、所定時
間毎に各ファイルの使用率をシステム制御部101に問
い合わせ、問い合わせ結果のファイル使用率に対応して
上限使用率テーブル108に格納されている圧縮段階を
読み出してファイル名とともにファイル管理手段105
へ通知する。The file usage monitoring means 107 inquires the system controller 101 of the usage of each file at predetermined time intervals, and stores the compression stages stored in the upper limit usage table 108 corresponding to the file usage as a result of the inquiry. And reads the file management means 105 together with the file name.
Notify to
【0025】ファイル管理手段105はファイル管理テ
ーブル106の記述内容をファイル使用率監視手段10
7から通知された内容に更新し、圧縮段階が所定値以上
のファイルをシステム制御部101へ出力する。The file management means 105 compares the contents of the file management table 106 with the file usage rate monitoring means 10.
7, and outputs a file whose compression stage is equal to or larger than a predetermined value to the system control unit 101.
【0026】通常のコンピュータシステムにおいては、
運用が開始されるとファイル装置200からアプリケー
ション群、データ群等の種々ファイルが読み出され本体
装置100上で実行され、実行中、適時更新データ等が
ファイル書込手段103によりファイル装置200に書
込が行われ、運用がなされている。In a typical computer system,
When the operation is started, various files such as an application group and a data group are read from the file device 200 and executed on the main device 100. During execution, timely updated data and the like are written to the file device 200 by the file writing means 103. Operation is being carried out.
【0027】通常、コンピュータのシステム設計におい
ては十分なファイル容量を具備するように設計される
が、近年、画像データを扱うアプリケーションも多数販
売されるようになり、大容量のファイル領域を必要とす
るようになってきた。このためコンピュータシステムの
ファイル容量を圧迫することが多々発生するようになっ
てきた。システム運用中、システム外部から、大容量の
データを格納したり、新たにアプリケーションをインス
トールしたりすることが行われることにより、ファイル
装置200のファイル使用率は増加する。Normally, a computer system is designed to have a sufficient file capacity. However, in recent years, many applications that handle image data have been sold, and a large file area is required. It has become. For this reason, the file capacity of the computer system is often squeezed. During the operation of the system, a large amount of data is stored from outside the system or a new application is installed, so that the file usage rate of the file device 200 increases.
【0028】図4は、本実施例の特徴的な動作を示すフ
ローチャートであり、以下に、本実施例の動作について
図4を参照して説明する。FIG. 4 is a flowchart showing a characteristic operation of the present embodiment. The operation of the present embodiment will be described below with reference to FIG.
【0029】ここで、本実施例では通常の運用とは別
に、以下のようにして運用を行わせる。Here, in this embodiment, the operation is performed as follows in addition to the normal operation.
【0030】ファイル使用率監視手段107は、システ
ム制御部101に各ファイルの使用率を問い合わせ、現
在の各ファイルのファイル使用率を得る(ステップS
1)。The file usage monitoring means 107 inquires of the system controller 101 about the usage of each file, and obtains the current file usage of each file (step S).
1).
【0031】続いて、ファイル使用率監視手段107
は、ステップS1にて得られた現在の各ファイルのファ
イル使用率に対応して上限使用率テーブル108に記述
されている圧縮段階を読み出してファイル名とともにフ
ァイル管理手段105へ通知する(ステップS2)。圧
縮段階は、ファイル使用率の大小に従って、数段階定め
られている。Subsequently, the file usage monitoring means 107
Reads the compression stage described in the upper-limit usage rate table 108 corresponding to the current file usage rate of each file obtained in step S1, and notifies the file management unit 105 of the compression level together with the file name (step S2). . Several compression stages are determined according to the size of the file usage.
【0032】ファイル管理手段105は、ファイル管理
テーブル106に各ファイルに対応して記述されている
圧縮段階を通知された圧縮段階に更新する(ステップS
3)。この後、ファイル管理テーブル106の中で圧縮
段階が所定数以上のファイルを読み出してシステム制御
部101に通知し、システム制御部101では、運用の
終了を待って、ファイル管理手段105から通知された
ファイルをファイル装置200から読出し、ファイル圧
縮手段104により圧縮を行い、再度ファイル装置20
0に書込を行う(ステップS4)。The file management means 105 updates the compression stage described for each file in the file management table 106 to the notified compression stage (step S).
3). Thereafter, the files whose compression stage is equal to or more than a predetermined number are read out from the file management table 106 and notified to the system control unit 101. The system control unit 101 is notified by the file management unit 105 after the end of the operation. The file is read from the file device 200, compressed by the file compression means 104, and
0 is written (step S4).
【0033】この後、所定時間経過したかの確認が行わ
れ(ステップS5)、所定時間経過するとステップS1
に戻って上記の各動作が繰り返し行われる。これによ
り、圧縮作業が所定時間毎に定期的に行われることとな
る。Thereafter, it is determined whether a predetermined time has elapsed (step S5).
And the above operations are repeatedly performed. As a result, the compression work is performed periodically at predetermined time intervals.
【0034】上記のように構成される本実施例において
は、ファイル装置200における使用領域の大きなファ
イルから優先的に圧縮がなされるので、効率よく空き領
域の拡張を行うことができる。In the present embodiment configured as described above, compression is preferentially performed on a file having a large used area in the file device 200, so that the free area can be efficiently expanded.
【0035】次に、本発明の第2の実施例について図面
を参照して説明する。Next, a second embodiment of the present invention will be described with reference to the drawings.
【0036】第2の実施例 図5は、本発明を適用したコンピュータシステムの第2
の実施例のシステム構成を示すブロック図である。 Second Embodiment FIG. 5 shows a second embodiment of the computer system to which the present invention is applied.
FIG. 2 is a block diagram illustrating a system configuration according to an embodiment of the present invention.
【0037】本実施例は、図1に示した第1の実施例が
ファイルの使用率にて圧縮するファイルを選択していた
のに対してファイルのアクセス率にて圧縮するファイル
を選択するものであり、これに伴って図1に示した本体
装置100、システム制御部101、ファイル管理手段
105、ファイル管理テーブル106、ファイル使用率
監視手段107、上限使用率テーブル108のそれぞれ
を、本体装置300、システム制御部301、ファイル
管理手段305、ファイル管理テーブル306、ファイ
ルアクセス率監視手段307、上限アクセス率テーブル
108としたものである。この他の構成は図1に示した
第1の実施例と同様であるために図1と同じ番号を付し
て説明は省略する。In this embodiment, the file to be compressed is selected based on the file access rate, whereas the first embodiment shown in FIG. 1 selects the file to be compressed based on the file usage rate. Accordingly, the main unit 100, the system control unit 101, the file management unit 105, the file management table 106, the file usage monitoring unit 107, and the upper limit usage table 108 shown in FIG. , A system control unit 301, a file management unit 305, a file management table 306, a file access rate monitoring unit 307, and an upper limit access rate table 108. Other configurations are the same as those of the first embodiment shown in FIG. 1, and therefore, the same reference numerals as in FIG.
【0038】図6はファイル管理テーブル306の構成
を示す図である。ファイル管理テーブル306は第1の
実施例におけるファイル管理テーブル106と同様、フ
ァイル名と圧縮段階とが対応して記述されている。FIG. 6 shows the structure of the file management table 306. In the file management table 306, similarly to the file management table 106 in the first embodiment, a file name and a compression stage are described in association with each other.
【0039】図7は、上限アクセス率テーブル308の
構成を示す図であり、圧縮段階とファイルのファイル装
置200における占有率を示すファイルアクセス率とが
対応して記述されている。図示するようにファイルアク
セス率が高いほど低い圧縮段階が記述されている。FIG. 7 is a diagram showing the structure of the upper limit access ratio table 308, in which the compression stage and the file access ratio indicating the occupation ratio of the file in the file device 200 are described in correspondence. As shown in the figure, the higher the file access ratio, the lower the compression stage is described.
【0040】ファイルアクセス率監視手段307は、所
定時間毎に各ファイルのアクセス率をシステム制御部3
01に問い合わせ、問い合わせ結果のファイルアクセス
率に対応して上限アクセス率テーブル308に格納され
ている圧縮段階を読み出してファイル名とともにファイ
ル管理手段305へ通知する。The file access rate monitoring means 307 checks the access rate of each file at predetermined time intervals.
01, and reads out the compression stage stored in the upper limit access rate table 308 corresponding to the file access rate as a result of the inquiry, and notifies the file management means 305 together with the file name.
【0041】ファイル管理手段305はファイルアクセ
ス率テーブル306の記述内容をファイルアクセス率監
視手段307から通知された内容に更新し、その結果を
システム制御部301へ出力する。The file management means 305 updates the description contents of the file access rate table 306 to the contents notified from the file access rate monitoring means 307, and outputs the result to the system control section 301.
【0042】図8は、本実施例の特徴的な動作を示すフ
ローチャートであり、以下に、本実施例の動作について
図8を参照して説明する。FIG. 8 is a flowchart showing a characteristic operation of the present embodiment. The operation of the present embodiment will be described below with reference to FIG.
【0043】ファイルアクセス率監視手段307は、シ
ステム制御部301に各ファイルのアクセス率を問い合
わせ、現在の各ファイルのファイルアクセス率を得る
(ステップS31)。The file access rate monitoring means 307 inquires of the system control section 301 about the access rate of each file, and obtains the current file access rate of each file (step S31).
【0044】続いて、ファイルアクセス率監視手段30
7は、ステップS1にて得られた現在の各ファイルのフ
ァイルアクセス率に対応して上限アクセス率テーブル1
08に記述されている圧縮段階を読み出してファイル名
とともにファイル管理手段305へ通知する(ステップ
S32)。圧縮段階は、ファイルアクセス率の大小に従
って、数段階定められている。Subsequently, the file access rate monitoring means 30
7 is an upper limit access rate table 1 corresponding to the current file access rate of each file obtained in step S1.
The compression stage described in 08 is read out and notified to the file management means 305 together with the file name (step S32). Several compression stages are determined according to the level of the file access rate.
【0045】ファイル管理手段305は、ファイル管理
テーブル306に各ファイルに対応して記述されている
圧縮段階を通知された圧縮段階に更新する(ステップS
33)。この後、ファイル管理テーブル306の中で圧
縮段階が所定数以上のファイルを読み出してシステム制
御部301に通知し、システム制御部301では、運用
の終了を待って、ファイル管理手段305から通知され
たファイルをファイル装置200から読出し、ファイル
圧縮手段304により圧縮を行い、再度ファイル装置2
00に書込を行う(ステップS34)。The file management means 305 updates the compression stage described for each file in the file management table 306 to the notified compression stage (step S).
33). Thereafter, the files whose compression stages are equal to or more than a predetermined number are read out from the file management table 306 and notified to the system control unit 301. The system control unit 301 waits for the end of the operation and is notified by the file management unit 305. The file is read from the file device 200, compressed by the file compression means 304, and
00 is written (step S34).
【0046】この後、所定時間経過したかの確認が行わ
れ(ステップS35)、所定時間経過するとステップS
31に戻って上記の各動作が繰り返し行われる。これに
より、圧縮作業が所定時間毎に定期的に行われることと
なる。Thereafter, it is determined whether a predetermined time has elapsed (step S35).
Returning to 31, the above operations are repeatedly performed. As a result, the compression work is performed periodically at predetermined time intervals.
【0047】上記のように構成される本実施例において
は、ファイル装置200におけるアクセス領域の大きな
ファイルから優先的に圧縮がなされるので、解凍が必要
とされる圧縮ファイルはアクセスの少ないものとなり、
運用が円滑に行われるものとなる。In this embodiment constructed as described above, compression is performed preferentially on files having a large access area in the file device 200, so that compressed files that need to be decompressed have less access.
Operation will be performed smoothly.
【0048】上述した各本実施例のいずれも、記憶装
置、制御装置、入力装置および出力装置から構成される
ごく一般的なコンピュータシステムで実現される。各部
の動作についていうと、入力装置は装置利用者からの入
力を受け付けて制御装置へ出力する。記憶装置は制御を
含むプログラムや、該プログラムの実行に伴うデータの
一時記憶などを行うもので、例えばハードディスクなど
により構成される。制御装置は入力装置からの入力内容
について記憶装置に格納されたプログラムに基づいた処
理を行い、その結果をプリンタや表示デバイス等の出力
装置へ出力する。Each of the above-described embodiments is realized by a very general computer system including a storage device, a control device, an input device, and an output device. As for the operation of each unit, the input device receives an input from the device user and outputs it to the control device. The storage device performs a program including control, temporary storage of data accompanying the execution of the program, and the like, and is configured by, for example, a hard disk. The control device performs processing based on the program stored in the storage device with respect to the input content from the input device, and outputs the result to an output device such as a printer or a display device.
【0049】上記の記憶装置に記憶されるプログラム
は、着脱可能な記録媒体に格納され、入力装置を介して
記憶される形態が一般的であり、本発明は記録媒体をも
含む。The program stored in the storage device is generally stored in a removable recording medium and stored via an input device, and the present invention also includes a recording medium.
【0050】[0050]
【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載するような効果を奏する。Since the present invention is configured as described above, it has the following effects.
【0051】ファイル装置内における各ファイルの割合
にしたがって圧縮する場合には、より大きな空き領域を
確保することが可能となるため、一時的に大容量のワー
クファイルを必要とするプログラムなどを、多数効率よ
く走行させることが可能となり、システムの運用効率を
飛躍的に向上させることができる効果がある。When compression is performed in accordance with the ratio of each file in the file device, a larger free space can be secured, so that a large number of programs and the like that temporarily need a large-capacity work file are required. It is possible to drive efficiently, and there is an effect that the operation efficiency of the system can be dramatically improved.
【0052】また、ファイルのアクセスされる割合にし
たがって圧縮する場合には、圧縮しても運用に差し支え
ないファイルが選択されることとなり、空き領域を拡大
しつつ円滑な運用を行うことができる効果がある。When the file is compressed in accordance with the access ratio of the file, a file which can be operated even if the file is compressed is selected, so that the smooth operation can be performed while expanding the free space. There is.
【図1】本発明の第1の実施例の構成を示すブロック図
である。FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.
【図2】図1中のファイル管理テーブル106の構成を
示す図である。FIG. 2 is a diagram showing a configuration of a file management table 106 in FIG.
【図3】図1中の上限使用率テーブル108の構成を示
す図である。FIG. 3 is a diagram showing a configuration of an upper limit use rate table 108 in FIG.
【図4】本発明の第1の実施例の動作を示すフローチャ
ートである。FIG. 4 is a flowchart showing the operation of the first embodiment of the present invention.
【図5】本発明の第2の実施例の構成を示すブロック図
である。FIG. 5 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.
【図6】図5中のファイル管理テーブル306の構成を
示す図である。FIG. 6 is a diagram showing a configuration of a file management table 306 in FIG.
【図7】図5中の上限アクセス率テーブル308の構成
を示す図である。FIG. 7 is a diagram showing a configuration of an upper limit access rate table 308 in FIG. 5;
【図8】本発明の第2の実施例の動作を示すフローチャ
ートである。FIG. 8 is a flowchart showing the operation of the second embodiment of the present invention.
100 本体装置 101,301 システム制御部 102 ファイル読出手段 103 ファイル書込手段 104 ファイル圧縮手段 105,305 ファイル管理手段 106,306 ファイル管理テーブル 107 ファイル使用率監視手段 108 上限使用率テーブル 307 ファイルアクセス率監視手段 308 上限アクセス率テーブル 200 ファイル装置 S1〜S5,S31〜S35 ステップ Reference Signs List 100 main unit 101, 301 system control unit 102 file reading unit 103 file writing unit 104 file compression unit 105, 305 file management unit 106, 306 file management table 107 file usage monitoring unit 108 upper limit usage ratio table 307 file access ratio monitoring Means 308 Upper limit access rate table 200 File device S1 to S5, S31 to S35 Step
【手続補正書】[Procedure amendment]
【提出日】平成9年11月11日[Submission date] November 11, 1997
【手続補正1】[Procedure amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】発明の名称[Correction target item name] Name of invention
【補正方法】変更[Correction method] Change
【補正内容】[Correction contents]
【発明の名称】 コンピュータシステムにおけるファ
イル圧縮管理装置とファイル圧縮管理方法および該方法
を記録した記録媒体Patent application title: FILE COMPRESSION MANAGEMENT DEVICE AND FILE COMPRESSION MANAGEMENT METHOD IN COMPUTER SYSTEM AND RECORDING MEDIUM RECORDING THE METHOD
Claims (6)
イルのいずれかを選択的に圧縮するコンピュータシステ
ムにおけるファイル圧縮管理方法であって、 ファイル装置内における領域が所定以上大きなファイル
を選択して圧縮することを特徴とするコンピュータシス
テムにおけるファイル圧縮管理方法。1. A file compression management method in a computer system for selectively compressing any one of a plurality of files stored in a file device, wherein a file having an area larger than a predetermined area in the file device is selected and compressed. File compression management method in a computer system.
イルのいずれかを選択的に圧縮するコンピュータシステ
ムにおけるファイル圧縮管理方法であって、 アクセスされる割合が所定以下のファイルを選択して圧
縮することを特徴とするコンピュータシステムにおける
ファイル圧縮管理方法。2. A file compression management method in a computer system for selectively compressing any one of a plurality of files stored in a file device, wherein a file accessed at a predetermined ratio or less is selected and compressed. A file compression management method in a computer system.
ータシステムにおけるファイル圧縮管理方法において、 ファイルの圧縮を所定時間毎に行うことを特徴とするコ
ンピュータシステムにおけるファイル圧縮管理方法。3. A file compression management method in a computer system according to claim 1, wherein the file compression is performed at predetermined time intervals.
の方法をコンピュータに実行させるためのプログラムを
記録した記録媒体。4. A recording medium on which a program for causing a computer to execute the method according to claim 1 is recorded.
イルのいずれかを選択的に圧縮するコンピュータシステ
ムにおけるファイル圧縮管理装置であって、 前記ファイル装置内の各ファイルの内容やファイルに関
する情報を読み出すファイル読出手段と、 前記ファイル装置内のファイルについて圧縮する書込作
業を行うファイル書込手段と、 前記ファイル読出手段およびファイル書込手段を介して
ファイル装置内のファイル情報を得、また、圧縮動作の
制御を行うシステム制御部と、 圧縮を行うべきファイルについての順位を示し、大きな
値ほど順位が高い圧縮段階が前記ファイル装置内の各フ
ァイルに対応して記述されたファイル管理テーブルと、 前記ファイル装置における複数のファイルそれぞれの占
有率を示すファイル使用率と、ファイル使用率が高いほ
ど大きな値となる圧縮段階が記述されている上限使用率
テーブルと、 所定時間毎に各ファイルの使用率を前記システム制御部
に問い合わせ、問い合わせ結果のファイル使用率に対応
して前記上限使用率テーブルに格納されている圧縮段階
を読み出してファイル名とともに出力するファイル使用
率監視手段と、 前記ファイル管理テーブルの記述内容をファイル使用率
監視手段の出力内容に更新し、圧縮段階が所定数以上の
ファイルを読み出して前記システム制御部に通知するフ
ァイル管理手段と、を有し、 前記システム制御部は、コンピュータシステムの運用の
終了を待って、前記ファイル管理手段から通知されたフ
ァイルに対して圧縮を行うことを特徴とするコンピュー
タシステムにおけるファイル圧縮管理装置。5. A file compression management device in a computer system for selectively compressing any one of a plurality of files stored in a file device, wherein contents of each file in the file device and information on the file are read. File reading means; file writing means for performing a writing operation for compressing a file in the file device; file information in the file device obtained through the file reading means and the file writing means; A file control table that indicates the order of the files to be compressed, and indicates the compression stage in which the higher the value, the higher the compression stage, corresponding to each file in the file device. File usage, which indicates the occupancy of each of multiple files on the device, and The upper limit usage rate table in which the compression stage that becomes larger as the file usage rate is described, and the usage rate of each file is inquired to the system control unit at predetermined time intervals, and the file usage rate corresponding to the query result is obtained. A file usage monitoring unit that reads out the compression stage stored in the upper limit usage ratio table and outputs the compression stage together with a file name; and updates the description content of the file management table to the output content of the file usage monitoring unit. File management means for reading out a predetermined number of files or more and notifying the system control unit, the system control unit waits for the end of the operation of the computer system, and A file compression management device in a computer system, which performs compression on a file.
ルのいずれかを選択的に圧縮するコンピュータシステム
におけるファイル圧縮管理装置であって、 前記ファイル装置内の各ファイルの内容やファイルに関
する情報を読み出すファイル読出手段と、 前記ファイル装置内のファイルについて圧縮する書込作
業を行うファイル書込手段と、 前記ファイル読出手段およびファイル書込手段を介して
ファイル装置内のファイル情報を得、また、圧縮動作の
制御を行うシステム制御部と、 圧縮を行うべきファイルについての順位を示し、大きな
値ほど順位が高い圧縮段階が前記ファイル装置内の各フ
ァイルに対応して記述されたファイル管理テーブルと、 前記ファイル装置における複数のファイルそれぞれのア
クセス率を示すファイルアクセス率と、ファイルアクセ
ス率が高いほど小さな値となる圧縮段階が記述されてい
る上限使用率テーブルと、 所定時間毎に各ファイルのアクセス率を前記システム制
御部に問い合わせ、問い合わせ結果のファイルアクセス
率に対応して前記上限使用率テーブルに格納されている
圧縮段階を読み出してファイル名とともに出力するファ
イルアクセス率監視手段と、 前記ファイル管理テーブルの記述内容をファイルアクセ
ス率監視手段の出力内容に更新し、圧縮段階が所定数以
下のファイルを読み出して前記システム制御部に通知す
るファイル管理手段と、を有し、 前記システム制御部は、コンピュータシステムの運用の
終了を待って、前記ファイル管理手段から通知されたフ
ァイルに対して圧縮を行うことを特徴とするコンピュー
タシステムにおけるファイル圧縮管理装置。6. A file compression management device in a computer system for selectively compressing any one of a plurality of files stored in a file device, wherein information on each file in the file device and information on the file are read. File reading means; file writing means for performing a writing operation for compressing a file in the file device; file information in the file device obtained through the file reading means and the file writing means; A file control table that indicates the order of the files to be compressed, and indicates the compression stage in which the higher the value, the higher the compression stage, corresponding to each file in the file device. File access indicating the access rate of each of multiple files on the device And an upper-limit use rate table in which a compression step in which the value becomes smaller as the file access rate becomes higher is described. The system control section is inquired about the access rate of each file at predetermined time intervals, and corresponds to the file access rate of the query result. File access rate monitoring means for reading out the compression stage stored in the upper limit usage rate table and outputting it together with the file name; updating the description content of the file management table to the output content of the file access rate monitoring means; File management means for reading out files whose number is equal to or less than a predetermined number and notifying the system control unit, wherein the system control unit is notified from the file management unit after the operation of the computer system ends. A computer system characterized by compressing files. File compression management device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9307427A JPH11143748A (en) | 1997-11-10 | 1997-11-10 | File compression management device and file compression management method in computer system, and recording medium recording said method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9307427A JPH11143748A (en) | 1997-11-10 | 1997-11-10 | File compression management device and file compression management method in computer system, and recording medium recording said method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11143748A true JPH11143748A (en) | 1999-05-28 |
Family
ID=17968939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9307427A Pending JPH11143748A (en) | 1997-11-10 | 1997-11-10 | File compression management device and file compression management method in computer system, and recording medium recording said method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11143748A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0491558A (en) * | 1990-08-06 | 1992-03-25 | Sony Corp | Picture storing device |
| JPH09219647A (en) * | 1996-02-09 | 1997-08-19 | Casio Comput Co Ltd | File processing device |
| JPH09231109A (en) * | 1996-02-27 | 1997-09-05 | Nec Corp | File device |
-
1997
- 1997-11-10 JP JP9307427A patent/JPH11143748A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0491558A (en) * | 1990-08-06 | 1992-03-25 | Sony Corp | Picture storing device |
| JPH09219647A (en) * | 1996-02-09 | 1997-08-19 | Casio Comput Co Ltd | File processing device |
| JPH09231109A (en) * | 1996-02-27 | 1997-09-05 | Nec Corp | File device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6823417B2 (en) | Memory controller for memory card manages file allocation table | |
| US5774715A (en) | File system level compression using holes | |
| US8121994B2 (en) | Partially embedded database and an embedded database manager for a control system | |
| JP2002202902A (en) | Partition formation method and deletion method, recording medium having program recorded thereon, and information processing device | |
| EP0694831A2 (en) | Computer system having storage unit provided with data compression function andmethod of management of storage area thereof | |
| JP2001265628A (en) | File record management system | |
| JP4304746B2 (en) | File replacement method and apparatus | |
| JP3236152B2 (en) | File compression processor | |
| JP2005293224A (en) | Backup system and backup method | |
| JP2005301885A (en) | Access method to data recording medium, information processor, and access program to data storage medium | |
| CN115221117A (en) | Method and system capable of transferring data across disks | |
| JP2000105717A (en) | File storage control device and file storage control method | |
| JP4466192B2 (en) | Information recording apparatus, information recording method, and program | |
| JPH1069409A (en) | Exchangeable storage medium, control method, and computer system | |
| JP2000339202A (en) | Disk controller, control method therefor and disk storage medium | |
| JP3109656B2 (en) | Portable storage medium management system and information storage medium used to realize the system | |
| JPH06324925A (en) | File system with data compression function | |
| JP2000347906A (en) | Automatic optimization of magnetic disk usage | |
| JP2004272393A (en) | LSI with built-in CPU, optical disk device and LSI device using the same | |
| JP2002268903A (en) | Program management method | |
| JPH06231016A (en) | File coupling/dividing method | |
| JP2970752B2 (en) | Data editing system with automatic data writing function | |
| JP2008077271A (en) | Electronic device having content storage function | |
| JP2002215438A (en) | Data processing method | |
| JPH05250243A (en) | Data processing system for extended storage device |