没有合适的资源?快使用搜索试试~ 我知道了~
首页异步和同步数据通信的区别及其特点
异步和同步数据通信的区别及其特点
需积分: 9 15 下载量 157 浏览量
更新于2023-03-16
收藏 31KB DOC 举报
在长距离,我们用异步或同步传输模式进行串行传输。由于接受者需要定时信息,长距离的串行传输为了避免单独传时钟信号需要把定时信息和数据一起传输。
资源详情
资源推荐
Asynchronous and Synchronous Data Transmission异步和同步数据通信
Over longer distances we use serial transmission either in an asynchronous or
synchronous transmission mode. Serial transmission over long distance requires
that the timing information for the receiver be transmitted together with the data so
that a separate clock signal is not required.
在长距离,我们用异步或同步传输模式进行串行传输。由于接受者需要定时信息,长
距离的串行传输为了避免单独传时钟信号需要把定时信息和数据一起传输。
In asynchronous transmission only a small number of bits are transmit ted at a
time, usually 8 bits that correspond to one ASCII character. In the beginning of each
block of 8 bits of data, a start bit is sent to indicate to the receiver that it should
prepare to receive 8 bits of data (see Figure 6.2). For synchronization the receiver
has to know the data rate, which has to be set in advance, so that when it detects the
start bit it is able to receive the few fol lowing bits. After these bits a stop bit is sent
that terminates the 8-bit data block. The next block of data is synchronized
independently with the help of a new start bit preceding the data bits.
在 异步 传 输 时 , 在同 一 时 候 只 有一小 数 量 二 进 制位 被 传 输 , 通常 8 位 对 应 着 一 个
ASCII字符。在每个8位数据的前面,一个开始位被发送以暗示接收端要准备接收 8位数据
(如图6.2)。对于同步传输时,接收者必须要提前知道数据速率,然后当它发现开始位时 ,
它才能接收接着的二进制位。最后会在8位数据后面加一个停止位来结束。接着下一个数据
以新的开始位开始独立的同步传输。
In asynchronous transmission, a simple error-detecting scheme called parity
can be used. We may use even or odd parity error checking. If even parity is used,
the total number of “1” bits in the block, including data bits and the parity bit, is set to
be even with the help of the parity bit. In the case of odd parity, the parity bit is set to “1”
or “0” so that the total number of“1” bits in the block is odd. To detect possible
transmission errors, the receiver determines whether the received number of “1” bits is
even or odd depending on the parity agreed. We will see later that this parity check
method is a simple example of a data link layer protocol.
在异步传输时,一个简单的错误发现原来叫做奇偶校验被运用。我们可以用奇或偶校
验来对错误进行检查。假如用偶校验,1的总数包括数据位和奇偶校验位将放在这个块中,
奇偶校验位的值决定要把其设置为偶数。假如是奇校验,奇偶校验位将被设置为 1或0,使
这个块的奇偶为奇。为了检查可能传输中出现的错误,接收端将检查接收到的 1的位的奇偶
是否符合奇偶校验。我们稍候将从一个简单得数据链路层协议中知道奇偶校验的方法。
Asynchronous transmission is used for the transmission of ASCII char acters in
conventional terminal–mainframe computer communications. For larger information
blocks it is used in some file transfer protocols such as KERMIT and X-LINK. In these
protocols special “start of block” characters are sent at the beginning. Then information
yangjunfei2009
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功