The invention provides a method for quickly calculating a road where a vehicle is located based on vehicle positioning, and aims to solve the problem that an existing vehicle-mounted positioning terminal can only solve the problem of reporting vehicle positioning data (including longitude and latitude and speed information) and cannot recognize the road where the vehicle is located. The method mainly comprises three steps of road information collection and storage, HashMap establishment and road discrimination. According to the method, the road information is marked and stored in detail, and the HashMap data structure is used for rapid query and judgment, so that the speed and accuracy of calculating the road where the vehicle is located can be greatly improved. For roads with different shapes, a specific longitude and latitude array representation mode is adopted, so that the method can better adapt to complex road conditions, and the universality and adaptability of the method are improved; the function of automatically deleting key-value pairs which are not called for a long time of mapD optimizes memory use, and meanwhile, since the road id associated with the road is calculated in advance, the road to which the vehicle is going to go can be conveniently and quickly obtained.
本发明提供了一种基于车辆定位快速计算车辆所在道路的方法,旨在解决现有车载定位终端仅能解决上报车辆定位数据(包含经纬度,速度信息),无法识别车辆所在的道路的问题;本发明主要包括道路信息收集与存储、建立HashMap以及道路判别三个步骤;本发明通过对道路信息的详细标记和存储,以及利用HashMap数据结构进行快速查询和判断,能够大大提高计算车辆所在道路的速度和准确性。针对不同形状的道路,采用特定的经纬度数组表示方式,使得本方法能够更好地适应复杂的道路情况,提高了方法的通用性和适应性;mapD的自动删除长时间未调用键值对的功能,优化了内存使用,同时由于预先计算好了道路相关联的道路id,从而能够方便快速获取车辆将要去的道路。
Method for rapidly calculating road where vehicle is located based on vehicle positioning
一种基于车辆定位快速计算车辆所在道路的方法
25.04.2025
Patent
Elektronische Ressource
Chinesisch
Method and system for calculating slope where vehicle is located, terminal and storage medium
Europäisches Patentamt | 2024
|Slope calculation method of road where vehicle is located and terminal equipment
Europäisches Patentamt | 2024
|Europäisches Patentamt | 2024
|