WO2022142418A1 - Traffic performance index prediction method and device based on gis map information - Google Patents

Traffic performance index prediction method and device based on gis map information Download PDF

Info

Publication number
WO2022142418A1
WO2022142418A1 PCT/CN2021/114906 CN2021114906W WO2022142418A1 WO 2022142418 A1 WO2022142418 A1 WO 2022142418A1 CN 2021114906 W CN2021114906 W CN 2021114906W WO 2022142418 A1 WO2022142418 A1 WO 2022142418A1
Authority
WO
WIPO (PCT)
Prior art keywords
map
sequence
gis map
vector
network
Prior art date
Application number
PCT/CN2021/114906
Other languages
French (fr)
Chinese (zh)
Inventor
邢玲
余意
Original Assignee
深圳云天励飞技术股份有限公司
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 深圳云天励飞技术股份有限公司 filed Critical 深圳云天励飞技术股份有限公司
Publication of WO2022142418A1 publication Critical patent/WO2022142418A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • 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
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Definitions

  • the invention relates to the technical field of traffic congestion prediction, in particular to a traffic congestion index prediction method and device based on GIS map information.
  • the traditional traffic congestion index forecast uses a time series prediction method to predict the traffic congestion index for a period of time in the future based on historical traffic conditions.
  • This method can often only learn the time-varying laws of a few road segments, while ignoring the topology of complex traffic roads, so it cannot model the influence of adjacent road segments/regions.
  • traditional models have limited expressive ability and cannot model the impact of weather, holidays, POI information, etc. on traffic.
  • some researchers have proposed a spatiotemporal neural network model, which can simultaneously model the spatial correlation and temporal regularity of road traffic. .
  • the existing spatiotemporal neural network models are often based on static road connection relationships (ie, maps), which cannot well describe the dynamic relationship of traffic flow between different roads.
  • the traditional traffic congestion index prediction model does not take into account the spatial information of the road, at most only the connection relationship between the roads, and the spatial information of the road, such as whether there are subway stations, bus stations, high-speed railway stations, schools, etc. And the width of the road is a very important factor affecting traffic congestion.
  • the existing traffic congestion index prediction method has the problem of low prediction accuracy of the traffic congestion index.
  • the embodiment of the present invention provides a traffic congestion index prediction method based on GIS map information, which can solve the problem of low prediction accuracy of the traffic congestion index in the existing traffic congestion index prediction method.
  • an embodiment of the present invention provides a traffic congestion index prediction method based on GIS map information, and the GIS map information-based traffic congestion index prediction method includes:
  • Each frame of GIS map structured vector map includes a first preset number of static layers and a second preset number of dynamic layers, and one frame of GIS map includes a first preset number of static layers and a second preset number of dynamic layers.
  • the map structured vector map corresponds to an environment vector sequence;
  • the dynamic layer includes traffic dynamic data
  • the step of obtaining a GIS map structured vector map sequence of the area to be predicted includes:
  • the static layer includes one or more of a road network map, a building map and a point of interest map.
  • the traffic dynamic data The data includes traffic congestion index and vehicle trajectory data corresponding to the historical time point;
  • the traffic congestion index is mapped to the road network map to obtain a traffic congestion index map
  • the vehicle trajectory data is mapped into a two-dimensional network, and the average vehicle speed and the number of vehicles in each network are calculated to obtain a traffic flow speed map and a vehicle number map;
  • the GIS map structured vector graphics corresponding to the continuous historical time points are spliced according to the time sequence of the continuous historical time points to obtain the GIS map structured vector graphics sequence of the to-be-predicted area.
  • the step of obtaining the environment vector sequence of the area to be predicted includes:
  • the environment vectors corresponding to the continuous historical time points are spliced according to the time sequence of the continuous historical time points to obtain the environment vector sequence of the to-be-predicted area.
  • the preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network and a fully connected layer network;
  • Inputting the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extracting the spatiotemporal features of the GIS map structured vector graphics sequence, and the mapping features of the environmental vector sequence , and the step of outputting the result of the traffic congestion index of the to-be-predicted area within a preset time according to the spatiotemporal feature and the mapping feature includes:
  • the 3D convolution calculation is performed on the GIS map structured vector diagram sequence through the 3D convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence;
  • the first full-connection calculation is performed on the fusion feature through the fully-connected layer network, and the result of the traffic congestion index of the to-be-predicted area within a preset time is output.
  • the three-dimensional convolution network is constructed according to a residual network, and the three-dimensional convolution calculation is performed on the GIS map structured vector diagram sequence through the three-dimensional convolution network to obtain the GIS map structured vector Steps of spatiotemporal features of graph sequences, including:
  • the convolution calculation is carried out in combination with the residual of the previous convolution calculation layer, and the spatiotemporal feature map is obtained;
  • a second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the GIS map structured vector map sequence.
  • the fusion network is a gated network
  • the step of performing fusion calculation on the spatiotemporal feature and the mapping feature through the fusion network, and outputting the fusion feature includes:
  • mapping feature Through the gating network, non-linear processing is performed on the mapping feature to obtain the gating feature;
  • the method further includes:
  • the training sample set includes a plurality of training samples, each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and The real label of the traffic congestion index at the predicted time point, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, the sample environment vector sequence and the environment vector sequence have the same data structure data structure;
  • the convolutional neural network is trained, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point, and the preset convolutional neural network is obtained.
  • an embodiment of the present invention also provides a device for predicting a traffic congestion index based on GIS map information, including:
  • the first acquisition module is used to acquire the GIS map structured vector graphics sequence and the environmental vector sequence of the area to be predicted, and each frame of the GIS map structured vector graphics includes a first preset number of static layers and a second preset number of dynamic layers. layer, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence;
  • the prediction module is used to input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, and extract the spatiotemporal features of the GIS map structured vector diagram sequence, and the environmental vector sequence and output the traffic congestion index result of the to-be-predicted area within a preset time according to the spatiotemporal feature and the mapping feature.
  • an embodiment of the present invention further provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program At the same time, the steps in the method for predicting the traffic congestion index based on the GIS map information provided in the above embodiment are implemented.
  • embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the GIS-based map provided in the foregoing embodiments Information on the steps in the traffic congestion index prediction method.
  • each frame of the GIS map structured vector map includes a first preset number of static layers and a second preset number of static layers.
  • a dynamic layer, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence; input the GIS map structured vector graphics sequence and the environmental vector sequence into a preset convolutional neural network, and extract the GIS map respectively
  • the spatiotemporal feature of the structured vector diagram sequence, the mapping feature of the environment vector sequence, and the traffic congestion index result of the to-be-predicted area within a preset time is output according to the spatiotemporal feature and the mapping feature.
  • multi-dimensional data such as the first preset number of static layers and the second preset number of dynamic layers and the environmental vector sequence in the GIS map structured vector map sequence of the area to be predicted can be input into the preset convolutional neural network.
  • the temporal and spatial characteristics of the GIS map structured vector diagram sequence and the mapping characteristics of the environmental vector sequence are extracted to predict the traffic congestion index of the area to be predicted within a preset time, thereby improving the prediction accuracy of the traffic congestion index.
  • FIG. 1 is a flowchart of a method for predicting a traffic congestion index based on GIS map information provided by an embodiment of the present invention
  • FIG. 2 is a flowchart of a method provided in step 101 in an embodiment of the present invention.
  • step 101 is a flowchart of another method provided in step 101 in an embodiment of the present invention.
  • step 102 is a flowchart of a method provided in step 102 in an embodiment of the present invention.
  • FIG. 5 is a flowchart of another traffic congestion index prediction method based on GIS map information provided by an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a device for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram provided by a first acquisition module in an embodiment of the present invention.
  • FIG. 8 is another schematic structural diagram provided by a first acquisition module in an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram provided by a prediction module in an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another device for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention. As shown in FIG. 1, the method for predicting traffic congestion index based on GIS map information includes the following steps :
  • Step 101 Obtain a GIS map structured vector diagram sequence and an environment vector sequence of the area to be predicted.
  • the GIS map structured vector graphics sequence includes multi-frame GIS map structured vector graphics, and each frame of GIS (Geographic Information System, geographic information system) map structured vector graphics includes a first preset number of static layers and a second preset number of static layers. Set a number of dynamic layers, and each frame of GIS map structured vector graphics corresponds to an environmental vector sequence.
  • GIS Geographic Information System
  • the above-mentioned first preset number of static layers may include three static layers, and each static layer includes one static channel.
  • the three static layers correspond to three static channels, which can be called RBP channels, where R represents the road channel, B represents the building channel, and P represents the POI (Point of interest) channel.
  • RBP channels three static channels
  • B represents the road channel
  • P represents the POI (Point of interest) channel.
  • the above-mentioned second preset number of dynamic layers may include three dynamic layers, and each dynamic layer includes one dynamic channel.
  • the three dynamic layers correspond to three dynamic channels, which can be called TSC channels, where T represents the TTI (Travel Time Index, traffic congestion index) channel, S represents the speed (speed) channel, and C represents the count (quantity) channel.
  • TSC channels T represents the TTI (Travel Time Index, traffic congestion index) channel
  • S represents the speed (speed) channel
  • C represents the count (quantity) channel.
  • each frame of the GIS map structured vector diagram above includes a six-channel RBPTSC layer, wherein the N*N*6 three-dimensional vector of the six-channel RBPTSC layer represents spatial information, plus the number of time points in a certain time period, For example, a slice of 6 time points forms a 6*N*N*6 four-dimensional vector to represent the spatiotemporal information.
  • Each frame of GIS map structured vector graphics contains its own spatiotemporal information. Among them, N is an integer greater than or equal to 1, and the value of N can be set according to actual needs.
  • the above-mentioned area to be predicted is a target area where the user needs to predict the traffic congestion index, which may be a certain intersection, a certain road, a certain area, and the like. It can also be multiple intersections, multiple roads, multiple areas, and so on.
  • FIG. 2 is a flowchart of a method provided in step 101 in an embodiment of the present invention.
  • the dynamic layer includes traffic dynamic data, and the above-mentioned steps of obtaining a GIS map structured vector map sequence of the area to be predicted include:
  • Step 201 Obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points.
  • the static layer includes one or more of a road network map, a building map, and a point-of-interest map
  • the traffic dynamic data includes traffic congestion index and vehicle trajectory data corresponding to historical time points.
  • Each area to be predicted has its own road network map, building map and point of interest map.
  • Step 202 at a historical time point, map the traffic congestion index to a road network map to obtain a traffic congestion index map.
  • Step 203 Map the vehicle trajectory data into a two-dimensional network, calculate the average speed of vehicles and the number of vehicles in each network, and obtain a vehicle flow speed map and a vehicle number map.
  • Step 204 splicing the road network map, the building map, the point of interest map, the traffic congestion index map, the traffic speed map, and the vehicle number map as channels to obtain a GIS map structured vector map corresponding to a historical time point.
  • Step 205 splicing the GIS map structured vector graphics corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points to obtain a GIS map structured vector graphics sequence of the area to be predicted.
  • the above historical time point can be a certain time point taken in a certain time unit in a certain time period in the past, for example, a certain time point taken in a unit of 10 minutes in the past hour, so that the unit of 10 minutes in the past hour can be used.
  • Take 6 time points (that is, 6 data points) then the historical time point can be one of the 6 time points.
  • a certain time period in the past can be set as a certain time point in the past two hours, or in units of 10 minutes, that is, 12 time points (ie 12 data points) are obtained, etc.
  • the historical time point can be one of the 12 time points.
  • the description is mainly based on a unit of 10 minutes.
  • the unit time can be set according to actual requirements.
  • the above-mentioned point-of-interest map may include maps corresponding to some points of interest such as bus stops, subway stations, hotels, schools, hospitals, high-speed railway stations, bus stations, parks, and parking lots.
  • the above point of interest map can be referred to as a POI layer.
  • the above-mentioned vehicle trajectory data may include vehicle speed, vehicle position (GPS positioning position), and the like.
  • the above-mentioned vehicles may include online car-hailing, taxis, private cars, and the like.
  • a grid is drawn based on the GPS latitude and longitude.
  • the building map and the POI map to construct the channel, that is, the corresponding road network map, the building map and the POI map are obtained.
  • the RBP channels are the road channel, building channel, and POI channel.
  • the traffic congestion data of the GIS map of the area to be predicted at historical time points are obtained. Further according to the GIS map of the road, the traffic congestion index of the corresponding road is mapped to the corresponding road network map based on the R channel, and the traffic congestion index map of the road is obtained, that is, a TTI channel is constructed and recorded as the T channel. For example, if the historical time is set to one hour (ie, 6 data points), then the traffic congestion index for the past hour can be recorded as Among them, M represents the number of roads to be predicted.
  • the The traffic congestion index TTI of the corresponding road is mapped to the corresponding road network map, and the traffic congestion index map of the past hour can be obtained, that is, a TTI channel of the past hour can be constructed and recorded as the T channel.
  • the recording of the traffic congestion index mainly takes 10 minutes as a unit time, that is, each road has a value of the traffic congestion index every 10 minutes. If you need to predict the future half an hour (i.e., one hour is divided into 6 time points (that is, 6 data points), that is, 6 traffic congestion indexes are obtained) based on the past hour (a traffic congestion index is obtained every 10 minutes in an hour). 3 data points), the traffic congestion index for the next half hour can be recorded as M represents the number of roads to be predicted. However, the traffic congestion index for the next half hour is not mapped, but is regarded as the real value of the traffic congestion index for the next half hour.
  • the vehicle speed and vehicle position (GPS positioning position) in the vehicle trajectory data of the GIS map of the area to be predicted at historical time points are acquired. And according to the GPS latitude and longitude information, the vehicle speed and vehicle position are mapped to the two-dimensional grid, and the average vehicle speed and the total number of vehicles in each two-dimensional grid are counted, and the traffic speed map and the number of vehicles are obtained, that is, the traffic flow is constructed.
  • the traffic speed channel and the vehicle number channel corresponding to the speed map and the number of vehicles map are denoted as the SC channel, where S represents the speed channel and C represents the count channel.
  • a GIS map structured vector map sequence corresponding to the area to be predicted can be obtained based on multi-dimensional maps such as road network maps, building maps, points of interest maps, traffic congestion index maps, traffic speed maps, and vehicle quantity maps.
  • the traffic congestion index of the region in the future period of time is predicted, thereby improving the prediction accuracy of the traffic congestion index.
  • FIG. 3 is a flowchart of another method provided in step 101 of the embodiment of the present invention.
  • the above steps of obtaining the environment vector sequence of the area to be predicted include:
  • Step 301 Obtain weather data and date data of the area to be predicted at a historical time point.
  • Step 302 Encode weather data and date data into environment vectors according to a preset encoding rule.
  • Step 303 splicing the environmental vectors corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points to obtain the environmental vector sequence of the area to be predicted.
  • the above weather data may include three indicators of temperature, humidity, and rainfall.
  • the above-mentioned date data may include holiday information.
  • a preset encoding rule such as discrete features, can be used to encode date data. For example, 1 means that the day is a working day, and 0 means that it is a holiday.
  • time-related information can also be extracted as features, such as the day of the week, the number of minutes, the number of hours, whether the morning and evening peaks, etc.
  • the obtained weather data and date data of the area to be predicted at historical time points are encoded into environmental vectors of each historical time point according to a preset coding rule, and then the environmental vectors of multiple consecutive historical time points are coded as continuous
  • the sequence splicing of historical time points obtains the environment vector sequence of the area to be predicted.
  • the actual weather data and date data can be converted into an environment vector sequence that can be recognized by a computer, so as to facilitate the analysis and processing of the environment vector sequence.
  • multi-source heterogeneous data such as weather data and date data can be combined to predict the traffic congestion index of a certain area to be predicted in the future, and improve the prediction accuracy of the traffic congestion index.
  • Step 102 Input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extract the spatiotemporal features of the GIS map structured vector graphics sequence and the mapping feature of the environmental vector sequence, and extract the spatial and temporal features of the GIS map structured vector map sequence and the environmental vector sequence according to the spatiotemporal features. Output the traffic congestion index result of the area to be predicted within the preset time with the mapping feature.
  • the above-mentioned preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network, and a fully connected layer network.
  • FIG. 4 is a flowchart of a method provided in step 102 in an embodiment of the present invention.
  • Step 102 includes the steps:
  • Step 401 performing a three-dimensional convolution calculation on the GIS map structured vector graphics sequence through a three-dimensional convolutional network to obtain the spatiotemporal characteristics of the GIS map structured vector graphics sequence.
  • the above three-dimensional convolutional network is constructed according to the residual network.
  • the three-dimensional convolutional network is constructed according to the residual network, which can avoid the loss of information caused by the depth of the neural network.
  • the convolution calculation is performed in combination with the residuals of the previous convolution calculation layer to obtain a spatiotemporal feature map.
  • the second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the structured vector map sequence of the GIS map.
  • the spatiotemporal feature is represented by a Z-dimensional vector
  • the Z-dimensional vector can be expressed as Taking the four-dimensional space-time vector data of 6*N*N*6 as an example, the Z-dimensional vector can be expressed as
  • Step 402 perform mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence.
  • the above feature mapping network is a two-layer fully connected feedforward neural network (with Relu (Rectified Linear Unit) as a nonlinear activation function).
  • the input to the feature map network is the weather data in the sequence of environment vectors along with the date data.
  • the weather data and date data in the environmental vector sequence are encoded and mapped to a vector space, and then the mapping features are obtained.
  • Step 403 perform a fusion calculation on the spatiotemporal feature and the mapping feature through a fusion network, and output the fusion feature.
  • the above-mentioned fusion network is a gated network.
  • the mapping feature is nonlinearly processed to obtain the gating feature.
  • the input of the gating network is the output of the feature mapping network, and the mapping feature is nonlinearly processed through a sigmoid activation function through the gating network, and a gate with a value between (0, 1) is obtained.
  • gating feature gating parameter vector
  • the gating parameter vector represents the degree to which the value of the gated network is passed. The closer the value is to 1, the more it passes, and vice versa.
  • Step 404 Perform a first full-connection calculation on the fusion feature through a fully-connected layer network, and output the result of the traffic congestion index of the area to be predicted within a preset time.
  • the above-mentioned fully connected layer network includes two layers of fully connected layer network.
  • the input of the above fully connected layer network is the output of the gating network (fused features).
  • the fusion feature is input into a two-layer fully-connected layer network to perform a fully-connected calculation, and then the result of the traffic congestion index of the area to be predicted within a preset time is output. For example, when you want to predict the traffic congestion index of each road section in the next half hour, you can actually output the traffic congestion index of each road section in the next half hour according to the fully connected layer network. and put the The actual traffic congestion index of each road section in the next half hour with the preset to compare, if and The closer it is, the more accurate the prediction result is.
  • each frame of the GIS map structured vector map includes a first preset number of static layers and a second preset number of static layers.
  • Dynamic layers, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence; input the GIS map structured vector graphics sequence and the environmental vector sequence into the preset convolutional neural network, and extract the GIS map structured vector graphics respectively
  • the spatiotemporal features of the sequence, the mapping features of the environmental vector sequence, and the traffic congestion index results of the area to be predicted within the preset time are output according to the spatiotemporal features and the mapping features.
  • multi-dimensional data such as the first preset number of static layers and the second preset number of dynamic layers and the environmental vector sequence in the GIS map structured vector map sequence of the area to be predicted can be input into the preset convolutional neural network.
  • the temporal and spatial characteristics of the GIS map structured vector diagram sequence and the mapping characteristics of the environmental vector sequence are extracted to predict the traffic congestion index of the area to be predicted within the preset time, thereby improving the prediction accuracy of the traffic congestion index.
  • FIG. 5 is a flowchart of another traffic congestion index prediction method based on GIS map information provided by an embodiment of the present invention.
  • the traffic congestion index prediction method based on GIS map information further includes the steps:
  • Step 501 Obtain a training sample set.
  • the training sample set includes multiple training samples, and each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and a traffic congestion index at a predicted time point true label.
  • the sample GIS map structured vector map sequence has the same data structure as the GIS map structured vector map sequence, and the sample environment vector sequence has the same data structure as the environment vector sequence.
  • the training sample set may be a sample set that is pre-collected, processed and stored in a database for training.
  • it can also be a training sample set collected and processed in real time at the scene of a certain prediction area.
  • Step 502 train the convolutional neural network through the training sample set, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point to obtain a preset convolutional neural network.
  • the training sample set can be input into the convolutional neural network for prediction training, so that the convolutional neural network can learn the predicted output of the traffic congestion index at the predicted time point, and then obtain Preset Convolutional Neural Networks.
  • the preset convolutional neural network can be used to predict the traffic congestion index in a certain forecast area in a future period of time based on the GIS map information, thereby improving the accuracy of the forecast result.
  • the loss function used by the convolutional neural network is the mean square error (MSE, Mean Square error), and can pass SGD (Stochastic Gradient Descent, stochastic gradient descent)
  • MSE mean square error
  • SGD Spochastic Gradient Descent, stochastic gradient descent
  • the convolutional neural network is trained through the training sample set to obtain a preset convolutional neural network to predict the traffic congestion index of a certain prediction area for a period of time in the future, so as to improve the preset convolutional neural network.
  • the prediction performance of the pre-set convolutional neural network is further improved.
  • FIG. 6 is a schematic structural diagram of a traffic congestion index prediction device based on GIS map information provided by an embodiment of the present invention.
  • the GIS map information-based traffic congestion index prediction device 600 includes:
  • the first acquisition module 601 is used to acquire a GIS map structured vector map sequence and an environment vector sequence of the area to be predicted.
  • Each frame of the GIS map structured vector map includes a first preset number of static layers and a second preset number of static layers. Dynamic layers, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence;
  • the prediction module 602 is used to input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extract the spatiotemporal features of the GIS map structured vector graphics sequence, the mapping feature of the environmental vector sequence, and Output the traffic congestion index results of the area to be predicted within the preset time according to the spatiotemporal features and mapping features.
  • FIG. 7 is a schematic structural diagram provided by the first acquisition module in an embodiment of the present invention.
  • the dynamic layer includes traffic dynamic data
  • the first acquisition module 601 includes:
  • the first obtaining unit 6011 is used to obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points.
  • the static layer includes one or more of a road network map, a building map and a point of interest map, Traffic dynamic data includes traffic congestion index and vehicle trajectory data corresponding to historical time points;
  • the first mapping unit 6012 is used to map the traffic congestion index to the road network map at a historical time point to obtain a traffic congestion index map;
  • the second mapping unit 6013 is used to map the vehicle trajectory data into a two-dimensional network, calculate the average vehicle speed and the number of vehicles in each network, and obtain a traffic flow speed map and a vehicle number map;
  • the first splicing unit 6014 is used for splicing the road network map, the building map, the point of interest map, the traffic congestion index map, the traffic speed map and the vehicle quantity map as channels to obtain the GIS map structured vector diagram corresponding to the historical time point;
  • the second splicing unit 6015 is configured to splicing the GIS map structured vector graphics corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points to obtain the GIS map structured vector graphics sequence of the area to be predicted.
  • FIG. 8 is another schematic structural diagram provided by the first acquisition module in the embodiment of the present invention.
  • the first acquisition module 601 includes:
  • the second obtaining unit 6016 is used to obtain weather data and date data of the area to be predicted at historical time points;
  • the encoding unit 6017 is used to encode weather data and date data into environmental vectors according to preset encoding rules
  • the third splicing unit 6018 is configured to splicing the environmental vectors corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points, to obtain the environmental vector sequence of the area to be predicted.
  • the preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network, and a fully connected layer network;
  • FIG. 9 is a schematic structural diagram provided by a prediction module in an embodiment of the present invention.
  • Prediction module 602 includes:
  • the convolution calculation unit 6021 is used to perform three-dimensional convolution calculation on the GIS map structured vector diagram sequence through a three-dimensional convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence;
  • the mapping calculation unit 6022 is used to perform mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence;
  • the fusion calculation unit 6023 is used to fuse the spatiotemporal feature and the mapping feature through the fusion network, and output the fusion feature;
  • the fully connected calculation unit 6024 is configured to perform the first fully connected calculation on the fusion feature through the fully connected layer network, and output the result of the traffic congestion index of the area to be predicted within a preset time.
  • the three-dimensional convolution network is constructed according to the residual network, and the convolution calculation unit 6021 includes:
  • the convolution calculation sub-unit is used to perform convolution calculation in combination with the residuals of the previous convolution calculation layer during the three-dimensional convolution calculation process to obtain a spatiotemporal feature map;
  • the full connection calculation subunit is used to perform the second full connection calculation on the spatiotemporal feature map to obtain the spatiotemporal features of the structured vector map sequence of the GIS map.
  • the fusion network is a gated network
  • the fusion computing unit 6023 includes:
  • the linearization processing subunit is used to perform nonlinear processing on the mapping feature through the gating network to obtain the gating feature;
  • the point-pole calculation subunit is used to calculate the dot product of the gated feature and the spatiotemporal feature to obtain the fusion feature.
  • FIG. 10 is a schematic structural diagram of another device for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention.
  • the device 600 for predicting traffic congestion index based on GIS map information further includes: :
  • the second obtaining module 603 is configured to obtain a training sample set, the training sample set includes a plurality of training samples, and each training sample includes a sample GIS map structured vector graphics sequence and a sample corresponding to the GIS map structured vector graphics sequence
  • the environment vector sequence and the real label of the traffic congestion index at the predicted time point, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, and the sample environment vector sequence and the environment vector sequence have the same data structure;
  • the training module 604 is used for training the convolutional neural network through the training sample set, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point to obtain a preset convolutional neural network.
  • the apparatus 600 for predicting a traffic congestion index based on GIS map information provided by the embodiment of the present invention can implement the various implementations in the foregoing method embodiments and the corresponding beneficial effects, which are not repeated here to avoid repetition.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • the electronic device 700 includes: a memory 702, a processor 701, and a computer program stored in the memory 702 and running on the processor 701 , when the processor 701 executes the computer program, the steps in the method for predicting the traffic congestion index based on GIS map information provided by the above embodiments are implemented, and the processor 701 executes the following steps:
  • Each frame of GIS map structured vector map includes a first preset number of static layers and a second preset number of dynamic layers, and one frame of GIS map includes a first preset number of static layers and a second preset number of dynamic layers.
  • the map structured vector map corresponds to an environment vector sequence;
  • Output the traffic congestion index results of the area to be predicted within the preset time.
  • the dynamic layer includes traffic dynamic data
  • the steps performed by the processor 701 to obtain the GIS map structured vector diagram sequence of the area to be predicted include:
  • the static layer includes one or more of the road network map, building map, and point of interest map.
  • the traffic dynamic data includes historical time points. Corresponding traffic congestion index and vehicle trajectory data;
  • Map the vehicle trajectory data into a two-dimensional network calculate the average vehicle speed and the number of vehicles in each network, and obtain the traffic speed map and the vehicle number map;
  • the road network map, building map, point of interest map, traffic congestion index map, traffic speed map and vehicle number map are spliced as channels to obtain the GIS map structured vector map corresponding to the historical time point;
  • the GIS map structured vector graphics corresponding to the consecutive historical time points are spliced according to the time series of the consecutive historical time points, and the GIS map structured vector graphics sequence of the area to be predicted is obtained.
  • the step of acquiring the environment vector sequence of the area to be predicted performed by the processor 701 includes:
  • the environmental vectors corresponding to the consecutive historical time points are spliced according to the time sequence of the consecutive historical time points to obtain the environmental vector sequence of the area to be predicted.
  • the preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network, and a fully connected layer network;
  • the processor 701 inputs the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extracts the spatiotemporal features of the GIS map structured vector graphics sequence, the mapping feature of the environmental vector sequence, and according to the The steps of outputting the result of the traffic congestion index of the area to be predicted within the preset time by the spatiotemporal feature and the mapping feature include:
  • the 3D convolution calculation is performed on the GIS map structured vector map sequence through the 3D convolution network, and the spatiotemporal characteristics of the GIS map structured vector map sequence are obtained;
  • the spatiotemporal feature and the mapping feature are fused and calculated through the fusion network, and the fusion feature is obtained as the output;
  • the first full connection calculation is performed on the fusion feature through the fully connected layer network, and the result of the traffic congestion index of the area to be predicted within the preset time is obtained as output.
  • the three-dimensional convolution network is constructed according to the residual network, and the processor 701 performs three-dimensional convolution calculation on the GIS map structured vector diagram sequence through the three-dimensional convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence. steps, including:
  • the convolution calculation is carried out in combination with the residual of the previous convolution calculation layer, and the spatiotemporal feature map is obtained;
  • the second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the structured vector map sequence of the GIS map.
  • the fusion network is a gated network
  • the steps performed by the processor 701 to fuse the spatiotemporal feature and the mapping feature through the fusion network, and output the fused feature include:
  • mapping feature is nonlinearly processed to obtain the gated feature
  • processor 701 further performs the following steps:
  • the training sample set includes multiple training samples, and each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and a predicted time point.
  • the traffic congestion index real label, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, and the sample environment vector sequence and the environment vector sequence have the same data structure;
  • the convolutional neural network is trained, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point, and a preset convolutional neural network is obtained.
  • the electronic device 700 provided in the embodiment of the present invention can implement each implementation manner in the foregoing method embodiment and the corresponding beneficial effects, which are not repeated here in order to avoid repetition.
  • Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the traffic congestion index prediction method based on GIS map information provided by the embodiment of the present invention and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).

