Method, system, electronic device, and storage medium for predicting short-term travel time of expressways based on dynamic tensor filling

Through the dynamic tensor filling method, static and dynamic tensor models of travel time are constructed, which solves the problem of not considering the influence of spatial characteristics in the existing technology, and achieves highly accurate and real-time travel time prediction.

CN116504058BActive Publication Date: 2024-08-23SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310419748.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-08-23
Estimated Expiration
2043-04-19

AI Technical Summary

Technical Problem

The existing technology fails to effectively consider the influence of spatial characteristics on travel time, resulting in inaccurate travel time prediction.

Method used

Using a method based on dynamic tensor filling, the spatial average velocity is obtained through segmented constant velocity trajectory processing, the travel time static and dynamic tensor models are constructed, and the sliding window model and the tensor filling algorithm that minimizes the trace norm are used for prediction.

Benefits of technology

It realizes travel time prediction that fully utilizes spatiotemporal correlation, and provides accurate and real-time short-term travel time prediction results, surpassing traditional simple time series and matrix form forecasting methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116504058B
    Figure CN116504058B
Patent Text Reader

Abstract

The present invention discloses a method, system, electronic device and storage medium for predicting short-term travel time of highways based on dynamic tensor filling, including: 1. The time average speed collected from the database is processed by segmented constant speed trajectory and converted into the spatial average speed. 2. The travel time of each section is estimated according to the spatial average speed, and the estimated travel time data is used as known historical data to construct a tensor model. 3. A dynamic tensor model is constructed based on the estimated travel time data and the travel time data to be predicted, and the travel time data to be predicted is marked as lost data. 4. A dynamic tensor filling model is constructed based on a tensor filling algorithm that minimizes the trace norm, and dynamic filling is realized to predict the travel time data to be predicted. The present invention predicts the travel time of highways in real time, provides a basis for path selection for travelers, and provides a basis for traffic managers to implement road management measures and formulate traffic rules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent transportation, and in particular relates to a method, system, electronic equipment and storage medium for predicting short-term travel time of expressways based on dynamic tensor filling. Background Art

[0002] The increasing number of motor vehicles has caused serious traffic congestion and other problems, prompting the development of intelligent transportation. Travel time prediction is a key technology for realizing applications such as ATMS (Advanced Traffic Management System) and ATIS (Advanced Traffic Information System), and has an important impact on the performance of ITS (Intelligent Traffic System). Accurate and real-time travel time prediction can not only provide a basis for travelers to choose a route, but also provide a basis for traffic managers to implement road management measures and formulate traffic rules.

[0003] As early as the 1970s, some people abroad began to study travel time prediction. At first, traditional statistical methods such as ARIMA (Auto-Regression and Moving Average) were used for travel time prediction; after 1989, neural network models were used for travel time prediction; after the 1990s, traffic flow simulation models and hybrid models were widely used for travel time prediction. However, traffic flow simulation models are very sensitive to changes in OD patterns, so they cannot provide stable (robust) travel time predictions, and data-driven methods are more popular. At present, existing prediction methods at home and abroad can be roughly divided into: prediction based on time series, that is, prediction that only considers time variation characteristics, prediction methods that take into account the periodicity of travel time, and travel time prediction that considers the influence of dual factors of time and space.

[0004] Among them, based on time series, since the characteristics of travel time changing over time are very obvious, therefore, like predicting other traffic data, early travel prediction methods generally construct time data into simple time series, and then use some statistical models to mine the time pattern change characteristics of travel time to predict future travel time, such as the autoregressive moving average model mentioned above.

[0005] In the travel time prediction based on travel time spatiotemporal data, there is a certain relationship between the travel time of adjacent sections and the travel time of upstream and downstream traffic flows on the same section. For example, when the travel time of one section is very long due to traffic congestion, road users will tend to choose the adjacent section or path, causing traffic users to choose the adjacent section, which increases the travel time of the adjacent section. Intelligent transportation is a large transportation network that should provide extensive travel time predictions. Therefore, many methods begin to consider the impact of spatial characteristics on travel time. Summary of the invention

[0006] The purpose of the present invention is to provide a method for predicting short-term travel time on a highway based on dynamic tensor filling, so as to solve the problem that the travel time prediction in the prior art does not take into account the influence of spatial characteristics on the travel time.

