北邮高级计算机网络课件 3-Async

合集下载

《计算机网络第三章》课件

《计算机网络第三章》课件

数据包的格式和地址分配。它使用IP地
址和子网掩码来进行网络寻址。
3
路由选择算法
路由选择算法确定数据包在网络层中的 路径选择。常见的路由选择算法包括距 离向量算法和链路状态算法。
传输层
TCP协议
TCP协议负责可靠的数据传输,提供面向连接的通信 和流量控制。它通过三次握手建立连接,并使用数 据段格式传输数据。
UDP协议
UDP协议负责无连接的数据传输,提供快速的传输速 度。它适用于实时应用和对于可靠性要求较低的场 景。
应用层
1 FTP协议
FTP协议是文件传输协议,用于在客户端与服务器之间传输文件。它通过明文命令和响应 消息来控制和传输文件。
2 DNS域名系统
DNS域名系统负责将域名转换为IP地址,实现主机名到IP地址的映射。它通过分布式数据 库来进行域名解析。
3 HTTP协议
HTTP协议是超文本传输协议,用于在Web客户端和服务器之间传输和呈现网页。它使用 请求和响应消息来进行通信。
总结
本章节内容回顾
本章节详细介绍了计算机网 络中的网络层、传输层和应 用层的概念、协议和应用。 希望您对计算机网络的工作 原理有了更深入的理解。
常见问题及解决方法
在实际应用计算机网络中, 会遇到一些常见问题。本节 将讨论这些问题,并提供解 决方法,帮助您更好地应对 网络故障。
《计算机网络第三章》 PPT课件
计算机网络第三章PPT课件介绍了网络层、传输层和应用层的概述、协议和常 见应用。通过本章节的内容,将帮助您深入了解计算机网络的核心知识。
网络层
1
概述
网络层是计算机网的核心部分,负责
IP协议
2
实现数据包的传输和路由选择。它的作 用是将数据从源主机路由至目标主机。

高级计算机网络-精选

高级计算机网络-精选

2019/11/22
史忠植 高级计算机网络
3
4.1 互连网
当前世界最大的、开放的互连网是因特网,即Internet,由众 多网络相互连接而成的特定的计算机网络,采用TCP/IP协议族 。Internet使得世界各地的计算机用户通过高速网络共享信息 资源。 Internet 网 始 于 6 0 年 代 , 前 身 是 由 美 国 联 邦 政 府 开 发 的 ARPANET 网。1965年 MIT林肯实验室的TX-2和系统开发公 司Santa Monica的AN/FSQ-32通过一根专用1200bps电话线(没 有分组交换)直接连接;后来数据设备公司DEC的计算机加入以 形成"实验网络"。1967年第一份有关ARPANET的设计论文由 Larry Roberts发表出版:《多计算机网络与计算机间通信》,三 支独立的分组网络队伍(RAND、NPL、ARPA)首次会合。
2019/11/22
史忠植 高级计算机网络
6
4.1 互连网
1981年由计算机科学家与Delaware、Purdue大学、Wisconsin
大学、RAND公司和BBN联合开发建立CSNET(计算机科学网),使
用的是NSF批准的种子基金。它的用途是为大学科学家们提供
网络服务 ( 特别 是电子邮件 ), 它没有对ARPANET 的访问权 。
对传输层来说是透明的;
传输层所获得的网络地址是统一编号的,即使传输过程中跨
越了2多019个/11L/2A2 N或WAN。
史忠植 高级计算机网络
9
4.1 互连网
因特网中的通信工作方式如下:传输层从上层应用程序获取数 据流并其分成最大长度为64KB的数据报。每个数据报经过一个 或者多个同构或者异构网络的传输,其间可能会被分为更小的 分段。当所有的分段都到达目的地的时候,由网络层把它们重 组为原来的数据报。数据报完整地传到传输层后,被插入传输 层进程的输入流中。 所以在网络层,因特网可以被看作一组相互连接的子网或自治 系统。将因特网连接在一起的是网络互连协议(IP)。IP服务 是不可靠的,即它不能保证数据无差错地到达目的端,也不保 证顺序到达,由传输层负责恢复各种可能的错误。

