CN115755134A - Vehicle positioning method and device based on Informer network and computer - Google Patents

Vehicle positioning method and device based on Informer network and computer Download PDF

Info

Publication number
CN115755134A
CN115755134A CN202211296349.5A CN202211296349A CN115755134A CN 115755134 A CN115755134 A CN 115755134A CN 202211296349 A CN202211296349 A CN 202211296349A CN 115755134 A CN115755134 A CN 115755134A
Authority
CN
China
Prior art keywords
vehicle
informer
traffic environment
traffic
data
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.)
Pending
Application number
CN202211296349.5A
Other languages
Chinese (zh)
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.)
Xiangtan University
Original Assignee
Xiangtan University
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 Xiangtan University filed Critical Xiangtan University
Priority to CN202211296349.5A priority Critical patent/CN115755134A/en
Publication of CN115755134A publication Critical patent/CN115755134A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Traffic Control Systems (AREA)

Abstract

本发明涉及一种基于Informer网络的车辆定位方法、装置以及计算机,其方法包括判断车辆的卫星定位功能是否正常;利用高斯混合模型对车辆的交通环境图像数据进行聚类,得到多个交通环境聚类数据集;对每一类交通状况下的车辆的运动特征数据按照车辆的行驶时间顺序进行排序,得到运动特征时间序列数据集;利用多类交通状况所对应的运动特征时间序列数据集分别训练Informer神经网络模型;当车辆的卫星定位功能异常时,利用推土机距离分析法确定Informer神经网络预测模型;利用Informer神经网络预测模型预测车辆的行驶轨迹;本发明运用Informer网络实现对车辆行驶轨迹的预测,有效地解决了GPS长时间失效情况下如何精准预测车辆位置的问题。

Figure 202211296349

The invention relates to a vehicle positioning method, device and computer based on an Informer network. The method includes judging whether the satellite positioning function of the vehicle is normal; using a Gaussian mixture model to cluster the traffic environment image data of the vehicle to obtain multiple traffic environment clusters. class data set; sort the motion feature data of vehicles under each type of traffic conditions according to the order of vehicle travel time to obtain a motion feature time series data set; use the motion feature time series data sets corresponding to multiple types of traffic conditions to train separately Informer neural network model; when the satellite positioning function of the vehicle is abnormal, the bulldozer distance analysis method is used to determine the Informer neural network prediction model; the Informer neural network prediction model is used to predict the driving trajectory of the vehicle; the present invention uses the Informer network to realize the prediction of the vehicle driving trajectory , which effectively solves the problem of how to accurately predict the vehicle position when the GPS fails for a long time.

Figure 202211296349

Description

一种基于Informer网络的车辆定位方法、装置以及计算机A vehicle positioning method, device and computer based on Informer network

技术领域technical field

本发明涉及车载导航定位技术领域,具体涉及一种基于Informer网络的车辆定位方法、装置以及计算机。The invention relates to the technical field of vehicle navigation and positioning, in particular to a vehicle positioning method, device and computer based on an Informer network.

背景技术Background technique

车辆导航定位技术作为智能交通系统的关键技术之一,许多智能运输系统(ITS)应用程序和基于位置的服务(LBS)都需要使用有关车辆位置的信息。全球定位系统(GPS)运动相对定位技术作为一种高精度的定位方法被广泛应用于车辆位置定位。但传统的GPS纯运动相对定位技术在某些约束的城市道路环境,如高楼林立的路段、茂密的树林环绕的路段和隧道等,由于卫星信号被遮挡或信号不稳定时,往往会无法准确定位甚至失去定位能力,不能为车辆提供可靠、准确的定位,致车辆轨迹的缺失。Vehicle navigation and positioning technology is one of the key technologies of intelligent transportation systems, and many intelligent transportation system (ITS) applications and location-based services (LBS) need to use information about vehicle locations. Global Positioning System (GPS) motion relative positioning technology is widely used in vehicle position positioning as a high-precision positioning method. However, the traditional GPS pure motion relative positioning technology often fails to accurately locate in certain constrained urban road environments, such as road sections surrounded by tall buildings, road sections surrounded by dense forests, and tunnels, because satellite signals are blocked or unstable. It even loses the positioning ability, and cannot provide reliable and accurate positioning for the vehicle, resulting in the lack of vehicle trajectory.

发明内容Contents of the invention

为了解决车辆导航定位技术中,卫星信号被遮挡或信号不稳定时,不能够提供可靠定位等技术问题,本发明提供一种基于Informer网络的车辆定位方法、装置以及计算机。In order to solve technical problems such as inability to provide reliable positioning when satellite signals are blocked or unstable in vehicle navigation and positioning technology, the present invention provides a vehicle positioning method, device and computer based on an Informer network.

本发明解决上述技术问题的技术方案如下:The technical scheme that the present invention solves the problems of the technologies described above is as follows:

判断车辆的卫星定位功能是否正常;Determine whether the satellite positioning function of the vehicle is normal;

当所述车辆的卫星定位功能正常时,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集;其中,每类交通环境聚类数据集对应一类交通状况;When the satellite positioning function of the vehicle is normal, the Gaussian mixture model is used to cluster the traffic environment image data of the vehicle to obtain multiple types of traffic environment clustering data sets; wherein, each type of traffic environment clustering data set corresponds to a class traffic conditions;

将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集;其中,每类运动特征时间序列数据集对应一类所述交通状况;Sorting the plurality of motion feature data of the vehicles corresponding to each type of traffic condition according to the order of travel time of the vehicles to obtain multiple types of motion feature time series data sets; wherein, each type of motion feature time series data set Corresponding to a class of traffic conditions;

分别利用每类所述运动特征时间序列数据集中的运动特征时间序列数据训练Informer神经网络模型,得到多个Informer神经网络预测模型;Respectively utilize the motion characteristic time series data in each class described motion characteristic time series data set to train the Informer neural network model, obtain a plurality of Informer neural network prediction models;

当所述车辆的卫星定位功能异常时,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,并根据已确定所述车辆当前的交通状况类别选择对应的Informer神经网络预测模型;When the satellite positioning function of the vehicle is abnormal, use the bulldozer distance analysis method to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets to determine the current traffic environment image data of the vehicle. traffic status category, and select the corresponding Informer neural network prediction model according to the current traffic status category of the vehicle determined;

利用已选择的所述Informer神经网络预测模型预测所述车辆在卫星定位功能异常时的行驶轨迹。Using the selected Informer neural network prediction model to predict the vehicle's driving trajectory when the satellite positioning function is abnormal.

本发明的有益效果是:本发明通过运用Informer网络实现对车辆行驶轨迹的预测,有效地解决了卫星定位功能长时间失效情况下如何精准预测车辆位置的问题。在利用高斯混合模型与KL散度组合判断交通状况的方法中,使用推土机距离分析法代替KL散度,解决了KL散度不对称的问题,且在度量无重叠分布时,判断效果优于KL散度。通过应用Informer网络模型预测所述车辆的行驶轨迹,将Informer网络模型的自注意力蒸馏技术、概率稀疏自注意力机制以及生成式解码器作为基础网络的核心技术,提高训练速度和推理速度,减少网络的内存开销,并提高预测精度。The beneficial effects of the present invention are: the present invention realizes the prediction of the vehicle trajectory by using the Informer network, and effectively solves the problem of how to accurately predict the vehicle position when the satellite positioning function fails for a long time. In the method of judging traffic conditions using the combination of Gaussian mixture model and KL divergence, the bulldozer distance analysis method is used instead of KL divergence, which solves the problem of KL divergence asymmetry, and when measuring non-overlapping distribution, the judgment effect is better than KL Divergence. By applying the Informer network model to predict the driving trajectory of the vehicle, the Informer network model's self-attention distillation technology, probabilistic sparse self-attention mechanism and generative decoder are used as the core technology of the basic network to improve the training speed and reasoning speed, and reduce the memory overhead of the network and improve prediction accuracy.

