# US 2008/0313600 A1 · Bi-directional projection

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

- Number: US 2008/0313600 A1
- Document ID: US20080313600A1
- Status: Published application
- Kind: A1
- Application number: 12/138,854
- Filed: 2008-06-13
- Published: 2008-12-18
- Earliest claimed: 2007-06-15
- Assignees: The MathWorks, Inc.
- Inventors: Alan John MOORE
- Web page: https://patentgrep.com/patent/US20080313600A1

## CPC

- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an embodiment, one or more computer-readable media holding executable instructions is provided. The instructions may be executed on a processing device to project a specification to a platform environment that includes a system model. The media may hold one or more instructions for accessing an algorithm model, the algorithm model being associated with the specification. The media may further hold one or more instructions for projecting the specification to the system model via a forward projection. The media may hold one or more instructions for receiving a reverse projection that includes specification changes, the specification changes identifying suggested changes to the specification. The media may further hold one or more instructions for modifying the algorithm model based on the specification changes, and the media may hold one or more instructions for storing the modified algorithm model.

## Claims

### Claim 1

One or more computer-readable media holding executable instructions that when executed on a processing device project a specification to a platform environment that includes a system model, the one or more media holding:
one or more instructions for accessing an algorithm model, the algorithm model being associated with the specification;
one or more instructions for projecting the specification to the system model via a forward projection;
one or more instructions for receiving a reverse projection that includes specification changes, the specification changes identifying suggested changes to the specification;
one or more instructions for modifying the algorithm model based on the specification changes; and
one or more instructions for storing the modified algorithm model.

### Claim 2 (depends on 1)

The one or more computer-readable media of claim 1, where the specification identifies one or more features of the algorithm model that are used by the system model.

### Claim 3 (depends on 2)

The one or more computer-readable media of claim 2, where the specification identifies algorithm elements associated with the algorithm model, the algorithm elements including:
a port,
a data store memory,
a rate transition buffer,
a rate group,
a signal,
a numeric range,
a parameter,
a subsystem, or
a conditional relationship between algorithm elements.

### Claim 4 (depends on 1)

The one or more computer-readable media of claim 1, where the modifying further comprises:
one or more instructions for changing a characteristic of the algorithm model.

### Claim 5 (depends on 1)

The one or more computer-readable media of claim 1, further comprising:
one or more instructions for performing verification or validation on the algorithm model prior to the projecting.

### Claim 6 (depends on 1)

The one or more computer-readable media of claim 1, where verification or validation of the algorithm model is performed using verification or validation artifacts associated with the algorithm model, the media comprising:
one or more instructions for maintaining a relationship among the verification or validation artifacts, where:
a first portion of the verification or validation artifacts are associated with verification or validation performed prior to the projecting, and
a second portion of the verification or validation artifacts are associated with verification or validation performed after the receiving.

### Claim 7 (depends on 1)

The one or more computer-readable media of claim 1, further comprising:
one or more instructions for generating verification or validation artifacts; and
one or more instructions for projecting the verification or validation artifacts to the platform environment, where the verification or validation artifacts are used in the platform environment to validate the algorithm model, the system model, or the modified algorithm model.

### Claim 8 (depends on 1)

The one or more computer-readable media of claim 1, where at least a portion of the algorithm model is mapped to at least a portion of the system model.

### Claim 9 (depends on 1)

The one or more computer-readable media of claim 1, further comprising:
one or more instructions for optimizing code that implements the algorithm model in the system model.

### Claim 10

One or more computer-readable media holding executable instructions that when executed on a processing device interact with a specification associated with an algorithm environment, the one or more media holding:
one or more instructions for receiving an algorithm component from the algorithm environment, the algorithm component related to a specification for an algorithm model that is used in a system model having system components;
one or more instructions for identifying modifications to be made to the algorithm component;
one or more instructions for receiving a modified algorithm component, the modified algorithm component based on a modified specification produced when the algorithm model is modified in response to the identified modifications;
one or more instructions for integrating the modified algorithm component into the system model, the modified algorithm component representing the modified specification in the system model, the integrating comprising:
one or more instructions for generating an adapter to the modified algorithm component, the adapter encapsulating at least a portion of the modified algorithm component inside a system component, the adapter allowing the system component to interact with the modified algorithm component; and one or more instructions for:
storing the system model in storage, or
displaying the system model.

