Index-Based XML Query Evaluation via Descriptive Catalog

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current database systems are inefficient in handling complex XPath queries for XML documents, leading to resource-intensive keyword searches that are not as effective as relational DBMS searches for structured data.

Innovation Solution

The system represents a markup language document as a descriptive catalog and captures relationships as an index summary, enabling efficient evaluation of path-based queries through an index-based methodology.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If keyword searches are used to search XML data, then the search can be performed on semi-structured data, but the search is resource-intensive and inefficient

Engineering Contradiction:
Improveability to search semi-structured XML dataVSAvoidsearch efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent pre-processes XML documents by constructing indexes during document parsing and storage. These indexes capture the hierarchical structure, element names, attributes, and text content of XML elements. When a query is executed, the pre-built indexes enable efficient retrieval without scanning the entire document, thus resolving the contradiction between handling semi-structured data and maintaining search efficiency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediate indexing layer between the XML storage and query processing. This indexing mechanism translates semi-structured XML data into a structured format that can be efficiently queried using SQL-like syntax. The index serves as a mediator that enables relational database operations on XML data without requiring full document scans, thereby improving productivity while maintaining adaptability

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If XPath queries are evaluated without indexes, then the queries can operate on the logical structure of XML documents, but the evaluation is resource-intensive

Engineering Contradiction:
ImproveXPath query capabilityVSAvoidquery processing resources
Core Design Contradiction:
Ease of operationVSUse of energy by moving object

Solution Approach 1:

The system pre-computes and stores index structures that represent the XPath navigable hierarchy of XML documents during document ingestion. These indexes cache element paths, attribute values, and text content in a format optimized for XPath evaluation. When XPath queries are executed, the pre-computed indexes enable rapid pattern matching and node selection without traversing the entire document tree, thus reducing resource consumption while maintaining full XPath functionality

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates simplified copies of XML document structures in the form of indexes that preserve the hierarchical and navigational properties needed for XPath queries. These index copies store essential information (element names, paths, attributes, text) in a compact, query-optimized format. The XPath engine queries these copies rather than the original documents, significantly reducing processing resources while maintaining query accuracy and functionality

Inventive Principle:
Principle #26Copying

3Measurement precision

If full XML documents are scanned for query evaluation, then accurate results can be obtained, but the processing time increases significantly

Engineering Contradiction:
Improvequery result accuracyVSAvoidquery processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts and isolates only the necessary portions of XML documents into index structures during pre-processing. The indexes contain curated information (element identifiers, paths, attributes, text content) that is sufficient for query evaluation. When queries are executed, the system queries these extracted index portions rather than scanning full documents, obtaining accurate results while dramatically reducing processing time by excluding irrelevant document portions from the search

Inventive Principle:
Principle #2Taking out (Extraction)

4Ease of manufacture

If XML data is stored in plain text format, then the data can be easily transmitted and stored, but the data cannot be easily searched in database systems

Engineering Contradiction:
Improvedata transmission and storage simplicityVSAvoidsearchability in database systems
Core Design Contradiction:
Ease of manufactureVSEase of operation

Solution Approach 1:

The system performs preliminary transformation of plain text XML data into structured index formats during the data ingestion phase. The indexing process parses the XML text, identifies elements, attributes, and text content, and organizes this information into database-friendly structures. This pre-processing enables subsequent database operations (searching, filtering, joining) on XML data while the original plain text format remains preserved for transmission and storage purposes

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary indexing layer that bridges plain text XML storage and database system queries. The index structures serve as a translation layer, converting unstructured XML text into a format that database engines can efficiently process. This mediator enables database systems to search and manipulate XML data using standard SQL operations without requiring the XML to be stored in complex nested formats, thus maintaining ease of storage while improving searchability

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS8983931B2Index-based evaluation of path-based queries
Publication Date: 2015.03.17 SYBASE INC
  • US8983931B2 patent drawing
  • US8983931B2 patent drawing
  • US8983931B2 patent drawing

AI summary

Systems, methods, and computer program product embodiments are provided for path-based query evaluation. The embodiments include representing a markup language document as a descriptive catalog, and capturing relationships in the descriptive catalog as an index summary. The index summary is utilized for evaluating a path-based query.