在上述技术方案的基础上,本发明还可以做如下改进。On the basis of the above technical solutions, the present invention can also be improved as follows.

进一步,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集,包括如下步骤:Further, the Gaussian mixture model is used to cluster the traffic environment image data of the vehicle to obtain a multi-class traffic environment clustering data set, including the following steps:

在所述交通环境图像数据中选定特征向量;Selecting feature vectors in the traffic environment image data;

利用高斯混合模型计算所述特征向量在所述车辆的交通环境图像数据中的概率分布;calculating the probability distribution of the feature vector in the traffic environment image data of the vehicle by using a Gaussian mixture model;

将所有所述交通环境图像数据按照对应的所述概率分布进行聚类,得到多类所述交通环境聚类数据集。Clustering all the traffic environment image data according to the corresponding probability distributions to obtain multiple types of traffic environment clustering data sets.

进一步,利用高斯混合模型计算所述特征向量在所述车辆的交通环境图像数据中的概率分布,包括如下步骤:Further, the Gaussian mixture model is used to calculate the probability distribution of the feature vector in the traffic environment image data of the vehicle, including the following steps:

利用公式

Figure BDA0003903057310000031
计算所述车辆的交通环境图像数据中的概率分布;其中,y表示所述特征向量,p(y)表示所述概率分布,N(y|μk,∑k)表示所述高斯混合模型的第k个分量,πk表示所述高斯混合模型每个分量的权重。use the formula
Figure BDA0003903057310000031
Calculate the probability distribution in the traffic environment image data of the vehicle; wherein, y represents the feature vector, p(y) represents the probability distribution, N(y|μ k , ∑ k ) represents the Gaussian mixture model The kth component, π k represents the weight of each component of the Gaussian mixture model.

进一步,利用推土机距离分析法对所有所述交通环境聚类数据集进行分类,得到多类所述交通环境聚类数据集,包括如下步骤:Further, using the bulldozer distance analysis method to classify all the traffic environment clustering data sets to obtain multiple types of traffic environment clustering data sets, including the following steps:

利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,包括如下步骤:Using the bulldozer distance analysis method to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets, and determine the current traffic condition category of the vehicle, including the following steps:

利用推土机距离分析法,根据目标概率分布与预存概率分布之间的距离值,确定所述车辆当前的交通状况类别;其中,所述目标概率分布为所述特征向量在所述车辆当前的交通环境图像数据中的概率分布,所述预存概率分布为所述特征向量在每类所述交通环境聚类数据集中的交通环境图像数据的概率分布。Using the bulldozer distance analysis method, according to the distance value between the target probability distribution and the pre-stored probability distribution, determine the current traffic condition category of the vehicle; wherein, the target probability distribution is the feature vector in the current traffic environment of the vehicle The probability distribution in the image data, the pre-stored probability distribution is the probability distribution of the feature vector in the traffic environment image data of each type of the traffic environment clustering data set.

进一步,利用推土机距离分析法,根据目标概率分布与预存概率分布之间的距离值,确定所述车辆当前的交通状况类别,包括如下步骤:Further, using the bulldozer distance analysis method to determine the current traffic status category of the vehicle according to the distance value between the target probability distribution and the pre-stored probability distribution includes the following steps:

利用推土机距离计算公式计算所述目标概率分布与预存概率分布之间的距离值;所述推土机距离计算公式为,Using the bulldozer distance calculation formula to calculate the distance value between the target probability distribution and the pre-stored probability distribution; the bulldozer distance calculation formula is,

Figure BDA0003903057310000032
计算所述目标概率分布与预存概率分布之间的距离值;其中,s表示当前交通状况的目标概率分布,s(x)和
Figure BDA0003903057310000041
是定义在复平面Rn上的概率分布,
Figure BDA0003903057310000042
是Rn×Rn上的联合分布,
Figure BDA0003903057310000043
为s和
Figure BDA0003903057310000044
组合起来的所有联合分布γ的集合,s和
Figure BDA0003903057310000045
Figure BDA0003903057310000046
的边缘分布,样本x和样本y是从联合分布γ中采样(x,y)~y得到的,
Figure BDA0003903057310000047
是关于x,y的核密度函数,对所有t>0的情况,t=1/α,α为1,p为2,
Figure BDA0003903057310000048
表示s与
Figure BDA0003903057310000049
所对应的预存概率分布之间的距离值;
Figure BDA0003903057310000032
Calculate the distance value between the target probability distribution and the prestored probability distribution; Wherein, s represents the target probability distribution of the current traffic situation, s(x) and
Figure BDA0003903057310000041
is a probability distribution defined on the complex plane R n ,
Figure BDA0003903057310000042
is the joint distribution on R n ×R n ,
Figure BDA0003903057310000043
for s and
Figure BDA0003903057310000044
The set of all joint distributions γ combined, s and
Figure BDA0003903057310000045
yes
Figure BDA0003903057310000046
The marginal distribution of the sample x and sample y is obtained by sampling (x,y)~y from the joint distribution γ,
Figure BDA0003903057310000047
It is the kernel density function about x, y, for all t>0 cases, t=1/α, α is 1, p is 2,
Figure BDA0003903057310000048
means s with
Figure BDA0003903057310000049
The distance value between the corresponding pre-stored probability distributions;

将最小

Figure BDA00039030573100000410
所对应的当前交通状况归类为
Figure BDA00039030573100000411
类;
Figure BDA00039030573100000412
表示预存的所述车辆的交通环境图像数据所对应的交通状况类别。will be minimum
Figure BDA00039030573100000410
The corresponding current traffic conditions are classified as
Figure BDA00039030573100000411
kind;
Figure BDA00039030573100000412
Indicates the traffic condition category corresponding to the prestored traffic environment image data of the vehicle.

采用上述进一步技术方案的有益效果是,使用改进的推土机距离分析法代替KL散度,解决了KL散度不对称的问题,且在度量无重叠分布时,判断效果优于KL散度,对比一般的推土机距离距离可以在提高求解精度的情况下缩短求解时间。The beneficial effect of adopting the above-mentioned further technical solution is that the improved bulldozer distance analysis method is used instead of KL divergence, which solves the problem of KL divergence asymmetry, and when measuring non-overlapping distribution, the judgment effect is better than KL divergence, compared with general The bulldozer distance distance can reduce the solution time while improving the solution accuracy.

进一步,将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集,包括如下步骤:Further, sorting the plurality of motion feature data of the vehicles corresponding to each type of traffic condition according to the order of the vehicle's travel time to obtain a multi-type motion feature time series data set, including the following steps:

将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类初始时间序列数据集;Sorting the plurality of motion feature data of the vehicles corresponding to each type of traffic condition according to the order of the driving time of the vehicles to obtain multiple types of initial time series data sets;

去除每类所述初始时间序列数据集中的空数据以及异常数据,得到多类所述运动特征时间序列数据集。Empty data and abnormal data in each type of initial time series data set are removed to obtain multiple types of motion feature time series data sets.

进一步,利用每类所述运动特征时间序列数据集中的运动特征时间序列数据分别训练Informer神经网络模型,得到多个Informer神经网络预测模型,包括如下步骤:Further, utilize the motion characteristic time series data in each class described motion characteristic time series data set to train the Informer neural network model respectively, obtain a plurality of Informer neural network forecasting models, comprise the steps:

