A method for LBS positioning and correction

Through the base station positioning platform and multi-type geometric hybrid algorithm, the offset problem that occurs in LBS positioning is identified and corrected, high-precision positioning correction is achieved, the problem of declining positioning accuracy is solved, and the reliability and security of positioning services are enhanced.

CN118151179BActive Publication Date: 2024-09-06NANJING HUIZHI LING JIE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410584991.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-09-06
Estimated Expiration
2044-05-13

AI Technical Summary

Technical Problem

LBS positioning will cause positioning point deviation during relative linear motion on the earth's surface, resulting in a decrease in positioning accuracy and affecting service reliability and security. The main reasons include signal shadowing, reflection, multipath effect, atmospheric interference, satellite geometry, and clock error. and system miscalibration, etc.

Method used

An LBS positioning correction method is adopted to obtain continuous positioning coordinates through the base station positioning platform, calculate the spherical distance and correction angle, use a multi-type geometric hybrid algorithm to identify and remove abnormal coordinate points, and gradually eliminate outliers through a cyclic elimination calculation strategy to dynamically adjust Geometric model parameters to achieve precise positioning of the target area.

Benefits of technology

It effectively identifies and corrects abnormal coordinate points, improves positioning accuracy, and ensures that high-precision results can be obtained even in the presence of noise or errors. It does not rely on external hardware facilities, is suitable for correction of real-time and historical data, and enhances the positioning information chain. accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118151179B
    Figure CN118151179B
Patent Text Reader

Abstract

The present invention provides a method for LBS positioning correction, comprising the following steps: S1, obtaining the WGS84 longitude and latitude positioning coordinates #imgabs0# where the LBS positioning terminal is located, and obtaining n (n≥3) continuous positioning coordinates; S2, calculating the spherical distance between each two adjacent positioning coordinate points in the n continuous positioning coordinates obtained in step S1, and putting them into a set D; S3, dividing the set D into a set #imgabs1# and a set #imgabs2#, and determining the deviation in the set D; S4, calculating the average value #imgabs4# of the set #imgabs3#; S5, calculating the correction angle of the deviation, and obtaining a new coordinate after correction according to the correction angle and #imgabs5#; S6, deleting the deviation after correction from the set #imgabs6#, repeating step S5, traversing each deviation in the set #imgabs7#, until the set #imgabs8# is an empty set; S7, using the updated coordinates of the set #imgabs9# as the final positioning coordinates where the LBS positioning terminal is located. The present invention adopts a pure algorithm verification scheme independent of traditional positioning equipment, which can effectively identify and correct abnormal coordinate points that obviously deviate from the normal distribution range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of positioning and deviation correction, and in particular to a method for LBS positioning and deviation correction. Background Art

[0002] Location Based Services (LBS) uses various types of positioning technologies to obtain the current location of the positioning device, and provides information resources and basic services to the positioning device through the mobile Internet. First, users can use positioning technology to determine their own spatial location, and then they can obtain location-related resources and information through the mobile Internet. LBS services integrate multiple information technologies such as mobile communications, the Internet, spatial positioning, location information, and big data, and use mobile Internet service platforms to update and interact with data, so that users can obtain corresponding services through spatial positioning.

[0003] At present, when LBS positioning moves in a straight line relative to the earth's surface, positioning point deviation may occur. The main reasons include:

[0004] 1. Signal shielding: If the signal of a positioning system (such as GPS) is blocked by buildings, mountains, trees and other objects, the signal may be interfered with, resulting in positioning deviation;

[0005] 2. Signal reflection: The positioning signal is reflected on the surface of buildings, mountains, etc., causing the received signal to be coherently superimposed with the original signal, resulting in position error;

[0006] 3. Multipath effect: During the propagation process, the positioning signal, in addition to reaching the receiver directly, will also be reflected or scattered by different paths; these additional paths result in the reception of multiple signals, causing positioning deviation;

[0007] 4. Atmospheric interference: Changes in humidity, temperature, pressure, etc. in the atmosphere will affect the propagation speed and path of the signal, resulting in positioning deviation;

[0008] 5. Satellite geometry: If the satellite is not in an ideal position relative to the receiver, such as being on the same side of the receiver or at the edge of the receiver, the signal propagation path will become unstable, resulting in increased positioning error;

