JPH0969058A - Computer system and file management method used in the system - Google Patents

Computer system and file management method used in the system

Info

Publication number
JPH0969058A
JPH0969058A JP7223060A JP22306095A JPH0969058A JP H0969058 A JPH0969058 A JP H0969058A JP 7223060 A JP7223060 A JP 7223060A JP 22306095 A JP22306095 A JP 22306095A JP H0969058 A JPH0969058 A JP H0969058A
Authority
JP
Japan
Prior art keywords
file
decompressed
data
storage device
compressed
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
JP7223060A
Other languages
Japanese (ja)
Inventor
Seiji Ito
清司 伊藤
Hideki Yoshida
英樹 吉田
Toru Imai
徹 今井
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7223060A priority Critical patent/JPH0969058A/en
Publication of JPH0969058A publication Critical patent/JPH0969058A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】 【課題】データを利用する度に掛かる圧縮データを伸長
するための時間を減らし、携帯型電子情報機器などの計
算機システムの電力消費の低減を図る。 【解決手段】読出し要求されたファイル名に対応する伸
長ファイルがデータ記憶部400に存在するか否かがデ
ータ管理部300によって調べられる。伸長ファイルが
存在するときは、圧縮ファイルの伸長処理は行われず、
伸長ファイルがデータ記憶部400から読み出される。
一方、伸長ファイルが存在しないときは、データ伸長部
200によって圧縮ファイルが伸長される。そして、伸
長ファイルは、圧縮ファイルと対応付けさせてデータ記
憶部400に保存される。このため、一旦読出しが要求
された圧縮ファイルについては、次回の読出し要求から
はその圧縮ファイルに対応する伸長ファイルがファイル
記憶装置に存在することになり、伸長処理を行うことな
く即座に読み出すことが可能となる。
(57) Abstract: To reduce the power consumption of a computer system such as a portable electronic information device by reducing the time taken to decompress compressed data each time the data is used. A data management unit 300 checks whether a decompressed file corresponding to a read-requested file name exists in a data storage unit 400. When the decompressed file exists, decompression processing of the compressed file is not performed,
The decompressed file is read from the data storage unit 400.
On the other hand, when the decompressed file does not exist, the data decompression unit 200 decompresses the compressed file. Then, the decompressed file is stored in the data storage unit 400 in association with the compressed file. Therefore, for a compressed file that has once been requested to be read, the decompressed file corresponding to the compressed file will exist in the file storage device from the next read request, and the decompressed file can be immediately read without performing decompression processing. It will be possible.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、複数のファイル
を保存することが可能なファイル記憶装置に対するファ
イル入出力を管理する計算機システムおよびそのシステ
ムで使用されるファイル管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system for managing file input / output to / from a file storage device capable of storing a plurality of files and a file management method used in the system.

【0002】[0002]

【従来の技術】一般に、計算機システムにて永続的に所
有するデータは、ファイルという論理的な単位でディス
クのような不揮発性記憶媒体に格納される。物理的な不
揮発性記憶媒体の各々の記憶部位にファイルという論理
的なデータ単位を割り当てるソフトウェアをファイルシ
ステムと呼ぶ。
2. Description of the Related Art Generally, data permanently owned by a computer system is stored in a nonvolatile storage medium such as a disk in logical units called files. Software that allocates a logical data unit called a file to each storage portion of a physical nonvolatile storage medium is called a file system.

【0003】ファイルとして管理されるデータには、テ
キスト、静止画、動画、音声などがある。またデータに
よっては、画像や音声などの複数のメディアを組み合わ
せたものもある。メディアの中で特に画像や音声データ
は多くの記憶容量を必要とし、膨大なデータが記憶容量
を占めることになる。このためデータを圧縮して記憶容
量を節約する必要があり、動画のMPEG、静止画のJ
PEG、音声のADPCMなどの圧縮方式が研究開発さ
れている。
Data managed as files include text, still images, moving images, voices, and the like. Also, some data may be a combination of multiple media such as images and sounds. Of the media, image and audio data in particular require a large storage capacity, and a huge amount of data will occupy the storage capacity. Therefore, it is necessary to compress the data to save the storage capacity.
Research and development have been conducted on compression methods such as PEG and audio ADPCM.

【0004】また、近頃では、サブノートパソコンや電
子手帳などの情報機器を携帯し、時と場所を選ばずに電
子情報を利用できるようになってきた。例えばサブノー
トパソコンでは、オフィスで作成した会議録や個人のス
ケジュールなどを内蔵の記憶媒体にデータファイルとし
て記憶し、電車の中や自宅など気が向いた時に見たり編
集したりして電子情報を活用することができる。この様
に携帯情報機器は持ち運ぶことを前提としているため、
大きさや重量の制限を受け、オフィスなどで据え置きで
使う情報機器のように多くの記憶媒体を搭載することが
できず、記憶容量が限られるという問題がある。このた
め、特に携帯情報機器では、記憶容量を節約するために
データを圧縮し、それを圧縮ファイルとして記憶するこ
とが必要となる。
In recent years, it has become possible to carry electronic devices such as sub-notebook personal computers and electronic notebooks and use electronic information at any time and place. For example, in a sub-notebook computer, the minutes of meetings and personal schedules created in the office are stored as data files in a built-in storage medium, and electronic information can be viewed and edited when you are in the train or at home. Can be utilized. In this way, since portable information devices are supposed to be carried around,
Due to size and weight restrictions, it is not possible to mount many storage media like information devices used in a stationary manner in an office or the like, and there is a problem that the storage capacity is limited. For this reason, especially in portable information devices, it is necessary to compress the data and store it as a compressed file in order to save the storage capacity.

【0005】また、携帯情報機器では稼働時間を長くす
るために電池の消耗を押える必要がある。電子情報機器
において、従来でも圧縮ファイルを記憶しておき、圧縮
ファイルを扱えるアプリケーションなどのプログラムを
通してデータを利用していた。ユーザからデータの利用
要求を受けた時、プログラムは圧縮ファイルを一時的に
伸長して提供する。この場合、データは一時的に記憶空
間に伸長されるだけで記憶媒体に保存されるわけではな
く、圧縮ファイルを利用する度に毎回伸長するための時
間を必要とし、電力を消費するという問題点があった。
Further, in the portable information equipment, it is necessary to suppress the consumption of the battery in order to prolong the operating time. In electronic information devices, compressed files have been stored in the past, and data has been used through programs such as applications that can handle compressed files. When receiving a data use request from the user, the program temporarily expands the compressed file and provides it. In this case, the data is not only temporarily expanded in the storage space but saved in the storage medium, and it takes time to expand each time the compressed file is used, which consumes power. was there.

【0006】[0006]

【発明が解決しようとする課題】上述したように、従来
の計算機システムでは、記憶媒体の記憶容量を節約する
ために圧縮ファイルが利用されているが、圧縮ファイル
を利用する度に毎回伸長するための処理が必要とされ
た。このため、携帯型の電子情報機器ではそれによって
多くの電力が消費されてしまうという欠点があった。
As described above, in the conventional computer system, the compressed file is used to save the storage capacity of the storage medium, but it is expanded every time the compressed file is used. Processing was required. Therefore, the portable electronic information device has a drawback that it consumes a lot of power.

