Data selection
First Claim
Patent Images
1. A computer-implemented data selection method comprising:
- receiving first data representative of program code comprising a plurality of database operations to be performed on a database;
generating, by a computer processor, second data representative of a sequence of operations encounterable in an execution of the program code, the sequence of operations comprising at least one of the database operations;
determining a set of operands operated on by the sequence of operations encounterable in the execution of the program code;
selecting third data from the database, wherein the third data comprises a randomly selected subset of the set of operands operated on by the sequence of operations encounterable in the execution of the program code;
executing the sequence of operations using the selected third data as an operand for the at least one of the database operations;
establishing an entry point into said program code;
generating fourth data representative of each sequence of operations encounterable in the execution of said program code starting from said entry point;
wherein generating said second data comprises selecting said second data from said fourth data;
establishing, for a parameter used in an operation belonging to a first sequence of operations represented by said fourth data, a value of said parameter at said entry point; and
establishing, using said value, a collection of values of said parameter encounterable in an execution of at least one of said first sequence of operations represented by said fourth data to which said operation belongs;
wherein selecting said third data uses said collection of values.
1 Assignment
0 Petitions
Accused Products
Abstract
In an exemplary embodiment of this disclosure, a data selection method may include receiving first data representative of program code having a plurality of database operations. Second data is generated and is representative of a sequence of operations encounterable in an execution of the program code, where the sequence of operations includes at least one of the database operations. A third data is selected from a database, by using the second data.
23 Citations
9 Claims
-
1. A computer-implemented data selection method comprising:
-
receiving first data representative of program code comprising a plurality of database operations to be performed on a database; generating, by a computer processor, second data representative of a sequence of operations encounterable in an execution of the program code, the sequence of operations comprising at least one of the database operations; determining a set of operands operated on by the sequence of operations encounterable in the execution of the program code; selecting third data from the database, wherein the third data comprises a randomly selected subset of the set of operands operated on by the sequence of operations encounterable in the execution of the program code; executing the sequence of operations using the selected third data as an operand for the at least one of the database operations; establishing an entry point into said program code; generating fourth data representative of each sequence of operations encounterable in the execution of said program code starting from said entry point; wherein generating said second data comprises selecting said second data from said fourth data; establishing, for a parameter used in an operation belonging to a first sequence of operations represented by said fourth data, a value of said parameter at said entry point; and establishing, using said value, a collection of values of said parameter encounterable in an execution of at least one of said first sequence of operations represented by said fourth data to which said operation belongs; wherein selecting said third data uses said collection of values. - View Dependent Claims (2, 3)
-
-
4. A data selection system comprising:
-
a data receiver configured to receive first data representative of program code comprising a plurality of database operations to be performed on a database; a data generator configured to generate, by a computer processor of the data selection system, second data representative of a sequence of operations encounterable in an execution of the program code, the sequence of operations comprising at least one of the database operations; a data selector configured to determine a set of operands operated on by the sequence of operations encounterable in the execution of the program code, and to select third data from the database, wherein the third data comprises a randomly selected subset of the set of operands operated on by the sequence of operations encounterable in the execution of the program code; an operation sequence executor configured to execute the sequence of operations using the selected third data as an operand for the at least one of the database operations; an entry point establisher configured to establish an entry point into said program code; wherein said data generator generates fourth data representative of each sequence of operations encounterable in execution of said program code starting from said entry point; wherein said generating of second data comprises selecting said second data from said fourth data; a value establisher configured to establish, for a parameter used in an operation belonging to a first sequence of operations represented by said fourth data, a value of said parameter at said entry point; and a collection establisher configured to establish, using said value, a collection of values of said parameter encounterable in an execution of at least one of said first sequence of operations represented by said fourth data to which said operation belongs; wherein said data selector uses said collection of values for said selection of third data. - View Dependent Claims (5, 6)
-
-
7. A computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied thereon, the computer readable program code executable by a processor to perform a method comprising:
-
receiving first data representative of program code comprising a plurality of database operations to be performed on a database; generating second data representative of a sequence of operations encounterable in an execution of the program code, the sequence of operations comprising at least one of the database operations; determining a set of operands operated on by the sequence of operations encounterable in the execution of the program code; selecting third data from the database, wherein the third data comprises a randomly selected subset of the set of operands operated on by the sequence of operations encounterable in the execution of the program code; executing the sequence of operations using the selected third data as an operand for the at least one of the database operations; establishing an entry point into said program code; generating fourth data representative of each sequence of operations encounterable in the execution of said program code starting from said entry point; wherein generating said second data comprises selecting said second data from said fourth data; establishing, for a parameter used in an operation belonging to a first sequence of operations represented by said fourth data, a value of said parameter at said entry point; and establishing, using said value, a collection of values of said parameter encounterable in an execution of at least one of said first sequence of operations represented by said fourth data to which said operation belongs; wherein selecting said third data uses said collection of values. - View Dependent Claims (8, 9)
-
Specification