Saturday, 1 February 2014

Policy and Charging Control - Gx Explained !!!

Overview

The Gx reference point is located between the Policy and Charging Rules Function (PCRF) and the Policy and Charging Enforcement Function (PCEF). The Gx reference point is used for provisioning and removal of PCC rules from the PCRF to the PCEF and the transmission of traffic plane events from the PCEF to the PCRF. The Gx reference point can be used for charging control, policy control or both by applying AVPs relevant to the application. The Gx reference point can also be used for application’s traffic detection and control.

Gx reference point at the Policy and Charging Control (PCC)



The PCEF shall select a PCC rule for each received packet by evaluating received packets against service data flow filters of PCC rules in the order of the precedence of the PCC rules. When a packet matches a service data flow filter,
the packet matching process for that packet is completed, and the PCC rule for that filter shall be applied.

Policy and Charging Control Rule Definition:
 
The purpose of the PCC rule is to:
  • Detect a packet belonging to a service data flow
    • The service data flow filters within the PCC rule are used for selection of downlink IP CAN bearers
    • Service data flow filters within the PCC rule are used for the enforcement that uplink IP flows are transported in the correct IP CAN bearer
  • Identify the service data flow contributes to
  • Provide applicable charging parameters for a service data flow
  • Provide policy control for a service data flow
     
The PCEF (Policy and Charging Enforcement Function) shall select a PCC rule for each received packet by evaluating received packets against service data flow filters of PCC rules in the order of the precedence of the PCC rules. When a packet matches a service data flow filter, the packet matching process for that packet is completed, and PCC rule for that filter shall be applied.
There are two different types of PCC (Policy and Charging Control):
  • Dynamic PCC rules. Are dynamically provisioned by the PCRF to the PCEF via the Gx interface. These PCC rules may be either predefined or dynamically generated in the PCRF. Dynamic PCC rules can be Installed, Modified and Removed any time.
     
  • Predefined PCC rules. Preconfigured in the PCEF. Predefined PCC rules can be Activated or Deactivated by the PCRF at any time. Predefined PCC rules within the PCEF may be grouped allowing  the PCRF to dynamically activate set of PCC rules over the Gx interface.
PCC rules consist of:
  • rule name - shall be used to reference a PCC rule in communication between PCEF and the PCRF
  • service identifier - shall be used to identify the service or service component the service data flow relates to
  • service data flow filter(s) - shall be used to select the traffic for which the rule applies. It shall be possible to define wildcarded service data flow filters, both for dynamic and predefined PCC rules
  • precedence
  • gate status - indicates whether the service data flow, detected by the service data flow filter may pass (state open) or shall be discarded (state closed) in uplink and/or in downlin direction
  • QoS parameters - includes QoS Class Identifier (QCI), that means authorized QoS class for the service data flow, also the Allocation and Retention Priority (ARP) and authorized bitrates for uplink and downlik
  • charging key (i.e. rating group) - define whether online and offline charging interfaces are used, what is to be metered in offline, on what level the PCEF shall report the usage related to the rule, etc.
  • other charging parameters
  • monitoring key - identifies a monitoring control instance that shall be used for usage monitoring control of the service data flows controlled by the predefined PCC rule or dynamic PCC rule
Operations on Policy and Charging Control (PCC) rules For dynamic PCC rules:
  • Installation: to provision a PCC rules that has not been already provisioned
  • Modification: to modify a PCC rule already installed
  • Removal: to remove a PCC rule already installed
For predefined PCC:
  • Activation: to allow the PCC rule being active
  • Deactivation: to disallow the PCC rule

Functional elements

PCRF
The PCRF (Policy Control and Charging Rules Function) is a functional element that encompasses policy control decision and flow based charging control functionalities. The PCRF provides network control regarding the service data flow detection, gating, QoS and flow based charging (except credit management) towards the PCEF. The PCRF reveives session and media related information from the Application Function (AF) and informs AF of traffic plane events.
The PCRF Shall provision PCC rules to the PCEF via the Gx interface.
The PCRF PCC rule decisions may be based on one or more of the following:
  • Information obtained from the Application Function (AF) via Rx interface, e.g. session, media and subscriber related information
  • Information obtained from the PCEF via the Gx interface, e.g. IP CAN bearer attributes, request type and subscriber related information
  • Information obtained fromthe SPR via the Sp interface, e.g. subscriber and service related data
  • Information obtained from the BBERF via the Gxx interface
  • Own PCRF pre-configured information
If the information from the PCEF (Policy and Charging Enforcement Function) contains traffic mapping information not matching any service data flow filter known to the PCRF, and PCRF allows the UE to request enhanced QoS fo services not known to the PCRF. The PCRF shall add this traffic mapping information as service data flow filters to the corresponding authorized PCC rule. The PCRF may wildcard missing filter parameters.
PCRF shall report events to the AF via Rx interface.
The PCRF shall inform the PCEF through the use of PCC rules on the treatment of each service data flow that is under PCC control, in accordance with the PCRF policy decisions. PCRF shall be able to select the bearer control mode that will apply for the IP CAN session and provide it to the PCEF via the Gx interface.

