EP0903867A1

Method and apparatus for adaptive data compression exhibiting an improved compression efficiency

Abstract

A method for providing improved data compression efficiency to a data compressor unit is disclosed. Before sending the uncompressed data stream to the data compressor unit, an incoming data byte from the uncompressed data stream is first compared with a preceding data byte from the uncompressed data stream. A first counter value is incremented in response to a match between the incoming data byte and the preceding data byte. A second counter value is then incremented in response to subsequent matches between an incoming data byte and its preceding data byte after the first counter value has reached a preset value. The second counter value is finally sent to the data compressor unit at the completion of a run of the incoming data byte in substitution of a portion of the run. such that the data compressor unit can quickly resume its optimal compression ratio after an occurrence of the run within the uncompressed data stream.

EP0903867A1, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Projected expiry passed 14 September 2018, 8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

10 claims: 3 independent, 7 dependent

  1. 1
    A method for providing improved data compression efficiency to a data compressor unit (10), said method being characterised by, the steps of:comparing an incoming data byte and a previous data byte from an uncompressed data stream, wherein said uncompressed data stream is to be received by said data compressor unit;incrementing a first counter value in response to a match between said incoming data byte and said previous data byte;incrementing a second counter value in response to said first counter value reaching a preset value to indicate a run within said uncompressed data stream;substituting said run within said uncompressed data stream with said second counter value;andtransmitting said uncompressed data stream to said data compressor unit such that said data compressor can quickly resume an optimal compression ratio after an occurrence of said run within said uncompressed data stream.
  2. 2
    A method for providing improved data compression efficiency to a data compressor unit (10), said method being characterised by the steps of:preprocessing an uncompressed data stream by comparing an incoming data byte and a previous data byte from said uncompressed data stream, wherein said uncompressed data stream is to be received by said data compressor unit;incrementing a first counter value in response to a match between said incoming data byte and said previous data byte to indicate a beginning of a run within said uncompressed data stream;incrementing a second counter value in response to a subsequent match between an incoming data byte and a previous data byte after said first counter value has reached a preset value to indicate a remaining portion of said run within said uncompressed data stream;substituting said remaining portion of said run within said uncompressed data stream with said second counter value;andtransmitting said uncompressed data stream embedded with said second counter value to said data compressor unit such that said data compressor can quickly resume an optimal compression efficiency despite an occurrence of said run within said uncompressed data stream.
  3. 7
    A pre-compressor for providing improved data compression efficiency to a data compressor unit (10), characterised by:a comparator (24) for comparing an incoming data byte and a previous data byte from an uncompressed data stream (13), wherein said uncompressed data stream is to be received by said data compressor unit;a first counter (25) for counting a number of matches between said incoming data byte and said previous data byte, wherein said first counter is coupled with said comparator (24);a second counter (26) for counting a number of matches between said incoming data byte and said previous data byte after said first counter (25) reaches a preset value, wherein said second counter (26) is coupled to said comparator (24);anda transmitter (21) for sending a value of said second counter to said data compressor unit (10) at a completion of a run of said incoming data byte such that said data compressor can quickly resume back to its optimal compression ratio after an occurrence of said run within said uncompressed data stream.