Home Tekniikka Avoin järjestelmän välinen yhteys

Avoin järjestelmän välinen yhteys



SynonyymiOSI(OpenSystemInterconnection) viittaa yleensä avoimeen järjestelmän yhteenliittämiseen.

OSImalli

Tärkein asia OSI-mallin oppimisessa, mitä se todellisuudessa tarkoittaa.

Ifyouareanoperatingsystemonthenetwork.Thenetworkcardsworkingonthe1stand2ndlayerswillnotifyyouwhendataarrives.Thedriverhandlestheexportoflayer2frames,throughwhichyoucangetalitandflashinglayer3datapacket(hopefully).Asanoperatingsystem,youwillcallsomecommonlyusedapplicationstoprocesslayer3data.Ifthedataissentfrombelow,youknowthatitisadatapacketsenttoyou,oritisabroadcastdatapacket(unlessyouarealsoarouter,butdon’tworryaboutthisproblemforthetimebeing).Ifyoudecidetokeepthispacket,youwillopenitandtakeoutthelayer4packet.IfitisaTCPprotocol,theTCPsubsystemwillbecalledandopenthepacket,andthensendthelayer7datatotheapplicationwaitingonthetargetport.Thisprocessisover.

Whenitcomestorespondingtoothercomputersonthenetwork,everythinghappensinthereverseorder.The7-layerapplicationwillsendthedatatotheexecutoroftheTCPprotocol.Then,theTCPprotocoladdsadditionalfileheaderstothesedata.Inthisdirection,thevolumeofthedataislargereachstepforward.TheTCPprotocoladdsalegalTCPfieldtotheIPprotocol.Then,theIPprotocoldeliversthisdatapackettotheEthernet.TheEthernetthensendsthisdataasanEthernetframetothedriver.Then,thisdatapassesthroughthisnetwork.TherouteronthislinewillpartiallydecomposethepackettoobtaintheLayer3fileheaderinordertodeterminewherethepacketshouldbesent.IfthedestinationofthedatapacketisthelocalEthernetsubnet,theoperatingsystemwillreplacetheroutertoresolvetheaddressforthecomputerandsendthedatadirectlytothehost.

Specificintroduction

Itmeansopensysteminterconnection.TheInternationalOrganizationforStandardization(InternationalOrganizationforStandardization)developedtheOSI(OpenSystemInterconnection)model.Thismodeldividestheworkofnetworkcommunicationinto7layers,namelythephysicallayer,datalinklayer,networklayer,transportlayer,sessionlayer,presentationlayerandapplicationlayer.Layers1to4areconsideredlowerlayers,andtheselayersarecloselyrelatedtodatamovement.Layers5to7arehigh-levelsandcontainapplication-leveldata.Eachlayerisresponsibleforaspecificjob,andthentransferthedatatothenextlayer.

Fyysisen kerroksen ensimmäinen kerros(eli OSI-mallin ensimmäinen kerros)

Itisoftenoverlookedintheclassroom.Itseemsverysimple.However,certainaspectsofthislayersometimesrequirespecialattention.Thephysicallayerisactuallywiring,opticalfibers,networkcardsandotherthingsusedtoconnecttwonetworkcommunicationdevicestogether.Evenacarrierpigeoncanbeconsideredalayer1device.Networktroubleshootingofteninvolveslayer1issues.Wecan'tforgetthelegendarystoryofconnectingtheentirefloorwithafive-categoryline.Becauseofficechairsareoftenpressedoverthecables,thenetworkconnectionappearsintermittent.Unfortunately,suchfailuresareverycommon,andittakesalongtimetotroubleshootsuchfailures.

Layer2ontheDataLinkLayer(DataLinkLayer)

