數(shù)據(jù)通信與網(wǎng)絡(luò)cha_第1頁(yè)
數(shù)據(jù)通信與網(wǎng)絡(luò)cha_第2頁(yè)
數(shù)據(jù)通信與網(wǎng)絡(luò)cha_第3頁(yè)
數(shù)據(jù)通信與網(wǎng)絡(luò)cha_第4頁(yè)
數(shù)據(jù)通信與網(wǎng)絡(luò)cha_第5頁(yè)
已閱讀5頁(yè),還剩49頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

Chapter12MultipleAccessCopyright?TheMcGraw-HillCompanies,Inc.Permissionrequiredforreproductionordisplay.1Figure12.1Datalinklayerdividedintotwofunctionality-orientedsublayers2Figure12.2Taxonomyofmultiple-accessprotocolsdiscussedinthischapter312-1RANDOMACCESSInrandomaccessorcontentionmethods,nostationissuperiortoanotherstationandnoneisassignedthecontroloveranother.Nostationpermits,ordoesnotpermit,anotherstationtosend.Ateachinstance,astationthathasdatatosendusesaproceduredefinedbytheprotocoltomakeadecisiononwhetherornottosend.ALOHA

CarrierSenseMultipleAccessCarrierSenseMultipleAccesswithCollisionDetectionCarrierSenseMultipleAccesswithCollisionAvoidanceTopicsdiscussedinthissection:4Figure12.3FramesinapureALOHAnetwork5Figure12.4ProcedureforpureALOHAprotocol6ThestationsonawirelessALOHAnetworkareamaximumof600kmapart.Ifweassumethatsignalspropagateat3×108m/s,wefind

Tp=(600×105)/(3×108)=2ms.

NowwecanfindthevalueofTBfordifferentvaluesof

K.a.ForK=1,therangeis{0,1}.Thestationneedsto|

generatearandomnumberwithavalueof0or1.This

meansthatTBiseither0ms(0×2)or2ms(1×2),

basedontheoutcomeoftherandomvariable.Example12.17b.ForK=2,therangeis{0,1,2,3}.ThismeansthatTB

canbe0,2,4,or6ms,basedontheoutcomeofthe

randomvariable.c.ForK=3,therangeis{0,1,2,3,4,5,6,7}.This

meansthatTBcanbe0,2,4,...,14ms,basedonthe

outcomeoftherandomvariable.d.WeneedtomentionthatifK>10,itisnormallysetto

10.Example12.1(continued)8Figure12.5VulnerabletimeforpureALOHAprotocol9ApureALOHAnetworktransmits200-bitframesonasharedchannelof200kbps.Whatistherequirementtomakethisframecollision-free?Example12.2SolutionAverageframetransmissiontimeTfris200bits/200kbpsor1ms.Thevulnerabletimeis2×1ms=2ms.Thismeansnostationshouldsendlaterthan1msbeforethisstationstartstransmissionandnostationshouldstartsendingduringtheone1-msperiodthatthisstationissending.10ThethroughputforpureALOHAis

S=G×e?2G.ThemaximumthroughputSmax=0.184whenG=(1/2).Note11ApureALOHAnetworktransmits200-bitframesonasharedchannelof200kbps.Whatisthethroughputifthesystem(allstationstogether)producesa.1000framespersecondb.500framespersecondc.250framespersecond.Example12.3SolutionTheframetransmissiontimeis200/200kbpsor1ms.a.Ifthesystemcreates1000framespersecond,thisis1

framepermillisecond.Theloadis1.Inthiscase

S=G×e?2GorS=0.135(13.5percent).Thismeans

thatthethroughputis1000×0.135=135frames.Only

135framesoutof1000willprobablysurvive.12Example12.3(continued)b.Ifthesystemcreates500framespersecond,thisis

(1/2)framepermillisecond.Theloadis(1/2).Inthis

caseS=G×e?2GorS=0.184(18.4percent).This

meansthatthethroughputis500×0.184=92andthat

only92framesoutof500willprobablysurvive.Note

thatthisisthemaximumthroughputcase,

percentagewise.c.Ifthesystemcreates250framespersecond,thisis(1/4)

framepermillisecond.Theloadis(1/4).Inthiscase

S=G×e?2GorS=0.152(15.2percent).Thismeans

thatthethroughputis250×0.152=38.Only38

framesoutof250willprobablysurvive.13Figure12.6FramesinaslottedALOHAnetwork14ThethroughputforslottedALOHAis

S=G×e?G.Themaximumthroughput

Smax=0.368whenG=1.Note15Figure12.7VulnerabletimeforslottedALOHAprotocol16AslottedALOHAnetworktransmits200-bitframesonasharedchannelof200kbps.Whatisthethroughputifthesystem(allstationstogether)producesa.1000framespersecondb.500framespersecondc.250framespersecond.Example12.4SolutionTheframetransmissiontimeis200/200kbpsor1ms.a.Ifthesystemcreates1000framespersecond,thisis1

