`
icarusli
  • 浏览: 524798 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

xmodem,ymodem,zmodem的主要区别

 
阅读更多
根据modem所采用的文件传输协议:xmodem,ymodem,zmodem将其分类  
  xmodem:简单通用,传输信息单位是“包=128B”,传输速度慢,适合电话线路质量差的情况下用  
  ymodem:由XMODEM演变来,效率可靠性高,包=128*8B;一次传输可发送或接受几个文件  
  zmodem:于上两种不同,已连续的数据流发送数据,效率更高

XMODEM, YMODEM, and ZMODEM
This section deals with uploading and downloading files from you home computer over a modem. Two programs will be illustrated: sx sb sz , and kermit.

Sx rx, sb rb, and sz rz implement the xmodem, ymodem, and zmodem file transfer protocols respectively.


XMODEM
Xmodemis one of the most widely used file transfer protocols. The original Xmodem protocol uses 128-byte packets and a simple "checksum" method of error detection. A later enhancement, Xmodem-CRC, uses a more secure Cyclic Redundancy Check (CRC) method for error detection. Xmodem protocol always attempts to use CRC first. If the sender does not acknowledge the requests for CRC, the receiver shifts to the checksum mode and continues its request for transmission.

Xmodem-1K

Xmodem 1K is essentially Xmodem CRC with 1K (1024 byte) packets. On some systems and bulletin boards it may also be referred to as Ymodem. Some communication software programs, most notably Procomm Plus 1.x, also list Xmodem-1K as Ymodem. Procomm Plus 2.0 no longer refers to Xmodem-1K as Ymodem.


YMODEM
Ymodem is essentially Xmodem 1K that allows multiple batch file transfer. On some systems it is listed as Ymodem Batch.

Ymodem-g

Ymodem-g is a variant of Ymodem. It is designed to be used with modems that support error control. This protocol does not provide software error correction or recovery, but expects the modem to provide the service. It is a streaming protocol that sends and receives 1K packets in a continuous stream until instructed to stop. It does not wait for positive acknowledgement after each block is sent, but rather sends blocks in rapid succession. If any block is unsuccessfully transferred, the entire transfer is canceled.


ZMODEM
Zmodem is generally the best protocol to use if the electronic service you are calling supports it. Zmodem has two significant features: it is extremely efficient and it provides crash recovery.

Like Ymodem-g, Zmodem does not wait for positive acknowledgement after each block is sent, but rather sends blocks in rapid succession. If a Zmodem transfer is canceled or interrupted for any reason, the transfer can be resurrected later and the previously transferred information need not be resent.

分享到:
评论

相关推荐

    xmodem ymodem zmodem 协议代码实现

    比较完成的基于xmodem ymodem zmodem 协议代码实现

    超级终端工具(支持Xmodem、Ymodem、Zmodem)

    超级终端工具,实用强大。可用作常规的串口工具,支持多种通讯协议包括Xmodem、Ymodem、Zmodem等。好用方便。

    Delphi 串口文件传输, VaComm64+XModem协议+YModem协议+ZModem协议,串口指令,串口调试源代码

    Delphi 串口文件传输, VaComm64+XModem协议+YModem协议+ZModem协议,串口指令,串口调试源代码。

    lrz_lsz.rar

    lrz lsz Xmodem Ymodem Zmodem 传输工具,基于arm64 android8 编译,理论支持所有arm64 linux Android 平台

    lrzsz-arm-bin

    Linux下ztelnet 的rz、sz源码,包含XMODEM, YMODEM ZMODEM 文件传输协议 压缩包中包括使用说明 源码 和编译好的文件

    Xmodem串口下载工具

    不仅是一个串口工具,同时也支持XMODEM、YMODEM、ZMODEM协议文件下载

    基于Ymodem协议串口升级程序的实现过程

    在实现了简单的串口更新代码之后,便开始考虑到了传输的数据的完整性、正确性和安全性,因此想到了在数据传输中添加通信协议,最常用的通信传输协议有:XModem、YModem、ZModem等,此次选用的协议是YModem协议。...

    Modem的文件传输协议与AT命令集

    同其他数据通信方式类似,Modem间的通信也需要利用协议来完成。一般称这些协议为文件的传输协议。其中较著名的有X Modem协议、Y Modem协议、Z Modem协议、...主要介绍了XMODEM,YMODEM,ZMODEM,KERMIT文件传输协议

    串口ymodem传输文件

    串口传输文件可以采用三种协议xmodem、ymodem、zmodem,本程序只做针对ymodem协议的实现,包括发送方的程序和接收方的程序,下载后在linux平台下执行make即可用,已通过多次测试。

    mcuxmx-SerialDebug-master.zip

    C#源码串口工具,带Xmodem、Ymodem,检验功能多种发送方式,多种接收方式.目前来看是功能很全的串口工具.

    The ZMODEM Inter Application File Transfer Protocol.pdf

    本文档为ZModem传输协议,有需要的可以参考,相比较与Xmodem以及Ymodem协议,Zmodem协议的下载效率更高,备注:英文原版

    win7 超级终端

    作为软件开发者,常常需要用到windows XP中的超级终端,其虽然有些缺点,比如无法搜索内容等,但是优点很明显,免费,简单易用,而且还支持kermit/Xmodem/Ymodem/Zmodem等协议以发送文件,还是很不错的。 但是很多人...

    TTERMPRO.rar

    古老的TTERMPRO工具,它的串口工具支持Kermit、Xmodem、Ymodem、ZModem等通信协议,其中XModem和YModem协议采用的是CRC16_XModem校验法则。虽然少用,但效果拔群

    securecrt.rar

    SecureCRT工具,安装方便;支持Xmodem,Ymodem,Zmodem协议传输;

    lrzsz-0.12.20.tar.gz

    RZ是Linux提供的上传的命令,基于XMODEM/YMODEM/ZMODEM协议。

    Pcomm链接库 很好用的哦

    一个用于串口传输的库,可以实现Xmodem,Ymodem,Zmodem协议的传输

    zmodemjs:zmodem.js-JavaScript中的ZMODEM

    zmodem.js-适用于JavaScript的ZMODEM 概要 let zsentry = new Zmodem.Sentry( { to_terminal(octets) { .. }, //i.e. send to the terminal sender(octets) { .. }, //i.e. send to the ZMODEM peer on_detect...

    超级终端(串口文件传输)

    可用于向开发板传输文件,比如裸机程序,支持Kermit、Xmodem、Ymodem、Zmodem等协议。

Global site tag (gtag.js) - Google Analytics