Vous êtes sur la page 1sur 87

GPRS

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

Why GPRS?

General Packet Radio Service

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

Gs

BSS
BSS
Um

FR

SMS-GMSC
SMS-GMSC
SMS-IWMSC
SMS-IWMSC

Gd

SS7

Ge

SGSN
SGSN

Gb
Gn

SCP
SCP

Lg

Gr

Gf

Gn
ATM
DDN
ISDN

GMLC
GMLC

HLR
HLR

Gc

GGSN
GGSN
GPRS
Backbone

Gi

Ga

Ethernet.etc

UTRAN
UTRAN
Um

Iu

ATM

SGSN
SGSN

CG
CG

Ga

EIR
EIR

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

Page7

PDN

TE
TE

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

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

Page8

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

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

Page9

GPRS Network Structure

Important Entity Function __ SGSN

Mobility management

Session management

Session Management (SM) function manages the PDP context of MS.

Routing and transfer

The mobility management functions are used to keep track of the current
location of an MS within the PLMN or within another PLMN.

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

Routing and transfer

Session Management (SM) function manages the PDP context of MS.

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 bills

Temporary storage and buffering of GPRS bills

Pre-processing of GPRS bills

Sending GPRS bills to the billing center

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

Page12

GPRS Network Structure

Important Entity Function __ DNS


SGSN

GGSN(A)

ISP A
GPRS backbone

ISP B

BSS
DNS

MS

GGSN(B)

Internet/
Intranet

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


Copyright 2006
Huawei Technologies
Co., Ltd. All rights reserved.
procedure
(UMTS)
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

Subscriber tracing (optional)

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

Page14

Contents
1.

GPRS Network Structure

2.

Mobility Management

3.

Radio Resource management

4.

Session Management

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

Page15

Contents
2.

Mobility Management
2.1 Attach and Detach
2.2 Location Management
2.3 Security Function

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

Page16

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.

Page17

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

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

Page18

2G Network States Transition


IDLE

IDLE

GPRS Attach

GPRS Detach

READY

READY timer expiry


or
Force to STANDBY

PDU transmission

GPRS Detach
or
Cancel Location

GPRS Attach

Implicit Detach
or
Cancel Location

READY

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.

Page19

Network Transition States - 2G


MS MM States

SGSN MM States
IDLE

IDLE

GPRS Attach

STANDBY

READY timer expiry or


Force to STANDBY

GPRS Detach

READY

Implicit Detach or
Cancel Location

STANDBY

PDU Transmission

GPRS Attach
READY timer expiry or
Force to STANDBY or
Abnormal RLC condition

PDU Transmission

PDU = Packet Data Unit


MM = Mobility Managment
RLC = Radio Link Control

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

Page20

GPRS Detach or
Cancel Location

READY

3G Network States Transition


PMMDETACHED

PS Detach

PMM-IDLE
SM-ACTIVE or
INACTIVE

PS Attach
PS Signalling
Connection Release

PS Signalling
Connection Establish

PMMDETACHED

Detach,
PS Attach Reject,
RAU Reject

PMMCONNECTED
SM-ACTIVE or
INACTIVE

PS Detach

PS Attach
PS Signalling
Connection Release

PMM-IDLE

Detach,
PS Attach Reject,
RAU Reject

PMMCONNECTED

SM-ACTIVE or
SM-ACTIVE or
PS Signalling
INACTIVE
INACTIVE
Connection Establish

Serving RNC
relocation

MS MM States

3G-SGSN MM States

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

Page21

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

Attach Types

GPRS Attach (PS Attach)

Combined GPRS + IMSI attach (PS + CS attach)

GPRS attach while IMSI attach (PS attach by existing CS


attach)

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

Page22

Attach Procedure
(IMSI or PTMSI+RAI)

(PTMSI)
(IMSI)

(Identity Type = IMSI)


(IMSI)

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

Page23

Attach Procedure

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

