# US 2022/0046065 A1 · Methods and apparatus for efficient load balancing among microservices and/or processing entities

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

- Number: US 2022/0046065 A1
- Document ID: US20220046065A1
- Status: Published application
- Kind: A1
- Application number: 17/357,808
- Filed: 2021-06-24
- Published: 2022-02-10
- Earliest claimed: 2020-08-04
- Assignees: Ribbon Communications Operating Company, Inc.
- Applicants: Ribbon Communications Operating Company, Inc.
- Inventors: Tolga Asveren; Nagesh Kumar Bollapolli; Aby Kuriakose
- Web page: https://patentgrep.com/patent/US20220046065A1

## CPC

- H04L 65/1104: Session initiation protocol [SIP]
- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 65/1016: IP multimedia subsystem [IMS]
- H04L 65/1036: {at the edge}
- H04L 65/104: {in the network}
- H04L 65/1066: Session management
- H04L 65/1069: Session establishment or de-establishment
- H04W 28/08: Load balancing or load distribution (transferring a connection for handling the traffic H04W36/22; wireless traffic scheduling H04W72/12)
- H04W 28/0861: {between base stations}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The present invention is directed to communications methods and apparatus for efficiently distributing traffic to processing entities. An exemplary method includes the steps of: receiving, at a first Session Initiation Protocol (SIP) load balancer (SLB), a first SIP INVITE message; selecting, at the first SLB, which Session Border Controller (SBC) in a first cluster of SBCs to send the first SIP invite message based on a message allocation weight determined based on message loss information corresponding to different SBCs in the first cluster of SBCs, the selecting including allocating a portion of incoming received SIP INVITE messages to an individual SBC based on a message loss rate corresponding to the individual SBC and the message allocation rate, said selecting including selecting a first SBC from the first cluster of SBCs to send said first SIP INVITE message, and sending the first SIP INVITE message to the first SBC.

## Claims

### Claim 1

A communications method, the method comprising:
receiving, at a first Session Initiation Protocol (SIP) load balancer (SLB), a first SIP INVITE message;
selecting, at the first SLB, which SIP processing entity in a first cluster of SIP processing entities to send the first SIP INVITE message based on a message allocation weight determined based on message loss information corresponding to different SIP processing entities in the first cluster of SIP processing entities, said selecting including allocating a portion of incoming received SIP INVITE messages to an individual SIP processing entity based on a message loss rate corresponding to the individual SIP processing entity and said message allocation weight, said selecting including selecting a first SIP processing entity from the first cluster of SIP processing entities to send said first SIP INVITE message;
sending the first SIP INVITE message to the first SIP processing entity; and
receiving a first SIP response message from the first SIP processing entity in response to the first SIP INVITE message.

### Claim 2 (depends on 1)

The communications method of claim 1, further comprising:
updating the message allocation weight at the first SLB based on the first SIP response message to generate a first updated message allocation weight.

### Claim 3 (depends on 2)

The communications method of claim 2, further comprising:
receiving, at the first SLB, a second SIP INVITE message;
selecting, at the first SLB, which one of the SIP processing entities in the first cluster of SIP processing entities to send the second SIP INVITE message based on the first updated message allocation weight, a second SIP processing entity in said cluster of SIP processing entities being selected to process the second SIP INVITE message.

### Claim 4 (depends on 3)

The communications method of claim 3, further comprising:
receiving, at the first SLB, a second SIP response message including a second message loss rate value indicating a message loss rate at the second SIP processing entity; and
updating the first updated message allocation weight at the first SLB based on the second SIP response message to generate a second updated message allocation weight.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
maintaining a first global message loss rate (GLR) value at the first SLB, said maintaining the first global message loss rate value including updating the first GLR value based on the message loss rate value indicating a message loss rate at the first SIP processing entity.

### Claim 6 (depends on 1)

The communications method of claim 1, wherein the first SIP response message is a service unavailable response message that includes a first message loss rate value indicating a message loss rate at the first SIP processing entity, the method further comprising:
making, at the first SIP processing entity, a decision whether or not to send the first SIP INVITE message to another SIP processing entity in the first cluster of SIP processing entities based on a first global message loss rate (GLR) value maintained at the first SLB and the first message loss rate value included in the first SIP response message.

### Claim 7 (depends on 6)

The communications method of claim 6,
wherein said first message loss rate value included in the first SIP response message is greater than the first GLR value; and wherein said decision is a decision to send the first SIP INVITE message to another SIP processing entity in the first cluster of SIP processing entities, the method further comprising:
sending, from the first SLB, the first SIP INVITE message and the first message loss rate value to a second SIP processing entity in said first cluster of SIP processing entities.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
receiving a second SIP response message from the second SIP processing entity in response to the first SIP invite message, said second SIP response message being a service unavailable message; and
maintaining a first global message loss rate (GLR) value at the first SLB, said maintaining the first global message loss rate value including updating the first GLR value based on the first message loss rate corresponding to the first SIP processing entity indicated in said first SIP response message.

### Claim 9 (depends on 8)

