# Patent

## Title
Methods, systems, and computer readable media for routing diameter messages at a diameter signaling router

## Abstract

According to one aspect, the subject matter described herein includes a method for routing Diameter messages. The method includes steps occurring at a Diameter signaling router (DSR) comprising a plurality of Diameter message processors. The method includes receiving a Diameter request message. The method further includes generating a hop-by-hop identifier for identifying a first Diameter message processor of the plurality of Diameter message processors. The method further includes incorporating the hop-by-hop identifier into the Diameter request message. The method further includes routing the Diameter request message to a first Diameter node.

## Background
PRIORITY CLAIM
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 61/658,399, filed Jun. 11, 2012; the disclosure of which is incorporated herein by reference in its entirety. This application is a continuation-in-part of U.S. patent application Ser. No. 13/026,076, filed Feb. 11, 2011, which claims the benefit of U.S. Provisional Patent Application Ser. No. 61/304,310 filed Feb. 12, 2012 and U.S. Provisional Patent Application Ser. No. 61/373,636 filed Aug. 13, 2010.


TECHNICAL FIELD
The subject matter described herein relates to Diameter communications. More specifically, the subject matter relates to methods, systems, and computer readable media for routing diameter messages at a Diameter signaling router.
BACKGROUND
The Diameter protocol is a next generation authentication, authorization, and accounting (AAA) protocol. The Diameter base protocol is defined in IETF RFC 6733, the disclosure of which is incorporated by reference herein in its entirety. Commonly used within the Internet multimedia subsystem (IMS) architecture, the Diameter protocol was derived from the remote authentication dial-in user service (RADIUS) protocol. Historically, the RADIUS protocol was employed by Internet service providers (ISPs) to provide a secure communication channel between an ISP's access server and a secure location where user credential information was stored, e.g., a lightweight directory access protocol (LDAP) server. While the RADIUS protocol provided a standardized AAA exchange protocol, the emergence of new technologies and applications necessitated the development of a protocol capable of meeting ever-changing demands. Diameter aims to extend the standardized approach of RADIUS while providing expanded functionality and remaining open to future development.
The above-referenced Diameter RFC does not specify an architecture for Diameter routing or processing nodes. Likewise, the standards do not specify a method for routing when a Diameter element includes a distributed architecture. Accordingly, a need exists for methods, systems, and computer readable media for routing diameter messages at a Diameter signaling router.
SUMMARY
According to one aspect, the subject matter described herein includes a method for routing Diameter messages. The method includes steps occurring at a Diameter signaling router (DSR) comprising a plurality of Diameter message processors. The method includes receiving a Diameter request message. The method further includes generating a hop-by-hop identifier for identifying a first Diameter message processor of the plurality of Diameter message processors. The method further includes incorporating the hop-by-hop identifier into the Diameter request message. The method further includes routing the Diameter request message to a first Diameter node.
According to one aspect, the subject matter described herein includes a method for routing Diameter messages. The method includes steps occurring at a Diameter signaling router (DSR). The method includes receiving, from a first Diameter node, a Diameter message, wherein the Diameter message is associated with a message priority value. The method further includes assigning priority levels to a plurality of Diameter connections. The method further includes selecting a Diameter connection associated with a priority level that corresponds to the message priority value.
According to another aspect, the subject matter described herein includes a system for routing Diameter messages. The system includes a Diameter signaling router. The Diameter signaling router includes a plurality of Diameter message processors. A first Diameter message processor of the plurality of Diameter message processors is configured to: receive, from a first Diameter node, a Diameter message, generate a hop-by-hop identifier for identifying the first Diameter message processor, incorporating the hop-by-hop identifier into the Diameter request, and routing the Diameter message to a second Diameter node
According to another aspect, the subject matter described herein includes a system for routing Diameter messages. The system includes a Diameter signaling router. The Diameter signaling router is configured to: receive, from a Diameter node, a Diameter message, assign connection priority levels for a plurality of Diameter connections, and select a Diameter connection associated with a priority level that corresponds to the message priority.
The subject matter described herein can be implemented in software in combination with hardware and/or firmware. For example, the subject matter described herein may be implemented in software executed by one or more processors. In one exemplary implementation, the subject matter described herein may be implemented using a non-transitory computer readable medium having stored thereon computer executable instructions that when executed by the processor of a computer control the computer to perform steps. 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, a computer readable medium that implements the subject matter described herein may be located on a single device or computing platform or may be distributed across multiple devices or computing platforms.
As used herein, the term “node” refers to a physical computing platform including one or more processors and memory.
As used herein, the terms “function” or “module” refer to hardware, firmware, or software in combination with hardware and/or firmware for implementing features described herein.



