Run-Length Base-Delta Encoding for Fast Software Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data compression and decompression technologies face a trade-off between speed and cost, with hardware-based methods offering faster processing but higher costs due to specialized hardware, while software-based methods provide more configuration options and lower costs but may compromise on compression level and resource usage.

Innovation Solution

The implementation of a run-length base-delta (RLBD) encoding scheme, which is software-driven and operates with variable-length data segments, allowing for efficient compression and decompression speeds comparable to memory copy operations, using a compression-transmission-decompression pipeline (CTDP) system that breaks data into smaller chunks and employs a data segment directory for parallel decoding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If hardware-based compression and decompression is used, then processing speed is improved, but cost increases due to specialized hardware

Engineering Contradiction:
Improvecompression and decompression speedVSAvoidspecialized hardware cost
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent replaces hardware-based compression mechanisms with a software-based run-length base-delta encoding scheme that can be implemented using general-purpose processors. This substitution eliminates the need for specialized compression hardware while achieving comparable performance through efficient software algorithms that use simple arithmetic operations and pattern recognition

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The invention creates a universal compression approach that works across different data types and applications using a single software-based RLBD encoder. This multi-functional solution can handle various data formats (integers, floats, structured data) without requiring specialized hardware for each specific compression task, making the system both cost-effective and broadly applicable

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If software-based compression is used, then cost and configuration flexibility are improved, but compression level and resource usage worsen

Engineering Contradiction:
Improveconfiguration optionsVSAvoidcompression level and resource usage
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent employs parameter-based optimization where the compression algorithm dynamically adjusts encoding parameters such as base values, delta calculations, and run-length thresholds based on the input data characteristics. This allows the software to achieve high compression ratios by adapting to different data patterns while maintaining configuration flexibility for various application requirements

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The invention performs preliminary analysis of the input data stream to identify patterns, determine optimal base values, and pre-calculate delta sequences before full compression. This preliminary action enables the software to prepare efficient encoding strategies in advance, improving overall compression performance without requiring complex real-time processing during the main compression phase

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11070230B2Run-length base-delta encoding for high-speed compression
Publication Date: 2021.07.20 BEIJING ZITIAO NETWORK TECH CO LTD
  • US11070230B2 patent drawing
  • US11070230B2 patent drawing
  • US11070230B2 patent drawing

AI summary

A method, computer system, and a computer program product for high-speed data compression is provided. The present invention may include receiving an input stream. The present invention may include selecting a header based on the received input stream, wherein the header includes a base, a scheme and a delta count. The present invention may include determining whether there are any remaining values in an uncompressed input stream. The present invention may include reading a first next value from the input stream. The present invention may include determining whether the read first next value is representable with a current base scheme. The present invention may include calculating the delta count based on determining that the read first next value is representable with the current base scheme. The present invention may include writing the calculated delta count to the selected header. The present invention may include incrementing the written delta count.