《计算机网体系结构》PPT课件_第1页
《计算机网体系结构》PPT课件_第2页
《计算机网体系结构》PPT课件_第3页
《计算机网体系结构》PPT课件_第4页
《计算机网体系结构》PPT课件_第5页
已阅读5页,还剩54页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、,第三章:计算机网体系结构OSI模型&TCP/IP协议组,胡建伟,协议与体系结构,硬件和软件相结合的分层结构,用于支持系统之间的数据交换以及分布式应用。在协议结构的每一层,通信系统都要实现一个或多个通用协议。协议所执行功能:封装,分段,重组,连接控制,顺序控制,流控制,差错控制,寻址以及复用。开放系统互连(OpenSystemInterconnection)最广泛的协议TCP/IP协议组。,ProtocolCharacteristics,Directorindirect(直接间接)Monolithicorstructured(整体化结构化)Symmetricorasymmetric(对称?)S

2、tandardornonstandard(标准?),DirectorIndirect,DirectSystemsshareapointtopointlinkorSystemsshareamulti-pointlinkDatacanpasswithoutinterveningactiveagentIndirectSwitchednetworksorInternetworksorinternetsDatatransferdependonotherentities,LINK,MonolithicorStructured,CommunicationsisacomplextaskToocomplexfo

3、rsingleunitStructureddesignbreaksdownproblemintosmallerunitsLayeredstructure,Whyalayerednetworkmodel,Itbreaksnetworkcommunicationintosmaller,simplerparts.Itstandardizesnetworkcomponentstoallowmultiple-vendordevelopmentandsupport.Itallowsdifferenttypesofnetworkhardwareandsoftwaretocommunicatewitheach

4、other.Itpreventschangesinonelayerfromaffectingtheotherlayers,sothattheycandevelopmorequickly.Itbreaksnetworkcommunicationintosmallerpartstomakelearningiteasiertounderstand.,SymmetricorAsymmetric,SymmetricCommunicationbetweenpeerentitiesAsymmetricClient/server,LINK,StandardorNonstandard,Nonstandardpr

5、otocolsbuiltforspecificcomputersandtasksKsourcesandLreceiversleadstoK*Lprotocolsand2*K*LimplementationsIfcommonprotocolused,K+Limplementationsneeded,UseofStandardProtocols,ProtocolFunctions,Encapsulation封装Segmentationandreassmebly分段和重组Connectioncontrol连接控制Ordereddelivery顺序发送Flowcontrol流控制Errorcontro

6、l差错控制Addressing寻址Multiplexing复用Transmissionservices传输服务,Encapsulation,AdditionofcontrolinformationtodataAddressinformationError-detectingcodeProtocolcontrol,LINK,Segmentation(Fragmentation),DatablocksareofboundedsizeApplicationlayermessagesmaybelargeNetworkpacketsmaybesmallerSplittinglargerblocksint

7、osmalleronesissegmentation(orfragmentationinTCP/IP)ATMblocks(cells)are53octetslongEthernetblocks(frames)areupto1526octetslongCheckpointsandrestart/recovery(断点检查,重启动/恢复),LINK,WhyFragment?,AdvantagesMoreefficienterrorcontrolMoreequitableaccesstonetworkfacilitiesShorterdelaysSmallerbuffersneededDisadva

8、ntagesOverheadsIncreasedinterruptsatreceiverMoreprocessingtime,ConnectionControl,ConnectionEstablishmentDatatransferConnectionterminationMaybeconnectioninterruptionandrecoverySequencenumbersusedforOrdereddeliveryFlowcontrolErrorcontrol,ConnectionOrientedDataTransfer,OrderedDelivery,PDUsmaytraversedi

9、fferentpathsthroughnetworkPDUsmayarriveoutoforderSequentiallynumberPDUstoallowforordering,LINK,PDUProtocolDataUnit,FlowControl,Donebyreceivingentity(接收实体执行)Limitamountorrateofdata(数据量,速率)Stopandwait(最简单的停-等式流控)Creditsystems(信用关系)Slidingwindow(没有收到确认前能发送的最大量)Neededatapplicationaswellasnetworklayers,E

10、rrorControl,GuardagainstlossordamageErrordetectionSenderinsertserrordetectingbitsReceiverchecksthesebitsIfOK(),acknowledgeIferror(),discardpacketRetransmissionIfnoacknowledgeingiventime,re-transmitPerformedatvariouslevels,Addressing,Addressinglevel(寻址级别)Addressingscope(寻址范围)Connectionidentifiers(连接标

11、识符)Addressingmode(寻址方式),Addressinglevel,RefertothelevelincommunicationsarchitectureatwhichanentityisnamedUniqueaddressforeachendsystem(computer)androuterNetworkleveladdressIPorinternetaddress(TCP/IP)NetworkserviceaccesspointorNSAP(OSI)ProcesswithinthesystemPortnumber(TCP/IP)ServiceaccesspointorSAP(O

12、SI),AddressConcepts,AddressingScope,Globalnonambiguity(全局无二义性)GlobaladdressidentifiesuniquesystemThereisonlyonesystemwithaddressXGlobalapplicability(全局可应用性)Itispossibleatanysystem(anyaddress)toidentifyanyothersystem(address)bytheglobaladdressoftheothersystemAddressXidentifiesthatsystemfromanywhereon

