public switched telephone networks pstn. synchronous transfer mode (stm) time-division-multiplexing...

76
PUBLIC SWITCHED TELEPHONE NETWORKS PSTN

Post on 21-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

PUBLIC SWITCHED TELEPHONE NETWORKS PSTN

Page 2: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - RoutingRouting: Connection Oriented

Networking Key word

Asynchronous Transfer Mode (ATM) Statistical Multiplexing (SM) Packets Switching Routing:Routing: Connection/Connectionless Oriented

Page 3: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Time Division Multiplexing

SCHEDULER

T1 T2 Tm

BROADBAND BUS

Multiplexing with scheduling

•Assume that we have m communication terminals, T1, T2, .., Tm sharing a transmission line, how do we schedule the sharing of communication bandwidth?

Page 4: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

• Assume that the bandwidth is shared by the terminals transmitting at different times.

• We also assume that a scheduling mechanism is available so that the transmissions are conflict free, namely, that no two terminals attempt to transmit at the same time.

• We call this scheduled or arbitrated access communication. • In the absence of an arbitration mechanism, two communication terminals may transmit at the same time, often resulting in unintelligible transmissions.

Page 5: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Two basic approaches to multiplexing:

1. The first approach assumes a common time reference among the terminals. We call this time reference a frame reference. The communication bandwidth assigned for each terminal is termed a circuit. This mode of multiplexing is commonly known as the Synchronous Transfer Mode (STM).

2. The second approach assumes no frame reference among the terminals, hence the name Asynchronous Transfer Mode (ATM). This mode allows more flexible sharing of bandwidth by avoiding rigid bandwidth assignments.

Bandwidth is seized on demand, and the information transmitted (together with a proper label) upon a successful seizure is termed a packet.

Page 6: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Asynchronous Transfer Mode• The definition of a frame depends on the bit-rates of the terminals multiplexed on the transmission link.

• The choice of frame structure is difficult since we have little knowledge of the traffic mix.

• An alternative approach abandons the concept of a frame reference altogether. Instead of choosing a basic terminal bit-rate as in TDM, ATM achieves more flexible bandwidth sharing allowing the terminals to seize bandwidth when a sufficient number of bits are generated.

• Without a frame reference, these bits have no implicit ownership, unlike STM for which each slot is assigned an owner.

• Hence a key feature of ATM is that information from each terminal must be labeled.

Page 7: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Asynchronous Transfer Mode

There are many forms of asynchronous multiplexing:

• First, we may have fixed length blocks of information from each terminal.

•These blocks are termed cells in ATM terminology.

• A cell is labeled block of transmitted information, and usually has a small information payload (typically from 32 bytes to 128 bytes). • We shall also refer to them as short fixed length packets.

Page 8: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Asynchronous Transfer Mode

Cell (or Short fixed length packets):

• Each cell or packet has a fixed size of l bits. The channel is slotted into fixed intervals of duration l/C, each transporting a cell.

• The terminals are asynchronous in the sense that they have no common time reference other than the common slot reference.

• A label for each time slot must be provided by the terminal which transmits in that time slot.

Page 9: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Asynchronous Transfer Mode

The label identifies the terminal generating the bits delivered in the time slot. A label is included in the header part of a packet. The header may serve other functions; such as classifying the information payload (type and priority), and possible error check sums for protecting the header from transmission error.

t

l BITS SLOTS

INFO

HEADER

PACKET

Multiplexing of Fixed Length Packets

Page 10: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Asynchronous Transfer Mode

There are two major factors in determining the proper packet size:

First, headers use up part of the communication capacity of the link. This overhead is inversely proportional to the packet size l, consequently favoring long packet.

Second, a packetization delay is needed for the terminal to collect the l bits for a packet. The delay between signal generation and reception is given by , t = l/b plus the delay taken for the signal to travel in the network.

For some applications, excessive delay results in perceivable degradation of the quality of communication.

Consequently, minimizing packetization delay requires choosing short packets. A compromise has to be chosen between two opposing factors.

Page 11: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Asynchronous Transfer Mode

Variable Length Packets:

Instead of short fixed length packets, it is often convenient (particularly for data communications) to use long (say 128 bytes or more) variable length packets.

Besides the label for ownership, the packet header should also contain the information for packet length to mark the end of the packet, as well as a flag to mark the beginning of the packet.

Page 12: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

t

l BITS SLOTS

INFO

HEADER

PACKET

Multiplexing of Fixed Length Packets

Page 13: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Local Exchange Carriers (LECs) LECs provide local telephone service, usually within the boundaries of a

metropolitan area, state, or province. LECs also provide short-haul, long distance service, Centrex, certain enhanced

services such as voice mail, and various data services. BOCS (Bell Operating Companies), originally were wholly owned by AT&T,

dominated the ILECs landscape.

Local Access and Transport Area (LATA) Effective January 1, 1984, those 22 BOCs were spun off from AT&T as a result of

the Modified Final Judgement (MFJ). BOCs were reorganized into seven Regional BOCS (RBOCS). BOCs were limited to providing basic voice and data services within defined

geographical areas, known as Local Access and Transport Areas (LATAs).

