Terminal positioning method, device, storage medium and positioning module

By enabling the inertial measurement device after satellite positioning and periodically restarting satellite positioning, the problem of high satellite positioning power consumption and inertial navigation error is solved, and a balance between positioning accuracy and power consumption is achieved.

CN113608250BActive Publication Date: 2024-10-11XI AN FIBOCOM WIRELESS SOFTWARE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110873719.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2024-10-11
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

Frequent use of satellite positioning will significantly increase power consumption, and the accumulation of inertial measurement device errors in inertial navigation technology will reduce positioning accuracy, making it difficult to reduce power consumption while ensuring positioning accuracy.

Method used

After obtaining the initial position through satellite positioning, turn off the satellite positioning, enable the inertial measurement device and determine the navigation duration. Use a variable timer to time and predict the real-time position. After the timing reaches the navigation duration, re-enable satellite positioning to correct the position. Repeat this periodically. process to optimize power consumption.

Benefits of technology

While ensuring positioning accuracy, the power consumption of positioning is reduced through the periodic restart of inertial navigation control duration and satellite positioning, and the accumulation of inertial navigation errors is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113608250B_ABST
    Figure CN113608250B_ABST
Patent Text Reader

Abstract

The present application discloses a terminal positioning method, device, storage medium and positioning module. The method includes: obtaining current satellite positioning data through satellite positioning to obtain the first terminal position; turning off the satellite positioning, enabling the inertial measurement device and determining the inertial measurement navigation duration, and then starting timing through a variable timer; based on the first terminal position, predicting the real-time position through the inertial measurement device; after the timing reaches the inertial measurement navigation duration, re-enabling the satellite positioning to obtain the latest satellite positioning data, and correcting the real-time position based on the latest satellite positioning data to obtain the second terminal position. By turning off satellite positioning and predicting the real-time position using inertial navigation, and controlling the restart of satellite positioning according to the inertial measurement navigation duration, the power consumption of navigation is reduced while ensuring the positioning accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of positioning technology, and in particular to a terminal positioning method, device, storage medium and positioning module. Background Art

[0002] At present, satellite positioning technology is widely used, providing high-precision location information for various industry applications and promoting social development. The basic principle of the satellite navigation system is to measure the distance between the satellite with a known position and the user's receiver, and then integrate the data of multiple satellites to know the specific location of the receiver. However, in actual use, frequent use of satellite positioning will significantly increase power consumption. In order to overcome the above problems, in the prior art, positioning is also performed through inertial navigation technology, but the gyroscope and accelerometer information in the inertial measurement device used by inertial navigation has errors, and the accumulated errors will seriously reduce the accuracy of positioning. Therefore, how to reduce the power consumption of positioning while ensuring positioning accuracy is a problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a terminal positioning method, device, storage medium and positioning module, which can reduce the power consumption of positioning while ensuring positioning accuracy. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a terminal positioning method, comprising:

[0005] Acquiring current satellite positioning data through satellite positioning to obtain the first terminal position;

[0006] Turning off the satellite positioning, enabling the inertial measurement device and determining the inertial measurement navigation duration, and then starting timing through a variable timer;

[0007] Based on the first terminal position, predicting the real-time position by the inertial measurement device;

[0008] After the timing reaches the inertial measurement navigation duration, the satellite positioning is re-enabled to obtain the latest satellite positioning data, and the real-time position is corrected based on the latest satellite positioning data to obtain the second terminal position.

[0009] Optionally, the acquiring current satellite positioning data through satellite positioning to obtain the first terminal position includes:

[0010] Acquire the current satellite positioning data through the satellite positioning, and acquire base station positioning data through the base station;

[0011] The first terminal position is determined based on the current satellite positioning data and the base station positioning data.

[0012] Optionally, the process of predicting the real-time position by using the inertial measurement device further includes:

[0013] Get the satellite positioning request sent by the client;

[0014] According to the satellite positioning request, the timing of the variable timer is stopped, and the step of re-enabling the satellite positioning to obtain the latest satellite positioning data is performed.

[0015] Optionally, the process of predicting the real-time position by using the inertial measurement device further includes:

[0016] monitoring the moving distance accumulated and measured by the inertial measurement device after the variable timer starts timing;

[0017] If the moving distance is greater than a preset distance threshold, the timing of the variable timer is stopped, and the step of re-enabling the satellite positioning to obtain the latest satellite positioning data is performed.

[0018] Optionally, determining the inertial measurement navigation duration includes:

[0019] Acquiring parameter information of an application using a positioning service by the terminal, and determining a distance sensitivity level corresponding to the application according to the parameter information;

[0020] According to the pre-constructed correspondence between the distance sensitivity level and the navigation duration, the navigation duration corresponding to the application is determined, and the navigation duration is used as the inertial measurement navigation duration.

[0021] Optionally, determining the inertial measurement navigation duration includes:

[0022] Acquiring parameter information of an application using a positioning service by the terminal, and determining a distance sensitivity value corresponding to the application according to the parameter information;

[0023] Acquire a current speed value of the terminal and a device error parameter of the inertial measurement device;

[0024] Based on the distance sensitivity value, the speed value and the device error parameter, determining the inertial measurement navigation duration according to a pre-constructed navigation duration function;

[0025] The independent variables of the navigation duration function are distance sensitivity, speed and device error, and the dependent variable is the inertial measurement navigation duration.

[0026] Optionally, after correcting the real-time position based on the latest satellite positioning data, the method further includes:

[0027] According to the difference between the latest satellite positioning data and the real-time position, the coefficient of the independent variable in the navigation duration function is optimized.

[0028] In a second aspect, the present application discloses a positioning module, comprising:

[0029] A satellite positioning module, used to obtain current satellite positioning data through satellite positioning to obtain the first terminal position;

[0030] An inertial measurement module, configured to predict a real-time position through the inertial measurement device based on the first terminal position after the satellite positioning is turned off and the inertial measurement device is enabled and the inertial measurement navigation duration is determined and then the timing is started through a variable timer;

[0031] The satellite positioning restart module is used to re-enable the satellite positioning to obtain the latest satellite positioning data after the timing reaches the inertial measurement navigation time, and correct the real-time position based on the latest satellite positioning data to obtain the second terminal position.

[0032] In a third aspect, the present application discloses an electronic device, comprising:

[0033] Memory, used to store computer programs;

[0034] The processor is used to execute the computer program to implement the aforementioned terminal positioning method.

[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program implements the aforementioned terminal positioning method when executed by a processor.

[0036] In this application, the current satellite positioning data is obtained through satellite positioning to obtain the first terminal position; the satellite positioning is turned off, the inertial measurement device is enabled and the inertial measurement navigation duration is determined, and then the timing is started through a variable timer; based on the first terminal position, the real-time position is predicted by the inertial measurement device; after the timing reaches the inertial measurement navigation duration, the satellite positioning is re-enabled to obtain the latest satellite positioning data, and the real-time position is corrected based on the latest satellite positioning data to obtain the second terminal position. It can be seen that after first using satellite positioning to obtain the current first terminal position of the terminal, the satellite positioning function is stopped, the real-time position is located by the inertial measurement device, and the inertial measurement navigation duration is determined, so as to use the inertial measurement navigation duration to control the duration of positioning using the inertial measurement device, and then after the timing reaches the above-mentioned inertial navigation duration, the satellite positioning is used again to determine the current second terminal position of the terminal. In this way, by periodically repeating the above process, the power consumption problem of satellite positioning can be optimized while ensuring the positioning accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0038] Figure 1 A flow chart of a terminal positioning method provided by this application;

[0039] Figure 2 A specific terminal positioning method flow chart provided for this application;

[0040] Figure 3 A schematic diagram of a positioning module structure provided for this application;

[0041] Figure 4 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0042] In the prior art, real-time positioning is performed through satellite positioning technology, but frequent use of satellite positioning will significantly increase power consumption. In the prior art, positioning is also performed through inertial navigation technology, but the gyroscope and accelerometer information in the inertial measurement device used by inertial navigation has errors, and the accumulated errors will seriously reduce the accuracy of positioning. In order to overcome the above technical problems, this application also proposes a terminal positioning method that can reduce the power consumption of positioning while ensuring positioning accuracy.

[0043] The present application embodiment discloses a terminal positioning method, which is applied to a terminal, see Figure 1 As shown, the method may include the following steps:

[0044] Step S11: obtaining current satellite positioning data through satellite positioning to obtain the first terminal location.

[0045] In this embodiment, current satellite positioning data is first acquired through satellite positioning to obtain the first terminal position, that is, the current precise position of the terminal.

[0046] In this embodiment, the obtaining of current satellite positioning data through satellite positioning to obtain the first terminal position may include: obtaining the current satellite positioning data through the satellite positioning, and obtaining base station positioning data through a base station; and determining the first terminal position based on the current satellite positioning data and the base station positioning data. That is, the first terminal position may be a position determined by combining satellite positioning and base station positioning.

