You are on page 1of 21

Mobility Management (MM)

Different MM schemes for CS and PS mode


MM states
t t
Involved protocols
Procedures
P d

References:
Kaaranen, Ahtiainen, Laitinen, Naghian, Niemi: UMTS Networks Architecture, Mobility
and Services. Wiley 2001, Ch. 5.2 (MM states) and 10.3 (MM procedures)
3G 23.060 GPRS Service Description
3G 24.007 Mobile radio interface signaling layer 3, General aspects

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 1


Mobility Management (MM) Basics

Mobility Management
covers all procedures
procedures, methods and identities
required to maintain knowledge about the UEs locations when it is
moving in the network

Involved entities
UE
CN
SGSN (PS mode, transitions between PMM states)
MSC/VLR (CS mode, transitions between MM states)
HLR (in
(i home
h network)
t k)
in MM/PMM connected mode
RNC (cell and/or URA updates)
GGSN/GMSC
in case of roaming
visited PLMN

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 2


CS Mobility Management States
MM in CS mode is highly related to connection management

no active call active call


(nor signaling) call completion (or signaling)
call setup or
LA update MM-
MM
MM-
Idle Connecte
d

cell known
LA known IMSI detach
(paging
(pag g possible)
po b ) IMSI attach or
LA update (UE is switched on)

MM-
D t h d
Detached
LA unknown
(no paging)
UE switched
it h d off
ff
MM state is maintained in UE and MSC/VLR
UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 3
PS (GPRS) Mobility Management States
M S M M S tates 3G -S G S N M M S tates

PM M - PM M-
DET ACHED DET ACHED

GPRS detach D etac h, D etac h,


P S D etac h P S A ttach R eject, P S D etac h P S A ttach R eject,
P S A ttach R A U R eje ct P S A ttach R A U R eje ct
GPRS attach
P S S ignalling P S S ignalling
C onn ection R ele ase PM M- C onn ection R ele ase PM M -
P M M -ID L E C O N N E C TE D P M M -ID L E C O N N EC TED
S M -A C T IV E o r S M -A C T IV E o r S M -A C T IV E o r S M -A C T IV E o r
IN A C T IV E P S S ignalling IN A C T IV E IN A C T IV E P S S ignalling IN A C T IV E
C onn ection E s ta blish C onn ection E s ta blish

Paging only Signaling


g g
(no signaling connection
between
S ervin g R N C
connection reloc ation
between MS MS and SGSN PS Mobility Management (PMM) is
and
d SGSN) (addressing independent of Session Management (SM), (SM)
by U-RNTI) e.g. availability of IP address & traffic activity
PMM is independent of the number and state of PDP
U-RNTI:
U RNTI: UTRAN - Radio Network Temporary Identity contexts for the subscriber
In both the PMM-IDLE and the PMM-CONNECTED states,
session management may or may not have activated a PDP
Source: 3GPP 23.060-4.1.0
context (assigned a dynamic IP address)
UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 4
Signaling Connection

No signaling connection exists (MM/PMM-IDLE state)


UE has no relation to UTRAN, only to CN
no data transfer
paging identification by IMSI, TMSI, P-TMSI

Signaling connection exists (MM/PMM-CONNECTED state)


Addressingg byy U-RNTI
UE position can be known on different levels:

- URA level (UTRAN registration area): URA is a specified set of


cells, which can be identified on the broadcast channel (BCCH)

- Cell level: Different channel types can be used for data transfer:
- Common transport channels (RACH, FACH, CPCH, DSCH)
- Dedicated transport channels (DCH)

Source: 3GPP 25.301-4.1.0, ch 6.2


UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 5
Relations between CM/SM, MM/PMM and RRC
States

CM/SM state(s) Subscrip


Subscrip- PDCP inactive active
(UE-SGSN-GGSN) tion address
Core
Network
MM/PMM state detached idle connected
(UE, SGSN, HLR)

Signaling none yes


connection
(UE-SGSN)
UTRAN
RRC state idle connected
(cell_DCH, cell_FACH,
(UE-RNC) cell_PCH, or URA_PCH)

Paging using Addressing


TMSI/P-TMSI using RNTI

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 6