将每类所述运动特征时间序列数据集中的所有所述运动特征时间序列数据均进行数据归一化处理,得到多个归一化数据集;其中,每个所述归一化数据集对应一类所述交通状况。All the motion feature time series data in each type of motion feature time series data set are subjected to data normalization processing to obtain a plurality of normalized data sets; wherein, each of the normalized data sets corresponds to a Class described traffic conditions.

利用多个所述归一化数据集中的数据分别训练所述Informer神经网络模型,得到多个Informer神经网络预测模型;Utilize the data in a plurality of described normalized data sets to train described Informer neural network model respectively, obtain a plurality of Informer neural network prediction models;

利用所述归一化数据集的部分数据对所述Informer神经网络预测模型进行验证和/或测试。The Informer neural network prediction model is verified and/or tested by using part of the normalized data set.

进一步,所述车辆的运动特征数据包括车辆的行驶时间戳、航向角、俯仰角、纬度、经度、海拔高度、以及行使速度。Further, the motion feature data of the vehicle includes the vehicle's driving time stamp, heading angle, pitch angle, latitude, longitude, altitude, and driving speed.

为了解决上述技术问题,本发明还提供一种基于Informer网络的车辆定位装置,其具体技术方案如下:In order to solve the above-mentioned technical problems, the present invention also provides a vehicle positioning device based on the Informer network, and its specific technical scheme is as follows:

一种基于Informer网络的车辆定位装置,包括:A vehicle positioning device based on the Informer network, comprising:

功能判断模块,用于判断车辆的卫星定位功能是否正常;The function judging module is used to judge whether the satellite positioning function of the vehicle is normal;

模型训练模块,用于当所述车辆的卫星定位功能正常时,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集;将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集;利用每类所述运动特征时间序列数据集中的运动特征时间序列数据分别训练Informer神经网络模型,得到多个Informer神经网络预测模型;其中,每类交通环境聚类数据集对应一类交通状况;The model training module is used for clustering the traffic environment image data of the vehicle using a Gaussian mixture model when the satellite positioning function of the vehicle is normal, so as to obtain a multi-class traffic environment clustering data set; A plurality of motion feature data of the vehicle corresponding to the condition is sorted according to the order of travel time of the vehicle to obtain a multi-type motion feature time series data set; using the motion feature time series in each type of the motion feature time series data set The data are used to train the Informer neural network model separately, and multiple Informer neural network prediction models are obtained; wherein, each type of traffic environment clustering data set corresponds to a type of traffic condition;

轨迹判断模块,用于当所述车辆的卫星定位功能异常时,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,并根据已确定所述车辆当前的交通状况类别选择对应的Informer神经网络预测模型;利用已选择的所述Informer神经网络预测模型预测所述车辆在卫星定位功能异常时的行驶轨迹。A trajectory judging module, used to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets by using the bulldozer distance analysis method when the satellite positioning function of the vehicle is abnormal , determine the current traffic status category of the vehicle, and select the corresponding Informer neural network prediction model according to the current traffic status category of the vehicle; Driving trajectory in case of malfunction.

为了解决上述技术问题,本发明还提供一种基于Informer网络的车辆定位装置,其具体技术方案如下:In order to solve the above-mentioned technical problems, the present invention also provides a vehicle positioning device based on the Informer network, and its specific technical scheme is as follows:

一种计算机,包括存储器以及处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述一种基于Informer网络的车辆定位方法的步骤。A computer includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above-mentioned Informer network-based vehicle positioning method when executing the computer program.

附图说明Description of drawings

图1为本发明实施例中一种基于Informer网络的车辆定位方法的流程框图。FIG. 1 is a flowchart of a method for vehicle positioning based on an Informer network in an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

如图1所示,本实施例提供一种基于Informer网络的车辆定位方法,包括如下步骤:As shown in Figure 1, the present embodiment provides a vehicle positioning method based on the Informer network, including the following steps:

S1、判断车辆的卫星定位功能是否正常;其中,卫星定位功能的判定可以是判定GPS信号是否可用。S1. Judging whether the satellite positioning function of the vehicle is normal; wherein, the judgment of the satellite positioning function may be judging whether the GPS signal is available.

S2、当所述车辆的卫星定位功能正常时,实时采集车辆的交通环境图像数据以及车辆的运动特征数据;利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集;其中,每类交通环境聚类数据集对应一类交通状况;车辆的运动特征数据至少包括车辆的行驶时间戳t、航向角ψ、俯仰角θ、纬度B、经度L、海拔高度H、以及行使速度v。S2. When the satellite positioning function of the vehicle is normal, collect the traffic environment image data of the vehicle and the motion characteristic data of the vehicle in real time; use the Gaussian mixture model to cluster the traffic environment image data of the vehicle to obtain multiple types of traffic environments Clustering data set; wherein, each type of traffic environment clustering data set corresponds to a class of traffic conditions; the vehicle's motion feature data includes at least the vehicle's driving time stamp t, heading angle ψ, pitch angle θ, latitude B, longitude L, altitude Height H, and travel speed v.

其中,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集,包括如下步骤:Wherein, the Gaussian mixture model is used to cluster the traffic environment image data of the vehicle to obtain a multi-class traffic environment clustering data set, including the following steps:

S20、在所述车辆的交通环境图像数据中选定特征向量;S20, selecting a feature vector in the traffic environment image data of the vehicle;

S21、利用高斯混合模型计算所述特征向量在所述车辆的交通环境图像数据中的概率分布;具体步骤如下:S21. Using the Gaussian mixture model to calculate the probability distribution of the feature vector in the traffic environment image data of the vehicle; the specific steps are as follows:

利用高斯混合模型计算所述特征向量在所述车辆的交通环境图像数据

Figure BDA0003903057310000071
图像数据中的概率分布;其中,y表示所述特征向量,p(y)表示所述概率分布,N(y|μk,∑k)表示所述高斯混合模型的第k个分量,πk表示所述高斯混合模型每个分量的权重。Using a Gaussian mixture model to calculate the feature vector in the traffic environment image data of the vehicle
Figure BDA0003903057310000071
Probability distribution in the image data; wherein, y represents the feature vector, p(y) represents the probability distribution, N(y|μ k , ∑ k ) represents the kth component of the Gaussian mixture model, π k Indicates the weight of each component of the Gaussian mixture model.

S22、将所有所述车辆的交通环境图像数据按照对应的所述概率分布进行聚类,得到多类所述交通环境聚类数据集。S22. Clustering the traffic environment image data of all the vehicles according to the corresponding probability distributions to obtain multiple types of traffic environment clustering data sets.

S3、将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集。具体步骤如下:S3. Sorting the plurality of motion characteristic data of the vehicles corresponding to each type of traffic condition according to the order of travel time of the vehicles to obtain a multi-type motion characteristic time series data set. Specific steps are as follows:

S30、将每类所述运动特征时间序列数据集中的所有所述运动特征时间序列数据均进行数据归一化处理,得到多个归一化数据集;其中,每个所述归一化数据集对应一类所述交通状况。S30. Perform data normalization processing on all the motion feature time-series data in each type of motion feature time-series data set to obtain multiple normalized data sets; wherein, each of the normalized data sets Corresponding to a class of traffic conditions.

其中,数据进行归一化处理的具体计算公式如下:Among them, the specific calculation formula for normalizing the data is as follows:

Figure BDA0003903057310000072
Figure BDA0003903057310000072

