Application Detection and Control (Gx)
Ericsson Service-Aware Policy Controller

Contents

1Application Detection and Control Introduction
1.1Document Purpose and Scope
1.2Concepts

2

ADC Function
2.1ADC Overview
2.2Service Access Control
2.3ADC Redirection Control
2.4ADC Mute Notification Control
2.5Application Detection Reporting

3

ADC Network Deployments

4

ADC Traffic Cases
4.1QoS Control Based on Application Traffic Detection
4.2ADC Redirection Control
4.3ADC Mute Notification
4.4ADC Error Handling

Reference List

Abstract

This document describes the Application Detection and Control function provided by the SAPC.


1   Application Detection and Control Introduction

1.1   Document Purpose and Scope

This document describes the Application Detection and Control (ADC) function provided by the SAPC.

1.2   Concepts

Application detection filter Logic used to detect packets generated by an application based on extended inspection of these packets, such as header or payload information, and dynamics of packet flows. The logic is entirely internal to a PCEF enhanced with ADC.
Application identifier An identifier, referring to a specific application detection filter.
PCC Rule The set of information enabling the detection of application traffic and providing parameters for Policy and Charging Control (PCC).
Policy The set of rules that implies a decision about a resource and that triggers certain behavior in the network.
Rule It contains a condition formula that is evaluated to permit or deny the authorization to a resource or to return an output attribute.
Service Data Flow An aggregate set of IP flows.
Service Data Flow Filter A set of filter parameters used to identify one or more of the IP flows constituting a service data flow. At least the following means for the IP flow identification are supported: source and destination IP address+port, protocol.

2   ADC Function

2.1   ADC Overview

The SAPC supporting ADC function instructs the PCEF to detect and report application start and stop events. Based on this report, the SAPC makes policy decisions and sends enforcement actions to the PCEF.

This function enables the operator to have real-time control over the services of the users. The operator can take the following immediate actions based on application status:

This function also supports redirecting the detected applications to another destination, or muting notifications to the SAPC for specific applications.

This functionality is provided through the Gx interface. The SAPC can enable PCEFs for ADC support. The PCEF detects the application traffic using static or preconfigured PCC rules enhanced with ADC.

Figure 1 illustrates an example of QoS upgrade based on application detection. The SAPC makes QoS decisions depending on application events reported by the PCEF.

Figure 1   QoS upgrade based on Application Detection start

  1. The default bearer is established with negotiated QoS.
  2. The UE starts the application traffic.
  3. The GGSN (PGW) detects and reports an application start event together with the flow information to the SAPC.
  4. The SAPC evaluates the QoS and sends new QoS to the GGSN (PGW).
  5. The dedicated bearer with new QoS is established.
  6. The End-to-End application traffic is established.

2.2   Service Access Control

The SAPC authorizes PCC rules enhanced with ADC together with other PCC rules by evaluating Access and Charging Control, as described in Access and Charging Control (Gx), including:

2.3   ADC Redirection Control

The SAPC can instruct the PCEF to redirect the uplink traffic of specific applications to another destination based on conditions such as Time of Day (ToD). The SAPC can also disable the redirection of these applications.

The SAPC sends redirection information for preconfigured PCC rules enhanced with ADC including type and address of a redirection server and an indication to enable or disable redirection. The type of server address can be IPv4 address, IPv6 address, URL, or SIP URI.

If the redirection server address is not provided by the SAPC, the server address preconfigured in the PCEF for this PCC rule is used instead.

The SAPC selects the redirection profile for a PCC rule enhanced with ADC by evaluating ADC Redirection policies according to the following precedence allocation:

  1. Subject policy locator.
  2. Subject group policy locator. All the active subscriber groups are considered.

    Therefore configure Dynamic Group Selection policies to evaluate only the desired subscriber group policies.

  3. Global policy locator.

In case there are conflicts among the rules within a policy, the result for the policy depends on the rule combining algorithm configured. See Solving Policies Conflicts section in Subscription and Policy Management for further information.

If there are no configured policies or the policies are not fulfilled, the SAPC obtains the ADC Redirection information provisioned statically for the service.

If ADC Redirection cannot be selected either dynamically or statically, the SAPC does not request to redirect the traffic.

2.4   ADC Mute Notification Control

The SAPC can instruct the PCEF to mute application notifications associated with preconfigured PCC rules enhanced with ADC. It can be used if the enforcement action to be applied for the application is access control or bandwidth limitation to save event notifications.

ADC Mute Notification can only be set at PCC rule installation and it cannot be updated during the lifetime of the PCC rule.

The SAPC selects the mute status for PCC rules enhanced with ADC by evaluating ADC Mute Notification policies according to the following precedence allocation:

  1. Subject policy locator.
  2. Subject group policy locator. All the active subscriber groups are considered.

    Therefore configure Dynamic Group Selection policies to evaluate only the desired subscriber group policies.

  3. Global policy locator.

In case there are conflicts among the rules within a policy, the result for the policy depends on the rule combining algorithm configured. See Solving Policies Conflicts section in Subscription and Policy Management for further information.

If there are no configured policies or the policies are not fulfilled, the SAPC obtains the mute status provisioned statically for the service.

If ADC Mute Notification cannot be selected either dynamically or statically, the SAPC does not request the PCEF to mute the application notifications.

2.5   Application Detection Reporting

The PCEF enhanced with ADC performs the application reporting if the following conditions are met:

The PCEF reports the application status at application level or service data flow level, by sending the application start and stop events and application detection information to the SAPC.

