Storing compressed data in non-contiguous memory
First Claim
1. A data decompression method for decompressing a compressed data into an original data where said compressed data is stored in a non-contiguous memory, said method comprising the steps of:
- retrieving a code of said compressed data from said non-contiguous memory;
determining if said code is a link code; and
if said code is said link code, thenreading a pointer where said pointer points to a next area of said non-contiguous, said pointer being stored in memory after said link code.
3 Assignments
0 Petitions
Accused Products
Abstract
A data compression and decompression method for storing compressed data in non-contiguous memory. As the data is compressed and stored in memory, any non-contiguous segments are properly marked. Such marking requires that the last location contains a pointer to the next memory location used. Just prior to the pointer a special "LINK" code is stored. Thus, when the compressor completes its job, the non-contiguous memory is logically linked together. To decompress the compressed data, a code of the compressed data is retrieved from the non-contiguous memory. If the code is a link code, then an address pointer to the next location in memory where the next compressed data is stored is retrieved from memory. If, in the alternative, the code in not a link code then the code is decompressed.
75 Citations
3 Claims
-
1. A data decompression method for decompressing a compressed data into an original data where said compressed data is stored in a non-contiguous memory, said method comprising the steps of:
-
retrieving a code of said compressed data from said non-contiguous memory; determining if said code is a link code; and if said code is said link code, then reading a pointer where said pointer points to a next area of said non-contiguous, said pointer being stored in memory after said link code.
-
-
2. In a computer, method for decompressing a plurality of compressed data in to an plurality of original data where said compressed data is stored in a first memory and said original data is stored in a second memory, said method being performed by said computer, said method comprising the steps of:
-
said computer reading one of said plurality of compressed data from said first memory; if said one of said plurality of compressed data is a link code then retrieving an address pointer from said first memory where said address pointer being stored in memory after link code, said address pointer points to a new location in said first memory where a next one of said plurality of compressed data is stored; and if said one of said plurality of compressed data is other than said link code then said computer decompresses said one of said plurality of compressed data into a subset of said plurality of original data and stores said subset of said plurality of original data in said second memory.
-
-
3. A data compression method for compressing an uncompressed data into a compressed data where said compressed data is stored in a memory, said method comprising the steps of:
-
retrieving a sub-set of said uncompressed data; compressing said sub-set of said uncompressed data into a sub-set of said compressed data; and requesting a next memory segment from said memory, if a present memory segment and said next memory segment are contiguous, storing said sub-set of compressed data in said next memory segment, in the alternative where said next memory segment and said present memory segment are non-contiguous then placing in said present memory segment a link code followed by a pointer pointing to where in said memory said next memory segment is located then saving said compressed data in said next memory.
-
Specification