### Claim 11 (depends on 10)

The one or more computer-readable media of claim 10, where the algorithm model includes an internal portion and an external portion that can be visually represented to a user, and where the integrating further comprises:
one or more instructions for interacting with an element promoted from the internal portion of the algorithm model to the external portion of the algorithm model, the promoted element represented in the modified algorithm component.

### Claim 12 (depends on 11)

The one or more computer-readable media of claim 11, where the integrating the modified algorithm component into the system model further comprises:
one or more instructions for interacting with the modified algorithm component through the adapter.

### Claim 13 (depends on 10)

The one or more computer-readable media of claim 10, further comprising:
one or more instructions for receiving test information from the algorithm environment, the test information identifying one or more tests used to verify or validate the algorithm component;
one or more instructions for testing the system component using the test information; and
one or more instructions for generating a test result based on the testing.

### Claim 14 (depends on 10)

The one or more computer-readable media of claim 10, where the adapter:
handles scheduling for the algorithm component,
provides signal logging for the algorithm component,
provides event logging for the algorithm component, or
handles data integrity for the system component.

### Claim 15 (depends on 10)

The one or more computer-readable media of claim 10, where the modifications identify a port that should be added to the algorithm model.

### Claim 16 (depends on 10)

The one or more computer-readable media of claim 10, the integrating further comprising:
one or more instructions for using the adapter to change a numeric type from a first format used in the algorithm model to a second format used in the system model.

### Claim 17 (depends on 10)

The one or more computer-readable media of claim 10, where the system model is a SystemC model, an Automotive Open System Architecture (AUTOSAR) model, a Unified Modeling Language (UML) model, a System Modeling Language (SysML) model, an Architecture Analysis and Design Language (AADL) model, or a Software Communications Architecture (SCA) model.

### Claim 18

One or more computer-readable media holding executable instructions that when executed on a processing device generate code, the media holding:
one or more instructions for receiving an algorithm component that represents an algorithm model, the algorithm component used in a system model that resides in a platform environment;
one or more instructions for generating an intermediate representation for the algorithm model;
one or more instructions for associating the intermediate representation with a system component;
one or more instructions for generating code for the system component, the generated code including code for the algorithm model, the code for the algorithm model allowing the algorithm model to interact with the system component; and
one or more instructions for:
storing the generated code in storage,
sending the generated code to a destination, or
executing the generated code on a target device.

### Claim 19 (depends on 18)

The one or more computer-readable media of claim 18, further holding:
one or more instructions for optimizing the intermediate representation in the context of the system component.

### Claim 20 (depends on 19)

The one or more computer-readable media of claim 19, further holding:
one or more instructions for testing the generated code using verification or validation artifacts.

### Claim 21 (depends on 18)

The one or more computer-readable media of claim 18, where verification or validation is performed using verification or validation artifacts associated with the algorithm model and the system model, the media comprising:
one or more instructions for maintaining a relationship among the verification or validation artifacts, where:
a first portion of the verification or validation artifacts are associated with verification or validation performed on the algorithm model, and
a second portion of the verification or validation artifacts are associated with verification or validation performed on the system model when the system model includes the algorithm component.

### Claim 22 (depends on 18)

The one or more computer-readable media of claim 18, further holding:
one or more instructions for generating code for an adapter that allows the algorithm model to interact with the system component.

### Claim 23 (depends on 22)

The one or more computer-readable media of claim 22, where the generating is performed through an intermediate representation that represents functional characteristics of the adapter.

### Claim 24