[0007] To achieve the above object, the present invention provides the following technical solution: a method for predicting short-term travel time of a highway based on dynamic tensor filling, comprising the following steps:

[0008] S1. Based on the time average speed of vehicles on each road section in the traffic data database, segment constant speed trajectory processing is performed to obtain the spatial average speed of each road section;

[0009] S2. Calculate the travel time data of each road section according to the spatial average speed of each road section, and then construct a travel time static tensor model based on the travel time data of each road section;

[0010] S3, marking the travel time data to be predicted as lost data, and constructing a travel time dynamic tensor model based on the travel time data of each road section;

[0011] S4. Using the sliding window model in incremental tensor analysis and the tensor filling algorithm based on minimizing the trace norm, a travel time prediction model is constructed to fill in the missing data and obtain the short-term travel time prediction of the highway.

[0012] Furthermore, in the aforementioned step S2, a static tensor model of travel time is constructed based on the travel time data of each road section as follows:

[0013]

[0014] in, represents the travel time static tensor model, R represents all real numbers, N represents the number of road segments, M represents the number of weeks, W represents 7 days in a week, and T represents the length of the prediction interval.

[0015] Furthermore, in the aforementioned step S3, the travel time dynamic tensor model constructed is as follows:

[0016]

[0017] in, represents the travel time dynamic tensor model, R represents all real numbers, N represents the number of road segments, M represents the number of weeks, W represents 7 days in a week, T m It means that the travel time data before time t=m is used to construct a travel time dynamic tensor model.

[0018] Furthermore, in the aforementioned step S4, the travel time prediction model is constructed as follows:

[0019]

[0020] in, Represents the kth tensor in the tensor window Representing a tensor The i-th mode of expansion; represents the weight of the travel time data at the kth moment before the distance prediction time point t, where:

[0021] Another aspect of the present invention provides a highway short-term travel time prediction system based on dynamic tensor filling, comprising:

[0022] The average speed acquisition module is configured to perform the following actions: based on the time average speed of vehicles in each road section in the traffic data database, the vehicle is subjected to segmented constant speed trajectory processing to obtain the spatial average speed of each road section;

[0023] The travel time static tensor model building module is configured to perform the following actions: calculate the travel time data of each road section according to the spatial average speed of each road section, and then build a travel time static tensor model based on the travel time data of each road section; the travel time dynamic tensor model building module is configured to perform the following actions: mark the travel time data to be predicted as lost data, and build a travel time dynamic tensor model based on the travel time data of each road section;

[0024] The highway short-term travel time prediction module is configured to perform the following actions: adopt the sliding window model in incremental tensor analysis and the tensor filling algorithm based on minimizing the trace norm to build a travel time prediction model, fill in the missing data, and obtain the highway short-term travel time prediction.

[0025] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention is based on a high-dimensional tensor model, and integrates the multi-modal characteristics of the weekly mode, daily mode, time interval mode and path mode of travel time, and can make full use of the natural spatiotemporal correlation of data. The core technology of the present invention is to use a tensor model to describe the multi-modal characteristics of travel time, and for the first time proposes a method of using dynamic tensor filling to perform real-time travel time prediction. The present invention proposes to use a tensor model to construct travel time data, which can make full use of the spatiotemporal correlation of travel time data, rather than just constructing it into a simple vector sequence or matrix form. The present invention proposes for the first time to apply tensor filling to the prediction field, and proposes dynamic tensor filling to meet the real-time needs of prediction. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of travel time prediction based on dynamic tensor filling of the present invention.

[0027] Figure 2 is a tensor model diagram of travel time prediction according to the present invention.

[0028] Figure 3 is a diagram of a dynamic tensor model of travel time data according to the present invention.

[0029] Figure 4 4 is a diagram of a travel time prediction model based on dynamic tensor filling according to the present invention. DETAILED DESCRIPTION

[0030] In order to better understand the technical content of the present invention, specific embodiments are given and described as follows in conjunction with the accompanying drawings.

[0031] Various aspects of the invention are described herein with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the invention are not limited to those described in the accompanying drawings. It should be understood that the invention is implemented by any of the various concepts and embodiments described above, as well as the concepts and embodiments described in detail below, because the concepts and embodiments disclosed in the invention are not limited to any implementation. In addition, some aspects disclosed in the invention may be used alone or in any appropriate combination with other aspects disclosed in the invention.

