You are on page 1of 6

284 23-3176 | Uen

Diameter Signaling Controller


in next-generation signaling
networks
At the heart of the evolved mobile data network almost everything uses the Diameter
protocol to communicate.
J RG E W E RT, L E N NA RT NOR E L L A N D S ON E R YA M E N

The Diameter protocol is used Introduction pillars in the transformation of network


widely in all-IP networks. Nearly The evolution of IMS and mobile-broad- signaling to native IP-based protocols,
everything that is connected band network architectures is close- complementing SIP which is used for
to or is part of a network uses ly linked with Diameter. The protocol call-control signaling in IMS.
the protocol in some way. The was first introduced for communica-
evolved mobile-data nodes use it tion over the interfaces between the Diameter
to communicate with each other IMS core and application servers, charg- The specification of this protocol began
and applications use it to get ing systems and HSS databases. In the in 1998. The objective was to create a
the data they need. The number EPC, the protocol is used for policy con- framework for authentication, authori-
of signaling messages being trol in addition to accessing user and zation and accounting (AAA) that would
sent is rising rapidly, which is charging information. The Diameter- overcome the limitations of the RADIUS
putting pressure on all parts of signaling architecture for IMS and EPC protocol in terms of reliability, security
the network and particularly is illustrated in Figure 1. and roaming support.
on gateways, charging systems, For mobile-broadband networks, The framework is a base protocol1
policy servers and user-data Diameter performs the same func- that defines the minimum manda-
repositories. Deploying a Diameter tions as SS7 in roaming interfaces tory set of AAA operations. The base
Signaling Controller (DSC) a and non-call-related signaling. Indeed protocol defines the message format,
key network component can the issues related to the increase in which comprises a header and a set of
relieve some of this pressure while Diameter signaling have been likened data elements expressed as attribute-
boosting operational efficiency to the problems that arose when SS7 value pairs (AVPs). By expressing data
and increasing the reliability of was introduced in the first mobile net- as AVPs, applications using the proto-
the internal signaling network. works. Diameter is one of the main col can be extended in the future with-

BOX A  Terms and abbreviations

3GPP 3rd Generation Partnership Project IETF Internet Engineering Task Force P-CSCF proxy call session control function
AAA authentication, authorization and IMS IP Multimedia System PGW packet data network gateway
accounting IMSI International Mobile Subscriber PRD Permanent Reference Document
AVP attribute-value pair Identity RADIUS Remote Authentication Dial-In
DA Diameter Agent IP Internet Protocol User Services
DCCA Diameter Credit Control Application IP-CAN IP connectivity access network SCTP Stream Control Transmission
DEA Diameter Edge Agent IPsec IP Security Protocol
DRA Diameter Routing Agent IPX IP Packet Exchange SGSN Serving GPRS Support Node
DSC Diameter Signaling Controller LDAP Lightweight Directory Access SIP Session Initiation Protocol
EIR Equipment Identity Register Protocol SLF Server Locating Function
EPC Evolved Packet Core LTE Long-Term Evolution SS7 signaling system 7
GSMA GSM Association MAP Mobile Application Part TCP Transmission Control Protocol
GUI graphical user interface MME Mobility Management Entity TLS Transport Layer Security
hPCRF home PCRF O&M operations and maintenance TPS transactions per second
HPLMN Home Public Land Mobile Network OTT over-the-top VoLTE voice over LTE
HSS Home Subscriber Server PCC policy and charging control vPCRF visited PCRF
IANA Internet Assigned Numbers Authority PCRF policy and charging rules function VPLMN Visited Public Land Mobile Network

E R I C S S O N R E V I E W 2012
3

out having to modify existing source


