Title of Invention

A METHOD FOR DETERMINING THE PEREORMANCE OF DECODING IN A TELECOMMUNICATION SYSTEM

Abstract A method for measuring the performance of decoding in a telecommunication system comprising a decoder and a testing apparatus for supplying test data to the decoder. A test data comprising channel coded speech parameters and an inband data field in a frame format is generated in the testing apparatus and transmitted to the decoder for decoding. The decoder extracts at least a part of the inband data field from the decoded test data and transmits at least the part of the inband data field back to the testing apparatus. The performance of decoding is measured by comparing the transmitted inband data field and the received inband data field in the test apparatus.
Full Text esting loops for channel codecs
The invention relates to a method for measuring the performance of ecoding in a telecommunication system.
In wireless digital telecommunication, the analog speech informa-on has to be encoded into digital form and then secured by channel coding before transmission to ensure adequate voice quality, when receiving the sig-bal. For example, in traditional GSM speech coding, speech codecs have had fixed rate. There has been two full-rate speech codecs and one half-rate speech codec in use in the GSM system. The full-rate speech codecs have the output bit rate of either 13 or 12,2 kbit/s, whereas the half-rate speech codec lelivers the output bit rate of 5,6 kbit/s. These output bits representing the en-coded speech parameters are fed into the channel coder. The channel coding the set of functions responsible for adding redundancy to the information sequence. The coding is usually performed on a fixed number of input bits, The output bit rate of the channel coder is adjusted to 22,8 kbit/s in full-rate raffic channel or, respectively, to 11,4 kbit/s in half-rate traffic channel.
Thus, all traditional GSM codecs operate with fixed partitioning be-ween speech and channel coding bit rates, regardless of the quality of the channel. These bit rates never change unless a traffic channel change takes )lace, which furthennore is a slow process. Consequently, this rather inflexible approach in view of desirable speech quality, on one hand, and system capac-ty optimisation, on the other hand have led to the development of the AMR :odec (Adaptive Multi-Rate).
AMR codec adapts the partitioning between speech and channel coding bit rates according to the quality of the channel, in order to deliver the Dest possible overall speech quality. The AMR speech coder consists of the multi-rate speech coder, a source controlled rate scheme including a voice ac-ivity detector and a comfort noise generation system, and an error conceal-nent mechanism to combat the effects of transmission errors and lost pack-3ts. The multi-rate speech coder is a single integrated speech codec with eight source rates from 4.75 kbit/s to 12,2 kbit/s, and a low rate background noise encoding mode.
There are several performance criteria set for the codecs used, for instance, in the GSM system, which perfonmance can be measured by e.g. the frame erasure ratio (FER), bit error ratio (BER) or the residual bit en^or ratio

(RBER) of the received data on any traffic channel TCH. Furthermore, to enable to automate the measurement of the performance, there has been developed a set of testing loops. A set of predefined testing loops are implemented into the mobile station connected to a system simulator. The system simulator activates a specific test loop and starts to supply either random or predefined test data into the codec. The mobile station loops back to the system simulator the data obtained after performing channel decoding. The system simulator is then able to compare the looped back data to the sent data. This way, the performance of the channel decoder part of the codec, for example, can be measured in regard to several criteria.
The problem involved with the an-angement described above is that these testing loops are designed to be particulariy suitable for the previous GSM codecs. The AMR codec, however, includes features which are not involved in the previous codecs and, therefore, all the features of the AMR codec cannot be tested by using the known testing loops.
Brief description of the invention
The object of the invention is thus to provide an improved method and an apparatus implementing the method to avoid at least some of the above problems. The objects of the invention are achieved by a method and an apparatus, which are characterized in what Is said in the independent claims. The preferred embodiments of the invention are disclosed in the dependent claims.
The invention is based on the idea that when the perfomnance of decoding is detemined in a telecommunication system, which comprises a decoder and a testing apparatus for supplying test data to the decoder, the measurement is started by generating a test data in the testing apparatus, which test data comprises speech parameters and an inband data field, which are channel encoded in a frame format, preferably speech frame format, which is then transmitted to the decoder for decoding. The decoder extracts at least a part of the inband data field from the decoded test data and transmits at least the part of the inband data field back to the testing apparatus, whereby no speech parameters oe any other data is transmitted. Then the performance of decoding is determined by comparing the transmitted inband data field and the received inband data field in the test apparatus.
An advantage of the method and the apparatus according to the invention is that the performance of the inband decoder can also be measured.

