Method, system, and computer-readable medium for allocating SIGTRAN connections between signal transfer point (STP) message processors

Distributing Sigtran connections between STP message processors by connecting the load balancer solves the problem of difficulty in configuring STP resources in the existing technology, realizes automated management and load balancing, and improves the flexibility and scalability of STP resources.

CN112997509BActive Publication Date: 2024-08-23ORACLE INT CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980071882.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-30
Filing Date
2019-02-21
Publication Date
2024-08-23
Estimated Expiration
2039-02-21

AI Technical Summary

Technical Problem

In IP networks, the Sigtran connection configuration between Signal Transfer Point (STP) message processors is difficult to flexibly manage, especially in cloud deployments of virtualized STP resources, resulting in the need for manual reconfiguration of links and links when expanding and shrinking resources. Road set is time-consuming and labor-intensive, and is not suitable for cloud-based STP deployment.

Method used

Use a connection load balancer as the front end of the STP message processor. It receives and distributes Sigtran messages by publishing public IP addresses and MAC addresses. It uses load balancing algorithms to determine the load and failure conditions of the message processor and automatically redistributes connections to avoid manual work. Configuration and service interruption.

Benefits of technology

It achieves seamless connection management between STP message processors, automated resource configuration and load balancing, improves the flexibility and scalability of STP resources, and reduces the configuration complexity and service interruption risk for remote SS7 peers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112997509B_ABST
    Figure CN112997509B_ABST
Patent Text Reader

Abstract

A method for allocating Sigtran connections between signal transfer point (STP) message processors includes providing a connection load balancer as a front end to a plurality of message processors of the STP. The method also includes publishing, by the connection load balancer, an Internet Protocol (IP) address to an SS7 peer. The method also includes initializing the message processor of the STP to listen on the IP address published by the connection load balancer. The method also includes receiving, at the connection load balancer, a Sigtran message addressed to the IP address. The method also includes determining, by the connection load balancer, whether the Sigtran message is an initial message for the Sigtran connection or a subsequent message for the Sigtran connection, and whether the Sigtran connection has been assigned to one of the message processors. The method also includes forwarding the message to one of the message processors or discarding the message based on whether the message is an initial message or a subsequent message and based on whether the connection has been assigned to one of the message processors.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority claim

[0002] This application claims the benefit of priority to U.S. Patent Application No. 16 / 206,592, filed on November 30, 2018, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] The subject matter described herein relates to routing SS7 messages in an Internet Protocol (IP) network. More specifically, the subject matter described herein relates to methods, systems, and computer-readable media for allocating Sigtran connections between signal transfer point message processors. Background Art

[0004] Sigtran is a family of protocols published by the Internet Engineering Task Force (IETF) that enables the transport of SS7 messages in IP networks. In its initial standardization, SS7 messages were designed to be transported over SS7 Message Transfer Part (MTP) layers 1-3, which are not based on IP. Sigtran transport of SS7 messages replaces one or more of the MTP layers with IP transport. Using IP transport for SS7 messages enables the use of lower-cost IP and Ethernet hardware to transport SS7 messages and facilitates sharing of link bandwidth.

[0005] In an SS7 network, a signal transfer point is a routing node that routes SS7 messages to their destination. A signal transfer point routes SS7 messages based on an SS7 message parameter called a point code. Because a signal transfer point specifically provides routing services in an SS7 network, a signal transfer point is an important function in an SS7 network and can become overloaded by the processing required to route SS7 messages. Thus, it is desirable to properly manage the processing resources of a signal transfer point.

[0006] With the widespread use of Sigtran, there is a need for flexible configuration as SS7 STP resources change. For example, in a cloud-based deployment of virtualized STP resources, it may be necessary to scale up and down virtual STP resources. Scaling STP resources may require adding or removing STP-based IP-based connections that implement SS7 links and linksets. In an SS7 network, a link or signaling link is a connection between adjacent nodes. A linkset is a logical grouping of signaling links. Adding and removing links and linksets may require manual reconfiguration of IP addresses and port numbers associated with the links and linksets. Performing this configuration manually is time-consuming and laborious and is not suitable for cloud-based STP deployments that require flexibility in resource reconfiguration. Even in bare metal or on-premises deployments of STP resources, similar issues with reconfiguration occur.

[0007] Thus, in view of these difficulties, there is a need for improved methods, systems, and computer-readable media for distributing Sigtran connections among STP message processors. Summary of the invention

[0008] The subject matter described herein includes methods, systems, and computer-readable media for allocating Sigtran connections between STP message processors. A method for allocating Sigtran connections between STP message processors includes providing a connection load balancer as a front end to a plurality of message processors of the STP. The method also includes publishing an Internet Protocol (IP) address to an SS7 peer by the connection load balancer. The method also includes initializing the message processor of the STP to listen on the IP address published by the connection load balancer. The method also includes receiving a Sigtran message addressed to the IP address at the connection load balancer. The method also includes determining, by the connection load balancer, whether the Sigtran message is an initial message for a Sigtran connection or a subsequent message about the Sigtran connection, and whether the Sigtran message is for a Sigtran connection to which one of the message processors has been assigned. The method also includes forwarding the message to one of the message processors or discarding the message based on whether the message is an initial message or a subsequent message and based on whether the Sigtran message is for a Sigtran connection to which one of the message processors has been assigned.