[0032] like Figure 1 As shown, the highway short-term travel time prediction method based on dynamic tensor filling includes the following steps:

[0033] S1. Based on the time average speed of vehicles on each road section in the traffic data database, segment constant speed trajectory processing is performed to obtain the spatial average speed of each road section;

[0034] S2. Calculate the travel time data of each road section according to the spatial average speed of each road section, and then construct a travel time static tensor model based on the travel time data of each road section;

[0035] S3, marking the travel time data to be predicted as lost data, and constructing a travel time dynamic tensor model based on the travel time data of each road section;

[0036] S4. Using the sliding window model in incremental tensor analysis and the tensor filling algorithm based on minimizing the trace norm, a travel time prediction model is constructed to fill in the missing data and obtain the short-term travel time prediction of the highway.

[0037] First, the time-average speed collected by the detector is obtained from the PeMS database; then, data preprocessing is performed to fill in the missing data; the spatial average speed is then calculated using the piecewise constant speed-trajectory method; next, the average travel time of the corresponding section is estimated using the section length and the spatial average speed, and the estimated average travel time is used as historical data; then, the future travel time data to be predicted is regarded as missing data, and a static tensor model of travel time is constructed. On this basis, a dynamic tensor model of travel time is constructed using tensor flow theory to fully characterize and extract its multi-modal correlation in time and space; then, the sliding window model in incremental tensor analysis is used to construct a dynamic tensor filling model based on minimizing the trace norm; finally, through a combination of historical experience and experiments, the appropriate prediction interval length and historical interval length are selected, and the future missing data are filled using the constructed dynamic tensor filling model, thereby achieving real-time and accurate short-term travel time prediction.

[0038] Further, as a preferred embodiment of the highway short-term travel time prediction method based on dynamic tensor filling proposed by the present invention, step S2 is specifically: constructing a travel time static tensor model based on the travel time data of each road section as follows:

[0039]

[0040] in, represents the travel time static tensor model, R represents all real numbers, N represents the number of road segments, M represents the number of weeks, W represents 7 days in a week, and T represents the length of the prediction interval.

[0041] The tensor model for travel time prediction is as follows Figure 2 As shown in the figure, Link represents the section of the urban road network, Week represents week, Day represents day, Time has 288 time intervals in a day (one interval contains 5 minutes), and prediction interval represents the prediction interval, which can be regarded as missing data.

[0042] On the basis of the travel time data tensor model, a travel time dynamic tensor model is constructed using tensor flow theory. Further, as a preferred embodiment of the highway short-term travel time prediction method based on dynamic tensor filling proposed by the present invention, in step S3, the constructed travel time dynamic tensor model is as follows:

[0043]

[0044] in, represents the travel time dynamic tensor model, R represents all real numbers, N represents the number of road segments, M represents the number of weeks, W represents that there are 7 days in a week, T m It means that the travel time data before time t=m is used to construct a travel time dynamic tensor model.

[0045] Combination Figure 3 , as time goes by, the travel time data is updated and is no longer the previous historical travel data, but new data is constantly added. T2 means that the travel time data before t=2 is used to construct a tensor model to predict the travel time at t=2; T3 means that on the basis of the predicted travel time at t=3, the travel time data at t=2 is also regarded as historical travel data and constructed into a new tensor. This tensor includes both the original historical travel time data and the travel time data at t=2 that has just been known (predicted or measured). Similarly, when predicting the travel time data at t=T, the travel time data at t=T-1 is added to the historical travel time data, thereby forming a tensor flow model that advances over time, that is, a dynamic tensor model of travel time. It is worth noting that in order to reduce complexity and improve prediction accuracy, when predicting the travel time data at time t = T, it is necessary to consider adding the travel time at time t = T-1 as the historical value, and also consider discarding the original historical travel time data at time t = tK (such as K>300) which is far away from the T schedule, and only use the travel time data with greater correlation with the travel time data at time T, that is, the travel time data that is closer in time as the historical data. The specific K value depends on the situation and can also be measured experimentally. In this way, the size of the tensor in the tensor flow can be fixed, and the latest data is introduced as the historical data while removing the original historical data that is far away. It can also be gradually increased in size, and the latest travel time data is introduced as the historical data while retaining all the original historical data.

