Block compression algorithm
Abstract
A method for compressing a data stream based on a 3 byte sequence is used. Each three byte sequence is assigned a code word including a location and a length of the data associated with the code word. When a 6 byte sequence is located, a binary tree of 6 byte sequences sharing the same first three bytes is built, associating each 6 byte sequence with a position in the stream where the 6 byte sequence is found. When the length of a code word is changed, a byte sequence is emitted that identifies the code word to be changed and updating the length of the code word, so that when a match is found, a byte sequence is emitted that identifies the code word associated with the matched data. The method finds particular application in data streams that are sent to printers, and which contain large blocks of identical data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for encoding a data stream, said method comprising the steps of: (a) receiving said data stream; (b) providing a 6 byte window for said data stream; (c) examining the first three bytes of said window; (d) determining if the first three bytes of said window has a corresponding entry in a lookup table; (e) storing a position in the data stream of the first three bytes of said window in the lookup table if the lookup table does not include an entry corresponding to the first three bytes of said window; (f) if the lookup table includes an entry corresponding to the fi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2011161372 A1 | Block compression algorithm | — | 8 |
| US 8,417,730 B2 | Block compression algorithm | 2013 | 3 |