PS Mobility Management States
PMM-DETACHED State:
No communication between the MS and the SGSN
MS and SGSN hold no valid location or routing information for the MS
MS MM state machine does not react to system information related to
the SGSN
MS is not reachable by the PLMN, as the MS location is not known to
the SGSN
MM context establishment:
GPRS-attach procedure: establish MM contexts in the MS and the SGSN
When PS signalling connection is established between the MS and
the SGSN for performing the GPRS attach, the state changes to
PMM-CONNECTED in the SGSN and in the MS
The PS signalling connection is made up of two parts: an RRC
connection and an Iu connection

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 7 o


PS Mobility Management States
PMM-CONNECTED State:
MS location is known in the SGSN with an accuracy of a serving RNC
Location of the MS is tracked by the serving RNC
MS performs the routing area update procedure when RAI changes
A PS signaling connection is established between the MS and the SGSN
R l
Release off signaling
i li connection
ti (move
( to
t PMM-IDLE
PMM IDLE state):
t t )
In SGSN: PS signalling connection release or failed downlink transfer with cause
"IMSI unknown in RNC" changes the state to PMM-IDLE
In MS: enter the PMM-IDLE state when its PS signaling connection to the SGSN
has been released or broken (release or failure is explicitly indicated by the
RNC to the MS or detected by the MS > RRC connection failure)
Si
Signaling
li connection
ti is
i also
l released
l d if a URA update
d t fails
f il because
b off "RRC
connection not established", or if the URA update timer expires while the MS is
out of coverage
SGSN may decide to release the PS signaling connection after a signaling
procedure (e.g. routing area update)
MM context release:
GPRS detach changes the state to PMM-DETACHED

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 8 o


PS Mobility Management States
PMM-IDLE State:
MS location is known in the SGSN with an accuracy of a routing area
Paging is needed in order
o de to reach
each the MS,
MS e.g.
e g for
fo signalling
MS and SGSN have established MM contexts
MS pperforms a routing
g area update
p if the RA changes
g
(signaling towards the HLR is needed if the (new) SGSN does not have
an MM context for this MS)
Establishment of signaling connection (move to PMM-CONNECTED state):
MS and SGSN enter the PMM-CONNECTED state when the PS signalling
connection is established between the MS and the SGSN
MM context release:
GPRS detach procedure changes the state to PMM-DETACHED
SGSN may perform
f an implicit
i li it GPRS detach
d t h any time
ti after
ft ththe MS
reachable timer expiry; the MS's MM context is deleted, preferably after
a certain (implementation dependent) time; the HLR may be informed
about the deletion

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 9 o


Mobility Management
Involved Protocols (PS mode)
Protocols used by MM procedures
Uu: RRC protocol
Iu: RANAP protocol
Gr ((SGSN and HLR):
) MAP protocol
p
Gf (SGSN and EIR): MAP protocol
Gs (SGSN and VLR): BSSAP+ protocol

Source: 3GPP 23.060-4.1.0, Ch 6.4

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 10 o


Mobility Management Procedures

Connected state
Cell
C ll update
d (PS mode):
d ) UE-UTRAN
UE UTRAN interaction
i i
URA update (PS mode): UE-UTRAN interaction

Idle state
RA Update (PS mode): UE-CN interaction (transparent to UTRAN)
LA UUpdate
d t (CS mode):
d ) UE-CN
UE CN iinteraction
t ti (t(transparentt tto UTRAN)

See also Kaaranen, ch 10.3

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 11


Cell Update (PS)
PS mode:
d
-> explicit cell update procedure
UE RNC

Reasons for cell update


reason for cell reselection
cell update periodic cell update
uplink data transmission
RRC: cell update paging
g g response
re-entered service area
radio link failure
RRC: cell update confirm
unrecoverable RLC error

exchange
g of RRC msgs
g
CS mode:
continuous exchange of cell
information
o at o duduring
g call
ca (or
(o transaction)
t a sact o )

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 12


URA Update (PS)

PS mode:
UE RNC
->
> explicit URA update procedure

reason for Reasons for URA update


p
URA update
URA identity changes
periodic URA update
RRC: URA update

RRC: URA update confirm

exchange
g of RRC msgs
g

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 13


A Upd
RA with c
date (w ge of S
chang N)
SGSN

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 14


new old new old new old

ails)
MS SRNS SRNS 3G-SGSN 3G-SGSN GGSN MSC/VLR HLR MSC/VLR

