WO2023000261A1 - Regional traffic prediction method and device - Google Patents
Regional traffic prediction method and device Download PDFInfo
- Publication number
- WO2023000261A1 WO2023000261A1 PCT/CN2021/107877 CN2021107877W WO2023000261A1 WO 2023000261 A1 WO2023000261 A1 WO 2023000261A1 CN 2021107877 W CN2021107877 W CN 2021107877W WO 2023000261 A1 WO2023000261 A1 WO 2023000261A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- road
- parking lot
- feature
- network
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/052—Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/065—Traffic control systems for road vehicles by counting the vehicles in a section of the road or in a parking area, i.e. comparing incoming count with outgoing count
Definitions
- the present application relates to the technical field of the Internet, and in particular to a method and device for predicting regional traffic.
- Prediction of current traffic conditions is based on road traffic flow or parking conditions.
- the prediction methods of traffic flow and parking conditions are basically the same. Early predictions used statistical models, but this method has low anti-interference ability and the prediction results are not accurate.
- the prediction effect has improved compared with the early statistical models. But near some popular points of interest, such as hospitals, scenic spots, large shopping malls, etc., the traffic situation is more complicated.
- the huge traffic flow has brought pressure to the parking lot.
- limited parking spaces lead to vehicles cruising the road at low speeds unable to find a vacant space. Road traffic flow and parking conditions will affect each other, and there will still be some deviations in predicting traffic conditions through road traffic flow or parking conditions.
- Embodiments of the present application provide a method and device for predicting regional traffic, which can improve the accuracy of predicting road traffic conditions.
- An embodiment of the present application provides a method for predicting regional traffic, which may include:
- the road information and the parking lot information of the target area construct the road network topology map of the road in the target area and the parking lot topology map of the parking lot;
- the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained; the first feature information It is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area;
- the average vehicle speed information for each road and the occupancy information for each parking lot are predicted by a recurrent gating network and at least two spatially fused features.
- the construction of the road network topology map of the road in the target area and the parking lot topology map of the parking lot according to the road information and parking lot information of the target area includes:
- Statize the road information of the target area determine the first connection relationship between each road in the road information according to the natural connection rules of the road, and construct the road network topology map of the target area according to the first connection relationship; the second A connection relationship is used to indicate whether each road is connected in the topology map;
- Count the parking lot information in the target area determine the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and construct the parking lot topology in the target area according to the second connection relationship Figure; the second connection relationship is used to indicate whether each parking lot is connected in the topology map.
- Second feature information including:
- the first feature information and the second feature information are fused to generate a space fusion features, including:
- the first spatial feature and the second spatial feature are fused to generate a spatial fusion feature at the target moment.
- the prediction of the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the loop gating network and at least two spatial fusion features includes:
- the spatial fusion feature of T 1 -T k time into the loop gating network generate the state information of each time in T 1 -T k time and the prediction information of the target area;
- the state information is the hidden State, used to generate prediction information,
- the k is a positive integer greater than 1, and the loop gating network includes k loop gating units;
- the average vehicle speed information of each road and the parking space occupancy information of each parking lot are predicted according to the prediction information.
- the input of the spatial fusion feature at time T 1 -T k into the loop gating network to generate state information at time T 1 -T k and prediction information of the target area includes:
- the spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
- the prediction of the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information includes:
- the prediction information includes a first vector and a second vector; the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot;
- the parking space occupancy information of each parking lot is predicted.
- An embodiment of the present application provides an area traffic forecasting device, which may include:
- a topology map construction unit configured to construct a road network topology map of roads in the target area and a parking lot topology map of the parking lot according to the road information and parking lot information in the target area;
- a feature information acquisition unit configured to acquire the first feature information of the road network topology map and the second feature information of the parking lot topology map according to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot ;
- the first feature information is used to represent the historical average vehicle speed information of the road in the target area
- the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area;
- a feature fusion unit configured to fuse the first feature information with the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature
- the information prediction unit is used to predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the recurrent gating network and at least two spatial fusion features.
- the topology map construction unit is specifically used for:
- Statize the road information of the target area determine the first connection relationship between each road in the road information according to the natural connection rules of the road, and construct the road network topology map of the target area according to the first connection relationship; the second A connection relationship is used to indicate whether each road is connected in the topology map;
- Count the parking lot information in the target area determine the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and construct the parking lot topology in the target area according to the second connection relationship Figure; the second connection relationship is used to indicate whether each parking lot is connected in the topology map.
- the feature information acquiring unit is specifically configured to:
- the feature fusion unit is specifically used for:
- the first spatial feature and the second spatial feature are fused to generate a spatial fusion feature at the target moment.
- the information prediction unit includes:
- the information generation subunit is used to input the spatial fusion feature of T 1 -T k time into the loop gating network, and generate the state information of each time point in T 1 -T k time and the prediction information of the target area; the state The information is the hidden state at each moment, and is used to generate prediction information, the k is a positive integer greater than 1, and the loop gating network includes k loop gating units;
- the information prediction subunit is used to predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information.
- the information generating subunit is specifically configured to:
- the spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
- the information prediction subunit is specifically configured to:
- the prediction information includes a first vector and a second vector; the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot;
- the embodiments of the present application provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is adapted to be loaded by a processor and execute the above-mentioned method steps.
- An embodiment of the present application provides a computer device, including: a processor, a memory, and a network interface; the processor is connected to the memory and the network interface, wherein the network interface is used to provide a network communication function , the memory is used to store program codes, and the processor is used to call the program codes to execute the above method steps.
- An embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned method steps.
- the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area
- the average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all
- the topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information of each parking lot.
- FIG. 1 is a system architecture diagram of a regional traffic forecast provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application
- Fig. 3a is an exemplary schematic diagram of a target area provided by an embodiment of the present application.
- Fig. 3b is an exemplary schematic diagram of road and parking lot visualization provided by the embodiment of the present application.
- Fig. 3c is a schematic diagram of an example of a road network topology diagram provided by an embodiment of the present application.
- Fig. 3d is a schematic diagram of an example of a parking lot topology provided by an embodiment of the present application.
- Fig. 4 is a schematic diagram of an example of a generated spatial fusion feature provided by an embodiment of the present application.
- FIG. 5 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application
- Fig. 6a is a schematic diagram of an example of generating prediction information provided by an embodiment of the present application.
- Fig. 6b is an example schematic diagram of the prediction accuracy of a model provided by the embodiment of the present application.
- Fig. 6c is an exemplary schematic diagram of the relationship between prediction accuracy and mutual information provided by the embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a regional traffic forecasting device provided by an embodiment of the present application.
- Fig. 8 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- the network architecture diagram may include a service server 100 and a user terminal cluster
- the user terminal cluster may include a user terminal 10a, a user terminal 10b, ..., a user terminal 10c, wherein there may be communication between the user terminal clusters connection, for example, there is a communication connection between the user terminal 10a and the user terminal 10b, there is a communication connection between the user terminal 10b and the user terminal 10c, and any user terminal in the user terminal cluster can have a communication connection with the service server 100, for example, the user There is a communication connection between the terminal 10 a and the service server 100 , and there is a communication connection between the user terminal 10 b and the service server 100 .
- the above-mentioned user terminal cluster (also including the above-mentioned user terminal 10a, user terminal 10b, and user terminal 10c) may be integrated with target applications installed.
- the target application may include an application having functions of acquiring map data, processing road network information, and constructing a topology map.
- the database 10d stores a multi-channel spatial network and a circular gating network. Specifically, the user terminal constructs the road network topology map of the road in the target area and the parking lot topology of the parking lot according to the road information and parking lot information in the target area.
- the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, so The first feature information is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area.
- the first feature information and the second feature information are fused to generate a space fusion feature, and finally through the loop gating network in the database 10d and at least two space fusion features, predict Average vehicle speed information for each road and parking space occupancy information for each parking lot.
- the multi-channel spatial network and the loop gating network stored in the database 10d can be stored locally in the user terminal, and the prediction of the average vehicle speed information of each road and the parking space occupancy information of each parking lot can be completed on the user terminal side .
- the above user terminal may be any user terminal selected from the user terminal cluster in the above embodiment corresponding to FIG. 1 , for example, the user terminal may be the above user terminal 10b.
- the method provided in the embodiment of the present application can be executed by a computer device, and the computer device includes but is not limited to a terminal or a server.
- the server 100 in the embodiment of the present application can be a computer device, and the user terminals in the user terminal cluster can also be It can be a computer device, which is not limited here.
- the above-mentioned business server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication , middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
- the above-mentioned terminals may include: smart phones, tablet computers, notebook computers, desktop computers, smart TVs, smart speakers, desktop computers, smart watches and other smart terminals with image recognition functions, but are not limited thereto.
- the user terminal and the service server may be connected directly or indirectly through wired or wireless communication, which is not limited in this application.
- FIG. 2 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application.
- the method may be executed by a user terminal (eg, the user terminal shown in FIG. 1 ), or jointly executed by the user terminal and a service server (such as the service server 100 in the embodiment corresponding to FIG. 1 ).
- this embodiment takes the method executed by the above-mentioned user terminal as an example for description.
- the prediction method of the regional traffic may at least include the following steps S101-step S104:
- the user terminal constructs the road network topology map of the road in the target area and the parking lot topology map of the parking lot according to the road information and parking lot information in the target area.
- the target area can be Any area including roads and parking lots, such as a certain area of a city.
- the road information is the number of roads in the target area and the connection relationship between the roads
- the parking lot information is the number of parking lots in the target area and distance information between the parking lots.
- the road network topology diagram is a topological structure diagram representing road information.
- the road network topology diagram includes nodes representing roads and the relationship between nodes.
- the parking lot topology diagram represents the topology structure diagram of parking lot information.
- the parking lot topology diagram Including the nodes representing the parking lot, and the relationship between each node.
- Fig. 3a is an example schematic diagram of the target area provided by the embodiment of the present application. and the vector data of the parking lot to visualize the roads and parking lots in the target area, please refer to Fig. 3b.
- Fig. 3b is an example schematic diagram of the visualization of roads and parking lots provided by the embodiment of the present application, as shown in Fig. 3b, the straight line in the figure is a road, and the dot is a parking lot, where the road has direction information, that is, a two-way street is understood as two roads.
- the user terminal collects the road information of the target area, determines the first connection relationship between each road in the road information according to the natural connection rules of the roads, and constructs the road network topology map of the target area according to the first connection relationship.
- the natural connection rule is whether the roads intersect in the real world
- the first connection relationship is whether the roads are connected in the topology map. For example, if the road R 1 and the road R 2 are intersecting in the real world, then the road R 1 and the road R 2 are connected in the topological graph, if the road R 1 and the road R 2 are not intersecting in the real world, Then the road R 1 and the road R 2 are not connected in the topological graph.
- Figure 3c is an example schematic diagram of the road network topology provided by the embodiment of the present application, as shown in Figure 3c, the target area includes 11 roads, which are respectively marked as R 1 , R 2 , ... R 11 , Each road is regarded as a node. If two roads intersect, the two nodes will be connected.
- the connection relationship between each node is represented by an adjacency matrix A r , A r ⁇ R N ⁇ N .
- the user terminal collects the parking lot information in the target area, determines the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and constructs the target according to the second connection relationship.
- Parking topology map of the area The shortest path is the distance of the parking lot in the real world, and the second connection relationship is determined according to whether the shortest distance is less than a preset distance threshold, and the second connection relationship is whether the parking lot is connected in the topology map.
- Fig. 3d is an example schematic diagram of the topology map of the parking lot provided by the embodiment of the present application. As shown in Fig. 3c, the target area includes 7 parking lots, respectively marked as P 1 , P 2 , ...
- each parking lot is regarded as a node, and the shortest road distance between two parking lot nodes is calculated, and if the distance is less than 600 meters, the two nodes are connected.
- the connection relationship between each node is represented by A p with adjacency matrix, A p ⁇ R M ⁇ M .
- the user terminal obtains the first feature information of the road network topology map and the second feature information of the parking lot topology map according to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot, so The first feature information is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area. It can be understood that the user terminal obtains each The historical average vehicle speed information of the road at the target time, the target time is the sampling time of the historical average vehicle speed information, the average vehicle speed vector corresponding to the road is generated according to the historical average vehicle speed information, and the average vehicle speed vector is used as the road network topology map at the target time The first characteristic information of .
- the user terminal obtains the historical parking space occupancy information of each parking lot in the target area at the target moment, generates a parking space occupancy vector corresponding to the parking lot according to the historical parking space occupancy information, and uses the parking space occupancy vector as the parking lot topology
- the second characteristic information of the graph at the target time For example, to obtain the historical parking space occupancy information x 1 , x 2 , ...
- the user terminal fuses the first feature information and the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature.
- the multi-channel spatial network is called MCSN, including multiple prediction channels, each of which includes a two-layer graph convolutional neural network (GCN), but each prediction channel is heterogeneous and can be
- GCN graph convolutional neural network
- X is the feature matrix and A is the adjacency matrix.
- A is the adjacency matrix.
- it is generally necessary to add a self-loop to each node.
- it can be realized by adding the adjacency matrix A and the identity matrix I, namely further to to normalize, that is, in is the degree matrix, W 0 and W 1 are weight matrices, ⁇ ( ) represents the activation function, and Relu() is generally used as the activation function.
- MCSN multi-channel space network MCSN that contains two channels.
- Ar and A p are the adjacency matrix of the road network topology map and the parking lot topology map, respectively, and are the feature matrices of the road network topology map and the parking lot topology map at time t, respectively.
- f( ) denotes a two-layer GCN.
- FC( ) denotes a fully connected layer.
- Fig. 4 is an example schematic diagram of the generated spatial fusion feature provided by the embodiment of the present application.
- the multi-channel spatial network includes two channels, that is, the first channel and the second channel, and each channel includes Two-layer graph convolutional neural network GCN.
- the user terminal inputs the adjacency matrix of the road network topology map and the first characteristic information of the target moment into the first channel of the multi-channel space network
- the adjacency matrix of the road network topology map represents the connection relationship between each road node
- the first channel Process the road network topology graph with N nodes.
- the first spatial feature at the target moment is obtained through the graph convolutional neural network in the first channel
- the first spatial feature is the feature information of the road nodes extracted through the first channel, specifically, through the graph convolution
- the convolution kernel in the neural network performs feature extraction on the adjacency matrix and the first feature information, and generates the first spatial feature at the target moment through the fully connected layer.
- the user terminal inputs the adjacency matrix of the topological map of the parking lot and the second characteristic information of the target moment into the second channel of the multi-channel space network
- the adjacency matrix of the topological map of the parking lot represents the connection relationship between each parking lot node
- the second The channel processes the road network topology graph of M nodes.
- the second spatial feature at the target moment is obtained through the graph convolutional neural network in the second channel
- the second spatial feature is the feature information of the parking lot node extracted through the second channel, specifically, through the graph volume
- the convolution kernel in the product neural network performs feature extraction on the adjacency matrix and the second feature information, and generates the second spatial feature at the target moment through the fully connected layer.
- the user terminal fuses the first spatial feature and the second spatial feature through the multi-channel spatial network to generate a spatial fusion feature at the target moment, specifically, input the first spatial feature and the second spatial feature into the multi-channel spatial network
- the splicing layer performs vector splicing. For example, if the first spatial feature is an n-dimensional vector and the second spatial feature is an m-dimensional vector, then a vector with a dimension of n+m is generated through the splicing layer. Further, the spliced vectors are passed through a fully connected layer to generate spatial fusion features at the target moment.
- the above multi-channel spatial network can be used to generate spatial fusion features at time 1, 2, ... T, that is, spatial fusion features at each time point in the historical time series can be generated.
- S104 Predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the recurrent gating network and at least two spatial fusion features.
- the loop gating network can predict the output at the current moment through the gating mechanism for the input and memory information of the time series.
- the loop gating network can include multiple loop gating units ( GRU)
- the spatial fusion feature can be generated by the multi-channel spatial network MCSN, therefore, the cyclic gating network and MCSN are combined to generate the MCSTN model, and the MCSTN model can predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot , MCSTN model
- MCSTN model This is a multi-input and multi-output prediction model.
- MCSTN can include multiple MCSNs and the same number of GRUs as MCSNs. Each MCSN corresponds to a GRU.
- the input data of MCSNs are the first feature information and The second feature information
- the output data of MCSN is the spatial fusion feature at the target time
- the input data of GRU is the spatial fusion feature of the target time output corresponding to MCSN and the output of GRU at the previous time
- the output data of GRU is the target time
- the status information is also used as the input data of the GRU at the next moment.
- the user terminal inputs the spatial fusion features at time T 1 -T k into the loop gating network to generate State information at each moment and prediction information of the target area; the state information is a hidden state at each moment for generating prediction information, and k is a positive integer greater than 1.
- the average vehicle speed information of each road and the parking space occupancy information of each parking lot are predicted according to the prediction information.
- the prediction information includes vectors corresponding to the average vehicle speed information and the parking space occupancy information, and the average vehicle speed information of each road and the parking space occupancy information of each parking lot are predicted according to the above vectors.
- the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area
- the average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all
- the topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information of each parking lot.
- FIG. 5 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application.
- the method may be executed by a user terminal (eg, the user terminal shown in FIG. 1 ), or jointly executed by the user terminal and a service server (such as the service server 100 in the embodiment corresponding to FIG. 1 ).
- a user terminal eg, the user terminal shown in FIG. 1
- a service server such as the service server 100 in the embodiment corresponding to FIG. 1
- this embodiment takes the method executed by the above-mentioned user terminal as an example for description.
- the prediction method of the regional traffic may at least include the following steps S201-step S205:
- step S201 in the embodiment of the present invention refer to the specific description of step S101 in the embodiment shown in FIG. 1 , and details are not repeated here.
- step S202 in the embodiment of the present invention refer to the specific description of step S102 in the embodiment shown in FIG. 1 , and details are not repeated here.
- S203 Fuse the first feature information with the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature;
- step S203 in the embodiment of the present invention refer to the specific description of step S103 in the embodiment shown in FIG. 1 , and details are not repeated here.
- S204 input the spatial fusion feature at time T 1 -T k into the loop gating network, and generate state information at each time of T 1 -T k and prediction information of the target area; the state information is each time The hidden state of is used to generate prediction information, and the k is a positive integer greater than 1.
- Fig. 6a is an example schematic diagram of generating prediction information provided by the embodiment of the present application.
- the MCSTN model generated by combining the cyclic gating network and the multi-channel space network MCSN is shown in the figure, and the cyclic gating network Including k recurrent gating units (GRU), the MCSTN model is a multi-input and multi-output prediction model.
- GRU k recurrent gating units
- the spatial fusion feature at T1 is input into the first loop gating unit of the loop gating network, and the state information h1 at T1 is generated ;
- the spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
- the spatial fusion feature at time T 1 -T k is determined by the historical average vehicle speed information and historical parking space occupancy information Generated, so the MCSTN model can be taken as a whole, and the input of the model is historical average vehicle speed information and historical parking space occupancy information Multi-channel feature extraction and fusion are completed through MCSN, and GRU completes time series prediction.
- the output of the model is and
- the expression of MCSTN can be obtained by combining the expressions of MCSN and GRU:
- h t-1 is the hidden state at time t-1, including the related state of the previous node.
- rt is the reset gate, which is used to control the degree of ignoring the state information at the previous moment.
- z t is an update gate, which is used to control the degree to which the state information of the previous moment is brought into the current state.
- h t is the output state at time t, which will be passed to the next node.
- W z is the weight of the update gate
- W r is the weight of the reset gate
- W is the weight of the candidate hidden state.
- S205 Predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information.
- the prediction information includes a first vector and a second vector, the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot.
- the output of the model is and is the first vector, is the second vector.
- the first vector is an N-dimensional vector, corresponding to N roads, that is, the first dimension of the first vector corresponds to the average vehicle speed information of the first road, and the N-th dimension of the first vector corresponds to the average vehicle speed information of the N-th road.
- the parking space occupancy information of each parking lot is predicted according to the second vector and the corresponding relationship between each dimension in the second vector and the parking lot.
- the second vector is an M-dimensional vector, corresponding to M parking lots, that is, the first dimension of the second vector corresponds to the parking space occupancy information of the first parking lot, and the Mth dimension of the first vector corresponds to the parking space occupancy information of the Mth parking lot.
- the MCSTN-based integrated prediction of traffic conditions in the target area is realized. Whether the traffic in the target area is smooth or congested is not only affected by the traffic flow, but also by the parking saturation in the same area.
- the existing forecasting models are single-channel. During the forecasting process, they only focus on a single data and ignore other related traffic behaviors, such as only focusing on road traffic conditions or parking conditions. In some cases, there is a strong correlation between road traffic and parking. Especially near some popular points of interest, such as scenic spots, hospitals, and the traffic situation around large shopping malls is very complicated.
- the traffic conditions in an area are simultaneously predicted, including road traffic conditions and parking conditions.
- MCSTN has a wider field of vision, so the prediction effect on road traffic and parking lot conditions is better than that of existing models. .
- the following compares the prediction results of the average vehicle speed information and parking space occupancy information between the method in this solution and the method in the prior art according to actual scenarios.
- the prior art uses a T-GCN model for illustration, and the T-GCN model is a single-channel spatio-temporal model.
- the comparison experiment selects several parking lots in district B of city A and several roads around them as the experimental scene for the experiment.
- the average vehicle speed information of each road and the parking space occupancy information of each parking lot within 30 days are collected.
- the target parking lot and the target road can be selected as prediction objects among many parking lots and roads.
- Fig. 6b is an example schematic diagram of the prediction accuracy of the model provided by the embodiment of the present application, as shown in Fig. 6b, the curve in the figure is the change of the prediction accuracy of the model in one day, and curve 1 is the prediction accuracy of the MCSTN model , Curve 2 is the prediction accuracy of the T-GCN model. Specifically, the prediction accuracy of every 15 time slices is calculated on the test set, and the time-varying curve is obtained.
- the prediction accuracy Accuracy is shown by the following formula.
- Y r is the real average vehicle speed information
- Y p is the real parking space occupancy information
- ⁇ F is the F norm.
- the accuracy of the two models is relatively close between 8:00 pm and 6:00 am, while at other times, the prediction accuracy of the MCSTN model is significantly higher than that of the T-GCN model. It can be speculated that the variation of the prediction accuracy of the model is related to the traffic conditions. Between 8:00 p.m. and 6:00 a.m., when there are relatively few cars on the road and parking spaces are plentiful, the prediction accuracy of the two models is very close. But as the parking number increases sharply from 8:00 am, the prediction accuracy of T-GCN decreases, while that of MCSTN increases slightly in this case. Therefore, the difference in prediction accuracy of the two models may be caused by the correlation between road traffic and parking.
- FIG. 6c is an example diagram of the relationship between the prediction accuracy and mutual information provided by the embodiment of the present application, as shown in Figure 6c, " ⁇ " is the prediction accuracy of the MCSTN model, and "X” is the T-GCN model
- the abscissa in the figure is the mutual information between the average vehicle speed information and the parking space occupancy information, and the ordinate is the prediction accuracy of the model. It can be seen from the figure that when the mutual information is small, the accuracy of the two types of models is not much different.
- the prediction accuracy of the MCSTN model is significantly better than that of the T-GCN model. Therefore, the prediction of single data is only suitable for dealing with the low correlation of traffic activities.
- integrated prediction can better solve the potential and subtle correlation between different traffic activities in the same space-time environment. sexual issues.
- the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area
- the average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all
- the topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information of each parking lot.
- FIG. 7 is a schematic structural diagram of an area traffic forecasting device provided by an embodiment of the present application.
- the prediction device of the regional traffic can be a computer program (including program code) running in the computer equipment, for example, the prediction device of the regional traffic is an application software; this device can be used to execute the method provided by the embodiment of the present application corresponding steps.
- the regional traffic prediction device 1 of the embodiment of the present application may include: a topology map construction unit 11 , a feature information acquisition unit 12 , a feature fusion unit 13 , and an information prediction unit 14 .
- the topology map construction unit 11 is used to construct the road network topology map of the road in the target area and the parking lot topology map of the parking lot according to the road information and parking lot information of the target area;
- the feature information acquisition unit 12 is configured to acquire the first feature information of the road network topology map and the second feature of the parking lot topology map according to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot Information; the first feature information is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area;
- a feature fusion unit 13 configured to fuse the first feature information with the second feature information through a multi-channel space network, the road network topology map and the parking lot topology map to generate a space fusion feature;
- the information prediction unit 14 is used to predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the loop gating network and at least two spatial fusion features.
- the topology map construction unit 11 is specifically used for:
- Statize the road information of the target area determine the first connection relationship between each road in the road information according to the natural connection rules of the road, and construct the road network topology map of the target area according to the first connection relationship; the second A connection relationship is used to indicate whether each road is connected in the topology map;
- Count the parking lot information in the target area determine the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and construct the parking lot topology in the target area according to the second connection relationship Figure; the second connection relationship is used to indicate whether each parking lot is connected in the topology map.
- the feature information acquiring unit 12 is specifically configured to:
- the feature fusion unit 13 is specifically used for:
- the first spatial feature and the second spatial feature are fused to generate a spatial fusion feature at the target moment.
- the information prediction unit 14 of the embodiment of the present application may include: an information generation subunit 141, an information prediction subunit 142;
- the information generation subunit 141 is used to input the spatial fusion feature at T 1 -T k time into the loop gating network, and generate the state information at each time T 1 -T k time and the prediction information of the target area; the The state information is the hidden state at each moment, and is used to generate prediction information, the k is a positive integer greater than 1, and the loop gating network includes k loop gating units;
- the information prediction subunit 142 is used to predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information.
- the information generating subunit 141 is specifically configured to:
- the spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
- the information prediction subunit 142 is specifically configured to:
- the prediction information includes a first vector and a second vector; the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot;
- the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area
- the average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all
- the topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information for each parking lot.
- FIG. 8 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- the computer device 1000 may include: at least one processor 1001 , such as a CPU, at least one network interface 1004 , user interface 1003 , memory 1005 , and at least one communication bus 1002 .
- the communication bus 1002 is used to realize connection and communication between these components.
- the user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a random access memory (Random Access Memory, RAM), or a non-volatile memory (non-volatile memory, NVM), such as at least one disk memory.
- RAM Random Access Memory
- NVM non-volatile memory
- the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001 .
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data processing application program.
- the network interface 1004 can provide a network communication function
- the user interface 1003 is mainly used to provide an input interface for the user
- the processor 1001 can be used to call the data processing application program stored in the memory 1005 , so as to implement the description of the regional traffic prediction method in any one of the above embodiments corresponding to FIG. 2-FIG.
- the computer device 1000 described in the embodiment of the present application can execute the description of the regional traffic prediction method in any one of the embodiments corresponding to Figure 2-6c above, and can also implement the embodiment corresponding to Figure 7 above
- the description of the forecasting equipment for the regional traffic in will not be repeated here.
- the description of the beneficial effect of adopting the same method will not be repeated here.
- the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the aforementioned regional traffic prediction device, and
- the computer program includes program instructions.
- the processor executes the program instructions, it can execute the description of the regional traffic prediction method in any one of the embodiments corresponding to FIG. 2-FIG. 6c. Therefore, here No further details will be given.
- the description of the beneficial effect of adopting the same method will not be repeated here.
- program instructions may be deployed to execute on one computing device, or on multiple computing devices located at one site, or, alternatively, on multiple computing devices distributed across multiple sites and interconnected by a communication network
- program instructions may be deployed to execute on one computing device, or on multiple computing devices located at one site, or, alternatively, on multiple computing devices distributed across multiple sites and interconnected by a communication network
- multiple computing devices distributed in multiple locations and interconnected by a communication network can form a blockchain system.
- the above-mentioned computer-readable storage medium may be an area traffic prediction device provided in any one of the foregoing embodiments or an internal storage unit of the above-mentioned device, such as a hard disk or a memory of an electronic device.
- the computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, Flash card (flash card), etc.
- the above-mentioned computer-readable storage medium may also include a magnetic disk, an optical disk, a read-only memory (read-only memory, ROM) or a random access memory, and the like.
- the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device.
- the computer-readable storage medium is used to store the computer program and other programs and quantities required by the electronic device.
- the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
- Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit.
- the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本申请涉及互联网技术领域,尤其涉及一种区域交通的预测方法以及设备。The present application relates to the technical field of the Internet, and in particular to a method and device for predicting regional traffic.
随着我国经济的飞速发展和现代化进程的加快,汽车持有量和出行次数持续增加。汽车保有量的持续增长,导致了道路交通拥堵,也带来了停车困难的问题。近年来在智能交通领域展开的深入研究和实践已经证实了其在缓解交通拥堵、提高道路通行能力和服务水平方面的优越性。交通预测是智能交通的重要组成部分,它可以帮助管理者提前了解交通变化,从而制定相应的管控策略。道路交通和停车饱和度都对整体交通有影响,它们共同决定了一个区域的交通状况。With the rapid development of my country's economy and the acceleration of the modernization process, the number of car ownership and the number of trips continue to increase. The continuous growth of car ownership has led to road traffic congestion and parking difficulties. In-depth research and practice in the field of intelligent transportation in recent years have confirmed its superiority in alleviating traffic congestion, improving road capacity and service levels. Traffic forecasting is an important part of intelligent transportation. It can help managers understand traffic changes in advance, so as to formulate corresponding control strategies. Both road traffic and parking saturation contribute to overall traffic, and together they determine the traffic conditions in an area.
当前交通状况预测是根据道路交通流或者停车状况进行预测。交通流和停车状况的预测方法基本上是相通的,早期预测采用的是基于统计学的模型,但是这种方法抗干扰能力低,预测结果不精准。近年来由于深度学习模型有强大的特征提取能力和样本空间拟合能力,开始基于深度学习模型开展交通流和停车位占用预测方法研究,预测效果相比早期统计学的模型有所提升。但是在一些热门的兴趣点附近,比如医院、景点、大型商场等,交通情况比较复杂,一方面,巨大的交通流量给停车场带来了压力。另一方面,有限的停车位导致找不到空车位的车辆在道路上低速巡游。道路交通流和停车状况会互相影响,通过道路交通流或者停车状况预测交通状况依然会存在一定的偏差。Prediction of current traffic conditions is based on road traffic flow or parking conditions. The prediction methods of traffic flow and parking conditions are basically the same. Early predictions used statistical models, but this method has low anti-interference ability and the prediction results are not accurate. In recent years, due to the strong feature extraction ability and sample space fitting ability of the deep learning model, research on traffic flow and parking space occupancy prediction methods based on the deep learning model has begun, and the prediction effect has improved compared with the early statistical models. But near some popular points of interest, such as hospitals, scenic spots, large shopping malls, etc., the traffic situation is more complicated. On the one hand, the huge traffic flow has brought pressure to the parking lot. On the other hand, limited parking spaces lead to vehicles cruising the road at low speeds unable to find a vacant space. Road traffic flow and parking conditions will affect each other, and there will still be some deviations in predicting traffic conditions through road traffic flow or parking conditions.
发明内容Contents of the invention
本申请实施例提供一种区域交通的预测方法以及设备,可以提高对道路交通状况进行预测的准确率。Embodiments of the present application provide a method and device for predicting regional traffic, which can improve the accuracy of predicting road traffic conditions.
本申请实施例一方面提供了一种区域交通的预测方法,可包括:An embodiment of the present application provides a method for predicting regional traffic, which may include:
根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图;According to the road information and the parking lot information of the target area, construct the road network topology map of the road in the target area and the parking lot topology map of the parking lot;
根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息;所述第一特征信息用于表征目标区域中道路的历史平均车速信息,第二特征信息用于表征目标区域中停车场的历史车位占用信息;According to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained; the first feature information It is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area;
通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征;Fusing the first feature information with the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature;
通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。The average vehicle speed information for each road and the occupancy information for each parking lot are predicted by a recurrent gating network and at least two spatially fused features.
在一种可行的实施方式中,所述根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图,包括:In a feasible implementation manner, the construction of the road network topology map of the road in the target area and the parking lot topology map of the parking lot according to the road information and parking lot information of the target area includes:
统计目标区域的道路信息,根据道路的自然连接规则,确定所述道路信息中每条道路之间的第一连接关系,根据所述第一连接关系构建目标区域的路网拓扑图;所述第一连接关系用于表示各道路在拓扑图中是否相连;Statize the road information of the target area, determine the first connection relationship between each road in the road information according to the natural connection rules of the road, and construct the road network topology map of the target area according to the first connection relationship; the second A connection relationship is used to indicate whether each road is connected in the topology map;
统计目标区域的停车场信息,根据停车场之间的最短路径,确定所述停车场信息中每个停车场之间的第二连接关系,根据所述第二连接关系构建目标区域的停车场拓扑图;所述第二连接关系用于表示各停车场在拓扑图中是否相连。Count the parking lot information in the target area, determine the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and construct the parking lot topology in the target area according to the second connection relationship Figure; the second connection relationship is used to indicate whether each parking lot is connected in the topology map.
在一种可行的实施方式中,所述根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,包括:In a feasible implementation manner, according to the historical average vehicle speed information of the roads in the target area and the historical parking space occupancy information of the parking lot, the first characteristic information of the road network topology map and the first feature information of the parking lot topology map are acquired. Second feature information, including:
获取目标区域中的每条道路在目标时刻的历史平均车速信息,根据所述历史平均车速信息生成道路对应的平均车速向量,将所述平均车速向量作为路网拓扑图在目标时刻的第一特征信息;Obtain the historical average vehicle speed information of each road in the target area at the target time, generate the average vehicle speed vector corresponding to the road according to the historical average vehicle speed information, and use the average vehicle speed vector as the first feature of the road network topology map at the target time information;
获取目标区域中的每个停车场的在目标时刻的历史车位占用信息,根据所述历史车位占用信息生成停车场对应的车位占用向量,将所述车位占用向量作为停车场拓扑图在目标时刻的第二特征信息。Obtain the historical parking space occupancy information of each parking lot in the target area at the target moment, generate a parking space occupancy vector corresponding to the parking lot according to the historical parking space occupancy information, and use the parking space occupancy vector as the topological map of the parking lot at the target time. Second characteristic information.
在一种可行的实施方式中,所述通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,包括:In a feasible implementation manner, the first feature information and the second feature information are fused to generate a space fusion features, including:
将所述路网拓扑图的邻接矩阵和目标时刻的第一特征信息输入多通道空间网络的第一通道,通过所述第一通道中的图卷积神经网络获取在目标时刻的第 一空间特征;Input the adjacency matrix of the road network topology map and the first feature information at the target time into the first channel of the multi-channel space network, and obtain the first spatial feature at the target time through the graph convolutional neural network in the first channel ;
将所述停车场拓扑图的邻接矩阵和目标时刻的第二特征信息输入多通道空间网络的第二通道,通过所述第二通道中的图卷积神经网络获取在目标时刻的第二空间特征;Input the adjacency matrix of the topological map of the parking lot and the second feature information of the target time into the second channel of the multi-channel spatial network, and obtain the second spatial feature at the target time through the graph convolutional neural network in the second channel ;
将所述第一空间特征和第二空间特征进行融合生成在目标时刻的空间融合特征。The first spatial feature and the second spatial feature are fused to generate a spatial fusion feature at the target moment.
在一种可行的实施方式中,所述通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息,包括:In a feasible implementation manner, the prediction of the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the loop gating network and at least two spatial fusion features includes:
将T 1-T k时刻的空间融合特征输入循环门控网络,生成T 1-T k时刻中每个时刻的状态信息和所述目标区域的预测信息;所述状态信息为每个时刻的隐藏状态,用于生成预测信息,所述k为大于1的正整数,所述循环门控网络包括k个循环门控单元; Input the spatial fusion feature of T 1 -T k time into the loop gating network, generate the state information of each time in T 1 -T k time and the prediction information of the target area; the state information is the hidden State, used to generate prediction information, the k is a positive integer greater than 1, and the loop gating network includes k loop gating units;
根据所述预测信息预测每条道路的平均车速信息和每个停车场的车位占用信息。The average vehicle speed information of each road and the parking space occupancy information of each parking lot are predicted according to the prediction information.
在一种可行的实施方式中,所述将T 1-T k时刻的空间融合特征输入循环门控网络,生成T 1-T k时刻的状态信息和所述目标区域的预测信息,包括: In a feasible implementation manner, the input of the spatial fusion feature at time T 1 -T k into the loop gating network to generate state information at time T 1 -T k and prediction information of the target area includes:
将T 1时刻的空间融合特征输入循环门控网络的第一个循环门控单元,生成所述T 1时刻的状态信息h 1; Input the spatial fusion feature at T1 moment into the first loop gating unit of the loop gating network, and generate the state information h1 at T1 moment ;
将T 2时刻的空间融合特征和所述T 1时刻的状态信息h 1输入循环门控网络的第二个循环门控单元,生成所述T 2时刻的状态信息h 2; The spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
将T
k时刻的空间融合特征和T
k-1时刻的状态信息h
k-1输入循环门控网络的第k个循环门控单元,生成所述T
k时刻的状态信息h
k和所述目标区域的预测信息。
Input the spatial fusion feature at time T k and the
在一种可行的实施方式中,所述根据所述预测信息预测每条道路的平均车速信息和每个停车场的车位占用信息,包括:In a feasible implementation manner, the prediction of the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information includes:
所述预测信息中包括第一向量和第二向量;所述第一向量对应每条道路的平均车速信息,所述第二向量对应每个停车场的车位占用信息;The prediction information includes a first vector and a second vector; the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot;
根据所述第一向量和第一向量中每个维度与道路的对应关系,预测每条道路的平均车速信息;Predicting the average vehicle speed information of each road according to the first vector and the corresponding relationship between each dimension in the first vector and the road;
根据所述第二向量和第二向量中每个维度与停车场的对应关系,预测每个 停车场的车位占用信息。According to the second vector and the corresponding relationship between each dimension in the second vector and the parking lot, the parking space occupancy information of each parking lot is predicted.
本申请实施例一方面提供了一种区域交通的预测设备,可包括:An embodiment of the present application provides an area traffic forecasting device, which may include:
拓扑图构建单元,用于根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图;A topology map construction unit, configured to construct a road network topology map of roads in the target area and a parking lot topology map of the parking lot according to the road information and parking lot information in the target area;
特征信息获取单元,用于根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息;所述第一特征信息用于表征目标区域中道路的历史平均车速信息,第二特征信息用于表征目标区域中停车场的历史车位占用信息;A feature information acquisition unit, configured to acquire the first feature information of the road network topology map and the second feature information of the parking lot topology map according to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot ; The first feature information is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area;
特征融合单元,用于通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征;A feature fusion unit, configured to fuse the first feature information with the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature;
信息预测单元,用于通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。The information prediction unit is used to predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the recurrent gating network and at least two spatial fusion features.
在一种可行的实施方式中,所述拓扑图构建单元具体用于:In a feasible implementation manner, the topology map construction unit is specifically used for:
统计目标区域的道路信息,根据道路的自然连接规则,确定所述道路信息中每条道路之间的第一连接关系,根据所述第一连接关系构建目标区域的路网拓扑图;所述第一连接关系用于表示各道路在拓扑图中是否相连;Statize the road information of the target area, determine the first connection relationship between each road in the road information according to the natural connection rules of the road, and construct the road network topology map of the target area according to the first connection relationship; the second A connection relationship is used to indicate whether each road is connected in the topology map;
统计目标区域的停车场信息,根据停车场之间的最短路径,确定所述停车场信息中每个停车场之间的第二连接关系,根据所述第二连接关系构建目标区域的停车场拓扑图;所述第二连接关系用于表示各停车场在拓扑图中是否相连。Count the parking lot information in the target area, determine the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and construct the parking lot topology in the target area according to the second connection relationship Figure; the second connection relationship is used to indicate whether each parking lot is connected in the topology map.
在一种可行的实施方式中,所述特征信息获取单元具体用于:In a feasible implementation manner, the feature information acquiring unit is specifically configured to:
获取目标区域中的每条道路在目标时刻的历史平均车速信息,根据所述历史平均车速信息生成道路对应的平均车速向量,将所述平均车速向量作为路网拓扑图在目标时刻的第一特征信息;Obtain the historical average vehicle speed information of each road in the target area at the target time, generate the average vehicle speed vector corresponding to the road according to the historical average vehicle speed information, and use the average vehicle speed vector as the first feature of the road network topology map at the target time information;
获取目标区域中的每个停车场的在目标时刻的历史车位占用信息,根据所述历史车位占用信息生成停车场对应的车位占用向量,将所述车位占用向量作为停车场拓扑图在目标时刻的第二特征信息。Obtain the historical parking space occupancy information of each parking lot in the target area at the target moment, generate a parking space occupancy vector corresponding to the parking lot according to the historical parking space occupancy information, and use the parking space occupancy vector as the topological map of the parking lot at the target time. Second characteristic information.
在一种可行的实施方式中,所述特征融合单元具体用于:In a feasible implementation manner, the feature fusion unit is specifically used for:
将所述路网拓扑图的邻接矩阵和目标时刻的第一特征信息输入多通道空间网络的第一通道,通过所述第一通道中的图卷积神经网络获取在目标时刻的第 一空间特征;Input the adjacency matrix of the road network topology map and the first feature information at the target time into the first channel of the multi-channel space network, and obtain the first spatial feature at the target time through the graph convolutional neural network in the first channel ;
将所述停车场拓扑图的邻接矩阵和目标时刻的第二特征信息输入多通道空间网络的第二通道,通过所述第二通道中的图卷积神经网络获取在目标时刻的第二空间特征;Input the adjacency matrix of the topological map of the parking lot and the second feature information of the target time into the second channel of the multi-channel spatial network, and obtain the second spatial feature at the target time through the graph convolutional neural network in the second channel ;
将所述第一空间特征和第二空间特征进行融合生成在目标时刻的空间融合特征。The first spatial feature and the second spatial feature are fused to generate a spatial fusion feature at the target moment.
在一种可行的实施方式中,所述信息预测单元,包括:In a feasible implementation manner, the information prediction unit includes:
信息生成子单元,用于将T 1-T k时刻的空间融合特征输入循环门控网络,生成T 1-T k时刻中每个时刻的状态信息和所述目标区域的预测信息;所述状态信息为每个时刻的隐藏状态,用于生成预测信息,所述k为大于1的正整数,所述循环门控网络包括k个循环门控单元; The information generation subunit is used to input the spatial fusion feature of T 1 -T k time into the loop gating network, and generate the state information of each time point in T 1 -T k time and the prediction information of the target area; the state The information is the hidden state at each moment, and is used to generate prediction information, the k is a positive integer greater than 1, and the loop gating network includes k loop gating units;
信息预测子单元,用于根据所述预测信息预测每条道路的平均车速信息和每个停车场的车位占用信息。The information prediction subunit is used to predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information.
在一种可行的实施方式中,所述信息生成子单元具体用于:In a feasible implementation manner, the information generating subunit is specifically configured to:
将T 1时刻的空间融合特征输入循环门控网络的第一个循环门控单元,生成所述T 1时刻的状态信息h 1; Input the spatial fusion feature at T1 moment into the first loop gating unit of the loop gating network, and generate the state information h1 at T1 moment ;
将T 2时刻的空间融合特征和所述T 1时刻的状态信息h 1输入循环门控网络的第二个循环门控单元,生成所述T 2时刻的状态信息h 2; The spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
将T
k时刻的空间融合特征和T
k-1时刻的状态信息h
k-1输入循环门控网络的第k个循环门控单元,生成所述T
k时刻的状态信息h
k和所述目标区域的预测信息。
Input the spatial fusion feature at time T k and the
在一种可行的实施方式中,所述信息预测子单元具体用于:In a feasible implementation manner, the information prediction subunit is specifically configured to:
所述预测信息中包括第一向量和第二向量;所述第一向量对应每条道路的平均车速信息,所述第二向量对应每个停车场的车位占用信息;The prediction information includes a first vector and a second vector; the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot;
根据所述第一向量和第一向量中每个维度与道路的对应关系,预测每条道路的平均车速信息;Predicting the average vehicle speed information of each road according to the first vector and the corresponding relationship between each dimension in the first vector and the road;
根据所述第二向量和第二向量中每个维度与停车场的对应关系,预测每个停车场的车位占用信息。Predict the parking space occupancy information of each parking lot according to the second vector and the corresponding relationship between each dimension in the second vector and the parking lot.
本申请实施例一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序适于由处理器加载并执行上述的 方法步骤。On the one hand, the embodiments of the present application provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is adapted to be loaded by a processor and execute the above-mentioned method steps.
本申请实施例一方面提供了一种计算机设备,包括:处理器、存储器以及网络接口;所述处理器与所述存储器、所述网络接口相连,其中,所述网络接口用于提供网络通信功能,所述存储器用于存储程序代码,所述处理器用于调用所述程序代码执行上述的方法步骤。An embodiment of the present application provides a computer device, including: a processor, a memory, and a network interface; the processor is connected to the memory and the network interface, wherein the network interface is used to provide a network communication function , the memory is used to store program codes, and the processor is used to call the program codes to execute the above method steps.
本申请实施例一方面提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述的方法步骤。An embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned method steps.
在本申请实施例中,通过根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图,进一步根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,最后通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。采用上述方法,避免了在交通情况复杂地段,道路交通流和停车状况的互相影响,导致采用单一道路交通流或者停车状况预测交通状况存在偏差的问题,提高了对道路交通状况进行预测的准确率。In this embodiment of the application, the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area The average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all The topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information of each parking lot. Using the above method avoids the mutual influence of road traffic flow and parking conditions in areas with complex traffic conditions, which leads to deviations in predicting traffic conditions with a single road traffic flow or parking conditions, and improves the accuracy of road traffic condition prediction .
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本申请实施例提供的一种区域交通预测的系统架构图;FIG. 1 is a system architecture diagram of a regional traffic forecast provided by an embodiment of the present application;
图2是本申请实施例提供的一种区域交通的预测方法的流程示意图;FIG. 2 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application;
图3a是本申请实施例提供的一种目标区域的举例示意图;Fig. 3a is an exemplary schematic diagram of a target area provided by an embodiment of the present application;
图3b是本申请实施例提供的一种道路和停车场可视化的举例示意图;Fig. 3b is an exemplary schematic diagram of road and parking lot visualization provided by the embodiment of the present application;
图3c是本申请实施例提供的一种路网拓扑图的举例示意图;Fig. 3c is a schematic diagram of an example of a road network topology diagram provided by an embodiment of the present application;
图3d是本申请实施例提供的一种停车场拓扑图的举例示意图;Fig. 3d is a schematic diagram of an example of a parking lot topology provided by an embodiment of the present application;
图4是本申请实施例提供的一种生成空间融合特征的举例示意图;Fig. 4 is a schematic diagram of an example of a generated spatial fusion feature provided by an embodiment of the present application;
图5是本申请实施例提供的一种区域交通的预测方法的流程示意图;FIG. 5 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application;
图6a是本申请实施例提供的一种生成预测信息的举例示意图;Fig. 6a is a schematic diagram of an example of generating prediction information provided by an embodiment of the present application;
图6b是本申请实施例提供的一种模型的预测精度的举例示意图;Fig. 6b is an example schematic diagram of the prediction accuracy of a model provided by the embodiment of the present application;
图6c是本申请实施例提供的一种预测精度与互信息之间关系的举例示意图;Fig. 6c is an exemplary schematic diagram of the relationship between prediction accuracy and mutual information provided by the embodiment of the present application;
图7是本申请实施例提供的一种区域交通的预测设备的结构示意图;FIG. 7 is a schematic structural diagram of a regional traffic forecasting device provided by an embodiment of the present application;
图8是本申请实施例提供的一种计算机设备的结构示意图。Fig. 8 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
如图1所示,该网络架构图可以包括业务服务器100以及用户终端集群,该用户终端集群可以包括用户终端10a、用户终端10b、…、用户终端10c,其中,用户终端集群之间可以存在通信连接,例如用户终端10a与用户终端10b之间存在通信连接,用户终端10b与用户终端10c之间存在通信连接,且用户终端集群中的任一用户终端可以与业务服务器100存在通信连接,例如用户终端10a与业务服务器100之间存在通信连接,用户终端10b与业务服务器100之间存在通信连接。As shown in Figure 1, the network architecture diagram may include a
其中,上述用户终端集群(也包括上述的用户终端10a、用户终端10b以及用户终端10c)均可以集成安装有目标应用。可选的,该目标应用可以包括具有获取地图数据、处理路网信息和构建拓扑图等功能的应用。数据库10d中存储了多通道空间网络和循环门控网络,具体的,用户终端根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图,进一步的,根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,所述第一特征信息用于表征目标区域中道路的历史平均车速信息, 第二特征信息用于表征目标区域中停车场的历史车位占用信息,通过数据库10d中的多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,最后通过数据库10d中的循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。需要说明的是,可以将数据库10d中存储的多通道空间网络和循环门控网络存放在用户终端本地,在用户终端侧完成每条道路的平均车速信息和每个停车场的车位占用信息的预测。可选的,上述用户终端可以为在上述图1所对应实施例的用户终端集群中所选取的任意一个用户终端,比如,该用户终端可以为上述用户终端10b。Wherein, the above-mentioned user terminal cluster (also including the above-mentioned
可以理解的是,本申请实施例所提供的方法可以由计算机设备执行,计算机设备包括但不限于终端或服务器,本申请实施例中的服务器100可以为计算机设备,用户终端集群中的用户终端也可以为计算机设备,此处不限定。上述业务服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。上述终端可以包括:智能手机、平板电脑、笔记本电脑、桌上型电脑、智能电视、智能音箱、台式计算机、智能手表等携带图像识别功能的智能终端,但并不局限于此。其中,用户终端以及业务服务器可以通过有线或无线通信方式进行直接或间接地连接,本申请在此不做限制。It can be understood that the method provided in the embodiment of the present application can be executed by a computer device, and the computer device includes but is not limited to a terminal or a server. The
进一步地,为便于理解,请参见图2,图2是本申请实施例提供的区域交通的预测方法的流程示意图。该方法可以由用户终端(例如,上述图1所示的用户终端)执行,也可以由用户终端和业务服务器(如上述图1所对应实施例中的业务服务器100)共同执行。为便于理解,本实施例以该方法由上述用户终端执行为例进行说明。其中,该区域交通的预测方法至少可以包括以下步骤S101-步骤S104:Further, for ease of understanding, please refer to FIG. 2 , which is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application. The method may be executed by a user terminal (eg, the user terminal shown in FIG. 1 ), or jointly executed by the user terminal and a service server (such as the
S101,根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图;S101, according to the road information and the parking lot information of the target area, construct the road network topology map of the road in the target area and the parking lot topology map of the parking lot;
具体的,用户终端根据目标区域的道路信息和停车场信息,构建所述目标 区域中道路的路网拓扑图和停车场的停车场拓扑图,可以理解的是,目标区域可以是具有一定范围并包括道路和停车场的任意一个区域,例如可以是一个城市的某一个片区。道路信息是目标区域的道路的数量以及道路之间的连接关系,停车场信息是目标区域的停车场的数量以及停车场之间的距离信息。路网拓扑图是表示道路信息的拓扑结构图,路网拓扑图中包括代表道路的节点,以及各节点之间的关系,停车场拓扑图表示停车场信息的拓扑结构图,停车场拓扑图中包括代表停车场的节点,以及各节点之间的关系。Specifically, the user terminal constructs the road network topology map of the road in the target area and the parking lot topology map of the parking lot according to the road information and parking lot information in the target area. It can be understood that the target area can be Any area including roads and parking lots, such as a certain area of a city. The road information is the number of roads in the target area and the connection relationship between the roads, and the parking lot information is the number of parking lots in the target area and distance information between the parking lots. The road network topology diagram is a topological structure diagram representing road information. The road network topology diagram includes nodes representing roads and the relationship between nodes. The parking lot topology diagram represents the topology structure diagram of parking lot information. The parking lot topology diagram Including the nodes representing the parking lot, and the relationship between each node.
构建路网拓扑图和停车场拓扑图的具体过程如下:The specific process of constructing road network topology map and parking lot topology map is as follows:
请参见图3a,图3a是本申请实施例提供的目标区域的举例示意图,如图3a所示,图中实线框为目标区域,目标区域中包括多条道路和多个停车场,根据道路和停车场的矢量数据,将目标区域的道路和停车场进行可视化,请参见图3b,图3b是本申请实施例提供的道路和停车场可视化的举例示意图,如图3b所示,图中直线为道路,圆点为停车场,其中道路带有方向信息,即双行道理解为两条道路。Please refer to Fig. 3a. Fig. 3a is an example schematic diagram of the target area provided by the embodiment of the present application. and the vector data of the parking lot to visualize the roads and parking lots in the target area, please refer to Fig. 3b. Fig. 3b is an example schematic diagram of the visualization of roads and parking lots provided by the embodiment of the present application, as shown in Fig. 3b, the straight line in the figure is a road, and the dot is a parking lot, where the road has direction information, that is, a two-way street is understood as two roads.
用户终端统计目标区域的道路信息,根据道路的自然连接规则,确定所述道路信息中每条道路之间的第一连接关系,根据所述第一连接关系构建目标区域的路网拓扑图。自然连接规则是道路在真实世界中是否相交,第一连接关系为道路在拓扑图中是否相连。例如,若道路R 1和道路R 2在真实世界中是相交的,则道路R 1和道路R 2在拓扑图中是相连的,若道路R 1和道路R 2在真实世界中不是相交的,则道路R 1和道路R 2在拓扑图中是不相连的。请参见图3c,图3c是本申请实施例提供的路网拓扑图的举例示意图,如图3c所示,目标区域包括11条道路,分别记为R 1、R 2、...R 11,每条道路视为一个节点,若两条道路相交,则将两个节点连接起来,道路的路网拓扑图可以记为G r=(V r,E r),其中,V r表示所有节点的集合,V r={v 1,v 2,...,v N},N为节点数量,E r表示所有边的集合。另外,各个节点之间的连接关系用邻接矩阵A r表示,A r∈R N×N。 The user terminal collects the road information of the target area, determines the first connection relationship between each road in the road information according to the natural connection rules of the roads, and constructs the road network topology map of the target area according to the first connection relationship. The natural connection rule is whether the roads intersect in the real world, and the first connection relationship is whether the roads are connected in the topology map. For example, if the road R 1 and the road R 2 are intersecting in the real world, then the road R 1 and the road R 2 are connected in the topological graph, if the road R 1 and the road R 2 are not intersecting in the real world, Then the road R 1 and the road R 2 are not connected in the topological graph. Please refer to Figure 3c, Figure 3c is an example schematic diagram of the road network topology provided by the embodiment of the present application, as shown in Figure 3c, the target area includes 11 roads, which are respectively marked as R 1 , R 2 , ... R 11 , Each road is regarded as a node. If two roads intersect, the two nodes will be connected. The road network topology map of the road can be recorded as G r = (V r , E r ), where V r represents the Set, V r ={v 1 ,v 2 ,...,v N }, N is the number of nodes, E r represents the set of all edges. In addition, the connection relationship between each node is represented by an adjacency matrix A r , A r ∈ R N×N .
进一步的,用户终端统计目标区域的停车场信息,根据停车场之间的最短路径,确定所述停车场信息中每个停车场之间的第二连接关系,根据所述第二连接关系构建目标区域的停车场拓扑图。最短路径是停车场在真实世界中的距离,根据最短距离是否小于预设的距离阈值确定第二连接关系,第二连接关系为停车场在拓扑图中是否相连。例如,若停车场P 1和停车场P 2在真实世界中的 实际距离小于预设的距离阈值,则停车场P 1和停车场P 2在拓扑图中是相连的,若停车场P 1和停车场P 2在真实世界中的实际距离大于或等于预设的距离阈值,则停车场P 1和停车场P 2在拓扑图中是不相连的。请参见图3d,图3d是本申请实施例提供的停车场拓扑图的举例示意图,如图3c所示,目标区域包括7个停车场,分别记为P 1、P 2、...P 7,每个停车场视为一个节点,计算两个停车场节点之间的最短道路距离,若该距离小于600米则将两个节点连接起来。停车场的停车场拓扑图可以记为G p=(V p,E p),其中,V p表示所有节点的集合,V p={v 1,v 2,...,v M},M为停车场数量,E p表示所有边的集合。另外,各个节点之间的连接关系用邻接矩阵用A p表示,A p∈R M×M。 Further, the user terminal collects the parking lot information in the target area, determines the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and constructs the target according to the second connection relationship. Parking topology map of the area. The shortest path is the distance of the parking lot in the real world, and the second connection relationship is determined according to whether the shortest distance is less than a preset distance threshold, and the second connection relationship is whether the parking lot is connected in the topology map. For example, if the actual distance between the parking lot P1 and the parking lot P2 in the real world is less than the preset distance threshold, then the parking lot P1 and the parking lot P2 are connected in the topology map, if the parking lot P1 and If the actual distance of the parking lot P2 in the real world is greater than or equal to the preset distance threshold, then the parking lot P1 and the parking lot P2 are not connected in the topology map. Please refer to Fig. 3d. Fig. 3d is an example schematic diagram of the topology map of the parking lot provided by the embodiment of the present application. As shown in Fig. 3c, the target area includes 7 parking lots, respectively marked as P 1 , P 2 , ... P 7 , each parking lot is regarded as a node, and the shortest road distance between two parking lot nodes is calculated, and if the distance is less than 600 meters, the two nodes are connected. The parking lot topology map of the parking lot can be recorded as G p =(V p ,E p ), where V p represents the set of all nodes, V p ={v 1 ,v 2 ,...,v M }, M is the number of parking lots, and E p represents the set of all sides. In addition, the connection relationship between each node is represented by A p with adjacency matrix, A p ∈ R M×M .
S102,根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息;S102. According to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot, acquire the first feature information of the road network topology map and the second feature information of the parking lot topology map;
具体的,用户终端根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,所述第一特征信息用于表征目标区域中道路的历史平均车速信息,第二特征信息用于表征目标区域中停车场的历史车位占用信息,可以理解的是,用户终端获取目标区域中的每条道路在目标时刻的历史平均车速信息,目标时刻为历史平均车速信息的取样时刻,根据所述历史平均车速信息生成道路对应的平均车速向量,将所述平均车速向量作为路网拓扑图在目标时刻的第一特征信息。例如,获取T个目标时刻的历史平均车速信息x 1,x 2,...x T,则每个道路节点的平均车速向量,即第一特征信息记为x r=[x 1,x 2,...,x t,...,x T],T是历史时间序列的长度,x t表示t时刻的节点特征, 表示t时刻的所有节点特征, Specifically, the user terminal obtains the first feature information of the road network topology map and the second feature information of the parking lot topology map according to the historical average vehicle speed information of the road in the target area and the historical parking space occupancy information of the parking lot, so The first feature information is used to represent the historical average vehicle speed information of the road in the target area, and the second feature information is used to represent the historical parking space occupancy information of the parking lot in the target area. It can be understood that the user terminal obtains each The historical average vehicle speed information of the road at the target time, the target time is the sampling time of the historical average vehicle speed information, the average vehicle speed vector corresponding to the road is generated according to the historical average vehicle speed information, and the average vehicle speed vector is used as the road network topology map at the target time The first characteristic information of . For example, to obtain the historical average vehicle speed information x 1 , x 2 , ... x T of T target moments, then the average vehicle speed vector of each road node, that is, the first characteristic information is recorded as x r =[x 1 ,x 2 ,...,x t ,...,x T ], T is the length of the historical time series, x t represents the node characteristics at time t, Indicates all node features at time t,
进一步的,用户终端获取目标区域中的每个停车场的在目标时刻的历史车位占用信息,根据所述历史车位占用信息生成停车场对应的车位占用向量,将所述车位占用向量作为停车场拓扑图在目标时刻的第二特征信息。例如,获取T个目标时刻的历史车位占用信息x 1,x 2,...x T,,则每个停车场节点的车位占用向量,即第二特征信息记为x p=[x 1,x 2,...,x t,...,x T],T是历史时间序列的长度,x t表示t时刻的节点特征, 表示t时刻的所有节点特征, Further, the user terminal obtains the historical parking space occupancy information of each parking lot in the target area at the target moment, generates a parking space occupancy vector corresponding to the parking lot according to the historical parking space occupancy information, and uses the parking space occupancy vector as the parking lot topology The second characteristic information of the graph at the target time. For example, to obtain the historical parking space occupancy information x 1 , x 2 , ... x T , at T target moments, then the parking space occupancy vector of each parking lot node, that is, the second characteristic information is recorded as x p =[x 1 , x 2 ,...,x t ,...,x T ], T is the length of the historical time series, x t represents the node characteristics at time t, Indicates all node features at time t,
S103,通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图, 将所述第一特征信息与第二特征信息进行融合,生成空间融合特征;S103. Fuse the first feature information with the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature;
具体的,用户终端通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,可以理解的是,多通道空间网络有被称为MCSN,包括多个预测通道,每个预测通道中均包括一个两层的图卷积神经网络(GCN),但每个预测通道之间是异构的,可以处理不同节点拓扑图数据,一个两层GCN模型表示如下:Specifically, the user terminal fuses the first feature information and the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature. It can be understood that , the multi-channel spatial network is called MCSN, including multiple prediction channels, each of which includes a two-layer graph convolutional neural network (GCN), but each prediction channel is heterogeneous and can be To process different node topology graph data, a two-layer GCN model is expressed as follows:
其中,X是特征矩阵,A是邻接矩阵。为了在聚合节点特征的过程中保留自身信息,一般需要给每个节点添加自环。具体来说,可以通过邻接矩阵A和单位矩阵I相加来实现,即 进一步对 进行归一化处理,即 其中 为度矩阵, W 0和W 1是权重矩阵,σ(·)代表激活函数,一般采用Relu()作为激活函数。 Among them, X is the feature matrix and A is the adjacency matrix. In order to preserve its own information in the process of aggregating node features, it is generally necessary to add a self-loop to each node. Specifically, it can be realized by adding the adjacency matrix A and the identity matrix I, namely further to to normalize, that is, in is the degree matrix, W 0 and W 1 are weight matrices, σ( ) represents the activation function, and Relu() is generally used as the activation function.
下面以包含两个通道的多通道空间网络MCSN进行说明,MCSN可以表示如下:The following is an illustration of a multi-channel space network MCSN that contains two channels. MCSN can be expressed as follows:
其中,A r和A p分别为路网拓扑图和停车场拓扑图的邻接矩阵, 和 分别为t时刻路网拓扑图和停车场拓扑图的特征矩阵。f(·)表示双层GCN。FC(·)表示全连接层。 Among them, Ar and A p are the adjacency matrix of the road network topology map and the parking lot topology map, respectively, and are the feature matrices of the road network topology map and the parking lot topology map at time t, respectively. f( ) denotes a two-layer GCN. FC( ) denotes a fully connected layer.
请参见图4,图4是本申请实施例提供的生成空间融合特征的举例示意图,如图4所示,多通道空间网络包括两个通道,即第一通道和第二通道,每个通道包括两层图卷积神经网络GCN。Please refer to Fig. 4. Fig. 4 is an example schematic diagram of the generated spatial fusion feature provided by the embodiment of the present application. As shown in Fig. 4, the multi-channel spatial network includes two channels, that is, the first channel and the second channel, and each channel includes Two-layer graph convolutional neural network GCN.
用户终端将所述路网拓扑图的邻接矩阵和目标时刻的第一特征信息输入多通道空间网络的第一通道,路网拓扑图的邻接矩阵表示各个道路节点之间的连接关系,第一通道处理N个节点的路网拓扑图。进一步的,通过所述第一通道中的图卷积神经网络获取在目标时刻的第一空间特征,第一空间特征是通过第一通道提取的道路节点的特征信息,具体的,通过图卷积神经网络中的卷积核对邻接矩阵和第一特征信息进行特征提取,并通过全连接层生成在目标时刻的第一空间特征。The user terminal inputs the adjacency matrix of the road network topology map and the first characteristic information of the target moment into the first channel of the multi-channel space network, the adjacency matrix of the road network topology map represents the connection relationship between each road node, and the first channel Process the road network topology graph with N nodes. Further, the first spatial feature at the target moment is obtained through the graph convolutional neural network in the first channel, the first spatial feature is the feature information of the road nodes extracted through the first channel, specifically, through the graph convolution The convolution kernel in the neural network performs feature extraction on the adjacency matrix and the first feature information, and generates the first spatial feature at the target moment through the fully connected layer.
用户终端将所述停车场拓扑图的邻接矩阵和目标时刻的第二特征信息输入多通道空间网络的第二通道,停车场拓扑图的邻接矩阵表示各个停车场节点之 间的连接关系,第二通道处理M个节点的路网拓扑图。进一步的,通过所述第二通道中的图卷积神经网络获取在目标时刻的第二空间特征,第二空间特征是通过第二通道提取的停车场节点的特征信息,具体的,通过图卷积神经网络中的卷积核对邻接矩阵和第二特征信息进行特征提取,并通过全连接层生成在目标时刻的第二空间特征。The user terminal inputs the adjacency matrix of the topological map of the parking lot and the second characteristic information of the target moment into the second channel of the multi-channel space network, the adjacency matrix of the topological map of the parking lot represents the connection relationship between each parking lot node, and the second The channel processes the road network topology graph of M nodes. Further, the second spatial feature at the target moment is obtained through the graph convolutional neural network in the second channel, the second spatial feature is the feature information of the parking lot node extracted through the second channel, specifically, through the graph volume The convolution kernel in the product neural network performs feature extraction on the adjacency matrix and the second feature information, and generates the second spatial feature at the target moment through the fully connected layer.
最后,用户终端通过多通道空间网络将所述第一空间特征和第二空间特征进行融合生成在目标时刻的空间融合特征,具体的,将第一空间特征和第二空间特征输入多通道空间网络的拼接层进行向量拼接,例如,第一空间特征为n维向量,第二空间特征为m维向量,则通过拼接层生成维度为n+m的向量。进一步,将拼接后的向量通过全连接层生成在目标时刻的空间融合特征。Finally, the user terminal fuses the first spatial feature and the second spatial feature through the multi-channel spatial network to generate a spatial fusion feature at the target moment, specifically, input the first spatial feature and the second spatial feature into the multi-channel spatial network The splicing layer performs vector splicing. For example, if the first spatial feature is an n-dimensional vector and the second spatial feature is an m-dimensional vector, then a vector with a dimension of n+m is generated through the splicing layer. Further, the spliced vectors are passed through a fully connected layer to generate spatial fusion features at the target moment.
需要说明的是,采用上述多通道空间网络可以生成时刻1,2,...T时刻的空间融合特征,即可以生成历史时间序列中每个时刻的空间融合特征。It should be noted that the above multi-channel spatial network can be used to generate spatial fusion features at
S104,通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。S104. Predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot through the recurrent gating network and at least two spatial fusion features.
在一种可行的实施方式中,循环门控网络可以通过门控机制对时间序列的输入和记忆信息等,预测当前时刻的输出,具体的,循环门控网络可以包括多个循环门控单元(GRU),空间融合特征可以通过多通道空间网络MCSN生成,因此,将循环门控网络与MCSN结合生成MCSTN模型,采用MCSTN模型可以预测每条道路的平均车速信息和每个停车场的车位占用信息,MCSTN模型这是一个多输入多输出的预测模型,MCSTN可以包括多个MCSN,以及与MCSN相同个数的GRU,每个MCSN对应一个GRU,MCSN的输入数据为目标时刻的第一特征信息和第二特征信息,MCSN的输出数据为目标时刻的空间融合特征,GRU的输入数据为其对应的MCSN输出的目标时刻的空间融合特征以及上一时刻的GRU的输出,GRU的输出数据为目标时刻的状态信息,同时也作为下一个时刻的GRU的输入数据。In a feasible implementation, the loop gating network can predict the output at the current moment through the gating mechanism for the input and memory information of the time series. Specifically, the loop gating network can include multiple loop gating units ( GRU), the spatial fusion feature can be generated by the multi-channel spatial network MCSN, therefore, the cyclic gating network and MCSN are combined to generate the MCSTN model, and the MCSTN model can predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot , MCSTN model This is a multi-input and multi-output prediction model. MCSTN can include multiple MCSNs and the same number of GRUs as MCSNs. Each MCSN corresponds to a GRU. The input data of MCSNs are the first feature information and The second feature information, the output data of MCSN is the spatial fusion feature at the target time, the input data of GRU is the spatial fusion feature of the target time output corresponding to MCSN and the output of GRU at the previous time, and the output data of GRU is the target time The status information is also used as the input data of the GRU at the next moment.
具体的,若所述循环门控网络包括k个循环门控单元和k个MCSN,则用户终端将T 1-T k时刻的空间融合特征输入循环门控网络,生成T 1-T k时刻中每个时刻的状态信息和所述目标区域的预测信息;所述状态信息为每个时刻的隐藏状态,用于生成预测信息,所述k为大于1的正整数。 Specifically, if the loop gating network includes k loop gating units and k MCSNs, the user terminal inputs the spatial fusion features at time T 1 -T k into the loop gating network to generate State information at each moment and prediction information of the target area; the state information is a hidden state at each moment for generating prediction information, and k is a positive integer greater than 1.
进一步的,根据所述预测信息预测每条道路的平均车速信息和每个停车场 的车位占用信息。具体的,所述预测信息中包括平均车速信息和车位占用信息对应的向量,根据上述向量,预测每条道路的平均车速信息和每个停车场的车位占用信息。Further, the average vehicle speed information of each road and the parking space occupancy information of each parking lot are predicted according to the prediction information. Specifically, the prediction information includes vectors corresponding to the average vehicle speed information and the parking space occupancy information, and the average vehicle speed information of each road and the parking space occupancy information of each parking lot are predicted according to the above vectors.
在本申请实施例中,通过根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图,进一步根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,最后通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。采用上述方法,避免了在交通情况复杂地段,道路交通流和停车状况的互相影响,导致采用单一道路交通流或者停车状况预测交通状况存在偏差的问题,提高了对道路交通状况进行预测的准确率。In this embodiment of the application, the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area The average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all The topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information of each parking lot. Using the above method avoids the mutual influence of road traffic flow and parking conditions in areas with complex traffic conditions, which leads to deviations in predicting traffic conditions with a single road traffic flow or parking conditions, and improves the accuracy of road traffic condition prediction .
请参见图5,图5是本申请实施例提供的区域交通的预测方法的流程示意图。该方法可以由用户终端(例如,上述图1所示的用户终端)执行,也可以由用户终端和业务服务器(如上述图1所对应实施例中的业务服务器100)共同执行。为便于理解,本实施例以该方法由上述用户终端执行为例进行说明。其中,该区域交通的预测方法至少可以包括以下步骤S201-步骤S205:Please refer to FIG. 5 . FIG. 5 is a schematic flowchart of a method for predicting regional traffic provided by an embodiment of the present application. The method may be executed by a user terminal (eg, the user terminal shown in FIG. 1 ), or jointly executed by the user terminal and a service server (such as the
S201,根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图;S201. According to the road information and parking lot information in the target area, construct the road network topology map of the roads in the target area and the parking lot topology map of the parking lot;
其中,本发明实施例的步骤S201参见图1所示实施例的步骤S101的具体描述,在此不进行赘述。Wherein, for step S201 in the embodiment of the present invention, refer to the specific description of step S101 in the embodiment shown in FIG. 1 , and details are not repeated here.
S202,根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息;S202. Obtain first feature information of the road network topology map and second feature information of the parking lot topology map according to the historical average vehicle speed information of roads in the target area and the historical parking space occupancy information of the parking lot;
其中,本发明实施例的步骤S202参见图1所示实施例的步骤S102的具体描述,在此不进行赘述。For step S202 in the embodiment of the present invention, refer to the specific description of step S102 in the embodiment shown in FIG. 1 , and details are not repeated here.
S203,通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征;S203. Fuse the first feature information with the second feature information through a multi-channel space network, and the road network topology map and the parking lot topology map to generate a space fusion feature;
其中,本发明实施例的步骤S203参见图1所示实施例的步骤S103的具体描述,在此不进行赘述。Wherein, for step S203 in the embodiment of the present invention, refer to the specific description of step S103 in the embodiment shown in FIG. 1 , and details are not repeated here.
S204,将T 1-T k时刻的空间融合特征输入循环门控网络,生成T 1-T k时刻中每个时刻的状态信息和所述目标区域的预测信息;所述状态信息为每个时刻的隐藏状态,用于生成预测信息,所述k为大于1的正整数。 S204, input the spatial fusion feature at time T 1 -T k into the loop gating network, and generate state information at each time of T 1 -T k and prediction information of the target area; the state information is each time The hidden state of is used to generate prediction information, and the k is a positive integer greater than 1.
请参见图6a,图6a是本申请实施例提供的生成预测信息的举例示意图,如图6a所示,图中为循环门控网络与多通道空间网络MCSN结合生成的MCSTN模型,循环门控网络包括k个循环门控单元(GRU),MCSTN模型这是一个多输入多输出的预测模型。Please refer to Fig. 6a. Fig. 6a is an example schematic diagram of generating prediction information provided by the embodiment of the present application. As shown in Fig. 6a, the MCSTN model generated by combining the cyclic gating network and the multi-channel space network MCSN is shown in the figure, and the cyclic gating network Including k recurrent gating units (GRU), the MCSTN model is a multi-input and multi-output prediction model.
具体的,将T 1时刻的空间融合特征输入循环门控网络的第一个循环门控单元,生成所述T 1时刻的状态信息h 1; Specifically, the spatial fusion feature at T1 is input into the first loop gating unit of the loop gating network, and the state information h1 at T1 is generated ;
将T 2时刻的空间融合特征和所述T 1时刻的状态信息h 1输入循环门控网络的第二个循环门控单元,生成所述T 2时刻的状态信息h 2; The spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
将T
k时刻的空间融合特征和T
k-1时刻的状态信息h
k-1输入循环门控网络的第k个循环门控单元,生成所述T
k时刻的状态信息h
k和所述目标区域的预测信息。
Input the spatial fusion feature at time T k and the
其中,T 1-T k时刻的空间融合特征由历史平均车速信息 和历史车位占用信息 生成,因此可以将MCSTN模型作为一个整体,则模型的输入为历史平均车速信息 和历史车位占用信息 通过MCSN完成多通道的特征提取和融合,GRU完成时间序列预测。模型的输出为 和 结合MCSN和GRU的表达式可以得到MCSTN的表达式: Among them, the spatial fusion feature at time T 1 -T k is determined by the historical average vehicle speed information and historical parking space occupancy information Generated, so the MCSTN model can be taken as a whole, and the input of the model is historical average vehicle speed information and historical parking space occupancy information Multi-channel feature extraction and fusion are completed through MCSN, and GRU completes time series prediction. The output of the model is and The expression of MCSTN can be obtained by combining the expressions of MCSN and GRU:
其中,h t-1为t-1时刻的隐藏状态,包含了之前节点的相关状态。r t为重置门,用于控制忽略前一时刻状态信息的程度。z t为更新门,用于控制前一时刻的状 态信息被带入到当前状态中的程度。 为候选隐藏状态,即为当前时刻的记忆信息。h t为t时刻的输出状态,将被传递到下一节点。W z为更新门的权重,W r为重置门的权重,W为候选隐藏状态的权重。 Among them, h t-1 is the hidden state at time t-1, including the related state of the previous node. rt is the reset gate, which is used to control the degree of ignoring the state information at the previous moment. z t is an update gate, which is used to control the degree to which the state information of the previous moment is brought into the current state. is the candidate hidden state, which is the memory information at the current moment. h t is the output state at time t, which will be passed to the next node. W z is the weight of the update gate, W r is the weight of the reset gate, and W is the weight of the candidate hidden state.
S205,根据所述预测信息预测每条道路的平均车速信息和每个停车场的车位占用信息。S205. Predict the average vehicle speed information of each road and the parking space occupancy information of each parking lot according to the prediction information.
具体的,所述预测信息中包括第一向量和第二向量,所述第一向量对应每条道路的平均车速信息,所述第二向量对应每个停车场的车位占用信息。请参见图6a,模型的输出为 和 为第一向量, 为第二向量。 Specifically, the prediction information includes a first vector and a second vector, the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot. See Figure 6a, the output of the model is and is the first vector, is the second vector.
进一步的,根据所述第一向量和第一向量中每个维度与道路的对应关系,预测每条道路的平均车速信息,具体的,第一向量 为N维向量,对应N条道路,即第一向量的第一维对应第一条道路的平均车速信息,第一向量的第N维对应第N条道路的平均车速信息。 Further, predict the average vehicle speed information of each road according to the first vector and the corresponding relationship between each dimension in the first vector and the road, specifically, the first vector is an N-dimensional vector, corresponding to N roads, that is, the first dimension of the first vector corresponds to the average vehicle speed information of the first road, and the N-th dimension of the first vector corresponds to the average vehicle speed information of the N-th road.
进一步的,根据所述第二向量和第二向量中每个维度与停车场的对应关系,预测每个停车场的车位占用信息。具体的,第二向量 为M维向量,对应M个停车场,即第二向量的第一维对应第一个停车场的车位占用信息,第一向量的第M维对应第M个停车场的车位占用信息。 Further, the parking space occupancy information of each parking lot is predicted according to the second vector and the corresponding relationship between each dimension in the second vector and the parking lot. Specifically, the second vector is an M-dimensional vector, corresponding to M parking lots, that is, the first dimension of the second vector corresponds to the parking space occupancy information of the first parking lot, and the Mth dimension of the first vector corresponds to the parking space occupancy information of the Mth parking lot.
采用上述方法,实现了基于MCSTN的目标区域交通状况集成预测。目标区域的交通是畅通还是拥堵不仅受到交通流量的影响,还受到同一区域停车饱和度的影响。现有的预测模型相比MCSTN来说是单通道的,在预测过程中只关注单一数据而忽略了其他与之相关的交通行为,例如只关注道路交通状况或者停车状况。在某些情况下,道路交通和停车之间是有很很强的关联性的。尤其是在某些热门兴趣点附近,如景区,医院,大型商场周边的交通情况非常复杂。Using the above method, the MCSTN-based integrated prediction of traffic conditions in the target area is realized. Whether the traffic in the target area is smooth or congested is not only affected by the traffic flow, but also by the parking saturation in the same area. Compared with MCSTN, the existing forecasting models are single-channel. During the forecasting process, they only focus on a single data and ignore other related traffic behaviors, such as only focusing on road traffic conditions or parking conditions. In some cases, there is a strong correlation between road traffic and parking. Especially near some popular points of interest, such as scenic spots, hospitals, and the traffic situation around large shopping malls is very complicated.
在MCSTN模型当中,是同步预测一个区域内的交通状况,包括道路交通状况和停车状况,MCSTN有着更宽阔的视野,因此,对道路交通和停车场状况的预测效果比现有的模型预测效果好。In the MCSTN model, the traffic conditions in an area are simultaneously predicted, including road traffic conditions and parking conditions. MCSTN has a wider field of vision, so the prediction effect on road traffic and parking lot conditions is better than that of existing models. .
下面根据实际场景对比本方案中的方法与现有技术中的方法对平均车速信息和车位占用信息的预测结果。现有技术采用T-GCN模型进行说明,T-GCN模型是一种单通道时空模型。The following compares the prediction results of the average vehicle speed information and parking space occupancy information between the method in this solution and the method in the prior art according to actual scenarios. The prior art uses a T-GCN model for illustration, and the T-GCN model is a single-channel spatio-temporal model.
对比实验选择A市B区中的若干个停车场及其周边的若干条道路作为实验场景进行实验。收集30天内每条道路的平均车速信息和每个停车场的车位占用信息,具体的,可以在众多停车场和道路中选择目标停车厂和目标道路作为预测对象。The comparison experiment selects several parking lots in district B of city A and several roads around them as the experimental scene for the experiment. The average vehicle speed information of each road and the parking space occupancy information of each parking lot within 30 days are collected. Specifically, the target parking lot and the target road can be selected as prediction objects among many parking lots and roads.
请参见图6b,图6b是本申请实施例提供的模型的预测精度的举例示意图,如图6b所示,图中曲线为一天中模型的预测精度的变化情况,曲线1是MCSTN模型的预测精度,曲线2是T-GCN模型的预测精度,具体的,在测试集上计算每15个时间片的预测精度,并获得随时间变化的曲线。预测精度Accuracy由如下公式所示。Please refer to Fig. 6b, Fig. 6b is an example schematic diagram of the prediction accuracy of the model provided by the embodiment of the present application, as shown in Fig. 6b, the curve in the figure is the change of the prediction accuracy of the model in one day, and
其中,Y r为真实的平均车速信息, 为预测的平均车速信息,Y p为真实的车位占用信息, 为预测的车位占用信息,‖·‖ F为F范数。 Among them, Y r is the real average vehicle speed information, is the predicted average vehicle speed information, Y p is the real parking space occupancy information, is the predicted parking space occupancy information, and ‖·‖ F is the F norm.
两种模型的精度在晚上8点到早上6点之间比较接近,而在其他时间,MCSTN模型的预测精度明显高于T-GCN模型。可以推测模型的预测精度的变化与交通状况有关。晚上8点至早上6点之间,路上的车相对较少,停车位也很充足,这两种模型此时的预测精度非常接近。但是随着停车数量从早上8:00急剧增加,T-GCN的预测精度下降,而在这种情况下,MCSTN的精度略有增加。因此,这两种模型的预测精度差异可能是由道路交通和停车之间的相关性引起的。The accuracy of the two models is relatively close between 8:00 pm and 6:00 am, while at other times, the prediction accuracy of the MCSTN model is significantly higher than that of the T-GCN model. It can be speculated that the variation of the prediction accuracy of the model is related to the traffic conditions. Between 8:00 p.m. and 6:00 a.m., when there are relatively few cars on the road and parking spaces are plentiful, the prediction accuracy of the two models is very close. But as the parking number increases sharply from 8:00 am, the prediction accuracy of T-GCN decreases, while that of MCSTN increases slightly in this case. Therefore, the difference in prediction accuracy of the two models may be caused by the correlation between road traffic and parking.
为了证实上述预测精度差异,采用互信息来衡量道路上的平均车速信息与车位占用信息之间的相关性。根据互信息的定义,互信息值越大,两个变量的相关性越强。请参见图6c,图6c是本申请实施例提供的预测精度与互信息之间关系的举例示意图,如图6c所示,“○”是MCSTN模型的预测精度,“Ⅹ”是T-GCN模型的预测精度,图中横坐标为平均车速信息与车位占用信息之间的互信息,纵坐标为模型的预测精度。从图中可以看出,当互信息较小时,两类模型的精度相差不大。当互信息增加时,MCSTN模型的预测精度明显优于T-GCN模型。因此,单一数据的预测只适用于处理交通活动相关性较低的情况,而面对复杂的真实交通环境,集成预测由于更好地解决同一时空环境中不同交通活动之间潜在的、微妙的相关性问题。In order to confirm the above difference in prediction accuracy, mutual information is used to measure the correlation between the average vehicle speed information on the road and the parking space occupancy information. According to the definition of mutual information, the greater the mutual information value, the stronger the correlation between the two variables. Please refer to Figure 6c, Figure 6c is an example diagram of the relationship between the prediction accuracy and mutual information provided by the embodiment of the present application, as shown in Figure 6c, "○" is the prediction accuracy of the MCSTN model, and "X" is the T-GCN model The abscissa in the figure is the mutual information between the average vehicle speed information and the parking space occupancy information, and the ordinate is the prediction accuracy of the model. It can be seen from the figure that when the mutual information is small, the accuracy of the two types of models is not much different. When the mutual information increases, the prediction accuracy of the MCSTN model is significantly better than that of the T-GCN model. Therefore, the prediction of single data is only suitable for dealing with the low correlation of traffic activities. In the face of complex real traffic environment, integrated prediction can better solve the potential and subtle correlation between different traffic activities in the same space-time environment. sexual issues.
因此,采用本方案中的MCSTN模型对道路交通和停车状况的预测具有更高的准确率。Therefore, using the MCSTN model in this program has a higher accuracy in predicting road traffic and parking conditions.
在本申请实施例中,通过根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图,进一步根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,最后通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。采用上述方法,避免了在交通情况复杂地段,道路交通流和停车状况的互相影响,导致采用单一道路交通流或者停车状况预测交通状况存在偏差的问题,提高了对道路交通状况进行预测的准确率。In this embodiment of the application, the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area The average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all The topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information of each parking lot. Using the above method avoids the mutual influence of road traffic flow and parking conditions in areas with complex traffic conditions, which leads to deviations in predicting traffic conditions with a single road traffic flow or parking conditions, and improves the accuracy of road traffic condition prediction .
请参见图7,图7是本申请实施例提供的一种区域交通的预测设备的结构示意图。所述区域交通的预测设备可以是运行于计算机设备中的一个计算机程序(包括程序代码),例如该区域交通的预测设备为一个应用软件;该设备可以用于执行本申请实施例提供的方法中的相应步骤。如图7所示,本申请实施例的所述区域交通的预测设备1可以包括:拓扑图构建单元11、特征信息获取单元12、特征融合单元13、信息预测单元14。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of an area traffic forecasting device provided by an embodiment of the present application. The prediction device of the regional traffic can be a computer program (including program code) running in the computer equipment, for example, the prediction device of the regional traffic is an application software; this device can be used to execute the method provided by the embodiment of the present application corresponding steps. As shown in FIG. 7 , the regional
拓扑图构建单元11,用于根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图;The topology
特征信息获取单元12,用于根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息;所述第一特征信息用于表征目标区域中道路的历史平均车速信息,第二特征信息用于表征目标区域中停车场的历史车位占用信息;The feature
特征融合单元13,用于通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征;A
信息预测单元14,用于通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。The
在一种可行的实施方式中,所述拓扑图构建单元11具体用于:In a feasible implementation manner, the topology
统计目标区域的道路信息,根据道路的自然连接规则,确定所述道路信息中每条道路之间的第一连接关系,根据所述第一连接关系构建目标区域的路网拓扑图;所述第一连接关系用于表示各道路在拓扑图中是否相连;Statize the road information of the target area, determine the first connection relationship between each road in the road information according to the natural connection rules of the road, and construct the road network topology map of the target area according to the first connection relationship; the second A connection relationship is used to indicate whether each road is connected in the topology map;
统计目标区域的停车场信息,根据停车场之间的最短路径,确定所述停车场信息中每个停车场之间的第二连接关系,根据所述第二连接关系构建目标区域的停车场拓扑图;所述第二连接关系用于表示各停车场在拓扑图中是否相连。Count the parking lot information in the target area, determine the second connection relationship between each parking lot in the parking lot information according to the shortest path between the parking lots, and construct the parking lot topology in the target area according to the second connection relationship Figure; the second connection relationship is used to indicate whether each parking lot is connected in the topology map.
在一种可行的实施方式中,所述特征信息获取单元12具体用于:In a feasible implementation manner, the feature
获取目标区域中的每条道路在目标时刻的历史平均车速信息,根据所述历史平均车速信息生成道路对应的平均车速向量,将所述平均车速向量作为路网拓扑图在目标时刻的第一特征信息;Obtain the historical average vehicle speed information of each road in the target area at the target time, generate the average vehicle speed vector corresponding to the road according to the historical average vehicle speed information, and use the average vehicle speed vector as the first feature of the road network topology map at the target time information;
获取目标区域中的每个停车场的在目标时刻的历史车位占用信息,根据所述历史车位占用信息生成停车场对应的车位占用向量,将所述车位占用向量作为停车场拓扑图在目标时刻的第二特征信息。Obtain the historical parking space occupancy information of each parking lot in the target area at the target moment, generate a parking space occupancy vector corresponding to the parking lot according to the historical parking space occupancy information, and use the parking space occupancy vector as the topological map of the parking lot at the target time. Second characteristic information.
在一种可行的实施方式中,所述特征融合单元13具体用于:In a feasible implementation manner, the
将所述路网拓扑图的邻接矩阵和目标时刻的第一特征信息输入多通道空间网络的第一通道,通过所述第一通道中的图卷积神经网络获取在目标时刻的第一空间特征;Input the adjacency matrix of the road network topology map and the first feature information at the target time into the first channel of the multi-channel space network, and obtain the first spatial feature at the target time through the graph convolutional neural network in the first channel ;
将所述停车场拓扑图的邻接矩阵和目标时刻的第二特征信息输入多通道空间网络的第二通道,通过所述第二通道中的图卷积神经网络获取在目标时刻的第二空间特征;Input the adjacency matrix of the topological map of the parking lot and the second feature information of the target time into the second channel of the multi-channel spatial network, and obtain the second spatial feature at the target time through the graph convolutional neural network in the second channel ;
将所述第一空间特征和第二空间特征进行融合生成在目标时刻的空间融合特征。The first spatial feature and the second spatial feature are fused to generate a spatial fusion feature at the target moment.
请参见图7,本申请实施例的所述信息预测单元14可以包括:信息生成子单元141、信息预测子单元142;Referring to FIG. 7, the
信息生成子单元141,用于将T
1-T
k时刻的空间融合特征输入循环门控网络,生成T
1-T
k时刻中每个时刻的状态信息和所述目标区域的预测信息;所述状态信息为每个时刻的隐藏状态,用于生成预测信息,所述k为大于1的正整数,所述循环门控网络包括k个循环门控单元;
The
信息预测子单元142,用于根据所述预测信息预测每条道路的平均车速信息 和每个停车场的车位占用信息。The
在一种可行的实施方式中,所述信息生成子单元141具体用于:In a feasible implementation manner, the
将T 1时刻的空间融合特征输入循环门控网络的第一个循环门控单元,生成所述T 1时刻的状态信息h 1; Input the spatial fusion feature at T1 moment into the first loop gating unit of the loop gating network, and generate the state information h1 at T1 moment ;
将T 2时刻的空间融合特征和所述T 1时刻的状态信息h 1输入循环门控网络的第二个循环门控单元,生成所述T 2时刻的状态信息h 2; The spatial fusion feature at T2 moment and the state information h1 at the T1 moment are input into the second cycle gating unit of the cycle gating network to generate the state information h2 at the T2 moment ;
将T
k时刻的空间融合特征和T
k-1时刻的状态信息h
k-1输入循环门控网络的第k个循环门控单元,生成所述T
k时刻的状态信息h
k和所述目标区域的预测信息。
Input the spatial fusion feature at time T k and the
在一种可行的实施方式中,所述信息预测子单元142具体用于:In a feasible implementation manner, the
所述预测信息中包括第一向量和第二向量;所述第一向量对应每条道路的平均车速信息,所述第二向量对应每个停车场的车位占用信息;The prediction information includes a first vector and a second vector; the first vector corresponds to the average vehicle speed information of each road, and the second vector corresponds to the parking space occupancy information of each parking lot;
根据所述第一向量和第一向量中每个维度与道路的对应关系,预测每条道路的平均车速信息;Predicting the average vehicle speed information of each road according to the first vector and the corresponding relationship between each dimension in the first vector and the road;
根据所述第二向量和第二向量中每个维度与停车场的对应关系,预测每个停车场的车位占用信息。Predict the parking space occupancy information of each parking lot according to the second vector and the corresponding relationship between each dimension in the second vector and the parking lot.
在本申请实施例中,通过根据目标区域的道路信息和停车场信息,构建所述目标区域中道路的路网拓扑图和停车场的停车场拓扑图,进一步根据所述目标区域中道路的历史平均车速信息和停车场的历史车位占用信息,获取所述路网拓扑图的第一特征信息和停车场拓扑图的第二特征信息,通过多通道空间网络,以及所述路网拓扑图和所述停车场拓扑图,将所述第一特征信息与第二特征信息进行融合,生成空间融合特征,最后通过循环门控网络和至少两个空间融合特征,预测每条道路的平均车速信息和每个停车场的车位占用信息。采用上述方法,避免了在交通情况复杂地段,道路交通流和停车状况的互相影响,导致采用单一道路交通流或者停车状况预测交通状况存在偏差的问题,提高了对道路交通状况进行预测的准确率。In this embodiment of the application, the road network topology map of the roads in the target area and the parking lot topology map of the parking lot are constructed according to the road information and parking lot information in the target area, and further based on the history of the roads in the target area The average vehicle speed information and the historical parking space occupancy information of the parking lot, the first feature information of the road network topology map and the second feature information of the parking lot topology map are obtained, and the multi-channel space network is used, and the road network topology map and all The topological map of the parking lot, the first feature information and the second feature information are fused to generate a spatial fusion feature, and finally the average vehicle speed information and each Occupancy information for each parking lot. Using the above method avoids the mutual influence of road traffic flow and parking conditions in areas with complex traffic conditions, which leads to deviations in predicting traffic conditions with a single road traffic flow or parking conditions, and improves the accuracy of road traffic condition prediction .
请参见图8,图8是本申请实施例提供的一种计算机设备的结构示意图。如图8所示,所述计算机设备1000可以包括:至少一个处理器1001,例如CPU,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。 其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏(Display),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是随机存取存储器(Random Access Memory,RAM),也可以是非易失性存储器(non-volatile memory,NVM),例如至少一个磁盘存储器。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图8所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及数据处理应用程序。Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of a computer device provided by an embodiment of the present application. As shown in FIG. 8 , the
在图8所示的计算机设备1000中,网络接口1004可提供网络通讯功能,用户接口1003主要用于为用户提供输入的接口;而处理器1001可以用于调用存储器1005中存储的数据处理应用程序,以实现上述图2-图6c任一个所对应实施例中对所述区域交通的预测方法的描述,在此不再赘述。In the
应当理解,本申请实施例中所描述的计算机设备1000可执行前文图2-图6c任一个所对应实施例中对所述区域交通的预测方法的描述,也可执行前文图7所对应实施例中对所述区域交通的预测设备的描述,在此不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。It should be understood that the
此外,这里需要指出的是:本申请实施例还提供了一种计算机可读存储介质,且所述计算机可读存储介质中存储有前文提及的区域交通的预测设备所执行的计算机程序,且所述计算机程序包括程序指令,当所述处理器执行所述程序指令时,能够执行前文图2-图6c任一个所对应实施例中对所述区域交通的预测方法的描述,因此,这里将不再进行赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。对于本申请所涉及的计算机可读存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述。作为示例,程序指令可被部署为在一个计算设备上执行,或者在位于一个地点的多个计算设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算设备上执行,分布在多个地点且通过通信网络互连的多个计算设备可以组成区块链系统。In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the aforementioned regional traffic prediction device, and The computer program includes program instructions. When the processor executes the program instructions, it can execute the description of the regional traffic prediction method in any one of the embodiments corresponding to FIG. 2-FIG. 6c. Therefore, here No further details will be given. In addition, the description of the beneficial effect of adopting the same method will not be repeated here. For the technical details not disclosed in the embodiments of the computer-readable storage medium involved in the present application, please refer to the description of the method embodiments of the present application. As an example, program instructions may be deployed to execute on one computing device, or on multiple computing devices located at one site, or, alternatively, on multiple computing devices distributed across multiple sites and interconnected by a communication network To implement, multiple computing devices distributed in multiple locations and interconnected by a communication network can form a blockchain system.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述计算机可读存储介质可以是前述任一实施例提供的一种区域交通的 预测设备或者上述设备的内部存储单元,例如电子设备的硬盘或内存。该计算机可读存储介质也可以是该电子设备的外部存储设备,例如该电子设备上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。上述计算机可读存储介质还可以包括磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体等。进一步地,该计算机可读存储介质还可以既包括该电子设备的内部存储单元也包括外部存储设备。该计算机可读存储介质用于存储该计算机程序以及该电子设备所需的其它程序和数量。该计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware. The above programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the above-mentioned computer-readable storage medium may be an area traffic prediction device provided in any one of the foregoing embodiments or an internal storage unit of the above-mentioned device, such as a hard disk or a memory of an electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, Flash card (flash card), etc. The above-mentioned computer-readable storage medium may also include a magnetic disk, an optical disk, a read-only memory (read-only memory, ROM) or a random access memory, and the like. Further, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and quantities required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
本发明的权利要求书和说明书及附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。The terms "first", "second" and the like in the claims, description and drawings of the present invention are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses. Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The presentation of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are independent or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments. The term "and/or" used in the description of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the relationship between hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described according to their functions. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may physically exist separately, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosures are only preferred embodiments of the present application, which certainly cannot limit the scope of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/107877 WO2023000261A1 (en) | 2021-07-22 | 2021-07-22 | Regional traffic prediction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/107877 WO2023000261A1 (en) | 2021-07-22 | 2021-07-22 | Regional traffic prediction method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023000261A1 true WO2023000261A1 (en) | 2023-01-26 |
Family
ID=84980354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/107877 WO2023000261A1 (en) | 2021-07-22 | 2021-07-22 | Regional traffic prediction method and device |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2023000261A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115953902A (en) * | 2023-02-20 | 2023-04-11 | 河北工业大学 | Traffic flow prediction method based on multi-view space-time diagram convolution network |
CN116187555A (en) * | 2023-02-16 | 2023-05-30 | 华中科技大学 | Traffic flow prediction model construction method and prediction method based on self-adaptive dynamic diagram |
CN116187591A (en) * | 2023-04-27 | 2023-05-30 | 松立控股集团股份有限公司 | Method for predicting number of remaining parking spaces in commercial parking lot based on dynamic space-time trend |
CN117271959A (en) * | 2023-11-21 | 2023-12-22 | 中南大学 | Uncertainty evaluation method and equipment for PM2.5 concentration prediction result |
CN119229659A (en) * | 2024-12-03 | 2024-12-31 | 中移信息系统集成有限公司 | Traffic prediction method, electronic device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105989737A (en) * | 2015-02-05 | 2016-10-05 | 辽宁省交通高等专科学校 | Parking guidance method |
US20180313661A1 (en) * | 2017-04-27 | 2018-11-01 | International Business Machines Corporation | Finding available parking spaces using cognitive algorithms |
CN111210656A (en) * | 2020-01-23 | 2020-05-29 | 北京百度网讯科技有限公司 | Method and device for predicting free parking space of parking lot, electronic equipment and storage medium |
-
2021
- 2021-07-22 WO PCT/CN2021/107877 patent/WO2023000261A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105989737A (en) * | 2015-02-05 | 2016-10-05 | 辽宁省交通高等专科学校 | Parking guidance method |
US20180313661A1 (en) * | 2017-04-27 | 2018-11-01 | International Business Machines Corporation | Finding available parking spaces using cognitive algorithms |
CN111210656A (en) * | 2020-01-23 | 2020-05-29 | 北京百度网讯科技有限公司 | Method and device for predicting free parking space of parking lot, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
YANG SHUGUAN, MA WEI, PI XIDONG, QIAN SEAN: "A deep learning approach to real-time parking occupancy prediction in transportation networks incorporating multiple spatio-temporal data sources", TRANSPORTATION RESEARCH PART C:EMERGING TECHNOLOGIES, PERGAMON, NEW YORK, NY, GB, vol. 107, 1 October 2019 (2019-10-01), GB , pages 248 - 265, XP093026311, ISSN: 0968-090X, DOI: 10.1016/j.trc.2019.08.010 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116187555A (en) * | 2023-02-16 | 2023-05-30 | 华中科技大学 | Traffic flow prediction model construction method and prediction method based on self-adaptive dynamic diagram |
CN115953902A (en) * | 2023-02-20 | 2023-04-11 | 河北工业大学 | Traffic flow prediction method based on multi-view space-time diagram convolution network |
CN116187591A (en) * | 2023-04-27 | 2023-05-30 | 松立控股集团股份有限公司 | Method for predicting number of remaining parking spaces in commercial parking lot based on dynamic space-time trend |
CN116187591B (en) * | 2023-04-27 | 2023-07-07 | 松立控股集团股份有限公司 | Method for predicting number of remaining parking spaces in commercial parking lot based on dynamic space-time trend |
CN117271959A (en) * | 2023-11-21 | 2023-12-22 | 中南大学 | Uncertainty evaluation method and equipment for PM2.5 concentration prediction result |
CN117271959B (en) * | 2023-11-21 | 2024-02-20 | 中南大学 | Uncertainty evaluation method and equipment for PM2.5 concentration prediction result |
CN119229659A (en) * | 2024-12-03 | 2024-12-31 | 中移信息系统集成有限公司 | Traffic prediction method, electronic device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113643532B (en) | Regional traffic prediction method and device | |
WO2023000261A1 (en) | Regional traffic prediction method and device | |
US20210160162A1 (en) | Method and apparatus for estimating cloud utilization and recommending instance type | |
CN112382099B (en) | Traffic road condition prediction method and device, electronic equipment and storage medium | |
CN113011282A (en) | Graph data processing method and device, electronic equipment and computer storage medium | |
EP3493106B1 (en) | Optimizations for dynamic object instance detection, segmentation, and structure mapping | |
JP2019511020A (en) | Method and system for estimating arrival time | |
CN114519932A (en) | Regional traffic condition integrated prediction method based on space-time relation extraction | |
EP3493104A1 (en) | Optimizations for dynamic object instance detection, segmentation, and structure mapping | |
CN117116048A (en) | Knowledge-driven traffic prediction method based on knowledge representation model and graph neural network | |
CN113763700A (en) | Information processing method, information processing device, computer equipment and storage medium | |
CN113643564B (en) | Parking data restoration method and device, computer equipment and storage medium | |
CN108108831A (en) | A kind of destination Forecasting Methodology and device | |
WO2023004595A1 (en) | Parking data recovery method and apparatus, and computer device and storage medium | |
CN114039871B (en) | Method, system, device and medium for cellular traffic prediction | |
CN114862010B (en) | A method, device, equipment and medium for determining flow based on spatiotemporal data | |
CN113657596B (en) | Method and device for training model and image recognition | |
Xu et al. | Integration of mixture of experts and multimodal generative ai in internet of vehicles: A survey | |
CN114881315A (en) | Method, device, electronic device and storage medium for determining travel arrival time | |
CN116828515A (en) | Edge server load prediction method based on space-time diagram convolution under Internet of vehicles | |
CN117077928A (en) | Network appointment vehicle demand prediction method, device, equipment and storage medium | |
CN116090504A (en) | Training method and device for graphic neural network model, classifying method and computing equipment | |
CN116109021A (en) | Travel time prediction method, device, equipment and medium based on multitask learning | |
CN110263250B (en) | Recommendation model generation method and device | |
CN116579460A (en) | Information prediction method, apparatus, computer device and storage medium |
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: 21950514 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: 21950514 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21950514 Country of ref document: EP Kind code of ref document: A1 |