How does HLR work?

In fact, HLR is a single base of operators, where they enter all the information about the connected subscribers, supplementing them with important information. As soon as a new user connects, this is reflected in the database, and on the contrary, when the number is disconnected from service, this information also falls into the information summary.