Device positioning accuracy detection method, system, electronic device and medium

By analyzing and computing the positioning log of the device, the positioning accuracy results of the automatic calculation of the device are solved, and the problem of low positioning accuracy calculation efficiency and easy introduction of human error in the prior art is solved, and efficient and accurate positioning accuracy calculation is achieved.

CN119758384APending Publication Date: 2025-04-04SHANGHAI YIKE COMM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411925409.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

In the prior art, the calculation efficiency of the equipment positioning accuracy is low and it is easy to introduce human error, which cannot meet the needs of high-precision positioning.

Method used

By receiving the positioning log of the device to be tested, analyzing and filtering the effective positioning statements, the positioning points corresponding to each effective positioning statement are calculated, and the positioning accuracy results of the device are calculated based on these positioning points, including root mean square, root mean square error and circular common calculation error.

Benefits of technology

The automatic calculation device positioning accuracy results are realized, which avoids manual participation, improves computing efficiency and accuracy, and reduces human error.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758384A_ABST
    Figure CN119758384A_ABST
Patent Text Reader

Abstract

The present invention provides a device positioning accuracy detection method, system, electronic device and medium. The method comprises: receiving a positioning log of a device to be tested; parsing the positioning log to obtain multiple positioning statements contained in the positioning log; determining valid positioning statements among the multiple positioning statements; parsing each determined valid positioning statement to obtain a positioning point corresponding to the valid positioning statement; and determining the positioning accuracy result of the device to be tested based on the obtained positioning points. The method helps to improve the efficiency and accuracy of positioning accuracy detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of satellite positioning technology, and more specifically to a device positioning accuracy detection method, system, electronic equipment and medium. Background Art

[0002] GNSS (Global Navigation Satellite System) refers to an air-based radio navigation and positioning system that can provide users with all-weather three-dimensional coordinates, speed and time information at any location on the Earth's surface or in near-Earth space. It includes one or more satellite constellations and their augmentation systems required to support specific tasks. Currently, it mainly includes GPS (Global Positioning System), BDS (Beidou Satellite Navigation System), GLONASS and GALILEO (Galileo Satellite Positioning System).

[0003] With the continuous development of the Internet of Things, the number of devices that rely on the global positioning system for positioning is gradually increasing, and the requirements for device positioning accuracy are becoming higher and higher. In related technologies, testers usually manually calculate the positioning accuracy based on the positioning results of the device, which is inefficient and prone to human errors.

[0004] In view of this, the present invention is proposed. Summary of the invention

[0005] The present invention is proposed in view of the above problems. According to one aspect of the present invention, a method for detecting device positioning accuracy is provided, comprising: Receive the location log of the device under test; Parsing the positioning log to obtain a plurality of positioning statements contained in the positioning log; Determining a valid positioning statement among the multiple positioning statements; Parsing each determined valid positioning statement to obtain a positioning point corresponding to the valid positioning statement; Based on the obtained positioning points, a positioning accuracy result of the device under test is determined.

[0006] Exemplarily, determining a valid positioning statement among the multiple positioning statements includes: For each positioning statement of the plurality of positioning statements, it is determined whether the positioning statement is a valid positioning statement according to a positioning state included in the positioning statement.

[0007] Exemplarily, the method further includes: When the number of determined valid positioning statements is 0, determining that the positioning accuracy result of the device under test is invalid; The step of parsing each determined valid positioning statement is performed when the number of determined valid positioning statements is not zero.

[0008] Exemplarily, determining the positioning accuracy result of the device under test based on the obtained positioning point includes: For each of the obtained positioning points, coordinate transformation is performed on the positioning point to obtain the longitude coordinate and latitude coordinate of the positioning point in the plane coordinate system; Determine the positioning accuracy result of the device under test according to the obtained longitude coordinates and latitude coordinates of each positioning point in the plane coordinate system; The positioning accuracy result includes at least one of the following: the root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculation error between each positioning point.

[0009] Exemplarily, the positioning accuracy result includes a root mean square error between each positioning point, and determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula:

[0010] Among them, 2DRMS represents the root mean square error between each positioning point, Represents the overall longitude standard deviation of the longitude coordinates of each location point, Represents the overall latitude standard deviation of the latitude coordinates of each positioning point; and / or, The positioning accuracy result includes the root mean square between each positioning point, and the determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula: RMS=2DRMS / 2 Among them, RMS represents the root mean square between each positioning point, and 2DRMS represents the root mean square error between each positioning point; and / or, The positioning accuracy result includes the circular calculation error between each positioning point, and the determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula: CEP=2DRMS / 2.4 Among them, CEP represents the circular calculation error between each positioning point, and 2DRMS represents the root mean square error between each positioning point.

