Lec 5
Lec 5
Lec 5
Telecommunication Network
Muniba Q. Zaman
EVOLUTION
CSE-342
Switching
If we could have point to point lines between all
CSE-342
Switching
Imagine point to point lines between all pairs of people:# of people 2 3 10 100 1000 # of lines 1 3 45 4950 0.5 million
Switching
A switch provides temporary path between end users
Shehryar Usama
Umar Rohan
Moez
network so that circuits are optimally used & are highly available, most important consideration is cost
CSE-342
5
Introduction
Definition Switching the process of directing a signal from its source to its destination the establishing, on demand, of an individual connection from a desired inlet to a desired outlet within a set of inlets and outlets for as long as is required for the transfer of information
Dedicated line a telephone line leased by a firm and used exclusively by that firm Switch a special purpose computer that directs incoming messages along a path Private branch exchange (PBX) a special-purpose computer that distributes calls within a customers site Switch a special purpose computer that directs incoming messages along a path
CSE-342
Exchange Structure
Elements of an exchange include following :1. Concentrator
Concentrates calls from terminations to links 2. Expander Expands terminating calls to terminations & trunks 3. Distributor or group switch For interconnecting switches, # of links decided on statistical basis Types of calls could be :
Own exchange calls Outgoing junction calls Incoming junction calls Transit calls
Signaling System
To pass call connection / disconnection information between termination & exchange and between exchanges Channel associated or common channel signaling Control System To interpret signaling information and take appropriate measures 7 CSE-342
Switching Types
Point-to-Point Network Switching Circuit Switching, Message Switching, Packet Switching, Cell Switching Connection-Oriented versus Connectionless Virtual Circuit versus Datagram Networks Internal/External Abstractions Point-to-Point Switching Circuit Switching Store-and -Forward Networks Message Switching Packet Switching connection-oriented vs connectionless virtual circuit vs datagram Cell Switching
CSE-342
CSE-342
Message Switching
Message is first stored in buffer and then sent
forward as and when resources become available or sufficient messages have been collected Also called store and forward It is example of queuing system Example is telegraph message Advantage
Disadvantage
Delay
Circuit Switching
A path is established between caller and
destination for that call If all the ccts are busy then call is lost therefore it is an example of lost call system Advantage
No delay , real time communication Low bandwidth efficiency, ccts used for fraction of time speech contains pauses and silent interval
Disadvantage
Example is PSTN
CSE-342
11
Circuit Switching
Circuit Switching (Telephone network)
One physical link is established for each connection Seeking out and establishing a physical copper path end-to-end [historic definition] . Circuit switching implies the need to first set up a dedicated, end-toend path for the connection before the information transfer takes place. Once the connection is made the only delay is propagation time. Advantage No delay , real time communication Disadvantage Low bandwidth efficiency, ccts used for fraction of time speech contains pauses and silent interval
CSE-342
12
Packet Switching
Message is broken down into packets and then
each packet is sent separately (possibly by different routes) If outgoing routes are busy then they are kept in queue therefore packet switch is an example of queuing system Switches should be intelligent to choose best routing path Example is internet Advantage
Disadvantage
13
Packet Switching
CSE-342
14
Comparison
Characteristics Circuit Packet
Origin
Voice tel
Data NW
Both High De-centralized High High
Connection Connectionless or oriented Oriented Delay Low NW intelligence BW efficiency Information Loss centralized Low Low
CSE-342
15
CIRCUIT SWITCHING:
The method used in telephone networks Sets up a temporary circuit between the source and the destination Resources are reserved for the duration of the session (call)
Appropriate when data are transmitted infrequently from a large number of nodes Used on the Internet The message is divided into packets containing control information No circuit is established Provides better sharing of resources Multiple users share the same resources A store-and-forward network where the block of transfer is a complete packet. A packet is a variable length block of data with a tight upper bound.
PACKET SWITCHING:
CSE-342
16
Event Timing
Circuit switching
Packet switching
18
Event Timing
DCC 6th Ed., W. packet switching Circuit switching Virtual circuit Stallings, Figure 10.3 Packet switching Datagram
CSE-342
19
Connection-Oriented
A setup stage is used to determine the end-to-end path before a
connection is established. Data flow streams are identified by some type of connection indicator (e.g. OSI, X.25, SNA).
CSE-342
20
Connectionless Oriented
No set up is needed Each packet contains information which allows the packet to be
CSE-342
21
Virtual Circuit
CSE-342
22
CSE-342
23
Internal
Virtual Circuit And Datagram Operation
CSE-342
24
Connection Strategies
Circuit switching. A permanent physical link is established for the
duration of the communication (i.e., telephone system). Message switching. A temporary link is established for the duration of one message transfer (i.e., post-office mailing system). Packet switching. Messages of variable length are divided into fixedlength packets which are sent to the destination. Each packet may take a different path through the network. The packets must be reassembled into messages as they arrive. Circuit switching requires setup time, but incurs less overhead for shipping each message, and may waste network bandwidth. Message and packet switching require less setup time, but incur more overhead per message.
CSE-342
25
CSE-342
26
Telecommunication Network
Switching Technology
Categorizing switching
CSE-342
28
CSE-342
29
Manual Switching
1876 A. G. Bell telephone patent 1878 The first exchange constructed
in La Porte, the US
switchboard
operator's switchboard when any of the subscribers turned the crank of his telephone Upon answering the signal, the operator was asked to connect the call End-to-end physical path or connection Sequencing preserved: ABCDE in implies ABCDE out Nothing is lost or inserted CSE-342
Plugcord
30
Manual Switching
A simple manual switchboard has subscribers
terminations connected to jacks (sockets) The links consist of a pair of plugs on flexible cords (wires) which can be used to interconnect any pair of jacks Signaling consists of calling indicators (e.g. relays and lamps) and clearing indicators Call routing instructions are passed verbally
CSE-342
31
Manual Switching
CSE-342
32
Manual Switching
Manual exchange demonstrate following features:
Central-battery operation Loop/disconnect signaling The multiple Busy testing Concentration Metering and ticketing Classes of service Common control Scanning Stored-program control Common-channel signaling
CSE-342
33
Manual Switching
Advantages
Human control Services such as advice of duration and charge, transfer of calls when absent, wake up calls etc., which are so complex to provide automatically, pose no problem on manual exchanges
Disadvantage
The weakness of the manual exchange, which has resulted in its almost complete disappearance, was essentially its slowness Long distance calling involved chain of operators
CSE-342
34
5. Interconnection
6. Alerting 7. Supervision 8. Information sending
CSE-342
35
CSE-342
36
Strowger
In 1891, first automatic telephony system was
introduced by Strowger Strowgers business was being taken away by his competitors wife who was working as telephone operator Stepping relay was used to allow a subscriber dialing a telephone to select one of ten lines When the subscriber dials the telephone a series of electrical pulses are generated on the line (at a maximum rate of ten per second) Each pulse causes the uni-selector (which starts at the 'home' position) to be advanced by one step CSE-342
37
with 10 contacts each It can move vertically and horizontally It can therefore accept two dialed digits from a subscriber and route the call to any of 100 numbers The first digit moves the selector vertically up to the corresponding level The second digit moves the wipers around the contacts of that level
CSE-342
38
Sliding arm
10 X 10 Array of contacts
CSE-342
39
CSE-342
40
CSE-342
41
Strowger
In an 100 line exchange each user has to be
provided with his own 100 outlet 2 motion selector This can be avoided by using stage of uni selectors at the beginning If we want to increase the size of exchange then we can use more banks of 2 motion selectors Director is used to translate the digits dialed by user into actual routing digits for calls outside CSE-342 exchange
42
Strowger Switch
Strowger switch
CSE-342
43
CSE-342
44
CSE-342
45
Uni-Selector
CSE-342
46
Strowger Switch
Uniselector
Group Selector
1st
2nd
3rd
Final
0 9 8 7 6 5 4 3 2 1
0 9 8 7 6 5 4 3 2 1
0 9 8 7 6 5 4 3 2 1
0 9 8 7 6 5 4 3 2 1
CSE-342
47
of:
subscribers line circuit, line finder & alloter circuit Group selector and final selector
CSE-342
48
Every subscriber is connected to his local exchange by one pair of wires This single pair carries the voice in both directions and the ring current to ring the bell when a call is received At the exchange, every subscriber line terminates into its own SLC This consists of a pair of relays dedicated to that subscriber Remaining switching circuits are shared by all the subscribers. When the subscriber lifts his handset, current starts to flow on the line. This is detected by the SLC.
CSE-342
49
Mechanism to find a free selector and to connect the calling subscriber to that free selector
used in the exchange that has more than one rank of twomotion selector. The selector each step vertically in response to a dialed digit. However, during the inter-digit pause they operate in a self-drive mode like a uniselector. Thus, the wiper hunt for a free outlet on the selected level, which leads to a selector in the next switching stage. The selector in the last stage respond to two dialed digits and is called final selectors.
Group selector
CSE-342
50
CSE-342
51
regular maintenance by the skilled technicians are necessary It is not feasible to select an alternate route for interoffice calls, if all the trunks are busy limited to dial pulses If calling rate is high, heavy operation is performed by the system and the life time of the system is less Congestion could arise when the switching system is heavily loaded capacity of switching system reduces because of fire service, police ambulance, fault reports, directory enquiry, operator assistance etc can accept only 7 to 9 pulses in 1 second hence not suitable for fast dialing Large in size Noise
CSE-342
52
Circuit . . .
link
SxS
link
SxS
link
Example
Construct a switch with 50 outlets of 3 wires each
CSE-342
54
through each exchange on the route This requires different dialing codes to reach the same destination from different originating exchanges Example: call from exchange A to A, B to A, C to A, D to A via C This is Disadvantageous Hence use Linked Numbering scheme numbering scheme of an area and the trunking of its exchange are arranged so that a customer can be reached by dialing the same digits from any exchange in the area Example: 10,000-line main exchange and several 1000line satellite exchange can use 5 digit linked numbering scheme. This require an extra rank of selectors
CSE-342
55
Register-translator-senders
Although LNS used widely but larger cities require a more
general solution Ideally, route for call should be completely separate from the digits dialed to establish the connection Solution: Register-translator-sender equipment Number dialed by the customer is stored (registered) in the register Stored digits are then analyzed to determine the routing If necessary, part of the number is translated into a different number which is sent out to establish the connection By using different translations all customer can dial same digits to reach a terminating exchange
CSE-342
56
Register-translator-senders
Register used only at the beginning of call Time taken to complete the whole process is only fraction of a minute Therefore, registers are provided as common controls, connected to a trunk by an auxiliary switch In electromechanical systems, register function is performed by relays or switches Modern systems use more rapid signaling methods in order to reduce the post-dialing delay Translator function consists of looking up a table of data Dialed digits stored in the register are used to access an address in a store and the number read out from that address is the translation Since charge for a call depends on its destination, translation may also contain the charging rate for the call
CSE-342
57
use in large cities Uniform 7-digit numbering scheme is used throughout the area The first three digits (ABC) are an exchange code (which is translated) and the last four digits are the customers number on that exchange (which is not translated) These registers are called Directors
CSE-342
58
CSE-342
59
Crossbar
Strowger switches require regular maintenance; banks
need cleaning, mechanisms need lubrication and adjustment, and wipers & cords wear out Replace manually operated switch by a matrix of telephone relays, with their contacts multiplied together horizontally and vertically. This means a switch with N inlets and N outlets will require N2 relays for its crosspoint Uneconomic solution More economic solution was provided by G. A. Betulander in 1917 by the invention of crossbar switch Crossbar switch retains a set of contacts at each point but these are operated through horizontal (select magnets) and vertical (hold or bridge) magnets at the sides of the switch
CSE-342
60
CSE-342
61
Crossbar
A crossbar switch connects multiple inputs to multiple
outputs in a matrix manner If the switch has M inputs and N outputs, then a crossbar has a matrix with M x N cross-points At each cross-point some form of switch contact is needed to complete the connection between horizontal and vertical lines Any of the M inlets can be connected to any of the N outlets by closing the appropriate switch contacts Maximum number of simultaneous connections that can be carried by a matrix switch is given by which ever of the number of inlets or outlets is smaller
CSE-342
62
CSE-342
63
CSE-342
64
Crossbar
Crossbar switch
Source: M. P. Clark, Networks and Telecommunications Design and Operation 2nd Edition, John Wiley & Sons Ltd, pp. 96, 1997.
CSE-342
65
Crossbar Switches
Crossbar exchanges are example of common/register
controlled systems i.e. control circuit is shared Basic building blocks are :
Link frame (consist of number of crossbar) Marker (Controls connection between inlets and outlets) Register (decodes dialed number)
Crossbar has no intelligence A Marker must decide which magnets to operate a single marker can control many switches and serve
many registers Thus even a large exchange needs few markers This is called centralized control
CSE-342
66
Crossbar Switches
Customer line circuit detects calling condition
connection through concentration stage to free transmission bridge Transmission bridge uses another marker to select free register Register will receive and analyze number and then seize Marker to set appropriate switches in group selector or concentration stage
CSE-342
67
Crossbar Switches
Once connection has been established then
marker and register are released Less numbers of markers and registers are needed as they are being used during setting up of connection and dialing only Supervision of call is then provided by transmission bridge Dialed number and number allocated to particular line need not to have any relation due to use of register for translation Number of switching stages need not to be dependent on exchange numbering scheme
CSE-342
68
Crossbar
Crosspoint detail
horizontals
verticals
CSE-342
69
Crossbar
CSE-342
70
MULTISTAGE SWITCHING
CSE-342
71
Multistage switching
Three possible situation for crossbar could be :
points can be excessively high but fewer than 25% of the cross points are used at a given time. In order to save cross points, crossbar can be arranged in stages
CSE-342
72
Two-stage switching
Example of a two stage network Two cross points are to be
operated to make a connection A 10x10 square matrix used as the basic building block One matrix can connect any of the 10 inlets to 10 outlets If each of these 10 outlets are connected to 10 different matrices, each with 10 outlets, the original inlet has access to 100 outlets It can suffer internal blocking since there is only one link b/w a particular first-stage switch and each of the second stage switches CSE-342
Internal Blocking: probability that a free inlet fails to be connected to a free outlet because of the absence of a path.
73
stage switches has nine inlets unused These other inlets can be used to receive links from nine other first stage switches
CSE-342
74
Multistage switching
How does it work?
1 4x4 2 4x4 3 4x4 4 4x4 1 4x4 2 4x4 3 4x4 4 4x4
Divide the 16 inlets into groups of 4. 1st outlet of each Stage 1 block is connected to an inlet of the 1st Stage 2 block. 2nd outlet of each Stage 1 block is connected to an inlet of the 2nd Stage 2 block. 3rd outlet of each Stage 1 block is connected to an inlet of the 3rd Stage 2 block ith outlet of each Stage 1 block is connected to an inlet of the ith Stage 2 block. 75 CSE-342
Disadvantages???
It may not always be possible to make a connection even
when the required outgoing trunk is free??? Blocking there are free outgoing trunks and free links available but they cannot be used together Traffic capacity is therefore affected by internal blocking as well as congestion of the external trunks When marker is instructed to set up a connection, this also defines the link to be used and the select and bridge magnets to be operated The connection is not made until the marker has checked the busy/free condition of the outgoing trunk and the relevant link The connection is made only if both are found to be free This is called conditional selection
CSE-342
76
must be added First ten 100 x 100 sub-networks are provided and the 100 outlets from these sub-networks are connected to 100 separate third-stage switches These then provide a total of 1000 outlets Continuing this arrangement for K stages, each stage consisting of n x n matrices, gives a network with N inlets and N outlets, where N = nK
CSE-342
77
Three-stage network
CSE-342
78
Four-stage Network
In this general
arrangement each stage of switches is called a distribution stage Since outlets are distributed over an increased number of stages And each stage increases the number of reachable outlets by a factor n Note that each stage consists of same number of matrices, N/n
CSE-342
79
Let N = number of inlets and outlets Let n = size of each inlet-outlet group Let k = number of center-stage groups There are N/n groups in the first and last stages There are (N/n) (nk) cross points in the first and last stages There are k middle groups with (N/n)2 cross points in each middle array There are Nx = 2Nk+k(N/n)2 cross points total which is much smaller than the number of cross points in a single-stage switch (N2)
CSE-342
80
Example: For N = 100, The square matrix will require 100 x 100 = 10,000 cross points Assuming n = k = 10; # of cross points are: = 10(100/10)2 + 2 x 100 x 10 = 2200 Saving = 78%. The saving will increase as N increases Advantage: The number of cross points Disadvantage: blocking
CSE-342
81
Non-blocking networks
Possible to build a multi-stage network with
no internal blocking and fewer crosspoints then a square array Solution proposed by C. Clos in 1954 Clos asked, How many intermediate switches required to make switch nonblocking? Clos criterion: condition of non blocking
CSE-342
Non-blocking networks
CSE-342
83
Request connection from last input in input switch j to last output in output switch m Worst Case: All other inputs have seized top n-1 middle switches AND all other outputs have seized next n-1 middle switches If k=2n-1, there is another path left to connect desired input to desired output
nxk
1
N/n x N/n
1
kxn
1
Desired input
nxk
j
n-1 busy
N/n x N/n n-1 N/n x N/n n+1 N/n x N/n 2n-2 n-1 busy
kxn
m
Desired output
# internal links = 2x # external links
nxk
N/n
Free path
kxn
N/n
CSE-342
85
Example:
CSE-342
86
==> n
N 2
horizontals of a number of primary switches Example: 500 incoming trunks and 100 outgoing trunks using switches of size 10x10 An expander has a number of secondary switches multiplied together
CSE-342
88
network, four stages can be used Implemented as a two stage network in which each switch is itself a two stage network Example: four stage network, constructed from 400 switches of size 10x10, to serve 1000 incoming and outgoing trunks
CSE-342
89
A General Trunking
Generally, 3 types of switching networks are involved in
trunking
concentrator For a local call, the route switch connects the supervisory trunk to the particular expander on which is terminated the line of the called customer For a junction call, it connects the supervisory trunk to an outgoing junction on the route to the required destination It also connects incoming junction calls to the expanders of called customers
CSE-342
90
A General Trunking
A register, connected to
the supervisory trunk, receives address information and process it to determine the destination Central processor interrogates all trunks to determine the free trunks After selection of a suitable set of trunks, it marks them to make the connection
CSE-342
91
Concentrators == groups of answering jacks and plugs Supervisory trunk == cord circuits Register & Central control == operator Expanders == jacks in the multiple
CSE-342
92