Page24

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.

Page25

MM Context
Field

Description

A/Gb
mode

Iu mode

IMSI

IMSI is the main reference key.

MM State

Mobility management state, IDLE, STANDBY, READY, PMMDETACHED, PMMIDLE, or


PMMCONNECTED.

PTMSI

Packet Temporary Mobile Subscriber Identity.

PTMSI Signature

A signature used for identification checking purposes.

IMEI

International Mobile Equipment Identity

MSISDN

The basic MSISDN of the MS.

Routeing Area

Current routeing area.

Cell Identity

Current cell in READY state, last known cell in STANDBY or IDLE state.

Cell Identity Age

Time elapsed since the last LLC PDU was received from the MS at the SGSN.

Service Area Code

Last known SAC when initial UE message was received or Location Reporting procedure was
executed.

Service Area Code Age

Time elapsed since the last SAC was received at the 3GSGSN.

VLR Number

The VLR number of the MSC/VLR currently serving this MS.

New SGSN Address

The IP address of the new SGSN where buffered and not sent NPDUs should be forwarded to.

Authentication Vectors

Authentication and ciphering parameters (authentication triplets or quintets).

Kc

Currently used A/Gb mode ciphering key.

2)

CKSN

Ciphering key sequence number of Kc.

2)

Ciphering algorithm

Selected ciphering algorithm (GEA).

CK

Currently used Iu mode ciphering key.

1)

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 26

MM Context
IK

Currently used Iu mode integrity key.

1)

KSI

Key Set Identifier.

1)

MS Radio Access Capability

MS radio access capabilities.

MS Network Capability

MS network capabilities.

DRX Parameters

Discontinuous reception parameters.

Radio Priority SMS

The RLC/MAC radio priority level for uplink SMS transmission.

MNRG

Indicates whether activity from the MS shall be reported to the HLR.

NGAF

Indicates whether activity from the MS shall be reported to the MSC/VLR.

PPF

Indicates whether paging for PS and CS services can be initiated.

Subscribed Charging Characteristics

The charging characteristics for the MS, e.g. normal, prepaid, flat-rate, and/or hot billing
subscription.

SMS Parameters

SMS-related parameters, e.g. operator-determined barring.

Recovery

Indicates if HLR or VLR is performing database recovery.

GPRSCSI

Optional GPRS CAMEL subscription information, see 3GPP TS 23.016

ODB for PS parameters

Indicates that the status of the operator determined barring for packet oriented services.

The information marked with a "1)" may be maintained if authentication is performed by the UMTS
authentication procedure.

The information marked with a "2)" may be maintained if authentication is performed by the GSM
authentication procedure.

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 27

Detach Procedure

Function

The GPRS Detach procedure allows an MS to inform the network


that it does not want to access the SGSN-based services any
longer
The GPRS Detach procedure allows the network to inform an MS
that it does not have access to the SGSN-based services any more

The following three entity can initiate the detach procedure

MS

SGSN

HLR

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

Page28

Detach Procedure (MS


Initiation)
MS

BSS/UTRAN

SGSN

GGSN

1. Detach Request

2. Delete PDP Context Request


2. Delete PDP Context Response

3. Detach Accept
4. PS Signalling Connection Release

Detach type

bit4
power
off

bit
3

bit2

bit
1

detach tye

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

Page29

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.

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

Page30

Contents
2.

Mobility Management
2.1 Attach and Detach
2.2 Location Management
2.3 Security Function

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

Page31

Location Management

Function

A mechanisms for cell and PLMN selection


A mechanism for the network to know the Routeing Area for MSs in
STANDBY, PMMIDLE and READY, PMMCONNECTED states
A mechanism for the 2GSGSN 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
PMMCONNECTED state
A mechanism for the UTRAN to indicate to an MS in RRC Connected mode
when a Routing 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 PMMCONNECTED state. This mechanism is the serving RNC
relocation procedure