计算机网络技术实用教程(第四版)第03章完美版PPT

计算机网络技术实用教程(第四版)第03章完美版PPT
劳与被效劳的过程。这些原语供用户和其他实体访问该 效劳。这些原语通知效劳提供者采取某些行动或报告某 个对等实体的活动。效劳原语可被划分为4类,分别是 请求、指示、响应、确认。
3.1 计算机网络体系结构概述
3.1.3 网络体系结构
网络体系结构是从体系结构的角度来研究和设计计 算机网络体系,其核心是网络系统的逻辑结构和功能分 配定义,即描述实现不同计算机系统之间互连和通信的 方法以及结构,是层和协议的集合。通常采用结构化设 计方法,将计算机网络系统划分成假设干功能模块,形 成层次清楚的网络体系结构。
3.1 计算机网络体系结构概述
1. 实体与对等实体
实 体:
任何可以发送或接收信息的硬件或软件进程。
对等实体:
不同机器上位于同一层次、完成相同功能的实体。
3.1 计算机网络体系结构概述
2. 通信协议
协 议:
语法 语义 同步
为进行网络中的数据交换而建立的规则﹑标 准或约定即称为网络协议。
3.1 计算机网络体系结构概述
3.2 ISO/OSI开放系统互连参考模型
3.2.1 OSI七层模型
OSI采用分层的结构 应用层(Application Layer)
化技术,共分7层,从 表示层(Presentation Layer)
低到高为:物理层、数 会话层(Session Layer)
据链路层、网络层、传 传输层(Transport Layer)
3. 效劳与接口
服 务:
在网络分层结构模型中,每一层为相邻的上一层 所提供的功能称为效劳。
效劳访问点:
在同一系统中相邻两层的实体进行交互的地方,通常称 为效劳访问点SAP。
3.1 计算机网络体系结构概述
4. 效劳类型

北邮计算机网络PPTU3

北邮计算机网络PPTU3
application transport network data link physical
application transport network data link physical
Transport Layer 3-4
Transport vs. network layer
network layer: logical communication between hosts transport layer: logical communication between processes
IP datagrams with same dest. port #, but different source IP addresses and/or source port numbers will be directed to same socket at dest
Transport Layer 3-10
our goals:
understand principles behind transport layer services:
• Multiplexing, demultiplexing • reliable data transfer • flow control • congestion control
Transport services and protocols
provide logical communication between app processes running on different hosts transport protocols run in end systems • send side: breaks app messages into segments, passes to network layer • rcv side: reassembles segments into messages, passes to app layer more than one transport protocol available to apps • Internet: TCP and UDP

高级计算机网络演示课件

高级计算机网络演示课件
高级计算机网络
第九章 网络安全
史忠植
中国科学院计算技术研究所

1
内容提要
9.1 网络安全概述
9.2 网络安全的级别
9.3 网络安全的策略
9.4 虚拟专用网
9.5 入侵检测
9.6 防火墙
9.7 加密
9.8 常规密码体系
9.9 公开密钥密码体制
9.10 报文的鉴别
9.11 密钥分配
9.12 公钥证书
9.13 网络安全的发展

14
虚拟网络
虚拟局域网 第三层。在第三层的VLAN中,管理员用不同的协议 要求对不同的VLAN分配通信业务。 协议策略VLAN。这种类型的网络基于数据帧内的协 议标准。比如,管理员可以在这类网络的数据帧内指 明一个数据场用于确定VLAN的隶属。 多终点传输VLAN。多终点传输VLAN通过“一点对多 点”或“多点对多点”的方式传输信息。这对新闻广 播或电视会议之类的应用是很有用的。

2
9.1 网络安全概述
众所周知,作为全球使用范围最大的信息网,Internet自身协 议的开放性极大地方便了各种计算机连网,拓宽了共享资源。 但是,由于在早期网络协议设计上对安全问题的忽视,以及在 使用和管理上的无政府状态,给了众多的hacker们许多机会, 使Internet自身的安全受到严重威胁,与它有关的安全事故屡 有发生。对网络安全的威胁主要表现在:非授权访问、冒充合 法用户、破坏数据完整性、干扰系统正常运行、利用网络传播 病毒、线路窃听等方面。这就要求我们对与Internet互连所带 来的安全性问题予以足够重视。

