lecture 6 introduction to switching circuit switching

33
Lecture 6 Introduction To Switching Circuit Switching

Upload: brandon-gordon

Post on 01-Jan-2016

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Lecture 6 Introduction To Switching Circuit Switching

Lecture 6

Introduction To SwitchingCircuit Switching

Page 2: Lecture 6 Introduction To Switching Circuit Switching

Q. What is a switch?Q. What is switching?Q. What is switched network?

Switch Switches are the hardware or software devices capable of creating temporary connections between two or more devices linked to the switch but not to each other. It is a device which connects multiple communication lines together.

Page 3: Lecture 6 Introduction To Switching Circuit Switching

Switch

Page 4: Lecture 6 Introduction To Switching Circuit Switching

Folded Switch

Page 5: Lecture 6 Introduction To Switching Circuit Switching

Switching

A network is a set of connected devices. Whenever we have multiple devices, we have the problem of how to connect them to make one-to-one communication possible. The solution is switching. A switched network consists of a series of interlinked nodes, called switches.

Page 6: Lecture 6 Introduction To Switching Circuit Switching

Switched Network

• A Computer network in which connectivity is provided by using numbers of switches.

• A fully switched network uses only switches for connecting all devices used in that network.

Page 7: Lecture 6 Introduction To Switching Circuit Switching

Switched network (Networking using Switches )

Computers are denoted by A,B,C upto LSwitches are denoted by I,II,III uupto VIII

Page 8: Lecture 6 Introduction To Switching Circuit Switching

Traditionally, three methods of switching have been discussed: 1.circuit switching, 2.packet switching, and 3.message switching.

The first two are commonly used today. The third has been phased out in general communications but still has applications. Packet switching can further be divided into two subcategories, virtual-circuit approach and datagram approach, as shown in Figure.

Page 9: Lecture 6 Introduction To Switching Circuit Switching

Taxonomy of switched networks

Page 10: Lecture 6 Introduction To Switching Circuit Switching

8.10

Switching and TCP/IP LayersSwitching and TCP/IP Layers

Switching can happen at several layers of the TCP/IP protocol suite: 1.at the physical layer it is circuit switching. There is no exchange of packets at PL. The switches at PL allow signals to move in one path or another. 2.at the data-link layer we can have packet switching. However, the packet can mean frame or cells here. Packet switching is done normally using Virtual Circuit Approach.3.at the network layer we can have packet switching. Here, either a virtual circuit or datagram approach can be used. Internet uses datagram approach.

Page 11: Lecture 6 Introduction To Switching Circuit Switching

Switching at Application Layer : we can have only message switching at AL. It is done by exchanging messages like email etc. So such communication can be called as message switched communication. As such there is no concept of message switched metwork.

Page 12: Lecture 6 Introduction To Switching Circuit Switching

Circuit switching

• Circuit switching is used in public telephone network but it is used for data transmission also along with voice communication

• Voice communication is efficient but data communication is not that efficient

• In this method a dedicated path is established between two computer using one or more switch

Page 13: Lecture 6 Introduction To Switching Circuit Switching

• The transfer mode of a network involves setting up a dedicated end to end connection. This path is maintained till the end of communication.

• Link is released after communication is over• Circuit switching takes place at physical

layer• Data transfer may use FDM or TDM

Page 14: Lecture 6 Introduction To Switching Circuit Switching

Circuit-Switched Network

In place of using 3x4=12 point to point connections only 3 switches are used in above figure.

Page 15: Lecture 6 Introduction To Switching Circuit Switching

A trivial circuit-switched network

• 4 switches• 4links• Each link divided into n=3 channels here using FDM or TDM• 2 end systems A & M; these may be computers• If A has transmit to M, it will do through this circuit switched

network

Page 16: Lecture 6 Introduction To Switching Circuit Switching

Three Phases of Circuit SwitchingThree Phases of Circuit Switching

The actual communication in a circuit-switched network requires three phases:

1. connection setup, 2. data transfer, and 3. connection teardown.

Page 17: Lecture 6 Introduction To Switching Circuit Switching