URA = UMTS Routing Area


RRC = Radio Resource Control
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page32

Layered Location Management


Mode (2G)
HLR

SGSN

SGSN number

BSS
READY state: cell number
MS

STANDBY state: RAI

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

Page33

Layered Location Management


Mode (3G)
HLR

SGSN

SGSN number

RNC
PMM-CONNECT state: RNCID,RAI,SAI
MS

PMM-IDLE state: RAI

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

Page34

Network Architecture

Route area update

PDN

procedure

Gi

GGSN

SGSN can manage the


MS location information

old SGSN

via RAU procedure in RAI

Move the Iu interface to

Gr

Iu

Iu

Relocation procedure

new SGSN

Gn

level

Gn/Gp

Gn/Gp

Gr
IU

HLR/AUC

Iur RNC1

RNC2

IU

RNC3

RNC4

the other RNC

RA4

Handover procedure
RA1

RA2

RA5

RA3

RA9

RA6

Move the radio link to


the other NodeB
MS

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

Page35

RA7

RA9

RA10

Routing 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

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

Page36

Routing Area Update


Procedure
Gn

SGSN

RAI 1

RAI 2

SGSN

RAI 4

RAI 3

cell
Inter SGSN -RAU

MS

Intra SGSN-RAU

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

Page37

Inter-SGSN RAU Procedure (2G)

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

Page38

Inter-SGSN RAU Procedure (2G)

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

Page39

Inter-SGSN RAU Procedure (3G)

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

Page40

Inter-SGSN RAU Procedure (3G)

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

Page41

Service Request Procedure (UMTS


only)

MS initiated

For the active PDP context request procedure

For the data transmission

Network initiated

Paging response

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

Page42

Service Request Procedure MS


initiated
MS

SGSN

RNC

HLR

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

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

Page43

GGSN

Service Request Procedure


network initiated
MS

RNC

SGSN

HLR

GGSN

1. Downlink PDU
2. Paging
2. Paging
3. RRC Connection Request
3. RRC Connection Setup
4. Service Request
5. Security Functions

6. Radio Bearer Setup

6. Radio Bearer Setup


Complete

6. Radio Access Bearer Assignment


Request

6. Radio Access Bearer Assignment


Response

7. SGSN-Initiated PDP Context Modification Procedure


8. Downlink PDU

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

Page44

Contents
2.

Mobility Management
2.1 Attach and Detach
2.2 Location Management
2.3 Security Function

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

Page45

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

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

Page46

Purge Function
SGSN

HLR

1. Purge MS
2. Purge MS Ack

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

Page47

Mobility Management Timer


Function

Periodic RA Update Timer Function

Monitors the periodic routeing area update procedure in the MS

Upon its expiry, the MS shall start a periodic routeing area update procedure.

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 PMMIDLE

The length of the timer is set in SGSN; The value of the timer is sent to MS in
attach accept message or RAU accept message

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

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

Page48

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.

Page49

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.

Page50

Authentication Function(3G)
MS

VLR/SGSN

HE/HLR

Authentication data request


Generate authentication
vectors AV(1..n)

Distribution of
authentication
vectors from HE
to SN

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)

Authentication and
key establishment

Compare RES(i) and XRES(i)


Compute CK(i) and IK(i)

Select CK(i) and IK(i)

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

Page51

Identity Check

Function

Get IMSI from MS

Check the IMEI

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

Page52

Identity Check
MS

BSS/UTRAN

SGSN

EIR

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

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

Page53

PTMSI Reallocation

The reallocation procedure can be performed by the


PTMSI Reallocation procedure

Function

The SGSN may reallocate the PTMSI at any time

The PTMSI can be included in the

Attach procedure or

Routeing Area Update procedure

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

Page54

PTMSI Reallocation

MS

BSS/UTRAN

SGSN

1. P-TMSI Reallocation Command


2. P-TMSI Reallocation Complete

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

