GSM Signaling and Protocols Architecture
GSM Signaling and Protocols Architecture
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
Interfaces in GSM
MS Um interface BTS BSC MSC MSC or HLR or VLR
A- interface A-bis
Updating of residence information in VLR Storage of routing information in HLR Updating and supplementing of user profiles in HLR Handoff of connections between MSCs
29
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
Mobile initialization
Frequency Synchronization
FCCH
Time Synchronization
SCH
System Synchronization
BCCH
Mobile initialization
MS In idle state
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
MSC region
Location area Location area
MSC region
BSC
BTS BTS
MSC region
41
ISC
OMC
BSC MSC BTS
Abis
PSTN ISDN
GMSC
B,C
E
BSC
HLR VLR
42
AUC
43
-It is similar to a serial number. It is allocated by equipment manufacturer, registered by network, and stored in EIR
-CC: Country Code -MNC: Mobile Network Code -MSIN: Mobile Subscriber Identification Number (ID in home net). When subscribing for service with a network, subscriber receives (IMSI) and stores it in the SIM (Subscriber Identity Module) card. The IMSI has the unique subscriber id that
44
-NDC: National Destination Code, SN: Subscriber Number, CC: Country Code -The real telephone number, assigned to the SIM -The SIM can have several MSISDN numbers for selection of different services like voice, data, fax
-It is location dependent ISDN number CCtemporary NDC SN -It is assigned by local VLR to each MS in its area.
45
-CC: Country Code, MNC: Mobile Network Code, LAC: Location Area Code -LAI is broadcast regularly by Base Station on BCCH -Each cell is identified uniquely as belonging to an LA by its LAI
LAC
-It is an alias of the IMSI and is used in its place for privacy. -It is used to avoid sending IMSI on the radio path. It is an temporary identity that is allocated to an MS by the VLR at inter-VLR registration, and can be changed by the VLR --TMSI is stored in MS SIM card and in VLR .
MSCs and location registers (HLR,VLR) are addressed with ISDN numbers. In addition, they may have a Signaling Point Code (SPC) within a PLMN to address them uniquely in SS#.7
46
47
Location management
Current location of MS maintained by 2-level hierarchical strategy with HLRs and VLRs.
48
Location registration
MS
IMSI Ki Loc.Upd.Req (IMSI,LAI) Upd Loc.Area Auth.Para.Req (IMSI) Aut. Info. (IMSI,Kc, RAND,SRES)
BSS/MSC
VLR
HLR
AUC
(IMSI,LAI)
Authenticate
(RAND)
A3 & A8
Kc SRES Auth.Resp.
SRES Auth.Resp
(SRES)
(SRES)
Generate
VLR
Generate TMSI
HLR
AUC
Kc
A5
Message M
Ciph.Mod.Co m.
Kc(M)
Ciph.Mod.
Kc(M) Kc Kc(M) M
A5
TMSI Realloc.Cmd.
TMSI.Ack
50
Location registration
MS has to register with the PLMN to get communication services Registration is required for a change of PLMN MS has to report to current PLMN with its IMSI and receive new TMSI by executing Location Registration process. The TMSI is stored in SIM, so that even after power on or off, there is only normal Location Update. If the MS recognizes by reading the LAI broadcast on BCCH that it is in new LA, it performs Location Update to update the HLR records. Location update procedure could also be performed periodically, independent of the MS movement. The difference in Location Registration and Location Update is that in location update the MS has already been assigned a TMSI.
51
Location update
MS BSS/MSC VLR HLR AUC
IMSI, TMSI Ki, Kc, LAI
Loc.Upd.Req (TMSI,LAI)
Update Loc.Area
(TMSI,LAI)
Authentication
Update Location (IMSI,MSRN) Generate (option) TMSI Start ciphering Insert Subscriber. data (Kc) IMSI
Start ciphering.
(contd..)
VLR
HLR
AUC
Start ciphering.
Forward new TMSI (TMSI) Loc. Upd. Acept (IMSI) Loc. Upd. Acept
Auth.Info.Req
TMSI Ack
(IMSI)
Auth.Info
(IMSI,Kc, RAND,SRES)
53
Loc.Upd.Req
(TMSI,LAI)
Authentication
Send para. From VLR new (TMSI, LAI) IMSI response (IMSI,RAND,SRES,Kc Update Location (IMSI,MSRN)
Forward new TMSI Subs. Data Insert Ack (TMSI) Location update accept
Cancel Location (IMSI) Cancel location ack (IMSI) Start ciphering Insert Subscriber. data (Kc) IMSI
Generate TMSI
54
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
Mobile identification
The Identification procedure is used to identify the MS when the VLR fails to recognize the TMSI sent by MS Such failure may be caused when the MS changes its location while powered off The Identification procedure is initiated by VLR The VLR send MAP/D provide IMSI message to the MSC
(TMSI,LAI)
(TMSI,LAI)
Send para. From VLR new (TMSI, LAI) IMSI response (IMSI,RAND,SRES,Kc Update Location (IMSI,MSRN) Cancel Location (IMSI) Cancel location ack (IMSI) Insert Subscriber. data IMSI
Authentication
Generate TMSI
Start ciphering (Kc) Forward new TMSI Subs. Data Insert Ack (TMSI) Location update accept
57
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
Mobile Authentication
Authentication procedure occurs at: Location Update Services Request
Mobile Authentication
Mobile Authentication is done every location update and every service request The VLR send MAP/D send parameter message to the HLR The Authentication is done using the AuC with the HLR
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
Mobile registration
GSM Attach/Detach or IMSI Attach/Detach is done only if you switch ON and switch OFF your cell phone Lets say you switched ON your Cell phone so at this stage what happens is you first synchronize with frequency (FCCH Channel) then you go for time synchronize(SCH Channel) and then you start getting information about your network (BCCH Channel.) It is like once you enter into the IDLE mode means you have done frequency and time synchronization and now you need to inform to the network that hey.now I am in idle mode
Mobile registration
IMSI ATTACHED
IMSI Attach MS registered
MS ON
IMSI ATTACHED
When mobile is turn on, it send its TMSI to the MSC which in turn send it to the VLR if suppose lets say you were there under this MSC/VLR before in this case what happens is that the state changes from the detach to attach.
IMSI ATTACHED
When MSC finds that the MS is new MS that is there is no any kind of entry for this particular MS in VLR then the MSC will ask HLRthe HLR will provide the details about the MS i.e nothing but the IMSI saying that this IMSI is validthe MSC now is going to create one entry in VLR for this new MS with the status of IMSI ATTACHEDinside the HLR also the same will be updated.
IMSI DETACHED
IMSI Detach MS OFF
IMSI DETACHED
Contents
GSM signaling and protocol architecture Mobile initialization Location update Mobile identification Mobile authentication Mobile registration MS- PSTN call PSTN-MS call MS-MS call Intra-MSC handover Inter-MSC handover
Call Origination
VLR u1
3 2
PSTN
MSC
VLR
PSTN
MSC
MS
70
Call Termination
PSTN
1
GMSC
5 2
HLR
3 6
VLR
Target MSC
Target MSC
Trunks
MSC
Local Exchange
Trunks
PSTN
MSC
MSRN
73
BSS 1
MSISDN 1
MSISDN 2
PSTN
MSRN
TMSI 9
TMSI
10
MSRN
Visited MSC
6 7 8 TMSI & LAC VLR
BSS 1
BSS 2
MSRN
HLR
MSISDN MSISDN TMSI MSISDN MSRN
PSTN
Home MSC
BSS 1
TMSI
BSS 2
MSRN TMSI & LAC
VLR
Home MSC
MSISDN
PSTN
MSISDN
Gateway MSC
HLR
TMSI
MSRN
BSS 1
TMSI
MSRN
Visite d MSC
MSRN TMSI & LAC
BSS 2
VLR
Ciphering*
Equipment Validation* Call Set-up
Handover(s)*
Release
C
HLR
VLR
6 7 8 9 10 11 12
Page TMSI (on PCH)
Channel Request (on RACH) Dedicated Signalling Channel Assignment (on AGCH) Page Response TMSI, LAI (on SDCH)
A
MSC
13
Call Set-up
14
15
Assign Radio Channel TCH
16
17
18
19
Mobile Alerting
20
Network Alerting
21
Connect (off-hook)
22
Connect
23
Connect Acknowledge
A
MSC PSTN
1 2 3 4 5 6 7
Channel Release Release Disconnect
Network Release
Release Complete
Clear Command
Clear Complete
BTS
BSC
Radio channel between Mobile Station and BTS selected by the BSC BSC BTS voice trunk selected by the BSC MSC BSC voice trunk selected by the MSC MSC PSTN voice trunk selected by the MSC Line from PSTN end switching office to Fixed Station (permanent link) - Base Station Controller Base Transceiver Station Mobile Switching Centre Public Switched Telephone Network
Equipment Validation*
Call Set-up Handover(s)* Release
* Phase might not occur Note: Detail for authentication and ciphering is not shown. It is the same as in the location registration update scenario.
A
MSC
New VLR
Channel Request
IMEI Request
IMEI Response
A BSS MSC
B VLR
10 11 12 13
Call Proceeding Access Subscriber Data
Subscriber Data
14
15 16 17
Trunk & Radio Assignment Complete TCH Assign Radio Channel TCH Radio Assignment Complete (on TCH)
18
19
Network Alerting
20
Alerting
21
Connect (answer)
22
Connect
23
Connect Acknowledgement
Note: Network Set-up, Network Alerting and Connect are generic terms. For SS7, the network set-up message would be Initial Assignment Message (IAM).
1 2 3 4 5 6 7
Network Release
Release
Release Complete
Clear Command
Channel Release
Clear Complete
Authentication*
Ciphering* Equipment Validation* Call Setup Originating Mobile
Routing Analysis Paging Authentication* Ciphering* Equipment Validation* Call Setup Handover(s)* Release Terminating Mobile
A
BSS
MSC VLR
A
BSS
Um
MS-B
Find Operation
Inter-LA
Inter-MSC Inter-VLR
97
98
GSM Handover
MSC
Subscriber Set
BSS
4types of handover
BTS
BTS BSC
Handover decision
receive level BTSold receive level BTSold
Handover procedure
MS BTSold BSCold measurement measurement report result HO decision HO required
MSC
BSCnew
BTSnew
HO command
HO command
HO access
HO complete
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Speech coding
Speech coding
In order to send our voice across a radio network, we have to turn our voice into a digital signal . GSM uses a method called RPE-LPC (Regular Pulse Excited - Linear Predictive Coder with a Long Term Predictor Loop) to turn our analog voice into a compressed digital equivalent.
RPE-LPC
In modern land-line telephone systems, digital coding is used . The electrical variations induced into the microphone are sampled and each sample is then converted into a digital code . The voice waveform is then sampled at a rate of 8 kHz . Since we sample 8000 times per second Each sample is then converted into an 8 bit binary number representing 256 distinct values . So we have a bit rate of 8kHz X 8 bits = 64kbps . This bit rate is unrealistic to transmit across a radio network since interference will likely ruin
RPE-LPC
A LPC encoder fits a given speech signal against a set of vocal characteristics. The best-fit parameters are transmitted and used by the decoder to generate synthetic speech that is similar to the original . Information from previous samples is used to predict the current sample . The coefficients of the linear combination of the previous samples, plus an encoded form of the residual, the difference between the predicted and actual sample, represent the signal . Speech is divided into 20 millisecond samples,
RPE-LPC
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Channel coding
Once we have a digital signal we have to add some sort of redundancy so that we can recover from errors when we transmit our digital voice over the radio channel. Channel coding adds redundancy bits to the original information to detect and correct errors occurred during transmission. GSM uses convolution coding and interleaving to achieve this protection. The exact algorithms used differ for speech and for different data rates
otection.
Channel coding
In digital transmission, the quality of the transmitted signal is often expressed in terms of how many of the received bits are incorrect. This is called Bit Error Rate (BER.) BER defines the percentage of the total number of received bits which are incorrectly detected.
Channel coding
This percentage should be as low as possible. It is not possible to reduce the percentage to zero because the transmission path is constantly changing.
Class Ia: 50 bits (most sensitive to bit errors) Class Ib:132 bits (moderately sensitive to bit errors) Class II: 78 bits (least sensitive to error)
Class Ia
Class Ib
Class II
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Interleaving
To further protect against the burst errors common to the radio interface, each sample is interleaved. This method rearranges a group of bits in a particular way. After encoding resultant sample block consists of 456 bits. These blocks are then divided into eight blocks each containing 57 bits. The first four blocks will be placed in the even bit positions of the first four bursts. The last four blocks will be placed in the odd bit positions of the next four bursts.
Interleaving
Because of interleaving lost bits are part of several different packets and each packet loses only a few bits out of a large number of bits. So Interleaving decreases the possibility of losing whole bursts during the transmission, by dispersing the errors. Since the errors become less concentrated , it is then easier to correct them.
Interleaving
Interleaving
Interleaving
Interleaving
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Modulation may be done by varying the amplitude ,phase, or frequency of a high frequency carrier in accordance with the amplitude of the message signal.
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Logical Channel
Signaling channels
The signaling channels on the air interface are used for call establishment, paging, call maintenance, synchronization, etc. There are three type of signaling channels
BCH Characteristics
Each cell has a designated BCH carrier All BCH timeslots transmit continuously on full power TS 0 contains logical control channels TS1-7 optionally carries traffic BCCH block occur once each 51-frame multiframe Each block comprises 4 frames carrying 1 message
General information, cell specific (local area code (LAC), network operator, access parameters, list of neighboring cells, etc .) The MS receives signals via the BCCH from many BTSs within the same network and/or different networks. Downlink only; correction of MS frequencies; transmission of frequency standard to MS ; it is also used for synchronization of an acquisition by providing the boundaries between timeslots and the position of the first timeslot of a TDMA frame.
Paging Channel (PCH) Access Grant Channel (AGCH) Random Access Channel (RACH)
Downlink only ; the MS is informed by the BTS for incoming calls via the PCH Downlink only , BTS allocates a TCH or SDCCH to the MS, thus allowing the MS access to the network. Uplink only , allows the MS to request an SDCCH in response to a page or due to a call ; the MS chooses a random time to send on this channel .
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Contents
Speech coding Channel coding Interleaving Frame structure Modulation Logical channel Organization of logical channel Power Control
Power Control
GSM is designed so that the MS uses only the minimum transmit power level to communicate with BTS the power of the GSM mobiles is closely controlled so that
the battery of the mobile is conserved the levels of interference are reduced performance of the base station is not compromised by high power local mobiles
7
8 9 10 11
29
27 25 23 21
12
13 14 15 16 17 18 19
19
17 15 13 11 9 7 5
7
8 9 10 11 12 13 14
16
14 12 10 8 6 4 2
Power Control
Power Control
Power Control
The transmit power level of MS is dynamically controlled in steps of 2 dB to a minimum of 20 m watt (13 dBm) MS power control is remotely controlled by BTS The BTS monitors the received power from the MS and ordered the MS to adjust the transmit power for minimum power level for reliable transmission.
Timing Advance
timing advance value corresponds to the length of time a signal takes to reach the base station from a mobile phone The TA value is normally between 0 and 63, with each step representing an advance of one bit period (approximately 3.69 microseconds) the TA value changes for each 550-metre change in the range between a mobile and the base station This limit of 63 550 meters is the maximum 35 kilometers that a device can be from a base station and is the upper bound on cell placement distance
Timing Advance
Timing Advance
Thank you