【0007】この発明はこのような点に鑑みてなされた
もので、圧縮ファイルを利用する度に掛かる圧縮データ
を伸長するための時間を低減できるようにし、電力消費
の低減を図ることができる計算機システムおよびファイ
ル管理方法を提供することを目的とする。
The present invention has been made in view of the above circumstances, and a computer capable of reducing the time taken to decompress compressed data each time a compressed file is used and reducing power consumption. The purpose is to provide a system and a file management method.

【0008】[0008]

【課題を解決するための手段】この発明は、複数のファ
イルを保存することが可能なファイル記憶装置に対する
ファイル入出力を管理する計算機システムにおいて、前
記ファイル記憶装置に格納されている圧縮ファイルを伸
張する伸張手段と、この伸張手段によって伸張された伸
張ファイルを前記圧縮ファイルと対応付けて前記ファイ
ル記憶装置に保存する手段と、ファイル読出し要求に応
答して、その要求に対応する伸張ファイルが前記ファイ
ル記憶装置に存在するか否かを調べ、存在するときはそ
の伸張ファイルを前記ファイル記憶装置から読出して前
記ファイル読出し要求の要求元に与え、存在しないとき
は前記要求に対応する圧縮ファイルを前記伸張手段に伸
張させ、その伸張された伸張ファイルを前記要求元に与
えるファイル管理手段とを具備することを特徴とする。
According to the present invention, in a computer system for managing file input / output to / from a file storage device capable of storing a plurality of files, a compressed file stored in the file storage device is expanded. Decompressing means for decompressing the decompressed file decompressed by the decompressing means, and storing the decompressed file decompressed by the decompressing means in the file storage device in association with the compressed file. It is checked whether the file exists in the storage device, and if it exists, the decompressed file is read from the file storage device and given to the request source of the file read request, and if it does not exist, the compressed file corresponding to the request is decompressed. File management that causes the means to decompress and provides the decompressed decompressed file to the request source Characterized by comprising a stage.

【0009】この計算機システムにおいては、ユーザプ
ログラムなどからファイル読出し要求が発行されると、
その要求に対応する伸長ファイルがファイル記憶装置に
存在するか否かが調べられる。伸長ファイルが存在する
ときは、圧縮ファイルの伸長処理は行われず、伸長ファ
イルがファイル記憶装置から読み出されてデータ要求元
に送られる。一方、伸長ファイルが存在しないときは、
伸長手段によって圧縮ファイルが伸長される。そして、
伸長ファイルは、圧縮ファイルと対応付けされてファイ
ル記憶装置に保存される。このため、一旦読出しが行わ
れた圧縮ファイルについては、次回の読出し要求からは
その圧縮ファイルに対応する伸長ファイルがファイル記
憶装置に存在することになり、伸長処理を行うことなく
即座に読み出すことが可能となる。
In this computer system, when a file read request is issued from a user program or the like,
It is checked whether the decompressed file corresponding to the request exists in the file storage device. When the decompressed file exists, the decompressed file is not decompressed, and the decompressed file is read from the file storage device and sent to the data request source. On the other hand, if the decompressed file does not exist,
The decompression means decompresses the compressed file. And
The decompressed file is stored in the file storage device in association with the compressed file. Therefore, for a compressed file that has been read once, the decompressed file corresponding to the compressed file will exist in the file storage device from the next read request, and the decompressed file can be immediately read without performing decompression processing. It will be possible.

【0010】携帯型電子情報機器などにおいては、ファ
イル記憶装置として使用可能な記憶媒体の容量が制限さ
れているため、その電子情報機器で使用されるデータは
全て圧縮ファイルとしてファイル記憶装置に保存されて
いる場合が多い。しかし、このシステム構成によれば、
伸長処理が必要になるのは圧縮ファイルを最初に利用す
るときだけであるので、圧縮ファイルの伸長処理に要す
る平均時間を低減できる。よって、記憶媒体の記憶容量
が少なく、且つ電力消費の低減が要求されている携帯型
電子情報機器の実現に好適な計算機システムを提供でき
る。
In a portable electronic information device or the like, since the capacity of a storage medium usable as a file storage device is limited, all data used in the electronic information device is stored in the file storage device as a compressed file. There are many cases. However, according to this system configuration,
Since the decompression process is necessary only when the compressed file is first used, the average time required for the decompression process of the compressed file can be reduced. Therefore, it is possible to provide a computer system suitable for realizing a portable electronic information device in which the storage capacity of the storage medium is small and power consumption is required to be reduced.

【0011】また、このように圧縮ファイルと伸張ファ
イルとを対応付けて記憶する計算機システムにおいて
は、圧縮ファイルだけがユーザプログラムなどによって
更新され、更新前の圧縮ファイルに対応した古い伸張フ
ァイルがファイル記憶装置に残されるという事態が生じ
ることが考えられる。このため、伸張ファイルを読出し
て使用するときには、その伸長ファイルと対応する圧縮
ファイルの作成日時を比較して圧縮ファイルが伸張ファ
イルよりも新しく作成されたファイルであるか否かを調
べ、圧縮ファイルが伸張ファイルよりも新しく作成され
たファイルでないとき、つまり圧縮ファイルが更新され
てないときのみ、伸張ファイルを読出して要求元に与え
るように構成することが好ましい。
Further, in the computer system in which the compressed file and the decompressed file are stored in association with each other in this way, only the compressed file is updated by the user program or the like, and the old decompressed file corresponding to the pre-updated compressed file is stored in the file. It is conceivable that a situation may occur in which the device is left behind. Therefore, when the decompressed file is read and used, it is checked whether the compressed file is a newer file than the decompressed file by comparing the creation date and time of the decompressed file and the corresponding compressed file. It is preferable that the decompressed file is read and given to the request source only when the file is not newly created than the decompressed file, that is, when the compressed file has not been updated.

【0012】さらに、このように圧縮ファイルと伸張フ
ァイルとを対応付けて記憶する計算機システムにおいて
は、伸張ファイルの保存によって多くの記憶容量が占有
されるため、ファイル記憶装置の空き容量が不足した時
などに、そのファイル記憶装置から伸張ファイルを自動
的に消去するファイル消去手段を設けることが好まし
い。伸張ファイルを消去しても、その伸張ファイルはフ
ァイル記憶装置の対応する圧縮ファイルから復元できる
のでユーザに及ぼす影響は少ない。よって、ファイル記
憶装置に効率良く空き容量を確保できる。
Further, in the computer system in which the compressed file and the decompressed file are stored in association with each other in this manner, a large amount of storage capacity is occupied by the storage of the decompressed file. It is preferable to provide a file erasing means for automatically erasing the decompressed file from the file storage device. Even if the decompressed file is erased, the decompressed file can be restored from the corresponding compressed file in the file storage device, so that it has little influence on the user. Therefore, it is possible to efficiently secure the free space in the file storage device.

