Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

How GSM networks work. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering /Mobile telephony

Comments on the article Comments on the article

GSM (or Global System for Mobile Communications) was developed in 1990. The first GSM operator accepted subscribers in 1991, by the beginning of 1994, networks based on the standard in question already had 1.3 million subscribers, and by the end of 1995 their number had increased to 10 million!

Let's start with the most complex and, perhaps, boring - network flowchart. The description will use internationally accepted English abbreviations.

The simplest part of the block diagram - a portable phone, consists of two parts: the "handset" itself - ME (Mobile Equipment - a mobile device) and a SIM smart card (Subscriber Identity Module - subscriber identification module), obtained when concluding a contract with an operator. Like any car is equipped with a unique body number, so the cell phone has its own number - IMEI (International Mobile Equipment Identity - international mobile device identifier), which can be transmitted to the network at its request. SIM, in turn, contains the so-called IMSI (International Mobile Subscriber Identity - international subscriber identification number). Thus, IMEI corresponds to a specific phone, and IMSI - to a specific subscriber.

The "central nervous system" of the network is NSS (Network and Switching Subsystem - network and switching subsystem), and the component that performs the functions of the "brain" is called MSC (Mobile services Switching Center - switching center). It is the latter that everyone calls the "switch", and also, in case of problems with communication, they blame it for all mortal sins. There may be more than one MSC in the network. MSC handles call routing, generating data for the billing system, manages many procedures - it's easier to say what is not the responsibility of the switchboard than to list all its functions.

The next most important network components, also included in the NSS, I would call the HLR (Home Location Register - the register of own subscribers) and the VLR (Visitor Location Register - the register of movements). Pay attention to these parts, in the future we will often refer to them. HLR, roughly speaking, is a database of all subscribers who have entered into a contract with the network in question. It stores information about user numbers (numbers mean, firstly, the IMSI mentioned above, and secondly, the so-called MSISDN-Mobile Subscriber ISDN, i.e. a telephone number in its usual sense), a list of available services and much more the other - further down the text will often describe the parameters that are in the HLR.

Unlike HLR, which is one in the system, there can be several VLRs - each of them controls its part of the network. The VLR contains data about subscribers who are on its (and only its!) territory (and not only its subscribers are served, but also roamers registered in the network). As soon as the user leaves the coverage of a VLR, information about him is copied to the new VLR, and deleted from the old one. In fact, there is a lot in common between what is about a subscriber in the VLR and in the HLR - look at the tables for a list of long-term (Table 1) and temporary (Table 2 and 3) subscriber data stored in these registries. Once again about the difference between HLR and VLR: the first contains information about all subscribers of the network, regardless of their location, and the second contains data only about those who are located in the territory subordinate to this VLR. In the HLR, for each subscriber, there is always a link to the VLR that is currently working with him (the subscriber) (in this case, the VLR itself may belong to a foreign network located, for example, at the other end of the Earth).

Long-term data stored in HLR and VLR

1. International Subscriber Identity (IMSI)
2. Telephone number of the subscriber in the usual sense (MSISDN)
3. Mobile station category
4. Subscriber Identification Key (Ki)
5. Types of provision of additional services
6. Index of the closed user group
7. Lock code for a closed user group
8. Composition of the main calls that can be transferred
9. Caller alert
10. Identification of the number of the called subscriber
11. Schedule
12. Called Party Alert
13. Signaling control when connecting subscribers
14. Characteristics of a closed user group
15. Closed User Group Benefits
16. Denied outgoing calls in a closed user group
17. Maximum number of subscribers
18. Used passwords
19. Priority access class

Temporary data stored in HLR
1. Identification and encryption options
2. Temporary Mobile Subscriber Number (TMSI)
3. Address of the travel register in which the subscriber is located (VLR)
4. Movement zones of the mobile station
5. Cell number in handover
6. Registration status
7. No answer timer
8. Composition of currently used passwords
9. Communication activity

Temporary data stored in the VLR
1. Temporary Mobile Subscriber Number (TMSI)
2. Subscriber Location Identifiers (LAI)
3. Instructions for using basic services
4. Cell number in handover
5. Identification and encryption options

NSS contains two more components - AuC (Authentication Center - authorization center) and EIR (Equipment Identity Register - equipment identification register). The first block is used for subscriber authentication procedures, and the second, as the name implies, is responsible for allowing only authorized cell phones to operate on the network.