[0009] 6. Clock error: The satellite clock used in the positioning system may have a slight time error, which may cause the received signal positioning to shift;

[0010] 7. System miscalibration: If the receiver's system parameters (such as clock bias, position calibration, etc.) are incorrectly configured or calibrated, the positioning accuracy will be affected and offset will occur;

[0011] 8. Multipath interference: During the propagation process, the positioning signal may be reflected from multiple directions such as buildings and terrain. These reflected signals will be superimposed on the signals of the direct path, resulting in positioning deviation.

[0012] If the offset positioning point is not corrected in time, there may be a deviation between the actual position and the displayed position, and the user cannot accurately obtain the required location information, affecting the reliability and practicality of the positioning service. In some scenarios where accurate location information is required, such as emergency rescue and traffic control, the offset of the positioning point may lead to misjudgment or accidents, increasing safety hazards and risks. Summary of the invention

[0013] The purpose of the present invention is to solve the problem in the prior art that during the relative linear motion of LBS positioning on the earth's surface, the positioning point may be offset, and a method for correcting LBS positioning is proposed.

[0014] To achieve the above object, the present invention adopts the following technical solution: a method for LBS positioning and correction, comprising the following steps:

[0015] S1. Obtain the WGS84 longitude and latitude positioning coordinates of the LBS positioning terminal through the base station positioning platform , obtain n (n ≥ 3) continuous positioning coordinates, recorded as:

[0016] ;

[0017] Among them, B n is the longitude in the positioning coordinates, L n is the latitude in the positioning coordinates, T n is the time when the coordinates were collected, and n is the subscript after sorting in positive order according to the collection time;

[0018] The base station positioning platform is a technology-based management tool that provides real-time monitoring and management by accurately determining the location of the person being positioned; the person being positioned is an active object wearing an LBS positioning terminal.

[0019] The LBS positioning terminal includes a mobile phone.

[0020] The present invention only applies the base station positioning platform and does not improve the system of the object to be positioned, so the principle of the system of the object to be positioned will not be described in detail.

[0021] S2, calculating the spherical distance between each two adjacent positioning coordinate points in the n continuous positioning coordinates obtained in step S1, and putting them into a set D;

[0022] Assume the first coordinates of longitude and latitude of two adjacent points are , the longitude and latitude tail coordinates of two adjacent points are ,in, ;

[0023] Let the average radius of the earth be H, and the spherical distance between two adjacent points be d;

[0024] It includes the following sub-steps:

[0025] S21. Convert longitude and latitude into radians;

[0026] Remember the first coordinate The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0027] Record tail coordinates The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0028] The calculation formula is:

[0029] ;

[0030] ;

[0031] ;

[0032] ;

[0033] S22, calculating the longitude difference and latitude difference between two adjacent points through arcs;

[0034] The longitude difference between two adjacent points is , the latitude difference is ; The calculation formula is:

[0035] ;

[0036] ;

[0037] S23. Calculate intermediate variables based on the above results ;

[0038] The calculation formula is: ;

[0039] S24, calculating the spherical distance d between the two coordinate points;

[0040] The calculation formula is: , ;

[0041] Where c is the central angle of the great circle arc between the two points. is the inverse tangent function, The function is to find the arc tangent of y / x (expressed in radians);

[0042] S25, repeat steps S21-S24, calculate the spherical distance d between every two adjacent coordinate points of n points, recorded as , and obtain the set D of spherical distances d.

[0043] S3. Split set D into sets and collection , determine the bias value in set D;

[0044] Calculate the average of all distances in set D , the calculation formula is: ;

[0045] All spherical distances in set D and Compare and split into two new sets and ;

[0046] If the spherical distance is less than or equal to , then put it into the collection , executing step S4;

[0047] If the spherical distance is greater than , then it is the value that needs to be corrected, that is, the deviation value, put into the set , execute step S5.

[0048] S4. Calculation set The average ;

[0049] The calculation formula is: .

[0050] S5, calculating the correction angle of the deviation value, and obtaining the new coordinates after correction according to the correction angle;

