Kstore data simulator directives and values processor process and files
AssigneeUnisys Corporation
InventorsJane C. Mazzagatti, Tony Phan
Life of this patent
Estimating the term…
Abstract
A data simulator receives a set of directives specified in a file and creates one or more datastreams from which a data structure may be built as specified by the directives. The directives may specify configuration settings, constants, changing fields, values and probabilities.
Claims20
A system for specifying directives comprising:
- a data simulator executing on a computer, wherein the data simulator receives at least one set of directives for generating scenario data and generates at least one datastream of records as specified by the at least one set of directives, wherein the at least one set of directives comprise:
- a set of configuration settings comprising:
- a number of datastreams to be generated;
- a location to which each of the datastreams are sent;
- one or more sets of constants to be inserted in each record based on a key value;
- a list of fields that change within a set of related records generated according to the at least one set of directives;
- and
- a set of probabilities, wherein the set of probabilities comprise at least one percentage, the at least one percentage specifying a proportion of the set of related records wherein a field in the set of related records comprises a particular specified value.
A method of generating scenario data within a programmable processing system, the method comprising:
- receiving directives comprising:
- configuration directives comprising a number of fields in a record, a number of threads to be initiated for generating the scenario data and a location to send the scenario data;
- constants directives, wherein constants directives comprise constant data to be inserted in each record in a datastream, the constant data based on a key value of an indicated field;
- change directives, wherein change directives list fields that change within a set of a specified number of related records;
- value directives, wherein value directives provide valid values for at least one field in the record;
- probabilities directives, wherein a set of probabilities directives comprise at least one percentage, the percentage specifying a proportion of the set of related records wherein a field in the set of related records comprises a particular value;
- and
- generating a datastream of records in accordance with the received directives.
A computer-readable storage medium including digitally encoded data readable by a processing system comprising directives to a data simulator, the data simulator generating scenario data based on the directives, the directives comprising:
- configuration directives comprising a number of fields in a record, a number of threads to be initiated for generating the scenario data and a location to send the scenario data;
- constants directives, wherein constants directives comprise constant data to be inserted in each record in a datastream, the constant data based on a key value of an indicated field;
- change directives, wherein change directives list fields that change within set a specified number of related records;
- value directives, wherein value directives provide valid values for at least one field in the record;
- probabilities directives, wherein a set of probabilities directives comprise at least one percentage, the percentage specifying a proportion of the set of related records wherein a field in the set of related records comprises a particular value;
- and
- a KStore comprising root nodes and non-root nodes organized into a plurality of connected trees, the plurality of connected trees comprising a tree of a first type comprising a first root and at least one of a plurality of non-root nodes and at least one of a plurality of trees of a second type, wherein the second tree type comprises a second root node and a plurality of non-root nodes common with the nodes of the tree of the firs type, wherein the nodes of the datastore include at least one elemental node, one subcomponent node and one end product node and wherein the at least one elemental node comprises a first null pointer, a second null pointer, a third null pointer and a fourth pointer pointing to a second list of pointers to nodes, the second list comprising nodes which include the elemental node as their second portion.
Dependencies are inferred from the claim text.