TELEPHONE SYSTEM

Abstract: During the registration process by which a connection is set up between a mobile telephone and a base station of a mobile telephone network the telephone acquires program data from the network for controlling its operation. This allows upgrades of the system to be provided automatically to the mobile telephone. The mobile telephone (1) and base station (10) each have a memory (7, 19) for storing program data relating to one or more modes of operation. During the registration process the base station (10) transmits a signal indicative of a preferred mode of operation. The mobile telephone (1) responds with a signal indicative of whether its memory (7) already contains program data for this mode of operation. If the signal indicates that the memory (7) does not have this program data, the base station (10) transmits the required program data to the mobile telephone (1). The base station (10) and mobile telephone (1) can then operate in this mode. A check is made to establish if the mobile telephone (1) is able to accept the data. If it is not so capable (for example because it has insufficient memory), the process is repeated with different programs until a program is identified for which there is sufficient capacity in the memory (7). If a call attempt is initiated before this process is complete, the process is curtailed, such that the base station (10) and mobile telephone (1) identify programs already stored in the memory (7), but make no attempt to load a new program, as this could delay call set-up. If the base station (10) receives no response to its initial indication of a preferred program, as would occur if it establishes contact with a conventional (non-programmable) mobile telephone, the base station (10) operates in a default mode.

