# US 2008/0313371 A1 · Method and system for compression of data for block mode access storage

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0313371 A1
- Document ID: US20080313371A1
- Status: Published application
- Kind: A1
- Application number: 12/194,678
- Filed: 2008-08-20
- Published: 2008-12-18
- Earliest claimed: 2004-04-26
- Assignees: Storewiz Inc.
- Inventors: Nadav KEDEM; Yoni Amit; Noach Amit
- Web page: https://patentgrep.com/patent/US20080313371A1

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/061: {Improving I/O performance}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0671: {In-line storage system}
- G06F 7/00: Methods or arrangements for processing data by operating upon the order or content of the data handled (logic circuits H03K19/00)
- G06F 12/10: Address translation
- G06F 13/12: using hardware independent of the central processor, e.g. channel or peripheral processor
- G11B 20/00007: {Time or data compression or expansion (audio compression based on psychoacoustics G10L19/00; data processing for reproducing audio data at different playback speeds G10L21/04; video compression H04N19/00; data compression per se H03M7/30)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

For use in a storage network comprising a plurality of network elements and operable with a block mode access storage protocol, a method of operating a compression system operatively coupled to at least one computer and to one or more storage devices configured as at least one storage logical unit accommodating data compressed by the compression system, the computer, the storage devices and the compression system are configured as separate network elements. According to the method, the compression system is configured to hold a virtual logical unit, the virtual logical unit is configured to virtually represent in non-compressed form the compressed data stored in the at least one storage logical unit. The size of the virtual logical unit corresponds to an estimated size of raw data which, being compressed, would substantially amount to a size of the storage logical unit. The method includes intercepting one or more data access-related requests from the at least one computer addressed to said storage logical unit, addressing the requests to the virtual logical unit, and facilitating mapping between the compressed data and their virtual representation at the virtual logical unit.

## Claims

### Claim 1

For use in a storage network comprising a plurality of network elements and operable with a block mode access storage protocol, a method of operating a compression system operatively coupled to at least one computer and to one or more storage devices configured as at least one storage logical unit accommodating data compressed by the compression system, the computer, the storage devices and the compression system are configured as separate network elements, said method comprising:
a) configuring the compression system to hold a virtual logical unit, said virtual logical unit configured to virtually represent in non-compressed form the compressed data stored in said at least one storage logical unit, wherein a size of the virtual logical unit corresponds to an estimated size of raw data which, being compressed, would substantially amount to a size of said storage logical unit;
b) intercepting one or more data access-related requests from said at least one computer addressed to said storage logical unit;
c) addressing said requests to the virtual logical unit; and
d) facilitating mapping between the compressed data and their virtual representation at the virtual logical unit.

### Claim 2 (depends on 1)

The method of claim 1, further comprising reporting the size and free capacity of the virtual logical unit in reply to a capacity status request from the computer to the storage logical unit.

### Claim 3 (depends on 1)

The method of claim 1, further comprising generating a header of the storage logical unit, said header holding information related to the size of the virtual logical unit.

### Claim 4 (depends on 1)

The method of claim 1, wherein the block mode access storage protocol is selected from the group comprising SCSI, Fiber Channel, FCIP, iFCP, iSCSI.

### Claim 5 (depends on 1)

The method of claim 1, wherein the mapping between the compressed data and their virtual representation comprises mapping reading and/or writing addresses to be used in reply to a data-access request.

### Claim 6 (depends on 1)

The method of claim 1, wherein facilitating mapping between the compressed data and their virtual accommodation at the virtual logical unit is provided by creating a mapping table to be stored in the storage logical unit.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
e) segmenting the virtual logical unit into one or more virtual storage portions with substantially equal predefined size, thus giving rise to clusters;
f) compressing the data represented in said clusters and thereby generating within the storage logical unit respective compressed sections of variable size; and
g) facilitating mapping between the compressed data stored in the compressed sections and their representation at the virtual logical unit.

### Claim 8 (depends on 7)

The method of claim 7 wherein the data access-related request is “read given data range”, said method further comprising:
h) determining first cluster to be read in accordance with the request;
i) determining a corresponding compressed section;
j) facilitating restoring the data corresponding to said cluster from said corresponding compressed section; and
k) repeating the stages i) and j) for next clusters if said certain data range exceeds the first restored cluster, until all data to be read are restored.

### Claim 9 (depends on 7)

The method of claim 7 wherein the data access-related request is “write data at a given data range”, said method further comprising:
h) determining first cluster to be updated thereby constituting the original cluster;
i) determining a corresponding original compressed section;
j) facilitating restoring the data corresponding to said original cluster from said original compressed section;
k) calculating an offset of the updating data within said cluster and facilitating the update at the given data range;
l) compressing the updated cluster into an updated compressed section;
m) facilitating overwriting said original compressed section with updated compressed section; and
n) repeating stages i) to m) for next clusters if the range of data to be written exceeds the first restored cluster, until all required data are written.

### Claim 10 (depends on 7)

The method of claim 7 further comprising dividing at least one compressed section into at least one fixed-size compression logical units (CLU) and creating a section table with at least one record describing said compressed section, said record holding at least information on CLUs corresponding to the compressed section and storage location pointers pertaining to said CLUs.

