Processing method for improving positioning stability and precision based on three positioning engines

Through the collaborative positioning of three positioning engines, the optimal positioning result is selected based on the judgment of distance, error range, priority and movement rate, which solves the problems of Android phone positioning engine in model fragmentation and untimely data update, and improves positioning accuracy and stability.

CN118574074AActive Publication Date: 2024-08-30BEIJING FENYANG TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411021178.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-08-30
Estimated Expiration
2044-07-29

Smart Images

  • Figure CN118574074A
    Figure CN118574074A
Patent Text Reader

Abstract

The invention provides a processing method for improving positioning stability and precision based on three positioning engines, and belongs to the technical field of positioning. The method comprises the following steps of: (1) starting a three-positioning engine, and calculating distances among an Gade coordinate point, a Baidu coordinate point and a Tencent coordinate point; (2) extracting two coordinate points with the shortest coordinate distance, comparing the two coordinate points according to a positioning mode, positioning accuracy and / or positioning time priority, and extracting a finally adopted coordinate point; (3) judging the finally adopted coordinate point, and pushing the coordinate point to a user if a preset condition is met; and (4) if the finally adopted coordinate point is within the set range, storing the finally adopted coordinate point as a trust coordinate. According to the method, a scheme of cooperative positioning of a plurality of positioning engines is selected, positioning coordinate points are obtained from each positioning engine, the distance between the coordinate points returned by each positioning engine is calculated, and an optimal positioning result is selected through calculation according to a preset error range, positioning precision, positioning time and a positioning mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of positioning technology, and specifically relates to a processing method for improving positioning stability and accuracy based on three positioning engines. Background Art

[0002] The main domestic positioning service providers are: AutoNavi, Baidu, and Tencent. Each service provider has its own positioning data. The data collection and cleaning algorithms are different and there are certain differences. At the same time, the coverage rate of positioning data of each service provider in China cannot reach 100%, and there will always be some blind spots. At present, the positioning capability of Android phones is generally provided by a single positioning engine (one of AutoNavi, Baidu, or Tencent). The positioning capability of the positioning engine mainly relies on the WIFI, base station, GPS of the mobile device, and the positioning data (coordinate information and address information) of the background of the positioning service provider itself; however, there are currently the following shortcomings: (1) Due to the serious fragmentation of Android mobile phone models, the positioning engine SDK may not work properly on some models; (2) Due to the bugs in the positioning API service of the background of the positioning service provider, the positioning cannot be done properly; (3) Due to the untimely update of the positioning data of the positioning service provider, the wrong coordinate information is obtained, such as the change of place name, WIFI transfer, etc.; (4) The positioning data is not comprehensive, resulting in missing positioning information; (5) The positioning coordinates often cross provinces and cities, and the deviation is very large. Summary of the invention

[0003] The present invention provides a processing method for improving positioning stability and accuracy based on three positioning engines, wherein the method comprises the following steps: (1) Start the three positioning engines and calculate the distances between the Amap coordinate point, the Baidu coordinate point, and the Tencent coordinate point; (2) Extract the two coordinate points with the shortest coordinate distance, compare them according to the positioning method, positioning accuracy and / or positioning time priority, and extract the final coordinate point; (3) Determine the final coordinate point and push it to the user if it meets the preset conditions; (4) If the final coordinate point is within the set range, the final coordinate point is stored as the trusted coordinate.

[0004] Furthermore, the method further comprises: (5) When the Amap coordinate point, Baidu coordinate point and Tencent coordinate point generate two positioning coordinate points, the moving speed of the two coordinate points and the time difference between the positioning of the trusted coordinate point are calculated; (6) Determine the moving speed of the two coordinate points respectively; (7) Compare the weights of the two coordinate points, and compare them according to the positioning method, positioning accuracy and / or positioning time priority to determine the final coordinate point to be adopted.

[0005] Furthermore, the step (1) includes turning on positioning, starting the three positioning engines, and calculating the distances between the positioning coordinate points of the AutoNavi positioning engine, the positioning coordinate points of the Baidu positioning engine, and the positioning coordinate points of the Tencent positioning engine, wherein the error range between the positioning coordinate points of the AutoNavi positioning engine and the Baidu positioning engine, the positioning coordinate points of the Baidu positioning engine and the Tencent positioning engine, and the positioning coordinate points of the AutoNavi positioning engine and the Tencent positioning engine is set to be 1500 meters.

[0006] Furthermore, the step (2) comprises: (2-1) Extract the two coordinate points with the shortest coordinate distance among the three coordinate points and exclude the farthest coordinate point; (2-2) comparing the positioning methods, positioning accuracy and / or positioning time priority of the two extracted coordinate points; (2-3) Extract the positioning results with high accuracy and close time as the final coordinate points to be adopted.