BRIEF DESCRIPTION OF THE DRAWINGS
The subject matter described herein will now be explained with reference to the accompanying drawings of which:
FIG. 1 is a network diagram illustrating a Diameter signaling router (DSR) which includes multiple Diameter message processors (MPs) according to an embodiment of the subject matter described herein;
FIG. 2 is a diagram illustrating an exemplary Diameter message hop-by-hop identifier according to an embodiment of the subject matter described herein;
FIG. 3 is a diagram illustrating an exemplary Diameter request message being routing according to an embodiment of the subject matter described herein;
FIG. 4 is a diagram illustrating an exemplary Diameter answer message hop-by-hop identifier according to an embodiment of the subject matter described herein;
FIG. 5 is a diagram illustrating an exemplary process for routing Diameter messages according to an embodiment of the subject matter described herein; and
FIG. 6 is a diagram illustrating an exemplary process for routing Diameter messages according to another embodiment of the subject matter described herein.



DETAILED DESCRIPTION
A Diameter signaling router (DSR) may be any suitable entity for routing or relaying Diameter messages between Diameter nodes. For example, a DSR may be a long term evolution (LTE) signaling router, an LTE Diameter signaling router, a Diameter signaling agent, a Diameter proxy agent, a Diameter relay agent, a Diameter routing agent, a Diameter translation agent, and/or a Diameter redirect agent. A DSR may include functionality for processing various messages. In some embodiments, a DSR may communicate with various Diameter nodes via one or more 3rd generation partnership project (3GPP) LTE communications interfaces. In another embodiment, a DSR may communicate with various Diameter nodes via one or more other (e.g., non-LTE) communications interfaces. For example, a DSR may communicate with Internet protocol (IP) multimedia subsystem (IMS) nodes, such as call session control functions (CSCFs), using IMS-related interfaces.
In some embodiments, a DSR may include multiple Diameter agents or nodes and/or may include multiple MPs, where each MP is a distinct message processing module of a distributed computing platform, a computing blade in a blade-based distributed computing platform, a processing core element associated with a single or multi-core computing device, or a virtual node instantiated on a single physical message processing/computing device. As such, a DSR may be located in a single distinct geographic location and communicate via an internal communications network, or may include multiple MPs located in geographically diverse locations and communicating via an external communications network.
As a logical entity, a DSR is extremely scalable, and may be designed according to multiple architectural options. A first architecture option may include where each MP supports a full Diameter stack that includes a Diameter connection level (DCL), a Diameter routing layer (DRL), and an application layer, e.g., a Diameter application layer (DAL). A second architecture option may include a DCL that runs on dedicated MPs, with routing and application layers either combined on MPs or each having dedicated MPs. A third architecture option may include a Diameter stack (DCL/DRL) that runs on dedicated MPs, with local Diameter applications running on separate dedicated MPs. Each of these exemplary architecture options will now be described in greater detail below.
Diameter MPs may be associated with a single Diameter identity. For example, a first Diameter MP and a second Diameter MP may be associated with a single Diameter identity “X” and appear as a single. Diameter entity or node having Diameter identity “X,” both from the perspective of a Diameter peer node “A” and the perspective of a Diameter peer node “B”. In such an embodiment, a DSR may also appear as a single Diameter entity having Diameter identity “X,” both from the perspective of Diameter peer node “A” and the perspective of Diameter peer node “B”.
In another embodiment, Diameter MPs may be associated with different Diameter identities. For example, a first Diameter MP may be associated with Diameter identity “X” and a Diameter MP may be associated with Diameter identity “Y”. In such an embodiment, the first Diameter MP and the second Diameter MP may appear as single Diameter entities, respectively having Diameter identities “X” and “Y,” while the DSR may appear as a single Diameter entity having multiple Diameter identities. For example, from the perspective of Diameter peer node “A”, a DSR may have Diameter identity “X”; while from the perspective of Diameter peer node “B”, the DSR may have Diameter identity “Y”.
FIG. 1 is a network diagram illustrating an exemplary network that includes a DSR 100 which includes multiple Diameter MPs according to an embodiment of the subject matter described herein. Referring to FIG. 1, DSR 100 may include ingress MP 102 for receiving Diameter messages from peers and egress MP 104 for transmitting Diameter messages to peers. Ingress MP 102 and egress MP 104 may each include a DCL, a DRL, and a DAL. For example, ingress MP 102 may include DCL 106, DRL 108, and DAL 110. Likewise, egress MP 104 may include DCL 112, DRL 114, and DAL 116. In some embodiments, in order to communicate between ingress MP 102 and egress MP 104, each MP may include a communications agent (CA), such as CA 118 and CA 120. CAs may be interfaces or other entities for providing inter-MP communications. For example, CA 118 and CA 120 may be connected to an internal mesh network or a bus system for sending messages, statuses, or other information to MPs or other entities in DSR 100. In some embodiments, DRL 108 of ingress MP 102 may be operable to communicate with DRL 114 and DCL 112 of egress MP 104. Additionally, DRLs 108 and 114 may each be operable to communicate with DCLs 106 and 112 and DALs 110 and 116, respectively.
In an exemplary Diameter message routing scenario, Peer N−1 126 may send a Diameter message to DSR 100. The Diameter message may be received by DCL 106 of ingress MP 102. Ingress messages may be processed completely on ingress MP 102 up through the selection of a next-hop peer for the Diameter message by DRL 108. Continuing the exemplary scenario above, DCL 106 may pass the Diameter message to DRL 108.
If application processing is required, ingress DRL 108 may forward the Diameter message to a Diameter message processor hosting a local application(s). For example, DRL 108 may forward the Diameter message to an MP hosting local DAL 110, which processes the message and returns the message to DRL 108. It is appreciated that the application distribution function may not be required.
Next, ingress DRL 108 may forward the Diameter message to a CA 118. CA 118 may send the Diameter message to a remote CA 120. CA 120 may forward the Diameter message to a local queue at DCL 112. Egress DCL 112 may then transmit the Diameter message to Peer N+1 128.
In an additional exemplary Diameter message routing scenario (not illustrated), Peer N−1 126 may send a Diameter message to DSR 100. The Diameter message may be received by DCL 106 of ingress MP 102. DCL 106 may forward the message to DRL 108. If application processing is required, ingress DRL 108 may forward the Diameter message to a local application at DAL 110, which processes the message and returns the message to DRL 108. Next, ingress DRL 108 may forward the Diameter message to egress DCL 112 (e.g., with or without using CAs 118 and 120), which may then transmit the Diameter message to Peer N+1 128.
In an additional exemplary Diameter message routing scenario (not illustrated), Peer N−1 126 may send a Diameter message to DSR 100. The Diameter message may be received by DCL 106 of ingress MP 102. DCL 106 may pass (e.g., using CA 118) the Diameter message to DRL 114 of egress MP 104. If application processing is required, egress DRL 114 may forward the Diameter message to a local application at DAL 116, which processes the message and returns the message to DRL 114. Next, egress DRL 114 may forward the Diameter message to egress DCL 112, which may then transmit the Diameter message to Peer N+1 128.
In some embodiments, Diameter MPs may utilize copies of the same routing information stored at each Diameter MP. For example, Diameter MPs 102, 104, 122, and 124 may respectively utilize copies of the same routing information stored in one or more data structures (e.g., in a memory or computer readable medium). In some embodiments, Diameter MPs may use one or more peer routing tables (PRTs) for inter-node routing and/or one or more route list tables (RLTs) for inter-MP routing. In some embodiments, information from a PRT and RLT may be combined or integrated into a data structure and may be referred a PRT/RLT. For example, Diameter MP 308 may utilize a PRT/RLT to route a Diameter message received from Peer N−1 126 and destined for Peer N+1 128 to egress MP 104, as identified by the PRT/RLT. Moreover, because a PRT/RLT may identify next-hop Peer N+1 128 and an egress connection “Conn-1” existing between egress MP 104 and Peer N+1 128, a subsequent Diameter lookup at egress MP 104 may not be required. In another embodiment, Diameter MPs may utilize common routing information stored in a shared repository.
FIG. 2 is a diagram illustrating an exemplary Diameter message hop-by-hop identifier according to an embodiment of the subject matter described herein. In some embodiments, a hop-by-hop identifier may include one or more bits of data. In the embodiment illustrated in FIG. 2, a hop-by-hop identifier may include 32 bits of data. The hop-by-hop identifier may include various portions, such as a message priority value portion, a reserved portion, an MP identifier portion, a pending transaction manager (PTM) transaction identifier portion, and a PTM identifier portion. In some embodiments, a hop-by-hop identifier or portions therein may include one or more attribute value pairs (AVPs).
A message priority value portion of a hop-by-hop identifier may include one or more bits (e.g., 2 bits) of data for indicating a priority value of an associated message. For example, a Diameter request message may be associated with a hop-by-hop identifier that includes a message priority value between 0-3. In some embodiments, priority values may affect various processing decisions, such as when a message is sent to a destination and what resources are used to send or process the message.
A reserved portion of a hop-by-hop identifier may include one or more bits (e.g., 2 bits) of data reserved for future use or other purposes. For example, a Diameter request message may include a reserved portion that can be used for functionality defined or determined at a later date. In another example, a Diameter request message may include a unique value in a reserved portion to indicate a test packet.
An MP identifier portion of a hop-by-hop identifier may include one or more bits (e.g., 7 bits) of data for indicating a unique identifier associated with an MP. For example, DSR 100 may include eight MPs. Each MP may be associated with a unique number between 1 and 8.
A PTM transaction identifier portion of a hop-by-hop identifier may include one or more bits (e.g., 17 bits) of data for indicating a Diameter transaction identifier associated with a PTM. A PTM may be a module (e.g., hardware, firmware, or software executing on a processor) configured to perform one or more various actions, such as routing received Diameter request messages to other MPs, creating or modifying Diameter messages (e.g., generating a hop-by-hop identifier that includes an MP identifier), assigning or monitoring priority levels, processing associated Diameter answer messages, and/or other functions. In some embodiments, one or more PTMs may be associated with a DRL (e.g., DRL 108).
In some embodiments, the PTM transaction identifier may uniquely identify related messages. For example, a PTM may generate a transaction identifier “T2” and associate the identifier with a Diameter request message sent from Diameter node “A” for processing by Diameter node “B”. In this example, a Diameter answer message sent from Diameter node “B” to Diameter node “A” in response to the Diameter request message may also include the transaction identifier “T2”.
A PTM identifier portion of a hop-by-hop identifier may include one or more bits (e.g., 4 bits) of data for indicating a unique identifier associated with a PTM. For example, DRL 108 may include 16 PTMs. Each PTM may be associated with a unique number between 0 and 15.
FIG. 3 is a diagram illustrating an exemplary Diameter request message being routing according to an embodiment of the subject matter described herein. As depicted in FIG. 3, a Diameter request message “A” may be received at ingress MP 102. In some embodiments, the received Diameter request message may include a message priority value of 1. In some embodiments, DSR 100, or a module therein, may determine or generate a message priority value associated with the Diameter request message.
The Diameter request message may be forwarded to a PTM-0 300 by DCL 106. PTM- 0 300 may be associated with, implemented in, or part of DRL 108. In one example, PTM-0 300 may be selected from multiple PTMs. The selection may be based on one or more factors, such as load conditions, services, applications, or MP operational status. Selection may also be based on one or more selection algorithms, such as load-balancing, round robin, resource utilization, or another method.
PTM-0 300 or another module may generate and/or modify various information (e.g., message headers or AVPs) associated with the Diameter request message. In some embodiments, PTM-0 300 or another module may generate or modify a hop-by-hop identifier. The hop-by-hop identifier may be used for identifying a Diameter transaction between DSR 100 and an external Diameter node. PTM-0 300 or another module may include an MP identifier for identifying an MP (e.g., ingress MP (1) 102) associated with PTM-0 300 and other identifiers, such as a PTM identifier and a PTM transaction identifier. PTM-0 300 or another module may also include a Diameter connection identifier in a hop-by-hop identifier or other message portion. The Diameter connection identifier may be usable for identifying a Diameter connection usable for transmitting or receiving the Diameter request message. After generating or modifying a hop-by-hop identifier, PTM-0 300 or another module may incorporate the hop-by-hop identifier into the Diameter request message. For example, as shown in FIG. 3, the Diameter request message “A” may be modified to include a hop-by-hop identifier indicating an MP identifier of “1”, a message priority value of “1”, a PTM identifier of “0”, and transaction identifier of “X0”. In this example, the hop-by-hop identifier may be stored in one or more AVPs or in one or more header parameter portions of the Diameter message.
PTM-0 300 may determine using various routing information an egress connection based on an intended destination for a Diameter message. For example, PTM-0 300 may access a routing database 302 (e.g., a PRT and/or a RLT). Routing database 302 may include information (e.g., data structures) for determining an appropriate egress connection. In one exemplary data structure (not shown), various destinations may be associated with one or more routing groups (e.g., logical groupings of routes to a destination). In an exemplary data structure 304, connections associated with a particular routing group may be associated with various priority levels. Priority levels may be used in making various routing decisions and may be a general indication for a route or connection's usability (e.g., speed, reliability, and/or proximity).
In some embodiments, priority levels may be single, normalized values (e.g., integers between 0-99) computed using status information associated with the first message processor, status information associated with a communications bus or network within the Diameter signal router, and status information associated with the first Diameter connection. For example, a priority level of “0” may indicate a highly desirable connection, while a priority level of “99” may indicate a connection that is inoperable. In another example, a priority level of “99” may indicate a highly desirable connection, while a priority level of “0” may indicate a connection that is inoperable.
In data structure 304, a connection priority level (conn-PL) value may indicate a priority level associated with a connection and a message processor priority level (MP-PL) value may indicate a priority level associated with an MP. In some embodiments, data structure 304 may include a combined or total priority level value based on two or more associated priority level values. For example, a connection ‘74’ may have a total priority level of 0, which is the lowest value of its conn-PL and MP-PL, 3 and 0, respectively. In another example, a connection ‘74’ may have a total priority level of 1.5 or an average of its conn-PL and MP-PL, 3 and 0, respectively. In yet another example, a connection ‘74’ may have a total priority level of 3, which is the highest value of its conn-PL and MP-PL, 3 and 0, respectively.
PTM-0 300 or another module may select a connection for a Diameter message based on one or more associated priority levels and the associated message priority value. For example, PTM-0 300 may be configured to select a connection for a Diameter message that is associated with a priority level that is the same or less than a message priority value associated with the Diameter message to be sent. In another example, PTM-0 300 may be configured to select a connection for a Diameter message that is associated with a priority level that is greater than a message priority value associated with the Diameter message to be sent.
In some embodiments, a connection for a Diameter message may be selected based on a total priority level value. For example, an egress connection “Conn-1” may be selected for sending Diameter request message “A” since the egress connection is associated with a priority level of “0” and “0” is less than the message priority value (e.g., “1”) associated with the Diameter request message “A”.
After generating or modifying a hop-by-hop identifier and/or selecting an appropriate connection based on a priority level value and a message priority value, PTM-0 300 or another module may send the message (e.g., via an internal interface or network) to another MP, such as MP 104. MP 104 may send the Diameter request message to Peer N+1 128. For example, MP 104 may route the Diameter request message to its destination via egress connection “Conn-1”.
FIG. 4 is a diagram illustrating an exemplary Diameter answer message hop-by-hop identifier according to an embodiment of the subject matter described herein. In this embodiment, Peer N+1 128 may send a Diameter answer message in response to Diameter request message “A” described above with regard to FIG. 3. The Diameter answer message may include the hop-by-hop identifier associated with Diameter request message “A”.
In some embodiments, the Diameter answer message may be sent to DSR 100 via the same connection used to send the Diameter request message “A” from DSR 100 to Peer N+1 128. The Diameter answer message may be received at MP 104 via egress connection “Conn-1” and provided to a DCL and/or MP (DCL/MP) router for further processing. DCL/MP router 400 may be any suitable entity (e.g., software executing at MP 104) for determining an MP for handling or processing Diameter messages. In some embodiments, DCL/MP router 400 may receive the Diameter answer message and may determine, based on the hop-by-hop identifier, which MP should process the Diameter answer message. For example, DCL/MP router 400 may extract, decipher, or otherwise determine an MP identifier in the hop-by-hop identifier. Based on the MP identifier, DCL/MP router 400 may determine that MP 102 is associated with the Diameter answer message and may communicate the Diameter answer message to MP 102 for further processing.
In some embodiments where a PTM router is not utilized, one or more DCLs or MPs may be configured to forward, communicate, or provide a Diameter message to an appropriate MP. For example, a Diameter answer message may be received at MP 104. MP 104 may determine, based on the hop-by-hop identifier, that that MP 102 is associated with the Diameter answer message and may communicate the Diameter answer message to MP 102 for further processing.
In some embodiments, after a Diameter answer message is received at MP 102, a PTM router 402 (e.g., associated with DCL 106) may receive the Diameter answer message. PTM router 402 may determine, based on the hop-by-hop identifier, which PTM should process the Diameter answer message. For example, PTM router 402 may extract, decipher, or otherwise determine a PTM identifier in the hop-by-hop identifier. Based on the PTM identifier, PTM router 402 may determine that PTM-0 300 is associated with the Diameter answer message and may communicate the Diameter answer message to PTM-0 300 for further processing.
In some embodiments where a PTM router is not utilized, one or more PTMs may be configured to forward, communicate, or provide a Diameter message to an appropriate PTM. For example, a Diameter answer message may be received at a PTM-15 310. PTM-15 310 may determine, based on the hop-by-hop identifier, that PTM-0 300 should process the Diameter answer message and may communicate the Diameter answer message to PTM-0 300 for further processing.
At PTM-0 300, the Diameter answer message may be processed and/or routed to another Diameter node. For example, PTM-0 300 may extract, decipher, or otherwise determine a transaction identifier and a message priority value in the hop-by-hop identifier. PTM-0 300 may use the transaction identifier as a lookup in routing database 302 for determining a destination for the Diameter answer message, e.g., Peer N−1 126 or other Diameter peer node. PTM-0 300 may also use the message priority value in determining which connection to send the Diameter answer message to its destination.
FIG. 5 is a diagram illustrating an exemplary process for routing Diameter messages according to an embodiment of the subject matter described herein. Referring to the embodiment illustrated in FIG. 5, exemplary process may include steps 500, 502, 504, and 506. In some embodiments, the exemplary process described herein, or portions thereof, may be performed at or performed by DSR 100, ingress MP 102, egress MP 104, DCL 106, DRL 108, a MP, a PTM, DAL 110, CA 118, a Diameter agent, a Diameter application, a Diameter node, and/or another module or node.
At step 500, a Diameter request message may be received from a first Diameter node.
At step 502, a hop-by-hop identifier may be generated. The hop-by-hop identifier may be for identifying a first Diameter MP of a plurality of Diameter MPs associated with DSR 100. For example, a hop-by-hop identifier may be generated for a Diameter message and the hop-by-hop identifier may include information that indicates ingress MP 102 received or handled the Diameter request message.
In some embodiments, each of a plurality of Diameter MPs associated with DSR 100 may include or access a peer routing table.
In some embodiments, a hop-by-hop identifier may be usable for identifying a Diameter transaction between DSR 100 and a Diameter node (e.g., external to DSR 100).
In some embodiments, a hop-by-hop identifier may include a Diameter connection identifier for identifying a Diameter connection usable for transmitting or receiving the Diameter request message.
At step 504, the hop-by-hop identifier may be incorporated into the Diameter request message. For example, a hop-by-hop identifier may be added to a header portion of an existing Diameter message. In another example, a hop-by-hop identifier may be added to a header portion of a new Diameter message, where the new Diameter message includes at least some information or data from a pre-existing Diameter message (e.g., a received Diameter message associated with the hop-by-hop identifier).
At step 506, the Diameter request message may be routed to a second Diameter node. For example, the Diameter request may be routed to a Diameter server or peer node for further processing.
In some embodiments, after a Diameter request message containing a hop-by-hop identifier is sent to a second Diameter node, a Diameter answer message containing the hop-by-hop identifier and associated with the Diameter request message may be received from the second Diameter node. It may be determined, using the hop-by-hop identifier, that a first Diameter MP is associated with the Diameter answer message. For example, egress MP 104 may receive a Diameter answer message from a Diameter server. The Diameter answer message may be in response to a Diameter request message containing a hop-by-hop identifier. The Diameter answer message may also include the same hop-by-hop identifier and may indicate (e.g., to egress MP 104) that ingress MP 102 should handle (e.g., process) the Diameter answer message. After determining that a first Diameter MP is associated with the Diameter answer message, the Diameter answer message may be communicated to the first Diameter MP for processing.
It will be appreciated that steps 500-506 described above are illustrative. In some embodiments, additional and/or different steps may occur in routing Diameter messages. In some embodiments, steps for routing Diameter messages may be arranged differently and/or may occur in a different order or sequence (e.g., some steps may occur concurrently with, prior to, after other steps) than illustrated in FIG. 5.
FIG. 6 is a diagram illustrating an exemplary process for routing Diameter messages according to another embodiment of the subject matter described herein. Referring to the embodiment illustrated in FIG. 6, exemplary process may include steps 600, 602, and 604. In some embodiments, the exemplary process described herein, or portions thereof, may be performed at or performed by DSR 100, ingress MP 102, egress MP 104, DCL 106, DRL 108, a MP, a PTM, DAL 110, CA 118, a Diameter agent, a Diameter application, a Diameter node, and/or another module or node.
At step 600, a Diameter message may be received from a first Diameter node.
At step 602, priority levels may be assigned to a plurality of Diameter connections.
At step 604, select a first Diameter connection associated with a first priority level corresponding to a message priority value associated with the Diameter request message.
In some embodiments, a message priority value may be determined by the DSR or the first Diameter node.
In some embodiments, a message priority value may be based on a Diameter message type.
In some embodiments, a message priority value may be stored as a portion of a hop-by-hop identifier within the Diameter message.
In some embodiments, a first priority level may be less than or equal to the message priority value.
In some embodiments, a first priority level may be a normalized value (e.g., an integer) computed using at least one of status information associated with the first message processor, status information associated with a communications bus or network within the DSR, and status information associated with the first Diameter connection.
In some embodiments, status information associated with the first Diameter connection may include an operational status, a remote busy status, an egress transport status, or an egress message throttling status. In some embodiments, status information associated with a communications bus or network within the DSR may include an operational status or a routing congestion level. In some embodiments, status information associated with the first Diameter message processor may include a process status.
It will be appreciated that steps 600-604 described above are illustrative. In some embodiments, additional and/or different steps may occur in routing Diameter messages using priority levels. In some embodiments, steps for routing Diameter messages using priority levels may be differently and/or may occur in a different order or sequence than illustrated in FIG. 6. For example, a priority level may be assigned to a Diameter connection prior to, concurrently with, or subsequent to a Diameter request message being received.
It will be understood that various details of the subject matter described herein may be changed without departing from the scope of the subject matter described herein. Furthermore, the foregoing description is for the purpose of illustration only, and not for the purpose of limitation, as the subject matter described herein is defined by the claims as set forth hereinafter.

