Docsity

Switching Techniques, Study notes of Communications Law

Toggle sidebar
bg1
Unit V:
Switching Techniques and System
By: Hari Prashad Pant
[Sanothimi Campus, Bhaktapur]
Course Title:
Communication & Cyber Law
[Comp. Sci. Ed. 322]
Chapter Overview
Networks are used to interconnect many devices.
We have checked with Local Area Networks.
Now, wide area networks
Since the invention of the telephone, circuit switching has
been the dominant technology for voice communications.
Since 1970, packet switching has evolved substantially for
digital data communications. It was designed to provide a more
efficient facility than circuit switching for bursty data traffic.
¾Two types of packet switching:
Datagram (such as today’s Internet)
Virtual circuit (such as Frame Relay, ATM)
Sanothimi Campus, Bhaktapur
By: Hari Prashad Pant 2
June 3, 2016
Introduction to Switching
A network is a set of connected devices. One major problem of a
network having multiple devices is that of how to connect them to make
one-to-one communication possible (i.e. How two devices perform
communication when there are many devices?)
One alternative solution is to establish a point-to-point connection
between a central device and every other devices using the star
topology.
These methods, however, are impractical and wasteful for a large
number of devices used in a very large network. The number of links
and length of links require too much infrastructure to be cost efficient.
Other network topologies also couldn’t be used in such situation to
provide the solution of communication (point-to-point) because of
capacities of media and equipment.
A better solution or alternative is to use switching techniques leading to
switched communication network.
June 3, 2016 Sanothimi Campus, Bhaktapur
By: Hari Prashad Pant 3
Switched Communication Network
In a switched communication network, the end devices that wish
to communicate are called stations. The switching devices are
called nodes. Some nodes connect to the other nodes and some to
the attached stations.
The switched communication network consists of a set of
interlinked nodes usually known as switches. These switches are
devices capable of creating temporary connections between two or
more devices linked to the switch.
The network topology is not regular in a switched network.
It uses FDM or TDM for switching node to node communication.
There exist multiple paths (redundant connections) between a
source and destination pair for better network reliability.
The switching nodes are not concerned with the content of data
(whether it is textual, image, audio, video, etc)
June 3, 2016 Sanothimi Campus, Bhaktapur
By: Hari Prashad Pant 4
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Switching Techniques and more Study notes Communications Law in PDF only on Docsity!

Unit V:

Switching Techniques and System

Course Title: By: Hari Prashad Pant [Sanothimi Campus, Bhaktapur]

Communication & Cyber Law

[Comp. Sci. Ed. 322]

Chapter Overview

^ Networks are used to interconnect many devices. ^ We have checked with Local Area Networks. ^ Now, wide area networks^ ^ Since the invention of the telephone,

circuit switching

has

been the dominant technology for voice communications.  Since 1970,

packet switching

has evolved substantially for

digital data communications. It was designed to provide a moreefficient facility than circuit switching for bursty data traffic. ^ Two types of packet switching:^ ^

Datagram (such as

today’s^

Internet)

^ Virtual circuit (such as Frame Relay, ATM)

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

June 3, 2016

Introduction to Switching

^ A network is a set of connected devices. One major problem of anetwork having multiple devices is that of how to connect them to makeone-to-one communication possible (i.e. How two devices performcommunication when there are many devices?) ^ One alternative solution is to establish a point-to-point connectionbetween

a^ central

device

and^ every

other^

devices

using^

the^ star

topology.  These methods, however, are impractical and wasteful for a largenumber of devices used in a very large network. The number of linksand length of links require too much infrastructure to be cost efficient.Other network topologies also

couldn’t

be used in such situation to

provide

the^ solution

of^ communication

(point-to-point)

because

of

capacities of media and equipment.  A better solution or alternative is to use switching techniques leading toswitched communication network.June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

3

Switched Communication Network  In a switched communication network, the

end devices

that wish

to communicate are called

stations

. The^

switching devices

are

called^

nodes. Some nodes connect to the other nodes and some to the attached stations.  The^ switched

communication

network

consists

of^ a

set^ of

interlinked nodes usually known as

switches

. These switches are

devices capable of creating temporary connections between two ormore devices linked to the switch.  The network topology is not regular in a switched network.  It uses FDM or TDM for switching node to node communication.  There exist

multiple paths (redundant connections)

between a

source and destination pair for better network reliability.  The switching nodes are not concerned with the content of data(whether it is textual, image, audio, video, etc)June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Switched Communication Network

(Contd.)

^ The

major purpose

of these nodes (switching nodes) is to

provide a switching facility that will move the data fromnode to node until they reach their destination (i.e. the endstation or device).  The stations (end devices) connected to the switched networkmay^

be^ computers,

terminals,

telephones,

or^

other

communication devices.  Each^

station

attaches

to^ a

node,

and^

the^ collection

of

switching

nodes

and^

connections

is^ referred

to^ as

a

communications network

^ In a

switched communication network

, data entering the

network from a station are routed to the destination by beingswitched from node to node.June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

5

Switched Communication NetworkJune 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

une 3, 2016

