In this article we will consider the principles and methods of using the so-called. quality profiles of the services provided -
QoS , applied to packet data transmission in networks of mobile operators based on
GPRS / EDGE technologies.
Intro
It is quite natural that various applications and services that are based on packet data transmission in mobile networks, implemented using GPRS / EDGE technologies, impose significantly different requirements on such transmission parameters as: transmission error probability, transmission rate (maximum and average), temporary delays in data transmission, etc., therefore during activation of packet services, the subscriber is assigned a so-called service profile -
GPRS QoS * [Quality of service], but how effectively can the concept of quality profiles be used in such heterogeneous, from the physical side (radio transmission, communication channels, core network) data communications for the network, which is the GPRS architecture?
* - initially the QoS profile is stored both in the memory of the mobile terminal itself and in its main profile on the HLR 's, but when the PDP Context is activated, the mobile terminal can request the “updated” QoS profile based on which top-level application will be used PDP Context for data transmission, but the network, in turn, can also deny the requested QoS profile and assign a new QoS profile to its “discretion”, which very often happens. More details about this process can be found in the articles: Inside GPRS. Part 1 and GPRS from the inside. Part 2 .
Let's remember a little what this technology is about as a whole ...
')
In general, GPRS technology can be abstractly represented as a block structure, which consists of several independent blocks, in principle, “interconnected” with each other using certain interfaces. Inside, each individual unit has its own design, i.e. the level of quality that he can provide is QoS, “imposed” on him by his own interior, the implementation technology. Moreover, all blocks of the same structure should be a single, indivisible and holistic design (see diagram below).

