版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、計算機與通信網(wǎng)絡(luò)實驗報告04121 戴妍實驗一隱終端和暴露終端問題分析一、實驗設(shè)定:基本參數(shù)配備:仿真時長100s;隨機數(shù)種子1;仿真區(qū)域x;節(jié)點數(shù)4。節(jié)點位置配備:本實驗用1、2、3、4共兩對節(jié)點驗證隱終端問題。節(jié)點1、2距離為200m,節(jié)點3、4距離為200m,節(jié)點2、3距離為370m。業(yè)務(wù)流配備:業(yè)務(wù)類型為恒定比特流CBR。1給2發(fā),發(fā)包間隔為0.01s,發(fā)包大小為512bytes;3給4發(fā),發(fā)包間隔為0.01s,發(fā)包大小為512bytes。二、實驗成果:Node: 1, Layer: AppCbrClient, (0) Server address: 2Node: 1, Layer:
2、AppCbrClient, (0) First packet sent at s: 0.Node: 1, Layer: AppCbrClient, (0) Last packet sent at s: 99.Node: 1, Layer: AppCbrClient, (0) Session status: Not closedNode: 1, Layer: AppCbrClient, (0) Total number of bytes sent: 510Node: 1, Layer: AppCbrClient, (0) Total number of packets sent: 10000No
3、de: 1, Layer: AppCbrClient, (0) Throughput (bits per second): 409600Node: 2, Layer: AppCbrServer, (0) Client address: 1Node: 2, Layer: AppCbrServer, (0) First packet received at s: 0.Node: 2, Layer: AppCbrServer, (0) Last packet received at s: 99.Node: 2, Layer: AppCbrServer, (0) Average end-to-end
4、delay s: 0.Node: 2, Layer: AppCbrServer, (0) Session status: Not closedNode: 2, Layer: AppCbrServer, (0) Total number of bytes received: 4975616Node: 2, Layer: AppCbrServer, (0) Total number of packets received: 9718Node: 2, Layer: AppCbrServer, (0) Throughput (bits per second): 398078Node: 3, Layer
5、: AppCbrClient, (0) Server address: 4Node: 3, Layer: AppCbrClient, (0) First packet sent at s: 0.Node: 3, Layer: AppCbrClient, (0) Last packet sent at s: 99.Node: 3, Layer: AppCbrClient, (0) Session status: Not closedNode: 3, Layer: AppCbrClient, (0) Total number of bytes sent: 510Node: 3, Layer: Ap
6、pCbrClient, (0) Total number of packets sent: 10000Node: 3, Layer: AppCbrClient, (0) Throughput (bits per second): 409600Node: 4, Layer: AppCbrServer, (0) Client address: 3Node: 4, Layer: AppCbrServer, (0) First packet received at s: 0.Node: 4, Layer: AppCbrServer, (0) Last packet received at s: 99.
7、Node: 4, Layer: AppCbrServer, (0) Average end-to-end delay s: 0.Node: 4, Layer: AppCbrServer, (0) Session status: Not closedNode: 4, Layer: AppCbrServer, (0) Total number of bytes received: 510Node: 4, Layer: AppCbrServer, (0) Total number of packets received: 10000Node: 4, Layer: AppCbrServer, (0)
8、Throughput (bits per second): 409612 通過仿真成果可以看出,節(jié)點2無法收到數(shù)據(jù)。由于節(jié)點3是節(jié)點1旳一種隱終端,節(jié)點1無法通過物理載波檢測偵聽到節(jié)點3旳發(fā)送,且節(jié)點3在節(jié)點2旳傳播范疇外,節(jié)點3無法通過虛擬載波檢測延遲發(fā)送,因此在節(jié)點1傳播數(shù)據(jù)旳過程中,節(jié)點3完畢退避發(fā)送時將引起沖突。三、課后思考1、RTS/CTS能完全解決隱終端問題嗎?如果不能,請闡明理由。答:能。對于隱發(fā)送終端問題,2和3使用控制報文進行握手(RTS-CTS),聽到回應(yīng)握手信號旳3懂得自己是隱終端,便能延遲發(fā)送;對于隱接受終端問題,在多信道旳狀況下,3給4回送CTS告訴4它是隱終端,目前
9、不能發(fā)送報文,以避免4收不到3旳應(yīng)答而超時重發(fā)揮霍帶寬。2、如何設(shè)計仿真場景來驗證暴露終端問題?答:只需更改業(yè)務(wù)流配備:業(yè)務(wù)類型為恒定比特流CBR。2給1發(fā),發(fā)包間隔為0.01s,發(fā)包大小為512bytes;3給4發(fā),發(fā)包間隔為0.01s,發(fā)包大小為512bytes。觀測在2給1發(fā)送數(shù)據(jù)旳同步,3給4發(fā)送數(shù)據(jù)會不會被影響。3、如何設(shè)計合同使暴露終端場景下旳流實現(xiàn)并發(fā)?答:至少要使用兩個信道資源,在數(shù)據(jù)信道上進行RTS-CTS握手,在數(shù)據(jù)信道上發(fā)送數(shù)據(jù)報文。在2給1發(fā)送數(shù)據(jù)報文時,3也想向4發(fā)送數(shù)據(jù)報文,通過控制信道向4發(fā)送RTS,4也從控制信道向3回送CTS,這樣3就不會由于2旳數(shù)據(jù)信號和4旳
10、回應(yīng)信號產(chǎn)生碰撞而聽不到4旳回應(yīng)了。這樣就可以實現(xiàn)并發(fā)了。實驗二 無線局域網(wǎng)DCF合同飽和吞吐量驗證實驗設(shè)定基本參數(shù)配備:仿真時長100S隨機數(shù)種子1仿真區(qū)域150 x150節(jié)點數(shù)100。業(yè)務(wù)流配備:業(yè)務(wù)類型為CBR,發(fā)包大小為512bytes,發(fā)包間隔為0.01S,分別測出5、 10、 15 、 20 、 25 、 30 、 35 、 40 、 45 、 50 條流旳吞吐量。二、實驗成果:5條:Node: 1, Layer: AppCbrClient, (4) Server address: 55Node: 1, Layer: AppCbrClient, (4) First packet s
11、ent at s: 0.Node: 1, Layer: AppCbrClient, (4) Last packet sent at s: 99.Node: 1, Layer: AppCbrClient, (4) Session status: Not closedNode: 1, Layer: AppCbrClient, (4) Total number of bytes sent: 510Node: 1, Layer: AppCbrClient, (4) Total number of packets sent: 10000Node: 1, Layer: AppCbrClient, (4)
12、Throughput (bits per second): 409600Node: 1, Layer: AppCbrClient, (3) Server address: 54Node: 1, Layer: AppCbrClient, (3) First packet sent at s: 0.Node: 1, Layer: AppCbrClient, (3) Last packet sent at s: 99.Node: 1, Layer: AppCbrClient, (3) Session status: Not closedNode: 1, Layer: AppCbrClient, (3
13、) Total number of bytes sent: 510Node: 1, Layer: AppCbrClient, (3) Total number of packets sent: 10000Node: 1, Layer: AppCbrClient, (3) Throughput (bits per second): 409600Node: 1, Layer: AppCbrClient, (2) Server address: 53Node: 1, Layer: AppCbrClient, (2) First packet sent at s: 0.Node: 1, Layer:
14、AppCbrClient, (2) Last packet sent at s: 99.Node: 1, Layer: AppCbrClient, (2) Session status: Not closedNode: 1, Layer: AppCbrClient, (2) Total number of bytes sent: 510Node: 1, Layer: AppCbrClient, (2) Total number of packets sent: 10000Node: 1, Layer: AppCbrClient, (2) Throughput (bits per second)
15、: 409600Node: 1, Layer: AppCbrClient, (1) Server address: 52Node: 1, Layer: AppCbrClient, (1) First packet sent at s: 0.Node: 1, Layer: AppCbrClient, (1) Last packet sent at s: 99.Node: 1, Layer: AppCbrClient, (1) Session status: Not closedNode: 1, Layer: AppCbrClient, (1) Total number of bytes sent
16、: 510Node: 1, Layer: AppCbrClient, (1) Total number of packets sent: 10000Node: 1, Layer: AppCbrClient, (1) Throughput (bits per second): 409600Node: 1, Layer: AppCbrClient, (0) Server address: 51Node: 1, Layer: AppCbrClient, (0) First packet sent at s: 0.Node: 1, Layer: AppCbrClient, (0) Last packe
17、t sent at s: 99.Node: 1, Layer: AppCbrClient, (0) Session status: Not closedNode: 1, Layer: AppCbrClient, (0) Total number of bytes sent: 510Node: 1, Layer: AppCbrClient, (0) Total number of packets sent: 10000Node: 1, Layer: AppCbrClient, (0) Throughput (bits per second): 409600Node: 51, Layer: App
18、CbrServer, (0) Client address: 1Node: 51, Layer: AppCbrServer, (0) First packet received at s: 0.Node: 51, Layer: AppCbrServer, (0) Last packet received at s: 99.Node: 51, Layer: AppCbrServer, (0) Average end-to-end delay s: 0.Node: 51, Layer: AppCbrServer, (0) Session status: Not closedNode: 51, La
19、yer: AppCbrServer, (0) Total number of bytes received: 5102592Node: 51, Layer: AppCbrServer, (0) Total number of packets received: 9966Node: 51, Layer: AppCbrServer, (0) Throughput (bits per second): 408219Node: 52, Layer: AppCbrServer, (1) Client address: 1Node: 52, Layer: AppCbrServer, (1) First p
20、acket received at s: 0.Node: 52, Layer: AppCbrServer, (1) Last packet received at s: 99.Node: 52, Layer: AppCbrServer, (1) Average end-to-end delay s: 0.Node: 52, Layer: AppCbrServer, (1) Session status: Not closedNode: 52, Layer: AppCbrServer, (1) Total number of bytes received: 5102592Node: 52, La
21、yer: AppCbrServer, (1) Total number of packets received: 9966Node: 52, Layer: AppCbrServer, (1) Throughput (bits per second): 408233Node: 53, Layer: AppCbrServer, (2) Client address: 1Node: 53, Layer: AppCbrServer, (2) First packet received at s: 0.Node: 53, Layer: AppCbrServer, (2) Last packet rece
22、ived at s: 99.99125Node: 53, Layer: AppCbrServer, (2) Average end-to-end delay s: 0.Node: 53, Layer: AppCbrServer, (2) Session status: Not closedNode: 53, Layer: AppCbrServer, (2) Total number of bytes received: 3926016Node: 53, Layer: AppCbrServer, (2) Total number of packets received: 7668Node: 53
23、, Layer: AppCbrServer, (2) Throughput (bits per second): 314112Node: 54, Layer: AppCbrServer, (3) Client address: 1Node: 54, Layer: AppCbrServer, (3) First packet received at s: 0.Node: 54, Layer: AppCbrServer, (3) Last packet received at s: 0.Node: 54, Layer: AppCbrServer, (3) Average end-to-end de
24、lay s: 0.Node: 54, Layer: AppCbrServer, (3) Session status: Not closedNode: 54, Layer: AppCbrServer, (3) Total number of bytes received: 2Node: 54, Layer: AppCbrServer, (3) Total number of packets received: 43Node: 54, Layer: AppCbrServer, (3) Throughput (bits per second): 1761Node: 55, Layer: AppCb
25、rServer, (4) Client address: 1Node: 55, Layer: AppCbrServer, (4) First packet received at s: 0.Node: 55, Layer: AppCbrServer, (4) Last packet received at s: 0.Node: 55, Layer: AppCbrServer, (4) Average end-to-end delay s: 0.Node: 55, Layer: AppCbrServer, (4) Session status: Not closedNode: 55, Layer
26、: AppCbrServer, (4) Total number of bytes received: 2Node: 55, Layer: AppCbrServer, (4) Total number of packets received: 43Node: 55, Layer: AppCbrServer, (4) Throughput (bits per second): 176110、15、20、25、30、35、40、45、50條省略各發(fā)送節(jié)點發(fā)包間隔較大,當(dāng)網(wǎng)絡(luò)中發(fā)送節(jié)點較少時,網(wǎng)絡(luò)尚未飽和。逐漸往網(wǎng)絡(luò)中增長負載,網(wǎng)絡(luò)總吞吐量逐漸增大,之后,網(wǎng)絡(luò)吞吐量逐漸趨向于平穩(wěn),此時,網(wǎng)絡(luò)即達到了
27、飽和狀態(tài)。三、課后思考1 、總結(jié)IEEE 802.11DCF合同飽和吞吐量和哪些因素有關(guān)。 任選一種時隙,網(wǎng)絡(luò)中有節(jié)點在發(fā)送數(shù)據(jù)旳概率當(dāng)有節(jié)點在發(fā)送數(shù)據(jù)包時,數(shù)據(jù)包發(fā)送成功旳概率數(shù)據(jù)包發(fā)送成功和發(fā)送失敗所需旳時間2 、為什么在數(shù)據(jù)包長度較長時,采用 RTS/CTS 模式更合理? 隱藏終端多發(fā)生在大型單元中(一般在室外環(huán)境),這將帶來效率損失,并且需要錯誤恢復(fù)機制。當(dāng)需要傳送大容量文獻時,特別需要杜絕隱藏終端現(xiàn)象旳發(fā)生。3 、本實驗中提出旳馬爾科夫鏈模型只合用于單跳模型,若應(yīng)用到多跳網(wǎng)絡(luò)中時,需如何改善?于定長時隙旳多跳ad hoc網(wǎng)絡(luò)DCF合同馬爾可夫鏈模型實驗三動態(tài)源路由合同路由選擇驗證一、
28、實驗設(shè)定基本參數(shù)配備:仿真時長100S;隨機數(shù)種子1;仿真區(qū)域x;節(jié)點數(shù)5。節(jié)點位置配備:用節(jié)點1-5來驗證DSR路由合同旳路由發(fā)現(xiàn)過程。1和2、2和3、3和4、3和5、4和6、5和6之間距離為200m。設(shè)立業(yè)務(wù)流:1給2發(fā),發(fā)包間隔0.01s,發(fā)包大小512Bytes。設(shè)立節(jié)點移動性:節(jié)點1為移動節(jié)點,仿真過程中繞網(wǎng)格拓撲轉(zhuǎn)一圈。二、實驗成果:Time(s): 1., Node: 1, Route path: 2Time(s): 2., Node: 1, Route path: 2Time(s): 3., Node: 1, Route path: 2Time(s): 4., Node: 1,
29、 Route path: 2Time(s): 5., Node: 1, Route path: 2Time(s): 6., Node: 1, Route path: 2Time(s): 7., Node: 1, Route path: 2Time(s): 8., Node: 1, Route path: 4-2Time(s): 9., Node: 1, Route path: 4-2Time(s): 10., Node: 1, Route path: 4-2Time(s): 11., Node: 1, Route path: 4-2Time(s): 12., Node: 1, Route pa
30、th: 4-2Time(s): 13., Node: 1, Route path: 4-2Time(s): 14., Node: 1, Route path: 4-2Time(s): 15., Node: 1, Route path: 4-2Time(s): 16., Node: 1, Route path: 4-2Time(s): 17., Node: 1, Route path: 4-2Time(s): 18., Node: 1, Route path: 4-2Time(s): 19., Node: 1, Route path: 4-2Time(s): 20., Node: 1, Rout
31、e path: 4-2Time(s): 21., Node: 1, Route path: 4-2Time(s): 22., Node: 1, Route path: 4-2Time(s): 23., Node: 1, Route path: 4-2Time(s): 24., Node: 1, Route path: 4-2Time(s): 25., Node: 1, Route path: 4-2Time(s): 26., Node: 1, Route path: 4-2Time(s): 27., Node: 1, Route path: 4-2Time(s): 28., Node: 1,
32、Route path: 4-2Time(s): 29., Node: 1, Route path: 4-2Time(s): 30., Node: 1, Route path: 4-2Time(s): 31., Node: 1, Route path: 4-2Time(s): 32., Node: 1, Route path: 4-2Time(s): 33., Node: 1, Route path: 4-2Time(s): 34., Node: 1, Route path: 4-2Time(s): 35., Node: 1, Route path: 4-2Time(s): 36., Node:
33、 1, Route path: 4-2Time(s): 37., Node: 1, Route path: 4-2Time(s): 38., Node: 1, Route path: 5-4-2Time(s): 39., Node: 1, Route path: 5-4-2Time(s): 40., Node: 1, Route path: 5-4-2Time(s): 41., Node: 1, Route path: 5-4-2Time(s): 42., Node: 1, Route path: 5-4-2Time(s): 43., Node: 1, Route path: 5-4-2Tim
34、e(s): 44., Node: 1, Route path: 5-4-2Time(s): 45., Node: 1, Route path: 5-4-2Time(s): 46., Node: 1, Route path: 5-4-2Time(s): 47., Node: 1, Route path: 5-4-2Time(s): 48., Node: 1, Route path: 5-4-2Time(s): 49., Node: 1, Route path: 5-4-2Time(s): 50., Node: 1, Route path: 5-4-2Time(s): 51., Node: 1,
35、Route path: 5-4-2Time(s): 52., Node: 1, Route path: 5-4-2Time(s): 53., Node: 1, Route path: 5-4-2Time(s): 54., Node: 1, Route path: 5-4-2Time(s): 55., Node: 1, Route path: 5-4-2Time(s): 56., Node: 1, Route path: 5-4-2Time(s): 57., Node: 1, Route path: 5-4-2Time(s): 58., Node: 1, Route path: 5-4-2Tim
36、e(s): 59., Node: 1, Route path: 5-4-2Time(s): 60., Node: 1, Route path: 5-4-2Time(s): 61., Node: 1, Route path: 5-4-2Time(s): 62., Node: 1, Route path: 5-4-2Time(s): 63., Node: 1, Route path: 5-4-2Time(s): 64., Node: 1, Route path: 5-4-2Time(s): 65., Node: 1, Route path: 5-4-2Time(s): 66., Node: 1,
37、Route path: 5-4-2Time(s): 67., Node: 1, Route path: 5-4-2Time(s): 68., Node: 1, Route path: 3-2Time(s): 69., Node: 1, Route path: 3-2Time(s): 70., Node: 1, Route path: 3-2Time(s): 71., Node: 1, Route path: 3-2Time(s): 72., Node: 1, Route path: 3-2Time(s): 73., Node: 1, Route path: 3-2Time(s): 74., N
38、ode: 1, Route path: 3-2Time(s): 75., Node: 1, Route path: 3-2Time(s): 76., Node: 1, Route path: 3-2Time(s): 77., Node: 1, Route path: 3-2Time(s): 78., Node: 1, Route path: 3-2Time(s): 79., Node: 1, Route path: 3-2Time(s): 80., Node: 1, Route path: 3-2Time(s): 81., Node: 1, Route path: 3-2Time(s): 82
39、., Node: 1, Route path: 3-2Time(s): 83., Node: 1, Route path: 3-2Time(s): 84., Node: 1, Route path: 3-2Time(s): 85., Node: 1, Route path: 3-2Time(s): 86., Node: 1, Route path: 3-2Time(s): 87., Node: 1, Route path: 3-2Time(s): 88., Node: 1, Route path: 3-2Time(s): 89., Node: 1, Route path: 3-2Time(s): 90., Node: 1, Route path: 3-2Time(s): 91., Node: 1, Route path: 3-2Time(s): 92., Node: 1, Route path: 3-2Time(s): 93., Node: 1, Route path: 2Time(s): 94., Node: 1, Route
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 《不良生活習(xí)慣》課件
- 2024年版特定股權(quán)轉(zhuǎn)讓與業(yè)績保障協(xié)議版B版
- 房本除名登記協(xié)議書
- 2024年新型數(shù)字媒體內(nèi)容制作與傳播采購合同3篇
- 2025年綏化貨車資格證考試題
- 《狼性臧其超作品》課件
- 2025年萊蕪駕??荚囏涍\從業(yè)資格證模擬考試
- 2025年聊城道路運輸從業(yè)人員從業(yè)資格考試
- 2025年防城港貨運從業(yè)資格證考試題庫答案
- 《初中作文結(jié)構(gòu)篇圖》課件
- 華醫(yī)網(wǎng)繼續(xù)教育公共課必修選修課抗菌藥物臨床應(yīng)用指導(dǎo)原則考試或補考題庫及答案word檢索版
- 國內(nèi)CAR-T研發(fā)公司及進展一覽CAR
- 靜脈輸血技術(shù)
- 《商務(wù)溝通與談判》
- 小學(xué)數(shù)學(xué)六年級數(shù)學(xué)難題(含詳細)
- 2023版中國近現(xiàn)代史綱要課件第一專題歷史是最好的教科書PPT
- 耳尖放血課件完整版
- 漂流項目設(shè)計書
- 《酒泉市中心城區(qū)高鐵片區(qū)控制性詳細規(guī)劃》B-2-19地塊用地調(diào)整論證報告
- 烹飪學(xué) 講義教案
- 《韓語考級不用背單詞》讀書筆記思維導(dǎo)圖PPT模板下載
評論
0/150
提交評論