Binary XML Encoding Using Tag References to Shrink Document Size

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

XML documents with numerous tags and associated data require significant resources for storage and transmission due to their large size, leading to inefficiencies in processing and memory usage.

Innovation Solution

A binary XML encoding method that replaces repeated tags with references from a predefined table, using variable length fields for numbers and omitting end tags, to reduce document size and conserve resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If XML documents use full tag markup constructs to identify data meaning, then data semantics are preserved, but document size increases requiring more storage and transmission resources

Engineering Contradiction:
Improvedata semanticsVSAvoiddocument size
Core Design Contradiction:
Loss of informationVSQuantity of substance

Solution Approach 1:

The patent creates a compressed copy of the XML document by replacing repeated tag names and text content with numeric references. A dictionary is built that maps original tag names and text to compressed numeric codes, allowing the document to be represented in a smaller form while preserving all semantic information through the mapping relationship.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent transforms the document representation from human-readable text format to a binary numeric format. Tag names and text content are converted to numeric identifiers, changing the parameter representation from characters to numbers, which reduces the space required to represent the same information.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If XML documents include all tags and associated data in full form, then document completeness is maintained, but processing and storage resources are consumed

Engineering Contradiction:
Improvedocument completenessVSAvoidprocessing resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent creates a compressed copy of the XML document by replacing repeated tag names and text content with numeric references. A dictionary is built that maps original tag names and text to compressed numeric codes, allowing the document to be represented in a smaller form while preserving all semantic information through the mapping relationship.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent performs preliminary compression of the document before processing or transmission. By pre-computing the dictionary mapping and replacing all content with numeric references upfront, the system reduces the resource burden for subsequent processing operations without losing any information.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If XML documents transmit complete tag markup over network, then data integrity is ensured, but transmission time and cost increase

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

Solution Approach 1:

The patent transforms the document representation from human-readable text format to a binary numeric format. Tag names and text content are converted to numeric identifiers, changing the parameter representation from characters to numbers, which reduces the space required to represent the same information and thus reduces transmission time.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent creates a compressed copy of the XML document by replacing repeated tag names and text content with numeric references. A dictionary is built that maps original tag names and text to compressed numeric codes, allowing the document to be represented in a smaller form while preserving all semantic information through the mapping relationship.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8880538B1Electronic document encoding
Publication Date: 2014.11.04 GOOGLE LLC
  • US8880538B1 patent drawing
  • US8880538B1 patent drawing
  • US8880538B1 patent drawing

AI summary

In general, the subject matter described in this disclosure can be embodied in methods, systems and program products. An input document is received. A computing system determines whether a first portion of text is listed in a table of textual content. A computing system inserts into an output document, as a result of determining that the first portion of text is not listed in the table of textual content, the first portion of text. A computing system adds the first portion of text into the table of textual content. A computing system determines whether a second portion of text is listed in the table of textual content, wherein the second portion of text matches the first portion of text. A computing system inserts a reference to the first portion of text from the table of textual content into the output document. A computing system stores the output document.