[0047] Step S12: turn off the satellite positioning, enable the inertial measurement device and determine the inertial measurement navigation duration, and then start timing through a variable timer.

[0048] In this embodiment, after obtaining the above-mentioned first terminal position, the satellite positioning function of the terminal is turned off, the inertial navigation of the inertial measurement device is enabled, and the inertial measurement navigation duration is determined. The inertial measurement navigation duration is the duration of inertial navigation using the inertial measurement device, and then the variable timer is used to start timing from zero based on the above-mentioned inertial navigation duration.

[0049] In this embodiment, the determination of the inertial measurement navigation duration may include: obtaining parameter information of the application of the positioning service used by the terminal, and determining the distance sensitivity level corresponding to the application according to the parameter information; determining the navigation duration corresponding to the application according to the pre-constructed correspondence between the distance sensitivity level and the navigation duration, and using the navigation duration as the inertial measurement navigation duration. It can be understood that since different applications have different sensitivity to distance, that is, the required positioning accuracy is different, the above-mentioned inertial navigation duration can be specifically obtained by obtaining parameter information of the application of the positioning service used by the terminal, and then determining the distance sensitivity level corresponding to the application according to the parameter information; and then determining the navigation duration corresponding to the above-mentioned application according to the pre-constructed correspondence between the distance sensitivity level and the navigation duration. And, when there are multiple applications using the positioning service, the application with the highest sensitivity level shall prevail. Of course, in addition to this, the above-mentioned inertial navigation duration can also be a fixed value set by the user.

[0050] Step S13: Based on the first terminal position, predict the real-time position through the inertial measurement device.

[0051] In this embodiment, after the above-mentioned inertial measurement device is enabled, the real-time position of the above-mentioned terminal is predicted by the inertial measurement device based on the determined first terminal position. It can be understood that the inertial measurement device usually includes an accelerometer and a gyroscope, also known as an inertial navigation combination. The accelerometer detects the acceleration of an object, and the gyroscope is called an angular velocity sensor, which is used to detect angular velocity. By collecting the initial velocity of the terminal, combining the acceleration measured by the accelerometer, and then converting the displacement caused by the acceleration according to the quadratic integration method, and then using the initial velocity to calculate the displacement caused by the velocity, the real-time position of the terminal is further calculated.

[0052] Step S14: after the timing reaches the inertial measurement navigation duration, re-enabling the satellite positioning to obtain the latest satellite positioning data, and correcting the real-time position based on the latest satellite positioning data to obtain the second terminal position.

[0053] In this embodiment, after the inertial measurement device is enabled, the variable timer starts timing according to the inertial measurement navigation duration. When the timing reaches the inertial measurement navigation duration, the satellite positioning is re-enabled to obtain the latest satellite positioning data, and the real-time position obtained by the inertial measurement device is corrected based on the latest satellite positioning data to obtain the second terminal position, that is, the current precise position of the terminal. It is understandable that, due to the error of the inertial measurement device, the error generated by the inertial navigation will become larger and larger over time, so it needs to be corrected after a period of time.

[0054] In this embodiment, the process of predicting the real-time position through the inertial measurement device may also include: obtaining a satellite positioning request sent by the client; according to the satellite positioning request, stopping the timing of the variable timer, and executing the step of re-enabling the satellite positioning to obtain the latest satellite positioning data. It is understandable that in order to fit the actual usage, improve the overall flexibility, and meet the needs of users, it is also possible to receive a satellite positioning request sent by the user when precise positioning is required at a certain moment, and then according to the above satellite positioning request, stop the timing of the variable timer, and execute the above step of re-enabling the above satellite positioning to obtain the latest satellite positioning data.

[0055] In this embodiment, the process of predicting the real-time position by the inertial measurement device may also include: monitoring the inertial measurement device after the variable timer starts timing, accumulating the measured moving distance; if the moving distance is greater than the preset distance threshold, stopping the timing of the variable timer, and executing the step of re-enabling the satellite positioning to obtain the latest satellite positioning data. It can be understood that in order to prevent the error from gradually increasing due to the long distance of using inertial positioning, in this embodiment, the inertial measurement device is monitored after the variable timer starts timing, accumulating the measured moving distance; and when the above-mentioned moving distance is greater than the preset distance threshold, stopping the timing of the variable timer, and executing the step of re-enabling satellite positioning to obtain the latest satellite positioning data.