Another advantage of the invention is that because only inband data is looped back from the decoder, implementation problenns relating to different uplink and downlink speech codec bit rates are reduced, A further advantage of the invention is that the existing testing apparatus can be utilised with only minor modifications.
Brief description of the drawings
In the following, the invention will be described in greater detail in connection with preferred embodiments and with reference to the attached drawings in which
Figure 1 shows a radio system which uses the method of the invention;
Figure 2 shows the general structure of the channel encoding chain in the encoder;
Figure 3 illustrates the formation of TCH/AFS frames for different codec modes;
Figure 4 illustrates the formation of TCH/AHS frames for different codec modes;
Figure 5 shows a flow chart illustrating the new testing method according to invention; and
Figure 6 shows a block chart illustrating the testing apparatus implementing the method according to invention.
Detailed description of the invention
The invention will be described in tha following more in detail, using the GSM system as a preferred platform for the embodiments of the invention. The invention is, however, not limited to the GSM system only, but it can be utilised in any corresponding system where the implementation of test loops counters similar problems. Therefore, the invention can be applied, for example, to the WCDMA (Wideband Code Division Multiple Access) systems, wherein the AMR (Adaptive Multi-rate) codec is also supported.
Figure 1 shows an example of a wireless radio system, some parts of which utilising the method of the invention. The presented cellular radio system comprises a base station controller 120, base transceiver stations 110 and a set of subscriber temninals 100, 101, The base transceiver stations 110 and subscriber terminals act as transceivers in the cellular radio system. The subscriber terminals establish a connection to each other by means of signals

propagated through the base transceiver station 110. A subscriber terminal 100 can be a mobile phone, for instance. The radio system presented in Figure 1 can for instance be a GSM system and the TDMA multiple access method, for instance, can be used in the radio system.
In the GSM system, there are several logical channels, which are transported on the grid of the physical channels. Each logical channel performs a specific task. Logical channels can be divided into 2 categories: the traffic channels (TCHs) and the control channels (CCHs). GSM speech traffic channels are TCH/FS (Full Rate Speech Channel). TCH/HS (Half-Rate Speech Channel). TCH/EFS (EFR Speech Channel). TCH/AFS (AMR Speech on FR Channel) and TCH/AHS (AMR Speech on HR Channel). Furthermore, there are several control channels defined in GSM, most of them being used to set-up a call and for synchronization. However, SACCH (Slow Associated Control Channel), FACCH (Fast Associated Control Channel) and RATSCCH (Robust AMR Traffic Synchronized Control Channel) channels are involved while an AMR call is active. Both SACCH and FACCH are used for transmission of signalling data during a connection, but there is one SACCH time slot allocated in every 26th TDMA frame, whereas FACCH channel is used only if necessary. Also RATSCCH, which is used for modifying the AMR configurations on the radio interface during a connection, is used only if necessary. When FACCH or RATSCCH are needed, they are allocated the necessary time slots by "stealing" them from TCH speech frames.
In traditional GSM speech coding, speech codecs have had a fixed rate. There has been three speech codecs in use in the GSM system: the full-rate (FR) speech codec, based on RPE-LTP method (Regular Pulse Excited -Long Term Prediction), the half-rate (HR) speech codec, based on CELPA/CELP method (Codebook Excited Linear Prediction) and the enhanced full-rate (EFR) speech codec, based on ACELP method (Algebraic Codebook Excited Linear Prediction). Speech codecs deliver speech parameters to channel codec every 20 ms. Since the active call logical channel mapping last 120ms, it contains 6 speech frames. Both in the full-rate traffic channel (TCH/FS) and in the full-rate traffic channel using enhanced coding (TCH/EFS). a new speech frame is sent every 4th burst containing TCH information. For every 20 ms speech frame, the full-rate speech codec FR delivers 260 bits and the enhanced full-rate speech codec EFR delivers 244 bits representing encoded speech parameters, resulting in the output bit rate of 13 kbit/s