code or data inputs; new information FIGURE 1  Diameter-signaling architecture for IMS and EPC
is simply added as a new AVP. The base
protocol defines a set of commands and Charging IMS LCS
AVPs that can deliver the minimum set
of signaling functions, such as peer dis-
covery, capability exchange, proxying,
loop detection and error handling. The Rf AS
base set of operations can be extended Sh
by Diameter applications through the
addition of new commands and AVPs. As Ro
GMLC
illustrated in Figure 2, Diameter sup- Rf
Cx
ports both SCTP and TCP transport pro- OFCS SLg
HSS SLh
tocols, and transport security is provid- CSCF (IMS)
ed by the TLS or IPsec protocol. Rf
Diameter is a peer-to-peer protocol Ro
that uses a request-answer transaction
format. A Diameter peer can be a client, Rx
a server or an agent a Diameter Agent HSS
EIR
(DA). Agents are positioned between (EPC)
OCS Sy
S13 S13
clients and servers, and forward S9
client requests to the appropriate Gy
PCRF Roaming
server. Gy partner
There are four kinds of agents: relay, S6d S6a
proxy, redirect and translation. A relay Gx
Gx S6d
agent uses the header information and
routing-related AVPs of a message to
choose the destination peer. A proxy S6a
agent can modify AVPs in the mes- PGW GGSN
sage, it forwards messages, and may
use the AVPs to determine the destina- EPC
tion or apply a policy for example, to
reject a request. Redirect agents return
SGSN MME
requests to the originating client, pro-
viding information on the appropriate
next hop that can service the request.
Translation agents translate messages
from one protocol into another. This However most of the interfaces in 3GPP is an Update-Location-Request message
type of agent was originally defined to (S6a, Cx, Rx, Sh and so on) have their sent over the S6a interface from the
translate messages from AAA protocols, own specific Diameter application. MME to the HSS.
such as RADIUS, to Diameter. However, Each application requires a specific
translation from LDAP and MAP to ID, which is assigned by IANA; the S6a Main use cases
Diameter is also of interest. interface, for example, has the applica- The purpose of a DSC is to facilitate the
The Diameter framework can be tion ID 16777251. ever-increasing use of Diameter signal-
developed by extending existing appli- Figure 3 shows a typical Diameter ing in mobile networks, and Figure 4
cations or by creating new ones. An message, comprising a Diameter header shows a reference architecture for the
existing Diameter application can and a series of AVPs. The example shown use cases described here. This key
be extended through the addition of
optional AVPs. To implement addition-
al functionality new Diameter appli- BOX B  Diameter interfaces
cations need to be defined which may Cx, Sh subscription and S6a,S6d subscription and
imply new command codes and new authentication data IMS authentication data EPC
sets of mandatory AVPs. The 3GPP Ro Gx QoS/policy EPC S9 QoS/policy EPC
protocol is an example of how an exist- Gy online charging EPC S13, S13 EIR query EPC
ing Diameter application the IETF- Rf postpaid charging SLh, SLg location-based
specified Diameter Credit Control EPC/IMS services EPC
Application (DCCA) has been extend- Ro online charging EPC/IMS Sy online charging EPC
ed with additional AVPs to support the Rx QoS/policy EPC
exchange of charging information.

E R I C S S O N R E V I E W 2012
Signaling in IP networks
4

network component supports the


