Sie sind auf Seite 1von 89

Internal

OWB000001 GPRS Fundamental


ISSUE 2.0
www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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 1

References

3GPP protocol 23060 3GPP protocol 29060 3GPP protocol 24008

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 2

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 3

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 4

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 5

GPRS Network Structure


MSC/VLR SMS-GMSC SMS-IWMSC SCP GMLC HLR EIR

Gs

Gd

Ge

Lg

SS7
Gr

Gf

Gc

BSS
Um Gb

FR

SGSN
ATM

Gn
DDN ISDN

GGSN GPRS Backbone

PDN
Gi

TE

Gn

Ga

Ethernet.etc

UTRAN
Um

Iu

ATM

SGSN

Ga

CG

BG
Gp

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 6

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 7

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 8

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 9

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 10

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 11

GPRS Network Structure


Important Entity Function __ DNS
SGSN GGSN(A)

ISP A GPRS backbone


BSS DNS GGSN(B) Internet/ Intranet

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)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 12

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 13

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 14

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 15

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 16

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 17

2G Network States Transition


IDLE IDLE

GPRS Attach

GPRS Detach

GPRS Attach

GPRS Detach or Cancel Location

READY

Implicit Detach or Cancel Location

READY

READY timer expiry or Force to STANDBY

PDU transmission

READY timer expiry or Force to STANDBY or Abnormal RLC condition

PDU reception

STANDBY

STANDBY

MM State Model of MS

MM State Model of SGSN

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 18

3G Network States Transition


PM M D ETAC H ED PM M D ETAC H ED

PS D etach

PS Attach PS S ignalling C onnection R eleas e

D etach, PS Attach R eject, RAU R eject

PS D etach

PS Attach PS S ignalling C onnection R eleas e

D etach, PS Attach R eject, RAU R eject

PM M-ID LE SM -ACT IV E or INA CT IVE PS S ignalling C onnection Establish

PMM C ONNE CTE D SM-ACTIV E or INA CTIVE

PMM -ID LE

PM MC ONNE CTE D

SM-ACTIV E or SM-ACTIV E or PS S ignalling INA CTIVE INA CTIVE C onnection Establish

S erving RNC reloc ation

MS MM States

3G -SG SN MM States

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 20

Attach Procedure

(IMSI or PTMSI+RAI)

(PTMSI) (IMSI)

(Identity Type = IMSI) (IMSI)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 21

Attach Procedure

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 22

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

MS can request Session Management services

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 23

Reject caused by GPRS Core Network


Cause in attach reject
Illegal MS Illegal ME

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

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 perform a PLMN selection

The MS shall search for a suitable cell in another location area in the same PLMN

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 24

Attach Procedure __ MM Context


Field Description A/Gb mode X X Iu mode IMSI MM State 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). X X X X

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

Service Area Code Age VLR Number New SGSN Address

X X X

Authentication Vectors Kc CKSN Ciphering algorithm CK

X X X

X 2) 2) X X

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 25

X 1)

Currently used Iu mode ciphering key.

Attach Procedure __ MM Context


IK KSI MS Radio Access Capability MS Network Capability DRX Parameters Radio Priority SMS MNRG NGAF PPF Subscribed Charging Characteristics 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

SMS Parameters Recovery GPRS-CSI ODB for PS parameters

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.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 27

Detach Procedure (MS Initiation)


MS B S S /U T R A N SG SN G G SN 1 . D e ta c h R e q u e st

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

Detach type bit4 bit3 bit2 bit1

power off

detach tye

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

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.
Page 29

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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 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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 31

Layered Location Management Mode (2G)

HLR

SGSN

SGSN number

BSS ready state: cell number MS Standby state: RAI

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 32

Layered Location Management Mode (3G)

HLR

SGSN

SGSN number

RNC PMM-connect state: RNCID,RAI MS PMM-idle: RAI

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 33

Network Architecture
PDN

Route area update

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

Move the Iu interface to the other RNC


Handover procedure

RNC2

Iur RNC1

HLR/AUC RNC4

RNC3

RA4 RA1 RA2 RA3

RA5

RA9

RA10

Move the radio link to the other NodeB

RA6

RA7

RA9

MS

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 34

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 35

Routeing Area Update Procedure


Gn SGSN SGSN

RAI 1

RAI 2

RAI 3

RAI 4

cell

Inter SGSN -RAU

MS

Intra SGSN-RAU

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 36

Inter-SGSN RAU Procedure (2G)

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 (3G)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 39

Inter-SGSN RAU Procedure (3G)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 40

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 41

Service Request Procedure MS initiated


MS RNC SGSN HLR GGSN
1. RRC Connection Request 1. RRC Connection Setup 2. Service Request 3. Security Functions
4. Service Accept

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 42

Service Request Procedurenetwork initiated


MS RNC SGSN
1. Downlink PDU 2. Paging 2. Paging 3. RRC Connection Request 3. RRC Connection Setup 4. Service Request 5. Security Functions 6. Radio Access Bearer Assignment Request

HLR

GGSN

6. Radio Bearer Setup

6. Radio Bearer Setup Complete

6. Radio Access Bearer Assignment Response

