The invention provides a GeoHash-based early warning method, device and equipment for monitoring approaching of a vehicle to a risk point, and a medium, and the method comprises the steps: constructing a risk point database, and building a search index corresponding to risk point entity information and a GeoHash value in the risk point database; acquiring GPS data of a monitored vehicle in real time or regularly, analyzing positioning data in the GPS data, calculating a corresponding GeoHash value based on the positioning data, and searching risk point entity information corresponding to the calculated GeoHash value in the search index; and if the risk point entity information is found, calculating the distance between the position in the current positioning data and the found risk point, and meanwhile, giving an early warning to a monitored vehicle owner. According to the invention, the consumption of the CPU can be reduced to a great extent, and server resources are saved.
本发明提出一种基于GeoHash的监控车辆接近风险点的预警方法、装置、设备及介质,该方法通过构建风险点数据库,并在所述风险点数据库中建立风险点实体信息与GeoHash值对应的查找索引;实时或定时采集监控车辆的GPS数据,分析其中的定位数据,基于所述定位数据计算对应的GeoHash值,在所述查找索引中查找与计算得到的GeoHash值对应的风险点实体信息;若查找到风险点实体信息,则计算当前定位数据中的位置与查找到的风险点之间的距离,同时向监控车辆拥有者预警。通过本发明,能够极大程度减小对CPU的消耗,节省服务器资源。
Early warning method and device for monitoring vehicle approaching risk point based on GeoHash
一种基于GeoHash的监控车辆接近风险点的预警方法及设备
2022-05-03
Patent
Elektronische Ressource
Chinesisch