Upon subscription to loss of AF (Application Function) signalling bearer notifications by the AF, the PCRF shall request the PCEF to notify the PCRF of the los of resources associated to the PCC rules corresponding with AF Signaling IP Flows, it this has not been requestet previously.

PCEF
The PCEF (Policy and Charging Enforcement Function) is the functional element that encompasses policy enforcement and follow based charging functionalities. This functional entity is located at the Gateway (PGW). It provides control over the user plane traffic handling at the Gateway and its QoS, and provides service data dlow detection and counting as well as online and offline charging interactions.
For a service data flow that is under policy control the PCEF shall allow the service data flow to pass through the Gateway if and only if the corresponding gate is open.
For a service data flow that is under charging control the PCEF shall allow the service data flow to pass through the Gateway if and only if there is a corresponding a active PCC rule and, for online charging, the OCS has authorized the applicable credit with that Charging Key (Rule Base). The PCEF may let a service data flow pass through the Gateway during the course of the credit re-authorization procedure.

If requested by the PCRF, the PCEF shall report to the PCRF when the status of the related service data flow changes. This procedure can be used to monitor an IP CAN bearer dedicated tfor AF signalling traffic.

Provisioning of PCC rules

The PCRF shall indicate, via the Gx reference point, PCC rules to be applied at the PCEF. This may be using one of the following procedures:

- PULL procedure (Provisioning solicited by the PCEF): In response to a request for PCC rules being made by the PCEF, as described in the preceding section, the PCRF shall provision PCC rules in the CC-Answer; 
Sample CCR-I,
The CCR command, indicated by the Command-Code field set to 272 and the 'R' bit set in the Command Flags field, is sent by the PCEF to the PCRF in order to request PCC rules for a bearer and provision IP flow mobility routing rules. The CCR command is also sent by the PCEF to the PCRF in order to indicate bearer, PCC rule or IP flow mobility routing rule related events or the termination of the IP CAN bearer and/or session.

Sample CCA-I,
The CCA command, indicated by the Command-Code field set to 272 and the 'R' bit cleared in the Command Flags field, is sent by the PCRF to the PCEF in response to the CCR command. It is used to provision PCC rules and event
triggers for the bearer/session and to provide the selected bearer control mode for the IP-CAN session. If the PCRF performs the bearer binding, PCC rules will be provisioned at bearer level. The primary and secondary CCF and/or primary and secondary OCS addresses may be included in the initial provisioning. 



- PUSH procedure (Unsolicited provisioning): The PCRF may decide to provision PCC rules without obtaining a request from the PCEF, e.g. in response to information provided to the PCRF via the Rx reference point, or in response to an internal trigger within the PCRF. To provision PCC rules without a request from the PCEF, the PCRF shall include these PCC rules in an RA-Request message. No CCR/CCA messages are triggered by this RA-Request. The PCRF should NOT send a new RA-Request command to the PCEF until the previous RA-Request has been acknowledged for the same IP-CAN session.




RAR:

The RAR command, indicated by the Command-Code field set to 258 and the 'R' bit set in the Command Flags field, is sent by the PCRF to the PCEF in order to provision PCC rules using the PUSH procedure initiate the provision of unsolicited PCC rules. It is used to provision PCC rules, event triggers and event report indications for the session. If the PCRF performs the bearer binding, PCC rules will be provisioned at bearer level.

RAA:

The RAA command, indicated by the Command-Code field set to 258 and the 'R' bit cleared in the Command Flags field, is sent by the PCEF to the PCRF in response to the RAR command.

UE-initiated IP-CAN Bearer Establishment and Modification:


For each request from the PCEF or upon the unsolicited provision the PCRF shall provision zero or more PCC rules. The PCRF may perform an operation on a single PCC rule by one of the following means:
  • To activate or deactivate a PCC rule that is predefined at the PCEF, the PCRF shall provision a reference to this PCC rule within a Charging-Rule-Name AVP and indicate the required action by choosing either the Charging-Rule-Install AVP or the Charging-Rule-Remove AVP.
     
  • To install or modify a PCRF-provisioned PCC rule, the PCRF shall provision a corresponding Charging-Rule-Definition AVP within a Charging-Rule-Install AVP.
     
  • To remove a PCC rule which has previously been provisioned by the PCRF, the PCRF shall provision the name of this PCC rule as value of a Charging-Rule-Name AVP within a Charging-Rule-Remove AVP.
     
  • If, for certain accesses, the PCRF performs the bearer binding, the PCRF may move previously installed or activated PCC rules from one IP CAN bearer to another IP CAN bearer. See annex A in TS 29.212 for further details.

     References :


    3GPP TS 23.203: "Policy Control and Charging architecture".

    3GPP TS 29.213: "Policy and charging control signalling flows and Quality of Service (QoS) parameter mapping"

    3GPP TS 29.212: Policy and Charging Control (PCC);

No comments:

Post a Comment