# US 2013/0160027 A1 · Composing message processing pipelines

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

- Number: US 2013/0160027 A1
- Document ID: US20130160027A1
- Status: Published application
- Kind: A1
- Application number: 13/764,984
- Filed: 2013-02-12
- Published: 2013-06-20
- Earliest claimed: 2008-09-03
- Assignees: Microsoft Corporation
- Inventors: Nicholas A. Allen; John A. Taylor
- Web page: https://patentgrep.com/patent/US20130160027A1

## CPC

- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 8/70: Software maintenance or management
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 2209/547: Messaging middleware
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention extends to methods, systems, and computer program products for composing message processing pipelines. Embodiments utilize intra-pipeline communication links to physically and/or temporally decouple pipeline stages, configure branching message flows, and bridge protocols. The use of intra-pipeline communication links permits composition of a message processing pipeline without having to alter the pipeline components or application. Each communication link is itself an application with incoming and outgoing message processing pipelines that bridge messages across time and/or space and application logic for satisfying message processing requirements.

## Claims

### Claim 1

At a computer system including one or more processors and system memory, a method for processing pipeline specifications, the method comprising:
an act of accessing a current pipeline specification for the application, the current pipeline specification specifying how to construct a message processing pipeline for the application;
an act of accessing additional message processing requirements for the application;
an act of identifying transforms that can be applied to the current pipeline specification to specify additional message processing functionality that satisfies the additional message processing requirements; and
an act of applying the identified transforms to the current pipeline specification to create a transformed pipeline specification for the application, the transformed pipeline specification specifying how to construct a message processing pipeline for the application that satisfies the additional message processing requirements, including the additional message processing requirements.

### Claim 2 (depends on 1)

The method of claim 1, wherein the transformed pipeline specification is subsequently used to instantiate a message processing pipeline for the application.

### Claim 3 (depends on 2)

The method as recited in claim 2, further comprising:
an act of identifying components that are available to the computer system for inclusion in the message processing pipeline; and
wherein the act of identifying transforms that can be applied to the current pipeline specification comprises an act of identifying transforms that can be applied to the message processing pipeline based on the identified available components.

### Claim 4 (depends on 1)

The method of claim 1, wherein the current pipeline specification is a first pipeline specification specifying that a first pipeline component is to be included in a message processing pipeline for the application, the first pipeline component dependent on a first code library.

### Claim 5 (depends on 4)

The method of claim 4, wherein the method further comprises:
an act of accessing a second pipeline specification for the application, the second pipeline specification specifying that a second pipeline component is to be included in the message processing pipeline for the application after the first pipeline component, the second pipeline component dependent on a second code library;
an act of determining that the first library is available at a first computer system; and
an act of determining that the second library is available at a second different computer system.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method further includes:
an act of transforming the first specification to include an intra-pipeline communication link for connecting the first pipeline component to the second pipeline component, the intra-pipeline communication link including an incoming communication medium to receive messages from the first pipeline component, an outgoing communication medium to send messages to the second pipeline component, a message pump to pump messages from the incoming communication medium to the outgoing communication medium.

### Claim 7 (depends on 6)

The method of claim 6, wherein the method further includes:
an act instantiating the message processing pipeline for the application that deploys the first pipeline component at the first computer system, deploys the second pipeline component at the second computer system, and utilizes intra-pipeline communication link to transfer messages from the first pipeline component to the second pipeline component

### Claim 8

A computer storage device having stored computer-executable instructions which, when executed by one or more processors, implement a method for processing pipeline specifications, wherein the method comprises:
an act of accessing a current pipeline specification for the application, the current pipeline specification specifying how to construct a message processing pipeline for the application;
an act of accessing additional message processing requirements for the application;
an act of identifying transforms that can be applied to the current pipeline specification to specify additional message processing functionality that satisfies the additional message processing requirements; and
an act of applying the identified transforms to the current pipeline specification to create a transformed pipeline specification for the application, the transformed pipeline specification specifying how to construct a message processing pipeline for the application that satisfies the additional message processing requirements, including the additional message processing requirements.

### Claim 9 (depends on 8)

The computer storage device of claim 8, wherein the transformed pipeline specification is subsequently used to instantiate a message processing pipeline for the application.

### Claim 10 (depends on 8)

The computer storage device as recited in claim 8, wherein the method further comprises:
an act of identifying components that are available to the computer system for inclusion in the message processing pipeline; and
wherein the act of identifying transforms that can be applied to the current pipeline specification comprises an act of identifying transforms that can be applied to the message processing pipeline based on the identified available components.

### Claim 11 (depends on 10)

The computer storage device of claim 10, wherein the current pipeline specification is a first pipeline specification specifying that a first pipeline component is to be included in a message processing pipeline for the application, the first pipeline component dependent on a first code library.

### Claim 12 (depends on 11)

The computer storage device of claim 11, wherein the method further comprises:
an act of accessing a second pipeline specification for the application, the second pipeline specification specifying that a second pipeline component is to be included in the message processing pipeline for the application after the first pipeline component, the second pipeline component dependent on a second code library;
an act of determining that the first library is available at a first computer system; and
an act of determining that the second library is available at a second different computer system.

### Claim 13 (depends on 12)

The computer storage device of claim 12, wherein the method further includes:
an act of transforming the first specification to include an intra-pipeline communication link for connecting the first pipeline component to the second pipeline component, the intra-pipeline communication link including an incoming communication medium to receive messages from the first pipeline component, an outgoing communication medium to send messages to the second pipeline component, a message pump to pump messages from the incoming communication medium to the outgoing communication medium.

### Claim 14 (depends on 13)

The computer storage device of claim 13, wherein the method further includes:
an act instantiating the message processing pipeline for the application that deploys the first pipeline component at the first computer system, deploys the second pipeline component at the second computer system, and utilizes intra-pipeline communication link to transfer messages from the first pipeline component to the second pipeline component

### Claim 15 (depends on 14)

The computer storage device of claim 14, wherein the computer storage device comprises the one or more processors.

### Claim 16

A computer system, the computer system comprising:
one or more processors;
system memory;
one or more computer storage media having stored thereon computer-executable instructions representing a pipeline transformation module and collection of available messaging pipeline components, each of the available messaging pipeline components providing differing message pipeline processing functionality, wherein the pipeline transformation module is configured to:
receive a set of application requirements that a message processing pipeline is to satisfy;
identify an arrangement of the available messaging pipeline components that can interact to satisfy the set of requirements; and
transform a message processing pipeline specification, the transform specifying that the interaction between the arrangement of available messaging pipeline components is to be included within an intra-pipeline communication link between other pipeline components included in a message processing pipeline instantiated from the message processing pipeline specification.

### Claim 17 (depends on 16)

The system of claim 16, wherein the pipeline transformation module being configured to transform a message processing pipeline specification comprises the pipeline transformation module being configured to specify an intra-pipeline communication link that physically decouples other pipeline components included in the message processing pipeline.

### Claim 18 (depends on 16)

The system of claim 16, wherein the pipeline transformation module being configured to transform a message processing pipeline specification comprises the pipeline transformation module being configured to specify an intra-pipeline communication link that temporally decouples other pipeline components included in the message processing pipeline.

### Claim 19 (depends on 16)

The system of claim 16, wherein the pipeline transformation module being configured to transform a message processing pipeline specification comprises the pipeline transformation module being configured to specify an intra-pipeline communication link that branches between or joins together other pipeline components included in the message processing pipeline.

### Claim 20 (depends on 16)

The system of claim 16, wherein the pipeline transformation module being configured to transform a message processing pipeline specification comprises the pipeline transformation module being configured to specify an intra-pipeline communication link that alters message or message protocols by applying message transformations or protocol bridges between other pipeline components included in the message processing pipeline.