As we already know, the BSS subsystem distributes radio resources between packet (PS - Packet Switched) and voice (CS - Circuit Switched) services dynamically, based on the current load, but naturally towards the priority of voice services. Therefore, the introduction of GPRS / EDGE technologies in no way affected the quality of the voice service provided, but the reverse effect of CS data priority on packet data QoS cannot be ruled out. The only possible solution is to provide so-called. guaranteed capacity for packet data on the cells themselves, i.e. reservation of a certain number of time slots (TS) for packet transmission, the concept of so-called.
GPRS Territory (see diagram below).
The QoS profile under GPRS in theory should be characterized by parameters that best meet the requirements of specific applications. Possible options for these parameters can be based on the following features:
- priority (Precendence Class)
- Delay Transmission (Delay Class)
- Reliability (Reliability Class)
- Peak Throughput Class
- average bandwidth (MeanThroughput Class)
Accordingly, by combining these groups of parameters, you can achieve the required level of service provided to the subscriber or application, but an even more efficient profile model should, in principle, be based on realistic data transmission parameters in a packet network, such as:
- packet delay
- middle jitter
- bandwidth
- error rate
But this is all in theory ...
So what is GPRS QoS in practice?
Strange as it may seem, but there is not even a precise definition of the very concept of GPRS QoS. In general, these are:
- overall quality of the services provided in the core network
- number of successful implementations of services for subscribers
- effective radio coverage of the GPRS network of the operator
At the same time, a very strong influence on the quality of the services provided on the basis of GPRS technology is associated with the protocols and stacks used. For example, the data transfer rate can be increased by an amount from 50% to 300% only by compressing data at L2 / L3 transmission levels, which means that the upper protocols in the GPRS stack simply “do not know” about the optimization mechanisms provided / assigned to subscribers in the QoS profiles (therefore there are quite effective programs “compressing” GPRS traffic). In addition, the overall bandwidth of data transmission via GPRS is very strongly connected with radio access. From this we can conclude that the effective use of QoS profiles for GPRS / EDGE architecture is possible only in a complete chain, ranging from radio access to high-level protocols for applications.
In the meantime, operators provide imaginary, I would even call the marketing QoS profiles of quality, in practice, subscribers will still swear at the GPRS / EDGE technology and applications are based on their base. For example, in one
article on Habré, there was a conversation about pinging hosts via GPRS. Trying to figure it out, we found out that the average time is 400-700 ms, regardless of the time of day, i.e. eliminated the increased load intervals on the packet network. Then I still thought it was about network capacity, total daytime load, etc., but now I am more and more inclined that it is in the “generalized” QoS quality profiles that many operators assign as “default” for all subscribers, which in turn leads to a general loss of quality on the entire packet network of the operator.
For comparison, the same ping is for other wireless packet data transmission technologies (you do not need to throw stones at once, this is average data):
- WLAN : about 50-200 ms
- UMTS : about 100-250 ms
Not to mention that for wired
LAN ping will be at the level of 5-20 ms.
This already indicates that in these architectures (WLAN,
UMTS ) the concept of quality profiles is already implemented at a higher level and covers almost the entire chain of communications through which the subscriber’s packets pass, at least this can already be said with respect to
UMTS technology , although here everything is not as smooth as we would like.
An important role in this chain is also played by the
GGSN , which actually acts as a gateway to all external networks. To effectively apply QoS profiles, it must perform the following functions:
- coordination of the levels of services provided
- error detection / correction management
- generating QoS event logs
QoS Attributes and Classes
It should be noted that the development and improvement of the classification methods of the quality provided does not stand still and with the new specifications, the QoS profiles are “overgrown” with new, increasingly discrete characteristics, but the key parameters of the QoS classes and attributes were incorporated in several basic specifications, for example, the basic QoS parameters, which were presented in Rel 97/98 specifications:
- Reliability class
The GSM specifications define 5 basic reliability classes for GPRS, while the reliability of the data is determined in terms of probability:
- data loss (probability of data loss)
- probability of duplicate data delivery
- data corruption (probability of corrupted data)
Depending on the class of reliability, the values ​​of these parameters can range from 10 -9 to 10 -4 . Reliability class defines the requirements for network protocols at various levels. To meet the requirements of the class of reliability set the appropriate combination of transmission modes (Mode) at the levels of GTP (en), LLC and RLC . For signaling, i.e. The overhead data (GMM - [GPRS ​​Mobility Management] / SM) and SMS use 3rd reliability class, but not the fact that all PLMN networks of operators can support this class when the subscriber is moved between networks.
Part of this class is associated with the need for data transfer: from 1 (Class A) - applications that are “sensitive” to errors, to 5 for non-real-time applications that can compensate for errors.
- Delay class
In the GSM Rec. 02.60 allocate 4 classes for providing possible delays in data transmission, but nevertheless only a part of them can be implemented on the operator’s network, for example, one of the possible options is to provide so-called The " best effort delay class " (class with the lowest delay under the given conditions) corresponding to Class 4. At the same time, the total time delays across the entire GPRS packet core network are still not classified in the specifications, since During the "transitions" of data packets, for example, from the radio interface to the core network, their own time delays may appear. The requirements for maximum delay depend on the length of the packets, for example, when transmitting short packets, the delay requirements are somewhat stricter.
- Precedence class
This attribute defines 3 main classes that determine the importance of passing packets, on the basis of which packets with less importance will be dropped in case of increased load or limited resources.
- Peak Throughput class
This class defines the maximum bandwidth (bytes / s) that the user expects to receive during the entire session. However, there are no guarantees that such bandwidth will be reached within a specified period of time, since This factor will depend both on the capabilities of the mobile station itself, the MS, and on the allocated radio resources. In this attribute, 9 basic classes are defined, ranging from Class 1 - 1000 bytes / s (8 kbit / s), to Class 9 - 256000 bytes / s (2048 kbit / s). At the same time, the capacity of the available bandwidth doubles from one class to another. Peak bandwidth is estimated on the Gi interface (between GGSN and external internet / intranet networks) and the “output” from MS (for more details about the main interfaces in the packet network, see the GPRS article from the inside. Part 3 )
- Mean Throughput class
Bandwidth is evaluated on the same interfaces as the peak. This attribute defines the resources allocated for the data transfer rate that is expected to be received from the terminal device when the link is activated. In total, 19 classes are allocated, from Class 1 to Class 18 - providing a transfer rate of 111 kbit / s, while the 18 classes will be allocated the maximum resources to ensure the requested speed. Also possible so-called. " best effort " class, providing the highest possible speed, he was assigned the number 31.
Schematically, the QoS classes are depicted in the figure below:
Qos and Roaming between wireless networks
Another non-specific issue in the provision of a given level of quality in GPRS / EDGE networks is the issue of coordinating quality levels when a subscriber enters the network coverage area of ​​another operator, i.e.
GPRS Roaming , and even more so roaming between networks with different architectures (a detailed description of the process of transition from one
PLMN (en) network to another can be found in the
Expensive GPRS Roaming article). In the case of roaming, questions immediately arise: does the roaming partner support the same technology that the subscriber requested in his home network (HPLMN), what is the cost of supporting such technology in the guest network (VPLMN), etc., all these questions are necessary agree on the fly, without any user intervention, which of course is still not entirely realistic. Therefore, many services during the transition between roaming networks will be “transferred” to the “best effort” modes if this mode can support the guest network, which usually entails equalization of all users and naturally, a general decline in the quality of the services provided.
Mobile Terminal Classes
Since we have touched upon the topic of the quality profiles of the services provided, I would like to casually mention the multi-slot qualities of mobile terminals, which are partly related to the quality of the services provided.
There are two main classifications of mobile terminals designed to work with GPRS / EDGE technologies: alphabetic and numeric. The literal classification indicates the possibility of simultaneous processing of both voice services and packet services and is more connected with the implementation of the Gs interface in the operator’s network (reference to the class of mobile devices can be found in the
GPRS article is
not an obstacle to calls ).
But the second numerical classification points directly to the capabilities of the device in terms of capacity for receiving and outputting useful data, i.e. This classification indicates the number of time slots that a mobile station (MS) can use to the maximum both towards the network (
Uplink - UL ) and down from the network (
Downlink - DL ). Usually, the specification for a mobile terminal indicates either the class number itself or the number of TSs, for example 4/1 - a maximum of 4 time slots for DL ​​and 1 TS for UL.
The main specification that regulates the mechanisms for allocating slots for transmission -
3GPP TS 45.002 , defines 45 multislot classes that can be used by mobile terminals, for example, class 45 presents the following scheme - max 6 DL + max 6 UL, but here it is necessary to take into account that on a cell no more than 8 TS can be allocated in one frame, so even for this class a simultaneous number of TS will not exceed 7 slots (one TS per cell is allocated for service data).
All these classes should also be taken into account when determining the quality profile provided, since they are directly related to the MS capabilities in the speed of received and sent information.
Conclusion
To date, the applications implemented on the basis of GPRS / EDGE technology, which are most tied to the quality of the service provided include:
- VoIP
- VPN
- Real-time Video
- Video streaming
Naturally, these are all “representatives” of real-time applications, but it’s not yet possible to offer these applications reasonable quality profiles in a number of current architectures (GPRS / EDGE for 2G). There are no existing mechanisms for the implementation of the relevant quality levels of the service provided Part of the situation is changing already in the following architectures, for example, in UMTS, the “impact” of QoS profiles is significantly expanded, including the boundaries of the radio part and the frontier of the transfer protocols for network elements (see the diagram below).
These attempts to implement the concept of QoS profiles in the UMTS architecture speak about the correctness of choosing a holistic approach to determining the quality of service provided, which will cover the entire package path and take into account the features of both the radio part and the backbone network of operators. Even more effective is the QoS application model for:
- individual application
- individual subscriber
- used APN
So, we will expect full-fledged implementations of next-generation architectures - WiMaX / LTE / etc., Which can fully implement the QoS concept in practice, but for now we will be satisfied with what we have ...
A small assistant:
BSC - Base Station Controller
BSS - Base Station Subsystem
EDGE - Enhanced Data Rates for GSM Evolution
GGSN - Gateway GPRS Support Node
GMM - GPRS Mobility Management
GPRS - General Packet Radio Service
GTP - GPRS Tunneling Protocol
HLR - Home Location Register
HPLMN - Home PLMN
LLC - Logical Link Control
MS - Mobile Station
PDP - Packet Data Protocol
PLMN - Public Land Mobile Network
PS - Packet Switched
SGSN - Serving GPRS Support Node
VPLMN - Visitors PLMN
UMTS - Universal Mobile Telecommunications System