![計算機網絡英文版課件:5-4 隨機接入MAC協議_第1頁](http://file4.renrendoc.com/view/35925fc5289e1f173b85f216091f1c60/35925fc5289e1f173b85f216091f1c601.gif)
![計算機網絡英文版課件:5-4 隨機接入MAC協議_第2頁](http://file4.renrendoc.com/view/35925fc5289e1f173b85f216091f1c60/35925fc5289e1f173b85f216091f1c602.gif)
![計算機網絡英文版課件:5-4 隨機接入MAC協議_第3頁](http://file4.renrendoc.com/view/35925fc5289e1f173b85f216091f1c60/35925fc5289e1f173b85f216091f1c603.gif)
![計算機網絡英文版課件:5-4 隨機接入MAC協議_第4頁](http://file4.renrendoc.com/view/35925fc5289e1f173b85f216091f1c60/35925fc5289e1f173b85f216091f1c604.gif)
![計算機網絡英文版課件:5-4 隨機接入MAC協議_第5頁](http://file4.renrendoc.com/view/35925fc5289e1f173b85f216091f1c60/35925fc5289e1f173b85f216091f1c605.gif)
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
隨機接入MAC協議MACProtocols:ataxonomyThreebroadclasses:ChannelPartitioningdividechannelintosmaller“pieces”(timeslots,frequency,code)allocatepiecetonodeforexclusiveuseRandomAccesschannelnotdivided,allowcollisions“recover”fromcollisions“Takingturns”nodestaketurns,butnodeswithmoretosendcantakelongerturnsRandomAccessProtocolsWhennodehaspackettosendtransmitatfullchanneldatarateR.noaprioricoordinationamongnodestwoormoretransmittingnodes?“collision”,randomaccessMACprotocolspecifies:howtodetectcollisionshowtorecoverfromcollisions(e.g.,viadelayedretransmissions)ExamplesofrandomaccessMACprotocols:slottedALOHAALOHACSMA,CSMA/CD,CSMA/CASlottedALOHAAssumptions:allframessamesizetimedividedintoequalsizeslots(timetotransmit1frame)nodesstarttotransmitonlyslotbeginningnodesaresynchronizedif2ormorenodestransmitinslot,allnodesdetectcollisionOperation:whennodeobtainsfreshframe,transmitsinnextslotifnocollision:nodecansendnewframeinnextslotifcollision:noderetransmitsframeineachsubsequentslotwithprob.puntilsuccessSlottedALOHAProssingleactivenodecancontinuouslytransmitatfullrateofchannelhighlydecentralized:onlyslotsinnodesneedtobeinsyncsimpleConscollisions,wastingslotsidleslotsnodesmaybeabletodetectcollisioninlessthantimetotransmitpacketclocksynchronizationSlottedAlohaefficiencysuppose:Nnodeswithmanyframestosend,eachtransmitsinslotwithprobabilitypprobthatgivennodehassuccessinaslot=p(1-p)N-1probthatanynodehasasuccess=Np(1-p)N-1maxefficiency:findp*thatmaximizes
Np(1-p)N-1formanynodes,takelimitofNp*(1-p*)N-1asNgoestoinfinity,gives:Maxefficiency=1/e=.37Efficiency:long-run
fractionofsuccessfulslots
(manynodes,allwithmanyframestosend)Atbest:
channelusedforusefultransmissions37%oftime!!Pure(unslotted)ALOHAunslottedAloha:simpler,nosynchronizationwhenframefirstarrivestransmitimmediatelycollisionprobabilityincreases:framesentatt0collideswithotherframessentin[t0-1,t0+1]PureAlohaefficiencyP(successbygivennode)=P(nodetransmits).P(noothernodetransmitsin[p0-1,p0].P(noothernodetransmitsin[p0-1,p0]=p.(1-p)N-1.(1-p)N-1=p.(1-p)2(N-1)
…choosingoptimumpandthenlettingn->infty...
=1/(2e)=.18
evenworsethanslottedAloha!PureALOHAThroughputversusofferedtrafficforALOHAsystems.CSMA(CarrierSenseMultipleAccess)CSMA:listenbeforetransmit:Ifchannelsensedidle:transmitentireframeIfchannelsensedbusy,defertransmissionhumananalogy:don’tinterruptothers!CSMAcollisionscollisionscanstilloccur:propagationdelaymeanstwonodesmaynotheareachother’stransmissioncollision:entirepackettransmissiontimewastednote:roleofdistance&propagationdelayindeterminingcollisionprobabilityNonpersistentCSMAIfmediumisidle,transmit;otherwise,goto2Ifmediumisbusy,waitamountoftimedrawnfromprobabilitydistribution(retransmissiondelay)andrepeat1
RandomdelaysreducesprobabilityofcollisionsConsidertwostationsbecomereadytotransmitatsametimeWhileanothertransmissionisinprogressIfbothstationsdelaysametimebeforeretrying,bothwillattempttotransmitatsametimeCapacityiswastedbecausemediumwillremainidlefollowingendoftransmissionEvenifoneormorestationswaitingNonpersistentstationsdeferential1-persistentCSMAToavoididlechanneltime,1-persistentprotocolusedStationwishingtotransmitlistensandobeysfollowing:
Ifmediumidle,transmit;otherwise,gotostep2Ifmediumbusy,listenuntilidle;thentransmitimmediately1-persistentstationsselfishIftwoormorestationswaiting,collisionguaranteedGetssortedoutaftercollisionP-persistentCSMACompromisethatattemptstoreducecollisionsLikenonpersistentAndreduceidletimeLike1-persistentRules:Ifmediumidle,transmitwithprobabilityp,anddelayonetimeunitwithprobability(1–p)TimeunittypicallymaximumpropagationdelayIfmediumbusy,listenuntilidleandrepeatstep1Iftransmissionisdelayedonetimeunit,repeatstep1Whatisaneffectivevalueofp?PersistentandNonpersistentCSMAComparisonofthechannelutilizationversusloadforvariousrandomaccessprotocols.CSMA/CD(CollisionDetection)CSMA/CD:carriersensing,deferralasinCSMAcollisionsdetectedwithinshorttimecollidingtransmissionsaborted,reducingchannelwastagecollisiondetection:easyinwiredLANs:measuresignalstrengths,comparetransmitted,receivedsignalsdifficultinwirelessLANs:receivedsignalstrengthoverwhelmedbylocaltransmissionstrengthhumananalogy:thepoliteconversationalistCSMA/CDcollisiondetectionCSMA/CD(CollisionDetection)WithCSMA,collisionoccupiesmediumfordurationoftr
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 電子廢棄物處理市場調查研究及行業(yè)投資潛力預測報告
- 2025年中國衛(wèi)生資源配置行業(yè)發(fā)展監(jiān)測及投資戰(zhàn)略研究報告
- 2025年中國交通機械零部件行業(yè)市場發(fā)展前景及發(fā)展趨勢與投資戰(zhàn)略研究報告
- 2024-2025年中國三元乙丙防水涂料行業(yè)發(fā)展?jié)摿Ψ治黾巴顿Y方向研究報告
- 勞務合同范例 木工
- 一具體保理合同范例
- 冷庫海鮮出售合同范本
- 買賣名畫合同范本
- 信息保密協議合同范本
- 農村冷庫銷售合同范例
- 2024年臨床醫(yī)師定期考核試題中醫(yī)知識題庫及答案(共330題) (二)
- 2025-2030年中國反滲透膜行業(yè)市場發(fā)展趨勢展望與投資策略分析報告
- 湖北省十堰市城區(qū)2024-2025學年九年級上學期期末質量檢測道德與法治試題 (含答案)
- 2025年山東省濟寧高新區(qū)管委會“優(yōu)才”招聘20人歷年高頻重點提升(共500題)附帶答案詳解
- 2025年中國社會科學評價研究院第一批專業(yè)技術人員招聘2人歷年高頻重點提升(共500題)附帶答案詳解
- (2024年高考真題)2024年普通高等學校招生全國統(tǒng)一考試數學試卷-新課標Ⅰ卷(含部分解析)
- HCIA-AI H13-311 v3.5認證考試題庫(含答案)
- 市場調查 第三版 課件全套 夏學文 單元1-8 市場調查認知 - 市場調查報告的撰寫與評估
- 初中化學跨學科實踐活動:海洋資源的綜合利用與制鹽課件 2024-2025學年九年級化學科粵版(2024)下冊
- 內蒙自治區(qū)烏蘭察布市集寧二中2025屆高考語文全真模擬密押卷含解析
- 初中英語1600詞背誦版+檢測默寫版
評論
0/150
提交評論