The invention relates to the field of WEB, and particularly provides a method for acquiring a vehicle driving track, which comprises the following steps that: a back-end platform stores data sent by amessage queue into Redis, provides a timer, checks quantity data in the Redis at regular time, and stores the data into an ORACLE database in batches; compared with the prior art, the method has theadvantages that the Redis is adopted to store the vehicle information, data is prevented from being written into the ORACLE database in a high concurrency mode, the accuracy and consistency of the data are guaranteed, the vehicle running track is obtained in real time to be checked by law enforcement and supervision departments, and good popularization value is achieved.
本发明涉及WEB领域,具体提供了一种获取车辆行驶轨迹的方法,后端平台先将消息队列发送过来的数据存储到Redis中,并提供一个定时器,定时查看Redis中的数量数据,并且将这些数据批量保存到ORACLE数据库中。与现有技术相比,本发明采用Redis保存车辆消息,避免数据高并发写入ORACLE数据库,保证了数据的准确性和一致性,实时获取车辆行驶轨迹,供执法监管部门查看,具有良好的推广价值。
Method for obtaining vehicle driving track
一种获取车辆行驶轨迹的方法
2020-11-10
Patent
Electronic Resource
Chinese
Method for obtaining vehicle traveling track based on positioning system
European Patent Office | 2015
|