【正文】
hat is Wt f tTA BACK傳播時(shí)延 tp傳輸時(shí)延 tf傳輸時(shí)延 tAcktT時(shí)間往返時(shí)間Wtf F0F1F2傳播時(shí)延 tpF3F4F5F0F1……W1+2a , that is W tf tTA BACK傳播時(shí)延 tp傳輸時(shí)延 tf傳輸時(shí)延 tAcktT時(shí)間往返時(shí)間wtf F0F1F2傳播時(shí)延 tpF0F1F231z忽略 ACK幀的傳輸時(shí)間 Link utilization of sliding window flow control 采用滑動(dòng)窗口流量控制時(shí)鏈路的 利用率 P23432Link utilization of sliding window flow controlz采用捎帶確認(rèn) piggyback acknowledgementz數(shù)據(jù)幀雙向發(fā)送z返回方向的 數(shù)據(jù)幀攜帶 相反方向數(shù)據(jù)幀的 確認(rèn) 信息。 傳播時(shí)延 = 信道長(zhǎng)度( 米 )信號(hào)在信道上的傳播速率( 米 /秒 )Propagation time: Time for a bit to traverse the linkz信道利用率( Utilization (efficiency)) 指出某信道有百分之幾的時(shí)間是被利用的(有數(shù)據(jù)通過(guò))。( 4)( 5) 根據(jù)公式( 2),可化簡(jiǎn)為公式( 5)。若 T在傳輸中發(fā)生錯(cuò)誤,在接收端進(jìn)行 T/P運(yùn)算,余數(shù)將不為 0。z吞吐量更經(jīng)常地用于對(duì)現(xiàn)實(shí)世界中的網(wǎng)絡(luò)的一種測(cè)量,以便知道實(shí)際上到底有多少數(shù)據(jù)量能夠通過(guò)網(wǎng)絡(luò)。 一次發(fā)送 7幀,序號(hào) 0~6,接收端返回確認(rèn) RR7,表明frame準(zhǔn)備接收下一幀 frame7。zEach data frame includes the number of the frame and the number used for acknowledgement. 數(shù)據(jù)幀攜帶要確認(rèn)的幀序號(hào),不需要單獨(dú)發(fā)送確認(rèn)幀。 z信號(hào) 傳輸速率 (即發(fā)送速率)和信號(hào)在信道上的 傳播速率 是完全不同的概念。 this is the predetermined divisor 生成多項(xiàng)式或除數(shù)( nk+1) bit ( 1) 發(fā)送幀由數(shù)據(jù)和校驗(yàn)碼構(gòu)成,在 D的末尾添加( nk)個(gè) 0( 2) 長(zhǎng)除法商 余數(shù)CRC循環(huán)冗余校驗(yàn)的原理quotient remainder9( 3)Use this remainder as the FCS發(fā)送幀由數(shù)據(jù)和余數(shù)構(gòu)成在接收端:將 T/P,若傳輸正確,余數(shù)將為 0。10Polynomials( 生成 多項(xiàng)式 ) P183For P=110011, P(X)=X5+X4+X+1常用的生成多項(xiàng)式:CRC12 = x12 + x11 + x3 + x2 + x + 1CRC16 = x16 + x15 + x2 + 1CRCCCITT = x16 + x12 + x5 + 111 Flow Control P209zFlow control: Assuring the sending entity does not overwhelm the receiving entity with datayPreventing buffer overflow12Model of Frame Transmission混淆13Stop and Wait flow control 停等流量控制 P210zSource transmits framezDestination receives frame and replies with acknowledgementzSource waits for ACK before sending next framezDestination can stop flow by not send ACKStop and waitA BDATADATAACK傳播時(shí)延 tp處理時(shí)間 tpr傳播時(shí)延 tp處理時(shí)間 tprtT時(shí)間兩個(gè)成功發(fā)送的數(shù)據(jù)幀之間的最小時(shí)間間隔數(shù)據(jù)幀的發(fā)送時(shí)間 tf設(shè)置的重傳時(shí)間tout時(shí)延 (delay 或 latency)z傳輸時(shí)延 (發(fā)送時(shí)延 ) 發(fā)送數(shù)據(jù)時(shí),數(shù)據(jù)塊從結(jié)點(diǎn)進(jìn)入到傳輸媒體所需要的時(shí)間。z吞吐量受網(wǎng)絡(luò)的帶寬或網(wǎng)絡(luò)的額