Efficient method of using XML value indexes without exact path information to filter XML documents for more specific XPath queries

US9430582B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9430582-B2
Application numberUS-201514605833-A
CountryUS
Kind codeB2
Filing dateJan 26, 2015
Priority dateOct 25, 2007
Publication dateAug 30, 2016
Grant dateAug 30, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A system and method is provided for query processing comprises: creating an index of a database and ordering a set of index candidates from the index into a list based on a set of heuristic rules. A query defining a query path is then reduced into a list of single path expressions. Each index candidate is matched against the list of single path expressions according to the ordering of the index candidates. The matched candidate nodes are also verified to insure that they satisfy the query path.

First claim

Opening claim text (preview).

We claim: 1. A method for query processing comprising: creating, via a processor, an index of a database; ordering, via the processor, a set of index candidates from the index into a list based on heuristic rules, wherein the heuristic rules reduce a matching cost for an index pattern via a preference for a matching without a descendant axis over a matching with a descendant axis and via a preference for a matching without a wildcard over a matching with a wildcard and via a preference for a pattern with greater number of steps than for a pattern with fewer number of steps, wherein determination of the matching with or without a descendant axis is performed prior to determination of the matching with or without a wildcard, and wherein the determination of the matching with or without a wildcard is performed prior to determination of whether a current pattern contains fewer steps than a previous pattern; and reducing, via the processor, a query defining a query path into a list of single path expressions. 2. The method of claim 1 wherein extra index candidates for inexact match are eliminated. 3. The method of claim 1 , wherein creating an index comprises creating an XML value index. 4. The method of claim 1 , wherein a candidate result set is reduced to an exact result set while verifying that each index candidate matched against a list of single path expressions satisfies a query path. 5. The method of claim 1 , wherein the matching comprises determining exact and inexact matches and determining when the inexact matches become exact matches. 6. A system for query processing, comprising: a memory; and a processor coupled to said memory, wherein said processor performs operations, said operations comprising: creating an index of a database; ordering a set of index candidates from the index into a list based on heuristic rules, wherein the heuristic rules reduce a matching cost for an index pattern via a preference for a matching without a descendant axis over a matching with a descendant axis and via a preference for a matching without a wildcard over a matching with a wildcard and via a preference for a pattern with greater number of steps than for a pattern with fewer number of steps, wherein determination of the matching with or without a descendant axis is performed prior to determination of the matching with or without a wildcard, and wherein the determination of the matching with or without a wildcard is performed prior to determination of whether a current pattern contains fewer steps than a previous pattern; and reducing a query defining a query path into a list of single path expressions. 7. The system of claim 6 wherein extra index candidates for inexact match are eliminated. 8. The system of claim 6 , wherein creating an index comprises creating an XML, value index. 9. The system of claim 6 , wherein a candidate result set is reduced to an exact result set while verifying that each index candidate matched against a list of single path expressions satisfies a query path. 10. The system of claim 6 , wherein the matching comprises determining exact and inexact matches and determining when the inexact matches become exact matches. 11. An article of manufacture for use in a computer system tangibly embodying computer instructions executable by said computer system to perform operations, the operations comprising: creating, via a processor, an index of a database; ordering, via the processor, a set of index candidates from the index into a list based on heuristic rules, wherein the heuristic rules reduce a matching cost for an index pattern via a preference for a matching without a descendant axis over a matching with a descendant axis and via a preference for a matching without a wildcard over a matching with a wildcard and via a preference for a pattern with greater number of steps than for a pattern with fewer number of steps, wherein determination of the matching with or without a descendant axis is performed prior to determination of the matching with or without a wildcard, and wherein the determination of the matching with or without a wildcard is performed prior to determination of whether a current pattern contains fewer steps than a previous pattern; and reducing, via the processor, a query defining a query path into a list of single path expressions. 12. The article of manufacture of claim 11 wherein extra index candidates for inexact match are eliminated. 13. The article of manufacture of claim 11 , wherein creating an index comprises creating an XML, value index. 14. The article of manufacture of claim 11 , wherein a candidate result set is reduced to an exact result set while verifying that each index candidate matched against a list of single path expressions satisfies a query path. 15. The article of manufacture of claim 11 , wherein the matching comprises determining exact and inexact matches and determining when the inexact matches become exact matches.

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9430582B2 cover?
A system and method is provided for query processing comprises: creating an index of a database and ordering a set of index candidates from the index into a list based on a set of heuristic rules. A query defining a query path is then reduced into a list of single path expressions. Each index candidate is matched against the list of single path expressions according to the ordering of the index…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/81. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 30 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).