WO1997016819A2 - Method and arrangement for adding a new speech encoding method to an existing telecommunication system - Google Patents

Method and arrangement for adding a new speech encoding method to an existing telecommunication system Download PDF

Info

Publication number
WO1997016819A2
WO1997016819A2 PCT/FI1996/000578 FI9600578W WO9716819A2 WO 1997016819 A2 WO1997016819 A2 WO 1997016819A2 FI 9600578 W FI9600578 W FI 9600578W WO 9716819 A2 WO9716819 A2 WO 9716819A2
Authority
WO
WIPO (PCT)
Prior art keywords
speech
transceiver
codec
message
nif
Prior art date
Application number
PCT/FI1996/000578
Other languages
French (fr)
Other versions
WO1997016819A3 (en
Inventor
Petri Haavisto
Hannu Mikkola
Original Assignee
Nokia Telecommunications Oy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nokia Telecommunications Oy filed Critical Nokia Telecommunications Oy
Priority to DE69619254T priority Critical patent/DE69619254T2/en
Priority to US09/068,163 priority patent/US6161085A/en
Priority to JP9517093A priority patent/JPH11514803A/en
Priority to EP96934864A priority patent/EP0858653B1/en
Priority to AT96934864T priority patent/ATE213356T1/en
Priority to AU73032/96A priority patent/AU7303296A/en
Publication of WO1997016819A2 publication Critical patent/WO1997016819A2/en
Publication of WO1997016819A3 publication Critical patent/WO1997016819A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/181Transcoding devices; Rate adaptation devices

Definitions

  • the invention relates to an arrangement for introducing a new, more advanced speech encoding method into a digital, speech transmitting telecommunications system.
  • a known method of selecting, for example, the speech encoding algorithm to be used is to agree on the speech encoding and signalling on the basis of a standard or some other such agreement.
  • a new speech codec coder-decoder
  • coder-decoder can be arranged in an existing system afterwards if the action has been anticipated in some way.
  • no methods are known by which a new speech encoding method could be added to an existing system without making any changes in the standard or other agreemen .
  • the object of the invention is to provide a signalling method by which, for example, a new speech codec can be introduced into an existing telecommunications system.
  • the invention seeks to solve the problem that arises when the introduction of a new speech codec has not been agreed upon and when a signalling system by which the communicating transceivers could select the method to be used does not exist. This is the situation, for example, with a GSM full rate channel.
  • the method of the invention thus has to solve two separate problems: (1)
  • the new codec will have to operate on an existing channel.
  • the transfer rate of a speech encoding method on a GSM full rate channel is 13 kbit/s.
  • a solution to the problem is presented in Finnish Patent Application No. 943,302, entitled 'Method and equipment for transmitting speech in a telecommunications system' (Jarvinen et al . It is thus possible to apply a lower rate speech encoding method to this same channel.
  • (2) When there are two possible speech codecs, how do two communication equipments select a method they both will use? Normally, the problem is solved by agreeing on signalling, but in unexpected situations this is not possible.
  • the problem is thoroughly discussed in Finnish Patent Application No. 955,266, filed on the same day.
  • the application also discloses a signalling method that can be used in connection with the present invention.
  • An object of the invention is thus to develop a method and equipment implementing the method by which the above problems can be solved.
  • the objects of the invention are achieved by methods and systems that are characterized by what is disclosed in the independent claims. Preferred embodiments are presented in the dependent claims.
  • the basic idea of the invention is that the speech codec to be used is selected by communication between transceivers on a speech channel.
  • the method makes it possible, for example, to introduce into a GSM system a better quality speech codec specific for the manufacturer, whereby the speech codec concerned is used only when equipments of a specified manufacturer are communicating with each other.
  • a standard GSM speech codec is used.
  • the procedure according to the invention is the following.
  • the advantage of the method and system according to the invention is that although a new speech encoding method is introduced into use, the equipments previously used in the system can continue to use the old speech encoding method.
  • the advantage is achieved so that an 'old' type receiver, which cannot interpret the bit patterns intended as messages, processes them as if they were normal speech frames. Since the speech frames that correspond to messages have zero amplitude, the messages only cause a 20 millisecond pause in speech, which cannot be heard by ear without careful, repeated reference tests.
  • fig. 1 shows the parts of a telecommunications system that are essential to the invention
  • fig. 2 shows, by way of an example, hand ⁇ shaking between two transceivers.
  • a new speech codec can be added to an existing telecommunications system, whereby a second, more advanced speech encoding method can be used in addition to the speech encoding method that is normally used in the system.
  • the method may be known per se.
  • the more advanced method can be used on a channel of an existing system by applying the method disclosed in Finnish Patent Application No. 943,302 (Jarvinen et al.) . If the more advanced speech codec operates at the same transmission rate as the codec used earlier in the system, then the method of patent application 943,302 (Jarvinen et al.) need not be applied.
  • the problem is thus to select the speech codec such that even transceivers in which the second, more advanced speech encoding method has not been implemented still operate in the system.
  • Fig. 1 shows the essential parts of a transceiver 100 according to the invention.
  • the arrangement according to the invention operates between two such transceivers.
  • a speech signal 102 to be transferred is conducted through a switch 104 to either of the two possible speech encoders.
  • Speech encoder 1 (106) is a speech encoder using an 'old' speech encoding algorithm, whereas speech encoder 2 (108) uses a 'new' speech encoding algorithm.
  • switch control logic 120 always supplies the incoming signal 102 to speech encoder 1 (106) .
  • the speech encoding bits are transferred to a message encoder 110 presented in the above-mentioned, similarly assigned patent application (Haavisto) .
  • the encoder seeks to establish a signalling connection in accordance with the protocol agreed upon in the method with another, corresponding transceiver 100' (not shown) .
  • the protocol may vary greatly.
  • the message encoder 110 sends a code word agreed upon among speech encoding bits so as to notify the other communicating equipment.
  • a more complicated but more reliable protocol several messages are sent between the transceivers 100, and so the message encoder 110 and a message decoder 130 of a transceiver must be in communication with each other.
  • a notification transmitted in the simple protocol indicates that the equipments 100 and 100' are able to use the new, more advanced speech encoding method. If transceiver 100 receives a similar notification from the other communicating party 100 ' , the connection proceeds to use the new speech encoding method.
  • the speech encoding bits and possible message bits are supplied to a channel 112 through a switch 114.
  • the position of switch 114 is controlled to be in line with the position of switch 104. If the signalling protocol has been completed successfully and both the communicating equipments are able to use the new speech encoding method, then the position of switch 104 is changed so that it conducts an incoming speech signal 102 to speech encoder 2 (108) , from where the speech encoding bits are transferred directly through switch 114 to channel 112. Speech encoder 1 (106) is thus always used at the beginning of a connection when the transceivers have not yet agreed on switching to the use of a new speech encoding method. After successful signalling, they will proceed to use the new speech encoding method.
  • a receiver (122-132) of a transceiver receives incoming speech encoding bits through a channel 132 and a switch 134. If the use of a new speech encoding method has not yet been agreed on by signalling, then switch 134 conducts the signal to the message decoder 130.
  • the decoder checks whether the received bits contain messages according to the protocol for switching to the use of a new speech encoding algorithm. From the message decoder 130, the speech encoding bits are supplied to speech decoder 1 (126), which inversely corresponds to speech encoder 1 (106) . Speech 122 synthesized by the speech decoder is supplied through a switch 124, after which it is audible.
  • the bits obtained from channel 132 are supplied through switch 134 to speech decoder 2 (128), and the speech 122 synthesized by the decoder is supplied through switch 124, after which it is audible.
  • Switches 104, 114... are controlled by switch control logic 150.
  • the switches are set to use speech encoding algorithm 2 (new method) always when it has been confirmed by message encoding that the new method has been implemented in both the communicating equipments.
  • the switch control 150 receives a notification 152 that the equipments must switch to the use of the old speech encoding algorithm until it has been verified by signalling that the new speech encoding can be used.
  • the first transceiver is, for example, a mobile station MS and network NSS (Network Subsystem) .
  • NSS Network Subsystem
  • An 'old' codec means a general codec that is known for certain to be present in both the communicating equipments.
  • a 'new' codec is a more advanced codec, the existence of which at the other end of the connection needs to be checked.
  • a 'NIF-sequence' (New codec Identification Frame) is a sequence of speech frames notifying that its sender supports the new codec.
  • a 'CIF-sequence' (Cancel handshake Identification Frame) is a sequence of speech frames notifying that its sender cancels the handshaking process, whereby the communicating equipments return to use the 'old' codec.
  • Time instance TO is the starting moment of the handshaking process, i.e. the moment when the mobile station MS sends the first frame of the NIF-sequence.
  • Time instance Tl is the period at the beginning of a call and after the handover during which the network NSS waits for the first NIF-sequence from the mobile station.
  • 'OSF' and 'NSF' are speech frames of the 'old' and 'new' codec, respectively, (Old Speech Frame; New Speech Frame) .
  • the speech frames containing NIF and CIF- sequences are conventional speech frames of the 'old' codec, in which certain predefined bits have been set to conform to predefined bit patterns. Preferred bit patterns will be discussed later.
  • the NIF and CIF- sequences should be designed so that the influence of the sequences on speech quality is minimal. The sequences, however, should be as reliably detectable as possible. In the tests conducted the best compromise turned out to be a technique in which the NIF and CIF- sequences are distributed over five speech frames so that the bit patterns of the sequences are placed in the first, third and fifth speech frame. The second and fourth speech frames are not changed in any way. The combined length of five speech frames is 100 ms. It is then highly unlikely that a whole sequence will be destroyed in conditions where a radio connection can be maintained.
  • Period Tl should be selected such that a speech frame encoded at time instance TO is certainly received in network NSS within period Tl.
  • the handshaking process starts at time instance TO when the mobile station MS sends the sequence NIF1 OSF NIF2 OSF NIF3, where three bit patterns of the five speech frames have been distorted to implement handshaking.
  • the mutual Hamming distance of the bit patters can be maximized, for example, by the following selection.
  • the 95 RPE bits of frame NIF1 are selected at random. These bits, however, should not form a completely regular 10101 pattern. In the event of such a pattern, a shift of one bit in respect of time would produce some other code word belonging to the same group.
  • Frame NIF2 is formed from NIF1 by inverting (logical NO) all bits except every third bit. Bits 1 and 2 are thus inverted, but bit 3 is not, etc.
  • NIF3 is formed from NIF1 by inverting, for example, bits 1, 4, 7, etc. The procedure produces three code words the Hamming distance of which is 63 bits.
  • CIF-sequences can be formed such that CIF1 is formed by inverting all the bits of NIF1.
  • CIF2 and CIF3 are formed from CIF1 in the same way as NIF2 and NIF3 were formed from NIF1.
  • the resultant NIF1-NIF3 and CIF1-CIF3 form a group of six code words, within which the code words differ from one another as much as possible, i.e. their Hamming distance is maximal.
  • the invention is applied to a system in which a different number of code words, e.g. 2N code words, are needed, the above procedure is used such that instead of the third bit, every Nth bit is used.
  • Handshaking takes place, for example, in the following stages.
  • the mobile station MS sends a NIF-sequence of the first five frames: NIF_MS1.
  • the network NSS identifies the sequence and responds by sending a similar NIF- sequence: NIF_NS1.
  • the mobile station MS identifies the response. It has now been detected that both the communicating equipments can use the 'new' codec.
  • the next step is to synchronize the change of codecs in both directions, so that the receiving party will use a decoding algorithm intended for each speech frame.
  • the mobile station MS sends a second NIF-sequence NIF_MS2 and proceeds to use the new codec. It is here pointed out that if problems do not arise, the second NIF-sequence NIF_MS2 is unnecessary, since the exact number of frames between NIF_M ⁇ 1 and the first speech frame encoded by the new codec is known even without it.
  • the network NSS waits for NW frames after sending a NIF_NS1 sequence, after which it sends a second NIF-sequence (NIF_NS1) and proceeds to use the new codec.
  • the handshaking must be repeated at the beginning of each phone call and in connection with each handover.
  • a handshaking process at the beginning of a new phone call is very simple, since both parties start a connection using the 'old' codec.
  • a handover is slightly more complicated.
  • both parties When a new codec is used, both parties must switch to the old codec.
  • the switch must be synchronized so that the last speech frame sent to the codec used before the handover is encoded by the 'new' codec, and the first one sent to the codec used after the handover is encoded by the 'old' codec.
  • the 'old' and 'new' codec here refer to a generic and a more advanced codec, respectively, and not to the difference prevailing between the situations before and after the handover.
  • the handshaking algorithm of the mobile station MS can be described by the following steps:
  • NIF_MS1 NIF-sequence
  • NIF_NS1 NIF-sequence
  • handshaking can be described by the following steps: 1. waiting a time period Tl or until a NIF- sequence (NIF_MS1) sent by a mobile station is detected;
  • NIF_NS2 NIF-sequence
  • switches described in connection with fig. 1 are only one possible implementation.
  • signals can be supplied to both encoders and corresponding decoders provided with an activation input.
  • the control logic of a switch would here function such that when a selection is made between an Old' and a 'new' codec, the relevant codec is activated and the other codec is deactivated.
  • the invention has been described, by way of an example, in connection with the selection of a GSM speech codec.
  • the invention is naturally not limited to this but can also be applied in other corresponding tele- communications systems, and even in the GSM system it can also be applied to other functions than the selection of a speech codec.
  • telefax functions become more common in mobile stations, two transceivers can agree on the telefax protocol to be used by a handshaking process of the present invention.
  • the basic idea of the invention can be implemented in various ways. The invention and its embodiments are thus not limited to the examples described above but they can vary within the scope of the claims.

Abstract

The invention enables the introduction of a codec (108, 128) according to a new speech encoding method into a speech transmitting tansceiver (100) of a digital telecommunications system, so that it is possible to use a 'new' codec (108, 128) and an 'old' codec (106, 126) in parallel in the system. A codec is selected by implementing a handshaking procedure according to the invention between the transceivers (100, 100'). The invention is based on handshaking in which a speech encoding method implemented in all the transceivers (100, 100') and previously used in the telecommunications system concerned is used first at the beginning of each connection. At the beginning of a phone call and after handover, the method checks whether both parties (100, 100') can also use the new speech encoding. The handshaking messages have been selected so that their effect on the quality of speech is minimal, and yet so that the probability of identifying the messages is maximal.

Description

Method and arrangement for adding a new speech encoding method to an existing telecommunication system
The invention relates to an arrangement for introducing a new, more advanced speech encoding method into a digital, speech transmitting telecommunications system.
A known method of selecting, for example, the speech encoding algorithm to be used is to agree on the speech encoding and signalling on the basis of a standard or some other such agreement. A new speech codec (coder-decoder) can be arranged in an existing system afterwards if the action has been anticipated in some way. In the field of telecommunications systems, however, no methods are known by which a new speech encoding method could be added to an existing system without making any changes in the standard or other agreemen .
On the basis of the above introduction, the object of the invention is to provide a signalling method by which, for example, a new speech codec can be introduced into an existing telecommunications system. The invention seeks to solve the problem that arises when the introduction of a new speech codec has not been agreed upon and when a signalling system by which the communicating transceivers could select the method to be used does not exist. This is the situation, for example, with a GSM full rate channel.
The method of the invention thus has to solve two separate problems: (1) The new codec will have to operate on an existing channel. The transfer rate of a speech encoding method on a GSM full rate channel is 13 kbit/s. A solution to the problem is presented in Finnish Patent Application No. 943,302, entitled 'Method and equipment for transmitting speech in a telecommunications system' (Jarvinen et al . It is thus possible to apply a lower rate speech encoding method to this same channel. (2) When there are two possible speech codecs, how do two communication equipments select a method they both will use? Normally, the problem is solved by agreeing on signalling, but in unexpected situations this is not possible. The problem is thoroughly discussed in Finnish Patent Application No. 955,266, filed on the same day. The application also discloses a signalling method that can be used in connection with the present invention.
An object of the invention is thus to develop a method and equipment implementing the method by which the above problems can be solved. The objects of the invention are achieved by methods and systems that are characterized by what is disclosed in the independent claims. Preferred embodiments are presented in the dependent claims. The basic idea of the invention is that the speech codec to be used is selected by communication between transceivers on a speech channel. The method makes it possible, for example, to introduce into a GSM system a better quality speech codec specific for the manufacturer, whereby the speech codec concerned is used only when equipments of a specified manufacturer are communicating with each other. When the equipments communicate with equipments of other manufacturers, a standard GSM speech codec is used. The procedure according to the invention is the following. Let us assume that both an 'old' (known to all) and a 'new' (known to new equipments) speech encoding method have been implemented in both the communicating equipments. At the beginning of each speech connection, the old speech encoding method is used, since it is impossible to know for certain whether the new method has been implemented in the equipment used at the other end. A handover corresponds to a start of a connection, for a network transceiver may then change. The message transmission method according to the above-mentioned patent application (Haavisto) filed on the same day teaches how to initiate a dialogue between the transceivers so as to find out whether a new speech encoding method is used in both equipments. If so, then the equipments proceed to use it.
The advantage of the method and system according to the invention is that although a new speech encoding method is introduced into use, the equipments previously used in the system can continue to use the old speech encoding method. The advantage is achieved so that an 'old' type receiver, which cannot interpret the bit patterns intended as messages, processes them as if they were normal speech frames. Since the speech frames that correspond to messages have zero amplitude, the messages only cause a 20 millisecond pause in speech, which cannot be heard by ear without careful, repeated reference tests.
In the following the invention will be described in greater detail in connection with preferred embodiments and with reference to the attached drawing, in which fig. 1 shows the parts of a telecommunications system that are essential to the invention, and fig. 2 shows, by way of an example, hand¬ shaking between two transceivers.
A new speech codec can be added to an existing telecommunications system, whereby a second, more advanced speech encoding method can be used in addition to the speech encoding method that is normally used in the system. The method may be known per se. The more advanced method can be used on a channel of an existing system by applying the method disclosed in Finnish Patent Application No. 943,302 (Jarvinen et al.) . If the more advanced speech codec operates at the same transmission rate as the codec used earlier in the system, then the method of patent application 943,302 (Jarvinen et al.) need not be applied.
The problem is thus to select the speech codec such that even transceivers in which the second, more advanced speech encoding method has not been implemented still operate in the system.
Fig. 1 shows the essential parts of a transceiver 100 according to the invention. The arrangement according to the invention operates between two such transceivers.
A speech signal 102 to be transferred is conducted through a switch 104 to either of the two possible speech encoders. Speech encoder 1 (106) is a speech encoder using an 'old' speech encoding algorithm, whereas speech encoder 2 (108) uses a 'new' speech encoding algorithm. At the beginning of each speech connection, switch control logic 120 always supplies the incoming signal 102 to speech encoder 1 (106) . From speech encoder 1, the speech encoding bits are transferred to a message encoder 110 presented in the above-mentioned, similarly assigned patent application (Haavisto) . The encoder seeks to establish a signalling connection in accordance with the protocol agreed upon in the method with another, corresponding transceiver 100' (not shown) . The protocol may vary greatly. In the simplest form, the message encoder 110 sends a code word agreed upon among speech encoding bits so as to notify the other communicating equipment. According to a more complicated but more reliable protocol, several messages are sent between the transceivers 100, and so the message encoder 110 and a message decoder 130 of a transceiver must be in communication with each other. A notification transmitted in the simple protocol indicates that the equipments 100 and 100' are able to use the new, more advanced speech encoding method. If transceiver 100 receives a similar notification from the other communicating party 100 ' , the connection proceeds to use the new speech encoding method.
The speech encoding bits and possible message bits are supplied to a channel 112 through a switch 114. The position of switch 114 is controlled to be in line with the position of switch 104. If the signalling protocol has been completed successfully and both the communicating equipments are able to use the new speech encoding method, then the position of switch 104 is changed so that it conducts an incoming speech signal 102 to speech encoder 2 (108) , from where the speech encoding bits are transferred directly through switch 114 to channel 112. Speech encoder 1 (106) is thus always used at the beginning of a connection when the transceivers have not yet agreed on switching to the use of a new speech encoding method. After successful signalling, they will proceed to use the new speech encoding method.
A receiver (122-132) of a transceiver receives incoming speech encoding bits through a channel 132 and a switch 134. If the use of a new speech encoding method has not yet been agreed on by signalling, then switch 134 conducts the signal to the message decoder 130. The decoder checks whether the received bits contain messages according to the protocol for switching to the use of a new speech encoding algorithm. From the message decoder 130, the speech encoding bits are supplied to speech decoder 1 (126), which inversely corresponds to speech encoder 1 (106) . Speech 122 synthesized by the speech decoder is supplied through a switch 124, after which it is audible. If the new speech encoding algorithm is in use, then the bits obtained from channel 132 are supplied through switch 134 to speech decoder 2 (128), and the speech 122 synthesized by the decoder is supplied through switch 124, after which it is audible. Switches 104, 114... are controlled by switch control logic 150. The switches are set to use speech encoding algorithm 2 (new method) always when it has been confirmed by message encoding that the new method has been implemented in both the communicating equipments. At the beginning of each new connection and after each handover, the switch control 150 receives a notification 152 that the equipments must switch to the use of the old speech encoding algorithm until it has been verified by signalling that the new speech encoding can be used.
With reference to fig. 2, we shall now describe an example for detailed handshaking between transceivers 100 and 100' according to fig. 1. The first transceiver is, for example, a mobile station MS and network NSS (Network Subsystem) . In fig. 2, the following references are used. An 'old' codec means a general codec that is known for certain to be present in both the communicating equipments. A 'new' codec, in turn, is a more advanced codec, the existence of which at the other end of the connection needs to be checked. A 'NIF-sequence' (New codec Identification Frame) is a sequence of speech frames notifying that its sender supports the new codec. A 'CIF-sequence' (Cancel handshake Identification Frame) is a sequence of speech frames notifying that its sender cancels the handshaking process, whereby the communicating equipments return to use the 'old' codec. Time instance TO is the starting moment of the handshaking process, i.e. the moment when the mobile station MS sends the first frame of the NIF-sequence. Time instance Tl is the period at the beginning of a call and after the handover during which the network NSS waits for the first NIF-sequence from the mobile station. 'OSF' and 'NSF' are speech frames of the 'old' and 'new' codec, respectively, (Old Speech Frame; New Speech Frame) .
The speech frames containing NIF and CIF- sequences are conventional speech frames of the 'old' codec, in which certain predefined bits have been set to conform to predefined bit patterns. Preferred bit patterns will be discussed later. The NIF and CIF- sequences should be designed so that the influence of the sequences on speech quality is minimal. The sequences, however, should be as reliably detectable as possible. In the tests conducted the best compromise turned out to be a technique in which the NIF and CIF- sequences are distributed over five speech frames so that the bit patterns of the sequences are placed in the first, third and fifth speech frame. The second and fourth speech frames are not changed in any way. The combined length of five speech frames is 100 ms. It is then highly unlikely that a whole sequence will be destroyed in conditions where a radio connection can be maintained.
Period Tl should be selected such that a speech frame encoded at time instance TO is certainly received in network NSS within period Tl.
The handshaking process starts at time instance TO when the mobile station MS sends the sequence NIF1 OSF NIF2 OSF NIF3, where three bit patterns of the five speech frames have been distorted to implement handshaking.
If the handshaking has to be interrupted, this is effected by the sequence CIF1 OSF CIF2 OSF CIF3. The following is a possible group of bit patterns for NIFn and CIFn-sequences. Such bit patterns are discussed widely in the above-mentioned Finnish patent application filed on the same day. In brief, when the invention is applied in a GSM system, Block amplitude bits of these speech frames are set as zero, and 95 RPE bits protected by channel encoding are selected such that a mutual Hamming distance of different bit patterns is maximal.
The mutual Hamming distance of the bit patters can be maximized, for example, by the following selection. The 95 RPE bits of frame NIF1 are selected at random. These bits, however, should not form a completely regular 10101 pattern. In the event of such a pattern, a shift of one bit in respect of time would produce some other code word belonging to the same group. Frame NIF2 is formed from NIF1 by inverting (logical NO) all bits except every third bit. Bits 1 and 2 are thus inverted, but bit 3 is not, etc. NIF3, in turn, is formed from NIF1 by inverting, for example, bits 1, 4, 7, etc. The procedure produces three code words the Hamming distance of which is 63 bits.
CIF-sequences can be formed such that CIF1 is formed by inverting all the bits of NIF1. CIF2 and CIF3 are formed from CIF1 in the same way as NIF2 and NIF3 were formed from NIF1. The resultant NIF1-NIF3 and CIF1-CIF3 form a group of six code words, within which the code words differ from one another as much as possible, i.e. their Hamming distance is maximal. When the invention is applied to a system in which a different number of code words, e.g. 2N code words, are needed, the above procedure is used such that instead of the third bit, every Nth bit is used.
In the following, an entire handshaking process involving a change of a speech codec is described by way of an example with reference to fig. 2. Handshaking takes place, for example, in the following stages. At time instance TO, the mobile station MS sends a NIF-sequence of the first five frames: NIF_MS1. The network NSS identifies the sequence and responds by sending a similar NIF- sequence: NIF_NS1. The mobile station MS identifies the response. It has now been detected that both the communicating equipments can use the 'new' codec. The next step is to synchronize the change of codecs in both directions, so that the receiving party will use a decoding algorithm intended for each speech frame.
Exactly NW (Number of Wait) frames after the first NIF_MS1 frame, the mobile station MS sends a second NIF-sequence NIF_MS2 and proceeds to use the new codec. It is here pointed out that if problems do not arise, the second NIF-sequence NIF_MS2 is unnecessary, since the exact number of frames between NIF_MΞ1 and the first speech frame encoded by the new codec is known even without it. Likewise, the network NSS waits for NW frames after sending a NIF_NS1 sequence, after which it sends a second NIF-sequence (NIF_NS1) and proceeds to use the new codec.
The handshaking must be repeated at the beginning of each phone call and in connection with each handover. A handshaking process at the beginning of a new phone call is very simple, since both parties start a connection using the 'old' codec. A handover is slightly more complicated. When a new codec is used, both parties must switch to the old codec. The switch must be synchronized so that the last speech frame sent to the codec used before the handover is encoded by the 'new' codec, and the first one sent to the codec used after the handover is encoded by the 'old' codec. The 'old' and 'new' codec here refer to a generic and a more advanced codec, respectively, and not to the difference prevailing between the situations before and after the handover.
Above is described a situation where both parties of a connection are 'new' in type, as regards the invention, i.e. they contain an 'old' and a 'new' codec. If a mobile station is 'old' in type, no handshaking takes place, no matter which type the network NSS is. Instead, if the mobile station MS is 'new' in type but the network NSS is 'old', then the mobile station MS sends the network NSS a NIF-sequence. Since the network does not respond within NW frames (NW being e.g. 15), the mobile station MS sends a CIF- sequence cancelling the handshaking.
The handshaking algorithm of the mobile station MS can be described by the following steps:
1. sending a NIF-sequence (NIF_MS1) at a time instance TO;
2. monitoring for the duration of NW frames whether the network responds by a NIF-sequence (NIF_NS1);
3. in response to the network not responding with a NIF-sequence, sending a CIF-sequence exactly NW frames after the last frame of the NIF-sequence of the mobile station; and in response to the network responding with a NIF-sequence, sending a second NIF- sequence exactly NW frames after the last frame of the NIF-sequence of the mobile station;
4. interpreting the frame received from the network exactly NW frames after NIF_NS1 as being either a CIF or NIF NS2-sequence; 5. in response to the frame having been interpreted as a CIF-sequence, sending a CIF-sequence exactly NW frames after the last frame of the second NIF-sequence of the mobile station and continuing to use the 'old' codec; and in response to the frame having been interpreted as a NIF_NS2-sequence, proceeding to use the new codec.
From the side of the network, handshaking can be described by the following steps: 1. waiting a time period Tl or until a NIF- sequence (NIF_MS1) sent by a mobile station is detected;
2. in response to a NIF-sequence not being detected during the time period Tl, terminating the handshaking; and in response to a NIF-sequence being detected, sending a first NIF-sequence (NIF_NS2) of the network;
3. interpreting the frame received from the mobile station exactly NW frames after NIF_NS1 as a CIF or a NIF_MS2-sequence;
4. in response to the frame being interpreted as a CIF-sequence, sending a CIF-sequence exactly NW frames after the last frame of the first NIF-sequence of the network and continuing to use the 'old' codec; and in response to the frame being interpreted as a NIF_MS2-sequence, sending a second NIF-sequence (NIF_NS2) exactly NW frames after the last frame of the first NIF-sequence of the network and proceeding to use the new codec; 5. interpreting the frame received from the mobile station exactly NW frames after NIF_MS2 as either a CIF-sequence or a normal speech frame;
6. in response to the frame having been interpreted as a CIF-sequence, immediately returning to use the old codec. The following is a description of the effect of handshaking on a normal conversation. If a mobile station is 'new' but the network is 'old', then the mobile station first sends a NIF-sequence and then, NW frames later, a CIF-sequence. The network then receives three bad speech frames twice, with intervals of 0.3 seconds. Since the Block amplitude parameters are zero, the effect of these frames cannot be heard by ear without careful, repeated reference tests. A simulated test in which a mobile station repeats a handshaking process relating to handover at an interval of two seconds impairs the quality of speech somewhat but not decisively.
When both the parties are 'new', two NIF- sequences are sent in both directions. The effect on the quality of speech is the same as above. The effect, however, can be reduced by employing a bad-frame replacement technique, with regard to which reference is made to the above-mentioned Finnish patent application filed on the same day, particularly to fig. 6 and the description thereof.
In the following, we shall discuss optimal tolerance for identification of NIF and CIF-sequences. Since the sequences are identified using bits protected by channel encoding, they are very likely to be received faultlessly. One cannot rely on this, however, but an allowed number of defective bits should be defined. If the tolerance is too low, a sequence may not be identified. If it is too high, on the other hand, a normal speech frame may be erroneously identified as a handshaking sequence. A suitable compromise is, for example, 5 defective bits. With this tolerance, there is a 99.8% probability that any one of the three frames NIF1-NIF3 (or, correspondingly, CIF1-CIF3) will be identified even under conditions that are so bad that the amount of defective bits is 1% even after channel encoding. Theoretically, the probability of losing all the three sequences would be IO"30. When the first NIF-sequences have been received, the following sequences can be identified much more easily. It is sufficient that the NIF and CIF-sequences can be differentiated from one another. Since the bits differ from one another with respect to at least 60 bits, the differentiation may take place if the amount of defective bits after channel encoding is less than 50%.
It should be understood that the embodiments of the invention, including the figures and their description, are intended to illustrate rather than restrict the invention. For example, the switches described in connection with fig. 1 are only one possible implementation. Alternatively, signals can be supplied to both encoders and corresponding decoders provided with an activation input. The control logic of a switch would here function such that when a selection is made between an Old' and a 'new' codec, the relevant codec is activated and the other codec is deactivated. To present a concrete embodiment, the invention has been described, by way of an example, in connection with the selection of a GSM speech codec. The invention is naturally not limited to this but can also be applied in other corresponding tele- communications systems, and even in the GSM system it can also be applied to other functions than the selection of a speech codec. For example, as telefax functions become more common in mobile stations, two transceivers can agree on the telefax protocol to be used by a handshaking process of the present invention. It is obvious to a person skilled in the art that with the advancement of technology, the basic idea of the invention can be implemented in various ways. The invention and its embodiments are thus not limited to the examples described above but they can vary within the scope of the claims.

Claims

Claims
1. A method of selecting a first (106, 126) or a second (108, 128) speech codec between a first (100) and a second (100') transceiver in a telecommunications system, the method being c h a r a c t e r i z e d in that
- at the beginning of a connection, both transceivers (100, 100') use the first codec (106, 126) ;
- when a connection has been established, the first transceiver (100) sends the second transceiver (100') a message contained in a speech frame, the first transceiver (100) enquiring by the message whether the second transceiver (100') is able to use the second speech codec (108, 128);
- in response to the message sent by the first transceiver (100), the second transceiver (100') sends the first transceiver (100') a message contained in a speech frame stating that it is able to use the second speech codec (108, 128), after which the second transceiver (100') proceeds to use the second speech codec (108, 128) ; and
- in response to the message sent by the second transceiver (1001), the first transceiver (100) proceeds to use the second speech codec (108, 128) .
2. A method according to claim 1, c h a r ¬ a c t e r i z e d in that in connection with handover, both transceivers (100, 100') return to use the first speech codec (106, 126) .
3. A method according to claim 1, c h a r a c t e r i z e d in that
- the messages between the first (100) and the second (100') transceiver are predetermined bit groups sent in the speech frames of a digital tele- communications system, the number of the bit groups being small as compared with the number of possible bit groups, preferably of the order of 10; and
- the bit groups are formed such that the speech volume of the speech frame corresponding to the message is essentially zero and at least some of the remaining bits of the speech frame are divided between the different messages in such a way that the Hamming distance between the messages is maximal.
4. A method according to claim 3, c h a r ¬ a c t e r i z e d in that the bit group corresponding to the message is arranged in a part of the speech frame that in the system used is protected against transmission errors.
5. A method according to claim 3, c h a r ¬ a c t e r i z e d in that a speech frame is interpreted as a message if its speech volume is essentially zero and if some other part of the speech frame differs from the predetermined bit group corresponding to the message by at most a predetermined threshold value, preferably by five bits.
6. A method according to claim 3, c h a r ¬ a c t e r i z e d in that the method is used in connection with GSM full rate speech encoding; and - the amplitude of a received speech frame is minimized by setting Block amplitude parameters of the speech frame to be sent essentially to zero; and
- setting the bit group corresponding to the message in the bits corresponding to RPE parameters of the speech frame.
7. A method according to claim 1, c h a r ¬ a c t e r i z e d in that the messages between the transceivers (MS, NSS) are divided into several, preferably three, partial messages (NIF_MSn, NIF_NSn) , and that successful reception of a certain subgroup, preferably one partial message, is interpreted as successful reception of an entire message.
8. A method according to claim 7, c h a r ¬ a c t e r i z e d in that at least one ordinary speech frame is sent between the partial messages (NIF_MSn, NIF_NSn) .
9. Equipment for selecting a first (106, 126) and a second (108, 128) speech encoder in a first transceiver (100) and a second transceiver (100') of a telecommunications system, the equipment being c h a r a c t e r i z e d by comprising
- means for establishing a speech connection by using the first codec (106, 126) at the beginning of the connection; - means (110, 130, 150) for enquiring the second transceiver (100') whether it (100') can use the second speech codec (108, 128), and means of receiving the response sent by the second transceiver; and means (ln4, 150), responsive to the affirmative response of the second transceiver (100'), for continuing the speech connection by using the second speech codec (108, 128) .
10. Equipment according to claim 9, c h a r ¬ a c t e r i z e d in that - the messages between the first (100) and the second (100') transceiver are predetermined bit groups sent in speech frames of a digital mobile system, the number of the bit groups being small as compared with the number of possible bit groups, preferably of the order of 10; and
- the bit groups are formed such that the speech volume of the speech frame corresponding to the message is minimal and the remaining bits of the speech frame are divided between different messages so that the Hamming distance between the messages is maximal.
11. Equipment according to claim 10, c h a r ¬ a c t e r i z e d in that the equipment is used in connection with GSM full rate speech encoding, and that the speech volume is minimized so that the Block amplitude parameters of the speech frame are essentially zero.
12. Equipment according to claim 9, c h a r ¬ a c t e r i z e d in that the messages between the transceivers (MS, NSS) are divided into several, preferably three, partial messages (NIF_MSn, NIF_NSn) , and the equipment is arranged to interpret successful reception of a certain subgroup, preferably one partial message, as successful reception of an entire message.
13. Equipment according to claim 12, c h a r a c t e r i z e d in that the equipment is arranged to send at least one ordinary speech frame between the partial frames (NIF_MSn, NIF_NSn) .
14. A GSM speech frame signal, c h a r a c ¬ t e r i z e d in that in order to send messages on a speech channel, the Block amplitude parameters of the speech frame corresponding to the moment of transmission are essentially zero, but the RPE parameters are not zero.
15. A speech frame signal according to claim 14, c h a r a c t e r i z e d in that to improve immunity to interference, the Block amplitude parameters of the speech frame are zero and the RPE parameters are bit groups deviating from zero, so that each message is corresponded to by a different bit group and that the Hamming distance between the bit groups is maximal.
16. A speech frame signal according to claim 14, c h a r a c t e r i z e d in that to improve immunity to interference, - the Block amplitude parameters of a certain subgroup, preferably three speech frames, of some, preferably five, speech frames, are zero, and the RPE parameters are bit groups deviating from zero; and
- between the so changed speech frames there is a small quantity of normal speech frames, preferably one normal speech frame.
PCT/FI1996/000578 1995-11-02 1996-10-30 Method and arrangement for adding a new speech encoding method to an existing telecommunication system WO1997016819A2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
DE69619254T DE69619254T2 (en) 1995-11-02 1996-10-30 METHOD AND DEVICE FOR ADDING A NEW VOICE ENCODING METHOD TO AN EXISTING TELECOMMUNICATION SYSTEM
US09/068,163 US6161085A (en) 1995-11-02 1996-10-30 Method and arrangement for adding a new speech encoding method to an existing telecommunication system
JP9517093A JPH11514803A (en) 1995-11-02 1996-10-30 Method and structure for adding a new speech coding method to an existing telecommunications system
EP96934864A EP0858653B1 (en) 1995-11-02 1996-10-30 Method and arrangement for adding a new speech encoding method to an existing telecommunication system
AT96934864T ATE213356T1 (en) 1995-11-02 1996-10-30 METHOD AND DEVICE FOR ADDING A NEW VOICE CODING METHOD TO AN EXISTING TELECOMMUNICATIONS SYSTEM
AU73032/96A AU7303296A (en) 1995-11-02 1996-10-30 Method and arrangement for adding a new speech encoding method to an existing telecommunication system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FI955267A FI98776C (en) 1995-11-02 1995-11-02 Introduction of a new voice coding method into an existing data communication system
FI955267 1995-11-02

Publications (2)

Publication Number Publication Date
WO1997016819A2 true WO1997016819A2 (en) 1997-05-09
WO1997016819A3 WO1997016819A3 (en) 1997-07-17

Family

ID=8544317

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FI1996/000578 WO1997016819A2 (en) 1995-11-02 1996-10-30 Method and arrangement for adding a new speech encoding method to an existing telecommunication system

Country Status (9)

Country Link
US (1) US6161085A (en)
EP (1) EP0858653B1 (en)
JP (1) JPH11514803A (en)
AT (1) ATE213356T1 (en)
AU (1) AU7303296A (en)
DE (1) DE69619254T2 (en)
ES (1) ES2173319T3 (en)
FI (1) FI98776C (en)
WO (1) WO1997016819A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000041419A2 (en) * 1998-12-30 2000-07-13 Nokia Networks Oy Control of discontinuous transmission in mobile communication system
EP1315388A2 (en) * 1995-11-29 2003-05-28 Robert Bosch Gmbh Process for transmitting data, in particular GSM data

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6512924B2 (en) * 1997-10-01 2003-01-28 Ntt Mobile Communications Network Inc. Mobile communications system
FI107109B (en) * 1998-10-21 2001-05-31 Nokia Networks Oy Digital communication system
WO2002017672A1 (en) * 2000-08-21 2002-02-28 Fujitsu Limited Communication system
US7392191B2 (en) * 2001-03-29 2008-06-24 Intellisist, Inc. Method and device to distinguish between voice conversation and automated speech recognition
US7617096B2 (en) * 2001-08-16 2009-11-10 Broadcom Corporation Robust quantization and inverse quantization using illegal space
US7610198B2 (en) * 2001-08-16 2009-10-27 Broadcom Corporation Robust quantization with efficient WMSE search of a sign-shape codebook using illegal space
US7647223B2 (en) * 2001-08-16 2010-01-12 Broadcom Corporation Robust composite quantization with sub-quantizers and inverse sub-quantizers using illegal space
JP5001983B2 (en) * 2009-07-21 2012-08-15 株式会社エヌ・ティ・ティ・ドコモ Communication control system and communication control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0700227A2 (en) * 1994-09-02 1996-03-06 Nokia Mobile Phones Ltd. Multi-mode radio telephone
GB2294844A (en) * 1994-11-07 1996-05-08 Motorola Inc Communications operating system and method therefor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4476559A (en) * 1981-11-09 1984-10-09 At&T Bell Laboratories Simultaneous transmission of voice and data signals over a digital channel
US4972411A (en) * 1988-04-27 1990-11-20 Mitsubishi Denki Kabushiki Kaisha Signalling transmission system
GB8810973D0 (en) * 1988-05-10 1988-06-15 Stc Plc Improvements in integrated circuits
US5768613A (en) * 1990-07-06 1998-06-16 Advanced Micro Devices, Inc. Computing apparatus configured for partitioned processing
JP2901214B2 (en) * 1992-03-13 1999-06-07 日本電信電話株式会社 Sign matching method
JP2920863B2 (en) * 1993-07-09 1999-07-19 エヌ・ティ・ティ移動通信網株式会社 Audio coding matching method between wireless terminals
US5822360A (en) * 1995-09-06 1998-10-13 Solana Technology Development Corporation Method and apparatus for transporting auxiliary data in audio signals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0700227A2 (en) * 1994-09-02 1996-03-06 Nokia Mobile Phones Ltd. Multi-mode radio telephone
GB2294844A (en) * 1994-11-07 1996-05-08 Motorola Inc Communications operating system and method therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1315388A2 (en) * 1995-11-29 2003-05-28 Robert Bosch Gmbh Process for transmitting data, in particular GSM data
EP1315388A3 (en) * 1995-11-29 2013-01-23 IPCom GmbH & Co. KG Process for transmitting data, in particular GSM data
WO2000041419A2 (en) * 1998-12-30 2000-07-13 Nokia Networks Oy Control of discontinuous transmission in mobile communication system
WO2000041419A3 (en) * 1998-12-30 2000-11-02 Nokia Networks Oy Control of discontinuous transmission in mobile communication system

Also Published As

Publication number Publication date
DE69619254D1 (en) 2002-03-21
JPH11514803A (en) 1999-12-14
WO1997016819A3 (en) 1997-07-17
FI98776B (en) 1997-04-30
ES2173319T3 (en) 2002-10-16
FI955267A0 (en) 1995-11-02
EP0858653A2 (en) 1998-08-19
AU7303296A (en) 1997-05-22
EP0858653B1 (en) 2002-02-13
ATE213356T1 (en) 2002-02-15
US6161085A (en) 2000-12-12
DE69619254T2 (en) 2002-08-14
FI98776C (en) 1997-08-11

Similar Documents

Publication Publication Date Title
EP1892868B1 (en) CDMA communication method for adjusting transmission timing of signals from mobile station to base station, and base station therefore
JP3275002B2 (en) Telecommunications system
US5926755A (en) Method and an arrangement for conducting multiple calls simultaneously
AU711007B2 (en) Transmission of voice-frequency signals in a mobile telephone system
EP1106021A4 (en) Method and apparatus for inband signaling control of vocoder bypass
EP0858653B1 (en) Method and arrangement for adding a new speech encoding method to an existing telecommunication system
GB2275389A (en) Disconnecting an established communication connection in a mobile radio system
JPH0327632A (en) Electric communication system
EP0218450B2 (en) Control system of a radio telephone apparatus
US6208715B1 (en) Method and apparatus for transmitting messages in a telecommunication system
WO1998012893A3 (en) Signalling in a digital mobile communications system
JP2000507064A (en) Speech channel back loop detection
US5697062A (en) Method and apparatus for improved link establishment and monitoring in a communications system
EP0686337B1 (en) Handover in a digital cordless telephone system
EP0739573B1 (en) Method and equipment for adapting ct2 calls for an isdn subscriber line
JP3122149B2 (en) Digital cordless telephone equipment
JP2711333B2 (en) Subscriber communication system
EP1142384B1 (en) Mobile communication system
JP3235767B2 (en) Simultaneous incoming call synchronization method for wireless communication, wireless line connection device, and wireless terminal
JPH06311106A (en) Privacy communication system
JPH0795727B2 (en) Frame signal transmission method
JPS6248937B2 (en)
MXPA97007846A (en) Transmission of voice frequency signals in a movi telephone system
WO1999027655A2 (en) Method for connection establishment, and transceiver
JPH04312053A (en) Time division multiplex and multiple access communication system

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE HU IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK TJ TM TR TT UA UG US UZ VN AM AZ BY KG KZ MD RU TJ TM

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): KE LS MW SD SZ UG AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG

AK Designated states

Kind code of ref document: A3

Designated state(s): AL AM AT AU AZ BA BB BG BR BY CA CH CN CU CZ DE DK EE ES FI GB GE HU IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK TJ TM TR TT UA UG US UZ VN AM AZ BY KG KZ MD RU TJ TM

AL Designated countries for regional patents

Kind code of ref document: A3

Designated state(s): KE LS MW SD SZ UG AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1996934864

Country of ref document: EP

ENP Entry into the national phase

Ref country code: JP

Ref document number: 1997 517093

Kind code of ref document: A

Format of ref document f/p: F

WWP Wipo information: published in national office

Ref document number: 1996934864

Country of ref document: EP

REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

WWE Wipo information: entry into national phase

Ref document number: 09068163

Country of ref document: US

WWG Wipo information: grant in national office

Ref document number: 1996934864

Country of ref document: EP