The executive, so to speak, part of the cellular network is BSS (Base Station Subsystem - a subsystem of base stations). If we continue the analogy with the human body, then this subsystem can be called the limbs of the body. BSS consists of several "arms" and "legs" - BSC (Base Station Controller - base station controller), as well as many "fingers" - BTS (Base Transceiver Station - base station). Base stations can be observed everywhere - in cities, fields - in fact, they are simply transceivers containing from one to sixteen emitters. Each BSC controls an entire group of BTSs and is responsible for channel management and distribution, base station power level, and the like. Usually there is not one BSC in the network, but a whole set (there are hundreds and thousands of base stations in general).

The operation of the network is managed and coordinated using OSS (Operating and Support Subsystem - a subsystem for management and support). OSS consists of all sorts of services and systems that control operation and traffic.

Each time you turn on your phone after selecting a network, the registration procedure starts. Let's consider the most general case - registration not in the home, but in someone else's, so-called guest, network (we will assume that the roaming service is allowed for the subscriber).

Let the network be found. When requested by the network, the phone transmits the subscriber's IMSI. IMSI starts with the country code of the owner's "registration", followed by numbers that identify the home network, and only then - the unique number of a particular subscriber. For example, the beginning of IMSI 25099 ... corresponds to the Russian operator Beeline. (250-Russia, 99 - Beeline). Based on the IMSI number, the VLR of the guest network identifies the home network and contacts its HLR. The latter transmits all the necessary information about the subscriber to the VLR that made the request, and places a link to this VLR in itself, so that, if necessary, it knows where to look for the subscriber.

