# US 2010/0169384 A1 · Kstore data simulator directives and values processor process and files

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0169384 A1
- Document ID: US20100169384A1
- Status: Published application
- Kind: A1
- Application number: 12/319,037
- Filed: 2008-12-31
- Published: 2010-07-01
- Earliest claimed: 2008-12-31
- Assignees: Unisys Corporation
- Inventors: Jane C. Mazzagatti; Tony Phan
- Web page: https://patentgrep.com/patent/US20100169384A1

## CPC

- G06Q 10/04: Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem" (market predictions or forecasting for commercial activities G06Q30/0202)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The system of claim 1, wherein the at least one set of directives further comprise a set of column names.

### Claim 3 (depends on 1)

The system of claim 1, wherein the at least one set of directives further comprise a set of valid values for at least one of the fields of the records.

### Claim 4 (depends on 1)

The system of claim 1, wherein the set of probabilities comprises a plurality of percentages whose sum is less than 100%, wherein a remaining unspecified percentage of records generated are selected randomly from among a remaining unspecified set of valid values for the field.

### Claim 5 (depends on 1)

The system of claim 1, wherein the at least one set of directives are received from the command line.

### Claim 6 (depends on 1)

The system of claim 1, wherein the at least one set of directives are received from a scenario simulator processor.

### Claim 7 (depends on 1)

The system of claim 1, wherein the location to which the datastream are sent is a K Engine, wherein the K Engine creates a KStore from the datastream, 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 first 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.

### Claim 8

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.

### Claim 9 (depends on 8)

The method of claim 8, wherein the directives are received by a data simulator and wherein the data simulator generates the datastream of records.

### Claim 10 (depends on 8)

The method of claim 8, wherein the directives are received from a scenarios simulator processor, the scenarios simulator processor invoking one or more data simulators.

### Claim 11 (depends on 8)

The method of claim 8, wherein the directives are received from a command line.

### Claim 12 (depends on 8)

The method of claim 8, wherein the directives further comprise a set of valid values for at least one of the fields of the records and wherein the directives comprise a number of records to create in the related set of records wherein unchanged fields are constant within the set of related records.

### Claim 13 (depends on 8)

The method of claim 8, wherein the set of probabilities comprises a plurality of percentages whose sum is less than 100%, wherein a remaining unspecified percentage of records generated are selected randomly from among a remaining unspecified set of valid values for the field.

### Claim 14 (depends on 8)

The method of claim 8, wherein a KStore is generated from the datastream, 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 first 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, the KStore comprising a set of interlocking trees comprising a multi-rooted tree of asCase branches forming an asCase tree depending from a first root and asResult branches forming multiple asResult trees depending from multiple roots, wherein an asResult tree comprising a second root node linked to an end product leaf node of the asCase tree accesses the branches of the asCase tree terminating in end products, in inverted order.

### Claim 15

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.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, comprising further computer-readable instructions comprising:
receiving the directives from a scenarios simulator processor, the scenarios simulator processor invoking one or more data simulators.

### Claim 17 (depends on 15)

The computer-readable storage medium of claim 15, comprising further computer-readable instructions comprising:
receiving the directives from a command line.

### Claim 18 (depends on 16)

The computer-readable storage medium of claim 16, comprising further computer-readable instructions comprising:
receiving further directives comprising a set of valid values for at least one of the fields of the records and wherein the directives comprise a number of records to create in a related set of records wherein unchanged fields are constant within the set of related records.

### Claim 19 (depends on 15)

The computer-readable storage medium of claim 15, comprising further computer-readable instructions comprising:
receiving further directives comprising randomly selecting from among a remaining unspecified set of valid values for a remaining unspecified percentage of records when a sum of percentages specified in the set of probabilities is less than 100.

### Claim 20 (depends on 15)

The computer-readable storage medium of claim 15, comprising further computer-readable instructions comprising:
receiving further directives comprising one of a set of column names to be included in the records, a directive to include no column names in the records or a directive to generate a sequential name for the column names.
