Hardware XML Accelerator for Parsing Throughput and Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing XML processing solutions are inefficient due to software-based methods that require excessive string comparisons and monopolize processor resources, leading to bottlenecks in parsing and security processing, especially with increasing use of XML documents across distributed computing environments.

Innovation Solution

A hardware XML accelerator is implemented, comprising processors, hardware parser units, cryptographic units, and finite state machines, which processes XML documents in segments and applies security measures, reducing software processing overhead and latency by using direct memory access and ternary content addressable memory for efficient tokenization and validation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If software-based XML parsing is used, then compatibility and ease of implementation are maintained, but processing speed and processor resources are consumed excessively

Engineering Contradiction:
ImproveXML processing speedVSAvoidProcessor time consumed
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces software-based XML parsing mechanisms with dedicated hardware parsing circuits. The hardware parser uses finite state machines and content addressable memory to tokenize and validate XML documents, eliminating the need for software string comparisons and significantly improving processing speed while reducing processor time consumption.

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

Solution Approach 2:

The XML processing function is segmented into separate hardware modules: a hardware parser for tokenization and validation, a security processor for security operations, and a symbol table for reference. This segmentation allows each module to operate independently and efficiently, improving overall productivity without consuming excessive processor resources.

Inventive Principle:
Principle #1Segmentation

2Reliability

If security processing is applied to XML documents, then security validation is improved, but processing time and complexity increase

Engineering Contradiction:
ImproveSecurity validationVSAvoidProcessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent merges XML parsing and security processing into a unified hardware accelerator. The hardware parser and security processor operate in close integration, with the parser feeding tokenized data directly to the security processor. This combining eliminates sequential processing delays and reduces overall processing time while maintaining comprehensive security validation.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The hardware parser performs preliminary tokenization and validation of XML documents before security processing. By pre-processing the document structure and identifying security-relevant elements in advance, the system reduces the processing time required for subsequent security validation operations.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If hardware XML accelerator is implemented, then processing throughput is improved, but device complexity increases

Engineering Contradiction:
ImproveProcessing throughputVSAvoidHardware architecture
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The hardware accelerator is designed with multi-functionality to justify its complexity. The same hardware platform handles XML parsing, tokenization, validation, and security processing operations. The shared memory space and integrated architecture allow a single device to perform multiple functions, improving throughput while managing complexity through consolidation rather than separate dedicated components.

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

Data Source

PatentUS8392824B2Method and apparatus for hardware XML acceleration
Publication Date: 2013.03.05 ORACLE AMERICAN INC
  • US8392824B2 patent drawing
  • US8392824B2 patent drawing
  • US8392824B2 patent drawing

AI summary

A method and apparatus for accelerating processing of a structured document. A hardware XML accelerator includes one or more processors (e.g., CMT processors), one or more hardware XML parser units, one or more cryptographic units and various interfaces (e.g., to memory, a network, a communication bus). An XML document may be processed in its entirety or may be parsed in segments (e.g., as it is received). A parser unit parses a document or segment character by character, validates characters, assembles tokens from the document, extracts data, generates token headers (to describe tokens and data) and forwards the token headers and data for consumption by an application. A cryptographic unit may enforce web security, XML security or some other security scheme, by providing encryption/decryption functionality, computing digital signatures, etc. Software processing, bus utilization and latencies (e.g., memory, bus) are greatly reduced, thereby providing significantly improved XML processing and security processing throughput.