Beruflich Dokumente
Kultur Dokumente
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.
Page 1
References
Page 2
will be able to: Describe the GPRS networking structure Describe the GPRS mobility management procedure Describe the GPRS session management procedure
Page 3
Chapter 1 GPRS Network Structure Chapter 2 Mobility Management Chapter 3 Radio Resource management Chapter 4 Session Managment
Page 4
In order to provide the data service out the scope of the fixed network
GPRS network classification
GSM GPRS network reuse the existed GSM network UMTS GPRS network just change the RAN side
Page 5
Gs
Gd
Ge
Lg
SS7
Gr
Gf
Gc
BSS
Um Gb
FR
SGSN
ATM
Gn
DDN ISDN
PDN
Gi
TE
Gn
Ga
Ethernet.etc
UTRAN
Um
Iu
ATM
SGSN
Ga
CG
BG
Gp
Page 6
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
Page 7
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
Page 8
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
Page 9
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
Page 10
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
Page 11
ISP B
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)
Page 12
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)
Page 13
Chapter 1 GPRS Network Structure Section 1 Attach and Detach Section 2 Location Management Section 3 Security Function
Page 14
Chapter 2 Mobility Management Section 1 Attach and Detach Section 2 Location Management Section 3 Security Function
Page 15
keep track of the current location of an MS within the PLMN or within another PLMN Subscription data management Ms states management
Page 16
Attach procedure RAU and periodic Detach Service request (UMTS only)
GMM common procedures
Page 17
GPRS Attach
GPRS Detach
GPRS Attach
READY
READY
PDU transmission
PDU reception
STANDBY
STANDBY
MM State Model of MS
Page 18
PS D etach
PS D etach
PMM -ID LE
PM MC ONNE CTE D
MS MM States
3G -SG SN MM States
Page 19
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
Page 20
Attach Procedure
(IMSI or PTMSI+RAI)
(PTMSI) (IMSI)
Page 21
Attach Procedure
Page 22
Attach Procedure
SGSN get subscriber data from HLR HLR recorded the MSs serving SGSN number SGSN and MS create MM context for the MS
Page 23
Actions in PS domain
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 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. shall set the GPRS update status to GU3 ROAMING 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 shall set the GPRS update status to GU3 ROAMING NOT ALLOWED
Actions in CS domain
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 no effect
GPRS services not allowed in this PLMN PLMN not allowed Location area not allowed Roaming not allowed in this location area No Suitable Cells In Location Area
The MS shall search for a suitable cell in another location area in the same PLMN
Page 24
P-TMSI P-TMSI Signature IMEI MSISDN Routeing Area Cell Identity Cell Identity Age Service Area Code
X X X X X X X
X X X X X
X X X
X X X
X 2) 2) X X
Page 25
X 1)
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.
Page 26
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
Page 27
2 . D e le te P D P C o n te x t R e q u e s t
2 . D e le te P D P C o n te x t R e s p o n s e
3 . D e ta c h A c c e p t 4 . P S S ig n a llin g C o n n e c tio n R e le a s e
power off
detach tye
Page 28
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
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.
Page 29
Chapter 2 Mobility Management Section 1 Attach and Detach Section 2 Location Management Section 3 Security Function
Page 30
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
Page 31
HLR
SGSN
SGSN number
Page 32
HLR
SGSN
SGSN number
Page 33
Network Architecture
PDN
Gi
procedure SGSN can manage the MS location information via RAU procedure in RAI level
Relocation procedure
old SGSN
Gn/Gp
GGSN
Gn/Gp
new SGSN
Gn
Iu
Iu
Gr
Gr IU
IU
RNC2
Iur RNC1
HLR/AUC RNC4
RNC3
RA5
RA9
RA10
RA6
RA7
RA9
MS
Page 34
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
Page 35
RAI 1
RAI 2
RAI 3
RAI 4
cell
MS
Intra SGSN-RAU
Page 36
Page 37
Page 38
Page 39
Page 40
MS initiated
For the active PDP context request procedure For the data transmission
Network initiated
Paging response
Page 41
4. Radio Access Bearer Assignment Request 5. Radio Bearer Setup 6. Radio Bearer Setup Complete 6. Radio Access Bearer Assignment Response 7. SGSN-Initiated PDP Context Modification
8. Uplink PDU
Page 42
HLR
GGSN
Page 43
Chapter 2 Mobility Management Section 1 Attach and Detach Section 2 Location Management Section 3 Security Function
Page 44
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
The SGSN may delete the MM/PDP context immediately the SGSN may keep the MM/PDP context for some time of the detached MS
Page 45
Purge Function
SGSN 1. Purge MS 2. Purge MS Ack HLR
Page 46
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
Page 47
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
Page 48
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
Page 49
Authentication Function(3G)
MS VLR/SG SN HE/HLR Authentication data request Generate authentication vectors AV(1..n) Authentication data response AV(1..n) Store authentication vectors
Select authentication vector AV(i) User authentication request RAND(i) || AUTN(i) Verify AUTN(i) Compute RES(i) User authentication response RES(i) Compare RES(i) and X RES(i) Authentication and key establishment
Page 50
HLR/AuC
Quintets
Release 98VLR/SGSN
Kc CK, IK
[Kc]
Release 98VLR/SGSN
CK IK
[Kc]
[Kc]
[Kc]
UTRAN
RAND AUTN RES RAND AUTN RES
GSM BSS
RAND [AUTN] SRES
ME not capable of UMTS AKA
UTRAN
RAND SRES
GSM BSS
RAND SRES RAND SRES RAND SRES
RAND SRES
ME
R99+ UE
Kc CK, IK
R98- UE
R99+ UE or R98- UE
Kc
CK, IK Kc CK, IK Kc
CK, IK Kc CK, IK Kc
Kc
Kc
Kc
Kc
Kc
SIM
Page 51
Identity Check
Function
Page 52
Identity Check
MS
BSS/UTRAN
SGSN
EIR
Page 53
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.
Page 54
P-TMSI Reallocation
MS
BSS/UTRAN
SGSN
Page 55
Chapter 1 GPRS Network Structure Chapter 2 Mobility Management Chapter 3 Radio Resource management Chapter 4 Session Managment
Page 56
Paging Summary
MM state in SGSN,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
Page 57
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
Page 58
READY
Page 59
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
Page 60
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
Page 61
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
Page 62
Connection Established
PMM IDLE
(RRC paging)
2. Paging
4. Service Request
PMM CONNECTED
Page 63
Chapter 1 GPRS Network Structure Chapter 2 Mobility Management Chapter 3 Radio Resource management Chapter 4 Session Managment
Page 64
Session Management
Function
Establish and monitor a packet tunnel from MS to GGSN, and allocate system resource for the packet service.
Important Procedure
Page 65
Session Management
BTS BSC ISP A GGSN (A) MS ISP B
APN_NI/ Or APN_NI+APN_OI
SGSN DNS
Backbone
GGSN (B)
Corp. Network
APN-NI
DNS DNS
APN_NI+APN_OI GGSN IP address
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 66
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
Page 67
PDP Context
Each MM context contains zero or more of the following PDP contexts: Field 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. X X X Description A/Gb mode X X X X X X X X X Iu mode X X X X X X X X X X X X X
Page 68
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. X X X X X X X X X X X X X X X X X X X X
Page 69
MS Uu
SGSN Gn
MM context PDP context #1 . . PDP context #n
GGSN
Page 70
ACTIVE
PDP state
Page 71
Static IP Public IP Allocate by the operator Dynamic IP Private IP Allocate by GGSN, DNCP or Radius
Page 72
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
Page 73
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
Page 74
APN1
MS
APN
SGSN
GGSN2
APN2
APN
GGSN IP GGSN3
APN3
DNS
Page 75
internet
GGSN
SGSN
SGSN
APN:CMNET MS Roaming MS
Page 76
VPN tunnel
GGSN Province 1
GGSN Province 2
SGSN
SGSN
APN:test.xy MS Roaming
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 77
MS
Activation Procedure
To establish a PDP context between the MS and the SGSN, the GGSN
Page 78
3. Create PDP Context Request 3. Create PDP Context Response 4. BSS Packet Flow Context Procedures C2 5. Activate PDP Context Accept
Page 79
1. Activate PDP Context Request (PDP Type, PDP Address, Access Point Name, QoS Requested)
Charging ID allocation IP address 5. Update PDP Context Request 6. Update PDP Context Response C2
Page 80
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.
Page 81
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
Page 82
Handle in RNC
RAB assignment
MS
SGSN
GGSN
RNC
Page 83
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
Page 84
Typical Application
E-mail from fixed to mobile network
HLR
BTS/No deB
BSC/R NC
SGSN
Backbone
GGSN
MS
Page 85
Typical Application
E-mail from mobile to fixed network
HLR
BTS/No deB
BSC/R NC
SGSN
Backbone
GGSN
MS
Page 86
Summary
Summary
should remember some important concept and the basic signalling procedure
Page 87
Thank You
www.huawei.com