Professional Documents
Culture Documents
Procedures
Group 2:
Tuomas Suontausta
Antti Ärrälä
Agenda
! Mobility Management
! Attach procedure
! Detach procedure
! PDP activation
! Data transfer
! PDP deactivation
! Security Functions
! Questions
1
Acronyms
! SGSN: Serving GPRS Support Node
! GGSN: Gateway GPRS Support Node
! MS: Mobile Station
! MM: Mobility Management
! TLLI: Temporary Logical Link Identifier
! P_TMSI: Packet Temporary Mobile Subscriber Identity
! PDP: Packet Data Protocol
! GMM: GPRS mobility management
! RA: Routing Area
! IMSI: International Mobile Subscriber Identity
! BSS: Base Station Subsystem
! TID: Tunnel Identifier
! HLR: Home Location Register
! NSAPI: Network Service Area Point Identifier
Mobility Management
! Before a mobile station (MS) can send
or receive data, it must attach to a
Serving GPRS Support Node (SGSN)
! During the attachment procedure a
TLLI and a P_TMSI are assigned to the
MS
! After attaching one or more PDPs can
be negotiatiated with the SGSN
! There are 3 MM states related to a
GPRS subscriber and each state
describes the level of functionality and
information allocated Figure 1: Radio resource state machine
! In idle state,
state, the MS is not yet attached
to to the GPRS mobility management
(GMM)
2
Mobility Management continued
! In ready state,
state, the MS is attached
to GMM and is known in the
accuracy of the cell.
cell. Each cell is
associated with the routing area
(RA).
! The MS can receive and send data
for all relevant service types
! If the ready timer expires,
expires, the MS
will move to the standby state
! In the standby state,
state, the
subscriber is still attached to the Figure 2: Mobility management state model of mobile
GMM and is known in the station and SGSN
accuracy of the RA
3
GPRS Attach
! A GPRS MS is not reachable or known
by the network until the MS performs the
attach procedure and switches into the
ready mode
! To attach to the network,
network, the MS
provides its identity and indicates which
type of attach procedure is to be
performd
! There are 3 types of attach procedures:
procedures:
! GPRS attach.
attach. Needs the MS’s P_TMSI
and RAI
! IMSI attach.
attach. Specific to GSM but may be
performed via GPRS if a TMSI or
P_TMSI are not already assigned to the
MS
! IMSI/GPRS attach.
attach. Will be possible in a Figure 4: GPRS attach procedure to move to the ready mode
later release of GPRS
4
Mobile Station-Initiated GPRS Detach
! To move from the ready state to
the idle state,
state, the MS initiates a
GPRS detach procedure
! The result is that the SGSN may
delete the MM and PDP
contexts
! If GPRS detaches,
detaches, the active
PDP contexts in the GGSN
regarding this particular MS are
deactivated by the SGSN
sending a Delete PDP Context
Request message to the GGSN
! The GGSN acknowledges with Figure 6: MS-initiated GPRS detach procedure
a Delete PDP Context response
! The SGSN sends a GPRS
Detach Accept message to the
MS
5
Activating a PDP Context for Packet
Routing and Transfer
! Before data can be sent or received,
received, a PDP context (a data address)
address) must be
activated (created for the MS)
! A GPRS subscribtion contains several PDP addresses and an individual PDP
context is maintained in the MS, SGSN and GGSN for every PDP address
! It is possible to inquire/set
inquire/set the following parameters in PDP:
! Requested QoS (peak bit rate,
rate, mean bit rate,
rate, delay requirements,
requirements, reliability level
expected…)
expected…)
! Data compression or no data compression
! Wheteher or not to use TCP/IP header compression
! PDP address and type requested
! Each PDP context can be either active or inactive and 3 PDP context functions
are available – activate,
activate, deactivate,
deactivate, modify
! The MS is responsible for activationa and deactivation
! GGSN is responsible for activation (for incoming packets)
packets) and deactivation
! SGSN is responsible for modification
! A MS in standby or ready state can initiate activation or deactivation at anytime to
activate the PDP context in the MS, the SGSN or the GGSN
6
Mobile-Initiated PDP Data Protocol Context
Activation
! Establish a PDP context
between the MS and
network
! Performed automatically
or manually
...continued
! Activate PDP Context Request message constains the
following:
! NSAPI
! PDP type
! PDP address
! Request QoS
! Access Point Name (APN)
! PDP configuration options
! The MS only exchanges messages with the SGSN
7
...continued
! When SGSN receives an APN
from the MS, it checks to see if the
APN ends with .gprs
! When the SGSN has valitated the
MS parameters, it determine which
GPRS gateway to select for the
given APN.
! the SGSN sends a request
DNS query
! the DNS responds with a list
of the available GGSNs to use Figure 11: The mobile-initiated PDP context activation continued.
8
GPRS Data Transfer from the MS
! A logical link exists between
the SGSN and the MS
! SGSN holds mapping
information of the TLLI and
NSAPI to the corresponding
TID and GGSN IP
addresses
! At the GGSN the header is
stripped off and the original Figure 13: GPRS Data transfer from mobile.
IP or X.25 packet is obtained
9
Mobile-Initiated Packet Data Protocol Context
Deactivation
! MS sends a Deactivate PDP
Context request message to
the SGSN
! The SGSN sends a Delete
PDP Context request (TID)
message to the GGSN
! The GGSN return a Delete
PDP Context Response
(TID) message to the SGSN
Figure 15: Mobile-initiated PDP context deactivation.
! The SGSN returns a
Deactivate PDP Context
Accept (NSAPI) message to
the MS
10
Security Functions
! Authentication
! Ciphering (encryption)
! authenticating the user
11
References
! GPRS General Packet Radio Service
(Regis J. “Bud” Bates)
12