Data Compression and Error Control

written by: Leon Tufallo; article published: year 2007, month 09;


In: Categories » Computers and technology » Data compression » Data Compression and Error Control

Data compression results depend on the type of data being compressed. Some types, such as ASCII files, can be compressed quite a bit. Other types of data can compress only a little. Even though certain software applications can be used to achieve data compression, normally it's better to leave this operation up to the modem. This is because modem hardware compression algorithms are faster than the ones used by host software.

Compression normally works with error-correction algorithms. Error detection and correction techniques can be used to guarantee data integrity at any transmission speed. Two examples of such techniques are

  • Microcom Networking Protocol (MNP)

  • Link Access Procedure for Modems (LAP-M)

V.42bis and MNP5 are the compression algorithms that commonly operate over LAP-M or MNP4 correction. The V.42 and V.42bis compression algorithms can be implemented in V.32 and V.34 modems as well as in other equipment with lower speed capability. In theory, V.42bis can provide the 4:1 compression ration. However, in practice, this is rarely accomplished.

V.42bis compression is achieved when both communicating modems agree to use it. In such instances, the software compression option should be turned off. If hardware compression is used, the data transfer between the DTE and DCE can occur at a higher speed.

Modem Modulation Standards

ITU-T defines a number of modem modulation standards, as shown in the table below.

On top of various ITU standards, manufacturers have devised their own versions of modems. This causes some interoperability issues among different kinds of modems, even when the modems come from the same vendor:

Modulation Standards
Standard Description
V.32bis Finalized in July 1991.
V.34 Finished in June 1994.
V.34 annex 12 Supports 33.6 Kbps transmit and receive operation. If compression is used, a transmission rate of up to 133.8 Kbps is possible if the PC can deal with this speed.
V.90 The 56 Kbps standard is the most recent one. Most modem manufacturers now have products that meet this standard. This is despite the fact that a data rate of 53 Kbps is the maximum permitted within the U.S.

When V.34 modems are properly configured, they can adapt to line conditions. Initially, two modems attempt to establish a call at 28.8 Kbps. If this transmission speed isn't possible because of line conditions, the modems can continue to reduce the speed in 2.4 Kbps increments all the way down to a minimum speed of 2.4 Kbps. By the same token, the modems try to increase the speed when line conditions improve.

In contrast, older modems can negotiate a fixed transmission rate only during handshaking, thus continuing transmission at the speed agreed to at the outset by the two modems. This situation might result in a connection failure if an older modem's line becomes particularly bad. If the line quality improves down the road, older modems still can't take advantage of greater bandwidth.

The access server is unaware of modulations, because it is only directly involved with DTE-to-DCE communication. However, the access server-to-modem speed must consider the modulation speed and compression ratio to achieve the best end-to-end performance.

The Relationship Between Modem Speeds and Compression Ratios

DCE-to-DCE speed is modem-to-modem communication speed across the telephone network. DTE-to-DCE speed is the communication speed between the computer and the modem attached to it. If you want to gain maximum benefits from compression, the PC should clock the modem at its speeds equal to the potential compression ratio. In a PC, the DTE should set the modem at its fastest rate to take advantage of compression.

The EIA/TIA-232 serial interface (COM port), found on PCs and some Macs, is sometimes used with Universal Asynchronous Receiver Transmitters (UARTs) and character-oriented communication packages. However, these features are unreliable at higher data rates, and the speed of the interface might fall a good deal short of the full potential of V.34.

If a modem isn't configured properly, it might automatically alter DTE-DCE speeds so that they match DCE-DCE speeds. This is often called speed mismatch. You can prevent speed mismatch by locking the DTE-DCE speed so that it remains the same as originally configured. This speed-locking procedure is called speed conversion. It is also known as port-rate adjustment or buffered mode.

The table below shows the maximum theoretical speeds possible for selected modem modulation standards. You can also see the possible speeds where V.42bis compression is used with the same standards.

Maximum Theoretical Speeds for Modulation Standards
Standard Speed Maximum Speed with 4:1 V.42bis Compression
V.90 56000 224000
V.34 28800 115200
V.32 turbo 19200 76800
V.32bis 14400 57600
V.32 9600 38400

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.