GSM(2G-2.5G) Structure (NSS)
GSM Structure
NSS is core part of GSM system. NSS handle switching functions, mobility management function and manages the communications between mobile phone other telephone network. NSS includes with MSC, VLR, HLR, AUC and EIR that all are described in more detail below.
VLR is a temporary database of the subscribers who have roamed into the particular area which it serves. The data stored in the VLR has either been received from the HLR, or collected from the MS. These temporary data contain with IMSI, MSISDN, Subscriber services, Category, Triplets and LAI.In practice, for performance reasons, most vendors integrate the VLR directly to the MSC.
Home Location Register (HLR)
HLR is a central database that contains details of each mobile phone subscriber that is authorized to use the GSM core network. Examples of data stored in the HLR are Mobile Station ISDN Number (MSISDN), International Mobile Subscriber Identity (IMSI), Subscriber location (MSC/VLR, SGSN address), services (Ex. supplementary service, GPRS, SMS) and triplets for AUC. HLR will provide subscriber data to MSC/VLR/SMSC When MSC/VLR/SMSC have requested data of visited subscribers to HLR. MSISDN = CC + NDC + SN
CC: Country Code, NDC: National Destination Code, SN: Subscriber Number
Cell Global Identity (CGI) = LAI + CI, LAI :Location Area Identity, CI : Cell Identity
The AUC generates data known as triplets for the MSC to use during this procedure. The key of this process is Ki. Ki is shared secret between the AUC and the SIM. The Ki is securely burned into the SIM during manufacture and is also securely replicated onto the AUC.
When the MSC asks the AUC for a new set of triplets for a particular IMSI, the AUC first generates a random number called as RAND. This RAND is combined with the Ki in A3 algorithm Signed RESponse or SRES. The Ki and RAND are fed into the A8 algorithm and a session key called Kc is calculated for ciphering process.
The Triplet (RAND, SRES, KC) sent back to the MSC. When a particular IMSI access to the GSM core network, the authentication process is started. The MSC sends the RAND value of the
For performance reasons, most vendors integrate the AUC directly to the HLR.
If mobile operators have active EIR function, only valid mobile phone is allowed to access their network.