and 12,2 kbit/s, respectively. In the half rate traffic channel (TCH/HS), a new speech frame is sent every 2nd burst containing TCH information. For every 20 ms speech frame, the half-rate speech codec HR delivers 112 bits representing encoded speech parameters, resulting in the output bit rate of 5,6 kbit/s.
These output bits representing the encoded speech parameters are fed into the channel coder. The channel coding is the set of functions responsible for adding redundancy to the information sequence. The coding is usually performed on a fixed number of input bits. Higher coding gains are achieved by increasing the complexity of the coding. However transmission delay and limited hardware resources limits the complexity that can be used in real time environment.
In the following, a reference is made to Figure 2, which illustrates the channel encoding chain in the encoder. The channel encoding of speech parameters consist of several blocks. Bit reordering (200) is performed to the bits of the speech parameters according to subjective importance, dividing the bits into categories 1A, IB and 2. For the most important bits, i.e. class 1A bits, a CRC (Cyclic Redundancy Check, 202) is computed. The CRC technique transmit few additional bits that can be used by the receiver to detect errors in the transmitted frame. Class IB bits are not protected by CRC. Both class 1A and lb bits are protected by convolutional encoding (204), which is a method to add redundancy to the bits transmitted in the channel. The convolutional encoder produce more output bits than input inputs. The way redundancy is added allows the receiver to perform a maximum likelihood algorithm on the convolutionally encoded bits in order to allow the correction of signal errors introduced during transmission. The number of bits that canbe sent in the channel is limited. Puncturing (206) is a method to reduce the number of bits sent on the channel by deleting bits from the convolutionally encoded data. The decoder knows which bits are punctured and adds placeholders for those. In FR channel, 456 bits per 20 ms can be sent, resulting in the gross rate of 22,8 kbit/s in full-rate traffic channel. Respectively, in HR channel, 228 bits per 20 ms can be sent, resulting in the gross rate of 11,4 kbit/s, which is exactly half the gross rate of that used in full-rate traffic channel.
As described above, all previous GSM codecs operate with fixed partitioning between speech and channel coding bit rates, regardless of the quality of the channel. These bit rates never change unless a traffic channel change (from FR to HR or vice versa) takes place, which besides is a slow

process requiring layer 3 (L3) signalling. This fixed partitioning does not use the fact that the protection provided by channel coding is highly dependant on the channel conditions. When channel conditions are good, a lower channel coding bit rate could be used, allowing an higher bit rate for speech codec. Therefore, allowing a dynamic partitioning between speech and channel coding bit rate would increase the overall speech quality. The development of this idea led to the standardization of the AMR codec.
AMR codec adapts the error protection level to the radio channel and traffic conditions so that it always aims to select the optimum channel and codec mode (speech and channel bit rates) to achieve the best overall speech quality. The AMR codec operates in either the GSM FR or HR channel and it also provides the user with speech quality comparable to wireline for the half-rate channel in good channel conditions.
The AMR speech coder consists of the multi-rate speech coder, a source controlled rate scheme including a voice activity detector and a comfort noise generation system, and an error concealment mechanism to combat the effects of transmission errors and lost packets. The multi-rate speech coder is a single integrated speech codec with eight source rates from 4.75 kbit/s to 12.2 kbit/s, and a low rate background noise encoding mode. The speech coder Is capable of switching its bit-rate every 20 ms speech frame upon command.
The AMR codec contains eight speech codecs with bit-rates of 12.2, 10.2, 7,95, 7.4, 6.7. 5.9, 5.15 and 4.75 kbit/s. All the speech codecs are defined for the full-rate channel, while the six lowest ones are defined for the half-rate channel, as shown in the following table.