Description: TELEPHONE SYSTEM The present invention relates to telephone systems. It is of particular application to mobile telephone systems, but can also find application in other systems. The GSM (Global System for Mobile communications) cellular telephone system currently supports three speech coding algorithms, the 1 3 kbit/s "full-rate" codec (coder-decoder), the 1 3kbit/s "enhanced full-rate" codec and the 5.6 kbit/s "half-rate" codec. Control programs, based on these codec algorithms, are stored in read-only memory (ROM) within the telephone and the fixed part of the network, typically in a radio base station control system. It is envisaged that improved algorithms, providing more accurate or faster coding, will be developed in the future, but if the customer is to make use of such an algorithm he has to replace his telephone by one programmed with the new codec algorithm. Conflict can arise between the customer and the network operator over who should bear the cost of such replacement. Various proposals have been made for upgrading or modifying systems for telecommunications terminals in which an upgrade program is transmitted over the network from a network based control facility, allowing the upgrading of suitably programmable telephones. (See for example DE3721 360 (Deutsche Bundesposte) and EP0459344 (Alcatel). However the upgrading program takes time to transmit, and mobile telecommunications terminals have finite memory capacity. According to one aspect of the present invention, there is provided a method of setting up a connection between a first element and second element of a telecommunications system in which at least the first element is capable of transmitting program data to the second element for controlling the operation of the second element ; the method comprising the steps of: exchanging data to identify the most appropriate program data to use for communication between the first and second elements, exchanging data relating to the program data already available to each element; and if the second element does not already have available to it the identified program data, transmitting the program data from the first element to the second element. This arrangement ensures that program data is only transmitted if the program data is required for the connection currently being set up. This reduces the amount of data transmitted, and reduces the likelihood of memory in the second element being over-written unnecessarily The appropriateness of program data may be determined in relation to the type of signal to be transmitted, the quality of the signal, the memory capacity of the second element, and the capabilities of any intermediate links. In a preferred arrangement, the two elements may be a radio base station and a mobile station of a cellular mobile radio system. Alternatively, they may be two telecommunications terminals, communicating with each other over a telecommunications network. The program data transmitted from one network element to the other may be configured such that it can only be used for telecommunications transactions between those two network elements. According to another aspect, the invention provides an element of a telecommunications system having means for storing program data suitable for controlling the operation of a second element; means for selecting the most appropriate program data to use for communication between the first and second elements; and means for exchanging information relating to the program data already available to each element; means for transmitting the selected program data to the second element if the second element does not already have available to it the selected program data. According to a further aspect, the invention comprises an element of a telecommunications system capable of receiving program data for controlling its operation from another element, comprising: means for exchanging data relating to the program data already available to each element, and for exchanging data to identify the most appropriate program data to use for communication between the elements; and means for receiving and storing the program data from the other element if the element does not already have available to it the identified program data Preferably, the first and second elements each have a memory for storing program data relating to one or more modes of operation, and the method comprises the steps of transmitting a signal indicative of a proposed mode of operation from the first element to the second element, detecting the initial signal at the second element, transmitting a response signal from the second element to the first element, the response signal having a first characteristic if the memory in the second element does not contain program data for the proposed mode of operation indicated by the signal, and having a second characteristic if the memory already contains the program data, transmitting the program data from the first element to the second element if the first characteristic is detected; and operating the elements according to the proposed mode if either the first or the second characteristic is detected In a preferred arrangement the method comprises an initial process for selecting the proposed mode of operation, the process comprising the steps of: identifying the type of connection to be made; selecting a mode of operation suitable for the said connection type, for which the first element has the necessary program data; exchanging signals between the first element and the second element to determine what resources are available to the second element, if the second element does not have appropriate resources for supporting the necessary program data, repeating the mode selection and signal exchange steps for further modes of operation until a mode of operation compatible with the capabilities of the second element is identified In one arrangement signals are initially exchanged to determine whether the second element has appropriate resources for the selected program. Repetitions of the process may be initiated alternately from each of the two elements This arrangement is preferred when the two elements are both telecommunications terminals, each capable of transmitting program data to the other, as it will take fewer iterations to identify the optimum program capable of operation on both elements, whichever element initially has it. The optimum program will either be a program carried by the unit with the smaller memory (which must, necessarily, fit the other memory) or, if the other unit carries a better program which can nevertheless be accommodated in the smaller memory, that better program When the two elements are respectively a network element (such as the controller of a radio base station) , and a terminal (such as a mobile radio unit), new programs are likely to be fed into the system only from the network side of the link. It is also unnecessary in practice to allow for the possibility that the terminal has greater memory capacity than the base station control system. In this case a measure of the actual memory capacity of the smaller unit (i.e. the terminal) can be used by the larger unit (the base station control system) to identify the optimum program more quickly The second element may include a further memory storing further program data for use in a default mode, the processing means being operable selectively according to said program data or said further program data, in dependence on the characteristics of the signals. The first element can also be arranged to operate in a default mode if no response to the initial radio signal is received from the second element. Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings; in which: Figure 1 is a block diagram of a mobile telephone system, according to the present invention, including a mobile telephone 1 and a base station control s /stem 10; Figure 2 shows the memory 7 of the telephone 1 of Figure 1 in more detail; Figure 3 shows the base station 1 0 of Figure 1 in more detail; and Figure 4 is a fiow chart illustrating a mode of operation of the mobile telephone 1 in co-operation with the base station 10 Figure 5 is a flow chart illustrating an alternative mode of operation, suitable for use with two telecommunications elements 22, 23 each of which can provide program data to the other. In the embodiment illustrated in Figures 1 to 4 the base station control system 1 0 has a store of suitable codec programs available to it, which can be downloaded to the mobile telephone 1 as required for individual telecommunications transactions. The mobile telephone 1 has a memory in which a default program is stored in read-only memory, and one or more suitable alternative programs can be stored in electronically erasable programmable read¬ only memory (EEPROM) such that further programs can be stored if required to carry out a different transaction These will typically be codec programs requiring a lower bit-rate or providing improved error correction capabilities, which may require more individual data memory within the mobile telephone than the default program, or may simply be faster or more efficient, but require the same amount of memory. Referring firstly to Figure 1 , a mobile telephone 1 comprises a user interface (mouthpiece and earpiece) 2. It also comprises transceiver circuitry 20, a channel quality monitor 4, signalling unit 5, a monitoring and control means 6, a memory 7, and speech and channel codecs 3, 21 ; which may all conveniently be embodied in a microprocessor, and whose functions will now be described. The speech codec 3 operates according to program data stored in the memory 7. The program data includes data based on signal coding and decoding algorithms, which it uses to digitally encode analogue signals received from the user interface 2. These encoded signals are then passed to a channel codec 21 which applies error correction, control data and synchronisation data to the signal before passing the resulting signal to a transceiver 20 which modulates the resulting signal onto a radio frequency carrier for transmission to a base station 1 2, and from there to the base station control system 1 0 and thus the rest of the network 1 1 . The operation of the transceiver 20, channel codec 21 and speech codec 3 also operate in the converse sense, respectively to extract the digital modulation from an incoming RF carrier, remove control data, and apply error correction processes according to the received data, and then to decode the digital signals into analogue form for the user interface 2 The channel quality monitor 4 monitors signals received by the transceiver 20. It may also monitor the output of the channel codec 21 and/or speech codec 3 to monitor the quality of the decoded signals The signalling unit 5 is arranged to generate signals which are encoded by the channel codec 21 for transmission by the transceiver 20. These signals include data retrieved from the memory 7. The monitoring and control means 6 monitors the operation of the signal monitor 4 and the contents of the memory 7 and controls the operation of the signalling unit 5, and the transfer of data between the memory 7 and the speech codec 3. Data may be transmitted to the telephone from the base station control system 10, and this may be received by the channel codec 21 and transferred to the memory 7. Figure 2 shows the memory 7 in more detail The memory 7 has a number of programmable stores 8ap, 8bp, etc. for storing program data, with corresponding identifier stores 8aι, 8bι etc for storing corresponding identifiers. The stores 8aι, 8ap, 8bι, 8bp etc are programmable (overwπtable) e.g. random access memory (RAM) or electronically erasable programmable read-only memory (EEPROM). The latter is preferable as data stored in RAM is lost if power is lost (e.g. through disconnection of the battery), whilst EEPROM data is only erased by entering a special signal. However, RAM is cheaper to provide. There is also a non¬ volatile read-only memory 9 which includes a program store BU containing a "boot- up" program, and another program store D containing program data for a "default" codec program. Other programmable and/or read-only stores may also be present in the memory 7, to hold data for supporting other functions of the telephone, such as stored numbers for a short-code dialling function In some cellular telephone systems, notably that known as GSM (Global System for Mobile communications) part of the control of the mobile telephone is carried out using program data carried on a removable module known as a SIM (Subscriber Identity Module). These are transferable from one telephone to another, to allow the use of the same telephone by users, to allow one user to use different telephones (e.g. a low-powered hand-portable unit and a high powered unit fitted in a motor vehicle). Individual SIMs may be arranged to provide program data to modify the contents of the memory when they are fitted to the telephone. The mobile radio network shown in Figure 1 , illustratively a cellular telephone network, also comprises a radio base station control system 10 in radio communication with the mobile telephone 1 , and connected to a mobile telephone network generally represented as 1 1 . Figure 3 shows the vaπous functional elements of the base station control system 10 in more detail. The base station control system 10 comprises a transceiver 1 3 for encoding and decoding signals, received from the network 1 1 , for transmission as radio signals from an antenna at the base station site itself ( 1 2), and vice versa The transceiver 1 3 can operate according to any one of two or more different codec programs, selected under the control of a control unit 14. The control unit 14 controls a signal generator 1 7 which generates signals for transmission by the antenna 1 2, a response detector 1 5 which is responsive to signals received by the antenna, and a quality measurement unit 1 6 for exchanging test data, by way of the antenna 1 2, with a co-operating mobile unit 1 to establish the signal quality of the link between the two The control unit 14 also controls a data transmission means 1 8 which is configured to retrieve program data from a memory 1 9, and transmit it to the mobile unit by way of the antenna 1 2. It will be appreciated that, although illustrated as being incorporated in the base station site 1 2, some or all of the elements described may be located elsewhere in the network 1 1 . For example the antenna 12 may be located at some distance from the functional elements 1 3-19 forming the base station control system 10, which may itself be co-located with the corresponding functional elements serving other antennas. Such a co-located assembly of these functional elements is commonly referred to as a 'base site controller' (BSC). The operation of this system will now be described, with reference to the flow chart of Figure 4 In Figure 4 the steps performed by the network are labelled 1 01 to 1 12, the steps performed by the mobile telephone are labelled 201 to 21 2, and radio transmissions between the mobile telephone and the base station control system or vice versa are labelled 301 to 31 2. When initial contact is established between the network and the mobile telephone, an exchange of control signals 301 is carried out between the network and the mobile telephone (steps 101 , 201 respectively). This includes a measurement of channel quality on the supervisory (signalling) channel. In practice this generally gives a good indication of the likely signal quality on the speech channels An initial set-up program 201 is carried out in the mobile telephone using the boot up program BU in non volatile memory 9 The network element (in this example the base station control system 10) responsible for co-operating with the mobile telephone ( 1 ) selects a codec suitable for the prevailing conditions (connection-type, channel quality, etc) and transmits ( 109) a signal (309) to the mobile telephone to enquire if the selected program is already loaded in the memory 7 of the mobile telephone. At the mobile telephone 1 , this code is extracted by the channel codec 21 . An identity code for each individual codec is stored as a flag in stores 8aι, 8bι etc. The monitoring and control unit (6) causes the memory (7) to be searched to identify if any of the program code flags 8aι, 8bι etc, corresponds to the proposed code, and causes the signalling unit 5 to generate (step 210) a response (310) according to the presence or absence of the code in the memory 7. If the response is affirmative (Y) the mobile telephone and base station control system commence operation using the selected program. If the response is negative (N), the base station control system next generates ( 105) an enquiry (305) as to what memory capacity is available in the mobile unit ( 1 ) , and the signalling unit 5 in the mobile telephone generates (step 206) a suitable response 306. Based on this information, the base station 10 then determines whether this capacity is sufficient for the selected program (step 1 08), and, if it is, the network element 10 transmits the required codec program (step 1 1 1 ) as a signal 31 1 which is received (21 1 ) by the mobile telephone 1 . For copyright or other reasons there may be restrictions on the use of certain programs, for example to customers of certain networks only. This may require that these programs should not be disseminated to 'roaming' units; that is customers of one network currently connected to another. A check on the user identity may therefore be required. Although indicated in Figure 3 as separate individual addresses, it will be appreciated that a program requiring a high capacity will require more space than a program requiring a lower capacity, and a program requiring a large capacity may be added to the memory 7 at the expense of two or more programs requiring lower capacity. Clearly it is preferable that any empty memory space is used first. If the memory capacity in the mobile telephone 1 is insufficient for the selected codec program, the base station control system 10 selects (step 102a) another codec suitable for the channel conditions, but requiring no more memory capacity than that available in the mobile telephone ( 1 ). The network element 10 now transmits a signal enquiry (309) as before, to determine whether the mobile telephone 1 already has the program loaded (step 1 09), and the signalling unit 5 again generates a response. If the response 31 0 is again negative the network element 10 transmits the required codec program (step 1 1 1 ) as a signal 31 1 which is received (21 1 ) by the mobile telephone 1 . The mobile telephone is now able to start co-operating with the network 1 1 to make calls (31 2) , by exchanging signals with the network (steps 1 1 2/21 2). The initial exchange of information and program loading can take place over a signalling channel or spare channel capacity when the mobile unit ( 1 ) first establishes contact with the base station 10. However, if an actual call is to be made, the downloading process 31 1 would delay the call set-up time. To avoid this problem, if a call attempt (107) takes place before the selected program can be loaded, the downloading step 1 1 1 /21 1 is not followed, (or is interrupted if it has started) , and the method starts again (step 102a) to search for a codec suitable for the channel conditions and memory capacity of the mobile telephone ( 1 ) which is already loaded in the mobile telephone ( 1 ). The detector 1 5 in the base station is arranged to detect the responses 306 and 310 received by the network from the mobile telephone to identify whether the capacity is suitable for the chosen codec and whether the program is already loaded. The transmitter 1 7 generates the signals to be transmitted to the mobile telephone (305 and 309) . The program selected in step 102 or 102a may be the default program stored in the address D in non-volatile memory 9. The default program will always be selected if the capacity available in over-writable memory (signal 306) is less than that required by any codec stored by the base station 10, and may be selected as being the optimum for the prevailing conditions, in other circumstances. If the default program is selected the response 31 0 will always be affirmative. In order for the system to be compatible with existing mobile telephones which are not programmable, the network must be capable of operating in a mode which ensures that such mobile telephones are nevertheless communicated with using the programs which they have in their permanent memories. Standard mobile telephones, not having the upgrade facility, will in general not be capable of responding to the requests transmitted to them (305 and 309) and it is therefore necessary that the base station control system 1 0 responds appropriately in the absence of a response to these requests. Some mobile telephones do not carry any alternative codecs, and may be incapable of transmitting responses to the requests 305 and 309. If no response is received by the network element 1 0 in step 1 10 or 1 06 the base station control system 10 is arranged to select the default codec at the next iteration of step 1 02a. When the default codec has been selected, the base station control system 1 0 is set to operate in step 1 1 0 as if an acceptable response is received, whatever response (if any) is actually received from the mobile telephone 1 . In the case of a mobile telephone which carries a number of codec programs but is not upgradable, the mobile telephone may have the selected program in its permanent memory, in which case the network element 1 0 must respond appropriately to a response (310) from the mobile telephone indicative that the chosen codec program is present. Periodically whilst a mobile telephone is in communication with a base station, the channel quality and other properties are monitored and a decision is taken as to whether a different codec program would be appropriate. If a change is deemed appropriate, the process described above is repeated from step 102a (the selection of a codec suitable to the prevailing conditions and memory capacity of the mobile telephone 1 ) An alternative mode of operation will now be described, in which program data is exchanged between two network elements 22, 23. These may be a base station and mobile unit analogous to the base station 10 and mobile unit 1 already described, but they may instead both be network terminations. A particular application is the conveyance of digitised signals at a non-standard bit rate when both terminations are capable of supporting such a rate. Most telecommunications carriers carry individual calls digitised at a standard bit rate (typically 64 Kbit/s), (these may be multiplexed together at higher rates but each individual call has 64 Kbits/s). Certain types of call involve a coarser digitisation - in particular some cellular telephone systems operate over the radio interface at 1 6 Kbit/s, to reduce the radio bandwidth required Nevertheless, conventionally such signals are re¬ converted to the 64kbιt/s rate for transmission over the fixed network This is necessary because the call could be to terminals not fitted for operation at the lower bit rate, (e g. a conventional telephone) and/or because the fixed network is designed for operation at the higher rate However, if the terminals can ascertain that they are both capable of the non-standard mode of operation, or one terminal can be programmed by the other to achieve such a capability, this allows calls between those terminals to be made using this non-standard mode. The network element 22 has a capability to download program data to the network element 23, which has the capability to receive such data. As will be described, both elements may have both capabilities, so program data may be transmitted in either direction As the functions of these elements 22, 23 relevant to the following description are similar to those of the base station 10 and mobile unit 1 already described, a description of these functions will not be repeated here. The operation of this system will now be described, with reference to the flow chart of Figure 5 In Figure 5 the steps performed by the first element 22 are labelled 101 to 1 12 , the steps performed by the second terminal 23 are labelled 201 to 212, and transmissions between the terminals 22, 23 are labelled 301 to 31 2. Where the steps are common with the process shown in Figure 4, the same reference numerals are used. When initial contact is established between the first element and the second element, an exchange of control signals 301 is carried out between the first element and the second element (steps 101 , 201 respectively). This identifies the type of connection to be made, the quality of the communications channel connecting the elements 22, 23, etc An initial set-up program 201 is carried out in the second element using the boot-up program BU in non volatile memory 9 The first element (22) next selects a preferred program (step 102). It then transmits (step 103) a signal (303) to the second element indicating the amount of memory that the chosen program requires (Note that the second element may already have this program loaded in its memory, but at this stage of the process it is not necessary for the first element to know this) Next (step 204), the capacity of erasable memory (RAM or EEPROM) in the second element 23 is investigated to determine whether the total capacity available (addresses 8a, 8b, 8c, 8d etc) is sufficient to meet the requirement of the proposed program. Although indicated in Figure 3 as separate individual addresses, it will be appreciated that a program requiring a high capacity will require more space than a program requiring a lower capacity, and a program requiring a large capacity may be added to the memory 7 at the expense of two or more programs requiring lower capacity Clearly it is preferable that any empty memory space is used first The second element (23) then completes this step (step 204) by generating a response 304, which is received by the first element (step 104), indicative of whether the second element has the required capacity available in its writable memory space, including any such memory space currently occupied. If the response (304) is negative, the first element (22) next transmits an enquiry as to how much capacity is available, and the second element (23) generates a suitable response (step 306). The process is then repeated, (steps 102-104), but with the first element selecting (in step 102) a program requiring only the memory capacity now known to be available in the second element. On this cycle, the response 304 will of course be affirmative. When the response 304 is that the capacity of the second element is suitable to use the selected program, the first element 22 (step 109) transmits a signal enquiry (309) as to whether the second element already has the program in its memory. The second element (23) transmits (210) a response (31 0) indicating either that it already has the program, or that it requires the program to be loaded. The identity of the individual program is stored as a flag in stores 8aι, 8bι etc and this used in the step 210 in order to establish whether the response 310 to the enquiry (309) (indicating whether the program is already loaded in the memory of the mobile unit) should be in the affirmative. If the response 310 is negative the first element 22 next transmits the required program (step 1 1 1 ) as a signal 31 1 which is received (21 1 ) by the second element 23. The second element 23 is now able to start co-operating with the first element 22 to make calls (31 2), by exchanging signals with the first element (steps 1 1 2/21 2). This procedure reduces the amount of signalling required, since by identifying the capacity of the memory (steps 305,306) before identifying the selected program it avoids the first terminal (22) proposing the use of a program (in step 109) for which the second terminal (23) has insufficient capacity. The initial exchange of information and program loading can take place over a signalling channel or spare channel capacity when the first element (22) first establishes contact with the second element 23. However, when an actual call is to be made, the downloading process 31 1 would delay the call set-up time. To avoid this problem, if a call attempt ( 1 07) takes place before the selected program can be loaded, the downloading step 1 1 1 /21 1 is not followed, (or is interrupted if it has started), and the method starts again (step 102) to search for a suitable program which is already loaded in the second element (23). The detector 1 5 is arranged to detect the responses 304, 306 and 310 received from the second element to the first element to identify whether the capacity is suitable for use of the selected program, or whether a further upgrade is possible and whether the selected program is already loaded. The transmitter 1 7 generates the signals to be transmitted to the second element (303, 305 and 309) . The program selected in step 102 may be the default program stored in the address D in non volatile memory 9, in which case the capacity required in over-writable memory (signal 303) is zero, and the responses 304 and 310 are always affirmative. As the system must be compatible with elements which are not programmable, the first element 22 must be capable of operating in a mode which ensures that communication is made with such non-programmable elements using programs which they have already permanently loaded. Standard network elements, not having the upgrade facility, will in general not be capable of responding to the requests transmitted to them (303, 305 and 309) and it is therefore necessary that the first element 22 responds appropriately in the absence of a response to these requests. In the case of an element which carries a number of programs but is not upgradable, the element may already have the selected program loaded, in which case the first element 22 must respond appropriately to a response from the second element indicative that the chosen program is present. To allow for such a situation the request 303, transmitted by the first element 22 to enquire whether the memory capacity of the second element is suitable to use the chosen program, is formulated in such a way that if the second element is not programmable but does carry the required program it elicits a response which is 5 taken by the first element in step 104 as being affirmative. Similarly in step 1 10, the first element 22 must respond in the manner appropriate to the program being already in the memory of the second element. In circumstances where the second element does not carry any alternative program, then it is likely to be incapable of transmitting responses to the requests 1 0 303 and 305. If no response is received by the first element 22 in steps 104 and 1 06 the first element is arranged to select the default codec at the next iteration of step 102. When the default codec has been selected, the first element 22 is set to operate in steps 104, 108 and 1 10 as if an acceptable response is received, whatever response (if any) is actually received from the second element. 1 5 The two elements 22, 23 may both be items of customer equipment having programming data carried within their programmable memories. In this case, the exchange of data may be similar to that described with reference to Figure 5, except that after steps 104/204, if the outcome is negative (i.e. the second terminal 23 has insufficient capacity for the proposed program), the second 20 terminal 23 initiates the second phase by enquiring what capacity the first terminal has (step 105) and selecting a suitable program from its own store accordingly (step 102) . On this second phase the response 304 must be affirmative, since the second phase only occurs if the second element 23 (now carrying out the enquiry 103) had insufficient memory to store the program initially proposed by the first 25 element 22, and therefore any program the element 23 already has in its memory must be accomαdatable in the larger memory of the first element 22. The roles of the first and second terminals are thus transposed in the next phase. Thus the transactions involve an exchange of "bids" to offer appropriate programming techniques, and if one of the terminals does not already have the program 30 eventually selected, then that program is transmitted (step 31 1 ) to it from the other terminal. To avoid uncontrolled dissemination of such enhanced programs, the system may be arranged such that a program acquired from a first element by a second terminal in this way cannot be retransmitted to a third terminal on establishment of a connection between the second and third terminals. This may be done, for example, by arranging for the program to include encryption or other copy-protection, to ensure that the program in the second terminal only operates correctly when communicating with a terminal having a unique identity code, that code being specific to the first element. Among the codecs which could be introduced using the system described above, are multi-rate codecs capable of adapting to prevailing channel conditions. Such a codec is capable of switching readily between two or more modes. For example, in conditions of good channel quality a linear predictive coding process for analogue-to-digital conversion may be used by the speech codec 3 which operates at 5.6 kbit/s. The channel codec 21 adds an error correction algorithm, e.g. Viterbi coding, adding a further 3.4 kbit/s, allowing the signal to be carried on a 'half-rate' GSM channel ( 1 1 .4 kbit/s) . However, if channel quality deteriorates, a more complex error correction coding is used, requiring 14.8 kbit/s. This requires a 'full-rate' GSM channel (22.8 kbit/s) . (In both cases 2.4 kbit/s control and synchronisation overhead makes up the balance of the channel capacity) . A control signal is transmitted to indicate to the co-operating unit that such a change is to be made The change may be initiated by either unit, according to which one detects a deterioration in signal quality Running an adaptable codec of this type would be particularly appropriate for circumstances in which channel quality is initially close to the quality threshold above which half-rate coding is acceptable, or if the mobile unit is in rapid motion, so signal quality can be expected to change rapidly as the mobile unit approaches or recedes from the base station, or in circumstances where demand for available channels is changing rapidly, such that a switch to or from half-rate coding may become appropriate in order to balance signal quality against the number of calls that can be supported simultaneously.

Claims: CLAIMS 1 . A method of setting up a connection between a first element and second element of a telecommunications system in which at least the first element is capable of transmitting program data to the second element for controlling the operation of the second element ; the method comprising the steps of: exchanging data (301 ) to identify the most appropriate program data to use for communication between the first and second elements, exchanging data (309, 31 0) relating to the program data already available to each element; and if the second element does not already have available to it the identified program data, transmitting (31 1 ) the program data from the first element to the second element. 2. A method according to claim 1 in which the first and second elements each have a memory for storing program data relating to one or more modes of operation; and the method comprises the steps of. transmitting a signal (309) indicative of a proposed mode of operation from the first element to the second element; detecting the initial signal at the second element; transmitting a response signal (310) from the second element to the first element, the response signal (310) having a first characteristic if the memory in the second element does not contain program data for the proposed mode of operation indicated by the signal, and having a second characteristic if the memory already contains the program data; transmitting the program data (31 1 ) from the first element to the second element if the first characteristic is detected; and operating the elements according to the proposed mode (31 2) if either the first or the second characteristic is detected. 3. A method according to claim 1 or claim 2 in which the method further comprises a process for selecting the proposed mode of operation, the process comprising the steps of - identifying the type of connection to be made (301 ); selecting ( 1 02) a mode of operation suitable for the said connection type, for which the first element has the necessary program data; exchanging signals (305, 306) between the first element and the second element to determine what resources are available to the second element; if the second element does not have appropriate resources for supporting the necessary program data, repeating the mode selection ( 102) and signal exchange (309, 310) steps for further modes of operation until a mode of operation compatible with the capabilities of the second element is identified. 4. A method according to claim 3 in which signals (303, 304) are initially exchanged to determine whether the second element has appropriate resources for the selected program. 5. A method according to any preceding claim, in which if the second element ( 1 ) does not already have the identified program data and a call attempt is in progress, the transmission of program data (31 1 ) is interrupted, and the mode selection (102) and signal exchange steps (309, 310) are repeated for further modes of operation until a mode of operation for which both elements are already programmed is identified. 6. A method according to any preceding claim, wherein the mode of operation is an analogue/digital speech encoder/decoder process. 7. A method according to any preceding claim, wherein the first element is a cellular radio fixed base station and the second element is a cellular radio mobile station ( 1 ). 8. A method according to any of claims 1 to 6, wherein the first and second elements are telecommunications terminals. 9. A method according to any preceding claim, wherein the program data transmitted from one network element to the other is configured such that it can only be used for telecommunications transactions between those two network elements. 10. An element of a telecommunications system having means for storing program data suitable for controlling the operation of a second element; means ( 1 6) for selecting the most appropriate program data to use for communication between the first and second elements; and means ( 1 5, 1 7) for exchanging information relating to the program data already available to each element; means ( 1 8) for transmitting the selected program data to the second element if the second element does not already have available to it the selected program data. 1 1 . An element according to claim 10 having a memory (1 9) for storing program data relating to one or more modes of operation; means ( 17) for a transmitting a signal (309) indicative of a proposed mode of operation to the second element; means ( 1 5) for detecting a response signal received from the second element, the response signal (310) having a first characteristic if the memory in the second element does not contain program data for the proposed mode of operation indicated by the signal, and having a second characteristic if the memory already contains the program data; means ( 1 8) for transmitting the program data to the second element if the first characteristic is detected; and means ( 1 3, 14) for operating according to the proposed mode if either the first or the second characteristic is detected. 1 2. An element according to claim 1 0 or 1 1 , being a cellular radio fixed base station control system 1 3 An element of a telecommunications system capable of receiving program data (8) for controlling its operation from another element, comprising: means (5,7,21 ) for exchanging data relating to the program data (8) already available to each element, and for exchanging data to identify the most appropriate program data to use for communication between the elements; and means (7) for receiving and storing the program data from the other element if the element does not already have available to it the identified program data. 14. An element according to claim 1 3 having a memory (7) for storing program data relating to one or more modes of operation; means (6) for detecting a signal (309) indicative of a proposed mode of operation, means (5) for transmitting a response signal (310) to the other element having a first characteristic if the memory (7) in the second element does not contain program data for the proposed mode of operation indicated by the signal, and having a second characteristic if the memory (7) already contains the program data; means (9) for receiving program data from the other element; and means (3) for operating the element according to the proposed mode. 1 5. An element according to claim 1 3 or 14 further comprising means (5) for transmitting a signal (304) to indicate if the element has appropriate resources to operate according to the selected mode of operation. 16. An element according to any of claims 1 3, 14, or 1 5 being a telecommunications terminal. 1 7. An element according to claim 1 6, being a cellular radio mobile station. 1 8. An element according to any of claims 1 0 to 1 7, wherein the mode of operation is an analogue/digital speech encoder/decoder process. 1 9. A method of setting up a telecommunications connection, substantially as described with reference to the drawings. 20. A telecommunications element, substantially as described with reference to the drawings.

Inventors: COXON MARK CRISTOPHER, DAVIS JOHN RICHARD, GOETZ IAN, COXON, MARK, CRISTOPHER, DAVIS, JOHN, RICHARD, GOETZ, IAN
Applicants: BRITISH TELECOMM, COXON MARK CRISTOPHER, DAVIS JOHN RICHARD, GOETZ IAN, BRITISH TELECOMMUNICATIONS PUBLIC LIMITED COMPANY, COXON, MARK, CRISTOPHER, DAVIS, JOHN, RICHARD, GOETZ, IAN
Application year: 1997
Main classification: H04Q7
IPC codes: H04W8, H04W76, H04W92