已阅读5页,还剩26页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
-1-,網路概論 Class 4 Data Link Control Part II,授課老師 楊人順 2001/10/16-17,-2-,Presentation Outlines,Error Detection Techniques Cyclic redundancy check Error Control Error Control Technique Error Control Mechanism Data Link Protocols Multiplexing What is multiplexing ? Frequency Division Multiplexing Time Division Multiplexing Code Division Multiple Access Digital Subscriber Line,-3-,Cyclic redundancy check,CRC is the most common and powerful error-detecting codes. Algorithm Sender calculates a Frame Check Sequence (FCS) from a pattern. Sender sends a frame with (Message + FCS). Receiver then divides the incoming frame by the same pattern and, if there is no remainder, assume there was not error. Modulo 2 Arithmetic: an exclusion-OR operation to replace the “Add” and “Subtract” Definition T = (k + n)-bit frame to be transmitted, with n k M = k-bit message, the fist k bits of T F = n-bit FCS, the last n bits of T P = pattern of n+1 bits; this is the predetermined divisor.,-4-,CRC Principle,Targets in receiver site No error detected: T/P no remainder Errors detected : T/P with as least one bit error. A true : |P| = |F| + 1 FCS generation,-5-,CRC Principle (cont),Error Detection Example : pp. 204 Another view of CRC : express all value as polynomials in a dummy variable X E.g., M=110011, M(X)=X5 + X4 + X + 1, P=11001, P(X) = X4 + X3 + 1,-6-,Capacity of CRC,An error E(X) will only be undetectable if it is divisible by P(X). The following error types are detectable : All single-bit errors All double-bit errors, as long as P(X) has as least three 1s Any odd number of errors, as long as P(X) contains a factor (X + 1) Any burst error for which the length of the burst is less than the length of the divisor polynomial; that is, less than or equal to the length of the FCS Most larger burst errors Undetectable error probability (r is the length of FCS) A burst error of length r + 1, undetectable error probability is 1/2r1 A longer burst, undetectable error probability is 1/2r,-7-,Current CRC Versions,CRC-12, P(X)=X12 + X11 + X3 + X2 + X + 1 Used for the stream of 6 bits characters, FCS is 12 bits CRC-16, P(X)=X16 + X15 + X2 + 1 Used for the stream of 8 bits characters, FCS is 16 bits Popular for most applications United States CRC-CCITT, P(X)=X16 + X12 + X5 + 1 Used for the stream of 8 bits characters, FCS is 16 bits Popular for most applications Europe CRC-32, P(X)=X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X + 1 Some point-to-point synchronous transmission standards.,-8-,Error Control,Error types : lost frame, damaged frame Error control techniques Error detection : typically CRC is used Positive acknowledgment (ACK) Negative acknowledgment (NAK) Error control mechanisms Stop-and-wait ARQ (Automatic Repeat Request) Go-back-N ARQ Selective-reject ARQ Piggybacked acknowledgment,-9-,Stop-and-Wait ARQ,Belong to Idle RQ (Fred pp.170) Based on stop-and-wait flow control Example : pp. 210 figure 7.8 Note 1 : frame sequence 0,1 Note 2 : frame loss time out Link Utilization,-10-,Go-Back-N ARQ,Belong to continues ARQ Based on sliding window flow control Algorithm : pp. 209 - pp.211 Example in next slide If sequence number field = n bits, then window size = 2n 1 (why ?) Link Utilization,-11-,An Example of Go-back-N ARQ,-12-,Selective-Reject ARQ,Belong to continues ARQ Based on sliding window flow control Algorithm : only re-transmitting the frame with Negative acknowledgement (SREJ) Time out loss Example in next slide If sequence number field = n bits, then window size = 2n-1 (why ?) Link Utilization,-13-,An Example of Selective-Reject ARQ,-14-,Data Link Protocols,High-Level Data Link Control (HDLC) HDLC is the basis for many other important data link control protocols ISO 3009, ISO 4335 Link Access Procedure, Balanced (LAPB) LAPB was issued by ITU-T X.25 packet-switching network interface standard, it provides p-t-p link control between a user system and a packet-switching network node Link Access Procedure, D-Channel (LAPD) LAPD was issued by ITU-T as part of its set of recommendations on ISDN LAPD provides data link control over D channel,-15-,Data Link Protocols (cont),Logical Link Control (LLC) LLC is part of IEEE 802 family of standards LLC control the link operation over a LAN Link control functions in the case of LLC are divided between two layers: LLC and MAC (Media Access Control) layers Use CRC-32 Frame Relay (will be explained in Class 13) Asynchronous Transfer Mode (ATM) (will be explained in Class 13),-16-,Multiplexing,What is Multiplexing ? Multiplexing Types Frequency Division Multiplexing (FDM) Time Division Multiplexing (TDM) Synchronous TDM Asynchronous (Statistical) TDM Code Division Multiplexing (CDM),-17-,FDM v.s. TDM,-18-,FDM System,Separated Frequency Band Un-shareable Channel Narrow Band Channel Simultaneously Transmission Cable-TV,-19-,Synchronous TDM,Shared Frequency Band Un-shareable Time-slot Fixed Time-slot allocation Digital Carrier System, ISDN and Telephone Network,-20-,An Example of Synchronous TDM,-21-,Digital Carrier Systems,-22-,DS-1 Transmission Format,-23-,ISDN Primary Access Frame Formats,-24-,Synchronous TDM v.s. Statistical TDM,-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,Simplified Scheme of CDMA (uplink),-26-,Digital Subscriber Line,Asynchronous Digital Subscriber Line (ADSL) Provides high-speed digital data rate transmission over ordinary telephone wire Uses FDM to exploit the 1-MHz capacity of twisted pair Each carrier (frequency) is use QAM (ASK + PSK) analog signaling technique High Data Rate Digital Subscriber Line (HDSL) To cope the problems of high bandwidth (1.5 MHz) and short distance (1km) in T1 line HDSL uses 2B1Q coding scheme to provide a data rate of up to 2Mbps
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 山西铁道职业技术学院《酒店市场营销》2025-2026学年期末试卷
- 电商运营岗店铺管理考试题目及答案
- 空调器安装工班组协作水平考核试卷含答案
- 电焊机装配工安全防护评优考核试卷含答案
- 潜水员安全生产基础知识水平考核试卷含答案
- 乳化香精配制工岗前岗位适应能力考核试卷含答案
- 汽车回收工标准化测试考核试卷含答案
- 矿井防灭工岗前工作质量考核试卷含答案
- 家禽人工授精员标准化竞赛考核试卷含答案
- 高炉炉前工安全实践竞赛考核试卷含答案
- 湖北省恩施市2025-2026学年上学期期末七年级数学试卷(无答案)
- 2026届北京市朝阳区高三上学期期末质量检测历史试题(含答案)
- (正式版)DB44∕T 2786-2025 《旅居养老服务规范》
- 颅内高压课件
- 病理学基础课件
- 《三笔字与教师板书课件艺术教程》项目9钢笔书法创作
- DB37∕T 4855-2025 海洋污染物毒性分析用 模式鱼种 海水青鳉世代培育技术规范
- 2026年调解员岗位高频面试题
- 2025中国民生银行诚聘跨境业务英才备考题库含答案详解(考试直接用)
- 中药注射剂临床使用基本原则
- 2025年CCAA国家注册审核员考试(管理体系认证基础)在线题库及答案
评论
0/150
提交评论