12.2 10.2 7.95 7.4 6.7 5.9 5.15 4.75
TCH/AFS X X X X X X X X
TCH/AHS X X X X X X
A mobile station must implement all the codec modes. However, the network can support any combination of them. For AMR, codec mode selection is done from a set of codec modes (ACS, Active Codec Set), which set may include 1-4 AMR codec modes. This set can be reconfigured at call setup phase, in handover situation or by RATSCCH signalling. Each codec mode provides a different level of error protection through a different distribution be-

tween speech and channel coding. All the speech codec modes are allowed to change without the intervention of L3 signalling, enabling fast transition between mode, when channel conditions are varying.
Figure 3 illustrates the formation of TCH/AFS frames for different codec modes. Using for example the 12.2 kbit/s case, the frame is built starting from the 244 bits output by the speech codec. The speech frame bits are reordered and divided into class 1A (81 bits) and IB (163 bits). For the protection of the 81 class 1A bits a 6 bit CRC is computed. 4 tail bits are added to the block of 250 bits, which tail bits are used for tennination of the channel coder. % rate convolutional encoding is performed over the block of 254 bits (244 + 6 + 4), resulting in a block of 508 bits. The block of 508 bits is then punctured, thus reducing the number of bits to 448 bits. Finally, 8 bits containing inband data are added. The final block of data is 456 bits long.
As shown in Figure 3, all the TCH/AFS channel encoded frames have the same length (456 bits) even though the number of bits in the input (the speech parameters) differs from mode to mode. The different number of input bits are encoded to exactly 456 output bits by altering the convolutional coding rate and the puncturing rate for each mode. 456 bits sent per every 20 ms, resulting in the gross rate of 22.8 kbit/s, make use of all the bits available from the full-rate traffic channel of the GSM system.
Respectively, Figure 4 demonstrates the formation of TCH/AHS frames for the six different codec modes. The principle of frame building is similar to the case of TCH/AFS frames, with a few exceptions. In bit reordering, the bits are divided into class 1A, IB and 2 bits, while in TCH/AFS frames only classes 1A and 1B are used. These class 2 bits are not convolutionally encoded. Furthermore, only 4 inband data bits are added to the convolution-ally coded frame. In all TCH/AHS codec modes, the channel encoded frames are 228 bits long. 228 bits sent per 20 ms, resulting in the gross rate of 11,4 kbit/s, fulfills the requirements of the GSM system for the half-rate traffic channel.
As described earlier, there is 8 speech codec modes defined for the AMR and the AMR codec can be used on both existing FR and HR channels. Therefore, there are 14 different codec modes defined (8 for TCH/AFS channel, 6 for TCH/AHS channel) for the AMR.
The link adaptation process bears responsibility for measuring the channel quality. Depending on the quality and possible network constraints

