Professional Documents
Culture Documents
2012/2/10
Outline
3G charging logical architecture Charging functions CS domain PS domain IM Subsystem Service domain (MMS service)
2
2012/2/10
2012/2/10
Create CDR
HLR GMSC Server VMSC Server CGF SCF (not included in current spec.) MMS Relay Server
4
2012/2/10
Service Domain
MMS Relay Server
PSTN
Gi
Gp
CS Domain
Mc
PS Domain
CDR
CAP
HLR
D
CAP
Ga
Gr
Gn
CGF CGF
CDR CDR
Billing System
Ga
CDR
gprs SSF
SGSN
2012/2/10
IuCS
Gb
IuPS
Charging functions
Charging Gateway Function (CGF) within the Packet-Switched domain, provides a mechanism to transfer charging information from the SGSN and GGSN nodes to the network operators chosen Billing Systems Charging Collection Function (CCF) main functionalities for IMS are in principle equivalent to the Charging Gateway Functions (CGF) that are used in the PS domain Session Charging Function (SCF) is responsible for Session Charging including the session control such as e.g. session termination. Bearer Charging Function (BCF) performs the Bearer Charging. Event Charging Function (ECF) performs event-based charging (content charging).
2012/2/10 6
ECF
Content Provider Charging Function (CPCF) manages the account that is maintained for the content provider. Upon receipt of a charging request from the AS/MRFC, the CPCF processes the request and relays it to the SCCF. Subscriber Content Charging Function (SCCF) handles content charging requests that are made when the subscriber accesses the content. Upon such a content charging request, the SCCF may for example request the Correlation Function to check or to debit the subscriber's account. Content charging requests are received from the Content Provider Charging Function (CPCF)
7
2012/2/10
Home(B) = Visited(B)
AS AS
BS
MRFC MRFC
Bi
S--CSCF S CSCF S--CSCF S CSCF II-CSCF -CSCF P--CSCF P CSCF BGCF BGCF MGCF BGCF
Bi Rf CCF
II-CSCF -CSCF P--CSCF P CSCF BGCF BGCF
CCF
Rf
Bp
CGF
CGF
Bp
Ga
MGCF BGCF
Ga
2012/2/10
Rb
Rb
ISC
S-CSCF S-CSCF
Re
Rating Function
Re Rc Rc
Charging information flow
Rating Function
Re
Re
AS(s) AS(s)
Ro
Event Charging Function
Ro
Event Charging Function
AS(s) AS(s)
MRFC MRFC
Ro
SCCF CPCF
SCCF CPCF
Ro
MRFC MRFC
SGSN SGSN
CAP
CAP
SGSN SGSN
2012/2/10
Circuit-Switched Domain
Specified in TS 32.205
Charging Principles
Provide CDRs Inter-PLMN accounting Visitors from other PLMN Roaming Fixed network operator and other service providers Service Information
10
2012/2/10
Charging scenarios
Mobile to Land (outgoing) call Incoming call to a roaming subscriber Delivery of a mobile terminated short message Incoming call handled by CAMEL without redirection Etc.
2012/2/10 11
HPLMN
GMSC
HLR
1 A
MSC-A
Billing System
2012/2/10
A B
12
ISDN/PSTN
1
3 4
HPLMN
VPLMN
GMSC
HLR
A A
GMSC
Billing System
B
GMSC:incoming gateway record HLR interrogation CDR GMSC:outgoing gateway record GMSC:roaming record inculde IMSI of B MSC-B:MTC record for the call to B TAP record
Billing System
MSC-B
A 4
B B
2012/2/10
13
SMSGMSC
3
HLR
A A
MSC-B
Billing System
2012/2/10 B
14
ISDN/PSTN
1
GSMC: Incoming gateway record, Terminating CAMEL MSC:MTC record HLR:HLR interrogation record
gsmSCF
GMSC/
gsmSSF
HLR
4
MSC-B/
gsmSSF
Billing System
B
2012/2/10
T-CSI(A-B)
(2)Interrogate HLR, fetch the T-CSI (3.1)GMSC request gsmSSF to pass CAMEL service key to gsmSCF to indicate which service logic it should apply (3.2)gsmSCF interrogate HLR for subscriber information (4)GMSC interrogate the HLR to get current location
15
Packet-Switched Domain
2012/2/10
16
Charging Principles
Charging Information
Usage of the radio interface, usage duration and etc. SGSN provide an S-SMO-CDR, S-SMT-CDR
S-CDR,G-CDR,M-CDR,S-SMO-CDR,S-SMT-CDR
2012/2/10
17
Data volume limit, time, max number of charging conditions changes Qos Change, Tariff Time Change, CDR closure Mobility Change
2012/2/10
18
CDR generation
Charging Data in the SGSN (S-CDR); Charging Data in the GGSN (G-CDR); Mobile Station Mobility Management Data in SGSN (M-CDR); SMS Mobile Originated Data in SGSN (S-SMO-CDR); SMS Mobile Terminated Data in SGSN (S-SMT-CDR); Mobile Originated location request in SGSN (LCSMO-CDR); etc.
2012/2/10 19
Charging scenarios
Mobile to PDN Context Mobile to Mobile Context PDN to Mobile Context Mobile to PDN Context while roaming, GGSN in HPLMN
2012/2/10
20
GGSN 1 SGSN
A CGF B BS
HPLMN
2012/2/10 21
PDN
1 1 GGSN A CGF B BS C BG
1 BG 1 SGSN A CGF B A BS
HPLMN
2012/2/10
VPLMN
22
IMS Subsystem
2012/2/10
23
Introduction
Offline Charging
IMS network elements report accounting information CCF construct and format CDRs AS and MRFC report accounting information ECF uses charging event to support OCS
24
Online Charging
2012/2/10
Home(A) = Visited(A)
BS
AS AS
BS Bi
Rf
Bi CCF
Rf
CCF
Bp
CGF
P--CSCF P CSCF Ga BGCF BGCF P--CSCF P CSCF BGCF BGCF
CGF
Bp
Ga
2012/2/10
25
Home(A) + Visited(A)
Home(B) + Visited(B)
Rb
Rb
Re
Rating Function
Re Rc Rc
Charging information flow
Rating Function
Re
Re
AS(s) AS(s)
Ro
Event Charging Function
Ro
Event Charging Function
AS(s) AS(s)
MRFC MRFC
Ro
SCCF CPCF
SCCF CPCF
Ro
MRFC MRFC
SGSN SGSN
CAP
CAP
SGSN SGSN
Offline Charging
Message Flow
Reception of SIP error messages CCF Connection Failure No Reply from CCF Duplicate Detection CCF Detected Failure 2012/2/10
27
2. 200 OK (Invite) Service Control 2. 200 OK (Invite) 2. 200 OK (Invite) 3. Accounting Request [Start] 5. Accounting Request [Start] Open a P-CSCF CDR Open a S-CSCF CDR
6. Accounting Answer
4. Accounting Answer
2012/2/10
28
Home Network CCF (home) I-CSCF 1. INVITE Cx Query with the HSS 1. INVITE 2. Accounting Request [Event] Create I-CSCF CDR 3. Accounting Answer Service Control 1. INVITE
1. INVITE More SIP signalling 4. 200 OK 4. 200 OK 5. Accounting Request [Start] 4. 200 OK 7. Accounting Request [Start] Open P-CSCF CDR Open S-CSCF CDR 6. Accounting Answer 8. Accounting Answer 4. 200 OK
2012/2/10
29
Visited Network UE P-CSCF CCF (visited) SIP Session ongoing 1. INVITE/ UPDATE 1. INVITE/ UPDATE S-CSCF
More SIP signalling 2. 200 OK (Invite/Update) Service Control 2. 200 OK (Invite/Update) 2. 200 OK (Invite/Update) 3. Accounting Request [Interim] 5. Accounting Request [Interim]
6. Accounting Answer
4. Accounting Answer
2012/2/10
Media Modification
30
Close the P-CSCF CDR 4. Accounting Request [Stop] 3. Accounting Answer Close the S-CSCF CDR
5. Accounting Answer
6. 200 OK 6. 200 OK
6. 200 OK
2012/2/10
Session Release
31
10. 200 OK
2012/2/10
32
S-CSCF
CCF
Open an AS CDR 4. Accounting Answer Voice mail session (playing announcements, etc.) When voice mail ends, tearing down session
2012/2/10
AS as Mail Server
33
On-line charging
2012/2/10
34
Online Charging(1/3)
Accounting-Record-Type EVENT_RECORD Message Flow Reception of SIP error messages Debit Units Operation Failure Duplicate Detection
35
2012/2/10
AS / MRFC
ECF
1. Service Request
3. Timer Tx
6. Service Delivery
2012/2/10
36
Online Charging(2/3)
Accounting-Record-Type START/INTERIM/STOP_RECORD Message Flow Reception of SIP error messages Reserve Units and Debit Units Operation Failure Duplicate Detection
37
2012/2/10
AS / MRFC
ECF
1. Service Request
Reserve Units Operation 2. ACR (START_RECORD, Reserve Units Req.) 3. Perform Event Charging Control 4. ACA (START_RECORD, Reserve Units Res.)
5. Service Delivery
6. ACR (INTERIM_RECORD, Debit units+Reserve units Req.) 7. Perform Event Charging Control 8. ACA (INTERIM_RECORD, Debit units+Reserve units Req.)
9. Service Delivery
2012/2/10
38
Online Charging(3/3)
2012/2/10
39
AS/MRFC
1. ACR (START_Record, Reserve Units Req.) 2. ACA (START_Record, Reserve Units Res.) {Tariff Switch Time, Granted Service Unit} Tariff Switch Timer Unit Value (before Tariff Switch)
ECF
3. Tariff Change
2012/2/10
Unit Value (before Tariff Switch) 4. ACR (STOP_Record, Debit Units Req.) {Used Service Unit (unit value, unit value after tariff switch), time of tariff change} 5. ACA (STOP_Record, Debit Units Res.)
40
Basic principles
Unit determination refers to the calculation of the number of non-monetary units (service units, data volume, time and events) that shall be assigned prior to starting service delivery. Rating refers to the calculation of a price out of the nonmonetary units calculated by the unit determination function. Both can be implemented centralized, i.e. on the ECF, or decentralized, that is, on the AS/MRFC. Two cases for online event charging can be distinguished: immediate event charging and event charging with unit reservation.
2012/2/10 41
immediate event charging, granting units to the AS/MRFC is performed in a single operation that also includes the deduction of the corresponding monetary units from the subscriber's account. event charging with unit reservation includes also the process of requesting, reserving and possibly returning units. The deduction of the corresponding monetary units then occurs upon conclusion of the event charging transaction
2012/2/10 42
Basic Operations
"Debit Units Request"; sent from AS/MRFC ECF After receiving a service request from the subscriber, the AS/MRFC sends a Debit Units Request to the ECF. The AS/MRFC may either specify a service identifier (centralised unit determination) or the number of units requested (decentralised unit determination) "Debit Units Response"; sent from ECF AS/MRFC The ECF replies with a Debit Units Response, which informs the AS/MRFC of the number of units granted as a result of the Debit Units Request "Reserve Units Request"; sent from AS/MRFC ECF Request to reserve a number of units for the service to be provided by an AS/MRFC. "Reserve Units Response"; sent from ECF AS/MRFC Response from the ECF which informs the AS/MRFC of the number of units that were reserved as a result of the "Reserve Units Request".
2012/2/10 43
2012/2/10
44
UE-A
AS/MRFC
(1)DC
7. Content/Service Delivery
2012/2/10
45
UE-A
AS/MRFC
(2)CC
3. Units Determination
4. Rating Control
5. Account Control
6. Debit Units Response (Non-monetary Units)
7. Content/Service Delivery
2012/2/10
46
UE-A
AS/MRFC
(3)DD
3. Rating Control
4. Debit Units Request(Monetary Units)
5. Account Control
6. Debit Units Response(Monetary Units)
7. Content/Service Delivery
2012/2/10
47
2012/2/10
48
UE-A
AS/MRFC
(1)DC
2. Units Determination
9. Content/Service Delivery
2012/2/10
49
UEa
AS/MRFC
(2)CC
2012/2/10
50
UEa
(3)DD
AS/MRFC
8. Budget Control
9. Content/Service Delivery
2012/2/10
51
Usage of the MMS resources Storage duration Usage of the general Packet-Switched domain resources Etc.
Charging scenarios
52
2012/2/10
Charging scenarios
Originator and Recipient MMS Relay Server are the same Originator and Recipient MMS Relay Server are not the same MMBox management MMS VAS Application
2012/2/10
53
Originator and Recipient MMS Relay Server are not the same
Originator MMS UA Originator MMS Relay/ Server Recipient MMS Relay/ Server Recipient MMS UA
MM1_submit.REQ MM1_submit.RES
A1
MM4_forward.REQ
A2 B1
MM4_forward.RES
A3 B2
B3
MM1_retrieve.REQ MM1_retrieve.RES
B4
B5
MM1_acknowledge ment.REQ
A4
MM4_delivery_report.REQ MM4_delivery_report.RES
B6 B7
MM1_delivery_ report.REQ
A5 B8
MM1_read_reply_ recipient.REQ
A6
MM4_read_reply_report.REQ MM4_read_reply_report.RES
B9 B10
2012/2/10
MM1_read_reply_ originator.REQ
A7
54
MM7_deliver. RES
MM7_delivery_report. RES
5
2012/2/10
55