第一章计算机网络基本原理与机制-教学课件.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《第一章计算机网络基本原理与机制-教学课件.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 第一章 计算机网络 基本原理 机制 教学 课件
- 资源描述:
-
1、1第一章计算机网络基本原理与机制2提纲网络基本概念Internet简介协议分层和OSI参考模型End-to-End ArgumentsInternet设计原则3提纲网络基本概念Internet简介协议分层和OSI参考模型End-to-End ArgumentsInternet设计原则4Worlds smallest web serverhttp:/www-ccs.cs.umass.edu/shri/iPic.html“Cool”Internet appliancesIP picture framehttp:/ toaster+weather forecaster5Whats a network
2、network edge:millions ofend-system devices:pcs workstations,servers PDAs,phones,toastersrunning network appsnetwork core:routers,switches forwarding data packets:packet switching calls:circuit switchingcommunication links fiber,copper,radio,routerserverlocal netcompanynetworkstationmobileregional ne
3、t6Whats a protocol?a human protocol and a computer network protocol:HiHiGot thetime?2:00TCP connectionreq.TCP connectionreply.Get http:/time7Whats a protocol?human protocols:“whats the time?”“I have a question”Introductionsnetwork protocols:machines ratherthan humansall communicationactivity in Inte
4、rnetgoverned byprotocols specific msgs sent specific actions taken when msgsreceived,or other events8Whats a protocol?协议的组成:语法(syntax):以二进制形式表示的命令和相应的结构 语义(semantics):命令请求、完成的动作和回送的响应的具体含义 定时关系(timing):有关事件顺序的说明protocols define format,order ofmsgs sent and received amongnetwork entities,and actions
5、takenon msg transmission,receipt9A closer look at networkstructurenetwork edge:applications andhostsnetwork core:routers network ofnetworksaccessnetworks,physical media:communicationlinks10The network edgeend systems(hosts)run application programs e.g.,WWW,email at“edge of network”client/server mode
6、l client host requests,receives service fromserver e.g.,WWW client(browser)/server;emailclient/serverpeer-peer model host interactionsymmetric e.g.:BT,Maze,e-Donkey11The network coremesh of interconnectedroutersthe fundamentalquestion:how is datatransferred through net?circuit switching:dedicated ci
7、rcuit percall:telephone net packet switching:data sent thru net indiscrete“chunks”12BroadcastCommunicationNetworkA Taxonomy ofCommunication NetworksCommunication networks can be classifiedbased on the way in which the nodesexchange information:CommunicationNetworkSwitchedCommunicationNetworkCircuit-
8、SwitchedCommunicationNetworkPacket-SwitchedCommunicationNetworkDatagramNetworkVirtual Circuit Network13Broadcast vs.SwitchedCommunication NetworksBroadcast communication networks Information transmitted by one node isreceived by every other node in thenetwork E.g.,Satellite Network,CCTV-Net Problem:
9、coordinate the access of allnodes to the shared communicationmedium(Multiple Access Problem)Switched communication networks Information is transmitted to a sub-set ofdesignated nodes E.g.,WANs(Telephony Network,Internet)Problem:how to forward information tointended node(s)Done by special nodes(e.g.,
10、routers,switches)running routing protocols14A Taxonomy ofCommunication NetworksCommunication networks can be classifiedbased on the way in which the nodesexchange information:CommunicationNetworkSwitchedCommunicationNetworkCircuit-SwitchedCommunicationNetworkBroadcastCommunicationNetworkPacket-Switc
11、hedCommunicationNetworkDatagramNetworkVirtual Circuit Network15Circuit SwitchingThree phases1.circuit establishment2.data transfer3.circuit terminationIf circuit not available:“Busy signal”Examples Telephone networks ISDN(Integrated Services DigitalNetworks)16Timing in Circuit SwitchingCircuitEstabl
12、ishmentHost 1Host 2Node 1Node 2between Host 1and Node 1propagation delaybetween Host 2and Node 1DataTransmissionDATACircuitTerminationprocessing delay at Node 1propagation delay17Circuit SwitchingA node(switch)in a circuitswitching networkincoming linksoutgoing linksNode18Circuit Switching:Multiplex
13、ing/DemultiplexingTime divided in frames and frames divided inslotsRelative slot position inside a frame determineswhich conversation the data belongs toNeeds synchronization between sender andreceiverIn case of non-permanent conversations Needs to dynamic bind a slot to aconservation19A Taxonomy of
14、Communication NetworksCommunication networks can be classifiedbased on the way in which the nodesexchange information:CommunicationNetworkBroadcastCommunicationNetworkSwitchedCommunicationNetworkCircuit-SwitchedCommunicationNetworkPacket-SwitchedCommunicationNetworkDatagramNetworkVirtual Circuit Net
15、work20Packet SwitchingData are sent as formatted bit-sequences,so-called packetsPackets have the following structure:Header and Trailer carry controlinformation(e.g.,destination address,checksum)Each packet is passed through the networkfrom node to node along some path(Routing)At each node the entir
16、e packet is received,stored briefly,and then forwarded to the nextnode(Store-and-Forward Networks)HeaderDataTrailer21Packet SwitchingA node in a packet switchingnetworkincoming linksoutgoing linksNodeMemory22Packet Switching:Multiplexing/DemultiplexingData can be transmitted at anygiven timeHow to t
17、ell them apart?Use meta-data(header)todescribe data23BroadcastCommunicationNetworkA Taxonomy ofCommunication NetworksCommunication networks can be classifiedbased on the way in which the nodesexchange information:CommunicationNetworkSwitchedCommunicationNetworkCircuit-SwitchedCommunicationNetworkPac
18、ket-SwitchedCommunicationNetworkDatagramNetworkVirtual Circuit Network24Datagram PacketSwitchingEach packet is independentlyswitched Each packet header containsdestination addressNo resources are pre-allocated(reserved)in advanceExample:IP networks25Host AHost BHost EHost DDatagram PacketSwitchingHo
19、st CNode 1Node 3Node 4Node 6Node 2Node 5Node 726How do loss and delay occur?router buffers is fullpacket arrival rate to link exceeds outputlink capacityOutput link(loss)ABdropped(loss)if no free buffers27Four sources of packet delay1.nodal processing check bit errors determine outputlink(?)ABtransm
20、issionnodalprocessingpropagationqueueing2.queueing time waiting at outputlink for transmission depends on congestionlevel of router28Four sources of packet delay3.Transmission delay:R=link bandwidth(bps)L=packet length(bits)time to send bits intolink=L/RABtransmissionnodalprocessingpropagationqueuei
21、ng4.Propagation delay:d=length of physical links=propagation speed inmedium(2x108 m/sec)propagation delay=d/sNote:s and R are verydifferent quantities!29BroadcastCommunicationNetworkA Taxonomy ofCommunication NetworksCommunication networks can be classifiedbased on the way in which the nodesexchange
22、 information:CommunicationNetworkSwitchedCommunicationNetworkCircuit-SwitchedCommunicationNetworkPacket-SwitchedCommunicationNetworkDatagramNetworkVirtual Circuit Network30Virtual-Circuit PacketSwitchingHybrid of circuit switching andpacket switching Data is transmitted as packets All packets from o
23、ne packet stream aresent along a pre-established path(=virtual circuit)Guarantees in-sequence delivery ofpacketsHowever:Packets from differentvirtual circuits may be interleavedExample:ATM networks31Virtual-Circuit PacketSwitchingCommunication with virtualcircuits takes place in threephases1.VC esta
24、blishment2.data transfer3.VC disconnectNote:packet headers dont needto contain the full destinationaddress of the packet32Packet 1Packet 1Packet 2Packet 3Timing of Virtual-CircuitPacket SwitchingPacket 1Packet 2Packet 3Host 1Host 2Node 1Node 2propagation delaybetween Host 1and Node 1VCestablishmentP
25、acket 2Packet 3VCterminationDatatransfer33Host AHost BHost ENode 1Node 3Node 4Node 2Node 5Node 6Node 7Host DVirtual-Circuit PacketSwitchingHost C34Packet-Switching vs.Circuit-SwitchingMost important advantage ofpacket-switching over circuitswitching:ability to exploitstatistical multiplexing Efficie
展开阅读全文