A modem translates digital data originating in a digital device, such as a computer, to an analog signal so that it can be transmitted on an analog telephone line to another digital device. The modem also translates the incoming analog signal originating in the other digital device to digital data for the digital device. Thus, the analog telephone line can be used to transmit data between digital devices.
In order for a modem to transmit data to another modem, the calling (originating) modem dials the telephone phone number of the answering (terminating) modem. The General Switched Telephone Network (“GSTN”) (the Public Switched Telephone Network, (“PSTN”), is an instance of a GSTN) rings the answering modem indicating an incoming call. The answering modem goes off-hook to accept the call. A GSTN switched connection now exists between the calling modem and the answering modem. The modems go through a series of training steps, to adjust to each other's characteristics, and to the characteristics of the switched connection. These training steps can include Answer Back Tone (“ABT”) and other modem detect signals, V.8, V.8bis, auto-mode, and the negotiation of error correction and data compression. These steps are defined by the International Telecommunications Union (“ITU”) V series of modem recommendations and other modem specifications including Flex and MNP5 compression. ITU V series modem recommendations include, for example, V.8, V8bis, V.42, V.42bis, V.21, V.22bis, V.32, V.32bis, V.34, V.90 and V.92.
Real-time audio, such as a telephone conversation originating on an analog telephone line, may be transmitted over a packet network such as, the Internet using Voice over Internet Protocol (“VoIP”). VoIP may be used instead of a GSTN switched connection in order to avoid incurring charges for a long distance telephone call. One standard VoIP protocol for encapsulating real-time audio data is the Real-Time Transport Protocol (“RTP”) (Request for Comments (“RFC”) 1889, January 1996) available on the Internet Engineering Task Force (“IETF”) web site.
To transmit voice data over the Internet, a packet transmitter in the source Internet node encodes the analog voice signal, stores the encoded data in the payload of one or more data packets, and transmits the data packet over the Internet. Each data packet includes a destination address in a header included in the data packet.
Modem and Voice transport services are inherently part of a traditional GSTN network. Thus, a VoIP gateway must support both modem and voice. One known method for supporting modem service over VoIP transport is called modem pass-through. Modem pass-through emulates a GSTN network when transporting a G.711 Pulse Code Modulation (“PCM”) stream. To implement modem pass-through, VoIP sets its encoder/decoder (CODEC) to PCM, disables the echo canceler and fine tunes the voice play out for handling de-jitter of arriving RTP data packets.
Voice activity detection (“VAD”) is a method used by VoIP to detect the start of a period in which audio received from the GSTN network does not contain spoken words. The period in which the audio does not contain spoken words is sometimes called “a period of silence”. Upon detecting a period of silence, the transmitter gateway stops transmitting data packets onto the VoIP network. During the period of silence, the remote gateway generates comfort noise and transmits the comfort noise to the GSTN network. However, when transmitting data between modems, there is no “period of silence” while the connection is idle, because of the requirement to keep the connection between the modems alive. Thus, using VoIP to transfer data between modems consumes Internet bandwidth by transferring unnecessary idle data packets over the Internet while the connection is idle.
The present invention provides a method for reducing Internet bandwidth for a VoIP modem relay by not transmitting idle data packets between Internet nodes. The method is implemented in an Internet node.
A first modem is coupled to the Internet node and a second modem is coupled to another Internet node. Upon detecting no data received from the other Internet node to transmit to the first modem, the Internet node regenerates idle data to transmit to the first modem. Upon detecting idle data received from the first modem to forward to the other Internet node, the Internet node drops the detected idle data.
The idle data may be ‘FF’ or ‘7E’. The Internet node may be an Internet Gateway.
An Internet node includes an idle detect module and an idle generate module. The idle detect module detects idle data received from a first modem coupled to the Internet node and drops the detected idle data. The idle generate module regenerates idle data to transmit to the first modem upon detecting no data received from a second modem coupled to another Internet node.
The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular description of preferred embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.
A description of preferred embodiments of the invention follows.
With the convergence of voice and data over an IP Network 102, a user can initiate and terminate modem or telephone services at any access point on the GSTN 100 or the IP Network 102 such as, at modem 112a, modem 112b, or modem 112c as shown. A VoIP gateway 110a, 110b can be a residential or a trunking gateway. A VoIP Gateway 110a, 110b allows the user to bypass the IC 114 to avoid incurring charges for a long distance telephony call. The links, AEFGHD, IJFEA, and IJGHD, are examples of connection paths that utilize the IP Network 102 and bypass the IC 114.
The modem relay processing module 270 includes a modulator module 228, demodulator module 230, a framer module 232, a deframer module 234, a modem relay decapsulation module 240, a modem relay flow control module or synchronization module 242 and a modem relay encapsulation module 244. The modulator module 228 and demodulator module 230 implement the transmission layer function of a modem. The modulator module 228 and demodulator module 230 perform modem training and data transmission according to the International Telecommunications Union (“ITU”) V.PCM, V.34, V.32, V.22, or V.21 specifications. The framer module 232, and deframer module 234 perform the modem link layer function which is defined by ITU V.42 and Microcom Networking Protocol (“MNP”) specifications.
Flow control is required because each end of a modem connection AE (
The method implemented in a client modem 112a, 112b, 112c (
A modem packet header is encapsulated as RTP payload. A modem packet header includes flow control bits, to maintain modem connection. Flow control compensates for the rate difference between the gateways 110a, 110b, 110c (
Modem relay solves the problem of network timing recovery and unreliable delivery of packets over an IP network by performing modulation and demodulation at a VoIP gateway 110a, 110b (
The modem relay processing module 270 encapsulates an incoming Pulse Code Modulated (“PCM”) stream 252 in an RTP packet. The Demodulator module 230 receives a PCM stream from the GSTN Interface Driver 226 and performs demodulation of the PCM stream according to the ITU V Series of modem specifications to provide a bit stream. The Deframer module 234 performs deframing of the bit stream according to V.42 or MNP specifications. The modem relay encapsulation module 244 performs encapsulation of data into a modem relay packet, by storing the data in the modem relay payload and control information in the modem relay header and further encapsulates the modem relay packet into an RTP packet. The Modem Relay flow control module 242 looks at the RTP packet buffer memory (not shown). Once the RTP packet buffer memory reaches a certain water mark level, the modem relay flow control module 242 signals the Modem Relay encapsulation module 244 to set flow off bits. The flow off bits are in the modem relay flow control module 242. The modem relay flow control module 242 sets the flow control information bit in the modem relay header to ‘off’ in the RTP packet as an indication to the remote gateway 110a, 110b (
The modem relay processing module 270 converts user data encapsulated in an RTP packet received from the data network interface driver 234 to outgoing PCM data 252 which is forwarded to the GSTN interface driver 226. The Modem Relay Decapsulation module 240 processes an incoming RTP packet 260 and performs Decapsulation of a modem relay packet by extracting the data stored in the payload of the incoming RTP packet 260. The Framer module 232 performs framing of the frame information received from the error correction module according to V.42 or MP specifications. The Modulator 228 takes the bit stream received from the framer module 232 and performs modulation according to ITU V Series of modem specifications.
The framing-data is relayed without error correction, or data compression processing. Framing-data is encapsulated into an RTP packet as payload of an RTP packet, and relayed among the gateways 110a, 110b (
The Call Control Manager 222 manages a VoIP call session. The call control manager 222 uses standard VoIP protocols such as H.323, xGCP and SIP to control the VoIP call session. The Call Control Manager 222 can signal and receive signals from the Voice Processing Module 202 and Modem Relay Processing module 270 using software message queues.
The deframer module 234 includes an idle detect module 274. The framer module 232 includes an idle generate module 272. The idle detect module 274 detects idle data in the PCM stream. Idle data can be ‘FF’ or ‘7E’ dependent on the negotiated error correction protocol. The idle data received by the deframer 234 is not forwarded over the VoIP connection. Instead, the deframer 234 drops the idle data.
The framer 232 detects an idle period when no RTP packets are being received. In order to maintain the modem connection (keep the modem connection alive), the idle generate module 272 in the framer 232 generates ‘idle flags’ to be transmitted over the PCM connection.
In one embodiment, the modem relay header 306 is 8 bits and includes a control message identification bit 308 and a flow control information bit 310. The modem relay data payload 312 is framed-data or user-data depending on the method of modem relay. The state of the message bit 308 indicates whether the modem relay data payload 312 includes modem relay messages. The state of the flow control bit 310 indicates whether flow control is “on” or “off”. For example, if the message bit 308 is ‘1’, and the flow control bit 310 is ‘1’, the modem relay data payload 312 includes a modem relay message and flow control is “off”.
At step 400, the Originating Modem 112a (
At step 402, the Originating Gateway 110a (
At step 404, the Terminating Gateway 110b (
At step 408, the Answering Modem 112b (
At step 410, the modem detector module 220 (
At step 412, the call control manager 222 (
At step 414, the terminating gateway 110b (
The Gateways 110a, 110b (
At step 416, the terminating gateway 110b and originating gateway 110a (
At step 418, the modem detector module 270 (
At step 419 and 421, at successful completion of modem training, a Modem Relay Status message is sent to remote gateway. The modem relay status message contains modem relay status such as connection rate, retrain or speed shift. The modem relay status message is used to signal the start of modem relay data transfer. The modem relay payload 412
At step 422, once both sides have received a Modem Relay Status, the modem is in connect state and Framing-data is encapsulated as modem relay packet in an RTP payload.
At step 420, the call control manager 222 (
Client modems now start link negotiation for error correction protocol and compression parameters. Link negotiation is defined in the V.42 and MNP standards.
At step 424, after the link negotiation is complete, end to end framing-modem connection is established. Once both sides have completed training, modem modulation modules (modulator and demodulator) can transmit data.
At step 500, the idle detect module 274 (
At step 502, while idle flags are detected by the idle detect module 274 (
At step 504, idle flags are not received. The deframer 234 (
At step 506, the call control manager 222 (
At step 508, the call control manager 222 (
At step 600, if the framer 232 (
At step 602, the framer 232 (
At step 604 the modem connection is not idle, the framer 232 (
At step 606, the call control manager 222 (
At step 608, the call control manager 222 (
It will be apparent to those of ordinary skill in the art that methods involved in the present invention may be embodied in a computer program product that includes a computer usable medium. For example, such a computer usable medium may consist of a read only memory device, such as a CD ROM disk or conventional ROM devices, or a random access memory, such as a hard drive device or a computer diskette, having a computer readable program code stored thereon.
While this invention has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention encompassed by the appended claims.
This application claims the benefit of U.S. Provisional Application No. 60/220,595, filed on Jul. 25, 2000. The entire teachings of the above application are incorporated herein by reference. This application is related to U.S. patent application entitled “Modem Relay Application over VoIP Network,” by Lewis et. al., U.S. patent application Ser. No. 09/894,725, filed on Jun. 28, 2001, now abandoned, the entire teachings of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4567595 | Hedlund | Jan 1986 | A |
4646287 | Larson et al. | Feb 1987 | A |
5343473 | Cidon et al. | Aug 1994 | A |
5682417 | Nitta | Oct 1997 | A |
5721726 | Kurnick et al. | Feb 1998 | A |
5959996 | Byers | Sep 1999 | A |
6295314 | Cole | Sep 2001 | B1 |
6445731 | Yamano et al. | Sep 2002 | B1 |
6535521 | Barghouti et al. | Mar 2003 | B1 |
6757250 | Fayad et al. | Jun 2004 | B1 |
6765931 | Rabenko et al. | Jul 2004 | B1 |
6788651 | Brent et al. | Sep 2004 | B1 |
6798786 | Lo et al. | Sep 2004 | B1 |
6829244 | Wildfeuer et al. | Dec 2004 | B1 |
6865220 | Abrishami | Mar 2005 | B2 |
6870837 | Ho et al. | Mar 2005 | B2 |
6934280 | Ho et al. | Aug 2005 | B1 |
7095708 | Alamouti et al. | Aug 2006 | B1 |
7113501 | Garakani et al. | Sep 2006 | B2 |
20020064137 | Garakani et al. | May 2002 | A1 |
20020164002 | Beadle et al. | Nov 2002 | A1 |
20030012152 | Feldman et al. | Jan 2003 | A1 |
20030123466 | Somekh et al. | Jul 2003 | A1 |
20030133461 | Ho et al. | Jul 2003 | A1 |
20030210677 | Grove et al. | Nov 2003 | A1 |
20040022241 | Boynton et al. | Feb 2004 | A1 |
20040218739 | Nicol | Nov 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
60220595 | Jul 2000 | US |