### Claim 11 (depends on 10)

The method of claim 10 wherein the data access-related request is “read given data range”, said method further comprising:
h) determining first cluster to be read in accordance with the request;
i) determining a corresponding compressed section;
j) determining the CLUs corresponding to said compressed section and storage location thereof by referring to the section table;
k) facilitating restoring the data corresponding to said cluster from said CLUs; and
l) repeating the stages i)-k) for next clusters if said certain data range exceeds the first restored cluster, until all data to be read are restored.

### Claim 12 (depends on 10)

The method of claim 10 wherein the data access-related request is “write data at a given data range”, said method further comprising:
i) determining first cluster to be updated thereby constituting the original cluster;
j) determining a corresponding original compressed section;
k) determining the CLUs corresponding to said original compressed section and storage location thereof by referring to the section table;
l) facilitating restoring the data from said original compressed section;
m) calculating an offset of the updating data within corresponding cluster and facilitating the update at the given data range;
n) compressing the updated cluster into an updated compressed section;
o) facilitating overwriting said original compressed section with updated compressed section;
p) updating the section table;
q) repeating stages i) to p) for next clusters if the range of data to be written exceeds the first restored cluster, until all required data are written; and
r) updating the section table.

### Claim 13

For use in a storage network comprising a plurality of network elements and operable with a block mode access storage protocol, a compression system operatively coupled to at least one computer and to one or more storage devices configured as at least one storage logical unit storing compressed data, the computer, the storage devices and the compression system configured as separate network elements, said compression system comprising:
a) means for compressing raw data to be stored in said at least one storage logical unit;
b) means for creating and holding a virtual logical unit, said virtual logical unit configured to virtually represent in non-compressed form the data stored in the storage logical unit, wherein a size of the virtual logical unit corresponds to an estimated size of raw data which, being compressed, would substantially amount to a size of the storage logical unit;
c) means for intercepting data access-related requests from said at least one computer addressed to the storage logical unit and addressing said request to the virtual logical unit; and
d) means for facilitating mapping between the compressed data and their virtual accommodation at the virtual logical unit.

### Claim 14 (depends on 13)

The system of claim 13, wherein coupling to at least one storage logical unit is provided in a serial manner, and the system is configured to act as a transparent bridge in respect to the stored data.

### Claim 15 (depends on 13)

The system of claim 13, further configured to report the size and free capacity of the virtual logical unit in reply to a capacity status request from the computer to the storage logical unit.

### Claim 16 (depends on 13)

The system of claim 13, wherein the block mode access storage protocol is selected from the group comprising SCSI, Fiber Channel, FCIP, iFCP, iSCSI.

### Claim 17 (depends on 13)

The system of claim 13, wherein the mapping between the compressed data and their virtual representation comprises mapping reading and/or writing addresses to be used in reply to a data-access request.

### Claim 18 (depends on 13)

The system of claim 13, wherein the means for facilitating mapping between the compressed data and their virtual accommodation at the virtual logical unit comprise means for creating a mapping table to be stored in the storage logical unit.

### Claim 19 (depends on 13)

The system of claim 13, wherein at least part of the system is integrated with a communication device capable to be configured as a network element of said storage network.

### Claim 20

For use in a storage network comprising a plurality of network elements and operable with a block mode access storage protocol, a program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform a method of operating a compression system operatively coupled to at least one computer and to one or more storage devices configured as at least one storage logical unit accommodating data compressed by the compression system, the computer, the storage devices and the compression system are configured as separate network elements, said method comprising:
a) configuring the compression system to hold a virtual logical unit, said virtual logical unit configured to virtually represent in non-compressed form the compressed data stored in said at least one storage logical unit, wherein a size of the virtual logical unit corresponds to an estimated size of raw data which, being compressed, would substantially amount to a size of said storage logical unit;
b) intercepting one or more data access-related requests from said at least one computer addressed to said storage logical unit,
c) addressing said requests to the virtual logical unit; and
d) facilitating mapping between the compressed data and their virtual representation at the virtual logical unit.

### Claim 21

For use in a storage network comprising a plurality of network elements and operable with a block mode access storage protocol, a computer program product comprising a computer useable medium having computer readable program code embodied therein of operating a compression system operatively coupled to at least one computer and to one or more storage devices configured as at least one storage logical unit accommodating data compressed by the compression system, the computer, the storage devices and the compression system are configured as separate network elements, said computer program product comprising:
a) computer readable program code for causing the computer to configure the compression system to hold a virtual logical unit, said virtual logical unit configured to virtually represent in non-compressed form the compressed data stored in said at least one storage logical unit, wherein a size of the virtual logical unit corresponds to an estimated size of raw data which, being compressed, would substantially amount to a size of said storage logical unit;
b) computer readable program code for causing the computer to intercept one or more data access-related requests from said at least one computer addressed to said storage logical unit;
c) computer readable program code for causing the computer to address said requests to the virtual logical unit; and
d) computer readable program code for causing the computer to facilitate mapping between the compressed data and their virtual representation at the virtual logical unit.