[0009] According to one aspect of the subject matter described herein, the message processor comprises a physical message processor of a physical STP.Such an STP may be deployed locally in a telecommunications network operator's network.

[0010] According to another aspect of the subject matter described herein, a message processor includes a virtual message processor of a virtual STP. Such an STP and its message processor can be deployed in a cloud network and can include virtual processing resources executed on a hypervisor layer that virtualizes access to underlying hardware.

[0011] According to another aspect of the subject matter described herein, an IP address published by a connection load balancer can be associated with a loopback interface of a message processor. Associating the IP address with the loopback address of the message processor enables the message processor to use the IP address as an alias without broadcasting an Address Resolution Protocol (ARP) or Internet Control Management Protocol Version 6 (ICMPv6) neighbor discovery message containing the IP address.

[0012] According to yet another aspect of the subject matter described herein, a method for Sigtran connection load balancing includes broadcasting, by a connection load balancer, a gratuitous Address Resolution Protocol (ARP) or ICMPv6 Neighbor Discovery message associating an IP address with a Media Access Control (MAC) address of the connection load balancer.

[0013] According to yet another aspect of the subject matter described herein, the message is an initial message for a Sigtran connection to which one of the STP message processors has not yet been assigned. If the message is determined to be an initial message and the connection has not yet been assigned to one of the message processors, then one of the message processors is assigned to the Sigtran connection for which the initial message is intended to initiate establishment using a load balancing algorithm. The Sigtran message is then forwarded to the message processor assigned to the Sigtran connection.

[0014] According to another aspect of the subject matter described herein, assigning one of the message processors to a Sigtran connection using a load balancing algorithm includes maintaining a group count for each message processor, wherein the group count indicates the number of Sigtran connections assigned to each message processor. For each message processor, a group count difference between the group count of the message processor and a lowest group count of the message processors is calculated. Message processors having a group count difference less than a link allocation threshold are included as connection allocation candidates. Message processors having a group count difference greater than or equal to the link allocation threshold are excluded from consideration as connection allocation candidates.

[0015] According to yet another aspect of the subject matter described herein, a method for Sigtran connection load balancing includes detecting a failure and reconnection of one of the message processors and, in response, using the reconnected message processor as a candidate for Sigtran connection allocation.

[0016] According to yet another aspect of the subject matter described herein, determining whether a message is an initial message or a subsequent message associated with a Sigtran connection can include determining that the message is a subsequent message. Determining whether the Sigtran connection associated with the subsequent message has been assigned to one of the message processors can include determining whether the Sigtran connection has been assigned to one of the message processors. If the message is determined to be a subsequent message for which the Sigtran connection has been assigned to one of the message processors, the message can be forwarded to the assigned message processor.

[0017] According to yet another aspect of the subject matter described herein, a method for Sigtran connection load balancing includes forwarding egress traffic from a message processor of an STP to an SS7 peer in a manner that bypasses a connection load balancer.

[0018] According to another aspect of the subject matter described herein, a system for distributing Sigtran connections between signal transfer point (STP) processors is provided. The system includes a signal transfer point (STP) including a plurality of message processors for routing Sigtran messages received on Sigtran connections. The system also includes a connection load balancer operating as a front end to the message processors of the STP. The connection load balancer is configured to publish an Internet Protocol (IP) address to an SS7 peer. The message processor is initialized to listen on the IP address published by the connection load balancer. The connection load balancer is configured to receive a Sigtran message addressed to the IP address, determine whether the Sigtran message is an initial message for a Sigtran connection or a subsequent message for a Sigtran connection, and whether the Sigtran message is for a Sigtran connection to which one of the message processors has been assigned. The connection load balancer is configured to forward the Sigtran message to one of the message processors based on the result of the determination.

[0019] According to yet another aspect of the subject matter described herein, a connection load balancer is configured to broadcast a gratuitous ARP or ICMPv6 neighbor discovery message associating an IP address with a MAC address of the connection load balancer.

[0020] According to yet another aspect of the subject matter described herein, a connection load balancer determines that a message is an initial message for a Sigtran connection to which one of the message processors has not yet been assigned, assigns the Sigtran connection for which the initial message is intended to be established to one of the message processors using a load balancing algorithm, and forwards the Sigtran message to the message processor assigned to the Sigtran connection.

[0021] According to yet another aspect of the subject matter described herein, a connection load balancer is configured to maintain a group count for each message processor, wherein the group count indicates the number of Sigtran connections assigned to each message processor, and wherein the connection load balancer is further configured to calculate, for each message processor, a group count difference between the group count of the message processor and a lowest group count of the message processors, and include message processors having a group count difference less than a link allocation threshold as connection allocation candidates.

[0022] According to yet another aspect of the subject matter described herein, a connection load balancer is configured to detect a failure and reconnection of one of the message processors and, in response, use the reconnected message processor as a candidate for Sigtran connection allocation.

[0023] According to yet another aspect of the subject matter described herein, a message processor is configured to forward egress traffic from a message processor of an STP to an SS7 peer in a manner that bypasses a connection load balancer.

