Documente Academic
Documente Profesional
Documente Cultură
www.huawei.com
Foreword
GPRS principle is the basic part of the whole system and the later products learning. This slide will help us to understand the GPRS system networking and some important procedure.
Page2
References
3GPP protocol 23060 3GPP protocol 29060 3GPP protocol 24008
Page3
Objectives
Upon completion of this course, you will be able to:
Describe the GPRS networking structure Describe the GPRS mobility management procedure Describe the GPRS session management procedure
Page4
Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management
Page5
Page6
SS7
Gs Gd Ge Lg Gr Gf Gc
BSS BSS
Um Gb
FR
SGSN SGSN
ATM DDN
Gn
GGSN GGSN
PDN
Gi
TE TE
Gn
ISDN
GPRS Backbone
Ga
Ethernet.etc
UTRAN UTRAN
Um
Iu
ATM
SGSN SGSN
Ga
CG CG
BG BG
Gp
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page7
Page9
Page10
Charging
GGSN can generate, store, convert and send CDRs.
Page11
Page12
MS
Resolve the APN to a GGSN IP in the PDP active procedure Resolve the RAI to a SGSN IP in the inter-SGSN RAU procedure Resolve the RNCID to a SGSN IP in the relocation procedure (UMTS)
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page13
Page14
Typical Application
E-mail from mobile to fixed network
HLR
BTS/No deB
BSC/R NC
SGSN
GGSN Backbone Backbone 1 Access server ISP ISP 2 3 e-mail Mail server
MS
Page15
Typical Application
E-mail from fixed to mobile network
HLR
BTS/No deB
BSC/R NC
SGSN
GGSN Backbone Backbone 2 3 Access server ISP ISP 1 e-mail Mail server
MS
Page16
Summary
GPRS network provides data service to the mobile subscribers. GPRS network is composed of SGSN, GGSN and CG. BG and DNS provide special function during the data service.
Page17
Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management
Page18
Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management
Page19
Page20
Page21
GMM States
IDLE IDLE
GPRS Attach GPRS Detach GPRS Attach GPRS Detach or Cancel Location
READY
READY
PDU transmission
PDU reception
STANDBY
STANDBY
MM State Model of MS
Page22
PMM main procedures Attach RAU and periodic RAU Detach Service request SRNS relocation
Page23
PMM States
PM MD ETAC H ED PMMD ETAC H ED
P MM-IDLE
SM-A CTIVE or S M-ACT IV E or PS S ignalling INA CT IVE INAC TIV E Connection Establish
MS MM States
3G-SGSN MM States
Page24
Page26
Page27
Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management
Page28
Attach Procedure
Function
An MS/UE shall perform a GPRS Attach to the SGSN in order to obtain access to the GPRS services. If the MS/UE is connected via a GSM radio, it shall perform a GSM GPRS Attach procedure. If the MS/UE is connected via a UMTS radio access network, it shall perform a UMTS GPRS Attach procedure
Page29
Attach Procedure
(IMSI or PTMSI+RAI) (PTMSI) (IMSI) (Identity Type = IMSI) (IMSI)
Page30
Attach Procedure
Page31
Attach Procedure
Results after any attach procedure:
SGSN get subscriber data from HLR HLR recorded the MSs serving SGSN number SGSN and MS create MM context for the MS
Page32
MM Context
Field IMSI MM State P-TMSI P-TMSI Signature IMEI MSISDN Routeing Area Cell Identity Cell Identity Age Service Area Code Service Area Code Age VLR Number New SGSN Address Authentication Vectors Kc CKSN Ciphering algorithm CK IMSI is the main reference key. Mobility management state, IDLE, STANDBY, READY, PMM-DETACHED, PMM-IDLE, or PMM-CONNECTED. Packet Temporary Mobile Subscriber Identity. A signature used for identification checking purposes. International Mobile Equipment Identity The basic MSISDN of the MS. Current routeing area. Current cell in READY state, last known cell in STANDBY or IDLE state. Time elapsed since the last LLC PDU was received from the MS at the SGSN. Last known SAC when initial UE message was received or Location Reporting procedure was executed. Time elapsed since the last SAC was received at the 3G-SGSN. The VLR number of the MSC/VLR currently serving this MS. The IP address of the new SGSN where buffered and not sent N-PDUs should be forwarded to. Authentication and ciphering parameters (authentication triplets or quintets). Currently used A/Gb mode ciphering key. Ciphering key sequence number of Kc. Selected ciphering algorithm (GEA). Currently used Iu mode ciphering key. X X X X X X 1) Description A/Gb mode X X X X X X X X X X X X X X 2) 2) X X Iu mode X X X X X X X
Page33
MM Context
IK KSI MS Radio Access Capability MS Network Capability DRX Parameters Radio Priority SMS MNRG NGAF PPF Subscribed Charging Characteristics SMS Parameters Recovery GPRS-CSI ODB for PS parameters Currently used Iu mode integrity key. Key Set Identifier. MS radio access capabilities. MS network capabilities. Discontinuous reception parameters. The RLC/MAC radio priority level for uplink SMS transmission. Indicates whether activity from the MS shall be reported to the HLR. Indicates whether activity from the MS shall be reported to the MSC/VLR. Indicates whether paging for PS and CS services can be initiated. The charging characteristics for the MS, e.g. normal, prepaid, flat-rate, and/or hot billing subscription. SMS-related parameters, e.g. operator-determined barring. Indicates if HLR or VLR is performing database recovery. Optional GPRS CAMEL subscription information, see 3GPP TS 23.016 Indicates that the status of the operator determined barring for packet oriented services. 1) 1) X X X X X X X X X X X X X X X X
X X X X
X X X X
The information marked with a "1)" may be maintained if authentication is performed by the UMTS authentication procedure. The information marked with a "2)" may be maintained if authentication is performed by the GSM authentication procedure.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page34
Detach Procedure
Function
The GPRS Detach procedure allows an MS to inform the network that it does not want to access the SGSN-based services any longer The GPRS Detach procedure allows the network to inform an MS that it does not have access to the SGSN-based services any more
Page35
Detach Procedure
Results after any Detach procedure:
The SGSN shall not service the detached MS, unless reattach The MS is in idle or PMM-DETACHED state
Page36
Detach Types
The different types of detach are:
IMSI detach; GPRS detach; combined GPRS / IMSI detach (MS-initiated only).
The MS can make an IMSI detach in one of two ways depending on whether it is GPRS-attached or not:
A GPRS-attached MS sends a Detach Request message to the SGSN, indicating an IMSI detach. This can be made in combination with GPRS detach. An MS that is not GPRS-attached makes the IMSI detach as already defined in A/Gb mode or UMTS.
Page37
Page38
2. Delete PDP Context Request 2. Delete PDP Context Response C1 3. GPRS Detach Indication C2
4. Detach Accept
Page39
2. Detach Request
Page40
Purge Function
Function
The Purge function allows an SGSN to inform the HLR that it has deleted the MM and PDP contexts of a detached MS
Page41
Purge Function
SGSN 1. Purge MS 2. Purge MS Ack HLR
Page42
Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management
Page43
Authentication Function
Function
Permit the network to check whether the identity provided by the mobile station is acceptable or not; Provide parameters enabling the mobile station to calculate a new ciphering key ; UMTS and GSM Provide parameters enabling the mobile station to calculate a new UMTS integrity key;UMTS only Permit the mobile station to authenticate the network. UMTS only
Page44
Authentication Function
Authentication types:
GSM Authentication
Using triplet: RAND, SRES, Kc Using GPRS Encryption Algorithm (GEA)
UMTS Authentication
Using quintet: RAND, XRES, AUTN, CK, IK
AUTN: for UE authenticate network IK: for data integrity function
These procedures are used independent of the GSM or UTRAN RANs, i.e. each procedure may be executed in A/Gb mode or in Iu mode.
Page45
Authentication Function
MS BSS/UTRAN SGSN HLR/Auc
1a. Send Authentication Info 1b . Send Authentication Info ack 2a. Authentication and Ciphering Request 2b. Authentication and Ciphering Response
Page46
Authentication Function(3G)
MS VLR/SGSN HE/HLR Authentication data request Generate authentication vectors AV(1..n) Authentication data response AV(1..n) Store authentication vectors Distribution of authentication vectors from HE to SN
Select authentication vector AV(i) User authentication request RAND(i) || AUT N(i) Verify AUTN(i) Compute RES(i) User authentication response RES(i) Compare RES(i) and XRES(i) Authentication and key establishment
Page47
Identity Check
MS BSS/UTRAN SGSN EIR 1. Identity Request 1. Identity Response 2. Check IMEI 2. Check IMEI Ack
Function
Get IMSI from MS Check the IMEI
Page48
P-TMSI Reallocation
Function
The SGSN may reallocate the P-TMSI at any time The reallocation procedure can be performed by the P-TMSI Reallocation procedure The P-TMSI can be included in the Attach or Routeing Area Update procedures.
MS
BSS/UTRAN
SGSN
Page49
Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management
Page50
Location Management
Function
A mechanisms for cell and PLMN selection; A mechanism for the network to know the Routeing Area for MSs in STANDBY, PMM-IDLE, READY, and PMM-CONNECTED states; A mechanism for the 2G-SGSN to know the cell identity for MSs in READY state; A mechanism for the UTRAN to know the URA identity or cell identity for MSs in PMM-CONNECTED state; A mechanism for the UTRAN to indicate to an MS in RRC Connected mode when a Routeing Area Update procedure shall be performed by providing the RAI; A mechanism for the network to know the address of the serving RNC handling an MS in PMM-CONNECTED state. This mechanism is the serving RNC relocation procedure
Page51
HLR
SGSN
SGSN number
BSS Ready state: Current cell ID, RAI MS Standby state: last known Cell ID, RAI
Page52
HLR
SGSN
SGSN number
RNC PMM-connected state: RNC ID, RAI, SAI MS PMM-idle state: RAI, SAI
Page53
Page54
RAI 1
RAI 2
RAI 3
RAI 4
cell
MS
Intra SGSN-RAU
Page55
Page56
Page57
Page58
Page59
Summary
Attach, location management, security function and detach procedures are the main procedures in PS core network. SRNS relocation procedure and Service request procedure are newly added in UMTS PS core network.
Page60
Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management
Page61
Paging Summary
The MM state in SGSN and MS before paging:
PMM-IDLE STANDBY mode
Page62
Page63
READY
Page64
Page65
3G-SGSN PMM IDLE 3. Paging Type1 4. Service Request 4. Service Request PMM CONNECTED 1. PDP PDU or Downlink signaling
(PCH paging)
2. Paging
Page66
Summary
In UMTS, Paging type 1 for UE without RRC connection with RNC, Paging type 2 for UE with RRC connection with RNC. CS paging can be executed via PS.
Page67
Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management
Page68
Contents
4. Session Management
4.1 Basic concepts 4.2 PDP Context Activation Procedure 4.3 PDP Context Modification Procedure 4.4 PDP Context Deactivation Procedure
Page69
Session Management
Function
Establish and monitor a packet tunnel from MS to GGSN, and allocate system resource for the packet service.
Important Procedure
PDP Context Activation PDP Context Modification PDP Context Deactivation
Page70
PDP Context
PDP Context: Packet Data Protocol context
PDP context contains all the information needed to transfer user data between MS and GGSN. The context includes parameters such as RA, QoS (Quality of Service), Charging ID etc. PDP context exists in MS, SGSN, GGSN.
Page71
PDP Context
Each MM context contains zero or more of the following PDP contexts: Field Description PDP Context Identifier PDP State PDP Type PDP Address APN Subscribed APN in Use NSAPI TI TEID for Gn/Gp TEID for Iu GGSN Address in Use VPLMN Address Allowed QoS Profile Subscribed Index of the PDP context. Packet data protocol state, INACTIVE or ACTIVE. PDP type, e.g. PPP or IP. PDP address, e.g. an IP address. The APN received from the HLR. The APN currently used. This APN shall be composed of the APNNetwork Identifier and the APN Operator Identifier. Network layer Service Access Point Identifier. Transaction Identifier. Tunnel Endpoint Identifier for the Gn and Gp interfaces. Tunnel Endpoint Identifier for the Iu interface. The IP address of the GGSN currently used. Specifies whether the MS is allowed to use the APN in the domain of the HPLMN only, or additionally the APN in the domain of the VPLMN. The quality of service profile subscribed. A/Gb mode X X X X X X X X X X X X Iu mode X X X X X X X X X X X X X
Page72
PDP Context
QoS Profile Requested QoS Profile Negotiated Radio Priority Packet Flow Id Aggregate BSS QoS Profile Negotiated Send N-PDU Number Receive N-PDU Number GTP-SND GTP-SNU PDCP-SND PDCP-SNU Charging Id PDP Context Charging Characteristics RNC Address in Use The quality of service profile requested. The quality of service profile negotiated. The RLC/MAC radio priority level for uplink user data transmission. Packet flow identifier. The aggregate BSS quality of service profile negotiated for the packet flow that this PDP context belongs to. SNDCP sequence number of the next downlink N-PDU to be sent to the MS. SNDCP sequence number of the next uplink N-PDU expected from the MS. GTP-U sequence number of the next downlink N-PDU to be sent to the MS. GTP-U sequence number of the next uplink N-PDU to be sent to the GGSN. Sequence number of the next downlink in-sequence PDCP-PDU to be sent to the MS. Sequence number of the next uplink in-sequence PDCP-PDU expected from the MS. Charging identifier, identifies charging records generated by SGSN and GGSN. The charging characteristics of this PDP context, e.g. normal, prepaid, flat-rate, and/or hot billing. The IP address of the RNC currently used.
Page73
X X X X X X X X X
X X
X X X X
X X
X X X
MS Uu
SGSN Gn
MM context PDP context #1 . . PDP context #n
GGSN
Page74
PDP State
INACTIVE
PDP state
inactivecannot transmit data activecan transmit data
Activate PDP Context Deactivate PDP Context or MM state change to IDLE or PMM-DETACHED
ACTIVE
Page75
Page76
QoS
QoS: quality of service
It is a group of parameters that can define the network ability, such as the bit rate for downlink or uplink data transmission and the reliability class and so on It is end to end concept
Page77
APN
APN structure: APN-NI+APN-OI
huawei.com.cn.mnc<MNC>.mcc<MCC>.gprs
APN Network ID
APN Operator ID
Operator ID : fixed extension, must end with .gprs Network ID shall not end with .gprs
Page78
APN
IP1 GGSN1
APN1
MS
APN
SGSN
GGSN2
APN2
APN
GGSN IP GGSN3
APN3
DNS
Page79
APN
internet
General APN
GGSN
SGSN
SGSN
APN:CMNET MS Roaming MS
Page80
APN
Local APN
VPN tunnel
GGSN Province 1
GGSN Province 2
SGSN
SGSN
APN:test.xy MS Roaming
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page81
MS
APN
BTS /NodeB BSC /RNC GGSN (A) MS ISP ISP A A ISP ISP B B
APN-NI/ Or APN-NI+APN-OI
SGSN DNS
Backbone Backbone
GGSN (B)
APN-NI
DNS DNS
APN-NI+APN-OI GGSN IP address
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page82
Contents
4. Session Management
4.1 Basic concepts 4.2 PDP Context Activation Procedure 4.3 PDP Context Modification Procedure 4.4 PDP Context Deactivation Procedure
Page83
Activation Procedure
PDP context activation procedure
To establish a PDP context between the MS and the SGSN, the GGSN
Secondary PDP Context Activation Procedure Network-Requested PDP Context Activation Procedure
Page84
3. Create PDP Context Request 3. Create PDP Context Response 4. BSS Packet Flow Context Procedures C2 5. Activate PDP Context Accept
Page85
Charging ID allocation IP address 5. Update PDP Context Request 6. Update PDP Context Response C2
Page86
Handling in MS
MS start and send Active PDP context request to SGSN
Provide QoS parameter Provide a APN-NI Provide a static IP or null
Page87
Handling in SGSN
Check subscriber data APN selection
According to TS 23.060 default APN, APN provide from MS and the APN subscribed in HLR APN-NI.APN-OI
Interrogate DNS
Hostfile/Cache/DNS server
QoS negotiation
QoS provided from MS, default QoS ,QoS subscribed in HLR
Send message Create PDP context request to GGSN RAB assignment (UMTS only) Send message Active PDP context accept to MS
Dynamic IP address QoS
Page88
Handling in GGSN
Check the APN provided by SGSN QoS negotiation Allocate a dynamic IP to the MS Allocate a charging ID for the PDP context Return a CREATE PDP CONTEXT ACCEPT message to SGSN
Dynamic IP QoS Charging ID Other information
Page89
Handling in RNC
RAB assignment
MS SGSN GGSN
RNC
Page90
Page91
1. Activate Secondary PDP Context Request C1 2. Security Functions 3. Create PDP Context Request 3. Create PDP Context Response 5. BSS Packet Flow Context Procedures C2 7. Activate Secondary PDP Context Accept
Page92
1. Activate Secondary PDP Context Request C1 3. Create PDP Context Request 3. Create PDP Context Response 4. Radio Access Bearer Setup 6. Update PDP Context Request 6. Update PDP Context Response C2 7. Activate PDP Context Accept
Page93
Page94
Contents
4. Session Management
4.1 Basic concepts 4.2 PDP Context Activation Procedure 4.3 PDP Context Modification Procedure 4.4 PDP Context Deactivation Procedure
Page95
Modification Procedures
Modification procedures modify parameters that were negotiated during an activation procedure for one or several PDP contexts. An MS, a GGSN, an SGSN, or an RNC can request a modification procedure. The following parameters can be modified:
QoS Negotiated; Radio Priority; Packet Flow Id; PDP Address (in case of the GGSN-initiated modification procedure); TFT (in case of MS-initiated modification procedure).
Page96
Page97
Contents
4. Session Management
4.1 Basic concepts 4.2 PDP Context Activation Procedure 4.3 PDP Context Modification Procedure 4.4 PDP Context Deactivation Procedure
Page98
1. Deactivate PDP Context Request C1 2. Security Functions 3. Delete PDP Context Request 3. Delete PDP Context Response 4. Deactivate PDP Context Accept
Page99
MS
UTRAN
3G-SGSN
3G-GGSN
1. Deactivate PDP Context Request C1 3. Delete PDP Context Request 3. Delete PDP Context Response 4. Deactivate PDP Context Accept 5. Radio Access Bearer Release
Page100
Summary
The course includes the flowing:
MM procedure SM procedure
Page101
Thank you
www.huawei.com