pdate (deta 1. Routeing


g Area Update
p Request
q
2 SGSN C
2. Context
t tR Requestt

2a. SRNS Context Request C1

2a. SRNS Context Response

2. SGSN Context Response


3. Security Functions
RA Up

4. SGSN Context Ack


5. SRNS Data Forward Command
R

6. Forward Packets
7. Forward Packets

C2

8. Update PDP Context Request


8. Update PDP Context Response
060

9 Update Location
9.
e: 3GPP 23.0

10. Cancel Location


10a. Iu Release Command
Source

10a Iu Release Complete


10a.
10. Cancel Location Ack

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 15 o


new old new old new old

ails)
MS SRNS SRNS 3G-SGSN 3G-SGSN GGSN MSC/VLR HLR MSC/VLR

pdate (deta 11 Insert


11. I t Subscriber
S b ib Data
Dt

dic RA
es 11. Insert Subscriber Data Ack

12. Update
p Location Ack
Exxpiration of period
RA update
ntering a new RAA
13. Location Update Request
14a. Update Location

pdate
14b Cancel Location
14b.
RA Up
ons for R

Combineed LA/RA up
14c. Cancel Location Ack
timer

14d. Insert Subscriber Data


R
Reaso
En

...

14e. Insert Subscriber Data Ack

14f. Update Location Ack


15. Location Update Accept

C2

16. Routeing Area Update Accept

C3

17. Routeing Area Update Complete


18. TMSI Reallocation Complete

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 16 o


Routeing Area Update Procedure Details (1)
A routeing area update takes place when 2) If the RA update is an Inter-SGSN Routeing area
an attached MS detects that it has entered a new RA update and if the MS was in PMM-IDLE state, the new
when the periodic RA update timer has expired SGSN sends an SGSN Context Request message (old
when RRC connection is released with cause "Directed P-TMSI, old RAI, old P-TMSI Signature) to the old SGSN
Signalling connection re-establishment" to get the MM and PDP contexts for the MS. The old
when
h the h MS has
h to indicate
d new access capabilities
bl to SGSN validates
lid the
h old
ld P-TMSI
P TMSI SiSignature andd responds
d
the network with an appropriate error cause if it does not match the
The SGSN detects that it is an intra-SGSN routeing area value stored in the old SGSN. This should initiate the
update by noticing that it also handles the old RA. In this security functions in the new SGSN. If the security
case, the SGSN has the necessary information about the functions authenticate the MS correctly, y, the new SGSN
MS and there is no need to inform
f the GGSNs or the HLR shall send an SGSN Context Request (IMSI, old RAI, MS
about the new MS location. A periodic RA update is Validated) message to the old SGSN. MS Validated
always an intra-SGSN routeing area update.
indicates that the new SGSN has authenticated the MS. If
In Iu mode, an RA update is either an intra-SGSN or the old P-TMSI Signature was valid or if the new SGSN
inter-SGSN RA update, either combined RA / LA update or
indicates that it has authenticated the MSMS, the old SGSN
only RA update, either initiated by an MS in
PMM-CONNECTED (only valid after a Serving RNS responds with SGSN Context Response (Cause, IMSI, MM
Relocation Procedure, see clause 6.9.2.2) or in PMM-IDLE Context, PDP contexts). If the MS is not known in the old
state. All the RA update cases are contained in the SGSN, the old SGSN responds with an appropriate error
procedure illustrated in the figure. cause. The old SGSN starts a timer. The new SGSN shall
i
ignore the
th MS Network
N t kCCapability
bilit contained
t i d iin MM
1) The RRC connection is established, if not already done. Context of SGSN Context Response only when it has
The MS sends a Routeing Area Update Request message previously received an MS Network Capability in the
(P-TMSI, old RAI, old P-TMSI Signature, Update Type, Routeing Area Request.
follow on request, etc.) to the new SGSN. Update Type
shall indicate:
RA Update if the RA Update is triggered by a change
of RA;
Periodic RA Update if the RA update is triggered by
p y of the Periodic RA Update
the expiry p timer;;
Combined RA/LA Update if the MS is also IMSI-
attached

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 17 o


