Directory Byte Stream Searching Module for Text Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for generating directories in TXT text files are time-consuming and inefficient, particularly in mobile computing environments, due to the need for character matching and conversion of byte streams, which limits quick content location and section navigation.

Innovation Solution

A method and device that search for directory byte streams in text files without converting bytes to characters, using a directory byte stream searching module to identify predetermined directory key bytes and generate directories based on these streams, reducing computational and memory requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If character matching method is used to generate directory, then directory can be generated, but time consumption increases and processing speed decreases

Engineering Contradiction:
Improvedirectory generation accuracyVSAvoiddirectory generation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts only the essential directory signature bytes from the text file without converting the entire byte stream to characters. By searching for specific directory signature patterns directly in the byte stream, the method eliminates the time-consuming full character conversion process while still accurately identifying directory positions.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary identification of directory positions by searching for signature bytes before any character conversion occurs. This preliminary action allows the system to locate directories efficiently in the raw byte stream, avoiding the need to convert all bytes to characters first.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If full byte stream conversion to character string is performed, then character matching can be done, but computational capacity and memory capacity requirements increase

Engineering Contradiction:
Improvecharacter matching accuracyVSAvoidmemory capacity usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary directory signature bytes from the text file without converting the entire byte stream to characters. By searching for specific directory signature patterns directly in the byte stream, the method eliminates the need to load and process the full converted character string in memory.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of converting the entire byte stream to characters, the patent performs partial action by only converting and processing the specific byte segments containing directory signatures. This selective approach reduces memory usage while still achieving accurate directory identification.

Inventive Principle:
Principle #16Partial or excessive action

3Measurement precision

If character matching method is used, then directory can be identified, but processing speed and efficiency decrease

Engineering Contradiction:
Improvedirectory identification accuracyVSAvoiddirectory generation speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces the mechanical character-by-character matching process with a more efficient byte-pattern search mechanism. By using signature byte matching instead of full character string comparison, the system achieves faster processing speeds while maintaining accurate directory identification.

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

Solution Approach 2:

The patent performs preliminary identification of directory positions by searching for signature bytes before any character conversion occurs. This preliminary action allows the system to locate directories efficiently in the raw byte stream, significantly improving processing speed compared to post-conversion character matching.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9069775B2Methods and devices for generating directories
Publication Date: 2015.06.30 NEW FOUNDER HLDG DEV LLC
  • US9069775B2 patent drawing
  • US9069775B2 patent drawing
  • US9069775B2 patent drawing

AI summary

A method and a device for directory generation are provided in the present disclosure. The method comprises searching a directory byte stream in a text file. The directory byte stream includes a predetermined directory key byte corresponding to a predetermined directory character. The method also comprises generating a directory of the text file based on the directory byte stream.