Validation of priority queue processing
First Claim
1. A method for validating a priority queue, comprising:
- assigning a plurality of priority queue operations comprising insertions and extractions into a plurality of epochs, wherein each of the insertions and each of the extractions is associated with a corresponding priority;
maintaining a set of variables, including at least two variables for each of the plurality of epochs, to record information indicative of insertions and extractions assigned to corresponding epochs; and
validating correct operation of the priority queue based on the set of variables,wherein the plurality of priority queue operations includes N operations and wherein the assigning of the plurality of priority queue operations results in R epochs wherein R is proportional to a square root of N.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for validating outsourced processing of a priority queue includes configuring a verifier for independent, single-pass processing of priority queue operations that include insertion operations and extraction operations and priorities associated with each operation. The verifier may be configured to validate N operations using a memory space having a size that is proportional to the square root of N using an algorithm to buffer the operations as a series of R epochs. Extractions associated with each individual epoch may be monitored using arrays Y and Z. Insertions for the epoch k may monitored using arrays X and Z. The processing of the priority queue operations may be verified based on the equality or inequality of the arrays X, Y, and Z. Hashed values for the arrays may be used to test their equality to conserve storage requirements.
-
Citations
18 Claims
-
1. A method for validating a priority queue, comprising:
-
assigning a plurality of priority queue operations comprising insertions and extractions into a plurality of epochs, wherein each of the insertions and each of the extractions is associated with a corresponding priority; maintaining a set of variables, including at least two variables for each of the plurality of epochs, to record information indicative of insertions and extractions assigned to corresponding epochs; and validating correct operation of the priority queue based on the set of variables, wherein the plurality of priority queue operations includes N operations and wherein the assigning of the plurality of priority queue operations results in R epochs wherein R is proportional to a square root of N. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for validating a priority queue, the system comprising:
-
a processor; and memory storing instructions which when executed cause the processor to perform operations comprising; assigning a plurality of priority queue operations comprising insertions and extractions into a plurality of epochs, wherein each of the insertions and each of the extractions is associated with a corresponding priority; maintaining a set of variables, including at least two variables for each of the plurality of epochs, to record information indicative of insertions and extractions assigned to corresponding epochs; and validating correct operation of the priority queue based on the set of variables, wherein the plurality of priority queue operations includes N operations and wherein the assigning of the plurality of priority queue operations results in R epochs wherein R is proportional to a square root of N. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A memory storing instructions, which when executed by a processor, cause the processor to perform operations comprising:
-
assigning a plurality of priority queue operations comprising insertions and extractions into a plurality of epochs, wherein each of the insertions and each of the extractions is associated with a corresponding priority; maintaining a set of variables, including at least two variables for each of the plurality of epochs, to record information indicative of insertions and extractions assigned to corresponding epochs; and validating correct operation of the priority queue based on the set of variables, wherein the plurality of priority queue operations includes N operations and wherein the assigning of the plurality of priority queue operations results in R epochs wherein R is proportional to a square root of N. - View Dependent Claims (15, 16, 17, 18)
-
Specification