Sanothimi Campus, Bhaktapur^ By: Hari Prashad Pant

Switching Nodes

^ Nodes may connect to other nodes only, or tostations and other nodes ^ Network is usually partially connected^ ^ some redundant connections are desirable ^ Nowadays,

we^

have^

two^ different

major

switching

technologies ^ circuit switching ^ packet switching  However, there is another switching technique calledmessage switching which is not in use these days.June 3, 2016^

7

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Circuit Switching

^ It uses a dedicated path between two stations ^ This technique

has three major phases

, they are:

^ Circuit establishment:

Before any signals can be transmitted,

an end-to-end (station-to-station) circuit must be established.  Data^ transfer:

Data^

can^ now

be^ transmitted

through

the

network between these two stations. The transmission may beanalog or digital, depending on the nature of the network. Asthe carriers evolve to fully integrated digital networks, the useof digital (binary) transmission for both voice and data isbecoming the dominant method. Generally, the connection isfull duplex.  Circuit disconnect:

After some period of data transfer, the

connection is terminated, usually by the action of one of thetwo stations. Signals must be propagated to the intermediatenodes to deallocate the dedicated resources. June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

PSTN Components (Contd...)  Exchanges:

The switching centers in the network are called exchanges. ^ A switching center that directly supports subscribers isknown as an

end office

. It means that the switching centers

which are directly connected to the subscribers are calledend offices. ^ Trunks:

The branches between exchanges in the network are called trunks. Trunks carry multiple voice-frequency circuitsusing either FDM or synchronous TDM. We refer to these linksas^ connection trunks

as well.

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

13

Circuit Establishment

^ Subscribers connect directly to an end office, which switchestraffic between subscribers and between a subscriber and otherexchanges. The other exchanges are responsible for routing andswitching traffic between end offices.June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant Sanothimi Campus Bhaktapur

Circuit SwitchElements June 3, 2016^

15

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

^ The

major

elements

of

an^ intermediate

switch

are: ^ Digital Switch ^ Network Interface ^ Control Unit

Circuit Switch Elements

^ Digital Switch:

The heart of a modern system is a

digital switch. The function of the digital switch is toprovide a transparent signal path between any pair ofattached devices typically in a full-duplex mode.  Network Interface:

The^

network interface

element

represents the functions and hardware needed to connectdigital devices, such as data processing devices anddigital telephones, to the network. Analog telephonescan also be attached if the network interface contains thelogic for converting to digital signals. Trunks to otherdigital switches carry TDM signals and provide the linksfor constructing multiple-node networks.June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Circuit Switch Elements

^ Control Unit:

The^ control unit

performs

three

general

tasks. ^ First, it establishes connections. This is generally done ondemand, that is, at the request of an attached device. ^ Second, the control unit must maintain the connection. Becausethe^

digital^

switch^

uses^ time

division

principles,

this^

may

require ongoing manipulation of the switching elements.  Third, the control unit must tear down the connection, either inresponse to a request from one of the parties or for its ownreasons. June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

17

Blocking or Non-blocking

^ Blocking network^ ^ may be unable to connect stations because all paths are in use^ ^ used on voice systems ^ Non-blocking network^ ^ permits all stations to connect at once^ ^ used for some data connectionsJune 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Digital Switching

^ One characteristic important to digital communication isthe ease and variety of methods available for switching ^ Switching signals from one line to another is known as^ space switching

to distinguish it from

time switching

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

19

Space Division Switching

^ A real switch has to handle very large numbers ofsubscribers ^ One way of accomplishing this is to use a combinationof time and space switches ^ A digital space switch is a crosspoint type of switch, butvery fast ^ A^

digital

switch

is^ completely

electronic

and^

not

mechanical June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

3 Stage Space Division Switch

June 3, 2016

25

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Time Switching

^ A time switch moves PCM samples from one time slot to anotherin a TDM signal June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Time Division Switching

^ modern

digital

systems

use

intelligent

control

of^ space

time division elements  use^

digital^

time^

division

techniques to set up and maintainvirtual circuits  partition

low^

speed^

bit^ stream

into^ pieces

that^

share^

higher

speed stream  individual pieces manipulated bycontrol logic to flow from inputto outputJune 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

27

Time-division Switching (cont)  Control of a TDM bus switch^123456

X X X X X X 1 ^32 ^54 ^63 ^15 ^26 ^4

Controllogic

Controlmemory June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Time-Space-Time Switching

^ In a time-space-time switch, each of the time switches has aseparate bus, called a

highway

, at its output

^ Each of the space switches connects two or more time switches atits input to two or more others at its output as shown below:June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

29

Traditional Circuit Switching

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Softswitch

June 3, 2016

31

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Packet Switching

^ circuit switching was designed for voice ^ packet switching was designed for data ^ transmitted in small packets ^ packets contains user data and control info^ ^ user data may be part of a larger message^ ^ control info includes routing (addressing) info, error detection,correction info, etc. ^ packets

are^

received,

stored

briefly

(buffered)

and

passed on to the next nodeJune 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Virtual CircuitApproach June 3, 2016

37

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