[0011] Exemplarily, the overall longitude standard deviation is determined by the following formula:

[0012]

[0013] in, M is the total number of positioning points obtained, X 1. X 2. X 3. X 4…… X M Respectively represent the longitude coordinates of each positioning point obtained; The overall latitude standard deviation is determined by the following formula:

[0014]

[0015] in, M is the total number of positioning points obtained, Y 1. Y 2. Y 3. Y 4…… Y M Respectively represent the latitude coordinates of each positioning point obtained.

[0016] Exemplarily, the positioning log is obtained by positioning the device under test multiple times while the device under test is left stationary for an expected period of time in the environment under test.

[0017] According to another aspect of the present invention, there is provided a device positioning accuracy detection system, comprising: A receiving module, used to receive the positioning log of the device under test; A first parsing module, used for parsing the positioning log to obtain a plurality of positioning statements contained in the positioning log; A first determining module, used to determine a valid positioning statement among the multiple positioning statements; A second parsing module, used for parsing each determined valid positioning statement to obtain a positioning point corresponding to the valid positioning statement one by one; The second determination module is used to determine the positioning accuracy result of the device under test based on the obtained positioning points.

[0018] According to another aspect of the present invention, there is provided an electronic device, including a processor and a memory, wherein a computer program is stored in the memory, and the processor is configured to execute the computer program to implement the above method.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, storing a computer program / instruction, and the computer program / instruction implements the above method when executed by a processor.

[0020] The above technical solution can automatically calculate and determine the positioning accuracy result of the device under test based on the positioning log of the device under test. The calculation process does not require human participation, which can avoid the introduction of human errors and help improve the calculation efficiency and accuracy of positioning accuracy.

[0021] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0023] Figure 1 A schematic flow chart showing a method for detecting device positioning accuracy according to an embodiment of the present invention is shown; Figure 2 A schematic flow chart showing a method for detecting device positioning accuracy according to an embodiment of the present invention is shown; Figure 3 A schematic block diagram of a device positioning accuracy detection system according to an embodiment of the present invention is shown; Figure 4 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.

[0025] According to the above description, the accuracy of evaluating positioning equipment in related technologies usually relies on testers manually analyzing the positioning results of the equipment for calculation. In some technical application scenarios, positioning accuracy is measured by circular error probability (CEP). For example, the CEP50 indicator indicates that in a set of positioning data, 50% of the data points fall within a circle of a specific radius, which is the CEP value. The process of calculating the CEP value usually requires testers to perform it in steps and summarize the results of these steps to obtain the final accuracy evaluation. This manual calculation method requires high professional knowledge of testers, high calculation cost and low efficiency. And this method is easily affected by human factors, resulting in unsatisfactory accuracy of the final result. In view of this, the present invention provides a device positioning accuracy detection method, system, electronic device and medium, which can effectively improve the accuracy and calculation efficiency of the positioning accuracy detection result (that is, the positioning accuracy result below). The method, system, electronic device and storage medium are described in detail below.

[0026] According to one aspect of an embodiment of the present invention, a method for detecting device positioning accuracy is provided. Figure 1 FIG. 2 is a schematic flow chart of a method for detecting device positioning accuracy according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps S110, S120, S130, S140 and S150.

[0027] In step S110, the positioning log of the device under test is received.

[0028] In this article, the device under test refers to a device that relies on the global positioning system for positioning. The positioning log is a log file generated when the device under test is positioned. In some embodiments, the device under test generates NMEA (National Marine Electronics Association: a standard format developed by the National Marine Electronics Association of the United States) information after turning on the GNSS function. The NMEA information is the positioning log of the device under test.

[0029] In some embodiments, the user may first export a positioning log from the device under test, and then import the positioning log into a system for executing the device positioning accuracy detection method described herein.

[0030] In step S120, the positioning log is parsed to obtain a plurality of positioning statements contained in the positioning log.

