G-CDR

GGSN (PDP context) generated - Charging Data Record

Management
Introduced in Rel-6
A detailed log record generated by the Gateway GPRS Support Node (GGSN) or its 5G equivalent (UPF/SMF) for a Packet Data Protocol (PDP) context/session. It contains usage information (data volume, duration) for billing, accounting, and network analysis.

Description

A GGSN-generated Charging Data Record (G-CDR) is a fundamental data structure in 3GPP charging systems, specifically for packet-switched services in GPRS, UMTS, and the evolved packet core. It is a formatted record that contains a comprehensive set of information related to a user's data session, known as a Packet Data Protocol (PDP) context. The GGSN (or, in 5G, the combined charging functions of the Session Management Function (SMF) and User Plane Function (UPF)) acts as the Charging Trigger Function (CTF). It detects charging-relevant events, such as session establishment, modification, and termination, and collects relevant information to construct the CDR.

The G-CDR includes numerous fields that capture the identity of the subscriber (e.g., IMSI, MSISDN), the network elements involved (GGSN IP address, SGSN address), session details (PDP context identifier, PDP type like IPv4), service information (Access Point Name - APN), and most critically, the usage data. This usage data comprises the total volume of data transferred in the uplink and downlink directions, the session duration (start and stop times), and potentially QoS parameters associated with the session. The record is generated at the end of a charging container closure, which can be triggered by session termination, a volume limit, a time limit, or other administrative triggers.

Once generated, the G-CDR is transferred via the Ga interface (using protocols like GTP' or Diameter) to the Charging Data Function (CDF) or directly to a billing system. The role of the G-CDR is pivotal for offline charging (post-paid billing). It provides the raw, auditable data from which a subscriber's bill is calculated. Beyond billing, G-CDRs are also used for accounting (settlements between operators), business intelligence, traffic analysis, and network planning. The specification of its fields and transfer procedures is meticulously detailed in 3GPP TS 32.298 and related specifications to ensure interoperability between network equipment and billing systems from different vendors.

Purpose & Motivation

The G-CDR exists to enable accurate, reliable, and standardized billing for packet data services in mobile networks. Before the era of GPRS and mobile data, charging was primarily based on voice call duration. The shift to packet-switched services introduced a new paradigm where usage was measured in data volume (bytes) rather than time, necessitating a new charging model and corresponding data records. The G-CDR was created to capture this volumetric usage at the network's gateway to the internet (the GGSN).

It solves the problem of correlating vast amounts of IP data traffic to individual subscribers and their service subscriptions. Without a standardized CDR format, each vendor's GGSN would produce proprietary logs, making interoperability with billing systems impossible and hindering multi-vendor network deployments. The G-CDR provides a common "language" for usage reporting. It also addresses the need for detailed records that support complex tariff plans, such as tiered data buckets, time-of-day pricing, and service-differentiated charging (e.g., charging social media data differently from video streaming).

The historical context begins with its introduction in Release 6 alongside the mature definition of the UMTS packet core. Its evolution through subsequent releases reflects the increasing complexity of services (e.g., IMS, QoS differentiation) and the transition to new core network architectures (EPC, 5GC). The G-CDR concept has been adapted but remains conceptually central, ensuring backward compatibility and a stable foundation for revenue assurance as network technology advances.

Key Features

  • Records data usage (uplink/downlink byte counts) per PDP context/session
  • Contains subscriber identifiers (IMSI, MSISDN) and session identifiers
  • Includes service information such as the Access Point Name (APN)
  • Captures session timestamps for duration-based charging
  • Transferred via standardized Ga interface protocols (GTP', Diameter)
  • Serves as the primary data source for offline (post-paid) billing

Evolution Across Releases

Rel-6 Initial

Initial comprehensive specification of the G-CDR for UMTS/GPRS networks. Defined the core record structure generated by the GGSN, including fields for subscriber identity, PDP context details, data volume counts, and session timestamps, to support offline charging for packet data services.

Enhanced G-CDR to support new charging scenarios, including integration with the IP Multimedia Subsystem (IMS) and support for more detailed QoS information reflecting the introduction of enhanced service flows.

Adaptations for the Evolved Packet System (EPS), aligning G-CDR concepts with the new architecture involving the PDN Gateway (PGW) and Serving Gateway (SGW). Introduced fields related to EPS bearer contexts and evolved QoS parameters.

Conceptual evolution for the 5G System, where the charging record analogous to the G-CDR is generated by the SMF/UPF charging functions. The 5G Charging Data Record (5G-CDR) inherits the principles of the G-CDR but is adapted for PDU Sessions, network slicing, and service-based interfaces.

Defining Specifications

SpecificationTitle
TS 23.125 3GPP TS 23.125
TS 32.272 3GPP TR 32.272
TS 32.278 3GPP TR 32.278