【0013】また、消去対象の伸張ファイルの選択は、
そのファイル消去によってユーザに及ぼす影響の大きさ
を考慮して伸張ファイルの優先度に従って消去対象ファ
イルを選択することが望ましい。ここで、ファイルの優
先度とは、そのファイル消去によってユーザにどの程度
の影響を及ぼすかを示す指標である。この優先度の付け
方としては、最近参照された伸張ファイルの優先度を高
くしたり、参照回数の多い伸張ファイルの優先度を高く
など、伸張ファイルの参照履歴に従って行うことが好ま
しい。
The selection of the decompressed file to be deleted is
It is desirable to select the file to be deleted in accordance with the priority of the decompressed file in consideration of the magnitude of the effect of the file deletion on the user. Here, the priority of a file is an index indicating how much the deletion of the file affects the user. As a method of assigning this priority, it is preferable to increase the priority of a decompressed file that has been referred to recently, or to increase the priority of a decompressed file that has been referred many times, according to the reference history of the decompressed file.

【0014】また、ファイル記憶装置に格納されている
圧縮ファイル毎にその伸張ファイルを保存するか否かを
示す情報を予め登録しておき、何度も参照する必要のあ
る圧縮ファイルなどについてのみ、伸張ファイルを保存
するようにしても良い。
Further, for each compressed file stored in the file storage device, information indicating whether or not to store the decompressed file is registered in advance, and only for the compressed file or the like that needs to be referred many times, The decompression file may be saved.

【0015】[0015]

【発明の実施の形態】以下、図面を参照してこの発明の
実施形態を説明する。図1には、この発明の第1実施形
態に係る計算機システムの基本構成が示されている。こ
の計算機システムは、CPU、メモリ、補助記憶装置、
および各種I/O装置などのハードウェア資源を持つ通
常のコンピュータから構成されるものであるが、この計
算機システムのファイル管理機能は、ファイル記憶のた
めの補助記憶装置の容量が比較的少ない電子情報機器に
好適であるので、以下では、計算機システムがPDAや
サブノートパソコンなどの携帯型の電子情報機器である
場合を例示して説明する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows the basic configuration of a computer system according to the first embodiment of the present invention. This computer system includes a CPU, a memory, an auxiliary storage device,
And a general computer having hardware resources such as various I / O devices. The file management function of this computer system is used for electronic information in which the capacity of the auxiliary storage device for storing files is relatively small. Since it is suitable for a device, a case where the computer system is a portable electronic information device such as a PDA or a sub-notebook computer will be described below as an example.

【0016】図1に示されているように、実施形態1の
電子情報機器においては、データ利用部100は、ユー
ザプログラム1などからのファイル操作要求を受け取る
データ利用要求受理部10と、データ利用要求受理部1
0が受け取ったファイル操作要求の内容を解析する要求
解析部20と、データ管理部300から送られてきたデ
ータファイルを受け取り出力するデータ出力部30から
なる。
As shown in FIG. 1, in the electronic information device of the first embodiment, the data utilization unit 100 includes a data utilization request acceptance unit 10 that receives a file operation request from the user program 1 and the like, and a data utilization request. Request acceptance section 1
The request analysis unit 20 analyzes the contents of the file operation request received by the 0, and the data output unit 30 receives and outputs the data file sent from the data management unit 300.

【0017】ファイルに関する操作はユーザプログラム
1からだけでなく、ユーザからのキー入力操作に応じて
発行されるOSレベルのコマンドによって要求される場
合もあるが、どちらの場合でもデータ利用部100から
見ると他のプログラムから要求される事になる。したが
って、ここでは、ユーザからの要求についてもプログラ
ム1からの要求として扱うことにする。
The operation related to the file may be requested not only by the user program 1 but also by an OS level command issued in response to a key input operation by the user. In either case, the operation is viewed from the data use unit 100. And will be required by other programs. Therefore, here, the request from the user is also treated as the request from the program 1.

【0018】データ伸長部200は、データ管理部30
0よりデータ伸長要求を受け、データ記憶部400の圧
縮データファイルを伸長する。データ管理部300は、
利用要求を受けたデータファイルの伸長データファイル
がデータ記憶部400に存在するかを調べ、伸長データ
ファイルが存在する時はそれをデータ利用部100へ送
り、伸長データファイルが存在しない時はデータ伸長部
200にデータ伸長要求を出し、データ伸長部200が
伸長したデータファイルをデータ利用部100へ送る。
The data decompression unit 200 includes a data management unit 30.
Upon receiving a data decompression request from 0, the compressed data file in the data storage unit 400 is decompressed. The data management unit 300
It is checked whether or not the decompressed data file of the data file that has received the usage request exists in the data storage unit 400, and if the decompressed data file exists, it is sent to the data use unit 100, and if the decompressed data file does not exist, the data decompression is performed. A data decompression request is issued to the unit 200, and the data file decompressed by the data decompression unit 200 is sent to the data utilization unit 100.

【0019】ここで、データ利用部100、データ伸張
部200、およびデータ管理部300は、例えばオペレ
ーティングシステムにそのファイル管理部として組み込
まれて実現されるか、またはそのオペレーティングシス
テム上で動作するファイル管理プログラムとして実現さ
れている。
Here, the data utilization unit 100, the data decompression unit 200, and the data management unit 300 are realized by being incorporated into the operating system as the file management unit thereof, or operated on the operating system. It is realized as a program.

【0020】データ記憶部400は、この電子情報機器
で使用されるデータをファイルとして保存するための不
揮発性の補助記憶装置であり、ハードディスクやフラッ
シュメモリカードなどから構成されている。このデータ
記憶部400には、圧縮データファイルと該圧縮データ
ファイルを伸長することによって得られた伸張ファイル
とが対応づけられて格納されている。
The data storage unit 400 is a non-volatile auxiliary storage device for storing the data used in this electronic information device as a file, and is composed of a hard disk, a flash memory card, or the like. In the data storage unit 400, a compressed data file and a decompressed file obtained by decompressing the compressed data file are stored in association with each other.

【0021】次に、図1の電子情報機器におれるデータ
ファイルの利用手順について説明する。図2は、データ
項目の表示例である。ユーザは、電子情報機器の画面に
表示された項目の中から利用するデータ項目を選ぶこと
で、その内容を利用できる。これら画面表示された項目
のデータそれぞれは、データ記憶部400内部に圧縮フ
ァイルとして保存されている。これら圧縮ファイルは、
電話回線やデジタルネットワーク、あるいは電波や光な
どの媒体を介してホストコンピュータ等の情報源から電
子情報機器にダウンロードされたものである。
Next, a procedure for using the data file in the electronic information device of FIG. 1 will be described. FIG. 2 is a display example of data items. The user can use the contents by selecting the data item to be used from the items displayed on the screen of the electronic information device. The data of each item displayed on the screen is stored as a compressed file in the data storage unit 400. These compressed files are
It is downloaded from an information source such as a host computer to an electronic information device via a telephone line, a digital network, or a medium such as radio waves or light.