[0031] As described above, the positioning log is a log file generated when the device under test is positioned. After obtaining the positioning log, the positioning log can be parsed to obtain the positioning statement in the positioning log. In some embodiments, the positioning log is NMEA information, and the NMEA information includes N GGA statements, which are positioning statements. By parsing the NMEA information, all GGA statements in the NMEA information can be obtained for determining the positioning accuracy in the subsequent process.

[0032] It can be understood that each positioning statement is used to describe a positioning operation performed by the device under test. The positioning statement may include information such as positioning time, longitude and latitude, positioning status, etc., which will not be described in detail.

[0033] In step S130, valid positioning statements among the plurality of positioning statements are determined.

[0034] After obtaining the positioning statement, the positioning statement can be screened to obtain the valid positioning statement. In some embodiments, the positioning state in the positioning statement can be used to determine whether the positioning statement is a valid positioning statement. In other embodiments, the longitude and latitude in the positioning statement can also be compared with the reference longitude and latitude of the reference position (i.e., the position of the device to be tested). When the difference between the two is large, the positioning statement is determined to be an invalid positioning statement. For example, the Euclidean distance between the longitude and latitude in the positioning statement and the reference longitude and latitude can be calculated. When the Euclidean distance between the two is less than or equal to a distance threshold, the positioning statement is determined to be a valid positioning statement. The distance threshold can be determined as needed and will not be repeated.

[0035] In step S140, each determined valid positioning statement is parsed to obtain a positioning point corresponding to the valid positioning statement.

[0036] It can be understood that each valid positioning statement corresponds to a valid positioning operation of the device under test. In the solution of this example, each valid positioning statement can be parsed to obtain the longitude and latitude determined by each valid positioning operation of the device under test, that is, the positioning point.

[0037] In step S150, the positioning accuracy result of the device under test is determined based on the obtained positioning points.

[0038] In this article, the positioning log is obtained by positioning the device under test at the same position. In other words, the actual positions corresponding to each valid positioning statement are the same. Therefore, the positioning accuracy result of the device under test can be determined based on the positioning point corresponding to each valid positioning statement. For example, the positioning accuracy result of the device under test can be determined based on the mean of the Euclidean distance between each positioning point and a predetermined reference position. For another example, one or more of the root mean square, root mean square error, circular calculation error, etc. can be calculated based on each positioning point as the positioning accuracy result of the device under test.

[0039] The above technical solution can automatically calculate and determine the positioning accuracy result of the device under test based on the positioning log of the device under test. The calculation process does not require human participation, which can avoid the introduction of human errors and help improve the calculation efficiency and accuracy of positioning accuracy.

[0040] Exemplarily, determining a valid positioning statement among the plurality of positioning statements includes: for each positioning statement among the plurality of positioning statements, determining whether the positioning statement is a valid positioning statement according to a positioning state included in the positioning statement.

[0041] It can be understood that in positioning statements such as GGA statements, positioning status information is included. Take the GGA statement as an example for explanation. The GGA statement contains 15 parameters: the first parameter indicates UTC time; the second parameter indicates latitude; the third parameter indicates the latitude hemisphere (i.e., north latitude or south latitude); the fourth parameter indicates longitude; the fifth parameter indicates the longitude hemisphere (i.e., east longitude or west longitude); the sixth parameter indicates the positioning quality indicator, and the value of the positioning quality indicator can be 0, 1, 2, 6, where 0 indicates that the positioning is invalid, 1 indicates that the positioning is valid, 2 indicates that the differential positioning is valid, and 6 indicates that it is being estimated; the seventh parameter indicates the number of satellites used; the eighth parameter indicates the HDOP horizontal accuracy; the ninth parameter indicates the height of the antenna from the sea level; the tenth parameter indicates the height unit (of the ninth parameter); the eleventh parameter indicates the height of the earth ellipsoid relative to the geoid; the twelfth parameter indicates the height unit (of the eleventh parameter); the thirteenth parameter indicates the differential time; the fourteenth parameter indicates the differential station ID number; and the fifteenth parameter indicates the checksum. In this embodiment, the sixth parameter indicates the positioning status. Therefore, whether the positioning statement is a valid positioning statement can be determined according to the value of the sixth parameter in the GGA statement. That is, when the value of the sixth parameter is 1 or 2, the positioning statement is determined to be a valid positioning statement.

[0042] In the above solution, whether the positioning statement is a valid positioning statement can be directly determined according to the positioning state contained in the positioning statement. This method does not require additional calculations and helps to improve the overall efficiency of positioning accuracy detection.

