# US 2021/0263832 A1 · Method for verifying software

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

- Number: US 2021/0263832 A1
- Document ID: US20210263832A1
- Status: Published application
- Kind: A1
- Application number: 17/176,994
- Filed: 2021-02-16
- Published: 2021-08-26
- Earliest claimed: 2020-02-24
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Alexander Stratz; Mario Koenigshofer
- Web page: https://patentgrep.com/patent/US20210263832A1

## CPC

- G06F 11/3608: {using formal methods, e.g. model checking, abstract interpretation (theorem proving G06N5/013)}
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 8/75: Structural analysis for program understanding
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for verifying an operating software block. The operating software block to be verified is defined based on an operating software. Function inputs and outputs corresponding to the operating software block are ascertained. A multi-dimensional parameter space is defined, each dimension of which corresponding to a function input of the operating software block. Input data tuples are formed based on predetermined rules, which correspond to points within specifiable limits of the parameter space. The operating software block is executed using the input data tuples in order to obtain output data, so that for every function output a dependency on the input data of the function inputs is ascertained. The dependency of the function outputs is compared with a specified standard dependency. A reaction is initiated based on a deviation between the dependency of a function output and the standard dependency.

## Claims

### Claim 1

A method for verifying an operating software block, which includes function inputs and function outputs and which is configured to ascertain output data based on input data representing physical parameters for the function inputs, the method comprising the following steps:
defining the operating software block that is to be verified based on an operating software;
ascertaining the function inputs corresponding to the operating software block;
ascertaining the function outputs corresponding to the operating software block;
defining a multi-dimensional parameter space, each dimension of the multi-dimensional parameter space corresponding to a respective one of the function inputs of the operating software block;
forming input data tuples based on predetermined rules, which correspond to points within specifiable limits of the parameter space;
executing the operating software block entries of the input data tuples to obtain output data, so that for every function output of the function outputs, a dependency on the input data of the function inputs is ascertained;
comparing the dependency of the function outputs with a specified standard dependency; and
initiating a reaction based on a deviation between the dependency of a function output of the function outputs and the standard dependency.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein the operating software block is an operating software block of a motor vehicle and the output data represent control variables for actuators of the motor vehicle.

### Claim 3 (depends on 1)

The method as recited in claim 1, wherein the operating software block to be verified is extracted from the operating software by using a source text analysis.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein all of the function inputs, which correspond to the operating software block, and all of the function outputs, which correspond to the operating software block, are ascertained.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein the rules for forming the input data tuples provide for an equidistant distribution of points within specifiable limits of the parameter space.

### Claim 6 (depends on 5)

The method as recited in claim 5, wherein the rules for forming the input data tuples provide for distributing the points within specifiable limits of the parameter space based on a Gaussian distribution.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein for ascertaining the dependency of the function outputs on the input data of the function inputs, the output data is modeled.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein the specified standard dependency is taken from a set of regulations.

### Claim 9 (depends on 2)

The method as recited in claim 2, wherein the standard dependency is ascertained from operating data of comparison vehicles.

### Claim 10

A device configured to verify an operating software block, which includes function inputs and function outputs and which is configured to ascertain output data based on input data representing physical parameters for the function inputs, the device configured to:
define the operating software block that is to be verified based on an operating software;
ascertain the function inputs corresponding to the operating software block;
ascertain the function outputs corresponding to the operating software block;
define a multi-dimensional parameter space, each dimension of the multi-dimensional parameter space corresponding to a respective one of the function inputs of the operating software block;
form input data tuples based on predetermined rules, which correspond to points within specifiable limits of the parameter space;
execute the operating software block entries of the input data tuples to obtain output data, so that for every function output of the function outputs, a dependency on the input data of the function inputs is ascertained;
compare the dependency of the function outputs with a specified standard dependency; and
initiate a reaction based on a deviation between the dependency of a function output of the function outputs and the standard dependency.

### Claim 11

A non-transitory computer-readable storage medium on which is stored a computer program for verifying an operating software block, which includes function inputs and function outputs and is configured to ascertain output data based on input data representing physical parameters for the function inputs, the computer program, when executed by a processing unit, causing the processing unit to perform the following steps:
defining the operating software block that is to be verified based on an operating software;
ascertaining the function inputs corresponding to the operating software block;
ascertaining the function outputs corresponding to the operating software block;
defining a multi-dimensional parameter space, each dimension of the multi-dimensional parameter space corresponding to a respective one of the function inputs of the operating software block;
forming input data tuples based on predetermined rules, which correspond to points within specifiable limits of the parameter space;
executing the operating software block entries of the input data tuples to obtain output data, so that for every function output of the function outputs, a dependency on the input data of the function inputs is ascertained;
comparing the dependency of the function outputs with a specified standard dependency; and
initiating a reaction based on a deviation between the dependency of a function output of the function outputs and the standard dependency.

### Claim 12

A method for operating a motor vehicle, which includes a processing unit on which an operating software block is executed, the operating software block including function inputs and function outputs and is configured to ascertain output data based on input data representing physical parameters for the function inputs, the operating software block having been verified by performing the following steps:
defining the operating software block that is to be verified based on an operating software;
ascertaining the function inputs corresponding to the operating software block;
ascertaining the function outputs corresponding to the operating software block;
defining a multi-dimensional parameter space, each dimension of the multi-dimensional parameter space corresponding to a respective one of the function inputs of the operating software block;
forming input data tuples based on predetermined rules, which correspond to points within specifiable limits of the parameter space;
executing the operating software block entries of the input data tuples to obtain output data, so that for every function output of the function outputs, a dependency on the input data of the function inputs is ascertained;
comparing the dependency of the function outputs with a specified standard dependency; and
initiating a reaction based on a deviation between the dependency of a function output of the function outputs and the standard dependency.

### Claim 13

A motor vehicle, comprising:
actuators; and
a processing unit on which an operating software block is stored so as to be executable, wherein the operating software block includes function inputs and function outputs and is configured to ascertain output data based on input data representing physical parameters for the function inputs, the operating software block having been verified by a device configured to:
define the operating software block that is to be verified based on an operating software,
ascertain the function inputs corresponding to the operating software block,
ascertain the function outputs corresponding to the operating software block,
define a multi-dimensional parameter space, each dimension of the multi-dimensional parameter space corresponding to a respective one of the function inputs of the operating software block,
form input data tuples based on predetermined rules, which correspond to points within specifiable limits of the parameter space,
execute the operating software block entries of the input data tuples to obtain output data, so that for every function output of the function outputs, a dependency on the input data of the function inputs is ascertained,
compare the dependency of the function outputs with a specified standard dependency, and
initiate a reaction based on a deviation between the dependency of a function output of the function outputs and the standard dependency,
wherein the output data represent control variables for the actuators.
