Professional Documents
Culture Documents
Unit-II
Switched communication networks are those in which data transferred from source to destination
is routed between various intermediate nodes. Switching is the technique by which nodes control
or switch data to transmit it between specific points on a network.
There are 3 common switching techniques:
Circuit Switching
Packet Switching
Message Switching
Circuit-Switched Network – a type of network where the communications between end devices
(nodes) must be set up before they can communicate. Once set up, the “circuit” is dedicated to the
two nodes it connects for the duration of that connection. An example of a circuit-switched network
is an analog telephone network.
It contrasts with packet-switched networks, which break the communication into packets and then
send those packets through the network independently of one another. They do not establish a
dedicated communications channel between hosts, rather they offer a “best effort” network that
can be used by a variety of hosts to communicate at the same time.
A virtual circuit-switched network tries to emulate the dedicated connection established by circuit-
switching using packet-switching technology.
Advantages:
Ideal for Voice Communication
Economical for long distance
Minimum delay
Total delay encountered for circuit switching is Tcs,
Where
Tcs =Tc + Tt + Tr+ loop delay
Here Tc = Tm (N-1) where Tm=Average route select time ; N = Number of Switching Elements
Tt = M/R= Number of data bits /Baud Rate
Tr =N Th Where Th = House Keeping Time
Disadvantages
Call Connection May take 10sec or more
Since transmission is on PSTN there will be noise
Faulty lines may take months to repair
Bandwidth is low and fixed
Billing is monthly
Message-Switched Network:
Message switching was a technique developed as an alternate to circuit switching, before packet
switching was introduced. In message switching, end users communicate by sending and
receiving messages that included the entire data to be shared. Messages are the smallest individual
unit.
The sender and receiver are not directly connected. There are a number of intermediate nodes
transfer data and ensure that the message reaches its destination. Message switched data networks
are hence called hop-by-hop systems.
They provide 2 distinct and important characteristics:
Store and forward
Message delivery
Store and forward – The intermediate nodes have the responsibility of transferring the entire
message to the next node. Hence, each node must have storage capacity. A message will only be
delivered if the next hop and the link connecting it are both available, otherwise it’ll be stored
indefinitely. A store-and-forward switch forwards a message only if sufficient resources are
available and the next hop is accepting data. This is called the store-and-forward property.
Message delivery – This implies wrapping the entire information in a single message and
transferring it from the source to the destination node. Each message must have a header that
contains the message routing information, including the source and destination.
Applications –
The store-and-forward method was implemented in telegraph message switching centers. Today,
although many major networks and systems are packet-switched or circuit switched networks,
their delivery processes can be based on message switching. For example, in most electronic mail
systems the delivery process is based on message switching, while the network is in fact either
circuit-switched or packet-switched.
Computer networks that provide connection-oriented service are called Virtual Circuits while
those providing connection-less services are called as Datagram networks. For prior knowledge,
the Internet which we use is actually based on Datagram network (connection-less) at the
network level as all packets from a source to a destination do not follow the same path.
Virtual circuit Packet-switched network
Virtual Circuits-
It is connection-oriented simply meaning that there is a reservation of resources like buffers, CPU,
bandwidth, etc. for the time in which the newly setup VC is going to be used by a data transfer
session.First packet goes and reserves resources for the subsequent packets which as a result
follow the same path for the whole connection time.Since all the packets are going to follow the
same path, a global header is required only for the first packet of the connection and other packets
generally don’t require global headers.Since data follows a particular dedicated path, packets
reach in order to the destination.
In Virtual Circuit Switching, it is sure the all the packets will definitely reach to the Destination.
No packet will discard due to unavailability of resources.Virtual Circuits are highly reliable
means of transfer.Since each time a new connection has to be set up with reservation of resources
and extra information handling at routers, its simply costly to implement Virtual Circuits.It is
used by the ATM (Asynchronous Transfer Mode) Network, which is used for the Telephone calls.
Datagram Packet-Switched Network:
and making a dedicated each time an application has to communicate.Its is generally used the IP
network, which is used for Data services like Internet.
Switching and TCP/IP layers
Switching at Physical layer: At physical layer there are no packets exchanged at the physical layers.
The switches at the physical layer allow signals to travel in one path or another.Switching at Data
link layer: At the data link layer we can have packet switching. At this layer the term packet in this
case means frames or cells. Packets switching at the data link layer is normally done using Virtual
Circuit approach.Switching at Network layer: At this layer either Virtual circuit or datagram
approach can be used. Currently the Internet uses a datagram approach but the tendency is to move
to Virtual circuit approach.Switching at Application layer: At this layer it can only be message
switching. The communication at the application layer occurs by exchanging messages. Email is
a kind of message switched network.
Comparison of Circuit Switched Network with Packet -switched network:
Sl.No CIRCUIT SWITCHING PACKET SWITCHING
1 In circuit switching there are 3 phases: In Packet switching directly data transfer
i)Connection Establishment. takes place .
ii)Data Transfer.
iii) Connection Released.
2 In circuit switching, each data unit know In Packet switching, each data unit just
the entire path address which is provided know the final destination address
by the source. intermediate path is decided by the
routers.
3 In Circuit switching, data is processed at In Packet switching, data is processed at
source system only all intermediate node including source
system.
4 Delay between data units in circuit Delay between data units in packet
switching is uniform. switching is not uniform.
5 Resource reservation is the feature of There is no resource reservation because
circuit switching because path is fixed for bandwidth is shared among users.
data transmission.
6 Circuit switching is more reliable. Packet switching is less reliable.
10 Congestion can occur during connection Congestion can occur during data transfer
establishment time, there might be a case phase, large number of packets comes in
will requesting for channel the channel is no time.
already occupied.
11 Circuit switching is not convenient for Packet switching is suitable for handling
handling bilateral traffic. bilateral traffic.
12 In Circuit switching, charge depend on In Packet switching, charge is based
time and distance, not on traffic in the
network.
Crossbar switch connects n inputs to m outputs in a grid using electro mechanical switches.
Multistage Switch:
Switching path
Drawback:
Blocking during heavy traffic.
Sharing can cause lack of availability of resource.
In large system having 10,000 inputs and outputs, the number of stages can be increased to cut
down on the number of cross points required. As the number of stages can be increased possible
blocking increases as well. Clos investigated the condition of non-blocking in multistage
switches and came up with the following formula. In a non- blocking switch the number of
middle-stage switches must be at least 2n-1, in other words we need to have k ≥ 2n-1
Today’s telephone companies use time division switches and a combination of space and time
division switches.
Time-slot interchange
A switch in packet switched network has a different structure, it has an input ports, output
ports, a routing processor and switching fabric. An input port performs the physical and data
link layer functions of the packet switch. The bits are constructed from the received signal. The
packet is decapsulated from frame. The output port performs the same functions as the input
port but in reverse order. The outgoing packets are queued, then the packets is encapsulated in
a frame and finally physical layer functions are applied to create the signal. The routing
processor searches the destination address in the lookup table (routing table).The input port
stored the packet in memory and output port retrieve the packets from memory using
specialized switching frabics. Crossbar switch, Banyan Switch, Batchers Banyan Switch are
types of switching frabrics..
A Telephone Network
Created to provide Voice Communication.
Need for Transmission of digital data resulted in invention of Dial up Modem
With Internet need for High speed downloading and uploading was required and dial up
modems were slow
Hence, Digital Subscriber lines Technology was introduced to provide fast access.
A telephone system
Local Loop
Twisted Pair connects Subscriber telephone to the nearest End office or Local central
office.
The local loop has a BW of 4KHz when used for Voice.
The first three digits of a local telephone number defines the office and next four digits
define local loop number.
Trunks
Switching Offices
To avoid having a permanent physical link between any two subscribers switches are
located in a switching office.
A switch connects several local loops or trunks and allow a connection between different
subscribers.
Voice communication used analog signals in the past, but is now moving to digital
signals. On the other hand, dialing started with digital signals (rotary) and is now moving
to analog signals (touch-tone).
Signaling
In band
Signaling
Signaling
Out of band
Signaling
In band Signaling
Human operated.
Operator room was a center to which all subscribers are connected.
Same circuit is used for both signaling and voice communication.
Automatic
Rotary Telephones were invented.
A portion of voice bandwidth was used for signaling, the voice bandwidth and signal
bandwidth are separate
Signaling System
Key Functions:
Data Transfer
Modern Network
Telephone
Network
Signaling
Network
Signaling Points
Data base center to provide stored information about the entire signaling network.
Analog
Services
Digital
Digital Services
Switched Services
Digital Data Service(64kbps).
56kbps and DSU(Digital Service Unit)
Dial-Up Modems
Data signals require a higher degree of accuracy to ensure integrity
Modem
Modem stands for modulator/demodulator
Modulator creates a band pass analog signal from binary data.
Demodulator recovers the binary data from the modulated signal.
Modem Standards:
V.32 : Trellis-coded modulation: 32-QAM (4 data bits and a redundant bit for error
detection) 9,600 bps
V.32bis : 128-QAM (7 bits/baud with 1 bit for error control) 14,400 bps
V.34bis : 28,800 bps with a 960-point constellation and 33,600bps with a 1664-point
constellation
V.90: Upload: 33.6 kbps, download: 56 kbps, Asymmetric
V.92: Upload: 48 kbps, download: 56 kbps, Modem can adjust their speed
Traditional modems have a data rate limitation of 33.6 kbps by Shannon capacity
Uploading : 33.6 kbps
Downloading: 56 kbps
8000 samples x 7 bit
1 bit for control
DSL Technology
DSL (Digital Subscriber Line) delivers broadband to more people today than any other
technology. DSL is a technology that delivers broadband speeds over distances of miles or
kilometers via copper wiring, much of which are the same wires that are used to provide
traditional voice telephony services.
ADSL: Asymmetric DSL, meaning the bandwidth and bitrates are greater toward the customer
premises (downstream) than the reverse (upstream).ADSL lite uses 256 DMT carriers with 8 bit
modulation. It can provide a maximum downstream data rate of 1.5Mbps and an upstream of 512
kbps
HDSL: High bit rate DSL. It was designed as an alternative to the T-1 Line. The HDSL uses 2B1Q
encoding which is less susceptible to attenuation. A data rate of 1.544 Mbps can be achieved
without repeaters. It uses two twisted pairs to achieve full duplex transmission.
SDSL: Symmetrical DSL, meaning the bandwidth toward the customer premises (downstream)
is identical to the reverse (upstream). SDSL is not very common.
VDSL: Very-high-bit-rate DSL which uses up to seven frequency bands, so one can allocate the
data rate between upstream and downstream differently depending on the service offering and
spectrum regulations. It provides a range of bit rates for upstream communication at distances of
3000 to 10000ft. The downstream rate is normally 3.2Mbps.
The Modulation technique that has become standard for ADSL. It is a Combination of FDM &
QAM. Each system can decide on its bandwidth division. An available bandwidth of 1.104MHz
is divided into 256 channels. Each channel uses a bandwidth of 4.312KHz.
Bandwidth division
Upstream:
25 channels for upstream (one is used for control and 24 are used for Data transfer).
Bandwidth available for upstream is 24*4000*15=1.44Mbps.
Data rate normally is 500kbps
Downstream:
225 channels for downstream (one for control and 224 channels for data)
Bandwidth available for downstream is 224*4000*15=13.4Mbps.
Data rate normally is 8Mbps.
ADSL modem
Customer Site:
Local loop connects to splitter that separates Voice and data communication.
ADSL modem modulates and demodulates the data using DMT and creates upstream and
downstream channels.
DSLAM
Company Site:
Cable Modem:
Cable Modem:
Installed in subscribers premises.
Similar to ADSL.
Standard for data transmission over a HFC network by Multimedia Cable Network System
(MCNS). Data Over Cable System Interface Specification (DOCSIS) : defines all the protocols to
transport data from CMTS to a CM.
Downstream Communication
In the downstream there is no contention because there is only sender. The CMTS sends
the packets with the address of the receiving CM using the allocated downstream channel.