[0024] According to another aspect of the subject matter described herein, a non-transient computer-readable medium is provided, which has executable instructions stored thereon, and the executable instructions control the computer to perform steps when executed by a processor of a computer. These steps include providing a connection load balancer as a front end of multiple message processors of an STP. These steps also include publishing an Internet Protocol (IP) address to an SS7 peer by the connection load balancer. These steps also include initializing the message processor of the STP to listen on the IP address published by the connection load balancer. These steps also include receiving a Sigtran message addressed to the IP address at the connection load balancer. These steps also include determining by the connection load balancer whether the Sigtran message is an initial message for a Sigtran connection or a subsequent message for a Sigtran connection. These steps also include forwarding the Sigtran message to one of the message processors by the connection load balancer and based on the determined result.

[0025] The subject matter described herein can be implemented in software in combination with hardware and / or firmware. For example, the subject matter described herein can be implemented in software executed by a processor. In an exemplary embodiment, the subject matter described herein can be implemented using a non-transitory computer-readable medium having computer-executable instructions stored thereon, which control the computer to perform steps when executed by the processor of the computer. Exemplary computer-readable media suitable for implementing the subject matter described herein include non-transitory computer-readable media, such as disk memory devices, chip memory devices, programmable logic devices, and application-specific integrated circuits. In addition, the computer-readable medium that implements the subject matter described herein can be located on a single device or computing platform, or can be distributed on multiple devices or computing platforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The subject matter described herein will now be explained with reference to the accompanying drawings:

[0027] Figure 1 is a block diagram illustrating a conventional allocation of Sigtran connections to message processors of an STP;

[0028] Figure 2 is a network diagram illustrating a conventional allocation of Sigtran connections between message processors at an STP when a message processor fails;

[0029] Figure 3 is a network diagram illustrating the distribution of Sigtran connections between message processors at an STP using a connection load balancer;

[0030] Figure 4 is a network diagram illustrating routing of egress traffic from an STP in a manner that bypasses a connected load balancer;

[0031] Figure 5 is a message flow diagram illustrating initialization of a connection load balancer;

[0032] Figure 6 is a message flow diagram illustrating initialization of an STP message processor;

[0033] Figure 7 is a message flow diagram illustrating the distribution of Sigtran connections between STP message processors using a connection load balancer.

[0034] Figure 8 is a message flow diagram illustrating the processing of messages associated with an existing Sigtran connection at an STP using a connection load balancer;

[0035] Fig. 9 is a network diagram illustrating routing messages using a connection load balancer after reconnecting a failed message processor;

[0036] Fig.10 is a block diagram connecting a load balancer and a signal transfer point including a plurality of message processors; and

[0037] Fig.11 is a flow chart illustrating an exemplary process for distributing Sigtran messages among STP message processors using a connection load balancer. DETAILED DESCRIPTION

[0038] Methods, systems, and computer-readable media for distributing Sigtran connections among STP processors are disclosed. Figure 1 A conventional system for distributing Sigtran connections between STP message processors is illustrated. Figure 1 In the example, the signal transmission from the STP 100 includes a plurality of message processors 1021-102 N Each message processor 1021-102 N A dedicated connection to an external device, such as an SS7 peer 104, is called a link. In the example shown, the SS7 links are numbered 1-K. Links 1-K form a logical grouping called a link set. A message processor represents a single SS7 point code. Each message processor 1021-102 NThere are two Ethernet devices 106a and 106b. Multi-host Stream Control Transmission Protocol (SCTP) associations 110 and 112 are established between the message processor of STP 100 and the signaling device 108 of SS7 peer 104. A multi-host SCTP association is a connection between processes where the process at each endpoint has more than one IP address. In the example shown, IP addresses IP-STP-1-a and IP-STP-Na are IP addresses associated with one end of path "a" associated with the multi-host STP. Similarly, IP addresses IP-STP-1-b and IP-STP-Nb are IP addresses associated with one end of path "b" associated with the multi-host SCTP. IP addresses IP-STP-1-a, IP-STP-Na, IP-STP-1b, and IP-STP-Nb have been published to SS7 peer 104. Therefore, when message processors 1021-102 N When one of the message processors fails or a new message processor is added, reconfiguration of the SS7 peer 104 is required.

[0039] Multi-homed SCTP associations 110 and 112 each have endpoints on two different message processors of STP 100. Thus, when message processors 1021-102 N When one of the message processors fails, traffic can automatically switch to another message processor associated with the multihomed connection or association. However, the remaining paths of the SCTP association will operate at a reduced capacity. When a message processor becomes available, either after a failure or during a scale-up operation, the new link must be configured with the IP address for the new message processor. This configuration can be laborious or processor-intensive for the remote STP peer.

[0040] Figure 2 The diagram illustrates the process that occurs when one of the message processors fails. Figure 2 In step 1, message processor 1021 fails. In step 2, all links connected to message processor 1021 are dropped. Reconnection attempts to message processor 1021 also fail. For remote peer nodes connected to STP 100, the links can be located on a single message processor or distributed across multiple message processors based on redundancy mode. When a failure occurs, SS7 peer 104 attempts to reconfigure the affected link using the fixed IP of another message processor, which can be laborious.

