交换方法

45
1.5 1.5 网网网网网网网网网 网网网网网网网网网 网网网网网网网网网网网网网 网网 网网网 网网网网网网网网网网网网网 网网 网网网 网网网网 网网网网网网 网网网 网 网网网网 网网网网 ,, ,。 统统 网网网网 网网网网网网 网网网 网 网网网网 网网网网 ,, ,。 统统 网网网网 网网网网 网网 网网 网网网网 网网网网 网网网网网网网网网网 网网网网 网网网网 网网网网 网网网网网 网网网网网

Upload: roary-kirk

Post on 30-Dec-2015

43 views

Category:

Documents


4 download

DESCRIPTION

1.5 网络平台与交换技术 网络平台是计算机网络的枢纽,它由传输设备, 交换设备,网络互联设备,布线系统,操作系统等组成。 网络平台 传输 交换 网络互联 布线系统 网络接入 网络测试 网络服务器. 交换方法. Switching. Circuit switching - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 交换方法

1.5 1.5 网络平台与交换技术网络平台与交换技术网络平台是计算机网络的枢纽,它由传输设备,网络平台是计算机网络的枢纽,它由传输设备,交换设备,网络互联设备,布线系统,操作系统等交换设备,网络互联设备,布线系统,操作系统等组成。组成。

网络平台 传输网络平台 传输 交换 交换 网络互联 网络互联 布线系统 布线系统 网络接入 网络接入 网络测试 网络测试 网络服务器 网络服务器

Page 2: 交换方法

交换方法

Page 3: 交换方法

SwitchingSwitching

Circuit switching Message switching Packet switching

– Datagram– Virtual circuit switching

Page 4: 交换方法

(1) Circuit switching(1) Circuit switching I IA dedicated communication path between two

stations.– That path is a connected sequence of links.– On each physical link, a channel is dedicated to the

connection.– Example: Telephone system.

Three phases:– Circuit establishment.– Data transfer– Circuit disconnection

Page 5: 交换方法
Page 6: 交换方法

Circuit-Switched Network

Page 7: 交换方法

Circuit switchingCircuit switching II II Circuit switching can be rather

inefficient.– Channel capacity is dedicated.

There is a delay prior to data transfer for call establishment.

Data are transmitted at a fixed data rate with no delay

Page 8: 交换方法

Switch

Page 9: 交换方法

(2) Message switching(2) Message switching I IIf a station wishes to send a message.

– It appends a destination address to the message.

– The message is then passed through the network from node to node.

– At each node, the entire message is received, stored briefly, and then transmitted to the next node.

Page 10: 交换方法

Message Switching

Page 11: 交换方法

Message switchingMessage switching II IIA message-switching node is typically a

general-purpose microcomputer, with sufficient storage to buffer message as they come in.

Delay:– The time required to receive all bits of the

message + A queuing delay waiting for an opportunity to retransmit to the next node.

Store-and-forward message system.

Page 12: 交换方法

MS: AdvantagesMS: Advantages Greater line efficiency Availability of both ends is not required. When traffic is heavy, messages are still accepted. Multicast is easy. Message priorities Error control and recovery procedures can be built into the

network. Speed and code conversion. Messages sent to inoperative terminals may be intercepted

and either stored or rerouted to other terminals.

Page 13: 交换方法

MS: DisadvantageMS: Disadvantage

It is not suited to real-time or interactive traffic.

The delay is relative long and has relatively high variance.

It cannot be used for voice connections.It is not suited to interactive terminal-host

connections.

Page 14: 交换方法

(3) Packet switching(3) Packet switching

Each message to be transmitted through the network is firstly divided into a number of smaller message unit known as packet.

Datagram approachVirtual Circuit

Page 15: 交换方法
Page 16: 交换方法

Datagram Approach

Page 17: 交换方法

Datagram Approach, Multiple Channels

Page 18: 交换方法

Switched Virtual Circuit

Page 19: 交换方法

Switched Virtual Circuit

Page 20: 交换方法

Switched Virtual Circuit

Page 21: 交换方法
Page 22: 交换方法
Page 23: 交换方法

Datagram approachDatagram approachEach packet is treated independently.Each packet contains addressing

information.The node make a routing decision for each

packet.Advantages:

– The call setup phase is avoided. – More primitive, flexible, and reliable

Page 24: 交换方法

Virtual circuit approachVirtual circuit approachA logical connection is established before

any packets are sent.A route between stations is set up prior to

data transfer.

Page 25: 交换方法

Virtual circuit approachVirtual circuit approachAdvantages:

– Be good for long exchange.– Relieve the stations of unnecessary

communication processing functions.Services:

– Sequencing,Error control,Flow control

Page 26: 交换方法

Packet SwitchPacket Switch

Three types of delay:– Propagation delay– Transmission time– Node delay

Page 27: 交换方法

Packet SwitchPacket SwitchPerformance factors:

– Number of stations.– Number and arrangement of nodes.– Total load on system.– Length of typical exchange.– Processing speed of the nodes.– Packet size

Page 28: 交换方法
Page 29: 交换方法

Summary ISummary IFor interactive traffic, message switching is

not appropriate.For light and/or intermittent loads, circuit

switching is the most cost effective ( Public Telephone System )

For very heavy and sustained loads between two stations, a leased circuit-switched line is the most cost effective.

Page 30: 交换方法

Summary IISummary II

For a moderate to heavy load, packet switching is to be preferred.

Datagram packet switching is good for short message and for flexibility.

Virtual circuit packet switching is good for long exchange and relieving stations of processing burden.

Page 31: 交换方法

A comparison of circuit switched and packet-switched networks.

Page 32: 交换方法

(4) Multiplexing(4) MultiplexingFDM ( Frequency Division

Multiplexing )TDM ( Time Division

Multiplexing )

Page 33: 交换方法
Page 34: 交换方法
Page 35: 交换方法
Page 36: 交换方法
Page 37: 交换方法
Page 38: 交换方法
Page 39: 交换方法
Page 40: 交换方法
Page 41: 交换方法
Page 42: 交换方法
Page 43: 交换方法
Page 44: 交换方法
Page 45: 交换方法