One or more computer-readable media holding executable instructions that when executed on a processing device project information from an algorithm environment to a platform environment, the media holding;
one or more instructions for receiving a specification from the algorithm environment, the specification being associated with an algorithm that is represented in an algorithm model;
one or more instructions for identifying a system component in the platform environment;
one or more instructions for providing information in the specification to the system component via an algorithm component, the algorithm component representing aspects of the algorithm model in the system model;
one or more instructions for receiving a change request from the platform environment;
one or more instructions for receiving a modified specification from the algorithm environment, the modified specification being produced in response to the change request, the modified specification allowing the algorithm component to communicate with the system model; and
one or more instructions for storing:
information about the algorithm environment,
information about the platform environment,
information about the algorithm model,
information about the system model,
information about the algorithm,
information about the specification,
information about the modified specification,
information about the algorithm component,
information about the system component, or
information about an adapter.

### Claim 25 (depends on 24)

The one or more computer-readable media of claim 24, where the system component provides the adapter.

### Claim 26

One or more computer-readable media holding executable instructions that when executed by a processing device integrate an algorithm component into a system model, where the algorithm component represents an algorithm model in the system model, the media holding:
one or more instructions for identifying the algorithm model, the algorithm model including:
an input port to receive an input signal,
an output port to provide an output signal to a destination,
one or more algorithms that operate on the input signal to produce the output signal, or
one or more internal elements that interact with the input port, the output port or the one or more algorithms when the algorithm model is executed;
one or more instructions for identifying one of the one or more of the internal elements, the identifying producing an identified element;
one or more instructions for promoting the identified element from being internal to the algorithm model to being external with respect to the algorithm model;
one or more instructions for integrating aspects of the algorithm model into the system model using the algorithm component, the integrating allowing the system model to interact with:
a representation of the input port,
a data store memory,
a representation of the output port, or
a representation of the promoted element
when the system model is executed; and
one or more instructions for:
storing the system model, or
displaying the system model.

### Claim 27 (depends on 26)

The one or more computer-readable media of claim 26, where the one or more instructions for integrating the algorithm model into the system model uses an adapter.

### Claim 28

A computer-implemented method for interacting with a model, the method comprising:
designing an algorithm model in an algorithm environment, the algorithm model having a specification that includes information about an algorithm implemented in the algorithm model, the specification adapted for projecting to a platform environment;
revising the algorithm model in response to specification changes received from the platform environment that includes a system component, the system component including an algorithm component that realizes information in the specification within the system component, the platform environment identifying the specification changes based on interactions between the system component and the algorithm component, the revised algorithm having a modified specification that is used to realize a modified algorithm component in the platform environment; and
displaying the algorithm model or the revised algorithm model using a display device, or
storing the algorithm model or the revised algorithm model in a storage device.

### Claim 29

A computer-implemented method for interacting with a model, the method comprising:
designing a system component in a platform environment, the system component including an algorithm component derived from a specification received from an algorithm environment, the system component further interacting with the algorithm component when the system component is executed in the platform environment;
modifying the system component by:
implementing one or more adapters to facilitate interacting between the system component and the algorithm component, or
implementing an updated algorithm component in the system component based on information in a modified specification received from the algorithm environment, the modified specification produced in response to operational characteristics of the system component; and
displaying the system component, the algorithm component, or the updated algorithm component, or
storing the system component, the algorithm component, or the updated algorithm component in a storage device.

### Claim 30

A modeling system that includes projection logic to project a specification from an algorithm environment to a platform environment, the system comprising:
a specification that includes information related to an algorithm model that realizes an algorithm in the algorithm environment;
a system component that receives the specification from the algorithm environment via the projection logic, the system component comprising:
an algorithm component that represents the information in the platform environment, and
an adapter that communicatively couples the algorithm component to the system component;
processing logic to:
execute the algorithm model, or
execute the system model; and
storage logic to:
store the algorithm model,
store the system model,
store the specification,
store the system component,
store the algorithm component, or
store an execution result of the executed algorithm model or the executed system model.
