Sunteți pe pagina 1din 102

GPRS Principle

www.huawei.com

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page2

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page4

Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page5

GPRS Network Structure


What is GPRS?
General Packet Radio Service

What is the function of 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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page6

GPRS Network Structure


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

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

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: Border Gateway PDN: Packet Data Network
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page8

GPRS Network Structure


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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page9

GPRS Network Structure


Important Entity Function: SGSN Mobility management The MM functions are used to keep track of the current location of an MS within the PLMN or within another PLMN. 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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page10

GPRS Network Structure


Important Entity Function : GGSN
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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page11

GPRS Network Structure


Important Entity Function: CG
Real-time collection of GPRS CDRs Temporary storage and buffering of GPRS CDRs Pre-processing of GPRS CDRs Sending GPRS CDRs to the billing center

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page12

GPRS Network Structure


SGSN GGSN(A)

Important Entity Function: DNS


GPRS GPRS backbone backbone
BSS DNS GGSN(B) Internet/ Intranet

ISP ISP A A ISP ISP B 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)
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page13

GPRS Network Structure


Important Entity Function: HLR/AUC
Saving and updating GPRS subscriber subscription data User authentication Providing location 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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page17

Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page18

Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page19

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page20

GMM (GPRS Mobility Management)


GMM main procedures
Attach procedure RAU and periodic procedure Detach procedure

GMM other procedures


P-TMSI reallocation procedure Authentication procedure Identification procedure Subscriber management procedure

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page21

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page22

PMM (Packet Mobility Management)


The function of PMM is similar to GMM.

PMM main procedures Attach RAU and periodic RAU Detach Service request SRNS relocation

PMM other procedures P-TMSI reallocation Authentication Identification Subscriber management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page23

PMM States
PM MD ETAC H ED PMMD ETAC H ED

P S D etach PS Attach P S S ignalling Connection Releas e

Detach, PS Attach R eject, RAU Rej ect

P S D etach PS Attach PS S ignalling Connection Releas e

D etach, PS Attach Reject, RA U R eject

P MM-IDLE SM-A CT IVE or INA CTIVE

PMMCONNE CTE D S M -ACTIV E or INACTIV E

P MM-IDLE

PMM CONNE CTE D

P S S ignalling Connection Establish

SM-A CTIVE or S M-ACT IV E or PS S ignalling INA CT IVE INAC TIV E Connection Establish

Ser ving RNC reloc ation

MS MM States

3G-SGSN MM States

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page24

Mobility Management Timer Functions


READY Timer Function (GSM only)
The READY timer controls the time an MS remains in READY state in the MS and the SGSN. When the READY timer expires, the MS and SGSN MM contexts shall return to STANDBY state.

Periodic RA Update Timer Function


Upon expiry of the periodic RA update timer, the MS shall start a periodic routeing area update procedure.

Mobile Reachable Timer Function


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.
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved. Page25

MS Operation Modes for GSM


Class-A mode of operation: The MS is attached to both GPRS and other GSM services, and the MS supports simultaneous operation of GPRS and other GSM services. Class-B mode of operation: The MS is attached to both GPRS and other GSM services, but the MS can only operate one set of services at a time. Class-C mode of operation: The MS is exclusively attached to GPRS services.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page26

UE Operation Modes for UMTS


PS/CS mode of operation: The MS is attached to both the PS domain and CS domain, and the MS is capable of simultaneously operating PS services and CS services. PS mode of operation: The MS is attached to the PS domain only and may only operate services of the PS domain. However, this does not prevent CS-like services to be offered over the PS domain (e.g. VoIP). CS mode of operation: The MS is attached to the CS domain only and may only operate services of the CS domain. However, this does not prevent PS-like service to be offered over the CS domain.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page27

Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page29

Attach Procedure
(IMSI or PTMSI+RAI) (PTMSI) (IMSI) (Identity Type = IMSI) (IMSI)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page30

Attach Procedure

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

MS can request Session Management services

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

The following three entity can initiate the detach procedure


MS SGSN HLR

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page37

Detach Procedure (MS Initiated)


MS BSS/UTRAN SGSN GGSN MSC/VLR 1. Detach Request 2. Delete PDP Context Request 2. Delete PDP Context Response C1 3. IMSI Detach Indication 4. GPRS Detach Indication 5. Detach Accept C2

6. PS Signalling Connection Release

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page38

Detach Procedure (SGSN Initiated)


MS BSS/UTRAN SGSN GGSN MSC/VLR 1. Detach Request

2. Delete PDP Context Request 2. Delete PDP Context Response C1 3. GPRS Detach Indication C2

4. Detach Accept

