Beruflich Dokumente
Kultur Dokumente
Switching techniques
• Telecommunication Switching Systems and Networks employ Switching
techniques for routing data
• In large networks, there may be more than one path for transmitting data
from the sender to the receiver
• Selecting a path that data must take out of the available options can be
understood as Switching
• The information may be switched while it travels between various
communication channels
• Circuit Switching
• Message Switching
• Packet Switching
Circuit Switching
• Circuit switching is a technique that directly connects the sender and
the receiver in an unbroken path.
• Telephone switching equipment, for example, establishes a path that
connects the caller's telephone to the receiver's telephone by making
a physical connection.
• With this type of switching technique, once a connection is
established, a dedicated path exists between both ends until the
connection is terminated.
• Routing decisions must be made when the circuit is first established,
but there are no decisions made after that time.
Circuit Switching
• Establishing a circuit
• Transferring the data
• Disconnecting the circuit
• figure below shows the pattern of Circuit switching
Circuit switching
Advantages:
• The communication channel (once established) is dedicated.
Disadvantages:
• Possible long wait to establish a connection, (10 seconds,
more on long- distance or international calls.) during which
no data can be transmitted.
• More expensive than any other switching techniques,
because a dedicated path is required for each connection.
• Inefficient use of the communication channel, because the
channel is not used when the connected systems are not
using it.
• Circuit switching was designed for voice applications
• Telephone is the best suitable example of circuit switching
• Before a user can make a call, a virtual path between the called
subscriber and the calling subscriber is established over the network
• Waiting time lasts long, and there is no data transfer.
• Each connection has a dedicated path, and this gets expensive.
• When connected systems do not use the channel, it is kept idle.
• The circuit pattern is made once the connection is established, using
the dedicated path which is intended for data transfer, in the circuit
switching
• The telephone system is a common example of Circuit Switching
technique
Message Switching
Advantages:
• Channel efficiency can be greater compared to circuit-
switched systems, because more devices are sharing the
channel.
• Traffic congestion can be reduced, because messages may be
temporarily stored in route.
• Message priorities can be established due to store-and-forward
technique.
• Message broadcasting can be achieved with the use of
broadcast address appended in the message.
Message Switching
Disadvantages
• Message switching is not compatible with interactive
applications.
• Store-and-forward devices are expensive, because they
must have large disks to hold potentially long messages.
• In this technique, the data is stored and forwarded
• Store-and-Forward technique
• This technique was considered a substitute to circuit switching
• But the transmission delay that followed the end to end delay of message
transmission added to the propagation delay and slowed down the entire
process
• Every switch in the transit path needs enough storage to accommodate the entire
message
• Because of the waiting included until resources are available, message switching is
very slow
• Message switching was not a solution for streaming media and real-time applications
• The data packets are accepted even when the network is busy; this slows down the
delivery
• Hence, this is not recommended for real time applications like voice and
video
Packet Switching
• The packet switching technique is derived from message switching
• Here the message is broken down into smaller chunks called Packets
• The header of each packet contains the switching information which is
then transmitted independently
• The header contains details such as source, destination and intermediate
node address information
• Intermediate networking devices can store small size packets and don’t
take many resources either on the carrier path or in the internal memory of
switches
• Individual routing of packets is done where a total set of packets need not
be sent in the same route
• As the data is split, bandwidth is reduced
• This switching is used for performing data rate conversion
Packet Switching
• Packet switching can be seen as a solution that tries to combine the
advantages of message and circuit switching and to minimize the
disadvantages of both.
• There are two methods of packet switching: Datagram and virtual circuit.
• Figure below shows the pattern of Packet switching
Packet Switching
• In both packet switching methods, a message is broken into small parts,
called packets.
• Each packet is tagged with appropriate source and destination addresses.
• Since packets have a strictly defined maximum length, they can be stored
in main memory instead of disk, therefore access delay and cost are
minimized.
• Also the transmission speeds, between nodes, are optimized.
• With current technology, packets are generally accepted onto the network
on a first-come, first-served basis.
• If the network becomes overloaded, packets are delayed or discarded
(``dropped'').
Packet size
• The size of the packet can vary from 180 bits, the size for the
Datakit® virtual circuit switch designed by Bell Labs for
communications and business applications; to 1,024 or
2,048 bits for the 1PSS® switch, also designed by Bell Labs
for public data networking; to 53 bytes for ATM switching,
such as Lucent Technologies' packet switches.
Packet switching
• In packet switching, the analog signal from your phone is converted into a digital
data stream.
• That series of digital bits is then divided into relatively tiny clusters of bits, called
packets.
• Each packet has at its beginning the digital address -- a long number -- to which it
is being sent.
• The system blasts out all those tiny packets, as fast as it can, and they travel
across the nation's digital backbone systems to their destination
• The telephone, or rather the telephone system, of the person you're calling.
• They do not necessarily travel together; they do not travel sequentially.
• They don't even all travel via the same route.
• But eventually they arrive at the right point -- that digital address added to the
front of each string of digital data
• At their destination these are reassembled into the correct order, then converted
to analog form, so your friend can understand what you're saying.
Packet Switching: Datagram
• Datagram packet switching is similar to message switching in
that each packet is a self-contained unit with complete
addressing information attached.
• This fact allows packets to take a variety of possible paths
through the network.
• So the packets, each with the same destination address, do not
follow the same route, and they may arrive out of sequence at
the exit point node (or the destination).
• Reordering is done at the destination point based on the
sequence number of the packets.
• It is possible for a packet to be destroyed if one of the nodes on
its way is crashed momentarily.
Thus all its queued packets may be lost.
Packet Switching: Virtual Circuit
• In the virtual circuit approach, a preplanned route is established
before any data packets are sent.
• A logical connection is established when
a sender send a "call request packet" to the receiver and
the receiver send back an acknowledge packet "call accepted
packet" to the sender if the receiver agrees on conversational
parameters.
• The conversational parameters can be maximum packet sizes,
path to be taken, and other variables necessary to establish and
maintain the conversation.
• Virtual circuits imply acknowledgements, flow control, and error
control, so virtual circuits are reliable.
• That is, they have the capability to inform upper-protocol layers
if a transmission problem occurs.
Packet Switching:Virtual Circuit
• In virtual circuit, the route between stations does not mean that
this is a dedicated path, as in circuit switching.
• A packet is still buffered at each node and queued for output over
a line.
With virtual circuit, the node does not need to make a routing
decision for each packet.
It is made only once for all packets using that virtual circuit.
Packet Switching: Virtual Circuit
Disadvantages:
• Protocols for packet switching are typically more complex.
• It can add some initial costs in implementation.
• If packet is lost, sender needs to retransmit the data.
• Another disadvantage is that packet-switched systems still
can’t deliver the same quality as dedicated circuits in
applications requiring very little delay - like voice
conversations or moving images.
• The line efficiency of packet switching can be enhanced by
multiplexing the packets from multiple applications over the carrier
• The internet which uses this packet switching enables the user to
differentiate data streams based on priorities
• Depending upon the priority list, these packets are forwarded after
storing to provide quality of service
• The packet switching technique was proved to be an efficient
technique and is being widely used in both voice and data transfer
• The transmission resources are allocated using different techniques
such as Statistical Multiplexing or Dynamic Bandwidth allocation
Statistical Multiplexing
• Statistical multiplexing is a communication link sharing technique, which is used
in packet switching
• The shared linking is variable in statistical multiplexing, whereas it is fixed in TDM
or FDM
• This is a strategic application for maximizing the utilization of bandwidth
• This can increase the efficiency of network, as well
• By allocating the bandwidth for channels with valid data packets, statistical
multiplexing technique combines the input traffic to maximize channel efficiency
• Each stream is divided into packets, and delivered on a first-come, first-served
basis
• The increase in priority levels allow to allocate more bandwidth
• The time slots are taken care not to be wasted in the statistical multiplexing
whereas they are wasted in time division multiplexing
Network Traffic
• Network traffic is simply the data that moves along the network in a given time
• The data transmission is done in the form of packets, where the number of
packets transmitted per unit time is considered as load
• Controlling of this network traffic includes managing, prioritizing, controlling or
reducing the network traffic
• The amount and type of traffic on a network can also be measured with the help
of a few techniques
• Network traffic needs to be monitored as this helps in network security; high data
rate might cause damage to the network
• A measure of the total work done by a resource or facility, over a period (usually
24 hours) is understood as Traffic Volume and is measured in Erlang-hours
• The traffic volume is defined as the product of the average traffic intensity and
the period of
Open Loop
• The open loop congestion control mechanism produces protocols to avoid
congestion
• These protocols are sent to the source and the destination
Closed Loop
• The closed loop congestion control mechanism produces protocols that allow the
system to enter the congested state and then detect and remove the congestion
• The explicit and implicit feedback methods help in the running of the mechanism
TIME DIVISION SWITCHING
Time Division Switching- working
• Electronic switching systems may be either
• Space Division Switching or
• Time Division Switching
• If the coded values are transferred during the same time interval from
input to output, the technique is called Space Switching
• If the values are stored and transferred to the output at a late time
interval, the technique is called as Time Switching
Space Division Switching
• In space division switching, crosspoints are used to establish a specific
connection between two subscribers
• Crosspoints of multistage space switches assigned to a particular
connection is dedicated to that connection for its duration
• Thus the crosspoints can not be shared.
• The paths in a circuit are separated from each other, spatially in space
division switching
• Initially designed for analog networks, but it is being used for both
analog and digital switching
• A Crosspoint switch is mostly referred to as a space division switch
because it moves a bit stream from one circuit or bus to another
• The switching system where any channel of one of its incoming PCM
highway is connected to any channel of an outgoing PCM highway,
where both of them are spatially separated is called the Space
Division Switching
• The Crosspoint matrix connects the incoming and outgoing PCM
highways, where different channels of an incoming PCM frame may
need to be switched by different Crosspoints in order to reach
different destinations
• Space division switching was developed for the analog environment
• It has been carried over to digital communication as well
• This requires separate physical path for each signal connection, and uses
metallic or semiconductor gates
• It is instantaneous.
Solution
• We apply EqN = 125/(Mts) to determine N. For M = 32, the total switching time ts
is given by
• ts = 100 + 100 = 200 ns.
Solution:
tm =125µs/2M=(125*10^-6)/(2500*2) = 25 ns and C = 2 * 2500 = 5000 units
This switch is non-blocking and fully available.
• An equivalent single stage Space Division Switch uses a matrix of 2500 X 2500. So,
cost is 6.25 million units!
• Cost advantage of time switch = (6.25*10^6)/5000 = 1250 Thus a TSI switch is a
lot cheaper.