[0051] gather The d value in is the value that needs to be corrected, the tail coordinate corresponding to each deviation value is the coordinate that needs to be corrected, and the new coordinate after correction is the tail coordinate after the deviation value is corrected;

[0052] It includes the following sub-steps:

[0053] S51, get set The first bias in is set to , determine the first coordinate and the last coordinate of the correction;

[0054] Set The last bias in ;

[0055] from In the collection, take The first coordinate is the bias value The first coordinate of the correction is , the positioning coordinates are , ;

[0056] From the collection Take out the d value whose subscript is greater than e and closest to e, and set it as , ;Pick The tail coordinate is the bias value The correction tail coordinates are , the positioning coordinates are , ;

[0057] S52, calculate bias The correction azimuth ;

[0058] It includes the following sub-steps:

[0059] S521, the deviation value The first and last coordinates of the correction are converted into radians;

[0060] Record the first coordinate of the correction The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0061] Record the correction tail coordinate The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0062] The calculation formula is:

[0063] , ;

[0064] , ;

[0065] S522, calculate bias The longitude difference between the first and last coordinates of the correction ;

[0066] The calculation formula is: ;

[0067] S523, calculate bias The correction angle ;

[0068] The calculation formula is: ;

[0069] S524, the correction angle Convert to the range of 0° to 360° to get the final correction azimuth ;

[0070] The conversion formula is: .

[0071] S53, according to the deviation The correction azimuth , calculate the bias New coordinates after correction , and update gather;

[0072] It includes the following sub-steps:

[0073] S531, the correction azimuth Convert to radians , ;

[0074] S532: The set obtained according to step S4 The average , the Earth's mean radius H, the Earth's flattening f, and the deviance The first coordinate is in radians , calculate the arc corresponding to the longitude of the new coordinate after correction , the arc corresponding to the latitude ;

[0075] ;

[0076] ;

[0077] ;

[0078] ;

[0079] ;

[0080] in, is the inverse sine function;

[0081] S533, calculate bias New coordinates after correction , that is, the bias The new tail coordinate after correction, and The corresponding longitude and latitude coordinates in the collection are replaced;

[0082] in, , ; At this time, the positioning coordinates are .

[0083] S6, the deviation value after correction is taken from the set Delete it, repeat step S5, and traverse the collection Every bias in the set Is an empty set.

[0084] S7, The updated coordinates are collected as the final positioning coordinates of the LBS positioning terminal.

[0085] Compared with the prior art, the present invention has the following beneficial effects:

[0086] 1. The present invention proposes an innovative positioning correction method, which uses a multi-class geometric hybrid algorithm that cleverly combines plane distance geometry, plane angle geometry, spherical distance geometry, and spherical angle geometry. When processing a data set containing multiple coordinate points, the present invention can effectively identify and remove abnormal coordinate points that obviously deviate from the normal distribution range, avoiding their impact on the overall positioning accuracy.

[0087] 2. The present invention implements a cyclic elimination calculation strategy, which gradually eliminates outliers through iterative optimization and dynamically adjusts the geometric model parameters according to the position information of the remaining points to achieve accurate positioning of the target area. Each cycle will recalculate the position relationship based on the updated valid data to ensure that high-precision positioning results can be obtained even in the presence of large noise or errors.

[0088] 3. The present invention adopts a pure algorithm verification scheme that is completely independent of traditional positioning equipment, and abandons the dependence on external hardware facilities such as GPS, base station signal receivers, etc. By carefully designing and implementing a set of innovative multi-class geometric hybrid algorithms, the algorithm can perform in-depth analysis and intelligent verification of coordinate data provided by any source.

[0089] 4. The present invention not only has the ability to efficiently and accurately correct the positioning data obtained in real time, but also can widely apply the correction algorithm to the massive positioning data sets accumulated historically. By deeply mining and analyzing historical data, the present invention realizes the reverse verification and correction of existing data, further ensuring the accuracy of the overall positioning information chain. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] Figure 1 The figure is a flow chart of an LBS positioning and deviation correction method according to Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0091] In order to further understand the purpose, structure, features, and functions of the present invention, the following embodiments are described in detail.

[0092] like Figure 1 As shown, a method for LBS positioning and correction includes the following steps:

[0093] S1. Obtain the WGS84 longitude and latitude positioning coordinates of the LBS positioning terminal through the base station positioning platform , obtain n (n ≥ 3) continuous positioning coordinates, recorded as:

[0094] ;

[0095] Among them, B n is the longitude in the positioning coordinates, L n is the latitude in the positioning coordinates, T n is the time when the coordinates are collected, and n is the subscript after being sorted in positive order according to the collection time.

[0096] The base station positioning platform is a technology-based management tool that provides real-time monitoring and management by accurately determining the location of the person being positioned; the person being positioned is an active object wearing an LBS positioning terminal.

[0097] When the present invention is implemented, the WGS84 longitude and latitude coordinates of the current location of the LBS (Location-Based Service) positioning terminal are obtained through the base station positioning platform. The WGS84 coordinate system, whose full name is World Geodetic System, is a geodetic system standard used for cartography, geodesy and navigation (including the Global Positioning System). The WGS84 coordinate is a geocentric coordinate system with the origin of the coordinates being the center of mass of the earth. It uses a reference ellipsoid that is very similar to the natural shape of the earth as a reference surface for describing and calculating the positions and relationships of ground points. The WGS84 ellipsoid parameters include flattening, .

[0098] The LBS positioning terminal refers to a positioning terminal device based on the base station positioning system (Location Based Services, LBS), including mobile phones, vehicle-mounted devices, smart watches, etc.; by communicating with the base station, it provides positioning services and location-related information;

[0099] The present invention only applies the base station positioning platform and does not improve the system of the object to be positioned, so the principle of the system of the object to be positioned will not be described in detail.

[0100] In a specific embodiment of the present invention, the coordinates of seven consecutive positioning points are obtained, including longitude, latitude, and acquisition time, which are recorded as: .

[0101] S2, calculating the spherical distance between each two adjacent positioning coordinate points in the n continuous positioning coordinates obtained in step S1, and putting them into a set D;

[0102] Assume the first coordinates of longitude and latitude of two adjacent points are , the longitude and latitude tail coordinates of two adjacent points are ,in, ;

[0103] Let the average radius of the earth be H and the spherical distance between two adjacent points be d.

[0104] It includes the following sub-steps:

[0105] S21. Convert longitude and latitude into radians;

[0106] Remember the first coordinate The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0107] Record tail coordinates The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0108] The calculation formula is:

[0109] ;

[0110] ;

[0111] ;

[0112] ;

[0113] S22, calculating the longitude difference and latitude difference between two adjacent points through arcs;

[0114] The longitude difference between two adjacent points is , the latitude difference is ; The calculation formula is:

[0115] ;

[0116] ;

[0117] S23. Calculate intermediate variables based on the above results ;

[0118] The calculation formula is: ;

[0119] S24, calculating the spherical distance d between the two coordinate points;

[0120] The calculation formula is: , ;

[0121] Where c is the central angle of the great circle arc between the two points. is the inverse tangent function, The function is to find the arc tangent of y / x (expressed in radians);

[0122] S25, repeat steps S21-S24, calculate the spherical distance d between every two adjacent coordinate points of n points, recorded as , and obtain the set D of spherical distances d.

[0123] In the above embodiment of the present invention, the longitude and latitude coordinates of the seven points are respectively

[0124] ,

[0125] ,

[0126] ,

[0127] ,

[0128] ,

[0129] ,

[0130] ,

[0131] Convert longitude and latitude to radians, respectively.

[0132] ,

[0133] ,

[0134] ,

[0135] ,

[0136] ,

[0137] ,

[0138] ;

[0139] Then calculate The longitude difference between , latitude difference , ,get The spherical distance between ;

[0140] calculate The longitude difference between , latitude difference , ,get The spherical distance between ;

[0141] calculate The longitude difference between , latitude difference , ,get The spherical distance between ;

[0142] calculate The longitude difference between , latitude difference , ,get The spherical distance between ;

[0143] calculate The longitude difference between , latitude difference , ,get The spherical distance between ;

[0144] calculate The longitude difference between , latitude difference , ,get The spherical distance between ;

[0145] Thus, we get the set of spherical distances d .

[0146] S3. Split set D into sets and collection , determine the bias value in set D;

[0147] Calculate the average of all distances in set D , the calculation formula is: ;