Abstract

A traffic performance index prediction method and device based on GIS map information. The method comprises the following steps: obtaining a GIS map structured vector graphic sequence and an environment vector sequence of a region to be predicted, each frame of a GIS map structured vector graphic comprising a first preset number of static graphic layers and a second preset number of dynamic graphic layers, and one frame of the GIS map structured vector graphic corresponding to one environment vector sequence; and inputting the GIS map structured vector graphic sequence and the environment vector sequence into a preset convolutional neural network, separately extracting the temporal and spatial features of the GIS map structured vector graphic sequence and the mapping feature of the environment vector sequence, and outputting a traffic performance index result of said region within a preset time period according to the temporal and spatial features and the mapping feature.

Description

一种基于GIS地图信息的交通拥堵指数预测方法及装置A traffic congestion index prediction method and device based on GIS map information
本申请要求于2020年12月31日提交中国专利局,申请号为202011640824.7、发明名称为“一种基于GIS地图信息的交通拥堵指数预测方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 31, 2020, with the application number of 202011640824.7 and the invention titled "A GIS Map Information-based Traffic Congestion Index Prediction Method and Device", the entire contents of which are Incorporated herein by reference.
技术领域technical field
本发明涉及交通拥堵预测技术领域,尤其涉及一种基于GIS地图信息的交通拥堵指数预测方法及装置。The invention relates to the technical field of traffic congestion prediction, in particular to a traffic congestion index prediction method and device based on GIS map information.
背景技术Background technique
随着城市经济的发展,城市车辆保有量急剧增加,随之而来的道路交通拥堵成为了城市管理的一大难题。为了量化道路交通拥堵情况,学者提出了一种利用路面浮动车数据对道路拥堵进行等级判定的指标,并将其命名为交通拥堵指数,取值范围为0-10,值越大表示拥堵越严重。通过对道路交通拥堵指数准确实时的预测,交管部门可以进行交通流量分配,提前疏导拥堵,提高路网的通行能力。With the development of the urban economy, the number of urban vehicles has increased sharply, and the subsequent road traffic congestion has become a major problem in urban management. In order to quantify the situation of road traffic congestion, scholars proposed an index to use the data of floating vehicles on the road to determine the level of road congestion, and named it the traffic congestion index. The value range is 0-10. The larger the value, the more serious the congestion is . Through the accurate and real-time prediction of the road traffic congestion index, the traffic management department can allocate the traffic flow, ease the congestion in advance, and improve the traffic capacity of the road network.
现有的交通拥堵指数预测方法有几个缺陷:Existing traffic congestion index prediction methods have several flaws:
其一,传统的交通拥堵指数预测采用时间序列预测的方法,基于历史的交通情况预测未来一段时间的交通拥堵指数。这种方法往往只能学习出少数某几个路段的时变规律,而忽略了复杂的交通道路的拓扑结构,从而无法建模相邻路段/区域的影响。同时传统模型表达能力有限,无法建模天气、节假日、POI信息等对交通的影响;随着深度学习技术的成熟,也有学者提出时空神经网络模型,能同时建模道路流量的空间关联以及时间规律。然而现有的时空神经网络模型往往是基于静态的道路连接关系(即地图)建模,不能很好地刻画不同道路之间交通流量的动态关联。First, the traditional traffic congestion index forecast uses a time series prediction method to predict the traffic congestion index for a period of time in the future based on historical traffic conditions. This method can often only learn the time-varying laws of a few road segments, while ignoring the topology of complex traffic roads, so it cannot model the influence of adjacent road segments/regions. At the same time, traditional models have limited expressive ability and cannot model the impact of weather, holidays, POI information, etc. on traffic. With the maturity of deep learning technology, some scholars have proposed a spatiotemporal neural network model, which can simultaneously model the spatial correlation and temporal regularity of road traffic. . However, the existing spatiotemporal neural network models are often based on static road connection relationships (ie, maps), which cannot well describe the dynamic relationship of traffic flow between different roads.
其二,传统的交通拥堵指数预测模型没有考虑到道路空间信息,最多只是考虑到道路之间的连接关系,而道路的空间信息,诸如周围是否有地铁站,公交车站,高铁站,学校,以及道路的宽窄等都是影响交通拥堵的很重要的因素。Second, the traditional traffic congestion index prediction model does not take into account the spatial information of the road, at most only the connection relationship between the roads, and the spatial information of the road, such as whether there are subway stations, bus stations, high-speed railway stations, schools, etc. And the width of the road is a very important factor affecting traffic congestion.
可见,现有的交通拥堵指数预测方法存在交通拥堵指数的预测准确度低的问题。It can be seen that the existing traffic congestion index prediction method has the problem of low prediction accuracy of the traffic congestion index.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种基于GIS地图信息的交通拥堵指数预测方法,能够解决现有的交通拥堵指数预测方法存在交通拥堵指数的预测准确度低的问题。The embodiment of the present invention provides a traffic congestion index prediction method based on GIS map information, which can solve the problem of low prediction accuracy of the traffic congestion index in the existing traffic congestion index prediction method.
第一方面,本发明实施例提供一种基于GIS地图信息的交通拥堵指数预测方法,所述基于GIS地图信息的交通拥堵指数预测方法包括:In a first aspect, an embodiment of the present invention provides a traffic congestion index prediction method based on GIS map information, and the GIS map information-based traffic congestion index prediction method includes:
获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;Obtain a GIS map structured vector map sequence and an environmental vector sequence of the area to be predicted. Each frame of GIS map structured vector map includes a first preset number of static layers and a second preset number of dynamic layers, and one frame of GIS map includes a first preset number of static layers and a second preset number of dynamic layers. The map structured vector map corresponds to an environment vector sequence;
将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果。Inputting the GIS map structured vector diagram sequence and the environment vector sequence into a preset convolutional neural network, extracting the spatiotemporal features of the GIS map structured vector graphics sequence, the mapping features of the environment vector sequence, and According to the spatiotemporal feature and the mapping feature, a traffic congestion index result of the to-be-predicted area within a preset time is output.
可选的,所述动态图层包括交通动态数据,所述获取待预测区域的GIS地图结构化矢量图序列的步骤包括:Optionally, the dynamic layer includes traffic dynamic data, and the step of obtaining a GIS map structured vector map sequence of the area to be predicted includes:
获取所述待预测区域在历史时间点的GIS地图的静态图层和交通动态数据,所述静态图层包括路网图、建筑图以及兴趣点图中的一项或多项,所述交通动态数据包括与所述历史时间点对应的交通拥堵指数、车辆轨迹数据;Obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points. The static layer includes one or more of a road network map, a building map and a point of interest map. The traffic dynamic data The data includes traffic congestion index and vehicle trajectory data corresponding to the historical time point;
在所述历史时间点上,将所述交通拥堵指数映射到所述路网图中,得到交通拥堵指数图;At the historical time point, the traffic congestion index is mapped to the road network map to obtain a traffic congestion index map;
将所述车辆轨迹数据映射到二维网络中,计算每个网络中的车辆平均速度 以及车辆数量,得到车流速度图与车辆数量图;The vehicle trajectory data is mapped into a two-dimensional network, and the average vehicle speed and the number of vehicles in each network are calculated to obtain a traffic flow speed map and a vehicle number map;
将所述路网图、建筑图、兴趣点图、交通拥堵指数图、车流速度图与车辆数量图作为通道进行拼接,得到所述历史时间点对应的GIS地图结构化矢量图;Splicing the road network map, building map, point of interest map, traffic congestion index map, traffic speed map and vehicle quantity map as channels to obtain a GIS map structured vector map corresponding to the historical time point;
将连续历史时间点对应的GIS地图结构化矢量图按所述连续历史时间点的时序进行拼接,得到所述待预测区域的GIS地图结构化矢量图序列。The GIS map structured vector graphics corresponding to the continuous historical time points are spliced according to the time sequence of the continuous historical time points to obtain the GIS map structured vector graphics sequence of the to-be-predicted area.
可选的,所述获取待预测区域的环境矢量序列的步骤包括:Optionally, the step of obtaining the environment vector sequence of the area to be predicted includes:
获取所述待预测区域在所述历史时间点的天气数据和日期数据;Obtain the weather data and date data of the area to be predicted at the historical time point;
将所述天气数据和日期数据按预设的编码规则编码为环境矢量;encoding the weather data and date data into an environment vector according to a preset encoding rule;
对所述连续历史时间点对应的环境矢量按所述连续历史时间点的时序进行拼接,得到所述待预测区域的环境矢量序列。The environment vectors corresponding to the continuous historical time points are spliced according to the time sequence of the continuous historical time points to obtain the environment vector sequence of the to-be-predicted area.
可选的,所述预设的卷积神经网络包括三维卷积网络、特征映射网络、融合网络以及全连接层网络;Optionally, the preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network and a fully connected layer network;
所述将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果的步骤,包括:Inputting the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extracting the spatiotemporal features of the GIS map structured vector graphics sequence, and the mapping features of the environmental vector sequence , and the step of outputting the result of the traffic congestion index of the to-be-predicted area within a preset time according to the spatiotemporal feature and the mapping feature includes:
通过所述三维卷积网络对所述GIS地图结构化矢量图序列进行三维卷积计算,得到所述GIS地图结构化矢量图序列的时空特征;The 3D convolution calculation is performed on the GIS map structured vector diagram sequence through the 3D convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence;
通过所述特征映射网络对所述环境矢量序列进行映射计算,输出得到所述环境矢量序列的映射特征;Perform a mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence;
通过所述融合网络将所述时空特征与所述映射特征进行融合计算,输出得到融合特征;Perform fusion calculation on the spatiotemporal feature and the mapping feature through the fusion network, and output the fusion feature;
通过所述全连接层网络对所述融合特征进行第一全连接计算,输出得到所述待预测区域在预设时间内的交通拥堵指数结果。The first full-connection calculation is performed on the fusion feature through the fully-connected layer network, and the result of the traffic congestion index of the to-be-predicted area within a preset time is output.
可选的,所述三维卷积网络根据残差网络进行构建,所述通过所述三维卷 积网络对所述GIS地图结构化矢量图序列进行三维卷积计算,得到所述GIS地图结构化矢量图序列的时空特征的步骤,包括:Optionally, the three-dimensional convolution network is constructed according to a residual network, and the three-dimensional convolution calculation is performed on the GIS map structured vector diagram sequence through the three-dimensional convolution network to obtain the GIS map structured vector Steps of spatiotemporal features of graph sequences, including:
在三维卷积计算过程中,结合上一卷积计算层的残差进行卷积计算,得到时空特征图;In the process of three-dimensional convolution calculation, the convolution calculation is carried out in combination with the residual of the previous convolution calculation layer, and the spatiotemporal feature map is obtained;
对所述时空特征图进行第二全连接计算,得到所述GIS地图结构化矢量图序列的时空特征。A second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the GIS map structured vector map sequence.
可选的,所述融合网络为门控网络,所述通过所述融合网络将所述时空特征与所述映射特征进行融合计算,输出得到融合特征的步骤,包括:Optionally, the fusion network is a gated network, and the step of performing fusion calculation on the spatiotemporal feature and the mapping feature through the fusion network, and outputting the fusion feature, includes:
通过所述门控网络,对所述映射特征进行非线性化处理,得到门控特征;Through the gating network, non-linear processing is performed on the mapping feature to obtain the gating feature;
计算所述门控特征与所述时空特征的点积,得到融合特征。Calculate the dot product of the gated feature and the spatiotemporal feature to obtain a fusion feature.
可选的,所述方法还包括:Optionally, the method further includes:
获取训练样本集,所述训练样本集包括多个训练样本,每个训练样本中包括一个样本GIS地图结构化矢量图序列、与所述GIS地图结构化矢量图序列对应的一个样本环境矢量序列以及预测时间点的交通拥堵指数真实标签,所述样本GIS地图结构化矢量图序列与所述GIS地图结构化矢量图序列具有相同的数据结构,所述样本环境矢量序列与所述环境矢量序列具有相同的数据结构;Obtain a training sample set, the training sample set includes a plurality of training samples, each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and The real label of the traffic congestion index at the predicted time point, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, the sample environment vector sequence and the environment vector sequence have the same data structure data structure;
通过所述训练样本集,对卷积神经网络进行训练,以使所述卷积神经网络学习到对预测时间点的交通拥堵指数的预测输出,得到所述预设的卷积神经网络。Through the training sample set, the convolutional neural network is trained, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point, and the preset convolutional neural network is obtained.
第二方面,本发明实施例还提供了一种基于GIS地图信息的交通拥堵指数预测装置,包括:In a second aspect, an embodiment of the present invention also provides a device for predicting a traffic congestion index based on GIS map information, including:
第一获取模块,用于获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;The first acquisition module is used to acquire the GIS map structured vector graphics sequence and the environmental vector sequence of the area to be predicted, and each frame of the GIS map structured vector graphics includes a first preset number of static layers and a second preset number of dynamic layers. layer, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence;
预测模块,用于将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特 征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果。The prediction module is used to input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, and extract the spatiotemporal features of the GIS map structured vector diagram sequence, and the environmental vector sequence and output the traffic congestion index result of the to-be-predicted area within a preset time according to the spatiotemporal feature and the mapping feature.
第三方面,本发明实施例还提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述实施例中提供的基于GIS地图信息的交通拥堵指数预测方法中的步骤。In a third aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program At the same time, the steps in the method for predicting the traffic congestion index based on the GIS map information provided in the above embodiment are implemented.
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述实施例中提供的基于GIS地图信息的交通拥堵指数预测方法中的步骤。In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the GIS-based map provided in the foregoing embodiments Information on the steps in the traffic congestion index prediction method.
在本发明实施例中,通过获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果。这样可以结合待预测区域的GIS地图结构化矢量图序列中的第一预设数量的静态图层与第二预设数量的动态图层以及环境矢量序列等多维度数据输入预设的卷积神经网络中,以提取所述GIS地图结构化矢量图序列的时空特征和所述环境矢量序列的映射特征来预测待预测区域在预设时间内的交通拥堵指数,进而提高交通拥堵指数的预测准确度。In the embodiment of the present invention, by obtaining the GIS map structured vector map sequence and the environment vector sequence of the area to be predicted, each frame of the GIS map structured vector map includes a first preset number of static layers and a second preset number of static layers. A dynamic layer, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence; input the GIS map structured vector graphics sequence and the environmental vector sequence into a preset convolutional neural network, and extract the GIS map respectively The spatiotemporal feature of the structured vector diagram sequence, the mapping feature of the environment vector sequence, and the traffic congestion index result of the to-be-predicted area within a preset time is output according to the spatiotemporal feature and the mapping feature. In this way, multi-dimensional data such as the first preset number of static layers and the second preset number of dynamic layers and the environmental vector sequence in the GIS map structured vector map sequence of the area to be predicted can be input into the preset convolutional neural network. In the network, the temporal and spatial characteristics of the GIS map structured vector diagram sequence and the mapping characteristics of the environmental vector sequence are extracted to predict the traffic congestion index of the area to be predicted within a preset time, thereby improving the prediction accuracy of the traffic congestion index. .
附图说明Description of drawings
图1是本发明实施例提供的一种基于GIS地图信息的交通拥堵指数预测方法的流程图;1 is a flowchart of a method for predicting a traffic congestion index based on GIS map information provided by an embodiment of the present invention;
图2是本发明实施例步骤101提供的一种方法流程图;FIG. 2 is a flowchart of a method provided in step 101 in an embodiment of the present invention;
图3是本发明实施例步骤101提供的另一种方法流程图;3 is a flowchart of another method provided in step 101 in an embodiment of the present invention;
图4是本发明实施例步骤102提供的一种方法流程图;4 is a flowchart of a method provided in step 102 in an embodiment of the present invention;
图5是本发明实施例提供的另一种基于GIS地图信息的交通拥堵指数预测方法的流程图;5 is a flowchart of another traffic congestion index prediction method based on GIS map information provided by an embodiment of the present invention;
图6是本发明实施例提供的一种基于GIS地图信息的交通拥堵指数预测装置的结构示意图;6 is a schematic structural diagram of a device for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention;
图7是本发明实施例中第一获取模块提供的一种结构示意图;7 is a schematic structural diagram provided by a first acquisition module in an embodiment of the present invention;
图8是本发明实施例中第一获取模块提供的另一种结构示意图;8 is another schematic structural diagram provided by a first acquisition module in an embodiment of the present invention;
图9是本发明实施例中预测模块提供的一种结构示意图;9 is a schematic structural diagram provided by a prediction module in an embodiment of the present invention;
图10是本发明实施例提供的另一种基于GIS地图信息的交通拥堵指数预测装置的结构示意图;10 is a schematic structural diagram of another device for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention;
图11是本发明实施例提供的一种电子设备的结构示意图。FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
请参见图1,图1是本发明实施例提供的一种基于GIS地图信息的交通拥堵指数预测方法的流程图,如图1所示,该基于GIS地图信息的交通拥堵指数预测方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a method for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention. As shown in FIG. 1, the method for predicting traffic congestion index based on GIS map information includes the following steps :
步骤101、获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列。Step 101: Obtain a GIS map structured vector diagram sequence and an environment vector sequence of the area to be predicted.
其中,GIS地图结构化矢量图序列包括多帧GIS地图结构化矢量图,每帧GIS(Geographic Information System,地理信息系统)地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且每一帧GIS地图结构化矢量图对应一个环境矢量序列。The GIS map structured vector graphics sequence includes multi-frame GIS map structured vector graphics, and each frame of GIS (Geographic Information System, geographic information system) map structured vector graphics includes a first preset number of static layers and a second preset number of static layers. Set a number of dynamic layers, and each frame of GIS map structured vector graphics corresponds to an environmental vector sequence.
上述第一预设数量的静态图层可以包括3个静态图层,每个静态图层包括一个静态通道。3个静态图层则对应3个静态通道,可以称为RBP通道,其中,R表示road(道路)通道,B表示building(建筑)通道,P表示POI(Point of interesting,兴趣点)通道。当然了,第一预设数量的静态图层可以根据实际需要设置不同数量、不同功能的静态图层,在此不对静态图层的数量及功能进行限定。对应的,也不对静态通道的数量进行限定。The above-mentioned first preset number of static layers may include three static layers, and each static layer includes one static channel. The three static layers correspond to three static channels, which can be called RBP channels, where R represents the road channel, B represents the building channel, and P represents the POI (Point of interest) channel. Of course, for the first preset number of static layers, different numbers and different functions can be set according to actual needs, and the number and functions of the static layers are not limited here. Correspondingly, the number of static channels is also not limited.
上述第二预设数量的动态图层可以包括3个动态图层,每个动态图层包括一个动态通道。3个动态图层则对应3个动态通道,可以称为TSC通道,其中,T表示TTI(Travel Time Index,交通拥堵指数)通道、S表示speed(速度)通道、C表示count(数量)通道。当然了,第二预设数量的动态图层可以根据实际需要设置不同数量、不同功能的动态图层,在此不对动态图层的数量及功能进行限定。当然,也不对动态通道的数量进行限定。The above-mentioned second preset number of dynamic layers may include three dynamic layers, and each dynamic layer includes one dynamic channel. The three dynamic layers correspond to three dynamic channels, which can be called TSC channels, where T represents the TTI (Travel Time Index, traffic congestion index) channel, S represents the speed (speed) channel, and C represents the count (quantity) channel. Of course, for the second preset number of dynamic layers, different numbers of dynamic layers with different functions can be set according to actual needs, and the number and functions of the dynamic layers are not limited here. Of course, the number of dynamic channels is not limited.
例如,上述每帧GIS地图结构化矢量图包括一个六通道RBPTSC图层,其中,六通道RBPTSC图层的N*N*6三维矢量表示空间信息,加上某个时间段的时间点个数,如6个时间点的切片,构成一个6*N*N*6的四维矢量表示时空信息。每帧GIS地图结构化矢量图均包含自身的时空信息。其中N为大于等于1的整数,N的取值可以根据实际需要进行设置。For example, each frame of the GIS map structured vector diagram above includes a six-channel RBPTSC layer, wherein the N*N*6 three-dimensional vector of the six-channel RBPTSC layer represents spatial information, plus the number of time points in a certain time period, For example, a slice of 6 time points forms a 6*N*N*6 four-dimensional vector to represent the spatiotemporal information. Each frame of GIS map structured vector graphics contains its own spatiotemporal information. Among them, N is an integer greater than or equal to 1, and the value of N can be set according to actual needs.
上述待预测区域为用户需要预测交通拥堵指数的目标区域,可以是某个路口、某条道路、某个区域等。还可以是多个路口、多条道路、多个区域等。The above-mentioned area to be predicted is a target area where the user needs to predict the traffic congestion index, which may be a certain intersection, a certain road, a certain area, and the like. It can also be multiple intersections, multiple roads, multiple areas, and so on.
具体的,如图2所示,图2是本发明实施例步骤101提供的一种方法流程图。动态图层包括交通动态数据,上述获取待预测区域的GIS地图结构化矢量图序列的步骤包括:Specifically, as shown in FIG. 2 , FIG. 2 is a flowchart of a method provided in step 101 in an embodiment of the present invention. The dynamic layer includes traffic dynamic data, and the above-mentioned steps of obtaining a GIS map structured vector map sequence of the area to be predicted include:
步骤201、获取待预测区域在历史时间点的GIS地图的静态图层和交通动态数据。Step 201: Obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points.
其中,静态图层包括路网图、建筑图以及兴趣点图中的一项或多项,交通动态数据包括与历史时间点对应的交通拥堵指数、车辆轨迹数据。每个待预测区域均有属于自己的路网图、建筑图以及兴趣点图。The static layer includes one or more of a road network map, a building map, and a point-of-interest map, and the traffic dynamic data includes traffic congestion index and vehicle trajectory data corresponding to historical time points. Each area to be predicted has its own road network map, building map and point of interest map.
步骤202、在历史时间点上,将交通拥堵指数映射到路网图中,得到交通拥堵指数图。 Step 202 , at a historical time point, map the traffic congestion index to a road network map to obtain a traffic congestion index map.
步骤203、将车辆轨迹数据映射到二维网络中,计算每个网络中的车辆平均速度以及车辆数量,得到车流速度图与车辆数量图。Step 203: Map the vehicle trajectory data into a two-dimensional network, calculate the average speed of vehicles and the number of vehicles in each network, and obtain a vehicle flow speed map and a vehicle number map.
步骤204、将路网图、建筑图、兴趣点图、交通拥堵指数图、车流速度图与车辆数量图作为通道进行拼接,得到历史时间点对应的GIS地图结构化矢量图。 Step 204 , splicing the road network map, the building map, the point of interest map, the traffic congestion index map, the traffic speed map, and the vehicle number map as channels to obtain a GIS map structured vector map corresponding to a historical time point.
步骤205、将连续历史时间点对应的GIS地图结构化矢量图按连续历史时间点的时序进行拼接,得到待预测区域的GIS地图结构化矢量图序列。 Step 205 , splicing the GIS map structured vector graphics corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points to obtain a GIS map structured vector graphics sequence of the area to be predicted.
上述历史时间点可以是过去某个时间段按某时间单位所取的某时间点,比 如,过去一小时,以10分钟为单位所取的某时间点,这样过去一小时以10分钟为单位可以取6个时间点(即6个数据点),那么历史时间点就可以是这6个时间点中的一个时间点。当然了,过去某个时间段可以设置为过去两个小时的某个时间点,还是以10分钟为单位时,即得到12个时间点(即12个数据点)等。那么历史时间点就可以是这12个时间点中的一个时间点。在本发明实施例中,主要以10分钟为单位进行说明,当然了,单位时间可以根据实际需求进行设置。The above historical time point can be a certain time point taken in a certain time unit in a certain time period in the past, for example, a certain time point taken in a unit of 10 minutes in the past hour, so that the unit of 10 minutes in the past hour can be used. Take 6 time points (that is, 6 data points), then the historical time point can be one of the 6 time points. Of course, a certain time period in the past can be set as a certain time point in the past two hours, or in units of 10 minutes, that is, 12 time points (ie 12 data points) are obtained, etc. Then the historical time point can be one of the 12 time points. In the embodiment of the present invention, the description is mainly based on a unit of 10 minutes. Of course, the unit time can be set according to actual requirements.
上述兴趣点图可以包括一些公交车站点、地铁站点、酒店、学校、医院、高铁站、汽车站、公园、停车场等感兴趣的点所对应的图。上述兴趣点图可以称为POI图层。The above-mentioned point-of-interest map may include maps corresponding to some points of interest such as bus stops, subway stations, hotels, schools, hospitals, high-speed railway stations, bus stations, parks, and parking lots. The above point of interest map can be referred to as a POI layer.
上述车辆轨迹数据可以包括车辆速度、车辆位置(GPS定位位置)等。上述车辆可以包括网约车、出租车、私家车等。The above-mentioned vehicle trajectory data may include vehicle speed, vehicle position (GPS positioning position), and the like. The above-mentioned vehicles may include online car-hailing, taxis, private cars, and the like.
更具体的,获取待预测区域在历史时间点的GIS地图的路网图、建筑图以及兴趣点图等图层后,以GPS经纬度画网格。通过将路网图、建筑图以及兴趣点图三个图层按照GPS经纬度构建三个N*N的二维矢量图层,以构建通道,即,得到路网图、建筑图以及兴趣点图对应的RBP通道,分别为road通道、building通道、POI通道。More specifically, after acquiring the road network map, building map, and point-of-interest map of the GIS map of the area to be predicted at historical time points, a grid is drawn based on the GPS latitude and longitude. By constructing three N*N two-dimensional vector layers according to the GPS latitude and longitude from the three layers of the road network map, the building map and the POI map to construct the channel, that is, the corresponding road network map, the building map and the POI map are obtained. The RBP channels are the road channel, building channel, and POI channel.
同时获取待预测区域在历史时间点的GIS地图的交通拥堵数据。进一步根据道路的GIS地图,基于R通道将对应道路的交通拥堵指数映射到对应的路网图中去,得到该道路的交通拥堵指数图,也即构建得到一个TTI通道,记为T通道。例如,历史时间设置为一个小时(即6个数据点),那么利用过去一小时的交通拥堵指数可以记为
Figure PCTCN2021114906-appb-000001
其中,M代表待预测的道路数量。然后根据道路的GIS地图利用所构建的RBP通道中的R通道,将
Figure PCTCN2021114906-appb-000002
对应道路的交通拥堵指数TTI映射到对应的路网图中去,即可得到过去一小时的交通拥堵指数图,也即构建得到过去一小时的一个TTI通道,记为T通道。
At the same time, the traffic congestion data of the GIS map of the area to be predicted at historical time points are obtained. Further according to the GIS map of the road, the traffic congestion index of the corresponding road is mapped to the corresponding road network map based on the R channel, and the traffic congestion index map of the road is obtained, that is, a TTI channel is constructed and recorded as the T channel. For example, if the historical time is set to one hour (ie, 6 data points), then the traffic congestion index for the past hour can be recorded as
Figure PCTCN2021114906-appb-000001
Among them, M represents the number of roads to be predicted. Then according to the GIS map of the road, using the R channel in the constructed RBP channel, the
Figure PCTCN2021114906-appb-000002
The traffic congestion index TTI of the corresponding road is mapped to the corresponding road network map, and the traffic congestion index map of the past hour can be obtained, that is, a TTI channel of the past hour can be constructed and recorded as the T channel.
需要说明的是,在本发明实施例中,交通拥堵指数的记录主要是以10分钟为单位时间,即每条道路每10分钟会有一个交通拥堵指数的数值。若需要根据过去一小时(一个小时中每10分钟得到一个交通拥堵指数,一个小时分为6个时间点(即6个数据点),即得到6个交通拥堵指数),预测未来半小时(即3个数据点)的交通拥堵指数时,可以将未来半小时的交通拥堵指数记为
Figure PCTCN2021114906-appb-000003
M代表待预测的道路数量。但对未来半小时的交通拥堵指数不做映 射处理,而是当作未来半小时的交通拥堵指数的真实值。
It should be noted that, in the embodiment of the present invention, the recording of the traffic congestion index mainly takes 10 minutes as a unit time, that is, each road has a value of the traffic congestion index every 10 minutes. If you need to predict the future half an hour (i.e., one hour is divided into 6 time points (that is, 6 data points), that is, 6 traffic congestion indexes are obtained) based on the past hour (a traffic congestion index is obtained every 10 minutes in an hour). 3 data points), the traffic congestion index for the next half hour can be recorded as
Figure PCTCN2021114906-appb-000003
M represents the number of roads to be predicted. However, the traffic congestion index for the next half hour is not mapped, but is regarded as the real value of the traffic congestion index for the next half hour.
进一步的,获取待预测区域在历史时间点的GIS地图的车辆轨迹数据中的车辆速度、车辆位置(GPS定位位置)。并根据GPS经纬度信息将车辆速度、车辆位置映射到二维网格中,并统计出每个二维网格的车辆平均速度以及车辆总数,得到车流速度图与车辆数量图,也即构建得到车流速度图与车辆数量图对应的车流速度通道以及车辆数量通道,记作SC通道,其中S表示speed通道,C表示count通道。Further, the vehicle speed and vehicle position (GPS positioning position) in the vehicle trajectory data of the GIS map of the area to be predicted at historical time points are acquired. And according to the GPS latitude and longitude information, the vehicle speed and vehicle position are mapped to the two-dimensional grid, and the average vehicle speed and the total number of vehicles in each two-dimensional grid are counted, and the traffic speed map and the number of vehicles are obtained, that is, the traffic flow is constructed. The traffic speed channel and the vehicle number channel corresponding to the speed map and the number of vehicles map are denoted as the SC channel, where S represents the speed channel and C represents the count channel.
这样可以基于路网图、建筑图、兴趣点图、交通拥堵指数图、车流速度图与车辆数量图等多维图结合得到待预测区域对应的GIS地图结构化矢量图序列,以对某个待预测区域在未来一段时间内的交通拥堵指数进行预测,进而提高交通拥堵指数的预测精度。In this way, a GIS map structured vector map sequence corresponding to the area to be predicted can be obtained based on multi-dimensional maps such as road network maps, building maps, points of interest maps, traffic congestion index maps, traffic speed maps, and vehicle quantity maps. The traffic congestion index of the region in the future period of time is predicted, thereby improving the prediction accuracy of the traffic congestion index.
具体的,如图3所示,图3是本发明实施例步骤101提供的另一种方法流程图。上述获取待预测区域的环境矢量序列的步骤包括:Specifically, as shown in FIG. 3 , FIG. 3 is a flowchart of another method provided in step 101 of the embodiment of the present invention. The above steps of obtaining the environment vector sequence of the area to be predicted include:
步骤301、获取待预测区域在历史时间点的天气数据和日期数据。Step 301: Obtain weather data and date data of the area to be predicted at a historical time point.
步骤302、将天气数据和日期数据按预设的编码规则编码为环境矢量。Step 302: Encode weather data and date data into environment vectors according to a preset encoding rule.
步骤303、对连续历史时间点对应的环境矢量按连续历史时间点的时序进行拼接,得到待预测区域的环境矢量序列。 Step 303 , splicing the environmental vectors corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points to obtain the environmental vector sequence of the area to be predicted.
其中,上述天气数据可以包括温度、湿度、降雨量这三个指标。The above weather data may include three indicators of temperature, humidity, and rainfall.
上述日期数据可以包括节假日信息。对于日期数据可以使用一个预设的编码规则,如离散特征来对日期数据进行编码,如1代表该天为工作日,0则表示为节假日。同时也可以提取了时间相关的信息作为特征,例如周几,分钟数,小时数,是否早晚高峰等。The above-mentioned date data may include holiday information. For date data, a preset encoding rule, such as discrete features, can be used to encode date data. For example, 1 means that the day is a working day, and 0 means that it is a holiday. At the same time, time-related information can also be extracted as features, such as the day of the week, the number of minutes, the number of hours, whether the morning and evening peaks, etc.
具体的,将获取到的待预测区域在历史时间点的天气数据和日期数据根据预设的编码规则编码为每个历史时间点的环境矢量,然后将多个连续历史时间点的环境矢量按连续历史时间点的时序拼接得到该待预测区域的环境矢量序列。这样可以把实际的天气数据和日期数据转化为计算机能够识别的环境矢量序列,进而便于对该环境矢量序列进行分析处理。这样可以结合天气数据和日期数据等多源异构数据来对某个待预测区域在未来一段时间的交通拥堵指数的预测,提高交通拥堵指数的预测精度。Specifically, the obtained weather data and date data of the area to be predicted at historical time points are encoded into environmental vectors of each historical time point according to a preset coding rule, and then the environmental vectors of multiple consecutive historical time points are coded as continuous The sequence splicing of historical time points obtains the environment vector sequence of the area to be predicted. In this way, the actual weather data and date data can be converted into an environment vector sequence that can be recognized by a computer, so as to facilitate the analysis and processing of the environment vector sequence. In this way, multi-source heterogeneous data such as weather data and date data can be combined to predict the traffic congestion index of a certain area to be predicted in the future, and improve the prediction accuracy of the traffic congestion index.
步骤102、将GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取GIS地图结构化矢量图序列的时空特征,环境矢量 序列的映射特征,并根据时空特征与映射特征输出待预测区域在预设时间内的交通拥堵指数结果。Step 102: Input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extract the spatiotemporal features of the GIS map structured vector graphics sequence and the mapping feature of the environmental vector sequence, and extract the spatial and temporal features of the GIS map structured vector map sequence and the environmental vector sequence according to the spatiotemporal features. Output the traffic congestion index result of the area to be predicted within the preset time with the mapping feature.
其中,上述预设的卷积神经网络包括三维卷积网络、特征映射网络、融合网络以及全连接层网络。The above-mentioned preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network, and a fully connected layer network.
具体的,如图4所示,图4是本发明实施例步骤102提供的一种方法流程图。步骤102包括步骤:Specifically, as shown in FIG. 4 , FIG. 4 is a flowchart of a method provided in step 102 in an embodiment of the present invention. Step 102 includes the steps:
步骤401、通过三维卷积网络对GIS地图结构化矢量图序列进行三维卷积计算,得到GIS地图结构化矢量图序列的时空特征。Step 401 , performing a three-dimensional convolution calculation on the GIS map structured vector graphics sequence through a three-dimensional convolutional network to obtain the spatiotemporal characteristics of the GIS map structured vector graphics sequence.
其中,上述三维卷积网络根据残差网络进行构建得到。三维卷积网络根据残差网络进行构建得到能够避免神经网络深度太深导致的信息丢失。Wherein, the above three-dimensional convolutional network is constructed according to the residual network. The three-dimensional convolutional network is constructed according to the residual network, which can avoid the loss of information caused by the depth of the neural network.
具体的,在三维卷积计算过程中,结合上一卷积计算层的残差进行卷积计算,得到时空特征图。对时空特征图进行第二全连接计算,得到GIS地图结构化矢量图序列的时空特征。Specifically, in the three-dimensional convolution calculation process, the convolution calculation is performed in combination with the residuals of the previous convolution calculation layer to obtain a spatiotemporal feature map. The second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the structured vector map sequence of the GIS map.
需要说明的是,该时空特征对应使用Z维向量来表示,Z维向量可以表示为
Figure PCTCN2021114906-appb-000004
以6*N*N*6的四维的时空矢量数据为例,Z维向量可以表示为
Figure PCTCN2021114906-appb-000005
It should be noted that the spatiotemporal feature is represented by a Z-dimensional vector, and the Z-dimensional vector can be expressed as
Figure PCTCN2021114906-appb-000004
Taking the four-dimensional space-time vector data of 6*N*N*6 as an example, the Z-dimensional vector can be expressed as
Figure PCTCN2021114906-appb-000005
步骤402、通过特征映射网络对环境矢量序列进行映射计算,输出得到环境矢量序列的映射特征。 Step 402 , perform mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence.
其中,上述特征映射网络是一个两层的全连接前馈神经网络(以Relu(Rectified Linear Unit,修正线性单元)为非线性激活函数)。特征映射网络的输入是环境矢量序列中的天气数据以及日期数据。Among them, the above feature mapping network is a two-layer fully connected feedforward neural network (with Relu (Rectified Linear Unit) as a nonlinear activation function). The input to the feature map network is the weather data in the sequence of environment vectors along with the date data.
具体的,通过该特征映射网络把环境矢量序列中的天气数据以及日期数据进行编码映射到一个向量空间,进而得到映射特征。Specifically, through the feature mapping network, the weather data and date data in the environmental vector sequence are encoded and mapped to a vector space, and then the mapping features are obtained.
步骤403、通过融合网络将时空特征与映射特征进行融合计算,输出得到融合特征。 Step 403 , perform a fusion calculation on the spatiotemporal feature and the mapping feature through a fusion network, and output the fusion feature.
其中,上述融合网络为门控网络。Among them, the above-mentioned fusion network is a gated network.
具体的,通过门控网络,对映射特征进行非线性化处理,得到门控特征。计算门控特征与时空特征的点积,得到融合特征。Specifically, through the gating network, the mapping feature is nonlinearly processed to obtain the gating feature. Calculate the dot product of the gated feature and the spatiotemporal feature to get the fusion feature.
更具体的,该门控网络的输入是特征映射网络的输出,通过该门控网络经过一个sigmoid激活函数对映射特征进行非线性化处理,得到一个取值为(0,1)之间的门控特征(门控参数向量
Figure PCTCN2021114906-appb-000006
)。再结合时空特征的Z维向量
Figure PCTCN2021114906-appb-000007
计算与门控特征的门控参数向量
Figure PCTCN2021114906-appb-000008
之间的点积(数量积),最终门控网络输出融合特征F out=Feature·V。
More specifically, the input of the gating network is the output of the feature mapping network, and the mapping feature is nonlinearly processed through a sigmoid activation function through the gating network, and a gate with a value between (0, 1) is obtained. gating feature (gating parameter vector
Figure PCTCN2021114906-appb-000006
). Combined with the Z-dimensional vector of spatiotemporal features
Figure PCTCN2021114906-appb-000007
Compute the gating parameter vector with the gating feature
Figure PCTCN2021114906-appb-000008
The dot product (quantitative product) between , the final gating network outputs the fusion feature F out =Feature·V.
由此可知,门控参数向量
Figure PCTCN2021114906-appb-000009
的取值的大小表示通过门控网络的数值的程度,取值越接近1表示通过的越多,相反则越少。
From this, it can be seen that the gating parameter vector
Figure PCTCN2021114906-appb-000009
The size of the value represents the degree to which the value of the gated network is passed. The closer the value is to 1, the more it passes, and vice versa.
步骤404、通过全连接层网络对融合特征进行第一全连接计算,输出得到待预测区域在预设时间内的交通拥堵指数结果。Step 404: Perform a first full-connection calculation on the fusion feature through a fully-connected layer network, and output the result of the traffic congestion index of the area to be predicted within a preset time.
其中,上述全连接层网络包括两层全连接层网络。上述全连接层网络的输入是门控网络的输出(融合特征)。Wherein, the above-mentioned fully connected layer network includes two layers of fully connected layer network. The input of the above fully connected layer network is the output of the gating network (fused features).
具体的,将融合特征输入两层的全连接层网络进行全连接计算,进而输出待预测区域在预设时间内的交通拥堵指数结果。比如,想要预测各个路段未来半小时的交通拥堵指数时,则可以根据全连接层网络实际输出各路段未来半小时的交通拥堵指数
Figure PCTCN2021114906-appb-000010
并将该
Figure PCTCN2021114906-appb-000011
与预设的各路段未来半小时的真实交通拥堵指数
Figure PCTCN2021114906-appb-000012
进行比较,若
Figure PCTCN2021114906-appb-000013
Figure PCTCN2021114906-appb-000014
越接近,则说明预测结果越准确。
Specifically, the fusion feature is input into a two-layer fully-connected layer network to perform a fully-connected calculation, and then the result of the traffic congestion index of the area to be predicted within a preset time is output. For example, when you want to predict the traffic congestion index of each road section in the next half hour, you can actually output the traffic congestion index of each road section in the next half hour according to the fully connected layer network.
Figure PCTCN2021114906-appb-000010
and put the
Figure PCTCN2021114906-appb-000011
The actual traffic congestion index of each road section in the next half hour with the preset
Figure PCTCN2021114906-appb-000012
to compare, if
Figure PCTCN2021114906-appb-000013
and
Figure PCTCN2021114906-appb-000014
The closer it is, the more accurate the prediction result is.
在本发明实施例中,通过获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;将GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取GIS地图结构化矢量图序列的时空特征,环境矢量序列的映射特征,并根据时空特征与映射特征输出待预测区域在预设时间内的交通拥堵指数结果。这样可以结合待预测区域的GIS地图结构化矢量图序列中的第一预设数量的静态图层与第二预设数量的动态图层以及环境矢量序列等多维度数据输入预设的卷积神经网络中,以提取GIS地图结构化矢量图序列的时空特征和环境矢量序列的映射特征来预测待预测区域在预设时间内的交通拥堵指数,进而提高交通拥堵指数的预测准确度。In the embodiment of the present invention, by obtaining the GIS map structured vector map sequence and the environment vector sequence of the area to be predicted, each frame of the GIS map structured vector map includes a first preset number of static layers and a second preset number of static layers. Dynamic layers, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence; input the GIS map structured vector graphics sequence and the environmental vector sequence into the preset convolutional neural network, and extract the GIS map structured vector graphics respectively The spatiotemporal features of the sequence, the mapping features of the environmental vector sequence, and the traffic congestion index results of the area to be predicted within the preset time are output according to the spatiotemporal features and the mapping features. In this way, multi-dimensional data such as the first preset number of static layers and the second preset number of dynamic layers and the environmental vector sequence in the GIS map structured vector map sequence of the area to be predicted can be input into the preset convolutional neural network. In the network, the temporal and spatial characteristics of the GIS map structured vector diagram sequence and the mapping characteristics of the environmental vector sequence are extracted to predict the traffic congestion index of the area to be predicted within the preset time, thereby improving the prediction accuracy of the traffic congestion index.
参见图5,图5是本发明实施例提供的另一种基于GIS地图信息的交通拥堵指数预测方法的流程图。该基于GIS地图信息的交通拥堵指数预测方法还包括步骤:Referring to FIG. 5, FIG. 5 is a flowchart of another traffic congestion index prediction method based on GIS map information provided by an embodiment of the present invention. The traffic congestion index prediction method based on GIS map information further includes the steps:
步骤501、获取训练样本集。Step 501: Obtain a training sample set.
其中,训练样本集包括多个训练样本,每个训练样本中包括一个样本GIS地图结构化矢量图序列、与GIS地图结构化矢量图序列对应的一个样本环境矢 量序列以及预测时间点的交通拥堵指数真实标签。The training sample set includes multiple training samples, and each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and a traffic congestion index at a predicted time point true label.
样本GIS地图结构化矢量图序列与GIS地图结构化矢量图序列具有相同的数据结构,样本环境矢量序列与环境矢量序列具有相同的数据结构。The sample GIS map structured vector map sequence has the same data structure as the GIS map structured vector map sequence, and the sample environment vector sequence has the same data structure as the environment vector sequence.
具体的,训练样本集可以是预先采集、处理并存储在数据库中用于训练的样本集。当然了,也可以是在某预测区域现场,实时的采集、处理得到的训练样本集。Specifically, the training sample set may be a sample set that is pre-collected, processed and stored in a database for training. Of course, it can also be a training sample set collected and processed in real time at the scene of a certain prediction area.
步骤502、通过训练样本集,对卷积神经网络进行训练,以使卷积神网络经学习到对预测时间点的交通拥堵指数的预测输出,得到预设的卷积神经网络。 Step 502 , train the convolutional neural network through the training sample set, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point to obtain a preset convolutional neural network.
具体的,在获取到训练样本集后,即可将训练样本集输入卷积神经网络中进行预测训练,以使卷积神网络经学习到对预测时间点的交通拥堵指数的预测输出,进而得到预设的卷积神经网络。这样就可以通过该预设的卷积神经网络基于GIS地图信息对某个预测区域的未来一段时间内的交通拥堵指数进行预测,从而提高预测结果的准确度。Specifically, after the training sample set is obtained, the training sample set can be input into the convolutional neural network for prediction training, so that the convolutional neural network can learn the predicted output of the traffic congestion index at the predicted time point, and then obtain Preset Convolutional Neural Networks. In this way, the preset convolutional neural network can be used to predict the traffic congestion index in a certain forecast area in a future period of time based on the GIS map information, thereby improving the accuracy of the forecast result.
在本发明实施例中,对卷积神经网络进行训练时,卷积神经网络采用的的损失函数是均方误差(MSE,Mean Square error),并且可以通过SGD(Stochastic Gradient Descent,随机梯度下降)算法进行端到端地学习,进而提高预设的卷积神经网络的预测结果的准确度。In the embodiment of the present invention, when training the convolutional neural network, the loss function used by the convolutional neural network is the mean square error (MSE, Mean Square error), and can pass SGD (Stochastic Gradient Descent, stochastic gradient descent) The algorithm learns end-to-end, thereby improving the accuracy of the prediction results of the preset convolutional neural network.
在本发明实施例中,通过训练样本集对卷积神经网络进行训练得到预设的卷积神经网络对某个预测区域的未来一段时间的交通拥堵指数进行预测,提高预设的卷积神经网络的预测性能,进一步提高预设的卷积神经网络的预测准确度。In the embodiment of the present invention, the convolutional neural network is trained through the training sample set to obtain a preset convolutional neural network to predict the traffic congestion index of a certain prediction area for a period of time in the future, so as to improve the preset convolutional neural network. The prediction performance of the pre-set convolutional neural network is further improved.
参见图6,图6是本发明实施例提供的一种基于GIS地图信息的交通拥堵指数预测装置的结构示意图,该基于GIS地图信息的交通拥堵指数预测装置600包括:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a traffic congestion index prediction device based on GIS map information provided by an embodiment of the present invention. The GIS map information-based traffic congestion index prediction device 600 includes:
第一获取模块601,用于获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;The first acquisition module 601 is used to acquire a GIS map structured vector map sequence and an environment vector sequence of the area to be predicted. Each frame of the GIS map structured vector map includes a first preset number of static layers and a second preset number of static layers. Dynamic layers, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence;
预测模块602,用于将GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取GIS地图结构化矢量图序列的时空特征, 环境矢量序列的映射特征,并根据时空特征与映射特征输出待预测区域在预设时间内的交通拥堵指数结果。The prediction module 602 is used to input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extract the spatiotemporal features of the GIS map structured vector graphics sequence, the mapping feature of the environmental vector sequence, and Output the traffic congestion index results of the area to be predicted within the preset time according to the spatiotemporal features and mapping features.
可选的,如图7所示,图7是本发明实施例中第一获取模块提供的一种结构示意图。动态图层包括交通动态数据,第一获取模块601包括:Optionally, as shown in FIG. 7 , FIG. 7 is a schematic structural diagram provided by the first acquisition module in an embodiment of the present invention. The dynamic layer includes traffic dynamic data, and the first acquisition module 601 includes:
第一获取单元6011,用于获取待预测区域在历史时间点的GIS地图的静态图层和交通动态数据,静态图层包括路网图、建筑图以及兴趣点图中的一项或多项,交通动态数据包括与历史时间点对应的交通拥堵指数、车辆轨迹数据;The first obtaining unit 6011 is used to obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points. The static layer includes one or more of a road network map, a building map and a point of interest map, Traffic dynamic data includes traffic congestion index and vehicle trajectory data corresponding to historical time points;
第一映射单元6012,用于在历史时间点上,将交通拥堵指数映射到路网图中,得到交通拥堵指数图;The first mapping unit 6012 is used to map the traffic congestion index to the road network map at a historical time point to obtain a traffic congestion index map;
第二映射单元6013,用于将车辆轨迹数据映射到二维网络中,计算每个网络中的车辆平均速度以及车辆数量,得到车流速度图与车辆数量图;The second mapping unit 6013 is used to map the vehicle trajectory data into a two-dimensional network, calculate the average vehicle speed and the number of vehicles in each network, and obtain a traffic flow speed map and a vehicle number map;
第一拼接单元6014,用于将路网图、建筑图、兴趣点图、交通拥堵指数图、车流速度图与车辆数量图作为通道进行拼接,得到历史时间点对应的GIS地图结构化矢量图;The first splicing unit 6014 is used for splicing the road network map, the building map, the point of interest map, the traffic congestion index map, the traffic speed map and the vehicle quantity map as channels to obtain the GIS map structured vector diagram corresponding to the historical time point;
第二拼接单元6015,用于将连续历史时间点对应的GIS地图结构化矢量图按连续历史时间点的时序进行拼接,得到待预测区域的GIS地图结构化矢量图序列。The second splicing unit 6015 is configured to splicing the GIS map structured vector graphics corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points to obtain the GIS map structured vector graphics sequence of the area to be predicted.
可选的,如图8所示,图8是本发明实施例中第一获取模块提供的另一种结构示意图。第一获取模块601包括:Optionally, as shown in FIG. 8 , FIG. 8 is another schematic structural diagram provided by the first acquisition module in the embodiment of the present invention. The first acquisition module 601 includes:
第二获取单元6016,用于获取待预测区域在历史时间点的天气数据和日期数据;The second obtaining unit 6016 is used to obtain weather data and date data of the area to be predicted at historical time points;
编码单元6017,用于将天气数据和日期数据按预设的编码规则编码为环境矢量;The encoding unit 6017 is used to encode weather data and date data into environmental vectors according to preset encoding rules;
第三拼接单元6018,用于对连续历史时间点对应的环境矢量按连续历史时间点的时序进行拼接,得到待预测区域的环境矢量序列。The third splicing unit 6018 is configured to splicing the environmental vectors corresponding to the consecutive historical time points according to the time sequence of the consecutive historical time points, to obtain the environmental vector sequence of the area to be predicted.
可选的,预设的卷积神经网络包括三维卷积网络、特征映射网络、融合网络以及全连接层网络;Optionally, the preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network, and a fully connected layer network;
如图9所示,图9是本发明实施例中预测模块提供的一种结构示意图。预测模块602包括:As shown in FIG. 9 , FIG. 9 is a schematic structural diagram provided by a prediction module in an embodiment of the present invention. Prediction module 602 includes:
卷积计算单元6021,用于通过三维卷积网络对GIS地图结构化矢量图序列进行三维卷积计算,得到GIS地图结构化矢量图序列的时空特征;The convolution calculation unit 6021 is used to perform three-dimensional convolution calculation on the GIS map structured vector diagram sequence through a three-dimensional convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence;
映射计算单元6022,用于通过特征映射网络对环境矢量序列进行映射计算,输出得到环境矢量序列的映射特征;The mapping calculation unit 6022 is used to perform mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence;
融合计算单元6023,用于通过融合网络将时空特征与映射特征进行融合计算,输出得到融合特征;The fusion calculation unit 6023 is used to fuse the spatiotemporal feature and the mapping feature through the fusion network, and output the fusion feature;
全连接计算单元6024,用于通过全连接层网络对融合特征进行第一全连接计算,输出得到待预测区域在预设时间内的交通拥堵指数结果。The fully connected calculation unit 6024 is configured to perform the first fully connected calculation on the fusion feature through the fully connected layer network, and output the result of the traffic congestion index of the area to be predicted within a preset time.
可选的,三维卷积网络根据残差网络进行构建,卷积计算单元6021包括:Optionally, the three-dimensional convolution network is constructed according to the residual network, and the convolution calculation unit 6021 includes:
卷积计算子单元,用于在三维卷积计算过程中,结合上一卷积计算层的残差进行卷积计算,得到时空特征图;The convolution calculation sub-unit is used to perform convolution calculation in combination with the residuals of the previous convolution calculation layer during the three-dimensional convolution calculation process to obtain a spatiotemporal feature map;
全连接计算子单元,用于对时空特征图进行第二全连接计算,得到GIS地图结构化矢量图序列的时空特征。The full connection calculation subunit is used to perform the second full connection calculation on the spatiotemporal feature map to obtain the spatiotemporal features of the structured vector map sequence of the GIS map.
可选的,融合网络为门控网络,融合计算单元6023包括:Optionally, the fusion network is a gated network, and the fusion computing unit 6023 includes:
线性化处理子单元,用于通过门控网络,对映射特征进行非线性化处理,得到门控特征;The linearization processing subunit is used to perform nonlinear processing on the mapping feature through the gating network to obtain the gating feature;
点极计算子单元,用于计算门控特征与时空特征的点积,得到融合特征。The point-pole calculation subunit is used to calculate the dot product of the gated feature and the spatiotemporal feature to obtain the fusion feature.
可选的,如图10所示,图10是本发明实施例提供的另一种基于GIS地图信息的交通拥堵指数预测装置的结构示意图,该基于GIS地图信息的交通拥堵指数预测装置600还包括:Optionally, as shown in FIG. 10 , FIG. 10 is a schematic structural diagram of another device for predicting traffic congestion index based on GIS map information provided by an embodiment of the present invention. The device 600 for predicting traffic congestion index based on GIS map information further includes: :
第二获取模块603,用于获取训练样本集,训练样本集包括多个训练样本,每个训练样本中包括一个样本GIS地图结构化矢量图序列、与GIS地图结构化矢量图序列对应的一个样本环境矢量序列以及预测时间点的交通拥堵指数真实标签,样本GIS地图结构化矢量图序列与GIS地图结构化矢量图序列具有相同的数据结构,样本环境矢量序列与环境矢量序列具有相同的数据结构;The second obtaining module 603 is configured to obtain a training sample set, the training sample set includes a plurality of training samples, and each training sample includes a sample GIS map structured vector graphics sequence and a sample corresponding to the GIS map structured vector graphics sequence The environment vector sequence and the real label of the traffic congestion index at the predicted time point, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, and the sample environment vector sequence and the environment vector sequence have the same data structure;
训练模块604,用于通过训练样本集,对卷积神经网络进行训练,以使卷积神经网络学习到对预测时间点的交通拥堵指数的预测输出,得到预设的卷积神经网络。The training module 604 is used for training the convolutional neural network through the training sample set, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point to obtain a preset convolutional neural network.
本发明实施例提供的基于GIS地图信息的交通拥堵指数预测装置600能够实现上述方法实施例中的各个实施方式,以及相应有益效果,为避免重复,这里不再赘述。The apparatus 600 for predicting a traffic congestion index based on GIS map information provided by the embodiment of the present invention can implement the various implementations in the foregoing method embodiments and the corresponding beneficial effects, which are not repeated here to avoid repetition.
参见图11,图11是本发明实施例提供的一种电子设备的结构示意图,该电子设备700包括:存储器702、处理器701及存储在存储器702上并可在处 理器701上运行的计算机程序,处理器701执行计算机程序时实现上述实施例提供的基于GIS地图信息的交通拥堵指数预测方法中的步骤,处理器701执行以下步骤:Referring to FIG. 11, FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. The electronic device 700 includes: a memory 702, a processor 701, and a computer program stored in the memory 702 and running on the processor 701 , when the processor 701 executes the computer program, the steps in the method for predicting the traffic congestion index based on GIS map information provided by the above embodiments are implemented, and the processor 701 executes the following steps:
获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;Obtain a GIS map structured vector map sequence and an environment vector sequence of the area to be predicted. Each frame of GIS map structured vector map includes a first preset number of static layers and a second preset number of dynamic layers, and one frame of GIS map includes a first preset number of static layers and a second preset number of dynamic layers. The map structured vector map corresponds to an environment vector sequence;
将GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取GIS地图结构化矢量图序列的时空特征,环境矢量序列的映射特征,并根据时空特征与映射特征输出待预测区域在预设时间内的交通拥堵指数结果。Input the GIS map structured vector map sequence and the environmental vector sequence into the preset convolutional neural network, extract the spatiotemporal features of the GIS map structured vector map sequence and the mapping feature of the environmental vector sequence, and extract the spatial and temporal features and mapping features according to the spatial and temporal features and mapping features. Output the traffic congestion index results of the area to be predicted within the preset time.
可选的,动态图层包括交通动态数据,处理器701执行的获取待预测区域的GIS地图结构化矢量图序列的步骤包括:Optionally, the dynamic layer includes traffic dynamic data, and the steps performed by the processor 701 to obtain the GIS map structured vector diagram sequence of the area to be predicted include:
获取待预测区域在历史时间点的GIS地图的静态图层和交通动态数据,静态图层包括路网图、建筑图以及兴趣点图中的一项或多项,交通动态数据包括与历史时间点对应的交通拥堵指数、车辆轨迹数据;Obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points. The static layer includes one or more of the road network map, building map, and point of interest map. The traffic dynamic data includes historical time points. Corresponding traffic congestion index and vehicle trajectory data;
在历史时间点上,将交通拥堵指数映射到路网图中,得到交通拥堵指数图;At historical time points, map the traffic congestion index to the road network map to obtain a traffic congestion index map;
将车辆轨迹数据映射到二维网络中,计算每个网络中的车辆平均速度以及车辆数量,得到车流速度图与车辆数量图;Map the vehicle trajectory data into a two-dimensional network, calculate the average vehicle speed and the number of vehicles in each network, and obtain the traffic speed map and the vehicle number map;
将路网图、建筑图、兴趣点图、交通拥堵指数图、车流速度图与车辆数量图作为通道进行拼接,得到历史时间点对应的GIS地图结构化矢量图;The road network map, building map, point of interest map, traffic congestion index map, traffic speed map and vehicle number map are spliced as channels to obtain the GIS map structured vector map corresponding to the historical time point;
将连续历史时间点对应的GIS地图结构化矢量图按连续历史时间点的时序进行拼接,得到待预测区域的GIS地图结构化矢量图序列。The GIS map structured vector graphics corresponding to the consecutive historical time points are spliced according to the time series of the consecutive historical time points, and the GIS map structured vector graphics sequence of the area to be predicted is obtained.
可选的,处理器701执行的获取待预测区域的环境矢量序列的步骤包括:Optionally, the step of acquiring the environment vector sequence of the area to be predicted performed by the processor 701 includes:
获取待预测区域在历史时间点的天气数据和日期数据;Obtain the weather data and date data of the area to be predicted at historical time points;
将天气数据和日期数据按预设的编码规则编码为环境矢量;Encode weather data and date data into environment vectors according to preset coding rules;
对连续历史时间点对应的环境矢量按连续历史时间点的时序进行拼接,得到待预测区域的环境矢量序列。The environmental vectors corresponding to the consecutive historical time points are spliced according to the time sequence of the consecutive historical time points to obtain the environmental vector sequence of the area to be predicted.
可选的,预设的卷积神经网络包括三维卷积网络、特征映射网络、融合网络以及全连接层网络;Optionally, the preset convolutional neural network includes a three-dimensional convolutional network, a feature mapping network, a fusion network, and a fully connected layer network;
处理器701执行的将GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取GIS地图结构化矢量图序列的时空特征,环 境矢量序列的映射特征,并根据时空特征与映射特征输出待预测区域在预设时间内的交通拥堵指数结果的步骤,包括:The processor 701 inputs the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extracts the spatiotemporal features of the GIS map structured vector graphics sequence, the mapping feature of the environmental vector sequence, and according to the The steps of outputting the result of the traffic congestion index of the area to be predicted within the preset time by the spatiotemporal feature and the mapping feature include:
通过三维卷积网络对GIS地图结构化矢量图序列进行三维卷积计算,得到GIS地图结构化矢量图序列的时空特征;The 3D convolution calculation is performed on the GIS map structured vector map sequence through the 3D convolution network, and the spatiotemporal characteristics of the GIS map structured vector map sequence are obtained;
通过特征映射网络对环境矢量序列进行映射计算,输出得到环境矢量序列的映射特征;Perform the mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence;
通过融合网络将时空特征与映射特征进行融合计算,输出得到融合特征;The spatiotemporal feature and the mapping feature are fused and calculated through the fusion network, and the fusion feature is obtained as the output;
通过全连接层网络对融合特征进行第一全连接计算,输出得到待预测区域在预设时间内的交通拥堵指数结果。The first full connection calculation is performed on the fusion feature through the fully connected layer network, and the result of the traffic congestion index of the area to be predicted within the preset time is obtained as output.
可选的,三维卷积网络根据残差网络进行构建,处理器701执行的通过三维卷积网络对GIS地图结构化矢量图序列进行三维卷积计算,得到GIS地图结构化矢量图序列的时空特征的步骤,包括:Optionally, the three-dimensional convolution network is constructed according to the residual network, and the processor 701 performs three-dimensional convolution calculation on the GIS map structured vector diagram sequence through the three-dimensional convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence. steps, including:
在三维卷积计算过程中,结合上一卷积计算层的残差进行卷积计算,得到时空特征图;In the process of three-dimensional convolution calculation, the convolution calculation is carried out in combination with the residual of the previous convolution calculation layer, and the spatiotemporal feature map is obtained;
对时空特征图进行第二全连接计算,得到GIS地图结构化矢量图序列的时空特征。The second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the structured vector map sequence of the GIS map.
可选的,融合网络为门控网络,处理器701执行的通过融合网络将时空特征与映射特征进行融合计算,输出得到融合特征的步骤,包括:Optionally, the fusion network is a gated network, and the steps performed by the processor 701 to fuse the spatiotemporal feature and the mapping feature through the fusion network, and output the fused feature, include:
通过门控网络,对映射特征进行非线性化处理,得到门控特征;Through the gated network, the mapping feature is nonlinearly processed to obtain the gated feature;
计算门控特征与时空特征的点积,得到融合特征。Calculate the dot product of the gated feature and the spatiotemporal feature to get the fusion feature.
可选的,处理器701还执行以下步骤:Optionally, the processor 701 further performs the following steps:
获取训练样本集,训练样本集包括多个训练样本,每个训练样本中包括一个样本GIS地图结构化矢量图序列、与GIS地图结构化矢量图序列对应的一个样本环境矢量序列以及预测时间点的交通拥堵指数真实标签,样本GIS地图结构化矢量图序列与GIS地图结构化矢量图序列具有相同的数据结构,样本环境矢量序列与环境矢量序列具有相同的数据结构;Obtain a training sample set, the training sample set includes multiple training samples, and each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and a predicted time point. The traffic congestion index real label, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, and the sample environment vector sequence and the environment vector sequence have the same data structure;
通过训练样本集,对卷积神经网络进行训练,以使卷积神经网络学习到对预测时间点的交通拥堵指数的预测输出,得到预设的卷积神经网络。Through the training sample set, the convolutional neural network is trained, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point, and a preset convolutional neural network is obtained.
本发明实施例提供的电子设备700能够实现上述方法实施例中的各个实施方式,以及相应有益效果,为避免重复,这里不再赘述。The electronic device 700 provided in the embodiment of the present invention can implement each implementation manner in the foregoing method embodiment and the corresponding beneficial effects, which are not repeated here in order to avoid repetition.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存 储有计算机程序,该计算机程序被处理器执行时实现本发明实施例提供的基于GIS地图信息的交通拥堵指数预测方法的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the traffic congestion index prediction method based on GIS map information provided by the embodiment of the present invention and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。Those of ordinary skill in the art can understand that the realization of all or part of the processes in the methods of the above embodiments can be accomplished by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , may include the flow of the above-mentioned method embodiments. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short).

