Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Winter 2014/15
Communication Networks
Chapter 8. GSM and GPRS
1600
GSM total
1400
TDMA total
CDMA total
Subscribers [million]
1200
PDC total
Analogue total
1000
W-CDMA
Total wireless
2009:
>4 bn!
Prediction (1998)
800
600
400
200
0
1996
1997
1998
1999
2000
2001
2002
2003
2004 year
298
Communication Networks
Winter 2014/15
299
GSM: Overview
GSM
formerly: Groupe Spciale Mobile (founded 1982)
now:
Global System for Mobile Communication
Pan-European standard
(ETSI, European Telecommunications Standardisation Institute)
simultaneous introduction of essential services in three phases (1991,
1994, 1996) by the European telecommunication administrations
(Germany: D1 and D2)
seamless roaming within Europe possible
300
Communication Networks
Winter 2014/15
Communication
Total mobility
Worldwide connectivity
one number, the network handles localization
High capacity
Security functions
access control, authentication via chip-card and PIN
301
Disadvantages of GSM
302
Communication Networks
Winter 2014/15
GSM offers
several types of connections
voice connections, data connections, short message service
MS
TE
MT
R, S
GSM-PLMN
Um
transit
network
(PSTN, ISDN)
source/
destination
network
TE
(U, S, R)
tele services
Communication Networks - 8: GSM & GPRS
303
Bearer Services
304
Communication Networks
Winter 2014/15
Tele Services I
305
Tele Services II
Additional services
Non-Voice-Teleservices
group 3 fax
voice mailbox (implemented in the fixed network supporting the
mobile terminals)
electronic mail (MHS, Message Handling System, implemented in
the fixed network)
...
Short Message Service (SMS)
alphanumeric data transmission to/from the mobile terminal (160
characters) using the signaling channel, thus allowing simultaneous
use of basic services and SMS
(almost ignored in the beginning now the most successful add-on!)
306
Communication Networks
Winter 2014/15
Supplementary Services
307
MS (mobile station)
BS (base station)
MSC (mobile switching center)
LR (location register)
subsystems
RSS (radio subsystem): covers all radio aspects
NSS (network and switching subsystem): call forwarding,
handover, switching
OSS (operation subsystem): management of the network
Communication Networks - 8: GSM & GPRS
308
Communication Networks
Winter 2014/15
309
Ingredients 2: Antennas
310
Communication Networks
Winter 2014/15
Ingredients 3: Infrastructure 1
Base Stations
Cabling
Microwave links
311
Ingredients 3: Infrastructure 2
Not visible, but
comprise the major part
of the network (also from
an investment point of
view)
Management
Data bases
Switching units
Monitoring
Communication Networks - 8: GSM & GPRS
312
Communication Networks
Winter 2014/15
GSM: Overview
OMC, EIR,
AUC
HLR
NSS
with
OSS
VLR
GMSC
MSC
fixed network
MSC
VLR
BSC
BSC
RSS
313
BSS
MS
Um
radio cell
MS
BTS
RSS
BTS
Abis
BSC
BSC
A
MSC
NSS
MSC
VLR
signaling
VLR
GMSC
HLR
IWF
ISDN, PSTN
PDN
O
OSS
EIR
AUC
OMC
314
Communication Networks
Winter 2014/15
fixed
partner networks
MS
ISDN
PSTN
MSC
Um
Abis
BTS
BSC
EIR
SS7
BTS
HLR
VLR
BTS
BSC
BTS
BSS
ISDN
PSTN
MSC
IWF
PSPDN
CSPDN
Communication Networks - 8: GSM & GPRS
315
System Architecture:
Radio Subsystem
radio
subsystem
MS
MS (Mobile Station)
MS
Um
BTS
Abis
BSC
BTS
Components
MSC
Interfaces
Um : radio interface
BTS
BSC
BTS
BSS
316
10
Communication Networks
Winter 2014/15
fixed partner
networks
Components
MSC (Mobile Services Switching Center)
IWF (Interworking Functions)
ISDN (Integrated Services Digital
ISDN
PSTN
Network)
MSC
EIR
SS7
Network)
HLR
Network)
Databases
VLR
MSC
IWF
ISDN
PSTN
PSPDN
CSPDN
317
Radio Subsystem
Components
Base Station Subsystem (BSS):
Base Transceiver Station (BTS): radio components including sender,
receiver, antenna - if directed antennas are used one BTS can
cover several cells
Base Station Controller (BSC): switching between BTSs, controlling
BTSs, managing of network resources, mapping of radio channels
(Um) onto terrestrial channels (A interface)
BSS = BSC + sum(BTS) + interconnection
318
11
Communication Networks
Winter 2014/15
cell
319
Channels
GSM 850
128-251
824-849
869-894
GSM 900
921-960
classical
extended
124 channels
+49 channels
890-915
880-915
935-960
925-960
1710-1785
1805-1880
1850-1910
1930-1990
GSM-R
921-960
exclusive
69 channels
921-925
876-880
- Additionally: GSM 400 (also named GSM 450 or GSM 480 at 450-458/460-468 or 479-486/489-496 MHz)
- Please note: frequency ranges may vary depending on the country!
- Channels at the lower/upper edge of a frequency band are typically not used
Communication Networks - 8: GSM & GPRS
320
12
Communication Networks
Winter 2014/15
O2 (GSM-1800) Germany
321
e-plus (GSM-1800)
Vodafone D2
(GSM-900)
O2
(GSM-1800)
322
13
Communication Networks
Winter 2014/15
Functions
Management of radio channels
Frequency hopping (FH)
Management of terrestrial channels
Mapping of terrestrial onto radio channels
Channel coding and decoding
Rate adaptation
Encryption and decryption
Paging
Uplink signal measurements
Traffic measurement
Authentication
Location registry, location update
Handover management
BTS
X
X
X
X
X
X
BSC
X
X
X
X
X
X
X
X
X
X
323
Mobile Station
TA (Terminal Adapter):
terminal adaptation, hides radio specific characteristics
TE (Terminal Equipment):
peripheral device of the MS, offers services to a user
does not contain GSM specific functions
TA
R
MT
S
Um
324
14
Communication Networks
Winter 2014/15
Components
Mobile Services Switching Center (MSC)
controls all connections via a separated network to/from a
mobile terminal within the domain of the MSC - several BSC can
belong to a MSC
Databases (important: scalability, high capacity, low delay)
Home Location Register (HLR)
central master database containing user data, permanent and semipermanent data of all subscribers assigned to the HLR (one provider
can have several HLRs)
Visitor Location Register (VLR)
local database for a subset of user data, including data about all user
currently in the domain of the VLR
Communication Networks - 8: GSM & GPRS
325
switching functions
additional functions for mobility support
management of network resources
interworking functions via Gateway MSC (GMSC)
integration of several databases
Functions of a MSC
326
15
Communication Networks
Winter 2014/15
Operation Subsystem
327
GSM - TDMA/FDMA
935-960 MHz
124 channels (200 kHz)
downlink
890-915 MHz
124 channels (200 kHz)
uplink
8
4.615 ms
tail
3 bits
user data
57 bits
user data
tail
1 26 bits 1
57 bits
S Training
guard
space
546.5 s
577 s
328
16
Communication Networks
Winter 2014/15
...
...
superframe
48
...
49
50
24
6.12 s
25
multiframe
0
...
0
24
1
120 ms
25
...
48
49
50
235.4 ms
frame
0
...
4.615 ms
slot
577 s
burst
329
Abis
MS
BTS
BSC
MSC
CM
CM
MM
MM
RR
RR
BTSM
RR
BTSM
LAPDm
LAPDm
LAPD
LAPD
radio
radio
PCM
PCM
16/64 kbit/s
BSSAP
BSSAP
SS7
SS7
PCM
PCM
64 kbit/s /
2.048 Mbit/s
330
17
Communication Networks
Winter 2014/15
HLR
4
5
VLR
8 9
14 15
3 6
PSTN
GMSC
10
MSC
10 13
16
10
BSS
BSS
BSS
11
11
11
11 12
17
MS
331
1, 2: connection request
3, 4: security check
VLR
3 4
PSTN
GMSC
5
8
MS
1
10
MSC
2 9
BSS
18
Communication Networks
Winter 2014/15
MTC/MOC
MTC
MS
BTS
MOC
MS
BTS
paging request
channel request
channel request
immediate assignment
immediate assignment
paging response
service request
authentication request
authentication request
authentication response
authentication response
ciphering command
ciphering command
ciphering complete
ciphering complete
setup
setup
call confirmed
call confirmed
assignment command
assignment command
assignment complete
assignment complete
alerting
alerting
connect
connect
connect acknowledge
connect acknowledge
data/speech exchange
data/speech exchange
Communication Networks - 8: GSM & GPRS
333
4 Types of Handover
1
MS
BTS
MS
MS
MS
BTS
BTS
BTS
BSC
BSC
BSC
MSC
MSC
334
19
Communication Networks
Winter 2014/15
Handover Decision
receive level
BTSold
receive level
BTSold
HO_MARGIN
MS
MS
BTSold
BTSnew
335
Handover Procedure
MSC
MS
BTSold
BSCold
measurement
measurement
report
result
BSCnew
BTSnew
HO decision
HO required
HO request
resource allocation
ch. activation
HO command
HO command
HO command
HO access
Link establishment
clear command
clear command
clear complete
clear complete
HO complete
HO complete
336
20
Communication Networks
Winter 2014/15
Security in GSM
Security services
access control/authentication
user SIM (Subscriber Identity Module): secret PIN (personal identification
number)
SIM network: challenge response method
confidentiality
voice and signaling encrypted on the wireless link
(after successful authentication)
anonymity
temporary identity TMSI
(Temporary Mobile Subscriber Identity)
newly assigned at each new location update (LUP)
encrypted transmission
secret:
A3 and A8 available
via the Internet
network providers
can use stronger
mechanisms
337
GSM - Authentication
SIM
mobile network
Ki
AC
RAND
128 bit
RAND
128 bit
RAND
Ki
128 bit
128 bit
A3
A3
SIM
SRES* 32 bit
MSC
SRES* =? SRES
SRES
SRES
32 bit
32 bit
SRES
338
21
Communication Networks
Winter 2014/15
AC
RAND
RAND
128 bit
RAND
128 bit
128 bit
A8
cipher
key
Ki
128 bit
SIM
A8
Kc
64 bit
Kc
64 bit
data
BSS
SRES
data
encrypted
data
A5
MS
A5
Communication Networks - 8: GSM & GPRS
339
TCH/F4.8
1
2
3
4
TCH/F9.6
TCH/F14.4
1
1
2
3
4
2
3
4
340
22
Communication Networks
Winter 2014/15
GR (GPRS Register)
user addresses
Communication Networks - 8: GSM & GPRS
341
Lost SDU
probability
Duplicate SDU
probability
1
2
3
10-9
10-4
10-2
10-9
10-5
10-5
Delay
class
1
2
3
4
Out of
sequence SDU
probability
10-9
10-5
10-5
Corrupt SDU
probability
10-9
10-6
10-2
342
23
Communication Networks
Winter 2014/15
Receiving
slots
Sending slots
10
12
343
Coding
scheme
1 slot
2 slots
3 slots
4 slots
5 slots
6 slots
7 slots
8 slots
CS-1
9.05
18.1
27.15
36.2
45.25
54.3
63.35
72.4
CS-2
13.4
26.8
40.2
53.6
67
80.4
93.8
107.2
CS-3
15.6
31.2
46.8
62.4
78
93.6
109.2
124.8
CS-4
21.4
42.8
64.2
85.6
107
128.4
149.8
171.2
344
24
Communication Networks
Winter 2014/15
BSS
MS
Um
SGSN
Gb
PDN
GGSN
Gn
Gi
HLR/
GR
MSC
VLR
EIR
345
BSS
Um
SGSN
Gb
Gn GGSN
Gi
Appl.
IP/X.25
IP/X.25
SNDCP
GTP
LLC
LLC
GTP
UDP/TCP
RLC
BSSGP
IP
IP
FR
L1/L2
L1/L2
SNDCP
MAC
RLC
MAC
Radio
Radio
BSSGP
FR
UDP/TCP
346
25
Communication Networks
Winter 2014/15
347
SGSN
GGSN
Security Functions
348
26
Communication Networks
Winter 2014/15
GPRS
Attach
Standby Timer
expired
READY
Ready Timer expired
or Force to Standby
Packet
delivery
STANDBY
349
BSS
SGSN
Security Functions
350
27
Communication Networks
Winter 2014/15
BSS
New SGSN
Old SGSN
GGSN
HLR
MSC/VLR
Security Functions
351
Information
...
Segment
Header
Segment
Segment
...
FCS
IPPacket
Segment
LLC Frame
LLCLayer
Segment
RLC/MACBlock
SNDCPLayer
RLC/MACLayer
352
28
Communication Networks
Winter 2014/15
SGSN
SGSN
SNDCP (TLLI,
NSAPI, IP Packet)
GTP (SGSN-Address,
TID, IP Packet)
BSC
GGSN
IP Packet
(IP Source,
IP Destination)
IP Packet
Internet
353
SGSN
SGSN
GTP (
GGSN-Address,
TID, IP Packet)
BSC
GGSN
SNDCP (TLLI,
NSAPI, IP Packet)
1.) Address translation
according to PDP-context:
IP Source TLLI + NSAPI
IP Packet
(IP Source,
IP Destination)
IP Packet
Internet
354
29
Communication Networks
Winter 2014/15
GPRS utilizes the GSM-based FDMA/TDMAcombination with 8 time slots per TDMA frame.
GPRS supports a more flexible channel
assignment scheme:
Multi-slot operations
Separate assignment of uplink and downlink for
assymmetric traffic
355
Channel
Function
Direction
Traffic Channels
PDTCH
MS BSS
Signaling Channels
Packet Broadcast
Control Channel
PBCCH
Packet Broadcast
Control
MS BSS
Packet Common
Control Channel
(PCCCH)
PRACH
MS BSS
PAGCH
MS BSS
PPCH
Packet Paging
MS BSS
PNCH
Packet Notification
MS BSS
PACCH
MS BSS
PTCCH
MS BSS
Packet Dedicated
Control Channels
356
30
Communication Networks
Winter 2014/15
Gn
DNS
GGSN
DNS
Gi
GPRS internal
IP Network
Firewall
Internet
Router
357
Goals
Platforms
Many platforms must be supported:
E.g. GSM (900, 1800, 1900), CDMA IS-95, TDMA IS-136, IMT-2000, UMTS,
W-CDMA
Forum
WAP Forum, founded by (among others) Ericsson, Motorola,
Nokia, Unwired Planet
see http://www.wapforum.org
358
31
Communication Networks
Winter 2014/15
WAP Standardization
Browser
Scripting Language
WTA/WTAI
Contents Formats
Protocol Stack
Working Groups
359
WAP
A-SAP
Application Layer (WAE)
S-SAP
Additional services
and protocols
TR-SAP
Transaction Layer (WTP)
SEC-SAP
SSL/TLS
TCP/IP,
UDP/IP,
Phys. Media
WCMP
WAE includes e.g. WML (Wireless Markup Language), WML Script, WTAI
Communication Networks - 8: GSM & GPRS
360
32
Communication Networks
Winter 2014/15
Internet
HTML
Mobile Network
WML
Filter
Binary WML
WML
HTML
Web
Server
WAP
Proxy
HTML
Telephone
Network
Filter/
WAP
Proxy
WTA
Server
Binary WML
Binary WML
361
other
servers
Gateway
reply
Client
coded
reply
Coder
&
Decoder
push
contents
request
coded
push
contents
coded
request
WTA
user agent
WML
user agent
other
WAE
user agents
362
33
Communication Networks
Winter 2014/15
WTA-Server
WMLScripts
WTAUser-Agent
Mobile
Network
WMLStack
Client
Repository
WTA-Gateway
WTAServices
Device Spec.
Functions
Coder
&
Decoder
Secure Provider
Network
Additional
Server
External
Server
Firewall
363
WTA-Gateway
WTA-Server
Mobile Network
Voice Box
Push URL
HTTP Get
WML
HTTP Get
WML
Connection
Setup
Connection establishment
Connection establishment
Accept Call
Call acceptance
Call acceptance
Voice connection
364
34
Communication Networks
Winter 2014/15
WAP Standard
WAE
WSP
Transaction-based
Applications
WTP
WTP
WTLS
UDP
WDP
IP
non IP
WTLS
UDP
WDP
WTLS
UDP
WDP
IP
non IP
IP
non IP
(GPRS, ...)
(SMS, ...)
(GPRS, ...)
(SMS, ...)
365
New
XHTML
TCP with Wireless Profile
HTTP
Innovative Applications
Color graphics
Animation
Download of big files
Location-based services
Synchronization with PIMs
Pop-up/context-sensitive menus
Goal
Integration of WWW, Internet,WAP, i-mode
Communication Networks - 8: GSM & GPRS
366
35
Communication Networks
Winter 2014/15
Content
Formats
External
Services EFI
CryptoLibraries
Push
Provisioning
Authentication
Service
Lookup
PKI
Secure
Transport
Secure
Bearers
Hypermedia Transfer
(WTP+WSP, HTTP)
CSD
IPv6
MMS
Messages
Streaming
Connections
(TCP with
wireless profile)
Datagrams
(WDP, UDP)
IPv4
Cookies
Synchronization
Transport
Identification
USSD
SMS
GUTS
FLEX
...
MPAK
Bearer
Navigation
Discovery
Capability Negotiation
Push
OTA
Protocol Framework
Multimedia Messaging
(Email)
Session
Security
Services
Transfer
Service
Localization
Application
Framework
...
367
WAP Gateway
Web Server
WAE
WSP
WTP
WTLS
WDP
Trger
HTTP
HTTP
TLS
TCP
IP
TLS
TCP
IP
WAP Device
WAE
HTTP
TCP
IP
WAP Proxy
TCP
IP
TCP
IP
WAP Proxy
HTTP
TCP
IP
WAE
HTTP
TCP
IP
HTTP
TCP
IP
WAP Device
WAE
HTTP
TCP
IP
Web-Server
IP Router
IP
IP
WAE
HTTP
TCP
IP
Web Server
368
36
Communication Networks
Winter 2014/15
References
SCHILLER, J.: Mobile
Communications,
2nd edition, Addison-Wesley, 2003,
ISBN 0-321-12381-6.
(Thanks for the Powerpoint Slides!!)
369
37