US7665015B2

Hardware unit for parsing an XML document

Summary by NHIP

Hardware XML Parser

The hardware unit parses XML documents by decoding character sets, validating characters, and generating binary token headers via embedded logic. A finite state machine controls tokenization, while a preloaded symbol table stores numeric values for symbols or generates new values if missing.

Claim Score by NHIP

Read claim 1, the broadest

Abstract

A hardware unit for parsing an XML document includes embedded logic or circuitry for accessing the document, decoding it to change a character set, validating individual characters of the document, extracting tokens, maintaining a symbol table and generating binary token headers to describe the document's structure and convey the document's data to an application. Tokenization, the process of identifying tokens and generating token headers, may be controlled by a finite state machine that recognizes XML delimiters in the document's markup and activates state transitions based on the current state and the recognized delimiter. The parser unit may be implemented within a hardware XML accelerator that includes a processor, a DMA engine, a cryptographic engine, memory (e.g., for storing a document, maintaining a symbol table) and various interfaces (e.g., network, memory, bus).

US7665015B2, drawing sheet 1
Sheet 1 of 9

Term

Projected expiry 17 December 2028.

  1. Priority and filed
  2. Granted
  3. Today
  4. Projected expiry

33 claims: 3 independent, 30 dependent

  1. 1
    Broadest claimClaim Score 73, broad(NHIP)A method of parsing an XML (Extensible Markup Language) document in hardware, the method comprising:reading a sequence of characters from the document;identifying a token within the sequence of characters;if the token comprises a symbol: searching a symbol table for the token;and if the symbol table includes the token: extracting from the symbol table a numeric value representing the token;and generating a token header describing the token, wherein the token header includes the numeric value representing the token in a binary numerical representation.
  2. 17
    A computer readable medium storing instructions that, when executed by a computer, cause the computer to perform a method of parsing an XML (Extensible Markup Language) document in hardware, the method comprising:reading a sequence of characters from the document;identifying a token within the sequence of characters;if the token comprises a symbol: searching a symbol table for the token;and if the symbol table includes the token: extracting from the symbol table a numeric value representing the token;and generating a token header describing the token, wherein the token header includes the numeric value representing the token in a binary numerical representation.
  3. 18
    A hardware module for parsing an XML (Extensible Markup Language) document, the module comprising:validation circuitry configured to validate characters of the document;tokenization circuitry configured to identify a token within the document;symbol table circuitry configured to maintain a symbol table;and token header circuitry configured to generate a token header corresponding to the identified token, wherein the token header includes the numeric value representing the token in a binary numerical representation.