×

Data compression method and apparatus implemented with limited length character tables

  • US 6,400,286 B1
  • Filed: 06/20/2001
  • Issued: 06/04/2002
  • Est. Priority Date: 06/20/2001
  • Status: Active Grant
First Claim
Patent Images

1. A data compression method for compressing an input stream of data characters into an output stream of compressed codes, said data characters being from an alphabet of data characters, comprisingproviding a plurality of character tables corresponding to respective characters of said alphabet, limiting the lengths of said character tables in accordance with frequency of occurrence of said characters of said alphabet, respectively, storing in said character tables, strings of data characters encountered in said input stream, said stored strings having respective codes associated therewith, a string comprising a prefix string of at least one of said characters followed by an extension character, a particular string being stored in said character tables by storing the code associated with said particular string in the character table corresponding to the extension character of said particular string at a character table location corresponding to the code of the prefix string of said particular string, searching said input stream by comparing said input stream to said stored strings to determine the longest match therewith, outputting the code associated with said longest match so as to provide said output stream of compressed codes, inserting an extended string into said character tables, said extended string comprising said longest match extended by the next data character in said input stream following said longest match, said extended string being stored in the particular character table corresponding to said next data character, and bypassing said inserting step if said particular character table is unavailable for string storage, thereby excluding said extended string from storage.

View all claims
  • 12 Assignments
Timeline View
Assignment View
    ×
    ×