×

Query pruning using interior rectangles in an R-tree index

  • US 7,080,065 B1
  • Filed: 06/22/2001
  • Issued: 07/18/2006
  • Est. Priority Date: 06/22/2001
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method for determining relationships among objects represented in a database, the method comprising the steps of:

  • receiving a query including at least a first geometry and a desired relationship between the first geometry and a second geometry;

    providing the query to a primary filter operable to;

    define at least one interior rectangle that lies entirely within the first geometry;

    define a minimum bounding rectangle for the first geometry;

    define a minimum bounding rectangle for the second geometry; and

    compare the minimum bounding rectangle for the first geometry with the minimum bounding rectangle for the second geometry to determine if the second geometry fulfills a primary filter condition comprising an interaction of the first geometry and the second geometry;

    if the second geometry fulfills the primary filter condition, providing the first geometry and the second geometry to an intermediate filter operable to;

    determine whether the second geometry fulfills an intermediate filter condition comprising an interaction of the at least one interior rectangle within the first geometry and the minimum bounding rectangle for the second geometry by analyzing the distribution of the minimum bounding rectangle for the second geometry with respect to the at least one interior rectangle within the first geometry;

    if the second geometry is confirmed as fulfilling the intermediate filter condition, including the second geometry in a final result set of objects that satisfy the desired relationship;

    if the second geometry is confirmed as deviating from the intermediate filter condition, excluding the second geometry from the final result set that satisfy the desired relationship;

    otherwise, providing the first geometry and the second geometry to a secondary filter operable to;

    determine whether the second geometry fulfills a secondary filter condition by comparing the second geometry with the first geometry; and

    if the second geometry fulfills the secondary filter condition, including the second geometry in the final result set of objects that satisfy the desired relationship.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×