Professional Documents
Culture Documents
9 - GPRS Traffic Management
9 - GPRS Traffic Management
9 - GPRS Traffic Management
1
Module objectives
2
So far ...
3
What sort of procedures are needed?
– etc.
4
What is Traffic Management?
5
Types of subscriber information
• Subscriber Identity
— How do we uniquely identify a subscriber?
• IMSI, TMSI, IP Address
— Where will this information be maintained?
• Subscriber Location
— How do we know the location of the subscriber?
• Location Area (LA) and Routing Area (RA)
— Where will this information be maintained?
• Subscriber Services
— What sort of services is a subscriber allowed to access?
— Where will this information be maintained?
• Subscriber Authentication
— What information is needed to authenticate the subscriber?
• Ki Algorithms, Triplets
— Where will this information be maintained?
6
Type of info What info Where
SGSN-1 SGSN-2
BSC-1 BSC-2
RA-1 RA-2 RA-3
LA-1 LA-3
8
What are the Mobility Management states?
—READY state: when mobile is ready to transmit data or has just finished
transmitting/receiving
9
MS Idle
HLR
IMSI IMSI 244...
VLR-1 LAI VLR
SGSN ? SGSN
IMSI ?
RA ?
BSC SGSN-1 Cell ?
10
MS Ready
IMSI 244...
RAI RA-1
BSC SGSN-1 Cell cell-1
• Location known down to CELL level
• Valid Mobility Management for the user
• Activation/deactivation of PDP context
is possible =
POSSIBLE TO SEND AND
RECEIVE DATA
RA-1 •Discontinuous reception (DRX) is
LA-1 possible (only use the radio resources
when needed)
• A READY timer supervises this state
11
MS Standby
HLR
IMSI 244... IMSI 244...
VLR-1 LAI LA-1 VLR VLR-1
SGSN SGSN-1 SGSN SGSN-1
IMSI 244...
RAI RA-1
BSC SGSN-1 Cell ?????
• Attached (location known by SGSN down to
Routing Area level)
• There is a valid MM context for MS in SGSN and
MS
• If Mobile Station sends data -> READY mode
• Mobile Station can receive paging for Circuit
Switched calls and SMS
RA-1
• MS reachable timer: starts ticking when the
MS moves to standby state.
LA-1
PACKET DATA TRANSMISSION IS NOT
POSSIBLE IN STANDBY MODE!
12
IDLE IDLE
PDU reception
PDU transmission READY timer expiry
READY timer expiry or
or Force to STANDBY
Force to STANDBY or
Abnormal RLC condition
STANDBY STANDBY
13
What are GPRS Attach and Detach?
14
GPRS Attach - first time
5c. ACKNOWLEDGEMENT
15
GPRS Attach - first time
5c. ACKNOWLEDGEMENT
16
P-TMSI and TLLI
17
What happens after a GPRS attach?
18
Questions
19
What is Location Management?
20
What is Cell Update?
21
What is Routing Area Update?
• One SGSN can manage many routing areas. If the new routing
area is managed by a different SGSN, an Inter-SGSN Routing
Area Update is performed.
22
Intra-SGSN Routing Area Update
SGSN-1
BSC-1
RA-2
RA-1
New RA
2a. AUTHENTICATION
HLR is not
2b. AUTHENTICATION RESPONSE engaged here - it
is enough if it
knows the SGSN
3. CHECK IF ALLOWED, ROUTING AREA UPDATE
ACCEPT
address - and in
this case, the SGSN
does not
4. ACKNOWLEDGEMENT change!
24
What is a Periodic Routing Area Update?
• If an MS stays a long time at the same place, the network has to receive an
indication that the MS is still reachable.
• This is the reason why the periodic routing area updates are made.
• All MSs attached to the GPRS will perform a periodic Routing Area Update.
25
SGSN and MSC/VLR interaction
26
SGSN and MSC/VLR interaction
27
What is Session Management?
28
What steps during PDP Context Activation?
29
Session Management - PDP Context Activation
30
Step:1
BTS BSC
1.
APN=
"Intranet.Ltd.com" SGSN
DNS
GPRS Access
Core Point
Network Intranet
GGSN
Internet
31
Step: 2
BTS BSC
SGSN
1. DNS
GPRS Access
Core Point
2. Network Intranet
GGSN
Internet
32
Step: 3
BTS BSC
SGSN
DNS APN=
"Intranet.Ltd.com"
GPRS
Core
Network Intranet
GGSN
Internet
33
Step: 4
BTS BSC
2.
SGSN
GPRS
Core
Network
GGSN Intranet
1.
Internet
34
What information activated PDP Context?
35
What is transparent access to Internet?
BTS BSC
GPRS
SGSN
Backbone
GGSN GGSN
AP AP
1 2
DNS
VAS Edge N
A Internet Service
Router T
36
What is non-transparent access?
BTS BSC
SGSN VPN
GPRS
Infra servers
Backbone
- RADIUS
nn l
Tu tua
(SecurID)
el
Intranet
- DNS
Vir
GGSN
Service
Edge
VPN Internet
Router
DNS Service
37
Non-transparent access to intranet
BTS BSC
SGSN
GPRS
Backbone
GGSN
A
P
Service
Connection from GGSN to intranetRouter Intranet Internet
router is built using dedicated line
e.g. Serial link.
Infra servers
- RADIUS
- DNS
38
MOBILE SERVICE CLASSES
39
Mobile Multislot Classes
40
How is SMS delivered in GSM/GPRS network?
41
SMS data transfer
a) MSC address
b) SGSN address
2)
4a) HLR
3a)
MSC
1)
G-MSC SMSC
3b)
4b)
SGSN
42
Roaming example
Singapore
GPRS .GPRS
SGSN Backbone DNS
BG
Inter-PLMN
GPRS
Backbone
BG
HOME
Embassy
Operator
DNS GGSN Intranet
GPRS
HOME
GSMOPERATOR, Finland
43
How does Visited and Home Network interact?
Singapore
GPRS .GPRS
SGSN Backbone DNS
BG
Inter-PLMN
GPRS
Backbone
BG
HOME
Operator Embassy
DNS GPRS GGSN Intranet
HOME
44
Context Activation for a Roaming User (1)
(4) Singapore DNS does not know the IP address, so it forwards the same query it received from the SGSN
to the .gprs level DNS.
(5) .gprs level DNS replies with list of home operator DNS servers.
Singapore
GPRS .GPRS
SGSN Backbone DNS
5
BG
4
Inter-PLMN
GPRS
Backbone
BG
HOME
Embassy
Operator
DNS GGSN Intranet
GPRS
HOME
GSMOPERATOR, Finland
46
Context Activation for a Roaming User (3)
Singapore
GPRS .GPRS
SGSN Backbone DNS
BG
7
Inter-PLMN
6 GPRS
Backbone
BG
HOME
Embassy
Operator
DNS GGSN Intranet
GPRS
HOME
GSMOPERATOR, Finland
47
Context Activation for a Roaming User (4)
(9) SGSN sends homeGGSN a request to create PDP context with the APN.
BG
Inter-PLMN
9 GPRS
Backbone
BG
HOME
Embassy
Operator
DNS GGSN Intranet
GPRS
HOME
GSMOPERATOR, Finland
48
Data flow in a roaming case
• PDP context is active and SGSN sends notification of this to the MS.
• Diplomat can now download e-mail from embassy e-mail server in the embassy intranet.
BG
Inter-PLMN
Backbone
BG
HOME Embassy
Operator Intranet
GPRS GGSN
GSMOPERATOR, Finland 49
Is this the only way roaming can be done?
50
Visited or Home GGSN
— Cheaper?
• Home GGSN
— Home operator offers some (value added or other) service that can be only used via
some specific access point.
— User could be accessing a company intranet that could for security reasons only be
accessed via the home operator access point.
— Intranets do not allow opening of TCP-ports in the company firewall from outside the
intranet. In that case, for example downloading e-mails from a company server via
the Internet is not possible.
51
Roaming, Static IP address
• If user has static IP address: will always use home network GGSN
APN.
Visited Operator
Visited-PLMN GGSN
GPRS
SGSN Backbone
BG
Inter-PLMN
GPRS
Backbone
BG
HOME
Always: Operator Internet/
192.100.107.10 GPRS Intranet
GGSN
Access Point
52
Roaming, Dynamic IP address (Home network)
• If home network GGSN allocates dynamic IP address, then MS would request visited
network to activate a context with home network APN.
• Data would flow as in static case.
Visited Operator
Visited-PLMN GGSN
GPRS
SGSN Backbone
BG
Inter-PLMN
GPRS
Backbone
BG
HOME
Operator Internet/
IP address changes
GPRS GGSN Intranet
Access Point
53
Roaming: Dynamic IP address (Visited network)
• The user would not have to specify any access point and the
visited network default access point would be used.
• The visited network would allocate a dynamic address to the user.
Visited Operator
Internet
Visited-PLMN GGSN
GPRS
SGSN Backbone
Access Point
BG
Inter-PLMN
GPRS
Backbone
BG
HOME
Operator
x.x.x.x
GPRS GGSN
54
Security related to GPRS
• Authentication:
- SGSN can store max. 10 authentication triplets
- Performed between MS and SGSN
• Ciphering
- Kc ciphering key (from authentication triplet)
- A5/GPRS algorithm (in ME and SGSN), standardised by ETSI
• P-TMSI
- Used to avoid the broadcast of IMSI
- 32 bits, operator specific
• IMEI checking
- Validation of GPRS ME
- Performed between MS and EIR, via SGSN
• Plus IP-related security aspects
- Private IP Addresses in GPRS BB network
- User authentication, VPN (ciphered links over the Internet), private IP
connections between operators, etc.
- Firewalls - screening of packets
55
Charging of GPRS services
Billing System
GTP' Charging gateway
Inter operator
IP network Internet
56
GGSN charging functions
• Start collection:
- PDP context activation
• Stop collection:
- PDP context deactivation
• Collected information e.g.
CG - Traffic volumes
SGSN
uplink/downlink
- QoS negotiated
Operator - Duration
IP backbone - SGSN & GGSN address
- Access Point Name
G-CDRs
GGSN
Internet
57
SGSN charging functions
58
CG functionality
• CDR collection from GSNs (CG receives the CDRs with GTP')
• Intermediate storage for CDRs
• CDR validation
• CDR consolidation
• CDR formatting
• Adaptation to different CCB System interfaces
• To reduce the CDR processing load of the CCB System
59
Legal Interception Gateway
SGSN
National interface
Gn
LIG LEA
60
GPRS Traffic Management
Review Questions
61
Review (1/8)
62
Review (2/8)
4. After GPRS attach, with the mobile in Ready state, is it possible to send
and receive packets?
• Not before activating a PDP context. With this PDP context an IP address
is assigned to the mobile.
63
Review (3/8)
7. How are the routing areas distributed between the SGSNs and location areas?
• A routing area is always served by just one SGSN. An SGSN can control
several routing areas. A routing area belongs to one location area. A location
area can have several routing areas.
8. What kind of 'updates' do we have in GPRS?
• Cell update: Mobile in READY state changes from one cell to another
• Routing area update: Mobile changes from one routing area to another.
— Two types: Intra SGSN and Inter SGSN
65
Review (5/8)
13. State two modes that are used for a subscriber to access an external data
network.
• Transparent and non-transparent. The former is a GPRS operator acting as
the ISP. The latter is the external ISP or intranet allocated IP address for the
subscriber.
14. How does a visited SGSN find its home network?
• From the access point name raised by the subscriber.
66
Review (6/8)
15. In which cases will the visiting user select or be forced to use the home
GGSN and visited GGSN?
Case 1: Selecting the visited GGSN could be faster to connect to a
public Internet site, but probably more expensive.
Case 2: Selecting the home GGSN could be the only way to connect to
a corporation's network (like intranet), or a cheaper way to connect
to the public Internet.
Answer: (suppose the user is restricted by the HLR to use the home
GGSN) The reason could be:
Case 1: The user has a permanent IP address allocated by the
home GGSN.
Case 2: The home operator would like to control its subscribers.
67
Review (7/8)
68
Review (8/8)
18. How many routes could an SMSC-GMSC choose to deliver a SMS?
• It can route in the "classic" way toward the MSC or choose the "GPRS" way
and use the SGSN.
19. Which network elements are responsible for collecting CDRs?
Which one provides interface to Customer Care and Billing System?
• SGSN and GGSN are responsible for collecting CDRs. These CDRs are
transferred to the Charging Gateway and then forwarded to the CCBS.
69