## Claims

1. A method for routing Diameter messages, the method comprising:
at a Diameter signaling router (DSR) comprising a plurality of Diameter message processors:
at a first Diameter message processor of the plurality of Diameter message processors:
receiving, from a first Diameter node, a Diameter request message;
generating a hop-by-hop identifier for identifying the first Diameter message processor of the plurality of Diameter message processors, wherein the hop-by-hop identifier includes a message processor identifier that uniquely identifies the first Diameter message processor from among the plurality of Diameter message processors;
incorporating the hop-by-hop identifier into the Diameter request message; and
routing the Diameter request message to a second Diameter node;

at a second Diameter message processor of the plurality of Diameter message processors:
receiving, and from the second Diameter node, a Diameter answer message associated with the Diameter request message, wherein the Diameter answer message includes the hop-by-hop identifier;
determining, using the hop-by-hop identifier, that the first Diameter message processor is associated with the Diameter answer message; and
communicating the Diameter answer message to the first Diameter message processor for processing.

2. The method of claim 1 wherein the hop-by-hop identifier is used for identifying a Diameter transaction between the DSR and the second Diameter node.

3. The method of claim 1 wherein each of the plurality of Diameter message processors includes or accesses a peer routing table.

4. The method of claim 1 wherein the hop-by-hop identifier includes a Diameter connection identifier for identifying a Diameter connection usable for transmitting or receiving the Diameter request message.