[0041] Figure 2Another problem with the scenario shown in may not be able to automatically assign connections to the least loaded message processor. For example, if message processor 1021 is disproportionately loaded with Sigtran connections, then load balancing may not be possible because SS7 peer 104 is not aware of message processors 1021-102 N relative load. Figure 2 Another problem with the scenario shown in is that when an STP message processor fails, the links connected to the failed message processor are not automatically assigned to other STP message processors, and unless manual intervention is performed to reconfigure the links with other STP message processors, the linkset will operate at a reduced capacity. As described above, with a multi-homed Sigtran connection, when a message processor associated with one path fails, messages can be sent to the STP via a backup link associated with the multi-homed Sigtran connection. However, if Figure 2 As shown in , when one message processor fails, half of the signaling links associated with the link set fail, which reduces the capacity of the link set. In view of these difficulties, there is a need to improve the allocation of Sigtran connections between message processors at signal transfer points.

[0042] Figure 3 is a network diagram illustrating the distribution of Sigtran connections at STP using a connection load balancer. Figure 3 , connecting the load balancer 150 as the message processor 1021-102 of the STP 100 NThe connection load balancer 150 publishes IP addresses to the SS7 peers 104 on each network. In the example shown, the published IP addresses are IP-STP-a for network A and IP-STP-b for network B. These IP addresses are public IP addresses that the connection load balancer 150 identifies messages that need to be distributed among the message processors of the STP 100. The connection load balancer 150 includes Ethernet interfaces 152A and 152B. Publishing the IP addresses may include broadcasting a gratuitous ARP message to the SS7 peers 104 that associates the IP addresses IP-STP-a and IP-STP-b with the MAC addresses of the Ethernet interfaces 152A and 152B. If IP version 4 is used in the network, then the gratuitous ARP message can be used to publish the IP addresses used by the connection load balancer to load share between the STP processors. If IP version 6 is used, instead of broadcasting the gratuitous ARP message, the IP addresses and corresponding MAC addresses can be broadcast to the SS7 peers using ICMPv6 neighbor discovery messages. Typically, the IP address will be published to a border gateway adjacent to the connection load balancer 150, and the border gateway will communicate the IP address to other SS7 nodes using the Border Gateway Protocol (BGP) or other suitable IP route discovery mechanism.

[0043] As about Figure 1 and 2 As shown in the example, the SS7 peer 104 can communicate with the message processors 1021 and 102 N A multi-homed SCTP association is established between the STP 100 and the STP 100. SS7 traffic may be transmitted to or from the STP 100 over the multi-homed SCTP association using an adaptation layer protocol such as M3UA.

[0044] even though Figure 3 The example shown in FIG. 1 illustrates an SS7 peer 104 and message processors 1021-102 N The subject matter described herein is not limited to such implementation. Connection load balancer 150 can be used to load balance connections between single-homed SCTP associations (i.e., SCTP associations having only a single IP address associated with each endpoint) between SS7 peers and STP message processors.

[0045] As used herein, the term "Sigtran connection" will be used to refer to a connection established between SS7 endpoints over an IP network to carry Sigtran traffic. An example of a Sigtran connection is an SCTP association.

[0046] Each message processor 1021-102 NIt also configures itself to listen on the IP addresses published by the connection load balancer 150. For example, the message processor 1021 can listen on the IP addresses IP-STP-a and IP-STP-b. Configuring the message processor to listen can include executing a socket listen command on a given IP address and port.

[0047] Connection load balancer 150 solves at least some of the above problems. By exposing only a set of public IP addresses for connecting to STP message processors, and continuing to use the same set of IP addresses even as message processors go in and out of service, changes in STP message processors will not require manual reconfiguration of links and link sets. STP 100 can be scaled up or down without changing the public IP address information. The change in configuration will be transparent to SS7 peers 104 because the new message processor will use an IP address from the existing set of IP addresses published by connection load balancer 150. Figure 3 In the example, the connection load balancer 150 only exposes IP addresses IP-STP-a and IP-STP-b to the SS7 peer 104. STP message processors 1021-102 N Each identifies a set of IP addresses published by connection load balancer 150. New physical or virtual message processors will be configured to identify the same set of IP addresses. Therefore, when message processors are added to or removed from a service, this change in configuration is transparent to SS7 peer 104.

[0048] The connection load balancer 150 can also balance the SS7 message processors 1021-102 N If message processing capacity is lost or reduced at STP 100, connection load balancer 150 can redistribute links among the available SS7 message processors, thereby avoiding service interruption with remote SS7 peers 104. Similarly, if processing capacity is added at STP 100, connection load balancer 150 can rebalance Sigtran connections among the available message processors in a manner that is transparent to the remote SS7 peers.

[0049] Figure 3 It can also be used to illustrate the routing of ingress traffic using the connection load balancer 150. Figure 3, traffic from the signaling equipment 108 on the SS7 peer 104 is addressed to a public IP address IP-STP-a or IP-STP-b published by the connection load balancer 150. The connection load balancer 150 receives the message traffic and determines for each message whether the message is an initial message associated with a Sigtran connection or a subsequent message associated with a Sigtran connection. An initial message is a connection request message for which a message processor has not yet been assigned. For an SCTP association, an example of an initial message is an SCTP INIT message. In the SCTP protocol, an INIT message is a message used to initiate the establishment of an SCTP association with a remote endpoint. The INIT message carries a list of IP addresses associated with the endpoint that sent the INIT message.