5. PS Signalling Connection Release

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page39

Detach Procedure (HLR Initiated)


MS BSS/UTRAN SGSN GGSN HLR MSC/VLR 1. Cancel Location 3. Delete PDP Context Request 3. Delete PDP Context Response C1 5. Detach Accept 4. GPRS Detach Indication

2. Detach Request

C2 6. Cancel Location Ack 7. PS Signalling Connection Release

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

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

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page41

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page42

Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Compute CK(i) and IK(i)

Select CK(i) and IK(i)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page49

Contents
2. Mobility Management
2.1 Basic concepts 2.2 Attach and Detach 2.3 Security Function 2.4 Location Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page51

Layered Location Management Mode (2G)

HLR

SGSN

SGSN number

BSS Ready state: Current cell ID, RAI MS Standby state: last known Cell ID, RAI

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page52

Layered Location Management Mode (3G)

HLR

SGSN

SGSN number

RNC PMM-connected state: RNC ID, RAI, SAI MS PMM-idle state: RAI, SAI

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page53

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)

In the viewpoint of SGSN:


intra-SGSN RAU Inter-SGSN RAU

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page54

Routeing Area Update Procedure


Gn SGSN SGSN

RAI 1

RAI 2

RAI 3

RAI 4

cell

Inter SGSN -RAU

MS

Intra SGSN-RAU

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page55

Inter-SGSN RAU Procedure (2G)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page56

Inter-SGSN RAU Procedure (2G)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page57

Inter-SGSN RAU Procedure (3G)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page58

Inter-SGSN RAU Procedure (3G)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page60

Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page61

Paging Summary
The MM state in SGSN and MS before paging:
PMM-IDLE STANDBY mode

Change MM state in MS to PMM-Connected or Ready after successful paging.

Identification of MS in Paging message:


P-TMSI is used to identify the MS If P-TMSI is invalid or MS not respond ,then use IMSI

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page62

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page63

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page64

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page65

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)

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page67

Contents
1. GPRS Network Structure 2. Mobility Management 3. Radio Resource Management 4. Session Management

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page75

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, DHCP or Radius

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page78

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page79

APN
internet

General APN

GGSN GuangDong province

GGSN

SGSN

SGSN

APN:CMNET MS Roaming MS

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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)

Corp. Corp. Network Network

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page83

Activation Procedure
PDP context activation procedure
To establish a PDP context between the MS and the SGSN, the GGSN

Activation procedure types:


PDP context activation procedure

Secondary PDP Context Activation Procedure Network-Requested PDP Context Activation Procedure

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page84

PDP Context Activation 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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page85

PDP Context Activation 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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Receive ACCEPT from SGSN


If the QoS not accept by MS, then starts delete PDP context procedure.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Update PDP context

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page89

Handling in RNC
RAB assignment
MS SGSN GGSN

RNC

RAB assignment (Final negotiated Qos)

Allocate radio resource

Allocate Iu interface resource

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page90

Secondary PDP Context Activation Procedure


The Secondary PDP Context Activation procedure may be used to activate a PDP context while reusing the PDP address and other PDP context information from an already active PDP context, but with a different QoS profile. Procedures for APN selection and PDP address negotiation are not executed. A unique TI and a unique NSAPI shall identify each PDP context sharing the same PDP address and APN.

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page91

Secondary PDP Context Activation Procedure


For GPRS
MS BSS 2G-SGSN 2G-GGSN

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page92

Secondary PDP Context Activation Procedure


For UMTS
MS UTRAN 3G-SGSN 3G-GGSN

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page93

Network-Requested PDP Context Activation Procedure


MS SGSN HLR GGSN 1. PDP PDU 2. Send Routeing Info for GPRS 2. Send Routeing Info for GPRS Ack 3. PDU Notification Request 3. PDU Notification Response 4. Request PDP Context Activation 5. PDP Context Activation procedure

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page96

MS-Initiated Modification Procedure


MS UTRAN 1. Modify PDP Context Request 2. Update PDP Context Request 3. Update PDP Context Response 4. Radio Access Bearer Modification 5. Modify PDP Context Accept C1 SGSN GGSN

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page98

MS Initiated Deactivation Procedure


For GPRS
MS 2G-SGSN 2G-GGSN

1. Deactivate PDP Context Request C1 2. Security Functions 3. Delete PDP Context Request 3. Delete PDP Context Response 4. Deactivate PDP Context Accept

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page99

MS Initiated Deactivation Procedure

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

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page100

Summary
The course includes the flowing:
MM procedure SM procedure

Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page101

Thank you
www.huawei.com

S-ar putea să vă placă și