Patents
US 8,103,952 B2#21410580 Most CitedActiveUnited States (USPTO)Utility

Directed SAX parser for XML documents

5Forward Citations (#21410580 Global)
0.4/yrCitation Velocity (#22040268 Global)
1.39Citation PageRank (#25730280 Global)
10Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for processing XML documents using a SAX parser, implemented in a two-thread architecture having a main thread and a parsing thread. The parsing procedure is located in a parsing thread, which implements callback functions of a SAX parser and creates and executes the SAX parser. The main thread controls the parsing thread by sending target content to be searched for and wakeup signals to the parsing thread, and receives the content found by the parsing thread for further processing. In the parsing thread, each time a callback function is invoked by the SAX parser, it is determined whether the target content has been found. If it has, the parsing thread sends the found content to the main thread with a wakeup signal, and enters a sleep mode, whereby further parsing is halted until a wakeup signal with additional target content is received from the main thread.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 5.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for processing an Extensible Markup Language (XML) document, comprising: in a main thread, (a) creating a parsing thread by the main thread, the parsing thread directly controlled by the main thread; (b) sending an ID of next target content to be searched for in the XML document directly to a message queue of the parsing thread, and sending a first wakeup signal to the parsing thread; in the parsing thread, (c) after receiving the first wakeup signal from the main thread, obtaining the ID of next target content sent by the main thread directly to the message queue of the parsing threa

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (4)

  • Josflovski et al., Querying XML Streams, p. 197-210 (Springer-Verlag, The VLDB Journal vol. 14, 2005).
  • Lu et al., A Parallel Approach to XML Parsing, pp. 223-230 (IEEE, Proceedings of the 7th IEEE/ACM International Conference on Grid Computing, 2006).
  • Lu et al., Parallel Processing XML Documents, p. 1-10 (IEEE, Proceedings of the International Database Engineering and Applications Symposium, 2002).
  • Marlan et al., Adaptive Processing of Top-K Queries in XML, p. 1-12 (IEEE, Lu et al., Proceedings of the 21st International Confierence on Data Engineering, 2005).