METHOD AND EQUIPMENT FOR SETTING A TIMER

Abstract: A method of setting a timer associated with a protocol supportinga data link in a digital mobile communication system in a connection section. At least one party (MSC/IWF, MS) to the connectionsection monitors if the need to change the timer value has arisen. Should such a need be detected, the timer value (S) is set to avalue deviating from the initial value. The need to change the timer value (S) is also determined during the connection, such asin handover, for example by measuring the propagation delay associated with the connection section. This may be implemented by either of the parties to the connection transmitting to the other party a frame (F) which is selected/formed such that the party receiving the frame sends an acknowledgement (Ack) to the transmitting party. The party which transmitted the frame measures the timefrom the moment of transmission of the frame (F) to the arrival of the acknowledgement (Ack) and deduces the propagation delay (D)therefrom.

Description: METHOD AND EQUIPMENT FOR SETTING A TIMER BACKGROUND OF THE INVENTION The invention relates to considering the propagation delay on a data link in a digital mobile communication system. The invention will be de- scribed using primarily the terms of the GSM system, but it can also be applied to other kind of digital mobile communication systems. In a data call in a digital mobile communication system, the propagation delay is one of the parameters affecting connection quality. The extent of the propagation delay should affect the choice of system parameters. One such system parameter is the set value of a timer T1 associated with the GSM system RLP protocol (Radio Link Protocol). The timer is defined in the ETSI recommendation GSM 04.22. Knowing the value of the propagation delay would contribute to the optimization of the timers of protocol software, particularly those of its layer 2. Connection-specific optimization of timer settings improves the reaction speed of protocol software for example in error situations when the integrity of user data has to be fixed by retransmission of either part or all of the frames in a transmission window. (A transmission window is the number of RPL frames the transmitting party can send without receiving acknowledgement from the receiving party.) If the timer is set too long, data transmission slows down, since potential errors are not corrected until the timer has expired. Setting the timer too short, again, results in a much more serious situation, since the transmitting party has to continuously request acknowledgements from the receiving party. The problem is particularly perceivable when a connection includes a portion which causes much propagation delay, a satellite link, for example. In this case data calls may not succeed or the data transfer rate decreases significantly. Still more significant variations in the propagation delay may occur in inter-BTS handover to a cell whose connection to the mobile switching centre is implemented via a satellite link. Such a situation is shown in Figure 1 , in which the mobile station MS moves along route 1 denoted by a broken line in such a way that the connection is initiated via a base station subsystem BSS1 which has a normal wired connection to the mobile switching centre, or, in short, to the centre, MSC. During the call, inter-BTS handover occurs to a base station system BSS2 whose connection to the centre MSC is via a satellite SAT. BRIEF DESCRIPTION OF THE INVENTION The object of the invention is thus to provide a method and an equipment for implementing the method to solve the above problems associated with variation in the propagation delay. The objects of the invention are achieved by a method and a system which are characterized by what is disclosed in the independent claims. The different embodiments of the invention and the preferred variations thereof are disclosed in the dependent claims. An option would be to improve the tolerance of the system to variations in the propagation delay, for example by increasing the size of the transmission window. However, this would cause the problem of increased data to be retransmitted in error situations. To define a default or initial value for the timer and to have at least one party monitor if the need has arisen to change the timer value, is considered as a better solution. Should such a need be detected, the timer value is set to differ from the default or initial value. The need to change the timer value can be determined in handover, particularly when network structure changes, for example when inter-BTS handover takes place to a cell whose base station is connected to the mobile centre via a satellite link. Instead or in addition, it is also preferable to repeatedly determine the need to change the timer value during the connection. Alternatively or in addition, the need to change the timer value can be detected by an explicit notice, for example by maintaining a table containing cell, loca- tion area or base station controller-specific optimum values for the timer. In known mobile communication systems, setting the timer value is based on network planning, i.e. the timer value has to be set as low as possible, but nonetheless definitely higher than the highest existent propagation delay value. The improvement brought about by the invention is that the sys- tem operates without such a security margin, thus improving the transfer rate in the system. The invention also allows the use of transmission methods having propagation delays that differ from normal at such interfaces as the A interface between a mobile centre MSC and a base station system BSS. PRIMARY EMBODIMENT The primary embodiment of the invention is a solution in which set- ting the timer value comprises measuring the propagation delay associated with a connection section. A connection refers to an entire end-to-end connection between subscriber A and subscriber B (and/or subscriber C... ). A connection section refers to that section of the connection which has a sepa- rate protocol timer. A typical connection section forms between a mobile switching centre MSC and a mobile station MS. Measuring the propagation delay is not a simple solution, since, unlike in athletic contests, there is no external observer to start the run and stop the timer as the runner breasts the finishing tape. An option is for the transmitting party to transmit to the receiving party a frame selected and/or formed in a such a way that the receiving party sends an acknowledgement thereof. In Figure 1 , the frame and the acknowledgement are denoted by references F and Ack, respectively. In the example of Figure 1 , the mobile switching centre MSC transmits frame F and the mobile station MS, while within the area of the base station system BSS2, sends acknowledgement Ack. The transmitting party measures the time that passes from the moment frame F is transmitted to the arrival of acknowledgement Ack. However, this is not necessarily exactly the same as the propagation delay used to set the timer, unless frames formed from user data are used in the measurement. Such frames are not always available, particularly when most needed, i.e. when the connection is being set up and the timer should be set to a suitable value. Hereinafter, frames formed from user data are called 'payload frames' and the frame used for measuring the propagation delay is called 'a measurement frame'. If a measurement frame is not a payload frame, it is called 'a separate measurement frame'. Such separate measurement frames may be treated differently at the other end of the connection than payload frames, i.e. they may have a different priority and/or processing time, i.e. the measurement result it not necessarily representative. User data is sent in l+S frames (Information + Supervisor frame). The use of such frames for measuring the propagation delay is most preferable when there is user data to be sent, since they do not cause extra load to the network. They do not either cause the problem that frames used for measuring are treated differently at the receiving end than payload frames. As regards l+S frames, it should be noted that one acknowledgement can cover several frames. If several successive l+S frames are transmitted, the acknowledgement of the last one also acknowledges all previous frames. Hence the acknowledgement number may shows skips. In this case, a to-and-fro propagation delay is the time between frame F and acknowledgement Ack that have the same number. l+S frames cannot always be used. They are available only in a data transmission mode when there is user data to be transmitted. In this case, a Test frame, for example, can be used in the GSM RLP, resulting in a reliable measurement result without any risk of collision since the receiving party has to acknowledge each Test frame separately, i.e. transmit a corresponding Test Response frame. The use of the information field in a Test frame allows measurement frames to be numbered and thus the Test Response frame can be used for identifying which measurement frame each acknowledgement is associated with. The problem in a Test frame, as in all separate measurement frames, is that the transmission and acknowledgement of extra frames adds to the network load and may slow down data transmis- sion. On the other hand, the moment for using separate measurement frames is when there is no user data to be transmitted. Another problem in a Test frame is that the receiving party processes it in a different way than payload frames, i.e. each Test frame is separately acknowledged, whereby the measurement result may be better than the actual propagation delay experienced by the payload frames. As was stated above, particularly a situation where the timer setting is lower than the actual propagation delay is to be avoided. Another potential measurement frame is the RLP protocol SABM (Set Asynchronous Balanced Mode) which the receiving party acknowledges by frame UA (Unnumbered Acknowledgement). A mobile station can utilize this frame type efficiently since it usually starts the set-up of a connection section. No extra frames have to be used in the measurement, since an SABM frame is anyway required after the connection section has been set up. A problem is that if the interworking function IWF of the mobile switching centre MSC uses the same pair of frames, this results in double initialization of a connection section, since the mobile station is likely to have set up the connection section. Another problem is that in an RLP 4 mode according to the ETSI GSM recommendation 4.22, user data may be lost since data buffers are emptied in re-establishment of a connection section. A third potential measurement frame is the XID frame which is usu- ally employed in a negotiation associated with connection section set-up. It can be used any time and its use does not affect data transmission. A problem is, however, that in XID frame collision, the measurement has to be repeated. A fourth potential measurement frame is the S frame (supervisor frame). It can be used only in data transmission mode and the use of S frames may slow down data transmission. On the other hand, S frames (unlike l+S frames) can be used even when there is no user data to be transmitted. SECONDARY EMBODIMENT A secondary embodiment of the invention is a solution in which the start of a connection and/or a change in network structure, such as in inter- BTS handover, is explicitly informed to the protocol layer that sets the timers. If at the start of a call the connection BSC/MSC is a conventional land connection, the MSC/IWF timers are initiated to one second, for example. If again the connection BSC/MSC is implemented via a satellite, the timers are initiated to higher value, for example 2 seconds. The same deduction is made when the network structure changes, such as in inter-BTS handover. How- ever, this requires major changes in the present GSM system and is feasible mainly in future systems or as a proprietary expansion of present systems. A way to implement this is via a separate satellite connection indicator. When setting up a connection section (at the start of a call or in handover), the MSC receives information stating that a new connection section is being set up via a satellite, whereby the MSC call control software initiates the IWF protocol software in a corresponding manner. In this case, the satellite connection indicator is mainly an on/off indicator merely indicating that the propagation delay is longer than usual. Another way is for the MSC call control software to identify delay requirements in call set-up and/or handover on the basis of the route used on the connection section and to notify to the IWF protocol software the special requirements of the route used as regards the tolerance to propagation delay. This method enables the use of several different delay requirement classes, i.e. the tolerance to the propagation delay may be set connection-specifically. A third way is to identify the delay requirement on the basis of the location area identity, or the like, of the mobile station. In this case the mobile centre must comprise or have access to a table in which the propagation delay is defined cell or location area-specifically. The embodiments may also be used together in such a way that the initial timer value is determined on the basis of connection type and/or loca- tion area on the basis of the secondary embodiment, but the timer value is adjusted later during the connection on the basis of the primary embodiment. BRIEF DESCRIPTION OF THE DRAWINGS The invention will be described in greater detail in connection with preferred embodiments with reference to the attached drawings, of which Figure 1 shows the parts of a digital mobile communication system that are essential to understanding the invention; Figure 2 shows the effect of timer setting on channel transfer rate; and Figure 3 illustrates adjustment of timer setting. DETAILED DESCRIPTION OF THE INVENTION Figure 2 is a diagram showing the effect of timer setting S on the transfer rate TR of the channel involved. The transfer rate TR is at its highest when the timer setting S corresponds to the actual propagation delay D. If the timer setting S is higher than the propagation delay D, the damage is not that significant, since problems arise only when information on error situations is received only after the timer has expired. If again the timer setting S is lower than the actual propagation delay D, the situation is very bad since the transmission of each frame causes the timer to trigger off, and the transmitting party has to retransmit the frames and/or request for a new acknowledgement. In Figure 2 the assumption is that in such an error situation the value of the timer is increased. In a prior art system in which the timer setting is fixed, the transfer rate would immediately fall to zero in such a situation, since no acknowledgement is received for retransmitted frames before the timer has trig- gered off. Finally the connection would break up as a result of an alarm caused by a timer which counts renewed attempts. Timer setting during a connection is preferably implemented by the method shown in Figure 3. At the start of a connection, the timer is set to an empirical value S 0 , which definitely is sufficient. The propagation delay is then measured repeatedly during the connection, and the timer value is decreased by step dSi if the propagation delay D is lower than the timer value S. At time T A it is observed that the timer value S is lower than the propagation delay D. This could result from a measurement error, random variation or the load on the second party to the connection having increased to the extent that its processing time has increased. Such a situation can be detected either by measuring the propagation delay or by detecting that the number of retransmissions is rapidly increasing. The timer value S is now increased by step dS 2 , which is substantially higher than the difference between the measured propagation delay D and the current timer value S. In this context "substan- tially higher" means that the timer setting is increased to a value which is definitely higher than the propagation delay D. Thereupon, when it is observed that the timer value can be decreased, it is again decreased by step dSi, which is clearly lower than the difference between the measured propagation delay D and the current timer setting S. Figure 1 shows a data base, or table DB, which is one way to implement the secondary embodiment of the invention. Figure 1 shows three cells C1 to C3, of which C1 belongs to location area LA1 and C2 and C3 to location area LA2. The database DB may contain a suitable cell, location area and/or base station controller-specific timer value S (in milliseconds in this case). The invention can be best implemented in a mobile station MS and a mobile switching centre MSC. In the case of a mobile switching centre, it is preferable to implement the function of the invention also in what are known as anchor centre connections. An anchor centre is the MSC in which the call interworking function IWF is located when a call has moved to the control of another centre as a result of inter-MSC handover. The invention has been described using the terms of the GSM system, but it is also applicable in other systems, such as the GSM evolution, UMTS, etc. Accordingly, the invention and its embodiments are not restricted to the above examples but may vary within the scope of the claims.

