Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System and method for querying XML streams

a technology of xml data and system, applied in the field of processing markup language data, can solve the problems of insufficient task of efficiently querying streamed xml data, lack of xpath expression support, and mismatch between the tuple oriented model of the database engine and the node set model of the xpath processor

Inactive Publication Date: 2008-09-04
FONTOURA MARCUS F +1
View PDF15 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Nevertheless, they lack support for XPath expressions, which are used to navigate through XML documents in most of the XML query mechanisms, such as XQuery and SQL / XML.
While there are several implementations of XPath / XSLT that can be adapted for path processing in a relational engine, they are inadequate for the task of efficiently querying streamed XML data.
One obstacle in using the current XPath / XSLT technology in conjunction with a database engine is the mismatch between the tuple oriented model of the database engines and the node set model of the XPath processors.
Another issue with the state-of-the-art XPath processors is that they are designed to operate over an in-memory Document Object Model (DOM) or similar representation of the input XML document.
This approach does not work well when the documents are streamed, that is, when only certain fragments of the documents are available at query time.
A memory intensive XPath processor within a database engine can severely limit the number of users the system can support.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for querying XML streams
  • System and method for querying XML streams
  • System and method for querying XML streams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

1. System Overview

[0021]The present invention relates generally to processing mark-up language data. Accordingly, it should be understood that while the invention is described herein implemented in an XML (extensible mark-up language) environment, the invention could be implemented using any mark-up language. Referring now to the drawings, FIG. 1 depicts an XML stream querying system 10 that receives one or more XML queries 22 for querying XML data stream 24. XML stream querying system10 processes the XML data stream 24 in a single pass and generates result tuples 28 comprising a set of correlated XML fragments. XML stream querying system 10 may be implemented as a software program that can be run or executed on any type of computer system (not shown).

[0022]Each XML query 22 may be comprised of standard XQuery / XPath expressions so that compatibility is maintained with existing standards. Details describing the types of expressions supported by XML stream querying system 10 are discu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A system and method for querying a stream of XML data in a single pass using standard XQuery expressions. The system comprises: an expression parser that receives a query and generates a parse tree; a SAX events API that receives the stream of XML data and generates a stream of SAX events; an evaluator that receives the parse tree and stream of SAX events and buffers fragments from the stream of SAX events that meet an evaluation criteria; and a tuple constructor that joins fragments to form a set of tuple results that satisfies the query for the stream of XML data.

Description

REFERENCE TO PRIOR APPLICATION[0001]The current application is a continuation of co-pending U.S. Utility application Ser. No. 10 / 413,244, which was filed on 14 Apr. 2003, and which is hereby incorporated by reference.BACKGROUND OF THE INVENTION[0002]1. Technical Field[0003]The present invention relates generally to processing mark-up language data, and more specifically relates to a single pass system and method for querying streams of XML data.[0004]2. Related Art[0005]As XML (extensible mark-up language) continues to gain popularity as a format for storing, sharing, and manipulating data, new tools and systems are being introduced to increase its flexibility. One important feature necessary to provide robust XML data processing applications involves the ability to query XML data. More specifically, with the growing popularity of streamed applications over networks such as the Internet, facilities for efficiently querying streams of XML data will become more and more critical.[0006...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F7/06G06F17/30
CPCG06F17/30923G06F17/3061G06F16/83G06F16/30Y10S707/99942Y10S707/99933Y10S707/99943G06F16/835
Inventor FONTOURA, MARCUS F.JOSIFOVSLD, VANJA
Owner FONTOURA MARCUS F
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products