FIGURE 2  Structure of the Diameter stack scaling of Diameter-signaling networks,
which will be significantly beneficial
3GPP-specific Diameter applications when the growth of mobile data and
VoLTE traffic requires the deployment
of multiple HSS, MME, PCRF, P-CSCF
and PGW network elements.
It is expected that the growth in sig-
naling traffic (accumulated transactions
per second) will reflect the growth in
mobiled ata traffic a tenfold increase
between 2011 and 20162. In the near
EAP SIP MIP NASREQ DCCA
RFC 4072 RFC 4740 RFC 4004 RFC 4005 RFC 4006 term, this growth will be driven primar-
ily by LTE rollouts. From 2014, growth
will be accentuated by the introduc-
Diameter base protocol DB-P (RFC 3588) tion of VoLTE. The amount of signaling
traffic will be further increased as the
installed base of GSM/WCDMA packet-
TLS (optional)
switching networks starts to transition
from SS7 to Diameter.
SCTP (or TCP)
Centralized routing
As illustrated in Figure 5, position-
IP/IPsec (optional) ing a DSC centrally in the core network
dramatically reduces the number of
connections required. As the number
of peer relations to configure in a full
mesh is directly proportional to the
square of the number of interconnect-
ed devices, centralized positioning of
a DSC can reduce configuration time
considerably, and the time and effort
required to add and configure anoth-
er Diameter signaling peer such as an
MME can be controlled.
With a well-designed centralized
FIGURE 3  Diameter message structure and an example message DSC, signaling flow can be monitored,
Example: 316 network faults can be isolated, and sig-
Version Message length
Update-Location-Request (ULR) naling traffic can be rerouted for main-
Flags (RPET) Command code (>255)
Example: 16777251 S6 between tenance purposes making network
Diameter Application ID MME/SGSN and HSS
header
expansion a much simpler process.
Hop-by-hop ID
To correlate the ULR with the reply When the DSC routes a request, two
End-to-end ID Update-Location-Answer (ULA)
or more peers can usually serve it. The
on a Diameter hop
AVP-attribute value pairs DSC uses a load-balancing algorithm to
To correlate the ULR and ULA
AVP end-to-end between MME and HSS
distribute load over the available serv-
ers. The complexity of this algorithm
AVP can vary, ranging from a simple round
robin to a more evolved solution that
takes current server loads into consid-
AVPs
eration, for example.
AVP code Example: 1407 VPLMN ID
Flags (V, M, P) AVP length
10415 3GPP-specified AVP Overload protection
Vendor ID
A DSC can enhance the robustness of the
Data Mobile Country Code (MCC)
Mobile Network Code (MNC) network by supporting intelligent con-
text-aware throttling of signaling load
for servers suffering from unbalanced
AVP
load, and for clients that misbehave.
Overload and signal flooding can be
caused, for example, by:

E R I C S S O N R E V I E W 2012
5

the mass registration of mobile phones


and inter-node signaling directly FIGURE 4  Reference architecture for use cases
following network recovery;
the handover of huge numbers of sessions
following a radio-network failure; or HSS EIR HSS Charging
(EPC) (IMS)
reregistration of smartphone
applications following the failure of an
OTT server.
The DSC can protect itself and other
connected server peers from overload DA SLF/DA
by throttling messages. However, any
message discarded by the DSC implies
Cx, Sh, Zh
a lost processing effort (blind load) in
the originating network elements and S6a, S6d Ro, Rf
increases the time until the network set- DA IMS DA
tles to a normal state again. Therefore, Rx
it is important to perform load regula- S6a, S6d S6a, S6d, S13
tion as close as possible to the source of SWx Sy
Rx Gy
the overload. HSS S6a, S6a,
(EPC) S6d S6d S9 Gx, Rx, S9
LTE roaming support DEA DA DEA DRA PCRF
(roaming)
In the EPC, there are direct Diameter EPC S9 S9
interfaces that connect the network ele- Gy
S6a, S6d
ments of the visited network MME, Gx
SGSN and vPCRF to the equivalent ele- VPLMN IPX HPLMN
ments of the home network: HSS and EPC
hPCRF. To simplify the roaming inter-
face, an additional functional enti-
ty the Diameter Edge Agent (DEA)
has been defined in the LTE Roaming PCRF based on the subscriber identifi- duration of the IP-CAN session.
Guidelines (GSMA PRD IR.88). er IMSI. When another session is cre- Like the DEA, the DRA is a function-
The DEA provides an entry point ated over Rx for a VoLTE voice call, al element of the DSC. Consequently,
that hides the topology of the network for example this session is identified maintaining all these relationships is
behind it and advertises itself to roam- by the assigned IP address. To ensure a challenge because DSCs are typical-
ing partners as a Diameter relay serv- that session requests are routed to the ly deployed as redundant pairs. The
ing all Diameter applications in the correct PCRF, the DRA must maintain stored state for all IP-CAN sessions must
network. As such, the DSC should be the relationship between the subscrib- be shared between the redundant DSC
considered as a signaling firewall that er identifier, the assigned IP address pair so that a DSC outage does not result
protects the internal network from and the chosen PCRF instance for the in major loss of IP-CAN sessions.
malformed messages and unauthor-
ized senders. This firewall functional
ity is implemented by filtering messages FIGURE 5  Centralized versus distributed Diameter-signaling network architecture
through a set of customizable Diameter
message screening rules and message
normalization can be done by rebuild-
ing all messages using a specified layout.