As a trivial example, let us use a circuit-switched network to connect eight telephones in a small area. Communication is through 4-kHz voice channels. We assume that each link uses FDM to connect a maximum of two voice channels. The bandwidth of each link is then 8 kHz. Figure shows the situation. Telephone 1 is connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6. Of course the situation may change when new connections are made. The switch controls the connections.

Example

Page 18: Lecture 6 Introduction To Switching Circuit Switching

Circuit-switched network used in Example

Page 19: Lecture 6 Introduction To Switching Circuit Switching

As another example, consider a circuit-switched network that connects computers in two remote offices of a private company. The offices are connected using a T-1 line leased from a communication service provider. There are two 4 × 8 (4 inputs and 8 outputs) switches in this network. For each switch, four output ports are folded into the input ports to allow communication between computers in the same office. Four other output ports allow communication between the two offices. Figure shows the situation.

Example

Page 20: Lecture 6 Introduction To Switching Circuit Switching

Circuit-switched network used in Example

Page 21: Lecture 6 Introduction To Switching Circuit Switching

Certain issues in circuit switching

• Efficiency – low, because of resources remain dedicated through out the connection

• Delay – despite low efficiency there is very low delay in transmission. Since connection is dedicate so only time taken in connection is the only delay in transmission

Page 22: Lecture 6 Introduction To Switching Circuit Switching

EfficiencyEfficiency

It can be argued that circuit-switched networks are not as efficient as the other two types of networks because resources are allocated during the entire duration of the connection. These resources are unavailable to other connections. In a telephone network, people normally terminate the communication when they have finished their conversation.

Page 23: Lecture 6 Introduction To Switching Circuit Switching

DelayDelay

Although a circuit-switched network normally has low efficiency, the delay in this type of network is minimal. During data transfer the data are not delayed at each switch; the resources are allocated for the duration of the connection. Figure shows the idea of delay in a circuit-switched network when only two switches are involved.

Page 24: Lecture 6 Introduction To Switching Circuit Switching

Delay in a circuit-switched network

Data transfer

Page 25: Lecture 6 Introduction To Switching Circuit Switching

• Advantages – – Dedicated transmission– No delay in transmission

• Disadvantages– Because of dedicated connection other devices waste

time in waiting– Dedicated connection will consume all bandwidth– Sometimes it may take long time to establish a

connection• Applications – Public Switched Telephone Network

(PSTN)

Page 26: Lecture 6 Introduction To Switching Circuit Switching
Page 27: Lecture 6 Introduction To Switching Circuit Switching

Space Division Switching

• In space division switching, the paths in the circuit are separated from each other spatially. This technology is used in both analog & digital networks. It uses following switches for connection:– Cross bar switch– Multistage switch

Page 28: Lecture 6 Introduction To Switching Circuit Switching

Crossbar Switch

A cross bar switch connects n input lines to m output lines in a grid using micro switches (transistor) at each cross point.

Page 29: Lecture 6 Introduction To Switching Circuit Switching

Multistage Switch

The limitations of crossbar switch is removed by multistage switch. In fact it combines cross bar switches in several stages.

In multistage switching, devices are linked to switches that, in turn are linked to a hierarchy of other switches.

Page 30: Lecture 6 Introduction To Switching Circuit Switching

Switching Path Using Multistage Switch

Page 31: Lecture 6 Introduction To Switching Circuit Switching

Switching Path Using Multistage Switch

Page 32: Lecture 6 Introduction To Switching Circuit Switching

Time-division multiplexed switch• Time slot interchange reads bits from incoming slots in

each frame and writes these into a register. Call setup would have created a permutation table for how the contents are read out.

• These switches are only used in voice calling.

Page 33: Lecture 6 Introduction To Switching Circuit Switching

Examples of Circuit Switched Network• Public switched telephone network (PSTN)• ISDN B-channel• Circuit Switched Data (CSD) and High-Speed

Circuit-Switched Data (HSCSD) service in cellular systems such as GSM

• Datakit• X.21 (Used in the German DATEX-L and

Scandinavian DATEX circuit switched data network)

• Optical mesh network