5. The method of claim 1 wherein the first Diameter message processor comprises one of:
a distinct message processing module of a distributed computing platform;
a computing blade in a blade-based distributed computing platform;
a processing core element associated with a single or multi-core computing device; and
a virtual node instantiated on a single physical message processing or computing device.

6. A system for routing Diameter messages, the system comprising:
a Diameter signaling router (DSR) comprising a plurality of Diameter message processors:
a first Diameter message processor of the plurality of Diameter message processors, wherein the first Diameter message processor is configured to:
receive, from a first Diameter node, a Diameter request message;
generate a hop-by-hop identifier for identifying the first Diameter message processor of the plurality of Diameter message processors, wherein the hop-by-hop identifier includes a message processor identifier that uniquely identifies the first Diameter message processor from among the plurality of Diameter message processors;
incorporate the hop-by-hop identifier into the Diameter request message; and
route the Diameter request message to a second Diameter node; and

a second Diameter message processor of the plurality of Diameter message processors, wherein the second Diameter message processor is configured to:
receive, from the second Diameter node, a Diameter answer message associated with the Diameter request message, wherein the Diameter answer message includes the hop-by-hop identifier;
determine, using the hop-by-hop identifier, that the first Diameter message processor is associated with the Diameter answer message; and
communicate the Diameter answer message to the first Diameter message processor for processing.