[0050] A subsequent message is a message sent after the initial message for an SCTP association, such as an SCTP cookie-echo message, a selective acknowledgement (SACK), a heartbeat, a heartbeat ACK, or a data message. If the message is determined to be an initial message, connection load balancer 150 may assign the message to message processors 1021-102 using a load balancing algorithm. N If the message is determined to be a subsequent message associated with a Sigtran connection, the connection load balancer 150 routes the message to the message processor 1021-102 previously assigned to the Sigtran connection. N If the message is a subsequent message and a message handler has not been assigned to the Sigtran connection, connection load balancer 150 may discard the message.

[0051] Figure 4 is a diagram illustrating the flow of egress message traffic from STP 100 to remote SS7 peer 104. Figure 4 , from message processor 1021-102 NEgress traffic is not routed through the connection load balancer 150 and therefore does not impact the capacity of the connection load balancer 150. The mechanism for routing traffic around the connection load balancer 150 includes an IP routing protocol, where a standard routing information protocol (such as Routing Information Protocol (RIP), Open Shortest Path First (OSPF)) is used to determine the routing path from the STP 100 to the signaling device 108. Such a path cannot include the connection load balancer 150. Since gratuitous ARP or ICMPv6 neighbor discovery messages are broadcast for the public IP address used by the connection load balancer, ingress messages (i.e., messages from an SS7 peer to one of the STP message processors) addressed to the public IP address are routed through the connection load balancer. Egress messages are not addressed to the public IP address of the connection load balancer. Instead, they are addressed to the IP address of the destination SS7 peer. As described above, the route to the SS7 peer cannot include the connection load balancer 150, so the egress messages (i.e., messages from the STP message processor to the SS7 peer at the other end of the SCTP association) can be routed over a route determined using RIP or OSPF, which bypasses the connection load balancer 150.

[0052] Figure 5 and 6 Figure 1.1 shows the connection load balancer initialization. Figure 5 In step A1, connection load balancer 150 publishes the IP address of each network on which the connection load balancer exists to the SS7 peer, which in the illustrated example is border gateway 156. The publication of the IP address can be accomplished by broadcasting a gratuitous ARP or ICMPv6 neighbor discovery message that associates IP address IP-STP-a with MAC address MAC-a and IP address IP-STP-b with MAC address MAC-b. In step A2, border gateway 156 updates its MAC or ARP table to associate the IP address with the MAC address. Table 160 illustrates an example of the configuration of the ARP table of border gateway 156 after receiving a gratuitous ARP message from connection load balancer 150.

[0053] Figure 6 is a flowchart illustrating the initialization of a message processor. Figure 6 In step B1, all message processors are configured with alias addresses of IP addresses IP-STP-a and IP-STP-b issued by the connection load balancer 150 on the loopback interface. N Configure IP addresses on the loopback interface so that message processors 1021-102 N No ARP or ICMP messages are sent for these IP addresses. In step B2, each message processor 1021-102 NA multi-homed responder connection is configured which starts listening on IP address IP-STP-a for the primary path and IP address IP-STP-b for the secondary path.

[0054] After initialization, a load balancing algorithm may be used to distribute Sigtran connections among the processors of the STP 100 . Figure 7 is a message flow diagram illustrating the use of connection load balancer 150 to distribute new Sigtran connections to SS7 message processors. Figure 7 In step C1, the remote SS7 client 104 sends a Sigtran connection request on link L1. The destination IP address of the connection request includes IP addresses IP-STP-a and IP-STP-b. In this example, the source IP addresses are R-IP-x and R-IP-y. The destination port of the connection request is P1.

[0055] In step C2, the border gateway 156 searches its MAC table for the MAC address corresponding to the IP address IP-STP-a. In this example, the border gateway 156 locates the address MAC-a, which corresponds to the interface of the connection load balancer 150. Thus, the border gateway 156 forwards the message to the connection load balancer 150.

[0056] In step C3, connection load balancer 150 applies a connection distribution or load balancing algorithm to determine which STP message processor should receive the connection request. In this example, it is assumed that the message is sent to message processor 102 due to the load balancing algorithm. i . In one example, the connection load balancer 150 may perform load balancing based on the following parameters in the algorithm. For each message processor, the connection load balancer 150 may maintain a group count. The group count represents the number of links from remote peers that reach a given message processor. Initially, the group count for all message processors will be set to 0. Each time a new Sigtran connection is assigned to a message processor, the group count will be incremented. Another parameter that may be used in the load balancing algorithm is the link allocation threshold, which is valid for the entire link set. The link allocation threshold is a configurable value set by the user to define a threshold difference between group counts, above which a message processor will not be considered for load balancing. For example, the link allocation threshold may be set to 4. When the connection load balancer 150 receives a new Sigtran connection request, the connection load balancer 150 determines for each message processor 1021, 102 i and 102 NThen, connection load balancer 150 identifies the message processor with the lowest group count and adds the link allocation threshold to the lowest group count. Any message processor with a group count greater than the sum of the lowest group count and the link allocation threshold will not be considered for load balancing. Any message processor with a group count less than the sum of the lowest group count and the link allocation threshold will be considered a connection allocation candidate. For example, if message processors 1021, 102 i and 102 N The group counts are 1, 3, and 4 respectively, and the link allocation threshold is 2, then only message processors 1021 and 102 i Considered as a candidate for connection assignment.