Routeing Area Update Procedure Details (2)
2a) If the MS is PMM-CONNECTED
PMM CONNECTED state in the old 4) If the RA update is an Inter-SGSN
Inter SGSN Routeing area
3G-SGSN or, in case of an intra-SGSN RA update, if the update, the new SGSN sends an SGSN Context
MS is in the PMM-CONNECTED state and the RAU was Acknowledge message to the old SGSN. The old SGSN
received over another Iu connection than the established marks in its context that the MSC/VLR association and the
one, the old SGSN sends an SRNS Context Request (IMSI) information in the GGSNs and the HLR are invalid. This
message to the old SRNS to retrieve the sequence triggers the MSC/VLR
MSC/VLR, the GGSNs
GGSNs, and the HLR to be
numbers for the PDP context for inclusion in the SGSN updated if the MS initiates a routeing area update
Context Response message from the SRNS. Upon procedure back to the old SGSN before completing the
reception of this message, the SRNS buffers and stops ongoing routeing area update procedure.
sending downlink PDUs to the MS and returns an SRNS
Context Response (IMSI, GTP-SNDs, GTP-SNUs, 5) If the MS is in PMM-CONNECTED state in the old 3G-
PDCP-SNUs) message. The SRNS shall include for each SGSN or, in case of an intra-SGSN RA update, if the MS is
PDP context the next in-sequence GTP sequence number PMM connected and the RAU was received over another
to be sent to the MS and the GTP sequence number of Iu connection than the established one, the old 3G-SGSN
the next uplink PDU to be tunnelled to the GGSN. For sends an SRNS Data Forward Command (RAB ID, ID
each active PDP context using acknowledged mode, the Transport Layer Address, Iu Transport Association)
SRNS also includes the uplink PDCP sequence number message to the SRNS. Upon receipt of the SRNS Data
(PDCP-SNU). PDCP-SNU shall be the next in-sequence Forward Command message from the 3G-SGSN, the SRNS
PDCP sequence number expected from the MS (per each shall start the data-forwarding timer.
active radio bearer)
bearer).

6) The SRNS shall start tunnelling the partly transmitted


3) Security functions may be executed. These procedures and the transmitted but not acknowledged PDCP-PDUs
are defined in clause "Security Function". If the security together with the PDCP downlink sequence number, and
functions do not authenticate the MS correctly, the start
t td duplicating
li ti and d tunnelling
t lli the
th buffered
b ff d GTP PDUsPDU tot
routeing area update shall be rejected, and the new SGSN the old 3G-SGSN.
shall send a reject indication to the old SGSN. The old
SGSN shall continue as if the SGSN Context Request was
never received. 7) If the RA update is an Inter-SGSN RA Update, the old
3G SGSN tunnels the GTP PDUs to the new 3G-SGSN
3G-SGSN 3G SGSN.

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 18 o