(e.g.. network load), mode adaptation selects the optimal speech and channel codecs. The mobile station (MS) and the base transceiver station (BTS) both perform channel quality estimation for their own receive path. Based on the channel quality measurements, the BTS sends to MS a Codec Mode Command (CMC, the mode to be used by MS in uplink) and the MS sends to BTS a Codec Mode Request (CMR. the mode requested to be used in downlink). This signalling is sent inband, along with the speech data. The codec mode in the uplink may be different from the one used in downlink, but the channel mode (full-rate or half-rate) must be the same. The inband signalling has been designed to allow fast adaptation to rapid channel variations.
The network controls the uplink and downlink codec modes and channel modes. The mobile station must obey the Codec Mode Command from the network, while the network may use any complementing information to determine downlink and uplink codecs mode.
In GSM system, for instance, channel coding algorithms are thoroughly specified. Instead of specifying the channel decoder algorithm, performance criteria are defined and have to be met by the MS. There are several performance criteria set for the channel codecs used in the GSM system, which performance can be measured by e.g. the frame erasure ratio (FER), the bit error ratio (BER) or the residual bit error ratio (RBER) of the received data on any traffic channel TCH. For the GSM system, the criteria is defined more precisely, for example, in the document "SGPP TS 05.05 V8-7.1, Digital cellular telecommunications system (Phase 2+j; Radio transmission and reception*". To facilitate the development and implementation of the channel codecs and to measure the periformance of this receiver, a specific appar'atus called system simulator (SS) has been defined, which can be used, for example, for type approval purposes. There has been developed a set of testing loops for measuring the performance of the channel decoder. A predefined testing loop is activated in a mobile station connected to the system simulator and the performance is measured In regard to several criteria. For the GSM system, these testing loops are defined more precisely in the document "GSM 04.14 ETSI TS 101 293 V8.1.0, Digital cellular telecommunications system (Phase 2+j; Individual equipment type requirements and interworking; Special conformance testing function".
These testing loops are designed to be part:iculariy suitable for the previous GSM codecs. The AMR codec, however, includes features which are

lot involved in the previous codecs and, therefore, all the features of the AMR codec cannot be tested by using the known testing loops. The present inven-ion solves at least some of the problems involved in the AMR testing.
A problem is related to determining the performance of inband sig-lalling decoding. As described above in Figures 3 and 4, the AMR encoded laffic channel frame always includes some control bits transmitted along with :he speech bits. These bits are called inband signalling bits. The purpose of these bits is to enable the codec mode change without any further signalling frame. Because there is at maximum four modes in a modeset, only two bits are needed to code the inband information. To help the decoding in difficult channel condition, these two bits are mapped to longer bit pattern: 8 bits on TCH/AFS and 4 bits on TCH/AHS.
The information transmitted inband depends on the direction. In downlink direction (from BTS to MS), two different information are time multiplexed in two consecutive speech frames. In the first frame, a mode command MC is transmitted from the BTS to the MS. whereby the BTS commands the mode the MS must use in uplink. In the second frame, a mode indication Ml is transmitted from the BTS to the MS, whereby the BTS informs the MS of the mode it uses in downlink. Also in uplink direction (from MS to BTS), two different information are time multiplexed in two consecutive speech frames. In the first frame, a mode request MR is transmitted from the MS to the BTS, whereby the MS requests the BTS to use a certain mode in downlink. In the second frame, a mode indication Ml is transmitted from the MS to the BTS, whereby the MS infomns the BTS of the mode it uses in uplink. The information transmitted inband is always time multiplexed; i.e. every other frame contains current mode, and every other frame contains commanded/requested mode.
When a 20 ms frame has been received by the MS, it is processed by the channel decoder. The output of the channel codec is the channel decoded speech parameters along with the information that was transmitted inband. If that information was a mode command (MC), the MS will modify the speech mode it uses in uplink according to the command, since MS must always obey to commanded mode (MC) from the BTS. This used uplink mode will be signalled to the BTS via the uplink mode indication transmitted inband.
Since the former traffic channel frames of the fixed rate channel codecs do not include any inband data, there are no existing testing methods to

