Methods, devices, and shared vehicle location correction for shared vehicles
By utilizing Bluetooth broadcast information and high-confidence reference vehicle location information to correct the location of shared vehicles, the problems of high location correction costs and security risks of shared vehicles are solved, achieving accurate location correction and successful vehicle return.
Patent Information
- Application Number
- CN202210837765.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-07-15
AI Technical Summary
Existing methods for correcting the location of shared vehicles are costly and pose security risks. In particular, when using beacon-assisted positioning, additional auxiliary beacons are required, which increases costs and poses security risks.
By acquiring Bluetooth broadcast information from multiple candidate vehicles within the parking area, and utilizing the positioning information from the Bluetooth and GPS modules, it is determined whether the positioning information of the vehicle to be corrected has drifted, and corrections are made based on the positioning information of a reference vehicle with high confidence.
This technology enables accurate correction of vehicle location information without increasing hardware costs, avoiding security risks associated with traditional methods and improving the success rate of vehicle return.
Smart Images

Figure CN115529558B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of shared vehicle technology, and in particular to a method, device, and shared vehicle for positioning correction. Background Technology
[0002] Simply put, "electronic fences for shared vehicles" create virtual parking zones. Users must park the vehicle within these designated areas; otherwise, they cannot lock the car and end their trip. Returning the vehicle relies primarily on its location information. The vehicle can only be successfully returned if its location is within the virtual parking zone. However, due to GPS drift, the vehicle may be within the parking area, but its location information may show it outside, preventing the user from returning the car.
[0003] Currently, beacon-assisted positioning is commonly used to correct the location of shared vehicles. This involves laying auxiliary beacons in the parking area. When GPS is inaccurate or deviates, the beacons help correct the vehicle's location information, thereby reducing the probability of users failing to return the vehicle due to GPS drift. However, this method requires additional auxiliary beacons, which is costly, and laying beacons on the road also poses certain safety hazards. Summary of the Invention
[0004] This invention provides a method, device, and shared vehicle for location correction of shared vehicles, in order to solve the defects of high cost and safety hazards in the prior art for location correction of shared vehicles.
[0005] This invention provides a method for correcting the location of shared vehicles, comprising:
[0006] The Bluetooth broadcast information of multiple candidate vehicles in the parking area is obtained, and the Bluetooth broadcast information is sent in real time by the Bluetooth module of each candidate vehicle.
[0007] Based on the location information of each candidate vehicle carried in the Bluetooth broadcast information, and the location information of the vehicle to be corrected, it is determined whether the location information of the vehicle to be corrected has drifted.
[0008] If it is determined that the positioning information of the vehicle to be corrected has drifted, a reference vehicle is determined from the candidate vehicles based on the confidence level of the positioning information of each candidate vehicle.
[0009] Based on the location information of the reference vehicle, the location information of the vehicle to be corrected is corrected.
[0010] According to a shared vehicle location correction method provided by the present invention, the step of determining whether the location information of the vehicle to be corrected has drifted based on the location information of each candidate vehicle carried in the Bluetooth broadcast information and the location information of the vehicle to be corrected, includes:
[0011] Based on the location information of each candidate vehicle and the location information of the vehicle to be corrected, the distance between the vehicle to be corrected and each candidate vehicle is determined.
[0012] If the distance between the vehicle to be corrected and each candidate vehicle is greater than a preset distance, it is determined that the positioning information of the vehicle to be corrected has drifted.
[0013] According to the shared vehicle positioning correction method provided by the present invention, the confidence level of the positioning information of each candidate vehicle is determined based on the following steps:
[0014] The number of first candidate vehicles and the number of second candidate vehicles are determined. The number of first candidate vehicles is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range. The number of second candidate vehicles is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range.
[0015] Based on the number of the first candidate vehicles and the number of the second candidate vehicles, the confidence level of the location information of each candidate vehicle is determined.
[0016] According to a shared vehicle location correction method provided by the present invention, the step of correcting the location information of the vehicle to be corrected based on the location information of the reference vehicle includes:
[0017] The actual distance between the reference vehicle and the vehicle to be corrected is determined, and the actual distance is detected by the Bluetooth module of the reference vehicle;
[0018] Based on the actual distance and the positioning information of the reference vehicle, the positioning information of the vehicle to be corrected is corrected.
[0019] According to a shared vehicle positioning correction method provided by the present invention, the step of correcting the positioning information of the vehicle to be corrected based on the actual distance and the positioning information of the reference vehicle includes:
[0020] Based on the actual distance and the positioning information of the reference vehicle, the actual positioning information of the vehicle to be corrected is determined;
[0021] Based on the actual location information of the vehicle to be corrected, the location information of the vehicle to be corrected is corrected.
[0022] According to a shared vehicle location correction method provided by the present invention, after correcting the location information of the vehicle to be corrected, the method further includes:
[0023] Based on the corrected location information of the vehicle to be corrected, determine whether the vehicle to be corrected is located within the parking area;
[0024] If it is determined that the vehicle to be corrected is located within the parking area, a successful return instruction is sent to the client.
[0025] The present invention also provides a shared vehicle positioning correction device, comprising:
[0026] The acquisition unit is used to acquire Bluetooth broadcast information of multiple candidate vehicles in the parking area, wherein the Bluetooth broadcast information is sent in real time by the Bluetooth module of each candidate vehicle.
[0027] The determining unit is used to determine whether the positioning information of the vehicle to be corrected has drifted, based on the positioning information of each candidate vehicle carried in the Bluetooth broadcast information and the positioning information of the vehicle to be corrected.
[0028] A filtering unit is used to determine a reference vehicle from each candidate vehicle based on the confidence level of the positioning information of each candidate vehicle when it is determined that the positioning information of the vehicle to be corrected has drifted.
[0029] The correction unit is used to correct the positioning information of the vehicle to be corrected based on the positioning information of the reference vehicle.
[0030] The present invention also provides a shared vehicle, including: the shared vehicle positioning correction device as described above.
[0031] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the shared vehicle positioning correction method as described above.
[0032] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the shared vehicle positioning correction method as described above.
[0033] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the shared vehicle positioning correction method as described above.
[0034] The shared vehicle positioning correction method, device, and shared vehicle provided by this invention, based on the positioning information of each candidate vehicle carried in Bluetooth broadcast information and the positioning information of the vehicle to be corrected, can accurately determine whether the positioning information of the vehicle to be corrected has drifted. Furthermore, if it is determined that the positioning information of the vehicle to be corrected has drifted, based on the positioning information of a reference vehicle with high confidence, the positioning information of the vehicle to be corrected that has drifted can be accurately corrected, avoiding the problems of high cost and safety hazards associated with adding auxiliary beacons in traditional methods. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0036] Figure 1 This is a flowchart illustrating the shared vehicle positioning correction method provided by the present invention;
[0037] Figure 2 This is a flowchart illustrating another shared vehicle positioning correction method provided by the present invention;
[0038] Figure 3 This is a schematic diagram of the structure of the shared vehicle positioning correction device provided by the present invention;
[0039] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0040] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this 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 this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0041] Currently, beacon-assisted positioning is commonly used to correct the location of shared vehicles. This involves laying auxiliary beacons in the parking area. When GPS is inaccurate or deviates, the beacons help correct the vehicle's location information, thereby reducing the probability of users failing to return the vehicle due to GPS drift. However, this method requires additional auxiliary beacons, which is costly, and laying beacons on the road also poses certain safety hazards.
[0042] In addition, some methods use high-precision positioning chips to achieve sub-meter level positioning accuracy, thereby improving the success rate of users returning the vehicle. However, this method also requires the addition of high-precision positioning chips, which is costly.
[0043] In response, this invention provides a method for correcting the location of shared vehicles. Figure 1 This is a flowchart illustrating the shared vehicle location correction method provided by the present invention, as shown below. Figure 1 As shown, the method includes the following steps:
[0044] Step 110: Obtain Bluetooth broadcast information from multiple candidate vehicles in the parking area. The Bluetooth broadcast information is sent in real time by the Bluetooth modules of each candidate vehicle.
[0045] Here, "vehicles to be corrected" refers to shared vehicles that require location correction, while "candidate vehicles" refers to vehicles within the parking area. Bluetooth broadcast information is transmitted in real-time via the Bluetooth modules of candidate vehicles, and it can be used to characterize the location information of these candidate vehicles.
[0046] The Bluetooth modules of candidate vehicles transmit Bluetooth broadcast information in real time. However, the Bluetooth broadcast information transmitted by the Bluetooth module is limited by distance. That is, the vehicle to be corrected can only receive Bluetooth broadcast information from multiple candidate vehicles in the parking area when the vehicle to be corrected enters the detection range of the Bluetooth module. For example, if the vehicle to be corrected enters the parking area or the distance between the vehicle to be corrected and the candidate vehicles is within a preset distance range, the vehicle to be corrected can obtain Bluetooth broadcast information from multiple candidate vehicles in the parking area.
[0047] Step 120: Based on the location information of each candidate vehicle carried in the Bluetooth broadcast information and the location information of the vehicle to be corrected, determine whether the location information of the vehicle to be corrected has drifted.
[0048] Specifically, the Bluetooth broadcast information carries the location information of each candidate vehicle. Based on the location information of each candidate vehicle and the location information of the vehicle to be corrected, the distance between the vehicle to be corrected and each candidate vehicle can be determined.
[0049] Since the vehicle to be corrected can receive Bluetooth broadcast information from each candidate vehicle, it indicates that the vehicle to be corrected is within the detection range of the Bluetooth modules of each candidate vehicle; that is, the distance between the vehicle to be corrected and each candidate vehicle is less than or equal to a preset distance. In this case, if the distance between the vehicle to be corrected and each candidate vehicle, determined based on the location information of both candidate vehicles, is greater than the preset distance, it indicates that the location information of the vehicle to be corrected has an error, meaning that the location information has drifted and needs to be corrected. The preset distance characterizes the detection range of the Bluetooth modules of each candidate vehicle.
[0050] Step 130: If it is determined that the positioning information of the vehicle to be corrected has drifted, a reference vehicle is determined from the candidate vehicles based on the confidence level of the positioning information of each candidate vehicle.
[0051] Specifically, if it is determined that the location information of the vehicle to be corrected has drifted, it indicates that there is an error in the location information of the vehicle to be corrected, that is, the location information of the vehicle to be corrected needs to be corrected.
[0052] The confidence level of the location information of each candidate vehicle is used to characterize the accuracy of the location information of each candidate vehicle. The higher the confidence level, the higher the accuracy of the location information of the corresponding candidate vehicle. Optionally, the candidate vehicle with the highest confidence level can be used as the reference vehicle, or multiple candidate vehicles with confidence levels greater than the threshold can be used as the reference vehicle. This embodiment of the invention does not specifically limit this.
[0053] Step 140: Based on the location information of the reference vehicle, correct the location information of the vehicle to be corrected.
[0054] Specifically, since the location information of the reference vehicle has a high confidence level, the location information of the vehicle to be corrected can be corrected based on the location information of the reference vehicle. If the reference vehicle is the candidate vehicle corresponding to the highest confidence level, the distance between the reference vehicle and the vehicle to be corrected can be detected based on its Bluetooth module. Then, based on the location information of the reference vehicle with a high confidence level, the actual location information of the vehicle to be corrected can be determined, and the location information of the vehicle to be corrected can be corrected based on this actual location information. If there are multiple candidate vehicles with a confidence level greater than a threshold, the distance between each reference vehicle and the vehicle to be corrected can be detected based on its Bluetooth module. Then, based on the location information of the reference vehicle with a high confidence level, the location information of the vehicle to be corrected under different reference vehicles can be determined, and the actual location information of the vehicle to be corrected can be determined based on the location information of the vehicle to be corrected under different reference vehicles. For example, the centroid of the location information of the vehicle to be corrected under different reference vehicles can be used as the actual location information of the vehicle to be corrected, and the location information of the vehicle to be corrected can be corrected based on this actual location information.
[0055] The shared vehicle location correction method provided in this invention, based on the location information of each candidate vehicle carried in Bluetooth broadcast information and the location information of the vehicle to be corrected, can accurately determine whether the location information of the vehicle to be corrected has drifted. Furthermore, if it is determined that the location information of the vehicle to be corrected has drifted, the method accurately corrects the location information of the drifting vehicle based on the location information of a reference vehicle with high confidence, avoiding the problems of high cost and safety hazards associated with adding auxiliary beacons in traditional methods.
[0056] Based on the above embodiments, based on the location information of each candidate vehicle carried in the Bluetooth broadcast information and the location information of the vehicle to be corrected, determining whether the location information of the vehicle to be corrected has drifted includes:
[0057] Based on the location information of each candidate vehicle and the location information of the vehicle to be corrected, the distance between the vehicle to be corrected and each candidate vehicle is determined.
[0058] If the distance between the vehicle to be corrected and each candidate vehicle is greater than a preset distance, it is determined that the positioning information of the vehicle to be corrected has drifted.
[0059] Specifically, the Bluetooth broadcast information carries the location information of each candidate vehicle. Based on the location information of each candidate vehicle and the location information of the vehicle to be corrected, the distance between the vehicle to be corrected and each candidate vehicle can be determined.
[0060] Since the vehicle to be corrected can receive Bluetooth broadcast information from each candidate vehicle, it indicates that the vehicle to be corrected is within the detection range of the Bluetooth modules of each candidate vehicle, that is, the distance between the vehicle to be corrected and each candidate vehicle is less than or equal to the preset distance.
[0061] In this case, if the distance between the vehicle to be corrected and each candidate vehicle, determined based on the location information of each candidate vehicle and the location information of the vehicle to be corrected, is greater than a preset distance, it indicates that there is an error in the location information of the vehicle to be corrected, that is, the location information of the vehicle to be corrected has drifted, and the location information of the vehicle to be corrected needs to be corrected. The preset distance is used to characterize the detection range of the Bluetooth module of each candidate vehicle; that is, the preset distance can be determined based on the detection range of the Bluetooth module. For example, the preset distance can be set to 10m, or it can be set to other values. This embodiment of the invention does not specifically limit this.
[0062] Based on any of the above embodiments, the confidence level of the location information of each candidate vehicle is determined based on the following steps:
[0063] The number of first candidate vehicles and the number of second candidate vehicles are determined. The number of first candidate vehicles is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range, and the number of second candidate vehicles is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range.
[0064] Based on the number of first candidate vehicles and the number of second candidate vehicles, the confidence level of the location information of each candidate vehicle is determined.
[0065] Specifically, the first candidate vehicle number is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range, and the second candidate vehicle number is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range.
[0066] If the number of first candidate vehicles is the same as the number of second candidate vehicles, it means that the candidate vehicles detected by the Bluetooth module and GPS module of the corresponding candidate vehicle are the same. In other words, the location information detected by the GPS module of the corresponding candidate vehicle has a high degree of confidence.
[0067] If the number of first candidate vehicles differs significantly from the number of second candidate vehicles, it indicates that the Bluetooth and GPS modules of the corresponding candidate vehicles detect a large difference in the candidate vehicles detected. In other words, the GPS module of the corresponding candidate vehicle has an error in positioning, resulting in a low confidence level of the positioning information obtained based on the GPS module, and thus a low confidence level of the positioning information of the corresponding candidate vehicle.
[0068] Based on any of the above embodiments, the positioning information of the vehicle to be corrected is corrected based on the positioning information of the reference vehicle, including:
[0069] Determine the actual distance between the reference vehicle and the vehicle to be corrected. The actual distance is detected by the Bluetooth module of the reference vehicle.
[0070] Based on the actual distance and the location information of the reference vehicle, the location information of the vehicle to be corrected is adjusted.
[0071] Specifically, the Bluetooth module of the reference vehicle can detect the actual distance between the reference vehicle and the vehicle to be corrected. Since the location information of the reference vehicle has a high confidence level, its current position can be determined based on the location information of the reference vehicle. Based on the actual distance between the reference vehicle and the vehicle to be corrected, the current position of the vehicle to be corrected can be obtained, thereby acquiring the actual location information of the vehicle to be corrected and realizing the correction of the location information of the vehicle to be corrected.
[0072] Based on any of the above embodiments, based on the actual distance and the positioning information of the reference vehicle, the positioning information of the vehicle to be corrected is corrected, including:
[0073] Based on the actual distance and the location information of the reference vehicle, determine the actual location information of the vehicle to be corrected;
[0074] Based on the actual location information of the vehicle to be corrected, the location information of the vehicle to be corrected is corrected.
[0075] Specifically, the actual location information of the vehicle to be corrected is used to characterize its current actual location. The Bluetooth module of the reference vehicle can detect the actual distance between the reference vehicle and the vehicle to be corrected. Based on the location information of the reference vehicle, its current location can be determined, and based on the actual distance between the reference vehicle and the vehicle to be corrected, the current location of the vehicle to be corrected can be obtained, thereby acquiring the actual location information of the vehicle to be corrected and realizing the correction of the location information of the vehicle to be corrected.
[0076] Based on any of the above embodiments, the positioning information of the vehicle to be corrected is corrected, and then the process further includes:
[0077] Based on the corrected location information of the vehicle to be corrected, determine whether the vehicle to be corrected is located within the parking area;
[0078] Once it is confirmed that the vehicle to be corrected is located within the parking area, a successful return instruction is sent to the client.
[0079] Specifically, after the location information of the vehicle to be corrected is corrected, the corrected location information of the vehicle to be corrected can be considered accurate, and then it can be determined whether the vehicle to be corrected is located in the parking area based on the corrected location information of the vehicle to be corrected.
[0080] If the vehicle to be repaired is located within the parking area, it indicates that the vehicle can be returned at this time, and a successful return instruction is sent to the client so that the user is notified that the vehicle has been successfully returned.
[0081] Based on any of the above embodiments, the present invention also provides a method for correcting the location of shared vehicles, such as... Figure 2 As shown, the method includes:
[0082] First, the Bluetooth module of the vehicle to be corrected receives Bluetooth broadcast information from the Bluetooth modules of other candidate vehicles in the parking area, and obtains the location information (i.e., GPS information) of other candidate vehicles from the Bluetooth broadcast information sent by the Bluetooth modules of other candidate vehicles.
[0083] Next, based on the location information of the vehicle to be corrected and the location information of other candidate vehicles, the distance between the vehicle to be corrected and the other candidate vehicles is determined. If the distance between the vehicle to be corrected and the other candidate vehicles is greater than a preset distance (e.g., 10m), it indicates that the location information of the vehicle to be corrected has drifted.
[0084] If the location information of the vehicle to be corrected is determined to have drifted, the confidence level of the location information of each candidate vehicle is determined based on the number of first candidate vehicles and the number of second candidate vehicles, and the candidate vehicle with the highest confidence level is used as the reference vehicle. The number of first candidate vehicles is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range, and the number of second candidate vehicles is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range.
[0085] Finally, based on the location information of the reference vehicle, the location information of the vehicle to be corrected is corrected, and based on the corrected location information of the vehicle to be corrected, it is determined whether the vehicle to be corrected is within the parking area.
[0086] The shared vehicle positioning correction device provided by the present invention is described below. The shared vehicle positioning correction device described below can be referred to in correspondence with the shared vehicle positioning correction method described above.
[0087] Based on any of the above embodiments, the present invention also provides a shared vehicle positioning correction device, such as... Figure 3As shown, the device includes:
[0088] The acquisition unit 310 is used to acquire Bluetooth broadcast information of multiple candidate vehicles in the parking area, wherein the Bluetooth broadcast information is sent in real time by the Bluetooth module of each candidate vehicle.
[0089] The determining unit 320 is used to determine whether the positioning information of the vehicle to be corrected has drifted based on the positioning information of each candidate vehicle carried in the Bluetooth broadcast information and the positioning information of the vehicle to be corrected.
[0090] The filtering unit 330 is used to determine a reference vehicle from each candidate vehicle based on the confidence level of the positioning information of each candidate vehicle when it is determined that the positioning information of the vehicle to be corrected has drifted.
[0091] The correction unit 340 is used to correct the positioning information of the vehicle to be corrected based on the positioning information of the reference vehicle.
[0092] Based on any of the above embodiments, the determining unit 320 includes:
[0093] The distance determination unit is used to determine the distance between the vehicle to be corrected and each candidate vehicle based on the positioning information of each candidate vehicle and the positioning information of the vehicle to be corrected.
[0094] A drift determination unit is used to determine that the positioning information of the vehicle to be corrected has drifted when the distance between the vehicle to be corrected and each candidate vehicle is greater than a preset distance.
[0095] Based on any of the above embodiments, the device further includes:
[0096] The vehicle determination unit is used to determine the number of first candidate vehicles and the number of second candidate vehicles. The number of first candidate vehicles is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range, and the number of second candidate vehicles is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range.
[0097] The confidence determination unit is used to determine the confidence level of the location information of each candidate vehicle based on the number of the first candidate vehicles and the number of the second candidate vehicles.
[0098] Based on any of the above embodiments, the correction unit 340 includes:
[0099] A distance determination unit is used to determine the actual distance between the reference vehicle and the vehicle to be corrected, wherein the actual distance is detected by the Bluetooth module of the reference vehicle;
[0100] The first correction subunit is used to correct the positioning information of the vehicle to be corrected based on the actual distance and the positioning information of the reference vehicle.
[0101] Based on any of the above embodiments, the first correction subunit includes:
[0102] The first positioning determination unit is used to determine the actual positioning information of the vehicle to be corrected based on the actual distance and the positioning information of the reference vehicle.
[0103] The second correction subunit is used to correct the positioning information of the vehicle to be corrected based on the actual positioning information of the vehicle to be corrected.
[0104] Based on any of the above embodiments, the device further includes:
[0105] The second positioning determination unit is used to correct the positioning information of the vehicle to be corrected, and then determine whether the vehicle to be corrected is located in the parking area based on the corrected positioning information of the vehicle to be corrected.
[0106] The sending unit is used to send a successful return instruction to the client when it is determined that the vehicle to be corrected is located in the parking area.
[0107] Based on any of the above embodiments, the present invention also provides a shared vehicle, including: a shared vehicle positioning correction device as described in any of the above embodiments, which can accurately determine whether the positioning information of the vehicle to be corrected has drifted based on the positioning information of each candidate vehicle carried in Bluetooth broadcast information and the positioning information of the vehicle to be corrected. Furthermore, if it is determined that the positioning information of the vehicle to be corrected has drifted, the device can accurately correct the positioning information of the vehicle to be corrected based on the positioning information of a reference vehicle with higher confidence, avoiding the problems of high cost and safety hazards caused by the need to add auxiliary beacons in traditional methods.
[0108] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 4As shown, the electronic device may include a processor 410, a memory 420, a communications interface 430, and a communications bus 440, wherein the processor 410, the memory 420, and the communications interface 430 communicate with each other through the communications bus 440. The processor 410 can call logical instructions in the memory 420 to execute a shared vehicle location correction method. This method includes: acquiring Bluetooth broadcast information from multiple candidate vehicles within a parking area, wherein the Bluetooth broadcast information is sent in real time by the Bluetooth modules of each candidate vehicle; determining whether the location information of the vehicle to be corrected has drifted based on the location information of each candidate vehicle carried in the Bluetooth broadcast information and the location information of the vehicle to be corrected; if it is determined that the location information of the vehicle to be corrected has drifted, determining a reference vehicle from among the candidate vehicles based on the confidence level of the location information of each candidate vehicle; and correcting the location information of the vehicle to be corrected based on the location information of the reference vehicle.
[0109] Furthermore, the logical instructions in the aforementioned memory 420 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0110] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the shared vehicle positioning correction method provided by the above methods, the method comprising: acquiring Bluetooth broadcast information of multiple candidate vehicles in a parking area, the Bluetooth broadcast information being sent in real time by the Bluetooth modules of each candidate vehicle; determining whether the positioning information of the vehicle to be corrected has drifted based on the positioning information of each candidate vehicle carried in the Bluetooth broadcast information and the positioning information of the vehicle to be corrected; if it is determined that the positioning information of the vehicle to be corrected has drifted, determining a reference vehicle from among the candidate vehicles based on the confidence level of the positioning information of each candidate vehicle; and correcting the positioning information of the vehicle to be corrected based on the positioning information of the reference vehicle.
[0111] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the aforementioned shared vehicle location correction methods. The method includes: acquiring Bluetooth broadcast information of multiple candidate vehicles within a parking area, the Bluetooth broadcast information being transmitted in real-time by the Bluetooth modules of each candidate vehicle; determining whether the location information of the vehicle to be corrected has drifted based on the location information of each candidate vehicle carried in the Bluetooth broadcast information and the location information of the vehicle to be corrected; if it is determined that the location information of the vehicle to be corrected has drifted, determining a reference vehicle from among the candidate vehicles based on the confidence level of the location information of each candidate vehicle; and correcting the location information of the vehicle to be corrected based on the location information of the reference vehicle.
[0112] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0113] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; 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; and these 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.
Claims
1. A method for correcting the location of shared vehicles, characterized in that, include: The Bluetooth broadcast information of multiple candidate vehicles in the parking area is obtained, and the Bluetooth broadcast information is sent in real time by the Bluetooth module of each candidate vehicle. Based on the location information of each candidate vehicle carried in the Bluetooth broadcast information, and the location information of the vehicle to be corrected, the distance between the vehicle to be corrected and each candidate vehicle is determined. If the distance between the vehicle to be corrected and each candidate vehicle is greater than a preset distance, it is determined that the positioning information of the vehicle to be corrected has drifted. The preset distance is used to characterize the detection distance of the Bluetooth module of each candidate vehicle. If it is determined that the positioning information of the vehicle to be corrected has drifted, a reference vehicle is determined from the candidate vehicles based on the confidence level of the positioning information of each candidate vehicle. Based on the location information of the reference vehicle, the location information of the vehicle to be corrected is corrected. The confidence level of the location information for each candidate vehicle is determined based on the following steps: The number of first candidate vehicles and the number of second candidate vehicles are determined. The number of first candidate vehicles is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range. The number of second candidate vehicles is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range. Based on the number of the first candidate vehicles and the number of the second candidate vehicles, the confidence level of the location information of each candidate vehicle is determined.
2. The shared vehicle positioning correction method according to claim 1, characterized in that, The step of correcting the positioning information of the vehicle to be corrected based on the positioning information of the reference vehicle includes: The actual distance between the reference vehicle and the vehicle to be corrected is determined, and the actual distance is detected by the Bluetooth module of the reference vehicle; Based on the actual distance and the positioning information of the reference vehicle, the positioning information of the vehicle to be corrected is corrected.
3. The shared vehicle positioning correction method according to claim 2, characterized in that, The step of correcting the positioning information of the vehicle to be corrected based on the actual distance and the positioning information of the reference vehicle includes: Based on the actual distance and the positioning information of the reference vehicle, the actual positioning information of the vehicle to be corrected is determined; Based on the actual location information of the vehicle to be corrected, the location information of the vehicle to be corrected is corrected.
4. The shared vehicle positioning correction method according to claim 1, characterized in that, The step of correcting the location information of the vehicle to be corrected further includes: Based on the corrected location information of the vehicle to be corrected, determine whether the vehicle to be corrected is located within the parking area; If it is determined that the vehicle to be corrected is located within the parking area, a successful return instruction is sent to the client.
5. A shared vehicle positioning correction device, characterized in that, include: The acquisition unit is used to acquire Bluetooth broadcast information of multiple candidate vehicles in the parking area, wherein the Bluetooth broadcast information is sent in real time by the Bluetooth module of each candidate vehicle. The determining unit is used to determine the distance between the vehicle to be corrected and each candidate vehicle based on the positioning information of each candidate vehicle carried in the Bluetooth broadcast information and the positioning information of the vehicle to be corrected. If the distance between the vehicle to be corrected and each candidate vehicle is greater than a preset distance, it is determined that the positioning information of the vehicle to be corrected has drifted. The preset distance is used to characterize the detection distance of the Bluetooth module of each candidate vehicle. A filtering unit is used to determine a reference vehicle from each candidate vehicle based on the confidence level of the positioning information of each candidate vehicle when it is determined that the positioning information of the vehicle to be corrected has drifted. The correction unit is used to correct the positioning information of the vehicle to be corrected based on the positioning information of the reference vehicle. The confidence level of the location information for each candidate vehicle is determined based on the following steps: The number of first candidate vehicles and the number of second candidate vehicles are determined. The number of first candidate vehicles is the number of other candidate vehicles detected by the Bluetooth module of each candidate vehicle within a preset distance range. The number of second candidate vehicles is the number of other candidate vehicles detected by the GPS module of each candidate vehicle within a preset distance range. Based on the number of the first candidate vehicles and the number of the second candidate vehicles, the confidence level of the location information of each candidate vehicle is determined.
6. A shared vehicle, characterized in that, include: The shared vehicle positioning correction device as described in claim 5.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executed by the processor, characterized in that, When the processor executes the program, it implements the shared vehicle positioning correction method as described in any one of claims 1 to 4.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the shared vehicle positioning correction method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Correction method and device, equipment and storage medium
CN109655851A