Claims
- 1. A method of managing compressed data, comprising:
an allocating step of allocating a compressed segment representing data that is obtained by assembling plural pieces of data requested of writing and thereafter compressed the thus assembled data to a compression sector representing a buffer having a predetermined length; a compression sector recording step of recording the compression sector allocated with the compressed segment in said allocating step on a disk storage device; an invalid data area registering step of registering, when updating a content of the compressed segment in the compression sector recorded in said compression sector recording step, an area allocated with a pre-updating compressed segment as an invalid data area; a comparing step of comparing a size of the invalid data area in the compression sector recorded in said compression sector recording step with a preset fiducial value; a releasing process executing step of reading the compressed segment allocated to an area exclusive of the invalid data area from the compression sector including the invalid data area and executing a compression sector releasing process representing a process of changing the compression sector from which the compressed segment is read so that the compressed segments are allocable to a whole area thereof; and a releasing process execution determining step of determining whether or not said compression sector releasing process executing step is performed on the basis of a result of the comparison in said comparing step.
- 2. A method of managing compressed data according to claim 1, further comprising:
a compression sector detecting step of detecting the compression sector including the largest invalid data area, wherein the compression sector releasing process is executed with respect to the compression sector detected in said compression sector detecting step in said compression sector releasing process executing step.
- 3. A method of managing compressed data according to claim 2, wherein the compression section including the largest invalid data are is detected by making use of a table for storing a plurality of numerical values and the compression sectors having these numerical values in the form of sizes of the invalid data areas in a correspondence relationship in said compression sector detecting step.
- 4. A compressed data managing apparatus, comprising:
means for representing data that is obtained by assembling plural pieces of data requested of writing and, thereafter, compressing the thus assembled data to a compression sector representing a buffer having a predetermined length; means for recording the compression sector allocated with the compressed segment on a disk storage device; means for registering, when updating a content of the compressed segment in the compression sector, an area allocated with a pre-updating compressed segment as an invalid data area; means for comparing a size of the invalid data area in the compression sector with a preset fiducial value; means for reading the compressed segment allocated to an area exclusive of the invalid data area from the compression sector including the invalid data area and changing the compression sector from which the compressed segment is read so that the compressed segments are allocable to a whole area thereof; and means for determining whether said means for reading changes the compressed sector in response to the result of comparison by said means for comparing.
Priority Claims (2)
| Number |
Date |
Country |
Kind |
| 7-4492 |
Jan 1995 |
JP |
|
| 7-255416 |
Oct 1995 |
JP |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is a divisional of application Ser. No. 08/573,458, filed Dec. 15, 1995 now pending.
[0002] This application is based upon and claims priority of Japanese patent application nos. 7-4492, filed Jan. 13, 1995, 7-255416, filed Oct. 2, 1995, and U.S. patent application Ser. No. 08/573,458, filed Dec. 15, 1995, the contents being incorporated herein by reference.
Divisions (1)
|
Number |
Date |
Country |
| Parent |
08573458 |
Dec 1995 |
US |
| Child |
10294766 |
Nov 2002 |
US |