式中,μ表示上述时间序列数据集中各个数据对应的均值,σ表示上述时间序列数据集中各个数据对应的标准差,x表示别指上述时间序列数据集中各个数据,x*表示时间序列数据集中各个数据经归一化后的数值;将归一化后的数值纳入归一化数据集。In the formula, μ represents the mean value corresponding to each data in the above time series data set, σ represents the standard deviation corresponding to each data in the above time series data set, x represents each data in the above time series data set, and x * represents each data in the time series data set The normalized value of the data; include the normalized value in the normalized dataset.

S31、利用多个所述归一化数据集中的数据分别训练所述Informer神经网络模型,得到多个Informer神经网络预测模型;具体地,分别选取经过归一化处理之后的时间序列数据集中80%的数据作为训练数据训练所述Informer神经网络模型,得到多个Informer神经网络预测模型。S31. Using the data in multiple normalized data sets to train the Informer neural network models respectively to obtain multiple Informer neural network prediction models; specifically, select 80% of the normalized time series data sets respectively The data is used as training data to train the Informer neural network model to obtain multiple Informer neural network prediction models.

S32、利用所述归一化数据集的部分数据对所述Informer神经网络预测模型进行验证和/或测试。选取经过归一化处理之后的时间序列数据集中10%的数据作为验证数据,选取经过归一化处理之后的时间序列数据集中剩余10%数据作为测试数据,验证数据用于验证已经训练过的Informer神经网络模型,测试数据用于测试已经训练过的Informer神经网络模型的测试准确性。S32. Verify and/or test the Informer neural network prediction model by using part of the data in the normalized data set. Select 10% of the data in the time series data set after normalization processing as the verification data, and select the remaining 10% of the data in the time series data set after normalization processing as the test data, and the verification data is used to verify the trained Informer Neural network model, the test data is used to test the test accuracy of the trained Informer neural network model.

S4、利用每类所述运动特征时间序列数据集中的运动特征时间序列数据分别训练Informer神经网络模型,得到多个Informer神经网络预测模型;S4. Using the motion feature time series data in each type of motion feature time series data set to train the Informer neural network model respectively to obtain multiple Informer neural network prediction models;

数据经过上一步处理后,设置输入序列x1,x1,...,xT,序列为多维数据,包含车辆的行驶时间戳t、航向角ψ、俯仰角θ、纬度B、经度L、海拔高度H、以及行使速度v,初始参数设置如下:编码器输,维度为7、编码器输入维度为7、输出维度为7、模型尺寸为512、编码器层数为2、解码器层数为1、激活函数为gelu函数、学习速率为0.0001输入训练数据的批大小为32,模型训练过程如下:After the data has been processed in the previous step, set the input sequence x 1 ,x 1 ,...,x T . The sequence is multi-dimensional data, including the vehicle's driving time stamp t, heading angle ψ, pitch angle θ, latitude B, longitude L, Altitude H, and driving speed v, the initial parameters are set as follows: encoder input dimension is 7, encoder input dimension is 7, output dimension is 7, model size is 512, encoder layer number is 2, decoder layer number is 1, the activation function is the gelu function, and the learning rate is 0.0001. The batch size of the input training data is 32. The model training process is as follows:

模型输入由经过滤波平滑的特征标量

Figure BDA0003903057310000081
局部时间戳PE和全局时间戳SE组成;转换公式为:The model input consists of the filtered smoothed feature scalar
Figure BDA0003903057310000081
Composed of local timestamp PE and global timestamp SE; the conversion formula is:

Figure BDA0003903057310000082
Figure BDA0003903057310000082

式中:i∈{1,...,Lx},α为平衡标量映射和局部/全局嵌入之间大小的因子。where: i ∈ {1,...,L x }, α is a factor that balances the size between scalar mapping and local/global embedding.

特征标量所对应公式中的

Figure BDA0003903057310000083
具体操作为通过Conv1D将i维转换为512维向量。局部时间戳采用Transformer中的PositionalEmbedding,计算公式为:In the formula corresponding to the characteristic scalar
Figure BDA0003903057310000083
The specific operation is to convert the i dimension into a 512-dimensional vector through Conv1D. The local timestamp adopts PositionalEmbedding in Transformer, and the calculation formula is:

Figure BDA0003903057310000084
Figure BDA0003903057310000084

Figure BDA0003903057310000085
Figure BDA0003903057310000085

其中dmodel为输入的特征维度,全局时间戳使用一个全连接层将输入的时间戳映射到512维的Embedding。Where d model is the feature dimension of the input, and the global timestamp uses a fully connected layer to map the input timestamp to a 512-dimensional Embedding.

生成编码器的具体方法包括:Specific methods for generating encoders include:

统一转换后的输入

Figure BDA0003903057310000091
输入到模型的编码器Encoder部分,首先在注意力模块对其进行稀疏性自注意力计算,每个Key只关注u个主要Query,Q为查询向量,K为键向量,V为值向量,计算公式如下所示:Unity Transformed Input
Figure BDA0003903057310000091
Input to the Encoder part of the model, first perform sparse self-attention calculation on it in the attention module, each Key only pays attention to u main Query, Q is the query vector, K is the key vector, V is the value vector, and the calculation The formula looks like this:

Figure BDA0003903057310000092
Figure BDA0003903057310000092

其中,

Figure BDA0003903057310000093
是大小与Q相同的稀疏矩阵且其只包含稀疏度量M(qi,K)下的Top-u个Query。加入一个采样因子c,设置u=clnLq。首先,为每个Query都随机采样c×lnL个Key,并计算每个Query的稀疏性得分M(qi,K)。Qi,Ki,Vi分别为Q,K,V的第i行,d为qi的维度,而Lk=Lq=L,稀疏度量M(qi,K)的近似计算公式为:in,
Figure BDA0003903057310000093
is a sparse matrix with the same size as Q and it only contains Top-u queries under the sparse metric M(q i ,K). Add a sampling factor c, set u = clnLq. First, c×lnL keys are randomly sampled for each query, and the sparsity score M(q i ,K) of each query is calculated. Q i , K i , V i are the i-th row of Q, K, V respectively, d is the dimension of q i , and L k =L q =L, the approximate calculation formula of the sparse measure M(q i ,K) is :

Figure BDA0003903057310000094
Figure BDA0003903057310000094

然后,选择稀疏性得分最高的N个Query,N默认为c×lnL,只计算N个Query和Key的点积结果,其余的L-N个Query不计算。Then, select the N queries with the highest sparsity score, and N defaults to c×lnL, and only calculate the dot product results of N queries and Key, and the remaining L-N queries are not calculated.

经过稀疏性自注意力计算后的输出存在V值的冗余组合,因此需要蒸馏操作对具有主要特征的优势特征赋予更高的权重,并在下一层生成聚焦的自注意力特征图。具体通过四层Convld卷积层和一个最大池化层来实现。The output after sparse self-attention calculation has a redundant combination of V values, so the distillation operation is required to give higher weight to the dominant features with the main features, and generate a focused self-attention feature map in the next layer. Specifically, it is realized by four layers of Convld convolutional layers and a maximum pooling layer.

经过多次稀疏性自注意力层计算以及蒸馏操作的组合之后,得到Informer神经网络模型的解码器Decoder的输入。而对于解码器Decoder,Informer神经网络模型使用的Decoder和传统的Decoder类似,为了让算法生成长序列的输出,Decoder需要如下输入:After multiple sparse self-attention layer calculations and a combination of distillation operations, the input of the decoder Decoder of the Informer neural network model is obtained. As for the decoder Decoder, the Decoder used by the Informer neural network model is similar to the traditional Decoder. In order for the algorithm to generate a long sequence of outputs, the Decoder needs the following inputs:

Figure BDA0003903057310000095
Figure BDA0003903057310000095

其中,

Figure BDA0003903057310000101
为输入Decoder的原始序列,
Figure BDA0003903057310000102
为需要预测序列(用0填充),随后将序列通过一个基于掩码的稀疏性自注意力层,它可以防止每个位置都关注未来的位置,从而避免了自回归。将该层的输出以及Encoder的输出再传递给一个多头注意力层,经过一次计算输出结果。最终通过一个全连接层,得到最后的输出。将预测得到的输出和真实值进行损失函数Loss计算,损失函数采用MSE,计算公式如下:in,
Figure BDA0003903057310000101
For the original sequence input to Decoder,
Figure BDA0003903057310000102
For the sequence to be predicted (filled with 0s), the sequence is then passed through a mask-based sparsity self-attention layer, which prevents each position from focusing on future positions, thereby avoiding autoregression. The output of this layer and the output of the Encoder are passed to a multi-head attention layer, and the output result is calculated once. Finally, through a fully connected layer, the final output is obtained. Calculate the loss function Loss between the predicted output and the actual value. The loss function uses MSE, and the calculation formula is as follows:

Figure BDA0003903057310000103
Figure BDA0003903057310000103

其中,n为样本数,yi为真实数据,

Figure BDA0003903057310000104
为预测数据。不断迭代,直至训练条件终止,最终生成需要的模型。其中,训练条件终止具体为达到模型迭代次数或因MSE不下降而触发早停机制,最后得到损失函数最小的Informer预测模型。Among them, n is the number of samples, y i is the real data,
Figure BDA0003903057310000104
for forecast data. Continue to iterate until the training conditions are terminated, and finally generate the required model. Among them, the termination of the training condition is specifically to reach the number of model iterations or trigger the early stop mechanism because the MSE does not decrease, and finally obtain the Informer prediction model with the smallest loss function.

S5、当所述车辆的卫星定位功能异常时,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,并根据已确定所述车辆当前的交通状况类别选择对应的Informer神经网络预测模型。S5. When the satellite positioning function of the vehicle is abnormal, use the bulldozer distance analysis method to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets, and determine the The current traffic condition category of the vehicle, and select the corresponding Informer neural network prediction model according to the determined current traffic condition category of the vehicle.

具体步骤如下:利用推土机距离分析法,根据目标概率分布与预存概率分布之间的距离值,确定所述车辆当前的交通状况类别;其中,所述目标概率分布为所述特征向量在所述车辆当前的交通环境图像数据中的概率分布,所述预存概率分布为所述特征向量在每类所述交通环境聚类数据集中的交通环境图像数据的概率分布。The specific steps are as follows: use the bulldozer distance analysis method to determine the current traffic status category of the vehicle according to the distance value between the target probability distribution and the pre-stored probability distribution; The probability distribution in the current traffic environment image data, the pre-stored probability distribution is the probability distribution of the feature vector in the traffic environment image data of each type of the traffic environment clustering data set.

其中,利用推土机距离分析法,根据目标概率分布与预存概率分布之间的距离值,确定所述车辆当前的交通状况类别,包括如下步骤:Wherein, the bulldozer distance analysis method is used to determine the current traffic status category of the vehicle according to the distance value between the target probability distribution and the pre-stored probability distribution, including the following steps:

利用推土机距离计算公式Utilize the bulldozer distance calculation formula

Figure BDA0003903057310000105
计算所述目标概率分布与预存概率分布之间的距离值;其中,s表示当前交通状况的目标概率分布,s(x)和
Figure BDA0003903057310000111
是定义在复平面Rn上的概率分布,
Figure BDA0003903057310000112
是Rn×Rn上的联合分布,
Figure BDA0003903057310000113
为s和
Figure BDA0003903057310000114
组合起来的所有联合分布γ的集合,s和
Figure BDA0003903057310000115
Figure BDA0003903057310000116
的边缘分布,样本x和样本y是从联合分布γ中采样(x,y)~y得到的,
Figure BDA0003903057310000117
是关于x,y的核密度函数,对所有t>0的情况,该函数是正定的,在实际求解过程中一般令t=1/α,本发明中α的经验值为1,p的经验值为2,
Figure BDA0003903057310000118
表示s与
Figure BDA0003903057310000119
所对应的预存概率分布之间的距离值;
Figure BDA0003903057310000105
Calculate the distance value between the target probability distribution and the prestored probability distribution; Wherein, s represents the target probability distribution of the current traffic situation, s(x) and
Figure BDA0003903057310000111
is a probability distribution defined on the complex plane R n ,
Figure BDA0003903057310000112
is the joint distribution on R n ×R n ,
Figure BDA0003903057310000113
for s and
Figure BDA0003903057310000114
The set of all joint distributions γ combined, s and
Figure BDA0003903057310000115
yes
Figure BDA0003903057310000116
The marginal distribution of the sample x and sample y is obtained by sampling (x,y)~y from the joint distribution γ,
Figure BDA0003903057310000117
Be about x, the kernel density function of y, to all t>0 situation, this function is positive definite, generally make t=1/α in the actual solution process, the empirical value of α among the present invention is 1, the empirical value of p value is 2,
Figure BDA0003903057310000118
means s with
Figure BDA0003903057310000119
The distance value between the corresponding pre-stored probability distributions;

将最小

Figure BDA00039030573100001110
所对应的当前交通状况归类为
Figure BDA00039030573100001111
类;
Figure BDA00039030573100001112
表示预存的所述车辆的交通环境图像数据所对应的交通状况类别。
Figure BDA00039030573100001113
分别为
Figure BDA00039030573100001114
以及
Figure BDA00039030573100001115
Figure BDA00039030573100001116
表示低复杂度交通状况类的预存概率分布,
Figure BDA00039030573100001117
表示中复杂度交通状况类的预存概率分布,
Figure BDA00039030573100001118
表示高复杂度交通状况类的预存概率分布。当车辆所处交通环境发生变化时,这段时间内收集的车辆运动特征数据将会被打包并标识,归类在与之对应的交通状况的车辆运动特征数据集中。will be minimum
Figure BDA00039030573100001110
The corresponding current traffic conditions are classified as
Figure BDA00039030573100001111
kind;
Figure BDA00039030573100001112
Indicates the traffic condition category corresponding to the prestored traffic environment image data of the vehicle.
Figure BDA00039030573100001113
respectively
Figure BDA00039030573100001114
as well as
Figure BDA00039030573100001115
Figure BDA00039030573100001116
Represents the pre-stored probability distribution of low-complexity traffic condition classes,
Figure BDA00039030573100001117
Represents the pre-stored probability distribution of medium-complexity traffic condition classes,
Figure BDA00039030573100001118
Represents a pre-stored probability distribution for a class of high-complexity traffic conditions. When the traffic environment where the vehicle is in changes, the vehicle movement characteristic data collected during this period will be packaged and marked, and classified into the vehicle movement characteristic data set corresponding to the traffic condition.

S6、利用已选择的所述Informer神经网络预测模型预测所述车辆在卫星定位功能异常时的行驶轨迹。S6. Using the selected Informer neural network prediction model to predict the driving trajectory of the vehicle when the satellite positioning function is abnormal.

