Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
GPRS and its Features GPRS Network Architecture Role of SGSN & GGSN GPRS Protocol Architecture Definition and functions of various protocol layers i.e. SNDCP, RLC-MAC, LLC, PHY GPRS Session Management PDP context establishment, accept, negotiation GPRS Mobility Management Network Attach\detach
Routing area update
Contents
GPRS Applications
Data Rates too slow about 9.6 kbps Connection setup time too long Inefficient resource utilization for bursty traffic Proves expensive for bursty traffic utilization No efficient method for packet transfers
Flow of data
Circuit Switched => Type of Connection connection with circuit switched networks typically one call per hour, average call 2 minutes
Packet - Switched =>connection with external packet data networks and can last for several hours
What is GPRS ?
General Packet Radio Service (GPRS) is a new bearer service for GSM that greatly improves and simplifies wireless access to packet data networks GPRS applies packet radio principal to transfer user data packets in an efficient way b/w MS & external packet data network
Benefits of GPRS
New Data Services High Speed (Data Rate 14.4 115 kbps) Efficient use of radio bandwidth (Statistical Multiplexing) Circuit switching & Packet Switching can be used in parallel Constant connectivity Billing based on volume of data transferred Utilizes existing GSM authentication and privacy procedures.
Serving GSN GSM/GPRS Access Network BSC BTS Internet BTS Gateway GSN
Interfaces GPRS backbone network & external packet data networks Converts the GPRS packets from SGSN to the PDP format Converts PDP addresses change to GSM addresses of the destination user Stores the current SGSN address and profile of the user in its
location register
Performs authentication Many-to- many relations among SGSNs & GGSNs
GPRS Register
GPRS Register is integrated with GSM-HLR. Maintains the GPRS subscriber data and Routing information. Stores current SGSN address
GMM\SM LLC
RLC MAC GSM RF RLC MAC GSM RF LLC BSSGP
Frame Relay
GMM\SM LLC
BSSGP
Frame Relay
L1bis
L1bis
MS
Um
BSS (PCU)
Gb
SGSN
Application
IP / X.25 SNDCP LLC RLC MAC GSM RF RLC MAC GSM RF SNDCP GTP UDP/ TCP IP L2 L1
LLC
BSSGP
Frame Relay
LLC BSSGP
Frame Relay
L1bis
L1bis
MS
Um
BSS (PCU)
Gb
SGSN
Gn
GGSN
Gi
Used to transfer data packets (TCP/IP) between SGSN and MS. Converting and segmenting external network formats (N-PDUs) into subnetwork formats (SN-PDUs). In the opposite direction, SNDCP layer receives SN-PDUs from LLC and converts them back into network data packets. Managing multiple PDP context sessions ensuring that N-PDUs from each PDP context are txed to LLC layer in sufficient time to maintain QOS for each PDP context. Compression and decompression of user data and header information Negotiating the compression parameters to be used between MS and network.
HLR
Gn TE MT BSS Gb Iu TE MT UTRAN SGSN Gn Gp Iu TE MT UTRAN SGSN Other PLMN SGSN Gn Gn GGSN Gi PDN TE Gc
SNDCP LLC RLC MAC GSM RF Um RLC MAC GSM RF BSSGP Network Service L1bis Gb
MS
Application
BSS
SGSN
GGSN
GTP-U UDP/IP L2 L1
Gn
GTP-U UDP/IP L2 L1
Gi
MS
UTRAN
3G-SGSN
3G-GGSN
RLC- MAC
PHY
GPRS Identities
IMSI => International Mobile Subscriber Identity-is the identity number of the SIM. MS send to NW during attach. (not more than 15 digits) 3 digits 2-3 digits
MCC MNC MSIN
P-TMSI => Packet Temporary Mobile Subscriber Identity P-TMSI is sent during GMM attach , if the network does not recognize the P-TMSI (incase of roaming) , it will ask MS to send IMSI for authentication purposes. SGSN selects a P-TMSI from a store of random numbers and sent to MS in ciphered mode which uses P-TMSI to generate TLLI. PDP (Packet Data Protocol) addresses => MS is identified with IMSI. IMSI will have related PDP addresses for the services subscribed to. These addresses can be temporary or permanent and must confirm to the standards of external networks.
MCC- mobile country code , MNC- PLMN network code , MSIN- mobile subscriber identity code
GTP
GTP specifies a tunnel control and management protocol which allows the SGSN to provide GPRS network access for an MS. In the transmission plane, GTP uses a tunnelling mechanism to provide a service for carrying user data packets. The choice of path is dependent on whether the user data to be tunnelled requires a reliable link or not.
The GTP protocol is implemented only by SGSNs and GGSNs. No other systems need to be aware of GTP. GPRS MSs are connected to a SGSN without being aware of GTP. It is assumed that there will be a many-to-many relationship between SGSNs and GGSNs. An SGSN may provide service to many GGSNs. A single GGSN may associate with many SGSNs to deliver traffic to a large number of geographically diverse mobile stations.
GTP Overview
GPRS Tunneling Protocol is
The protocol between GPRS Support Nodes Includes both the GTP signaling (GTP-C) & data transfer (GTP-U) procedures Is defined for the Gn interface, i.e. the interface between GSNs within a PLMN & For the Gp interface between GSNs in different PLMNs Allows multi-protocol packets to be tunneled through the UMTS/GPRS backbone
GTP Header
Octets 1 2 3 4 5 6 7 8 9 10 11 12 8 7
Version
5
PT
4
(*)
3
E
2
S
1
PN
Message Type Length (1st Octet) Length (2nd Octet) Tunnel Endpoint Identifier (1st Octet) Tunnel Endpoint Identifier (2nd Octet) Tunnel Endpoint Identifier (3rd Octet) Tunnel Endpoint Identifier (4th Octet) Sequence Number (1st Octet) Sequence Number (2nd Octet) N-PDU number Next Extension Header Type
SGSN specific
GTP Messages
GTP defines a set of messages. These are classified into
Path Management messages Tunnel Management messages Location Management messages Mobility Management messages
APN Attributes
Some of the attributes are - APN Network Identifier - Access Mode Transparent (no authentication) / Non-transparent - IP address pool - Primary DHCP server - Secondary DHCP server - DHCP gateway address - RADIUS server - Backup RADIUS server - IP address of the next hop for the Gi interface Attributes to get logs - Current allocated IP address count - Current PDP context count
Charging Characteristics
Trace Reference Trace Type End User Address Access Point Name Protocol Configuration Options SGSN Address for signaling SGSN Address for user traffic MSISDN( for routing call , number to dialin) Quality of service Profile TFT Trigger ID OMC identity Private Extension
Optional
Optional Optional Conditional Conditional Conditional Mandatory Mandatory Conditional Mandatory Conditional Optional Optional Optional
Conditional
Optional Conditional Conditional Conditional Optional Optional
Presence
Mandatory Mandatory Optional
Sent from GSN if no active PDP context exists for the received G-PDU. When an error indication is received, the receiving GSN deletes the corresponding PDP context. The elements TEID and GSN address are derived from the data message and uniquely specify the PDP context.
GTP-MAP Interworking
MAP GTP GTP UDP IP L2 L1 Gn+ UDP IP L2 L1 MAP TCAP SCCP MTP3 MTP2 L1 Gc TCAP SCCP MTP3 MTP2 L1
GGSN
SGSN
HLR
For GTP-U An increasing number of T-PDUs are transmitted via GTP-U tunnel when transmission order must be preserved. The receiving GGSN would reorder the incoming T-PDUs in seq. if the reordering required flag in the PDP context is set. In this case if required the GGSN would maintain a window and a timers to make sure that a G-PDU was lost. The sequence number is kept unchanged irrespective of the tunnels it travels before the destination.
SM Layer is sandwiched between Network Layer and GMM layer. It provides service by establishing a PDP context when asked to do so by network layer
Session Management
To set up session for transfer of SN-PDUs and to de-activate the session when instructed
To modify QOS and Radio priority given to a PDP context when the network instructs it to do so. It relies upon the services provided by GMM layer and will check that it is GPRS attached and then send PDP context activation request asking the GMM layer to deliver it to SGSN SM layer. MS will receive from the network PDP context activation accept (or reject!) . This is the information SNDCP is waiting for and now accepts the N-PDUs from application layer.
PDP context activation is a data call set-up for GPRS operations. Unlike circuit switched call where set-up is removed when call is completed but PDP context activations remains valid when the call or session which caused the Context is completed. For each session PDP context following parameters are exchanged :
PDP type NSAPI APN Access Point Name MS may use this to specify which external network it wishes to access Requested PDP address- may be X.121, IPv4 or IPv6 address QOS Radio priority Protocol configuration Options
Cont.
GMM states
Idle
MS is not attached to GPRS Standby Subscriber is attached to GPRS mobility management MS performs RA and cell selection locally, reports RA changes Data, signaling or page response move the MS to READY Detach procedures moves the state to Idle Ready Information on cell selection is reported Cell selection may be done locally or by network control State supervised by a timer
GMM is requested by SM layer to attach. Then GMM sends Attach Request (PTMSI, RAI,TLLI, cksn, QOS, Cause, Radio priority) down to LLC layer. From the PTMSI and cksn , the network operator will have a decision making process to authenticate MS or to go immediately in encryption mode, by passing authentication. MS receives Authentication and Encryption command from network, it extracts RAND, passes it to SIM card which produces SRES, and encryption key Kc . GMM layer puts SRES into Authentication and Encryption response and passes this Kc key to LLC for encryption procedures. When GMM layer received Attach Accept (Ra update timer, RAi, PTMSi, PMTSI sig, new TLLI ), the authentication process is completed. The GMM accepts the PTMSI and other information and send an Attach complete message to the network. RAND-Random number related to IMSI in the SGSN. SRES-signed response
RAU is performed when MS is GPRS attached and RLC indicates a change in routing area. The RA reported to GMM layer is continously compared to RA stored in SIM card. When these differ an RA update to GPRS network is initiated by GMM layer. GSM Location Area(LA) is divided into several Routing Areas(RA) RA consists of several cells SGSN is informed when MS moves to a new RA MS sends a Routing Area Update Request to its assigned SGSN
Applications of GPRS
Web browsing Corporate & Internet Email Vehicle Positioning Remote LAN Access Home Automation Document Sharing/Collaborative working Virtual private network (VPN):
With VPN, companies will be able to let their remote workers wirelessly access to corporate resources and stay in touch with their work teams.
ADDITIONAL SLIDES
RLC/MAC Layer
Radio Link Control(RLC) Establish a reliable link between MS & BSS Segmentation and reassembly of LLC frames into RLC data blocks To allow ordered transfer of LLC PDUs between MAC and LLC. Medium Access Control(MAC) To allow shared use of radio medium (physical channels) between multiple mobile stations or incase of a single MS between different PDP contexts. Allow contention resolution To allow queuing and scheduling for MS terminating calls. To control TBF for carrying data packets
Physical Layer
Divided into two sub layers :
Physical Link Layer (PLL) Physical RF Layer (RFL) Channel coding, interleaving, detection of physical link congestion, neighboring cell measurements, Handovers (Cell change orders), Measurement Reports, Cell reselection.