16
9.4 虚拟专用网
VPN通过公用网络在多个地区之间建立了安全链路。 VPN新模型在公用INTERNET中勾划出一个“专用”网络,使 不同地方的网点或子网能相互连接在一起,为企业建立了一个 实实在在的WAN。这与VLAN不同,它将大型网络分成多个子 网,在通过软件来管理其间的连接。

课件高级计算机网络

课件高级计算机网络

24
流体流方法
其中一方面是对输入信源适用范围的拓展,采用马尔柯夫调制 的确定速率过程(MMDP),指出流体流方法可用于所有MMDP信源 的排队分析。On-Off模型、生死链调制速率过程只是其中特例 。 另 一 方 面 发 展 了 一 套 分 析 ATM 网 部 分 缓 冲 共 享 ( Partial Buffer Sharing,PBS)流量控制策略的流体流法,它可用于对 基于缓冲门限的流量控制策略的分析。采用这种方法分析具有 优先级管理的漏桶监管器的性能。
2020/12/26
史忠植 高级计算机网络
23
流体流方法
流体流方法的计算复杂度与排队容量大小 无关,这是一个优良性质。在信元缓冲区 有增大趋势的今天,这是非常有利的。它 在计算中的稍微困难之处在于特征值及特 征向量的求取。同时,在大维数情况下, 稳定的数值解较难获得。
2020/12/26
史忠植 高级计算机网络
2020/12/26
史忠植 高级计算机网络
9
7.2 现代通信中的排队理论
排队理论也称为随机服务理论,是现代运筹学以及通 信网理论的重要基础之一。然而尽管经典的排队论有 一些漂亮的数学结果,它还是与现代通信技术所要研 究的排队问题有一定的差距。
2020/12/26
史忠植 高级计算机网络
10
主要的排队分析法
课件高级计算机网络
内容提要
7.1 概述 7.2 现代通信中的排队理论 7.3 现代通信业务的自相似特性 7.4拥塞控制 7.5 通信量控制 7.6 ABR通信量管理
2020/12/26
史忠植 高级计算机网络
2
吞吐量特性
峰值速率
这个参数告诉网络通信量最大的速率是多少,以便 网络能够通过预留足够的数据传输容量和缓存空间接 纳此通信量。

计算机网络原理-北外课本

计算机网络原理
北京外国语大学网院教育学院 2019 年 2 月
1
目录 第一部分 课程简介 ............................................................................................................... 3
一、课程简介 ........................................................... 3 二、课程大纲 ........................................................... 6 第二部分 核心知识点 ........................................................................................................... 9 知识点 1:RFC(Request For Comments) ................................... 9 知识点 2:计算机网络 .................................................... 9 知识点 3:OSI参考模型和TCP/IP模型 ...................................... 11 知识点 4:IP地址① ..................................................... 12 知识点 5:IP地址② ..................................................... 12 知识点 6:ARP协议 ...................................................... 13 知识点 7:IP协议 ....................................................... 14 知识点 8:差错与控制报文协议 ........................................... 14 知识点 9:IP路由① ..................................................... 15 知识点 10:IP路由② .................................................... 16 知识点 11:传输层协议① ................................................ 17 知识点 12:传输层协议② ................................................ 18 练习一 ................................................................ 18 练习二 ................................................................ 23 第三部分 教材信息及参考文献 ......................................................................................... 31 一、教材信息 .......................................................... 31 二、参考文献 .......................................................... 31 第四部分 课程讲义 ............................................................................................................. 32 第一章 概述 .......................................................... 32 第二章 计算机网络与因特网体系结构 .................................... 41 第三章 IP地址 ........................................................ 51 第四章 地址解析 ...................................................... 64 第五章 IP协议 ........................................................ 72 第六章 差错与控制报文协议 ............................................ 82 第七章 IP路由 ........................................................ 90 第八章 传输层协议、应用层协议 ....................................... 103

计算机网络导论-第三章.ppt


