• No results found

Data and Computer Data and Computer Communications Communications

N/A
N/A
Protected

Academic year: 2021

Share "Data and Computer Data and Computer Communications Communications"

Copied!
38
0
0

Loading.... (view fulltext now)

Full text

(1)

Data and Computer Data and Computer

Communications Communications

Chapter 10 – Circuit Switching

Chapter 10 – Circuit Switching and and Packet Switching

Packet Switching

(2)

Circuit Switching

Circuit Switching and Packet and Packet Switching

Switching

He got into a District Line train at Wimbledon He got into a District Line train at Wimbledon

Park, changed on to the Victoria Line at Park, changed on to the Victoria Line at

Victoria and on to the Jubilee Line at Green Victoria and on to the Jubilee Line at Green Park for West Hampstead. It was a long and Park for West Hampstead. It was a long and

awkward journey but he enjoyed it.

awkward journey but he enjoyed it.

—King Solomon's Carpet, Barbara Vine (Ruth

Rendell)

(3)

Switched Network

Switched Network

(4)

Nodes Nodes

 a collection of nodes and connections is a a collection of nodes and connections is a communications network

communications network

 nodes may connect to other nodes only, or to nodes may connect to other nodes only, or to stations and other nodes

stations and other nodes

 network is usually partially connected network is usually partially connected

some redundant connections are desirable some redundant connections are desirable

have two different switching technologies have two different switching technologies

circuit switching circuit switching

packet switching packet switching

(5)

Circuit Switching Circuit Switching

 uses a dedicated path between two stations uses a dedicated path between two stations

 has three phases has three phases

establish establish

transfer transfer

disconnect disconnect

 inefficient inefficient

channel capacity dedicated for duration of connection channel capacity dedicated for duration of connection

if no data, capacity wasted if no data, capacity wasted

 set up (connection) takes time set up (connection) takes time

 once connected, transfer is transparent once connected, transfer is transparent

(6)

Public Circuit Switched Public Circuit Switched

Network

Network

(7)

Circuit Establishment

Circuit Establishment

(8)

Circuit Circuit

Switch

Switch

Elements

Elements

(9)

Blocking or Non-blocking Blocking or Non-blocking

 blocking network blocking network

may be unable to connect stations because may be unable to connect stations because all paths are in use

all paths are in use

used on voice systems used on voice systems

 non-blocking network non-blocking network

permits all stations to connect at once permits all stations to connect at once

used for some data connections used for some data connections

(10)

Space Division Switch

Space Division Switch

(11)

3 Stage

3 Stage Space Division Space Division Switch Switch

(12)

Time Division Switching Time Division Switching

 modern digital systems use intelligent modern digital systems use intelligent

control of space & time division elements control of space & time division elements

 use digital time division techniques to set use digital time division techniques to set up and maintain virtual circuits

up and maintain virtual circuits

 partition low speed bit stream into pieces partition low speed bit stream into pieces that share higher speed stream

that share higher speed stream

 individual pieces manipulated by control individual pieces manipulated by control logic to flow from input to output

logic to flow from input to output

(13)

Softswitch

Softswitch

(14)

Traditional Circuit Switching

Traditional Circuit Switching

(15)

Packet Switching Packet Switching

 circuit switching was designed for voice circuit switching was designed for voice

 packet switching was designed for data packet switching was designed for data

 transmitted in small packets transmitted in small packets

 packets contains user data and control info packets contains user data and control info

user data may be part of a larger message user data may be part of a larger message

control info includes routing (addressing) info control info includes routing (addressing) info

 packets are received, stored briefly (buffered) packets are received, stored briefly (buffered) and past on to the next node

and past on to the next node

(16)

Packet Switching

Packet Switching

(17)

Advantages Advantages

 line efficiency line efficiency

single link shared by many packets over time single link shared by many packets over time

packets queued and transmitted as fast as possible packets queued and transmitted as fast as possible

 data rate conversion data rate conversion

stations connects to local node at own speed stations connects to local node at own speed

nodes buffer data if required to equalize rates nodes buffer data if required to equalize rates

 packets accepted even when network is busy packets accepted even when network is busy

 priorities can be used priorities can be used

(18)

Switching Techniques Switching Techniques

 station breaks long message into packets station breaks long message into packets

 packets sent one at a time to the network packets sent one at a time to the network

 packets can be handled in two ways packets can be handled in two ways

datagram datagram

virtual circuit virtual circuit

(19)

Datagram Datagram

Diagram

Diagram

(20)

Virtual

Virtual

Circuit

Circuit

Diagram

Diagram

(21)

Virtual Circuits v Datagram Virtual Circuits v Datagram

 virtual circuits virtual circuits

network can provide sequencing and error network can provide sequencing and error control

control

packets are forwarded more quickly packets are forwarded more quickly

less reliable less reliable

 datagram datagram

no call setup phase no call setup phase

more flexible more flexible

more reliable more reliable

(22)

Packet Packet

Size Size

(23)

Circuit v Packet Switching Circuit v Packet Switching

 performance depends on various delays performance depends on various delays

propagation delay propagation delay

transmission time transmission time

node delay node delay

 range of other characteristics, including: range of other characteristics, including:

transparency transparency

amount of overhead amount of overhead

(24)

Event Timing

Event Timing

(25)

X.25 X.25

 ITU-T standard for interface between host ITU-T standard for interface between host and packet switched network

and packet switched network

 almost universal on packet switched almost universal on packet switched networks and packet switching in ISDN networks and packet switching in ISDN

 defines three layers defines three layers

Physical Physical

Link Link

