Professional Documents
Culture Documents
GPRS Fundamental
ISSUE 3.0 www.huawei.com
What is GPRS?
In order to provide the data service out the scope of the fixed network
GSM GPRS
UMTS GPRS
SS7
Gs Gd Ge Lg Gr Gf Gc
Gn
BSS
BSS FR SGSN
SGSN GGSN
GGSN
PDN TE
TE
ATM Gi
Um Gb GPRS
DDN
Gn Backbone
ISDN Ga
Ethernet.etc
UTRAN
UTRAN SGSN
SGSN Ga CG
CG
ATM
Um Iu
BG
BG
Gp
Some Abbreviation
Abbreviations:
ISP
ISP A
A
GPRS
GPRS backbone
backbone
ISP
ISP B
B
BSS
DNS Internet/
GGSN(B) Intranet
HLR
Access
MS server
ISP
Mail
server
e-mail
HLR
Access
MS server
ISP
Mail
server
e-mail
GPRS Detach
GPRS Attach GPRS Detach GPRS Attach or
Cancel Location
STANDBY STANDBY
Identification Detach
PM M- PMM-
D ETACH ED D ETAC H ED
Detach, D etach,
P S D etach PS Attach R eject, P S D etach PS Attach Reject,
PS Attach RAU Rej ect PS Attach RA U R eject
P S S ignalling PS S ignalling
Connection Releas e PMM- Connection Releas e PMM-
P MM-IDL E CONNE CTE D P MM-IDL E CONNE CTE D
SM-A CT IVE or S M-ACT IV E or SM-A CT IVE or S M-ACT IV E or
INA CT IVE P S S ignalling INACTIV E INA CT IVE PS S ignalling INAC TIV E
Connection Establish Connection Establish
Serving RNC
reloc ation
If the mobile reachable timer expires, the SGSN shall clear PPF.
After expiry of the mobile reachable timer the SGSN may
perform an implicit detach.
Function
(IMSI)
(Identity Type = IMSI)
(IMSI)
GPRS services not allowed The MS shall set the GPRS update status to no effect
GU3 ROAMING NOT ALLOWED; The
SIM/USIM shall be considered as invalid for
GPRS services until switching off or the
SIM/USIM is removed.
GPRS services not allowed in this shall set the GPRS update status to GU3
PLMN ROAMING NOT ALLOWED
PLMN not allowed shall set the GPRS update status to GU3 The MS shall perform a PLMN
ROAMING NOT ALLOWED), shall reset the selection
Location area not allowed
GPRS attach attempt counter and shall
Roaming not allowed in this location change to state GMM-DEREGISTERED
area
No Suitable Cells In Location Area shall set the GPRS update status to GU3 The MS shall search for a suitable
ROAMING NOT ALLOWED cell in another location area in the
same PLMN
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 X
executed.
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
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
Subscribed Charging Characteristics The charging characteristics for the MS, e.g. normal, prepaid, flat-rate, and/or hot billing X X
subscription.
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.
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 SGSN shall not service the detached MS, unless reattach
The MS is in idle or PMM-DETACHED state
IMSI detach;
GPRS detach;
combined GPRS / IMSI detach (MS-initiated only).
1. Detach Request
2. Delete PDP Context Request
C1
3. IMSI Detach Indication
5. Detach Accept C2
8 7 6 5 4 3 2 1 Bits
3 2 1
Detach type Power Type of detach 0 0 1 GPRS detach
IEI off
0 1 0 IMSI detach
0 1 1 Combined GPRS/IMSI detach
All other values are interpreted as Combined
Power off (octet 1) GPRS/IMSI detach by this version of the
protocol.
In the MS to network direction:
Bit
In the network to MS direction:
4
Bits
0 normal detach
3 2 1
1 power switched off
0 0 1 re-attach required
In the network to MS direction the Power off 0 1 0 re-attach not required
bit shall be spare and set to zero.
0 1 1 IMSI detach (after VLR failure)
All other values are interpreted as re-attach not
required by this version of the protocol.
1. Detach Request
2. Delete PDP Context Request
C1
3. GPRS Detach Indication
4. Detach Accept
C2
5. PS Signalling Connection Release
1. Cancel Location
2. Detach Request
3. Delete PDP Context Request
C1
4. GPRS Detach Indication
5. Detach Accept
C2
6. Cancel Location Ack
7. PS Signalling Connection Release
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
SGSN HLR
1. Purge MS
2. Purge MS Ack
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
− Using UMTS Encryption Algorithm (UEA)
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.
Generate authentication
Distribution of vectors AV(1..n)
authentication
vectors from HE
to SN Authentication data response
AV(1..n)
Verify AUTN(i)
Compute RES(i)
Authentication and
key establishment
User authentication response
RES(i)
ME capable of ME not ME
UMTS AKA
capable of UMTS R99+ UE R98- UE R99+ UE
AKA or
Kc CK, IK R98- UE
CK, IK CK, IK Kc Kc
Kc Kc Kc Kc Kc Kc
Function
1. Identity Request
1. Identity Response
2. Check IMEI
Function
MS BSS/UTRAN SGSN
Function
•HLR
•SGSN
•SGSN number
•BSS
•ready state: cell number
•HLR
•SGSN
•SGSN number
•RNC
•PMM-connect state: RNCID,RAI,SAI
MS location Gn
Relocation procedure
(UMTS only) RNC2
Iur RNC1 HLR/AUC
RNC4 RNC3
intra-SGSN RAU
Inter-SGSN RAU
Gn
SGSN SGSN
cell
Intra SGSN-RAU
MS
HLR/AuC HLR/AuC
GGSN GGSN
old MSC/VLR old SGSN new SGSN new MSC/VLR old MSC/VLR old SGSN new SGSN new MSC/VLR
MS MS
1. Decision to perform
SRNS relocation
2. Relocation Required
4. Relocation Request
C1
6. Relocation Command
7. Forwarding of data
8. Relocation Commit
9. Relocation Detect
10. UTRAN Mobility Information Confirm 11. Update PDP Context Response
C3
1 . R R C C o n n e c t io n S e tu p
2 . S e r v ic e R e q u e s t
3 . S e c u r ity F u n c tio n s
4 . S e r v ic e A c c e p t
4 . R a d io A c c e s s B e a r e r A s s ig n m e n t
R equest
5 . R a d io B e a r e r S e tu p
6 . R a d io B e a r e r S e tu p
C o m p le t e
6 . R a d io A c c e s s B e a r e r A s s ig n m e n t
R esponse
7 . S G S N - I n it ia t e d P D P C o n t e x t M o d if ic a t io n
8 . U p lin k P D U
1. Downlink PDU
2. Paging
2. Paging
4. Service Request
5. Security Functions
8. Downlink PDU
MS initiated
Network initiated
PMM-IDLE
STANDBY mode
Change MM state in MS to PMM-Connected or Ready after
successful paging.
Function
MS BSS SGSN
1. PDP PDU
STANDBY 2. Paging Request
MS RNS MSC/VLR
3G-SGSN
1. PDP PDU or
PMM IDLE Downlink signaling
2. Paging
3. Paging Type1 (PCH paging)
(IMSI, P‑TMSI,
4. Service Request Area, CN
4. Service Request Domain
Indicator, DRX
PMM parameters)
CONNECTED
MS RNS MSC/VLR
Connection Established
3G-SGSN
1. PDP PDU or
PMM IDLE Downlink signalling
2. Paging
3. Paging Type2 (RRC paging)
(IMSI, P‑TMSI,
4. Service Request Area, CN
4. Service Request Domain
Indicator, DRX
PMM parameters)
CONNECTED
1. Page
2. Paging Request
3. Paging Request
1. Page
2. Paging
3. Paging Request
4. RRC Initial Direct Transfer (Paging Response)
5. RANAP Initial UE (Paging Response)
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
APN in Use The APN currently used. This APN shall be composed of the APNNetwork X X
Identifier and the APN Operator Identifier.
TI Transaction Identifier. X X
TEID for Gn/Gp Tunnel Endpoint Identifier for the Gn and Gp interfaces. X X
VPLMN Address Allowed Specifies whether the MS is allowed to use the APN in the domain of the X X
HPLMN only, or additionally the APN in the domain of the VPLMN.
Radio Priority The RLC/MAC radio priority level for uplink user data transmission. X
Aggregate BSS QoS Profile The aggregate BSS quality of service profile negotiated for the packet flow that X
Negotiated this PDP context belongs to.
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‑SNU Sequence number of the next uplink in-sequence PDCP‑PDU expected from the X
MS.
Charging Id Charging identifier, identifies charging records generated by SGSN and GGSN. X X
PDP Context Charging The charging characteristics of this PDP context, e.g. normal, prepaid, flat-rate, X X
Characteristics and/or hot billing.
HLR
. . .
. . .
INACTIVE
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.com.cn.mnc<MNC>.mcc<MCC>.gprs
APN APN
Network ID Operator ID
APN1
APN2 MS APN SGSN GGSN2
APN2
APN3
APN GGSN IP
GGSN3
APN3
GGSN GGSN
•GuangDong province
SGSN SGSN
APN:CMNET
MS MS
Roaming
VPN tunnel
GGSN GGSN
Province 1 Province 2
SGSN SGSN
APN:test.xy
MS MS
Roaming
•APN-NI/
SGSN GGSN (B)
Backbone Corp.
•Or APN-NI+APN-OI DNS Network
•APN-NI
DNS DNS
•APN-NI+APN-OI =
GGSN IP address
C1
2. Security Functions
C2
5. Activate PDP Context Accept
C2
7. Activate PDP Context Accept
Provide a APN-NI
If the QoS not accept by MS, then starts delete PDP context
procedure.
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
RAB assignment
MS SGSN GGSN
RAB assignment
RNC (Final negotiated
Qos)
For GPRS
C1
2. Security Functions
3. Create PDP Context Request
C2
7. Activate Secondary PDP Context Accept
For UMTS
C1
C2
7. Activate PDP Context Accept
1. PDP PDU
C1
5. Radio Access Bearer Modification
6. Invoke Trace
C1
C1
For GPRS
MS 2G-SGSN 2G-GGSN
C1
2. Security Functions
3. Delete PDP Context Request
For UMTS
C1
3. Delete PDP Context Request
C1
C1
2. Deactivate PDP Context Request
2. Deactivate PDP Context Accept
3. Delete PDP Context Response
4. Radio Access Bearer Release
2. Iu Release Command
4. Iu Release Complete