[go: up one dir, main page]

CN111016908B - Vehicle driving position determining method and device, storage medium and electronic equipment - Google Patents

Vehicle driving position determining method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111016908B
CN111016908B CN201911319340.XA CN201911319340A CN111016908B CN 111016908 B CN111016908 B CN 111016908B CN 201911319340 A CN201911319340 A CN 201911319340A CN 111016908 B CN111016908 B CN 111016908B
Authority
CN
China
Prior art keywords
target
vehicle
sampling time
information
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911319340.XA
Other languages
Chinese (zh)
Other versions
CN111016908A (en
Inventor
杨强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Weilike Technology Co ltd
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201911319340.XA priority Critical patent/CN111016908B/en
Publication of CN111016908A publication Critical patent/CN111016908A/en
Application granted granted Critical
Publication of CN111016908B publication Critical patent/CN111016908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mathematical Physics (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

本公开涉及一种车辆行驶位置确定方法、装置、存储介质及电子设备,以解决相关技术中车辆定位装置定位不准的问题。所述方法包括:根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定车辆的目标位置信息,目标位置信息包括车辆在第二目标采样时刻将要到达的位置,第二目标采样时刻为以第一目标采样时刻的下一采样时刻为时间起点的若干个连续的采样时刻;根据第一历史轨迹信息和目标位置信息,确定车辆是否处于转向状态;若确定车辆处于转向状态,利用目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替车辆的定位装置在各第二目标采样时刻采集到的位置,以确定车辆在各个第二目标采样时刻的行驶位置。

Figure 201911319340

The present disclosure relates to a method, a device, a storage medium and an electronic device for determining the driving position of a vehicle, so as to solve the problem of inaccurate positioning of a vehicle positioning device in the related art. The method includes: determining the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, the target position information including the position to be reached by the vehicle at the second target sampling time, and the second target sampling time is: Taking the next sampling time of the first target sampling time as the starting point of several consecutive sampling moments; according to the first historical trajectory information and target position information, determine whether the vehicle is in a steering state; if it is determined that the vehicle is in a steering state, use the target position In the information, the position that the vehicle will reach at each second target sampling time replaces the position collected by the vehicle's positioning device at each second target sampling time, so as to determine the driving position of the vehicle at each second target sampling time.

Figure 201911319340

Description

车辆行驶位置确定方法、装置、存储介质及电子设备Vehicle driving position determination method, device, storage medium and electronic device

技术领域technical field

本公开涉及车辆领域,具体地,涉及一种车辆行驶位置确定方法、装置、存储介质及电子设备。The present disclosure relates to the field of vehicles, and in particular, to a method, a device, a storage medium, and an electronic device for determining a driving position of a vehicle.

背景技术Background technique

目前,在车联网的应用系统中,在监控中心实时显示车辆位置是最常用的功能。这一功能通常通过在车辆的OBD接口上加装定位装置,将车辆的行驶位置上传到监控中心。但是,受限于加装的定位装置的成本及性能,大多数情况下得到的行驶位置准确性偏低。由于定位装置采集到的行驶位置是通过前序行驶位置计算而来的,因此,车辆转向时,定位装置的惯性漂移会引起定位偏差,导致定位错误,例如,车辆转向后定位装置采集到的行驶位置仍在转向前的道路上。另外,定位装置定位出的行驶位置通常需要进行显示,定位偏差会导致在显示车辆的行驶位置时出现突然跳跃,错误十分明显,并且,若车辆数量较多,显示位置跳跃会极其影响用户体验。At present, in the application system of the Internet of Vehicles, the real-time display of the vehicle position in the monitoring center is the most commonly used function. This function usually uploads the driving position of the vehicle to the monitoring center by adding a positioning device to the OBD interface of the vehicle. However, limited by the cost and performance of the added positioning device, the accuracy of the obtained driving position is low in most cases. Since the driving position collected by the positioning device is calculated from the previous driving position, when the vehicle turns, the inertial drift of the positioning device will cause positioning deviation, resulting in positioning errors. For example, the driving position collected by the positioning device after the vehicle is turned The location is still on the road before the turn. In addition, the driving position located by the positioning device usually needs to be displayed. The positioning deviation will cause a sudden jump when displaying the driving position of the vehicle, and the error is very obvious. Moreover, if the number of vehicles is large, the display position jump will greatly affect the user experience.

发明内容SUMMARY OF THE INVENTION

本公开的目的是提供一种车辆行驶位置确定方法、装置、存储介质及电子设备,以提升车辆定位准确性。The purpose of the present disclosure is to provide a method, device, storage medium and electronic device for determining the driving position of a vehicle, so as to improve the accuracy of vehicle positioning.

为了实现上述目的,根据本公开的第一方面,提供一种车辆行驶位置确定方法,所述方法包括:In order to achieve the above object, according to a first aspect of the present disclosure, there is provided a method for determining a driving position of a vehicle, the method comprising:

根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,其中,所述第一历史轨迹信息包括所述车辆行驶至所述第一目标采样时刻经过的历史行驶位置,所述目标位置信息包括所述车辆在第二目标采样时刻将要到达的位置,以及,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的若干个连续的采样时刻;Determine the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, wherein the first historical trajectory information includes the history of the vehicle traveling to the first target sampling time Driving position, the target position information includes the position that the vehicle will reach at the second target sampling time, and the second target sampling time is the time starting point with the sampling time next to the first target sampling time Several consecutive sampling moments;

根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态;determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information;

若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。If it is determined that the vehicle is in the steering state, the position that the vehicle will reach at each second target sampling time in the target position information is used to replace the position collected by the vehicle's positioning device at each second target sampling time , to determine the driving position of the vehicle at each of the second target sampling moments.

可选地,所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,包括:Optionally, the determining the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time includes:

从已存储的多个位置确定模型中确定出与所述第一历史轨迹信息相匹配的目标位置确定模型;determining a target location determination model matching the first historical trajectory information from the stored multiple location determination models;

将所述第一历史轨迹信息输入至所述目标位置确定模型,以获得所述目标位置确定模型输出的所述目标位置信息。The first historical trajectory information is input into the target position determination model to obtain the target position information output by the target position determination model.

可选地,每一所述位置确定模型对应有该模型在所述车辆的历史行驶中的出现概率;Optionally, each of the position determination models corresponds to the probability of occurrence of the model in the historical driving of the vehicle;

所述从已存储的多个位置确定模型中确定出与所述第一历史轨迹信息相匹配的目标位置确定模型,包括:The determining a target location determination model that matches the first historical trajectory information from the stored multiple location determination models includes:

根据所述第一历史轨迹信息,分别确定每一所述位置确定模型的均方误差;according to the first historical trajectory information, respectively determining the mean square error of each of the position determination models;

针对每个所述位置确定模型,将该位置确定模型的均方误差与位置确定模型在所述车辆的历史行驶中的出现概率的比值确定为该位置确定模型的模型误差;For each of the position determination models, the ratio of the mean square error of the position determination model to the probability of occurrence of the position determination model in the historical driving of the vehicle is determined as the model error of the position determination model;

将模型误差最小的位置确定模型确定为所述目标位置确定模型。A position determination model with the smallest model error is determined as the target position determination model.

可选地,所述多个位置确定模型通过如下方式确定:Optionally, the multiple location determination models are determined in the following manner:

获取已存储的对应于所述车辆的第二历史轨迹信息,每一所述第二历史轨迹信息包括所述车辆在一次历史行驶过程中对应的历史行驶位置;Obtaining stored second historical track information corresponding to the vehicle, each of the second historical track information includes a historical driving position corresponding to the vehicle in a historical driving process;

对所述第二历史轨迹信息进行聚类,以获得聚类结果,所述聚类结果包括轨迹类别以及各轨迹类别下的第二历史轨迹信息;Clustering the second historical track information to obtain a clustering result, where the clustering result includes a track category and the second historical track information under each track category;

分别将每一所述轨迹类别作为目标轨迹类别,并利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,其中,所述目标轨迹信息为所述目标轨迹类别下的第二历史轨迹信息。Taking each of the trajectory categories as a target trajectory category, and using the target trajectory information to train the long-short-term memory network model to obtain a position determination model corresponding to the target trajectory category, where the target trajectory information is the target The second historical track information under the track category.

可选地,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的预设数量的采样时刻;Optionally, the second target sampling moment is a preset number of sampling moments that take the next sampling moment of the first target sampling moment as a time starting point;

所述利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,包括:The long-short-term memory network model is trained using the target trajectory information to obtain a position determination model corresponding to the target trajectory category, including:

将所述目标轨迹信息的一部分作为输入数据、并将所述输入数据在所述目标轨迹信息后预设数量的历史行驶位置作为输出数据,对长短时记忆网络模型进行训练,以获得与所述目标轨迹类别对应的位置确定模型。Taking a part of the target trajectory information as input data, and using the input data as output data with a preset number of historical driving positions after the target trajectory information, the long-short-term memory network model is trained to obtain the same value as the target trajectory information. The position determination model corresponding to the target trajectory category.

可选地,所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,包括:Optionally, the determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information includes:

根据所述第一历史轨迹信息确定所述车辆在所述第一目标采样时刻的第一行驶方向;determining the first traveling direction of the vehicle at the first target sampling time according to the first historical trajectory information;

根据所述车辆在第一目标采样时刻的行驶位置以及所述目标位置信息中对应于所述第一目标采样时刻的下一采样时刻将要到达的位置,确定所述车辆的第二行驶方向;Determine the second driving direction of the vehicle according to the driving position of the vehicle at the first target sampling time and the position to be reached at the next sampling time corresponding to the first target sampling time in the target position information;

若所述第一行驶方向与所述第二行驶方向之间的夹角大于预设角度阈值,确定所述车辆处于转向状态;If the included angle between the first travel direction and the second travel direction is greater than a preset angle threshold, determine that the vehicle is in a steering state;

若所述第一行驶方向与所述第二行驶方向之间的夹角小于或等于所述预设角度阈值,确定所述车辆未处于转向状态。If the included angle between the first traveling direction and the second traveling direction is less than or equal to the preset angle threshold, it is determined that the vehicle is not in a steering state.

可选地,若确定所述车辆处于所述转向状态,所述方法还包括:Optionally, if it is determined that the vehicle is in the steering state, the method further includes:

将所述第二目标采样时刻中最晚的采样时刻作为新的第一目标采样时刻,并重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置的步骤。Taking the latest sampling time in the second target sampling time as the new first target sampling time, and repeating the process of determining the target of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time location information, and determining whether the vehicle is in a steering state according to the first historical trajectory information and the target location information, and using the target location information if it is determined that the vehicle is in the steering state The position that the vehicle will reach at each second target sampling time replaces the position collected by the vehicle's positioning device at each second target sampling time, so as to determine the driving of the vehicle at each second target sampling time location steps.

可选地,所述方法还包括:Optionally, the method further includes:

若确定所述车辆未处于所述转向状态,根据所述车辆的定位装置采集到的位置信息,确定所述车辆在所述第一目标采样时刻的下一采样时刻的行驶位置;以及If it is determined that the vehicle is not in the steering state, according to the position information collected by the positioning device of the vehicle, determine the driving position of the vehicle at the next sampling time of the first target sampling time; and

将所述第一目标采样时刻的下一采样时刻作为新的第一目标采样时刻,并重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置的步骤。Taking the next sampling time of the first target sampling time as the new first target sampling time, and repeating the process of determining the target position of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time information, and determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information, and if it is determined that the vehicle is in the steering state, using the target position information The position that the vehicle will reach at each second target sampling time replaces the position collected by the positioning device of the vehicle at each second target sampling time, so as to determine the driving position of the vehicle at each second target sampling time A step of.

可选地,所述方法还包括:Optionally, the method further includes:

根据所述车辆的目标行驶位置,确定与所述目标行驶位置对应的显示位置,所述目标行驶位置为所述车辆行驶过程中确定出的行驶位置中的一者;determining a display position corresponding to the target driving position according to the target driving position of the vehicle, where the target driving position is one of the driving positions determined during the driving of the vehicle;

根据所述目标行驶位置对应的采样时刻以及与所述目标行驶位置对应的显示位置,生成目标显示信息;generating target display information according to the sampling time corresponding to the target driving position and the display position corresponding to the target driving position;

显示所述目标显示信息。The target display information is displayed.

根据本公开的第二方面,提供一种车辆行驶位置确定装置,所述装置包括:According to a second aspect of the present disclosure, there is provided an apparatus for determining a driving position of a vehicle, the apparatus comprising:

第一确定模块,用于根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,其中,所述第一历史轨迹信息包括所述车辆行驶至所述第一目标采样时刻经过的历史行驶位置,所述目标位置信息包括所述车辆在第二目标采样时刻将要到达的位置,以及,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的若干个连续的采样时刻;A first determination module, configured to determine the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, wherein the first historical trajectory information includes the vehicle traveling to the first target location. A historical travel position passed by a target sampling time, the target position information includes the position that the vehicle will reach at the second target sampling time, and the second target sampling time is a lower value of the first target sampling time A sampling moment is a number of consecutive sampling moments at the beginning of time;

第二确定模块,用于根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态;a second determining module, configured to determine whether the vehicle is in a steering state according to the first historical trajectory information and the target position information;

处理模块,用于若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。The processing module is configured to, if it is determined that the vehicle is in the steering state, use the position that the vehicle will reach at each second target sampling time in the target position information to replace the positioning device of the vehicle at each second target sampling time The position collected at each moment is used to determine the driving position of the vehicle at each of the second target sampling moments.

可选地,所述第一确定模块包括:Optionally, the first determining module includes:

第一确定子模块,用于从已存储的多个位置确定模型中确定出与所述第一历史轨迹信息相匹配的目标位置确定模型;a first determination submodule, configured to determine a target location determination model matching the first historical trajectory information from the stored multiple location determination models;

第二确定子模块,用于将所述第一历史轨迹信息输入至所述目标位置确定模型,以获得所述目标位置确定模型输出的所述目标位置信息。The second determination sub-module is configured to input the first historical trajectory information into the target position determination model to obtain the target position information output by the target position determination model.

可选地,每一所述位置确定模型对应有该模型在所述车辆的历史行驶中的出现概率;Optionally, each of the position determination models corresponds to the probability of occurrence of the model in the historical driving of the vehicle;

所述第一确定子模块包括:The first determination submodule includes:

第三确定子模块,用于根据所述第一历史轨迹信息,分别确定每一所述位置确定模型的均方误差;a third determination sub-module, configured to determine the mean square error of each of the position determination models according to the first historical trajectory information;

第四确定子模块,用于针对每个所述位置确定模型,将该位置确定模型的均方误差与位置确定模型在所述车辆的历史行驶中的出现概率的比值确定为该位置确定模型的模型误差;The fourth determination sub-module is configured to determine, for each of the position determination models, the ratio of the mean square error of the position determination model to the probability of occurrence of the position determination model in the historical driving of the vehicle as the value of the position determination model. model error;

第五确定子模块,用于将模型误差最小的位置确定模型确定为所述目标位置确定模型。The fifth determination sub-module is used for determining the position determination model with the smallest model error as the target position determination model.

可选地,所述装置用于通过如下模块确定多个位置确定模型:Optionally, the device is configured to determine a plurality of position determination models through the following modules:

获取模块,用于获取已存储的对应于所述车辆的第二历史轨迹信息,每一所述第二历史轨迹信息包括所述车辆在一次历史行驶过程中对应的历史行驶位置;an acquisition module, configured to acquire the stored second historical trajectory information corresponding to the vehicle, each of the second historical trajectory information includes a historical driving position corresponding to the vehicle in a historical driving process;

聚类模块,用于对所述第二历史轨迹信息进行聚类,以获得聚类结果,所述聚类结果包括轨迹类别以及各轨迹类别下的第二历史轨迹信息;a clustering module, configured to perform clustering on the second historical trajectory information to obtain a clustering result, where the clustering result includes a trajectory category and the second historical trajectory information under each trajectory category;

训练模块,用于分别将每一所述轨迹类别作为目标轨迹类别,并利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,其中,所述目标轨迹信息为所述目标轨迹类别下的第二历史轨迹信息。A training module is used to respectively use each of the trajectory categories as a target trajectory category, and use the target trajectory information to train the long-short-term memory network model to obtain a position determination model corresponding to the target trajectory category, wherein the target trajectory The information is the second historical track information under the target track category.

可选地,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的预设数量的采样时刻;Optionally, the second target sampling moment is a preset number of sampling moments that take the next sampling moment of the first target sampling moment as a time starting point;

所述训练模块用于将所述目标轨迹信息的一部分作为输入数据、并将所述输入数据在所述目标轨迹信息后预设数量的历史行驶位置作为输出数据,对长短时记忆网络模型进行训练,以获得与所述目标轨迹类别对应的位置确定模型。The training module is used to train a long-short-term memory network model with a part of the target trajectory information as input data and a preset number of historical driving positions after the target trajectory information of the input data as output data , to obtain the position determination model corresponding to the target trajectory category.

可选地,所述第二确定模块包括:Optionally, the second determining module includes:

第六确定子模块,用于根据所述第一历史轨迹信息确定所述车辆在所述第一目标采样时刻的第一行驶方向;a sixth determination sub-module, configured to determine the first driving direction of the vehicle at the first target sampling time according to the first historical trajectory information;

第七确定子模块,用于根据所述车辆在第一目标采样时刻的行驶位置以及所述目标位置信息中对应于所述第一目标采样时刻的下一采样时刻将要到达的位置,确定所述车辆的第二行驶方向;A seventh determination sub-module, configured to determine the vehicle according to the driving position of the vehicle at the first target sampling moment and the position to be reached at the next sampling moment corresponding to the first target sampling moment in the target position information the second direction of travel of the vehicle;

第一判断子模块,用于若所述第一行驶方向与所述第二行驶方向之间的夹角大于预设角度阈值,确定所述车辆处于转向状态;a first judgment submodule, configured to determine that the vehicle is in a steering state if the included angle between the first travel direction and the second travel direction is greater than a preset angle threshold;

第二判断子模块,用于若所述第一行驶方向与所述第二行驶方向之间的夹角小于或等于所述预设角度阈值,确定所述车辆未处于转向状态。A second judging submodule, configured to determine that the vehicle is not in a steering state if the included angle between the first traveling direction and the second traveling direction is less than or equal to the preset angle threshold.

可选地,若确定所述车辆处于所述转向状态,所述装置还用于将所述第二目标采样时刻中最晚的采样时刻作为新的第一目标采样时刻,并返回所述第一确定模块、所述第二确定模块以及所述处理模块,以重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。Optionally, if it is determined that the vehicle is in the steering state, the device is further configured to use the latest sampling time in the second target sampling time as a new first target sampling time, and return to the first target sampling time. The determining module, the second determining module and the processing module are configured to repeatedly execute the determining of the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, and the The first historical trajectory information and the target position information are used to determine whether the vehicle is in a steering state, and if it is determined that the vehicle is in the steering state, use the target position information to determine whether the vehicle is in each second The position to be reached at the target sampling time replaces the position collected by the positioning device of the vehicle at each second target sampling time, so as to determine the driving position of the vehicle at each second target sampling time.

可选地,所述装置还包括:Optionally, the device further includes:

第三确定模块,用于若确定所述车辆未处于所述转向状态,根据所述车辆的定位装置采集到的位置信息,确定所述车辆在所述第一目标采样时刻的下一采样时刻的行驶位置;以及The third determining module is configured to determine, according to the position information collected by the positioning device of the vehicle, the position of the vehicle at the next sampling time of the first target sampling time, if it is determined that the vehicle is not in the steering state the driving position; and

所述装置还用于将所述第一目标采样时刻的下一采样时刻作为新的第一目标采样时刻,并第二确定模块重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。The device is further configured to use the next sampling time of the first target sampling time as a new first target sampling time, and the second determining module repeatedly executes the first history according to the vehicle corresponding to the first target sampling time. trajectory information, determining target position information of the vehicle, and determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information, and determining if the vehicle is in the Steering state, the position that the vehicle will reach at each second target sampling time in the target position information is used to replace the position collected by the vehicle's positioning device at each second target sampling time, so as to determine the position of the vehicle at each second target sampling time. The driving position of the second target sampling time.

可选地,所述装置还包括:Optionally, the device further includes:

第四确定模块,用于根据所述车辆的目标行驶位置,确定与所述目标行驶位置对应的显示位置,所述目标行驶位置为所述车辆行驶过程中确定出的行驶位置中的一者;a fourth determination module, configured to determine a display position corresponding to the target driving position according to the target driving position of the vehicle, where the target driving position is one of the driving positions determined during the driving of the vehicle;

信息生成模块,用于根据所述目标行驶位置对应的采样时刻以及与所述目标行驶位置对应的显示位置,生成目标显示信息;an information generation module, configured to generate target display information according to the sampling time corresponding to the target driving position and the display position corresponding to the target driving position;

显示模块,用于显示所述目标显示信息。The display module is used for displaying the target display information.

根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开第一方面所述方法的步骤。According to a third aspect of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method described in the first aspect of the present disclosure.

根据本公开的第四方面,提供一种电子设备,包括:According to a fourth aspect of the present disclosure, there is provided an electronic device, comprising:

存储器,其上存储有计算机程序;a memory on which a computer program is stored;

处理器,用于执行所述存储器中的所述计算机程序,以实现本公开第一方面所述方法的步骤。A processor for executing the computer program in the memory to implement the steps of the method in the first aspect of the present disclosure.

通过上述技术方案,根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定车辆的目标位置信息,并根据第一历史轨迹信息和目标位置信息,确定车辆是否处于转向状态,以及,若确定车辆处于转向状态,利用目标位置信息中车辆在各第二目标采样时刻将要到达的位置代替车辆的定位装置在各第二目标采样时刻采集到的位置,以确定车辆在各个第二目标采样时刻的行驶位置。这样,在车辆行驶过程中,基于能够获取到的车辆的行驶位置对车辆后续可能到达的位置进行预测,并在识别到车辆处于转向状态时,利用预测所得的位置代替车辆定位装置实际采集到的位置,以确定车辆的行驶位置,从而,能够解决车辆处于转向状态时定位装置定位不准的问题,提升行驶位置确定的准确性,从而有利于后续基于行驶位置的位置显示,避免出现车辆显示位置跳变的情况。Through the above technical solution, the target position information of the vehicle is determined according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, and whether the vehicle is in a steering state is determined according to the first historical trajectory information and the target position information, and, if It is determined that the vehicle is in a steering state, and the position that the vehicle will reach at each second target sampling time in the target position information is used to replace the position collected by the vehicle's positioning device at each second target sampling time, so as to determine the vehicle at each second target sampling time. driving position. In this way, during the driving process of the vehicle, the position that the vehicle may reach in the future is predicted based on the obtained driving position of the vehicle, and when it is recognized that the vehicle is in a steering state, the predicted position is used to replace the actual collected position of the vehicle positioning device. position to determine the driving position of the vehicle, thereby solving the problem of inaccurate positioning of the positioning device when the vehicle is in a steering state, improving the accuracy of the driving position determination, which is beneficial to the subsequent position display based on the driving position and avoids the vehicle display position. jumping situation.

本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.

附图说明Description of drawings

附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:

图1为使用路网匹配方法对行驶位置修正前后的显示示意图;Fig. 1 is the display schematic diagram before and after using the road network matching method to correct the driving position;

图2是根据本公开的一种实施方式提供的车辆行驶位置确定方法的流程图;FIG. 2 is a flowchart of a method for determining a driving position of a vehicle provided according to an embodiment of the present disclosure;

图3是根据本公开提供的车辆行驶位置确定方法中,根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定车辆的目标位置信息的步骤的一种示例性的流程图;3 is an exemplary flowchart of the steps of determining the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time in the method for determining the driving position of the vehicle provided according to the present disclosure;

图4是根据本公开的一种实施方式提供的车辆行驶位置确定装置的框图;4 is a block diagram of an apparatus for determining a driving position of a vehicle provided according to an embodiment of the present disclosure;

图5是根据一示例性实施例示出的一种电子设备的框图;5 is a block diagram of an electronic device according to an exemplary embodiment;

图6是根据一示例性实施例示出的一种电子设备的框图。Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment.

具体实施方式Detailed ways

以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。The specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present disclosure, but not to limit the present disclosure.

目前,在车联网的应用系统中,在监控中心实时显示车辆位置是最常用的功能。这一功能通常通过在车辆的OBD接口上加装定位装置,将车辆的行驶位置上传到监控中心。但是,受限于加装的定位装置的成本及性能,大多数情况下得到的行驶位置准确性偏低,因此,大多行驶位置散落在行驶道路旁,需要进一步进行路网匹配,以将行驶位置修正到相应道路上,以保证显示车辆位置的合理性。At present, in the application system of the Internet of Vehicles, the real-time display of the vehicle position in the monitoring center is the most commonly used function. This function usually uploads the driving position of the vehicle to the monitoring center by adding a positioning device to the OBD interface of the vehicle. However, limited by the cost and performance of the installed positioning device, the accuracy of the driving position obtained in most cases is low. Therefore, most of the driving positions are scattered along the driving road, and further road network matching is required to determine the driving position. Corrected to the corresponding road to ensure the reasonableness of the displayed vehicle position.

相关技术中,路网匹配的修正方法采用行驶位置和各道路之间计算垂线距离和方向角对比,取垂线距离最短并且方向角对比偏差最小的道路作为匹配道路,将行驶位置到匹配道路的垂点作为修正后的车辆显示位置。但是,上述方法无法修正车辆转向时由于定位装置特性的惯性漂移引起的定位偏差,修正后车辆转向后显示位置仍然会在未转向的道路上,从而,这一过程中车辆的显示位置会突然跳跃到转向后的道路上,导致显示位置错误,特别是在被监控车辆的数量较多时,各车辆都出现显示位置跳跃会导致用户体验大幅降低。In the related art, the correction method of road network matching adopts the comparison between the driving position and each road to calculate the vertical distance and the direction angle, and takes the road with the shortest vertical distance and the smallest direction angle comparison deviation as the matching road, and compares the driving position to the matching road. The vertical point is used as the corrected vehicle display position. However, the above method cannot correct the positioning deviation caused by the inertial drift of the characteristics of the positioning device when the vehicle is turning. After the correction, the displayed position of the vehicle after turning is still on the unsteered road. Therefore, the displayed position of the vehicle will suddenly jump during this process. On the road after turning, the display position will be wrong, especially when the number of monitored vehicles is large, the display position of each vehicle will jump, which will greatly reduce the user experience.

图1示出了修正前的行驶位置(实心圆)与修正后的显示位置(空心圆),其中,序号由小到大表示行驶时间的由先到后,矩形表示道路,可以看出,位置跳跃的表现十分明显(参见序号8、9对应的位置)。Figure 1 shows the driving position before correction (solid circle) and the display position after correction (hollow circle). The performance of jumping is very obvious (see the corresponding positions of serial numbers 8 and 9).

因此,本公开提出一种车辆行驶位置确定方法、装置、存储介质及电子设备,以解决相关技术中车辆定位装置定位不准的问题。Therefore, the present disclosure proposes a method, device, storage medium and electronic device for determining the driving position of a vehicle, so as to solve the problem of inaccurate positioning of a vehicle positioning device in the related art.

图2是根据本公开的一种实施方式提供的车辆行驶位置确定方法的流程图。如图2所示,该方法可以包括以下步骤。FIG. 2 is a flowchart of a method for determining a driving position of a vehicle according to an embodiment of the present disclosure. As shown in Figure 2, the method may include the following steps.

在步骤21中,根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定车辆的目标位置信息。In step 21, the target position information of the vehicle is determined according to the first historical trajectory information of the vehicle corresponding to the first target sampling time.

在车辆的行驶过程中,车辆上的定位装置处于工作状态,并按照一定的时间间隔(例如,1s)、周期性地进行数据采集。在这个过程中,进行数据采集的时刻就是采样时刻,本方案中描述的采样时刻均可参照上述方式理解。During the driving process of the vehicle, the positioning device on the vehicle is in a working state, and data collection is performed periodically according to a certain time interval (for example, 1s). In this process, the moment of data collection is the sampling moment, and the sampling moment described in this solution can be understood with reference to the above method.

第一历史轨迹信息可以包括车辆行驶至第一目标采样时刻经过的历史行驶位置。在这里,第一目标采样时刻可以理解为“当前的采样时刻”,第一历史轨迹信息可以理解为一个位置序列,该位置序列按照时间顺序依次包含车辆本次行驶过程中、在第一目标采样时刻及之前各个采样时刻所经过的历史行驶位置。示例地,在车辆行驶过程中,采样时刻依次为t1~tn(n为大于1的正整数),若第一目标采样时刻为采样时刻t10(之前有采样时刻t1~t9),则第一历史轨迹信息包括本车辆分别在t1~t10所经过的历史行驶位置。需要说明的是,本公开所使用的历史行驶位置本质上就是行驶位置(即,历史上的采样时刻所对应的行驶位置),这里是为了方便区分。The first historical trajectory information may include a historical driving position where the vehicle travels to the first target sampling time. Here, the first target sampling time can be understood as "the current sampling time", and the first historical trajectory information can be understood as a position sequence. The time and the historical driving position passed by each previous sampling time. For example, during the driving process of the vehicle, the sampling times are sequentially t 1 to t n (n is a positive integer greater than 1). If the first target sampling time is the sampling time t 10 (there are sampling times t 1 to t 9 before) , then the first historical track information includes the historical travel positions passed by the vehicle from t 1 to t 10 respectively. It should be noted that the historical travel position used in the present disclosure is essentially the travel position (that is, the travel position corresponding to the sampling time in history), which is here for the convenience of distinction.

目标位置信息可以包括车辆在第二目标采样时刻将要到达的位置,其中,第二目标采样时刻为以第一目标采样时刻的下一采样时刻为时间起点的若干个连续的采样时刻。第二目标采样时刻的数量可以人为设置,例如,设置为预设数量(大于或等于1),即,第二目标采样时刻为以第一目标采样时刻的下一采样时刻为时间起点的预设数量的采样时刻。示例地,在车辆行驶过程中,采样时刻依次为t1~tn(n为大于1的正整数),若第一目标采样时刻为采样时刻t10,则第二目标采样时刻可以为t11(预设数量为1),或者,第二目标采样时刻可以为t11、t12和t13(预设数量为3)。The target position information may include a position to be reached by the vehicle at a second target sampling moment, wherein the second target sampling moment is a number of consecutive sampling moments starting from a sampling moment next to the first target sampling moment. The number of the second target sampling time can be set manually, for example, set to a preset number (greater than or equal to 1), that is, the second target sampling time is a preset that takes the next sampling time of the first target sampling time as the starting point of time number of sampling moments. For example, during the driving process of the vehicle, the sampling times are t 1 to t n (n is a positive integer greater than 1). If the first target sampling time is the sampling time t 10 , the second target sampling time may be t 11 . (the preset number is 1), or, the second target sampling times may be t 11 , t 12 and t 13 (the preset number is 3).

根据车辆的第一历史轨迹信息,确定车辆的目标位置信息,也就是根据车辆截至目前的历史行驶位置,推测车辆在下一采样时刻或者在下几个采样时刻可能所在的位置。其中,在利用第一历史轨迹信息确定车辆的目标位置信息时,可以使用全部的第一历史轨迹信息,或者,还可以仅使用第一历史轨迹信息中靠近第一目标采样时刻的部分,以减少数据处理量,实际应用时可以根据具体的需求自行设置。举例来说,若第一历史轨迹信息本车辆分别在t1~t10所经过的历史行驶位置,则在确定目标位置信息时,可以使用本车辆在t1~t10所经过的10个历史行驶位置(全部使用),或者,可以使用本车辆在t6~t10所经过的5个历史行驶位置(部分使用)。According to the first historical trajectory information of the vehicle, the target position information of the vehicle is determined, that is, according to the historical driving position of the vehicle so far, the possible position of the vehicle at the next sampling time or at the next sampling time is estimated. Wherein, when using the first historical trajectory information to determine the target position information of the vehicle, all the first historical trajectory information may be used, or only the part of the first historical trajectory information that is close to the first target sampling time may be used to reduce The amount of data processing can be set according to specific needs in practical applications. For example, if the first historical track information includes the historical driving positions of the vehicle from t 1 to t 10 respectively, then when determining the target position information, the 10 historical records of the vehicle from t 1 to t 10 can be used. Driving position (full use), or, 5 historical driving positions (partial use) passed by the host vehicle from t 6 to t 10 may be used.

在步骤22中,根据第一历史轨迹信息和目标位置信息,确定车辆是否处于转向状态。In step 22, it is determined whether the vehicle is in a steering state according to the first historical trajectory information and the target position information.

根据车辆已行驶的第一历史轨迹信息可知车辆当前的行驶趋势,根据车辆当前行驶位置(即,车辆在第一目标采样时刻的行驶位置)以及目标位置信息可知车辆后续的行驶趋势,对这两种行驶趋势进行比较,即可确定车辆是否处于转向状态。若两种行驶趋势较为接近,说明车辆的行驶趋势前后相差不大,从而可以确定车辆未处于转向状态;若两种行驶趋势相差较大,说明车辆的行驶趋势前后变化较大,从而可以确定车辆处于转向状态。The current driving trend of the vehicle can be known according to the first historical track information that the vehicle has traveled, and the subsequent driving trend of the vehicle can be known according to the current driving position of the vehicle (that is, the driving position of the vehicle at the first target sampling time) and the target position information. The driving trend can be compared to determine whether the vehicle is in a steering state. If the two driving trends are relatively close, it means that the driving trends of the vehicle are not much different before and after, so it can be determined that the vehicle is not in the steering state; in turn.

在步骤23中,若确定车辆处于转向状态,利用目标位置信息中车辆在各第二目标采样时刻将要到达的位置代替车辆的定位装置在各第二目标采样时刻采集到的位置,以确定车辆在各个第二目标采样时刻的行驶位置。In step 23, if it is determined that the vehicle is in a steering state, the position that the vehicle will reach at each second target sampling time in the target position information is used to replace the position collected by the vehicle's positioning device at each second target sampling time to determine the vehicle's position at each second target sampling time. The driving position of each second target sampling time.

如前文所述,若车辆处于转向状态,车辆的定位装置所采集到的数据会存在较大误差,因此,可以利用步骤11所确定的目标位置信息中车辆在各第二目标采样时刻将要到达的位置对应代替车辆的定位装置在各第二目标采样时刻采集到的位置,从而确定车辆在各个第二目标采样时刻的行驶位置。其中,对应代替是指用目标位置信息中对应于第二目标采样时刻ta的位置代替定位装置在第二目标采样时刻ta采集到的位置。As mentioned above, if the vehicle is in the steering state, the data collected by the vehicle's positioning device will have a large error. Therefore, the target position information determined in step 11 can be used for the vehicle to arrive at each second target sampling time. The position corresponds to the position collected by the positioning device that replaces the vehicle at each second target sampling time, so as to determine the driving position of the vehicle at each second target sampling time. The corresponding substitution refers to replacing the position collected by the positioning device at the second target sampling time ta with a position in the target position information corresponding to the second target sampling time ta .

通过上述技术方案,根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定车辆的目标位置信息,并根据第一历史轨迹信息和目标位置信息,确定车辆是否处于转向状态,以及,若确定车辆处于转向状态,利用目标位置信息中车辆在各第二目标采样时刻将要到达的位置代替车辆的定位装置在各第二目标采样时刻采集到的位置,以确定车辆在各个第二目标采样时刻的行驶位置。这样,在车辆行驶过程中,基于能够获取到的车辆的行驶位置对车辆后续可能到达的位置进行预测,并在识别到车辆处于转向状态时,利用预测所得的位置代替车辆定位装置实际采集到的位置,以确定车辆的行驶位置,从而,能够解决车辆处于转向状态时定位装置定位不准的问题,提升行驶位置确定的准确性,从而有利于后续基于行驶位置的位置显示,避免出现车辆显示位置跳变的情况。Through the above technical solution, the target position information of the vehicle is determined according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, and whether the vehicle is in a steering state is determined according to the first historical trajectory information and the target position information, and, if It is determined that the vehicle is in a steering state, and the position that the vehicle will reach at each second target sampling time in the target position information is used to replace the position collected by the vehicle's positioning device at each second target sampling time, so as to determine the vehicle at each second target sampling time. driving position. In this way, during the driving process of the vehicle, the position that the vehicle may reach in the future is predicted based on the obtained driving position of the vehicle, and when it is recognized that the vehicle is in a steering state, the predicted position is used to replace the actual collected position of the vehicle positioning device. position to determine the driving position of the vehicle, thus, it can solve the problem of inaccurate positioning of the positioning device when the vehicle is in the steering state, improve the accuracy of the determination of the driving position, which is beneficial to the subsequent position display based on the driving position, and avoids the appearance of the vehicle display position jumping situation.

为了使本领域技术人员更加理解本发明实施例提供的技术方案,下面对上文中的相应步骤及相关概念进行详细的说明。In order to make those skilled in the art better understand the technical solutions provided by the embodiments of the present invention, the corresponding steps and related concepts above are described in detail below.

在初始情况下,车辆刚刚开始行驶,此时车辆还没有足够多的历史行驶位置,因此,即便确定目标位置信息,也存在结果不准的问题。所以,在一种可能的情形中,在车辆刚开始行驶之后的若干个采样时刻,可以直接使用车辆定位装置采集到的位置作为车辆的行驶位置,其中,刚开始行驶之后的若干个采样时刻的数量可以根据经验值设定。之后,在拥有足够多的历史行驶位置后,再开始执行本公开提供的方法。In the initial situation, the vehicle has just started to travel, and the vehicle does not have enough historical driving positions at this time. Therefore, even if the target position information is determined, there is still a problem of inaccurate results. Therefore, in a possible situation, the position collected by the vehicle positioning device can be directly used as the driving position of the vehicle at several sampling moments after the vehicle starts driving, wherein the sampling moments after the vehicle starts driving The number can be set according to the experience value. Afterwards, after there are enough historical driving positions, the method provided by the present disclosure can be executed.

下面对步骤21中的根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定车辆的目标位置信息进行详细说明。The following describes in detail the determination of the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time in step 21 .

在一种可能的实施方式中,步骤21可以包括以下步骤,如图3所示。In a possible implementation manner, step 21 may include the following steps, as shown in FIG. 3 .

在步骤31中,从已存储的多个位置确定模型中确定出与第一历史轨迹信息相匹配的目标位置确定模型。In step 31, a target location determination model matching the first historical trajectory information is determined from the stored multiple location determination models.

其中,多个位置确定模型是预先获得、并存储到对应的存储位置(例如,存储本车数据的数据库)的,在实际使用时可以直接到相应的存储位置获取。The multiple location determination models are obtained in advance and stored in corresponding storage locations (for example, a database storing data of the vehicle), and can be directly obtained from the corresponding storage locations in actual use.

下面对位置确定模型的生成方式进行详细说明。在一种可能的实施方式中,多个位置确定模型可以通过如下方式确定:The generation method of the location determination model will be described in detail below. In a possible implementation, multiple location determination models may be determined in the following manner:

获取已存储的对应于本车辆的第二历史轨迹信息;acquiring the stored second historical track information corresponding to the vehicle;

对第二历史轨迹信息进行聚类,以获得聚类结果;Clustering the second historical trajectory information to obtain a clustering result;

分别将每一轨迹类别作为目标轨迹类别,并利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型。Each trajectory category is regarded as the target trajectory category, and the long-short-term memory network model is trained by using the target trajectory information to obtain the position determination model corresponding to the target trajectory category.

第二历史轨迹信息基于本车的历史行驶过程得到,并可以存储在对应的存储位置(例如,存储本车数据的数据库)。每一第二历史轨迹信息包括车辆在一次历史行驶过程中对应的历史行驶位置,并且,每一第二历史轨迹信息可以视为由一次历史行驶过程中的历史行驶位置、按照时间先后顺序构成的序列。The second historical trajectory information is obtained based on the historical driving process of the vehicle, and may be stored in a corresponding storage location (eg, a database storing vehicle data). Each second historical trajectory information includes a historical driving position corresponding to the vehicle in a historical driving process, and each second historical trajectory information can be regarded as composed of historical driving positions in a historical driving process in a chronological order. sequence.

在获取到已存储的对应于本车辆的第二历史轨迹信息之后,可以对多个第二历史轨迹信息进行聚类,以获得聚类结果。其中,聚类结果包括轨迹类别以及各轨迹类别下的第二历史轨迹信息。示例地,在对第二历史轨迹信息进行聚类时,可以基于K-Means聚类算法(K-Means clustering algorithm,K均值聚类算法),并且,第二历史轨迹信息之间的距离度量使用DTW(Dynamic Time Warping,动态时间归整)距离,其中,DTW用于度量不同长度序列之间的相似度。并且,计算数据间DTW距离以及利用K-Means聚类算法对数据进行聚类以获得聚类结果的方式属于现有技术,此处不赘述。After acquiring the stored second historical trajectory information corresponding to the vehicle, a plurality of second historical trajectory information may be clustered to obtain a clustering result. The clustering result includes track categories and second historical track information under each track category. For example, when the second historical trajectory information is clustered, it may be based on a K-Means clustering algorithm (K-Means clustering algorithm, K-means clustering algorithm), and the distance metric between the second historical trajectory information uses DTW (Dynamic Time Warping, Dynamic Time Warping) distance, where DTW is used to measure the similarity between sequences of different lengths. In addition, the methods of calculating the DTW distance between data and using the K-Means clustering algorithm to cluster the data to obtain the clustering result belong to the prior art, and are not described herein again.

在获得聚类结果之后,可以针对聚类后得到的每一轨迹类别,分别训练模型,训练时使用相应轨迹类别下的第二历史轨迹信息。例如,可以分别将每一轨迹类别作为目标轨迹类别,并利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型。其中,目标轨迹信息为目标轨迹类别下的第二历史轨迹信息。从而,依次将聚类结果中的每一轨迹类别分别作为目标轨迹类别,并针对目标轨迹类别进行模型训练,可对应训练出每一轨迹类别对应的位置确定模型。After the clustering result is obtained, the model can be trained separately for each track category obtained after the clustering, and the second historical track information under the corresponding track category is used during training. For example, each trajectory category can be regarded as the target trajectory category, and the long-short-term memory network model can be trained by using the target trajectory information to obtain the position determination model corresponding to the target trajectory category. The target trajectory information is the second historical trajectory information under the target trajectory category. Therefore, each trajectory category in the clustering result is sequentially regarded as a target trajectory category, and model training is performed for the target trajectory category, so that a position determination model corresponding to each trajectory category can be correspondingly trained.

在一种可能的实施例中,利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,可以包括以下步骤:In a possible embodiment, using the target trajectory information to train the long-short-term memory network model to obtain a position determination model corresponding to the target trajectory category, the following steps may be included:

将目标轨迹信息的一部分作为输入数据、并将输入数据在目标轨迹信息后预设数量的历史行驶位置作为输出数据,对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型。Taking part of the target trajectory information as input data, and using the input data with a preset number of historical driving positions after the target trajectory information as output data, train the long-short-term memory network model to obtain a position determination model corresponding to the target trajectory category .

由上所述,第二目标采样时刻可以为预设数量,因此,可以由此进行模型训练,使用预设数量的历史行驶位置作为输出数据。在训练模型时,将目标轨迹信息的一部分作为输入数据、并将输入数据在目标轨迹信息后预设数量的历史行驶位置作为输出数据,对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型。举例来说,若预设数量为2,且第二历史轨迹信息为[D1,D2,D3,D4,D5,D6,D7,D8,D9,D10],则可以将[D1,D2,D3,D4,D5]作为输入数据、并将[D6,D7]作为输出数据进行模型训练,或者,可以将[D4,D5,D6,D7,D8]作为输入数据、并将[D9,D10]作为输出数据,对于其他的训练数据的选取方式均可参照此处,不再赘述。以及,对长短时记忆网络模型进行训练的方式为现有技术,此处也不详述。From the above, the second target sampling time may be a preset number, therefore, model training can be performed based on this, and a preset number of historical driving positions can be used as output data. When training the model, a part of the target trajectory information is used as input data, and a preset number of historical driving positions after the target trajectory information of the input data are used as output data, and the long-short-term memory network model is trained to obtain the target trajectory category. The corresponding position determination model. For example, if the preset number is 2, and the second historical track information is [D1, D2, D3, D4, D5, D6, D7, D8, D9, D10], then [D1, D2, D3, D4, D5] as input data and [D6, D7] as output data for model training, or, you can use [D4, D5, D6, D7, D8] as input data and [D9, D10] as output For the selection methods of other training data, reference can be made here, and details are not repeated here. And, the way of training the long-short-term memory network model is in the prior art, and will not be described in detail here.

采用上述方式,对车辆历史行驶的第二历史轨迹信息进行聚类,并根据聚类结果针对每一种轨迹类别分别生成位置确定模型,具有较强的针对性,有助于在使用位置确定模型时得出更加准确的结果。The above method is used to cluster the second historical trajectory information of the vehicle's historical driving, and according to the clustering results, a position determination model is generated for each trajectory category, which has strong pertinence and is helpful for determining the model in the use position. more accurate results are obtained.

下面针对步骤31,从已存储的多个位置确定模型中确定出与第一历史轨迹信息相匹配的目标位置确定模型进行说明。在一种可能的实施方式中,步骤31可以包括以下步骤:The following describes the step 31 of determining a target position determination model matching the first historical trajectory information from a plurality of stored position determination models. In a possible implementation, step 31 may include the following steps:

根据第一历史轨迹信息,分别确定每一位置确定模型的均方误差;According to the first historical trajectory information, the mean square error of each position determination model is determined respectively;

针对每个位置确定模型,将该位置确定模型的均方误差与位置确定模型在车辆的历史行驶中的出现概率的比值确定为该位置确定模型的模型误差;For each position determination model, the ratio of the mean square error of the position determination model to the occurrence probability of the position determination model in the historical driving of the vehicle is determined as the model error of the position determination model;

将模型误差最小的位置确定模型确定为目标位置确定模型。The position determination model with the smallest model error is determined as the target position determination model.

均方误差能够反映估计值与真实值之间的差异程度,它可以是参数估计值与参数真值之差平方的期望值。因此,根据第一历史轨迹信息,针对每个位置确定模型,可以确定出该位置确定模型的均方误差,其公式可以如下所示:The mean square error can reflect the degree of difference between the estimated value and the true value, which can be the expected value of the square of the difference between the estimated value of the parameter and the true value of the parameter. Therefore, according to the first historical trajectory information, for each position determination model, the mean square error of the position determination model can be determined, and its formula can be as follows:

Figure BDA0002326716160000151
Figure BDA0002326716160000151

其中,

Figure BDA0002326716160000152
为位置确定模型针对输入的第一历史轨迹信息得到的输出结果(估计值),θ为第一历史轨迹信息中对应于输出结果的实际数据(真实值)。在确定位置确定模型的均方误差时,可以选取第一历史轨迹信息中的不同部分分别作为输入数据,以得到位置确定模型的多种输出结果,针对每种输出结果分别计算均方误差,并将其中的最小者作为该位置确定模型的均方误差。由此,可以确定出每一位置确定模型的均方误差。in,
Figure BDA0002326716160000152
is the output result (estimated value) obtained by the position determination model for the inputted first historical trajectory information, and θ is the actual data (true value) corresponding to the output result in the first historical trajectory information. When determining the mean square error of the position determination model, different parts of the first historical trajectory information can be selected as input data to obtain various output results of the position determination model, and the mean square errors are calculated for each output result respectively, and Take the smallest of them as the mean squared error of the location determination model. From this, the mean squared error of each position determination model can be determined.

在确定出每一确定模型的均方误差之后,针对每个位置确定模型,将该位置确定模型的均方误差与位置确定模型在车辆的历史行驶中的出现概率的比值确定为该位置确定模型的模型误差。这样,结合出现概率得出的模型误差能够减少数据量差异对位置确定模型效果的影响,使得确定出的模型误差更加准确。After determining the mean square error of each determination model, for each location determination model, the ratio of the mean square error of the location determination model to the occurrence probability of the location determination model in the historical driving of the vehicle is determined as the location determination model model error. In this way, the model error obtained in combination with the occurrence probability can reduce the influence of the difference in the amount of data on the effect of the position determination model, so that the determined model error is more accurate.

其中,已存储的每一位置确定模型对应有该模型在车辆的历史行驶中的出现概率。参照上文中接收的位置确定模型的确定方式,首先对本车的第二历史轨迹信息进行聚类,得到轨迹类别以及各轨迹类别下的第二历史轨迹信息。之后,针对每一轨迹类别确定位置确定模型,因此,位置确定模型在本车历史行驶中的出现概率可以为该位置确定模型所属轨迹类别下的第二历史轨迹信息占本车所有的第二历史轨迹信息的比值。例如,本车所有的第二历史轨迹信息被分为3类(A、B、C),其中,A类数量为450,B类数量为100,C类数量为50,则A类的位置确定模型在车辆的历史行驶中的出现概率为450/(450+100+50)=0.75,其他同理。Wherein, each stored location determination model corresponds to the occurrence probability of the model in the historical driving of the vehicle. Referring to the determination method of the position determination model received above, firstly, the second historical trajectory information of the vehicle is clustered to obtain the trajectory category and the second historical trajectory information under each trajectory category. After that, a position determination model is determined for each trajectory category. Therefore, the occurrence probability of the position determination model in the historical driving of the vehicle can be that the second historical trajectory information under the trajectory category to which the position determination model belongs accounts for the second history of the vehicle. The ratio of trajectory information. For example, all the second historical trajectory information of the vehicle is divided into 3 categories (A, B, C), where the number of category A is 450, the number of category B is 100, and the number of category C is 50, then the location of category A is determined. The appearance probability of the model in the historical driving of the vehicle is 450/(450+100+50)=0.75, and the same is true for others.

模型误差的大小能够反映位置确定模型与第一历史轨迹信息的匹配程度,模型误差最小说明该位置确定模型最能够匹配本车当前行驶过程的历史行驶位置。因此,在得到每个位置确定模型对应的模型误差之后,将模型误差最小的位置确定模型作为目标位置确定模型,用作后续的数据处理,能使数据处理结果更加贴近车辆当前的行驶状况,数据处理结果更准确。The magnitude of the model error can reflect the matching degree between the position determination model and the first historical trajectory information, and the smallest model error indicates that the position determination model can best match the historical driving position of the current driving process of the vehicle. Therefore, after obtaining the model error corresponding to each position determination model, the position determination model with the smallest model error is used as the target position determination model for subsequent data processing, so that the data processing results can be closer to the current driving conditions of the vehicle. Processing results are more accurate.

在步骤32中,将第一历史轨迹信息输入至目标位置确定模型,以获得目标位置确定模型输出的目标位置信息。In step 32, the first historical trajectory information is input into the target position determination model to obtain target position information output by the target position determination model.

采用上述方式,利用已存储的多个位置确定模型,确定出与第一历史轨迹信息匹配程度最高的目标位置确定模型,并通过目标位置确定模型确定目标位置信息,实现对车辆后续可能到达的位置的预测,更加贴近车辆当前行驶的行驶状况,准确程度更高。In the above manner, the target position determination model with the highest matching degree with the first historical trajectory information is determined by using a plurality of stored position determination models, and the target position information is determined by the target position determination model, so as to realize the position that the vehicle may reach in the future. The prediction is closer to the current driving condition of the vehicle and has a higher degree of accuracy.

在一种可能的实施方式中,步骤12中根据第一历史轨迹信息和目标位置信息,确定车辆是否处于转向状态,可以包括以下步骤:In a possible implementation, in step 12, determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information may include the following steps:

根据第一历史轨迹信息确定车辆在第一目标采样时刻的第一行驶方向;determining the first traveling direction of the vehicle at the first target sampling time according to the first historical trajectory information;

根据车辆在第一目标采样时刻的行驶位置以及目标位置信息中对应于第一目标采样时刻的下一采样时刻将要到达的位置,确定车辆的第二行驶方向;Determine the second driving direction of the vehicle according to the driving position of the vehicle at the first target sampling time and the position to be reached at the next sampling time corresponding to the first target sampling time in the target position information;

若第一行驶方向与第二行驶方向之间的夹角大于预设角度阈值,确定车辆处于转向状态;If the included angle between the first traveling direction and the second traveling direction is greater than the preset angle threshold, it is determined that the vehicle is in a steering state;

若第一行驶方向与第二行驶方向之间的夹角小于或等于预设角度阈值,确定车辆未处于转向状态。If the included angle between the first traveling direction and the second traveling direction is less than or equal to the preset angle threshold, it is determined that the vehicle is not in a steering state.

其中,根据第一历史轨迹信息能够确定车辆在第一目标采样时刻的第一行驶方向。示例地,可以将车辆在第一目标采样时刻的上一采样时刻的行驶位置指向车辆在第一目标采样时刻的行驶位置的方向作为第一行驶方向。再例如,还可以根据车辆在第一目标采样时刻及第一目标采样时刻之前几个采样时刻的行驶位置确定第一行驶方向,例如,针对其中各个采样时刻,获得车辆在前一采样时刻(t时刻)的行驶位置指向该车辆在下一采样时刻(t+1时刻)的行驶位置的行驶变化方向,能够得到多个行驶变化方向,基于这些行驶变化方向,确定出第一行驶方向(例如,基于多个方向得到一个处于中间位置的方向作为第一行驶方向)。以及,根据车辆在第一目标采样时刻的行驶位置以及目标位置信息中对应于第一目标采样时刻的下一采样时刻将要到达的位置,能够确定车辆的第二行驶方向。示例地,可以将车辆在第一目标采样时刻行驶位置指向车辆在第一目标采样时刻的下一采样时刻的行驶位置的方向作为第二行驶方向。Wherein, the first traveling direction of the vehicle at the first target sampling time can be determined according to the first historical track information. For example, the driving position of the vehicle at the last sampling time of the first target sampling time may be directed to the direction of the driving position of the vehicle at the first target sampling time as the first driving direction. For another example, the first driving direction can also be determined according to the driving position of the vehicle at the first target sampling moment and several sampling moments before the first target sampling moment. The driving position at the next sampling time (time t+1) points to the driving change direction of the driving position of the vehicle at the next sampling time (time t+1), and multiple driving change directions can be obtained. A plurality of directions get a direction in the middle position as the first direction of travel). And, according to the traveling position of the vehicle at the first target sampling time and the position to be reached at the next sampling time corresponding to the first target sampling time in the target position information, the second traveling direction of the vehicle can be determined. For example, a direction in which the vehicle's traveling position at the first target sampling moment points to the vehicle's traveling position at the next sampling moment of the first target sampling moment may be used as the second traveling direction.

第一行驶方向能够反映车辆当前的行驶趋势,第二行驶方向能够反映车辆此后的行驶趋势,因此,第一行驶方向与第二行驶方向之间的夹角可以反映车辆行驶趋势的变化程度,二者之间夹角越大,车辆行驶趋势变化越大,就越有可能处于转向状态。因此,若第一行驶方向与第二行驶方向之间的夹角大于预设角度阈值,确定车辆处于转向状态;若第一行驶方向与第二行驶方向之间的夹角小于或等于预设角度阈值,确定车辆未处于转向状态。其中,预设角度阈值可以根据经验值设定,示例地,预设角度阈值可以处于[15°,20°]这一角度区间内。The first driving direction can reflect the current driving trend of the vehicle, and the second driving direction can reflect the future driving trend of the vehicle. Therefore, the angle between the first driving direction and the second driving direction can reflect the degree of change in the driving trend of the vehicle. The greater the angle between them, the greater the change in the driving trend of the vehicle, and the more likely it is in a steering state. Therefore, if the angle between the first travel direction and the second travel direction is greater than the preset angle threshold, it is determined that the vehicle is in a steering state; if the angle between the first travel direction and the second travel direction is less than or equal to the preset angle Threshold to determine that the vehicle is not in a steering state. Wherein, the preset angle threshold may be set according to an empirical value. For example, the preset angle threshold may be within an angle interval of [15°, 20°].

在一种可能的实施方式中,若经步骤22确定车辆未处于转向状态,在图2所示各个步骤的基础上,本公开提供的方法还可以包括以下步骤:In a possible implementation, if it is determined through step 22 that the vehicle is not in a steering state, on the basis of each step shown in FIG. 2 , the method provided by the present disclosure may further include the following steps:

根据车辆的定位装置采集到的位置信息,确定车辆在第一目标采样时刻的下一采样时刻的行驶位置;以及,According to the position information collected by the positioning device of the vehicle, determine the driving position of the vehicle at the next sampling time of the first target sampling time; and,

将第一目标采样时刻的下一采样时刻作为新的第一目标采样时刻,并重复执行步骤21、步骤22及步骤23。The next sampling time of the first target sampling time is taken as the new first target sampling time, and step 21 , step 22 and step 23 are repeatedly executed.

在车辆未处于转向状态时,车辆的定位装置不会受到转向影响,并不会存在较大误差,因此,可以直接根据车辆的定位装置采集到的位置信息,确定车辆在第一目标采样时刻的下一采样时刻的行驶位置。示例地,可以直接将车辆定位装置在第一目标采样时刻的下一采样时刻采集到的位置作为车辆在第一目标采样时刻的下一采样时刻的行驶位置。并且,由于之后车辆是否转向仍未知,还需继续判断,所以,将第一目标采样时刻的下一采样时刻作为新的第一目标采样时刻,并重复执行步骤21~步骤23,即,继续基于已有的行驶位置确定车辆是否处于转向状态,并进行相应处理,这一过程可以持续到车辆停止运行。When the vehicle is not in the steering state, the positioning device of the vehicle will not be affected by the steering, and there will be no large error. Therefore, the position information of the vehicle at the first target sampling time can be determined directly according to the position information collected by the positioning device of the vehicle. The driving position at the next sampling time. For example, the position collected by the vehicle positioning device at the next sampling time of the first target sampling time may be directly used as the driving position of the vehicle at the next sampling time of the first target sampling time. In addition, since it is still unknown whether the vehicle is turning or not, it is still necessary to continue to judge. Therefore, the next sampling time of the first target sampling time is taken as the new first target sampling time, and steps 21 to 23 are repeatedly executed, that is, continue to be based on The existing driving position determines whether the vehicle is in a steering state and performs corresponding processing, and this process can continue until the vehicle stops running.

在一种可能的实施方式中,若经步骤22确定车辆处于转向状态,在图2所示各个步骤的基础上,本公开提供的方法还可以包括以下步骤:In a possible implementation manner, if it is determined through step 22 that the vehicle is in a steering state, on the basis of each step shown in FIG. 2 , the method provided by the present disclosure may further include the following steps:

将第二目标采样时刻中最晚的采样时刻作为新的第一目标采样时刻,并重复执行步骤21、步骤22以及步骤23。The latest sampling time in the second target sampling time is taken as the new first target sampling time, and step 21 , step 22 and step 23 are repeatedly executed.

在确定车辆处于转向状态后,会利用在第一目标采样时刻确定出的目标位置信息代替定位装置采集到的相应数据,而当到达第二目标采样时刻中最晚的采样时刻时,车辆后续的状态又处于未知,因此,将第二目标采样时刻中最晚的采样时刻作为新的第一目标采样时刻,并重复执行步骤21~步骤23,即,继续基于已有的行驶位置确定车辆是否处于转向状态,并进行相应处理,这一过程可以持续到车辆停止运行。After it is determined that the vehicle is in a steering state, the target position information determined at the first target sampling time will be used to replace the corresponding data collected by the positioning device, and when the latest sampling time in the second target sampling time is reached, the vehicle's subsequent The state is unknown again. Therefore, the latest sampling time in the second target sampling time is taken as the new first target sampling time, and steps 21 to 23 are repeated, that is, continue to determine whether the vehicle is in Steering state, and processing accordingly, this process can continue until the vehicle stops running.

在一种可能的实施方式中,本公开提供的方法还可以包括以下步骤:In a possible implementation, the method provided by the present disclosure may further include the following steps:

根据车辆的目标行驶位置,确定与目标行驶位置对应的显示位置,目标行驶位置为车辆行驶过程中确定出的行驶位置中的一者;According to the target driving position of the vehicle, determine the display position corresponding to the target driving position, and the target driving position is one of the driving positions determined during the driving of the vehicle;

根据目标行驶位置对应的采样时刻以及与目标行驶位置对应的显示位置,生成目标显示信息;Generate target display information according to the sampling time corresponding to the target driving position and the display position corresponding to the target driving position;

显示目标显示信息。Display target display information.

基于上文中给出的内容可以确定车辆行驶过程中各个采样时刻的行驶位置。根据车辆的目标行驶位置,可以确定与目标行驶位置对应的显示位置,其中,目标行驶位置为车辆行驶过程中确定出的行驶位置中的一者,可以将车辆的每一行驶位置分别作为目标行驶位置。与目标行驶位置对应的显示位置可以参考前文中给出的路网匹配的修正方法,即,通过计算行驶位置到附近道路的垂线距离和对比方向角,选取垂线距离最短以及方向角偏差最小的道路作为匹配道路,并将行驶位置到匹配道路的垂点作为该行驶位置的显示位置。Based on the content given above, the driving position at each sampling time during the driving process of the vehicle can be determined. According to the target driving position of the vehicle, the display position corresponding to the target driving position can be determined, wherein the target driving position is one of the driving positions determined during the driving of the vehicle, and each driving position of the vehicle can be regarded as the target driving position respectively Location. The display position corresponding to the target driving position can refer to the correction method for road network matching given in the previous section, that is, by calculating the vertical distance from the driving position to the nearby road and comparing the direction angle, select the shortest vertical distance and the smallest direction angle deviation. The road of , is used as the matching road, and the vertical point from the driving position to the matching road is used as the display position of the driving position.

从而,根据目标行驶位置对应的采样时刻以及与目标行驶位置对应的显示位置,可以生成目标显示信息。目标显示信息可以用于指示目标行驶位置对应的采样时刻以及与目标行驶位置对应的显示位置。Therefore, the target display information can be generated according to the sampling time corresponding to the target driving position and the display position corresponding to the target driving position. The target display information may be used to indicate the sampling time corresponding to the target driving position and the display position corresponding to the target driving position.

在生成目标显示信息后,可以在相应的可视化页面显示该目标显示信息。例如,在可视化界面中、目标显示信息所对应的采样时刻以及显示位置显示车辆图标。After the target display information is generated, the target display information can be displayed on the corresponding visualization page. For example, in the visualization interface, the vehicle icon is displayed at the sampling time and display position corresponding to the target display information.

采用上述方式,基于确定出的车辆的行驶位置进行显示,以直观展现车辆的行驶轨迹,并且,由于确定出的车辆的行驶位置准确,在显示时不会出现位置跳变的情况,提升用户体验。In the above manner, display is performed based on the determined driving position of the vehicle to visually display the driving trajectory of the vehicle, and since the determined driving position of the vehicle is accurate, there will be no position jump during display, which improves user experience .

图4是根据本公开的一种实施方式提供的车辆行驶位置确定装置的框图。如图4所示,所述装置40可以包括:FIG. 4 is a block diagram of an apparatus for determining a driving position of a vehicle according to an embodiment of the present disclosure. As shown in FIG. 4, the apparatus 40 may include:

第一确定模块41,用于根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,其中,所述第一历史轨迹信息包括所述车辆行驶至所述第一目标采样时刻经过的历史行驶位置,所述目标位置信息包括所述车辆在第二目标采样时刻将要到达的位置,以及,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的若干个连续的采样时刻;The first determination module 41 is configured to determine the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, wherein the first historical trajectory information includes the vehicle traveling to the The historical driving position passed by the first target sampling time, the target position information includes the position that the vehicle will reach at the second target sampling time, and the second target sampling time is based on the first target sampling time. The next sampling moment is several consecutive sampling moments of the time starting point;

第二确定模块42,用于根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态;A second determination module 42, configured to determine whether the vehicle is in a steering state according to the first historical trajectory information and the target position information;

处理模块43,用于若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。The processing module 43 is configured to, if it is determined that the vehicle is in the steering state, use the position that the vehicle will reach at each second target sampling time in the target position information to replace the positioning device of the vehicle at each second target. The position collected at the sampling time is used to determine the driving position of the vehicle at each of the second target sampling time.

可选地,所述第一确定模块41包括:Optionally, the first determining module 41 includes:

第一确定子模块,用于从已存储的多个位置确定模型中确定出与所述第一历史轨迹信息相匹配的目标位置确定模型;a first determination submodule, configured to determine a target location determination model matching the first historical trajectory information from the stored multiple location determination models;

第二确定子模块,用于将所述第一历史轨迹信息输入至所述目标位置确定模型,以获得所述目标位置确定模型输出的所述目标位置信息。The second determination sub-module is configured to input the first historical trajectory information into the target position determination model to obtain the target position information output by the target position determination model.

可选地,每一所述位置确定模型对应有该模型在所述车辆的历史行驶中的出现概率;Optionally, each of the position determination models corresponds to the probability of occurrence of the model in the historical driving of the vehicle;

所述第一确定子模块包括:The first determination submodule includes:

第三确定子模块,用于根据所述第一历史轨迹信息,分别确定每一所述位置确定模型的均方误差;a third determination sub-module, configured to determine the mean square error of each of the position determination models according to the first historical trajectory information;

第四确定子模块,用于针对每个所述位置确定模型,将该位置确定模型的均方误差与位置确定模型在所述车辆的历史行驶中的出现概率的比值确定为该位置确定模型的模型误差;The fourth determination sub-module is configured to determine, for each of the position determination models, the ratio of the mean square error of the position determination model to the probability of occurrence of the position determination model in the historical driving of the vehicle as the value of the position determination model. model error;

第五确定子模块,用于将模型误差最小的位置确定模型确定为所述目标位置确定模型。The fifth determination sub-module is used for determining the position determination model with the smallest model error as the target position determination model.

可选地,所述装置40用于通过如下模块确定多个位置确定模型:Optionally, the device 40 is configured to determine a plurality of position determination models through the following modules:

获取模块,用于获取已存储的对应于所述车辆的第二历史轨迹信息,每一所述第二历史轨迹信息包括所述车辆在一次历史行驶过程中对应的历史行驶位置;an acquisition module, configured to acquire the stored second historical trajectory information corresponding to the vehicle, each of the second historical trajectory information includes a historical driving position corresponding to the vehicle in a historical driving process;

聚类模块,用于对所述第二历史轨迹信息进行聚类,以获得聚类结果,所述聚类结果包括轨迹类别以及各轨迹类别下的第二历史轨迹信息;a clustering module, configured to perform clustering on the second historical trajectory information to obtain a clustering result, where the clustering result includes a trajectory category and the second historical trajectory information under each trajectory category;

训练模块,用于分别将每一所述轨迹类别作为目标轨迹类别,并利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,其中,所述目标轨迹信息为所述目标轨迹类别下的第二历史轨迹信息。A training module is used to respectively use each of the trajectory categories as a target trajectory category, and use the target trajectory information to train the long-short-term memory network model to obtain a position determination model corresponding to the target trajectory category, wherein the target trajectory The information is the second historical track information under the target track category.

可选地,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的预设数量的采样时刻;Optionally, the second target sampling moment is a preset number of sampling moments that take the next sampling moment of the first target sampling moment as a time starting point;

所述训练模块用于将所述目标轨迹信息的一部分作为输入数据、并将所述输入数据在所述目标轨迹信息后预设数量的历史行驶位置作为输出数据,对长短时记忆网络模型进行训练,以获得与所述目标轨迹类别对应的位置确定模型。The training module is used to train a long-short-term memory network model with a part of the target trajectory information as input data and a preset number of historical driving positions after the target trajectory information of the input data as output data , to obtain the position determination model corresponding to the target trajectory category.

可选地,所述第二确定模块42包括:Optionally, the second determining module 42 includes:

第六确定子模块,用于根据所述第一历史轨迹信息确定所述车辆在所述第一目标采样时刻的第一行驶方向;a sixth determination sub-module, configured to determine the first driving direction of the vehicle at the first target sampling time according to the first historical trajectory information;

第七确定子模块,用于根据所述车辆在第一目标采样时刻的行驶位置以及所述目标位置信息中对应于所述第一目标采样时刻的下一采样时刻将要到达的位置,确定所述车辆的第二行驶方向;A seventh determination sub-module, configured to determine the vehicle according to the driving position of the vehicle at the first target sampling moment and the position to be reached at the next sampling moment corresponding to the first target sampling moment in the target position information the second direction of travel of the vehicle;

第一判断子模块,用于若所述第一行驶方向与所述第二行驶方向之间的夹角大于预设角度阈值,确定所述车辆处于转向状态;a first judgment submodule, configured to determine that the vehicle is in a steering state if the included angle between the first travel direction and the second travel direction is greater than a preset angle threshold;

第二判断子模块,用于若所述第一行驶方向与所述第二行驶方向之间的夹角小于或等于所述预设角度阈值,确定所述车辆未处于转向状态。A second judging submodule, configured to determine that the vehicle is not in a steering state if the included angle between the first traveling direction and the second traveling direction is less than or equal to the preset angle threshold.

可选地,若确定所述车辆处于所述转向状态,所述装置40还用于将所述第二目标采样时刻中最晚的采样时刻作为新的第一目标采样时刻,并返回所述第一确定模块41、所述第二确定模块42以及所述处理模块43,以重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。Optionally, if it is determined that the vehicle is in the steering state, the device 40 is further configured to use the latest sampling time in the second target sampling time as a new first target sampling time, and return to the first target sampling time. a determining module 41, the second determining module 42 and the processing module 43, to repeatedly execute the determining of the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, and The determining whether the vehicle is in a steering state according to the first historical track information and the target position information, and if it is determined that the vehicle is in the steering state, using the vehicle in the target position information The position to be reached at each second target sampling time replaces the position collected by the positioning device of the vehicle at each second target sampling time, so as to determine the driving position of the vehicle at each second target sampling time.

可选地,所述装置40还包括:Optionally, the device 40 further includes:

第三确定模块,用于若确定所述车辆未处于所述转向状态,根据所述车辆的定位装置采集到的位置信息,确定所述车辆在所述第一目标采样时刻的下一采样时刻的行驶位置;以及The third determining module is configured to determine, according to the position information collected by the positioning device of the vehicle, the position of the vehicle at the next sampling time of the first target sampling time, if it is determined that the vehicle is not in the steering state the driving position; and

所述装置40还用于将所述第一目标采样时刻的下一采样时刻作为新的第一目标采样时刻,并返回所述第一确定模块41、所述第二确定模块42以及所述处理模块43,以重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。The device 40 is further configured to take the next sampling time of the first target sampling time as a new first target sampling time, and return to the first determining module 41, the second determining module 42 and the processing Module 43, to repeat the execution of the first historical trajectory information of the vehicle corresponding to the first target sampling time, to determine the target position information of the vehicle, and to repeat the execution according to the first historical trajectory information and the target position information. , determine whether the vehicle is in the steering state, and if it is determined that the vehicle is in the steering state, use the position that the vehicle will reach at each second target sampling time in the target position information to replace the position of the vehicle The location collected by the positioning device at each second target sampling time is used to determine the driving position of the vehicle at each second target sampling time.

可选地,所述装置40还包括:Optionally, the device 40 further includes:

第四确定模块,用于根据所述车辆的目标行驶位置,确定与所述目标行驶位置对应的显示位置,所述目标行驶位置为所述车辆行驶过程中确定出的行驶位置中的一者;a fourth determination module, configured to determine a display position corresponding to the target driving position according to the target driving position of the vehicle, where the target driving position is one of the driving positions determined during the driving of the vehicle;

信息生成模块,用于根据所述目标行驶位置对应的采样时刻以及与所述目标行驶位置对应的显示位置,生成目标显示信息;an information generation module, configured to generate target display information according to the sampling time corresponding to the target driving position and the display position corresponding to the target driving position;

显示模块,用于显示所述目标显示信息。The display module is used for displaying the target display information.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

图5是根据一示例性实施例示出的一种电子设备的框图。如图5所示,该电子设备700可以包括:处理器701,存储器702。该电子设备700还可以包括多媒体组件703,输入/输出(I/O)接口704,以及通信组件705中的一者或多者。Fig. 5 is a block diagram of an electronic device according to an exemplary embodiment. As shown in FIG. 5 , the electronic device 700 may include: a processor 701 and a memory 702 . The electronic device 700 may also include one or more of a multimedia component 703 , an input/output (I/O) interface 704 , and a communication component 705 .

其中,处理器701用于控制该电子设备700的整体操作,以完成上述的车辆行驶位置确定方法中的全部或部分步骤。存储器702用于存储各种类型的数据以支持在该电子设备700的操作,这些数据例如可以包括用于在该电子设备700上操作的任何应用程序或方法的指令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该存储器702可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件703可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在存储器702或通过通信组件705发送。音频组件还包括至少一个扬声器,用于输出音频信号。I/O接口704为处理器701和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。通信组件705用于该电子设备700与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near FieldCommunication,简称NFC),2G、3G、4G、NB-IOT、eMTC、或其他5G等等,或它们中的一种或几种的组合,在此不做限定。因此相应的该通信组件705可以包括:Wi-Fi模块,蓝牙模块,NFC模块等等。Wherein, the processor 701 is used to control the overall operation of the electronic device 700 to complete all or part of the steps in the above-mentioned method for determining the driving position of the vehicle. The memory 702 is used to store various types of data to support operations on the electronic device 700, such data may include, for example, instructions for any application or method operating on the electronic device 700, and application-related data, Such as contact data, messages sent and received, pictures, audio, video, and so on. The memory 702 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory ( Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), read-only Memory (Read-Only Memory, ROM for short), magnetic memory, flash memory, magnetic disk or optical disk. Multimedia components 703 may include screen and audio components. Wherein the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in memory 702 or transmitted through communication component 705 . The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, and the above-mentioned other interface modules may be a keyboard, a mouse, a button, and the like. These buttons can be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or one or a combination of them , which is not limited here. Therefore, the corresponding communication component 705 may include: Wi-Fi module, Bluetooth module, NFC module and so on.