13、thenetworke.g.MACaddressonIEEE802networks,202.117.112.34,ConnectionIdentifiers,Connectionorienteddatatransfer(virtualcircuits)AllocateaconnectionnameduringthetransferphaseReducedoverheadasconnectionidentifiersareshorterthanglobaladdressesRoutingmaybefixedandidentifiedbyconnectionnameEntitiesmaywantm

14、ultipleconnections-multiplexingStateinformation,LINK,AddressingMode,UsuallyanaddressreferstoasinglesystemUnicastaddress(单播地址)SenttoonemachineorpersonMayaddressallentitieswithinadomainBroadcast(广播地址)SenttoallmachinesorusersMayaddressasubsetoftheentitiesinadomainMulticast(组播地址)Senttosomemachinesoragro

15、upofusers,Multiplexing,SupportingmultipleconnectionsononemachineMappingofmultipleconnectionsatoneleveltoasingleconnectionatanotherCarryinganumberofconnectionsononefiberopticcableAggregatingorbondingISDNlinestogainbandwidth,LINK,复用(一对一,上行,下行),高层连接,低层连接,上行复用:一条低层连接向数条高层连接提供服务,TransmissionServices,Prio

16、rity(优先级)e.g.controlmessagesQualityofservice(服务等级)MinimumacceptablethroughputMaximumacceptabledelaySecurity(安全性)Accessrestrictions,OSI-TheModel,AlayermodelEachlayerperformsasubsetoftherequiredcommunicationfunctionsEachlayerreliesonthenextlowerlayertoperformmoreprimitivefunctionsEachlayerprovidesserv

17、icestothenexthigherlayerChangesinonelayershouldnotrequirechangesinotherlayers,PrinciplesusedindefiningtheOSIlayers1,Donotcreatesomanylayersastomakethesystemengineeringtaskofdescribingandintegratingthelayersmoredifficultthannecessary.Createaboundaryatapointwherethedescriptionofservicescanbesmallandth

18、enumberofinteractionacrosstheboundaryareminimized.Collectsimilarfunctionsintothesamelayer.Createseparatelayerstohandlefunctionsthataremanifestlydifferentintheprocessperformedorthetechnologyinvolved.,PrinciplesusedindefiningtheOSIlayers2,Allowchangesoffunctionsorprotocolstobemadewithinalayerwithoutaf

19、fectingotherlayers.Selectboundariesatapointwhichpastexperiencehasdemonstratedtobesuccessful.Createalayerwhereitmaybeusefulatsomepointintimetohavethecorrespondinginterfacestandardized.Createalayerwherethereisaneedforadifferentlevelofabstractioninthehandlingofdata.Createforeachlayerboundarieswithitsup

20、perandlowerlayeronly.,物理层,数据链路层,网络层,传输层,会话层,表示层,应用层,OSIasFrameworkforStandardization,LayerSpecificStandards,ElementsofStandardization,Protocolspecification(协议规约)OperatesbetweenthesamelayerontwosystemsMayinvolvedifferentoperatingsystemProtocolspecificationmustbepreciseFormatofdataunitsSemanticsofallf

21、ieldsallowablesequencenumberofPDUsServicedefinition(服务定义)FunctionaldescriptionofwhatisprovidedAddressing(寻址)ReferencedbySAPs,ServicePrimitivesandParameters,Theservicesbetweenadjacentlayersareexpressedintermsofprimitivesandparameters.Aprimitivesspecifiesthefunctiontobeperformed.Aparameterisusedtopass

22、dataandcontrolinformation.Theactualformofaprimitivesisimplementation-dependant.,Serviceprimitivetypes,Timesequencediagramsforserviceprimitives,Serviceuser(LayerN),Serviceprovider(LayerN-1),Serviceuser(LayerN),x.request,x.indication,x.response,x.conform,data,para,(N-1)PDU,data,para,(N-1)PDU,CONFIRMED

23、SERVICEONLY,AnexchangeusingtheOSImodel,物理层,比特流,Physicallayer,Coordinatethefunctionsrequiredtotransmitabitstreamoveraphysicalmedium.PhysicalcharacteristicsofinterfacesandmediaRepresentationofbitsDatarateSynchronizationofbitsLineconfigurationPhysicaltopologyTransmissionmode,数据链路层,Framing,Physicaladdressing,Flowcontrol,Errorcontrol,Accesscontrol,Figure2-14,数据链路层举例,Figure2-6,网络层,LogicalAddressing,Routing,网络层举例,Figure2-7,传输层,Service-pointAddressing,Segmentationandreassembly,Connectioncontrol,Errorcontrol

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论