XML to SDML Conversion for Parallel Parsing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies fail to efficiently process huge XML documents in parallel, leading to performance bottlenecks due to time-consuming parsing operations, which hinder high performance in multicore environments and across servers.

Innovation Solution

Converting XML documents into Modified Simple Dependency Markup Language (SDML) format, allowing for high degree of parallelism and efficient processing across multiple cores and servers, leveraging string manipulation for simplified parsing and data representation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional XML parsing methods (SAX, DOM) are used on huge XML documents, then parsing completeness and accuracy are maintained, but parsing time becomes excessively long (dozens of seconds) and performance is bottlenecked

Engineering Contradiction:
Improveparsing speedVSAvoidparsing time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent divides the huge XML document into multiple smaller fragments based on XML element boundaries. Each fragment can be parsed independently by different processing units, enabling parallel processing. This segmentation reduces the time complexity from O(n) sequential parsing to O(n/p) parallel parsing where p is the number of processing units, directly addressing the performance bottleneck of parsing huge XML documents.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary actions by pre-processing the XML document to identify suitable split points and prepare fragments before actual parsing. It also pre-allocates multiple processing units and establishes parallel processing pipelines in advance. This preliminary preparation eliminates runtime overhead and enables immediate parallel processing, significantly reducing total parsing time for huge documents.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If XML documents are processed sequentially in traditional manner, then processing logic is simple to implement, but multicore processing capabilities are not utilized and performance remains limited

Engineering Contradiction:
Improveprocessing throughputVSAvoidprocessing architecture complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments both the XML document and the processing architecture. The document is divided into fragments, and the processing system is divided into multiple independent processing units. Each unit handles specific fragments with simplified logic, while a coordination layer manages distribution and result aggregation. This segmentation enables linear scaling with added cores without proportionally increasing individual processor complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates universal processing units that can handle any XML fragment with the same processing logic. These multi-functional units can be dynamically allocated to different fragments based on workload, making the system adaptable to various document sizes and structures. The same processing template is reused across multiple units, simplifying implementation while enabling parallel execution.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Quantity of substance

If huge XML documents are parsed without fragmentation, then data integrity and context preservation are ensured, but memory consumption and processing time increase significantly

Engineering Contradiction:
Improvememory consumptionVSAvoiddata integrity
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent segments the XML document into fragments that preserve complete XML elements and their hierarchical relationships. Each fragment maintains self-contained data integrity with proper opening and closing tags. This segmentation reduces memory consumption from loading the entire document into memory to loading only necessary fragments, while maintaining data integrity through careful boundary selection at XML element levels.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary coordination layer that manages fragment boundaries and ensures data integrity across partitions. This mediator tracks element relationships that span fragment boundaries and reconstructs complete data context in the final aggregation phase. It acts as a buffer between fragmented processing and whole-document requirements, preserving reliability while enabling memory-efficient processing.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9658992B2Method and system for disintegrating an XML document for high degree of parallelism
Publication Date: 2017.05.23 TATA CONSULTANCY SERVICES LTD
  • US9658992B2 patent drawing
  • US9658992B2 patent drawing
  • US9658992B2 patent drawing

AI summary

The present invention relates to the field of high performance computation. Particularly, the invention relates to converting a huge XML document into SDML format which can be processed with high degree of parallelism to achieve high performance. In addition also SDML can be used as a standalone protocol for data representation. SDML deals with one time write and many times read. Further, SDML files can be splitted on number of lines which makes it easier to distribute among multi cores and even distributing across servers.