【0022】図3はデータの表示例であり、図2のデー
タ項目の「今日の天気予報」が選ばれた場合に相当す
る。図4は、図1の電子情報機器におけるファイル管理
処理の手順を示すフローチャートである。
FIG. 3 is a data display example, which corresponds to the case where the data item “today's weather forecast” is selected. FIG. 4 is a flowchart showing a procedure of file management processing in the electronic information device of FIG.

【0023】ユーザプログラム1からのファイル読出し
などのデータ利用要求が発行されると、その要求はデー
タ利用要求受理部10によって受け付けられる(ステッ
プ4−1)。データ利用要求受理部10は、受け取った
要求を要求解析部20に送り、そこで要求の内容が解析
される(ステップ4−2)。要求内容が圧縮データファ
イルの読出し要求である場合、要求解析部20はデータ
管理部300に該当するデータファイルの読出しを要求
する。要求内容がデータファイルの読出し要求でない場
合は、要求解析部20はその要求に合った書き込みなど
のファイル操作処理をする。
When a data usage request such as a file read from the user program 1 is issued, the request is accepted by the data usage request acceptance unit 10 (step 4-1). The data use request acceptance unit 10 sends the received request to the request analysis unit 20, and the content of the request is analyzed there (step 4-2). When the request content is a read request for the compressed data file, the request analysis unit 20 requests the data management unit 300 to read the corresponding data file. If the request content is not a data file read request, the request analysis unit 20 performs file operation processing such as writing according to the request.

【0024】データ読出し要求を受けたデータ管理部3
00は、データ記憶部400に要求された圧縮データフ
ァイルに対応する伸長データファイルが存在するかを調
べる(ステップ4−3)。伸長データファイルの存在確
認の方法は、データファイル名により行なうことができ
る。例えば、圧縮データファイル名は、伸長データファ
イルのファイル名の後ろに圧縮形式を示す拡張子を追加
したものとする。図5はデータファイル名の例である。
ファイル名“text”のテキストデータファイルの読
出し要求があった時、データ管理部300はデータ記憶
部400にファイル名“text”の伸長データファイ
ルが存在するか否かを調べる。
The data management unit 3 which has received the data read request
00 checks whether or not there is an expanded data file corresponding to the requested compressed data file in the data storage unit 400 (step 4-3). The presence of the decompressed data file can be confirmed by the data file name. For example, the compressed data file name has an extension indicating the compression format added after the file name of the decompressed data file. FIG. 5 shows an example of the data file name.
When a read request for the text data file with the file name “text” is made, the data management unit 300 checks whether or not the decompressed data file with the file name “text” exists in the data storage unit 400.

【0025】伸長データファイル“text”が存在す
る時は、データ管理部300はデータ記憶部400より
伸長データファイル“text”を読み出し、それをデ
ータ利用部100に送る(ステップ4−7)。これによ
り、伸長データファイル“text”はユーザプログラ
ム1に与えられる(ステップ4−8)。
When the decompressed data file "text" exists, the data management unit 300 reads the decompressed data file "text" from the data storage unit 400 and sends it to the data use unit 100 (step 4-7). As a result, the decompressed data file "text" is given to the user program 1 (step 4-8).

【0026】伸長データファイル“text”が存在し
ない時は、データ管理部300はデータ伸長部200に
データ伸長要求を出す。データ管理部300よりデータ
伸長要求を受けたデータ伸長部200は、データ読出し
要求によって指定されたファイル名の圧縮データファイ
ル“text.gz”を探し、それを伸長する(ステッ
プ4−4)。この場合、データ伸長部200はデータフ
ァイル名の拡張子よりデータの圧縮形式を判断し、その
圧縮形式に合わせて圧縮データを伸長する。データ伸長
部200はデータ管理部300に伸長データファイルを
送る。
When the decompressed data file "text" does not exist, the data management unit 300 issues a data decompression request to the data decompression unit 200. Upon receiving the data decompression request from the data management unit 300, the data decompression unit 200 searches for the compressed data file "text.gz" having the file name specified by the data read request and decompresses it (step 4-4). In this case, the data decompression unit 200 determines the data compression format from the extension of the data file name and decompresses the compressed data according to the compression format. The data decompression unit 200 sends the decompression data file to the data management unit 300.

【0027】データ管理部300はデータ記憶部400
に伸長データファイルを記憶するだけの空き容量があれ
ば、伸長データファイル“text”として記憶する
(ステップ4−5、4−6)。そして、データ管理部3
00は伸長データファイル“text”をデータ利用部
100に送る(ステップ4−7)。
The data management unit 300 is a data storage unit 400.
If there is enough free space to store the decompressed data file, the decompressed data file is stored as the "text" (steps 4-5 and 4-6). And the data management unit 3
00 sends the decompressed data file "text" to the data use unit 100 (step 4-7).

【0028】データ利用部100はデータ管理部300
より受け取った伸長データファイル“text”をデー
タ出力部30に出力しユーザプログラム1に与える(ス
テップ4−8)。
The data utilization unit 100 is a data management unit 300.
The decompressed data file "text" received from the above is output to the data output unit 30 and given to the user program 1 (step 4-8).

【0029】一方、データ記憶部400に伸長データフ
ァイルを記憶するだけの空き容量が残っていない場合に
は、その伸長データファイルはユーザプログラム1にの
み提供され、その保存は行われない。
On the other hand, when there is no free space for storing the decompressed data file in the data storage section 400, the decompressed data file is provided only to the user program 1 and is not saved.

【0030】このように、この実施形態1の電子情報機
器においては、伸長データファイルが存在しないとき
は、データ伸長部200によって圧縮データファイルが
伸長され、圧縮ファイルと対応付けさせてデータ記憶部
400に保存される。このため、一旦読出しが要求され
た圧縮データファイルについては、次回の読出し要求か
らはその圧縮データファイルに対応する伸長データファ
イルがデータ記憶部400に存在することになり、伸長
処理を行うことなく即座に読み出すことが可能となる。
As described above, in the electronic information device of the first embodiment, when the decompressed data file does not exist, the data decompressing unit 200 decompresses the compressed data file, and the data storage unit 400 is associated with the compressed file. Stored in. Therefore, for a compressed data file that has been requested to be read once, a decompressed data file corresponding to the compressed data file will exist in the data storage unit 400 from the next read request, and the decompressing process will be immediately performed. Can be read out.

【0031】なお、上述した例では、データ伸長部20
0はデータ記憶部400に伸長データファイルを記憶す
るだけの記憶容量があれば伸長データファイルを記憶し
ていたが、その限りではない。例えば、データファイル
の種類によって、伸長したデータファイルを保存するか
しないかを決めても良い。
In the above example, the data decompression unit 20
0 stores the decompressed data file if the data storage unit 400 has a storage capacity enough to store the decompressed data file, but this is not the case. For example, whether or not to store the decompressed data file may be determined depending on the type of the data file.