Are some 170 areas defined by the MFJ Collectively span all BOC territories In general, each Boc territory comprises several LATAs

PSTN

Page 14: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

PSTN ContinueInterExchange Carriers (IXCs or IECs) IXCs are responsible for long-haul, long-distance connections across LATA boundaries. IXC networks are connected to the LECs through a Point of Presence (POP) which typically is in the form of a tandem switch. A POP is a location where IXC interfaces BOC for exchange access to IXC services. The IXC POP is connected to the LEC access tandem switch via dedicated trunks leased from the LEC. Alternatively, the IXC may collocate network termination equipment in the LEC office, assuming that space is available and that secure physical separation can be established and maintained. IXCs provide inter-lata services.

Page 15: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Basic Architecture of a PSTN

Central end

office

Remote Terminal

(RT)

Central Tandem office

LEC Domain

POP

Tandem Switch

Tandem Switch

Tandem Switch

Access (Local) Network

Feeder Network

Distribution Network

Regional Network Long-distance Network

IXC Domain

Page 16: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Switch

POPCustomer

PBX

Direct Access Switched Access

Switch

POP

LEC End

Office

Customers

Switch

POPLEC End

Office

LEC Access

Tandem

Customers

Customer has large enough volume of traffic accessing the POP or requiring egress from it to pay for the direct connect facility, bypassing the LEC switching network.

Customer traffic to/from POP doesn’t justify direct connect.

• The IXC purchase access/egress facilities from the LEC which uses its switched network to deliver/receive that traffic.

IXC Access Types

Page 17: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Office Park

CAP Fiber Ring

Switch

CAP

ATT POP

Sprint POP

MCI POP

IXC domainEnd user access to an IXC via a CAP, bypassing the LEC

Page 18: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Achieving Connectivity

Full Mesh Shared Medium

Page 19: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Role of SwitchingConnectivity, network resource sharing, customer coordination

Page 20: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Sharing Transmission Bandwidth

Dedicated Line

Time Shared Synchronous

TDM

Time Shared Packet, Burst

Page 21: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Circuit Switching Circuit” refers to the capability of transmitting one telephone conversation

along one link.

To set up a call, a set of circuits has to be connected, Joining the twotelephone sets. By modifying the connections, the operators can switch thecircuits.

Circuit switching occurs at the beginning of a new telephone call. Operatorswere later replaced by mechanical switches and, eventually, by electronicswitches.

An electronic interface in the switch converts the analog signal traveling onthe link from the telephone set to the switch into a digital signal, called a bitstream. The same interface converts the digital signal that travels betweenthe switches into an analog signal before sending it from the switch to thetelephone.

The switches use a dedicated data communication network “Commonchannel signaling (CCS)” to exchange control information among

Page 22: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Circuit Switching Continue In current telephone networks, the bit streams in the trunks (lines

connecting switches) and access links (lines connecting subscriber telephones to the switch) are organized in the digital signal (DS) hierarchy.

The DS-1 signal carries 24 DS-0 channels, but its rate is more than 24

times 64 kb/s. The additional bits are used to accommodate DS-0 channels with rates that deviate from the nominal 64 because the signals are generated using clocks that are not perfectly synchronized.

Since the 1980s the transmission links of the telephone network have

been changing to the SONET or Synchronous Optical Network, standard.

In circuit switching, the route and bandwidth allocated to the stream

remain constant over the lifetime of the stream.

Page 23: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

CCiirrccuuiitt SSwwiittcchhiinngg CCoonnttiinnuuee

TThhee ccaappaacciittyy ooff eeaacchh cchhaannnneell iiss ddiivviiddeedd iinnttoo aa nnuummbbeerr ooff ffiixxeedd--rraattee llooggiiccaallcchhaannnneellss,, ccaalllleedd cciirrccuuiittss.. TThhee ddiivviissiioonn iiss uussuuaallllyy aaccccoommpplliisshheedd bbyy TTDDMM..

CCiirrccuuiitt sswwiittcchhiinngg iinnvvoollvveess tthhrreeee pphhaasseess::

((11)) TThhee ssoouurrccee mmaakkeess aa ccoonnnneeccttiioonn oorr ccaallll rreeqquueesstt ttoo tthhee nneettwwoorrkk,, tthhee nneettwwoorrkkaassssiiggnnss aa rroouuttee aanndd oonnee iiddllee cciirrccuuiitt ffrroomm eeaacchh lliinnkk aalloonngg tthhee rroouuttee,, aanndd tthheeccaallll iiss tthheenn ssaaiidd ttoo bbee aaddmmiitttteedd ((iiff tthhee nneettwwoorrkk iiss uunnaabbllee ttoo mmaakkee tthhiissaassssiiggnnmmeenntt,, tthhee ccaallll iiss rreejjeecctteedd)).. TThhiiss pphhaassee iiss ccaalllleedd ccoonnnneeccttiioonn sseettuupp..

((22)) DDaattaa ttrraannssffeerr nnooww ooccccuurrss--tthhee dduurraattiioonn ooff tthhee ttrraannssffeerr iiss ccaalllleedd tthhee ccaallllhhoollddiinngg ttiimmee..

