# US 2010/0306787 A1 · Enhancing Service Reuse Through Extraction of Service Environments

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

- Number: US 2010/0306787 A1
- Document ID: US20100306787A1
- Status: Published application
- Kind: A1
- Application number: 12/474,427
- Filed: 2009-05-29
- Published: 2010-12-02
- Earliest claimed: 2009-05-29
- Assignees: International Business Machines Corporation
- Inventors: Kalapriya Kannan; Lakshmish M. Ramaswamy; Soudip RoyChowdhury
- Web page: https://patentgrep.com/patent/US20100306787A1

## CPC

- G06F 8/10: Requirements analysis; Specification techniques
- G06F 8/36: Software reuse
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

For each of a plurality of existing services of a service-oriented architecture, a corresponding environment is defined. Information representative of the defined corresponding environments is stored together with descriptions of the existing services. At least two of the existing services are composed to provide new functionality, based upon the descriptions of the at least two existing services and the information representative of the defined corresponding environments for the at least two existing services.

## Claims

### Claim 1

A method comprising:
for each of a plurality of existing services of a service-oriented architecture, defining a corresponding environment;
storing information representative of the defined corresponding environments together with descriptions of the existing services; and
composing at least two of the existing services to provide new functionality, based upon the descriptions of the at least two existing services and the information representative of the defined corresponding environments for the at least two existing services.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the defining of the corresponding environments comprises extracting environmental artifacts from at least one design diagram representative of at least a portion of the service-oriented architecture; and
the storing of the information representative of the defined corresponding environments comprises storing the information in environmental models;
further comprising facilitating the composing to provide the new functionality by exposing the environmental models along with the descriptions of the existing services.

### Claim 3 (depends on 2)

The method of claim 2, wherein the at least one design diagram comprises a unified modeling language diagram.

### Claim 4 (depends on 2)

The method of claim 2, wherein the at least one design diagram comprises at least one of a case diagram, a sequence diagram, a class diagram, and an enterprise model.

### Claim 5 (depends on 2)

The method of claim 2, wherein the environmental artifacts comprise at least one condition under which a given one of the existing services, to which a given one of the corresponding environments corresponds, can be invoked.

### Claim 6 (depends on 2)

The method of claim 2, wherein, for at least some of the corresponding environments, the environmental artifacts comprise a domain of one of the existing services to which a given one of the corresponding environments corresponds.

### Claim 7 (depends on 2)

The method of claim 2, wherein, for at least some of the corresponding environments, the environmental artifacts comprise at least one external input which directly results in invocation of one of the existing services to which a given one of the corresponding environments corresponds.

### Claim 8 (depends on 7)

The method of claim 7, wherein, for at least some of the corresponding environments, the at least one external input comprises an event indicating at least one of:
under what conditions the one of the existing services to which the given one of the corresponding environments corresponds can be invoked; and
a context in which the one of the existing services to which the given one of the corresponding environments corresponds can be invoked.

### Claim 9 (depends on 2)

The method of claim 2, wherein, for at least some of the corresponding environments, the environmental artifacts comprise at least one external factor which invokes one of the existing services to which a given one of the corresponding environments corresponds.

### Claim 10 (depends on 9)

The method of claim 9, wherein, for at least some of the corresponding environments, the at least one external factor comprises interaction with an outside entity.

### Claim 11 (depends on 2)

The method of claim 2, further comprising deploying the new functionality in a physical system.

### Claim 12 (depends on 1)

The method of claim 1, further comprising providing a system, wherein the system comprises distinct software modules, each of the distinct software modules being embodied on a tangible computer-readable recordable storage medium, and wherein the distinct software modules comprise an environmental parameter definition module, an environmental parameter to service specification mapper module, and a service descriptions module;
wherein:
the defining of the corresponding environment is carried out by the environmental parameter definition module executing on at least one hardware processor;
the information representative of the defined corresponding environments together with descriptions of the existing services is stored in the service descriptions module, with the environments mapped to the descriptions by the environmental parameter to service specification mapper module executing on the at least one hardware processor.

### Claim 13

A computer program product comprising a tangible computer readable recordable storage medium including computer usable program code, the computer program product including:
computer usable program code for, for each of a plurality of existing services of a service-oriented architecture, defining a corresponding environment;
computer usable program code for storing information representative of the defined corresponding environments together with descriptions of the existing services; and
computer usable program code for composing at least two of the existing services to provide new functionality, based upon the descriptions of the at least two existing services and the information representative of the defined corresponding environments for the at least two existing services.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein:
the computer usable program code for defining of the corresponding environments comprises computer usable program code for extracting environmental artifacts from at least one design diagram representative of at least a portion of the service-oriented architecture; and
the computer usable program code for storing of the information representative of the defined corresponding environments comprises computer usable program code for storing the information in environmental models;
further comprising computer usable program code for facilitating the composing to provide the new functionality by exposing the environmental models along with the descriptions of the existing services.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein the at least one design diagram comprises a unified modeling language diagram.

### Claim 16 (depends on 13)

The computer program product of claim 13, further comprising distinct software modules, each of the distinct software modules being embodied on the tangible computer-readable recordable storage medium, the distinct software modules comprising an environmental parameter definition module, an environmental parameter to service specification mapper module, and a service descriptions module;
wherein:
the environmental parameter definition module comprises the computer usable program code for defining of the corresponding environments; and
the environmental parameter to service specification mapper module and the service descriptions module comprise the computer usable program code for storing information representative of the defined corresponding environments together with descriptions of the existing services.

### Claim 17

An apparatus comprising:
a memory; and
at least one processor, coupled to the memory, and operative to:
for each of a plurality of existing services of a service-oriented architecture, define a corresponding environment;
store information representative of the defined corresponding environments together with descriptions of the existing services; and
compose at least two of the existing services to provide new functionality, based upon the descriptions of the at least two existing services and the information representative of the defined corresponding environments for the at least two existing services.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein:
the defining of the corresponding environments comprises the at least one processor extracting environmental artifacts from at least one design diagram representative of at least a portion of the service-oriented architecture; and
the storing of the information representative of the defined corresponding environments comprises the at least one processor storing the information in environmental models in the memory;
further comprising the at least one processor facilitating the composing to provide the new functionality by exposing the environmental models along with the descriptions of the existing services.

### Claim 19 (depends on 17)

The apparatus of claim 17, further comprising a tangible computer-readable recordable storage medium having distinct software modules embodied thereon, wherein the distinct software modules comprise an environmental parameter definition module, an environmental parameter to service specification mapper module, and a service descriptions module;
wherein:
the defining of the corresponding environment is carried out by the environmental parameter definition module executing on the at least one processor;
the information representative of the defined corresponding environments together with descriptions of the existing services is stored in the service descriptions module, with the environments mapped to the descriptions by the environmental parameter to service specification mapper module executing on the at least one processor.

### Claim 20

An apparatus comprising:
means for, for each of a plurality of existing services of a service-oriented architecture, defining a corresponding environment;
means for storing information representative of the defined corresponding environments together with descriptions of the existing services; and
means for composing at least two of the existing services to provide new functionality, based upon the descriptions of the at least two existing services and the information representative of the defined corresponding environments for the at least two existing services.
