# US 10,768,945 B2 · Semantic weaving of configuration fragments into a consistent configuration

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

- Number: US 10,768,945 B2
- Document ID: US10768945B2
- Status: Granted
- Kind: B2
- Application number: 15/769,590
- Filed: 2016-03-21
- Published: 2018-11-01
- Granted: 2020-09-08
- Earliest claimed: 2015-12-22
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Azadeh Jahanbanifar; Maria Toeroe; Ferhat Khendek
- Inventors: Azadeh Jahanbanifar; Maria Toeroe; Ferhat Khendek
- Web page: https://patentgrep.com/patent/US10768945B2

## CPC

- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 8/10: Requirements analysis; Specification techniques
- G06F 8/35: model driven
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system configuration is generated by integrating source models. Transformations are generated according to a weaving model that specifies relations among metamodels of the source models and the system configuration. The transformations, when executed, transform the source models into the system configuration that includes target entities. From the transformations, one or more integration constraints are generated for each target entity to be created or modified by an operation of the transformations. The integration constraints describe semantics of the relations specified by the weaving model. System configuration constraints are formed to include the integration constraints in addition to constraints of each source model. The transformations are executed to transform the source models into the system configuration to generate the system configuration obeying the system configuration constraints.

## Claims

### Claim 1

A method for integrating source models into a system configuration, comprising:
generating transformations according to a weaving model which specifies relations among metamodels of the source models and the system configuration, wherein the transformations, when executed, transform the source models into the system configuration including a plurality of target entities;
generating, from the transformations, one or more integration constraints for each target entity to be created or modified by an operation of the transformations, wherein the integration constraints describe the relations specified by the weaving model;
forming system configuration constraints to include the integration constraints in addition to constraints of each source model; and
executing the transformations to transform the source models into the system configuration to thereby generate the system configuration obeying the system configuration constraints.

### Claim 2 (depends on 1)

The method of claim 1, wherein the integration constraints are between entity classes of different source metamodels, and the constraints of each source model are between entity classes within each source metamodel.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the one or more integration constraints further comprises:
constructing a derivation tree to specify a process of creating and modifying each target entity and one or more attributes of the target entity, wherein the target entity is at the root of the derivation tree and the derivation tree includes one or more levels.

### Claim 4 (depends on 3)

The method of claim 3, wherein nodes at each level of the derivation tree are entities used to create or modify the nodes' parent nodes, and edges of the derivation tree are operations applied on the nodes to create or modify the parent nodes.

### Claim 5 (depends on 3)

The method of claim 3, wherein generating the one or more integration constraints further comprises:
traversing from the root to generate an integration constraint for each node that is one of the target entities at each level of the derivation tree, wherein the integration constraint has a context which is the node's parent node if the node's parent node is one of the target entities, and the integration constraint further has an expression which is derived from an operation represented by an edge of the derivation tree that connects the node and the node's parent node.

### Claim 6 (depends on 5)

The method of claim 5, wherein the context of the integration constraint is the same as a level above the node's level toward the root if the node's parent node is not one of the target entities.

### Claim 7 (depends on 1)

The method of claim 1, wherein each integration constraint is specified by an Object Constraint Language (OCL) expression.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
categorizing rules of the transformations into a first set of types;
categorizing OCL expressions into a second set of types; and
identifying a mapping between the first set of types and the second set of types.

### Claim 9 (depends on 1)

The method of claim 1, wherein the one or more integration constraints describe the relations among the metamodels in terms of hardware disjointness, hardware affinity, or a conjunction of hardware disjointness and hardware affinity.

### Claim 10 (depends on 1)

The method of claim 1, wherein each integration constraint includes leadership information for constrained entities based on a role that each constrained entity takes in a transformation rule, wherein the role includes one of a leader role, a follower role and a peer role.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
extending a generic weaving metamodel to create a weaving metamodel to which the weaving model conforms, wherein the weaving metamodel defines link ends that are specialized into a SourceEnd representing entities in the source models, and a TargetEnd representing created or modified entities in the system configuration.

### Claim 12 (depends on 11)

The method of claim 11, wherein the weaving metamodel defines link types including one or more of: a DisjointDistribution link type to capture a hardware-disjointness property, a CollocatedDistribution link type to capture a collocation property, and a DisjointCollocatedDistribution link type that inherits both the hardware-disjointness property and the collocation property.