((33)) WWhheenn tthhee ttrraannssffeerr iiss ccoommpplleettee,, tthhee rroouuttee aanndd tthhee cciirrccuuiittss aarree ddeeaallllooccaatteedd..TThhaatt pphhaassee iiss ccaalllleedd ccoonnnneeccttiioonn tteeaarrddoowwnn..

Page 24: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Rate in Mb/s

Meium Signal No. of VoiceCircuits

North America Europe

T-1 paired Cable DS-1 24 1.5 2.0

T-1C pairedcable

DS-1C 48 3.1

T-2 paired cable DS-2 96 6.3 8.4

T-3 coax, radio,fiber

DS-3 672 45.0 32.0

Coax,waveguide,radio, fiber

DS-4 4032 274.0

Digital Signal Hierarchy

Note that the bit rate of a DS-1 signal is greater than 24 times the rate of voice signal (64 Kb/s) because of the additional framing bit required.

Page 25: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Circuits / Time Slots

TTDDMM iiss iiddeeaall ffoorr ccoonnssttaanntt bbiitt rraattee ttrraaffffiicc.. TThhee ccaappaacciittyy ooff tthhee oouuttggooiinngg cchhaannnneell iiss ddiivviiddeedd iinnttoo NN llooggiiccaall cchhaannnneellss.. TTiimmee oonn tthhee oouuttggooiinngg cchhaannnneell iiss ddiivviiddeedd iinnttoo ffiixxeedd--lleennggtthh iinntteerrvvaallss ccaalllleedd ffrraammeess.. FFrraammeess aarree ddeelliimmiitteedd bbyy aa ssppeecciiaall bbiitt sseeqquueennccee ccaalllleedd aa ffrraammiinngg ppaatttteerrnn.. TTiimmee iinn eeaacchh ffrraammee iiss ffuurrtthheerr ssuubbddiivviiddeedd iinnttoo NN ffiixxeedd--lleennggtthh iinntteerrvvaallss ccaalllleedd

sslloottss//cciirrccuuiittss.. EEaacchh ffrraammee ccoonnssiissttss ooff aa sseeqquueennccee ooff sslloottss:: sslloott 11,, sslloott 22,,....,, sslloott NN.. ((AA sslloott iiss uussuuaallllyy

11 bbiitt oorr 11 bbyyttee wwiiddee)).. AA llooggiiccaall cchhaannnneell ooccccuuppiieess eevveerryy NNtthh sslloott.. TThheerree aarree tthhuuss NN llooggiiccaall cchhaannnneellss.. TThhee

ffiirrsstt llooggiiccaall cchhaannnneell ooccccuuppiieess sslloottss 11,, NN ++ 11,, 22NN ++ 11,,....;; tthhee sseeccoonndd ooccccuuppiieess sslloottss 22,,NN++22,, 22NN++22,,......;; aanndd ssoo oonn..

Time Division Multiplexing

...

... ...

Channel 1

Channel 2

Channel N

1 12 2N N

Frame 1 Frame 2

Page 26: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Synchronous Transfer Mode

PBX

Workstation

Router

STM

Multiplexer

STM Multiplexing is also known as Time Division Multiplexing (TDM)

13 23 12

Page 27: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The T1 Frame (or the OSI term, PDU) consists of 24 8-bits slots.

The TDM multiplexer operates as follows: The data bits in each incoming channe1 are read into a separate FIFO (first in,

first out) buffer.

The multiplexer reads this buffer in sequence for an amount of time equal tothe corresponding slot time: buffer 1 is read into slot 1, buffer 2 is read into slot2, etc.

If there are not enough bits in a buffer, the corresponding slot remains partiallyempty.

The bit stream of the outgoing channel is easily demultiplexed: thedemultiplexer detects the framing pattern from which it determines the begi-nning of each frame, and then each slot.

TDM Continues

Page 28: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

...

Channel 1

Channel 2

Channel N

1 N 21

Statistical Multiplexing (SM)

Most effective in the case of bursty input data.

As in TDM, the data bits in each incoming channel are read into separate FIFOs.

The multiplexer reads each buffer in turn until the buffer empties.

The data read in one turn is called a “data packet”.

Page 29: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Asynchronous Transfer Mode

Workstation

PBX

Router

ATM

Multiplexer

C

B

A

Z

Y

YZ Y Z Z Z

Page 30: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

SM Continues

In TDM each FIFO is read for a fixed amount of time-one slot-andso each incoming channel is allocated a fixed fraction of theoutgoing channel capacity, independent of the data rate on thatchannel.

By contrast, in SM, the capacity allocated to each incomingchannel varies with time, depending on the instantaneous datarate: the higher the rate, the larger the capacity allocated to it atthat time.

The size of packets read from each FIFO can vary across channelsand over time within each channel.

The demultiplexer cannot sort the packets belonging to differentchannels merely from their positions within a frame.

Page 31: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

SM Continues

Additional bits, which delimit each packet and identify the correspondingincoming channel or source, must be added to each packet.

The resulting overhead is significantly larger than under TDM.