framepermillisecond.Theloadis1.Inthiscase

S=G×e?GorS=0.368(36.8percent).Thismeans

thatthethroughputis1000×0.0368=368frames.

Only386framesoutof1000willprobablysurvive.17Example12.4(continued)b.Ifthesystemcreates500framespersecond,thisis

(1/2)framepermillisecond.Theloadis(1/2).Inthis

caseS=G×e?GorS=0.303(30.3percent).This

meansthatthethroughputis500×0.0303=151.

Only151framesoutof500willprobablysurvive.c.Ifthesystemcreates250framespersecond,thisis(1/4)

framepermillisecond.Theloadis(1/4).Inthiscase

S=G×e?GorS=0.195(19.5percent).Thismeans

thatthethroughputis250×0.195=49.Only49

framesoutof250willprobablysurvive.18Figure12.8Space/timemodelofthecollisioninCSMA19Figure12.9VulnerabletimeinCSMA20Figure12.10Behaviorofthreepersistencemethods21Figure12.11Flowdiagramforthreepersistencemethods22Figure12.12CollisionofthefirstbitinCSMA/CD23Figure12.13CollisionandabortioninCSMA/CD24AnetworkusingCSMA/CDhasabandwidthof10Mbps.Ifthemaximumpropagationtime(includingthedelaysinthedevicesandignoringthetimeneededtosendajammingsignal,asweseelater)is25.6μs,whatistheminimumsizeoftheframe?Example12.5SolutionTheframetransmissiontimeisTfr=2×Tp=51.2μs.Thismeans,intheworstcase,astationneedstotransmitforaperiodof51.2μstodetectthecollision.Theminimumsizeoftheframeis10Mbps×51.2μs=512bitsor64bytes.ThisisactuallytheminimumsizeoftheframeforStandardEthernet.25Figure12.14FlowdiagramfortheCSMA/CD26Figure12.15Energylevelduringtransmission,idleness,orcollision27Figure12.16TiminginCSMA/CA28InCSMA/CA,theIFScanalsobeusedtodefinethepriorityofastationoraframe.Note29InCSMA/CA,ifthestationfindsthechannelbusy,itdoesnotrestartthetimerofthecontentionwindow;itstopsthetimerandrestartsitwhenthechannelbecomesidle.Note30Figure12.17FlowdiagramforCSMA/CA3112-2CONTROLLEDACCESSIncontrolledaccess,thestationsconsultoneanothertofindwhichstationhastherighttosend.Astationcannotsendunlessithasbeenauthorizedbyotherstations.Wediscussthreepopularcontrolled-accessmethods.Reservation

Polling

TokenPassingTopicsdiscussedinthissection:32Figure12.18Reservationaccessmethod33Figure12.19Selectandpollfunctionsinpollingaccessmethod34Figure12.20Logicalringandphysicaltopologyintoken-passingaccessmethod3512-3CHANNELIZATIONChannelizationisamultiple-accessmethodinwhichtheavailablebandwidthofalinkissharedintime,frequency,orthroughcode,betweendifferentstations.Inthissection,wediscussthreechannelizationprotocols.Frequency-DivisionMultipleAccess(FDMA)

Time-DivisionMultipleAccess(TDMA)Code-DivisionMultipleAccess(CDMA)Topicsdiscussedinthissection:36WeseetheapplicationofallthesemethodsinChapter16when

wediscusscellularphonesystems.Note37Figure12.21Frequency-divisionmultipleaccess(FDMA)38InFDMA,theavailablebandwidth

ofthecommonchannelisdividedintobandsthatareseparatedbyguardbands.Note39Figure12.22Time-divisionmultipleaccess(TDMA)40InTDMA,thebandwidthisjustonechannelthatistimesharedbetweendifferentstations.Note41InCDMA,onechannelcarriesalltransmissionssimultaneously.Note42Figure12.23Simpleideaofcommunicationwithcode43Figure12.24Chipsequences44Figure12.25DatarepresentationinCDMA45Figure12.26SharingchannelinCDMA46Figure12.27DigitalsignalcreatedbyfourstationsinCDMA47Figure12.28DecodingofthecompositesignalforoneinCDMA48Figure12.29GeneralruleandexamplesofcreatingWalshtables49ThenumberofsequencesinaWalshtableneedstobeN=2m.Note50Findthechipsforanetworkwitha.Twostationsb.FourstationsExample12.6SolutionWecanusetherowsofW2andW4inFigure12.29:a.Foratwo-stationnetwork,wehave

[+1+1]and[+1?1].b

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論