[0148] All spherical distances in set D and Compare and split into two new sets and ;

[0149] If the spherical distance is less than or equal to , then put it into the collection , executing step S4;

[0150] If the spherical distance is greater than , then it is the value that needs to be corrected, that is, the deviation value, put into the set , execute step S5.

[0151] In the above embodiment of the present invention, the average value of all distances in the set D is calculated. , where the spherical distance is less than or equal to the mean for , greater than the average for ;but , ,Right now is a bias value.

[0152] S4. Calculation set The average ;

[0153] The calculation formula is: .

[0154] In the above embodiment of the present invention, the set is calculated and obtained The average .

[0155] S5, calculating the correction angle of the deviation value, and obtaining the new coordinates after correction according to the correction angle;

[0156] gather The d value in is the value that needs to be corrected, the tail coordinate corresponding to each deviation value is the coordinate that needs to be corrected, and the new coordinate after correction is the tail coordinate after the deviation value is corrected.

[0157] It includes the following sub-steps:

[0158] S51, get set The first bias in is set to , determine the first coordinate and the last coordinate of the correction;

[0159] Set The last bias in ;

[0160] from In the collection, take The first coordinate is the bias value The first coordinate of the correction is , the positioning coordinates are , ;

[0161] From the collection Take out the d value whose subscript is greater than e and closest to e, and set it as , ;Pick The tail coordinate is the bias value The correction tail coordinates are , the positioning coordinates are , . (This method is aimed at the offset points that appear during linear motion, so the set There must be . )

[0162] S52, calculate bias The correction azimuth ;

[0163] It includes the following sub-steps:

[0164] S521, the deviation value The first and last coordinates of the correction are converted into radians;

[0165] Record the first coordinate of the correction The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0166] Record the correction tail coordinate The arc corresponding to the longitude is , the arc corresponding to the latitude is ;

[0167] The calculation formula is:

[0168] , ;

[0169] , ;

[0170] S522, calculate bias The longitude difference between the first and last coordinates of the correction ;

[0171] The calculation formula is: ;

[0172] S523, calculate bias The correction angle ;

[0173] The calculation formula is: ;

[0174] S524, the correction angle Convert to the range of 0° to 360° to get the final correction azimuth ;

[0175] The conversion formula is: .

[0176] S53, according to the deviation The correction azimuth , calculate the bias New coordinates after correction , and update gather;

[0177] It includes the following sub-steps:

[0178] S531, the correction azimuth Convert to radians , ;

[0179] S532: The set obtained according to step S4 The average , the Earth's mean radius H, the Earth's flattening f, and the deviance The first coordinate is in radians , calculate the arc corresponding to the longitude of the new coordinate after correction , the arc corresponding to the latitude ;

[0180] ;

[0181] ;

[0182] ;

[0183] ;

[0184] ;

[0185] in, is the inverse sine function;

[0186] S533, calculate bias New coordinates after correction , that is, the bias The new tail coordinate after correction, and The corresponding longitude and latitude coordinates in the collection are replaced;

[0187] in, , ; At this time, the positioning coordinates are .

[0188] In the above embodiments of the present invention, the bias value The corresponding tail coordinates are , which is the coordinate that needs to be corrected; when correcting, first determine the deviation value The first and last coordinates of the correction are needed. , the correction tail coordinate is, set The tail coordinate of the d value whose subscript is greater than 4 and closest to 4, that is The tail coordinates . Calculate the first coordinates for correction and the correction tail coordinates The latitude difference is 0.00000155334303, and the longitude difference is -0.00000312413936. The radian value of the correction angle A is -1.04055105756209. The correction angle A is converted to the range of 0° to 360° to obtain the final correction azimuth. .

[0189] Then, according to the bias The correction azimuth , and the first coordinate is ,gather The average , the average radius of the earth H, the flattening of the earth f, calculate the deviation The latitude radian value of the new coordinate after correction is 0.55836891587349, and the longitude radian value is 2.07299464127498. Convert to angle system to get the new coordinate after correction. .

[0190] Finally, Corresponding in the collection The longitude and latitude coordinates of the point are replaced, retaining six decimal places, that is, .