measure the performance of the inband decoder in all situations. If the inband decoder performance is tried to be measured with current test loops and testing equipment (system simulator SS), the MS would follow received mode command (MC) and change its uplink mode indication (Ml) accordingly. It is then possible for the tester SS to compare the received Ml against the previously sent MC. If both are similar, the inband decoder can be considered to have worked correctly. If they are different, it informs that MS did not decode correctly the MC coming from BTS. From these observations, the SS can calculate the perfonnance of the inband decoder.
A problem arises when trying to assess the performance of the Ml inband decoder. Downlink Ml does not have direct influence on any uplink inband signalled information. As already seen, the uplink Ml is directly influenced by the downlink MC. Of the two time multiplexed inband information, remains the mode request (MR). The mode request is generated by the mobile station link adaptation algorithm and is not directly modified by the downlink Ml. Because of thajty the SS cannot calculate the performance of the Ml inband decoder.
From an incorrect decoding of downlink Ml follows an incorrect decoding of speech parameters, the CRC check failing and the frame is then declared as bad. If the former testing loop is activated, the erroneously decoded speech parameters are looped back to the tester SS. It would be possible for SS to compare sent speech parameters to the looped back speech parameters to determine the performance of the Ml inband decoder. However, the channel encoding of the inband bits is much stronger than the channel encoding of the speech parameters, therefore the decoding of speech parameters is more likely to fail than the decoding of inband parameters. Consequently, the measured performance would be the one of the decoder of speech parameters, not the one of the inband decoder.
A new intemal test loop has been developed to overcome this problem, in the new test loop the link adaptation algorithm is bypassed and replaced by a function that loops back the received inband data. This is done regardless of the inband signalling phase. This leads to two possible situations: the received MC can be transmitted in uplink as Ml, and the received Ml is then looped back as MR. In the other possible situation the received MC can be transmitted in uplink as MR and received Ml is looped back as Ml. Since the aim of the loop is to calculate inband decoding performance, the speech

parameters transmitted by the SS are not looped back from the MS, but they are encoded as zeros. Advantageously, this reduces implementation problems related to different uplink and downlink speech codec bit-rates. Only the inband signalling pattern, i.e. only inband bits, no speech parameters, is sent back to the SS and the performance of the inband decoder can advantageously be measured. From the received inband signalling pattern the frame error rate for the inband channel {TCH/AxS-INB PER), for example, can be determined.
The method according to the new testing loop is illustrated with a reference to the flow chart in Figure 5. To establish a transparent testing loop for TCH frames, a TCH must be active between the SS and the MS, The TCH may be AMR speech over full-rate channel or half-rate channel of any rate specified in the GSM system. The testing loop is activated in an MS by transmitting an appropriate command message to the MS, which command can be, for example, a CLOSE_TCH_LOOP_CMD message according to the GSM system. The SS orders the MS to close its TCH loop by transmitting a CLOSE_TCH_LOOP_CMD message (500), specifying the TCH to be looped and that decoded Inband signalling information are to be looped back by the MS. The SS then starts timer TT01 (502), which sets a time limit for the MS to response. If no TCH is active, or any test loop is already closed (504), the MS shall ignore any CLOSE_TCH_LOOP__CMD message (506). If a TCH is active, the MS shall dose its TCH loop for the TCH specified and send back to the SS a CLOSE_TCH_LOOP_ACK (508). Upon reception of that message the SS stops timer TT01 (510).
After the MS has closed its TCH loop, every inband signal decision shall be taken from the output of the channel decoder (512) and input to the channel encoder (514). Transmitted speech parameters are not looped by setting the input frame to the channel encoder to zero's (516). The inband signal decisions input to the channel encoder are transmitted on the same TCH uplink to the SS (518). This Is advantageously done regardless of the link adaptation, whereby the decoded inband information is directly looped back to the SS. The SS measures the performance of the inband decoder from the received inband signalling pattern (520), for example, by determining the frame error rate for the inband channel (TCH/AxS-lNB PER).
The content of the CLOSE_TCH_LOOP_CMD message is defined more precisely in the above-mentioned document GSM 04.14. This message

