Documente Academic
Documente Profesional
Documente Cultură
www.huawei.com
TSD Core Network Introduction Dept Yu Chunhui August 20, 2009 Yu_chunhui@huawei.com
Objectives
Familiarize yourself with the architecture of the charging data record (CDR).
Different from the offline/online charging, the content-based charging is from another dimension and thus it is not described in this document.
Page1
Contents
1. Overview of GGSN Charging
HLR
OCS(IN/RE) CGF
PCRF Rx
IMS
AF
Gr
Ga Gz
Gy
Gx
GPRS SGSN
Gn/Gp GGSN
Gi Firewall
PDN
Portal
UMTS AAA
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.
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page3
Charging Architecture
CGF: The charging gateway functionality (CGF) processes the offline charging. OCS: The online charging system (OCS) processes the online charging. AAA: The AAA server processes the AAA charging.
CGF OCS AAA Server
SPU
SRU
CDR Processing Radius Client CDR Storage
Note:
The content-based charging is processed in the User Management module.
User Profile PDP Context Management
DCCA Client
Offline Charging
Online Charging
Hard Disk
It is in different
dimensions compared with online/offline charging.
Data Flow
User Management
Charging
Packets Forwarding and Service Control
GGSN
Page4
CG
Charging
Offline Charging
Radius Accounting
Page5
Charging Classify
Offline Charging
Normal Billing
Online Charging
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.
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page6
online
enable
offline
disable
charge-method
Based on APN
online
enable
offline
disable online enable disable offline disable enable
N
Priority Low Offline charging: No CDRs Online charging: No interaction with the OCS
Based on CC
Page7
Contents
1. Overview of GGSN Charging
Billing System
Active/standby CGs CDR Auditing Server CG F AAA
FTP
GTP '
Gn
Radius
Gi
PDN
SGSN
GGSN
Page9
CG Configuration
CG0
CG1
retransmit 3 timeout 3
mechanism
interface
Gaif3/0/0 Gaif3/1/0
workmod
NA NA
description
Ga_Logical_Int erface Ga_Logical_Int erface
vpn-instance
tmd_ga tmd_ga
ip address
10.241.225.81/32 10.241.225.82/32
1. Logical address
and physical
address of the Ga interface on the GGSN
eth-trunk 8
backup
Ga_trunk
tmd_ga
10.241.226.193/28
The table lists only the key contents. The actual commands and parameters may be different.
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page10
R98
R99
R6
10.100.3.20
r7
R7
If the APN is not configured with CDR-version, adopt the global configuration.
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page11
CG Redirection Procedure
Page12
Contents
1. Overview of GGSN Charging
Global
CDR and container generation conditions CDR generation conditions are slightly different.
APN
CDR and container generation conditions
cdr-trigger-binding
rat-change sgsn-plmn-id-change
container-trigger-binding
rat-change sgsn-plmn-id-change
sgsn-change
ms-time-zone-change max-cond-change
sgsn-change
rai-change qos-change tariff-switch-change uli-change
Page14
Charge-general-property (CDR generation field value) Configured based on the CDR version
charge-conditionchange-threshold
volumethreshold
timethreshold
sgsn-changethreshold
3
sgsnchangethreshold
1024
timerecordthresh sequenceold number
60
mbmsvolumethreshold
3
mbmstimethreshold
volumethreshold
charge-conditionchange-threshold
gsnnode-id
offlineqct
10
GGNF FM11
30
1024
60
APN
charge-threshold
[apn] bypassall .huawei timethreshold 10
Page15
This command can be executed for MSISDN, IMSI, SPU slot, and all GGSNs.00
Page16
Contents
1. Overview of GGSN Charging
HLR
Gr
If the SGSN charging characteristics are not used or the SGSN does not have the charging characteristics, use the GGSN charging characteristics.
types, including normal charging, hot billing, prepaid, and flat-billing. CDRs can be generated in different modes for different charging types. Users' charging characteristics comply with characteristics configured on the SGSN or the
GGSN.
The four charging characteristics values of the GGSN are categorized into two
Gn/Gp
SGSN GGSN
Charging Characteristics
Prepaid
Postpaid
Flat rate
Page18
Charging-Characteristic-Selection-mode SGSN supplied SGSN not supplied SGSN supplied prepaid normal hotbilling
Home Roam Visit In actual configuration, this parameter is called chargecharacteristic-name, which might be confused with the charging characteristic value. The charging characteristic values are prepaid, normal, hotbilling, and flat-billing.
CC-value
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.
Page19
{chargecharacteristic} Free-charging
Priority High
Apn
[apn] wap
chargecharacteristic Free-charging
Free-charging
Local Configuration
Charging-Characteristic-Selection-mode SGSN supplied SGSN not supplied SGSN supplied prepaid normal hotbilling
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.
Page20
Contents
1. Overview of GGSN Charging
Tariff Description
Tariff refers to the configuration of tariff change time. You can set multiple tariff change time template in advance.
Festival
charge-type prepaid
year NA
month 10
day 1
global
Tariff group
Friend-user massmarket
Page22
Tariff-Group Applications
user-profile tariff-group Friend-user
Userprofile
up1
Priority High
Tariff-group
[apn]
tariff-group global
Apn
wap
tariff-group-name
Friend-user massmarket
charge-type
prepaid global
tariff-type
Festival workday
start-time
01:00 0:00
end-time
07:00 0:00
Page23
Contents
1. Overview of GGSN Charging
Page25
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
Page26
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.
the Radio Acces Technology (RAT) type Partial record sequence number. IMEISV of the ME, if available. PDP address, i.e. IPv4 or IPv6 This field contains the User Location Information of the MS as defined in TS 29.060, if provided by SGSN.
Page27
Contents
1. Overview of GGSN Charging
Check whether the APN of the user is configured with the RADIUS server group
Y
mm 1813
NA
N Perform charging interaction with the AAA server No charging interaction with the AAA server
Page29
Access-Request Access-Accept Create PDP Context Response Activate PDP Context Accept Accounting-Request (start) Accounting-Response (start)
Session
Delete PDP Context Request Accounting-Request (stop) Delete PDP Context Response Accounting-Response (stop)
Page30
radius-server acct-3gppvsa
...... enable
[radius-server group] mm
3gpp enable
charging-id 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 acct-onoffsig
radius-server group mm
optional-account-message enable
timeout 3
retransmit 3
waittime 9
active disable
3. Configure the AAA charging private extended attribute of the RADIUS server group.
radius-server acct-attribute
imsi disable charging-id disable ...... disable
radius-server group mm
calling-station-id enable
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.
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved. Page31
Contents
1. Overview of GGSN Charging
apn
internet
time-quota-mechanism
enable
type
ctp
bti
10
Page33
T1
T2
7 Minutes 5 Minutes 1.5
T3
4.5 Minutes 6 Minutes
T4
T5
10 Minutes
T6
T7
T8
40K
BTI1
40K
BTI2 Envelope 1
15 K
5 K idle
30K
BTI1 Envelope 2
1 0 K
BTI3
BTI4
20 K
BTI1
40K
BTI2
40K
5K
35K
BTI5
idle
1 0 K BTI1 Envelope2
BTI6
BTI7
The specific
GCDR 1: Duration = 7m LoTVD =100K LoSD = {} Reason = volume limit GCDR 2: Duration = 6.5m LoTVD =100K LoSD = {} Reason = volume limit 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
envelop reporting content is carried in the next CDR after the envelop is generated.
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.
Page34
T1 2KB 10KB
T2
T3 3KB
T4
T5 3.1KB 3.2KB
T6
GCDR5 Duration=8m Lotvd=3.2kB LoSd={rg1=6.3kB,T5,T6} Reason=pdp release GCDR4 Duration=10m Lotvd=3.1kB LoSd={rg1=3k,T3,T4} Reason=time limited
The GCDR generation is based on time only. PM is BTI. Some carriers prefer this name.
Copyright 2008 Huawei Technologies Co., Ltd. All rights reserved.
Page35
Contents
1. Overview of GGSN Charging
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 are stored in CDR audit files, which provide reliable data for tracing faults.
HUAWEI Confidential
CDR Audit
GGS SRU N
Hard Disk FTP Client for GCDR File Transfer
GCDR file Download and upload
FTP Server
CDR Auditing
CDR Auditing
SPU
Charging Processing
Charging Gateway
CDR Proces s
HUAWEI Confidential
Thank you
www.huawei.com