在一示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(DigitalSignal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的车辆行驶位置确定方法。In an exemplary embodiment, the electronic device 700 may be implemented by one or more Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing (Digital Signal) Processing Device (DSPD for short), Programmable Logic Device (PLD for short), Field Programmable Gate Array (FPGA for short), controller, microcontroller, microprocessor or other electronic components , which is used to execute the above-mentioned method for determining the driving position of the vehicle.

在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述的车辆行驶位置确定方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器702,上述程序指令可由电子设备700的处理器701执行以完成上述的车辆行驶位置确定方法。In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned method for determining the driving position of a vehicle are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 702 including program instructions, and the above-mentioned program instructions can be executed by the processor 701 of the electronic device 700 to complete the above-mentioned method for determining the driving position of the vehicle.

图6是根据一示例性实施例示出的一种电子设备的框图。例如,电子设备1900可以被提供为一服务器。参照图6,电子设备1900包括处理器1922,其数量可以为一个或多个,以及存储器1932,用于存储可由处理器1922执行的计算机程序。存储器1932中存储的计算机程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理器1922可以被配置为执行该计算机程序,以执行上述的车辆行驶位置确定方法。Fig. 6 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 1900 may be provided as a server. 6 , the electronic device 1900 includes a processor 1922 , which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922 . A computer program stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processor 1922 may be configured to execute the computer program to perform the above-described vehicle driving position determination method.

另外,电子设备1900还可以包括电源组件1926和通信组件1950,该电源组件1926可以被配置为执行电子设备1900的电源管理,该通信组件1950可以被配置为实现电子设备1900的通信,例如,有线或无线通信。此外,该电子设备1900还可以包括输入/输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如WindowsServerTM,Mac OS XTM,UnixTM,LinuxTM等等。In addition, the electronic device 1900 may also include a power supply assembly 1926, which may be configured to perform power management of the electronic device 1900, and a communication component 1950, which may be configured to enable communication of the electronic device 1900, eg, wired or wireless communication. Additionally, the electronic device 1900 may also include an input/output (I/O) interface 1958 . Electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, and the like.

在另一示例性实施例中,还提供了一种包括程序指令的计算机可读存储介质,该程序指令被处理器执行时实现上述的车辆行驶位置确定方法的步骤。例如,该计算机可读存储介质可以为上述包括程序指令的存储器1932,上述程序指令可由电子设备1900的处理器1922执行以完成上述的车辆行驶位置确定方法。In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, and when the program instructions are executed by a processor, the steps of the above-mentioned method for determining the driving position of a vehicle are implemented. For example, the computer-readable storage medium can be the above-mentioned memory 1932 including program instructions, and the above-mentioned program instructions can be executed by the processor 1922 of the electronic device 1900 to complete the above-mentioned method for determining the driving position of the vehicle.

在另一示例性实施例中,还提供一种计算机程序产品,该计算机程序产品包含能够由可编程的装置执行的计算机程序,该计算机程序具有当由该可编程的装置执行时用于执行上述的车辆行驶位置确定方法的代码部分。In another exemplary embodiment, there is also provided a computer program product comprising a computer program executable by a programmable apparatus, the computer program having, when executed by the programmable apparatus, for performing the above The code part of the vehicle driving position determination method.

以上结合附图详细描述了本公开的优选实施方式,但是,本公开并不限于上述实施方式中的具体细节,在本公开的技术构思范围内,可以对本公开的技术方案进行多种简单变型,这些简单变型均属于本公开的保护范围。The preferred embodiments of the present disclosure have been described above in detail with reference to the accompanying drawings. However, the present disclosure is not limited to the specific details of the above-mentioned embodiments. Various simple modifications can be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure. These simple modifications all fall within the protection scope of the present disclosure.

另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本公开对各种可能的组合方式不再另行说明。In addition, it should be noted that each specific technical feature described in the above-mentioned specific implementation manner may be combined in any suitable manner under the circumstance that there is no contradiction. In order to avoid unnecessary repetition, various possible combinations are not described in the present disclosure.

此外,本公开的各种不同的实施方式之间也可以进行任意组合,只要其不违背本公开的思想,其同样应当视为本公开所公开的内容。In addition, the various embodiments of the present disclosure can also be arbitrarily combined, as long as they do not violate the spirit of the present disclosure, they should also be regarded as the contents disclosed in the present disclosure.

Claims (12)

1.一种车辆行驶位置确定方法,其特征在于,所述方法包括:1. A method for determining the driving position of a vehicle, wherein the method comprises: 根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,其中,所述第一历史轨迹信息包括所述车辆行驶至所述第一目标采样时刻经过的历史行驶位置,所述目标位置信息包括所述车辆在第二目标采样时刻将要到达的位置,以及,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的预设数量的连续的采样时刻;Determine the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, wherein the first historical trajectory information includes the history of the vehicle traveling to the first target sampling time Driving position, the target position information includes the position that the vehicle will reach at the second target sampling time, and the second target sampling time is the time starting point with the sampling time next to the first target sampling time A preset number of consecutive sampling moments; 根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态;determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information; 若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。If it is determined that the vehicle is in the steering state, the position that the vehicle will reach at each second target sampling time in the target position information is used to replace the position collected by the vehicle's positioning device at each second target sampling time , to determine the driving position of the vehicle at each of the second target sampling moments. 2.根据权利要求1所述的方法,其特征在于,所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,包括:2 . The method according to claim 1 , wherein the determining the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time comprises: 3 . 从已存储的多个位置确定模型中确定出与所述第一历史轨迹信息相匹配的目标位置确定模型;determining a target location determination model matching the first historical trajectory information from the stored multiple location determination models; 将所述第一历史轨迹信息输入至所述目标位置确定模型,以获得所述目标位置确定模型输出的所述目标位置信息。The first historical trajectory information is input into the target position determination model to obtain the target position information output by the target position determination model. 3.根据权利要求2所述的方法,其特征在于,每一所述位置确定模型对应有该模型在所述车辆的历史行驶中的出现概率;3. The method according to claim 2, wherein each of the position determination models corresponds to the occurrence probability of the model in the historical driving of the vehicle; 所述从已存储的多个位置确定模型中确定出与所述第一历史轨迹信息相匹配的目标位置确定模型,包括:The determining a target location determination model that matches the first historical trajectory information from the stored multiple location determination models includes: 根据所述第一历史轨迹信息,分别确定每一所述位置确定模型的均方误差;according to the first historical trajectory information, respectively determining the mean square error of each of the position determination models; 针对每个所述位置确定模型,将该位置确定模型的均方误差与位置确定模型在所述车辆的历史行驶中的出现概率的比值确定为该位置确定模型的模型误差;For each of the position determination models, the ratio of the mean square error of the position determination model to the probability of occurrence of the position determination model in the historical driving of the vehicle is determined as the model error of the position determination model; 将模型误差最小的位置确定模型确定为所述目标位置确定模型。A position determination model with the smallest model error is determined as the target position determination model. 4.根据权利要求2所述的方法,其特征在于,所述多个位置确定模型通过如下方式确定:4. The method according to claim 2, wherein the plurality of position determination models are determined in the following manner: 获取已存储的对应于所述车辆的第二历史轨迹信息,每一所述第二历史轨迹信息包括所述车辆在一次历史行驶过程中对应的历史行驶位置;Obtaining stored second historical track information corresponding to the vehicle, each of the second historical track information includes a historical driving position corresponding to the vehicle in a historical driving process; 对所述第二历史轨迹信息进行聚类,以获得聚类结果,所述聚类结果包括轨迹类别以及各轨迹类别下的第二历史轨迹信息;Clustering the second historical track information to obtain a clustering result, where the clustering result includes a track category and the second historical track information under each track category; 分别将每一所述轨迹类别作为目标轨迹类别,并利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,其中,所述目标轨迹信息为所述目标轨迹类别下的第二历史轨迹信息。Taking each of the trajectory categories as a target trajectory category, and using the target trajectory information to train the long-short-term memory network model to obtain a position determination model corresponding to the target trajectory category, where the target trajectory information is the target The second historical track information under the track category. 5.根据权利要求4所述的方法,其特征在于,所述利用目标轨迹信息对长短时记忆网络模型进行训练,以获得与目标轨迹类别对应的位置确定模型,包括:5. The method according to claim 4, wherein the training of the long-short-term memory network model using the target trajectory information to obtain a position determination model corresponding to the target trajectory category, comprising: 将所述目标轨迹信息的一部分作为输入数据、并将所述输入数据在所述目标轨迹信息后预设数量的历史行驶位置作为输出数据,对长短时记忆网络模型进行训练,以获得与所述目标轨迹类别对应的位置确定模型。Taking a part of the target trajectory information as input data, and using the input data as output data with a preset number of historical driving positions after the target trajectory information, the long-short-term memory network model is trained to obtain the same value as the target trajectory information. The position determination model corresponding to the target trajectory category. 6.根据权利要求1所述的方法,其特征在于,所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,包括:6. The method according to claim 1, wherein the determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information comprises: 根据所述第一历史轨迹信息确定所述车辆在所述第一目标采样时刻的第一行驶方向;determining the first traveling direction of the vehicle at the first target sampling time according to the first historical trajectory information; 根据所述车辆在第一目标采样时刻的行驶位置以及所述目标位置信息中对应于所述第一目标采样时刻的下一采样时刻将要到达的位置,确定所述车辆的第二行驶方向;Determine the second driving direction of the vehicle according to the driving position of the vehicle at the first target sampling time and the position to be reached at the next sampling time corresponding to the first target sampling time in the target position information; 若所述第一行驶方向与所述第二行驶方向之间的夹角大于预设角度阈值,确定所述车辆处于转向状态;If the included angle between the first travel direction and the second travel direction is greater than a preset angle threshold, determine that the vehicle is in a steering state; 若所述第一行驶方向与所述第二行驶方向之间的夹角小于或等于所述预设角度阈值,确定所述车辆未处于转向状态。If the included angle between the first traveling direction and the second traveling direction is less than or equal to the preset angle threshold, it is determined that the vehicle is not in a steering state. 7.根据权利要求1所述的方法,其特征在于,若确定所述车辆处于所述转向状态,所述方法还包括:7. The method according to claim 1, wherein, if it is determined that the vehicle is in the steering state, the method further comprises: 将所述第二目标采样时刻中最晚的采样时刻作为新的第一目标采样时刻,并重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置的步骤。Taking the latest sampling time in the second target sampling time as the new first target sampling time, and repeating the process of determining the target of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time location information, and determining whether the vehicle is in a steering state according to the first historical trajectory information and the target location information, and using the target location information if it is determined that the vehicle is in the steering state The position that the vehicle will reach at each second target sampling time replaces the position collected by the vehicle's positioning device at each second target sampling time, so as to determine the driving of the vehicle at each second target sampling time location steps. 8.根据权利要求1所述的方法,其特征在于,所述方法还包括:8. The method of claim 1, wherein the method further comprises: 若确定所述车辆未处于所述转向状态,根据所述车辆的定位装置采集到的位置信息,确定所述车辆在所述第一目标采样时刻的下一采样时刻的行驶位置;以及If it is determined that the vehicle is not in the steering state, according to the position information collected by the positioning device of the vehicle, determine the driving position of the vehicle at the next sampling time of the first target sampling time; and 将所述第一目标采样时刻的下一采样时刻作为新的第一目标采样时刻,并重复执行所述根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,以及所述根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态,以及所述若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置的步骤。Taking the next sampling time of the first target sampling time as the new first target sampling time, and repeating the process of determining the target position of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time information, and determining whether the vehicle is in a steering state according to the first historical trajectory information and the target position information, and if it is determined that the vehicle is in the steering state, using the target position information The position that the vehicle will reach at each second target sampling time replaces the position collected by the positioning device of the vehicle at each second target sampling time, so as to determine the driving position of the vehicle at each second target sampling time A step of. 9.根据权利要求1-8中任一项所述的方法,其特征在于,所述方法还包括:9. The method according to any one of claims 1-8, wherein the method further comprises: 根据所述车辆的目标行驶位置,确定与所述目标行驶位置对应的显示位置,所述目标行驶位置为所述车辆行驶过程中确定出的行驶位置中的一者;determining a display position corresponding to the target driving position according to the target driving position of the vehicle, where the target driving position is one of the driving positions determined during the driving of the vehicle; 根据所述目标行驶位置对应的采样时刻以及与所述目标行驶位置对应的显示位置,生成目标显示信息;generating target display information according to the sampling time corresponding to the target driving position and the display position corresponding to the target driving position; 显示所述目标显示信息。The target display information is displayed. 10.一种车辆行驶位置确定装置,其特征在于,所述装置包括:10. A device for determining a driving position of a vehicle, wherein the device comprises: 第一确定模块,用于根据车辆对应于第一目标采样时刻的第一历史轨迹信息,确定所述车辆的目标位置信息,其中,所述第一历史轨迹信息包括所述车辆行驶至所述第一目标采样时刻经过的历史行驶位置,所述目标位置信息包括所述车辆在第二目标采样时刻将要到达的位置,以及,所述第二目标采样时刻为以所述第一目标采样时刻的下一采样时刻为时间起点的预设数量的连续的采样时刻;A first determination module, configured to determine the target position information of the vehicle according to the first historical trajectory information of the vehicle corresponding to the first target sampling time, wherein the first historical trajectory information includes the vehicle traveling to the first target location. A historical travel position passed by a target sampling time, the target position information includes the position that the vehicle will reach at the second target sampling time, and the second target sampling time is a lower value of the first target sampling time A sampling moment is a preset number of consecutive sampling moments of the time starting point; 第二确定模块,用于根据所述第一历史轨迹信息和所述目标位置信息,确定所述车辆是否处于转向状态;a second determining module, configured to determine whether the vehicle is in a steering state according to the first historical trajectory information and the target position information; 处理模块,用于若确定所述车辆处于所述转向状态,利用所述目标位置信息中所述车辆在各第二目标采样时刻将要到达的位置代替所述车辆的定位装置在各第二目标采样时刻采集到的位置,以确定所述车辆在各个所述第二目标采样时刻的行驶位置。The processing module is configured to, if it is determined that the vehicle is in the steering state, use the position that the vehicle will reach at each second target sampling time in the target position information to replace the positioning device of the vehicle at each second target sampling time The position collected at each moment is used to determine the driving position of the vehicle at each of the second target sampling moments. 11.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1-9中任一项所述方法的步骤。11. A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the steps of the method according to any one of claims 1-9 are implemented. 12.一种电子设备,其特征在于,包括:12. An electronic device, characterized in that, comprising: 存储器,其上存储有计算机程序;a memory on which a computer program is stored; 处理器,用于执行所述存储器中的所述计算机程序,以实现权利要求1-9中任一项所述方法的步骤。A processor for executing the computer program in the memory to implement the steps of the method of any one of claims 1-9.
CN201911319340.XA 2019-12-19 2019-12-19 Vehicle driving position determining method and device, storage medium and electronic equipment Active CN111016908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911319340.XA CN111016908B (en) 2019-12-19 2019-12-19 Vehicle driving position determining method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911319340.XA CN111016908B (en) 2019-12-19 2019-12-19 Vehicle driving position determining method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111016908A CN111016908A (en) 2020-04-17
CN111016908B true CN111016908B (en) 2021-04-02

Family

ID=70210606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911319340.XA Active CN111016908B (en) 2019-12-19 2019-12-19 Vehicle driving position determining method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111016908B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112428991B (en) * 2020-11-30 2022-10-04 北京车和家信息技术有限公司 Vehicle control method, device, medium, equipment and vehicle
CN115237105B (en) * 2021-04-14 2025-08-19 北京三快在线科技有限公司 Unmanned vehicle positioning abnormality detection method and device, storage medium and electronic equipment
CN113820658B (en) * 2021-08-18 2024-09-20 上海闻泰电子科技有限公司 Wireless positioning method, device, electronic device and storage medium
CN113870489B (en) * 2021-09-10 2023-02-07 摩拜(北京)信息技术有限公司 Vehicle positioning method and device and vehicle
CN115841765B (en) * 2023-02-22 2023-07-21 交通运输部科学研究院 Vehicle location blind spot monitoring method, device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016212503A1 (en) * 2015-12-08 2017-06-08 Hyundai Motor Company METHOD FOR CLASSIFYING A TARGET USING PATH DEFLECTION DATA DURING A V2V COMMUNICATION
CN107585163A (en) * 2016-07-07 2018-01-16 阿尔派株式会社 Mobile Route Generation device and mobile route generation method
CN108820042A (en) * 2018-05-25 2018-11-16 东软集团股份有限公司 A kind of automatic Pilot method and device
CN109462821A (en) * 2018-11-19 2019-03-12 东软集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of predicted position
CN109583151A (en) * 2019-02-20 2019-04-05 百度在线网络技术(北京)有限公司 The driving trace prediction technique and device of vehicle

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6507839B2 (en) * 2015-05-19 2019-05-08 株式会社デンソー Vehicle travel control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016212503A1 (en) * 2015-12-08 2017-06-08 Hyundai Motor Company METHOD FOR CLASSIFYING A TARGET USING PATH DEFLECTION DATA DURING A V2V COMMUNICATION
CN107585163A (en) * 2016-07-07 2018-01-16 阿尔派株式会社 Mobile Route Generation device and mobile route generation method
CN108820042A (en) * 2018-05-25 2018-11-16 东软集团股份有限公司 A kind of automatic Pilot method and device
CN109462821A (en) * 2018-11-19 2019-03-12 东软集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of predicted position
CN109583151A (en) * 2019-02-20 2019-04-05 百度在线网络技术(北京)有限公司 The driving trace prediction technique and device of vehicle

Also Published As

Publication number Publication date
CN111016908A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN111016908B (en) Vehicle driving position determining method and device, storage medium and electronic equipment
CN111931286B (en) Training method, device and equipment for longitudinal dynamics model
CN110675651A (en) Parking lot recommendation method and device
JP7285899B2 (en) USER IMAGE RECOGNITION MODEL UPDATE METHOD, APPARATUS, ELECTRONIC DEVICE, COMPUTER-READABLE RECORDING MEDIUM, AND COMPUTER PROGRAM
KR102054090B1 (en) Methods, devices, storage media and devices for automatically discovering gas station POIs
AU2017229678B2 (en) Online techniques for assessing user interface deployments in a network-based media system
CN110991504A (en) MOTCN-AE-based multi-dimensional time sequence abnormal value detection method and system
CN110823237B (en) Starting point binding and prediction model obtaining method, device and storage medium
CN106476952B (en) A method and device for automatically recommending gear position of a transmission vehicle
CN112129315A (en) Method and device for recommending parking lot, electronic equipment and storage medium
CN105528162A (en) Mobile terminal control method, mobile terminal control device and mobile terminal
WO2024108883A1 (en) Intelligent voice guiding method based on device state and user behavior
CN111783623A (en) Algorithm adjustment method, apparatus, apparatus and medium for identifying positioning elements
CN120526584A (en) Vehicle reaction time prediction method, program product, and electronic device
JP7212709B2 (en) MODELING ROUTE VERIFICATION METHOD, DEVICE, UNMANNED VEHICLE, AND STORAGE MEDIUM
CN110459275A (en) A Reinforcement Learning-Based Graph Model Drug Generation Method, Device and Medium
CN108604142B (en) A touch screen device operation method and touch screen device
WO2025209282A1 (en) Positioning initialization method and apparatus, storage medium and computer program product
CN111930602A (en) Performance index prediction method and device
CN112835494A (en) Voice recognition result error correction method and device
CN110413706B (en) Data processing method, data processing device, storage medium and electronic equipment
CN108111893B (en) Sliding direction estimation method for touch remote control, remote control and computer storage medium
CN114537436A (en) Control method, device and equipment of automatic driving vehicle and automatic driving vehicle
CN115962961B (en) ADAS signal display function testing system and method
US20220291002A1 (en) Method for determining road information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250227

Address after: Room E162, Room 301 to 353, No.1 Kehua Street, Tianhe District, Guangzhou City, Guangdong Province, 510640 (Office only)

Patentee after: Guangzhou binju Technology Co.,Ltd.

Country or region after: China

Address before: Hunnan rookie street Shenyang city Liaoning province 110179 No. 2

Patentee before: NEUSOFT Corp.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250507

Address after: 430000 Building 1, South Taizi Lake Innovation Valley Phase II, Wuhan Economic and Technological Development Zone, Wuhan City, Hubei Province, China. iFlytek AI Industry Acceleration Center (Ji-KDXF-B005)

Patentee after: Wuhan Weilike Technology Co.,Ltd.

Country or region after: China

Address before: Room E162, Room 301 to 353, No.1 Kehua Street, Tianhe District, Guangzhou City, Guangdong Province, 510640 (Office only)

Patentee before: Guangzhou binju Technology Co.,Ltd.

Country or region before: China