[0043] Exemplarily, the method further includes: when the number of determined valid positioning statements is 0, determining that the positioning accuracy result of the device under test is invalid; wherein, step S140, the step of parsing each determined valid positioning statement is performed when the number of determined valid positioning statements is not 0.

[0044] In the solution of this example, the number of valid positioning statements may be determined first. If the number of valid positioning statements is 0, then there is no valid positioning point, and therefore, there is no need to perform subsequent steps S140 and S150.

[0045] In a specific embodiment, M valid GGA statements can be screened out from N GGA statements. If M≥1, then continue to execute step S140, otherwise, directly determine that the positioning accuracy result of the device under test is invalid. In this case, the positioning accuracy result can be expressed as: "There is no valid positioning".

[0046] The above technical solution pre-determines the number of valid positioning statements before executing step S140, which can avoid meaningless execution of steps and waste of computing resources, thereby helping to further improve computing efficiency.

[0047] Exemplarily, step S150, determining the positioning accuracy result of the device under test based on the obtained positioning points, may include the following steps S151 and S152.

[0048] In step S151, for each of the obtained positioning points, coordinate transformation is performed on the positioning point to obtain the longitude coordinate and latitude coordinate of the positioning point in the plane coordinate system.

[0049] In step S152, the positioning accuracy result of the device under test is determined based on the longitude coordinates and latitude coordinates of each positioning point in the plane coordinate system; wherein the positioning accuracy result includes at least one of the following: the root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculation error between each positioning point.

[0050] In some embodiments, the longitude and latitude coordinates of the positioning point obtained by parsing the valid positioning statement are in degree-minute format. In this embodiment, before step S151, step S150 further includes the following steps: for each positioning point obtained, converting the longitude and latitude of the positioning point from the degree-minute format to degrees.

[0051] In a specific embodiment, converting the longitude and latitude of the positioning point from the degree format to the degree format may include the following steps: converting the longitude and latitude of the positioning point from the degree format to the degree format using the following conversion formula: latitude = Math.Floor(L1.lat / 100) + (L1.lat % 100) / 60 longitude = Math.Floor(L1.long / 100) + (L1.long % 100) / 60 Among them, latitude represents the latitude of the positioning point after conversion, longitude represents the longitude of the positioning point after conversion, Math.Floor() represents rounding down the decimal, L1.lat represents the latitude of the positioning point before conversion, and L1.long represents the longitude of the positioning point before conversion.

[0052] It can be understood that the longitude and latitude coordinates of the positioning point obtained by the initial analysis are the coordinates of the positioning point in the WGS-84 coordinate system. In the solution of this example, the positioning point can be firstly transformed to obtain the coordinates of the positioning point in the plane coordinate system. The coordinate conversion method can be any existing or future developed coordinate conversion algorithm for the WGS-84 coordinate system and the plane coordinate system. In some embodiments, the Gaussian direct arithmetic formula can be used to transform the coordinates of the positioning point. In a specific embodiment, the Gaussian direct arithmetic formula can be represented by the following code: int ProjNo = 0; int ZoneWide = 3; double longitude1, latitude1, longitude0, X0, Y0, X, Y; double a, f, e2, ee, NN, T, C, A, M, iPI; iPI = 0.0174532925199433; a = 6378137.0; f = 1.0 / 298.257223563; ProjNo = (int)(longitude / ZoneWide); longitude0 = ProjNo * ZoneWide + ZoneWide / 2; longitude0 = longitude0 * iPI; longitude1 = longitude * iPI; latitude1 = latitude * iPI; e2 = 2 * f - f * f; ee = e2 * (1.0 - e2); NN = a / Math.Sqrt(1.0 - e2 * Math.Sin(latitude1) * Math.Sin(latitude1)); T = Math.Tan(latitude1) * Math.Tan(latitude1); C = ee * Math.Cos(latitude1) * Math.Cos(latitude1); A = (longitude1 - longitude0) * Math.Cos(latitude1); M = a * ((1 - e2 / 4 - 3 * e2 * e2 / 64 - 5 * e2 * e2 * e2 / 256) *latitude1 - (3 * e2 / 8 + 3 * e2 * e2 / 32 + 45 * e2 * e2 * e2 / 1024) *Math.Sin(2 * latitude1) + (15 * e2 * e2 / 256 + 45 * e2 * e2 * e2 / 1024) *Math.Sin(4 * latitude1) - (35 * e2 * e2 * e2 / 3072) * Math.Sin(6 *latitude1)); X = NN * (A + (1 - T + C) * A * A * A / 6 + (5 - 18 * T + T * T + 72* C - 58 * ee) * A * A * A * A * A / 120); Y = M + NN * Math.Tan(latitude1) * (A * A / 2 + (5 - T + 9 * C + 4 *C * C) * A * A * A * A / 24 + (61 - 58 * T + T * T + 600 * C - 330 * ee) * A* A * A * A * A * A / 720); X0 = 1000000 * (ProjNo + 1) + 500000; Y0 = 0; X = xval + X0; Y = yval + Y0.

