
* How everything is arranged nobody knows ...
Passions for the introduction of mobile number portability services have subsided a bit and now it is time to figure out what was done and how, what is the logic of the work and look at some technical aspects. I want to ask all telecom gurus in advance to forgive me for intentional simplifications and ignore irrelevant details.
One of the main tasks solved by networks that support MNP is to establish the subscriber’s belonging to any operator. It is necessary to correctly send a voice call or SMS, and for payment systems - to whom to transfer money. To solve this problem, a centralized database is used - the central database of the transferred numbers.
')
Everyone remembers that the federal state unitary enterprise ZNIIS was assigned as an operator of the TsDDPN, whose task was to deploy the said base, with which all players should be connected. Of course, ZNIIS did not have any own developments, and there was an offer to buy a ready-made Numlex solution from the Lithuanian company Mediaphone. Actually, that's what happened. The money for the purchase in the amount of 70 million rubles was allocated by the Ministry of Communications, which made it possible to launch the TsDPN in record time. By the way, on the site of the ZNIIS itself there is an opportunity to check the number belonging to the operator:
www.zniis.ru/bdpn/checkThe ZNIIS constantly lays out the meager statistics on the number of successful transitions, from which, unfortunately, the main thing cannot be understood: who has won what share from whom. But you can see the dynamics of demand services. If it goes on like this, I think the predictions that MNP is in demand only for 1-2% will be wrong

