《网路概论》PPT课件_第1页
《网路概论》PPT课件_第2页
《网路概论》PPT课件_第3页
《网路概论》PPT课件_第4页
《网路概论》PPT课件_第5页
已阅读5页,还剩26页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

-1-,網路概論Class4DataLinkControlPartII,授課老師楊人順2001/10/16-17,-2-,PresentationOutlines,ErrorDetectionTechniquesCyclicredundancycheckErrorControlErrorControlTechniqueErrorControlMechanismDataLinkProtocolsMultiplexingWhatismultiplexing?FrequencyDivisionMultiplexingTimeDivisionMultiplexingCodeDivisionMultipleAccessDigitalSubscriberLine,-3-,Cyclicredundancycheck,CRCisthemostcommonandpowerfulerror-detectingcodes.AlgorithmSendercalculatesaFrameCheckSequence(FCS)fromapattern.Sendersendsaframewith(Message+FCS).Receiverthendividestheincomingframebythesamepatternand,ifthereisnoremainder,assumetherewasnoterror.Modulo2Arithmetic:anexclusion-ORoperationtoreplacethe“Add”and“Subtract”DefinitionT=(k+n)-bitframetobetransmitted,withnkM=k-bitmessage,thefistkbitsofTF=n-bitFCS,thelastnbitsofTP=patternofn+1bits;thisisthepredetermineddivisor.,-4-,CRCPrinciple,TargetsinreceiversiteNoerrordetected:T/PnoremainderErrorsdetected:T/Pwithasleastonebiterror.Atrue:|P|=|F|+1FCSgeneration,-5-,CRCPrinciple(cont),ErrorDetectionExample:pp.204AnotherviewofCRC:expressallvalueaspolynomialsinadummyvariableXE.g.,M=110011,M(X)=X5+X4+X+1,P=11001,P(X)=X4+X3+1,-6-,CapacityofCRC,AnerrorE(X)willonlybeundetectableifitisdivisiblebyP(X).Thefollowingerrortypesaredetectable:Allsingle-biterrorsAlldouble-biterrors,aslongasP(X)hasasleastthree1sAnyoddnumberoferrors,aslongasP(X)containsafactor(X+1)Anybursterrorforwhichthelengthoftheburstislessthanthelengthofthedivisorpolynomial;thatis,lessthanorequaltothelengthoftheFCSMostlargerbursterrorsUndetectableerrorprobability(risthelengthofFCS)Abursterroroflengthr+1,undetectableerrorprobabilityis1/2r1Alongerburst,undetectableerrorprobabilityis1/2r,-7-,CurrentCRCVersions,CRC-12,P(X)=X12+X11+X3+X2+X+1Usedforthestreamof6bitscharacters,FCSis12bitsCRC-16,P(X)=X16+X15+X2+1Usedforthestreamof8bitscharacters,FCSis16bitsPopularformostapplicationsUnitedStatesCRC-CCITT,P(X)=X16+X12+X5+1Usedforthestreamof8bitscharacters,FCSis16bitsPopularformostapplicationsEuropeCRC-32,P(X)=X32+X26+X23+X22+X16+X12+X11+X10+X8+X7+X5+X4+X2+X+1Somepoint-to-pointsynchronoustransmissionstandards.,-8-,ErrorControl,Errortypes:lostframe,damagedframeErrorcontroltechniquesErrordetection:typicallyCRCisusedPositiveacknowledgment(ACK)Negativeacknowledgment(NAK)ErrorcontrolmechanismsStop-and-waitARQ(AutomaticRepeatRequest)Go-back-NARQSelective-rejectARQPiggybackedacknowledgment,-9-,Stop-and-WaitARQ,BelongtoIdleRQ(Fredpp.170)Basedonstop-and-waitflowcontrolExample:pp.210figure7.8Note1:framesequence0,1Note2:framelosstimeoutLinkUtilization,-10-,Go-Back-NARQ,BelongtocontinuesARQBasedonslidingwindowflowcontrolAlgorithm:pp.209-pp.211ExampleinnextslideIfsequencenumberfield=nbits,thenwindowsize=2n1(why?)LinkUtilization,-11-,AnExampleofGo-back-NARQ,-12-,Selective-RejectARQ,BelongtocontinuesARQBasedonslidingwindowflowcontrolAlgorithm:onlyre-transmittingtheframewithNegativeacknowledgement(SREJ)TimeoutlossExampleinnextslideIfsequencenumberfield=nbits,thenwindowsize=2n-1(why?)LinkUtilization,-13-,AnExampleofSelective-RejectARQ,-14-,DataLinkProtocols,High-LevelDataLinkControl(HDLC)HDLCisthebasisformanyotherimportantdatalinkcontrolprotocolsISO3009,ISO4335LinkAccessProcedure,Balanced(LAPB)LAPBwasissuedbyITU-TX.25packet-switchingnetworkinterfacestandard,itprovidesp-t-plinkcontrolbetweenausersystemandapacket-switchingnetworknodeLinkAccessProcedure,D-Channel(LAPD)LAPDwasissuedbyITU-TaspartofitssetofrecommendationsonISDNLAPDprovidesdatalinkcontroloverDchannel,-15-,DataLinkProtocols(cont),LogicalLinkControl(LLC)LLCispartofIEEE802familyofstandardsLLCcontrolthelinkoperationoveraLANLinkcontrolfunctionsinthecaseofLLCaredividedbetweentwolayers:LLCandMAC(MediaAccessControl)layersUseCRC-32FrameRelay(willbeexplainedinClass13)AsynchronousTransferMode(ATM)(willbeexplainedinClass13),-16-,Multiplexing,WhatisMultiplexing?MultiplexingTypesFrequencyDivisionMultiplexing(FDM)TimeDivisionMultiplexing(TDM)SynchronousTDMAsynchronous(Statistical)TDMCodeDivisionMultiplexing(CDM),-17-,FDMv.s.TDM,-18-,FDMSystem,SeparatedFrequencyBandUn-shareableChannelNarrowBandChannelSimultaneouslyTransmissionCable-TV,-19-,SynchronousTDM,SharedFrequencyBandUn-shareableTime-slotFixedTime-slotallocationDigitalCarrierSystem,ISDNandTelephoneNetwork,-20-,AnExampleofSynchronousTDM,-21-,DigitalCarrierSystems,-22-,DS-1TransmissionFormat,-23-,ISDNPrimaryAccessFrameFormats,-24-,SynchronousTDMv.s.StatisticalTDM,-25-,s1(t),s2(t),s(t)=s1(t)+s2(t),d1(t)+c1(t)s2(t),c2(t)s1(t)+d2(t),LPF,LPF,SimplifiedSchemeofCDMA(uplink),-26-,DigitalSubscriberLine,AsynchronousDigitalSubscriberLine(ADSL)Provideshigh-speeddigitaldataratetransmissionoverordinarytelephonewireUsesFDMtoexploitthe1-MHzcapacityoftwistedpairEachcarrier(frequency)isuseQAM(ASK+PSK)analogsignalingtechniqueHighDataRateDigitalSubscriberLine(HDSL)Tocopetheproblemsofhighbandwidth(1.5MHz)andshortdistance(1km)inT1lineHDSLuses2B1Qcodingschemetoprovideadatarateofupto2Mbpsovertwotwistedpairlineswithinabandwidthabout196kHzandenablesdistancerange3.7km.,-27-,DigitalSubscriberLine(cont),SignalLineDigitalSubscriberLine(SDSL)Usesonlyonetwistedpairline.Echocancellationisusedtoachievefull-duplextransmissionoverasignalpairVeryHighDataRateDigitalSubscriberLi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论