Public Switched Telephone Networks PDF
Public Switched Telephone Networks PDF
Public Switched Telephone Networks PDF
Asynchronous Transfer Mode (ATM) Statistical Multiplexing (SM) Packets Switching Routing: Connection/Connectionless Oriented
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.
BROADBAND BUS
In the absence of an arbitration mechanism, two communication terminals may transmit at the same time, often resulting in unintelligible transmissions.
HEADER
t
l BITS SLOTS Multiplexing of Fixed Length Packets
HEADER
t
l BITS SLOTS Multiplexing of Fixed Length Packets
PSTN
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
PSTN Continue InterExchange 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.
LEC Domain
Direct Access
Switch
Tandem Switch
Switched Access
Customers
Switch
Tandem Switch
POP
POP
Tandem Switch
Customer PBX
POP
Switch
LEC Access Tandem
Customers
POP
Distribution Network
Feeder Network
Regional Network
Long-distance Network
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 doesnt justify direct connect. The IXC purchase access/egress facilities from the LEC which uses its switched network to deliver/receive that traffic.
IXC domain
ATT POP
Achieving Connectivity
Office Park
Switch
MCI POP
Full Mesh
CAP
Shared Medium
Role of Switching
Connectivity, network resource sharing, customer coordination Dedicated Line Time Shared Synchronous TDM
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 two telephone sets. By modifying the connections, the operators can switch the circuits. Circuit switching occurs at the beginning of a new telephone call. Operators were later replaced by mechanical switches and, eventually, by electronic switches. An electronic interface in the switch converts the analog signal traveling on the link from the telephone set to the switch into a digital signal, called a bit stream. The same interface converts the digital signal that travels between the switches into an analog signal before sending it from the switch to the telephone. The switches use a dedicated data communication network Common channel signaling (CCS) to exchange control information among themselves. Thus CCS separates the functions of call control from the transfer of voice.
Rate in Mb/s
Meium T-1 paired Cable T-1C paired cable T-2 paired cable T-3 coax, radio, fiber Coax, waveguide, radio, fiber
Europe 2.0
8.4 32.0
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.
Frame 1
Frame 2
Channel 2
1 2
...
...
N
PBX
...
Channel N
Workstation
STM Multiplexing is also known as Time Division Multiplexing (TDM)
TDM Continues
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 to the corresponding slot time: buffer 1 is read into slot 1, buffer 2 is read into slot 2, etc. If there are not enough bits in a buffer, the corresponding slot remains partially empty. The bit stream of the outgoing channel is easily demultiplexed: the demultiplexer detects the framing pattern from which it determines the beginning of each frame, and then each slot.
Channel 1
Channel 2
...
Channel N
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.
SM Continues
In TDM each FIFO is read for a fixed amount of time-one slot-and so each incoming channel is allocated a fixed fraction of the outgoing channel capacity, independent of the data rate on that channel. By contrast, in SM, the capacity allocated to each incoming channel varies with time, depending on the instantaneous data rate: the higher the rate, the larger the capacity allocated to it at that time. The size of packets read from each FIFO can vary across channels and over time within each channel. The demultiplexer cannot sort the packets belonging to different channels merely from their positions within a frame.
SM Continues
Additional bits, which delimit each packet and identify the corresponding incoming 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 source identifier. 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.
DATA COMMUNICATIONS
Data
Binary Codes Between machines, information is exchanged by binary digits (bits). Two sets are in common use today: ASCII: the American Standard Code for Information Interchange employs a sequence of seven bits. Since each bit may be 0 or 1, ASCII contains 128 unique patterns. EBCDIC: the Extended Binary Coded Decimal Interchange Code employs a sequence of eight bits. It contains 256 unique patterns. There are two basic methods of data transmission Asynchronous and Synchronous. Asynchronous (Character Framed) Transmission; Characters are generated and transmitted singly, one after the other. In some terminals, the characters are collected until a complete line of text is created, or the return key is pressed, causing the line to be sent as a burst of continuous characters.
Data Continues
Whether sent one-by-one as they are generated, or sent line-by-line as each line is completed, each character is framed by a start bit (0) and a stop bit (1) Synchronous (Message Framed ) Transmission: 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, a relatively large set data is framed, or blocked with one or more synchronization bits or bit patterns used to synchronize the receiving terminal 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
Character In asynchronous transmission, each character is framed by one start bit and one or two stop bits. Stop Bit (1) Start Bit (0)
Error Control/Detection
Message Datastream that includes redundant bits and the result of the senders calculations Message
Sender
Receiver
Framed characters sent as they are created -- a data stream typical of keyboard input to a terminal or communications controller.
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 senders results
Framed characters that are concatenated and sent when a string is completed -- a datastream typical of a terminal sending keyboard input lineline-byby-line to a communications controller
Data Block
Because each character is assigned a unique code, it is extremely important to be sent without error. For instance, the ASCII code for p which is the is 1110000. 111000 1110000 An error in bit # 1produces 1110001 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.
Trailer
Frame
Header
Character
Characters are assembled into a datablock that is framed by a header and a trailer to produce a frame. The frame is sent when a command is received from the controlling unit in the communication system.
Error Correction
Sender performs calculation... Receiver performs same calculation...
MK Gn+1
MK = integer + Fn Gn+1
= integer + Fn
MK
Sender adds Frame Check Sequence (Fn) to frame Gn+1 Generating Function
Fn MK
MK
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)
DTE
EIA232
DCE
Data Communication
Data Circuit Terminating Equipment (DCE): is the equipment that interfaces the DTE to the network; maps the incoming bits into signals appropriate for the channel, and at the receiving end, maps the signals back to bits. DCEs includes modems, digital service units (DSUs), and channel service units (CSUs).
Digital Signals
DTE
EIA232
DSU/CSU
Digital Line
If the transmission channel is an analog line (voice-grade), the DCE is called a modem. When sending, DCE convert the digital signal received by the DTE to analog signals to match the bandwidth of the channel. If the connections are digital connections, the DCE consists of two parts: DSU- receives unipolar digital signals from the DTE and converts them to bipolar signals. CSU: provides loopback (for testing), limited diagnostic capabilities. When sending, it converts bipolar signals to AMI.
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.
Protocols
Data Communication Continues
EIA232 interface 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. Higher Speed Interconnections EIA449: It permits operation up to 2 Mb/s at distances up to 4000 feet. Enterprise Systems Connection (ESCON): an optical fiber connection operating up to 40 kilometers at 17 Mb/s. Fiber Channel Standard (FCS): Operates up to 10 kilometers at speeds up to 800 Mb/s. FCS includes error control and switching.
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: Flag, Flag Address, Address Control, Text Frame Check Sequence, Sequence and Flag. Flag Contro Text,
CHARACTER ASCII a
Stop Bit
Start Bit
CHARACTER ASCII b
Stop Bit
01111110
01111110
NR
Receive Sequence Number Number (in sequence 000 through 110) of frame
SDLC FRAME
Header Trailer
Control
F L Address A G 8 bits 24
F C S
16
F L A G 8
expected. 111 acknowledges sequence of seven frames. NS Send Sequence Number Number (in sequence 000 through 110) of this
Information Format
Transmission Format for Start - stop (Asynchronous) Signaling. In idle state, the line is maintained at the 1 level. The start bit (0) reduces the level to zero signaling the commencement of activity.
0 1 0
NS
F NR P NR
Supervisory Format
Mode
01 = Reject
Packet Switching
The data stream originating at the source is divided into packets of fixed or variable size. The time interval between consecutive packets may vary, depending on the burstiness of the stream.
PACKET SWITCHING
As the bits in a packet arrive at a switch or router; they are read into a buffer when the entire packet is stored, the switch routes the packet over one of its outgoing links. The packet remains queued in its buffer until the outgoing link becomes idle. This store-and-forward technique thereby introduces a random queuing delay at each link; The delay depends on the other traffic sharing the same link. Packets from different sources sharing the same link are statistically multiplexed.
Connectionless
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 transmitted in 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 call setup phase takes time and creates a delay not present in datagram packet networks.
Connectionless Transport
Connection Request Resource Check Route Selection Destination Acceptance Connection begins
Lower Level Protocol (IP) Send and Pray Upper Level Protocol Guaranteed delivery
Message Switching
Packet Switching
Fast Relay
Relay
Direct Connection
Frame Relay
(Variable size PDUs--frames)
Cell Relay
(Fixed size PDUs-cells)
Copper, wireless
Copper, wireless
Media
PVC
Size of No such thing Variable, large to small Variable, large to small Variable, large to small PDU
SVC (Q.931)
(LAPD)
Fixed, very small
PVC
Delay Very Fast Slow Fast Faster Very Fast
SVC (Q.2931)
Switching Technologies
X.25 Continue
X.25 encompasses the lower three layers of the OSI model
User
User
= Packet switches
X.25X.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.25X.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 subset of HDLC (High Level Data Link Control). X.25X.25-1 layer (physical layer) The physical layer is the physical interface between the DTE and the DCE.
X.25 is not a packet switching specification. Its a packet network network interface specification. X.25 says nothing about operations within within 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.
X.25 Continue
X.25 uses logical channel numbers (LCNs) to identify the DTE connections to the network. 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-zeros possibility is excluded, as many as 4095 logical channels (i.e., user sessions) can be assigned to a physical channel. The LCN serves as an identifier (a label) for each user's packets that are transmitted through the physical circuit to and from the network. Typically, the virtual circuit is identified with two different LCNs-one for the user at the local 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 the user devices and the network (and ATM has borrowed these concepts): Permanent Virtual Circuit (PVC) and Switched Virtual Circuit (SVC).
X.25 Continue
PVCs may support large users. All packets travel the same path between two computers; which path is established by routing instructions programmed in the involved nodes. The circuits involved in the route are defined on a permanent basis, until such time as they are permanently redefined, perhaps as the service Alternatively, the network may select the most available and appropriate path on a callby-call basis using Switched Virtual Circuits (SVCs); Again, all packets in a given session travel the same path. SVCs demand a greater level of network intelligence that adds to total network cost; this translates into higher cost to the end-user organization. The establishment of a SVC also involves some level of delay since the network nodes must examine multiple paths in order to make a proper selection.
USERS INFORMATION
USER-NETWORK INTERFACE X.25 User Stack
Users Data I.e. message data and/or headers from upper layers
PACKET NETWORK
Users Data Segment Users Data Segment Users Data Segment Users Data Segment
Transport
Packet Header Header
Network
LAPB X.21 Data Link Physical
F L A G
A d d r e s s
C o n Packet t r Headers o l
FCS
F L A G
DTE
DCE
Logical Grp # 1 0 D Q
Logical Channel Number
0 P(S)
P(R)
RS-232-C (1969)
2.4 38 Kbps
COMPUTER NETWORKS
01101011_11011010_
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.
The Synchronous Data Link Control and related standards transmit long packets of bits. The header (H) contains the preamble that starts the receiver clock, which is kept in phase by the self - s ynchronizing encoding of the bits. The receiver uses the cyclic redundancy check (CRC) bits to verify that the packets is correctly received.
StoreStore-andand-forward transmissions proceed by sending the packet successively along links from the source to the destination. The packet header specifies the source and destination addresses (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 should next send the packet.
A 4 or 16 Mbps
C D
E C D E
Ethernet. In this network, computers are attached to a common coaxial cable. The computers read every transmitted packet and discard those not addressed to them.
Token ring. The computers share a ring. Access is regulated by a token - p assing protocol.
Fiber Distributed Data Interface (FDDI). A tokentoken-passing protocol is used to share the ring. The computers time their holding of the token. This network guarantees that every computer gets to transmit within an agreedagreed-on time.
Asynchronous Transfer Mode (ATM) network. The network transports information in 5353-byte cells. Total throughput of this network is much larger than that of FDDI or of a 100100-Mbps Ethernet.
CPU
Display
CACHE
VRAM
CPU
LAYERING APPROACH
DISK
RAM
NIC NIC
Computer Message Transfers The 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.
OSI Hierarchy
7 6 5 4 3 2 1 Application Presentation Session Transport Network Link Physical
OSI Hierarchy
7 6 5 4 3 2 1 Application Presentation Session Transport Network Link Physical
Physical
SONET, T1, T3
Transport
Error and congestion control TCP, UDP
Link
Ethernet, FDDI Circuit, ATM, FR switches
Network
Routing, Call control IP internetworking
TCP
TCP
IP IP
ATM Cells
BGP BGP
IP LANs LANs 10/100BaseT 10/100BaseT ATM ATM FR FR PPP PPP Circuit-Switched Circuit-SwitchedB/W: B/W: POTS, POTS,SDS, SDS,ISDN, ISDN,... ... CDPD CDPD Wireless Wireless
Stuffing Bits
OH OH
Synchronous
Overhead functions framing, monitoring, fault location, protection switching, management communications.