Methods, devices, equipment, and media for verifying the installation location of vehicle positioning equipment.
By analyzing the satellite and base station positioning data sources of positioning devices, the installation location of positioning devices is automatically verified, which solves the problem of reduced positioning data accuracy caused by unreasonable installation of positioning devices, and improves positioning accuracy and asset management efficiency.
Patent Information
- Application Number
- CN202310920112.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-07-25
AI Technical Summary
In existing technologies, improper installation of positioning devices can lead to reduced accuracy of positioning data, especially when satellite signals are weak and frequent switching to base station positioning affects the quality of positioning data.
By receiving positioning data generated by the positioning device within a preset time period, analyzing the data source identifier to determine the strength of the communication signal between the positioning device and the satellite, and automatically verifying whether the installation location of the positioning device meets the preset conditions.
This improved the installation quality of positioning equipment and the accuracy of vehicle positioning, reduced financial risks, and ensured the effective management of physical assets.
Smart Images

Figure CN116953738B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of financial technology, and in particular to a method, apparatus, equipment and medium for verifying the installation position of a vehicle positioning device. Background Technology
[0002] Auto finance leasing is a type of auto finance business that differs from auto mortgage loans. In auto finance leasing, the ownership of the vehicle belongs to the finance leasing company during the lease term, while the lessee has the right to use the vehicle. At the end of the lease term, the lessee can choose to purchase the vehicle in a lump sum, renew the lease, or return the vehicle. Auto finance leasing is more flexible and has lower barriers to entry compared to auto mortgage loans.
[0003] During car rental, asset management of the financed vehicles is necessary to protect financial assets. Specifically, positioning devices are installed on the vehicles to confirm their real-time location. These devices typically have both satellite and cell tower positioning capabilities. Satellite positioning offers higher accuracy, while cell tower positioning offers lower accuracy. In actual operation, satellite positioning is used when the satellite signal strength is strong, and cell tower positioning is used when the satellite signal strength is weak. Therefore, the more satellite positioning points used, the higher the quality of the positioning data. Excessive reliance on cell tower positioning leads to lower positioning data quality, which in turn affects the accuracy of subsequent trajectory confirmation and mileage calculations based on the positioning data, resulting in larger deviations in the calculation results.
[0004] In real-world scenarios, current positioning devices are installed by technicians who judge the suitability of the installation location based on their work experience. If the positioning device is installed in an inappropriate location on the vehicle (e.g., severely obstructed), it may cause the positioning device to be unable to establish communication with the satellite or have a weak signal, resulting in frequent activation of base station positioning. This leads to excessive use of base station positioning data, which in turn reduces the accuracy of the positioning data. Summary of the Invention
[0005] In view of this, this application provides a method, device, medium and equipment for verifying the installation location of vehicle positioning equipment, which solves the problem that the rationality of the current positioning equipment installation location cannot be guaranteed, resulting in too much location data using base station positioning and reduced positioning data accuracy.
[0006] A first aspect of this application provides a method for verifying the installation location of a vehicle positioning device, the method comprising:
[0007] Receive positioning data generated within a preset time period sent by the positioning device, wherein the positioning data includes a data source identifier;
[0008] Based on the data source identifier, determine the data source corresponding to the positioning data, wherein the data source is a satellite or a base station;
[0009] Based on the data source, determine whether the installation location of the positioning device meets the preset conditions; if it does, the verification is successful.
[0010] A second aspect of this application provides a device for verifying the installation position of a vehicle positioning device, the device comprising:
[0011] A receiving module is used to receive positioning data sent by a positioning device, wherein the positioning data includes a data source identifier;
[0012] The determination module is used to determine the data source corresponding to the positioning data based on the data source identifier, wherein the data source is a satellite or a base station;
[0013] The verification module is used to determine whether the installation location of the positioning device meets the preset conditions based on the data source. If it does, the verification is successful.
[0014] A third aspect of this application provides an apparatus including a storage medium, a processor, and instructions or code stored on the storage medium and executable on the processor, wherein the processor executes the instructions or code to implement the above-described method for verifying the installation position of a vehicle positioning device.
[0015] In a fourth aspect, this application provides a medium storing instructions or code that, when executed by a processor, implement the above-described method for verifying the installation position of a vehicle positioning device.
[0016] The aforementioned method, device, equipment, and medium for verifying the installation location of vehicle positioning equipment utilizes a scheme that collects positioning data generated by the equipment over a period of time and determines whether each data point is generated by a satellite or a base station. This assessment assesses the strength of the communication signal between the positioning equipment and the satellite, thus verifying the installation location. If the communication signal is sufficiently strong, the installation location is considered suitable, and the verification passes. Compared to traditional methods where installers rely on experience to determine the suitability of the installation location, this method automatically verifies the location with high accuracy. This helps ensure the installation quality of the positioning equipment, improves vehicle positioning accuracy, and ultimately facilitates the management of vehicle assets and reduces financial risks.
[0017] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A flowchart illustrating a method for verifying the installation location of a vehicle positioning device according to an embodiment of this application is shown.
[0020] Figure 2 A flowchart illustrating another method for verifying the installation location of a vehicle positioning device provided in an embodiment of this application is shown.
[0021] Figure 3 A flowchart illustrating another method for verifying the installation location of a vehicle positioning device provided in an embodiment of this application is shown.
[0022] Figure 4 This illustration shows a continuous base station positioning diagram of another method for verifying the installation location of a vehicle positioning device provided in an embodiment of this application.
[0023] Figure 5 A flowchart illustrating another method for verifying the installation location of a vehicle positioning device provided in an embodiment of this application is shown.
[0024] Figure 6 This paper shows a structural block diagram of a vehicle positioning device installation position verification device provided in an embodiment of this application;
[0025] Figure 7 A structural block diagram of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0026] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0027] The vehicle positioning device installation location verification method provided in this application can be applied to electronic devices with instruction or program execution capabilities. These electronic devices can be, but are not limited to, various servers, workstations, personal computers, laptops, etc. The difference in execution entity lies only in the computing device on which the solution runs; those skilled in the art will foresee that running on different computing devices will produce the same technical effect. The invention will now be described in detail through specific embodiments.
[0028] Example 1:
[0029] Please see Figure 1 As shown, Figure 1 A flowchart illustrating a method for verifying the installation location of a vehicle positioning device according to an embodiment of the present invention includes the following steps:
[0030] S11: Receive positioning data generated within a preset time period sent by the positioning device, wherein the positioning data includes a data source identifier.
[0031] The method provided by this invention can be used to verify whether the installation location of a positioning device installed on a rental vehicle is appropriate, thereby optimizing the installation location of the positioning device, improving positioning accuracy, and facilitating the management of physical assets. Specifically, if the installation location of the positioning device is inappropriate, it may result in weak communication signals between the positioning device and the satellite, thus requiring the use of base station positioning for compensation. Based on this characteristic, the strength of the communication signal between the positioning device and the satellite can be determined by whether the positioning signal received by the positioning device comes from a satellite or a base station, thereby determining whether the installation location of the positioning device is appropriate.
[0032] In this step, the positioning data sent by the positioning device is first received and then analyzed. The positioning device is installed on vehicles such as rental cars, and includes, but is not limited to, GPS devices; other similar positioning devices such as BeiDou are also applicable to this method. It is understood that since the positioning device generates a positioning data point at regular intervals, positioning data generated within a specific time period can be selected for analysis, i.e., positioning data generated within a preset time period is received. A longer preset time period results in higher verification accuracy and correspondingly higher positioning precision, but also a greater computational load during verification, requiring more hardware resources and time. Conversely, a shorter preset time period results in less computational load during verification, requiring fewer hardware resources and time, but also lower verification accuracy and correspondingly lower positioning precision. Therefore, the preset time period can be set by comprehensively analyzing positioning accuracy requirements, hardware resource and time requirements, and historical experience.
[0033] The preset duration can be determined based on positioning accuracy requirements and historical experience. The higher the positioning accuracy requirement, the longer the preset duration can be set.
[0034] S12: Determine the data source corresponding to the location data based on the data source identifier, where the data source is a satellite or a base station.
[0035] In this step, each piece of location data includes a data source identifier, which indicates whether the location data was obtained through satellite positioning or base station positioning. Accordingly, if a piece of location data was obtained through satellite positioning, then the data source of the location data is a satellite; if a piece of location data was obtained through base station positioning, then the data source of the location data is a base station.
[0036] S13: Based on the data source, determine whether the installation location of the positioning device meets the preset conditions. If it does, the verification is successful.
[0037] In this step, the source of each location data point can be determined as to whether it was obtained through satellite positioning or base station positioning. If a location data point was obtained through satellite positioning, it is assumed that the communication signal between the positioning device and the satellite was strong when the data was generated; conversely, if a location data point was obtained through base station positioning, it is assumed that the communication signal between the positioning device and the satellite was weak. A strong communication signal between the positioning device and the satellite indicates that the installation location of the positioning device is appropriate. Therefore, by determining whether the data source is satellite or base station, the strength of the communication signal between the positioning device and the satellite can be used to determine whether the installation location of the positioning device is appropriate. If the installation location is determined to be appropriate, the verification passes, and the location of the positioning device does not need to be adjusted.
[0038] This embodiment collects positioning data generated by the positioning device over a period of time and determines whether each piece of positioning data is generated by a satellite or a base station to assess the strength of the communication signal between the positioning device and the satellite. This assessment verifies the installation location of the positioning device. If the communication signal between the positioning device and the satellite is strong enough, the installation location is considered appropriate, and the verification passes. Compared to the traditional method where installers rely on their experience to determine the suitability of the installation location, this embodiment automatically verifies the installation location with high accuracy. This helps ensure the installation quality of the positioning device, improves vehicle positioning accuracy, and ultimately facilitates the management of vehicle assets and reduces financial risks.
[0039] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, in order to fully illustrate the specific implementation process of this embodiment, another method for verifying the installation position of the vehicle positioning device is provided.
[0040] Example 2:
[0041] In this embodiment, such as Figure 2As shown, the method for verifying the installation location of vehicle positioning equipment includes the following steps:
[0042] S21: Receive positioning data generated within a preset time period sent by the positioning device, wherein the positioning data includes a data source identifier.
[0043] The positioning device is installed on the vehicle, and the time difference between the installation time and the time of receiving positioning data is less than a preset time difference threshold. This means that after the positioning device is installed, its installation location can be verified to identify and address problems as early as possible. Therefore, positioning data generated within a certain period after installation can be received, meaning the time difference between the positioning data and the installation time is less than a certain threshold. By analyzing the positioning data generated during this period, it can be determined whether the positioning device is unsuitable. If so, its location can be adjusted as soon as possible to avoid asset loss due to inaccurate positioning.
[0044] S22: Determine the data source corresponding to the location data based on the data source identifier, wherein the data source is a satellite or a base station.
[0045] S23: Based on the data source, determine whether the installation location of the positioning device meets the preset conditions; if it does, proceed to step S24; if it does not, proceed to step S25.
[0046] S24: Verification passed.
[0047] S25: Verification failed. Adjust the installation position and return to step S21.
[0048] In steps S21-S25, after determining whether the installation location of the positioning device meets the preset conditions, if it does, the verification is considered successful, and the verification ends; otherwise, if it does not meet the conditions, the installation location of the positioning device is adjusted, the positioning device is reinstalled, and after reinstallation, the process returns to the step of receiving positioning data sent by the positioning device, using the newly received positioning data to continue verifying the new installation location. If the verification still fails, the adjustment continues, and the process is repeated until the verification passes, at which point the installation location of the positioning device is considered suitable.
[0049] Example 3:
[0050] Based on Example 2, determining whether the installation location of the positioning device meets the preset conditions according to the data source includes the following steps:
[0051] S231-a, sort the positioning data according to the order in which they were generated to obtain the positioning data sequence.
[0052] In this step, since the positioning device generates a positioning data point every certain period of time, each positioning data point can be sorted according to the order of its generation time to form a positioning data sequence.
[0053] S232-a, in the positioning data sequence, a subsequence is obtained formed by multiple positioning data, wherein the data source of the first and last positioning data in the subsequence is a base station, and the number of positioning data in the subsequence whose data source is satellite is less than a continuous threshold.
[0054] In a positioning data sequence, several consecutive positioning data points can form a subsequence. The goal is to identify all subsequences that meet the following criteria: A subsequence is defined as one where the first and last positioning data points both originate from a base station, and there is a limited amount of satellite-based positioning data. Specifically, this can be set to less than a consecutive threshold.
[0055] For example, for a given location data sequence, the sequence composed of its data sources is as follows: [satellite, satellite, base station, satellite, satellite, satellite, base station, satellite, base station, base station, base station, base station, base station, base station, satellite, satellite, base station, satellite]. From this, multiple candidate subsequences with data sources of [satellite, satellite], [satellite, satellite, base station], [satellite, satellite, base station, satellite], etc., can be obtained. Among these candidate subsequences, those with "base station" as both the first and last character are identified, such as [base station, satellite, satellite, satellite, base station], [base station, satellite, base station, base station], etc. Then, among these candidate subsequences with "base station" as both the first and last character, the subsequences with a relatively small amount of location data originating from "satellite" are selected as the desired subsequences. For example, in the aforementioned [base station, satellite, satellite, satellite, base station], there is too much location data originating from "satellite," so it does not meet the requirements; while in [base station, satellite, base station, base station], there is not much location data originating from "satellite," so it is a suitable subsequence.
[0056] Preferably, the continuous threshold is a preset value; or, the continuous threshold is the product of the length of the subsequence and a first preset proportional threshold. For example, a specific number can be set as the continuous threshold based on actual work experience. For example, if the continuous threshold is set to 3, then if there are fewer than 3 positioning data from "satellite" in a candidate subsequence, then this candidate subsequence is considered to be a subsequence with continuous base station data source, that is, a subsequence that meets the requirements.
[0057] Furthermore, it is understandable that the same amount of location data originating from "base stations" will have different proportions in subsequences of varying lengths, thus affecting the accuracy of trajectory and travel calculations differently. The longer the subsequence, the smaller the impact of a single location data source. Based on this, a continuous threshold can be set according to the subsequence length and a first preset proportion threshold. For example, if the first preset proportion threshold is set to 0.2, then in a candidate subsequence of length 10, the location data originating from "base stations" should be less than 2; while in a candidate subsequence of length 50, the location data originating from "base stations" only needs to be less than 10 to be considered a valid subsequence. This setting eliminates the influence of different subsequence lengths, avoiding the rejection of longer subsequences with a smaller proportion but a slightly larger number of location data originating from "base stations."
[0058] S233-a, determine the duration of each subsequence, and determine the subsequence with the longest duration as the target subsequence.
[0059] In step S232-a, the duration of each subsequence is determined, including:
[0060] The duration of each subsequence is determined based on the generation time of the earliest and last location data in the sorted sequence; or,
[0061] The duration of each subsequence is determined based on the number of data points located in each subsequence.
[0062] In step S233-a, after finding all subsequences that meet the requirements, the duration of each subsequence is calculated, and the subsequence with the longest duration is found, which is the target subsequence. The duration of the subsequence can be calculated based on the generation time of the positioning data or the quantity of positioning data. Specifically, the generation times of the first and last positioning data points in the subsequence can be recorded, and the difference between the two is the duration of the subsequence. The duration calculated in this way is relatively accurate.
[0063] Furthermore, since no satellite or base station signals were received, the time when no positioning data was generated was minimal, so the situation where positioning data was not generated at regular intervals due to the lack of satellite and base station signals can be ignored. Based on this, the duration of a subsequence can be simply determined by the amount of positioning data; the more positioning data, the longer the duration of the subsequence. Therefore, the subsequence with the most positioning data can be directly taken as the longest-lasting subsequence, i.e., the target subsequence. Obtaining the target subsequence in this way is simple and quick.
[0064] Specifically, for the aforementioned data sequence with the data source being [satellite, satellite, base station, satellite, satellite, satellite, base station, satellite, base station, base station, base station, base station, base station, base station, satellite, satellite, base station, satellite, satellite], it can be seen that the subsequence with the data source being [base station, satellite, base station, base station, base station, base station, base station, base station] is the longest subsequence that meets the requirements, which is the target subsequence.
[0065] S234-a, if the duration of the target subsequence is less than the preset duration threshold, then the installation location is determined to meet the preset verification conditions.
[0066] In step S234-a, if the duration of the target subsequence is less than the preset duration threshold, it is considered that the positioning device uses base station positioning for a small amount of time and satellite positioning for most of the time. Therefore, it is considered that the communication signal between the positioning device and the satellite is good and the installation location of the positioning device meets the preset verification conditions.
[0067] This embodiment determines whether the duration of continuous positioning via base station by the positioning device is short. If the duration is short, it is assumed that satellite positioning is used most of the time, and base station positioning is used only a few times. Therefore, it is considered that the communication signal between the positioning device and the satellite is good, the installation location meets the preset verification conditions, and the verification passes. This embodiment equates the determination of communication signal strength to the determination of the duration of continuous positioning via base station, simplifying the determination method and making the calculation steps simple and easy to operate.
[0068] Figure 3 A flowchart illustrating a method for verifying the installation location of a vehicle positioning device according to an embodiment of this application is shown. As shown in the figure, the method includes the following steps:
[0069] S1 acquires location data reported by the GPS device within a certain period after installation (e.g., within 2 days of installation).
[0070] S2 analyzes the location data reported by the GPS devices after a period of time following installation, focusing on the continuous location data of the GPS devices within that timeframe (see Appendix). Figure 4 The maximum duration X for reporting base station location, for example, the maximum continuous reporting time for a GPS device to report base station location within 1 hour on a newly installed day.
[0071] S3 compares the X obtained in step S2 with the specified threshold Y. If X > Y, the installation location is considered inappropriate and needs to be readjusted. For example, if the rule is that continuous reporting of base station location for more than 30 minutes constitutes an inappropriate installation location, and the maximum time obtained in S2 is 1 hour...
[0072] S4 readjusts the GPS device's installation location, and data flow returns to step S1.
[0073] S5 compares the results of step S2. If the installation location of the GPS device does not need to be readjusted, the process ends and the GPS device is no longer monitored.
[0074] In this embodiment, the continuous reporting of base station positioning by the GPS device may include a small amount of satellite positioning. For example... Figure 4 As shown, in the first case, all the positioning data is from base station positioning; in the second case, a large amount of positioning data from base station positioning is interspersed with a small amount of satellite positioning data. Both cases are considered as continuous use of base station positioning.
[0075] Example 4:
[0076] Based on Example 2, determining whether the installation location of the positioning device meets the preset conditions according to the data source includes the following steps:
[0077] S231-b, among multiple location data, determine that the location data whose data source is a base station is abnormal data, and determine the ratio of the number of abnormal data to the total number of location data;
[0078] S232-b, if the ratio is less than the second preset ratio threshold, then the installation location is determined to meet the preset verification conditions.
[0079] In steps S231-b-S232-b, the installation location can also be verified based on the ratio of positioning data obtained through base station positioning to the total amount of positioning data. Specifically, positioning data originating from base stations is considered abnormal data. The more abnormal data there is, the more times base station positioning is used, and the fewer times satellite positioning is used. Therefore, the communication signal between the positioning device and the satellite is considered weaker. Based on this, a second preset ratio threshold can be set. If the ratio of the number of abnormal data to the total amount of positioning data is less than the second preset ratio threshold, it is considered that the number of times base station positioning is used is low, the communication signal between the positioning device and the satellite is strong, and the installation location of the positioning device is suitable; otherwise, the installation location of the positioning device is considered inappropriate. The second preset ratio threshold can be set according to the positioning accuracy requirements and historical experience. For example, if the accuracy requirement for vehicle positioning is high, base station positioning should be used as little as possible, so the second preset ratio threshold can be set slightly smaller.
[0080] This embodiment determines the number of times the positioning device uses base stations for positioning. If the number of times it uses base stations for positioning accounts for a small proportion of the total number of positioning times, it is assumed that most positioning data uses satellite positioning, with only a few using base station positioning. Therefore, it is considered that the communication signal between the positioning device and the satellite is good, the installation location meets the preset verification conditions, and the verification passes. This embodiment equates the determination of communication signal strength to the determination of the number of times positioning is performed via base stations, simplifying the determination method and making the calculation steps simple and easy to operate.
[0081] Figure 5 A flowchart illustrating a method for verifying the installation location of a vehicle positioning device according to an embodiment of this application is shown. The method includes the following steps:
[0082] S1 acquires location data reported by newly installed GPS devices within a certain period of time.
[0083] S2 analysis step S1 calculates the percentage of base station locations reported by the GPS device within the reported location data, either in terms of the number of locations or the duration of those locations. For example, within one day of a newly installed GPS device, the percentage of base station locations reported by the GPS device reaches as high as 80%.
[0084] S3 compares the base station percentage obtained in step S2 with the prescribed threshold Y. If X > Y, the installation location is considered inappropriate. For example, if the base station percentage obtained from the statistical analysis in step S2 is 80% and the prescribed threshold is 25%, then because 80% > 25%, the installation location is considered inappropriate and needs to be readjusted.
[0085] S4 readjusts the GPS device's installation location, and data flow returns to step S1.
[0086] S5 compares the results of step S2. If the installation location of the GPS device does not need to be readjusted, the process ends and the GPS device is no longer monitored.
[0087] Example 5:
[0088] Based on Examples 3 and 4, the duration of continuous positioning by the positioning device through the base station in Example 3 and the number of times the positioning device positions itself through the base station in Example 4 can be comprehensively analyzed to obtain the final verification result.
[0089] For example, the duration of the target subsequence can be obtained using the method in Example 3, and a first preset weight can be assigned to it; the ratio of the number of abnormal data to the total number of location data can be obtained using the method in Example 4, and a second preset weight can be assigned to it; then, the two weights are used to perform a weighted summation, and the sum is compared with a preset weighted threshold. If the sum is less than the weighted threshold, the verification is considered to have passed and the installation position of the positioning device is appropriate; otherwise, the verification is considered to have failed, the installation position of the positioning device is adjusted, it is reinstalled, and the verification is performed again.
[0090] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0091] As can be seen, compared to traditional methods that rely on human experience to determine the suitability of positioning device installation locations, this solution designs two different automatic verification methods for positioning device installation locations: verification based on the duration of continuous positioning by the positioning device through base stations, and verification based on the number of times the positioning device positions itself through base stations. Furthermore, these two verification methods can be combined and weighted to obtain the final verification result. This automatic verification method can quickly and accurately identify positioning devices with inappropriate installation locations and adjust their positions until they are properly positioned. This improves positioning accuracy, facilitates vehicle location and travel trajectory tracking, enhances the management of physical assets, and reduces financial risks.
[0092] In one embodiment, a device for verifying the installation position of a vehicle positioning device is provided, which corresponds one-to-one with the method for verifying the installation position of the vehicle positioning device in the above embodiments. For example... Figure 6 As shown, the vehicle positioning device's installation location verification device includes: a receiving module, a judging module, and a verification module. Detailed descriptions of each functional module are as follows:
[0093] The receiving module is used to receive positioning data sent by the positioning device, wherein the positioning data includes a data source identifier;
[0094] The judgment module is used to determine the data source corresponding to the location data based on the data source identifier, wherein the data source is a satellite or a base station;
[0095] The verification module is used to determine whether the installation location of the positioning device meets the preset conditions based on the data source. If it does, the verification passes.
[0096] In one embodiment, the apparatus further includes a circulation module for:
[0097] If the installation location does not meet the preset conditions, the verification will fail.
[0098] Adjust the installation location and return to the steps of receiving positioning data sent by the positioning device.
[0099] In one embodiment, the verification module is used for:
[0100] The location data is sorted according to the order in which it was generated to obtain a location data sequence;
[0101] In the positioning data sequence, a subsequence is obtained formed by multiple positioning data. The data source of the first and last positioning data in the subsequence is the base station, and the number of positioning data in the subsequence whose data source is satellite is less than the continuous threshold.
[0102] Determine the duration of each subsequence, and identify the subsequence with the longest duration as the target subsequence;
[0103] If the duration of the target subsequence is less than the preset duration threshold, the installation location is determined to meet the preset verification conditions.
[0104] In one embodiment, the continuous threshold is a preset value; or,
[0105] The first continuous threshold is the product of the length of the subsequence and the first preset proportional threshold.
[0106] In one embodiment, the verification module is used for:
[0107] The duration of each subsequence is determined based on the generation time of the earliest and last location data in the sorted sequence; or,
[0108] The duration of each subsequence is determined based on the number of data points located in each subsequence.
[0109] In one embodiment, the verification module is used for:
[0110] Among multiple location data sets, location data originating from base stations are identified as anomalous data, and the ratio of the number of anomalous data sets to the total number of location data sets is determined.
[0111] If the ratio is less than the second preset ratio threshold, the installation location is determined to meet the preset verification conditions.
[0112] In one embodiment, the positioning device is installed on the vehicle, and the time difference between the installation time of the positioning device and the time of receiving the positioning data is less than a preset time difference threshold.
[0113] In one embodiment, an electronic device is provided. This electronic device can be a mobile device such as a mobile phone, tablet, or in-vehicle mobile terminal, or other device with program execution capabilities. The internal structure diagram of this electronic device can be as follows: Figure 7As shown, the electronic device includes a processor, a memory, and a network module. The processor provides computing and control capabilities. The memory includes non-volatile and / or volatile storage media and internal memory. The non-volatile storage media stores an operating system, instructions, or code. The internal memory provides an environment for the operation of the operating system and instructions or code in the non-volatile storage media. When the instructions or code are executed by the processor, they implement the functions or steps of a method for verifying the installation position of a vehicle positioning device. The network module of the electronic device may include a network interface and / or a wireless network module, allowing the electronic device to communicate with other devices or service platforms. Furthermore, the electronic device may also include a display screen and input devices.
[0114] In one embodiment, an electronic device is provided, including a memory, a processor, and instructions or code stored in the memory and executable on the processor, wherein the processor executes the instructions or code to perform the following steps:
[0115] Receive positioning data generated within a preset time period from the positioning device, wherein the positioning data includes a data source identifier;
[0116] Based on the data source identifier, determine the data source corresponding to the location data, where the data source is either a satellite or a base station;
[0117] Based on the data source, determine whether the installation location of the positioning device meets the preset conditions. If it does, the verification is successful.
[0118] In one embodiment, a storage medium is provided on which instructions or code are stored, which, when executed by a processor, perform the following steps:
[0119] Receive positioning data generated within a preset time period from the positioning device, wherein the positioning data includes a data source identifier;
[0120] Based on the data source identifier, determine the data source corresponding to the location data, where the data source is either a satellite or a base station;
[0121] Based on the data source, determine whether the installation location of the positioning device meets the preset conditions. If it does, the verification is successful.
[0122] It should be noted that the functions or steps that the storage medium or electronic device can achieve are described in the relevant descriptions in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.
[0123] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through instructions or code. These instructions or code can be stored in a non-volatile readable storage medium. When executed, the instructions or code can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0124] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0125] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the units or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the units in the system within the embodiment can be distributed throughout the system as described in the embodiment, or they can be modified to reside in one or more systems different from this embodiment. The units in the above-described embodiment can be combined into one unit, or further divided into multiple sub-units.
[0126] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for verifying the installation position of a vehicle positioning device, characterized in that, The method includes: Receive positioning data generated within a preset time period sent by the positioning device, wherein the positioning data includes a data source identifier; Based on the data source identifier, determine the data source corresponding to the positioning data, wherein the data source is a satellite or a base station; Based on the data source, it is determined whether the installation location of the positioning device meets the preset conditions. If the installation location meets the preset conditions, the verification is successful. Wherein, the installation location meeting the preset conditions indicates that the communication signal between the positioning device and the satellite is good. The step of determining whether the installation location of the positioning device meets the preset conditions based on the data source includes: Among the multiple location data, location data whose source is a base station is identified as abnormal data, and the ratio of the number of abnormal data to the total number of location data is determined. If the ratio is less than the second preset ratio threshold, then the installation location is determined to meet the preset conditions.
2. The method according to claim 1, characterized in that, After determining whether the installation location of the positioning device meets the preset conditions, the method further includes: If the installation location does not meet the preset conditions, the verification will fail. Adjust the installation position and return to the step of receiving positioning data sent by the positioning device.
3. The method according to claim 1, characterized in that, The step of determining whether the installation location of the positioning device meets the preset conditions based on the data source includes: The location data is sorted in chronological order of its generation time to obtain a location data sequence; In the positioning data sequence, a subsequence is obtained formed by multiple positioning data, wherein the data source of the first sorted positioning data and the data source of the last sorted positioning data in the subsequence are both base stations, and the number of positioning data sources of satellites in the subsequence is less than a consecutive threshold. The duration of each of the subsequences is determined, and the subsequence with the longest duration is determined as the target subsequence. If the duration of the target subsequence is less than a preset duration threshold, then the installation location is determined to meet the preset conditions.
4. The method according to claim 3, characterized in that, The continuous threshold is a preset value; or, The continuous threshold is the product of the length of the subsequence and the first preset proportional threshold.
5. The method according to claim 3, characterized in that, Determining the duration of each of the sub-sequences includes: The duration of each subsequence is determined based on the generation time of the earliest and last location data in each subsequence; or, The duration of each subsequence is determined based on the number of location data in each subsequence.
6. The method according to claim 1, characterized in that, The positioning device is installed on the vehicle, and the time difference between the installation time of the positioning device and the time of receiving the positioning data is less than a preset time difference threshold.
7. A device for verifying the installation position of a vehicle positioning device, characterized in that, The device includes: A receiving module is used to receive positioning data sent by a positioning device, wherein the positioning data includes a data source identifier; The determination module is used to determine the data source corresponding to the positioning data based on the data source identifier, wherein the data source is a satellite or a base station; The verification module is used to determine whether the installation location of the positioning device meets the preset conditions based on the data source. If the installation location meets the preset conditions, the verification is successful. The installation location meeting the preset conditions indicates that the communication signal between the positioning device and the satellite is good. The step of determining whether the installation location of the positioning device meets the preset conditions based on the data source includes: Among the multiple location data, location data whose source is a base station is identified as abnormal data, and the ratio of the number of abnormal data to the total number of location data is determined. If the ratio is less than the second preset ratio threshold, then the installation location is determined to meet the preset conditions.
8. A storage medium having a program or instructions stored thereon, characterized in that, When the program or instructions are executed by the processor, they implement the method as described in any one of claims 1 to 6.
9. An electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the program, it implements the method of any one of claims 1 to 6.
Citation Information
Patent Citations
Dual-source positioning based electronic identity certificate safeguard system and method for motor vehicles
CN104809875A
A Device For Global Positioning System And A NavigationSystem Loaded With Which
KR200419118Y1