Page55

Contents
1.

GPRS Network Structure

2.

Mobility Management

3.

Radio Resource management

4.

Session Management

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

Page56

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.

Page57

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.

Page58

Paging for GPRS (2G)


MS

BSS

SGSN
1. PDP PDU

STANDBY

2. Paging Request

3. GPRS Paging Request

(IMSI, PTMSI,
Area, Channel
Needed, QoS,
DRX
Parameters)

4. Any LLC Frame


(Receive Ready or
Information frame)

5. Any LLC Frame

READY

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

Page59

Paging Initiated by CN (3G)

PS Paging Initiated by 3GSGSN without RRC


Connection for CS

A CN node requests paging only for MSs in PMMIDLE


state

The RNS controls whether the MS has an established


RRC connection or not

MS has no RRC connection

Paging Type1 is transferred on the Paging channel

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

Page60

Paging Initiated by CN (3G)

PS Paging Initiated by 3GSGSN without RRC


Connection for CS
MS

RNS

MSC/VLR

3G-SGSN
1. PDP PDU or
Downlink signaling

PMM IDLE
3. Paging Type1

(PCH paging)

2. Paging

4. Service Request
4. Service Request
PMM
CONNECTED

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

Page61

(IMSI, PTMSI,
Area, CN
Domain
Indicator, DRX
parameters)

Paging Initiated by CN (3G)

PS Paging Initiated by 3GSGSN with RRC Connection


for CS

A CN node requests paging only for MSs in PMMIDLE


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 Type2 is base on the establish RRC connection

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

Page62

Paging Initiated by CN (3G)

PS Paging Initiated by 3GSGSN with RRC Connection


for CS
MS

RNS

MSC/VLR

Connection Established

3G-SGSN
1. PDP PDU or
Downlink signalling

PMM IDLE

3. Paging Type2

(RRC paging)

2. Paging

4. Service Request
4. Service Request
PMM
CONNECTED

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

Page63

(IMSI, PTMSI,
Area, CN
Domain
Indicator, DRX
parameters)

Contents
1.

GPRS Network Structure

2.

Mobility Management

3.

Radio Resource management

4.

Session Management

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

Page64

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.

Page65

Session Management
BTS

BSC
ISP A
GGSN (A)

ISP B

MS

APN_NI
Or APN_NI+APN_OI

SGSN
DNS

Backbone

GGSN (B)
APN-NI

DNS DNS
APN_NI+APN_OI GGSN IP
address
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.

Page66

Corp.
Network

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 RA, QoS


(Quality of Service), Charging ID etc.

PDP context exists in MS, SGSN, GGSN and RNC/BSS

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

Page67

PDP Context
Each MM context contains zero or more of the following PDP contexts:
Field

Description

A/Gb
mode

Iu
mode

PDP Context Identifier

Index of the PDP context.

PDP State

Packet data protocol state, INACTIVE or ACTIVE.

PDP Type

PDP type, e.g. PPP or IP.

PDP Address

PDP address, e.g. an IP address.

APN Subscribed

The APN received from the HLR.

APN in Use

The APN currently used. This APN shall be composed of


the APNNetwork Identifier and the APN Operator
Identifier.

NSAPI

Network layer Service Access Point Identifier.

TI

Transaction Identifier.

TEID for Gn/Gp

Tunnel Endpoint Identifier for the Gn and Gp interfaces.

TEID for Iu

Tunnel Endpoint Identifier for the Iu interface.

GGSN Address in Use

The IP address of the GGSN currently used.

VPLMN Address Allowed

Specifies whether the MS is allowed to use the APN in


the domain of the HPLMN only, or additionally the APN
in the domain of the VPLMN.

QoS Profile Subscribed

The quality of service profile subscribed.

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

Page68

PDP Context
QoS Profile Requested

The quality of service profile requested.

QoS Profile Negotiated

The quality of service profile negotiated.

Radio Priority