本发明实施例通过运用Informer网络实现对车辆行驶轨迹的预测,有效地解决了卫星定位功能长时间失效情况下如何精准预测车辆位置的问题。在利用高斯混合模型与KL散度组合判断交通状况的方法中,使用改进型推土机距离分析法代替KL散度,解决了KL散度不对称的问题,且在度量无重叠分布时,判断效果优于KL散度,对比一般的推土机距离方法,本发明实施例所采用的改进型推土机距离方法可以在提高求解精度的情况下缩短求解时间。通过应用Informer网络模型预测所述车辆的行驶轨迹,将Informer网络模型的自注意力蒸馏技术、概率稀疏自注意力机制以及生成式解码器作为基础网络的核心技术,提高训练速度和推理速度,减少网络的内存开销,并提高预测精度。The embodiment of the present invention uses the Informer network to realize the prediction of the vehicle trajectory, effectively solving the problem of how to accurately predict the vehicle position when the satellite positioning function fails for a long time. In the method of judging traffic conditions using the combination of Gaussian mixture model and KL divergence, the improved bulldozer distance analysis method is used instead of KL divergence, which solves the problem of KL divergence asymmetry, and the judgment effect is excellent when measuring non-overlapping distributions. For the KL divergence, compared with the general bulldozer distance method, the improved bulldozer distance method adopted in the embodiment of the present invention can shorten the solution time while improving the solution accuracy. By applying the Informer network model to predict the driving trajectory of the vehicle, the Informer network model's self-attention distillation technology, probabilistic sparse self-attention mechanism and generative decoder are used as the core technology of the basic network to improve the training speed and reasoning speed, and reduce the memory overhead of the network and improve prediction accuracy.

实施例2Example 2

基于实施例1,本实施例提供一种基于Informer网络的车辆定位装置,包括:Based on Embodiment 1, this embodiment provides a vehicle positioning device based on the Informer network, including:

功能判断模块,用于判断车辆的卫星定位功能是否正常;The function judging module is used to judge whether the satellite positioning function of the vehicle is normal;

模型训练模块,用于当所述车辆的卫星定位功能正常时,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集;将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集;利用每类所述运动特征时间序列数据集中的运动特征时间序列数据分别训练Informer神经网络模型,得到多个Informer神经网络预测模型;其中,每类交通环境聚类数据集对应一类交通状况;The model training module is used for clustering the traffic environment image data of the vehicle using a Gaussian mixture model when the satellite positioning function of the vehicle is normal, so as to obtain a multi-class traffic environment clustering data set; A plurality of motion feature data of the vehicle corresponding to the condition is sorted according to the order of travel time of the vehicle to obtain a multi-type motion feature time series data set; using the motion feature time series in each type of the motion feature time series data set The data are used to train the Informer neural network model separately, and multiple Informer neural network prediction models are obtained; wherein, each type of traffic environment clustering data set corresponds to a type of traffic condition;

轨迹判断模块,用于当所述车辆的卫星定位功能异常时,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,并根据已确定所述车辆当前的交通状况类别选择对应的Informer神经网络预测模型;利用已选择的所述Informer神经网络预测模型预测所述车辆在卫星定位功能异常时的行驶轨迹。本实施例中,功能判断模块、模型训练模块以及轨迹判断模块可以是计算机功能系统模块也可以是具备对应功能的具体计算机硬件或者是具备对应功能的具体计算机。A trajectory judging module, used to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets by using the bulldozer distance analysis method when the satellite positioning function of the vehicle is abnormal , determine the current traffic status category of the vehicle, and select the corresponding Informer neural network prediction model according to the current traffic status category of the vehicle; Driving trajectory in case of malfunction. In this embodiment, the function judging module, the model training module and the trajectory judging module may be computer functional system modules or specific computer hardware with corresponding functions or specific computers with corresponding functions.

本发明实施例运用Informer网络实现对车辆行驶轨迹的预测,有效地解决了GPS长时间失效情况下如何精准预测车辆位置的问题;同时,采用GMM和IMP-Wasserstein距离的方法,能够分类出不同的交通状况,目的就是将训练好的模型按不同的交通状况进行区分,在GPS不可用时,根据当前车辆所处交通环境选取对应模型进行预测能够大大提高准确率。其中,GMM表示高斯混合模型,Wasserstein距离为Wasserstein Distance也称为推土机距离,即Earth Mover’s distance,EMD。IMP-Wasserstein为改进型推土机距离,其IMP-Wasserstein的具体计算公式参见实施例1中的推土机距离计算公式。利用采用Informer网络的自注意力蒸馏技术、概率稀疏自注意力机制以及生成式解码器作为基础网络的核心技术,提高训练速度和推理速度,减少网络的内存开销,并提高预测精度。本发明可用于辅助车辆定位,提高车辆在复杂环境下的定位能力。The embodiment of the present invention uses the Informer network to realize the prediction of the vehicle trajectory, effectively solving the problem of how to accurately predict the vehicle position when the GPS fails for a long time; at the same time, using the method of GMM and IMP-Wasserstein distance, it is possible to classify different vehicles. Traffic conditions, the purpose is to distinguish the trained model according to different traffic conditions. When GPS is unavailable, selecting the corresponding model according to the current traffic environment of the vehicle for prediction can greatly improve the accuracy rate. Among them, GMM represents the Gaussian mixture model, and the Wasserstein distance is the Wasserstein Distance, also known as the bulldozer distance, that is, Earth Mover’s distance, EMD. IMP-Wasserstein is an improved bulldozer distance, and the specific calculation formula of IMP-Wasserstein is referred to the bulldozer distance calculation formula in Embodiment 1. Using the self-attention distillation technology of the Informer network, the probability sparse self-attention mechanism and the generative decoder as the core technology of the basic network, the training speed and inference speed are improved, the memory overhead of the network is reduced, and the prediction accuracy is improved. The invention can be used to assist vehicle positioning and improve the positioning ability of the vehicle in complex environments.

实施例3Example 3

基于实施例1,本实施例提供一种计算机,包括存储器以及处理器,存储器存储有计算机程序,所述处理器执行所述计算机程序时实现实施例1中的一种基于Informer网络的车辆定位方法的步骤。本实施例中的存储器可以是计算机内部存储器、计算机外部存储设备、存储硬盘、移动存储装置以及云存储器等;通过将一种基于Informer网络的车辆定位方法利用计算机程序实现,提高了运算效率。Based on Embodiment 1, this embodiment provides a computer, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, a vehicle positioning method based on the Informer network in Embodiment 1 is implemented A step of. The memory in this embodiment can be computer internal memory, computer external storage device, storage hard disk, mobile storage device, cloud storage, etc.; by implementing a vehicle positioning method based on the Informer network with a computer program, the computing efficiency is improved.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the concept and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (10)

