The Mobile Switch
Picture of a 5ESSThe central component of the Network Subsystem is the Mobile services Switching Center (MSC). It acts like a normal switching node of the PSTN or ISDN, and additionally provides all the functionality needed to handle a mobile subscriber, such as registration, authentication, location updating, handovers, and call routing to a roaming subscriber. These services are provided in conjunction with several functional entities, which together form the Network Subsystem. The MSC provides the connection to the fixed networks (such as the PSTN or ISDN). Signalling between functional entities in the Network Subsystem uses Signalling System Number 7 (SS7), used for trunk signalling in ISDN and widely used in current public networks.

.pdf file on SS7 and mobile networking -- Good reading!
Mobile switches go by many names: mobile switch (MS), mobile switching center (MSC), or mobile telecommunications switching office (MTSO). They all do the same thing, however, and that is to process mobile telephone calls. This switch can be a normal landline switch like a 5ESS, a Nokia, an Alcatel, or an Ericsson AXE (Automatic Exchange Electric) or a dedicated switch, built just to handle mobile calls. Each mobile switch manages dozens to scores of cell sites. In GSM the mobile switch handles cell sites by first directing the base station controllers. Large systems may have two or more MSCs. It's easy understand what a switch does. What is harder to understand is the role the switch has to do with other network resources.
Two page .pdf file on the network subsystem by Nokia. It's a glossy product brochure but it does mention all the important elements. (363k in .pdf)
Home Location Register and the Visitor/ed Location Register
The Home Location Register (HLR) and Visitor Location Register (VLR), together with the MSC, provide the call-routing and roaming capabilities of GSM. The HLR contains all the administrative information of each subscriber registered in the corresponding GSM network, along with the current location of the mobile. The location of the mobile is typically in the form of the signalling address of the VLR associated with the mobile station. The actual routing procedure will be described later. There is logically one HLR per GSM network, although it may be implemented as a distributed database.
The Visitor Location Register (VLR) contains selected administrative information from the HLR, necessary for call control and provision of the subscribed services, for each mobile currently located in the geographical area controlled by the VLR. Although each functional entity can be implemented as an independent unit, all manufacturers of switching equipment to date implement the VLR together with the MSC, so that the geographical area controlled by the MSC corresponds to that controlled by the VLR, thus simplifying the signalling required. Note that the MSC contains no information about particular mobile stations --- this information is stored in the location registers.
The Home Location Register and the Visitor or Visited Location Register work together -- they permit both local operation and roaming outside the local service area. You couldn't use your mobile in San Francisco and then Los Angeles without these two electronic directories sharing information. Most often these these two directories are located in the same place, often on the same computer.
The HLR and VLR are big databases maintained on computers called servers, often UNIX workstations. Companies like Tandem, now part of Compaq, make the servers, which they call HLRs when used for cellular. These servers maintain more than the home location register, but that's what they call the machine. Many mobile switches use the same HLR. So, you'll have many Home Location Registers. To operate its nationwide cellular system, iDEN, Motorola uses over 60 HLRs nationwide.
The HLR stores complete local customer information. It's the main database. Signed up for cellular service in Topeka? Your carrier puts your information on its nearest HRL, or the one assigned to your area. That info includes your international mobile equipment identity number or IMEI, your directory number, and the class of service you have. It also includes your current city and your last known "location area," the place you last used your mobile.
The VLR or visitor location registry contains roamer information. Passing through another carrier's system? Once the visited system detects your mobile, its VLR queries your assigned home location register. The VLR makes sure you are a valid subscriber, then retrieves just enough information from the now distant HLR to manage your call. It temporarily stores your last known location area, the power your mobile uses, special services you subscribe to and so on. Though traveling, the cellular network now knows where you are and can direct calls to you.
The equipment Identity Register and the Authentication Center
The other two registers are used for authentication and security purposes. The Equipment Identity Register (EIR) is a database that contains a list of all valid mobile equipment on the network, where each mobile station is identified by its International Mobile Equipment Identity (IMEI). An IMEI is marked as invalid if it has been reported stolen or is not type approved. The Authentication Center (AuC) is a protected database that stores a copy of the secret key stored in each subscriber's SIM card, which is used for authentication and encryption over the radio channel.
"The Equipment Identity Register (EIR) is a standard GSM network element that allows a mobile network to check the type and serial number of a mobile device and determine whether or not to offer any service." The EIR or equipment identity register is yet another database. It's first purpose is to deny stolen or defective mobiles service. Good mobiles are allowed on the network, of course, as is faulty but still serviceable equipment. In the latter case such mobiles are flagged for the cellular carrier to monitor.
The AC or AuC is the Authentication Center, a secured database handling authentication and encryption keys. Authentication verifies a mobile customer with a complex challenge and reply routine. The network sends a randomly generated number to the mobile. The mobile then performs a calculation against it with a number it has stored in its SIM and sends the result back. Only if the switch gets the number it expects does the call proceed. The AC stores all data needed to authenticate a call and to then encrypt both voice traffic and signaling messages.
The Interfaces
Cellular radio's most cryptic terms belong to these names: A, Um, Abis, and Ater. A telecom interface means many things. It can be a mechanical or electrical link connecting equipment together. Or a boundary between systems, such as between the base station system and the network subsystem. GSM calls that one Interface "A", remember? To be more specific, Smith says "A" is the signaling link between the two subsystems. Which brings us to the point I want to make.
Interfaces are standardized methods for passing information back and forth. The transmission media isn't important. Whether copper or fiber optic cable or microwave radio, an interface insists that signals go back and forth in the same way, in the same format. With this approach different equipment from any manufacturer will work together. See my page on standards.
Let's consider the the A-bis interface as an example. Tektronix says the A-bis "is a French term meaning 'the second A Interface.' " Good grief! In most cases the actual span or physical connection is made on a T1 line or in Europe its equivalent, the E1.But regardless of the material used, the transmission media, it is the signaling protocol that is most important.
Although the interface is unlabeled, the mobile switch communicates with the telephone network using Signaling System Seven, an internationally agreed upon standard. More specifically, it uses ISUP over SS7. As the Performance Technologies people tersely put in in their tutorial on SS7, "ISUP defines the protocol and procedures used to set-up, manage, and release trunk circuits that carry voice and data calls over the public switched telephone network (PSTN). ISUP is used for both ISDN and non-ISDN calls."
Using SS7 throughout is a big difference between conventional cellular and GSM. IS-136 and IS-95 also uses SS7 but to communicate between the HLR and VLR it uses a standard called IS-41.
What about the mysterious UM? That's the radio link between a mobile and a base station. Um are the actual radio frequencies that calls are put on. Possibly the letters stand for User Mobile. R.C. Levine clears up this matter nicely,
"Interface names (A, Abis, B, C, etc.) were arbitrarily assigned in alphabetical order. The Um label is taken from the customer-network U interface label used in ISDN. Although mnemonics have been proposed for these letters, they are after-the-fact."
.pdf file on SS7 and mobile networking -- Good reading!

Figure 1. General architecture of a GSM network
SIM: Subscriber identify module.
BSC: Base station controller.
MSC: Mobile services switching center.
UM: Represents the radio link.
ME: Mobile equipment.
HLR: Home location register.
EIR: Equipment identity register.
BTS: Base transceiver station.
VLR: Visitor location register.
AuC: Authentication Center.
Abis: Represents the interface between the base stations and base station controllers.
"A": The interface between the base station subsystem and the network subsystem.
PSTN and PSPDN: Public switched telephone network and packet switched public data network.