The communications method of claim 8, further comprising:
receiving, at the first SIP load balancer (SLB), a second SIP INVITE message;
sending the second SIP INVITE message to the second SIP processing entity in the first cluster of SIP processing entities;
receiving from the second SIP processing entities a response to the second SIP INVITE message, said response to the second SIP INVITE message including an additional message loss rate value indicating a message loss rate at the second SIP processing entity; and
wherein maintaining the first global message loss rate (GLR) value at the first SLB includes updating the first GLR value based on the additional message loss rate value indicating a message loss rate at the second SIP processing entity.

### Claim 10 (depends on 8)

The communications method of claim 8, wherein the second SIP response message is a service unavailable response message that includes a second message loss rate value indicating a message loss rate at the second SIP processing entity, the method further comprising:
making, at the first SLB, a second decision whether or not to send the first SIP INVITE message to an additional SIP processing entity in the first cluster of SIP processing entities based on the first global message loss rate (GLR) value maintained at the first SLB, the first message loss rate value and the second message loss rate value.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
when the decision at the first SLB is not to send the first SIP INVITE message to an additional SIP processing entity, sending a response from the SLB in response to the first SIP INVITE message indicating service is unavailable.

### Claim 12

A communications system comprising:
a first Session Initiation Protocol (SIP) load balancer (SLB) including:
a first processor configured to operate the first SLB to:
receive a first SIP INVITE message;
select, at the first SLB, a SIP processing entity in a first cluster of SIP processing entities to send the first SIP INVITE message based on a message allocation weight determined based on message loss information corresponding to different SIP processing entities in the first cluster of SIP processing entities, said selecting including allocating a portion of incoming received SIP INVITE messages to an individual SIP processing entity based on a message loss rate corresponding to the individual SIP processing entity and said message allocation weight, said selecting including selecting a first SIP processing entity from the first cluster of SIP processing entities to send said first SIP INVITE message;
send the first SIP INVITE message to the first SIP processing entity; and
receive a first SIP response message from the first SIP processing entity in response to the first SIP INVITE message.

### Claim 13 (depends on 12)

The communications system of claim 12, wherein said first processor is further configured to operate the first SLB to:
update the message allocation weight at the first SLB based on the first SIP response message to generate a first updated message allocation weight.

### Claim 14 (depends on 13)

The communications system of claim 13, wherein said first processor is further configured to operate the first SLB to:
receive a second SIP INVITE message; and
select which one of the SIP processing entities in the first cluster of SIP processing entities to send the second SIP INVITE message based on the first updated message allocation weight, a second SIP processing entity in said cluster of SIP processing entities being selected to process the second SIP INVITE message.

### Claim 15 (depends on 14)

The communications system of claim 14, wherein the first processor is further configured to operate the first SLB to:
receive a second SIP response message including a second message loss rate (LR) value indicating a message loss rate at the second SIP processing entity; and
update the first updated message allocation weight at the first SLB based on the second SIP response message to generate a second updated message allocation weight.

### Claim 16 (depends on 13)

The communications system of claim 13, wherein said first processor is further configured to operate the first SLB to:
maintain a first global message loss rate (GLR) value at the first SLB, and
wherein said to maintain the first global message loss rate value includes updating the first GLR value based on the message loss rate value indicating a message loss rate at the first SIP processing entity.

### Claim 17 (depends on 12)

The communications system of claim 12,
wherein the first SIP response message is a service unavailable response message that includes a first message loss rate value indicating a message loss rate at the first SIP processing entity; and
wherein said first processor is further configured to operate the first SLB to:
make a decision whether or not to send the first SIP INVITE message to another SIP processing entity in the first cluster of SIP processing entities based on a first global message loss rate (GLR) value maintained at the first SLB and the first message loss rate value included in the first SIP response message.

### Claim 18 (depends on 17)

The communications system of claim 17,
wherein said first message loss rate value included in the first SIP response message is greater than the first GLR value; and wherein said decision is a decision to send the first SIP INVITE message to another SIP processing entity in the first cluster of SIP processing entities; and
wherein said first processor is further configured to:
operate the first SLB to send, from the first SLB, the first SIP INVITE message and the first message loss rate value to a second SIP processing entity in said first cluster of SIP processing entities.

### Claim 19 (depends on 18)

The communications system of claim 18, wherein said first processor is further configured to operate the first SLB to:
receive a second SIP response message from the second SIP processing entity in response to the first SIP INVITE message, said second SIP response message being a service unavailable message; and
maintain a first global message loss rate (GLR) value at the first SLB, and wherein said to maintain the first global message loss rate value includes updating the first GLR value based on the first message loss rate corresponding to the first SIP processing entity indicated in said first SIP response message.

### Claim 20

A non-transitory computer readable medium including a first set of computer executable instructions which when executed by a processor of a first Session Initiation Protocol (SIP) load balancer (SLB) cause the first SLB to:
receive a first SIP INVITE message;
select, at the first SLB, which SIP processing entity in a first cluster of SIP processing entities to send the first SIP INVITE message based on a message allocation weight determined based on message loss information corresponding to different SIP processing entities in the first cluster of SIP processing entities, said selecting including allocating a portion of incoming received SIP INVITE messages to an individual SIP processing entity based on a message loss rate corresponding to the individual SIP processing entity and said message allocation weight, said selecting including selecting a first SIP processing entity from the first cluster of SIP processing entities to send said first SIP INVITE message;
send the first SIP INVITE message to the first SIP processing entity; and
receive a first SIP response message from the first SIP processing entity in response to the first SIP INVITE message.