Routeing Area Update Procedure Details (3)
8) If the RA update is an Inter-SGSN
Inter SGSN RA Update and if 11) If the RA update is an nter-SGSN
nter SGSN RA Update, the HLR
the MS wasnot in PMM-CONNECTED state in the new 3G- sends Insert Subscriber Data (IMSI, subscription data) to
SGSN, the new SGSN sends Update PDP Context Request the new SGSN. The new SGSN validates the MS's
(new SGSN Address, QoS Negotiated, Tunnel Endpoint presence in the (new) RA. If due to regional subscription
Identifier,) to the GGSNs concerned. The GGSNs update restrictions the MS cannot attach to the RA, the SGSN
their PDP context fields and return an Update PDP rejects the Routeing Area Update Request with an
Context Response (Tunnel Endpoint Identifier). Note: If appropriate cause, and may return an Insert Subscriber
the RA update is an Inter-SGSN routeing area update Data Ack (IMSI, SGSN Area Restricted) message to the
initiated by an MS in PMM-CONNECTED state in the new HLR. If all checks are successful, the SGSN constructs an
3G-SGSN, the Update PDP Context Request message is MM context for the MS and returns an Insert Subscriber
sent as described in subclause "Serving RNS Relocation Data Ack (IMSI) message to the HLR.
P
Procedures".
d "
12) If the RA update is an Inter-SGSN RA Update, the
9) If the RA update is an Inter-SGSN RA Update, the new HLR acknowledges the Update Location by sending
SGSN informs the HLR of the change of SGSN by sending Update Location Ack (IMSI) to the new SGSN.
Update Location (SGSN Number, SGSN Address, IMSI) to
the HLR.
HLR
13) If Update Type indicates combined RA/LA update with
10) If the RA update is an nter-SGSN RA Update, the HLR IMSI attach requested, or if the LA changed with the
sends Cancel Location (IMSI, Cancellation Type) to the routeing area update, the association has to be
old SGSN with Cancellation Type set to Update Procedure. established, and the new SGSN sends a Location Update
If the timer described in step 2 is not running,
running the old Request (new LAI, IMSI, SGSN Number, Location Update
SGSN removes the MM context. Otherwise, the contexts Type) to the VLR. Location Update Type shall indicate
are removed only when the timer expires. It also ensures IMSI attach if Update Type in step 1 indicated combined
that the MM context is kept in the old SGSN in case the RA / LA update with ISI attach requested. Otherwise,
MS initiates another inter SGSN routeing area update Location Update Type shall indicate normal location
before completing
p g the ongoing
g g routeing g area update
p to update.
p The VLR number is translated from the RAI via a
the new SGSN. The old SGSN acknowledges with Cancel table in the SGSN. The SGSN starts the location update
Location Ack (IMSI). procedure towards the new MSC/VLR upon receipt of the
first Insert Subscriber Data message from the HLR in
10a) On receipt of Cancel Location, if the MS is step 8). The VLR creates or updates the association with
PMM-CONNECTED in the old 3G-SGSN,, the old 3G-SGSN the SGSN by storing SGSN Number.
sends an Iu Release Command message to the old SRNC.
When the data-forwarding timer has expired, the SRNS
responds with an Iu Release Complete message.

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 19 o


Routeing Area Update Procedure Details (4)
14) If the subscriber data in the VLR is marked as not 17) The MS confirms the reallocation of the TMSIs by
confirmed by the HLR, the new VLR informs the HLR. The returning a Routeing Area Update Complete message to
HLR cancels the old VLR and inserts subscriber data in the SGSN.
the new VLR (this signalling is not modified from existing
GSM signalling and is included here for illustrative
purposes): 18) The new SGSN sends a TMSI Reallocation Complete
a) The new VLR sends an Update Location (new VLR) to message to the new VLR if the MS confirms the VLR
the HLR. TMSI.
b) The HLR cancels the data in the old VLR by sending
Cancel Location (IMSI) to the old VLR. NOTE 3: Steps 14, 15, and 18 are performed only if
c) The old VLR acknowledges with Cancel Location Ack step
t 12 is
i performed.
f d
(IMSI).
d) The HLR sends Insert Subscriber Data (IMSI, GSM
subscriber data) to the new VLR.
e) The new VLR acknowledges with Insert Subscriber
Data Ack (IMSI)
(IMSI).
f) The HLR responds with Update Location Ack (IMSI) to
the new VLR.

15)) The new VLR allocates a new TMSI and responds


p with
Location Update Accept (VLR TMSI) to the SGSN. VLR
TMSI is optional if the VLR has not changed.

16) The new SGSN validates the MS's presence in the


new RA.
RA If due to roaming restrictions the MS cannot
attach to the SGSN, or if subscription checking fails, the
SGSN rejects the routeing area update with an
appropriate cause. If all checks are successful, the new
SGSN establishes MM context for the MS. The new SGSN
responds
p to the MS with Routeing g Area Update
p Accept
p
(P-TMSI, VLR TMSI, P-TMSI Signature).

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 20 o


A Upd
LA CS)
date (C

UMTS Networks Andreas Mitschele-Thiel, Jens Mckenheim 12-Nov-08 21

You might also like