Column-Wise Data Compression for Faster Partial Queries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current data compression technologies in databases, such as those used in IoT sensing data, result in low compression rates and lengthy query times due to their generic approach, which does not account for the specific characteristics of data columns and requires decompressing all data for partial queries.

Innovation Solution

A data processing apparatus and method that selects appropriate compression algorithms based on the characteristics of individual data columns and assigns unique identification codes to data from different apparatuses, allowing for selective compression and decompression of data groups, enabling efficient compression and quick querying.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If generic compression technology is used for sensing data, then data can be compressed, but the compression rate is low and query time is long

Engineering Contradiction:
Improvecompression rateVSAvoidquery time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the sensing data into multiple columns based on different characteristics (e.g., time-series data, spatial data, attribute data). Each column is compressed independently using algorithms suited to its specific characteristics, thereby improving overall compression rate while enabling selective decompression for faster queries.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different compression algorithms are applied to different columns based on their local characteristics. For example, time-series columns may use delta encoding, while categorical columns use run-length encoding. This localized approach optimizes compression for each data type without compromising query performance.

Inventive Principle:
Principle #3Local quality

2Productivity

If all sensing data is compressed using the same algorithm, then the process is simple, but the compression rate is limited

Engineering Contradiction:
Improvecompression rateVSAvoidcompression process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system dynamically selects compression algorithms based on the characteristics of each column. The compression process adapts to the data being processed, choosing from multiple algorithms (e.g., lossless, lossy, dictionary-based) depending on the column's data type, variability, and importance, thereby achieving higher compression rates without manual intervention.

Inventive Principle:
Principle #15Dynamics

3Reliability

If all compressed data must be decompressed for partial queries, then data integrity is maintained, but query time becomes too long

Engineering Contradiction:
Improvedata integrityVSAvoidquery time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and stores metadata about each column's compression characteristics and query patterns. When a query is received, the system extracts only the necessary columns for decomposition, leaving other columns compressed. This selective extraction maintains data integrity for queried portions while significantly reducing query time.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of decompressing all compressed data, the system performs partial decomposition only on the columns required for the specific query. This partial action approach maintains data integrity for the needed information while avoiding the time cost of decompressing unnecessary data.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS8854239B2Data processing apparatus and method
Publication Date: 2014.10.07 INSTITUTE FOR INFORMATION INDUSTRY
  • US8854239B2 patent drawing
  • US8854239B2 patent drawing
  • US8854239B2 patent drawing

AI summary

A data processing apparatus and a data processing method thereof are provided. The data processing apparatus includes a register and a processor electrically connected to the register. The register is stored with a plurality of data. The plurality of data each includes a first sub-datum and a second sub-datum. The plurality of first sub-data corresponds to a first column and the plurality of second sub-data corresponds to a second column. The processor compresses the first sub-data by a first compression algorithm according to a first characteristic of the plurality of first sub-data and compresses the second sub-data by a second compression algorithm according to a second characteristic of the plurality of second sub-data.