Claims (10)

  1. 一种基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述方法包括以下步骤:A traffic congestion index prediction method based on GIS map information, characterized in that the method comprises the following steps:
    获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;Obtain a GIS map structured vector map sequence and an environment vector sequence of the area to be predicted. Each frame of GIS map structured vector map includes a first preset number of static layers and a second preset number of dynamic layers, and one frame of GIS map includes a first preset number of static layers and a second preset number of dynamic layers. The map structured vector map corresponds to an environment vector sequence;
    将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果。Inputting the GIS map structured vector diagram sequence and the environment vector sequence into a preset convolutional neural network, extracting the spatiotemporal features of the GIS map structured vector graphics sequence, the mapping features of the environment vector sequence, and According to the spatiotemporal feature and the mapping feature, a traffic congestion index result of the to-be-predicted area within a preset time is output.
  2. 如权利要求1所述的基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述动态图层包括交通动态数据,所述获取待预测区域的GIS地图结构化矢量图序列的步骤包括:The traffic congestion index prediction method based on GIS map information according to claim 1, wherein the dynamic layer includes traffic dynamic data, and the step of obtaining a GIS map structured vector diagram sequence of the area to be predicted comprises:
    获取所述待预测区域在历史时间点的GIS地图的静态图层和交通动态数据,所述静态图层包括路网图、建筑图以及兴趣点图中的一项或多项,所述交通动态数据包括与所述历史时间点对应的交通拥堵指数、车辆轨迹数据;Obtain the static layer and traffic dynamic data of the GIS map of the area to be predicted at historical time points. The static layer includes one or more of a road network map, a building map and a point of interest map. The traffic dynamic data The data includes traffic congestion index and vehicle trajectory data corresponding to the historical time point;
    在所述历史时间点上,将所述交通拥堵指数映射到所述路网图中,得到交通拥堵指数图;At the historical time point, the traffic congestion index is mapped to the road network map to obtain a traffic congestion index map;
    将所述车辆轨迹数据映射到二维网络中,计算每个网络中的车辆平均速度以及车辆数量,得到车流速度图与车辆数量图;Map the vehicle trajectory data into a two-dimensional network, calculate the average vehicle speed and the number of vehicles in each network, and obtain a vehicle flow speed map and a vehicle number map;
    将所述路网图、建筑图、兴趣点图、交通拥堵指数图、车流速度图与车辆数量图作为通道进行拼接,得到所述历史时间点对应的GIS地图结构化矢量图;Splicing the road network map, building map, point of interest map, traffic congestion index map, traffic speed map and vehicle quantity map as channels to obtain a GIS map structured vector map corresponding to the historical time point;
    将连续历史时间点对应的GIS地图结构化矢量图按所述连续历史时间点的时序进行拼接,得到所述待预测区域的GIS地图结构化矢量图序列。The GIS map structured vector graphics corresponding to the continuous historical time points are spliced according to the time sequence of the continuous historical time points to obtain the GIS map structured vector graphics sequence of the to-be-predicted area.
  3. 如权利要求2所述的基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述获取待预测区域的环境矢量序列的步骤包括:The method for predicting traffic congestion index based on GIS map information according to claim 2, wherein the step of obtaining the environmental vector sequence of the area to be predicted comprises:
    获取所述待预测区域在所述历史时间点的天气数据和日期数据;Obtain the weather data and date data of the area to be predicted at the historical time point;
    将所述天气数据和日期数据按预设的编码规则编码为环境矢量;encoding the weather data and date data into an environment vector according to a preset encoding rule;
    对所述连续历史时间点对应的环境矢量按所述连续历史时间点的时序进行拼接,得到所述待预测区域的环境矢量序列。The environment vectors corresponding to the continuous historical time points are spliced according to the time sequence of the continuous historical time points to obtain the environment vector sequence of the to-be-predicted area.
  4. 如权利要求1至3中任一项所述的基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述预设的卷积神经网络包括三维卷积网络、特征映射网络、融合网络以及全连接层网络;The traffic congestion index prediction method based on GIS map information according to any one of claims 1 to 3, wherein the preset convolutional neural network comprises a three-dimensional convolutional network, a feature mapping network, a fusion network, and a Fully connected layer network;
    所述将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果的步骤,包括:Inputting the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, respectively extracting the spatiotemporal features of the GIS map structured vector graphics sequence, and the mapping features of the environmental vector sequence , and the step of outputting the result of the traffic congestion index of the to-be-predicted area within a preset time according to the spatiotemporal feature and the mapping feature includes:
    通过所述三维卷积网络对所述GIS地图结构化矢量图序列进行三维卷积计算,得到所述GIS地图结构化矢量图序列的时空特征;The 3D convolution calculation is performed on the GIS map structured vector diagram sequence through the 3D convolution network to obtain the spatiotemporal characteristics of the GIS map structured vector diagram sequence;
    通过所述特征映射网络对所述环境矢量序列进行映射计算,输出得到所述环境矢量序列的映射特征;Perform a mapping calculation on the environment vector sequence through the feature mapping network, and output the mapping feature of the environment vector sequence;
    通过所述融合网络将所述时空特征与所述映射特征进行融合计算,输出得到融合特征;Perform fusion calculation on the spatiotemporal feature and the mapping feature through the fusion network, and output the fusion feature;
    通过所述全连接层网络对所述融合特征进行第一全连接计算,输出得到所述待预测区域在预设时间内的交通拥堵指数结果。The first full-connection calculation is performed on the fusion feature through the fully-connected layer network, and the result of the traffic congestion index of the to-be-predicted area within a preset time is output.
  5. 如权利要求4所述的基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述三维卷积网络根据残差网络进行构建,所述通过所述三维卷积网络对所述GIS地图结构化矢量图序列进行三维卷积计算,得到所述GIS地图结构化矢量图序列的时空特征的步骤,包括:The traffic congestion index prediction method based on GIS map information according to claim 4, wherein the three-dimensional convolutional network is constructed according to a residual network, and the GIS map structure is determined by the three-dimensional convolutional network. The steps of obtaining the spatiotemporal features of the GIS map structured vector graphics sequence by performing three-dimensional convolution calculation on the sequence of the GIS map structured vector graphics include:
    在三维卷积计算过程中,结合上一卷积计算层的残差进行卷积计算,得到时空特征图;In the process of three-dimensional convolution calculation, the convolution calculation is carried out in combination with the residual of the previous convolution calculation layer, and the spatiotemporal feature map is obtained;
    对所述时空特征图进行第二全连接计算,得到所述GIS地图结构化矢量图序列的时空特征。A second full connection calculation is performed on the spatiotemporal feature map to obtain the spatiotemporal feature of the GIS map structured vector map sequence.
  6. 如权利要求5所述的基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述融合网络为门控网络,所述通过所述融合网络将所述时空特征与所述映射特征进行融合计算,输出得到融合特征的步骤,包括:The traffic congestion index prediction method based on GIS map information according to claim 5, wherein the fusion network is a gated network, and the spatiotemporal feature and the mapping feature are fused through the fusion network The steps of calculating and outputting fused features include:
    通过所述门控网络,对所述映射特征进行非线性化处理,得到门控特征;Through the gating network, non-linear processing is performed on the mapping feature to obtain the gating feature;
    计算所述门控特征与所述时空特征的点积,得到融合特征。Calculate the dot product of the gated feature and the spatiotemporal feature to obtain a fusion feature.
  7. 如权利要求6所述的基于GIS地图信息的交通拥堵指数预测方法,其特征在于,所述方法还包括:The traffic congestion index prediction method based on GIS map information as claimed in claim 6, wherein the method further comprises:
    获取训练样本集,所述训练样本集包括多个训练样本,每个训练样本中包括一个样本GIS地图结构化矢量图序列、与所述GIS地图结构化矢量图序列对应的一个样本环境矢量序列以及预测时间点的交通拥堵指数真实标签,所述样本GIS地图结构化矢量图序列与所述GIS地图结构化矢量图序列具有相同的数据结构,所述样本环境矢量序列与所述环境矢量序列具有相同的数据结构;Obtain a training sample set, the training sample set includes a plurality of training samples, each training sample includes a sample GIS map structured vector map sequence, a sample environment vector sequence corresponding to the GIS map structured vector map sequence, and The real label of the traffic congestion index at the predicted time point, the sample GIS map structured vector map sequence and the GIS map structured vector map sequence have the same data structure, the sample environment vector sequence and the environment vector sequence have the same data structure data structure;
    通过所述训练样本集,对卷积神经网络进行训练,以使所述卷积神经网络学习到对预测时间点的交通拥堵指数的预测输出,得到所述预设的卷积神经网络。Through the training sample set, the convolutional neural network is trained, so that the convolutional neural network learns the predicted output of the traffic congestion index at the predicted time point, and the preset convolutional neural network is obtained.
  8. 一种基于GIS地图信息的交通拥堵指数预测装置,其特征在于,包括:A traffic congestion index prediction device based on GIS map information, characterized in that it includes:
    第一获取模块,用于获取待预测区域的GIS地图结构化矢量图序列以及环境矢量序列,每帧GIS地图结构化矢量图包括第一预设数量的静态图层与第二预设数量的动态图层,且一帧GIS地图结构化矢量图对应一个环境矢量序列;The first acquisition module is used to acquire the GIS map structured vector graphics sequence and the environmental vector sequence of the area to be predicted, and each frame of the GIS map structured vector graphics includes a first preset number of static layers and a second preset number of dynamic layers. layer, and a frame of GIS map structured vector graphics corresponds to an environmental vector sequence;
    预测模块,用于将所述GIS地图结构化矢量图序列以及环境矢量序列输入到预设的卷积神经网络中,分别提取所述GIS地图结构化矢量图序列的时空特征,所述环境矢量序列的映射特征,并根据所述时空特征与所述映射特征输出所述待预测区域在预设时间内的交通拥堵指数结果。The prediction module is used to input the GIS map structured vector diagram sequence and the environmental vector sequence into a preset convolutional neural network, and extract the spatiotemporal features of the GIS map structured vector diagram sequence, and the environmental vector sequence and output the traffic congestion index result of the to-be-predicted area within a preset time according to the spatiotemporal feature and the mapping feature.
  9. 一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7中任一项所述的基于GIS地图信息的交通拥堵指数预 测方法中的步骤。An electronic device, characterized by comprising: a memory, a processor, and a computer program stored on the memory and running on the processor, the processor implementing the computer program as claimed in claim 1 when the processor executes the computer program Steps in the traffic congestion index prediction method based on GIS map information described in any one of to 7.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的基于GIS地图信息的交通拥堵指数预测方法中的步骤。A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the GIS-based GIS-based system according to any one of claims 1 to 7 is realized when the computer program is executed by a processor. Steps in a traffic congestion index prediction method for map information.
