Sliding-Window Partition Compression Without Huffman Pre-Pass

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing compression techniques, such as Huffman encoding, require pre-pass filters for frequency collection, making them complex and less efficient compared to Elias Delta encoding, while seeking better compression rates without the complexity of Huffman encoders.

Innovation Solution

A sliding window with multiple partitions is used to compress offsets and lengths by excluding extraneous bits, allowing for improved compression rates without the need for pre-pass filters, similar to Huffman encoders, and offering better compression than Elias Delta encoders at comparable complexity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of substance

If Huffman encoding is used to achieve better compression rates, then compression efficiency is improved, but device complexity increases due to requiring pre-pass filters for frequency collection

Engineering Contradiction:
Improvedata sizeVSAvoidencoder complexity
Core Design Contradiction:
Loss of substanceVSDevice complexity

Solution Approach 1:

The sliding window is divided into multiple partitions, each handling specific ranges of offset values. This segmentation allows the encoder to process different offset ranges with appropriate bit allocation strategies without requiring global frequency analysis, achieving good compression without Huffman's pre-pass filter complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The encoder dynamically adjusts the number of bits used to encode offsets based on the partition and offset value range. By changing the parameter of bit allocation dynamically during encoding without pre-computation, the system achieves adaptive compression efficiency similar to Huffman encoding but with simpler real-time operation.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If Elias Delta encoding is used to reduce complexity, then device complexity is reduced, but compression efficiency deteriorates compared to Huffman encoding

Engineering Contradiction:
Improveencoder complexityVSAvoiddata size
Core Design Contradiction:
Device complexityVSLoss of substance

Solution Approach 1:

By segmenting the offset range into multiple partitions with different encoding strategies, the system achieves better overall compression than Elias Delta. Small offsets use fewer bits while larger offsets use more bits, optimizing the average compression ratio without requiring complex pre-analysis.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The encoder applies variable-length bit representations where only the necessary number of bits are used for each offset value based on its magnitude and partition. This partial encoding approach eliminates extraneous bits that would otherwise be transmitted, improving compression efficiency over fixed-structure methods like Elias Delta.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of substance

If Huffman encoding is used to improve compression rates, then compression efficiency is improved, but processing time increases due to pre-pass filtering requirements

Engineering Contradiction:
Improvedata sizeVSAvoidencoding time
Core Design Contradiction:
Loss of substanceVSLoss of time

Solution Approach 1:

The sliding window structure maintains pre-computed partition information and match data in memory, allowing the encoder to quickly retrieve and encode offsets without performing expensive frequency analysis during the encoding pass. This preliminary organization of data enables fast single-pass encoding.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The encoder uses dynamic bit allocation parameters based on partition ranges rather than fixed Huffman codes. This allows adaptive compression efficiency while maintaining simpler real-time processing, as the bit allocation rules can be applied directly without lookup table searches or frequency calculations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11139829B1Data compression techniques using partitions and extraneous bit elimination
Publication Date: 2021.10.05 NANJING TENAFE ELECTRONIC TECHNOLOGY CO LTD
  • US11139829B1 patent drawing
  • US11139829B1 patent drawing
  • US11139829B1 patent drawing

AI summary

Partition information associated with partition(s) in a sliding window and an uncompressed value associated with a repeated sequence in the sliding window are received. A compressed value is generated using the uncompressed value, including by: generating the set indicator based at least in part on the partition information and the uncompressed value; determining, based at least in part on the partition information and the uncompressed value, whether the uncompressed value includes an extraneous bit; and generating the intra-set information, including by: in the event it is determined that the uncompressed value includes the extraneous bit, excluding the extraneous bit in the uncompressed value from the intra-set information. The compressed value is output.