# US 2021/0342144 A1 · Guided safety analysis for cyber physical systems

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

- Number: US 2021/0342144 A1
- Document ID: US20210342144A1
- Status: Published application
- Kind: A1
- Application number: 17/272,650
- Filed: 2019-10-15
- Published: 2021-11-04
- Earliest claimed: 2018-10-18
- Assignees: University of Notre Dame du Lac
- Applicants: University of Notre Dame du Lac
- Inventors: Jane Huang; Michael Vierhauser; Ankit Agrawal
- Web page: https://patentgrep.com/patent/US20210342144A1

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/3604: Analysis of software for verifying properties of programs (testing of software G06F11/3668)
- G06F 8/20: Software design
- G06F 8/36: Software reuse
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for maintaining the safety of a software-based system. One method includes automatically generating a first artifact tree for a hazard for a first version of the system and automatically transforming the first artifact tree into a first augmented tree using a set of heuristics. The method also includes automatically generating a second artifact tree for the hazard for a second version of the system and automatically transforming the second artifact tree for the hazard into a second augmented tree using the set of heuristics. The method further includes automatically comparing the first augmented tree and the second augmented tree to generate a delta view, and automatically generating, based on the delta view, at least one selected from a group consisting of a safety warning for the second version of the software-based system and an actionable recommendation to maintain safety of the second version of the software-based system.

## Claims

### Claim 1

A method for maintaining the safety of a software-based system, the method comprising:
automatically generating a first artifact tree for a hazard for a first version of the software-based system by recursively following traceability paths defined by a model for a plurality of artifacts associated with mitigating the hazard, the traceability paths representing links between the plurality of artifacts;
automatically transforming the first artifact tree into a first augmented tree using a set of heuristics, the set of heuristics automatically inserting one or more augmentation nodes into the first artifact tree;
automatically generating a second artifact tree for the hazard for a second version of the software-based system by recursively following the traceability paths defined by the model;
automatically transforming the second artifact tree for the hazard into a second augmented tree using the set of heuristics, the set of heuristics automatically inserting one or more augmentation nodes into the second artifact tree;
automatically, with an electronic processor, comparing the first augmented tree and the second augmented tree to generate a delta view; and
automatically, with the electronic processor, generating at least one selected from a group consisting of a safety warning for the second version of the software-based system based on the delta view and an actionable recommendation based on the delta view to maintain safety of the second version of the software-based system.

### Claim 2 (depends on 1)

The method of claim 1, wherein the links represented by the traceability paths are created manually, created automatically, or mined from commit messages.

### Claim 3 (depends on 1)

The method of claim 1, wherein automatically transforming the first artifact tree into the first augmented tree using the set of heuristics includes automatically inserting at least one selected from a group consisting of a claims node, a strategies node, an assumption node, and a solution node into the first artifact tree.

### Claim 4 (depends on 1)

The method of claim 1, further comprising inserting at least a portion of the first augmented tree into a safety assurance case.

### Claim 5 (depends on 1)

The method of claim 1, further comprising automatically generating at least one warning based on the first augmented tree.

### Claim 6 (depends on 1)

The method of claim 1, further comprising automatically generating at least one actionable recommendation based on the first augmented tree.

### Claim 7 (depends on 1)

The method of claim 1, wherein the delta view identifies at least one artifact added for the second version of the software-based system as compared to the first version of the software-based system.

### Claim 8 (depends on 1)

The method of claim 1, wherein the delta view identifies at least one artifact modified for the second version of the software-based system as compared to the first version of the software-based system.

### Claim 9 (depends on 1)

The method of claim 1, wherein the delta view identifies at least one artifact deleted for the second version of the software-based system as compared to the first version of the software-based system.

### Claim 10 (depends on 1)

The method of claim 1, wherein the delta view identifies at least one link added for the second version of the software-based system as compared to the first version of the software-based system.

### Claim 11 (depends on 1)

The method of claim 1, wherein the delta view identifies at least one link modified for the second version of the software-based system as compared to the first version of the software-based system.

### Claim 12 (depends on 1)

The method of claim 1, wherein the delta view identifies at least one link deleted for the second version of the software-based system as compared to the first version of the software-based system.

### Claim 13 (depends on 1)

The method of claim 1, further comprising interfacing with at least one project repository for the software-based system to generate the first artifact tree.

### Claim 14 (depends on 1)

The method of claim 1, further comprising generating and outputting a visualization based on the delta view.

### Claim 15 (depends on 14)

The method of claim 14, wherein each of a plurality of nodes included in the visualization is displayed differently based on whether each of plurality of nodes was added, modified, or deleted.

### Claim 16 (depends on 15)

The method of claim 15, wherein each of the plurality of nodes included in the visualization is displayed differently using color coding.

### Claim 17 (depends on 14)

The method of claim 14, wherein at least one node included in the visualization is marked with the safety warning.

### Claim 18 (depends on 14)

The method of claim 14, wherein at least one node included in the visualization is marked with the actionable recommendation.

### Claim 19

A system for maintaining the safety of a software-based system, the system comprising:
at least one electronic processor configured to
automatically generate a first artifact tree for a hazard for a first version of the software-based system by recursively following traceability paths defined by a model for a plurality of artifacts associated with mitigating the hazard, the traceability paths representing links between the plurality of artifacts;
automatically transform the first artifact tree into a first augmented tree using a set of heuristics, the set of heuristics automatically inserting one or more augmentation nodes into the first artifact tree;
automatically generate a second artifact tree for the hazard for a second version of the software-based system by recursively following the traceability paths defined by the model;
automatically transform the second artifact tree for the hazard into a second augmented tree using the set of heuristics, the set of heuristics automatically inserting one or more augmentation nodes into the second artifact tree;
automatically compare the first augmented tree and the second augmented tree to generate a delta view; and
automatically generate at least one selected from a group consisting of a safety warning for the second version of the software-based system based on the delta view and an actionable recommendation based on the delta view to maintain safety of the second version of the software-based system.

### Claim 20

Non-transitory computer readable medium including instructions that, when executed by at least one electronic processor, perform a set of functions, the set of functions comprising:
automatically generating a first artifact tree for a hazard for a first version of a software-based system by recursively following traceability paths defined by a model for a plurality of artifacts associated with mitigating the hazard, the traceability paths representing links between the plurality of artifacts;
automatically transforming the first artifact tree into a first augmented tree using a set of heuristics, the set of heuristics automatically inserting one or more augmentation nodes into the first artifact tree;
automatically generating a second artifact tree for the hazard for a second version of the software-based system by recursively following the traceability paths defined by the model;
automatically transforming the second artifact tree for the hazard into a second augmented tree using the set of heuristics, the set of heuristics automatically inserting one or more augmentation nodes into the second artifact tree;
automatically comparing the first augmented tree and the second augmented tree to generate a delta view; and
automatically generating at least one selected from a group consisting of a safety warning for the second version of the software-based system based on the delta view and an actionable recommendation based on the delta view to maintain safety of the second version of the software-based system.