[0057] Once the set of candidates for connection assignment is identified, the connection load balancer 150 may select from one of the candidates, for example using a random selection algorithm, and forward the connection request to the assigned message handler (see step C4). The connection load balancer 150 may also create an entry in its association database that associates the Sigtran connection with the assigned message handler. Examples of parameters that may be stored in the association database are as follows:

[0058] {R-IP-x, R-IP-y, R-Port-->STP-MP-i}

[0059] In this example, R-IP-x and R-IP-y are the IP addresses of the SS7 peers that sent the SCTP INIT message to connection load balancer 150. A single peer can use more than one IP address because the peers implement SCTP multi-homing. R-Port is the SCTP port number used by the sending node in the SCTP INIT message. STP-MP-i is an identifier used by connection load balancer 150 to assign to the STP message processor of the connection.

[0060] After the record (such as shown above) is created by the connection load balancer 150, subsequent messages (such as SCTP data or control messages sent through the same SCTP association) will be forwarded to the same STP message processor. For example, when an SCTP data or control message (also referred to as a "block") arrives at the connection load balancer 150, the connection load balancer 150 can perform a lookup in its association database using the source IP address and SCTP port number in the message. In this example, it is assumed that the source IP addresses are R-IP-x and R-IP-y, and the source port is R-Port. Thus, the connection load balancer 150 will locate the matching entry from the example above and forward the SCTP data message to the assigned STP message processor STP-MP-i.

[0061] It should also be noted that if the connection load balancer 150 receives an SCTP INIT message and has already established a connection with one of the STP message processors, then the connection load balancer 150 will forward the message to the designated message STP message processor. The SCTP association state machine on the designated message processor will process status messages, such as INIT messages, for which a connection has been established. Continuing with the above example, if an SCTP INIT message is received with source IP addresses R-IP-x and R-IP-y and a source SCTP port of R-Port, and the connection load balancer finds a matching entry in its association database, then the connection load balancer 150 will forward the INIT message to the designated message processor. The designated message processor can receive the INIT message and process or discard the INIT message depending on the current state of the SCTP association state machine.

[0062] return Figure 7 , in step C5, the assigned message handler accepts the connection and sends the response directly to the remote peer through the border gateway 156. The connection load balancer 150 is not in the path of the egress message.

[0063] Figure 8 1 is a message flow diagram illustrating the processing of subsequent messages by connection load balancer 150. As described above, the term "subsequent message" refers to a message other than a connection establishment message. Figure 8 In step D1, a Sigtran message arrives at the border gateway 156 from the remote client 104. The Sigtran message arrives at the link L1 with destination IP addresses IP-STP-a and IP-STP-b, source IP addresses R-IP-x and R-IP-y, and destination port P1.

[0064] In step D2, border gateway 156 uses the IP addresses IP-STP-a and IP-STP-b from the message to query its MAC table and identifies the MAC address from connection load balancer 150. In step D2, border gateway 156 forwards the Sigtran message to connection load balancer 150.

[0065] In step D3, the connection load balancer 150 queries its association database to determine whether the received message is associated with a Sigtran connection that has been assigned to a message processor of the STP 100. As described above, the association database is a database maintained by the connection load balancer 150 to track the assignment of Sigtran connections (SCTP associations) to STP message processors. The parameters in the association database for associating Sigtran connections with message processors may include source IP addresses and source ports. In this example, it is determined that the message with remote IP address R-IP-x on port P1 is associated with the STP message processor STP-MP-i. In step D4, the connection load balancer 150 forwards the message to the message processor STP-MP-i. In step D5, the message processor STP-MP-i accepts the data (or other subsequent) message and sends the response directly to the remote peer via the border gateway through the same SCTP association without passing through the connection load balancer 150. Subsequent messages received by the connection load balancer 150 for which no association entry can be found in the association database are discarded.

[0066] Fig. 9 is a network diagram illustrating the operations performed by a connection load balancer after an SS7 message processor reconnects. Fig. 9 , in step 1, the message processor of STP 100 fails. In step 2, the SS7 link connected to the failed message processor also fails. In step 3, remote SS7 peer 104 attempts reconnection of link 1. The reconnection is performed using the same IP address used by the failed message processor. Connection load balancer 150 reroutes the connection request to one of the available message processors based on the connection distribution algorithm described above.

[0067] Fig.10 is a block diagram of connecting the load balancer 150 and the STP 100. Fig.10 , the connection load balancer 150 includes Ethernet interfaces 152A and 152B for networks A and B, respectively. The connection load balancer also includes at least one processor 154. The Sigtran connection distributor 155 can be executed on the processor 154 to perform the message processors 1021-102 described herein for use in the STP 100. N Distribute Sigtran connections between steps.