1.一种基于Informer网络的车辆定位方法,其特征在于,包括如下步骤:1. a vehicle location method based on Informer network, is characterized in that, comprises the steps: 判断车辆的卫星定位功能是否正常;Determine whether the satellite positioning function of the vehicle is normal; 当所述车辆的卫星定位功能正常时,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集;其中,每类交通环境聚类数据集对应一类交通状况;When the satellite positioning function of the vehicle is normal, the Gaussian mixture model is used to cluster the traffic environment image data of the vehicle to obtain multiple types of traffic environment clustering data sets; wherein, each type of traffic environment clustering data set corresponds to a class traffic conditions; 将每类所述交通状况所对应的多个所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集;其中,每类运动特征时间序列数据集对应一类所述交通状况;Sorting the plurality of motion characteristic data of the plurality of vehicles corresponding to each type of traffic condition according to the order of travel time of the vehicles to obtain a multi-type motion feature time series data set; wherein, each type of motion feature time series The data set corresponds to a class of said traffic conditions; 分别利用每类所述运动特征时间序列数据集中的运动特征时间序列数据训练Informer神经网络模型,得到多个Informer神经网络预测模型;Respectively utilize the motion characteristic time series data in each class described motion characteristic time series data set to train the Informer neural network model, obtain a plurality of Informer neural network prediction models; 当所述车辆的卫星定位功能异常时,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,并根据已确定所述车辆当前的交通状况类别选择对应的Informer神经网络预测模型;When the satellite positioning function of the vehicle is abnormal, use the bulldozer distance analysis method to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets to determine the current traffic environment image data of the vehicle. traffic status category, and select the corresponding Informer neural network prediction model according to the current traffic status category of the vehicle determined; 利用已选择的所述Informer神经网络预测模型预测所述车辆在卫星定位功能异常时的行驶轨迹。Using the selected Informer neural network prediction model to predict the vehicle's driving trajectory when the satellite positioning function is abnormal. 2.根据权利要求1所述的基于Informer网络的车辆定位方法,其特征在于,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集,包括如下步骤:2. the vehicle location method based on Informer network according to claim 1, is characterized in that, utilizes Gaussian mixture model to carry out clustering to the traffic environment image data of described vehicle, obtains multiclass traffic environment clustering dataset, comprises as follows step: 在所述交通环境图像数据中选定特征向量;Selecting feature vectors in the traffic environment image data; 利用高斯混合模型计算所述特征向量在所述交通环境图像数据中的概率分布;Using a Gaussian mixture model to calculate the probability distribution of the feature vector in the traffic environment image data; 将所有所述交通环境图像数据按照对应的所述概率分布进行聚类,得到多类所述交通环境聚类数据集。Clustering all the traffic environment image data according to the corresponding probability distributions to obtain multiple types of traffic environment clustering data sets. 3.根据权利要求2所述的基于Informer网络的车辆定位方法,其特征在于,利用高斯混合模型计算所述特征向量在所述车辆的交通环境图像数据中的概率分布,包括如下步骤:3. the vehicle location method based on Informer network according to claim 2, is characterized in that, utilizes Gaussian mixture model to calculate the probability distribution of described feature vector in the traffic environment image data of described vehicle, comprises the steps: 利用公式
Figure FDA0003903057300000021
计算所述车辆的交通环境图像数据中的概率分布;其中,y表示所述特征向量,p(y)表示所述概率分布,N(y|μk,∑k)表示所述高斯混合模型的第k个分量,πk表示所述高斯混合模型每个分量的权重。
use the formula
Figure FDA0003903057300000021
Calculate the probability distribution in the traffic environment image data of the vehicle; wherein, y represents the feature vector, p(y) represents the probability distribution, N(y|μ k , ∑ k ) represents the Gaussian mixture model The kth component, π k represents the weight of each component of the Gaussian mixture model.
4.根据权利要求2所述的一种基于Informer网络的车辆定位方法,其特征在于,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,包括如下步骤:4. a kind of vehicle positioning method based on Informer network according to claim 2, is characterized in that, utilizes bulldozer distance analysis method with the current traffic environment image data of described vehicle and the described traffic environment clustering data set of multiple classes The traffic environment image data is compared to determine the current traffic condition category of the vehicle, including the following steps: 利用推土机距离分析法,根据目标概率分布与预存概率分布之间的距离值,确定所述车辆当前的交通状况类别;其中,所述目标概率分布为所述特征向量在所述车辆当前的交通环境图像数据中的概率分布,所述预存概率分布为所述特征向量在每类所述交通环境聚类数据集中的交通环境图像数据的概率分布。Using the bulldozer distance analysis method, according to the distance value between the target probability distribution and the pre-stored probability distribution, determine the current traffic condition category of the vehicle; wherein, the target probability distribution is the feature vector in the current traffic environment of the vehicle The probability distribution in the image data, the pre-stored probability distribution is the probability distribution of the feature vector in the traffic environment image data of each type of the traffic environment clustering data set. 5.根据权利要求4所述的基于Informer网络的车辆定位方法,其特征在于,利用推土机距离分析法,根据目标概率分布与预存概率分布之间的距离值,确定所述车辆当前的交通状况类别,包括如下步骤:5. the vehicle location method based on Informer network according to claim 4, is characterized in that, utilizes bulldozer distance analysis method, according to the distance value between target probability distribution and pre-stored probability distribution, determine the current traffic condition category of described vehicle , including the following steps: 利用推土机距离计算公式计算所述目标概率分布与预存概率分布之间的距离值;所述推土机距离计算公式为,Using the bulldozer distance calculation formula to calculate the distance value between the target probability distribution and the pre-stored probability distribution; the bulldozer distance calculation formula is,
Figure FDA0003903057300000022
Figure FDA0003903057300000022
其中,s表示当前交通状况的目标概率分布,s(x)和
Figure FDA0003903057300000031
是定义在复平面Rn上的概率分布,
Figure FDA0003903057300000032
是Rn×Rn上的联合分布,
Figure FDA0003903057300000033
为s和
Figure FDA0003903057300000034
组合起来的所有联合分布γ的集合,s和
Figure FDA0003903057300000035
Figure FDA0003903057300000036
的边缘分布,样本x和样本y是从联合分布γ中采样(x,y)~y得到的,
Figure FDA0003903057300000037
是关于x,y的核密度函数,对所有t>0的情况,t=1/α,α为1,p为2,
Figure FDA0003903057300000038
表示s与
Figure FDA0003903057300000039
所对应的预存概率分布之间的距离值;
Among them, s represents the target probability distribution of the current traffic situation, s(x) and
Figure FDA0003903057300000031
is a probability distribution defined on the complex plane R n ,
Figure FDA0003903057300000032
is the joint distribution on R n ×R n ,
Figure FDA0003903057300000033
for s and
Figure FDA0003903057300000034
The set of all joint distributions γ combined, s and
Figure FDA0003903057300000035
yes
Figure FDA0003903057300000036
The marginal distribution of the sample x and sample y is obtained by sampling (x,y)~y from the joint distribution γ,
Figure FDA0003903057300000037
It is the kernel density function about x, y, for all t>0 cases, t=1/α, α is 1, p is 2,
Figure FDA0003903057300000038
means s with
Figure FDA0003903057300000039
The distance value between the corresponding pre-stored probability distributions;
将最小
Figure FDA00039030573000000310
所对应的当前交通状况归类为
Figure FDA00039030573000000311
类;
Figure FDA00039030573000000312
表示预存的所述车辆的交通环境图像数据所对应的交通状况类别。
will be minimum
Figure FDA00039030573000000310
The corresponding current traffic conditions are classified as
Figure FDA00039030573000000311
kind;
Figure FDA00039030573000000312
Indicates the traffic condition category corresponding to the prestored traffic environment image data of the vehicle.
6.根据权利要求1所述的基于Informer网络的车辆定位方法,其特征在于,将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集,包括如下步骤:6. The vehicle positioning method based on the Informer network according to claim 1, wherein a plurality of motion characteristic data of the vehicles corresponding to the traffic conditions of each type are sorted according to the order of travel time of the vehicles , to obtain a multi-class motion feature time series data set, including the following steps: 将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类初始时间序列数据集;Sorting the plurality of motion feature data of the vehicles corresponding to each type of traffic condition according to the order of the driving time of the vehicles to obtain multiple types of initial time series data sets; 去除每类所述初始时间序列数据集中的空数据以及异常数据,得到多类所述运动特征时间序列数据集。Empty data and abnormal data in each type of initial time series data set are removed to obtain multiple types of motion feature time series data sets. 7.根据权利要求6所述的基于Informer网络的车辆定位方法,其特征在于,利用每类所述运动特征时间序列数据集中的运动特征时间序列数据分别训练Informer神经网络模型,得到多个Informer神经网络预测模型,包括如下步骤:7. the vehicle positioning method based on Informer network according to claim 6, is characterized in that, utilizes the motion feature time-series data in each class described motion feature time-series data set to train Informer neural network model respectively, obtains a plurality of Informer neural networks The network prediction model includes the following steps: 将每类所述运动特征时间序列数据集中的所有所述运动特征时间序列数据均进行数据归一化处理,得到多个归一化数据集;其中,每个所述归一化数据集对应一类所述交通状况;All the motion feature time series data in each type of motion feature time series data set are subjected to data normalization processing to obtain a plurality of normalized data sets; wherein, each of the normalized data sets corresponds to a traffic conditions as described in this category; 利用多个所述归一化数据集中的数据分别训练所述Informer神经网络模型,得到多个Informer神经网络预测模型;Utilize the data in a plurality of described normalized data sets to train described Informer neural network model respectively, obtain a plurality of Informer neural network prediction models; 利用所述归一化数据集的部分数据对所述Informer神经网络预测模型进行验证和/或测试。The Informer neural network prediction model is verified and/or tested by using part of the normalized data set. 8.根据权利要求1所述的基于Informer网络的车辆定位方法,其特征在于,所述车辆的运动特征数据包括车辆的行驶时间戳、航向角、俯仰角、纬度、经度、海拔高度、以及行使速度。8. the vehicle location method based on Informer network according to claim 1, is characterized in that, the motion feature data of described vehicle comprises the running time stamp of vehicle, course angle, pitch angle, latitude, longitude, altitude and the travel time stamp. speed. 9.一种基于Informer网络的车辆定位装置,其特征在于,包括:9. A vehicle positioning device based on the Informer network, characterized in that it comprises: 功能判断模块,用于判断车辆的卫星定位功能是否正常;The function judging module is used to judge whether the satellite positioning function of the vehicle is normal; 模型训练模块,用于当所述车辆的卫星定位功能正常时,利用高斯混合模型对所述车辆的交通环境图像数据进行聚类,得到多类交通环境聚类数据集;将每类所述交通状况所对应的所述车辆的多个运动特征数据按照所述车辆的行驶时间顺序进行排序,得到多类运动特征时间序列数据集;利用每类所述运动特征时间序列数据集中的运动特征时间序列数据分别训练Informer神经网络模型,得到多个Informer神经网络预测模型;其中,每类交通环境聚类数据集对应一类交通状况;The model training module is used for clustering the traffic environment image data of the vehicle using a Gaussian mixture model when the satellite positioning function of the vehicle is normal, so as to obtain a multi-class traffic environment clustering data set; A plurality of motion feature data of the vehicle corresponding to the condition is sorted according to the order of travel time of the vehicle to obtain a multi-type motion feature time series data set; using the motion feature time series in each type of the motion feature time series data set The data are used to train the Informer neural network model separately, and multiple Informer neural network prediction models are obtained; wherein, each type of traffic environment clustering data set corresponds to a type of traffic condition; 轨迹判断模块,用于当所述车辆的卫星定位功能异常时,利用推土机距离分析法将所述车辆当前的交通环境图像数据与多类所述交通环境聚类数据集中的交通环境图像数据进行对比,确定所述车辆当前的交通状况类别,并根据已确定所述车辆当前的交通状况类别选择对应的Informer神经网络预测模型;利用已选择的所述Informer神经网络预测模型预测所述车辆在卫星定位功能异常时的行驶轨迹。A trajectory judging module, used to compare the current traffic environment image data of the vehicle with the traffic environment image data in multiple types of traffic environment clustering data sets by using the bulldozer distance analysis method when the satellite positioning function of the vehicle is abnormal , determine the current traffic status category of the vehicle, and select the corresponding Informer neural network prediction model according to the current traffic status category of the vehicle; Driving trajectory in case of malfunction. 10.一种计算机,其特征在于,包括存储器以及处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-8任意一项所述方法的步骤。10. A computer, characterized by comprising a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1-8 when executing the computer program.
CN202211296349.5A 2022-10-21 2022-10-21 Vehicle positioning method and device based on Informer network and computer Pending CN115755134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211296349.5A CN115755134A (en) 2022-10-21 2022-10-21 Vehicle positioning method and device based on Informer network and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211296349.5A CN115755134A (en) 2022-10-21 2022-10-21 Vehicle positioning method and device based on Informer network and computer