Packet Packet

(26)

X.25 - Physical X.25 - Physical

 interface between station node link interface between station node link

 two ends are distinct two ends are distinct

Data Terminal Equipment DTE (user Data Terminal Equipment DTE (user equipment)

equipment)

Data Circuit-terminating Equipment DCE Data Circuit-terminating Equipment DCE (node)

(node)

 physical layer specification is X.21 physical layer specification is X.21

 can substitute alternative such as EIA-232 can substitute alternative such as EIA-232

(27)

X.25 - Link X.25 - Link

 Link Access Protocol Balanced (LAPB) Link Access Protocol Balanced (LAPB)

Subset of HDLC Subset of HDLC

see chapter 7 see chapter 7

 provides reliable transfer of data over link provides reliable transfer of data over link

 sending as a sequence of frames sending as a sequence of frames

(28)

X.25 - Packet X.25 - Packet

 provides a logical connections (virtual provides a logical connections (virtual circuit) between subscribers

circuit) between subscribers

 all data in this connection form a single all data in this connection form a single stream between the end stations

stream between the end stations

 established on demand established on demand

 termed external virtual circuits termed external virtual circuits

(29)

X.25 Use of Virtual Circuits

X.25 Use of Virtual Circuits

(30)

User Data and X.25 Protocol User Data and X.25 Protocol

Control Information

Control Information

(31)

Issues with X.25 Issues with X.25

 key features include: key features include:

call control packets, in band signaling call control packets, in band signaling

multiplexing of virtual circuits at layer 3 multiplexing of virtual circuits at layer 3

layers 2 and 3 include flow and error control layers 2 and 3 include flow and error control

 hence have considerable overhead hence have considerable overhead

 not appropriate for modern digital systems not appropriate for modern digital systems with high reliability

with high reliability

(32)

Frame Relay Frame Relay

 designed to eliminate most X.25 overhead designed to eliminate most X.25 overhead

 has large installed base has large installed base

 key differences: key differences:

call control carried in separate logical connection call control carried in separate logical connection

multiplexing and switching at layer 2 multiplexing and switching at layer 2

no hop by hop error or flow control no hop by hop error or flow control

hence end to end flow and error control (if used) are hence end to end flow and error control (if used) are done by higher layer

done by higher layer

 a single user data frame is sent from source to a single user data frame is sent from source to destination and higher layer ACK sent back

destination and higher layer ACK sent back

(33)

Advantages and Advantages and

Disadvantages Disadvantages

 lost link by link error and flow control lost link by link error and flow control

 increased reliability means less an issue increased reliability means less an issue

 streamlined communications process streamlined communications process

lower delay lower delay

higher throughput higher throughput

 frame relay can be used for access frame relay can be used for access speeds up to and over 2Mbps

speeds up to and over 2Mbps

(34)

Protocol Architecture

Protocol Architecture

(35)

LAPF Functionality LAPF Functionality

 LAPF (Link Access Procedure for Frame Mode LAPF (Link Access Procedure for Frame Mode Bearer Services) defined in Q.922

Bearer Services) defined in Q.922

 only core functionality used: only core functionality used:

frame delimiting, alignment and transparency frame delimiting, alignment and transparency

frame mux and demux using addressing field frame mux and demux using addressing field

ensure frame is integral number of octets ensure frame is integral number of octets

ensure frame is neither too long nor short ensure frame is neither too long nor short

detection of transmission errors detection of transmission errors

congestion control functions congestion control functions

 form sub-layer of data link layer form sub-layer of data link layer

data transfer between subscribers only data transfer between subscribers only

(36)

Frame Relay Data Link Frame Relay Data Link

Connections Connections

 logical connection between subscribers logical connection between subscribers

 data transferred over them data transferred over them

 not protected by flow or error control not protected by flow or error control

 uses separate connection for call control uses separate connection for call control

 overall results in significantly less work in overall results in significantly less work in network

network

(37)

User Data Transfer User Data Transfer

 only have one frame type which only have one frame type which

carries user data carries user data

 no control frames means no control frames means

no inband signaling no inband signaling

no sequence numbers no sequence numbers

 flag and FCS function as in HDLC flag and FCS function as in HDLC

 address field carries DLCI address field carries DLCI

 DLCI (Data Link Connection Identifier) has DLCI (Data Link Connection Identifier) has local significance only

local significance only

(38)

Summary Summary

 circuit verses packet switching network circuit verses packet switching network approaches

approaches

 X.25 X.25

 frame relay frame relay

References

Related documents

One technique also sets an ACK flag in the packet, confusing the destination service, while in another type of attack, instead of a larger frame, a variable number of bytes are

Float design according to process parameters S.G., pressure and temperature (see type code page 15). Magnetic roller display

Our results show that the incorporation of carbon dioxide emissions has a significant effect on the re- sulting effieciency scores of the automobiles in our dataset reducing the

 constant data rate using packet switching constant data rate using packet switching technique with multiple virtual circuits. technique with multiple

 access to & routing data across a network link access to & routing data across a network link between two attached systems. between two

SCIENCES VALLABHANENI VENKATADRI INSTITUTE OF PHARMACEUTICAL SCIENCES,ASST PROF PHARMACEUTICAL SCIENCES PHARMACEUTICAL SCIENCES PHARMACEUTICAL SCIENCES PHARMACEUTICAL

„ Transmission window shrinks each time frame is sent, and grows each time an ACK is received... The notation is (seq, ack,

An IP packet sent to a host on the local network will contain Source and Destination IP address, the data and the other info.. It will be encapsulated in an Ethernet frame