# US 2021/0342250 A1 · Method and aparatus for verifying a software system

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

- Number: US 2021/0342250 A1
- Document ID: US20210342250A1
- Status: Published application
- Kind: A1
- Application number: 17/280,910
- Filed: 2018-12-21
- Published: 2021-11-04
- Earliest claimed: 2018-09-28
- Applicants: Siemens Industry Software NV
- Inventors: Daniel Ratiu; Sundaresan Sorakayalpet Arumugam
- Web page: https://patentgrep.com/patent/US20210342250A1

## CPC

- G06F 11/3608: {using formal methods, e.g. model checking, abstract interpretation (theorem proving G06N5/013)}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and apparatus for verifying a software system are provided. A data processing apparatus includes a processing unit and a memory unit communicatively coupled to the processing unit. The memory unit includes a simulation module and a verification module. The simulation module is configured to perform simulation of the software system for a first set of steps based on a first set of input values. The verification module is configured to instantaneously determine a state of the software system is which verification of the software system is to be initiated. The verification module is configured to initiate verification of the software system at the determined state, perform verification of the software system for a second set of steps based on a second set of input values, and output results of the verification of the software system on a display unit.

## Claims

### Claim 1

A data processing apparatus for verifying a software system, the data processing apparatus comprising:
at least one processing unit; and
at least one memory unit communicatively coupled to the processing unit, wherein the at least one memory unit comprises:
a simulation module configured to perform simulation of the software system for a first set of steps based on a first set of input values; and
a verification module configured to:
determine a state of the software system in which verification of the software system is to be initiated;
initiate verification of the software system in the determined state;
perform verification of the software system for a second set of steps based on a second set of input values; and
output results of the verification of the software system on a display unit.

### Claim 2 (depends on 1)

The data processing apparatus of claim 1, wherein the verification module is further configured to generate a plurality of test vectors for testing the software system.

### Claim 3 (depends on 1)

The data processing apparatus of claim 1, wherein the simulation module is further configured to perform the simulation of the software system using a closed-loop simulation technique.

### Claim 4 (depends on 1)

The data processing apparatus of claim 1, wherein the verification module is further configured to perform the verification of the software system using a bounded-model checking technique.

### Claim 5 (depends on 1)

The data processing apparatus of claim 1, wherein the simulation module is further configured to:
determine a set of states associated with the software system during the first set of steps performed by the software system; and
store values of state variables associated with each state of the software system in a verification database.

### Claim 6 (depends on 1)

The data processing apparatus of claim 1, wherein the verification module is further configured to:
instantaneously determine a state from the set of states in which the software system starts operating in an operation mode.

### Claim 7 (depends on 1)

The data processing apparatus of claim 1, wherein the verification module is further configured to:
initialize the software system in the determined state using values of the state variables associated with the determined state; and
initiate verification of the initialized software system in the determined state.

### Claim 8 (depends on 1)

The data processing apparatus of claim 1, wherein the verification module is further configured to:
parse programming language statements associated with the software system;
generate a control flow graph based on the parsed programming language statements; and
determine whether any of the second set of input values lead to violation of a specification of the software system.

### Claim 9

A method of verifying a software system, the method comprising:
performing, by a data processing apparatus, simulation of a software system for a first set of steps based on a first set of input values;
determining, by the data processing apparatus, a state of the software system in which verification of the software system is to be initiated;
initiating, by the data processing apparatus, verification of the software system at the determined state;
performing, by the data processing apparatus, verification of the software system for a second set of steps based on a second set of input values; and
outputting, by the data processing apparatus, results of the verification of the software system on a display unit.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
generating, by the data processing apparatus, a plurality of test vectors capable of testing the software system.

### Claim 11 (depends on 9)

The method of claim 9, wherein the simulation of the software system is performed using a closed-loop simulation technique.

### Claim 12 (depends on 9)

The method of claim 9, wherein the verification of the software system is performed using a bounded-model checking technique.

### Claim 13 (depends on 9)

The method of claim 9, wherein performing the simulation of the software system comprises:
determining a set of states associated with the software system during the first set of steps performed by the software system; and
storing values of state variables associated with each state of the software system in a verification database.

### Claim 14 (depends on 9)

The method of claim 9, wherein determining the state of the software system in which the verification of the software system is to be initiated comprises:
determining a state from the set of states in which the software system starts operating in an operation mode.

### Claim 15 (depends on 9)

The method of claim 9, wherein initiating the verification of the software system at the determined state comprises:
initializing the software system in the determined state using values of the state variables associated with the determined state; and
initiating verification of the initialized software system in the determined state.

### Claim 16 (depends on 9)

The method of claim 9, wherein performing the verification of the software system comprises:
parsing programming language statements associated with the software system;
generating a control flow graph based on the parsed programming language statements; and
determining whether any of the second set of input values lead to violation of a specification of the software system.

### Claim 17

A non-transitory computer-readable storage that stores machine-readable instructions executable by a processing unit to verify a software system, the machine-readable instructions comprising:
performing simulation of a software system for a first set of steps based on a first set of input values;
determining a state of the software system in which verification of the software system is to be initiated;
initiating verification of the software system at the determined state;
performing verification of the software system for a second set of steps based on a second set of input values; and
outputting results of the verification of the software system on a display unit.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the machine-readable instructions further comprise:
generating a plurality of test vectors capable of testing the software system.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the machine-readable instructions further comprise:
parsing programming language statements associated with the software system;
generating a control flow graph based on the parsed programming language statements; and
determining whether any of the second set of input values lead to violation of a specification of the software system.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the simulation of the software system is performed using a closed-loop simulation technique, and
wherein the verification of the software system is performed using a bounded-model checking technique.
