# US 2017/0286277 A1 · Automated model generation for 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 2017/0286277 A1
- Document ID: US20170286277A1
- Status: Published application
- Kind: A1
- Application number: 15/087,450
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: CA, Inc.
- Applicants: CA, Inc.
- Inventors: Rich J. Lau; Bing Li
- Web page: https://patentgrep.com/patent/US20170286277A1

## CPC

- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 8/20: Software design
- G06F 8/70: Software maintenance or management
- G06F 11/30: Monitoring
- G06F 11/3447: {Performance evaluation by modeling}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- 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/3696: {Methods or tools to render software testable}
- H04L 43/00: Arrangements for monitoring or testing data switching networks
- G06F 8/30: Creation or generation of source code
- G06F 2201/87: Monitoring of transactions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Transaction data is accessed that has been generated from monitoring of a plurality of transactions in a system that includes a plurality of software components. The transaction data is assessed to identify that a particular one of the plurality of transactions meets a particular one of a set of conditions based on an attribute of the particular transaction. A portion of the transaction data describing the particular transaction is selected based on the particular transaction meeting the particular condition. A model of a particular one of the software components involved in the particular transaction is generated using the selected portion of the transaction data. The model is used to launch a computer-implemented simulation of the particular software component within subsequent transactions of the system.

## Claims

### Claim 1

A method comprising:
accessing transaction data generated from monitoring of a plurality of transactions in a system comprising a plurality of software components;
identifying, from the transaction data, that a particular one of the plurality of transactions meets a particular one of a set of conditions based on an attribute of the particular transaction, wherein the particular transaction involves a subset of the plurality of software components;
selecting a portion of the transaction data describing the particular transaction based on the particular transaction meeting the particular condition; and
generating a model of a particular one of the subset of software components using the portion of the transaction data, wherein the model is used to launch a computer-implemented simulation of the particular software components within subsequent transactions of the system.

### Claim 2 (depends on 1)

The method of claim 1, wherein the model comprises one of a test case or a virtual service model.

### Claim 3 (depends on 2)

The method of claim 2, wherein the test case simulates requests made by the particular software component.

### Claim 4 (depends on 3)

The method of claim 3, wherein the test case further comprises a baseline to compare responses received to the simulated request to an expected response.

### Claim 5 (depends on 2)

The method of claim 2, wherein the virtual service model is used to launch a virtual service to simulate responses of the particular software component to requests received in the particular transaction.

### Claim 6 (depends on 1)

The method of claim 1, further comprising adding the model to a library of models.

### Claim 7 (depends on 1)

The method of claim 1, further comprising launching the model for inclusion in the subsequent transactions, wherein the model is generated and launched automatically in response to identifying that the particular transaction meets the particular condition.

### Claim 8 (depends on 7)

The method of claim 7, further comprising monitoring the subsequent transactions involving the model using one or more software-based agents, wherein the monitoring generates additional transaction data describing the subsequent transactions.

### Claim 9 (depends on 8)

The method of claim 8, wherein the model comprises a test case to generate simulated requests to initiate the subsequent transactions, and the method further comprises determining whether the subsequent transactions differ from the particular transaction.

### Claim 10 (depends on 9)

The method of claim 9, further comprising generating another model from the additional transaction data in response to determining that the subsequent transactions differ from the particular transaction.

### Claim 11 (depends on 9)

The method of claim 9, further comprising determining a change to the system based on determining that the subsequent transactions differ from the particular transaction.

### Claim 12 (depends on 8)

The method of claim 8, wherein the system comprises a particular system and the model is launched in transactions of another system.

### Claim 13 (depends on 12)

The method of claim 12, further comprising comparing the transaction data with the additional transaction data to determine differences between the particular system and the other system.

### Claim 14 (depends on 1)

The method of claim 1, wherein the condition corresponds to detecting that a transaction is initiated by a particular entity.

### Claim 15 (depends on 14)

The method of claim 14, wherein the attribute comprises a session identifier corresponding to a particular entity, and the particular entity comprises a particular user.

### Claim 16 (depends on 14)

The method of claim 14, wherein the attribute comprises an address of a computing device associated with the particular entity included in a request within the particular transaction.

### Claim 17 (depends on 1)

The method of claim 1, wherein the condition is based on a value in content of a request or response within the transaction.

### Claim 18

A computer program product comprising a computer readable storage medium comprising computer readable program code embodied therewith, the computer readable program code comprising:
computer readable program code configured to access transaction data generated from monitoring of a plurality of transactions in a system comprising a plurality of software components, wherein each of the transactions comprises transaction fragments and each transaction fragment comprises a respective request and response to the request;
computer readable program code configured to identify, from the transaction data, that a particular one of the plurality of transactions meets a particular one of a set of conditions based on an attribute of a particular transaction fragment of the particular transaction;
computer readable program code configured to automate generation of a model of a particular one of the plurality of software components involved in the particular transaction in response to identifying that the particular transaction meets the particular condition, wherein the model is generated from a subset of the transaction data describing the particular transaction; and
computer readable program code configured to automate launching of subsequent transactions utilizing the model in lieu of the particular software component.

### Claim 19

A system comprising:
a data processor;
a memory;
a filter manager executable by the data processor to:
define a plurality of transaction filters, wherein each transaction filter defines a condition and an action to take based on the condition;
access transaction data generated from monitoring of a plurality of transactions in a system comprising a plurality of software components, wherein each of the transactions comprises transaction fragments and each transaction fragment comprises a respective request and response to the request; and
identify, from the transaction data, that a particular one of the plurality of transactions meets a condition of a particular one of the transaction filters, wherein the action corresponding to the particular transaction filter comprises automatically generating a model of one of the software components involved in the transaction meeting the condition of the particular transaction filter; and
a model generator executable by the data processor to:
receive an indication that the particular transaction satisfies the particular transaction filter; and
autonomously generate a model operable to simulate operation of a particular one of the plurality of software components involved in the particular transaction based on the indication.

### Claim 20 (depends on 19)

The system of claim 19, further comprising a plurality of agents instrumented on at least a portion of the plurality of software components and operable to monitor the plurality of transactions, wherein the transaction data is generated based on the monitoring of the plurality of transactions by the plurality of agents.
