Professional Documents
Culture Documents
a) Introduction
Circuit switched communication in GSM
-------------------------------------------------------------------------------------------------143
GPRS features
HLR
R
Gs (BSSAP+)
Gr (MAP)
BT
AU
BS
A
ISP
Network
Gb
SGSN
Gn
GGSN
Gn
Gi (X.25)
Backbone
Network
Gi (IP)
Corporate
Network
PSPDN
New Hardware
New software
Figure 5.1 Mobile voice (GSM), packet data & Internet access (GPRS)
-------------------------------------------------------------------------------------------------144
BTS
Um
PSTN /
ISDN
GMSC
MSC/VLR
A
EIR
Gf
BSC
MT
AUC
Gs
Gb
SGSN
HLR
Gr
Internet
Gn
Gi
IP / ATM
backbone
TE
GGSN
Corporate
net
MS
PTM-SC
X.25 net
MS classes
Class A
well as a
Class B
Class B can be concurrently attached to the CSGSM & the GPRS but can use one of the two
services at one time. Class B MS can be paged
for an incoming CS call while being in a packet
session.
Packet session can be temporarily suspended to
take up the CS incoming call. Packet session
can resume after the CS call.
It is important to have the Gs interface between
SGSN and the MSC/VLR, since the initial MTs are
more likely to be class B.
Class C
BTS
BTS must contain GPRS-specific software. BTS can
distinguish between CS traffic from packet traffic.
BSC
BSC must be equipped with GPRS hardware (for packet
handling) and software. There can be several BSCs for an
SGSN.
-------------------------------------------------------------------------------------------------146
MSC
The MSC continues to be responsible for the CS traffic. SMS
traffic load, however, can be taken over by the GPRS network.
The SGSN Routing Area is a subset of the MSC LA.
There can be several MSCs corresponding to one SGSN. Or
there can be several SGSNs corresponding to an MSC. It is a
matter of traffic-dependent dimensioning.
Location Area
RA1
RA3
RA2
-------------------------------------------------------------------------------------------------147
The GS interface
Using the Gs interface, combined RA/LA updating is possible.
The MSC & the SGSN will keep each other updated about the
location of a terminal.
Paging coordination, required for class B MSs, is possible via
the Gs interface. The SGSN can page an MS over the packet
paging channel or even a packet traffic channel if the MS is
involved in packet transfer. The MS needs to monitor one
paging channel while it is GPRS-attached.
Gs
SGS
N
MSC/
VLR
BSC
SGS
N
SGSN
GGSN
-------------------------------------------------------------------------------------------------149
SGSN /
GGSN
ATM
SGSN
GGSN
ATM
switch
SGSN & GGSN may contain IP routing functionality
SGSN & GGSN can be in different PLMNs connected
through Border Gateways implemented in GGSNs
Figure 5.5 - Inter-connection of SGSN & GGSN nodes
Home Location Register
HLR
Database for the profile & other data of the GSM CS &
GPRS subscribers:
Supplementary services
Authentication parameters
Access Point Name (APN) such as the ISP of a
subscriber
Static IP address allocated to an MS
Location of the MS - MSC/VLR & SGSN identity
-------------------------------------------------------------------------------------------------150
-------------------------------------------------------------------------------------------------151
98
02
00
Note: - With new coding scheme CS-4 for the Radio Blocks,
a bit rate of 20 Kbps/timeslot is possible in GPRS
Figure 5.6 - Evolution of data services in GSM
IP / X.25
SNDCP
SNDCP
LLC
LLC
L
2
RLC
RLC
BSSGP
BSSGP
MAC
MAC
FR
NS / FR
GSM RF
L1bis
L1bis
GSM RF
BSS
MS
Radio
interface
L
2
SGSN
Gb
2) Multislot classes
The GSM recommendations (GSM 05.02) provide for an MS to
access more than one timeslot, say four timeslots for a data
rate of (4 * 9.6 =) 38.4 Kbps.
The recommendations provide for 29 such multislot classes,
specifying as to how many timeslots an MS can use in each
direction and the time needed for changing from Rx to Tx mode.
-------------------------------------------------------------------------------------------------154
Header
Network layer
~ 1.6 Kbytes
User data
-------------------------------------------------------------------------------------------------LLC
PDU
Header
Information
field
Tail
LLC layer
-------------------------------------------------------------------------------------------------U
S
F
Radio
blocks
RLC
RLC
Info
Head
er
B
C
S
U
S
F
RLC
RLC
Info
Head
er
B
C
S
RLC/MAC
layer
20 ~ 50
bytes
-------------------------------------------------------------------------------------------------Radio
bursts
Normal
Burst
Normal
Burst
Normal
Burst
Physical
layer
4 X 114
bits
Normal
Burst
-------------------------------------------------------------------------------------------------B0
B1
B3
B2
B4
B5
B7
B8
B9
B10
B11
Timing advance
message to an MS
Figure 5.8 - Radio blocks, Radio bursts & TDMA multiframe - downlink
-------------------------------------------------------------------------------------------------155
RLC/MAC
Header
Information
bits
M bits
Coding
Schem
e
Coding
bits
Radio
Block
456 M bits
456 bits
Max Info
bits
CS - 1
160
CS - 2
241
12
CS - 3
293
14
CS - 4
401
20
--------------------------------------------------------------------------------------------------
MS idle:
The MS has been turned on but not GPRS-attached.
The SGSN/GPRS is not aware of the presence of MS,
e.g., when the MS is outside the coverage area.
MS standby:
The MS is GPRS-attached. MS sends RA updates to
the SGSN. SGSN is aware of the location of the MS,
i.e., the identity of the RA.
MS ready:
A packet transfer is ongoing or has recently ended but
the ready timer has not yet expired. The MS sends cell
update to SGSN every time it changes cell. SGSN is
aware of the location of the MS, i.e., the identity of the
cell
The time for the ready timer is decided by the SGSN
and can take value from zero to infinity. If set to
infinity, the MS never goes back to standby state.
While in ready state, there is no need to page an MS.
The SGSN sends the LLC frames to the packet
controller in the BSC along with cell identity and the
packet handler sends the assignment immediately.
-------------------------------------------------------------------------------------------------156
Idle
GPRS
attach
GPRS
detach
Standby
timer expiry
Ready
PDU
transfer
Idle
GPRS detach or
cancel location
GPRS
attach
Ready
Ready timer expiry /
Forced to standby /
Abnormal RLC state
Standby
Figure 5.10 - MM in SGSN - state diagram
-------------------------------------------------------------------------------------------------157
Logical channels
Broadcast Channel
PBCCH
Packet Broadcast Channel
-------------------------------------------------------------------------------------------------158
B1
PTCCH
B2
B3
Idle
B4
B5
B7
B8
B9
B10
B11
--------------------------------------------------------------------------------------------------
159
6) GPRS RR management
Common resource pool - Carriers & timeslots
C0
BTS
BSC
C7
0
Timeslot
TCH
160
Channel Reservation strategy
TBF
TBF
TBF
limit
PDCHs
PDCHs in use
PDCHs
To GPRS
idle list
PDCHs idle
Procedure:
Fill up fixed channels first
When no channels left under TBF-limit, choose next
PSET
Unused PDCHs go to GPRS idle list and remain for 5
minutes before they are released back to CS idle list
Figure 5.13 - Illustration of channel reservation strategy
7) GPRS Paging
Paging groups
The mobiles can be divided into different paging groups and
paged at scheduled group paging time when the mobile is
"awake" and listening to pages. The MS could be sleeping in
between group paging.
--------------------------------------------------------------------------------------------------
161
Paging a mobile in standby mode
--------------------------------------------------------------------------------------------------
162
8) GPRS Data transfer
MS
Network
Data block
PDTCH
Data block
PDTCH
Data block
PDTCH
PDTCH
PACCH
Data block
PDTCH
Data block
PDTCH
Data block
PDTCH
PDTCH
Final=1
PACCH
Send window
10
11
12
13
Send window
Packet Ack/Nack
0
163
9) GPRS - RLC / MAC block
Data Block
MAC
Header
RLC
Header
Spare
RL - PDU
RLC Data Block
Control Block
MAC
Header
9.05
13.40
15.60
21.40
Kbps
Kbps
Kbps
Kbps
Attach / Detach
Security procedures
Authentication & ciphering
P-TMSI allocation
Identity check
--------------------------------------------------------------------------------------------------
164
Mobility management states and RR modes
MM states
RR modes
Idle
Packet idle
Packet transfer
Ready
Packet idle
Standb
y
Packet idle
CS
MS sends measurement
reports
BSC decides on handover
Locating algorithm in BSC
GPRS
MS decides which cell to
use
Locating algorithm in MS
Network broadcasts
locating parameters
165
BSC / Packet
controller
SGSN
MSC/VLR
1,3,4,5,8,9
7,10
BSC
SGSN
AUC
4,6
2
HLR
SGSN
old
166
2) GPRS paging
MS
BSS
SGSN
PDP PDU
Paging Request
MS
BSS
SGSN
167
Gb
MS
BSS
SGSN
IP / X.25
SNDCP
SNDCP
LLC
LLC
L
2
RLC
RLC
BSSGP
BSSGP
MAC
MAC
FR
NS / FR
GSM RF
L1bis
L1bis
GSM RF
BSS
MS
Radio
interface
L
2
SGSN
Gb
168
GPRS-BSS interface
GMM
SMS
--------------------------------------------------------------------------------------------------
169
GPRS-MS interface
SM-SC
Gd
HLR
MSC/VLR
Gs
Gr
SGSN
Signalling Interface
Signalling & Data Transfer Interface
--------------------------------------------------------------------------------------------------
170
SS7 Protocol Stack
SGSN - SMS-GMSC
SGSN - SMS-IWMSC
SGSN HLR
SGSN MSC/VLR
MAP
MAP
BSSAP+
TCAP
TCAP
SCCP
SCCP
SCCP
MTP
MTP
MTP
3) GPRS - IP Interfaces
IP Interfaces
SGSN
Gn
Gn
SGSN
Gi
GGSN
PDN
TE
Gp
GGSN
Another PLMN
FR
E1
PPP
FR
RFC 1548
RFC 1490
--------------------------------------------------------------------------------------------------
171
ATM-based Communication
IP
AAL5
ATM
RFC 2225
RFC 1577
IP over ATM v 2
IP over ATM
SDH
Ethernet-based Communication
IP
LLC (802.2)
MAC (802.3 / 802.3u)
Ethernet (10 Mbps / 100 Mbps)
IP Security
All IP interfaces may also use the optional feature IPSEC for
security
IP
IPSEC
L2
L1
--------------------------------------------------------------------------------------------------
172
4) GPRS Internal Backbone
ATM switch
ATM
SGSN
GGSN
SGSN
ISP
IP/ATM
IP/FR
ISP
ISP /
Corp
R
BSC
Figure 5.29 - GPRS Internal Backbone
5) GPRS transmission protocol architecture
Application
IP
IP
Relay
SNDCP
LLC
SNDCP
GTP
GTP
LLC
UDP /
TCP
UDP /
TCP
BSSGP
IP
IP
Relay
RLC
RLC
BSSGP
MAC
MAC
NS
NS
L2
L2
GSM RF
GSM RF
L1bis
L1bis
L1
L1
MS
Um
BSS
Gb
SGSN
Gn
GGSN
Gi
173
User Data or Payload
--------------------------------------------------------------------------------------------------
174
a) WAP Protocols
1) Protocol stack
Wireless Application Environment (WAE)
Wireless Session Protocol (WSP)
Wireless Transaction Protocol (WTP)
Wireless Transport Layer Security (WTLS)
Wireless Datagram Protocol (WDP)
Bearers e.g. CSD, SMS, USSD
2) Protocol layers
Wireless Application Environment (WAE)
The WAE defines the user interface on the phone & the
application development environment to facilitate the
development of services that support multiple bearers.
WAE contains the Wireless Markup Language (WML),
WMLScript - a scripting micro-language similar to JavaScript and the Wireless Telephony Application (WTA). These are the
tools that allow WAP-based applications to be developed.
Wireless Session Protocol (WSP)
A sandwich layer that links the WAE to two session services one is a connection-oriented sub-layer, operating above the
WTP and another a connectionless service operating above the
WDP.
--------------------------------------------------------------------------------------------------
175
Wireless Transaction Protocol (WTP)
WTP is designed to provide a simplified protocol suitable for
low bandwidth mobile stations & is similar to the UDP of
TCP/IP suite of protocols.
WTP offers three classes of transaction service: unreliable
one-way request, reliable one-way request and reliable twoway request & response.
--------------------------------------------------------------------------------------------------
176
Unstructured Supplementary Services Data (USSD)
See http://www.mobileUSSD.com/
USSD is a means of transmitting information or instructions
over a GSM network. USSD, like SMS, uses the GSM
network's signaling path. USSD is not a store and forward
service but is session-oriented service. When a user accesses
a USSD service, a session is established and the radio
connection stays open until the user, application, or time out
releases it. USSD text messages can be up to 182 characters
in length.
General Packet Radio Service (GPRS)
See http://www.mobileGPRS.com/
The GPRS, the new packet-based bearer, is immediate,
relatively fast and supports virtual connectivity, allowing relevant
information to be sent from the network as and when it is
generated. Initial WAP-enabled GPRS terminals, however,
may not support mobile-terminated "Push" traffic.
WAP and GPRS have a synergy and are ideal bearers for each
other. Additionally, WAP incorporates two different connection
modes, WSP connection-oriented & connection-less protocol.
This is very similar to the two GPRS Point to Point services,
connection-oriented and connection-less.
-------------------------------------------------------------------------------------------------177
4) WAP Developer Toolkits
Ericsson
Ericsson has a WAP-IDE (Integrated Developer's
Environment) offering for WAP Developers that can be
downloaded free of charge from
http://mobileinternet.ericsson.se/
Nokia
The WAP Toolkit for developing applications can be
downloaded from http://www.forum.nokia.com/
Phone.Com
Have an UP.SDK for application developers that can be
downloaded from http://www.updev.phone.com/ Also
features a white paper stating why developers should use
Phone.com's software development kit in preference to any
others.
-----------------------------------------------------------------------------------------------178