计算机网络体系结构与Internet.ppt
《计算机网络体系结构与Internet.ppt》由会员分享,可在线阅读,更多相关《计算机网络体系结构与Internet.ppt(215页珍藏版)》请在三一办公上搜索。
1、北京大学 研究生课程,1,计算机网络体系结构与Internet,清华大学计算机系,北京大学 研究生课程,2,提纲,网络基本概念Internet简介协议分层和OSI参考模型End-to-End ArgumentsInternet设计原则基本机制回顾,北京大学 研究生课程,3,提纲,网络基本概念Internet简介协议分层和OSI参考模型End-to-End ArgumentsInternet设计原则基本机制回顾,北京大学 研究生课程,4,“Cool”Internet appliances,Worlds smallest web serverhttp:/www-ccs.cs.umass.edu/s
2、hri/iPic.html,IP picture framehttp:/,Web-enabled toaster+weather forecaster,北京大学 研究生课程,5,Whats a network,network edge:millions of end-system devices:pcs workstations,serversPDAs,phones,toastersrunning network appsnetwork core:routers,switches forwarding datapackets:packet switchingcalls:circuit swit
3、chingcommunication linksfiber,copper,radio,北京大学 研究生课程,6,Whats a protocol?,a human protocol and a computer network protocol:,北京大学 研究生课程,7,Whats a protocol?,human protocols:“whats the time?”“I have a question”Introductions,network protocols:machines rather than humansall communication activity in Inte
4、rnet governed by protocols,specific msgs sent specific actions taken when msgs received,or other events,北京大学 研究生课程,8,Whats a protocol?,protocols define format,order of msgs sent and received among network entities,and actions taken on msg transmission,receipt,北京大学 研究生课程,9,A closer look at network st
5、ructure,network edge:applications and hostsnetwork core:routersnetwork of networksaccess networks,physical media:communication links,北京大学 研究生课程,10,The network edge,end systems(hosts)run application programse.g.,WWW,emailat“edge of network”client/server modelclient host requests,receives service from
6、 servere.g.,WWW client(browser)/server;email client/serverpeer-peer modelhost interaction symmetrice.g.:BT,Maze,e-Donkey,北京大学 研究生课程,11,The network core,mesh of interconnected routersthe fundamental question:how is data transferred through net?circuit switching:dedicated circuit per call:telephone ne
7、tpacket switching:data sent thru net in discrete“chunks”,北京大学 研究生课程,12,Communication networks can be classified based on the way in which the nodes exchange information:,A Taxonomy of Communication Networks,北京大学 研究生课程,13,Broadcast communication networksInformation transmitted by any node is received
8、 by every other node in the networkE.g.,LANs(Ethernet,Wavelan)Problem:coordinate the access of all nodes to the shared communication medium(Multiple Access Problem)Switched communication networksInformation is transmitted to a sub-set of designated nodesE.g.,WANs(Telephony Network,Internet)Problem:h
9、ow to forward information to intended node(s)Done by special nodes(e.g.,routers,switches)running routing protocols,Broadcast vs.Switched Communication Networks,北京大学 研究生课程,14,Communication networks can be classified based on the way in which the nodes exchange information:,A Taxonomy of Communication
10、 Networks,Circuit-SwitchedCommunication Network,北京大学 研究生课程,15,Circuit Switching,Three phasescircuit establishmentdata transfercircuit terminationIf circuit not available:“Busy signal”ExamplesTelephone networksISDN(Integrated Services Digital Networks),北京大学 研究生课程,16,Timing in Circuit Switching,DATA,H
11、ost 1,Host 2,Node 1,Node 2,propagation delay between Host 1 and Node 1,propagation delay between Host 2 and Node 1,processing delay at Node 1,北京大学 研究生课程,17,Circuit Switching,A node(switch)in a circuit switching network,incoming links,outgoing links,Node,北京大学 研究生课程,18,Circuit Switching:Multiplexing/D
12、emultiplexing,Time divided in frames and frames divided in slotsRelative slot position inside a frame determines which conversation the data belongs toNeeds synchronization between sender and receiverIn case of non-permanent conversationsNeeds to dynamic bind a slot to a conservation,北京大学 研究生课程,19,C
13、ommunication networks can be classified based on the way in which the nodes exchange information:,A Taxonomy of Communication Networks,Communication Network,SwitchedCommunication Network,BroadcastCommunication Network,Circuit-SwitchedCommunication Network,Packet-SwitchedCommunication Network,Datagra
14、m Network,Virtual Circuit Network,北京大学 研究生课程,20,Packet Switching,Data are sent as formatted bit-sequences,so-called packetsPackets have the following structure:Header and Trailer carry control information(e.g.,destination address,checksum)Each packet is passed through the network from node to node a
15、long some path(Routing)At each node the entire packet is received,stored briefly,and then forwarded to the next node(Store-and-Forward Networks)Typically no capacity is allocated for packets,北京大学 研究生课程,21,Packet Switching,A node in a packet switching network,incoming links,outgoing links,Node,Memory
16、,北京大学 研究生课程,22,Packet Switching:Multiplexing/Demultiplexing,Data can be transmitted at any given timeHow to tell them apart?Use meta-data(header)to describe data,北京大学 研究生课程,23,Communication networks can be classified based on the way in which the nodes exchange information:,A Taxonomy of Communicati
17、on Networks,北京大学 研究生课程,24,Datagram Packet Switching,Each packet is independently switchedEach packet header contains destination addressNo resources are pre-allocated(reserved)in advanceExample:IP networks,北京大学 研究生课程,25,Datagram Packet Switching,Host A,Host B,Host E,Host D,Host C,Node 1,Node 2,Node
18、3,Node 4,Node 5,Node 6,Node 7,北京大学 研究生课程,26,How do loss and delay occur?,packets queue in router buffers packet arrival rate to link exceeds output link capacitypackets queue,wait for turn,A,B,北京大学 研究生课程,27,Four sources of packet delay,1.nodal processing check bit errorsdetermine output link,2.queue
19、ingtime waiting at output link for transmission depends on congestion level of router,北京大学 研究生课程,28,Four sources of packet delay,3.Transmission delay:R=link bandwidth(bps)L=packet length(bits)time to send bits into link=L/R,4.Propagation delay:d=length of physical links=propagation speed in medium(2
20、x108 m/sec)propagation delay=d/s,Note:s and R are very different quantities!,北京大学 研究生课程,29,Communication networks can be classified based on the way in which the nodes exchange information:,A Taxonomy of Communication Networks,北京大学 研究生课程,30,Virtual-Circuit Packet Switching,Hybrid of circuit switchin
21、g and packet switchingData is transmitted as packetsAll packets from one packet stream are sent along a pre-established path(=virtual circuit)Guarantees in-sequence delivery of packetsHowever:Packets from different virtual circuits may be interleavedExample:ATM networks,北京大学 研究生课程,31,Virtual-Circuit
22、 Packet Switching,Communication with virtual circuits takes place in three phases VC establishmentdata transferVC disconnectNote:packet headers dont need to contain the full destination address of the packet,北京大学 研究生课程,32,Timing of Virtual-Circuit Packet Switching,Host 1,Host 2,Node 1,Node 2,propaga
23、tion delay between Host 1 and Node 1,VCestablishment,VCtermination,Datatransfer,北京大学 研究生课程,33,Virtual-Circuit Packet Switching,Host A,Host B,Host E,Host D,Host C,Node 1,Node 2,Node 3,Node 4,Node 5,Node 6,Node 7,北京大学 研究生课程,34,Packet-Switching vs.Circuit-Switching,Most important advantage of packet-sw
24、itching over circuit switching:ability to exploit statistical multiplexingEfficient bandwidth usageratio between peek and average rate is 3:1 for audio,and 15:1 for data traffic,北京大学 研究生课程,35,Packet-Switching vs.Circuit-Switching,However,packet-switching needs to deal with congestionMore complex rou
25、tersHarder to provide good network services(e.g.,delay and bandwidth guarantees)In practice they are combinedIP over SONET,IP over Frame Relay,北京大学 研究生课程,36,提纲,网络基本概念Internet简介协议分层和OSI参考模型End-to-End ArgumentsInternet设计原则基本机制回顾,北京大学 研究生课程,37,The Internet,Global scale,general purpose,heterogeneous-tec
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 体系结构 Internet

链接地址:https://www.31ppt.com/p-2813203.html