Publications (1)

Publication Number Publication Date
CN115755134A true CN115755134A (en) 2023-03-07

Family

ID=85352663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211296349.5A Pending CN115755134A (en) 2022-10-21 2022-10-21 Vehicle positioning method and device based on Informer network and computer

Country Status (1)

Country Link
CN (1) CN115755134A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116819581A (en) * 2023-08-29 2023-09-29 北京交通大学 Autonomous satellite positioning precision prediction method and device based on Informir
CN117807413A (en) * 2023-08-08 2024-04-02 长安大学 Vehicle lane change track prediction method based on random forest and improved Informier model

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117807413A (en) * 2023-08-08 2024-04-02 长安大学 Vehicle lane change track prediction method based on random forest and improved Informier model
CN116819581A (en) * 2023-08-29 2023-09-29 北京交通大学 Autonomous satellite positioning precision prediction method and device based on Informir
CN116819581B (en) * 2023-08-29 2023-11-21 北京交通大学 Autonomous satellite positioning precision prediction method and device based on Informir

Similar Documents

Publication Publication Date Title
US20240132078A1 (en) Driving model training method, driver identification method, apparatus, device and medium
US12051004B2 (en) Neural architecture search method based on knowledge distillation
Markos et al. Unsupervised deep learning for GPS-based transportation mode identification
Katariya et al. Deeptrack: Lightweight deep learning for vehicle trajectory prediction in highways
CN113128355A (en) Unmanned aerial vehicle image real-time target detection method based on channel pruning
CN115755134A (en) Vehicle positioning method and device based on Informer network and computer
CN108986453A (en) A kind of traffic movement prediction method based on contextual information, system and device
CN114815605A (en) Automatic driving test case generation method and device, electronic equipment and storage medium
CN111598325A (en) Traffic Speed Prediction Method Based on Hierarchical Clustering and Hierarchical Attention Mechanism
CN111081016A (en) Urban traffic abnormity identification method based on complex network theory
CN112966853A (en) Urban road network short-term traffic flow prediction method based on space-time residual error mixed model
CN112329830B (en) Passive positioning track data identification method and system based on convolutional neural network and transfer learning
CN110084263A (en) A kind of more frame isomeric data fusion identification methods based on trust
CN114548297A (en) Data classification method, device, equipment and medium based on domain self-adaption
CN113159403A (en) Method and device for predicting pedestrian track at intersection
CN114860700A (en) Missing track filling method and system
Li et al. Bus arrival time prediction based on mixed model
EP4252151A1 (en) Data source correlation techniques for machine learning and convolutional neural models
CN117935555A (en) Traffic flow prediction method based on bidirectional GRU hypergraph convolution model
CN110795522B (en) Method and device for predicting track position of mobile user
Yuan et al. Vehicle trajectory prediction based on posterior distributions fitting and TCN-transformer
CN118656640A (en) Meteorological report generation method and system based on deep learning
CN115345257B (en) Flight trajectory classification model training method, classification method, device and storage medium
CN118536806A (en) Atmospheric weather disaster risk prediction method and system based on quantitative model
CN116522256A (en) Automatic driving accident classification and severity prediction method

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