Session binding
3GPP has defined a new functional
element for policy and charging con-
trol (PCC) architecture. This element DSC
the Diameter Routing Agent (DRA)
ensures that all Diameter sessions estab-
lished over the Gx, Rx and S9 reference
points for a specific IP-CAN session use
the same PCRF instance when multiple
PCRFs have been deployed.
For example, sessions created over Gx
for LTE users may be routed to a specific

E R I C S S O N R E V I E W 2012
Signaling in IP networks
6

The Diameter interfaces to other nodes


FIGURE 6  DSC including logical DA, DEA and DRA elements that store user data, such as the PCRF or
Roaming and Core network domain IT domain
online charging systems, may also need
interconnect to utilize this feature in the DSC.
domain
For centralized user database deploy-
HSS
(EPC)
HSS
(EPC)
HSS
(EPC)
HSS
(IMS)
HSS
(IMS)
HSS
(IMS) IMS IMS IMS LCS OCS OCS OFCS OFCS OFCS ments or when an SLF is used to identi-
fy the location of user data, the DSC only
needs to identify the set of front ends
Roaming
partners
or SLFs that route the request further.
In this case, the DSC does not need the
subscriber identity to route the message.
DSC DSC DSC
Deployment topologies
DEA
In small to medium-sized networks
(serving up to 10 million subscribers),
the Diameter signaling network can
be collapsed into a single mated pair
MME MME MME PCRF PCRF PCRF PGW PGW PGW PGW
of DSCs.
However, it may still be beneficial to
divide the signaling network across sev-
eral interconnected DSCs, each serving
Address resolution of nodes a separate and independently admin-
When user data is distributed over mul- the subscriber identity stored in an AVP istered domain. In the example shown
tiple instances, the DSC must be able to in the message to select the appropri- in Figure 6, one DSC pair handles the
locate the correct instances for a partic- ate server instances (typically two or international Diameter traffic as a DEA,
ular user. 3GPP specifies this in the refer- more), and it then applies load-balancing. a second DSC pair handles the nation-
ence points from EPC and IMS to the HSS To do this, the DSC must be aware al core Diameter signaling, and a third
that stores the user data. For Diameter of the Diameter application so that the DSC pair handles the signaling to charg-
applications using reference points Cx, request can be routed to the appropriate ing systems. The DSC pairs act as an
Dx, S6a, S6d, Sh and Dh, the DSC uses server instance. interface between domains, and conse-
quently each domain can evolve with-
out impacting any other.
FIGURE 7  Sample DSC topology Very large networks (serving more
than 10 million subscribers) are often
subdivided into geographical regions.
For such networks, DSC pairs may be
deployed for each region, where all DSCs
Deep message
are linked to each other providing the
inspection
Fast Diameter router/ signaling interconnect.
load balancer
Deep message
inspection The Ericsson approach
As a central node in the network, the
Fast Diameter router/ Deep message DSC must be carrier-grade complement-
load balancer inspection ed with a robust network design which
requires both node- and network-level
Deep message
Fast Diameter router/ redundancy. At node level, N+1 redun-
inspection
load balancer dancy is applied for traffic-carrying
Deep message blades, and other hardware components
inspection are 1+1 protected. Network-level redun-
dancy is achieved via mated DSC pairs,
which can be situated at different geo-
graphical sites.
Ericsson Blade System Figure 7 illustrates the DSC, which
from a software-architecture perspec-
tive is divided into two: a front-end rout-
er that handles most message routing
through a peer table and an extended
diameter-routing table; and a back-end
part handling deep message inspection.

