Home Tekniikka Token sormus

Token sormus



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.

Token ring

Merkkirenkaan toimintaperiaate

(1)Alusta ensin (muodosta looginen rengas) ja luo sitten tyhjä merkki.

(2)Astation, joka haluaa saada kehyksen, täytyy odottaa, kunnes valo havaitsee saapuvanfaneth-merkin.

(3)Afterthestationthatwantstosendgetsanemptytoken,itfirstputsitinabusystate,andthestationsendsadataframetothebackofthetoken.

(4)Kun tunniste on varattu, koska verkossa ei ole tyhjää merkkiä, kaikkien asemien, jotka haluavat lähettää datakehyksiä, on odotettava.

(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.

Lisäksi TokenPassing Protocolia käytetään myös FiberDistributedDataInterfacessa (FDDI).

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