[0053] After obtaining the longitude coordinates and latitude coordinates of each positioning point in the plane coordinate system, the positioning accuracy result of the device to be tested can be determined according to the longitude coordinates and latitude coordinates of each positioning point in the plane coordinate system. The positioning accuracy result may include at least one of the following: the root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculated error between each positioning point. In some embodiments, the positioning accuracy result may include the root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculated error between each positioning point. The root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculated error between each positioning point can more fully and accurately represent the positioning accuracy of the device to be tested.

[0054] The above technical solution performs coordinate transformation on the positioning points, and uses the positioning points after coordinate transformation to calculate at least one of the root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculation error between each positioning point, thereby more accurately measuring the positioning accuracy of the device to be tested.

[0055] Exemplarily, the positioning accuracy result includes a root mean square error between each positioning point, and determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula:

[0056] Among them, 2DRMS represents the root mean square error between each positioning point, Represents the overall longitude standard deviation of the longitude coordinates of each location point, Represents the overall latitude standard deviation of the latitude coordinates of each positioning point; and / or, The positioning accuracy result includes the root mean square between each positioning point, and the positioning accuracy result of the device under test is determined, including: determining the positioning accuracy result of the device under test by the following formula: RMS=2DRMS / 2 Wherein, RMS represents the root mean square between each positioning point, and 2DRMS represents the root mean square error between each positioning point. The calculation method of the root mean square error has been described in detail above and will not be repeated here. and / or, The positioning accuracy result includes the circular calculation error between each positioning point, and the positioning accuracy result of the device under test is determined, including: determining the positioning accuracy result of the device under test by the following formula: CEP=2DRMS / 2.4 Wherein, CEP represents the circular common error between each positioning point, and 2DRMS represents the root mean square error between each positioning point. The calculation method of the root mean square error has been described in detail above and will not be repeated here.

[0057] The above technical solution can more accurately determine the root mean square between each positioning point and / or the root mean square error between each positioning point and / or the circular calculation error between each positioning point, thereby helping to improve the accuracy of the final positioning accuracy result.

[0058] Exemplarily, the overall longitude standard deviation is determined by the following formula:

[0059]

[0060] in, M is the total number of positioning points obtained, X 1. X 2. X 3. X 4…… X M Respectively represent the longitude coordinates of each positioning point obtained; The overall latitude standard deviation is determined by the following formula:

[0061]

[0062] in, M is the total number of positioning points obtained, Y 1. Y 2. Y 3. Y 4…… Y M Respectively represent the latitude coordinates of each positioning point obtained.

[0063] The above scheme can calculate the overall longitude standard deviation and overall latitude standard deviation among the positioning points more accurately based on each positioning point, thereby providing a more accurate basis for determining the positioning accuracy results in subsequent steps.

[0064] Exemplarily, the positioning log is obtained by leaving the device under test in the test environment for an expected period of time and performing multiple positioning operations.

[0065] In the solution of this example, the test environment may include but is not limited to indoor, under a tree, downstairs, on the roof or outdoor open environment. The specific test environment can be selected according to the actual needs of the user, for example, the actual application scenario of the device under test can be selected as the test environment of the device under test.

[0066] Optionally, the expected time can be selected according to actual needs. For example, it can be 2 hours, 3 hours, 4 hours, etc. In some embodiments, the expected time can be determined according to the period of positioning performed by the positioning device and the number of positioning times required.

[0067] In the above technical solution, the positioning log is obtained by positioning the device under test for a predetermined time in the test environment and performing multiple positioning operations. The positioning log can provide a relatively accurate basis for the positioning accuracy detection of the device under test in the subsequent process.

