- Integration with OCS for Monetary Spending Limit Reporting (Sy) Introduction
- Integration with OCS Function
- Network Deployments
- Traffic Cases
- Reference List
1 Integration with OCS for Monetary Spending Limit Reporting (Sy) Introduction
This document describes the Charging and Policy Control functionality provided by the SAPC when using monetary spending limit reporting over 3GPP Sy interface or ESy interface with an Online Charging System.
This function provides Policy and Charging control differentiated per subscriber taking into account information about the monetary balance of the subscriber account stored in the Online Charging System. The control is performed basing the Policy decisions applying to IP session life cycle (Bearer QoS control, Bandwidth Management, and so forth) on the account status information received from the Online Charging System.
2 Integration with OCS Function
2.1 Overview
Service offers are moving from simple Data Products based on volume addressed to all mobile broadband subscribers to differentiated Data Products tailored to specific subscribers' requirements for bandwidth, volume, and willingness to pay.
With Integration with the Online Charging System for Monetary Spending Limit Reporting, the SAPC is enabled to perform Policy (such as Bearer QoS Control, Access Control) control decisions based on information only available in the Online Charging System, that is, based on real-time information about the status of the monetary balance of a particular subscriber.
The Integration with the Online Charging System for Monetary Spending Limit Reporting function is centered around the Sy Reference Point. The Sy Reference Point is a Diameter interface between the Online Charging System and the SAPC that enables the transport of the status of the subscriber account (indication of the monetary balance) in a piece of information called Policy Counter.
The SAPC supports two versions for the Sy Reference Point: the Ericsson Sy - a pre-standard version of 3GPP Sy; and 3GPP Sy compliant version of the interface Policy and Charging Control: Spending Limit Reporting over Sy Reference Point.
The following picture shows a simplified network overview with the Sy Reference Point:
During the establishment of the first IP-CAN session for a subscriber, the SAPC determines whether the data to install in the PCEF depends on monetary balance status information of the subscriber stored in the Online Charging System. If it is so, the SAPC first selects the Online Charging System, then sends a request to the selected one and uses the received information, together with the subscriber data stored in the SAPC, to decide the data to install in the PCEF.
Subsequent IP-CAN session updates or new IP-CAN session establishments are processed in the SAPC considering the balance status previously obtained from the Online Charging System and temporarily stored in the Sy session or ESy session for the subscriber, being not necessary to contact again the Online Charging System. The same happens in a multiple Gx scenario at new Gx session establishment or modification for an ongoing IP-CAN session.
Updates in the balance account of the subscriber are notified to the SAPC by the Online Charging System, so that the SAPC can reevaluate its policies and determine if the ongoing IP-CAN sessions must be updated.
The SAPC releases the balance status information temporarily stored when the last active IP-CAN session is terminated for the subscriber.
2.2 Policy Counter
Policy control decisions for a subscriber can vary depending on Online Charging System information, as for example spending thresholds reached for a subscribed Data Product.
A Policy Counter is the piece of information that transports thresholds information. The Policy Counter allows the SAPC to be informed in real time by the Online Charging System about any relevant monetary related events (for example if the subscriber has exceeded a spend threshold that may lead to modifying the QoS of the session), volume consumed related events, time spent related events, or any other type of events.
The Policy Counter information consists of:
Steps
2.3 Determination of Policy and Charging Control Information to Install in PCEF
The SAPC determines the Policy and Charging Control Information to convey to the PCEF using the status of the Policy Counters received from the Online Charging System for the evaluation of the policies of the different controls (together with subscribed Subscriber Group static and dynamic information, application context, network context, time conditions, and so on).
For example, for the following controls, the SAPC proceeds as follows:
These actions are configured with policies in the SAPC. See more information about how policies are evaluated in the SAPC in Subscription and Policy Management.
2.4 Ericsson Sy: Integration with Charging System
The basic Integration with the Online Charging System for Monetary Spending Limit Reporting function allows setting the policies for the IP-CAN session of a subscriber considering the changes in Counter Status reported by the Online Charging System. The subscription of the Data Products applicable to the subscriber is provisioned and handled in both, the SAPC and the Online Charging System. Rating policies and accumulation data are handled in the Online Charging System, while user policies that consider changes in the Counter Status to set the policies for the IP-CAN session are handled in the SAPC. The Sy interface only conveys (changes in) the status of Policy Counters. This is the 3GPP standard behavior Policy and Charging Control: Spending Limit Reporting over Sy Reference Point.
The Ericsson Sy for the Integration with the Online Charging System for Monetary Spending Limit Reporting function allows the centralization of the subscriber subscription to Data Products in Ericsson Online Charging System:
The management of the subscriber subscription to the Operator Service Offering is centralized in Ericsson Online Charging System. Ericsson Online Charging System indicates to the SAPC the set of Data Products available to the subscriber by the ESy interface, using an Ericsson concept called Policy Groups.
The ESy interface conveys then, together with Policy Counter status, the Policy Groups available to the subscriber.
During the establishment of the first IP-CAN session for a subscriber, the SAPC determines if the data to install in the PCEF depends on monetary balance status information of the subscriber' stored in Online Charging System. The SAPC first selects the right Online Charging System, then sends a request to the selected one and considers the information related to Policy Groups assigned to the subscriber to decide the data to install in the PCEF.
Subsequent IP-CAN session updates or new IP-CAN session establishments are processed in the SAPC considering the Policy Groups and Policy Counters status previously obtained from the Online Charging System and temporarily stored in the ESy session, being not necessary to contact again the Online Charging System. The same happens in a multiple Gx scenario at new Gx session establishment or modification for an ongoing IP-CAN session
Updates in the subscription to the Policy Groups are notified to the SAPC by Ericsson Online Charging System, so that the SAPC can reevaluate its policies and determine if the ongoing IP-CAN sessions must be updated.
The SAPC releases the Policy Groups information temporarily stored in ESy session when the last active IP-CAN session is terminated for the subscriber.
2.4.1 Policy Group
The Policy Group is an Ericsson concept.
The Policy Groups are assigned to a subscriber and are sent over ESy interface to indicate the Service Offering applicable to a subscriber. The Policy Group is implemented in the SAPC by using Subscriber Groups. By configuration, the set of services (static data) and the set of conditions (dynamic data) that have to be applied to a Policy Group are configured in the associated Subscriber Group. The Policy Group identifier conveyed in Ericsson Sy Reference Point allows the SAPC to be informed in real time by Ericsson Online Charging System about the Data Products (or derived subscription information) subscribed by a particular subscriber.
The Policy Group information consists of:
Also, the SAPC allows to select dynamically the received Policy Groups, with using Group Selection policies including operator configured conditions (refer to Subscription and Policy Management).
2.4.2 Subscriber Data Distribution
For a Subscriber and an IP-CAN session, the SAPC combines Operator Network policies, User polices related to subscribed Service Offering, and Application polices to set the authorized data to apply for the IP-CAN session. The SAPC takes decisions using its flexible Policy Engine that evaluates operator configured conditions which make use of user data, such as subscriber data, subscriber dynamic information, accumulated usage, time and date conditions.
In a scenario of enhanced Integration with the Online Charging System for Monetary Spending Limit Reporting, the subscription to the Data Products offered by the operator can be centralized in Ericsson Online Charging System, whereas subscriber data relative to Network Policies and Application Policies can remain in the SAPC, giving place to the following subscriber data distribution:
When Operator Network policies and Application policies are bound to Data Products (for example, the policies to apply during Busy Hour and the policies to apply to YouTube service depend on whether the subscriber subscribed to "Gold", "Silver" or "Bronze" Data Products), it is possible to deploy the SAPC without subscribers populated in the SPR.
But when Operator Network policies and Application policies are independent of the Data Products (for example, the policies to apply during Busy Hour depend on whether the subscriber is defined as belonging to the Subscriber Group "Abuser"), it is necessary to populate the subscribers in the SPR and assign to them the subscriber's static data and policies or the Subscriber Groups static data and policies related to these Operator Network policies and Application policies. The SAPC then combines this information stored in the SPR with the Policy Groups retrieved from the Online Charging System to determine the data to install in the PCEF.
The combination of the Policy Groups obtained from Ericsson Online Charging System with subscribed Subscriber Groups is performed as follows:
The following figure shows an example of Subscriber data distribution between the SAPC and the Online Charging System:
A Policy Group assigned to the subscriber by ESy interface, and Subscriber Groups provisioned to the subscriber through the SAPC provisioning interfaces must be disjoint sets of Groups, that is, the same Group must not be assigned to the subscriber by both, ESy interface and the SAPC provisioning interfaces.
The combination of the information of Policy Groups and Subscriber Groups for a given subscriber occurs for the subscribers populated in the SAPC that have both, Policy Groups assigned in Ericsson Online Charging System and received by ESy interface and Subscriber Groups subscribed in the SAPC. The provisioning of Subscriber Groups to the subscriber can be performed by the SAPC provisioning interfaces or by the Auto-provisioning function, refer to Subscription and Policy Management.
When a subscriber profile is removed from the SPR (SAPC internal or external repository), and only Policy Groups are available, the SAPC does not request to the PCEF the IP-CAN session termination for any associated active IP-CAN session of the subscriber. Each IP-CAN session remains alive and it is reauthorized considering those Policy Groups (refer to Subscription and Policy Management).
2.5 Integration with Multiple Online Charging Systems
The SAPC allows the integration with multiple Online Charging Systems by Sy interface or ESy interface, for example in the case where prepaid subscribers are provisioned in standard 3GPPOnline Charging System by Sy interface while postpaid subscribers are provisioned in Ericsson Online Charging System by ESy interface.
The SAPC determines the applicable Online Charging System for a subscriber during the establishment of the first IP-CAN session. The selection of the applicable Online Charging System can be done based on static or dynamic configuration. Dynamic selection of the Online Charging System is performed using policies whose conditions can take into account information received through Gx. The criteria to select the corresponding Online Charging System during the establishment of an IP-CAN session for a subscriber is described below:
It can be configured for each Online Charging System with either Sy interface or ESy interface.
3 Network Deployments
The SAPC can provide Policy and Charging Control based on Spending Limit Reporting over Sy Reference Point together with the following network elements:
| Note: |
The SAPC also allows multiple PCEFs scenario
for Integration with the Online Charging System for Monetary Spending Limit Reporting. |
4 Traffic Cases
This chapter explains the traffic interactions between the network nodes involved in the function Integration with the Online Charging System for Monetary Spending Limit Reporting.
All these interactions are enabled by any supported Gx and Ericsson Gx release. For detailed description of each of the interfaces supported, it shall be consulted the indicated interface descriptions.
The Traffic Cases developed in the following chapters consider the following scenarios:
4.1 Bill Shock Prevention
According to EU regulation, a mobile operator has to impose a monthly default cut-off limit of EUR 50 for data roaming. In this traffic case, a mobile network operator implements EU roaming rules using the basic functionality supported by the Integration with the Online Charging System for Monetary Spending Limit Reporting.
The flows show the Sy session life cycle in relation to the IP-CAN session life cycle, in a scenario where the accumulation data is centralized in the Online Charging System. When the EUR 50 limit for roaming data is reached for the subscriber, the Online Charging System indicates so to the SAPC, which terminates the IP-CAN session of the subscriber.
4.1.1 Use of Policy Counters Status during IP-CAN session Life Cycle
This traffic case describes the request of Policy Counters status to the Online Charging System, how the received Policy Counters statuses are temporarily stored in the SAPC for the subscriber, and how they are used to obtain the policies to set in the PCEF during IP-CAN session establishment and IP-CAN session update. This flow also describes the termination of the Sy session at IP-CAN session termination.
Updates in the IP-CAN session owing to changes in the Policy Counters status are covered in Policy Counter Status Change
Only the significant attributes for this Traffic Case are described in the following subchapters.
IP-CAN session establishment
IP-CAN session modification
IP-CAN session termination
4.1.2 Policy Counter Status Change
The following subsection describes the traffic case of PCEF reauthorization owing to a change in the status of the Policy Counter "BillShockPrevention" to "LimitSurpassed" during an ongoing IP-CAN session. The policies defined in the SAPC for Access Control determine that the access is not allowed when the Policy Counter "BillShockPreventions" gets the value "LimitSurpassed", which in this case results in the IP-CAN session termination.
When all the IP-CAN sessions bound to the subscriber are terminated, the Sy session is terminated with the Online Charging System.
4.2 Centralized Management of Operator Service Offering
The subscriber Service Offering for this traffic case consists initially of a "Mobile Broadband Basic" Data Product, that is later on upgraded with a "Turbo Button" voucher. The "Mobile Broadband Basic" Data Product is a monthly package that allows QoS of 2 Mbps up to EUR 10 limit, charging at EUR 0.5 per 100 Mbytes; once the EUR 10 limit is reached, QoS is reduced to 500 Kbps. The "Turbo Button" Data Product is a 2 hours valid package that allows QoS at 1 Gbps and high priority up to 1 GB volume limit. In this traffic case, the operator handles the Service Offering of the subscriber using the extended functionality offered by the feature Integration with the Online Charging System for Monetary Spending Limit Reporting.
To develop this use case, it is considered that the subscriber is not populated in the SAPC.
4.2.1 Use of Policy Counters and Policy Group Information during IP-CAN session Life Cycle
This traffic case describes the request of Policy Counters and Policy Groups to the Ericsson Online Charging System for the Data Product "Mobile Broadband Basic" for a subscriber that has this subscriber group subscribed, but who is not populated in the SAPC. As in the traffic case for Bill Shock Prevention, it shows how the information retrieved from the Ericsson Online Charging System is used to determine the policies to set in the PCEF for IP-CAN session establishment and IP-CAN session update. The flow ends with the termination of the temporal relation of the subscriber with the Policy Counters and Policy Groups at IP-CAN session termination.
IP-CAN session establishment
IP-CAN session modification
IP-CAN session termination
4.2.2 Policy Counter Status Change
The following subsection describes the traffic case of PCEF reauthorization owing to a change in the status of the Policy Counter of the "Mobile Broadband Basic" Data Product from "LimitNotSurpassed" to "LimitSurpassed". Owing to this change in the status of the Policy Counter "10€limitforMBB", the QoS is decreased to 500 Kbps.
4.2.3 Policy Group Update: Turbo Button Purchase
To describe this Use Case, it is being considered that the subscriber remains subscribed to the "Mobile Broadband Basic" Data Product though its limit has been surpassed.
To increase temporarily the QoS (for example, because the subscriber needs a high speed, high priority connection with his office), the subscriber decides to purchase a Turbo Button voucher that allows him to enjoy 1 Gbps QoS with high priority during 2 hours or up to 1 GB volume limit.
The steps described in the flow would be the same in case the subscriber unsubscribes to a provisioned Data Product.
The subscriber is involved in several IP-CAN sessions, and any of them might be controlled by different PCEFs.
4.2.3.1 New Policy Group Added
4.3 Operator Network Policies, Abusers Example
A network operator might be interested in controlling the use of network resources independently of the subscriber subscription to Data Products. In this example, the network operator has defined in the SAPC the Subscriber Group 'Abusers', which defines the conditions to apply to subscribers classified as abusers because of their accumulated usage historical data. This Subscriber Group, for example, defines policies that close the session at certain usage accumulation limit during the IP-CAN session, and downgrade the QoS of a particular service (for example, P2P) when certain daily usage accumulation limit is surpassed for this service. The Subscriber Group 'Abusers' is part of the subscriber profile stored in the SPR, and it is considered during IP-CAN session life cycle together with the Policy Groups andPolicy Counters received from the EricssonOnline Charging System.
The realization of this Use Case relies on the feature Fair Usage Control. Fair Usage Control provides the capability to control the accumulated volume and/or time usage performed by a subscriber for a service or group of services during a period, for example, monthly, or during an IP-CAN session, and to take certain actions whenever any of the usage limits configured for that subscriber is surpassed, such as QoS change, rating group change, or deny the access to a service, according to a policy decision
The following flow develops a use case where the session limit established for the IP-CAN session is reached, and as a consequence, the access is denied to the subscriber.
4.4 Connectivity with the Online Charging System
Routing of Diameter messages from a network element towards the right Diameter realm is based on standard Diameter realm-based routing (Diameter Base Protocol - RFC 3588).
The SAPC, to route SLR messages to the Online Charging System, uses pre-configured realm information. For the subsequent messages routed from the SAPC, the SAPC uses the Host Identifier included in the Origin-Host AVP and the Realm included in Origin-Realm AVP of the SLA message.
The next figure shows an example of how the realm information is considered in a typical deployment with the SAPC and a standard Online Charging System
The SAPC configures the Realm (OCS1.OPERATOR.COM) corresponding to the interfacing standard Online Charging System.
This Charging System can be assigned by default to the subscriber, can be explicitly provisioned to the subscriber, or can be selected by policies.
The routing of SLR/SLA, STR/STA messages occur as follows:
SNR messages are routed from the Online Charging System to the SAPC using both, SAPC Host Identity and SAPC realm provided by the SAPC to the Online Charging System in the Origin-Host AVP and Origin-Realm AVP included in the SLR message.
Routing to the Ericsson Online Charging System
Routing to the Ericsson Online Charging System differs from the previous explanation.
Figure 15 shows how the realm information is considered in a deployment with the SAPC and the Ericsson Online Charging System.
The SAPC configures the Realm (OCS1.OPERATOR.COM) corresponding to the interfacing Online Charging System.
This Charging System can be assigned by default to the subscriber, can be explicitly provisioned to the subscriber, or can be selected by policies.
The routing of SLR/SLA, STR/STA messages occur as follows:
To route SNR messages, the Ericsson Online Charging System includes Destination-Host AVP and Destination-Realm AVP set to the values that the SAPC sent in SLR message Origin-Host AVP and Origin-Realm AVP.
4.5 Failure Handling
This section describes the Sy session or ESy session failure handling.
4.5.1 SLR Failure
|
Error Condition |
Action |
Code |
|---|---|---|
|
An SLA message over Sy interface is received indicating no Policy
Counter Identifier and has no Policy Counters available for the subscriber
in the Online Charging System
Experimental-Result AVP :DIAMETER_ERROR_NO_AVAILABLE_POLICY_COUNTERS |
The SAPC does not create an Sy session and it logs the error. When the subscriber is provisioned in the SAPC, the SAPC answers the CCA according to the subscriber groups defined for the subscriber. If the subscriber is not populated in the SAPC, then the SAPC proceeds as defined in the 'unknown subscriber' profile if it applies ( Subscription and Policy Management, otherwise, a DIAMETER_USER_UNKNOWN error is returned in the Gx response |
Result-Code AVP set to success (code 2001) when the subscriber is populated or if not populated, the 'unknown subscriber' profile applies. Otherwise Result Code AVP is set to DIAMETER_USER_UNKNOWN (code 5030) |
|
An SLA message is not received or it is received with an error, for example: Result-Code AVP: DIAMETER_USER_UNKNOWN DIAMETER_INVALID_AVP_VALUE DIAMETER_UNABLE_TO_DELIVER DIAMETER_TOO_BUSY DIAMETER_LOOP_DETECTED |
The SAPC does not create the Sy session/ESy session and it logs the error. When the subscriber is provisioned in the SAPC, the SAPC answers the CCA according to the subscriber groups defined for the subscriber. If the subscriber is not populated in the SAPC, then the SAPC proceeds as defined in the 'unknown subscriber' profile if it applies ( Subscription and Policy Management), otherwise, a DIAMETER_USER_UNKNOWN error is returned in the Gx response |
Result-Code AVP set to success (code 2001) when the subscriber is populated or if not populated, the 'unknown subscriber' profile applies. Otherwise Result-Code AVP is set to DIAMETER_USER_UNKNOWN (code 5030) |
|
An SLA message is received with DIAMETER_SUCCESS but AVPs have invalid value, are invalid, inconsistent, or missing |
The SAPC accepts the answer and creates the Sy session/ESy session with the valid information received (empty if there is no valid information) and answers with a CCA according to the valid information received from the OCS, and - when the subscriber is provisioned in the SAPC - according to the subscriber groups defined for the subscriber if they apply. |
Result-Code AVP set to success (code 2001) |
4.5.2 SNR Failure
|
Error Condition |
Action |
Code |
|---|---|---|
|
An SNR message contains an unknown value in the Session-Id AVP |
The SAPC logs the error and returns an error indicating the request cannot be handled because the indicated Sy session/ESy session is unknown |
SNA Result-Code AVP is set to error DIAMETER_UNKNOWN_SESSION_ID, with error code 5002 |
|
An SNR message contains an AVP with Invalid value in its data portion. For example, Policy Group Activation Time occurs later than Policy Group DeactivationTime. |
The Sy session/ESy session is updated with the values received without errors and the Gx sessions are reauthorized according to these values. The SAPC returns an error and indicate the AVPs that caused the failure. |
SNA Result-Code AVP is set to error DIAMETER_INVALID_AVP_VALUE, with error code 5004. The Failed-AVP contains the AVP that caused the failure. |
|
An SNR message is received and the SAPC detects an internal error that does not allow continuing processing the request |
The SAPC logs the error and returns an error indicating that the request cannot be handled |
SNA Result-Code AVP is set to error DIAMETER_UNABLE_TO_COMPLY |
Other Diameter Base Protocol errors are handled according to RFC 3588 2.
4.5.3 STR Failure
|
Error Condition |
Action |
Code |
|---|---|---|
|
An STA is not received or it is received with an error, for example: DIAMETER_UNKNOWN_SESSION_ID DIAMETER_UNABLE_TO_DELIVER DIAMETER_TOO_BUSY DIAMETER_LOOP_DETECTED |
The SAPC logs the error and deletes the Sy session/ESy session |
- |
|
An STA is received with DIAMETER_SUCCESS but AVPs have invalid value, are invalid, inconsistent, or missing |
The SAPC logs the error and deletes the Sy session/ESy session |
- |
5 Reference List
-
Policy and Charging Control: Spending limit reporting over Sy reference point - 3GPP TS 29.219
-
Diameter Base Protocol - RFC 3588

Contents