【0032】例えば、新聞の記事のように一度利用すれ
ば二度利用する確率の低いデータファイルについては、
必ずしも伸長データファイルを記憶する必要はない。従
って、あらかじめデータの種類によって伸長データファ
イルを記憶するかをユーザが圧縮ファイル毎に決めて、
その情報をデータ管理部300内のテーブルなどに登録
しておき、圧縮ファイルの読出し時にその登録情報を利
用して伸長データファイルを保存するかしないかを決め
れば良い。この場合のファイル管理処理の手順を図6に
示す。
For example, for a data file such as an article in a newspaper, which has a low probability of being used once if used once,
It is not always necessary to store the decompressed data file. Therefore, the user decides in advance for each compressed file whether to store the expanded data file according to the type of data,
The information may be registered in a table or the like in the data management unit 300, and at the time of reading the compressed file, the registration information may be used to decide whether or not to store the decompressed data file. The procedure of the file management process in this case is shown in FIG.

【0033】図6のフローチャートにおいては、図4の
フローチャートのステップ4−4と4−5との間にステ
ップ6−1が追加されている。このステップ6−1にお
いては、データ管理部300は、テーブルに登録されて
いる情報に従って、データ伸長部200によって伸張さ
れたデータを伸張データファイルとして保存する必要が
あるか否か判断する。記憶する必要があるときは、デー
タ管理部300は、データ記憶部400に伸長データフ
ァイルを記憶するだけの記憶容量があればそこに記憶す
る(ステップ4−5、4−6)。一方、伸長データファ
イルを記憶する必要がないとき、あるいは伸長データフ
ァイルを記憶するだけの空き容量がないときは、データ
管理部300はデータ記憶部400に伸長データ“te
xt”を記憶せず、伸長データファイルをデータ利用部
100に送る(ステップ4−7)。
In the flowchart of FIG. 6, step 6-1 is added between steps 4-4 and 4-5 of the flowchart of FIG. In step 6-1 the data management unit 300 determines whether or not the data decompressed by the data decompression unit 200 needs to be stored as a decompression data file according to the information registered in the table. When it is necessary to store the data, the data management unit 300 stores the decompressed data file in the data storage unit 400, if there is enough storage capacity (steps 4-5 and 4-6). On the other hand, when there is no need to store the decompressed data file, or when there is not enough free space to store the decompressed data file, the data management unit 300 stores the decompressed data “te” in the data storage unit 400.
xt "is not stored and the decompressed data file is sent to the data use unit 100 (step 4-7).

【0034】このようして伸長データファイルを選択的
に保存する事により、データ記憶部400の記憶領域を
効率的に使用することが可能となる。ところで、図4お
よび図6で説明したファイル管理処理では、圧縮データ
を伸長する条件は、データ記憶部400に伸長データが
存在するかしないかだけでり、伸長データファイルが残
っている限り圧縮データは利用されない。このため、ユ
ーザやデータ管理者によって圧縮データファイルのみが
更新された場合には、データ記憶部400に古い伸長デ
ータファイルが残っているので、ユーザは更新されたデ
ータを参照することができないという不具合が生じる可
能性がある。
By selectively storing the decompressed data file in this manner, the storage area of the data storage section 400 can be used efficiently. By the way, in the file management processing described with reference to FIGS. 4 and 6, the only condition for decompressing the compressed data is whether or not the decompressed data exists in the data storage unit 400. Is not used. Therefore, when only the compressed data file is updated by the user or the data administrator, the old decompressed data file remains in the data storage unit 400, and the user cannot refer to the updated data. May occur.

【0035】これを防ぐには、圧縮データファイルを伸
長する条件として、データ記憶部400に伸長データフ
ァイルが存在するかしないかだけでなく、別に設ければ
良い。この場合、データ読出し要求を受けた時、圧縮デ
ータファイルに対応づけされた伸長データファイルがデ
ータ記憶部400に存在していても、その伸長データフ
ァイルと圧縮データファイルの作成日時を比較し、圧縮
データファイルの方が新しければその圧縮データファイ
ルから新しく伸長データファイルを作り直すという条件
を設けれることが好ましい。この場合のファイル管理処
理の手順を図7に示す。
To prevent this, the condition for decompressing the compressed data file is not only whether or not the decompressed data file exists in the data storage section 400, but it may be provided separately. In this case, when the data read request is received, even if the decompressed data file associated with the compressed data file exists in the data storage unit 400, the decompressed data file is compared with the creation date and time of the compressed data file and compressed. If the data file is newer, it is preferable to provide a condition that a new decompressed data file is recreated from the compressed data file. FIG. 7 shows the procedure of the file management process in this case.

【0036】図7のフローチャートにおいては、図4の
フローチャートのステップ4−3と4−7との間にステ
ップ7−1が追加されている。すなわち、データ管理部
300は、データ記憶部400に要求された圧縮データ
ファイルに対応する伸長データファイルが存在するか否
かを調べ(ステップ4−3)、あればそれら伸長データ
ファイルと圧縮データファイルの作成日時を比較する
(ステップ7−1)。通常、ファイルシステムにおいて
はファイルの作成日時情報はそのファイル作成/保存に
ディレクトリエントリなどのファイル管理情報として保
存されているので、ステップ7−1では、その情報を参
照すればよい。
In the flowchart of FIG. 7, step 7-1 is added between steps 4-3 and 4-7 of the flowchart of FIG. That is, the data management unit 300 checks whether or not there is a decompressed data file corresponding to the requested compressed data file in the data storage unit 400 (step 4-3), and if there is, decompressed data file and compressed data file. The creation dates and times are compared (step 7-1). Normally, in a file system, file creation date / time information is saved as file management information such as a directory entry in the file creation / saving, so that the information may be referred to in step 7-1.

【0037】圧縮データファイルの方が新しければ、デ
ータ管理部300はデータ伸長部200にデータ伸長要
求を出す。要求を受けたデータ伸長部200は、圧縮デ
ータファイルを伸長する(ステップ4−4)。一方、圧
縮データファイルが伸張データファイルよりも新しく作
成されたものでなければ、伸張データファイルが読み出
されて要求元に送られる(ステップ4−7,4−8)。
If the compressed data file is newer, the data management unit 300 issues a data expansion request to the data expansion unit 200. Upon receiving the request, the data decompression unit 200 decompresses the compressed data file (step 4-4). On the other hand, if the compressed data file is not newer than the decompressed data file, the decompressed data file is read and sent to the request source (steps 4-7 and 4-8).

【0038】次に、この発明の第2実施形態に係る電子
情報機器を説明する。実施形態1の電子情報機器例で
は、伸長したデータファイルを記憶するための記憶容量
が不足していた場合には、圧縮データファイルしか存在
しないデータの利用要求を何度受けても伸長データファ
イルは保存されないため、その圧縮データファイルの読
出し要求が発行される度に伸長処理をしなければならな
い。この様な場合は、データ記憶部400の記憶容量が
不足したときに、伸長データファイルを消去して空き記
憶容量を作れば良いが、適当にデータを消去していて
は、ユーザが利用する可能性が高い伸長データを効率良
く残すことはできない。
Next, an electronic information device according to the second embodiment of the present invention will be described. In the example of the electronic information device of the first embodiment, if the storage capacity for storing the decompressed data file is insufficient, the decompressed data file will be created no matter how many times the request for using the data that only the compressed data file exists is received. Since it is not saved, decompression processing must be performed each time a read request for the compressed data file is issued. In such a case, when the storage capacity of the data storage unit 400 is insufficient, the decompressed data file may be deleted to make a free storage capacity. However, if the data is appropriately deleted, the user can use it. It is not possible to efficiently leave highly decompressed data.