[0068] Figure 2 FIG. 1 is a schematic flow chart of a method for detecting device positioning accuracy according to an embodiment of the present invention. Figure 2 In the embodiment shown, the device positioning accuracy detection method can be executed by a computer. In this embodiment, the computer establishes a physical connection with the device under test through USB (Universal Serial Bus), and the computer device manager can see the port list of the device under test. The computer can send instructions to the device under test through the port and receive data returned by the device. In this embodiment, the computer can send a GNSS (Global Navigation Satellite System) function opening instruction to the device under test through the port, and the device under test will generate NMEA (National Marine Electronics Association: a standard format developed by the National Marine Electronics Association of the United States) information after turning on the GNSS function.

[0069] The device positioning accuracy detection method in this embodiment may include the following steps: Step S2001: The positioning device turns on the GNSS function. The positioning device is the device to be tested.

[0070] Step S2002, downloading ephemeris information, and positioning is successful. In this step, the positioning device can download ephemeris information and perform positioning. Those skilled in the art can understand the specific principles and implementation methods of the positioning device for positioning, which will not be described in detail.

[0071] Step S2003, saving the NMEA information log after successful positioning: nmea.log. After the positioning device successfully locates, the NMEA information nmea.log of the positioning device can be saved, and the nmea.log is the positioning log.

[0072] Step S2004, read the log file: nmea.log. In the embodiment, the computer used to implement the device positioning accuracy detection method provides a log file import function, and the user can enter the file selection window by clicking the "Select File" button, select the log file and click "Confirm" to complete the import of the log file.

[0073] Step S2005, parse the log file and filter out valid positioning information (latitude and longitude). In this step, the positioning statement can be parsed from the log file, and the positioning statement is filtered to obtain a valid positioning statement. By parsing the valid positioning statement, multiple positioning points (the coordinates of the positioning points are expressed in longitude and latitude) can be obtained, and the multiple positioning points are the valid positioning information.

[0074] Step S2006, converting the latitude and longitude formats: degrees and minutes are converted to degrees.

[0075] Step S2007, converting the longitude and latitude from the WGS-84 coordinate system to the plane coordinate system (X, Y). In this embodiment, the longitude and latitude coordinates of each positioning point can be converted to obtain the longitude and latitude coordinates of the positioning point in the plane coordinate system.

[0076] Step S2008, respectively calculating the X and Y standard deviations. In this step, the standard deviation in the X direction (i.e., the overall longitude standard deviation) can be calculated based on the longitude of each positioning point, and the standard deviation in the Y direction (i.e., the overall latitude standard deviation) can be calculated based on the latitude of each positioning point.

[0077] Step S2009, calculating the positioning accuracy result. After obtaining the X and Y standard deviations, the root mean square between each positioning point, the root mean square error between each positioning point and the circular error between each positioning point can be calculated according to the X and Y standard deviations to serve as the positioning accuracy result.

[0078] Step S2010, return the calculation result. After obtaining the positioning accuracy result, the calculation result can be returned. For example, CEP, RMS, 2DRMS, and the number of samples can be printed to the computer interface for the user to view.

[0079] Figure 2 The specific implementation method of each step has been described in detail above and will not be repeated here.

[0080] According to another aspect of an embodiment of the present invention, a device positioning accuracy detection system is provided. Figure 3 FIG. 2 is a schematic block diagram of a device positioning accuracy detection system according to an embodiment of the present invention. Figure 3 As shown, the system includes a receiving module 310 , a first parsing module 320 , a first determining module 330 , a second parsing module 340 and a second determining module 350 .

[0081] The receiving module 310 is used to receive the positioning log of the device under test.

[0082] The first parsing module 320 is used to parse the positioning log to obtain a plurality of positioning statements contained in the positioning log.

[0083] The first determining module 330 is used to determine a valid positioning statement among the multiple positioning statements.

[0084] The second parsing module 340 is used to parse each determined valid positioning statement to obtain a positioning point corresponding to the valid positioning statement.

[0085] The second determination module 350 is used to determine the positioning accuracy result of the device under test based on the obtained positioning points.

[0086] According to yet another aspect of the embodiments of the present invention, an electronic device is provided. Figure 4 FIG. 2 shows a schematic block diagram of an electronic device according to an embodiment of the present invention. Figure 4 As shown, the electronic device 400 includes: a processor 410 and a memory 420. The memory 420 stores a computer program, and the processor 410 is used to execute the computer program to implement the above method.

