XQuery-based query engine system

A query engine and sub-query technology, applied in the field of data integration platform implementation, to achieve the effect of improving query efficiency, good format and improving efficiency

Inactive Publication Date: 2010-03-10
TIANJIN UNIV
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This technology helps analyze large amounts of complex queries more efficiently than previous methods like analyzing SQL commands alone or performing statistical processing on them. It also allows users to easily extract specific types of values that may have similar properties but differed only slightly between two sources without repeating these operations again. Overall this improvement enables faster searching capabilities while maintaining accuracy.

Problems solved by technology

Technological Problem addressed in this patented technical solution describes how current XML search tools are unable to handle both structural complexity and richer types of data without sacrificing efficiency when analyzing them individually.

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
  • XQuery-based query engine system
  • XQuery-based query engine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The design of query engine system implemented by intermediary is as figure 1 Shown. The system includes a mediator and a wrapper. The mediator includes five modules. A lexical analysis module is used to split XQuery statements into tokens that carry attributes; a syntax analysis module is used to organize tokens. It is an abstract syntax tree; the normalization module is used to organize the syntax tree to produce a good-form syntax tree; the query decomposition module is used to traverse the syntax tree, generate sub-queries for the underlying data source, and call the corresponding wrapper ; The result processing module receives the query result from the wrapper, and returns the final query result to the user in XML form;

[0029] The operation of the lexical analysis module is that the lexical analysis uses the programming interface XQStaticContext provided by XQJ, that is, the static environment provided by XQJ for recording information such as variable or function def...

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

The invention discloses an XQuery-based query engine system comprising a mediator and a wrapper. The mediator comprises a lexical analysis module, a grammar analysis module, a normalization module, aquery decomposition module and a result processing module, wherein the lexical analysis module breaks the XQuery statement into a token carrying an attribute; the grammar analysis module organizes thetoken into an abstract syntax tree based on an XQuery grammar specification; the normalization module arranges the syntax tree to form a well-formed syntax tree; the query decomposition module traverses the syntax tree, generates a subquery with respect to an underlaying data source and transfers corresponding wrappers; and the result processing module receives a query result transmitted by the wrapper and returns the query result to a user in the form of XML. The wrapper comprises a relation-type data source wrapper and an XML data source wrapper, and receives the XQuery subquery which is transmitted from the mediator and converted into query language supported by the data source for underlaying data source query, and the final result is reconstructed into XML format and transmitted to the result processing module. The invention improves the query efficiency, ensures favorable structure of the query clause constructed by normalization of the abstract syntax tree and enhances the readability.

Description

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

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
Owner TIANJIN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products