The process of determining the authenticity of the subscriber is very interesting. When registering, the home network AuC generates a 128-bit random number - RAND, sent to the phone. Inside the SIM, using the Ki key (identification key - like IMSI, it is contained in the SIM) and the A3 identification algorithm, a 32-bit response is calculated - SRES (Signed RESult) according to the formula SRES = Ki * RAND. Exactly the same calculations are done simultaneously in AuC (according to the user's Ki selected from the HLR). If the SRES calculated in the phone matches the SRES calculated by AuC, then the authorization process is considered successful and the subscriber is assigned a TMSI (Temporary Mobile Subscriber Identity). The TMSI serves solely to improve the security of the subscriber's interaction with the network and may change from time to time (including when changing the VLR).

Theoretically, during registration, the IMEI number should also be transmitted, but I have big doubts about the fact that the Minsk operator tracks the IMEI of the phones used by subscribers. Let's consider some "ideal" network, functioning as it was intended by the creators of GSM. So, when the IMEI is received by the network, it is sent to the EIR, where it is compared with the so-called "lists" of numbers. The white list contains the numbers of phones authorized for use, the black list consists of IMEIs, stolen phones or for some other reason not approved for use, and finally the gray list - "handsets" with problems that are allowed by the system, but behind which is constantly monitored.

After the procedure of identification and interaction of the guest VLR with the home HLR, a time counter is started, which sets the moment of re-registration in the absence of any communication sessions. Usually, the mandatory registration period is a few hours. Re-registration is necessary in order for the network to receive confirmation that the phone is still in its coverage area. The fact is that in standby mode, the “handset” only monitors the signals transmitted by the network, but does not emit anything itself - the transmission process begins only if a connection is established, as well as during significant movements relative to the network (this will be discussed in detail below) - in such cases, the timer counting down the time until the next re-registration is restarted. Therefore, if the phone "falls out" from the network (for example, the battery was disconnected, or the owner of the device entered the subway without turning off the phone), the system will not know about it.

All users are randomly divided into 10 equal access classes (with numbers from 0 to 9). In addition, there are several special classes with numbers from 11 to 15 (various types of emergency and emergency services, network staff). Access class information is stored in the SIM. A special, class 10 access allows you to make emergency calls (to number 112) if the user does not belong to any permitted class, or does not have an IMSI (SIM) at all. In the event of emergencies or network congestion, some classes may be temporarily denied access to the network.

As already mentioned, the network consists of many BTS - base stations (one BTS - one "cell", cell). To simplify the functioning of the system and reduce service traffic, BTS are combined into groups - domains called LA (Location Area - location areas). Each LA has its own LAI (Location Area Identity) code. One VLR can control multiple LAs. And it is the LAI that is placed in the VLR to set the location of the mobile subscriber. If necessary, it is in the corresponding LA (and not in a separate cell) that the subscriber will be searched. When a subscriber moves from one cell to another within the same LA, re-registration and changing records in the VLR / HLR is not performed, but as soon as he (the subscriber) enters the territory of another LA, the phone will begin to interact with the network. When LA is changed, the code of the old area is erased from the VLR and replaced by a new LAI, but if the next LA is controlled by another VLR, then the VLR will be changed and the record in the HLR will be updated.

Generally speaking, partitioning a network into LA is a rather difficult engineering task, which is solved when building each network individually. Too small LAs will lead to frequent re-registration of phones and, as a result, to an increase in traffic of various kinds of service signals and faster discharge of mobile phone batteries. If the LA is made large, then, if it is necessary to connect with the subscriber, a call signal will have to be sent to all cells included in the LA, which also leads to an unjustified increase in the transmission of service information and overloading the internal channels of the network.

Now let's look at a very beautiful algorithm of the so-called handover (this name was given to the change in the channel used during the connection process). During a conversation on a mobile phone, due to a number of reasons (removal of the "handset" from the base station, multipath interference, the subscriber moving into the so-called shadow zone, etc.), the signal strength (and quality) may deteriorate. In this case, there will be a switch to a channel (maybe another BTS) with a better signal quality without interrupting the current connection (I will add - neither the subscriber nor his interlocutor, as a rule, notice the handover that has occurred).

Handovers are usually divided into four types:

1. changing channels within the same base station
2. changing the channel of one base station to the channel of another station, but under the patronage of the same BSC.
3. channel switching between base stations controlled by different BSCs but one MSC
4. channel switching between base stations, for which not only different BSCs, but also MSCs are responsible.

In general, handover is the task of the MSC. But in the first two cases, called internal handovers, in order to reduce the load on the switch and service lines, the channel change process is controlled by the BSC, and the MSC is only informed about what happened.

During a conversation, the mobile phone constantly monitors the signal level from neighboring BTSs (the list of channels (up to 16) that need to be monitored is set by the base station). Based on these measurements, the six best candidates are selected and reported continuously (at least once per second) to the BSC and MSC to organize a possible switch. There are two main handover schemes:

"Least switching mode" (Minimum acceptable performance). In this case, when the quality of communication deteriorates, the mobile phone increases the power of its transmitter as long as possible. If, despite the increase in the signal level, the connection does not improve (or the power has reached its maximum), then a handover occurs.

"Energy saving mode" (Power budget). At the same time, the power of the mobile phone transmitter remains unchanged, and in case of deterioration in the quality, the communication channel (handover) changes.
Interestingly, not only a mobile phone can initiate a channel change, but also an MSC, for example, for better traffic distribution.

Let's now talk about how incoming calls are routed on a mobile phone. As before, we will consider the most general case when the subscriber is in the coverage area of ​​the guest network, registration was successful, and the phone is in standby mode.
When a connection request (figure below) is received from a wired telephone (or other cellular) system on the MSC home network (the call "finds" the desired switch by the dialed MSISDN mobile number, which contains the country and network code).

The MSC forwards the subscriber's number (MSISDN) to the HLR. The HLR, in turn, makes a request to the VLR of the visited network in which the subscriber is located. VLR allocates one of the available MSRN (Mobile Station Roaming Number - the number of "wandering" mobile station). The MSRN assignment ideology is very similar to the dynamic assignment of IP addresses in dial-up Internet access via a modem. The home network HLR receives the MSRN assigned to the subscriber from the VLR and, after accompanying it with the user's IMSI, transmits it to the home network switch. The final stage of connection establishment is the direction of the call, accompanied by IMSI and MSRN, to the guest network switch, which generates a special signal transmitted over PAGCH (PAGer CHannel - call channel) throughout the LA where the subscriber is located.

Outgoing call routing does not represent anything new and interesting from an ideological point of view. Here are just some of the diagnostic signals that indicate the inability to establish a connection and which the user may receive in response to a connection attempt.

Basic diagnostic signals for a connection error

Subscriber's number is busy - 425±15 Hz - 500ms beep, 500ms pause
Network overload - 425±15 Hz - 200ms beep, 200ms pause
Total error - 950±50Hz 1400±50Hz 1800±50Hz - Triple beep (each part 330ms), 1s pause

Publication: cxem.net

See other articles Section Mobile telephony.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Artificial leather for touch emulation 15.04.2024

In a modern technology world where distance is becoming increasingly commonplace, maintaining connection and a sense of closeness is important. Recent developments in artificial skin by German scientists from Saarland University represent a new era in virtual interactions. German researchers from Saarland University have developed ultra-thin films that can transmit the sensation of touch over a distance. This cutting-edge technology provides new opportunities for virtual communication, especially for those who find themselves far from their loved ones. The ultra-thin films developed by the researchers, just 50 micrometers thick, can be integrated into textiles and worn like a second skin. These films act as sensors that recognize tactile signals from mom or dad, and as actuators that transmit these movements to the baby. Parents' touch to the fabric activates sensors that react to pressure and deform the ultra-thin film. This ... >>

Petgugu Global cat litter 15.04.2024

Taking care of pets can often be a challenge, especially when it comes to keeping your home clean. A new interesting solution from the Petgugu Global startup has been presented, which will make life easier for cat owners and help them keep their home perfectly clean and tidy. Startup Petgugu Global has unveiled a unique cat toilet that can automatically flush feces, keeping your home clean and fresh. This innovative device is equipped with various smart sensors that monitor your pet's toilet activity and activate to automatically clean after use. The device connects to the sewer system and ensures efficient waste removal without the need for intervention from the owner. Additionally, the toilet has a large flushable storage capacity, making it ideal for multi-cat households. The Petgugu cat litter bowl is designed for use with water-soluble litters and offers a range of additional ... >>

The attractiveness of caring men 14.04.2024

The stereotype that women prefer "bad boys" has long been widespread. However, recent research conducted by British scientists from Monash University offers a new perspective on this issue. They looked at how women responded to men's emotional responsibility and willingness to help others. The study's findings could change our understanding of what makes men attractive to women. A study conducted by scientists from Monash University leads to new findings about men's attractiveness to women. In the experiment, women were shown photographs of men with brief stories about their behavior in various situations, including their reaction to an encounter with a homeless person. Some of the men ignored the homeless man, while others helped him, such as buying him food. A study found that men who showed empathy and kindness were more attractive to women compared to men who showed empathy and kindness. ... >>

Random news from the Archive

The flock shares information 02.08.2019

Birds that fly in flocks, antelopes and zebras that run in herds, and fish that huddle in schools do it for a reason - obviously, being in a group gives them some benefit. Maybe it’s safer for them, maybe it’s easier for them to look for food, maybe it’s just physically easier to move around in a large company - it’s known, for example, that birds really fly faster in large flocks.

Researchers at the University of Warwick tried to explain flocking behavior in terms of the common notion that birds, fish, and all living things in general desire the greatest possible freedom. This means that they need as much information as possible about what is happening around - then, having collected information about the surrounding space, it will become better clear where you can move. Simply put, birds (for convenience, we will only talk about birds) want to know all the possibilities - and it turns out that in order to know all the possibilities, you need to fly in a flock.

The authors of the work did not observe the birds themselves, but instead built a virtual model in which the virtual "birds" tried to "see" as much as possible around them. Several features quickly emerged in their behavior: firstly, they aimed at each other, secondly, they repeated the movements of their neighbors, and thirdly, they tried not to crash into each other. In other words, the virtual "birds" formed a flock for which it was possible to predict where it would move, how many "birds" were in it, etc. - moreover, what is important, the parameters of the virtual flock were close to how real flocks behave , herds and shoals.

The algorithm that describes the behavior in a flock is similar to the algorithm called a search tree, which is used, for example, in chess programs: game options look like a tree branching at nodes where different turns of the game are possible. The algorithm searches the search tree for the line of play that gives the greatest benefit.

Other interesting news:

▪ Asphalt cleans the air

▪ wooden chip

▪ Space station in a giant asteroid

▪ TPL5110 - Nano Power Management Timer

▪ Fairy robot for plant pollination

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ section of the site Data transfer. Article selection

▪ article Vane propeller. Tips for a modeler

▪ article Can birds smell? Detailed answer

▪ article Servicing the jaw logger as a lifting device. Standard instruction on labor protection

▪ article Horn, ivory. Simple recipes and tips

▪ article Frequency synthesizer for a radio station in the range 144-146 MHz. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024