[0087] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided. The storage medium stores a computer program / instruction, and the computer program / instruction implements the above method when executed by a processor. The storage medium may include, for example, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0088] A person skilled in the art can easily understand the implementation structure, working principle and beneficial effects of the device positioning accuracy detection system, the electronic device and the computer-readable storage medium by reading the above method. For the sake of brevity, no further description is given here.

[0089] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.

[0090] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0091] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0092] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0093] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.

[0094] Those skilled in the art will understand that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstract and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise explicitly stated, each feature disclosed in this specification (including the accompanying claims, abstract and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0095] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0096] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some modules in the device positioning accuracy detection system and electronic devices according to an embodiment of the present invention. The present invention may also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0097] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0098] The above is only a specific embodiment of the present invention or an explanation of a specific embodiment. The protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for detecting device positioning accuracy, characterized in that: include: Receive the location log of the device under test; Parsing the positioning log to obtain a plurality of positioning statements contained in the positioning log; Determining a valid positioning statement among the multiple positioning statements; Parsing each determined valid positioning statement to obtain a positioning point corresponding to the valid positioning statement; Based on the obtained positioning points, a positioning accuracy result of the device under test is determined.

2. The method according to claim 1, characterized in that The determining of a valid positioning statement among the plurality of positioning statements comprises: For each positioning statement of the plurality of positioning statements, it is determined whether the positioning statement is a valid positioning statement according to a positioning state included in the positioning statement.

3. The method according to claim 1, characterized in that The method further comprises: When the number of determined valid positioning statements is 0, determining that the positioning accuracy result of the device under test is invalid; The step of parsing each determined valid positioning statement is performed when the number of determined valid positioning statements is not zero.

4. The method according to claim 1, characterized in that The determining the positioning accuracy result of the device under test based on the obtained positioning point includes: For each of the obtained positioning points, coordinate transformation is performed on the positioning point to obtain the longitude coordinate and latitude coordinate of the positioning point in the plane coordinate system; Determine the positioning accuracy result of the device under test according to the obtained longitude coordinates and latitude coordinates of each positioning point in the plane coordinate system; The positioning accuracy result includes at least one of the following: the root mean square between each positioning point, the root mean square error between each positioning point, and the circular calculation error between each positioning point.

5. The method according to claim 4, characterized in that The positioning accuracy result includes a root mean square error between each positioning point, and the determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula: Among them, 2DRMS represents the root mean square error between each positioning point, Represents the overall longitude standard deviation of the longitude coordinates of each location point, Represents the overall latitude standard deviation of the latitude coordinates of each positioning point; and / or, The positioning accuracy result includes the root mean square between each positioning point, and the determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula: RMS=2DRMS / 2 Among them, RMS represents the root mean square between each positioning point, and 2DRMS represents the root mean square error between each positioning point; and / or, The positioning accuracy result includes the circular calculation error between each positioning point, and the determining the positioning accuracy result of the device under test includes: determining the positioning accuracy result of the device under test by the following formula: CEP=2DRMS / 2.4 Among them, CEP represents the circular calculation error between each positioning point, and 2DRMS represents the root mean square error between each positioning point.

6. The method according to claim 5, characterized in that The overall longitude standard deviation is determined by the following formula: in, M is the total number of positioning points obtained, X 1. X 2. X 3. X 4…… X M Respectively represent the longitude coordinates of each positioning point obtained; The overall latitude standard deviation is determined by the following formula: in, M is the total number of positioning points obtained, Y 1. Y 2. Y 3. Y 4…… Y M Respectively represent the latitude coordinates of each positioning point obtained.

7. The method according to any one of claims 1 to 6, characterized in that: The positioning log is obtained by positioning the device under test multiple times after the device under test is left stationary for an expected period of time in the test environment.

8. A device positioning accuracy detection system, characterized in that: include: A receiving module, used to receive the positioning log of the device under test; A first parsing module, used for parsing the positioning log to obtain a plurality of positioning statements contained in the positioning log; A first determining module, configured to determine a valid positioning statement among the plurality of positioning statements; A second parsing module, used for parsing each determined valid positioning statement to obtain a positioning point corresponding to the valid positioning statement one by one; The second determination module is used to determine the positioning accuracy result of the device under test based on the obtained positioning points.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used to execute the computer program to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program / instruction is stored, and when the computer program / instruction is executed by a processor, the method according to any one of claims 1 to 7 is implemented.