3.2.2分类
1. 按带宽分类
10Mbps、100Mbps、10/100Mbps
2.按是否可进行网络管理划分 ❖ 网管型
允许用网管软件对其进行管理的集线器,它内部 包含有CPU等智能控制部件。
在需要进行网络管理的中大型网络系统中,一般 都要求使用智能集线器(后面将要介绍的网络交 换机也需要是智能化的)。
专用堆叠端口连接(堆叠连线不超过1m)
使用级联端口实现级联

使用普通端口实现级联
3.3 交换机
3.3.1 概述
•传统交换机:数据链路层
•外观与集线器相似
• 一个端口一个分段,每个端口 均有自己的带宽,传输速率比较 高
• 通过内部交换矩阵实现多个信 道同时传输信息
独立交换机
千兆以太网模块化交换机
(2)PCI网卡
PCI网卡的理论带宽为133M。PCI网卡又可分为10M PCI网卡和 10/100M PCI自适应网卡两种类型。10M PCI网卡价格较便宜,被低端用 户广泛采用;而10/100MPCI自适应网卡作为当今的主流产品,可根据需 要自动识别连接网络设备的工作频率,自动工作于10M或100M的网络带 宽下。PCI总线网卡的另一好处是比ISA网卡的系统资源占用率要低得多。
第三章 网络硬件
网络互连 物理层的互连设备 数据链路层的互连设备 网络层的互连设备 高层的互连设备
网络硬件
中继器 集线器 网卡 交换机 路由器 网关 调制解调器
网络互连概述
网络互连(联)就是指不同网段、网络或子
网之间通过网络的连接或互连设备(中继器、网桥、
路由器或网关等)实现各个网络段或子网间的互相
通话的程序。
在【控制面板】窗口中,鼠标双击【添加新硬件】图标,系 统会运行“添加新硬件”的向导程序指导我们一步步地安装 网卡驱动程序。 如何确定网卡是否成功地安装:在【控制面板】窗口中,鼠标

《高级计算机网络》PPT课件


Functions of the Data Link Layer
• Provide service interface to the network layer
• Dealing with transmission errors • Regulating data flow
Slow receivers not swamped by fast senders
C(x)= am-1xm+r-1+ am-2xm+r-2+. . . + a1xr+1+ a0xr+ br-1xr-1+ br-2xr2+ . . .+ b0
Error-Detecting Codes
如何找出C(x): C(x) = xrM(x) + R(x), R(x)的阶 = r-1, 为 xrM(x)/ G(x)的余数多项式。 设接收多项式T(x): 若T(x)/ G(x)的余数多项式为零,则T(x)是码多项式,视为
收方:花费Δt执行from_physical_layer和 to_network_layer 发方:平均速率小于每Δt秒一帧。(前一帧取出后,才可发
下一帧)。 ● 收方将收到的分组交给网络层后,回送给发方一个短帧
(确认帧) 协议2(停—等协议)详教材207页 与协议1的区别是在接收和发送过程中增加了一个等待过程
本课件PPT仅供学习使用 本课件PPT仅供学习使用 本课件PPT仅供学习使用
学习完毕请自行删除
3.1 Data Link Layer Design Issues
• Services Provided to the Network Layer • Framing • Error Control • Flow Control

北京邮电大学《计算机网络》3.ppt

课件制作人:王小茹
3.3 基本数据链路层协议
停止等待协议 Stop and Wait Protocols
课件制作人:王小茹
1.如何设计数据链路层的协议?
课件制作人:王小茹
2.建立一个数据链路层通信模型
假设
物理层、数据链路层和网络层都是独立的进程; 点到点的链路中所有的节点都不会崩溃; 数据链路层使用数据帧(Frame),网络层使用分
四种情况
A
B
A
B
出错


tout

重 传
送 主 机
(b) 数据帧出错
重 传
送 主 机
(c) 数据帧丢失
A
B
tout 丢



重!




(d) 确认帧丢失
课件制作人:王小茹
课件制作人:王小茹
这个杀手不太冷!
协议在设计上有小瑕疵!
课件制作人:王小茹
D1:0 D2:1 D3:0
课件制作人:王小茹
停止等待协议的算法(2)
码用high-low pair/low-high pair表示1/0, high-high/low-low不表示数据,可以用来 做定界符。
课件制作人:王小茹
课件制作人:王小茹
3.1.2 帧同步/成帧(framing)
成帧:将原始的比特流分解成若干离散的“段” 中。
结点


