311311⊙11111111113113118881,即:B发送了bit“0”C11311311⊙11111111113113118080,即:C没有发送信息。
P27227814152
fA是错的应为00000101
7A
8bitbytewithbi
aryvalue10101111istobee
codedusi
ga
oddparity
Hammi
gcodeWhatisthebi
aryvalueaftere
codi
g
p1p2a3p4a5a6a7p8a9a10a11a12
10101111
P1a3a5a7a9a11奇
?10011奇
P2a3a6a7a10a11奇?11011奇
P4a5a6a7a12奇
?0101奇
P8a9a10a11a12奇
?1111奇
得汉明码为011001011111。
若传输后,接收方收到的为011111011111,检验:
P1:011011偶
p2:111011奇
P4:11101偶
p8:11111奇
8
f14
15Abitstream10011101istra
smittedusi
gthesta
dardCRCmethoddescribedi
thetextThege
eratorpoly
omialisx31Showtheactualbitstri
gtra
smittedSupposethethirdbitfromtheleftisi
vertedduri
gtra
smissio
Showthatthiserrorisdetectedatthereceiverse
d生成式为1001。消息比特加上3个0后成为10011101000,除以1001后余式为100,因此实际传输的比特串为10011101100。左起第三比特颠倒后接收到的多项式为10111101100,除以生成式,余式为100,而不是0,这就使接收方明白发生了错误。
P369131415162213
14
f15A1kmlo
g10MbpsCSMACDLAN
ot8023hasapropagatio
speedof200
msecRepeatersare
otallowedi
thissystemDataframesare256bitslo
gi
cludi
g
32bitsofheaderchecksuma
dotheroverheadThefirstbitslotafterasuccessful
tra
smissio
isreservedforthereceivertocapturethecha
eli
ordertose
da32bit
ack
owledgeme
tframeWhatistheeffectivedatarateexcludi
goverheadassumi
gthat
thereare
ocollisio
s长为1km的CSMACD局域网(不是8023网),数据率为10Mbps,传播速度为200ms。系统中不用中继器。数据帧长256比特,其中包括32比特头部、检验和和其它开销。一次成功传输后的第一个时隙保留给接收方捕获信道,以便让它发送一个32比特的确认帧。假设不发生冲突,扣除开销,有效的数据率为多大?
CSMSCD局域网是分时隙的(timeslotted)。每次发送之前必须侦听信道,至少花费一个时隙timeslot才能确保不冲突!
时隙长度取决于最大往返传播延时。Si
gletriptakes1km200msec5usecrou
dtrippropagatio
delayisτ5X210usecsothele
gthoftimeslotshouldbe10usec信号从电缆一端传导到另一端用时10002001065us往返需5210us,因此时隙长度为10us。
tra
smitterseizescable10μsecbeforetra
smissio
thetra
smitterchecksthecablea
difthecableisidlestartstotra
smitatthebegi
i
gof
exttimeslot发前“听信道”r