Professional Documents
Culture Documents
GPRS Basics
GPRS Basics
GPRS Basics
Zhang Chunping
Agenda
"GPRS Network Structure GPRS Interface and Protocol GPRS Address Identity GPRS Radio Interface Technology GPRS Mobility Management GPRS Session Management
High spectrum efficiency for data application provide data service based on existing GSM GPRS can keep long connection with network charge based on data flow
internet
Support connecting with PSTN/ISDN/PDN
Provide Data & Fax Service Most Data rate is just 9600bps Support transparent & non-transparent Data Service Demands increase IWF Function Module in MSC IWF
GSM Revolution
2M
384K 171.2K
57.6K 9.6K
HLR
BTS
Abis
BSC PCU
Gb
SGSN
Gn
GGSN
Gn
IP Network
Gn
GPRS Backbone
BG
Gp
SGSN
BG
Gn
GGSN
Other PLMN
GPRS Composition
SGSN-Serving GPRS support Node GGSN-Gateway GPRS Support Node BG- Border Gateway PCU- Packet Control Unit GPRS Mobile Station
SGSN Function
Network access control Authentication Charging information collection MM and SM Routing and tunnel transmission Encryption and decryption Subscriber data storage and forwarding Route selection Encapsulation and tunnel transmission
GGSN Function
Network access control (external PDN side)
Message filtering Charging information collection
HLR Function
Save GPRS subscription data Provide location/route information for MM and route selection, such as: Save and update user SGSN number and address GPRS user location deletion indicator MS reachable tag
Agenda
GPRS Network Structure " GPRS Network interface and protocol GPRS address and identity GPRS radio interface technology GPRS Mobility Management GPRS Session Management
HLR
BTS
Abis
BSC PCU
Gb
SGSN
Gn
GGSN
Gn
IP Network
Gn
GPRS Backbone
BG
Gp
SGSN
BG
Gn
GGSN
Other PLMN
Application IP Relay SNDCP LLC Relay RLC MAC GSM RF RLC MAC GSM RF BSSGP Network Service BSSGP Network Service SNDCP LLC GTP UDP/ TCP IP GTP IP
Relay
Application
IP UDP/ TCP IP
IP
L2
L2 L1
L2
L2 L1
L1bi s
L1
MS
Um
BSS
Gb
SGSN
Gn
GGSN
Gi
ISP
MS
BSS
SGSN
Gb Interface
BTS BSC PCU SGSN
Abis
Gb
L1bis NS
physical transmission layer, based on E1or T1 transmit BSSGP PDU based on frame
BSSGP provide link without connection for data transmission without acknowledgement For signaling platform, transmit radio related information such as QoS routing Process paging request flow control to data transmission
Gn/GP interface
BTS
Abis
BSC PCU
Gb
SGSN
Gn
GGSN
Gn
Gn
GPRS Backbone
BG
Gp
Other PLMN
BG
SGSN
L1/L2 IP
UDP/TCP UDP bear PDU no requiring reliable transmission; TCP provide flow control and loss, error protection to bear PDU requiring reliable transmission GTP data and protocol transmission between GSN
SGSN
Gr : Authentication, MM
HLR SMC
Submit SMS
SMSC check destination address of SMS,request location information of relevant HLR
HLR return information include the current SGSN or MSC number ,or both to SMS. if no SGSN number ,means MS not reachable via SGSN; SGSN is given priority to be chosen for SMS delivery
Agenda
GPRS Network Structure GPRS Network Interface and Protocol "GPRS Address and Identity GPRS Radio interface technology GPRS Mobility Management GPRS Session Management
Address, Identity
TLLI/ NSAPI
SGSN
TID=IMSI+NSAPI
GGSN
IP Network
TLLI/NSAPI used to uniquely identify PDP PDU of MS between MS and SGSN ; TID used to uniquely identify PDP PDU of MS between GSNs; used to forward user data with tunnel transmission mechanism, is composed of IMSI/NSAPI, existed in head of GTP
Address, Identity
P-TMSI assigned by SGSN for attached GPRS user used in PS, correspond to TMSI in CS; TLLI Identify logical link between MS and SGSN, deduct from P-TMSI NSAPI used to specify specific PDP Context for MS
IMSI/NSAPI or NSAPI/TLLI in routing cell can be used to uniquely identify specific PDP context for specific user. TID IMSI+NSAPI, used to uniquely identify a PDP context between SGSN and GGSN, or new SGSN and old SGSN
Address ,Identity
GSN address every GSN has one or more IP address , internal
address , each one has one or more domain name for communication GSN Number Each SGSN has a SS7 numbering to communicate with HLR and MSC. GGSN shall have a SS7 numbering as well if GGSN connect with HLR via Gc interface PDP Address IP address IP4 or IP6 or X.121 address
IP Address Allocation
In GPRS network, SGSN, GGSN,CG,DNS is communicated with each other by IP address, each NE shall be allocated one IP. The IP address of SGSN,GGSN,DNS is private or public, which need to be planned in whole GPRS network. CG usually use private IP for safety purpose. MS shall be allocated IP address, IP address allocation :
Static address assigned to MS when subscription; or dynamic address allocated to MS when PDP context activation; IP address can be private or public; If MS use private address, address mapping and conversion need to be implemented by network when MS visit external IP network.
IP Address Allocation
IP for NE interface Gn Gi is public address Mobile Terminal is allocated as private address dynamic
DNS 202.1.1.4 FireWare
GPRS Backbone
10.2.1.1 BSS SGSN 202.1.1.1 GGSN 202.1.1.2 202.100.1.1
Internet
Agenda
GPRS Network Structure GPRS Network Interface and Protocol GPRS Address Identity "GPRS Radio Interface Technology GPRS Mobility Management GPRS Session Management
interface with GSM Radio resource allocation Dynamic allocation Fixed allocation
7 6 5 4 3 2 1 0
P2 P2 P1 P1 C4 C3 C2 C1
1
P1 P1 P1 P1 P1 C3 C2 C1
2
P3 P3 P1 P1 P1 C3 C2 C5
3
P3 P4 P4 P1 P1 C3 C6 C5
4
P3 P4 P4 P5 P1 C3 C6 C5
5
P3 P5 P5 P5 P1 C3 C6 P5
6
P3 C8 C9 P5 P1 C3 C6 C7
7
P3 C8 C9 P5 C10 C3 C6 C7
8
P3 C8 C9 P5 C10 C3 P1 C7
9
P: Packet channel C
voice channel
3 3 3 3
40 16 16 16
4 4 4 0
0 132 220 0
Effective load
Coding
Puncture
456 bits
puncturing
456 bits
*Interleaving
52 TDMA Frames
B0 B1 B2 T B3 B4 B5 X B6 B7 B8 T B9 B10 B11 X
456 bits
*Interleaving 52 TDMA Frames
B0 B1 B2 T B3 B4 B5 X B6 B7 B8 T B9 B10 B11 X
15
10
0 0 4 8 12 16 20 24
CS1 and CS2 least influenced by carrier-to-interference radio CS3 and CS4 has low efficiency for low C/I, used when C/I >10 DB
C/I
(dB)
...
FCS
Segment
SNDCP layer
LLC frame
...
BCS Tail
456 bits
Convolutional encoding
114 bits 114 bits 114 bits 114
Burst
Burst
Burst
Burst
Normal Burst
PH : Packet Header BH : Block Header FCS : Frame Check Sequence FH : Frame Header BCS : Block Check Sequence LLC:Logic Link Control, RLC:Radio Link Control
Agenda
GPRS Network Structure GPRS Network interface and protocol GPRS Address, Identity GPRS Radio Interface Technology "GPRS Mobility Management GPRS Session Management
MS Attach
Attach Type When MS turn-on, initiate attach procedure, Attach Type included in Attach Request indicates the type Log on GPRS only Log on GPRS/ Non-GPRS, SGSN initiate location update procedure to MSC/VLR MM Context PMM has three states , can be converted under the trigger of different event , each state corresponds to certain functionality and a series of relevant information, which constitute MM context; one user corresponds to a unique MM context, which existed in MS and SGSN.
MS State Model
Idle
Standby
Ready
RAI is known
CI is known
Location Management
In GPRS, location management is based on RA. RA is a subset Of location area, a location area can be viewed as a RA, can also be defined as several RA. Every RA is served by one SGSN, location update includes: Cell update; CI changes, RA unchanged; RA update: RAI changes, Intra-SGSN RA update Inter-SGSN RA update Combined RA/LA update Intra-SGSN Combined RA/LA update Inter-SGSN Combined RA/LA update Periodical Location Update
Inter-SGSN Update
MS BSS new SGSN old SGSN GGSN HLR 1. Routeing Area Update Request 2. SGSN Context Request 2. SGSN Context Response 3. Security Functions 4. SGSN Context Acknowledge C1 5. Forward Packets 6. Update PDP Context Request 6. Update PDP Context Response 7. Update Location 8. Cancel Location 8. Cancel Location Ack 9. Insert Subscriber Data 9. Insert Subscriber Data Ack 10. Update Location Ack C2 11. Routeing Area Update Accept C3 12. Routeing Area Update Complete
MS
Attach Request
Authentication
SGSN
Triplet request
HLR
. Update Location Insert Subscriber Data Insert Subscriber Data Ack Update Location Ack Attach Accept
Agenda
GPRS Network Structure GPRS Network Interface and Protocol GPRS Address, Identity GPRS Radio Interface Technology GPRS Mobility Management "GPRS Session Management
PDP Activation - 1
HLR
BTS
BSC SS7
1.
SGSN
MS send PDP activation request to SGSN APN PDP type (IP) PDP address request QoS and others
DNS
Access Point
GGSN
Internet
APN Network Identification define the external network GGSN connected (mandatory ) APN Operator Identification define the GPRS Network where GGSN located (optional) APN correspond to a GGSN domain name
PDP Activation - 2
(1) SGSN obtain GGSN IP address from DNS APN mapping GGSN IP address (2) SGSN send create PDP context request to GGSN PDP type e.g.IP PDP address dynamic or static Intranet APN QoS and other parameters
Internet
BTS
BSC
SGSN
1.
GPRS Core Network
DNS
Access Point
GGSN
2.
PDP Activation - 3
APN identify external data network the user want to use Dynamic address allocation: allocated by GGSN address pool or external DHCP server GGSN return create PDP context response to SGSN SGSN return PDP context activatedto MS SGSN can establish routing between MS and GGSN
BTS
BSC
2.
SGSN
1.
Internet
GPRS MS Classification
Class A Can Attache GPRS and non-GPRS network, and implement the CS and PS service simultaneously. Class B Can Attache to GPRS and GSM network, but cant implement CS and PS service simultaneously. Class C Cant attach to GPRS and GSM network simultaneously, only one of them can be selected, unselected service state is in off state, which can be connected.
GPRS MS Attach
SGSN
Attach_request (IMSI) Triplet request Authentication Update_location
HLR
GPRS MS Attach
SGSN HLR
Insert_subscriber_data Update_location_ack
Attach_accept (TLLI)
MS m TLLI
PDP Activation
SGSN DNS
PDP Activation
SGSN
Create_PDP_context_req (type, APN, QoS)
GGSN
GGSN IP
TID1
Create_PDP_ctxt
NSAPI p TLLI
TLLI NSAPI
User packet
Roaming
sing
BG
Re-attach SGSN
Visiting PLMN
GGSN
Roaming MS
MS
BG
Re-attach SGSN
Visiting PLMN
GGSN
Thank You