The invention relates to a method for ensuring the adequacy of transmission capacity in a digital packet-switched cellular network where both voice sample packets and associated header fields are transmitted in real time in one and the same transmission channel. The invention also relates to a terminal employing the method as well as software means needed in the implementation of the method.
Circuit-switched connections, whether in analog or digital transmission, have traditionally been used for voice connections. A circuit-switched connection, however, is inefficient as regards transmission efficiency. A communications connection, once established, remains reserved even if there is nothing to transmit.
Data can also be transmitted using packet-switched technology. Such a type of technology has long been used in communication between computers. The Internet is one example of how data can be transmitted from one place to another using packet-based communication. In a packet-switched network the data to be transmitted are arranged in blocks/packets of certain length. Before sending, at least the destination address is additionally inserted in each packet. Thus, in addition to the user data proper, whether it be voice or something else, also other data are being transmitted at the same time. Such supplementary data are inserted in the header fields of the packets transmitted.
With some applications the size of the header fields becomes fairly large in comparison with the user data proper. This problem is emphasized by the fact that the packets comprise transmission protocols layered on top of each other, which protocols all have header field needs and forms of their own. Examples of such interrelated transmission protocols with their header fields include the Internet Protocol (IP), User Datagram Protocol (UDP) and the Real Time Protocol (RTP) which can be used e.g. to establish a real-time packet-switched voice connection between parties. In this example, as well, the layered protocol structure naturally increases the header field data.
Attempts have been made to alleviate this problem through frame compression. Frame compression aims to remove the header-related data that are identical in successive frames, or that are such that the information associated can be easily derived from the packets received previously. One such compression method according to the prior art is called Robust Header Compression (ROHC). Even with ROHC applied, the frame header data result in a considerable increase in data to be transmitted. For example, in a VoIP (Voice over IP) call, a ROHC-compressed voice packet could include 15 bytes of voice samples and 4 bytes of data related to header fields. In other words, the proportion of header data in all data transmitted is fairly large in spite of the compression. When such a call is directed onto a bandwidth-limited transmission path, problems ensue. For instance, in a GPRS (General Packet Radio Service) network the transmission band on the radio path may prove to be narrow compared to the transmission capacity required.
With compression methods, uncompressed frames are usually used in conjunction with the first packets transmitted. For example, in Degermark compression, which is used for IP packets, the packets numbered 1, 3, 6, 11, 20, . . . have uncompressed header fields. Once continuous packet transmission has been started after the beginning of a speech spurt, the transmission of uncompressed header fields can be decreased. Then, for example, every 64th header field will be uncompressed.
One possible way of establishing a connection over a packet-switched GPRS network is to use PoC (Push to talk over Cellular). Several people may participate in a PoC session simultaneously. People take turns speaking, and the direction of transmission varies. There is thus a great need to transmit uncompressed header fields during a PoC connection. A PoC connection may use one coding method CS-1 (Coding Scheme) allowed in the GPRS. This coding scheme allows for a large cell size at the cost of transmission speed. As the nature of PoC is such that a great number of packets are transmitted in a session with uncompressed header data, the coding scheme selected may result in that the radio channel used may prove small always during the first packets sent in a particular direction. Therefore, the bit rate used on a PoC radio channel varies greatly and in some cases it may exceed the maximum available transmission capacity. Later on, the bit rate required by the PoC connection is decreased because frame compression can be effectively utilized. As regards capacity-limited radio path, this situation is not optimal. In an optimum situation, the radio channel is loaded as evenly as possible throughout the whole connection time available.
Digital circuit-switched connections utilize so-called frame stealing. This means that data blocks reserved for voice samples are stolen here and there for urgent data transmission needs. At a receiver end, no speech signal is thus received in these time slots. However, the listener receiving the voice sample will not perceive that a voice sample has been removed from the signal received. Using frame stealing, for example in the GSM (Global System for Mobile communications) networks, it is possible in urgent cases to allocate the FACCH (Fast Associated Control Channel) onto the frames that have been intended for voice samples frames.
An object of the present invention is to provide a method with which a band-limited radio channel can be used optimally for packet-switched connections utilizing header field compression. With the method according to the invention the average available bit rate can be used on the radio path for the whole duration of the transmission.
The objects of the invention are achieved by a method in which a frame stealing is performed from the first voice samples in favour of uncompressed packet header fields at the beginning of a speech spurt when the overall transmission requirement possibly exceeds the available radio channel capacity.
An advantage of the invention is that the average bit rate on a packet-switched communications connection, using frame compression, can be maintained within the limits allowed by the channel for the whole duration of the connection.
Another advantage of the invention is that the radio channel capacity can be fully utilized and need not be increased for certain special situations.
The method according to the invention for ensuring the adequacy of transmission capacity is characterized in that if the total combined bit count of the voice sample and header field in a packet to be transmitted exceeds the transmission capacity available in the transmission channel, the number of bits in the voice sample is reduced or at least one whole voice block is stolen and the number of bits saved is used to transmit header field data of the same packet.
The cellular terminal according to the invention is characterized in that it comprises both a means for reducing the number of voice samplebits in a packet to be transmitted and a means for using the bits thus saved for the transmission of header field data of the same packet.
Preferred embodiments of the invention are presented in the dependent claims.
The basic idea of the invention is as follows: The invention utilizes the known fact that possible errors especially at the beginning of speech received are not noticed by a listener as well as errors or deviancies in the middle of speech. This provides an opportunity to use frame stealing on packet-switched voice connections. When a speech spurt begins, some voice sample blocks can be left untransmitted, if necessary, if the overall bit count with the voice sample and frame information is found to exceed the transmission capacity of the radio channel. Frame stealing according to the invention may also be performed automatically at the beginning of every speech spurt. Instead of a voice sample an empty block can be advantageously transmitted the size of which is about a tenth of the size of an ordinary voice sample block. The transmission capacity obtained from the stolen voice blocks is advantageously used for transmitting the necessary header fields. Thus, the limited transmission capacity of the radio channel will not be exceeded and undesirable delays will not occur. After the initial phase, when the frame compression is in full operation, header fields need not be sent in every voice packet. Then the transmission capacity of the radio channel will be highly sufficient for the transmission of voice samples proper. Thus the procedure according to the invention described above can be used to balance the bit rate of data transmitted so that it corresponds to the transmission channel.
The invention will be described in detail below. The description refers to the accompanying drawings in which
The principle of operation of the method according to the invention is illustrated in the exemplary embodiments depicted in
The exemplary block diagram of
At the calculation block 13 it is calculated in real-time the bit rate required for the transmission of the bit combination 130 obtained from the voice/speech sample 110 and the amount of capacity that has to be reserved for the transmission of packet header fields. In the case of a PoC connection, CS-1 coding sets an upper limit for the data transmitted per unit of time.
Closely associated with the calculation block 13 is another functional block 14 where a decision is made about the frame stealing according to the invention. Advantageously two separate factors are used as criteria for the decision. The first criterion is the fact whether it is voice blocks from the beginning of a speech spurt that are being processed at the moment or if the transmission of voice blocks has been going on already for hundreds of milliseconds, e.g. 500 ms. If no more than the time mentioned has passed from the first VAD signal 120 arrived at the calculation block 13, the frame stealing according to the invention can be advantageously applied. The voice sample packets being processed are in that case from the beginning of the speech spurt, and omitting them from the received signal will not annoy the receiver. If the received VAD signal 120 is outside the time window mentioned above, counting from the first VAD signal received, the frame stealing according to the invention will not be applied. The voice samples in that case would be from the middle or end of a speech spurt, and their absence could be experienced disturbing by the receiver.
The other decision criterion for the frame stealing according to the invention is the total combined amount of bits both in the header field bits in the frames transmitted and the bits in the bit combination 130 required by the voice samples 110, calculated in block 13. When using frame compression, in conjunction with the first voice samples, complete header fields must be transmitted. During packets transmitted later, frame compression will reduce the amount of data needed in the transmission of header fields. If in block 13 the calculation result exceeds the number of bits allowed with CS-1 coding at the beginning of transmission, the method according to the invention is advantageously used. The decision 140 about frame stealing is made in block 14 when both of the above-mentioned criteria are met simultaneously.
An advantageous frame stealing technique is, for example to steal two voice blocks, from first third, sixth, eleventh and twentieth packets transmitted at the beginning of a speech spurt. Stealing of one Adaptive Multi-Rate (AMR) voice block gives 14 bytes. In that case, the stealing of two voice blocks will meet the space requirement of long headers, which in IPv4 is 20 bytes and for UDP, 8 bytes. Thus, two stolen AMR blocks will enable carrying both the IPv4 and UPD header data. Later, the corresponding compressed IPv4 and UDP headers will only require 2 bytes, so they can be transmitted without using the frame stealing according to the invention.
When the decision 140 has been made, in block 12 the bit combinations 130 coded from received voice samples 110 are replaced by empty NO_DATA blocks in RTP blocks to be formed.
The resulting preliminary RTP blocks 150 according to the invention are directed from block 12 to a RTP encoder 15. The RTP encoder 15 will process the data blocks 150 to be transmitted so that they comply with the IETF (Internet Engineering Task Force) standard RFC 1889. The standard compliant RTP blocks 160 are taken to an API (Application Program Interface) 16 and from there on to functional blocks not shown in
In the exemplary flow chart of
In step 24 it is checked which part of the speech spurt is being processed at that moment. Frame stealing according to the invention is advantageously applied during a time window extending to a few hundred milliseconds, advantageously 500 ms at the most, from the beginning of a speech spurt. Errors or anomalies in the signal during that time frame will not annoy the receiver to a significant extent. If it is found out in step 24 that the time window is inappropriate, the method according to the invention will not be applied, and the process returns to step 21 where the operation continues in accordance with the PoC connection.
If in step 24 it is decided that frame stealing according to the invention can be applied as far as the transmission time is concerned, it is then decided in step 25 whether frame stealing is needed or not. If not, the process returns to the initial state 21 where the operation continues in accordance with the PoC connection.
Naturally, frame stealing according to the invention may also be applied without the step 24 described above. In such an embodiment frame stealing is allowed at any phase of a speech spurt at the expense of the receiver possibly noticing the absence of voice samples.
If in the case of a PoC connection the total amount of bits to be transmitted according to the calculation based on the invention exceeds the maximum bit count allowed in CS-1, some voice sample frames are replaced by NO_DATA blocks in step 26 in accordance with the invention. This operation also leads to step 21, and the process according to the invention starts over. At some point of time the time window, in which the method according to the invention can be applied, passes. This is detected in step 24, whereafter the PoC session will continue for the rest of the speech spurt in accordance with the prior art.
The method according to the invention is advantageously applied using a software application stored on a transmitting device. This software application implements at least some of the steps of the method described above.
The method according to the invention can be applied only at a transmitting terminal. A RTP packet processed and transmitted using the method according to the invention will not require any changes in the receiver or transmitting network. Thus it can be transmitted and received using completely prior-art means.
Reference designator 33 represents the means that constitute the transmitter TX in the wireless terminal 30. The transmitter means 33 perform all the necessary signal processing measures on the outgoing RTP packets that are required when communicating with a cellular network. Similarly, the transmitter means can be advantageously used to perform the frame stealing according to the method according to the invention.
From the invention point of view, the crucial unit in the terminal is a control unit 34 which controls the operation of the terminal 30. It controls the operation of all the main parts belonging to the terminal 30. It controls both receiving and transmitting functions. It is further used to control the user interface UI 36 and the memory 35. In the method according to the invention it is the control unit 34 that determines when the frame stealing according to the invention can be applied or must be applied, steps 23, 24 and 25 in
The software application required by the control unit 34 to execute the process according to the invention advantageously resides in the memory 35.
The user interface UI 36 is utilized in controlling the terminal's functions.
Some embodiments according to the invention are described above. The invention is not restricted to the above-described exemplary embodiments involving a PoC session. The invention can be applied in any digital cellular network where real-time data is to be transferred and where the amount of such data may occasionally exceed the available capacity of the communications channel used. Furthermore, the inventional idea can be applied in numerous ways within the scope defined by the claims attached hereto.
Number | Date | Country | Kind |
---|---|---|---|
20030237 | Feb 2003 | FI | national |
Number | Name | Date | Kind |
---|---|---|---|
4665514 | Ching et al. | May 1987 | A |
5115429 | Hluchyj et al. | May 1992 | A |
5754554 | Nakahara | May 1998 | A |
6049537 | Proctor et al. | Apr 2000 | A |
6240299 | Song | May 2001 | B1 |
6556587 | Svanbro et al. | Apr 2003 | B1 |
6556844 | Mayer | Apr 2003 | B1 |
6907030 | Bladsjo et al. | Jun 2005 | B1 |
7027989 | Tapadar et al. | Apr 2006 | B1 |
7072296 | Turner et al. | Jul 2006 | B2 |
7248571 | Ilas et al. | Jul 2007 | B1 |
20010018770 | Eryurtlu et al. | Aug 2001 | A1 |
20040228326 | Pearson | Nov 2004 | A1 |
Number | Date | Country |
---|---|---|
0 642 285 | Mar 1995 | EP |
1180871 | Feb 2002 | EP |
1220498 | Jul 2002 | EP |
WO 9628809 | Sep 1996 | WO |
WO 0173989 | Oct 2001 | WO |
WO-02082772 | Oct 2002 | WO |
WO-03003668 | Jan 2003 | WO |
WO-03047138 | Jun 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20040160950 A1 | Aug 2004 | US |