Multiplexer and demultiplexer implementations are more difficult;

Multiplexer must now add the packet delimiter and channel or sourceidentifier.

Demultiplexer must locate and decode those bit patterns.

These increases in complexity and overhead must be balanced against high utilization in the face of bursty data to determine whether SM or TDM is more efficient.

Page 32: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

DATA COMMUNICATIONSDATA COMMUNICATIONS

Page 33: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Data BBiinnaarryy CCooddeess BBeettwweeeenn mmaacchhiinneess,, iinnffoorrmmaattiioonn iiss eexxcchhaannggeedd bbyy bbiinnaarryy ddiiggiittss ((bbiittss))..

TTwwoo sseettss aarree iinn ccoommmmoonn uussee ttooddaayy::AASSCCIIII:: tthhee AAmmeerriiccaann SSttaannddaarrdd CCooddee ffoorr IInnffoorrmmaattiioonn IInntteerrcchhaannggeeeemmppllooyyss aa sseeqquueennccee ooff sseevveenn bbiittss.. SSiinnccee eeaacchh bbiitt mmaayy bbee 00 oorr 11,, AASSCCIIIIccoonnttaaiinnss 112288 uunniiqquuee ppaatttteerrnnss..

EEBBCCDDIICC:: tthhee EExxtteennddeedd BBiinnaarryy CCooddeedd DDeecciimmaall IInntteerrcchhaannggee CCooddee eemmppllooyyss aa sseeqquueennccee ooff eeiigghhtt bbiittss.. IItt ccoonnttaaiinnss 225566 uunniiqquuee ppaatttteerrnnss..

TThheerree aarree ttwwoo bbaassiicc mmeetthhooddss ooff ddaattaa ttrraannssmmiissssiioonn AAssyynncchhrroonnoouuss aannddSSyynncchhrroonnoouuss..

AAssyynncchhrroonnoouuss ((CChhaarraacctteerr FFrraammeedd)) TTrraannssmmiissssiioonn;; CChhaarraacctteerrss aarree ggeenneerraatteedd aanndd ttrraannssmmiitttteedd ssiinnggllyy,, oonnee aafftteerr tthhee ootthheerr..

IInn ssoommee tteerrmmiinnaallss,, tthhee cchhaarraacctteerrss aarree ccoolllleecctteedd uunnttiill aa ccoommpplleettee lliinnee oofftteexxtt iiss ccrreeaatteedd,, oorr tthhee rreettuurrnn kkeeyy iiss pprreesssseedd,, ccaauussiinngg tthhee lliinnee ttoo bbee sseenntt aass aabbuurrsstt ooff ccoonnttiinnuuoouuss cchhaarraacctteerrss..

Page 34: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Data Continues

WWhheetthheerr sseenntt oonnee--bbyy--oonnee aass tthheeyy aarree ggeenneerraatteedd,, oorr sseenntt lliinnee--bbyy--lliinnee aass eeaacchh lliinneeiiss ccoommpplleetteedd,, eeaacchh cchhaarraacctteerr iiss ffrraammeedd bbyy aa ssttaarrtt bbiitt ((00)) aanndd aa ssttoopp bbiitt ((11))

SSyynncchhrroonnoouuss ((MMeessssaaggee FFrraammeedd )) TTrraannssmmiissssiioonn:: Such transmission is message framed and overcome the inefficiencies of asynchronous, start-stop transmission for high speed data transmission.

Rather than surrounding each character with start and stop bits, arelatively large set data is framed, or blocked with one or moresynchronization bits or bit patterns used to synchronize the receivingterminal on the rate of transmission of the data.

The start sequence is called the header – it contains synchronizing,address, and control information. The stop sequence is called the trailer –it contains error checking and terminating information.

The entire data entity is called a “Frame”

Page 35: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Stop Bit (1) Start Bit (0)

Character

Framed characters sent as they are created -- a data stream typical of keyboard input to a terminal or

communications controller.

Framed characters that are concatenated and sent when a Framed characters that are concatenated and sent when a string is completed -- a datastream typical of a terminal string is completed -- a datastream typical of a terminal

sending keyboard input line-by-line to a communications sending keyboard input line-by-line to a communications controllercontroller

Trailer HeaderCharacterFrame

Data Block

Asynchronous T

ransmission F

ormat

In asynchronous transmission, each character is framed by one start bit and one or two stop bits.

Characters are assembled Characters are assembled into a datablock that is into a datablock that is framed by a header and a framed by a header and a trailer to produce a frame. trailer to produce a frame. The frame is sent when a The frame is sent when a command is received from command is received from the controlling unit in the the controlling unit in the communication system.communication system.

Synchronous Transmission Format

Page 36: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Sender ReceiverMessage Message

Datastream that includes redundant bits and the result of the sender’s calculations

Sender adds redundant bits and performs calculations to assist the

receiver in error detection

Receiver checks redundant bits and repeats calculations looking for agreement with sender’s results

Because each character is assigned a unique code, it is extremely important to be sent without error. For instance, the ASCII code for p is 11100001110000. An error in bit # 1produces 1110001110001 which is the code for q.