^ A route between stationsis^ set

up^ prior

to^ data transfer.  All the data packets thenfollow the same route.  But there is no dedicatedresources

reserved

for

the^

virtual^

circuit! Packets

need

to^

be

stored-and-forwarded.  Example:

Frame

Relay, ATM

Virtual Circuits vs. Datagram  Virtual circuits  network can provide sequencing and error control  packets are forwarded more quickly  less reliable  Datagram  no call setup phase  more flexible  more reliable

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Packet Size^ ^ There

is^ a^

significant relationship

between packet^

size^

and

transmission

time,

as shown in Figure, whichassumes

a^

virtual circuit^

exists^

from ‘station

X’^

through nodes^

‘a’^ and

‘b’^ to ‘station Y’

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

39

Circuit vs. Packet Switching

^ performance depends on various delays^ ^ Propagation delay:

The time it takes a signal to propagate from one node to the next. This time is generally negligible. The speed ofelectromagnetic signals through a wire medium, for example, istypically 2

(^8)  10 m/s. ^ Transmission time:

The time it takes for a transmitter to send out a block of data. For example, it takes 1 s to transmit a 10,000-bit blockof data onto a 10-kbps line.  Node delay:

The time it takes for a node to perform the necessary processing as it switches data.  range of other characteristics, including:  transparency  amount of overhead June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Circuit vs. Packet Switching

June 3, 2016

41

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Circuit Switching

Datagram Packet Switching

Virtual Circuit Packet

Switching

Dedicated

transmission path

No dedicated path

No dedicated path

Continuous transmission of data

Transmission of packets

Transmission of packets

Fast enough for interactive

Fast enough for interactive

Fast enough for interactive

Messages are not stored

Packets^

may^ be^

stored^ until delivered

Packets stored until delivered

The path is established for entireconversation

Route established for each packet

Route^

established

for^ entire conversation

Call^ setup

delay;^

negligible transmission delay

Packet transmission delay

Call

setup^

delay;^

packet transmission delay

Busy signal if called party busy

Sender may be notified if packetnot delivered

Sender^ notified

of^ connection denial

Overload may block call setup; nodelay for established calls

Overload increases packet delay

Overload may block call setup;increases packet delay

Electromechanical

or

computerized switching nodes

Small switching nodes

Small switching nodes

User responsible for message lossprotection

Network may be responsible forindividual packets

Network may be responsible forpacket sequences

Usually^

no^ speed

or^ code conversion

Speed and code conversion

Speed and code conversion

Fixed bandwidth

Dynamic use of bandwidth

Dynamic use of bandwidth

No overhead bits after call setup

Overhead bits in each packet

Overhead bits in each packet

Circuit Switching Vs Packet Switching^ ^ comparison of circuit switched and packet-switched networks.June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Event Timing

June 3, 2016

43

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Message Switching

(a) Circuit switching

(b) Message switching

(c) Packet switching

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

Stored Control Program

^ The electromechanical switching systems have been replaced bycomputer

controlled

switching

systems

referred

to^ as

stored

program

control

(SPC).

In^ SPC,

switching

is^ controlled

by

software program stored in the memory of the switching system.SPC is the enabling technology of the electronic switching system(ESS).  The first computer controlled switch was introduced in 1960.  Till 1965, computer controlled switching was used transistors andprinted circuit technology. Since 1965 switching are based onmicroprocessors.June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

49

Digital Cross Connect System

^ A digital cross connect system (DCS or D

C) is a piece of circuit-

switched

network

equipment

used

in^

telecommunications

networks,

that^

allows^

lower^

level^

TDM^

(Time^

Division

Multiplexing) bit streams such as DS0 (64kbps) bit streams to berearranged and interconnected among higher level TDM signals,such as DS1 bit streams.  DCS units are available that operate on both old T-carrier/E-carrier bit streams, as well as new SONET/SDH bit streams. DCSdevices can be used for

“grooming”

telecommunications traffic,

switching traffic from one circuit to another in the event of anetwork failure, supporting automated provisioning and otherapplications.June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

50

Private Branch Exchange (PBX)  For^ corporate

or^ enterprise

use,^

private

telephone

exchange

systems are often referred to as private branch exchange (PBX)systems. The PBX system is installed in large organizations toprovide the easy communication facilities between the differentdepartments of such organizations. The PBX system is typicallycollocated with large office spaces or within an organizationalcampus to serve the local private telephone system and anyprivate leased line circuits. In general the PBX system or keytelephone system is deployed in the office of a receptionist.June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

51

References

^ W. Stallings

,^ “Data

Communication and Computer

Networks”

Eighth Edition, Prentice-Hall of India Limited, 2007  Andrew S. Tanenbaum

,^ “Computer Networks”

, Fourth Edition,

Prentice-Hall of India Limited, 2004  Behrouz

A^

Forouzan

,^ “Data

Communications

and

Networking”

, Fourth Edition, The McGraw-Hill Companies, Inc., (^2007) June 3, 2016^

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant

52

June 3, 2016

Sanothimi Campus, BhaktapurBy: Hari Prashad Pant