Claims: CLAIMS 1. A method of setting a timer associated with a protocol supporting a data link in a digital mobile communication system in a connection section comprising a transmitting party and a receiving party, in which method an ini- tial value (So) has been defined for the timer, characterized by at least one of the parties monitoring if the need to change the timer value has arisen; setting the timer value (S) to a value deviating from the initial value (So), should such a need be detected. 2. A method as claimed in claim 1 , characterized by said need to change the timer value (S) being determined also during a connection, such as in handover. 3. A method as claimed in claim 1 or 2, characterized by said need to change the timer value (S) being determined repeatedly during a connection. 4. A method as claimed in any one of the preceding claims, characterized by said setting of the timer value (S) comprising the measurement of the propagation delay (D) associated with the connection section. 5. A method as claimed in claim 4, characterized in that should the need to decrease the timer value (S) be detected, the timer value is decreased by a first step (dSi) which is substantially lower than the difference between the measured propagation delay (D) and the current timer value (S). 6. A method as claimed in claim 4 or 5, characterized in that should the need to increase the timer value (S) be detected, the timer value is increased by a second step (dS 2 ) which is substantially higher than the difference between the measured propagation delay (D) and the current timer value (S). 7. A method as claimed in any one of claims 4 to 6, characterized by said measurement of the propagation delay (D) comprising the steps of: either party to the connection transmitting to the other party a frame (F) which is selected/formed such that the party receiving the frame sends an acknowledgement (Ack) to the transmitting party; and the party which transmitted the frame measuring the time from the moment of transmission of the frame (F) to the arrival of the acknowledgement (Ack) and deducing the propagation delay (D) therefrom. 8. A method as claimed in claim 1, characterized by said need to change the timer value being detected from a separate parameter which is read from a database or received from the other party to the connection section at the start of the connection and/or when connection quality changes, such as in handover. 9. A method as claimed in claim 8, characterized by said parameter indicating if the connection section is set up via a satellite or not. 10. A method as claimed in claim 1, characterized by said need to change the timer value being detected on the basis of the location of the mobile station. 11. An equipment (MSC/IWF, MS) for setting a timer associated with a protocol supporting a data link in a digital mobile communication system in a connection section whose first party is said equipment (MSC/IWF, MS) and which also comprises a second party (MS, MSC/IWF) the equipment being adapted to set a predetermined initial value (So) to the timer, characterized by at least one party being adapted to monitor if the need to change the current timer value (S) has arisen; the equipment being adapted to set the current timer value to a value deviating from the initial value (S 0 ), should such a need be detected. 12. An equipment as claimed in claim 11, characterized by being a mobile switching centre (MSC(IWF). 13. An equipment as claimed in claim 12, characterized by comprising or having associated with it a data base (DB) comprising a plurality of different cell, location area and/or base station controller-specific timer val- ues (S). 14. An equipment as claimed in claim 11, characterized by being a mobile station (MS).

Inventors: OHVO MIKKO, PARKKARI TOMMI, PEISALO JORMA, TIIHONEN JUHA, TURUNEN JOUNI, OHVO, MIKKO, PARKKARI, TOMMI, PEISALO, JORMA, TIIHONEN, JUHA, TURUNEN, JOUNI
Applicants: NOKIA NETWORKS OY, OHVO MIKKO, PARKKARI TOMMI, PEISALO JORMA, TIIHONEN JUHA, TURUNEN JOUNI, OHVO, MIKKO, PARKKARI, TOMMI, PEISALO, JORMA, TIIHONEN, JUHA, TURUNEN, JOUNI
Application year: 1999
Main classification: H04Q7
IPC codes: H04B7, H04L1, H04L29, H04W24, H04W28