[0007] Furthermore, the step (3) includes forming a triangle with the three coordinate points of the positioning coordinate points of the AutoNavi positioning engine, the positioning coordinate points of the Baidu positioning engine and the positioning coordinate points of the Tencent positioning engine. When the side length distance between the positioning coordinate points of the AutoNavi positioning engine and the positioning coordinate points of the Baidu positioning engine is greater than the error range, the side length distance between the positioning coordinate points of the Baidu positioning engine and the positioning coordinate points of the Tencent positioning engine is greater than the error range, or the side length distance between the positioning coordinate points of the AutoNavi positioning engine and the positioning coordinate points of the Tencent positioning engine is greater than the error range, if one of the conditions is met, the coordinate points finally adopted are directly provided to the user as the final data.

[0008] Furthermore, the step (3) further includes forming a triangle with the three coordinate points of the positioning coordinate points of the AutoNavi positioning engine, the positioning coordinate points of the Baidu positioning engine and the positioning coordinate points of the Tencent positioning engine. When the side length distance between the positioning coordinate points of the AutoNavi positioning engine and the positioning coordinate points of the Baidu positioning engine is less than or equal to the error range, the side length distance between the positioning coordinate points of the Baidu positioning engine and the positioning coordinate points of the Tencent positioning engine is less than or equal to the error range, or the side length distance between the positioning coordinate points of the AutoNavi positioning engine and the positioning coordinate points of the Tencent positioning engine is less than or equal to the error range, the three positioning data are all within the set range, the coordinate points finally adopted are stored as trusted coordinates, and the weight of the positioning engine that generates the positioning result is increased by 1.

[0009] Furthermore, the step (6) includes judging the movement speeds of the two coordinate points obtained by calculation respectively, excluding the coordinate points with abnormal movement speeds, and using the remaining coordinate points as the final adopted coordinate points.

[0010] Furthermore, the step (7) includes comparing the weights of the two coordinate points when the moving rates of the two coordinate points are both within a preset range, comparing the results of the two coordinate points according to the positioning method, positioning accuracy and / or positioning time priority, and outputting the coordinate point finally adopted as the final result.

[0011] Beneficial effects: In order to greatly reduce the positioning failure rate and positioning errors, the present invention selects a solution of collaborative positioning of multiple positioning engines; when applying positioning, three positioning engines (AutoNavi positioning engine, Baidu positioning engine and Tencent positioning engine) are simultaneously turned on, positioning coordinate points are obtained from each positioning engine, and the distance between the coordinate points returned by each positioning engine is calculated. According to the preset error range, positioning accuracy, positioning time and positioning method, the optimal positioning result is selected through calculation, which greatly reduces the defects in positioning.

[0012] It should be understood that the above general description and the following specific embodiments are only exemplary and illustrative and do not limit the scope of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 The present invention is a flowchart of a processing method for improving positioning stability and accuracy based on three positioning engines.

[0014] It should be understood that the drawings are not necessarily drawn to scale, presenting somewhat simplified representations of various features illustrative of the basic principles of the present disclosure. The specific design features of the present invention as disclosed herein, including, for example, specific dimensions, orientations, locations, and shapes will be determined in part by the particular intended application and use environment. DETAILED DESCRIPTION

[0015] Reference will now be made in detail to various embodiments of the present invention, examples of which are illustrated in the accompanying drawings and described below. Although the present invention will be described in conjunction with exemplary embodiments of the present invention, it should be understood that this specification is not intended to limit the present invention to those exemplary embodiments. On the other hand, the present invention is intended to cover not only the exemplary embodiments of the present invention, but also various alternatives, modifiers, equivalents and other embodiments, which may be included in the spirit and scope of the present invention as defined by the appended claims.

[0016] Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The specific structures and functions described in the exemplary embodiments of the present invention are for illustrative purposes only. Embodiments according to the concepts of the present invention can be implemented in various forms, and it should be understood that they should not be interpreted as being limited to the exemplary embodiments described in the exemplary embodiments, but include all modifications, equivalents or substitutes included in the spirit and scope of the present invention.

[0017] Throughout the specification, the professional terms used herein are only for describing various exemplary embodiments and are not intended to be limiting. It will be further understood that the terms "include", "comprising", "having", etc., when used in the exemplary embodiments, specifically refer to the presence of the stated parts, steps, operations or elements, but do not exclude the presence or addition of one or more other parts, steps, operations or elements.