is only sent in the direction SS to MS. The CLOSE_TCH_LOOP_CMD message comprises four information elements: a protocol discriminator field and a skip indicator field, both having length of four bits and being defined more precisely in the document "GSM 04.07, vJ.3.0, sect 11,1.1 and 11.1.2\ a message type field having length of eight bits all defined as zeros and a subchannel field having also length of eight bits. From the sub-channel field bits five bits have a specific meaning in defining the message content and they are called X, Y, Z, A and B bits. Three bits are spare bits set to zero.
The activation of the testing loop according to the invention can be implemented by means of the CLOSE_TCH__LOOP_CMD message, if one of the spare bits is advantageously also allocated a specific meaning in defining the message content. This new bit can be called, for example, a C bit. Then defining the C bit having value one, a new message content can be defined by a particular bit combination. For example, the following bit combination could be defined: A=1, B=0 and C=1. meaning that if the looped TCH is a TCH/AxS, then decoded inband signalling, information is to be looped back. The value of X bit indicates whether there is only one full-rate channel active or which one of the possibly available sub-channels is used. The values of Y and Z bits can be discarded.
According to a second embodiment of the invention, the test sequence of the inband data modes, which the SS will use. is delivered to the MS. The delivery can take place either before the activation of the test loop or during the test set-up. The SS activates the test loop in the MS, for example by sending the CLOSE_TCH_LOOP_CMD message, and starts to transmit said test sequence. In the MS, there is implemented a counter, which will be incremented every time when the decoded inband data does not correspond with the expected result. When the test sequence is completely looped, the value of the counter can be either checked from the MS or it can be transmitted to the SS, from which value the performance of the inband decoder can be derived.
According to a third embodiment of the invention, the link adaptation algorithm is remained in active state and the MS follows the mode commands MC sent by the SS. Then only the mode indications Ml according to the commanded mode MC are transmitted back to the SS. The speech parameters transmitted by the SS are not looped back from the MS, but they are encoded as zeros. The SS compares the received mode indication Ml to the sent

mode command MC and if they con-espond, the mode command MC decoding can advantageously be measured. However, because only every second frame will be tested the SS, the peri'ormance of mode indication Ml decoding must be measured by a separate test loop.
The block chart of Figure 6 illustrates an apparatus which can be applied in testing configuration according to the invention. The system simulator 600 comprises a generator 602 for generating random/constant speech parameter patterns, which are then input to a channel encoder 604 for encoding. The channel encoded speech frames are then supplied to a transmitting means 606 for transmitting further via a channel simulator 608 to the mobile station 610. The mobile station 610 comprises a receiving means 612 for receiving the transmission, from which the channel encoded speech frames are input to the channel decoder 614. The mobile station 610 comprises means 616 for implementing test loops and for executing a specific test loop according to the instructions given by the system simulator 600. The test loop to be used can be defined, for example, by the CLOSE_TCH_L00P_CMD message, as described above. The output of the test loop is supplied to the channel encoder 618 for encoding. The channel encoded data is then supplied to a transmitting means 620 for transmitting further to the system simulator 600. The system simulator 600 also comprises a receiving means 622 for receiving the transmission, from which the channel encoded data is input to the channel decoder 624. The system simulator 600 comprises comparing means 626 for comparing the received data to the sent pattern and as a result of said comparison, the performance of the decoding can be measured.
For a man skilled in the art It is obvious that In the course of technical progress, the basic idea of the invention can be carried out in numerous ways. Thus, the invention and its embodiments are not limited by the previous examples but they may vary within the scope of the appended claims.




Claims
1. A method for detemriining the performance of decoding in a tele
communication system comprising a decoder and a testing apparatus for sup
plying test data to the decoder, the method comprising generating test dat£
comprising channel coded parameters and inband data,
transmitting the test data from the testing apparatus to the decoder For decoding, characterized by
extracting at least a part of the inband data from the decoded test data,
bypassing a link adaptation process of the decoder,
transmitting at least the part of the inband data back to the testing apparatus, and
determining the performance of decoding by comparing the transmitted inband data and the received inband data in the test apparatus.
2. A method according to claim 1,characterized by
activating a traffic channel of the telecommunication system before
transmitting the test data, and
transmitting the test data from the testing apparatus to the decoder in the downlink traffic channel and from the decoder to the testing apparatus in the uplink traffic channel.
3. A method according to claim 2, characterized by
transmitting the inband data back to the testing apparatus in the first
available uplink traffic channel time frame.
4. A method according to claim 2 or 3, characterized by
transmitting, prior to transmitting the test data, a message from the
testing apparatus to activate a test loop in the decoder, which test loop is implemented in functional connection with the decoder and
acknowledging said message from the decoder to the testing apparatus, in response to the traffic channel being activated.
5. A method according to claim 4, characterized by
the message is a bit combination of CLOSE_TCH_LOOP_CMD message according to the GSM system.
6. A method according to any preceding claim, characterized
in that
the channel coded parameters are speech parameters.