### Claim 13

A network node comprising processing circuitry and memory, said memory containing instructions executable by said processing circuitry to integrate source models into a system configuration, whereby said network node is operative to:
generate transformations according to a weaving model which specifies relations among metamodels of the source models and the system configuration, wherein the transformations, when executed, transform the source models into the system configuration including a plurality of target entities;
generate, from the transformations, one or more integration constraints for each target entity to be created or modified by an operation of the transformations, wherein the integration constraints describe the relations specified by the weaving model;
form system configuration constraints to include the integration constraints in addition to constraints of each source model; and
execute the transformations to transform the source models into the system configuration to thereby generate the system configuration obeying the system configuration constraints.

### Claim 14 (depends on 13)

The network node of claim 13, wherein the integration constraints are between entity classes of different source metamodels, and the constraints of each source model are between entity classes within each source metamodel.

### Claim 15 (depends on 13)

The network node of claim 13, wherein the network node is further operative to:
construct a derivation tree to specify a process of creating and modifying each target entity and one or more attributes of the target entity, wherein the target entity is at the root of the derivation tree and the derivation tree includes one or more levels.

### Claim 16 (depends on 15)

The network node of claim 15, wherein nodes at each level of the derivation tree are entities used to create or modify the nodes' parent nodes, and edges of the derivation tree are operations applied on the nodes to create or modify the parent nodes.

### Claim 17 (depends on 15)

The network node of claim 15, wherein the network node is further operative to:
traverse from the root to generate an integration constraint for each node that is one of the target entities at each level of the derivation tree, wherein the integration constraint has a context which is the node's parent node if the node's parent node is one of the target entities, and the integration constraint further has an expression which is derived from an operation represented by an edge of the derivation tree that connects the node and the node's parent node.

### Claim 18 (depends on 17)

The network node of claim 17, wherein the context of the integration constraint is the same as a level above the node's level toward the root if the node's parent node is not one of the target entities.

### Claim 19 (depends on 13)

The network node of claim 13, wherein each integration constraint is specified by an Object Constraint Language (OCL) expression.

### Claim 20 (depends on 19)

The network node of claim 19, wherein the network node is further operative to:
categorize rules of the transformations into a first set of types;
categorize OCL expressions into a second set of types; and
identify a mapping between the first set of types and the second set of types.

### Claim 21 (depends on 13)

The network node of claim 13, wherein the one or more integration constraints describe the relations among the metamodels in terms of hardware disjointness, hardware affinity, or a conjunction of hardware disjointness and hardware affinity.

### Claim 22 (depends on 13)

The method of claim 13, wherein each integration constraint includes leadership information for constrained entities based on a role that each constrained entity takes in a transformation rule, wherein the role includes one of a leader role, a follower role and a peer role.

### Claim 23 (depends on 13)

The network node of claim 13, wherein the network node is further operative to:
extend a generic weaving metamodel to create a weaving metamodel to which the weaving model conforms, wherein the weaving metamodel defines link ends that are specialized into a SourceEnd representing entities in the source models, and a TargetEnd representing created or modified entities in the system configuration.

### Claim 24 (depends on 23)

The network node of claim 23, wherein the weaving metamodel defines link types including one or more of: a DisjointDistribution link type to capture a hardware-disjointness property, a CollocatedDistribution link type to capture a collocation property, and a DisjointCollocatedDistribution link type that inherits both the hardware-disjointness property and the collocation property.

### Claim 25

A method for integrating source models into a system configuration, comprising:
instantiating a server instance in a cloud computing environment which provides processing circuitry and memory for running the server instance, said server instance being operative to:
generate transformations according to a weaving model which specifies relations among metamodels of the source models and the system configuration, wherein the transformations, when executed, transform the source models into the system configuration including a plurality of target entities;
generate, from the transformations, one or more integration constraints for each target entity to be created or modified by an operation of the transformations, wherein the integration constraints describe the relations specified by the weaving model;
form system configuration constraints to include the integration constraints in addition to constraints of each source model; and
execute the transformations to transform the source models into the system configuration to thereby generate the system configuration obeying the system configuration constraints.