Error detection is a cooperative activity between the sender and the receiver in which a sender adds information to the character or frame to assist the receiver in determining whether an error has occurred in transmission or reception.

Error Control/DetectionError Control/Detection

Page 37: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Sender performs calculation...

MK

Gn+1

= integer + Fn

Receiver performs same calculation...

MK

Gn+1

= integer + F’n

If F’n = Fn’ transmission is without error

If F’n Fn’ transmission is without error

Sender adds Frame Check

Sequence (Fn) to frame

Receiver re-calculates

Fn

Cyclic Redundancy Check

MK MKMKFn

Gn+1Gn+1

Generating Function

Generating Function

Page 38: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Error CorrectionError Correction

Once detected,an error must be corrected. Two basic approaches to error correction:1. Automatic-Repeat-Request (ARQ): Requires the transmitter to re-send the portions of the exchange in which errors have been detected. ARQ techniques include: •Stop-and-Wait: The sender sends a frame and waits for acknowledgement from the receiver. This technique is slow.•Go-back-n:

2. Forward Error Correction (FEC): FEC techniques employ special codes that allow the receiver to detect and correct a limited number of errors without referring to the transmitter. This convenience is bought at the expense of adding more bits (more overhead)

Page 39: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

DTE

DTE

EIA232 DCE

EIA232 DSU/CSU

Analog (Voice Grade) Line

Data Circuit Terminating Equipment

Digital Signals

MODEM

Data Terminal Equipment

Digital Line

• The data equivalent of Customer Premise Equipment (CPE) in the voice world, Data Terminal Equipment (DTE) comprises the computer transmit and receive equipment; are digital devices that send or receive data messages. • Internally, their signals are simple, unipolar pulses; externally, they may use one the more sophisticated digital signaling schemes.

Page 40: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Data Communication

Data Circuit Terminating Equipment (DCE): is the equipment that interfaces the DTEto the network; maps the incoming bits into signals appropriate for the channel, and atthe receiving end, maps the signals back to bits.

DCEs includes mmooddeemmss, digital service units ((DDSSUUss)),, and channel service units((CCSSUUss)).

If the transmission channel is an analog line (voice-grade), the DCE is called amodem. When sending, DCE convert the ddiiggiittaall ssiiggnnaall received by the DTE toaannaalloogg ssiiggnnaallss to match the bandwidth of the channel.

If the connections are digital connections, the DCE consists of two parts: DDSSUU-- receives uunniippoollaarr ddiiggiittaall ssiiggnnaallss from the DTE and converts them to bbiippoollaarr ssiiggnnaallss. CCSSUU: provides loopback (for testing), limited diagnostic capabilities. When sending, it converts bipolar signals to AMI.

Page 41: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Data Communication Continues

EEIIAA223322 iinntteerrffaaccee A DET is connected to a DCE by a cable that conforms to EIA232 standard. EIA232 describes a multi-wire cable that terminates in 25-pin connectors. The cable supports asynchronous or synchronous operation at speed up to

19.2 kb/s. At 19.2 kb/s, the cable length is limited to 50 feet. The EIA232 circuits linking DTE and DCE carry signals that initiate,

maintain, and terminate communication between the two.

HHiigghheerr SSppeeeedd IInntteerrccoonnnneeccttiioonnss EEIIAA444499:: It permits operation up to 2 Mb/s at distances up to 4000 feet.

EEnntteerrpprriissee SSyysstteemmss CCoonnnneeccttiioonn ((EESSCCOONN)):: an optical fiber connection operating up to 40 kilometers at 17 Mb/s.

FFiibbeerr CChhaannnneell SSttaannddaarrdd ((FFCCSS)):: Operates up to 10 kilometers at speeds up to 800 Mb/s. FCS includes error control and switching.

Page 42: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

ProtocolsProtocols