7. SGSN-Initiated PDP Context Modification Procedure 8. Downlink PDU

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 43

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 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

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 45

Purge Function
SGSN 1. Purge MS 2. Purge MS Ack HLR

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 46

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 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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

Distribution of authentication vectors from HE to SN

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

Compute CK(i) and IK(i)

Select CK(i) and IK(i)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 50

Authentication Function (2G-3G)


Release 99+

HLR/AuC
Quintets

CK, IK Kc RES SRES Triplets

Release 98- or Release 99+ HLR/AuC


Triplets Triplets

Release 99+ VLR/SGSN


CK, IK Kc CK IK [Kc] CK, IK Kc RES SRES [Kc]

Release 98VLR/SGSN
Kc CK, IK
[Kc]

Release 99+ VLR/SGSN

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 capable of UMTS AKA

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

CK, IK Kc RES SRES

CK, IK Kc RES SRES

USIM UMTS security GSM security

SIM

GSM security context

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 51

Identity Check

Function

Get IMSI from MS Check the IMEI

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 52

Identity Check

MS

BSS/UTRAN

SGSN

EIR

1. Identity Request 1. Identity Response 2. Check IMEI 2. Check IMEI Ack

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 54

P-TMSI Reallocation

MS

BSS/UTRAN

SGSN

1. P-TMSI Reallocation Command 2. P-TMSI Reallocation Complete

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 55

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 56

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 57

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 58

Paging for GPRS (2G)


MS BSS SGSN 1. PDP PDU STANDBY 3. GPRS Paging Request 4. Any LLC Frame (Receive Ready or Information frame) 5. Any LLC Frame 2. Paging Request

(IMSI, P-TMSI, Area, Channel Needed, QoS, DRX Parameters)

READY

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 59

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 60

Paging Initiated by CN (3G)


PS Paging Initiated by 3G-SGSN without RRC Connection for CS
MS RNS MSC/VLR

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

(IMSI, P-TMSI, Area, CN Domain Indicator, DRX parameters)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 61

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 62

Paging Initiated by CN (3G)


PS Paging Initiated by 3G-SGSN with RRC Connection for CS
MS RNS MSC/VLR

Connection Established

PMM IDLE

3G-SGSN 1. PDP PDU or Downlink signalling

3. Paging Type2 4. Service Request

(RRC paging)

2. Paging

4. Service Request
PMM CONNECTED

(IMSI, P-TMSI, Area, CN Domain Indicator, DRX parameters)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 63

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 64

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 69

MM Context and PDP Context


HLR

MS Uu

BSC Gb/ Iu or RNC

SGSN Gn
MM context PDP context #1 . . PDP context #n

GGSN

MM context PDP context #1 . . PDP context #n

PDP context #1 . . . PDP context #n

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 70

Important Concept __ PDP State


INACTIVE

Activate PDP Context

Deactivate PDP Context or MM state change to IDLE or PMM-DETACHED

ACTIVE

PDP state

inactivecannot transmit data activecan transmit data

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 71

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 72

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 73

Important Concept __ 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

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 74

Important Concept __ APN


IP1 GGSN1

APN1

APN1 APN2 APN3

MS

APN

SGSN

GGSN2

APN2

APN

GGSN IP GGSN3
APN3

DNS

APN1=GGSN1 IP1 APN2=GGSN2 IP2 APN3=GGSN3 IP3

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 75

Important Concept __ APN


General APN

internet

GGSN GuangDong province

GGSN

SGSN

SGSN

APN:CMNET MS Roaming MS

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 76

Important Concept __ APN


Area APN

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

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 78

PDP Active Procedure (2G)


MS BSS 2G-SGSN 2G-GGSN

1. Activate PDP Context Request C1 2. Security Functions

3. Create PDP Context Request 3. Create PDP Context Response 4. BSS Packet Flow Context Procedures C2 5. Activate PDP Context Accept

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 79

PDP Active Procedure (3G)


MS UTRAN 3G-SGSN 3G-GGSN

1. Activate PDP Context Request (PDP Type, PDP Address, Access Point Name, QoS Requested)

C1 2. Create PDP Context Request 3. Create PDP Context Response

4. Radio Access Bearer Setup Qos

Charging ID allocation IP address 5. Update PDP Context Request 6. Update PDP Context Response C2

7. Activate PDP Context Accept

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

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 82

Handle in RNC
RAB assignment

MS

SGSN

GGSN

RNC

RAB assignment (Final negotiated Qos)

Allocate radio resource

Allocate Iu interface resource

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

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

Dynamic IP QoS Charging ID Other information


Update PDP context

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 84

Typical Application
E-mail from fixed to mobile network

HLR

BTS/No deB

BSC/R NC

SGSN

Backbone

GGSN

MS

Access server ISP Mail server e-mail

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 85

Typical Application
E-mail from mobile to fixed network

HLR

BTS/No deB

BSC/R NC

SGSN

Backbone

GGSN

MS

Access server ISP Mail server e-mail

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 86

Summary

Summary

In the whole GPRS fundamental, you

should remember some important concept and the basic signalling procedure

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 87

Thank You
www.huawei.com

Das könnte Ihnen auch gefallen