欢迎来到天天文库
浏览记录
ID:44996299
大小:1.47 MB
页数:30页
时间:2019-11-07
《计算机网络与互联网英语chap7》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Chapter7Packets,Frames,AndErrorDetection(Parity,Checksums,andCRCs)PartIIIPacketTransmissionSmallestpieceofinformationWhenyousendamessagebetweentwohosts,thesmallestpieceofinformationmaybe:BitCharacter(e.g.RS232)SwitchingWhenshouldthispieceofinformationbesent?Assoonasitisava
2、ilable->circuitswitchingWhentheentiremessageisready->messageswitchingAfterXnumberofbits/characters->packetswitchingSwitchingcontentCircuitsw.Messagesw.Packetsw.P1P2P3P4P1P2P3P4P3P4报文报文报文ABCDABCDABCDt连接建立数据传送报文P2P1连接释放ConnectingtotheNetworkTheProblemCannotaffordindividualn
3、etworkconnectionperpairofcomputersReasonsInstallingwiresconsumestimeandmoneyMaintainingwiresconsumesmoney(esp.long-distanceconnections)SolutionNetworkhasSharedcentralcoreManyattachedstationsTheConceptofPacketsMostcomputersdonottransferdataasanarbitrarystringofcontinuousbit
4、s.InsteadthenetworksystemdividesdataintosmallbockscalledpacketssendindividuallyAlsoreferredcalledpacketnetworksorpacketswitchingnetworksTheProblemWithSharingDemandhighSomeapplicationshavelargetransfersSomeapplicationscannotwaitNeedmechanismforfairnessPacketSwitchingPrincip
5、leSolutionforfairnessDividedataintosmallunitscalledpacketsAlloweachstationopportunitytosendapacketbeforeanystationsendsanotherFormoftime-divisionmultiplexingIllustrationofPacketSwitchingAcquiresharedmediumSendonepacketIllustrationofPacketSwitchingDividingdataintosmallpacke
6、tsallowstime-divisionmultiplexingEachpacketleavesthesourceandisswitchedontothesharedcommunicationchannelthroughamultiplexorAtthedestination,thepacketisswitchedthroughademultiplexortothedestinationPacketDetailsDependonunderlyingnetworkMinimum/maximumsizeFormatHardwarepacket
7、calledaframeEachhardwaretechnologyusesdifferentpacketformatFrameorhardwareframedenotesapacketofaspecificformatonaspecifichardwaretechnologyExampleFrameFormatUsedwithRS-232RS-232ischaracter-orientedNeedtodefineastandardformatfordatatoindicatethebeginningandendoftheframeSpe
8、cialcharactersStartofheader(soh)Endoftext(eot)DefiningtheFramingStandardCanchoosetwounuse
此文档下载收益归作者所有