HUAWEI TECHNOLOGIES CO., LTD. All rights reserved www.huawei.com Internal OWB000001 GPRS Fundamental ISSUE 2.0
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved
www.huawei.com
Internal
OWB000001 GPRS Fundamental
ISSUE 2.0
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 1
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.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 2
References
3GPP protocol 23060
3GPP protocol 29060
3GPP protocol 24008
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 3
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
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 4
Chapter 1 GPRS Network Structure
Chapter 2 Mobility Management
Chapter 3 Radio Resource management
Chapter 4 Session Managment
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 5
GPRS Network Structure
What is GPRS?
General Packet Radio Service
Why GPRS?
In order to provide the data service out the scope of the fixed network
GPRS network classification
GSM GPRS
UMTS GPRS
GPRS network background
GSM GPRS network reuse the existed GSM network
UMTS GPRS network just change the RAN side
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 6
GPRS Network Structure
FR
EIREIRHLRHLRSMS-GMSCSMS-IWMSCSMS-GMSCSMS-IWMSC
MSC/VLRMSC/VLR
BSSBSS
UTRANUTRAN
SGSNSGSN
SGSNSGSN
GGSNGGSN
BGBG
CGCG
TEPDN
SS7
ATM
DDN
ISDN
Ethernet.etc
GPRSBackbone
Gs Gd Gr Gf Gc
Gb
Iu
Um
Um
Gp
Gi
Gn
Gn
ATM Ga
SCPSCP GMLCGMLC
Ge Lg
Ga
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 7
GPRS Network Structure
Some Abbreviation
GPRS: General Packet Radio Service
BSS: Base Station Subsystem
UTRAN: UMTS Terrestrial Radio Access Network
SGSN: Service GPRS Support Node
GGSN: Gateway GPRS Support Node
CG: Charging Gateway
BG: Bordering Gateway
PDN: Packet Data Network
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 8
GPRS Network Structure
Some Abbreviation
MSC/VLR: Mobile Switch Center/Visitor Location Register
SMS-GMSC: Gateway MSC For Short Message Service
SMS-IWMSC: Short Message Service Interworking MSC
SCP: Service Control Point
GMLC: Gateway Mobile Location Center
HLR: Home Location Register
EIR: Equipment Identity Register
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 9
GPRS Network Structure
Important Entity Function __ SGSN
Mobility management
− The mobility management functions are used to keep track of the current location of an MS within the PLMN or within another PLMN.
Session management
− Session Management (SM) function manages the PDP context of MS.
Routing and transfer
− SGSN performs routing and forwarding of service data between MS and GGSN.
Charging
− SGSN can generate, store, convert and send CDRs.
Lawful Interception
NTP
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 10
GPRS Network Structure Important Entity Function __ GGSN
Session management
− Session Management (SM) function manages the PDP context of MS.
Routing and transfer
− GGSN performs routing and forwarding of service data between MS and internet.
Charging
− GGSN can generate, store, convert and send CDRs.
Dynamic IP allocation
Service management
− Manage APN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 11
GPRS Network Structure
Important Entity Function __ CG
Real-time collection of GPRS bills
Temporary storage and buffering of GPRS bills
Pre-processing of GPRS bills
Sending GPRS bills to the billing center
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 12
GPRS Network Structure Important Entity Function __ DNS
SGSN GGSN(A)
MS
BSS
GPRS backboneGPRS backboneISP AISP A
ISP BISP B
Internet/IntranetGGSN(B)
DNS
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)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 13
GPRS Network Structure
Important Entity Function __ HLR/AUC
Saving and updating GPRS subscriber subscription data
User authentication
Providing location/routing information and processing needed in mobility management and routing, for example
− Saving and updating user service SGSN number and address
− GPRS user location deletion indication
− Whether MS is reachable
Subscriber tracing (optional)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 14
Chapter 1 GPRS Network Structure
Section 1 Attach and Detach
Section 2 Location Management
Section 3 Security Function
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 15
Chapter 2 Mobility Management
Section 1 Attach and Detach
Section 2 Location Management
Section 3 Security Function
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 16
GMM (GPRS Mobility Management)
Function of the Mobility Management
keep track of the current location of an MS within the PLMN or within another PLMN
Subscription data management
Ms states management
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 17
GMM (GPRS Mobility Management)
GMM specific procedures
Attach procedure
RAU and periodic
Detach
Service request (UMTS only)
GMM common procedures
P-TMSI reallocation procedure
Authentication procedure
Identification procedure
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 18
2G Network States Transition
PDU transmission
Implicit Detachor
Cancel Location
GPRS Attach
READY timer expiryorForce to STANDBY
GPRS Detach GPRS Attach
PDU reception
GPRS Detachor
Cancel Location
MM State Model of MS MM State Model of SGSN
IDLE
READY
STANDBY
IDLE
READY
STANDBY
READY timer expiryorForce to STANDBYorAbnormal RLC condition
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 19
3G Network States Transition
PMM-DETACHED
PS Attach
PS SignallingConnection Release
PS SignallingConnection Establish
PS Detach
PMM-CONNECTEDPMM-IDLE
Detach,PS Attach Reject,RAU Reject
PMM-DETACHED
PS Detach
PMM-CONNECTED
Serving RNCrelocation
3G-SGSN MM StatesMS MM States
SM-ACTIVE orINACTIVE
SM-ACTIVE orINACTIVE
SM-ACTIVE orINACTIVE
SM-ACTIVE orINACTIVE
Detach,PS Attach Reject,RAU RejectPS Attach
PS SignallingConnection Establish
PS SignallingConnection Release
PMM-IDLE
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 20
Attach Procedure
Function
An MS shall perform a GPRS Attach to the SGSN in order to obtain access to the GPRS services. If the MS is connected via a GSM radio, it shall perform a GSM GPRS Attach procedure. If the MS is connected via a UMTS radio access network, it shall perform a UMTS GPRS Attach procedure
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 21
Attach Procedure
(IMSI or PTMSI+RAI) (PTMSI)
(IMSI)
(Identity Type = IMSI)
(IMSI)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 22
Attach Procedure
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 23
Attach Procedure
Results after any attach procedure
SGSN get subscriber data from HLR
HLR recorded the MS’s serving SGSN number
SGSN and MS create MM context for the MS
MS can request Session Management services
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 24
Reject caused by GPRS Core NetworkCause in attach reject Actions in PS domain Actions in CS domain
Illegal MS The MS shall set the GPRS update status to GU3 ROAMING NOT ALLOWED The SIM/USIM shall be considered as invalid for GPRS services until switching off or the SIM/USIM is removed
If the MS is IMSI attached, the MS shall in addition set the update status to U3 ROAMING NOT ALLOWED, shall delete any TMSI, LAI and ciphering key sequence number
Illegal ME
GPRS services not allowed The MS shall set the GPRS update status to GU3 ROAMING NOT ALLOWED; The SIM/USIM shall be considered as invalid for GPRS services until switching off or the SIM/USIM is removed.
no effect
GPRS services not allowed in this PLMN
shall set the GPRS update status to GU3 ROAMING NOT ALLOWED
PLMN not allowed shall set the GPRS update status to GU3 ROAMING NOT ALLOWED), shall reset the GPRS attach attempt counter and shall change to state GMM-DEREGISTERED
The MS shall perform a PLMN selection
Location area not allowed
Roaming not allowed in this location area
No Suitable Cells In Location Area shall set the GPRS update status to GU3 ROAMING NOT ALLOWED
The MS shall search for a suitable cell in another location area in the same PLMN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 25
Attach Procedure __ MM ContextField Description A/Gb
modeIu mode
IMSI IMSI is the main reference key. X X
MM State Mobility management state, IDLE, STANDBY, READY, PMM-DETACHED, PMM-IDLE, or PMM-CONNECTED.
X X
P-TMSI Packet Temporary Mobile Subscriber Identity. X X
P-TMSI Signature A signature used for identification checking purposes. X X
IMEI International Mobile Equipment Identity X X
MSISDN The basic MSISDN of the MS. X X
Routeing Area Current routeing area. X X
Cell Identity Current cell in READY state, last known cell in STANDBY or IDLE state. X
Cell Identity Age Time elapsed since the last LLC PDU was received from the MS at the SGSN. X
Service Area Code Last known SAC when initial UE message was received or Location Reporting procedure was executed.
X
Service Area Code Age Time elapsed since the last SAC was received at the 3G-SGSN. X
VLR Number The VLR number of the MSC/VLR currently serving this MS. X X
New SGSN Address The IP address of the new SGSN where buffered and not sent N-PDUs should be forwarded to.
X X
Authentication Vectors Authentication and ciphering parameters (authentication triplets or quintets). X X
Kc Currently used A/Gb mode ciphering key. X 2)
CKSN Ciphering key sequence number of Kc. X 2)
Ciphering algorithm
CK
Selected ciphering algorithm (GEA).
Currently used Iu mode ciphering key.
X
1)
X
X
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 26
Attach Procedure __ MM ContextIK Currently used Iu mode integrity key. 1) X
KSI Key Set Identifier. 1) X
MS Radio Access Capability MS radio access capabilities. X
MS Network Capability MS network capabilities. X X
DRX Parameters Discontinuous reception parameters. X X
Radio Priority SMS The RLC/MAC radio priority level for uplink SMS transmission. X
MNRG Indicates whether activity from the MS shall be reported to the HLR. X X
NGAF Indicates whether activity from the MS shall be reported to the MSC/VLR. X X
PPF Indicates whether paging for PS and CS services can be initiated. X X
Subscribed Charging Characteristics The charging characteristics for the MS, e.g. normal, prepaid, flat-rate, and/or hot billing subscription.
X X
SMS Parameters SMS-related parameters, e.g. operator-determined barring. X X
Recovery Indicates if HLR or VLR is performing database recovery. X X
GPRS-CSI Optional GPRS CAMEL subscription information, see 3GPP TS 23.016 X X
ODB for PS parameters Indicates that the status of the operator determined barring for packet oriented services. 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.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 27
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
The following three entity can initiate the detach procedure
MS
SGSN
HLR
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 28
Detach Procedure (MS Initiation)
2 . D e le te P D P C o n tex t R esp o n se
1 . D e tach R eq u est
2 . D e le te P D P C o n tex t R eq u est
3 . D e tach A ccep t
M S B S S /U T R A N G G S N S G S N
4 . P S S ig n a llin g C o n n e c tio n R e lease
Detach type
bit4 bit3 bit2 bit1
power off detach tye
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 29
Detach Procedure
Results after any attach procedure
The SGSN shall not service the detached MS, unless reattach
The MS is in idle or PMM-DETACHED state
The MS is detached either explicitly or implicitly:
Explicit detach: The network or the MS explicitly requests detach
Implicit detach: The network detaches the MS, without notifying the MS, a configuration-dependent time after the mobile reachable timer expired, or after an irrecoverable radio error causes disconnection of the logical link.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 30
Chapter 2 Mobility Management
Section 1 Attach and Detach
Section 2 Location Management
Section 3 Security Function
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 31
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
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 32
Layered Location Management Mode (2G)
•SGSN
•HLR
•BSS
•MS
•SGSN number
•ready state: cell number
•Standby state: RAI
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 33
Layered Location Management Mode (3G)
•SGSN
•HLR
•RNC
•MS
•SGSN number
•PMM-connect state: RNCID,RAI
•PMM-idle: RAI
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 34
Network Architecture
Route area update procedure
SGSN can manage the MS location information via RAU procedure in RAI level
Relocation procedure
Move the Iu interface to the other RNC
Handover procedure
Move the radio link to the other NodeB
old SGSN
RNC2RNC1
MS
GGSN
Iu
new SGSN
RNC4 RNC3
IU
HLR/AUC
Gn/Gp Gn/Gp
PDN
Gi
Gr GrIUIu
Gn
RA1 RA2 RA3
RA4 RA5
RA6 RA7 RA9
RA9 RA10
Iur
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 35
Routeing Area Update Procedure
RAU procedure will happen in the following two case:
MS entered a new Route Area
Periodic RAU ( after periodic timer expires)
Inter-SGSN RAU
The new SGSN find the old SGSN from the old RAI
Old SGSN stop downlink signaling, transfer MM context and PDP context to new SGSN
Tunnelling N-PDU to the new SGSN
Update PDP context and subscriber data
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 36
Routeing Area Update Procedure
MS
RAI 2 RAI 4
SGSN SGSN
RAI 1 RAI 3
cell
Intra SGSN-RAU
Inter SGSN -RAU
Gn
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 37
Inter-SGSN RAU Procedure (2G)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 38
Inter-SGSN RAU Procedure (2G)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 39
Inter-SGSN RAU Procedure (3G)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 40
Inter-SGSN RAU Procedure (3G)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 41
Service Request Procedure (UMTS only)
MS initiated
For the active PDP context request procedure
For the data transmission
Network initiated
Paging response
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 42
Service Request Procedure –MS initiatedSGSNMS
2. Service Request
3. Security Functions
RNC1. RRC Connection Request
8. Uplink PDU
1. RRC Connection Setup
4. Radio Access Bearer AssignmentRequest
6. Radio Access Bearer AssignmentResponse
5. Radio Bearer Setup
6. Radio Bearer SetupComplete
HLR GGSN
7. SGSN-Initiated PDP Context Modification
4. Service Accept
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 43
Service Request Procedure-network initiated
7. SGSN-Initiated PDP Context Modification Procedure
8. Downlink PDU
SGSNMS
5. Security Functions
RNC
3. RRC Connection Request
1. Downlink PDU
3. RRC Connection Setup
6. Radio Access Bearer AssignmentRequest
6. Radio Access Bearer AssignmentResponse
6. Radio Bearer Setup
6. Radio Bearer SetupComplete
2. Paging2. Paging
4. Service Request
HLR GGSN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 44
Chapter 2 Mobility Management
Section 1 Attach and Detach
Section 2 Location Management
Section 3 Security Function
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 45
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
After the MS detach from the network:
The SGSN may delete the MM/PDP context immediately
the SGSN may keep the MM/PDP context for some time of the detached MS
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 46
Purge Function
1. Purge MS
2. Purge MS Ack
SGSN HLR
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 47
Mobility Management Timer Function
Periodic RA Update Timer Function Monitors the periodic routing area update procedure in the MS Upon its expiry, the MS shall start a periodic routing area update procedure. The length of the timer is set in SGSN; The value of the timer is sent to MS
in attach accept message or routing update accept message Mobile Reachable Timer Function
Upon the expiry of this timer, the MS is detached This is reset and started when the state returns to STANDBY or PMM-IDLE The timer shall be slightly longer than the periodic RA update timer used by
an MS The length of the timer is set in SGSN
Purge Timer Function Allows the SGSN to inform the HLR that it has deleted the MM and PDP
contexts of a detached MS. The purge timer is set longer than the mobile reachable timer
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 48
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)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 49
Authentication Function
1a. Send Authentication Info
2a. Authentication and Ciphering Request1b . Send Authentication Info ack
2b. Authentication and Ciphering Response
MS BSS/UTRAN HLR/AucSGSN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 50
Authentication Function(3G) MS VLR/SGSN HE/HLR
Generate authenticationvectors AV(1..n)
Store authentication vectors
Select authentication vector AV(i)
Authentication data request
Authentication data responseAV(1..n)
User authentication requestRAND(i) || AUTN(i)
User authentication responseRES(i)
Compare RES(i) and XRES(i)
Verify AUTN(i)Compute RES(i)
Compute CK(i) and IK(i) Select CK(i) and IK(i)
Authentication andkey establishment
Distribution ofauthenticationvectors from HEto SN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 51
Authentication Function (2G-3G)
Release 99+ VLR/SGSN Release 98- VLR/SGSN
Release 99+ HLR/AuC
USIM
RAND AUTN RES
CK IK
CK, IK Kc
UTRAN
ME capable of UMTS AKA
RAND AUTN RES
[Kc]
CK, IK Kc
GSM BSS
CK, IK KcRES SRES
CK, IK Kc
ME notcapable of UMTS
AKA
CK, IK Kc
CK, IK KcRES SRES
RAND[AUTN]
SRES
[Kc]
Kc
RANDSRES
[Kc]
Kc
ME
CK, IK KcRES SRES
Quintets Triplets
CK, IK KcRES SRES
UMTS security GSM security
CK, IK Kc
GSM security context
Release 99+VLR/SGSN
Release 98-VLR/SGSN
Release 98- or Release 99+HLR/AuC
SIM
RANDSRES
CKIK
Kc
UTRAN
R99+ UE
RANDSRES
[Kc]
Kc
GSM BSS
Kc CK, IK
R98- UE
Kc CK, IK
RANDSRES
[Kc]
Kc
RANDSRES
[Kc]
Kc
R99+ UEor
R98- UE
Triplets Triplets
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 52
Identity Check
Function
Get IMSI from MS
Check the IMEI
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 53
Identity Check
1. Identity Response 2. Check IMEI
1. Identity Request
2. Check IMEI Ack
MS BSS/UTRAN EIRSGSN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 54
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.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 55
P-TMSI Reallocation
2. P-TMSI Reallocation Complete
1. P-TMSI Reallocation Command
MS BSS/UTRAN SGSN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 56
Chapter 1 GPRS Network Structure
Chapter 2 Mobility Management
Chapter 3 Radio Resource management
Chapter 4 Session Managment
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 57
Paging Summary
MM state in SGSN,MS
PMM-IDLE
STANDBY mode
A Paging message is received by MS
P-TMSI is used to identify the MS
If P-TMSI is invalid or MS not respond ,then use IMSI
Change MM state in MS to PMM-Connected or Ready
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 58
Paging for GPRS (2G)
Function
An MS in STANDBY state is paged by the SGSN before a downlink transfer to that MS
Paging move the MS state from STANDBY to READY.
Any uplink data from MS is a valid response to paging
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 59
Paging for GPRS (2G)
5. Any LLC Frame
4. Any LLC Frame
3. GPRS Paging Request
2. Paging Request
1. PDP PDU
MS BSS SGSN
STANDBY
READY
(IMSI, P-TMSI, Area, Channel Needed, QoS, DRX Parameters)
(Receive Ready or Information frame)
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 60
Paging Initiated by CN (3G)
PS Paging Initiated by 3G-SGSN without RRC Connection for CS
A CN node requests paging only for MSs in PMM-IDLE state
The RNS controls whether the MS has an established RRC connection or not
MS has no RRC connection
Paging Type 1 is transferred on the Paging channel
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 61
Paging Initiated by CN (3G)
4. Service Request4. Service Request
3. Paging Type12. Paging
MS RNS MSC/VLR
3G-SGSN1. PDP PDU or
Downlink signalingPMM IDLE
PMM CONNECTED
(PCH paging)(IMSI, P-TMSI, Area, CN Domain Indicator, DRX parameters)
PS Paging Initiated by 3G-SGSN without RRC Connection for CS
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 62
Paging Initiated by CN (3G)
PS Paging Initiated by 3G-SGSN with RRC Connection for CS
A CN node requests paging only for MSs in PMM-IDLE state
The RNS controls whether the MS has an established RRC connection or not
In this case, MS has an established RRC connection for CS service
Paging Type 2 is base on the establish RRC connection
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 63
Paging Initiated by CN (3G)PS Paging Initiated by 3G-SGSN with RRC Connection for CS
4. Service Request
4. Service Request
3. Paging Type22. Paging
MS RNS MSC/VLR
3G-SGSN
Connection Established
1. PDP PDU orDownlink signalling
(RRC paging)(IMSI, P-TMSI, Area, CN Domain Indicator, DRX parameters)
PMM IDLE
PMM CONNECTED
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 64
Chapter 1 GPRS Network Structure
Chapter 2 Mobility Management
Chapter 3 Radio Resource management
Chapter 4 Session Managment
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 65
Session Management Function
Establish and monitor a packet tunnel from MS to GGSN, and allocate system resource for the packet service.
Important ProcedurePDP Context ActivationPDP Context ModificationPDP Context Deactivation
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 66
Session Management
DNS
BTS
SGSN
MS
DNS
BSC
GGSN (B)BackboneBackboneDNS
ISP BISP B
ISP AISP A
Corp.Network
Corp.Network
GGSN (A)
•APN_NI/
•Or APN_NI+APN_OI
•APN_NI+APN_OI =
GGSN IP address
•APN-NI
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 67
PDP Context
PDP Context The PDP context is 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 Routing, QoS (Quality of Service), Charging ID etc.
PDP context exists in MS, SGSN, GGSN and RNC/BSS
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 68
PDP Context
Each MM context contains zero or more of the following PDP contexts:
Field Description A/Gb mode Iu mode
PDP Context Identifier Index of the PDP context. X X
PDP State Packet data protocol state, INACTIVE or ACTIVE. X X
PDP Type PDP type, e.g. PPP or IP. X X
PDP Address PDP address, e.g. an IP address. X X
APN Subscribed The APN received from the HLR. X X
APN in Use The APN currently used. This APN shall be composed of the APNNetwork Identifier and the APN Operator Identifier.
X X
NSAPI Network layer Service Access Point Identifier. X X
TI Transaction Identifier. X X
TEID for Gn/Gp Tunnel Endpoint Identifier for the Gn and Gp interfaces. X X
TEID for Iu Tunnel Endpoint Identifier for the Iu interface. X
GGSN Address in Use The IP address of the GGSN currently used. X X
VPLMN Address Allowed 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.
X X
QoS Profile Subscribed The quality of service profile subscribed. X X
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 69
PDP ContextQoS Profile Requested The quality of service profile requested. X X
QoS Profile Negotiated The quality of service profile negotiated. X X
Radio Priority The RLC/MAC radio priority level for uplink user data transmission. X
Packet Flow Id Packet flow identifier. X
Aggregate BSS QoS Profile Negotiated
The aggregate BSS quality of service profile negotiated for the packet flow that this PDP context belongs to.
X
Send N-PDU Number SNDCP sequence number of the next downlink N-PDU to be sent to the MS. X
Receive N-PDU Number SNDCP sequence number of the next uplink N-PDU expected from the MS. X
GTP-SND GTP-U sequence number of the next downlink N-PDU to be sent to the MS. X X
GTP-SNU GTP-U sequence number of the next uplink N-PDU to be sent to the GGSN. X X
PDCP-SND Sequence number of the next downlink in-sequence PDCP-PDU to be sent to the MS.
X
PDCP-SNU Sequence number of the next uplink in-sequence PDCP-PDU expected from the MS.
X
Charging Id Charging identifier, identifies charging records generated by SGSN and GGSN. X X
PDP Context Charging Characteristics
The charging characteristics of this PDP context, e.g. normal, prepaid, flat-rate, and/or hot billing.
X X
RNC Address in Use The IP address of the RNC currently used. X
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 70
MM Context and PDP Context
HLR
SGSNBSC
or RNC
MS GGSNGnGb/ IuUu
MM context
PDP context #1
.
.
PDP context #n
MM context
PDP context #1
.
.
PDP context #n
PDP context #1
.
.
.
PDP context #n
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 71
Important Concept __ PDP State
Deactivate PDP Contextor
MM state change to IDLEor PMM-DETACHED
Activate PDPContext
INACTIVE
ACTIVE PDP state
inactive:cannot transmit data active:can transmit data
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 72
Important Concept __ PDP Type and PDP Address
PDP Type
IPV4
IPV6
PPP
PDP Address
Static IP
− Public IP
− Allocate by the operator
Dynamic IP
− Private IP
− Allocate by GGSN, DNCP or Radius
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 73
Important Concept __ QoS
QoS is 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
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 74
Important Concept __ APN APN structure: APN_NI+APN_OI
huawei.com.cn.mnc<MNC>.mcc<MCC>.gprs
APNNetwork ID
APNOperator ID
•Operator ID : fixed extension, must end with “.gprs”
•Network ID shall not end with “.gprs”
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 75
Important Concept __ APN
MS SGSN
GGSN1
GGSN2
GGSN3
DNS
APN1
APN2
APN3
APN1=GGSN1 IP1
APN2=GGSN2 IP2
APN3=GGSN3 IP3
APN
APN GGSN IP
APN1
APN2
APN3
IP1
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 76
Important Concept __ APN
SGSN
MS
SGSN
MS
•internet
GGSN GGSN
Roaming
APN:CMNET
•GuangDong province
General APN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 77
Important Concept __ APN
SGSN
MS
SGSN
MS
GGSN GGSN
Roaming
APN:test.xy
VPN tunnel
Province 1
Area APN
Province 2
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 78
Activation Procedure
PDP context activation procedure
To establish a PDP context between the MS and the
SGSN, the GGSN
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 79
PDP Active Procedure (2G)
2G-GGSN
5. Activate PDP Context Accept
3. Create PDP Context Response
3. Create PDP Context Request
1. Activate PDP Context Request
2G-SGSNBSS
2. Security Functions
MS
4. BSS Packet Flow Context Procedures
C1
C2
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 80
PDP Active Procedure (3G)
(PDP Type, PDP Address, Access Point Name, QoS Requested)
Charging ID allocation
IP address
3G-GGSN
7. Activate PDP Context Accept
3. Create PDP Context Response
2. Create PDP Context Request
1. Activate PDP Context Request
3G-SGSNUTRANMS
4. Radio Access Bearer Setup (Qos)
C1
C2
6. Update PDP Context Response
5. Update PDP Context Request
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 81
Handle 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
Receive ACCEPT from SGSN
If the QoS not accept by MS, then starts delete PDP context procedure.
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 82
Handle 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 Send message “active PDP context accept” to MS
Dynamic IP address QoS
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 83
Handle in RNC
RAB assignment
MS SGSN GGSN
RNCRAB assignment (Final negotiated Qos)
Allocate Iu interface resource Allocate radio resource
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 84
Handle 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
Update PDP context
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 85
Typical Application E-mail from fixed to mobile network
BTS/NodeB SGSN
MS
BSC/RNC
GGSNBackboneBackbone
ISPISP
Accessserver
Mailserver
HLR
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 86
Typical Application
E-mail from mobile to fixed network
BTS/NodeB SGSN
MS
BSC/RNC
GGSNBackboneBackbone
ISPISP
Accessserver
Mailserver
HLR
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 87
Summary
In the whole GPRS fundamental, you should remember some important concept and the basic signalling procedure
Summary
www.huawei.com
Thank You