[0191] S6, the deviation value after correction is taken from the set Delete it, repeat step S5, and traverse the collection Every bias in the set Is an empty set.

[0192] S7, The updated coordinates are collected as the final positioning coordinates of the LBS positioning terminal.

[0193] When the present invention is implemented, there may be multiple correction values, which can be corrected cyclically in sequence.

[0194] The present invention proposes a positioning correction method that comprehensively uses a variety of geometric hybrid algorithms, combining plane distance geometry, plane angle geometry, spherical distance geometry and spherical angle geometry. It can process data sets containing multiple coordinate points, and effectively identify and correct abnormal coordinate points that deviate from the normal range, thereby avoiding affecting the overall positioning accuracy. The present invention implements a cyclic exclusion calculation strategy, gradually eliminates outliers through iterative optimization, and dynamically adjusts the geometric model parameters according to the position information of the remaining points to achieve accurate positioning of the target area. In the present invention, each round of the cycle recalculates the position relationship based on the updated valid data to ensure that high-precision positioning results can be obtained even in the presence of large noise or errors.

[0195] The present invention adopts a pure algorithm verification scheme that is completely independent of traditional positioning equipment and does not rely on external hardware facilities such as GPS or base station signal receivers. By carefully designing and implementing a set of innovative multi-class geometric hybrid algorithms, the coordinate data provided by any source is deeply analyzed and intelligently verified. In addition, the invention can not only perform efficient and accurate deviation correction on the real-time positioning data, but also be widely used in massive positioning data sets accumulated historically. By deeply mining and analyzing historical data, reverse verification and correction of existing data can be achieved, further ensuring the accuracy of the overall positioning information chain.

[0196] The present invention has been described by the above-mentioned relevant embodiments, however, the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, changes and modifications made without departing from the spirit and scope of the present invention are all within the scope of patent protection of the present invention.

Claims

1. A method for LBS positioning and correction, characterized in that: The following steps are involved: S1. Obtain the WGS84 longitude and latitude positioning coordinates of the LBS positioning terminal (B n ,L n ,T n ,n), obtain n (n≥3) continuous positioning coordinates, recorded as: Data={(B1,L1,T1,1),(B2,L2,T2,2),…,(B n ,L n ,T n ,n)}; Among them, B n is the longitude in the positioning coordinates, L n is the latitude in the positioning coordinates, T n is the time when the coordinates were collected, and n is the subscript after sorting in positive order according to the collection time; S2, calculating the spherical distance between each two adjacent positioning coordinate points in the n continuous positioning coordinates obtained in step S1, and putting them into a set D; Let the average radius of the earth be H, and the spherical distance between two adjacent points be d; S3, split set D into set D ≤avg and set D >avg , determine the bias value in set D; Calculate the average of all distances in set D The calculation formula is: All spherical distances in set D and Compare and split into two new sets D ≤avg and D >avg ; If the spherical distance is less than or equal to Then put it into set D ≤avg , executing step S4; If the spherical distance is greater than Then it is the value that needs to be corrected, that is, the deviation value, which is put into the set D >avg , executing step S5; S4. Calculate the set D ≤avg The average The calculation formula is: S5, calculate the correction angle of the deviation value, and The new coordinates after correction are obtained; specifically, the following sub-steps are included: S51, take set D >avg The first bias in is set to d y , determine the first coordinate and the last coordinate of the correction; The specific method is: Let set D >avg The last bias value in is d e ; From the Data set, take d y The first coordinate is the deviation d y The first coordinate of the correction, that is, (B y , L y ), the positioning coordinates are (B y , L y , T y , y), 1≤y≤n-1; From the set D ≤avg Take the value of d whose subscript is greater than e and closest to e, and set it as d z , e<z≤n-1; take d z The tail coordinate is the bias value d y The correction tail coordinate, that is, (B z+1 , L z+1 ), the positioning coordinates are (B z+1 , L z+1 , T z+1 , z+1), e+1<z+1≤n; S52, calculate the deviation d y The correction azimuth angle θ; It includes the following sub-steps: S521, the deviation value d y The first and last coordinates of the correction are converted into radians; Record the first coordinate of the correction (B y , L y ) The arc corresponding to the longitude is B′ y , the arc corresponding to the latitude is L′ y ; Note the correction tail coordinate (B z+1 , L z+1 ) The arc corresponding to the longitude is B′ z+1 , the arc corresponding to the latitude is L′ z+1 ; The calculation formula is: S522, calculate the deviation d y The longitude difference between the first and last coordinates of the correction is ΔB y ; The calculation formula is: ΔB y =B′ z+1 -B′ y ; S523, calculate the deviation d y The correction angle A; The calculation formula is: A = atan2(sin(ΔB y )·cos(L′ z+1 ), cos(L′ y )·sin(L′ z+1 )-sin(L′ y )cos(L′ z+1 )·cos(ΔB y )); S524, converting the correction angle A to a range of 0° to 360° to obtain a final correction azimuth angle θ; The conversion formula is: S53, according to the deviation d y The deviation d is calculated by taking the correction azimuth angle θ y The new coordinates after correction and update the Data set; S6, the corrected deviation value is taken from the set D >avg Delete it, repeat step S5, and traverse the set D >avg Every bias in the set D >avg is an empty set; S7. Use the updated coordinates of the Data set as the final positioning coordinates of the LBS positioning terminal.