【0039】これを防ぐには、伸長データファイルに優
先度を設けてデータ管理部300に登録しておき、伸長
データファイルをデータ記憶部400に記憶するとき、
記憶容量が不足していたら優先度の低い伸長データファ
イルから順番に消去し、記憶容量を作れば良い。
To prevent this, when the decompressed data file is stored in the data storage unit 400 when the decompressed data file is registered in the data management unit 300 with priority,
If the storage capacity is insufficient, it is sufficient to delete the decompressed data files with lower priority in order to create the storage capacity.

【0040】伸長データファイルに対する優先度の付け
方の例としては、最近利用したファイルの優先度を高く
する方法や、読出し要求を受けた回数の多いファイルほ
ど優先度を高くする方法が好ましい。
As an example of how to give a priority to the decompressed data file, a method of increasing the priority of a recently used file or a method of increasing the priority of a file that has received a large number of read requests is preferable.

【0041】図8には、このような伸長データファイル
の自動消去機能を持つ電子情報機器の構成が示されてい
る。図示のように、この電子情報機器においては、デー
タ利用部100は、ユーザプログラム1からのデータの
利用要求を受け取るデータ利用要求受理部10と、デー
タ利用要求受理部10が受け取ったデータ利用要求の内
容を解析する要求解析部20と、データ管理部300か
ら送られてきたデータを受け取り出力するデータ出力部
30からなる。
FIG. 8 shows the configuration of an electronic information device having such a function of automatically deleting a decompressed data file. As shown in the figure, in the electronic information device, the data use unit 100 includes a data use request receiving unit 10 that receives a data use request from the user program 1 and a data use request receiving unit 10 that receives the data use request. It comprises a request analysis unit 20 for analyzing the contents and a data output unit 30 for receiving and outputting the data sent from the data management unit 300.

【0042】データ伸長部200は、データ管理部30
0よりデータ伸長要求を受け、データ記憶部400の圧
縮データファイルを伸長する。データ管理部300は、
利用要求を受けたデータファイルの伸長データがデータ
記憶部400に存在するかを調べ、伸長データファイル
が存在する時はそれをデータ利用部100へ送り、伸長
データファイルが存在しない時はデータ伸長部200に
データ伸長要求を出し、データ伸長部200が伸長した
データをデータ利用部100へ送る。また、データ管理
部300は、伸長データファイルの優先度を規定する情
報として、最終読出し時間情報や、読出し回数情報など
を管理する機能を持つ。データ消去部500は、データ
管理部300より伸長データの消去要求を受け、データ
記憶部400の伸長データを消去する。
The data decompression unit 200 includes a data management unit 30.
Upon receiving a data decompression request from 0, the compressed data file in the data storage unit 400 is decompressed. The data management unit 300
It is checked whether the decompressed data of the data file for which the usage request is received exists in the data storage unit 400, and if the decompressed data file exists, it is sent to the data use unit 100, and if the decompressed data file does not exist, the data decompression unit A data decompression request is issued to the data decompression unit 200, and the decompression unit 200 sends the decompressed data to the data utilization unit 100. Further, the data management unit 300 has a function of managing final read time information, read count information, and the like as information defining the priority of the decompressed data file. The data erasing unit 500 receives the decompression data erasing request from the data management unit 300 and erases the decompression data in the data storage unit 400.

【0043】図9は、図8の電子情報機器で実行される
ファイル管理処理の手順を示すフローチャートである。
ここでは、図4のフローチャートのステップ4−4と4
−5との間にステップ9−1が、ステップ4−5と4−
6の間にスップ9−2が追加されている。
FIG. 9 is a flowchart showing the procedure of the file management process executed by the electronic information device of FIG.
Here, steps 4-4 and 4 of the flowchart of FIG.
Step 9-1 between -5 and Steps 4-5 and 4-
Sup 9-2 is added between 6.

【0044】データ読出し要求を受けたデータ管理部3
00は、データ記憶部400に要求を受けたデータの伸
長データファイルが存在するか否かを調べる(ステップ
4−3)。伸長データファイルが存在する時は、データ
管理部300はデータ記憶部400より伸長データファ
イルを読み出してデータ利用部100に送る(ステップ
4−7)。
The data management unit 3 which has received the data read request
00 checks whether or not there is an expanded data file of the requested data in the data storage unit 400 (step 4-3). When the decompressed data file exists, the data management unit 300 reads the decompressed data file from the data storage unit 400 and sends it to the data use unit 100 (step 4-7).

【0045】一方、伸長データファイルが存在しない時
は、データ管理部300はデータ伸長部200にデータ
伸長要求を出す。データ管理部300よりデータ伸長要
求を受けたデータ伸長部200は、圧縮データファイル
を探しそれを伸長する(ステップ4−4)。この場合、
データ伸長部200はデータファイル名の拡張子よりデ
ータの圧縮形式を判断し、それぞれの圧縮形式に合わせ
て圧縮データを伸長する。データ伸長部200はデータ
管理部300に伸長データファイルを送る。
On the other hand, when the decompressed data file does not exist, the data management unit 300 issues a data decompression request to the data decompression unit 200. Upon receiving the data decompression request from the data management unit 300, the data decompression unit 200 searches for a compressed data file and decompresses it (step 4-4). in this case,
The data decompression unit 200 determines the data compression format from the extension of the data file name and decompresses the compressed data according to each compression format. The data decompression unit 200 sends the decompression data file to the data management unit 300.

【0046】伸長データファイルを受けとったデータ管
理部300は、その伸長データフファイルに関する優先
度情報(読出し時間、または読出し回数など)を作成ま
たは更新する(ステップ9−1)。
Upon receiving the decompressed data file, the data management unit 300 creates or updates the priority information (reading time, the number of times of reading, etc.) relating to the decompressed data file (step 9-1).

【0047】次いで、データ管理部300はデータ記憶
部400に伸長データファイルを記憶するだけの記憶容
量があれば記憶する(ステップ4−5、4−6)。記憶
するだけの記憶容量がない場合、データ管理部300は
優先度の低い伸長データから順番に選び、データ消去部
500に伸長データの消去要求を出し、記憶するだけの
空き容量を作る(ステップ9−2)。
Next, the data management section 300 stores the decompressed data file in the data storage section 400, if there is enough storage capacity (steps 4-5 and 4-6). If there is not enough storage capacity to store the data, the data management unit 300 selects the decompressed data with the lowest priority in order, issues a decompression request for the decompressed data to the data erasing unit 500, and creates a free space for storage (step 9). -2).