[0056] As can be seen from the above, in this embodiment, the position is calculated by inertial navigation by turning off satellite positioning, thereby saving power consumption; and based on the inertial measurement navigation duration, a variable timer is used to control the re-activation of satellite positioning to correct the current position to avoid excessive errors. Thus, by relying on inertial navigation, but by periodically starting satellite positioning to correct the position, the effect of reducing power consumption is achieved, while reducing positioning errors.

[0057] The present application discloses a specific terminal positioning method. Figure 2 As shown, the method may include the following steps:

[0058] Step S21: obtaining current satellite positioning data through satellite positioning to obtain the first terminal location.

[0059] Step S22: turn off the satellite positioning and enable the inertial measurement device.

[0060] Step S23: Acquire parameter information of an application using a positioning service of the terminal, and determine a distance sensitivity value corresponding to the application according to the parameter information.

[0061] In this embodiment, the parameter information of the application using the positioning service of the terminal is obtained, and the distance sensitivity value corresponding to the application is determined according to the parameter information. It can be understood that different applications have different sensitivities to the positioning distance error, that is, different requirements for the accuracy of positioning; for example, weather forecast applications only need to know which area the terminal is currently in, and are less sensitive to the position error, while car navigation type services are more sensitive to the position error, so the applications can be classified and processed according to their sensitivity to the position error.

[0062] Step S24: Acquire the current speed value of the terminal and the device error parameter of the inertial measurement device.

[0063] In this embodiment, the current speed value of the terminal can be obtained through the speed sensor, and the device error parameter of the locally set inertial measurement device can be obtained. It can be understood that the difference between the output data and the actual data during the operation of the inertial measurement device can be calculated based on the above device error parameter.

[0064] Step S25: Based on the distance sensitivity value, the speed value and the device error parameter, the inertial measurement navigation duration is determined according to a pre-constructed navigation duration function, and then timing is started by a variable timer.

[0065] In this embodiment, based on the above-mentioned distance sensitivity value, the above-mentioned speed value and the above-mentioned device error parameter, the inertial measurement navigation duration is determined according to the pre-constructed navigation duration function, and then the timing is started by a variable timer. Among them, the independent variables of the above-mentioned navigation duration function are distance sensitivity, speed and device error, and the dependent variable is the inertial measurement navigation duration. It can be understood that according to the function between distance sensitivity and distance, the distance sensitivity value of the current application can be determined to determine the maximum error distance allowed by the current application. The speed value and the device error parameter can be used to infer how long it will take to reach the maximum allowable error distance, thereby confirming the inertial measurement navigation duration. The specific navigation duration function can be T=f(V,X,N), where N is the distance sensitivity, V is the speed, and X is the device error. The inertial measurement navigation duration thus determined fits the application currently using the positioning service, and achieves the maximum guarantee of positioning accuracy while reducing the power consumed by positioning, thereby improving the intelligence of positioning.

[0066] Step S26: Based on the first terminal position, predict the real-time position through the inertial measurement device.

[0067] Step S27: After the timing reaches the inertial measurement navigation duration, the satellite positioning is re-enabled to obtain the latest satellite positioning data, and the real-time position is corrected based on the latest satellite positioning data to obtain the second terminal position.

[0068] In this embodiment, after correcting the real-time position based on the latest satellite positioning data, the method may further include: optimizing the coefficients of the independent variables in the navigation duration function according to the difference between the latest satellite positioning data and the real-time position. It is understandable that the coefficients of the independent variables in the navigation duration function can be continuously optimized based on a large amount of measured data to continuously improve the accuracy of the function, thereby improving the accuracy of the inertial navigation duration.

[0069] Among them, the specific processes of the above-mentioned steps S21, S22, S26, and S27 can refer to the corresponding contents disclosed in the above-mentioned embodiments, and will not be repeated here.

[0070] As can be seen from the above, in this embodiment, an inertial navigation device is used to predict the real-time position of the terminal, and then satellite positioning is periodically used to correct the terminal position. The period is controlled by a variable timer according to the inertial measurement navigation duration. In addition, the inertial measurement navigation duration depends on the sensitivity of the application currently using the positioning service to the position error, the speed of the current terminal and the error of the inertial measurement device itself, thereby ensuring positioning accuracy while taking into account low power consumption.

[0071] Correspondingly, the present application also discloses a terminal positioning module, see Figure 3As shown, the module includes:

[0072] The satellite positioning module 11 is used to obtain current satellite positioning data through satellite positioning to obtain the first terminal position;