[0018] In order to greatly reduce the positioning failure rate and positioning errors, the present invention selects a solution of collaborative positioning of multiple positioning engines; when applying positioning, three positioning engines (AutoNavi positioning, Baidu positioning, and Tencent positioning) are simultaneously turned on, and the optimal positioning result is obtained through a specific algorithm, which greatly reduces the defects that occur during positioning.

[0019] like Figure 1 As shown, the present invention provides a processing method for improving positioning stability and accuracy based on three positioning engines. The three positioning engines are Amap positioning engine, Baidu positioning engine and Tencent positioning engine. When the present invention is used to start positioning, each positioning engine will return a coordinate point, and the positioning coordinate point is obtained from each positioning engine, wherein, G = positioning coordinate point of Amap positioning engine; B = the positioning coordinate point of Baidu positioning engine; T=location coordinate point of Tencent positioning engine; Result = the final coordinate point adopted (any one of G, B, T); GB = the positioning coordinates of the AutoNavi positioning engine and the Baidu positioning engine (in meters); BT = the positioning coordinates of the Baidu positioning engine and the Tencent positioning engine (in meters); GT = the positioning coordinates of the AutoNavi positioning engine and the Tencent positioning engine (in meters); A (Accuracy) = positioning accuracy within a reasonable range of 1500 meters. Since the positioning engine coordinates include accuracy (GPS accuracy 10~50 meters, WIFI accuracy 10~100 meters, base station accuracy 500~1500 meters, so the maximum value is taken); LoctionTime = positioning time. The coordinate data of G, B, and T all contain the positioning time of the positioning result. LoctionAccuracy=positioning accuracy. The coordinate data of G, B, and T all contain the positioning accuracy of the positioning results, in meters. LoctionMode=Location mode: GPS, WIFI, base station (priority: GPS>WIFI>base station) W(weight) = weight of the positioning engine used (weight +1 when G, B, T all have values ​​and GB<=A, BT<=A, GT<=A are used for positioning); R = Trusted coordinates (when G, B, T all have values, and GB<=A, BT<=A, GT<=A, the output positioning result Result will be stored as a trusted reference object coordinate); GR, BR, TR = the distances between Amap, Baidu, Tencent and the trust coordinates respectively.

[0020] The method of the present invention comprises: (1) Start the three positioning engines and calculate the distances between the Amap coordinate point, the Baidu coordinate point, and the Tencent coordinate point; Turn on positioning and start the three positioning engines. When all three positioning engines have successfully positioned, calculate the distances between the positioning coordinate points of the AutoNavi positioning engine (G), the Baidu positioning engine (B), and the Tencent positioning engine (T). Set the error range (A) between the positioning coordinate points of the AutoNavi positioning engine and the Baidu positioning engine (GB), the positioning coordinate points of the Baidu positioning engine and the Tencent positioning engine (BT), and the positioning coordinate points of the AutoNavi positioning engine and the Tencent positioning engine (GT) to be 1500 meters.

[0021] (2) Extract the two positioning coordinate points with the shortest coordinate distance, compare them according to the positioning method, positioning accuracy and / or positioning time priority, and extract the final coordinate point; The three positioning coordinate points of the AutoNavi positioning engine (G), the Baidu positioning engine (B) and the Tencent positioning engine (T) form a triangle. At this time, the positioning coordinate points of the AutoNavi positioning engine and the Baidu positioning engine (GB), the Baidu positioning engine and the Tencent positioning engine (BT), and the AutoNavi positioning engine and the Tencent positioning engine (GT) are compared by using the Min(GB, BT, GT) method to obtain the minimum value. After extracting the two positioning coordinate points with the shortest coordinate distance, the farthest positioning coordinate point is excluded, and then the remaining two positioning coordinate points are compared according to the priority positioning mode (LoctionMode) > positioning accuracy (LoctionAccuracy) > positioning time (LoctionTime), and the positioning result with higher accuracy and closer time is extracted as the final coordinate point (Result).

[0022] (3) Determine the final coordinate point and push it to the user if it meets the preset conditions; The three positioning coordinate points of the Amap positioning engine, the Baidu positioning engine and the Tencent positioning engine form a triangle. When the side length distance between the Amap positioning engine and the Baidu positioning engine is greater than the error range (GB>A), the side length distance between the Baidu positioning engine and the Tencent positioning engine is greater than the error range (BT>A), or the side length distance between the Amap positioning engine and the Tencent positioning engine is greater than the error range (GT>A), if one of the conditions is met, the final coordinate point (Result) is directly provided to the user as the final data.