We will consider MNP in two planes:
- the transfer procedure itself, during which the subscriber migrates from one operator to another, and the TSPDB database is updated with routing information, the main of which is the routing number RN;
- The work of the main services of the operator with the new features.
It would also be interesting to look at payment systems. But, alas, I don’t own this issue at all, so I have to leave it to more competent authors. Get connected, tell.
Looking ahead, I’ll say that the cornerstone of all call processing logic is the routing number RN, which has the following format:
DXXYY , where:
D - always the symbol "D"
XX - region code according to the
Constitution . It looks like a traffic police code, but for many regions it does not match. For example, for RN code 55 - refers to the Novgorod region, although the traffic police in Novgorod code 53.
YY - operator code. For MTS-01, for MegaFon - 02, for Beeline - 99, for Tele2 - 20
PORTING SUBSCRIBER
In the documents of the
ZNIIS you can find a lot of colorful process diagrams and a fairly detailed description of the commands, completion codes and all necessary procedures. We will consider a typical transfer scenario in which the subscriber of the donor operator goes to the recipient operator. In a word, this is called Portation.
Figure 1 is a diagram of the porting process.
Consider the main stages of the process
- The subscriber comes to the office of the new operator (recipient) and writes a statement about the transition.
- The recipient operator sends a request to the central processing unit, where the application is registered and the porting process starts.
- The donor operator receives the application and performs a number of checks - the subscriber’s membership is no debt, no transfer ban for 6 months. from the date of connection, etc.
- If all checks are successful, the donor sends the estimated date of commencement of the transfer. Usually this date is selected after 7 full days from the current moment. As practice shows, during this period, the donor operator begins to process the subscriber, trying to find out from him the reasons for his departure and suggests how to think. Not sure about the effectiveness of such a policy; It seems to me that the subscriber, if he has already thought up and walked to the office with his feet, to write a statement, nothing will stop him.
- On the appointed day and time, the small portions stage begins, when the main participants of the process make changes in their systems and after that the new SIM card of the subscriber can work in the new network. The first to start is the donor, who deactivates the subscriber in his systems - HLR and billing.
- Then the recipient activates his new subscriber in his. According to the regulations, all these manipulations are given half an hour. It is during this period that the subscriber remains completely without communication. It must be said, usually, all fit in a few minutes. And after that, the subscriber can register in the new network and even use many services.
- Further, the donor makes changes to his SFR so that calls from his network to his “former” subscriber are correctly sent to his new home network. This ends the stage of a small port and our subscriber, exhausted but happy, begins to get used to the new operator.
- TSBDPN spreads in its database incremental data about the new RN of the ported subscriber, and all connected operators collect this information every 2 hours and update their SRF
Everything! Now all operators know that our client has moved to a new network.And here it remains to add that most operations are performed automatically. Exceptions are, of course, interaction with the subscriber and the handling of various errors and special situations. For example, the subscriber could change his mind to change the network - in this case there are some typical scenarios.
WORK OF MAIN SERVICES
Since this whole story is about a phone number, voice calls and SMS are of primary interest. As I already wrote, the main task for call service is to establish the location of the called subscriber. In a classical mobile network, its switch, called GMSC, solves, and the STP signaling gateway, which describes static routes for sending requests to HLRs based on the number of the subscriber, is helping. If you are poorly familiar with the principles of mobile networks, I will explain that the HLR is a database that stores information not only about the technical parameters of subscribers, but also about the current serving switch of each of them. And to find the called party, the network makes a request to the HLR.
With the advent of MNP, static signaling routing based on MSISDN no longer allows us to find the desired HLR, and therefore the operator has a new node called the SRF. The main task of the SRF is to store, update and provide information on the belonging of any number to the region and the operator. The sign of belonging is the routing number RN, which is used further, in conjunction with the MSISDN number, for routing MAP and ISUP traffic by GMSC / MSS switches.
Now let's analyze the voice call script to the subscriber ported to the new network. For example, subscriber A from the Tele2 network calls subscriber B, who has switched to MTS **. From where he came from now it doesn’t matter, because his past statement is no longer involved in the procedures. Internal algorithms for working with SRF operators may be different. But, we will look at the scheme in general terms, keeping in mind that this can only be one of the options.
** operators are chosen arbitrarily.
Figure 2 - Call to the ported subscriber
- The number dialed subscriber A, from the home network T2. The MSC switch servicing it transfers the call to the gateway GMSC, whose task will be the further organization of the call.
- The gateway GMSC makes a request to the SRF, where there is information about the routing number of the RN with the region and operator codes (for example, D5501 - MTS Novgorod)
- The SRF node returns a response to the SRI to the GMSC, where a bunch of RN + MSISDN appears as the temporary number
- GMSC, based on the received RN + MSISDN, routes the call to the MTS operator.
- Well, then - the standard procedure for finding a subscriber within the network - a request to the HLR-B, obtaining a temporary number and GT VLR, establishing a voice connection to the final MSC of subscriber B.
For ease of understanding, the verification stage of subscriber B’s belonging on the side of the receiving operator (MTS) is omitted. It is also performed through the SRF and is necessary in case other operators send calls to the wrong address, i.e. in our case - to numbers that do not belong to MTS. Such calls MTS will send to where the called subscriber is now actually registered and will take for it his own penny for transit.
I repeat that the details of the internal decisions of different operators may differ. But, in general, the principle is the same in one thing: to find the routing path, the network uses its own SRF node, which “knows” which subscriber has been ported and where and which not.
Considering in detail the same scenario for sending SMS, it does not make much sense. Let me just say that in order to search for the recipient subscriber, the SMSC initiates the standard SRI_for_SM request, which should get into the recipient's HLR. Along the way, this request is intercepted by the SRF, which helps to find the real receiving operator. In response, the SMSC will receive the GT VLR where the recipient and the IMSI are located to send the message to the serving switch. How exactly this information will be obtained by SRF is a matter of particular concern in the routing of the operator’s signal network and the add-on used. functionality on STP nodes.
PROBLEMS
At the initial stage of the implementation of MNP, it was often the case that some single operators did not always have time to make changes in call routing and signalization. Because of this, some ranges of numbers could be worked out according to the previous scheme, without the participation of the SRF. Now this is extremely rare.
Some problems arise in connection with the untimely update of local databases of operators. The fact is that each major player has several SFR nodes and they are synchronized not directly with the TsBDPN, but through the local BDPN of the operator. These processes somewhat reduce the efficiency of the porting procedure. For the subscriber, this may look like the absence of incoming calls from some operators.
If the main services are already more or less tested and cleared of bugs, then the mass of exotic, “smart” services built on IN platforms - various types of call forwarding, SMS, short numbers, mobile numbers in city ABC format, and so on. all this has yet to be rechecked. I do not claim that everything is bad here. But, you need to understand that the more crutches and the less demanded functionality, the greater the likelihood that some mechanisms have forgotten to adjust under the MNP.
CONCLUSION
When in the autumn of 2013 all market participants criticized the organization of the MNP project, they were right. On the part of the Ministry of Communications, the intelligible rules were announced very late. But, it was possible to implement the project due to the fact that our country was not a pioneer in this area. There were ready-made solutions on the market - both for the TsDDPN, and for each operator and vendor of its equipment. So the abolition of mobile slavery, in general, went quietly, without hysteria. And, although the roughness still remained, in general, telecom operators, contrary to the prevailing stereotype, worked very quickly and consistently.