[0073] The inertial measurement module 12 is used to, after the satellite positioning is turned off and the inertial measurement device is enabled and the inertial measurement navigation duration is determined, and then the variable timer starts timing, predicts the real-time position based on the first terminal position through the inertial measurement device;

[0074] The satellite positioning restart module 13 is used to re-enable the satellite positioning to obtain the latest satellite positioning data after the timing reaches the inertial measurement navigation time, and correct the real-time position based on the latest satellite positioning data to obtain the second terminal position.

[0075] As can be seen from the above, in this embodiment, the current satellite positioning data is obtained through satellite positioning to obtain the first terminal position; the satellite positioning is turned off, the inertial measurement device is enabled and the inertial measurement navigation duration is determined, and then the timing is started through the variable timer; based on the first terminal position, the real-time position is predicted by the inertial measurement device; after the timing reaches the inertial measurement navigation duration, the satellite positioning is re-enabled to obtain the latest satellite positioning data, and the real-time position is corrected based on the latest satellite positioning data to obtain the second terminal position. It can be seen that after first using satellite positioning to obtain the current first terminal position of the terminal, the satellite positioning function is stopped, the real-time position is located by the inertial measurement device, and the inertial measurement navigation duration is determined, so as to use the inertial measurement navigation duration to control the duration of positioning using the inertial measurement device, and then after the timing reaches the above-mentioned inertial navigation duration, the satellite positioning is used again to determine the current second terminal position of the terminal. In this way, by periodically repeating the above process, the power consumption problem of satellite positioning can be optimized while ensuring the positioning accuracy.

[0076] In some specific embodiments, the satellite positioning module 11 may specifically include:

[0077] A data acquisition unit, used to acquire the current satellite positioning data through the satellite positioning, and acquire base station positioning data through a base station;

[0078] The first terminal position determining unit is used to determine the first terminal position based on the current satellite positioning data and the base station positioning data.

[0079] In some specific embodiments, the terminal positioning module may specifically include:

[0080] A positioning request obtaining unit, used to obtain a satellite positioning request sent by a client;

[0081] The first restart selection unit is used to stop the timing of the variable timer according to the satellite positioning request, and execute the step of re-enabling the satellite positioning to obtain the latest satellite positioning data.

[0082] In some specific embodiments, the terminal positioning module may specifically include:

[0083] A distance monitoring unit, used for monitoring the moving distance accumulated and measured by the inertial measurement device after the variable timer starts timing;

[0084] The second restart selection unit is used to stop the timing of the variable timer if the moving distance is greater than a preset distance threshold, and execute the step of re-enabling the satellite positioning to obtain the latest satellite positioning data.

[0085] In some specific embodiments, the inertial measurement module 12 may specifically include:

[0086] an application level determination unit, configured to obtain parameter information of an application of the terminal using a positioning service, and determine a distance sensitivity level corresponding to the application according to the parameter information;

[0087] The first navigation duration determining unit is used to determine the navigation duration corresponding to the application according to a pre-constructed correspondence between the distance sensitivity level and the navigation duration, and use the navigation duration as the inertial measurement navigation duration.

[0088] In some specific embodiments, the inertial measurement module 12 may specifically include:

[0089] an application parameter acquisition unit, configured to acquire parameter information of an application of the terminal using a positioning service, and determine a distance sensitivity value corresponding to the application according to the parameter information;

[0090] A speed and error acquisition unit, used to acquire a current speed value of the terminal and a device error parameter of the inertial measurement device;

[0091] The second navigation duration determination unit is used to determine the inertial measurement navigation duration based on the distance sensitivity value, the speed value and the device error parameter according to a pre-constructed navigation duration function; wherein the independent variables of the navigation duration function are the distance sensitivity, the speed and the device error, and the dependent variable is the inertial measurement navigation duration.

[0092] In some specific embodiments, the terminal positioning module may specifically include:

[0093] The optimization unit is used to optimize the coefficient of the independent variable in the navigation duration function according to the difference between the latest satellite positioning data and the real-time position.

[0094] Furthermore, the present application also discloses an electronic device, see Figure 4 As shown, the contents in the drawings should not be considered as any limitation on the scope of use of the present application.

[0095] Figure 4 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the terminal positioning method disclosed in any of the aforementioned embodiments.

[0096] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0097] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223 including satellite positioning data, etc. The storage method can be temporary storage or permanent storage.

[0098] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the terminal positioning method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0099] Furthermore, an embodiment of the present application also discloses a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the terminal positioning method disclosed in any of the aforementioned embodiments are implemented.