[0023] (4) If the final coordinate point is within the set range, the final coordinate point is stored as the trusted coordinate; The three positioning coordinate points of the AutoNavi positioning engine, the Baidu positioning engine and the Tencent positioning engine form a triangle. When the side length distance between the AutoNavi positioning engine and the Baidu positioning engine is less than or equal to the error range (GB≤A), the side length distance between the Baidu positioning engine and the Tencent positioning engine is less than or equal to the error range (BT≤A), or the side length distance between the AutoNavi positioning engine and the Tencent positioning engine is less than or equal to the error range (GT≤A), it means that the three positioning data are all within the set range. At this time, the final positioning coordinate point (Result) outputted in step (2) is retained as the trusted coordinate (R), and the weight W of the positioning engine that generates the positioning result is increased by 1 (for example: W G ), due to mobile phone compatibility issues, some positioning engines may not be fully adapted to certain Android models, resulting in poor positioning accuracy. The weight strategy is used to select the positioning engine that best suits the mobile phone, thereby improving the positioning quality.

[0024] (5) When the Amap coordinate point, Baidu coordinate point and Tencent coordinate point generate two positioning coordinate points, the moving speed of the two positioning coordinate points and the time difference between the positioning of the trusted coordinate point are calculated; When only two of the three positioning engines are successful, and only G, B (or B, T or G, T) coordinates have values, the trusted coordinate (R) is used as the reference coordinate point to form three positioning coordinate points for triangulation comparison; the moving speed V of the two positioning coordinate points is calculated. G =GR / T,V B =BR / T, T is the time difference between (G, B) and R coordinate points; Among them, the trust coordinate (R) is only used as a comparison object, GR, BR, TR = the distance between Amap, Baidu, Tencent and the trust coordinate respectively.

[0025] (6) Determine the moving speed of the positioning coordinate points respectively; The moving speeds of the two positioning coordinate points calculated are judged respectively, and the positioning coordinate points with abnormal moving speeds are excluded, and the remaining positioning coordinate points are used as the final coordinate points; The two positioning coordinate points (V G , V B )'s moving speed is judged respectively, and V G , V B Is it within the preset range, for example: reasonable rate: V 步= The maximum walking speed is 6 km / h, V 电 = The maximum speed of an electric bicycle is 50 km / h, V 车 =The maximum driving speed is 120 km / h.

[0026] If the moving speed of a certain positioning coordinate point is abnormal, the positioning coordinate point corresponding to the abnormal moving speed is excluded, and the remaining positioning coordinate points are taken as the final result, and the final coordinate point (Result) is output.

[0027] (7) Compare the weights of the two positioning coordinate points, compare them according to the positioning method, positioning accuracy and / or positioning time priority, and determine the final coordinate point to be adopted; The moving speeds of the two positioning coordinate points are both within the preset range. Compare the weights W of the two positioning coordinate points. G and W B , through Max(W G, W B ) to obtain the positioning result with the highest weight. If W G= W B When the positioning accuracy is 0, the results of the two are compared according to the priority of positioning mode (LoctionMode) > positioning accuracy (LoctionAccuracy) > positioning time (LoctionTime), and the final coordinate point adopted is output as the final result.

[0028] The above-mentioned embodiments of the present application can be implemented in various hardware, software coding or a combination of the two. For example, the embodiments of the present application can also represent the program code for executing the above-mentioned method in a data signal processor. The present application can also relate to the various functions performed by a computer processor, a digital signal processor, a microprocessor or a field programmable gate array. The above-mentioned processor can be configured according to the present application to perform specific tasks, which are completed by executing machine-readable software code or firmware code that defines the specific method disclosed by the present application. The software code or firmware code development can represent different programming languages ​​and different formats or forms. Different target platform compiled software codes can also be represented. However, the different code styles, types and languages ​​of the software code for performing tasks according to the present application and other types of configuration codes do not depart from the spirit and scope of the present application.

[0029] The foregoing description of specific exemplary embodiments of the present invention has been presented for the purpose of illustration and description. It is not intended to exclude or limit the present invention to the precise form disclosed, and it is obvious that many modifications and changes are feasible in view of the above teachings. Exemplary embodiments are selected and described to explain certain principles of the present invention and their practical application, so that other technicians in the field can make or use various exemplary embodiments of the present invention, and various alternatives and modifications thereof. It is intended that the scope of the present invention will be defined by the claims attached hereto and their equivalents.

[0030] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A processing method for improving positioning stability and accuracy based on three positioning engines, characterized in that: The method comprises the following steps: (1) Start the three positioning engines and calculate the distances between the Amap coordinate point, the Baidu coordinate point, and the Tencent coordinate point; (2) Extract the two coordinate points with the shortest coordinate distance, compare them according to the positioning method, positioning accuracy and / or positioning time priority, and extract the final coordinate point; (3) Determine the final coordinate point and push it to the user if it meets the preset conditions; (4) If the final coordinate point is within the set range, the final coordinate point is stored as the trusted coordinate.

