Telephone exchange
Note: this article is in the process of being edited to merge the articles for telephone exchange and telephone switch -- the subject is confusing because
- central office = Exchange building in the U.S.
- telephone exchange = Exchange building in the UK, and is also the UK name for a telephone switch, and also has a technical meaning in U.S. telecoms
- telephone switch is the U.S. term, but is in increasing use in technical UK telecoms usage, to make the CO/switch/concentrator distinction clear
A telephone exchange (American English: central office) is a collection of equipment (nowadays computer-controlled digital systems) which is used to connect calls between telephone lines. Individual local loop telephone lines are connected to the local telephone exchange or to a remote concentrator, though some telephone exchanges do not have telephone lines directly connected to them, but rather are used to connect calls between other telephone exchanges. The interface between concentrators and exchanges has been standardised by ETSI as the V5 protocol.
Most former telephone exchange buildings now house only remote concentrators for the "parent" exchange, usually several kilometres away. In certain cases an concentrator may be "remote parented" on an exchange hundreds of kilometres away. This is done to increase the resiliency of the network, so that even a total regional outage of the telephone system will leave some essential telephone lines working.
The term exchange can also be used to refer to an area served by a particular exchange.
In the United States, the word exchange can also has the technical meaning of a local access and transport area under the Modification of Final Judgment (MFJ).
A telephone switch (or in the UK, telephone exchange) is a device for routing calls from one telephone to another, generally as part of the public switched telephone network). Usually a complex machine (or series of them) in a central exchange (this is referred to as a "carrier-level" switch). They work by connecting two or more circuits together, each circuit being connected to a subscriber telephone, according to a dialed telephone number.
Telephone switches are usually owned and operated by a telephone service provider or "carrier" and located in their premises, but sometimes individual businesses or private commercial buildings will house their own switch (which may well be owned and operated by a telephone service provider still).
The switch's place in the system
Telephone switches are a small part of a large network. The most expensive thing is to rewire. Much of the modern switching fabric is actually outside the central office.
Up to several hundred telephones attach to a remote concentrator. In the U.S., you and your neighbors share a concentrator in a little box near your houses. In Europe, the building that once contained your local Strowger telephone exchange is usually empty except for a remote concentrator -- the switching mostly occurs elsewhere.
When you pick up the phone, the concentrator produces dial tone. When you dial, it reads the tones. When you're done dialing, the concentrator's microcomputer sends the dialing data to the central switch, which allocates a time slot for the dialing phone on the wire pairs that pass through the concentrator and through the switch.
The trick is that after the central switch tells the concentrator which time slot to use, the concentrator "opens" a time-slot on the loop to a local phone. The allocated time slot on the wiring into the concentrator is used to send data from the remote telephone's microphone to the local telephone's speaker. The allocated time slot on the wiring out of the concentrator (with the same time slot number) carries data from the local microphone to the remote speaker.
So, to arrange a connection, the switch just completes the circle between your phone and the remote phone. It interchanges the data from one to the other. Telephone "exchange" is exactly correct terminology.
Switches are used in both local central offices and in long distance centers.
Switch design
Long distance switches may use a slower, more efficient switch-allocation algorithm than central offices, because they have near 100% utilization of their input and output channels. Central offices have more than 90% of their channel capacity unused.
While traditionally, telephone switches connected physical circuits (e.g., wire pairs), modern telephone switches use a combination of space and time time division switching. In other words, each voice channel is represented by a time slot (say 1 or 2) on a physical wire pair (A or B). In order to connect two voice channels (say A1 and B2) together, the telephone switch interchanges the information between A1 and B2. It switches both the time slot and physical connection. To do this, it exchanges data between the time slots and connections 8000 times per second, under control of digital logic that cycles through electronic lists of the current connections. Using both types of switching makes a modern switch far smaller than either a space or time switch could be by itself.
The structure of a switch is an odd number of layers of smaller, simpler switches, interconnected by a web of wires that goes from each sub-switch, to a set of the next layer of subswitches. In most designs, a physical switching layer will alternate with a time switching layer. The layers are symmetric, because every call is symmetric (there's a connection in both directions).
A space-division subswitch uses digital multiplexers controlled by a cyclic memory.
A time-division subswitch reads a complete cycle of time slots into memory, and then writes it out in a different order, also under control of a cyclic computer memory. This causes some delay in the signal.
Switch control algorithms
The scarce resources in a telephone switch are the connections between layers of subswitches. The control logic has to allocate these connections.
The connections consist of both time slots and wires. The firs tthing to try is to search for a subswitch that contains the needed in and out connections. There are two design paths to go if this simple search fails.
One way is to have enough switching fabric to assure that the pairwise allocation will always succeed. This is the method usually used in central office switches, which have low utilization of their resources.
Topological sort
Another way is to have a minimal switching fabric that still can theoretically make all the connections, and reorganize the switch's connections when a new connection won't fit.
If a subswitch with the needed pair of connections can't be found, a pair of subswitchs will still have the necessary in and out, because there has to be at least the same number of connections between each layer of the switch, or else the switch will not be able to complete a full set of connections.
The pair of subswitches' connections can be reorganized with a clever algorithm called a topological sort, so that all the existing connections continue, though they might migrate between the two different subswitches. This is the method usually used in long distance switches. which have high utilization of their switching fabric.
A topological sort picks two subswitches. One has a needed input connection. The other has a needed output connection. The connections of both subswitches are placed in a list that also includes the desired new connection.
In the list, the basic trick is to trace connections. Starting from some input or output, the computer traces a connection to an output, then traces the other connection at that output to an input, and so forth, until it comes to an end. Each time it traces from input to output, the connection is placed in one subswitch, and reoved from the list. WHen it traces from output to input, the connection is placed in the other subswitch and removed fomr the list. To complete correctly, tracing must begin with single connection inputs and outputs, and only then trace double-ended inputs and outputs, which might form loops.
Fault tolerance
Composite switches are inherently fault-tolerant. If a subswitch fails, the controlling computer can sense it during a periodic test. It just marks all the connections to the subswitch as "in use." This prevents new calls, and does not interrupt old calls that remain working. The subswitch then becomes unused. Some time later, a technician can replace the circuit board. The next test succeeds, the connections to the repaired subswitch are marked "not in use," and the switch returns to full operation.
To prevent frustration with unsensed failures, all the connections between layers in the switch are allocated using first-in-first-out lists. That way, when a disgusted customer hangs up and redials, they will get a different set of connections and subswitches. A last-in-first-out allocation of connections might cause a continuing string of very frustrating failures.
See also:
The definition below is very technical, and a lot of it appears to be US-specific:
In telecommunication, a central office (C.O.) is a common carrier switching center in which trunks and loops are terminated and switched.
Note: In the DOD, "common carrier" is called "commercial carrier." Synonyms exchange, local central office, local exchange, local office, switching center (except in DOD DSN [formerly AUTOVON] usage), switching exchange, telephone exchange. Deprecated synonym switch.
Source: from Federal Standard 1037C
External links: