Programmable hardware finite state machine for facilitating tokenization of an XML document
Abstract
A hardware finite state machine for facilitating the processing of an XML (Extensible Markup Language) document or other structured data stream. An accelerator is implemented in hardware to enable fast processing of a document (or a segment thereof). The accelerator includes a finite state machine that embodies a ternary CAM (Content-Addressable Memory) and associated RAM (Random Access Memory). Processing of the document is divided into multiple states, with each state transition defined by a markup delimiter that triggers the transition. The CAM is programmed with entries containing the processing states and, for each possible transition from that state, a pattern for matching delimiters that trigger the possible transitions. For a CAM entry matching the current processing state and a sequence of characters from the document, which may contain a delimiter, the associated RAM identifies the next state and any action to be taken (e.g., to shift the sequence of characters).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 30.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of processing a structured data stream in hardware, the method comprising: receiving the data stream at a hardware module of a host computer system, the hardware module comprising: a content-addressable memory; and a random access memory; wherein an entry in said content-addressable memory comprises: a given state of the processing of the data stream; and a character pattern configured to match a delimiter within the data stream, wherein the character pattern defines a transition from the given state of the processing of the data stream to another state; reading a sequence of characte
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 30 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- "Introduction to Compiling", XP-002200775, 1986.
- Anonymous, "Random Access XML (RAX 4) Content Processor", http://www.tarari.com/rax/index.com (web page), pp. 1-4.
- Anonymous, "Random Access XML-RAX 4 Content Processor", http://tarari.com/PDF/Tarari-RAX4-ProductBrief.pdf, Product Brief, pp. 1-2.
- Anonymous, "Tarari XML RAX 4 Content Processor Fact Sheet", http://www.tarari.com/PDF/Tarari-RAX4-Factsheet.pdf, Fact Sheet, pp. 1-2.
- Anonymous, "XML/Web Services and Network Security Acceleration", http://tarari.com/PDF/Tarari-XMLWebSecur.pdf, pp. 1-3.