Mobile Networking: How Location Updates Occur in Mobile Devices

mobile

I have learned that your mobile periodically updates it's location when it moves from one location area to another and I learned that some updates will be made to VLR and HLR like in VLR your details will be added and in HLR your details will be deleted when you change the location.

  1. I live in India. If you move from one state to another there will be roaming charges. Is one state corresponds to one location area.
  2. If my details are deleted from HLR when they will added to HLR again?

Note: please forgive me if my questions are dumb. I am a newbie. Thank you.

Best Answer

It is possible to take calls from any location because, the mobile phone keeps the network/cellular operator informed about its location. This in-turn enables the mobile operator to route the calls to you anywhere.

HLR is the most important database maintained by the operator. The subscriber info is created by the operator in HLR at the time of purchase of subscription by an user.

VLR is a database that contains temporary information about the subscriber. It is used to service the visiting subscribers.

Location area refers to group of cells. If the mobile moves from one location area to a cell in different location area, it shall perform a location update to the network/cellular operator about its location. The mobile performs a location update to inform the operator about its exact location by checking the location area of the old cell and new cell. If the location area is different, the mobile will definitely perform a location udpate.

In the new location area, the VLR shall check its database for the subscriber information for authentication. If the subscriber information is not present in its database, it shall check with the HLR and get the copy of the subscription information via the location update. In this entire process, only a copy is made available to VLR and the HLR will not delete the subscriber information. The HLR shall infact update its records such that the subscriber information is updated with current VLR serving the mobile.

In scenario where a mobile moves from first VLR(eg - first location area) to a cell in second VLR(eg - second location area), the subscriber information that was copied into the first VLR shall be deleted once the mobile moves out of that first location area and the subscriber information in the recent VLR(second VLR) shall be retained. Once the mobile moves towards the second VLR (second location area), the HLR shall request the first VLR(old VLR) to remove the subscriber record. Note that only the subscriber information in the first VLR(old VLR) is deleted. The HLR updates its database with the current VLR serving the mobile.

From the above scenarios, you will observe that addition/deletion of subscriber info happens in VLR and only updation of subscriber info happens in HLR.

However, the HLR data is stored only as long as the subscriber uses the service of the cellular operator. That is, if the user opts to move with different cellular operator due to an attractive plan or any other reason, then obviously it implies that he is closing his subscription and only in that case, the subscriber information shall be deleted from HLR.

Related Topic