xmodem

Xmodem是在1978年由Ward christensen創建的用於數據機糾錯的協定,它實際上已經成了標準。

基本介紹

  • 中文名:xmodem
  • 外文名:XMODEM Protocol
  • 所屬類別:網路
  • 概述:異步檔案運輸協定
簡介,英文版,

簡介

Xmodem是在1978年由Ward Christensen創建的用於數據機糾錯的協定,它實際上已經成了標準。使用此協定的調製解散調節器傳送的數據包大小為128-byte 。如果包成功接收,接收方會返回一個肯定應答信號(ACK),如果發現錯誤,則返回一個否定應答信號(NAK)並重新傳送數據包。Xmodem使用奇偶校驗作為查錯控制的方法。
這種協定以128位元組塊的形式傳輸數據,並且每個塊都使用一個校驗和過程來進行錯誤檢測。如果接收方關於一個塊的校驗和與它在傳送方的校驗和相同時,接收方就向傳送方傳送一個認可位元組。然而,這種對每個塊都進行認可的策略將導致低性能,特別是具有很長傳播延遲的衛星連線的情況時,問題更加嚴重。
使用循環冗餘校驗的與XMODEM相應的一種協定稱為XMODEM-CRC。還有一種是XMODEM-1K,它以1024位元組一塊來傳輸數據。ZMODEM是最有效的一個XMODEM版本,它不需要對每個塊都進行認可。事實上,它只是簡單地要求對損壞的塊進行重發。ZMODEM對按塊收費的分組交換網路是非常有用的。不需要認可回送分組在很大程度上減少了通信量。
YMODEM也是一種XMODEM的實現。它包括XMODEM-1K的所有特徵,另外在一次單一會話期間為傳送一組檔案,增加了批處理檔案傳輸模式。

英文版

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 Ym

相關詞條

熱門詞條

聯絡我們