XML Data Stream Binary Encoding for Database Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database systems are inefficient in storing and searching XML data due to its semi-structured nature, which is typically stored in plain text format, leading to resource-intensive keyword searches rather than efficient retrieval of structured data.

Innovation Solution

The system parses XML documents into a data stream with a predefined format, including a symbol table and optimized field sizes, and stores them in a database, enabling efficient querying and retrieval by transforming XML documents into a searchable format using an XMLStream object with improved storage and access mechanisms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If XML data is stored in plain text format, then the data can be easily transmitted and stored, but the search efficiency deteriorates and resource consumption increases

Engineering Contradiction:
Improveease of storageVSAvoidsearch efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent transforms XML data from plain text format to a binary format with optimized parameter representation. Each XML element is encoded with compact binary headers containing type information, length fields, and value data, changing the physical state from human-readable text to machine-optimized binary representation. This parameter change enables both efficient storage and fast random access searching simultaneously.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If keyword searches are used for XML data, then the implementation is simple, but the resource consumption increases and performance deteriorates

Engineering Contradiction:
Improveimplementation simplicityVSAvoidresource consumption
Core Design Contradiction:
Ease of operationVSUse of energy by moving object

Solution Approach 1:

The patent segments XML data into discrete binary-encoded elements with structured headers containing type identifiers, length fields, and value data. Each element is independently addressable and can be quickly located using binary search on the structured format, replacing full-text keyword scanning with targeted element retrieval based on encoded metadata.

Inventive Principle:
Principle #1Segmentation

3Productivity

If XML data is stored in a structured format with optimized fields, then the query performance improves, but the storage complexity increases

Engineering Contradiction:
Improvequery performanceVSAvoidstorage format complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent creates a binary copy of the XML data structure with optimized field representations. Instead of modifying the original XML format, it generates a parallel binary representation where each XML element is copied into a compact binary form with fixed-width fields for type, length, and value, enabling efficient querying without altering the source XML structure.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8484210B2Representing markup language document data in a searchable format in a database system
Publication Date: 2013.07.09 SYBASE INC
  • US8484210B2 patent drawing
  • US8484210B2 patent drawing
  • US8484210B2 patent drawing

AI summary

Systems, methods, computer program product embodiments for representing markup language document data in a searchable format in a database system are provided. An embodiment includes parsing a markup language document into a data stream, the data stream including a plurality of fields in a predefined format having a symbol table for at least one field of the data stream, and optimized field size based on a maximum value of data within each field, and storing the data stream in data storage.