7. The system of claim 6 wherein the hop-by-hop identifier is used for identifying a Diameter transaction between the DSR and the second Diameter node.

8. The system of claim 6 wherein each of the plurality of Diameter message processors includes or accesses a peer routing table.

9. The system of claim 6 wherein the hop-by-hop identifier includes a Diameter connection identifier for identifying a Diameter connection usable for transmitting or receiving the Diameter request message.

10. The system of claim 6 wherein the first Diameter message processor comprises one of:
a distinct message processing module of a distributed computing platform;
a computing blade in a blade-based distributed computing platform;
a processing core element associated with a single or multi-core computing device; and
a virtual node instantiated on a single physical message processing or computing device.

11. A non-transitory computer readable medium comprising computer executable instructions that when executed by a processor of a computer control the computer to perform steps comprising:
at a Diameter signaling router (DSR) comprising a plurality of Diameter message processors:
at a first Diameter message processor of the plurality of Diameter message processors:
receiving, from a first Diameter node, a Diameter request message;
generating a hop-by-hop identifier for identifying the first Diameter message processor of the plurality of Diameter message processors, wherein the hop-by-hop identifier includes a message processor identifier that uniquely identifies the first Diameter message processor from among the plurality of Diameter message processors;
incorporating the hop-by-hop identifier into the Diameter request message;
routing the Diameter request message to a second Diameter node;