[0068] STP 100 includes message processors 1021-102 N Each message processor includes Ethernet interfaces 106A and 106B connected to networks a and b, respectively. Each message processor 1021-102 NA processor 158 and an SS7 / Sigtran function 159 may also be included. The SS7 / Sigtran function 159 may perform SS7 functions (such as routing messages based on point codes) and Sigtran functions (such as setting up a multi-homed SCTP association with a remote peer). Each message processor 1021-102 N It can be a physical message processor or a virtual message processor. As a physical message processor, each message processor 1021-102 N It can be a printed circuit board that is connected to other printed circuit boards in STP 100 through a communication medium 162 such as a bus or backplane. As a virtual entity, each message processor 1021-102 N can represent a virtual machine running on a hypervisor on cloud computing hardware.Thus, the subject matter described herein includes allocating connections between real or virtual message processors in a real or virtual STP.

[0069] Fig.11 is a flow chart illustrating an exemplary process for allocating Sigtran connections between STP message processors. Fig.11 , in step 200, the connection load balancer publishes its IP address for connection load balancing to the remote peer. This step can be performed by broadcasting a gratuitous ARP message to associate the IP address to be load balanced with the MAC address of the connection load balancer. If IPv6 is used, step 200 can be performed by broadcasting an ICMPv6 neighbor discovery message to neighboring nodes.

[0070] In step 202, the message handler of the STP is configured with the IP address as an alias on the loopback interface. The message handler is also configured to listen to the IP address. The loopback interface is used so that the message handler does not broadcast ICMPv6 neighbor discovery or ARP messages related to the IP address.

[0071] In step 204, a Sigtran message is received at the connection load balancer. The Sigtran message may be an SCTP message, such as an SCTP control or data block. The SCTP message may carry SS7 on an M3UA payload or other SS7 on a Sigtran payload.

[0072] At step 206, it is determined whether the message is an initial message or a subsequent message. Determining whether the message is an initial message or a subsequent message may include examining the SCTP block type field of the message. The block type field carries a code that identifies the type of SCTP message. A value of 0x01 indicates that the block type is INIT or initialization. A block type of 0x00 indicates that the block type is data, or that the message carries data for an application using an SCTP connection. Other block types of interest may include 0x0a, which identifies a cookie echo message that is part of the handshake process for establishing an SCTP association.

[0073] If the message is determined to be an initial message in step 206, control proceeds to step 206A, where it is determined whether a message handler has been assigned to the connection. Determining whether a message handler has been assigned to the connection may include querying an association database maintained by connection load balancer 150 using the source IP address and source SCTP port in the message. If a matching record is located in the association database, it is determined that the message handler has been assigned to the connection. If the record is not located in the association database, it is determined that the message handler has not been assigned to the connection.

[0074] If the message is an initial message and a message processor has been assigned to the connection, control proceeds to step 208, where the message is forwarded to the message processor assigned to the connection. The SCTP association state machine on the assigned message processor will process status messages, such as INIT messages for which a connection has been established. If the message is an initial message and a message processor has not yet been assigned to the connection, control proceeds to step 210, where the initialization message is intended to be assigned to one of the message processors for which the Sigtran connection to be established is initiated and results in the establishment of an SCTP / Sigtran connection between the assigned message processor and the remote SS7 peer. The SCTP connection establishment involves sending an INIT confirmation message from the assigned message processor to the SS7 peer. The SS7 peer then sends a cookie-echo message to the assigned message processor via the connection load balancer. The connection load balancer treats cookie-echo, data, and other non-INIT messages received from the SS7 peer via the SCTP association as subsequent messages for the SCTP association.

[0075] Assigning a Sigtran connection to one of the message processors may include applying the load balancing algorithm described above to identify connection assignment candidates based on a group count that indicates the relative loading of the message processors with Sigtran connections, and then selecting one of the connection assignment candidates using a selection algorithm. Because the load balancing algorithm identifies connection assignment candidates with similar Sigtran connection loadings, the selection algorithm may be any suitable selection algorithm, such as a random selection, a round-robin selection, etc. Once a message processor is selected, a final step associated with assigning a Sigtran connection to a message processor includes creating a record in an association database maintained by the connection load balancer 150 that associates the source IP address and source SCTP port number in the message with the assigned STP message processor. After the connection is assigned to one of the STP message processors, control proceeds to step 210 where the message is forwarded to the assigned message processor.

[0076] Returning to step 206, if the message is determined to be a subsequent message, control proceeds to step 206B, where it is determined whether a message handler has been assigned to the Sigtran connection with which the subsequent message is associated. As described above, examples of subsequent messages include SCTP data and control messages (except INIT messages). Determining whether a message handler has been assigned to a subsequent message can include performing a lookup in an association database maintained by the connection load balancer 150 using the source IP address and source SCTP port number in the message. If a match is located in the database, it can be determined that the connection has been assigned to one of the message handlers. If a match is not located in the association database, it can be determined that the connection has not been assigned to one of the message handlers.

[0077] If the message is a subsequent message for a Sigtran connection for which an STP message handler is not assigned, control proceeds to step 207B where the message is discarded. If the message is a subsequent message for a Sigtran connection for which a message handler has been assigned, control proceeds to step 210 where the message is forwarded to the message handler previously assigned to the Sigtran connection.