[0046] The travel time prediction model draws on the dynamic tensor model based on sliding windows, such as Figure 4 As shown. Among them, the window W represents the length of the prediction interval. During the prediction process, W can change with the change of the prediction time point. The travel time prediction model is as follows:

[0047]

[0048] in, Represents the kth tensor in the tensor window Representing a tensor The i-th mode of expansion; represents the weight of the travel time data at the kth moment before the distance prediction time point t, where:

[0049] The travel time prediction model based on dynamic tensor filling not only utilizes the time correlation of travel time data such as daily mode, weekly mode, time interval mode and spatial correlation of different road sections, but also uses the dynamic tensor model to realize dynamic rolling travel time prediction, which has accurate and real-time characteristics. For example, based on the travel time data of the I405 highway in the United States, it is compared with two relatively new data-driven prediction methods, online ridge regression and BP neural network. The preliminary experimental results are shown in the following table:

[0050]

[0051] Another aspect of the present invention provides a highway short-term travel time prediction system based on dynamic tensor filling, comprising:

[0052] The average speed acquisition module is configured to perform the following actions: based on the time average speed of vehicles in each road section in the traffic data database, the vehicle is subjected to segmented constant speed trajectory processing to obtain the spatial average speed of each road section;

[0053] The travel time static tensor model building module is configured to perform the following actions: calculate the travel time data of each road section according to the spatial average speed of each road section, and then build a travel time static tensor model based on the travel time data of each road section; the travel time dynamic tensor model building module is configured to perform the following actions: mark the travel time data to be predicted as lost data, and build a travel time dynamic tensor model based on the travel time data of each road section;

[0054] The highway short-term travel time prediction module is configured to perform the following actions: adopt the sliding window model in incremental tensor analysis and the tensor filling algorithm based on minimizing the trace norm to build a travel time prediction model, fill in the missing data, and obtain the highway short-term travel time prediction.

[0055] Although the present invention has been described above with preferred embodiments, it is not intended to limit the present invention. A person skilled in the art of the present invention may make various modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the definition of the claims.

Claims

1. A method for predicting short-term travel time on highways based on dynamic tensor filling, characterized in that: The steps include: S1. Based on the time average speed of vehicles on each road section in the traffic data database, segment constant speed trajectory processing is performed to obtain the spatial average speed of each road section; S2. According to the spatial average speed of each road section, the travel time data of each road section is calculated, and then a travel time static tensor model is constructed based on the travel time data of each road section, as shown in the following formula: in, represents the travel time static tensor model, R represents all real numbers, N represents the number of road sections, M represents the number of weeks, W represents 7 days in a week, and T represents the length of the prediction interval; S3. Mark the travel time data to be predicted as lost data, and construct a travel time dynamic tensor model based on the travel time data of each road section, as shown in the following formula: in, represents the travel time dynamic tensor model, R represents all real numbers, N represents the number of road segments, M represents the number of weeks, W represents 7 days in a week, T m It indicates that the travel time dynamic tensor model is constructed by using the travel time data before time t=m; S4. Using the sliding window model in incremental tensor analysis and the tensor filling algorithm based on minimizing the trace norm, a travel time prediction model is constructed to fill in the missing data and obtain the short-term travel time prediction of the highway; the travel time prediction model is constructed as follows: in, Represents the kth tensor in the tensor window Representing a tensor The i-th mode of expansion; represents the weight of the travel time data at the kth moment before the distance prediction time point t, where:

2. The system of the highway short-term travel time prediction method based on dynamic tensor filling according to claim 1 is characterized in that: include: The average speed acquisition module is configured to perform the following actions: based on the time average speed of vehicles in each road section in the traffic data database, the vehicle is subjected to segmented constant speed trajectory processing to obtain the spatial average speed of each road section; The travel time static tensor model building module is configured to perform the following actions: calculate the travel time data of each road section according to the spatial average speed of each road section, and then build the travel time static tensor model based on the travel time data of each road section; The travel time dynamic tensor model building module is configured to perform the following actions: marking the travel time data to be predicted as missing data, and building a travel time dynamic tensor model based on the travel time data of each road segment; The highway short-term travel time prediction module is configured to perform the following actions: adopt the sliding window model in incremental tensor analysis and the tensor filling algorithm based on minimizing the trace norm to build a travel time prediction model, fill in the missing data, and obtain the highway short-term travel time prediction.

3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 are implemented.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.