Johdanto
Theprincipleofmessageexchangeisthatwhenthesender’sinformationarrivesatthecomputerusedformessageexchange,itisfirststoredintheexternalmemory,andthecentralprocessingunitanalyzestheheaderanddeterminestheforwardingroute.,Andselecttheoutputcircuitcorrespondingtothisrouteforqueuing,waitingforoutput.Oncethecircuitisidle,themessageisimmediatelytakenoutfromtheexternalmemoryandsentout,whichimprovestheutilizationofthiscircuit.Althoughthemessageexchangeimprovestheutilizationofthecircuit,themessagewillhavealargerdelayafterbeingstoredandforwarded.Pakettikytkentäisalsoastore-and-forwardswitchingmethod,butdifferentfrommessageswitching,itdividesmessagesintopacketsofacertainlength,andstoresandforwardstheminunitsofpackets.Thisnotonlyhastheadvantageofmessageexchangemodetoimprovecircuitutilization,butalsoovercomesthedisadvantageoflargetimedelay.
Luokittelu
CircuitSwitching
Whenuserswanttotransmitdata,theswitchingcenterestablishesatemporarydatacircuitbetweenusers.Afterthecircuitisconnected,bothuserscantransmitdata,anditwillbeoccupieduntilthetransmissioniscompletedandthecircuitisremoved.Thetimedelayintroducedbycircuitswitchingisverysmall,andtheswitchdoesnotprocessthedata,soitissuitablefortransmittingreal-timeandlarge-scaledata.
ominaisuudet
Circuitswitchingcanensurethatafterthephysicalchannelisestablished,thephysicalchannelbecomesadedicatedcircuit.Therefore,thereisnolongeradelayintransmittinginformation.However,becausethecomputertransmitsinformationintermittently,onlyashorttimeisactuallyusedtotransmitinformationduringtheentiretimeoccupiedbythephysicalpath,whichcausesawasteofcommunicationlines.Inaddition,thecallprocessofcircuitswitchingtoestablishapathistoolongforcomputercommunication.
Viestien vaihto
Generally,itisrealizedbycomputer.Thesenderuserfirstcompilesthedatatobesentintoamessage,andsendsittothelocalswitchingcentertogetherwithauxiliarydatasuchastherecipientaddress,wheretheyarestoredintactandprocessedappropriately.Whentheoutputportofthelocalswitchingcenterisfree,themessageisforwardedtothenextswitchingcenter,andfinallythemessageisdeliveredtotheuserbytheswitchingcenteratthereceivingend.
ominaisuudet
Intheexchange,themessageisstoredandforwardedfromthesourcetothedestination.Theadvantagesare:①hightransmissionreliability,itcaneffectivelyuseerrorcheckingandretransmissiontechnology;②highlineutilization,itcanconcentratemultiplelow-speedcircuitsintohigh-speedcircuittransmission,andallowsmultipleuserstoshareachannel③Itisflexibletouse,itcancarryoutpreprocessingworksuchascodeconversionandrateconversion,soitcantransmitdatabetweenterminalsofdifferenttypes,rates,andprocedures.
However,messageexchangeisnotsuitableforconversationalandreal-timeservices.Generally,messageexchangesaredividedintodifferentprioritylevelsfortransmissionaccordingtotheimportanceandurgencyofthetransmitteddata.
Pakettikytkentä
Splitthedataintoseveralshort-length(generallynomorethan128characters)packets.Inadditiontothedatainformation,eachpacketalsoincludescontrolinformation.TheyExchangeasawholewithintheswitch.Thetransmissionpathofeachpacketintheswitchingnetworkcanbedifferent.Pakettikytkentäalsousesstore-and-forwardtechnology,andperformserrorchecking,retransmission,andreturnresponseoperations.Finally,thereceivingendreassemblesallreceivedpacketsintodatainorder.
ominaisuudet
Comparedwiththemessageexchange,theadvantagesofpacketswitchingare:
①Inthemessageexchange,thetotaltransmissionDelayisthesumofthedelaysofreceivingandforwardingtheentiremessageoneachnode.Inpacketswitching,afterapacketissenttoanode,thenextpacketcanbesent,sothatthetotaldelayisreduced;
②Thebuffercapacityrequiredbyeachnodeisreduced,whichisconducivetoimprovingtheutilizationofthenode’sstorageresources;
③Whenthereisatransmissionerror,justretransmitoneormoreItisnotnecessarytoretransmittheentiremessage,whichcanimprovethetransmissionefficiency.Thedisadvantageofpacketswitchingisthateachpacketneedstobeaddedwithsomecontrolinformation,whichwillreducethetransmissionefficiency,especiallyforlongmessages.Generalpacketswitchingprovidestwobasicservices,virtualcircuitanddatagram.
Hybridikytkentä
Thesimultaneoususeofcircuitswitchingandpacketswitchinginacomputernetworkiscalledhybridswitching.Thehybridmethodistodividethetransmissionchannelintodifferentbandwidths,allocateapartofthebandwidthforcircuitswitching,andallocateanotherpartofthebandwidthforpacketswitching.Theso-calledbandwidthherereferstothefrequencybandwidthallowedtotransmitinformationonatransmissionchannel,thatis,thehighestfrequencythroughwhichasignalcanpassthroughthechannel.