The RLC/MAC radio priority level for uplink user data


transmission.

Packet Flow Id

Packet flow identifier.

Aggregate BSS QoS


Profile Negotiated

The aggregate BSS quality of service profile negotiated for


the packet flow that this PDP context belongs to.

Send NPDU Number

SNDCP sequence number of the next downlink NPDU to


be sent to the MS.

Receive NPDU Number

SNDCP sequence number of the next uplink NPDU


expected from the MS.

GTPSND

GTPU sequence number of the next downlink NPDU to be


sent to the MS.

GTPSNU

GTPU sequence number of the next uplink NPDU to be


sent to the GGSN.

PDCPSND

Sequence number of the next downlink in-sequence


PDCPPDU to be sent to the MS.

PDCPSNU

Sequence number of the next uplink in-sequence


PDCPPDU expected from the MS.

Charging Id

Charging identifier, identifies charging records generated


by SGSN and GGSN.

PDP Context Charging


Characteristics

The charging characteristics of this PDP context, e.g.


normal, prepaid, flat-rate, and/or hot billing.

RNC
Addressin2006
Use HuaweiThe
IP addressCo.,
of the
currently
used.
Copyright
Technologies
Ltd.RNC
All rights
reserved.

Page69

MM Context and PDP Context


HLR

MS
Uu

BSC

Gb/ Iu

SGSN

Gn

GGSN

or RNC
MM context

MM context

PDP context
#1

PDP context
#1

PDP context
#1
.

PDP context
#n

PDP context
#n

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

PDP context
#n

Page70

PDP State
INACTIVE

PDP state

inactive cannot
transmit data
active can 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.

Page71

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.

Page72

QoS

QoS is quality of service

It is a group of parameters that can define the


network ability, such as

bit rate for downlink data transmission

bit rate for uplink data transmission

reliability class

delay class

etc.

It is an end to end concept

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

Page73

APN

APN structure: APN_NI+APN_OI

huawei.com.cn.mnc<MNC>.mcc<MCC>.gprs
google.com.mnc001.mcc262.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.

Page74

APN
APN structure: APN_NI + APN_OI

APN Network ID
shall not end with .gprs

APN Network ID

APN Operator ID
fixed extension, must end
APNwith
Operator
.gprs ID

huawei.com.cn.mnc<MNC>.mcc<MCC>.gprs
google.com.mnc262.mcc01.gprs
APN_OI: must end with .gprs
APN_NI: shall not end with .gprs

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

Page75

APN
IP1

GGSN1

APN1

APN1
APN2

MS

APN

SGSN

GGSN2

APN3

APN

APN2

GGSN IP
GGSN3

DNS

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

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

Page76

APN3

APN
internet

General
APN

GGSN

GGSN

SGSN

SGSN

GuangDong province

APN:CMNET
MS

MS
Roaming

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

Page77

APN

Area APN

VPN tunnel

GGSN

GGSN

Province 1

Province 2

SGSN

SGSN

APN:test.xy
MS

MS
Roaming

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

Page78

PDP Activation Procedure

PDP context activation procedure

To establish a PDP context between the MS and the


SGSN, the GGSN

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

Page79

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

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

Page80

PDP Active Procedure (3G)


MS

UTRAN

3G-SGSN

1. Activate PDP Context Request


(PDP Type, PDP Address, Access Point Name,
QoS Requested)

3G-GGSN

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

4. Radio
Access
Qos

Bearer

Setup

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.

Page81

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.

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

Page82

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

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

Page83

Handle in RNC

RAB assignment

MS

SGSN

RNC

Allocate radio resource

GGSN

RAB assignment
(Final negotiated
Qos)

Allocate Iu interface resource

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

Page84

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

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

Page85

Summary

In the whole GPRS fundamental, you should


remember some important concept and the basic
signalling procedure

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

Page86

Thank you
www.huawei.com

Vous aimerez peut-être aussi