METHOD FOR DETERMINING A LOCATION OF A MOBILE PHONE

Abstract: The invention is based on a terminal device (1) of a mobile telephone network being used to measure the signal and particularly the strength of the signal sent by a base station of the mobile telephone network, and to include this measurement data in a message to be sent to a service to be ordered through the mobile telephone network, the message also including data on the service ordered. On the basis of the data sent, the location (1'') and direction of movement (V) of the terminal device (1) are calculated and this information is taken into account when defining the control or other properties of the service or the reply or other service product sent to the customer. Thus, e.g., suitable service points (4, 6, 8) can be selected from a group of service points (4, 5, 6, 7, 8, 9). The invention is particularly applicable in connection with digital mobile telephone networks and their terminal devices. One such system is the GSM system. The invention is particularly suitable for use in connection with WAP-based services.

Description: Method for determining a location of a mobile phone The present invention relates to a service-request message, according to the preamble to Claim 1 , to be sent from a terminal device of a mobile telephone network to a server connected to the mobile telephone network. The invention also relates to a method, according to the preamble to Claim 9, for determining the location of a terminal device of a mobile telephone network, in connection with a service using location data. Such service-request messages and methods are used to order and provide services dependent on the location of the terminal device. These services can be, for example, services in which an enquiry is made for information relating to a certain geographical area, such as contact details or addresses of service stations, restaurants, etc. in the area. According to the state of the art, the location of a mobile phone connection can be determined using location data given by the mobile phone network, i.e. cell- identification data. In this case, the operator has known in which cell area of the mobile phone network the connection in question is at any moment. If more a precise location than the cell data is desired, a mobile phone has been able to be located more precisely mainly by combining data given by the three mobile phone cells closest to the mobile phone. The result is then a location area for the mobile phone, formed by the intersection of mobile phone cell-coverage areas. Patent publication US 5,926,765 discloses one known solution. Location data can be exploited when providing services depending on location. In such a service, the data required to determine location can be advantageously placed in a single message, which also contains information on the service ordered. The location of the terminal device is calculated from the data sent, the location data being taken into account in the control of the service, or the response sent to the customer, or when otherwise defining the service product or its properties. Services dependent on the location of the terminal device are disclosed in application publications WO 99/11078, WO 98/57506, and WO 98/19479. The precision of known services is not all that could be hoped for. Users of known services particularly encounter problems when moving at a relatively high speed, for example, when sitting in a moving car. When a person sitting in a car uses a location- dependent service, the problem arises, that, if the service is implemented very locally, the person ordering the service may, at the moment it is sent, be already quite far from the area according to which the service is provided. This means that the benefit of the service is small or non-existent. On the other hand, if the service is provided to cover a very large area, the number of targets hit may become too large and the service too complicated. This reduces the benefit of the service particularly to moving users, as a great deal of time is needed to use a complex service. During this time, the user may have moved outside the service area. The use of a complex service is especially dangerous, if the user of the service is driving a moving car. In this connection, however, we wish to emphasise that a mobile phone should never be used while driving a car, as this can endanger traffic. Thus, car drivers may not personally use the services disclosed in the publication. The invention is intended to improve location-dependent services, especially for moving users. The invention is based on the fact that the service is formed by determining not only the location of the mobile phone, but also at least its approximate direction of movement, the service to be provided being delimited by both location and direction of movement. The invention is particularly applicable in connection with mobile phone networks and their terminal devices. One such system is the GSM system. The invention is especially suitable for use in connection with WAP-based services. More specifically, the service request according to the invention is characterized by what is stated in the characterizing section of Claim 1. The method according to the invention is, in turn, characterized by what is stated in the characterizing section of Claim 9. Considerable advantages are gained with the aid of the invention. The invention can be used to significantly improve the targeting of a service offered, especially in the case of moving users. The invention also relates to a new method for determining location, which can be used when producing services according to the invention. This method significantly increases accuracy when determining locations. As, in the invention, the terminal device of the mobile phone network sends the data used to calculate the location data, along with the order for the service, and in a preferred embodiment even in the same message, the location data are transmitted automatically to the service and are immediately available to the service. In the following, the invention is examined with the aid of examples and with reference to the accompanying drawings. Figure 1 shows one example of the application of one method according to the invention. Figure 2 shows a second example of the application of one method according to the invention. Figure 3 shows a third example of the application of one method according to the invention. Figure 4 shows one system that can be used in connection with the invention. Figure 5 shows the method to be performed in the terminal device, according to one embodiment of the invention. Figure 6 shows one situation relating to a service permitted by the invention. In the method shown in Figures 1-3, the mobile phone network's terminal device measures the strength of the signal sent by each mobile phone network base station with which it is in contact. This measurement takes place when the terminal device is used to order a certain service. This can mean, e.g., sending a specific type of service request message. The terminal device then includes, in the service-request message, the data needed to identify the service and the parameters measured by the terminal device, which allow the service ordered to determine the terminal device's location. In this case, the values depicting the strength of the mobile phone network base stations' signals measured by the terminal device and the corresponding base stations' identifying data can be sent, so the service must know the base stations' co-ordinates. This is arranged by the service retrieving the identified base stations' location data from a location server, over a telecommunications link. This embodiment has the advantage that when making a service request, the terminal device need not know the base stations' location, but only their IDs. In an alternative embodiment, when sending a service request, the terminal device sends the base station location data corresponding to the strength values, allowing the service ordered to calculate the location, without a separate base station location database. In this embodiment, the terminal device receives the base stations' location data from the base station over the communications link used between the terminal device and the base station. The system of Figure 4 comprises a mobile phone 1, a location server 2, and an application server 3. Mobile phone 1 contains devices to measure the signals of base stations and transmit the measurements over a mobile phone network to location server 2, e.g., contained in a text-form service-request message. Location server 2 contains devices to receive messages sent by mobile phone 1 and to calculate the location and direction of movement of mobile phone 1 on the basis of a received message. Further, location server 2 contains device to send the calculated location and direction of movement to application server 3. Application server 3 contains devices to receive and interpret the location and direction of movement data sent by location server 2 and devices to provide a service dependent on the location and direction of movement. When using the system of Figure 4, the user of mobile phone 1 orders a service affected by her or his location and/or direction of movement. The user of mobile phone 1 then uses the interface of mobile phone 1 to give a service command, from which the mobile phone makes the measurements and forms a service-request message. Mobile phone 1 sends the service-request message to location server 2 (stage 11). Location server 2 calculates the location and direction of movement of mobile phone 1 and sends the data to application server 3 (stage 12). Application server 3 produces the location-dependent service and provides it to mobile phone 1 (stage 13). Alternatively, the service-request message can also be sent from mobile phone 1 directly to application server 3, which would then send the parameters it received to location server 2 to determine the location and direction of movement. Location server 2 would return a message to application server 3, stating the location and direction of movement of mobile phone 1. Next, application server 3 could deliver the service, as in the example of Figure 4. The location and application server functions can also be performed in a combined server. The method according to Figure 5 can take place in mobile phone 1. The stages of the method of Figure 5 are next described according to the blocks shown in the figure: 21) The user uses the mobile phone's interface to select a service exploiting location and direction of movement data. The mobile phone then receives a command in the form <optionXsend location and directions If direction of movement is not needed the command can be in the form <option><send locations From the command, the mobile phone runs a program related to the service, which can be stored in the permanent memory of the phone, or in, e.g., a connection card, like a SIM card. In principle, the program can also be downloaded over the tele-network for the mobile phone's use. In any event, the mobile phone initiates the program performing the method of Figure 5. 22) The mobile phone measures the first parameters to determine location. The mobile phone records these parameters in its memory, generally a temporary memory. 23) The mobile phone waits for a change of cell. Once the mobile phone detects a change in the group of mobile-phone network base-station cells it is in contact with, the program run proceeds to block 24. A cell-change can be detected, e.g., if the mobile phone is in contact with at least one base-station cell that it was not in contact with when it measured the first recorded parameters. 24) The mobile phone measures second parameters to determine location. The phone records these parameters in its memory, generally a temporary memory. 25) The mobile phone forms a service-request message, containing the identification data of the service ordered and the first and second measured parameters. 26) The mobile phone sends the message it has formed to the address defined in the service-request message, e.g., to the location server or application server. 27) The mobile phone waits for a response to the service request. The program run can then be terminated, unless the service operates continuously. The method can also be implemented using the mobile phone network base station and not the mobile phone to make the measurements. A method like that of, e.g., Figure 5, can then be carried out in the mobile phone network. The method can also be implemented by making the actual measurements in the mobile phone, but sending them to the mobile phone network for saving and processing, when required to carry out a method like that disclosed above. The method can also be adapted by not waiting for a cell-change between parameter measurements, but measuring the parameters at intervals of, e.g. two seconds. This is because waiting for a cell-change can cause problems, if the phone is stationary. If the cell has not changed between measurements, the service can be provided without direction of movement data. Another alternative is for the program to always save the previous cell's data when the cell changes. As the direction of movement parameter is then always available, there is no need to wait for the phone to move after making a service request. A mobile phone's direction of movement can be determined in the location server by a simple calculation using the locations determined from the first and second parameters. The direction of movement can then be expressed, e.g., as a vector. The direction can also be determined more approximately for a service application. The directions can then be divided into classes with the desired precision. The classes can be, e.g., "north", "east", "south" and "west". If desired, intermediate directions can also be included. Of course, there can be more classes, or only two or three. The location of the mobile phone is preferably defined as the location calculated from the second group of parameters, as this definition is more up-to-date. The location of the mobile phone can also be determined by taking into account the times of measuring the first and second parameters and the time the location message was transmitted to the service application and defining the location as a third point estimated from this data. The third point is then calculated by, e.g., adding to the co- ordinates of the second location point the calculated direction of movement vector, the length of which is determined from the ratios of the times between the first and second and the second and estimated third times. Thus, the location of a rapidly moving mobile phone can be approximated. In such an embodiment, the service-request message must naturally also include the times of determining the measurement data. The mobile phone's location and direction of movement are sent in an agreed form to the application server providing the actual location-dependent service. The application server can then provide the service on the basis of the mobile phone's location and direction of movement. The service can be, e.g., a service giving details of nearby service stations, restaurants, or pizzerias, or a weather forecast or traffic conditions service. The application server can use the direction of movement or the direction class defined from it to eliminate data relating to locations already passed by the mobile phone from the group of potential data to be sent to the phone. One possible way to perform this selection is the above direction of movement classification. If the direction of movement of the mobile phone is, e.g., in the class "north-east", all points located between north and east of the location of the mobile phone can be selected, for the service to be provided, from the group of points at a relevant distance. Correspondingly, if the mobile phone is moving to the south, all service points between the south-east and south-west can be selected. The selection direction and its approximateness can of course be chosen freely to differ from the above example. E.g., if the direction class is "south", in some applications services can only be selected if their location point relative to the mobile phone is also in the class "south". In another application, however, if the mobile phone's direction class is "south" all services with locations point in the classes "east", "south-east", "south", "south-west", and "west" relative to phone's location can be selected. Another possible way to select relevant services is calculation using vectors. A certain distance value and angle value can then be defined for each service that can be ordered, the service points remaining within their areas being selected as a service to be sent to the mobile phone. Of course, the selection can also be limited to a maximum number of desired service points, when the most relevant service points are selected, up to the chosen number. When using vector calculation, location vectors for the service points can be calculated in relation to a defined location point of the mobile phone. Those service points are selected for the service, for which the length of location vector is less than the maximum defined for the service and the direction of the location vectors of which deviates from the direction of movement vector defined for the mobile phone, no more than a predefined maximum deviation. Figure 6 uses an example to illustrate the operation of the service and its benefits. In the figure's example, the user of mobile telephone 1 is in a car, moving along road R. The user of mobile phone 1 desires information on nearby service stations and uses the mobile phone to send a service request to the service providing service-station location and contact information. Mobile phone 1 then measures the parameters at a first point (1 ') and a second point (1 ") and sends them, along with the service-request message, as in the examples described above. In the location-point service, point 1 " is calculated as the location of mobile phone 1. The direction of movement vector V is also calculated. Service stations located nearby are now retrieved from the database, according to the service's definitions. This can be carried out, e.g., by service area or by calculating the distances. In this example, service stations 4, 5, 6, 7, 8, and 9 are located in the neighbourhood. In this example, the service is, however, set to select only those nearby service stations that are located in the sector bounded by straight lines LI and L2. This sector may have been selected as, e.g., direction class "east", or it may have been formed by calculation from the direction of movement vector V. In the service of the example of Figure 6, only service stations 4, 6, and 8 are selected for the service to be sent to the mobile phone. This selection brings significant value added to the user of the service, as, in a service according to the state of the art, information would also have been sent on service station 5, which has already been passed and on service stations 7 and 9, which are on side roads. If the service is implemented on a WAP basis or using a technique permitting similar operation, a WAP page containing links to service stations 4, 6, and 8 can be added to the service sent to mobile phone 1 in the example of Figure 6. The links could be named using the service-station names and could be used to give more information on a service station or form a communications contact with the service station. In the following, the use of the service and the formation of service-request messages are illustrated with three examples. In the examples, user needs to find places close to him that can provide him a pizza. Thus he writes pizza to a short message on his mobile phone. Instead of sending it with normal <option><send> or <select><send> sequence, he sends it with <option><send with location> or <select><send position> sequence. What happens with this <send with location> sequence depends on what kind of phone he has and there are at the moment 3 alternatives: 1. GPS If the user has a handset with built in GPS receiver, the handset will add the location coordinates in WGS-84 format at the end of the message typed in by the user. The user never sees this end part of the message, but it would look like this: Pizza ; @1 , N60 . 22 . 38 . 3 , E023 . 06 . 29 . 0" where " ;@" acts as a delimitter for further parsing, 1 describes that the rest of the message means location data in WGS-84 format. Note: There is a space before ; and after the command word that is added by the phone. 2. Cell ID If the user has a normal GSM-handset, the handset will add the Cell ID at the end of the message typed in by the user. The user never sees this end part of the message, but it would look like this: Pizza ; @2 , 29234 where " ;@" acts as a delimitter for further parsing, 2 describes that the rest of the message means Cell ID and decimal number after comma is the actual Cell ID of the serving cell. Note: There is a space before ; and after the command word that is added by the phone. 3. Network measurement data If the user has a normal GSM-handset, the handset will add the several network related paramaters at the end of the message typed in by the user. The user never sees this end part of the message, but it would look like this: Pizza ; ©3 , 244 , 12 , 15 , 3004 , 3 , 105 , 00 , 66 , 231 , 12 , 70 , 345 , 53 , 75 , 516 , 26 , 80 , 765 , 33 , 92 , 766 , 77 , 95 , 15 , 3002 where " ;@" acts as a delimitter for further parsing, 3 describes that the rest of the message means location data consisting of several network related parameters. And the parameters are MCC (Mobile Country Code), MNC (Mobile Network Code), LAC (Location Area Code), CID (Cell Identification Number), TA (Timing Advance, if the value is more than 10 seconds old, the number will be preceeded ore replaced by *), BCCHl (Channel number for 1st cell), BSICl (corresponding Colour code consisting of two digits, if it can not be opened, it is replaced by **), MS Rx 1 (corresponding reception level [dBm]), BCCH2 (Channel number for 2nd cell), BSIC2 (corresponding Colour code consisting of two digits, if it can not be opened, it is replaced by **), MS Rx 2 (corresponding reception level [dBm]), etc until BCCH7, BSIC7 and MS Rx 7, MSTXpwr (transmission power level, if power level adjusting is used, otherwise replaced by *) and finally old CID (i.e. 2 minutes old used for recognition of the direction). Note: There is a space before ; and after the command word that is added by the phone. For the methods referred to above, the actual location of the terminal device can be determined using some known way to determine location. The location can also be determined using the entirely new method disclosed below. Location algorithm 1.0 Calculation of the radius An equation proportional to the signal strength can be used to estimate the distance of the terminal device from the base station, on the basis of the measured signal strength. In that case, the functions can be assumed to be linear, e.g., as follows: - between -30 -> -60 dBm the angular coefficient is 4, i.e. a change of one dBm corresponds to an increase in radius of 4 m - between -60 -> -100 dBm the angular coefficient is 8.75, i.e. a change of one dBm corresponds to an increase in radius of 8.75m Using these angular coefficients, an equation can be formed and the constant required in the equation is defined, in a manner understood by one versed in the art, to be suitable for the system to be used. 2.0 Two base stations and circles 2.1 1 & 2 Circles The circles (x- x, ) 2 + {γ - y l ) 2 = r, 2 1 are formed around the detected base stations, with radii calculated from the dBm value as disclosed above, the location point (xj, y ) of the base station being defined as the centre. This gives intersection points a and b in the example of Figure 1. The points are used to delimit, from the equations of the circles, arcs A and B lying between the intersection points. This gives the following equations for arcs A and B: A ≡ ( - x x ) 2 + [y - y x f = r 2 ,{x : a,b) B ≡ (x- x 2 + (γ - y 2 Y = r 2 2 ,{x : a,b] 3.0 Three base stations and circles If at least three base stations are detected, the following operations must also be carried out, in addition to the stages above: 3.1 Arc A & Circle 3 A 2 , which gives the intersection point c of arc A and the third circle. Next, arc A is redefined: The distances of intersection points a and b from the centre of circle 3 are measured, and, if the distance is found to be greater than radius r 3 , the intersection point is accepted for the redefinition of the arc. Points outside circle 3 are rejected. This can be shown as an equation as follows: This equation notation thus means that, in this application, the following operations are performed in a suitable sequence: - The distances s^ of the end points i' (here points a and b) of the arc being considered (here arc A), from the centre (x;, y,) of circle i being dealt with, are calculated. - Each distance s;- is compared in turn with the radius r, of the circle being dealt with. - If the distance s,- being compared is smaller than or equal to radius r ; , the corresponding end point i' of the arc is accepted for the redefinition. - If the distance s,- being compared is greater than radius r l5 the corresponding end point i' is rejected from further processing. In the example of Figure 1 , a meets the condition → A ≡ (x - x + {γ - y i f = r 2 : a,c} 3.2 Arc B & Circle 3 Continue, as in the previous example, for arc B. B 2 , which gives intersection point d. Redefinition of B: Measure the distances from the centre of circle 3 to intersection points a and b f s a vs b ≤r 3 , ACCEPT ^ s b > r it R E JECT In this case, it is obvious that a once again meets the set condition, and intersection point d is accepted for the redefinition of arc B. Intersection point d is then substituted in place of the end point of arc B, further from the centre of circle 3. The following equation is then obtained for arc B: => B≡{x-x 2 ) 2 +{y-y 2 f =r 2 ,{x:a,d},{y:a,d} 3.3 Arc C A new arc C is defined using intersection points c and d. In this case, reference is also made to Figure 1. 4.0 Four circles If at least four base stations are detected, the operations disclosed in this Section 4 must also be performed, in addition to the previous stages. This example is illustrated by reference to Figure 2. 4.1 Intersections of arcs A, B, C and circle 4 The intersections are sought in the same manner as in Sections 3.1 and 3.2. Thus three arcs instead of two must now be tested. 4.2 Arc A & Circle 4 2 2 ' which gives intersection point e (Figure 2). (x - x 4 ) + [y - y Λ y = r A A is redefined in a manner similar to that in the previous section: The distances of intersection points a and c from the centre of circle 4 are measured and the following comparison and decision operation is performed s a sfs c ≤r , ACCEPT Now c meets the condition => A≡(x-x l ) 2 + (y- y ) = r 2 ,{x:e,c}, y:e,c} and is accepted as a substitute end point of arc A. 4.3 Arc B& Circle 4 B 2 \2 2 , giving intersection point f. (x-x +{γ-y 4 ) =r Redefinition of B: The distance of intersection points a and d from the centre of circle 4 are measured and a comparison and decision operation is performed s a vs d ≤r 4 , ACCEPT * V s d >r,REJECT In this example too, intersection point d meets the condition is accepted. 4.4 Arc C & Circle 4 The test is made in the same way as above. In the example, circle 4 does not intersect arc C, which therefore does not require redefinition. 4.5 Defin ition of arc D Arc D is defined using intersection points e and f : D ≡ (x - x 4 ) 2 + (y - y 4 ) 2 = r 4 ,{x : e,f},{y : e,f} 4.6 Measurement A separate final measurement is made, to determine which intersection points and arcs will remain necessary. The measurement is made between the definition intermediate points (a, c, d) of Section (3) above and the centre of circle 4, in the manner disclosed in the next section. This example too refers to Figure 2. 4.7 Making the measurement Arc C is tested, i.e. the following measurement is made f t y ~ y .^ s a v s c v s d ≤ r 4 , ACCEPT s a v s c s d > r 4 , REJECT Intersection points c and d meet the condition, so arc C is retained. 5.0 Five, six, seven circles If more than four base stations are detected, the operations in Section 4 are repeated. 6.0 Factors affecting the final location selection The additional operations disclosed in this Section 6 can also be performed when estimating the final location to be defined for the terminal device. 6.1 Quality factor A "quality factor" (totalizer) is used to make the final location selection. The quality factor of each circle that intersects an active arc (i.e. one having a definition interval) increases as follows. Totalizer: The quality factor = n - 1 , where n = the number of intersecting circles E.g., if 1, 2, and 3 intersect, the quality factor is 2 and if 1, 3, 5, 7 intersect the factor is 3, etc. 6.3 Order For the quality factor concept to be reasonable, the order of intersection of the circles must be precisely defined. The following is a list of the precise order for proceeding. The first two numbers in bold are of the definition area delimited by the circle for which intersections are sought. 1234567 134567 14567 1567 167 234567 24567 2567 267 34567 3567 367 4567 467 567 57 67 6.4 Location point Once the area, delimited by the arcs, with the highest quality factor is known, the average of the intersection, i.e. node points is calculated and stated as the location point. where n = the number of intersection points. If two or more areas with the same quality factor are formed, the weighted average of the co-ordinates of the base stations is calculated and compared to the location points of the areas with the same quality factor, the smallest distance being chosen as the correct location point. Figure 3 shows an example of this kind. The weighting coefficients are obtained as follows: 99 997 K, = * dBm -\ , i.e. the weighting coefficients vary from 100- 1 , when dBm 70 7 varies from -30-^-100. Weighted average: Measurement of the distance from the weighted average to the location point: 7.0 Conditions Before the operations disclosed in the previous section are performed, it is preferable to apply the following processing conditions: - If two or more channels (CH) have the same base-station co-ordinates, only the first is taken into account. The others are automatically dropped from the examination. - If no intersection points are found with any arc for the circle now being examined, the examination moves to the next circle. - If TA≠ O and channel l 's TA = i the run is performed so that the other six channels' TA = O^i. I.e. if channel l 's TA = 2, the others' TA = 0, 1, 2, thus, the program is run three times. The area thus obtained with the best quality factor is selected, or, if necessary, the base-station weighted-average method is used. - If no circles intersect, only the weighted average of the base stations' co-ordinates is stated. Calculation of the weighted average The weighted average of the base stations' co-ordinates can also be calculated as follows: The weighting coefficients are defined as follows: 99 997 K, = * dBm, H , i.e. the weighting coefficients vary from 100- 1 , when dBm 70 7 varies from -30->-100. The weighted average is calculated from the equation: Location method based on the weighted average The mobile phone can also be located using the so-called weighted average method. In this method, the co-ordinates of each visible base station are given a certain weighting coefficient, based on the reception power level, and a location for the mobile phone is calculated from them. The weighting coefficients can be calculated in many alternative ways. E.g., the weighting coefficients can be calculated from the following equation: τr 99 _ τ 997 K, = RxZev + ' 70 7 Thus, the weighting coefficients then vary between 100...1, if RxLev varies between - 30...-100dBm. Alternatively, the weighting coefficients can also be calculated using the following simpler equation: K, = RxLev + 142 , if (-42 < RxEev < -lQ0)dBm This means that the weighting coefficients are between 42...100, if the reception power level is between -42... -100 dBm, while the weighting coefficient will change by one unit when the power level changes by one. One further possible way is to calculate the weighting coefficients piecewise linearly, according to the following equation: K = — ■ RxLevel + 126 , if (-60 ≤ RxLevel < -30)dBm ' 15 K = — - RxLevel + 183,5 , if (-100 < RxLevel ≤ -6 l)dBm 40 The weighted average is then calculated with the aid of the weighting coefficients and base-station co-ordinates, as follows: in which K t is a weighting coefficient and y, and x, are the co-ordinates of the relevant base station. In this alternative, the weighting coefficients correspond better to reality. The following is an example of the calculation of the co-ordinates of one point, on the basis of base-station data. Three base stations are used in the calculation. Values for the example calculation: The data shown in the table can be inserted in the equation shown above, to give the following equations: 63,2 - 3381000,0 + 49,1 - 3384950,0 + 36,4 - 3382050,0 „,„„,., - ≠ 63,2 + 49,1 + 36,4 63,2 - 6694850,0 + 49,1 - 6691900,0 + 36,4 - 6688775,0 n OQ O I l p „k t = ; — — = 66923δδ,o 63,2 + 49,1 + 36,4 Thus, in this example, the co-ordinate point (3382561,3; 6692388,8) is obtained as the weighted average of the co-ordinates. The algorithms of the location method can be used in such a way, that the weighting coefficients are calculated using different methods, depending on the terrain. Generally known connection-distance attenuation models can also be utilized to calculate the weighting coefficients. The so-called Walfish-Bertoni model is one model that is highly suitable for an urban area. In a built-up area on the other hand, the Okumura-Hata model works well, provided parameters are used to adapt it to a built-up environment.

Claims: Claims: 1. A service-request message to be sent from a terminal device or switching centre of a mobile telephone network to a server connected to the mobile telephone network, containing data identifying the service ordered and first parameters for determining a location of the terminal device by means of operations to be performed in the server, c haracterized in that the service-request message also contains second parameters at least partly differing from the first parameters, for determining a location of the terminal device, at both a first moment corresponding to the first parameters and at a second moment corresponding to the second parameters. 2. A service-request message according to Claim ^characterized in that it includes parameters, measured by the terminal device, for determining the location of the terminal device, by means of operations to be performed in the server. 3. A service-request message according to Claim 2, characterized in that the parameters include a value depicting the strength of the signal of a base station of the mobile telephone network, measured by the terminal device, and identifying data of the base station sending the measured signal, for at least two separate base stations. 4. A service-request message according to Claim 2 or 3, characterized in that the parameters include a value depicting the strength of the signal of a base station of the mobile telephone network, measured by the terminal device, and the location data of the base station sending the measured signal, which is given as, for example, co- ordinates, for at least two separate base stations. 5. A service-request message according to any of Claims 1 -4, characterized in that it is a GSM-network short message (SMS). 6. A service-request message according to any of Claims 1-5, characterized in that it is a message to be sent in connection with ordering a WAP -based service. 7. A service-request message according to any of Claims 1 -6, characterized in that it includes - first parameters measures at a first moment, concerning a first group of base stations, and - second parameters measured at a second moment, concerning a second group of base stations, differing from the first group of base stations in the case of at least one base station, due to the movement of the terminal device that has taken place between the first and second moments. 8. A service-request message according to any of Claims 1-7, characterized in that it includes time data corresponding to the first and second moments, for estimating the speed of the terminal device. 9. A method for determining a location of a terminal device of a mobile telephone network in connection with a service to be used, which service makes use of the location information, in which method - a service request, sent by the terminal device, and which includes data for identifying the service ordered, is received - parameters for determining a location of the terminal device, sent by the terminal device or the mobile telephone network, are received, and - a location of the terminal device is determined on the basis of the parameters received, to direct the service ordered, on the basis of the location determined for the terminal device, c h a r a c t e r i z e d by the steps of: - receiving first parameters sent by the terminal device or mobile telephone network, for determining the location of the terminal device at a first moment, - receiving second parameters sent by the terminal device or mobile telephone network, for determining the location of the terminal device at a second moment, - determining, on the basis of the parameters received, the location of the terminal device at least at the second moment, - determining, on the basis of the parameters received, the direction of movement of the terminal device, and - sending information on the service request received, and on the location or locations and direction of movement determined for the terminal device, to the service ordered. 10. A method according to Claim 9, characterized in that the service request and parameters are received in a digital mobile telephone network, such as a GSM network, in the form of short messages used to transmit character data. 11. A method according to Claim 9 or 10, characterized in that the service request and parameters are received in message form, in such a way that they are included in a single message sent by the terminal device. 12. A method according to any of Claims 9- 11, characterized in that the service is a WAP -based service. 13. A method according to any of Claims 9- 12, characterized in that the parameters include a value depicting the strength of the signal of a mobile telephone network base station measured by the terminal device and identification data of the base station sending the signal, for at least two separate base stations. 14. A method according to Claim 13, characterized in that - the distance of the terminal device from the base stations is calculated from the values depicting the strength of the signals of the base stations, - circles, depicting the possible location points of the terminal device, are defined from the locations of the base stations and the distances of the terminal device from the base stations, each circle's radius being the corresponding determined distance, and its centre the relevant base station's location point, - the intersections of the circles are determined, - the average point calculated from the intersection points of the circles is determined to be the location point of the terminal device. 15. A method according to Claim 14, characterized in that the arcs of the circles remaining between the intersection points are determined. 16. A method according to Claim 15, characterized in that, if there are more than two base stations, after determining the intersection points of the circles defined from the first and second base stations and the arcs remaining between them, when dealing with each subsequent circle, for each previously determined arc - the intersection points of the circle being dealt with and each selected arc are determined, - the radius of the circle being dealt with is compared with the distance of the centre of the said circle from the previously selected intersection points, and - on the basis of the comparison, the previously defined arcs are redefined, so that the arcs' parts remaining outside the circle being dealt with are removed. 17. A method according to Claim 16, characterized in that, if there are more than three base stations, after dealing with the circles defined from the first, second, and third base stations, when dealing with each subsequent circle, each intersection point and each redefined arc are examined, and each intersection point or arc, which is observed to remain outside the circle being dealt with, is removed from the processing. 18. A method according to any of Claims 14-17, characterized in that, if more than one base station has the same co-ordinates, only one of the base stations with the same co-ordinates is taken into account in processing and each subsequent base station with the same co-ordinates is removed from the processing. 19. A method according to any of Claims 15- 18, characterized in that, after dealing with the second circle, before taking each subsequent circle for examination, a check is made to see if the circle to be dealt with has any intersection point with a previously selected arc, and, if it has no intersection points, the circle is rejected from processing. 20. A method according to any of Claims 9-19, characterized in that - the service ordered is sent on the basis of the location and direction of movement determined. 21. A service product, which includes a service to be sent to a mobile phone in a form determined by the location and direction of movement of the mobile phone. 22. A service product according to Claim 21, in which the direction of movement is the mobile phone' direction of movement between two location points of the mobile phone, during the fifteen minutes preceding the moment of sending the service. 23. A mobile telephone, which is adapted, from a command, to - measure first and second parameters, which depict the mobile telephone's location at a first and correspondingly a second moment, and - to form, on the basis of the measured parameters, a service-request message according to any of Claims 1 - 8. 24. A subscriber card for a mobile telephone, which subscriber card contains a program means to be run by the mobile phone, to control the mobile phone from a command to - measure first and second parameters, which depict the location of the mobile telephone at a first and correspondingly at a second moment, and - form, on the basis of the measured parameters, a service-request message according to any of Claims 1 - 8. 25. A mobile telephone network switching centre, which is adapted, from a command, to - measure first and second parameters, which depict the location of the mobile telephone at a first and correspondingly a second moment, and - form, on the basis of the measured parameters, a service-request message according to any of Claims 1 - 8. 26. A mobile telephone network switching centre, which is adapted - to receive first and second parameters measured and sent by a mobile telephone, which depict the locations of the mobile telephone at a first and correspondingly a second moment, and - to form, on the basis of the measured parameters, a service-request message according to any of Claims 1 - 8.

Inventors: KURKIJAERVI TIMO, PIRINEN JUHA, SALMINEN MIKKO, SIPPOLA TIMO, KURKIJAERVI, TIMO, PIRINEN, JUHA, SALMINEN, MIKKO, SIPPOLA, TIMO
Applicants: KURKIJAERVI TIMO, PIRINEN JUHA, RADIOLINJA AB, SALMINEN MIKKO, SIPPOLA TIMO, KURKIJAERVI, TIMO, OY RADIOLINJA AB, PIRINEN, JUHA, SALMINEN, MIKKO, SIPPOLA, TIMO
Application year: 2000
Main classification: H04Q7
IPC codes: H04W4, H04W64