Data Link Control (DLC) Protocol A set of rules that governs the exchange of messages over a data link.DLC protocols are divided into two classes:• Asynchronous Operation: Start-Stop DLC protocol• synchronous Operation: Bit-oriented DLC protocol (e.g., SDLC): Introduced in 1972, SDLC was modified and standardized by ITU-T and ISO as: HDLC (High Level Data Link Control Protocol) LAP-B (Link Access-Procedure Balanced), for X.25 Standard LAP-D ((Link Access-Procedure Channel), for ISDN-D Channel LAP-F ((Link Access-Procedure Frame Relay), a version of LAP-D used in Frame Relay applications.

Different in the detailed meaning of specific control field bits, all of these protocols share a common structure. In the order that they are transmitted, they consist of the following fields: FlagFlag, AddressAddress, ControControl, TextText, Frame Check SequenceFrame Check Sequence, and FlagFlag.

Page 43: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Start Bit

Line Idle State

0 11 0 0 0 0 1

Timing Mark

CHARACTER ASCII ‘a’

1

Stop Bit

Line Idle State

Time between characters

10 1 0 0 0 10

Start Bit

Stop Bit

1

CHARACTER ASCII ‘b’

Line Idle State

Timing Mark

Transmission Format for Start-stop (Asynchronous) Transmission Format for Start-stop (Asynchronous) Signaling. In idle state, the line is maintained at the 1 Signaling. In idle state, the line is maintained at the 1 level. The start bit (0) reduces the level to zero level. The start bit (0) reduces the level to zero signaling the commencement of activity.signaling the commencement of activity.

Page 44: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

FLAG

Address

FLAGC

ontr

ol FCS

TEXT

usually 1024 bits

(not Supervisory Frames)

Header Trailer

SDLC FRAME

8 bits

24 8 816N x 8

0111111001111110

0 FNS NR

Information Format

1 PMode NR

Supervisory Format

0

NO TEXT

NR Receive Sequence Number

Number (in sequence 000

through 110) of frame

expected. 111

acknowledges sequence of seven frames.

NS Send Sequence Number

Number (in sequence 000

through 110) of this

frame.

Mode 00 = Ready to Receive

10 = Not ready to Receive

01 = Reject

P = 0 = not polled

1 = poll

F = 0 = more frames to come. Information transfer is not

complete.

1 = last Frame

SDLC Frame Format

Page 45: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Host #1

Host #2

Gateway Gateway

Packet Network

MAC Header

A

LLCHeader

IPHeader

TCPHeader

User’sData

MACTrailer

A

LAPBHeader

PacketHeader

IPHeader

TCPHeader

User’sData

LAPBTrailer

MAC Header

B

LLCHeader

IPHeader

TCPHeader

User’sData

MACTrailer

B

Packet Network Frame

Token-Ring Frame (LAN B)

PROTOCOL STACKS

Ethernet Frame (LAN A)

Page 46: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

UpperLayers

TCPIP

LLCCSMA/

CD

Physical

LLCCSMA/

CD

IP

PhysicalPhysical

PacketHDLC

UpperLayers

TCPIP

Physical

IP

PhysicalPhysical

PacketHDLC

LLCToken-Ring

LLCToken-Ring

LAN AEthernet

Gateway LAN BToken-Ring

GatewayPacket Network

Page 47: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

PACKET SWITCHING

Page 48: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Packet Switching

The data stream originating at the source is divided into packets of fixed orvariable size.

The time interval between consecutive packets may vary, depending on theburstiness of the stream.

As the bits in a packet arrive at a switch or router; they are read into abuffer when the entire packet is stored, the switch routes the packet overone of its outgoing links.

The packet remains queued in its buffer until the outgoing link becomesidle. This store-and-forward technique thereby introduces a randomqueuing delay at each link;

The delay depends on the other traffic sharing the same link. Packets fromdifferent sources sharing the same link are statistically multiplexed.

Page 49: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Packet Switching Continues

In datagram packet networks, each packet within a stream is independently routed. A routing table stored in the router (switch) specifies the outgoing link for each

destination. The table may be static, or it may be periodically updated. Each packet must contain bits denoting the address of the source and destination.

In virtual circuit packet networks, a fixed route is selected before any data is transmittedin a call setup phase similar to circuit-switched networks. However; there is no notion of a fixed-rate circuit or logical channel. All packets

belonging to the same data stream follow this fixed route, called a virtual circuit. Packets must now contain a virtual circuit identifier; this bit string is usually shorter than

the source and destination address identifiers needed for datagrams. However; the callsetup phase takes time and creates a delay not present in datagram packet networks.

The routing decision

Connectionless (datagraConnectionless (datagram) Connection Oriented (virtual circuit)

Page 50: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Connection-Oriented vs Connectionless Transport

Could changeMaintainedMaintainedPacket Sequence

“Share Pain”“Share Pain”“Busy”Overload

SharedSharedGuaranteedBandwidth

VariableVariableConstantDelay

NoYesYesConnection State

Shared

Resource

Guaranteed Resource

Connectionless

Connection Oriented

Circuits and Virtual Circuits

Page 51: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Connection Oriented Packet Transport

• Connection Request • Resource Check• Route Selection • Destination Acceptance• Connection begins

Page 52: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Connectionless Transport

• Lower Level Protocol (IP) “Send and Pray”• Upper Level Protocol Guaranteed delivery

Page 53: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Rel

ay

Tec

hn

iqu

es

Direct Connection

Store & forward

Hold & forward

Hold & forward

Hold & forward

Med

ia

Copper, wireless

Copper, wireless

Copper, wireless, optical

Copper, wireless, optical

Copper, wireless, optical

Siz

e of

PD

U No such thing

Variable, large to small

Variable, large to small

Variable, large to small

Fixed, very small

Del

ay Very Fast Slow Fast Faster Very Fast

Circuit Switching

Message Switching

Packet Switching

Frame Relay (Switching)

Cell Relay (Switching)

Switching Technologies

Page 54: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Fast Relay

Frame Relay

(Variable size PDU’s--frames)

Cell Relay

(Fixed size PDU’s--cells)

PVC

(LAPD)

SVC

(Q.931)

802.6 Based

(For SMDS)

ATM Based

(For B-ISDN)

PVC SVC

(Q.2931)

Types of relay systems

Page 55: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

UserUser

X.25

X.75 (NNI)

X.25

= Packet switches

Typical X.25 Topology

X.25 is not a packet switching specification. It’s a packet networkX.25 is not a packet switching specification. It’s a packet networkinterface specification. X.25 says nothing about operations within interface specification. X.25 says nothing about operations within the network. the network.

It Provides for an interface between an end-user device (DTE) and a network (DCE). Its formal title is “Interface between DTE and DCE for terminals operating in the packet node on public data networks”

In X.25, the DCE is the “agent” for the packet network to the DTE.

Page 56: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

X.25 ContinueX.25 Continue

X.25 encompasses the lower three layers of the OSI modelX.25 encompasses the lower three layers of the OSI model

X.25-3 layer (network layer)X.25-3 layer (network layer)Packets are created at the network layer that Establishes, manage, and teardown the connections between the user and the network.

X.25-2 layer (data link layer)X.25-2 layer (data link layer)The packet is encapsulated within the Link Access Procedure, Balanced(LAPB) protocol as the information field. The LAPB protocol is a sub-set of HDLC (High Level Data Link Control).

X.25-1 layer (physical layer)X.25-1 layer (physical layer)The physical layer is the physical interface between the DTE and the DCE.

Page 57: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

X.25 Continue

X.25 uses logical channel numbers (LCNs) to identify the DTE connections to thenetwork. An LCN is really nothing more than a virtual circuit identifier (VCI).

Octets #1 and Octet #2 of the packet header provide a 12-bit identifier. If all-zerospossibility is excluded, as many as 4095 logical channels (i.e., user sessions) can beassigned to a physical channel.

The LCN serves as an identifier (a label) for each user's packets that are transmittedthrough the physical circuit to and from the network.

Typically, the virtual circuit is identified with two different LCNs-one for the user at thelocal side of the network and one for the user at the remote side of the network.

X.25 provides two mechanisms to establish and maintain communications between theuser devices and the network (and ATM has borrowed these concepts): PermanentVirtual Circuit (PVC) and Switched Virtual Circuit (SVC).

Page 58: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

X.25 Continue

PPVVCCss mmaayy ssuuppppoorrtt llaarrggee uusseerrss.. AAllll ppaacckkeettss ttrraavveell tthhee ssaammee ppaatthh bbeettwweeeenn ttwwoo ccoommppuutteerrss;;wwhhiicchh ppaatthh iiss eessttaabblliisshheedd bbyy rroouuttiinngg iinnssttrruuccttiioonnss pprrooggrraammmmeedd iinn tthhee iinnvvoollvveedd nnooddeess..

TThhee cciirrccuuiittss iinnvvoollvveedd iinn tthhee rroouuttee aarree ddeeffiinneedd oonn aa ppeerrmmaanneenntt bbaassiiss,, uunnttiill ssuucchh ttiimmee aasstthheeyy aarree ppeerrmmaanneennttllyy rreeddeeffiinneedd,, ppeerrhhaappss aass tthhee sseerrvviiccee

AAlltteerrnnaattiivveellyy,, tthhee nneettwwoorrkk mmaayy sseelleecctt tthhee mmoosstt aavvaaiillaabbllee aanndd aapppprroopprriiaattee ppaatthh oonn aa ccaallll--bbyy--ccaallll bbaassiiss uussiinngg SSwwiittcchheedd VViirrttuuaall CCiirrccuuiittss ((SSVVCCss));;

AAggaaiinn,, aallll ppaacckkeettss iinn aa ggiivveenn sseessssiioonn ttrraavveell tthhee ssaammee ppaatthh..

SSVVCCss ddeemmaanndd aa ggrreeaatteerr lleevveell ooff nneettwwoorrkk iinntteelllliiggeennccee tthhaatt aaddddss ttoo ttoottaall nneettwwoorrkk ccoosstt;; tthhiissttrraannssllaatteess iinnttoo hhiigghheerr ccoosstt ttoo tthhee eenndd--uusseerr oorrggaanniizzaattiioonn..

TThhee eessttaabblliisshhmmeenntt ooff aa SSVVCC aallssoo iinnvvoollvveess ssoommee lleevveell ooff ddeellaayy ssiinnccee tthhee nneettwwoorrkk nnooddeessmmuusstt eexxaammiinnee mmuullttiippllee ppaatthhss iinn oorrddeerr ttoo mmaakkee aa pprrooppeerr sseelleeccttiioonn..

Page 59: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Transport

Packet X.25-3

LAPB X.25-2

X.21

X.25-1DTE

LAPB

X.21

Data Link

Physical

Network

Packet Header

Packet

Data

LAPB Header

LAPB Trailer

Data

DCE

User’s DataUser Stack

USER-NETWORK INTERFACE X.25

PACKET NETWORK

Page 60: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

USER’S INFORMATION

I.e. message data and/or headers from upper layers

User’s Data Segment

FLAG

Address

Control

FCS

FLAG

Packet Headers

User’s Data Segment 1024

bits

1 D QLogical Grp #

Logical Channel Number

0 P(S) M P(R)

User’s Data Segment

User’s Data Segment

User’s Data Segment

PacketHeader Trailer

HDLC FRAME

X.25 Packet and Frame Format

0

Page 61: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

COMPUTER NETWORKS

Page 62: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The RS-232-C standard for the serial line specifies the transfer of one 8-bit character at a time, separated by time intervals. The speed and distance of the serial line are limited.

RS-232-C (1969)

2.4 – 38 Kbps

01101011_11011010_

Page 63: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

The Synchronous Data Link Control and related The Synchronous Data Link Control and related standards transmit long packets of bits. The header (H) standards transmit long packets of bits. The header (H) contains the preamble that starts the receiver clock, contains the preamble that starts the receiver clock, which is kept in phase by the self-synchronizing which is kept in phase by the self-synchronizing encoding of the bits. The receiver uses the cyclic encoding of the bits. The receiver uses the cyclic redundancy check (CRC) bits to verify that the packets is redundancy check (CRC) bits to verify that the packets is correctly received.correctly received.

Page 64: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

A B

CD

E

Store-and-forward transmissions proceed by sending the packetStore-and-forward transmissions proceed by sending the packetsuccessively along links from the source to the destination. The successively along links from the source to the destination. The packet header specifies the source and destination addresses (A packet header specifies the source and destination addresses (A and E, for example) of the packet. When it receives a packet, a and E, for example) of the packet. When it receives a packet, a computer checks a routing table to find out on which link it computer checks a routing table to find out on which link it should next send the packet.should next send the packet.

Page 65: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Ethernet. In this network, computers are attached to a Ethernet. In this network, computers are attached to a common coaxial cable. The computers read every transmitted common coaxial cable. The computers read every transmitted packet and discard those not addressed to them.packet and discard those not addressed to them.

B

C

D

E

A

Page 66: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

A B

C DE

Token ring. The computers share a ring. Access is regulated Token ring. The computers share a ring. Access is regulated by a token-passing protocol.by a token-passing protocol.

4 or 16 Mbps

Page 67: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

A B

C DE

Fiber Distributed Data Interface (FDDI). A token-passing Fiber Distributed Data Interface (FDDI). A token-passing protocol is used to share the ring. The computers time their protocol is used to share the ring. The computers time their holding of the token. This network guarantees that every holding of the token. This network guarantees that every computer gets to transmit within an agreed-on time.computer gets to transmit within an agreed-on time.

100 Mbps

Page 68: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

155-622 Mbps

A B

CD

E

Asynchronous Transfer Mode (ATM) network. The network Asynchronous Transfer Mode (ATM) network. The network transports information in 53-byte cells. Total throughput oftransports information in 53-byte cells. Total throughput ofthis network is much larger than that of FDDI or of a 100-Mbps this network is much larger than that of FDDI or of a 100-Mbps Ethernet. Ethernet.

Page 69: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

LAYERING APPROACHLAYERING APPROACH

Page 70: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

RAM

VR

AM

DISK

CPU

CA

CH

E

Display

NIC

Keyboard, mouse, etc.

Computer

CPU

RAM

NIC

User System

Message TransfersThe left panel gives a simple architecture of a host computer and its connection to the network. The right panel shows the four copies that may be involved across the CPU bus to run an application, reducing the host throughput.

Page 71: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

OSI Hierarchy

• Physical– SONET, T1, T3

• Link– Ethernet, FDDI– Circuit, ATM, FR switches

• Network– Routing, Call control– IP internetworkingPhysical

Transport

Network

Link

Application

Presentation

Session

1

4

3

2

7

6

5

Page 72: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

OSI Hierarchy

• Transport– Error and congestion control

– TCP, UDP

• Session, Presentation, Application– Data, voice encodings

– Authentication

– web/http, ftp, telnetPhysical

Transport

Network

Link

Application

Presentation

Session

1

4

3

2

7

6

5

Page 73: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Data Transfer Over Frame-based Networks

File

TCP

IP

Frame(Ethernet, FR, PPP)

Page 74: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Data Transfer Over Cell-based Networks

File

TCP

IP

Adaptation

ATM Cells

Page 75: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Internet Protocol Architecture

RTPRTP

LANsLANs PPPPPPATMATM FRFR

TCPTCP UDPUDP OSPFOSPF

BGPBGP

SNMPSNMPDNSDNSTELNETTELNETFTPFTP

SMTPSMTP

HTTPHTTPPingPing

ICMP

IP

RIPRIP

10/100BaseT10/100BaseT Dedicated B/W: DSx, SONET, ...

Dedicated B/W: DSx, SONET, ...

Circuit-Switched B/W: POTS, SDS, ISDN, ...

Circuit-Switched B/W: POTS, SDS, ISDN, ...

CDPDCDPD

WirelessWireless

Page 76: PUBLIC SWITCHED TELEPHONE NETWORKS PSTN. Synchronous Transfer Mode (STM) Time-Division-Multiplexing (TDM) Circuit switching - Routing Routing: Connection

Why a Synchronous Network

“Visibility” of each byte at the line rate• Simplification of the multiplexing and switching process

• Simple access to overhead bytes

“Stuffing” Bits

OH OH

AsynchronousAsynchronous

SynchronousSynchronous

Overhead functions – framing, monitoring, fault location, protection switching, management communications.