The present invention relates to the field of transcoding of voice data. In general, transcoding is the process of converting one format of the voice data into another.
Internet telephony, known as voice over IP (VOIP) is becoming a realistic, cost effective alternative to the traditional public switched telephone networks (PSTNs).
In general, most VOIP applications use a voice encoding format that is different from the voice encoding format used by PSTN networks. Because of the different voice formats used, many of the functionalities that exist for PSTN are not available to VOIP applications unless the functionality is built directly into the VOIP application.
Voice converters and transcoders (VCs) that convert voice data from one format to another are known and may be used to convert data supplied by a VOIP application to PSTN format to allow the VOIP application to utilize PSTN functionalities such as automatic speech recognition (ASR) and text to speech conversion (TTS). The VC may also convert the output of a PSTN functionality to VOIP format. Existing VCs provide such a service by using dedicated DSP resources. A dedicated DSP resource is an entity that is allocated to the voice channel at the very beginning of a process and remains allocated as long as the channel is in use. The DSP resources used to perform transcode operation are full duplex. Both PSTN as well as VOIP networks are also full duplex in nature. Hence to handle a full duplex network a full duplex DSP resource was created, dedicated and used.
Although almost all of the DSP resources are full duplex in nature, most human interaction is half-duplex in the nature and most of the applications operate based on this half-duplex interaction. For example, almost all of the users who use telecommunication applications such as voice mail and informational services applications do not talk as well as listen at the same time. Accordingly, it is not necessary for an application to dedicate and allocate DSP resources for the entire duration of the application.
Based on the above observations, all of these existing applications use the DSP resource to less than 50% of the their capabilities. From this it is evident that an improved voice converter that may utilize the DSP resources more effectively and efficiently is required. Furthermore such a system should be capable of handling huge number of subscribers.
By virtue of this invention it is now possible to economically mix and match various functional components from VOIP and PSTN networks.
According to one aspect of the present invention, a method and a mechanism allows transcoding and scheduling two independent voice data streams from two distinct and different subscribers on to the same fill duplex DSP resource.
In one embodiment the voice converter waits for a request for conversion resource on TCP/IP. Based on the type of transcoding that was requested it, the voice converter will allocate a half-duplex resource, perform a transcode operation, and send output data over a User Datagram Protocol (UDP) interface.
According to another aspect of the invention, look-ahead buffers are utilized to mask network latency and provide a continuous stream of data to the DSP resources.
According to another aspect of the invention, data is transferred in packets having session numbers. The session numbers are utilized to identify different data streams using a single DSP resource.
A further understanding of the nature and advantages of the invention herein may be realized by reference to the remaining portions of the specification and the attached drawings.
VC (Voice Converter): VC is a server that can convert one voice data format into another. For this particular embodiment, the VC converts pulse code modulation (PCM) voice data (PSTN type data) into G723.1 format (VOIP type data) and vice versa.
GAS (Gateway Access Server): GAS is the server that runs the telecommunication applications. It has a functional component called voice bridging that enables external systems and features to be integrated into the data path of the application running on the GAS.
TTS (Text To Speech Server): The TTS server is responsible for converting text into speech that can be played to the user. Some of the applications that use this feature implement listening to email and other text based content from the phone.
ASR (Automatic Speech Recognition): The ASR server is responsible for recognition of voice data sent to it and translating it to text that is sent back to the requester.
Existing TTS and ASR servers have been designed to provide functionality to PSTNs and therefore are designed to process voice data in PCM format. Accordingly, a VOIP application requires a VC to utilize these resources.
The art of transcoding using standard DSP resources, such as chip sets manufactured by Texas Instruments, is well known and will not be addressed in detail here. The intelligent voice converter of the present embodiment enables VOIP applications to efficiently use external functional modules like TTS and ASR. In the following, an upstream resource transcodes a VOIP data format, such as G723.1 or G729 etc., to standard PSTN format, such as Pulse Code Modulation (PCM), and a downstream resource transcodes standard PSTN formats to VOIP formats.
The TCP/IP and UDP/IP API 22 utilizes a TCP port to call the voice converter command port. The voice converter command port will wait on the TCP/IP socket for a request. When the command port receives the request it will analyze the request and will identify whether the request is an upstream request or if it is a down stream request. At this point the voice converter command port will dispatch the request to either the upstream resource manager or to the down stream resource manager.
As stated above, each of the DSP resources 30 is divided into two parts: the upstream resource 32 and a down stream resource 34. Each of these resources is a half-duplex channel which together form a fill duplex DSP resource. Each of the two half-duplex resources 32 and 34 are assigned to a respective resource manager 24 and 26 where each resource manager maintains a table indicating the availability of each half-duplex resource so that an available resource may be scheduled to satisfy application transcoding requests.
Upstream Resource Manager:
The upstream resource manager 24 is responsible for keeping track of up stream DSP resource availability and scheduling. The USRM 24 waits for application requests for up stream conversion and accepts a request if resources are available. The USRM 24 then receives a first buffer of voice data from the application for conversion, keeps the first buffer of data in a look-ahead buffer, and then waits for one more voice data buffer for conversion. After receiving a minimum of two voice buffers filled with data USRM 24 will forward data to the upstream resource to start the conversion.
A look-ahead buffer is kept because, once the conversion is started on a DSP resource 30, buffers must continually be fed to the DSP 30. As described above, the DSP resource 30 is designed for use with a PSTN. In the PSTN, data is supplied at a continuous rate so that the DSP resource 30 is designed to output data at a continuous rate. If no data is received the DSP resource 30 outputs silence frames. Thus, if, for any reason, the next buffer is not ready because of network latency, etc. then the DSP 30 will start generating silence frames as the output and the DSP resource 30 will always output data at continuous bit rate. Silence frames may cause the transcoded voice to be unintelligible to a listener. The look-ahead cache buffer will mask any network latency in receiving data, always making sure that enough data is available to feed to the DSP 30 and hence ensuring the quality of transcoded voice.
Down Stream Resource Manager:
The downstream resource manager 26 is responsible for keeping track of the down stream DSP resource availability and scheduling. Very similar to the upstream resource manager 24, the down stream resource manager 26 will also wait for the application request for downstream conversion, accept the conversion request, and identify an available downstream DSP resource and schedule the downstream on to the DSP resource. Prior to scheduling it maintains a look ahead buffer to mask any network latency.
System Operation:
The operation of the preferred embodiment depicted in
The TCP/IP and UDP/IP interface 22 forwards a request from an application to the USRM 24 (arrow 2). The USRM 24 checks its resource availability table to determine which upstream resources are available to service the request. The USRM 24 then schedules an available upstream resource and provides data in VOIP format to the scheduled upstream resource (arrow 10). The USRM 24 also connects (arrow 11) the scheduled upstream DSP resource output back to the UDP stream that sends transcoded data back to the requesting application.
For example, if the requesting application is utilizing the ASR resource then the received voice data in VOIP format is transcoded to PCM format by the upstream resource and sent back to the application for ASR processing.
The operation of the DSRM 26 will now be described. The TCP/IP and UDP/IP interface 22 forwards a request from an application to the DSRM 26 (arrow 3). The DSRM checks its resource availability table to determine which downstream resources are available to service the request. The DSRM 26 then schedules an available downstream resource and provides data in PCM format to the scheduled resource (arrows 7 and 8). The DSRM 26 also connects the scheduled downstream DSP resource output back to the UDP stream that sends transcoded data back to the requesting application.
For example, if the requesting application is utilizing TTS services then PCM data output by the TTS is transcoded to VOIP data and sent back to the requesting application.
Note in this example in
The voice converter uses TCP/IP as the command and control channel. Some commands supported in the embodiment include the following
The voice converter sends actual voice data using UDP. The format of the packet is shown in
By using the session numbers associated with the segments of the voice the application and the voice converter will take care of packets that have higher latency. For example, if a user is listening to email, then the application will play the header with session number one “1”. Then the application will continue to play the body of the email and use session number two “2” for it. The advantage of using the session ID is the fact that the application can use multiple simultaneous streams for different sessions. In a given session all packets sent for that session will have same session number.
The invention has now been described with reference to the preferred embodiments. Alternatives and substitutions will now be apparent to persons of skill in the art. For example, different VOIP encoding schemes such as G.726 or CELP encoding may be utilized. Also, commands and data may be exchanged using network protocols other than UDP or TCP/IP. Accordingly, it is not intended to limit the invention except as provided by the appended claims.
This patent application is a continuation of U.S. patent application Ser. No. 09/658,802, filed on Sep. 11, 2000 now U.S. Pat. No. 6,567,419, which is related to and claims benefit of applications Ser. No. 09/658,711, filed on Sep. 11, 2000, entitled “Voice Integrated VOIP Systems” (now U.S. Pat. No. 7,095,733), U.S. patent application Ser. No. 09/658,781, filed on Sep. 11, 2000, entitled “Intelligent Voice Bridging” (now U.S. Pat. No. 6,556,563), and U.S. patent application Ser. No. 09/659,233, filed on Sep. 11, 2000, entitled “Message Store Architecture” (now U.S. Pat. No. 6,580,786), the disclosure of which are incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
4701934 | Jasper | Oct 1987 | A |
5333266 | Boaz et al. | Jul 1994 | A |
5497373 | Hulen et al. | Mar 1996 | A |
5592480 | Carney et al. | Jan 1997 | A |
5647002 | Brunson | Jul 1997 | A |
5809128 | McMullin | Sep 1998 | A |
5872926 | Levac et al. | Feb 1999 | A |
5884262 | Wise et al. | Mar 1999 | A |
5951638 | Hoss et al. | Sep 1999 | A |
5983227 | Nazem et al. | Nov 1999 | A |
6009507 | Brooks et al. | Dec 1999 | A |
6055240 | Tunnicliffe | Apr 2000 | A |
6061347 | Hollatz et al. | May 2000 | A |
6078886 | Dragosh et al. | Jun 2000 | A |
6137864 | Yaker | Oct 2000 | A |
6144667 | Doshi et al. | Nov 2000 | A |
6175858 | Bulfer et al. | Jan 2001 | B1 |
6181781 | Porter et al. | Jan 2001 | B1 |
6185565 | Meubus et al. | Feb 2001 | B1 |
6230190 | Edmonds et al. | May 2001 | B1 |
6233318 | Picard et al. | May 2001 | B1 |
6240448 | Imielinski et al. | May 2001 | B1 |
6246758 | Low et al. | Jun 2001 | B1 |
6266342 | Stacey et al. | Jul 2001 | B1 |
6269095 | Neubauer et al. | Jul 2001 | B1 |
6269336 | Ladd et al. | Jul 2001 | B1 |
6282192 | Murphy et al. | Aug 2001 | B1 |
6282270 | Porter | Aug 2001 | B1 |
6292480 | May | Sep 2001 | B1 |
6301245 | Luzeski et al. | Oct 2001 | B1 |
6304596 | Yamano et al. | Oct 2001 | B1 |
6466581 | Yee et al. | Oct 2002 | B1 |
6567419 | Yarlagadda | May 2003 | B1 |
6697603 | Lovinggood et al. | Feb 2004 | B1 |
6937616 | Rezvani et al. | Aug 2005 | B1 |
20010030958 | Kichise | Oct 2001 | A1 |
20020059426 | Brinkerhoff et al. | May 2002 | A1 |
20050031097 | Rabenko et al. | Feb 2005 | A1 |
Number | Date | Country |
---|---|---|
WO 9928480 | Dec 1999 | WO |
Number | Date | Country | |
---|---|---|---|
Parent | 09658802 | Sep 2000 | US |
Child | 10402637 | US |