7. A method according to any preceding claim, characterized
by
determining the performance of channel decoding of mode indication (Ml) inband data field in AMR full-rate or half-rate speech channel.
8. A testing apparatus for determining the performance of a de
coder, which testing apparatus is arranged to be functionally connected to the
decoder, the testing apparatus comprising
a composing means for composing test data comprising channel coded parameters and inband data,
a transmitter for transmitting the test data to the decoder for decoding, characterized by further comprising
controlling means for sending a command to the decoder to bypass its link adaptation process,
a receiver for receiving at least part of the inband data, and
a comparator for deternining the performance of decoding by comparing the transmitted inband data and the received inband data.
9. A testing apparatus according to claim 8, characterized in
that the testing apparatus is arranged to
activate a traffic channel towards the decoder before transmitting the test data,
transmit the test data to the decoder in the downlink traffic channel, and
receive the test data from the decoder in the uplink traffic channel.
10. A testing apparatus according to claim 9, characterized
in that the testing apparatus is arranged to
transmit, prior to transmitting the test data, a message to the decoder to activate a test loop in the decoder, which test loop is implemented in functional connection with the decoder and
receive an acknowledgement of said message from the decoder, in response to the traffic channel being activated.
11. A mobile station, comprising
a receiver for receiving test data comprising channel coded parameters and inband data from a testing apparatus,
a decoder for decoding the test data, characterized by fur-5 ther comprising

extracting means for extracting at least part of the inband data from the decoded test data,
controlling means for controlling a link adaptation process of the decoder to be bypassed, and
a transmitter for transmitting at least a part of the inband data back to the testing apparatus.
12. A mobile station according to claim 11, characterized in that
the inband data is arranged to be transmitted back to the testing apparatus in the first available uplink traffic channel time frame.

13. A method for determining the performance of decoding in a telecommunication system
substantially as herein described with reference to the accompanying drawings.
14. A mobile station substantially as herein described with reference to the accompanying drawings.


Documents:

1452-chenp-2003-abstract.pdf

1452-chenp-2003-claims duplicate.pdf

1452-chenp-2003-claims original.pdf

1452-chenp-2003-correspondnece-others.pdf

1452-chenp-2003-correspondnece-po.pdf

1452-chenp-2003-description complete duplicate.pdf

1452-chenp-2003-description complete original.pdf

1452-chenp-2003-drawings.pdf

1452-chenp-2003-form 1.pdf

1452-chenp-2003-form 19.pdf

1452-chenp-2003-form 26.pdf

1452-chenp-2003-form 3.pdf

1452-chenp-2003-form 5.pdf

1452-chenp-2003-pct.pdf


Patent Number 202911
Indian Patent Application Number 1452/CHENP/2003
PG Journal Number 05/2007
Publication Date 02-Feb-2007
Grant Date 07-Nov-2006
Date of Filing 15-Sep-2003
Name of Patentee M/S. NOKIA CORPORATION
Applicant Address Keilalahdentie 4, FIN-02150 Espoo
Inventors:
# Inventor's Name Inventor's Address
1 LEMIEUX, Berthier Kallioportinkatu 5 D 21, FIN-33720 Tampere
PCT International Classification Number H04Q7/347
PCT International Application Number PCT/FI2002/000216
PCT International Filing date 2002-03-15
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 20010533 2001-03-16 Finland