OSI参考模型-英文

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

OpenSystemsInterconnectionReferenceModel(1984),orsimplytheOSImodel.通信网络ISO-OSI七层模型•Analogy-2Philosophersexample–OneEnglishspeakingphilosopherwishestosendamessagetoacolleagueinFrance(Peersinlayer3)–Sincetheyhavenocommonlanguage,theybothhireatranslator.Thetranslators(Peersinlayer2)decidewhichlanguagetheywilltranslateto.–Thetranslatorssendtheirmessagetotheirsecretary(PeersinLayer1)whomaydecidetosendthemessagebyfax,oremailortelephone(Layer1protocol)–Notethatlogicallyeachlayercommunicateswithitspeer.Inpractice,eachlayercommunicateswiththelayersbelowthem•Analogy-Thingstoremember–Messageispassedfromlayer3downthroughlayers2and1beforetransmission–Attheoppositeside,themessagetravelsupthroughlayer1and2beforearrivingatlayer3–Layer3doesnotcarehowthemessageistransformedorhowitistransmittedbythelowerlayers–Layer2isonlyconcernedwithtransformingthemessage(i.e.translation)anddoesnotconcernitselfwithhowthemessageistransmitted–Layer1isonlyconcernedwithtransmittingthemessageanddoesnotconcernitselfwiththecontentsofthemessageLayering•Divideataskintopiecesandthensolveeachpieceindependently(ornearlyso).•Establishingawelldefinedinterfacebetweenlayersmakesportingeasier.•MajorAdvantages:CodeReuseExtensibilityProtocols•UsedbyNetworkmodellayers•SetsofrulestodefinehowtocommunicateateachlayerandhowtointerfacewithadjacentlayersreceiversenderLayerNLayerN-1LayerN+1LayerNLayerN-1LayerN+1KeyElementsofaProtocol•Syntax–Dataformats–Signallevels•Semantics–Controlinformation–Errorhandling•Timing–Speedmatching–SequencingProtocolArchitecturesandNetworksLayeringExample:FederalExpress•Letterinenvelope,addressonoutside•FedXguyaddsaddressinginformation,barcode.•Localofficedrivestoairportanddeliverstohub.•Sentviaairplanetonearestcity.•Deliveredtorightoffice•DeliveredtorightpersonLetterFedXLayersLetterAddressedEnvelopeAddressedEnvelopeLayeredSoftwareSystems•Networksoftware•Operatingsystems•WindowingsystemsUnixisaLayeredSystemApplicationsLibrariesSystemCallsKernel•TheOSIReferenceModelApplicationPresentationSessionTransportNetworkDatalinkPhysicalApplicationPresentationSessionTransportNetworkDatalinkPhysicalMediumOpenEndsystemOpenEndsystem•PhysicalLayeristhelowestlayerandisconcernedwithwiringandelectricalstandards.•Itprovidesanunreliablebittransmission/receptionservicetothelayeraboveit.•TheOSIReferenceModel–Data-linkLayerisconcernedwithusingthephysicallayertotransmitinformationfromonecomputertoanothercomputerconnectedtothesamenetwork.•Datatobesentisbrokenintoframesandtransmitted.•Thislayerneedstobeabletorecognizeaframeinarawbitstream•Itneedstobeabletoidentifyerrorsinframes•Thislayermustregulatethespeedofdatatransmission.Afasttransmittercouldoverloadaslowerreceiver•Ifinabroadcastnetwork,thenthislayercontrolsaccesstothesharedchannel(MediumAccessControl)•TheOSIReferenceModel–NetworkLayerprovidesaframedeliveryserviceacrossanetworkoracrossdifferentnetworks.•Thekeyproblemthatthislayersolvesishowtoroutepacketsfromasourcecomputertoadestinationcomputer•Thislayeraddsheaderinformationtoeachpackettouniquelyaddresshostsinthenetwork•RoutingInformationiskeptintablesorbuiltdynamically•Inbroadcastnetworks,routingissimplesinceeveryhostreceiveseverypacket,thusthenetworklayerinthiscaseisverythinornon-existent.•TheOSIReferenceModel–TransportLayeracceptsdatafromtheSessionLayerandbreaksitupintosmallerunits(calledfragmentation),ifnecessary,beforepassingittotheNetworkLayer.•Datacanbesentusinganerrorfreelogicalconnectionbetweentwocomputersthatdeliverspacketsthesameorderthattheyweresent•Datacanalsobesentusingadatagramservicewherepacketsaredeliveredwithoutassuredorderofdelivery•Thislayercansupportmanytransportlayerconnectionsenteringandleavingit.Thetransportlayerheaderineachpacketwillcontainthisinformation.•TheOSIReferenceModel–SessionLayer•Thislayerallowsdifferentmachinestoestablishsessionsbetweenthem.E.g.Transferringafilefromonemachinetoanother.Asessioncanberesumedafteracomputerhascrashed–PresentationLayer•Thislayerprovidesdatacodingforintegers,floatsetc,datacompressionandsecuretransmissionusingcryptography–ApplicationLayer.•EndapplicationprogramsORservicesusedbyendapplicationprograms.•Typicalapplicationsincludedinthislayerwouldbee-mail,remotelogin,directoryservicesPhysicalLayerDataLinkLayerNetworkLayerTransportLayerSessionLayerPresentationLayerApplicationLayerPhysicalLayerDataLinkLayerNetworkLayerTransportLayerSessionLayerPresentationLayerApplicationLayerDataDataDataDataDataDataDataBitsAHPHSHTHNHNHApplicationLayerProtocolActualPathtakenbydataMessageTransmissionExampleMessageTransmissionUsingLayersApplicationsApplicationssenderreceiverAreceivinglayerwrapsincomingmessagewithanenvelope•AddslayerrelatedaddressinginformationAreceivinglayerremovesthelayerrelatedenvelopeandforwardsthemessageupSimplifiedNetworkModelProcessTransportDataLinkInterfaceProtocolsPeer-to-peerProtocolsNetworkProcessTransportDataLinkNetwork802LayersSource:IEEEStd802-2001,IEEEStandardsforLocalandMetropolitanAreaNetworks:OverviewandArchitecture,IEEEStd802-2001ComparisonofNetworkModelsComparingtheModelsSource:Computer

1 / 28
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功