# US 8,578,390 B2 · Method and apparatus for providing a real-time message routing communications manager

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

- Number: US 8,578,390 B2
- Document ID: US8578390B2
- Status: Granted
- Kind: B2
- Application number: 11/557,419
- Filed: 2006-11-07
- Published: 2007-05-31
- Granted: 2013-11-05
- Earliest claimed: 1999-11-16
- Assignees: Verizon Business Global LLC
- Applicants: Carolyn J. Dillow; Roger N. Tucker
- Inventors: Carolyn J. Dillow; Roger N. Tucker
- Web page: https://patentgrep.com/patent/US8578390B2

## CPC

- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- H04L 67/63: Routing a service request depending on the request content or context
- 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 communications manager in a telecommunications transaction server communicates service request messages and service response messages between one or more remotely executing service request processes and one or more service applications executing on the transaction server. A main thread in the communications manager monitors connections requests and initializes other threads. A unique logical communications connection is established between one of the service request processes and the communications manager. The communications manager creates both a read thread and a write thread for each logical communication connection that is validated and active. The read thread communicates service request messages from a service request process to an appropriate service application. The write thread communications service response messages from the service application to the service request process that issues the service request message. A monitor thread collects service response messages from a queue and directs them to the appropriate write threads via an in-memory write queue.

## Claims

### Claim 1

An apparatus comprising:
a processor configured to execute a main thread to monitor for receipt of a connection request associated with a logical communications connection for accessing a one of a plurality of service applications based on a service type associated with the connection request,
wherein the main thread creates, in response to the connection request, a read thread and a write thread associated with the logical communications connection,
wherein the read thread is configured to forward service request messages to a service request queue associated with the one service application for processing by the one service application,
wherein the write thread is configured to forward response messages generated by the one service application, the response messages being received from a service response queue associated with at least the one of the plurality of service applications, and
wherein the main thread further creates a monitor thread configured to detect a response message in the service response queue, to forward the response message to the write thread, and to monitor the status of a plurality of network connections.

### Claim 2 (depends on 1)

An apparatus according to claim 1, wherein the logical communications connection is established with a remote service request process that is configured to receive the request message from a switch.

### Claim 3 (depends on 1)

An apparatus according to claim 1, wherein another logical communications connection is established with another remote service request process.

### Claim 4 (depends on 1)

An apparatus according to claim 1, wherein a new service request queue is created if the one service application is new.

### Claim 5 (depends on 1)

An apparatus according to claim 1, wherein the main thread is further configured to monitor for receipt of a particular type of connection request in which central processor unit (CPU) utilization is relinquished until the particular type of connection request is received.

### Claim 6 (depends on 1)

An apparatus according to claim 1, wherein the main thread is further configured to validate the connection request against a plurality of valid connection identifiers.

### Claim 7 (depends on 1)

An apparatus according to claim 1, wherein the monitor thread is further configured to dispose of the response message when one of the plurality of network connections is not currently active.

### Claim 8 (depends on 1)

An apparatus according to claim 1, further comprising:
a connection status memory block configured to store information specifying active ones of the logical communications connections.

### Claim 9

A system comprising:
a communication manager comprising a processor configured to execute a service request process; and
a transaction server configured to communicate with the communication manager, the transaction server including a processor configured to execute a main thread to monitor for receipt of a connection request associated with a logical communications connection for accessing a one of a plurality of service applications based on a service type associated with the connection request,
wherein the main thread creates, in response to the connection request, a read thread and a write thread associated with the logical communications connection,
wherein the read thread is configured to forward service request messages from the service request process to a service request queue associated with the one service application, for processing by the one service application,
wherein the write thread is configured to forward response messages generated by the one service application to the service request process, the response messages being received from a service response queue associated with at least the one of the plurality of service applications, and
wherein the main thread further creates a monitor thread configured to detect a response message in the service response queue, to forward the response message to the write thread, and to monitor the status of a plurality of network connections.

### Claim 10 (depends on 9)

A system according to claim 9, wherein the communication manager is further configured to receive the request message from a switch.

### Claim 11 (depends on 9)

A system according to claim 9, further comprising:
another communication manager configured to communicate with the transaction server over another logical communications connection, the other communication manager being further configured to execute another service request process.

### Claim 12 (depends on 9)

A system according to claim 9, wherein a new service request queue is created if the one service application is new.

### Claim 13 (depends on 9)

A system according to claim 9, wherein the main thread is further configured to monitor for receipt of a particular type of connection request in which central processor unit (CPU) utilization is relinquished until the particular type of connection request is received.

### Claim 14 (depends on 9)

A system according to claim 9, wherein the main thread is further configured to validate the connection request against a plurality of valid connection identifiers.

### Claim 15 (depends on 9)

A system according to claim 9, wherein the monitor thread is further configured to dispose of the response message when one of the plurality of network connections is not currently active.

### Claim 16 (depends on 9)

A system according to claim 9, wherein the transaction server further includes a connection status memory block configured to store information specifying active ones of the logical communications connections.

### Claim 17

A method comprising:
receiving a service request process over a data network from a communication manager;
monitoring, by a main thread, for receipt of a connection request associated with a logical communications connection established with the communication manager for accessing a one of a plurality of service applications based on a service type associated with the connection request,
wherein the main thread creates, in response to the connection request, a read thread and a write thread associated with the logical communications connection,
wherein the read thread is configured to forward service request messages from the service request process to a service request queue associated with the one service application for processing by the one service application,
wherein the write thread is configured to forward response messages generated by the one service application to the service request process, the response messages being received from a service response queue associated with at least the one of the plurality of service applications, and
wherein the main thread further creates a monitor thread configured to detect a response message in the service response queue, to forward the response message to the write thread, and to monitor the status of a plurality of network connections.

### Claim 18 (depends on 17)

A method according to claim 17, wherein the communication manager is further configured to receive the request message from a switch.

### Claim 19 (depends on 17)

A method according to claim 17, wherein another logical communications connection is established with another service request process.

### Claim 20 (depends on 17)

A method according to claim 17, wherein a new service request queue is created if the one service application is new.

### Claim 21 (depends on 17)

A method according to claim 17, wherein the main thread is further configured to monitor for receipt of a particular type of connection request in which central processor unit (CPU) utilization is relinquished until the particular type of connection request is received.

### Claim 22 (depends on 17)

A method according to claim 17, wherein the main thread is further configured to validate the connection request against a plurality of valid connection identifiers.

### Claim 23 (depends on 17)

A method according to claim 17, wherein the monitor thread is further configured to dispose of the response message when one of the plurality of network connections is not currently active.

### Claim 24 (depends on 17)

A method according to claim 17, further comprising:
storing information specifying active ones of the logical communications connections.
