IP Library Granted Patent US 8,412,714
Granted Patent B2
US 8,412,714 · App. 11/073,966 · Granted Apr 2, 2013

Adaptive processing of top-

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,412,714
App. No.
11/073,966
Granted
Apr 2, 2013
Kind
B2
Abstract

A method of adaptively evaluating a top-k query involves ( 1204 ) forming a servers having respective server queues storing candidate answers, processing ( 1322 ) the candidate answers, and ( 1232 ) providing a top-k set as a query evaluation. Processing includes ( 1402 ) adaptively choosing a winning server to whose queue a current candidate answer should be sent; ( 1404 ) sending the current candidate answer to the winning server's queue; ( 1334 ) adaptively choosing a next candidate answer to process from the winning server's queue; ( 1336 ) computing a join between the current candidate answer and next candidate answers at the winning server, so as to produce a new current candidate answer; and ( 1338 ) updating the top-k set with the new current candidate answer only if a score of the new current candidate answer exceeds a score of a top-k answer in a top-k set. A method of calculating scores for candidate answers is also provided.

Claims (44)

1. A method of adaptively evaluating a top-k query with respect to a document, the method comprising:

relaxing an original query to form a relaxed query, the original query comprising a tree structure having a plurality of query nodes;

based on the relaxed query, forming a plurality of servers, each server corresponding to a respective query node in the tree structure and having a respective server queue configured to store candidate answers that constitute one of partial answers and final answers;

processing the candidate answers in the server queues by steps including:

adaptively choosing a winning server, from the plurality of servers, that is likely to produce fewest candidate answers after pruning against a top-k set and to whose queue a current candidate answer should be sent;

sending the current candidate answer to the winning server's queue;

adaptively choosing a next candidate answer to process from among candidate answers in the winning server's queue by selecting an answer with a maximum possible next score, the maximum possible next score determined by adding a current score of the answer to a maximum possible score the answer could receive from its current server;

computing a join between the current candidate answer and next candidate answers at the winning server, so as to produce a new current candidate answer; and

updating the top-k set with the new current candidate answer only if a score of the new current candidate answer exceeds a score of a top-k answer in a top-k set; and

providing the top-k set as an evaluation of the top-k query;

wherein the candidate answers include fragments of the document that are less than the entire document and the score of each candidate answer is calculated by calculating scores of progressively smaller fragments of the query that are matched by each candidate answer to be correspondingly smaller scores, the candidate answers including a complete answer to the relaxed query and satisfying all requirements of the relaxed query but satisfying less than all requirements of the original query.

2. The method of claim 1 , wherein:

the document is expressed in a nested-structure, document-specific markup language; and

the query further comprises:

links that are associated with join conditions that define relationships among the query nodes as being children, parents, ancestors or descendants of each other; and

a query root node that represents answers to be returned.

3. The method of claim 2 , wherein:

the nested-structure, document-specific markup language is extensible markup language.

4. The method of claim 1 , wherein:

the answers include a complete answer to an original, non-relaxed query, satisfying all requirements of the original query.

5. The method of claim 1 , wherein:

the original query is expressed as an original query tree;

the relaxed query is expressed as a relaxed query tree;

the relaxing includes removing from the original query, a requirement that a leaf node must be found in the input document; and

the relaxing includes preserving a shape of the original query tree while forming the relaxed query tree to have no more nodes than the original query tree.

6. The method of claim 1 , wherein:

the original query is expressed as an original query tree;

the relaxed query is expressed as a relaxed query tree;

the relaxing includes removing from the original query, a requirement, in a relationship between an ancestor node and a descendant node, that an intermediate node between the ancestor node and the descendant node be included in the relationship; and

the relaxing includes preserving a shape of the original query tree while forming the relaxed query tree to have no more nodes than the original query tree.

7. The method of claim 1 , wherein:

the original query is expressed as an original query tree;

the relaxed query is expressed as a relaxed query tree;

the relaxing includes replacing in the original query, a child relationship between an ancestor node and a descendant node by a descendant relationship between the two nodes; and

the relaxing includes preserving a shape of the original query tree while forming the relaxed query tree to have no more nodes than the original query tree.

8. A method of adaptively evaluating a query with respect to a document that is expressed in a nested-structure, document-specific markup language, the method comprising:

receiving an original query that is expressed as a tree having a degree d≧3, the tree including query nodes and links that define relationships among the query nodes as being parents, children, ancestors or descendants of each other;

relaxing the original query to form a relaxed query;

calculating scores for respective candidate answers that include one of partial answers and final answers, the candidate answers including a complete answer to the relaxed query and satisfying all requirements of the relaxed query but satisfying less than all requirements of the original query, a score including:

a first portion determined by how many children or descendants a first node has, that are at a given level beneath the first node and that satisfy a first query requirement for that given level; and

a second portion determined by what fraction of all a second node's children or descendants at a predetermined level, satisfy a second query requirement for that second node; and

applying the scores to govern a processing order of the candidate answers to arrive at an evaluation of the query wherein the score is directly proportional to a mathematical product of the first portion and the second portion, the candidate answers include fragments of the document that are less than the entire document, and a next candidate answer to process from among the candidate answers is chosen by selecting an answer with a maximum possible next score, the maximum possible next score determined by adding a current score of the answer to a maximum possible score the answer could receive from its current server;

the calculating further comprising:

calculating scores for respective candidate answers comprises calculating scores of progressively smaller fragments of the query that are matched by a candidate answer to be correspondingly smaller scores.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 26, 2009
From: AT&T PROPERTIES, LLC
To: AT&T INTELLECTUAL PROPERTY II, L.P.
Reel/Frame 022885/0320 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 19, 2005
From: KOUDAS, NIKOLAOS
To: AT&T CORP.
Reel/Frame 016545/0121 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 19, 2005
From: AMER-YAHIA, SIHEM; MARIAN-GUERRIER, AMELIE; SRIVASTAVA, DIVESH
To: AT&T CORP.
Reel/Frame 016253/0969 →