8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
1/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved.
www.huawei.com
GGSN9811V900R007C02Offline
Charging
TSD Core Network Introduction Dept Yu ChunhuiAugust 20, 2009
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
2/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page1
Objectives
Upon completion of this course, you will be able to:
Familiarize yourself with the architecture of the charging data record
(CDR).
Familiarize yourself with the management configuration related to offline
charging.
Different from the offline/online charging, the content-based charging is from
another dimension and thus it is not described in this document.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
3/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page2
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
4/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page3
Charging Network Summary
PDN
UMTS
GGSNSGSN
PCRF
GPRS Gn/GpGn/Gp GiGi
GxGxGyGyGzGa
CGF
Billing Center
AF
OCS(IN/RE)
RxRx
GrGr
HLR
AAAAAAAAAAAA
Firewall
Portal
SPR
IMS
GGSN charging consists of offline charging, online charging, and authentication, authorization
and accounting (AAA) charging.
Content-based charging can be performed on both online charging and offline charging.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
5/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page4
Charging Architecture
Charging Data Collection
CDR
ProcessingDCCA Client
Radius
ClientPDP Context
Management
User Profile
CGF OCS AAA Server
Hard
Disk
CDR
Storage
SPU SRU
GGSN
Charging
Packets Forwarding
and Service Control
User
ManagementCharging Processing and Control
Offline Charging Online Charging
Data
Flow
CGF: The charging gateway functionality (CGF)
processes the offline charging.
OCS: The online charging system (OCS) processesthe online charging.
AAA: The AAA server processes the AAA charging.
Note:
The content-based
charging is processed
in the User
Management module.
It is in different
dimensions compared
with online/offline
charging.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
6/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page5
Charging Configuration Architecture
Charging
Online
Charging
Offline
Charging
OCS host
CGGCDR
Version
GCDR
Trigger
Container
Trigger
GCDR Fields
Switch
CC and CC-
Selection-ModeTariff Time
GCDR
Threshold
GCDR
Audit
CCR
Threshold
Return CodeBehavior
CCFHBehavior
Initial RG
Failback
Total/Delta
report
CCR
Trigger
CCR AVP
Switch
Radius
AccountingRadius ACCT
Server
Interim Accounting
Trigger
Interim Accounting
Threshold
Radius ACCT
AVP Switch
ACCT On/Off
Control
Radius ACCT
Buffer
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
7/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page6
Charging Classify
Offline Charging Online Charging
Normal Billing Offline Charging at PDP
level.
Online Charging at PDP
level.
Content Based Billing Offline Charging atservice level.
Online Charging at servicelevel.
Note:
AAA charging does not support content-based charging and supports only
traffic report.Charging by the Internet service provider (ISP) is implemented through the
interworking between the GGSN9811 and the AAA server on the external
network. ISPs vary according to the accessed PDNs and therefore charging
should be based on APNs.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
8/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page7
Charging Modes Selection (Offline/Online)Activate users
Check the
offline/online charging
function based on the
roaming attributes.
visit home roam
both both online
Charge-control
online offlineenable disable
charge-characteristic online offline
prepaid enable disable
postpaid disable enable
Two CC values: prepaid and
postpaid. Postpaid is the
combination of normal, hot
billing, and flat-billing.
Based on user
profile
Based on APN
Based on CC
online offline
enable disable
YN
Priority High
Priority Low
charge-method
N
Offline charging: No CDRs
Online charging: No interaction with
the OCS
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
9/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page8
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
10/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page9
Offline Charging Overview
GGSN
AAACG
F
Billing System
PDN
GTP
'
GnGi
Radius
Subscriber DB
SGSN
CDR Auditing Server
FTP
Active/standby CGs
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
11/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page10
CG Configuration
ip grade cg-type destination-port
10.100.3.19 0 r7 3386
10.100.3.20 1 r7 3386
GGSN
Ga interface
interface workmod description vpn-instance ip address
Gaif3/0/0 NA
Ga_Logical_Int
erface tmd_ga 10.241.225.81/32
Gaif3/1/0 NA
Ga_Logical_Int
erface tmd_ga 10.241.225.82/32
eth-trunk 8 backup Ga_trunk tmd_ga 10.241.226.193/28
2. IP address and
protocol type of
the CG
1. Logical address
and physical
address of the Ga
interface on the
GGSN
The table lists only the key contents. The actual commands and parameters may be different.
CG0 CG1 retransmit timeout
3 3
3. CG resend
mechanism
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
12/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page11
G-CDR Version and CGF Selection
R98
R99
R4
R5
R6
R7
CDR Version CG
APN
Global
Priority High
Priority LowCG-ip grade cg-type
10.100.3.19 0 r7
10.100.3.20 1 r7
APN cg-type
internet.t r6
mms.t r5
The CDR version can be configured based on the
APN, which has higher priority than the CDR
version configured globally.
If the APN is not configured with CDR-version, adopt the global configuration.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
13/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page12
CG Redirection Procedure
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
14/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page13
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
15/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page14
G-CDR Trigger Mechanism (Triggering Condition)
Globalcdr-trigger container-trigger
CDR and container
generation conditions
rat-change
sgsn-plmn-id-change
sgsn-change
mbms-cdr-switch
ms-time-zone-change
max-cond-change
rat-change
sgsn-plmn-id-change
sgsn-change
rai-change
qos-change
tariff-switch-change
uli-change
APN cdr-trigger-binding container-trigger-binding
CDR and container
generation conditions
rat-change
sgsn-plmn-id-change
sgsn-changems-time-zone-change
max-cond-change
rat-change
sgsn-plmn-id-change
sgsn-changerai-change
qos-change
tariff-switch-change
uli-change
CDR generation
conditions are
slightly different.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
16/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page15
G-CDR Trigger Mechanism (Condition Field
Value)
Global
Charge-type-property (CDR generation field value)
Configured based on the charging characteristic value
Charge-general-property (CDR generation field value)
Configured based on the CDR version
volume-
threshold
charge-condition-
change-threshold
gsn-
node-id
sgsn-
change-
threshold
time-
thresh
old
record-
sequence-
number
mbms-
volume-
threshold
mbms-
time-
threshold
offline-
qct
0 10
GGNF
FM11 0 30 1 1024 60 0
charge-condition-
change-threshold
volume-
threshold
time-
threshold
sgsn-change-
threshold
3 1024 60 3
If this table is configured with data,
the priority takes effect based on this.
Otherwise, the priority takes effect
based on charge-general-property.
[apn]
time-
threshold
volume-
threshold
charge-condition-
change-threshold
sgsn-change-
threshold
bypassall
.huawei 10 0 10 0
APN
If the APN is configured with data,
the priority is the highest.
charge-threshold
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
17/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page16
Forcible CDR Generation
Force-generate-cdr
This command can be executed for MSISDN, IMSI, SPU slot, and all GGSNs.00
Using the force-generate-cdrcommand, you can enable the system to forcedly generate CDRs.
This command is used to test the charging system. During the test, if the thresholds for the
GGSN to generate CDRs are not reached and the condition for automatically generating CDRs
is not met, you can run the force-generate-cdr command to manually generate CDRs.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
18/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page17
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
19/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page18
Charging Characteristics Description
GGSNSGSN
SGSN getCC from HLR
Gn/Gp
GrGr
HLRIf the SGSN
chargingcharacteristics are
not used or theSGSN does not
have the chargingcharacteristics, usethe GGSN charging
characteristics.
Charging characteristics refer to users' charging
types, including normal charging, hot billing,
prepaid, and flat-billing. CDRs can be generatedin different modes for different charging types.
Users' charging characteristics comply with
characteristics configured on the SGSN or the
GGSN.
Postpaid
Prepaid
Postpaid
Prepaid
Hotbilling
Flatrate
The four charging characteristics values
of the GGSN are categorized into two
types, namely, prepaid and postpaid.
Charging
Characteristics
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
20/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page19
Charging Characteristics Description
LocalConfiguration
Charging-Characteristic-Selection-mode
Home SGSN supplied prepaid
Roam SGSN not supplied normal
Visit SGSN supplied hotbilling
The GGSN supports three types of users, local users, roaming users, and visitors. Local users
are users who subscribe to the local PLMN, are not roaming to another PLMN, and are activated
on the local GGSN.
Roamers are users who subscribe to the local PLMN, roam to another PLMN, and are activated
on the local GGSN.
Visitors are users who subscribe to another PLMN, roam to the local PLMN, and are activated
on the local GGSN.
Local users and roamers are called home users of the local PLMN.
CC configuration template. You can name it to "Free charging"
In actual configuration, this parameter is called charge-
characteristic-name, which might be confused with thecharging characteristic value. The charging characteristic
values are prepaid, normal, hotbilling, and flat-billing.
CC-value
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
21/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page20
Charging Characteristics Applications
CC-Name
Userprofile
Apn [apn]charge-
characteristic
wap Free-charging
[user-
profile]
{charge-
characteristic}
up1 Free-charging
Priority High
Local
ConfigurationCharging-Characteristic-Selection-mode
Home SGSN supplied prepaid
Roam SGSN not supplied normal
Visit SGSN supplied hotbilling
Free-charging
Note: When the user profile is matched
according to the charging characteristic value,
this configuration is invalid.
special-charging
......
Indicates that the charging characteristic of the local
user is based on the charging characteristic when the
user is activated. If the charging characteristic is not
carried, set it to prepaid.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
22/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page21
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
23/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page22
Tariff DescriptionTariff refers to the
configuration of tariff change
time. You can set multiple tariff
change time template in
advance.
Tariff group
charge-type tariff-type start-time end-time
prepaid Festival 01:00 07:00
global workday 0:00 0:00
workday
weekend
Global
Hotbilling
prepaid
Normal
charge-type year month day
prepaid NA 10 1
Festival
charge-type day-of-week tariff-type
global Monday workday
global Tuesday workday
global Wednesday workdayglobal Thursday workday
global Friday workday
global Saturday workday
global sunday workday
Step1: Set the festivals
Step2: Set workdays and weekends.
Set charge type for three of
charging characteristics and
plus a global configuration.
Step3: Set the tariff change of acharge type.
tariff-group-name
Friend-user
massmarket
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
24/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page23
Tariff-Group Applications
Tariff-group
Userprofile
Apn[apn] tariff-group
wap global
user-profile tariff-group
up1 Friend-userPriority High
charge-type tariff-type start-time end-time
prepaid Festival 01:00 07:00
global workday 0:00 0:00
tariff-group-name
Friend-user
massmarket
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
25/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page24
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
26/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page25
G-CDR Parameter Management
list-of-service-data
network-initiated-pdp-context
served-imeisv
served-pdp-address
dynamic-address-flag
record-sequence-number
user-location-information
ims-signalling-contextexternal-charging-identifier
ps-furnish-charging-information
rat-type
ms-time-zone
The GGSN9811 supports customized
CDR formats. Thus, operators can setthe 23 optional fields of CDRs based on
actual requirements. The default values
of all optional fields are enable.
APN network-identifier
APN Selection Mode
Charging characteristic selection mode
Whether diagnosis information is carried
Whether container ID is carried
Local Record Sequence Number
Served MSISDN
Node ID
PDP context type
SGSN PLMN flag
recordExtensions field
For details, see 3GPP TS 23.060, Stage 2.
and 3GPP TS 29.061.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
27/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page26
G-CDR Format Definition
Item Detail
LocalRecordSequenceNumber Consecutive record number created by this node. The number is allocated sequentially
including all CDR types.
MSISDN The primary MSISDN of the subscriber.
NodeID Name of the recording entity.
APNSelectionMode An index indicating how the APN was selected.
ChargeCharacteristicSelectionMode Holds information about how Charging Characteristics were selected.
SGSNPLMNIdentifier SGSN PLMN identifier (MCC and MNC) used during this record.
APNNetworkIdentifier The logical name of the connected access point to the external packet data network
(network identifier part of APN).
PDPType PDP type, i.e. IP, PPP, or IHOSS:OSP
Diagnostics A more detailed reason for the release of the connection.
ListofTrafficVolume A list of changes in charging conditions for this PDP context, each time stamped.
Charging conditions are used to categorise traffic volumes, such as per tariff period.
Initial and subsequently changed QoS and corresponding data values are listed.
RecordExtensions A set of network/ manufacturer specific extensions to the record.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
28/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page27
G-CDR Format Definition (Continued)
Item Detail
dynamic-address-flag Indicates whether served PDP address is dynamic, which is allocated during PDP context activation.
external-charging-id Holds a Charging Identifier and is present only if it is received from a non-GPRS, external network entity.
ims-signalling-context Included if the IM-CN Subsystem Signalling Flag is set, see PDP context is used for IMS signalling.
list-of-service-data A list of changes in charging conditions for all service data flows within this PDP context, each change is time
stamped. Charging conditions are used to categorize traffic volumes, such as per tariff period and per service data
flow. Initial and subsequently changed QoS and corresponding data values are also listed.
ms-time-zone This field contains the MS Time Zone the MS is currently located as defined in TS 29.060, if provided by
SGSN.
network-initiated-pdp-
context
Present if this is a network initiated PDP context.
ps-furnish-charging-
information
Online charging session specific information.
rat-type the Radio Acces Technology (RAT) type
record-sequence-number Partial record sequence number.
served-imeisv IMEISV of the ME, if available.
served-pdp-address PDP address, i.e. IPv4 or IPv6
user-location-information This field contains the User Location Information of the MS as defined in TS 29.060, if provided by SGSN.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
29/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page28
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
30/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page29
Charging Mode Selection (AAA)
Activate user
Radius server accounting
radius-server
group
ip-
address port vpn key
carbon-copy |
secondary
mm10.111.23.7 1813
tmd_mm
TMDH
N0206SC NA
Check whether the APN of
the user is
configured with the
RADIUS server group
No charging
interaction with
the AAA server
Perform charging
interaction with
the AAA server
Y
N
For details about the AAA charging procedure, see the
protocol signaling documents delivered with the GGSN
versions.
radius-server group retransmit timeout
mm 1 3
Set the AAA server
retransmission
mechanism
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
31/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page30
AAA Charging Procedure
MT SGSN GGSN
PDP Context Activate Request
Create PDP Context Request
AAAServer
Access-Request
Access-Accept
Activate PDP
Context Accept
User Data Session
Deactivate PDP Context Request
Delete PDPContext Response
Deactivate PDPContext Accept
PDN
Create PDPContext Response
Accounting-Request (start)
Accounting-Response (start)
Delete PDP Context Request
Accounting-Request (stop)
Accounting-Response (stop)
TE
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
32/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page31
AAA Charging Basic Information Element Control
radius-server acct-attribute
radius-server acct-3gppvsa
radius-server acct-onoffsig
1. Configure the AAA charging 3GPP private extended attribute of the
RADIUS server group.
[radius-server group] 3gpp charging-id ......
mm enable enable enable
2. Configure the attributes of the optional accounting messages of a RADIUS server
group. The attributes include whether the GGSN sends the Accounting Request ON and
Accounting Request OFF messages after restarting, expiration time of the messages,
number of retransmission times, waiting time, and whether a user is allowed to be
activated before a response is received.
radius-server group optional-account-message timeout retransmit waittime active
mm enable 3 3 9 disable
radius-server group calling-station-id imsi charging-id ......
mm enable disable disable disable
3. Configure the AAA charging private extended attribute of
the RADIUS server group.
Note:For AAA charging, if not special requirement, use the default value. If the customer has
special requirements, you must communicate with them about the parameters.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
33/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page32
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
E l R ti D i ti (Eff ti O l
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
34/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page33
Envelop Reporting Description (Effective Only
in Content-based Charging)
The envelope records continuous traffic volume in a period.
The traffic generation time spans multiple base time intervals (BTIs). The BTI is the basic unit for calculating the service
duration.
When there is data traffic for a service in a BTI, the service duration is recorded as one BTI. The traffic volume and the
duration are recorded in an envelope.
When there is no data traffic for a service in a BTI, the envelope corresponding to the service is closed and the traffic
volume and duration are no longer recorded. The traffic volume and duration that are already recorded are reported as one
envelope. At present, the following types of envelop reporting are supported. You can run time-quota-mechanism to
enable the APN envelop reporting.
CTP
DTP
Modified CTP
Envelope Reporting: The GGSN9811 supports the envelope reporting function to provide more detailed charging
information for the online/offline charging system based on the standard duration reporting. The detailed charging
information including start time, end time, and traffic volume of a service can be identified for operators to control
credit and charge the user appropriately.
Continuous time period (CTP) records in envelopes the duration of BTIs during which no traffic is available;
however, modified CTP does not.
Discrete time period (DTP) generates one envelope in one BTI.
apn time-quota-mechanism type bti
internet enable ctp 10
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
35/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page34
Envelope Reporting (Traffic-based)
Rating Group:RG 1 Rating Group:RG 2
40K 40K
40K40K20
K
15
K
5
K
35K1
0
K
idle
idle
1
0
K
30K
7 Minutes 4.5 Minutes 10 Minutes
GCDR 1:
Duration = 7m
LoTVD =100K
LoSD = {}
Reason = volume limit
5 Minutes 1.5
GCDR 3:
Duration = 20.5m
LoTVD = 90K
LoSD = { RG2 = 150K, T1, T4},
{ RG1 = 100K, T2, T3},
{ RG1 = 30K, T5, T7 },
{ RG2 = 10K, T6, T8 }
Reason = PDP release
6 Minutes
Scenario 1: GCDR generation with Volume limit = 100 Kbytes
Base-Time-Interval:
4 minutes
BTI1 BTI2 BTI3 BTI4
GCDR 2:
Duration = 6.5m
LoTVD =100K
LoSD = {}
Reason = volume limit
5K
BTI1
T1 T2 T3 T4 T7 T8T5 T6
Envelope 1 Envelope 2
Envelope1 Envelope2
BTI1 BTI3 BTI7 BTI1BTI2 BTI4 BTI5 BTI6
Rating group (RG) is described in content-based charging,
which refers to that a subscriber corresponds to two different
services and the services are recorded to different RGs.
The specific
envelop
reporting
content is
carried in the
next CDR after
the envelop is
generated.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
36/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page35
The GCDR generation is based on time only.
PM is BTI. Some carriers prefer this name.
Envelope Reporting (Time-based)
GCDR1
Duration=10m
Lotvd=2kB
LoSd={}
Reason=time limited
GCDR2
Duration=10m
Lotvd=10kBLoSd={}
Reason=time limited
GCDR3Duration=10m
Lotvd=3kB
LoSd={rg1=12k,T1,T2}
Reason=time limited
GCDR4
Duration=10m
Lotvd=3.1kB
LoSd={rg1=3k,T3,T4}
Reason=time limited
GCDR5
Duration=8m
Lotvd=3.2kB
LoSd={rg1=6.3kB,T5,T6}
Reason=pdp release
2KB 10KB 3KB 3.1KB 3.2KB
T1 T2 T3 T4 T5 T6
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
37/40
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page36
Contents
1. Overview of GGSN Charging
2. CG Server Configuration Management
3. CDR Triggering Management
4. Charging Characteristic Control Management
5. Tariff Switch Control Management
6. CDR Format Management
7. AAA Charging Management
8. Envelop Report Management
9. G-CDR Audit Function
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
38/40
HUAWEI TECHNOLOGIES Co., Ltd. HUAWEI Confidential
CDR Audit
The CDR audit function of the GGSN ensures that the CDRs can be traced. Each time the GGSN
generates a CDR, the GGSN generates an associated CDR audit record. The CDR audit records arestored in CDR audit files, which provide reliable data for tracing faults.
CDR audit record contains the following information:
CDR opening timestamp
Served IMSI
Served MSISDN
Charging ID
Local record sequence number
CDR Sequence Number
Duration
Rating Group
CDR corruption indication
The GGSN stores CDR audit
files in the specified directory of
the hard disk and periodicallysends them to the File Transfer
Protocol (FTP) server through
FTP or secure shell FTP (SFTP).
After a CDR audit file is sent to
the FTP server successfully, the
automatically deletes the CDR
audit file from the hard disk.
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
39/40
HUAWEI TECHNOLOGIES Co., Ltd. HUAWEI Confidential
CDR Audit
Hard Disk
LPU
FTP Server
for
CDR Auditing
Charging
Gateway
SPU
SRUGGSN
CDR
Proces
s
CDRAuditing
FTP
Client
CDR Auditing
CDR Auditing
Buffer
Charging Processing
FTP Client
for
GCDR File
Transfer
GCDR file
Download
and upload
FTP
Server
8/14/2019 OWD090706(Slide) GGSN9811 V900R007C02 Offline Charging Principle-20090820-B-V1.0
40/40
Thank youwww.huawei.com