Interval tree for identifying intervals that intersect with a query interval
First Claim
Patent Images
1. A method, comprising:
- scheduling a task for a software application that manages a plurality of tasks by processing program code on a processing unit to perform the following;
performing a read operation on a cache and/or database at a region of said cache and/or database where information contained at node of an interval tree is stored, said information comprising first and second interval keys, a pointer and an interval, said first and second interval keys having corresponding first and second intervals, said pointer pointing to a lower node having lower interval keys, each of said lower interval keys having corresponding intervals that either;
a) all start within a range between said first interval'"'"'s start and said second interval'"'"'s start;
or,b) all end within a range between said first interval'"'"'s end and said second interval'"'"'s end;
wherein said interval identifies the earliest start and latest end amongst all intervals having keys at or beneath said node within said interval tree;
determining if intervals associated with interval keys of said node and/or said node'"'"'s children have the potential to intersect a query interval by determining if said query interval overlaps said interval, wherein, said potential to intersect is deemed to exist if said query interval overlaps said interval;
looking amongst said intervals for an intersection with said query interval if said potential to intersect is deemed to exist, or, referring to another node that is higher than said node within said interval tree if said potential to intersect is deemed not to exist; and
,scheduling said task because other scheduled tasks do not conflict with said task over said query interval, said scheduled task recorded in a machine readable storage medium.
2 Assignments
0 Petitions
Accused Products
Abstract
A method operable with a computing system is described for identifying which time interval keys within an interval tree intersect with a query interval. The method comprises accessing information from a node of the interval tree. The node comprises a time interval that identifies the earliest start time and latest end time amongst all time interval keys at or beneath the node within the interval tree. The method also comprises determining if one or more of the node'"'"'s children have the potential to intersect a query interval based upon the time interval.
-
Citations
30 Claims
-
1. A method, comprising:
scheduling a task for a software application that manages a plurality of tasks by processing program code on a processing unit to perform the following; performing a read operation on a cache and/or database at a region of said cache and/or database where information contained at node of an interval tree is stored, said information comprising first and second interval keys, a pointer and an interval, said first and second interval keys having corresponding first and second intervals, said pointer pointing to a lower node having lower interval keys, each of said lower interval keys having corresponding intervals that either; a) all start within a range between said first interval'"'"'s start and said second interval'"'"'s start;
or,b) all end within a range between said first interval'"'"'s end and said second interval'"'"'s end; wherein said interval identifies the earliest start and latest end amongst all intervals having keys at or beneath said node within said interval tree; determining if intervals associated with interval keys of said node and/or said node'"'"'s children have the potential to intersect a query interval by determining if said query interval overlaps said interval, wherein, said potential to intersect is deemed to exist if said query interval overlaps said interval; looking amongst said intervals for an intersection with said query interval if said potential to intersect is deemed to exist, or, referring to another node that is higher than said node within said interval tree if said potential to intersect is deemed not to exist; and
,scheduling said task because other scheduled tasks do not conflict with said task over said query interval, said scheduled task recorded in a machine readable storage medium. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. An article of manufacture storing program code which, when processed by a machine, causes the machine to perform a method, the method comprising:
scheduling a task for a software application that manages a plurality of tasks by processing program code on a processing unit to perform the following; performing a read operation on a cache and/or database at a region of said cache and/or database where information contained at node of an interval tree is stored, said information comprising first and second interval keys, a pointer and an interval, said first and second interval keys having corresponding first and second intervals, said pointer pointing to a lower node having lower interval keys, each of said lower interval keys having corresponding intervals that either; a) all start within a range between said first interval'"'"'s start and said second interval'"'"'s start;
or,b) all end within a range between said first interval'"'"'s end and said second interval'"'"'s end; wherein said interval identifies the earliest start and latest end amongst all intervals having keys at or beneath said node within said interval tree; and
,determining if intervals associated with interval keys of said node and/or said node'"'"'s children have the potential to intersect a query interval by determining if said query interval overlaps said interval, wherein, said potential to intersect is deemed to exist if said query interval overlaps said interval; looking amongst said intervals for an intersection with said query interval if said potential to intersect is deemed to exist, or, referring to another node that is higher than said node within said interval tree if said potential to intersect is deemed not to exist; and
,scheduling said task because other scheduled tasks do not conflict with said task over said query interval, said scheduled task recorded in a machine readable storage medium. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
21. A computing system comprising:
-
a processing unit; program code stored on a machine readable storage medium, said program code capable of being executed by said processing unit to perform a method, said method comprising; scheduling a task for a software application that manages a plurality of tasks by processing program code on a processing unit to perform the following; performing a read operation on a cache and/or database at a region of said cache and/or database where information contained at node of an interval tree is stored, said information comprising first and second interval keys, a pointer and an interval, said first and second interval keys having corresponding first and second intervals, said pointer pointing to a lower node having lower interval keys, each of said lower interval keys having corresponding intervals that either; a) all start within a range between said first interval'"'"'s start and said second interval'"'"'s start;
or,b) all end within a range between said first interval'"'"'s end and said second interval'"'"'s end; wherein said interval identifies the earliest start and latest end amongst all intervals having keys at or beneath said node within said interval tree; and
,determining if intervals associated with interval keys of said node and/or said node'"'"'s children have the potential to intersect a query interval by determining if said query interval overlaps said interval, wherein, said potential to intersect is deemed to exist if said query interval overlaps said interval; looking amongst said intervals for an intersection with said query interval if said potential to intersect is deemed to exist, or, referring to another node that is higher than said node within said interval tree if said potential to intersect is deemed not to exist; and
,scheduling said task because other scheduled tasks do not conflict with said task over said query interval, said scheduled task recorded in a machine readable storage medium. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification