# US 2012/0254891 A1 · Identification of a protocol used in a message

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

- Number: US 2012/0254891 A1
- Document ID: US20120254891A1
- Status: Published application
- Kind: A1
- Application number: 13/078,483
- Filed: 2011-04-01
- Published: 2012-10-04
- Earliest claimed: 2011-04-01
- Assignees: International Business Machines Corporation
- Inventors: Waseem A. Roshen
- Web page: https://patentgrep.com/patent/US20120254891A1

## CPC

- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 2209/5018: Thread allocation
- H04L 69/18: Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
- 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

A method and computer program product for identifying a protocol used in a message are presented. The message is received at a socket associated with a port in a communication system. A portion of the message containing protocol information is identified in response to the message being received at the socket. The protocol used in the message is identified from the protocol information in the portion of the message. The message is forwarded to a process configured to process the protocol.

## Claims

### Claim 1

A method for identifying a protocol used in a message, the method comprising:
receiving the message at a socket associated with a port in a communication system;
responsive to receiving the message at the socket, identifying a portion of the message containing protocol information;
identifying the protocol used in the message from the protocol information in the portion of the message; and
forwarding the message to a process configured to process the protocol.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
identifying an application that is an intended destination for the message; and
responsive to identifying the protocol used in the message, forwarding the message to the application.

### Claim 3 (depends on 1)

The method of claim 1, wherein identifying the protocol used in the message from the protocol information in the portion of the message comprises:
comparing a format of the protocol information in the portion of the message with a set of formats for different protocols.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
storing a set of formats of protocol information for each of a plurality of protocols in a storage device to form a plurality of formats for different protocols; and
wherein identifying the protocol used in the message from the protocol information in the portion of the message comprises:
comparing a format of the protocol information in the portion of the message with the plurality of formats for different protocols in the storage device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the communication system is an enterprise service bus comprising a plurality of processes and wherein the plurality of processes includes one or more processes configured to process messages using one of a plurality of different protocols.

### Claim 6 (depends on 1)

The method of claim 1, wherein the socket is a network socket associated with a transmission control protocol/internet protocol stack.

### Claim 7 (depends on 1)

The method of claim 1, wherein the communication system is an enterprise service bus comprising a plurality of processes, wherein the plurality of processes includes one or more processes configured to process messages using one of a plurality of different protocols, wherein the process is one of the plurality of processes, and further comprising:
storing a set of formats of protocol information for each of a plurality of protocols in a storage device to form a plurality of formats for different protocols; and
wherein identifying the protocol used in the message from the protocol information in the portion of the message comprises:
comparing a format of the protocol information in the portion of the message with the plurality of formats for different protocols in the storage device.

### Claim 8

A method for identifying a protocol used in a message, the method comprising:
receiving the message at a port in a communication system;
responsive to receiving the message, identifying a first header in the message in addition to a second header in the message, wherein the first header has a format using a first protocol and wherein the second header has a format using the protocol used in the message; and
identifying the protocol used in the message from the first header of the message using a module associated with the port, wherein the module is configured to identify information using the first protocol.

### Claim 9 (depends on 8)

The method of claim 8 further comprising:
identifying a process associated with the communication system configured to process the protocol used in the message; and
forwarding the message to the process.

### Claim 10 (depends on 9)

The method of claim 9, wherein the communication system is an enterprise service bus comprising a plurality of processes and wherein the plurality of processes include one or more processes configured to process messages using one of a plurality of different protocols.

### Claim 11 (depends on 8)

The method of claim 8, wherein the first protocol is added to the message by an application sending messages to the communication system.

### Claim 12 (depends on 8)

The method of claim 8, wherein the first protocol is a communication protocol that is different than the protocol used in the message and wherein the first header is placed before the second header in the message.

### Claim 13 (depends on 8)

The method of claim 8, wherein the module parses only the first header to identify the protocol used in the message.

### Claim 14 (depends on 8)

The method of claim 8, wherein the communication system is an enterprise service bus comprising a plurality of processes, wherein the plurality of processes include one or more processes configured to process messages using one of a plurality of different protocols, and further comprising:
identifying a process in the plurality of processes associated with the enterprise service bus that is configured to process the protocol used in the message; and
forwarding the message to the process.

### Claim 15

A computer program product for identifying a protocol used in a message, the computer program product comprising:
a set of computer readable storage devices;
program code, stored on at least one of the set of computer readable storage devices, configured to receive the message at a socket associated with a port in a communication system;
program code, stored on at least one of the set of computer readable storage devices, configured to identify a portion of the message containing protocol information in response to receiving the message at the socket
program code, stored on at least one of the set of computer readable storage devices, configured to identify the protocol used in the message from the protocol information in the portion of the message; and
program code, stored on at least one of the set of computer readable storage devices, configured to forward the message to a process configured to process the protocol.

### Claim 16 (depends on 15)

The computer program product of claim 15 further comprising:
program code, stored on at least one of the set of computer readable storage devices, configured to identify an application that is an intended destination for the message; and
program code, stored on at least one of the set of computer readable storage devices, configured to forward the message to the application in response to identifying the protocol used in the message.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the computer program code configured to identify the protocol used in the message from the protocol information in the portion of the message comprises:
program code, stored on at least one of the set of computer readable storage devices, configured to compare a format of the protocol information in the portion of the message with a set of formats for different protocols.

### Claim 18 (depends on 15)

The computer program product of claim 15 further comprising:
program code, stored on at least one of the set of computer readable storage devices, configured to store a set of formats of protocol information for each of a plurality of protocols in a storage device to form a plurality of formats for different protocols; and
wherein the program code configured to identify the protocol used in the message from the protocol information in the portion of the message comprises:
program code, stored on at least one of the set of computer readable storage devices, configured to compare a format of the protocol information in the portion of the message with the plurality of formats for different protocols in the storage device.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the communication system is an enterprise service bus comprising a plurality of processes and wherein the plurality of processes includes one or more processes configured to process messages using one of a plurality of different protocols.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the socket is a network socket associated with a transmission control protocol/internet protocol stack.
