ZyXEL U-1496S Plus User Guide - Page 59

Nine, Error Control And Data Compression - size

Page 59 highlights

Chapter Nine - ERROR CONTROL AND DATA COMPRESSION ERROR CONTROL Error Control keeps the modem data link error free by detecting and retransmitting the data in error. ZyXEL modems support both MNP and V.42 error control protocols. The MNP protocol was an industry de facto standard developed and licensed by Microcom, Inc. ZyXEL modems support level 4 and 3 error control protocols, commonly denoted as MNP4 and MNP3. V.42 is a newly developed standard by CCITT - the international telecommunications standard making organization. V.42 supports both LAPM (Link Access Procedure for Modem), and MNP4. V.42 handshake will try an LAPM connection first, if not successful, it will try MNP4. The error control (MNP4, LAPM) methods used on modem to modem connections are based on techniques utilized by both modems. These techniques are explained below. 1. Asynchronous to Synchronous Conversion Error control function can be applied only when the DTE (terminal or computer) to DCE (modem) interface is asynchronous. If the interface is synchronous, then the hosts on both sides will do the error control function. Modem converts asynchronous characters to synchronous data stream. Error control protocol (LAPM or MNP4) removes the start and stop 'framing' bits in the asynchronous format and forms the data stream into blocks. Every block is framed by a start flag (01111110) and an end flag (01111110). The maximum data block size used in the U-1496 series is 256 bytes. The maximum number of outstanding blocks without acknowledgements is 31 for 128-byte blocks. These values are adjustable according to the modem on the other side. 2. CRC (Cyclical Redundancy Check) Error Detection At the end of every data block, a 16-bit number CRC which is calculated through a polynomial function is sent. The receiving modem receives the block, calculates its own CRC through the same polynomial function, then compares the number. If it is the same as the received CRC, everything is alright. If not, an error(s) has occurred somewhere in the block. The modem checks every block received for error(s). 3. Automatic Re-transmission Request (ARQ) Error Correction Once a data block is received error free, the receiving modem will acknowledge this block immediately. The sending modem receives the acknowledgement and will check if any block(s) is(are) not acknowledged. Let us assume 18 blocks were transferred and the first 14 blocks were acknowledged. If no acknowledge for block 15 is received in a given time, this block must have been damaged. Acknowledgments of blocks 16 through 18 are ignored. Blocks 15 through 18 are resent. 4. ARQ Error Correction with Selective Reject ZyXEL modems support V.42 error control with selective reject. Using this feature, the mode only resends the data block(s) in error, not all the data blocks starting from the one in error (just block 15 in above example). This saves retransmission time, greatly improving efficiency in high error rate conditions. Error control protocols can detect and recover almost 100% of errors to make an error-free transmission.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Chapter Nine -
ERROR CONTROL AND DATA COMPRESSION
ERROR CONTROL
Error Control keeps the modem data link error free by detecting and retransmitting the data in
error. ZyXEL modems support both MNP and V.42 error control protocols. The MNP protocol
was an industry de facto standard developed and licensed by Microcom, Inc.
ZyXEL modems
support level 4 and 3 error control protocols, commonly denoted as MNP4 and MNP3. V.42 is a
newly developed standard by CCITT - the international telecommunications standard making
organization. V.42 supports both LAPM (Link Access Procedure for Modem), and MNP4. V.42
handshake will try an LAPM connection first, if not successful, it will try MNP4.
The error control (MNP4, LAPM) methods used on modem to modem connections are based on
techniques utilized by both modems. These techniques are explained below.
1. Asynchronous to Synchronous Conversion
Error control function can be applied only when the DTE (terminal or computer) to DCE (modem)
interface is asynchronous. If the interface is synchronous, then the hosts on both sides will do the
error control function. Modem converts asynchronous characters to synchronous data stream.
Error control protocol (LAPM or MNP4) removes the start and stop 'framing' bits in the
asynchronous format and forms the data stream into blocks. Every block is framed by a start flag
(01111110) and an end flag (01111110). The maximum data block size used in the U-1496
series is 256 bytes. The maximum number of outstanding blocks without acknowledgements is
31 for 128-byte blocks. These values are adjustable according to the modem on the other side.
2. CRC (Cyclical Redundancy Check) Error Detection
At the end of every data block, a 16-bit number CRC which is calculated through a polynomial
function is sent. The receiving modem receives the block, calculates its own CRC through the
same polynomial function, then compares the number. If it is the same as the received CRC,
everything is alright. If not, an error(s) has occurred somewhere in the block. The modem checks
every block received for error(s).
3. Automatic Re-transmission Request (ARQ) Error Correction
Once a data block is received error free, the receiving modem will acknowledge this block
immediately. The sending modem receives the acknowledgement and will check if any block(s)
is(are) not acknowledged. Let us assume 18
blocks were transferred and the first 14 blocks were
acknowledged. If no acknowledge for block 15 is received in a given time, this block must have
been damaged. Acknowledgments of blocks 16 through 18 are ignored. Blocks 15 through 18 are
resent.
4. ARQ Error Correction with Selective Reject
ZyXEL modems support V.42 error control with selective reject.
Using this feature, the mode
only resends the data block(s) in error, not all the data blocks starting from the one in error (just
block 15 in above example).
This saves retransmission time, greatly improving efficiency in high
error rate conditions.
Error control protocols can detect and recover almost 100% of errors to make an error-free
transmission.