XML Pattern Coding for Smaller Hierarchical Document Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

XML documents are inefficient due to their prolix syntax, leading to large file sizes and prolonged processing times, and existing compression methods do not maintain all the advantages of the XML format.

Innovation Solution

A method for creating and selectively using patterns that describe structural information in XML documents to optimize coding, including the creation of initial and specialized patterns based on instance frequencies, to reduce coding costs and improve efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If XML syntax is used to store data, then data readability and structure integration are improved, but file size increases and processing time prolongs

Engineering Contradiction:
Improvedata readabilityVSAvoidfile size
Core Design Contradiction:
Loss of informationVSWeight of stationary object

Solution Approach 1:

The patent creates pattern templates that represent repeated XML structures. Instead of storing full XML syntax for each repeated element, the system stores a pattern definition once and references it multiple times. This copying approach maintains the structured information while significantly reducing file size by eliminating redundant syntax.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts the structural pattern information from repeated XML elements and stores it separately in a pattern definition. This extraction removes the redundant structural syntax from the main document, keeping only the essential data while maintaining readability through pattern references.

Inventive Principle:
Principle #2Taking out (Extraction)

2Loss of information

If XML syntax is used to store data, then data structure integration is improved, but processing time prolongs

Engineering Contradiction:
Improvestructure integrationVSAvoidprocessing time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent performs preliminary pattern detection and template creation during the encoding phase. By pre-processing the XML document to identify and extract patterns before actual storage, the system reduces the complexity of subsequent processing operations, thereby decreasing processing time while maintaining structure integration.

Inventive Principle:
Principle #10Preliminary action

3Weight of stationary object

If pattern coding methods are used to reduce XML size, then file size decreases, but coding complexity increases

Engineering Contradiction:
Improvefile sizeVSAvoidcoding complexity
Core Design Contradiction:
Weight of stationary objectVSDevice complexity

Solution Approach 1:

The patent applies pattern coding selectively to repeated structures rather than attempting to patternize the entire XML document. This partial application approach reduces file size for the beneficial repeated portions while avoiding the complexity overhead of patternizing unique or non-repeated elements, thus managing coding complexity effectively.

Inventive Principle:
Principle #16Partial or excessive action

4Weight of stationary object

If existing compression methods are used on XML documents, then file size decreases, but XML advantages are not maintained

Engineering Contradiction:
Improvefile sizeVSAvoidXML format advantages
Core Design Contradiction:
Weight of stationary objectVSLoss of information

Solution Approach 1:

The patent changes the representation parameters of XML data by introducing pattern templates that preserve the hierarchical and structural characteristics of XML. Unlike generic compression that treats XML as plain text, this method maintains XML-specific structural information through pattern definitions, thereby preserving XML advantages while achieving compression.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8788509B2Method and device for coding a hierarchized document
Publication Date: 2014.07.22 CANON KK
  • US8788509B2 patent drawing
  • US8788509B2 patent drawing
  • US8788509B2 patent drawing

AI summary

The method of coding a hierarchized document comprises, for at least one element contained in the document:a step (200, 210, 220) of creating at least one pattern which describes at least structural information of said element anda step (230, 330) of selecting use, or not, of at least one of the created patterns, said selection depending on the efficiency of a coding operation of a set of instances of the created pattern, said coding operation implementing said created pattern.Preferentially, the method comprises a step of creating at least two patterns which describe at least structural information of said element and a step of selecting a pattern from among the created patterns, on the basis of the efficiency of each coding operation of a set of instances of the created patterns, by implementing one of the created patterns.