Patent ID: 8427347

Claim:
A method comprising: identifying each portion of data as a repetitive data pattern portion or a non-repetitive data pattern portion; for each portion identified as a repetitive data pattern portion, identifying a repetitive compression scheme to apply to the repetitive data pattern portion; for each portion identified as a non-repetitive data pattern portion, identifying a non-repetitive compression scheme to apply to the non-repetitive data pattern portion; and compressing each data portion according to a corresponding identified compression scheme; wherein the identifying each portion of data, the identifying a repetitive compression scheme, the identifying a non-repetitive compression scheme, and the compressing are computer implemented, further wherein the identifying each portion of data comprises: for each byte of the data, determining whether that byte represents an end of the data; and for each byte of the data, if that byte does not represent the end of the data, resetting counter values to zeros.