【0048】このように、実施形態2の電子情報機器に
おいては、データ記憶部400の空き容量が不足した時
に、そのデータ記憶部400から伸張データファイルが
自動的に消去される。伸張データファイルを消去して
も、その伸張データファイルはデータ記憶部400に残
っている圧縮データファイルから復元できるのでユーザ
に及ぼす影響は少ない。また、前述したように優先度の
低い伸張データファイルから先に消去する事により、ユ
ーザに及ぼす影響をより低減することができる。なお、
ここでは、データファイルを扱う場合について説明した
が、圧縮されたプログラムファイルついても同様に扱う
ことができる。
As described above, in the electronic information device of the second embodiment, when the free space of the data storage unit 400 is insufficient, the decompressed data file is automatically deleted from the data storage unit 400. Even if the decompressed data file is erased, the decompressed data file can be restored from the compressed data file remaining in the data storage unit 400, so that the influence on the user is small. Further, as described above, by deleting the decompressed data file having the low priority first, the influence on the user can be further reduced. In addition,
Here, the case of handling a data file has been described, but a compressed program file can be handled similarly.

【0049】[0049]

【発明の効果】以上説明したように、この発明によれ
ば、圧縮ファイルを読出すときには、その圧縮ファイル
が伸長されてユーザプログラムなどに送られると共に、
ファイル記憶装置に圧縮ファイルと対応付けされて保存
される。このため、一旦読出しが要求された圧縮ファイ
ルについては、次回の読出し要求からはその圧縮ファイ
ルに対応する伸長ファイルがファイル記憶装置に存在す
ることになり、伸長処理を行うことなく即座に読み出す
ことが可能となる。よって、圧縮データを伸長するため
に要する時間を減らすことができ、計算機システムの電
力消費を小さくすることが可能となる。
As described above, according to the present invention, when reading a compressed file, the compressed file is decompressed and sent to the user program and the like.
The file is stored in the file storage device in association with the compressed file. Therefore, for a compressed file that is once requested to be read, a decompressed file corresponding to the compressed file will exist in the file storage device from the next read request, and the decompressed file can be immediately read without performing decompression processing. It will be possible. Therefore, the time required for decompressing the compressed data can be reduced, and the power consumption of the computer system can be reduced.

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

【図1】この発明の第1の実施形態に係る電子情報機器
の機能構成を示すブロック図。
FIG. 1 is a block diagram showing a functional configuration of an electronic information device according to a first embodiment of the present invention.

【図2】同第1実施形態の電子情報機器におけるデータ
項目の表示例を示す図。
FIG. 2 is a view showing a display example of data items in the electronic information device of the first embodiment.

【図3】同第1実施形態の電子情報機器におけるデータ
の表示例を示す図。
FIG. 3 is a diagram showing a display example of data in the electronic information device of the first embodiment.

【図4】同第1実施形態の電子情報機器におけるファイ
ル管理処理の手順を示すフローチャート。
FIG. 4 is an exemplary flowchart showing a procedure of file management processing in the electronic information device of the first embodiment.

【図5】同第1実施形態の電子情報機器で管理されるフ
ァイルのファイル名の一例を示す図。
FIG. 5 is a diagram showing an example of file names of files managed by the electronic information device of the first embodiment.

【図6】同第1実施形態の電子情報機器におけるファイ
ル管理処理の他の手順を示すフローチャート。
FIG. 6 is a flowchart showing another procedure of file management processing in the electronic information device of the first embodiment.

【図7】同第1実施形態の電子情報機器におけるファイ
ル管理処理のさらに他の手順を示すフローチャート。
FIG. 7 is a flowchart showing still another procedure of file management processing in the electronic information device of the first embodiment.

【図8】この発明の第2の実施形態に係る電子情報機器
の機能構成を示すブロック図。
FIG. 8 is a block diagram showing a functional configuration of an electronic information device according to a second embodiment of the present invention.

【図9】同第2実施形態の電子情報機器におけるファイ
ル管理処理の手順を示すフローチャート。
FIG. 9 is an exemplary flowchart showing the procedure of a file management process in the electronic information device of the second embodiment.

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

