# US 2021/0081408 A1 · Schema with methods specifying data rules, and method of use

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

- Number: US 2021/0081408 A1
- Document ID: US20210081408A1
- Status: Published application
- Kind: A1
- Application number: 16/570,814
- Filed: 2019-09-13
- Published: 2021-03-18
- Earliest claimed: 2019-09-13
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Jörg Schwan
- Web page: https://patentgrep.com/patent/US20210081408A1

## CPC

- G06F 16/211: {Schema design and management}
- G06F 16/2423: {Interactive query statement specification based on a database schema}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/24532: {of parallel queries}
- G06F 16/24565: {Triggers; Constraints}
- G06F 16/258: {Data format conversion from or to a database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An identifier of a data source specifying data is determined from a schema. The data source is called, and data to be analyzed is retrieved. From the schema, an identifier of a method is determined. The method associated with the identifier includes one or more rules. The method is called and used to determine data consistency with the one or more rules.

## Claims

### Claim 1

One or more computer-readable storage media:
computer-executable instructions capable of, from a schema comprising at least one data source identifier and at least one method identifier, determining a data source identifier of a data source specifying data;
computer-executable instructions capable of, from the schema, determining a method identifier of a method comprising one or more rules and a definition of data to be retrieved from a data source associated with the data source identifier;
computer-executable instructions capable of, from the definition of data in the method, determining data to be retrieved from the data source associated with the data source identifier, the determined data being less than all data of the data source associated with the data source identifier and being data to which the method associated with the method identifier will be applied;
computer-executable instructions capable of calling the data source associated with the data source identifier;
computer-executable instructions capable of, with the data source associated with the data source identifier, retrieving the determined data;
computer-executable instructions capable of calling the method associated with the method identifier;
computer-executable instructions capable of, with the method associated with the method identifier, determining whether the determined data complies with the one or more rules to provide results; and
computer-executable instructions capable of outputting the results.

### Claim 2 (depends on 1)

The one or more non-transitory computer-readable storage media of claim 1, the processing further comprising:
computer-executable instructions capable of determining data identifiers needed for the method; and
computer-executable instructions capable of providing the data identifiers to the data source;
wherein retrieving the determined data comprises retrieving data associated with the data identifiers.

### Claim 3 (depends on 2)

The one or more computer-readable storage media of claim 2, wherein the data identifiers comprise one or more data fields.

### Claim 4 (depends on 2)

The one or more computer-readable storage media of claim 2, wherein the data identifiers comprise one or more data collection type or data collection object.

### Claim 5 (depends on 1)

The one or more computer-readable storage media of claim 1, further comprising:
computer-executable instructions capable of retrieving customization information for the data source from the schema, the customization information comprising at least one data identifier;
wherein retrieving data to be analyzed comprises retrieving data associated with the at least one data identifier.

### Claim 6 (depends on 1)

The one or more computer-readable storage media of claim 1, further comprising:
computer-executable instructions capable of, from the schema, determining a data evaluator to be applied to retrieved date;
computer-executable instructions capable of calling the data evaluator; and
computer-executable instructions capable of applying the data evaluator to the retrieved data.

### Claim 7 (depends on 6)

The one or more computer-readable storage media of claim 6, wherein the data evaluator is stored in a library comprising a plurality of data evaluators.

### Claim 8 (depends on 1)

The one or more computer-readable storage media of claim 1, further comprising:
computer-executable instructions capable of determining that a datum does not satisfy a check method;
computer-executable instructions capable of preparing an error message; and
computer-executable instructions capable of writing the error message to a log.

### Claim 9 (depends on 8)

The one or more computer-readable storage media of claim 8, wherein writing the error message to a log comprising calling a method of a logger.

### Claim 10 (depends on 1)

The one or more computer-readable storage media of claim 1, further comprising:
computer-executable instructions capable of determining that a datum does not satisfy a method;
computer-executable instructions capable of generating an alert indicating the method has not been satisfied; and
computer-executable instructions capable of transmitting the alert.

### Claim 11 (depends on 1)

The one or more computer-readable storage media of claim 1, wherein the data source specifies operations associated with executing the schema to be carried out in parallel.

### Claim 12 (depends on 1)

The one or more computer-readable storage media of claim 1, wherein the data source is stored in a library comprising a plurality of data sources.

### Claim 13 (depends on 1)

The one or more computer-readable storage media of claim 1, wherein the method is stored in a library comprising a plurality of methods.

### Claim 14 (depends on 1)

The one or more computer-readable storage media of claim 1, further comprising:
computer-executable instructions capable of determining a method execution sequence.

### Claim 15

A computing system that implements a data analysis schema processing system, the computing system comprising:
memory;
one or more processing units coupled to the memory; and
one or more computer readable storage media storing instructions that, when loaded into the memory, cause the one or more processing units to perform operations for:
receiving user input selecting an identifier of at least one data source from a library of data sources to be included in a schema;
storing the identifier of the selected data source in the schema;
displaying to a user a plurality of method identifiers from a library of methods, methods of the library configured to check consistency of the data with one or more rules specified in the method;
receiving user input selecting at least one method identifier from the library of methods to be included in the schema;
storing the identifier of the selected method in the schema; and
storing the schema.

### Claim 16 (depends on 15)

The computing system of claim 15, the executing further comprising:
determining data identifiers used in the method;
wherein retrieving data from the selected data source comprises retrieving data corresponding to the data identifiers.

### Claim 17 (depends on 15)

The computing system of claim 15, the operations further comprising:
receiving user input selecting an identifier of at least one data evaluator from a library of data evaluators to be included in the schema; and
storing the at least one selected data evaluator identifier in the schema.

### Claim 18 (depends on 15)

The computing system of claim 15, the operations further comprising:
executing the schema, the executing comprising:
retrieving data from the data source associated with the stored identifier of the selected data source; and
applying the stored method to the retrieved data.

### Claim 19 (depends on 15)

The computing system of claim 15, further comprising receiving user input specifying an execution order for a plurality of methods in the schema.

### Claim 20

In a computing system comprising a memory and one or more processors, a method of executing a schema, the schema comprising an identifier of at least one data source and method identifiers of respective methods of a plurality of methods, the method of executing the schema comprising:
from the schema, determining an identifier of a data source specifying data;
from the schema, determining a first identifier of a first method;
accessing the first method associated with the first method identifier;
from the first method, determining data specified for the first method;
calling the data source associated with the identifier of the data source;
sending a request from the data source associated with the identifier of the data source for the data specified by the first method;
with the data source associated with the identifier of the data source, retrieving the data specified by the first method;
calling the methods specified in the schema in a sequence specified in the schema; and
with the methods specified in the schema, analyzing the data for consistency with one or more rules specified in the methods specified in the schema.