PCT/CN2021/114906 2020-12-31 2021-08-27 Traffic performance index prediction method and device based on gis map information WO2022142418A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011640824.7 2020-12-31
CN202011640824.7A CN112633602B (en) 2020-12-31 2020-12-31 Traffic congestion index prediction method and device based on GIS map information

Publications (1)

Publication Number Publication Date
WO2022142418A1 true WO2022142418A1 (en) 2022-07-07

Family

ID=75291557

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114906 WO2022142418A1 (en) 2020-12-31 2021-08-27 Traffic performance index prediction method and device based on gis map information

Country Status (2)

Country Link
CN (1) CN112633602B (en)
WO (1) WO2022142418A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117037499A (en) * 2023-10-09 2023-11-10 腾讯科技(深圳)有限公司 Congestion road segment prediction method, device, computer equipment and storage medium
WO2024031763A1 (en) * 2022-08-09 2024-02-15 之江实验室 Spatio-temporal sensing information prediction method and system based on graph neural network

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112633602B (en) * 2020-12-31 2023-03-03 深圳云天励飞技术股份有限公司 Traffic congestion index prediction method and device based on GIS map information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109887283A (en) * 2019-03-07 2019-06-14 东莞数汇大数据有限公司 A kind of congestion in road prediction technique, system and device based on bayonet data
CN110570651A (en) * 2019-07-15 2019-12-13 浙江工业大学 Road network traffic situation prediction method and system based on deep learning
US20200226922A1 (en) * 2019-01-15 2020-07-16 Waycare Technologies Ltd. System and method for detection and quantification of irregular traffic congestion
CN111540198A (en) * 2020-04-17 2020-08-14 浙江工业大学 Urban traffic situation recognition method based on directed graph convolution neural network
CN112633602A (en) * 2020-12-31 2021-04-09 深圳云天励飞技术股份有限公司 Traffic congestion index prediction method and device based on GIS map information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140222321A1 (en) * 2013-02-06 2014-08-07 Iteris, Inc. Traffic state estimation with integration of traffic, weather, incident, pavement condition, and roadway operations data
CN108629976A (en) * 2018-05-17 2018-10-09 同济大学 Urban traffic blocking predetermined depth learning method based on GPS
KR20200023697A (en) * 2018-08-21 2020-03-06 한국과학기술정보연구원 Apparatus for predicting traffic status information, method thereof and recoding medium for predicting traffic status information
CN110428500B (en) * 2019-07-29 2022-07-12 腾讯科技(深圳)有限公司 Track data processing method, device, storage medium and equipment
CN110766942B (en) * 2019-10-18 2020-12-22 北京大学 Traffic network congestion prediction method based on convolution long-term and short-term memory network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200226922A1 (en) * 2019-01-15 2020-07-16 Waycare Technologies Ltd. System and method for detection and quantification of irregular traffic congestion
CN109887283A (en) * 2019-03-07 2019-06-14 东莞数汇大数据有限公司 A kind of congestion in road prediction technique, system and device based on bayonet data
CN110570651A (en) * 2019-07-15 2019-12-13 浙江工业大学 Road network traffic situation prediction method and system based on deep learning
CN111540198A (en) * 2020-04-17 2020-08-14 浙江工业大学 Urban traffic situation recognition method based on directed graph convolution neural network
CN112633602A (en) * 2020-12-31 2021-04-09 深圳云天励飞技术股份有限公司 Traffic congestion index prediction method and device based on GIS map information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024031763A1 (en) * 2022-08-09 2024-02-15 之江实验室 Spatio-temporal sensing information prediction method and system based on graph neural network
CN117037499A (en) * 2023-10-09 2023-11-10 腾讯科技(深圳)有限公司 Congestion road segment prediction method, device, computer equipment and storage medium
CN117037499B (en) * 2023-10-09 2024-01-05 腾讯科技(深圳)有限公司 Congestion road segment prediction method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112633602B (en) 2023-03-03
CN112633602A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
Liu et al. Dynamic spatial-temporal representation learning for traffic flow prediction
WO2022142418A1 (en) Traffic performance index prediction method and device based on gis map information
CN110570651B (en) Road network traffic situation prediction method and system based on deep learning
CN107967532B (en) Urban traffic flow prediction method fusing regional vitality
CN111080029B (en) Urban traffic road speed prediction method and system based on multi-path segment space-time correlation
CN111145541B (en) Traffic flow data prediction method, storage medium, and computer device
Fang et al. FTPG: A fine-grained traffic prediction method with graph attention network using big trace data
CN112489426B (en) Urban traffic flow space-time prediction scheme based on graph convolution neural network
Yang et al. How fast you will drive? predicting speed of customized paths by deep neural network
CN113204718A (en) Vehicle track destination prediction method considering space-time semantics and driving state
Kong et al. RMGen: A tri-layer vehicular trajectory data generation model exploring urban region division and mobility pattern
CN112017436B (en) Method and system for predicting urban traffic travel time
CN115204478A (en) Public traffic flow prediction method combining urban interest points and space-time causal relationship
CN114881356A (en) Urban traffic carbon emission prediction method based on particle swarm optimization BP neural network optimization
CN114495500B (en) Traffic prediction method based on dual dynamic space-time diagram convolution
Chen et al. A multiscale-grid-based stacked bidirectional GRU neural network model for predicting traffic speeds of urban expressways
CN114202120A (en) Urban traffic travel time prediction method aiming at multi-source heterogeneous data
Sheng et al. Deep spatial-temporal travel time prediction model based on trajectory feature
CN116052427A (en) Inter-city inter-regional mobility prediction method and device based on private car travel track data
Long et al. Urban fine management of multisource spatial data fusion based on smart city construction
Guo et al. Fine-grained dynamic price prediction in ride-on-demand services: Models and evaluations
Chu et al. Simulating human mobility with a trajectory generation framework based on diffusion model
CN114267170A (en) Traffic flow prediction method based on graph space-time transform model considering human mobility
Sun et al. Alleviating data sparsity problems in estimated time of arrival via auxiliary metric learning
Ježek et al. Visual Analytics of Traffic-Related Open Data and VGI

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913165

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913165

Country of ref document: EP

Kind code of ref document: A1