2. According to claim 1, a processing method for improving positioning stability and accuracy based on three positioning engines is characterized in that: The method further comprises: (5) When two coordinate points are generated by Amap, Baidu and Tencent, the moving speed of the two coordinate points and the time difference between the positioning of the trusted coordinate point are calculated; (6) Determine the moving speed of the two coordinate points respectively; (7) Compare the weights of the two coordinate points, and compare them according to the positioning method, positioning accuracy and / or positioning time priority to determine the final coordinate point to be adopted.

3. According to claim 1, a processing method for improving positioning stability and accuracy based on three positioning engines is characterized in that: The step (1) includes starting positioning, starting the three positioning engines, and calculating the distances between the positioning coordinate points of the AutoNavi positioning engine, the positioning coordinate points of the Baidu positioning engine, and the positioning coordinate points of the Tencent positioning engine, wherein the error range between the positioning coordinate points of the AutoNavi positioning engine and the Baidu positioning engine, the positioning coordinate points of the Baidu positioning engine and the Tencent positioning engine, and the positioning coordinate points of the AutoNavi positioning engine and the Tencent positioning engine is set to be 1500 meters.

4. According to claim 1, a processing method for improving positioning stability and accuracy based on three positioning engines is characterized in that: The step (2) comprises: (2-1) Extract the two coordinate points with the shortest coordinate distance among the three coordinate points and exclude the farthest coordinate point; (2-2) comparing the positioning methods, positioning accuracy and / or positioning time priority of the two extracted coordinate points; (2-3) Extract the positioning results with high accuracy and close time as the final coordinate points to be adopted.

5. According to claim 1, a processing method for improving positioning stability and accuracy based on three positioning engines is characterized in that: The step (3) includes forming a triangle with the three coordinate points of the positioning coordinate point of the AutoNavi positioning engine, the positioning coordinate point of the Baidu positioning engine and the positioning coordinate point of the Tencent positioning engine. When the side length distance between the positioning coordinate point of the AutoNavi positioning engine and the positioning coordinate point of the Baidu positioning engine is greater than the error range, the side length distance between the positioning coordinate point of the Baidu positioning engine and the positioning coordinate point of the Tencent positioning engine is greater than the error range, or the side length distance between the positioning coordinate point of the AutoNavi positioning engine and the positioning coordinate point of the Tencent positioning engine is greater than the error range, if one of the conditions is met, the coordinate point finally adopted is directly provided to the user as the final data.

6. The method for improving positioning stability and accuracy based on three positioning engines according to claim 1, characterized in that: The step (3) further includes forming a triangle with the three coordinate points of the positioning coordinate points of the AutoNavi positioning engine, the positioning coordinate points of the Baidu positioning engine and the positioning coordinate points of the Tencent positioning engine. When the side length distance between the positioning coordinate points of the AutoNavi positioning engine and the positioning coordinate points of the Baidu positioning engine is less than or equal to the error range, the side length distance between the positioning coordinate points of the Baidu positioning engine and the positioning coordinate points of the Tencent positioning engine is less than or equal to the error range, or the side length distance between the positioning coordinate points of the AutoNavi positioning engine and the positioning coordinate points of the Tencent positioning engine is less than or equal to the error range, the three positioning data are all within the set range, the coordinate points finally adopted are stored as trusted coordinates, and the weight of the positioning engine that generates the positioning result is increased by 1.

7. The method for improving positioning stability and accuracy based on three positioning engines according to claim 2, characterized in that: The step (6) includes judging the movement speeds of the two coordinate points obtained by calculation respectively, eliminating the coordinate points with abnormal movement speeds, and using the remaining coordinate points as the final adopted coordinate points.

8. The method for improving positioning stability and accuracy based on three positioning engines according to claim 2, characterized in that: The step (7) includes comparing the weights of the two coordinate points when the moving speeds of the two coordinate points are both within a preset range, comparing the results of the two coordinate points according to the positioning method, positioning accuracy and / or positioning time priority, and outputting the coordinate point finally adopted as the final result.

Citation Information

Patent Citations

  • Positioning processing method and system

    CN106507311A

  • Filtering algorithm for coordinate point group based on a hybrid positioning method

    CN109151708A

  • Coordinate identification method and device, equipment and computer readable storage medium

    CN110390279A

  • Positioning deviation correction method and device

    CN114594495A

  • Integrated positioning method and apparatus

    US20150289101A1