结点
常常在两个对等的数据链路层之间画出一个数字 管道,而在这条数字管道上传输的数据单位是帧 (frame)。
一条无源的点到点的物理线路段,中间没 有任何其他的交换结点。
数据链路(Data Link) :
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Asynchronous Serial Communicationin the real world 异步串行通信北京邮电⼤大学信息⺴⽹网络中⼼心Information Network CenterBeijing University of Posts and Telecommunications版权所有, 1999~2011©1Aganda• What / Why / where to use asynchronous • Compare to synchronous communication • Asynchronous communication• Major technologies– RS232C– Programming API– Modems– Its applications– Testing23 What is Asynchronous Communication • Asynchronous – The transmitter / receiver have clocks with approximately the same frequency. The receiver starts its timing when the first bit arrives, normally not using an external clock. • Synchronous – Synchronous communication system uses a self-synchronizing code which containing the information in addition to the transmitted bits, without using an external clock signal. 什么是异步通信异步同步Asynchronous transmission over a transmission line传输线上的异步通信1 1 0 1 0 0 1Synchronous transmissionover a transmission line传输线上的同步通信• Some widely used self-sync baseband modulation method0 1 0 0 1 1 0 1 0 0 1 10 1 0 0 1 1Manchester NRZI MLT-36Why should we use Asynchronous serial Communications • Economic reason– Devices– Daily / Monthly communication – Maintenance– …• Facility limitation: long distance PSTN • Easy obtain: PC everywhere 为什么使用异步串行通信Async: RS232-C• Standardized by EIA• Electrical Interfaces– ITU-T V.24 Does not specify pin numbers. Details the types of signals to be exchanged. Specifies the absolute voltage levels,impedance's, and timing characteristics for each line.– EIA RS232-C Mechanical Standard Uses V.24 recommendations and further specifies the mechanical connector typeand pin numbers to be used (DB-25 pin connector).– EIA RS232-C Electrical Standard Cables length=15 meters (50 feet), Data line Voltage:1=-3~-25V; 0=+3~+25V7Physical Layout DB-25 DB-9• Picture from Cisco Systems.8PinOut9电气标准Electric StandardDB-25 to DB-9 connection11波形Wave form (with no parity)0 0 1 0 1 1 0异步数据性质波形Async data character waveform13RS-232 communication process monitoring通信过程监控• Hardware– Multi-meter– Protocol analyzer– …• Software– DOS based– Win/xx 14PC结构中的RS232RS-232 in the PC architectureApplicationOSBIOSMotherBoardRS-232CData lines Control linesMicrosoft(R) Windows 95(C)Copyright Microsoft Corp 1981-1996.COM1: 3F8H COM2: 2F8H LPT1: 3BCHC:\WINDOWS> debug-d40:00040:0000 F8 03 F8 02 00 00 00 00-BC 03 00 00 00 00 0F 02 ................ 0040:0010 27 C4 00 80 02 00 00 00-00 00 2E 00 2E 00 67 22 '.............g" 0040:0020 0D 1C 64 20 34 05 30 0B-3A 27 30 0B 0D 1C 00 41 ..d 4.0.:'0....A 0040:0030 00 41 00 41 00 41 64 20-65 12 62 30 75 16 00 00 .A.A.Ad e.b0u... 0040:0040 8A 00 C3 00 00 00 00 00-00 03 50 00 00 10 00 00 ..........P..... 0040:0050 00 0C 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................ 0040:0060 0E 0D 00 D4 03 29 30 76-07 C5 1C 00 48 FF 0B 00 .....)0v....H... 0040:0070 00 00 00 00 00 01 00 00-14 14 14 28 01 01 01 01 ...........(.... -RS-232C RegistersI / O Address I / O Direction Function of register3F8H 3F8H 3F8H * 3F9H * 3F9H 3FAH 3FBH 3FCH 3FDH 3FEH OUTINOUTOUTOUTINOUTOUTININOutput registerInput registerLSBMSBInterrupt enableInterrupt identificationLine controlModem controlLine statusModem statusLine control register (3FBH) bit7 = 1Performance• Relatively Low speed compared with LAN technology !18Typical Connections with DeviceNull-Modem connection20Limitations限制条件• Distance• Speed• Ground2122APIs• JAVA example– SerialPort– SerialPortLocal – SerialConfig – SerLooker– SerOutputStream – SerInputStream – SerByteQueue– SnoopInputStream – SnoopListener – SnoopLoop– SnoopLoopListener• Test • Open • Initialization– Speed – Start bit – Data bits – Stop bit – Parity• Input • Output • Status check • Interrupt handle • Close建立通信的框架Skeleton For Setup communication • Initialization...Setup channeltransmit/receiveflow controlkeyboard/file controlerror detection and error recovery memory managementmodem controlclose connection23Async Comm ProgrammingCom port Test Parameter setup Open connection Ok ?Ok ?Data transmission with error control Retry Ok?Flow control buffer controlfile control Keyboard / voicecontrol Close connection25Flow Control• Definition – techniques for assuring a transmitting device doesn ’t overwhelm a receiving device with data • Stop and Wait Flow Control– 1. Source sends frame – 2. Destination receives frame– 3. Destination sends acknowledgement – 4. Source sends another frame– Source can ’t send another frame until receiver sends acknowledgement – Becomes inefficient with a large number of frames 流控制停等流控制Flow Control滑动窗口流控制• Sliding Window Flow Control– Allows multiple frames to be sent– Full duplex line– Each frame labeled with a sequence number –restarts at 0 once max number is reached– Receiver and sender agree on a fixed number of frames sent or received. Acknowledgement is anumber that indicates the next frame. Implieslower numbered frames have been received26Sliding windows2728Error Control• Error Detection– Parity checks• Append a bit at end of block of data• Even parity – character has even number of 1’s • Odd parity – character has odd number of 1’s– Example• Using 7bit ASCII and odd parity • Send a one byte ---- 1110001• Since using odd parity and there are 4 (even) number of ones a 1 is added to end• Receiver gets character and sees 4 ones and 1 for a parity bit which is odd and since using odd parity says character transmitted ok– If 2 bits inverted it does not pick up error差错控制差错检测OperationTRANSMITTING DATA (DTE to DCE) 1: Assert DTR and RTS2: Wait for DSR3: Wait for CTS4: Transmit the data RECEIVING DATA (DCE to DTE) 1: Assert DTR2: Wait for DSR3: Receive the data操作过程29Flow Control: Hardware /Software流控制硬件软件• Software: Xon / Xoff• Hardware: wiring as -特点General Modem Features • Half-Dup / Full-Dup• Async / Sync• Dial-up / Leased-line• Voice-band / Baseband• FAX / Auto-Answer• ITU-T Standards• Interface: RS-232C / Parallel• Build-in / External• Compress: V.42bis / MNP5• Loop back test.31Modem Setup with ‘at’ command• at is an abbreviation of ‘attention’• atdt • atdp • at&f • at&w • ath • +++• ata• ate0 / ate1 • atz • ...32Protocols• Microcom: MNP 1~10, outdated now.• V.42 Error correction• V.42bis Compression• V.32 9.6Kbps standard, Sync/Duplex • V.34 28.8Kbps standard• V.90 56Kbps3334Async file transfer protocolsXmodem Ymodem Zmodem KermitXon/Xoff × √ × √ 1 Byte Checksum √ × √ × 2 Byte Checksum × × × √Multi File Tranfer × √ √ √Max Block 128 1K 8K 9K Min Block 128 128 10 64 异步文件转换协议Async communication softwares异步通信软件• Commercial– Platform: DOS/Win/UNIX– LAPLINK– PROCOMM– …• Public domain– A lot of on the net for various OS– available for source code of the protocol and software – You may search on the network35Synchronous Comm Baseband信和计算机网络中的信号Sync Signal & Signaling working in the Telecommunication and Computer Network• EIA RS-232C < 200Kbps • EIA RS-422 < 2Mbps• ITU-T V.35 < 2Mbps• E1• E1 DA15 (D-type)• E1 DA15 cables have D-type 15 pin connectors. The pin assignments for the cables are as follows:37V.35 Plug and PinoutA - Ground -B 102(SG) Sig GND -C 105(RS) Snd Request V.28D 106(CS) Send Permit V.28E 107(DR) Snd Ready V.28F 109(CD) CarrierDetect V.28 P 103(SD) Snd Data(A) V.28 R 104(RD) Rcv Data(A) V.28 S 103(SD) Snd Data(B) V.28 T 104(RD) Rcv Data(B) V.28 V 115(RT) Rcv Clk(A) V.28 X 115(RT) Rcv Clk(B) V.28 Y 114(ST2) Snd Clk(A) V.28 AA 114(ST2) Snd Clk(B) V.28C H M S W AA EE KKD J N T X BB FF LLA E K P U Y CC HH MMB F L R V Z DD JJ NN PC并行通信高速接口 Parallel CommCentronic Port in PCHigh speed ?• Short distance data transfer• 8 bits in parallel• various device: printer, disk, PC,sensors, ...39其他系列的硬件接口Other serial hardware Interfaces • Current LoopRS-422A,RS-449RS-530RS-366IEEE1394USBHSSI• ...4041Other Serial Communication systems in the Real World • IrDA• Bluetooth• HSSI• IEEE 1349• USB• ...实际中其他通信系统42Infra-red communication• Defined by IrDA (Infra-red Data Association)• Wavelength: 0.85µm~0.9µm• A point to point link• IrDA established in 1993/6/28.• IrDA1.0 called SIR(Serial InfraRed), UART based, 115.2Kbps. • IrDA1.1 called Fast InfraRed, FIR, 4Mbps, 4PPM (Pulse Position Modulation), in 1996,• IrDA defined 3 basic protocols, and others– Physical Layer Link Specification– IrLAP - Link Access Protocol– IrLMP - Link Management Protocol– TinyTP, IrOBEX, IrCOMM, IrLAN, IrTran-P• May encounter interferences /红外线通信红外线传输协议栈IrDA protocol stack43Bluetooth• Used for creating wireless personal area networks (PANs) • capable of connecting multiple devices and overcomingproblems arising from synchronization• Communication uses a secure, globally unlicensed Industrial, Scientific, and Medical (ISM) 2.4 GHz frequency band• transmission power of up to 100 mW• a range of up to 100 meters or more depending on environmental conditions• use a 128-bit encryption mechanism• uses 79 channels and has a hopping scheme of 1600 hops per second• Current version is Bluetooth 2.145 Bluetooth protocol stack • LMP (Link Management Protocol)– control of the radio link between two devices • L2CAP (Logical Link Control & Adaptation Protocol) – multiplex multiple logical connections between two devices • SDP (Service Discovery Protocol)– allow devices to discover what services each other support, and what parameters to use• Others:– HCI (Host/Controller Interface) – RFCOMM (Cable replacement protocol) – BNEP (Bluetooth Network Encapsulation Protocol) – AVCTP (Audio/Visual Control Transport Protocol) – AVDTP (Audio/Visual Data Transport Protocol) – Telephony control protocol – others蓝牙协议栈46 USB - Universal Serial Bus• USB is peripheral bus standard developed by PC and telecom industry leaders -- Compaq, DEC, IBM, Intel, Microsoft, NEC and Northern Telecom, 1995 • Feature: plug and play of computer peripherals outside the box, eliminating the need install cards into dedicated computer slots and reconfigure the system• USB v1/v2/v3• Electrical: 3.3V-5v (500mA)• Cable Physical length: <5M• Max devices on the bus: up to 127 USB 接口USB ready devices• cameras, modems, printers, scanners, mice, joysticks, keyboards, sound cards and sound systems, telephony devices, network connections, robotic devices, ...47Wireless USB• Wireless USB Promoter Group • <=3Meters, 480Mbps • <=10m, 110Mbps • Standardization inprogress无线USB4849A RS232 serial to USB converter cable designBenefits of USB DeviceUSB设备的优点• Hot swap• Plug and Play• No extra jumper, no interruption occupied• Power supplied internally with USB cable • High speed transfer rate50。

相关文档
最新文档