[0078] Therefore, using the steps described herein, real and virtual STP message processors can be seamlessly added to or removed from a network without reconfiguring remote nodes with new IP addresses. The connection load balancer also balances the loading of message processors in the STP. The subject matter described herein can be used to distribute messages between real or virtual STP message processors.

[0079] It will be understood that various details of the disclosed subject matter may be changed without departing from the scope of the disclosed subject matter.In addition, the foregoing description is for the purpose of illustration only, and not for the purpose of limitation.

Claims

1. A method for allocating Sigtran connections between signal transfer point (STP) message processors, the method comprising: providing a connection load balancer as a front end to a plurality of message processors of the STP for routing messages received on the Sigtran connection; Internet Protocol (IP) addresses are issued to SS7 peers by the connection load balancer; Initialize the STP message handler to listen on the IP address published by the attached load balancer; receiving, at the connection load balancer, a SIGTRAN message addressed to the IP address; The connection load balancer determines that the SIGTRAN message is an initial message for the SIGTRAN connection; determining, by the connection load balancer, that the Sigtran message is for a Sigtran connection to which one of the message handlers has not been assigned; and A load balancing algorithm is used to assign one of the message processors to the Sigtran connection for which the initial message is intended to be established.

2. The method of claim 1, wherein the message processor comprises a physical message processor of a physical STP.

3. A method as claimed in claim 1 or claim 2, wherein the message processor comprises a virtual message processor of the virtual STP.

4. A method as claimed in claim 1 or claim 2, comprising associating an IP address with a loopback interface of a message processor.

5. The method of claim 1 or claim 2, wherein publishing the IP address to the SS7 peer comprises broadcasting by the connection load balancer a gratuitous Address Resolution Protocol (ARP) or Internet Control and Management Protocol version 6 (ICMPv6) neighbor discovery message associating the IP address with a Media Access Control (MAC) address of the connection load balancer.

6. The method of claim 1 , wherein assigning one of the message processors to the Sigtran connection using a load balancing algorithm comprises maintaining a group count for each message processor, wherein the group count indicates the number of Sigtran connections assigned to each message processor, calculating, for each message processor, a group count difference between the group count of the message processor and a lowest group count of the message processors, and including a message processor having a group count difference less than a link allocation threshold as a connection allocation candidate.

7. A method as claimed in claim 1 or claim 2, comprising detecting a failure and reconnection of one of the message processors and in response using the reconnected message processor as a candidate for Sigtran connection allocation.

8. The method of claim 1 or claim 2, comprising forwarding egress traffic from a message processor of the STP to a SS7 peer in a manner that bypasses a connection load balancer.

9. A system for distributing Sigtran connections between signal transfer point (STP) message processors, the system comprising: a signal transfer point (STP), including a plurality of message processors for routing Sigtran messages received on a Sigtran connection; Connect to the load balancer, operating as a front-end to the STP message processor, where: The connection load balancer is configured to publish Internet Protocol (IP) addresses to SS7 peers; The message processor is initialized to listen on the IP address published by the connection load balancer; The connection load balancer is configured to receive a Sigtran message addressed to the IP address, determine that the Sigtran message is an initial message for a Sigtran connection, determine that the Sigtran message is for a Sigtran connection to which one of the message processors has not been assigned, and use a load balancing algorithm to assign one of the message processors to the Sigtran connection for which the initial message is intended to initiate establishment.

10. The system of claim 9, wherein the message processor comprises a physical message processor of a physical STP.

11. A system as claimed in claim 9 or claim 10, wherein the message processor comprises a virtual message processor of the virtual STP.

12. A system as claimed in claim 9 or claim 10, wherein the IP address is associated with a loopback interface of the message processor.

13. The system of claim 9 or claim 10, wherein the connection load balancer is configured to broadcast a gratuitous Address Resolution Protocol (ARP) or Internet Control and Management Protocol version 6 (ICMPv6) neighbor discovery message that associates an IP address with a Media Access Control (MAC) address of the connection load balancer.

14. The system of claim 9, wherein the connection load balancer is configured to maintain a group count for each of the message processors, wherein the group count indicates the number of Sigtran connections assigned to each message processor, and wherein the connection load balancer is further configured to calculate, for each message processor, a group count difference between the group count of the message processor and a lowest group count of the message processors, and include message processors having a group count difference less than a link allocation threshold as connection allocation candidates.

15. The system of claim 9 or claim 10, wherein the connection load balancer is configured to detect a failure and reconnection of one of the message processors and, in response, use the reconnected message processor as a candidate for Sigtran connection allocation.

16. The system of claim 9 or claim 10, wherein the message processor is configured to forward egress traffic from the STP to the SS7 peer in a manner that bypasses the connection load balancer.

17. A non-transitory computer-readable medium having executable instructions stored thereon, the executable instructions, when executed by a processor of a computer, controlling the computer to perform the steps of the method of any one of claims 1-8.

18. A computer program product comprising executable instructions, which, when executed by a processor of a computer, control the computer to execute the steps of the method according to any one of claims 1 to 8.