2. The LBS positioning and deviation correction method according to claim 1, characterized in that: The WGS84 longitude and latitude positioning coordinates of the LBS positioning terminal are obtained through the base station positioning platform; the base station positioning platform is a technology-based management tool that provides real-time monitoring and management by accurately positioning the position of the person being positioned; wherein the positioned object is an active object wearing the LBS positioning terminal.

3. The LBS positioning and deviation correction method according to claim 1, characterized in that: In step S2, the first longitude and latitude coordinates of two adjacent points are set as P x (B x , L x ), the longitude and latitude tail coordinates of two adjacent points are P x+1 (B x+1 , L x+1 ), where 1≤x≤n-1; specifically comprising the following sub-steps: S21. Convert longitude and latitude into radians; Note the first coordinate P x (B x , L x ) The arc corresponding to the longitude is B′ x , the arc corresponding to the latitude is L′ x ; Record the tail coordinate P x+1 (B x+1 , L x+1 ) The arc corresponding to the longitude is B′ x+1 , the arc corresponding to the latitude is L′ x+1 ; The calculation formula is: S22, calculating the longitude difference and latitude difference between two adjacent points through arcs; The longitude difference between two adjacent points is ΔB′, and the latitude difference is ΔL′; the calculation formula is: ΔB′=B′ x+1 -B′ x ; ΔL′=L′ x+1 -L′ x ; S23, calculating the intermediate variable a according to the above results; The calculation formula is: S24, calculating the spherical distance d between the two coordinate points; The calculation formula is: d = H·c; Where c is the central angle of the spherical great circle arc between two points, and atan2() is the inverse tangent function; S25, repeat steps S21-S24, calculate the spherical distance d between every two adjacent coordinate points of n points, recorded as d1, d2, ..., d n-1 , and obtain the set D of spherical distances d.

4. The LBS positioning and deviation correction method according to claim 3, characterized in that: In step S5, set D >avg The d value in is the value that needs to be corrected, the tail coordinate corresponding to each deviation value is the coordinate that needs to be corrected, and the new coordinate after correction is the tail coordinate after the deviation value is corrected.

5. The LBS positioning and deviation correction method according to claim 4, characterized in that: Step S53 specifically includes the following sub-steps: S531, converting the correction azimuth angle θ into radians θ′, S532, according to the set D obtained in step S4 ≤avg The average The Earth's mean radius H, Earth's flattening f, and deviance d y The first coordinate in radians (B y ′,L′ y ), calculate the arc B' corresponding to the longitude of the new coordinate after correction y+1 , the arc corresponding to the latitude is L′ y+1 ; S533, calculate the deviation d y The new coordinates after correction (B y+1 , L y+1 ), that is, the bias value d y The new tail coordinates after correction, and replace the corresponding longitude and latitude coordinates in the Data set; in, At this time, the positioning coordinates are (B y+1 ,L y+1 ,T y+1 ,y+1).

6. The LBS positioning and deviation correction method according to claim 5, characterized in that: The specific calculation method of step S532 is: e = 2·ff·f; Among them, asin is the inverse sine function.