During the lifetime of a PCC rule enhanced with ADC, the SAPC expects that the application start and stop events are reported at the same level (application level or service data flow level). The SAPC uses the TDF application identifier and TDF application instance identifiers received in the start and stop notifications reported by the PCEF to keep track of application traffic status. The SAPC does not handle flow information for PCC rules enhanced with ADC. It is the PCEF which knows about the flow information corresponding to the application or service traffic reported.

Note:  
The PCEF reports application status to the SAPC, even if the application traffic is discarded in the PCEF.

3   ADC Network Deployments

The SAPC can provide Application and Detection Control in the following network deployments:

4   ADC Traffic Cases

This chapter explains the interface (Gx) involved in the Application Detection and Control function and the traffic interactions between the network functions involved. For a detailed description of the Gx interface, see the corresponding interface description.

The preconditions to all ADC traffic cases are as follows:

4.1   QoS Control Based on Application Traffic Detection

This traffic case shows an example of QoS control based on application traffic detection for PCC rules enhanced with ADC in an EPS deployment.

In this example, the QoS profile of the default bearer is upgraded/downgraded when PCEF detects and reports the application traffic start/stop of a previously installed PCC rule enhanced with ADC.

Figure 2   QoS Control based on Application Traffic Detection

IP-CAN session establishment

Upgrade default bearer QoS at application start detected

Downgrade default bearer QoS at application stop detected

4.2   ADC Redirection Control

This traffic case shows an example of ADC Redirection Control based on a ToD condition where the SAPC controls time.

In this example ADC Redirection Control is dynamically selected only during a specific range of time. The SAPC triggers the reauthorization of the session when ADC Redirection is to be applied.

Figure 3   ADC Redirection Control based on ToD conditions

IP-CAN session establishment

Traffic is detected but not redirected

ToD event. ADC Redirect profile downloaded

Subscriber traffic is redirected to the Redirect Server

4.3   ADC Mute Notification

This traffic case shows how ADC Mute Notification Control can be used when it is not needed to report traffic start/stop towards the SAPC, for example if it is only needed to perform bandwidth enforcement for the application.

In this example, the preconfigured PCC rule enhanced with ADC is downloaded with MUTE_REQUIRED value, so the PCEF does not report any service traffic start or stop for the PCC rule enhanced with ADC.

Note:  
ADC Mute Notification value is persistent during the life of the PCC rule enhanced with ADC, so Mute-Notification AVP is only sent in first PCC rule installation.

Figure 4   ADC Mute Notification Control

IP-CAN session establishment

Application traffic start is detected

Application traffic stop is detected

4.4   ADC Error Handling

4.4.1   PCC Rule Error Handling

This traffic case shows an example of error handling in the installation of PCC rules enhanced with ADC. This is an extension of the PCC Rule Error Handling described in Access and Charging Control (Gx).

Figure 5   PCC Rule Error Handling

  1. The SAPC receives a Gx CCR-Update message from the PCEF indicating that the previous installation of PCC rules enhanced with ADC has failed. The CCR-Update includes the Charging-Rule-Report AVP with the following AVPs:
    • The Charging-Rule-Name AVP for the affected PCC rules.
    • The PCC-Rule-Status AVP containing the value INACTIVE to indicate an error in the installation of the PCC rule.
    • The Rule-Failure-Code AVP containing the failure reason. It includes one of the following values:
      • TDF_APPLICATION_IDENTIFIER_ERROR (14), indicating that the TDF-Application-Identifier is invalid, unknown, or not applicable to the application required for detection.
      • MISSING_REDIRECT_SERVER_ADDRESS (18), indicating no valid Redirect Server Address within the Redirect-Server-Address AVP is provided by the SAPC or not configured at the PCEF.
  2. The SAPC updates the session information by removing the PCC rules enhanced with ADC and performs policy evaluation ignoring the affected PCC rules.

    ◾2: The SAPC updates the session information (removing the PCC rules affected) and performs policy evaluation ignoring the affected PCC rules.

  3. CCA-Update message is sent back to the PCEF.

4.4.2   Application Reporting Error Handling

Next table shows how the SAPC handles the errors when receiving a CCR-Update missing certain AVPs.

Table 1    Application Reporting Error Handling

Error Condition

Action

Code

The SAPC receives a CCR-U for an application start event with the TDF-Application-Instance-Identifier AVP, and the CCR-U for the corresponding stop event does not have it.(1)

The SAPC returns a CCA indicating an error.

Result-Code AVP set to DIAMETER_MISSING_AVP (5005)

The SAPC receive a CCR-U for an application start or stop event trigger but not Application-Detection-Information AVP or with Application-Detection-Information AVP but not TDF-Application-Identifier AVP inside.

The SAPC returns a CCA indicating an error.

Result-Code AVP set to DIAMETER_MISSING_AVP (5005)

The SAPC receive a CCR-U for an application start or stop event trigger with Application-Detection-Information AVP including a Flow-Information AVP, but no corresponding TDF-Application-Instance-Identifier AVP.

The SAPC returns a CCA indicating an error.

Result-Code AVP set to DIAMETER_MISSING_AVP (5005)

(1)  In case the SAPC receives a CCR-U for an application start event without the TDF-Application-Instance-Identifier AVP, but the corresponding stop event has it, the SAPC will ignore application stop event trigger but reauthorize the session.



Reference List

Ericsson Documents
[1] Access and Charging Control (Gx).
[2] Subscription and Policy Management.