Encoded File Block Indexing for Faster Compressed Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing compression techniques, such as the LZ77 system, face inefficiencies when searching for character strings in combined files, as they require decompressing individual files and checking them against a search string, leading to slow search speeds even with indexing.

Innovation Solution

The approach involves encoding multiple files using a specific format, dividing the combined encoded data into fixed-length blocks, and creating a bitmap type index associated with each block to facilitate high-speed searches by indicating the presence of words within each block.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If files are individually compressed using LZ77 system with sliding window, then compression efficiency is improved, but search speed deteriorates because all files must be decompressed to perform searches

Engineering Contradiction:
Improvecompression efficiencyVSAvoidsearch speed
Core Design Contradiction:
Loss of energyVSSpeed

Solution Approach 1:

The patent divides the combined encoded data into multiple fixed-length blocks, creating a segmented structure that allows selective processing. Each block is independently indexed and can be searched without decompressing the entire file, resolving the contradiction between compression efficiency and search speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates bitmap indexes for each block during the encoding phase, performing preliminary indexing actions before search operations. This allows search queries to directly access pre-computed index structures rather than decompressing data during search, maintaining both compression efficiency and search speed.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If index is created in units of individual files, then file-level search capability is improved, but search speed deteriorates because the index cannot efficiently handle combined file searches

Engineering Contradiction:
Improvefile-level search capabilityVSAvoidsearch speed
Core Design Contradiction:
Adaptability or versatilityVSSpeed

Solution Approach 1:

The patent introduces a new dimensional organization by creating indexes at the block level rather than file level. This dimensional shift from file-based to block-based indexing enables efficient searches across combined files while maintaining the ability to handle individual file queries, as blocks can be selectively accessed regardless of file boundaries.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Reliability

If all files are decompressed from the top to perform search, then complete search coverage is improved, but processing time deteriorates significantly

Engineering Contradiction:
Improvesearch coverageVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the necessary blocks for search operations using bitmap indexes, rather than decompressing entire files. The bitmap index indicates which blocks contain target character strings, allowing the system to extract and process only relevant blocks, ensuring complete search coverage while minimizing processing time.

Inventive Principle:
Principle #2Taking out (Extraction)

4Stability of the object's composition

If combined encoded data is searched without block division, then data integrity is maintained, but search efficiency deteriorates due to inability to perform selective decompression

Engineering Contradiction:
Improvedata integrityVSAvoidsearch efficiency
Core Design Contradiction:
Stability of the object's compositionVSProductivity

Solution Approach 1:

The patent segments combined encoded data into fixed-length blocks while maintaining the overall data integrity through proper indexing. Each block is independently indexed with bitmap indexes that track character string presence, allowing selective decompression of specific blocks without compromising the integrity of the complete dataset.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10360183B2Encoding device, encoding method, decoding device, decoding method, and computer-readable recording medium
Publication Date: 2019.07.23 FUJITSU LTD
  • US10360183B2 patent drawing
  • US10360183B2 patent drawing
  • US10360183B2 patent drawing

AI summary

A non-transitory computer-readable recording medium stores therein an encoding program that causes a computer to execute a process including: first creating a plurality of pieces of encoded data that are obtained by encoding a plurality of files by using a specific encoding format; second creating a plurality of encoded blocks that are obtained by dividing combined encoded data, the combined encoded data being obtained by combining the plurality of pieces of the encoded data into blocks with a fixed length; and third creating an index associated with each of the plurality of the encoded blocks.