E R I C S S O N R E V I E W 2012
7

The front end can handle frequently The DSC can be scaled up from mini-
Jrg Ewert
occurring proxy functions and is also mum configuration of two traffic-serv-
responsible for the load balancing and ing blades to any size simply by adding joined Ericsson in 1999
throttling functions. This part is opti- or removing blades. The configuration as a system manager for
mized for high-capacity message pro- of cooperating nodes is unaffected. In mobile softswitch O&M.
cessing with minimum delay. one magazine, the DSC can be expand- He later became the
The back-end part is invoked when a ed with up to 10 traffic blades handling leader of the O&M system design
message requires screening and when up to 300k TPS, and for very high capac- team. In 2005, he joined the product
based on highly customized business ity needs, the DSC can comprise several management team at Business Unit
logic modification of the message con- magazines. Networks, where he was responsible
for network management and security.
tent is required. The back end supports a Because individual DSC blades are not
He is now responsible for network
comprehensive GUI for easy customiza- visible to neighboring network nodes,
evolution in product line switching at
tion of message handling an essential they can be added, taken out of service
BU Networks. Ewert studied business
function for configuring the interfaces or removed without any impact on the
administration at the University of
with roaming partners. network. In this way, software and hard-
Hagen, Germany, and holds an M.Sc.
The front- and back-end parts are ware upgrades and maintenance can
and a Ph.D. in physics from the
administrated by a common opera- be performed during normal operation
University of Gttingen, Germany.
tions and maintenance (O&M) concept. without creating disturbances.
However, two different O&M roles are
defined to fit with the main use cases: Conclusion
Lennart Norell
basic diameter signaling control and The emergence of the Diameter
diameter message manipulation. protocol as a fundamental part of joined Ellemtel in 1977 to
Each blade in the DSC runs both a network signaling in the EPC and IMS work on the development
front-end and a back-end software pro- has created the need for a signaling- of the AXE system. He
moved to Ericsson in 1982
cess. Consequently, all blades are equal controller network element that facil-
and has since held various
in terms of software configuration, itates configuration and increases the
management and technical expert
which eases expansion and supports a robustness of the network. This network
positions within system and product
cost- and time-effective configuration element, the DSC, is mission-criti-
management in the telecom and
process. The load balancer distributes cal and requires telecom-grade soft-
datacom product areas. He has been
incoming messages to the front end. ware and hardware. A high degree of
active in the design of IMS, where he
And requests that require invocation flexibility will also be necessary to man-
previously led the strategic systems
of back-end processes are distributed so age the evolution of Diameter signaling management unit. He is currently an
that load is balanced. during the coming decade. expert in IMS and core network
architectures at Business Unit
Networks, focusing on voice and video
over LTE and network signaling. He has
an M.Sc. in electrical engineering from
Chalmers University of Technology,
Sweden.

Soner Yamen
joined Ericsson in 1995
as a support engineer. In
1999, after working as a
Acknowledgements
solution and project
Sven Steinacker, Martin Johansson, Volker Kleinfeld and Antonio Alonso manager in Turkey, he transferred to
system management at Ericsson
Eurolab, Germany. In 2000, he joined
the product management team, where
References he is currently responsible for Network
1. IETF, 2003, RFC 3588, Diameter Base Protocol, Available at: http://www.ietf.org/ Architecture in product line switching
rfc/rfc3588.txt at Business Unit Networks. He holds
2. Ericsson, 2012, Traffic and market data report, Available at: http://www.ericsson. an M.Sc. in electrical engineering from
com/res/docs/2012/traffic_and_market_report_june_2012.pdf the University of Wisconsin-Madison in
the US.

E R I C S S O N R E V I E W 2012

You might also like