Link Access Procedure for Modems: Difference between revisions

Content deleted Content added
mNo edit summary
Adding short description: "Error correction protocol for modems"
 
(18 intermediate revisions by 17 users not shown)
Line 1:
'''LAPM''',{{Short or Link Access Procedure for Modems, is part of the [[V.42]] [[errordescription|Error correction]] [[Communications protocol|protocol]] for [[modems]].}}
'''Link Access Procedure for Modems''' ('''LAPM''') is part of the [[ITU-T V.42|V.42]] [[error correction]] [[Communications protocol|protocol]] for [[modems]].<ref>ITU-T Recommendation V.42: [http://www.itu.int/rec/T-REC-V.42/en Error-correcting procedures for DCEs using asynchronous-to-synchronous conversion]</ref>
 
LAPM is an error control protocol defined in ITU-T recommendations V.42. Like many [[data link layer]] protocols, it is a variant of [[HDLC]]. Like the [[Microcom Networking Protocol]]s that preceded it, LAPM uses cyclic redundancy checking (CRC) and retransmission of corrupted data (ARQ) to ensure data reliability.
<blockquote>
 
Error control protocols such as LAPM use frames of variable lengths, each beginning with a header and ending with a [[frame check sequence]] trailer (a [[cyclic redundancy check]]). Correctly received packets are acknowledged, and unacknowledged packets are automatically retransmitted ([[Automatic repeat-request|ARQ]]).
LAPM is an error control protocol defined in ITU-T recommendations V.42. Like the MNP protocols, LAPM uses
cyclic redundancy checking (CRC) and retransmission of corrupted data (ARQ)
to ensure data reliability.<br />
Error control protocols such as LAPm use frames of variable lengths.The bigger
data content handled by each frame, the less the relative share of the overhead
bits. Usually LAPm adds only about 5 percent framing overhead.<br />
LAPm has a optional Selective reject (SREJ) functionality which allows it to
resend only the corrupted frames. This in turn provides much faster recovery
from an error than in Async protocol.<br />
The modems using LAPm saves up to 20% of the bandwidth as compared to the Async
protocol.<br />
The ITU-T V.42 LAPM procedure is considered as more robust than MNP(Microcom
Network Protocol), and has a more sophisticated and powerful data compression
option in V.42bis, allowing much greater data throughput.<br />
V.42bis uses a string encoding algorithm called BTLZ, in which frequently occurring
strings of characters are replaced by code words. The "dictionary" of strings
is dynamically maintained during transmission and keeps track of changes in the
data; new strings are added and old strings are deleted. As the data may not always
be compressible (for example encrypted or pre-compressed data) the modem has the
ability to switch between compressed and uncompressed modes of operation. Compre-
ssion performance is continually monitored and, if no compression is obtained,
the modem transmits the data in uncompressed form. Even while in uncompressed mode,
the modem monitors the characteristics of the data and switches compression back
on as soon as some benefit can be achieved. <br />
 
The larger the [[Payload (computing)|payload]] included in each frame, the smaller the relative cost of transmitting the header and trailer bits. Usually LAPM adds only about 5 percent framing overhead. This is a noticeable improvement over the fixed 25% overhead of start and stop bits required by direct [[asynchronous serial communication]], but obviously such large frames impose a cost in the form of [[Latency (engineering)|communication latency]].
</blockquote>
 
{{com-stub}}
LAPM has an optional ''selective reject'' (''SREJ'') functionality which allows it to resend only the corrupted frames, providing faster recovery from an error.
[[category:modems]]
 
The ITU-T V.42 LAPM procedure is considered more robust than the [[Microcom Networking Protocol]]s (MNP) that preceded it, and has a more sophisticated and powerful data compression option in V.42bis, allowing much greater data throughput.
 
[[ITU-T V.42bis]] added a string compression algorithm called [[BTLZ]] ([[British Telecom]] [[Lempel Ziv]]), in which frequently occurring strings of characters are replaced by code words. The "dictionary" of strings is dynamically maintained during transmission and keeps track of changes in the data; new strings are added and old strings are deleted. As the data may not always be compressible (for example encrypted or pre-compressed data) the modem has the ability to switch between compressed and uncompressed modes of operation. Compression performance is continually monitored and, if no compression is obtained, the modem transmits the data in uncompressed form. Even while in uncompressed mode, the modem monitors the characteristics of the data and switches compression back on as soon as some benefit can be achieved.
 
==See also==
* [[Point-to-Point Protocol]] (PPP)
 
==References==
{{reflist}}
 
[[Category:Modems]]
[[Category:Link access protocols]]