Domov Technika Token ring

Token ring



Introduction

Thesmalldata(aspecialframeof3bytes)transmittedonthetokenringiscalledatoken,andwhoeverhasthetokenhasthetransmissionauthority.Ifastationontheringreceivesthetokenandhasinformationtosend,itchangesonebitinthetoken(thisoperationturnsthetokenintoaframestartsequence),addstheinformationitwantstotransmit,andthensendstheentireinformationGotothenextstationinthering.Whenthisinformationframeistransmittedonthering,thereisnotokeninthenetwork,whichmeansthatotherworkstationsmustwaittotransmitdata.Therefore,thereisnotransmissionconflictinthetokenringnetwork.

Theinformationframeistransmittedalongtheringuntilitreachesthedestination,andthedestinationcreatesacopyforfurtherprocessing.Theinformationframecontinuestotravelalongtheringuntilitreachesthesendingstationandcanbedeleted.Thesendingstationcancheckthereturnframetoseeiftheframeisreceivedandcopiedbythereceivingstation.

UnliketheEthernetCSMA/CDnetwork,thetokenpassingnetworkisdeterministic,whichmeansthatanyterminalstationcancalculatethemaximumwaitingtimebeforeitcantransmit.Thisfeature,combinedwithotherreliabilityfeatures,makesthetokenringnetworksuitableforapplicationsthatneedtobeabletopredictdelaysandsituationsthatrequirereliablenetworkoperation.

ThetokenringnetworkwasdevelopedbyIBMin1984.IthasbeenIBM'snetworkstandardforalongtimeandissupportedbyallIBMcomputers.TokenRingcanconnecttoothernetworkswithabridgeorrouter.Thetokenringnetworkisindeeda"ring"networkinpracticalapplications,butbecauseoftheuseofso-calledmulti-stationaccessunitequipment,star-shapedwiringcanberealized.Suchadevicehasacertaindegreeofintelligence,andwillloopupunusedportstomakethetokenunblocked.TheIEEE802.5standardismainlybasedonIBM'stokenringnetwork,buttherearesomesubtledifferences.

To ring

Princip prácetokenringu

(1)Nejprve inicializujte sdílení (ustavte logický kruh) a poté vygenerujte prázdný token pro tok při sdílení.

(2)Stanice, která si přeje odeslat snímek, musí počkat, dokud nezjistí příchod prázdného tokenu.

(3)Afterthestationthatwantstosendgetsanemptytoken,itfirstputsitinabusystate,andthestationsendsadataframetothebackofthetoken.

(4)Když je token zaneprázdněn, protože v síti není prázdný token, musí všechny stanice, které chtějí odeslat datové rámce, čekat.

(5)Eachstationringinterfacethatthedatapassesthroughcomparesthedestinationaddressoftheframewiththeaddressofthestation.Iftheaddressesmatch,theframeisputintothereceivingbufferandthensenttothestation.Atthesametime,theframewillcontinuetoflowonthering;iftheaddressdoesnotmatch,theringinterfacewillonlyforwardthedataframe.

(6)Thesentframecirculatesaroundtheringandthenreturnstothesendingstation.Thesendingstationremovestheframefromtheringandreleasesthetokenatthesametime(changeitsstatusto"idle")Sendtothenextstation.

TokenRingNetwork

TokenRingNetworkisakindoflocalareanetworkdevelopedonthebasisofringnetworktopology.Althoughitcanalsobeconnectedinastarstructureintermsofphysicalcomposition,itstillworksinaringmannerlogically.Thecommunicationtransmissionmediumcanbeunshieldedtwistedpair,shieldedtwistedpairandopticalfiber.

Transmissionmethod

Whentransmittingdata,thecomputerthathasthetokenwillsendthedatafirst.Thecomputerreceivingthedatawillchecktheframeheader,andprocessitifitissenttoitself.Regardlessofwhetheritisgiventoyourself,itwillbepassedonagain,andafteraroundoftransmission,checkwhetherthedataisthesametomakesurethatthedatahasnotransmissionerrors.Aftersendingthedata,youcanadjustthepriorityofthetokenasneeded(changeittobelowerthanyourownpriority),andthenpassthetokentothenextcomputer.Ifyoureceivethetokenbutthepriorityishigherthanyourown,youhavetopassthetokentothenextcomputer.

Protokol TokenPassing se navíc používá v rozhraní FDDI (FiberDistributed DataInterface).

Tento článek je ze sítě, nereprezentuje pozici této stanice. Uveďte prosím původ dotisku
HORNÍ