RunningprotocolssuchasEthernet.Remember,wewanttomakethisproblemsimpler.Themostimportantthinginlayer2isthatyoushouldunderstandwhatabridgeis.Theswitchcanberegardedasanetworkbridge,andpeoplecallitthatwaynow.Thebridgesallworkatlayer2,focusingonlyontheMACaddressontheEthernet.IfyouaretalkingaboutMACaddresses,switchesornetworkcardsanddrivers,youareinthelayer2category.Hubsbelongtothefirstlayerofthedomain,becausetheyarejustelectronicdevices,withouttheknowledgeofthesecondlayer.Therelatedissuesoflevel2havetheirownpartinthiswebinar,sowewillnotdiscussthedetailsofthisissueindetailfornow.Nowonlyneedtoknowthatthesecondlayerconvertsthedataframeintobinarybitsforthefirstlayertoprocess.

Kolmas kerros onNetworkLayer

Theremaybemanydatalinksbetweentwocomputerscommunicatinginacomputernetwork,ortheymayalsopassManycommunicationsubnets.Thetaskofthenetworklayeristoselectappropriateroutingandswitchingnodesbetweennetworkstoensuretimelydatatransmission.Thenetworklayercomposestheframesprovidedbythedatalinklayerintodatapackets,andthepacketisencapsulatedwithanetworklayerheader,whichcontainslogicaladdressinformation-thenetworkaddressesofthesourcesiteandthedestinationsiteaddress.

IfyouaretalkingaboutanIPaddress,thenyouaredealingwithalayer3problem,whichisa"packet"problem,notalayer2"frame".IPispartofthelayer3problem,inadditiontosomeroutingprotocolsandaddressresolutionprotocol(ARP).Everythingaboutroutingishandledatlayer3.AddressresolutionandroutingareimportantpurposesofLayer3.

ThefourthlayeristheTransportLayerforprocessinginformation.Thedataunitsoflayer4arealsocalledpackets.However,whenyoutalkaboutspecificprotocolssuchasTCP,therearespecialnames.ThedataunitsofTCParecalledsegmentsandthedataunitsofUDPprotocolarecalled"datagrams."Thislayerisresponsibleforobtainingallinformation.Therefore,itmustkeeptrackofdataunitfragments,out-of-sequencedatapacketsandotherhazardsthatmayoccurduringtransmission.Anotherwaytounderstandlayer4isthatlayer4providesend-to-endcommunicationmanagement.SomeprotocolslikeTCPareverygoodatensuringthereliabilityofcommunication.Someprotocolsdonotcarewhethersomedatapacketsarelost.UDPprotocolisaprimeexample.

Viides kerros onSessionLayer.

Thislayercanalsobecalledthemeetinglayerorthedialoguelayer.Inthehighlevelofthesessionlayerandabove,thedatatransmissionTheunitsarenolongernamedseparately,andarecollectivelyreferredtoasmessages.Thesessionlayerdoesnotparticipateinspecifictransmissions.Itprovidesmechanismsforestablishingandmaintainingcommunicationbetweenapplications,includingaccessverificationandsessionmanagement.Iftheserververifiestheuserloginiscompletedbythesessionlayer.

Kuudes kerros onEsityskerros.

Thislayermainlysolvestheproblemofgrammaticalrepresentationofuserinformation.ItconvertsthedatatobeexchangedfromanabstractsyntaxsuitableforacertainusertoatransfersyntaxsuitableforinternaluseintheOSIsystem.Thatistoprovideformattedrepresentationandconversiondataservices.Thepresentationlayerisresponsiblefordatacompressionanddecompression,encryptionanddecryption.

Theseventhlayeris"everything".Layer7isalsocalledthe"ApplicationLayer"(ApplicationLayer),whichisdedicatedtoapplications.Theapplicationlayerdeterminesthenatureofcommunicationbetweenprocessestomeetuserneedsandprovidesinterfaceservicesbetweenthenetworkanduserapplicationsoftware.Ifyourprogramrequiresdatainaspecificformat,youcaninventsomeformatyouwanttobeabletosendthedatatothedestination,andcreatealayer7protocol.SMTP,DNSandFTPareall7-layerprotocols.

This article is from the network, does not represent the position of this station. Please indicate the origin of reprint
TOP