10…データ利用要求受理部、20…要求解析部、30
…データ出力部、100…データ利用部、200…デー
タ伸長部、300…データ管理部、400…データ記憶
部、500…データ消去部。
10 ... Data usage request acceptance unit, 20 ... Request analysis unit, 30
Data output unit, 100 data usage unit, 200 data expansion unit, 300 data management unit, 400 data storage unit, 500 data deletion unit.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のファイルを保存することが可能な
ファイル記憶装置に対するファイル入出力を管理する計
算機システムにおいて、 前記ファイル記憶装置に格納されている圧縮ファイルを
伸張する伸張手段と、 この伸張手段によって伸張された伸張ファイルを前記圧
縮ファイルと対応付けて前記ファイル記憶装置に保存す
る手段と、 ファイル読出し要求に応答して、その要求に対応する伸
張ファイルが前記ファイル記憶装置に存在するか否かを
調べ、存在するときはその伸張ファイルを前記ファイル
記憶装置から読出して前記ファイル読出し要求の要求元
に与え、存在しないときは前記要求に対応する圧縮ファ
イルを前記伸張手段に伸張させ、その伸張された伸張フ
ァイルを前記要求元に与えるファイル管理手段とを具備
することを特徴とする計算機システム。
1. A computer system for managing file input / output to / from a file storage device capable of storing a plurality of files, and a decompression device for decompressing a compressed file stored in the file storage device, and the decompression device. Means for storing the decompressed file decompressed by the file in the file storage device in association with the compressed file, and whether the decompressed file corresponding to the request exists in the file storage device in response to the file read request. When it exists, the decompressed file is read from the file storage device and given to the request source of the file read request. When it does not exist, the decompressed file corresponding to the request is decompressed by the decompressing means, and the decompressed file is decompressed. And a file management means for giving the expanded file to the request source. And computer system.
【請求項2】 複数のファイルを保存することが可能な
ファイル記憶装置に対するファイル入出力を管理する計
算機システムにおいて、 前記ファイル記憶装置に格納されている圧縮ファイルを
伸張する伸張手段と、 この伸張手段によって前記圧縮ファイルが伸張されたと
き、その伸張された伸張ファイルを前記圧縮ファイルと
対応付けて前記ファイル記憶装置に保存する手段と、 ファイル読出し要求に応答して、その要求に対応する伸
張ファイルが前記ファイル記憶装置に存在するか否かを
決定する手段と、 前記伸張ファイルが存在することが決定された場合に、
その伸張ファイルとこれに対応する圧縮ファイルの作成
日時を比較して前記圧縮ファイルが前記伸張ファイルよ
りも新しく作成されたファイルであるか否かを決定する
手段と、 前記圧縮ファイルが前記伸張ファイルよりも新しく作成
されたファイルでないとき、前記伸張ファイルを前記フ
ァイル記憶装置から読出して前記ファイル読出し要求の
要求元に与える手段と、 前記圧縮ファイルが前記伸張ファイルよりも新しく作成
されたファイルであるとき、または前記ファイル記憶装
置に該当する伸張ファイルが存在しないとき、前記要求
された圧縮ファイルを前記伸張手段に伸張させ、その伸
張された伸張ファイルを前記要求元に与える手段とを具
備することを特徴とする計算機システム。
2. A computer system for managing file input / output to / from a file storage device capable of storing a plurality of files, and a decompression device for decompressing a compressed file stored in the file storage device, and the decompression device. When the compressed file is decompressed by means of means for storing the decompressed decompressed file in the file storage device in association with the compressed file, a decompressed file corresponding to the request in response to a file read request is generated. Means for determining whether or not the file storage device exists, and when it is determined that the decompressed file exists,
Means for comparing the decompressed file and the corresponding date and time of creation of the compressed file to determine whether or not the compressed file is a newer file than the decompressed file; When the file is not a newly created file, means for reading the decompressed file from the file storage device and giving it to the request source of the file read request, and when the compressed file is a file newly created than the decompressed file, Alternatively, when there is no corresponding decompression file in the file storage device, the decompression means decompresses the requested compression file, and the decompression file is provided to the request source. Computer system to do.
【請求項3】 複数のファイルを保存することが可能な
ファイル記憶装置に対するファイル入出力を管理する計
算機システムにおいて、 前記ファイル記憶装置に格納されている圧縮ファイルを
伸張する伸張手段と、 この伸張手段によって伸張された伸張ファイルを前記圧
縮ファイルと対応付けて前記ファイル記憶装置に保存す
る手段と、 ファイル読出し要求に応答して、その要求に対応する伸
張ファイルが前記ファイル記憶装置に存在するか否かを
調べ、存在するときはその伸張ファイルを前記ファイル
記憶装置から読出して前記ファイル読出し要求の要求元
に与え、存在しないときは前記要求に対応する圧縮ファ
イルを前記伸張手段に伸張させ、その伸張されたファイ
ルを前記要求元に与える手段と、 前記ファイル記憶装置の空き容量に応じて動作開始さ
れ、前記ファイル記憶装置からファイルを消去するファ
イル消去手段であって、前記ファイル記憶装置に保存さ
れている伸張ファイルの中から消去対象の伸張ファイル
を選択して消去するファイル消去手段とを具備すること
を特徴とする計算機システム。
3. A computer system for managing file input / output to / from a file storage device capable of storing a plurality of files, and a decompression device for decompressing a compressed file stored in the file storage device, and the decompression device. Means for associating the decompressed file decompressed by the compressed file with the compressed file and storing the decompressed file in the file storage device in response to a file read request, When it exists, the decompressed file is read from the file storage device and given to the request source of the file read request. When it does not exist, the decompressed file corresponding to the request is decompressed by the decompressing means, and the decompressed file is decompressed. Means for providing the requested file to the request source, and the free space of the file storage device. A file erasing unit that starts operation at the same time and erases a file from the file storage device, the file erasing unit selecting and erasing a decompression file to be erased from the decompression files stored in the file storage device. A computer system comprising:
【請求項4】 複数のファイルを保存することが可能な
ファイル記憶装置に対するファイル入出力を管理するフ
ァイル管理方法において、 ファイル読出し要求に応答して、その要求に対応する伸
張ファイルが前記ファイル記憶装置に存在するか否かを
決定し、 存在することが決定されたとき、その伸張ファイルを前
記ファイル記憶装置から読出して前記ファイル読出し要
求の要求元に与え、 存在しないことが決定されたとき、前記要求に対応する
圧縮ファイルを伸張し、 その伸張された伸張ファイルを前記ファイル記憶装置に
保存すると共に、その伸張ファイルを前記要求元に与え
ることを特徴とするファイル管理方法。
4. A file management method for managing file input / output to / from a file storage device capable of storing a plurality of files, wherein in response to a file read request, a decompressed file corresponding to the request is the file storage device. If it is determined that the file exists, the decompressed file is read from the file storage device and given to the request source of the file read request, and when it is determined that the file does not exist, A file management method comprising decompressing a compressed file corresponding to a request, saving the decompressed decompressed file in the file storage device, and providing the decompressed file to the request source.
JP7223060A 1995-08-31 1995-08-31 Computer system and file management method used in the system Pending JPH0969058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7223060A JPH0969058A (en) 1995-08-31 1995-08-31 Computer system and file management method used in the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7223060A JPH0969058A (en) 1995-08-31 1995-08-31 Computer system and file management method used in the system

Publications (1)

Publication Number Publication Date
JPH0969058A true JPH0969058A (en) 1997-03-11

Family

ID=16792211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7223060A Pending JPH0969058A (en) 1995-08-31 1995-08-31 Computer system and file management method used in the system

Country Status (1)

Country Link
JP (1) JPH0969058A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009539169A (en) * 2006-05-31 2009-11-12 ストアウィズ エルティーディー. Method and system for converting logical data object for storage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009539169A (en) * 2006-05-31 2009-11-12 ストアウィズ エルティーディー. Method and system for converting logical data object for storage
US10268696B2 (en) 2006-05-31 2019-04-23 International Business Machines Corporation Systems and methods for transformation of logical data objects for storage
US10372680B2 (en) 2006-05-31 2019-08-06 International Business Machines Corporation Systems and methods for transformation of logical data objects for storage
US10380071B2 (en) 2006-05-31 2019-08-13 International Business Machines Corporation Systems and methods for transformation of logical data objects for storage

Similar Documents

Publication Publication Date Title
US8171251B2 (en) Data storage management method and device
JP4053115B2 (en) Storage control method for document image data
US7610296B2 (en) Prioritized files
US7020668B2 (en) Device for retaining important data on a preferential basis
US20040003415A1 (en) Removable memory information management
US7130871B2 (en) Method and apparatus for representing deleted data in a synchronizable database
JP3595073B2 (en) Computer system and file management method used in the system
US6976038B2 (en) Method and apparatus for real time creation and modification of a change log for multi-server synchronization
JP2001510598A (en) Device drive for accessing computer files
US8850148B2 (en) Data copy management for faster reads
JP2002163137A (en) How to consolidate and optimize change logs
WO1996016374A1 (en) Data base system shared by a plurality of client apparatuses, data updating method and application to character processor
JP2000305822A (en) Database management device, database record extraction device, database management method, and database record extraction method
CN118120212A (en) A file deduplication method, device and equipment
JPWO1999021092A1 (en) File processing method, data processing device and storage medium
JPH0969058A (en) Computer system and file management method used in the system
JP5217155B2 (en) File compression automatic determination method and method, and program
JPH0973408A (en) Data processing device and data input / output processing method
JP7377915B2 (en) Method, computer device, and computer program for providing personalized data retrieval service
US7577463B2 (en) Fast booting method for mobile communication device
US20020169758A1 (en) Apparatus and methods for reducing compression and decompression time in a computer system
CN120428906A (en) Data compression storage method, device, electronic device and storage medium
JPH0520146A (en) Electronic bulletin board device
JP2003189225A (en) Data processing method and device
JPS63182155A (en) Font pattern imaging device