at a second Diameter message processor of the plurality of Diameter message processors:
receiving, and from the second Diameter node, a Diameter answer message associated with the Diameter request message, wherein the Diameter answer message includes the hop-by-hop identifier;
determining, using the hop-by-hop identifier, that the first Diameter message processor is associated with the Diameter answer message; and

communicating the Diameter answer message to the first Diameter message processor for processing.

12. A method for routing Diameter messages, the method comprising:
at a first Diameter message processor in a Diameter signaling router (DSR):
receiving, from a first Diameter node, a Diameter message;
assigning priority levels (PL) to a plurality of Diameter connections; and
selecting a first Diameter connection associated with a first priority level that corresponds to a message priority value associated with the Diameter message, wherein the message priority value is stored as a portion of a hop-by-hop identifier within the Diameter message.

13. The method of claim 12 wherein the message priority value is determined by the DSR or the first Diameter node.

14. The method of claim 12 wherein the message priority value is based on a Diameter message type.

15. The method of claim 12 wherein the first priority level is a single normalized value computed using status information associated with the first Diameter message processor, status information associated with a communications bus or network within the DSR, and status information associated with the first Diameter connection.

16. The method of claim 15 wherein the status information associated with the first Diameter connection includes an operational status, a remote busy status, an egress transport status, or an egress message throttling status, wherein the status information associated with a communications bus or network within the DSR includes an operational status or a routing congestion level, and wherein the status information associated with the first Diameter message processor includes a process status.