[0100] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the positioning module disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0101] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0102] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0103] The above is a detailed introduction to a terminal positioning method, device, storage medium and positioning module provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A terminal positioning method, characterized in that: Applied to terminals, including: Acquiring current satellite positioning data through satellite positioning to obtain the first terminal position; Turning off the satellite positioning, enabling the inertial measurement device and determining the inertial measurement navigation duration, and then starting timing through a variable timer; Based on the first terminal position, predicting the real-time position by the inertial measurement device; After the timing reaches the inertial measurement navigation duration, re-enabling the satellite positioning to obtain the latest satellite positioning data, and correcting the real-time position based on the latest satellite positioning data to obtain the second terminal position; Wherein, determining the inertial measurement navigation duration includes: Acquiring parameter information of an application using a positioning service by the terminal, and determining a distance sensitivity value corresponding to the application according to the parameter information; Acquire a current speed value of the terminal and a device error parameter of the inertial measurement device; Based on the distance sensitivity value, the speed value and the device error parameter, determining the inertial measurement navigation duration according to a pre-constructed navigation duration function; The independent variables of the navigation duration function are distance sensitivity, speed and device error, and the dependent variable is the inertial measurement navigation duration; if there are multiple applications using positioning services, the highest level of distance sensitivity is used as the independent variable of the navigation duration function; Wherein, after correcting the real-time position based on the latest satellite positioning data, the method further includes: According to the difference between the latest satellite positioning data and the real-time position, the coefficient of the independent variable in the navigation duration function is optimized.

2. The terminal positioning method according to claim 1, characterized in that: The step of acquiring current satellite positioning data through satellite positioning to obtain the first terminal position includes: Acquire the current satellite positioning data through the satellite positioning, and acquire base station positioning data through the base station; The first terminal position is determined based on the current satellite positioning data and the base station positioning data.

3. The terminal positioning method according to claim 1, characterized in that: The process of predicting the real-time position by the inertial measurement device also includes: Get the satellite positioning request sent by the client; According to the satellite positioning request, the timing of the variable timer is stopped, and the step of re-enabling the satellite positioning to obtain the latest satellite positioning data is performed.

4. The terminal positioning method according to claim 1, characterized in that: The process of predicting the real-time position by the inertial measurement device also includes: monitoring the moving distance accumulated and measured by the inertial measurement device after the variable timer starts timing; If the moving distance is greater than a preset distance threshold, the timing of the variable timer is stopped, and the step of re-enabling the satellite positioning to obtain the latest satellite positioning data is performed.

5. The terminal positioning method according to claim 1, characterized in that: The determining of the inertial measurement navigation duration includes: Acquiring parameter information of an application using a positioning service by the terminal, and determining a distance sensitivity level corresponding to the application according to the parameter information; According to the pre-constructed correspondence between the distance sensitivity level and the navigation duration, the navigation duration corresponding to the application is determined, and the navigation duration is used as the inertial measurement navigation duration.

6. A positioning module, characterized in that: include: A satellite positioning module, used to obtain current satellite positioning data through satellite positioning to obtain the first terminal position; An inertial measurement module, configured to predict a real-time position through the inertial measurement device based on the first terminal position after the satellite positioning is turned off and the inertial measurement device is enabled and the inertial measurement navigation duration is determined and then the timing is started through a variable timer; A satellite positioning restart module, configured to re-enable the satellite positioning after the timing reaches the inertial measurement navigation duration to obtain the latest satellite positioning data, and to correct the real-time position based on the latest satellite positioning data to obtain the second terminal position; The inertial measurement module is used to obtain parameter information of the application of the terminal using the positioning service, and determine the distance sensitivity value corresponding to the application according to the parameter information; obtain the current speed value of the terminal and the device error parameter of the inertial measurement device; based on the distance sensitivity value, the speed value and the device error parameter, determine the inertial measurement navigation duration according to a pre-constructed navigation duration function; wherein the independent variables of the navigation duration function are the distance sensitivity, speed and device error, and the dependent variable is the inertial measurement navigation duration; if there are multiple applications using the positioning service, the highest level of distance sensitivity is used as the independent variable of the navigation duration function; The positioning module is further used to optimize the coefficient of the independent variable in the navigation duration function according to the difference between the latest satellite positioning data and the real-time position after correcting the real-time position based on the latest satellite positioning data.

7. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the terminal positioning method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer programs are executed by a processor, the terminal positioning method as described in any one of claims 1 to 5 is implemented.