17. The method of claim 12 wherein the first priority level is less than or equal to the message priority value.

18. The method of claim 12 wherein the first Diameter message processor comprises one of:
a distinct message processing module of a distributed computing platform;
a computing blade in a blade-based distributed computing platform;
a processing core element associated with a single or multi-core computing device; and
a virtual node instantiated on a single physical message processing or computing device.

19. A system for routing Diameter messages, the system comprising:
a Diameter signaling router (DSR) comprising:
a first Diameter message processor, wherein the first Diameter message processor is configured to:
receive, from a first Diameter node, a Diameter message;
assign priority levels to a plurality of Diameter connections; and
select a first Diameter connection associated with a first priority level that corresponds to a message priority value associated with the Diameter message, wherein the message priority value is stored as a portion of a hop-by-hop identifier within the Diameter message.

20. The system of claim 19 wherein the message priority value is determined by the DSR or the first Diameter node.

21. The system of claim 19 wherein the message priority value is based on a Diameter message type.

22. The system of claim 19 wherein the first priority level is a single normalized value computed using status information associated with the first Diameter message processor, status information associated with a communications bus or network within the DSR, and status information associated with the first Diameter connection.

23. The system of claim 22 wherein the status information associated with the first Diameter connection includes an operational status, a remote busy status, an egress transport status, or an egress message throttling status, wherein the status information associated with a communications bus or network within the DSR includes an operational status or a routing congestion level, and wherein the status information associated with the first Diameter message processor includes a process status.

24. The system of claim 19 wherein the first priority level is less than or equal to the message priority value.

25. The system of claim 19 wherein the first Diameter message processor comprises one of:
a distinct message processing module of a distributed computing platform;
a computing blade in a blade-based distributed computing platform;
a processing core element associated with a single or multi-core computing device; and
a virtual node instantiated on a single physical message processing or computing device.

26. A non-transitory computer readable medium comprising computer executable instructions that when executed by a processor of a computer control the computer to perform steps comprising:
at a first Diameter message processor in a Diameter signaling router (DSR):
receiving, from a first Diameter node, a Diameter message;
assigning priority levels to a plurality of Diameter connections; and
selecting a first Diameter connection associated with a first priority level that corresponds to a message priority value associated with the Diameter message, wherein the message priority value is stored as a portion of a hop-by-hop identifier within the Diameter message.