Multi-dimensional intelligent traffic guidance method considering network resources

Through multi-agent reinforcement learning and graph attention mechanism, combined with deep learning, an intelligent traffic guidance method that considers network resources is constructed, which solves the problems of network resource constraints and multi-agent collaboration in intelligent traffic guidance, and achieves an efficient road network. Throughput optimization and service quality improvement.

CN118609358APending Publication Date: 2024-09-06UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410687591.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-06

Smart Images

  • Figure CN118609358A
    Figure CN118609358A
Patent Text Reader

Abstract

The invention discloses a multi-dimensional intelligent traffic guidance method considering network resources. The method comprises the following steps: S1, constructing a traffic model considering communication and computing resources; s2, constructing a feature information fusion model based on a traffic attribute graph: establishing the traffic attribute graph considering road network isomerism, extracting traffic flow feature information, and realizing neighborhood information fusion by using a graph attention machine; and S3, establishing a distributed decision-making multi-agent traffic guidance model of deep reinforcement learning. According to the method, network resources serve as constraints, multi-dimensional traffic guidance is achieved by controlling the traffic light phase and the driving speed, traffic congestion is relieved, the travel efficiency is improved, and meanwhile the high service quality requirement is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent vehicle networking, and specifically relates to a multi-dimensional intelligent traffic guidance method taking network resources into consideration. Background Art

[0002] Effective traffic guidance plays a key role in alleviating traffic congestion. In the intelligent transportation system (ITS) scenario, there are communication connections such as V2V and V2I, and a large amount of data is generated at a very high speed. Intelligent connected vehicles interact with surrounding vehicles and roadside infrastructure in real time to obtain network resources such as communication and computing, and realize various applications. In addition to meeting basic underlying services, intelligent connected vehicles need to meet richer intelligent travel services, such as autonomous driving, traffic planning, and various entertainment services. In the autonomous driving scenario, in order to ensure higher travel efficiency and road safety, vehicles are extremely sensitive to latency and require powerful computing power to respond quickly to massive data. However, when the traffic flow in the road network is unevenly distributed, it is easy to have local resource shortages and insufficient utilization of resources in other sections. Limited resources will lead to increased latency and safety distance, exacerbating congestion. Therefore, in order to ensure travel safety and traffic efficiency, when guiding traffic, not only the traffic flow should be considered, but also the use of network resources in the road section should be taken into account to prevent traffic congestion and improve road network throughput. In addition, the speed limits of various levels of the current traffic network are set to static, unable to respond to real-time road network conditions, and lack flexibility. Traditional traffic guidance mostly only considers controlling traffic lights to increase the traffic rate of vehicles at intersections, but the single-dimensional traffic guidance method has limited improvement on the carrying capacity of the road network and ignores the benefits of optimizing driving speed to increase the throughput of intersections. Therefore, it is crucial to design a multi-dimensional traffic guidance method that considers both traffic conditions and network resources to optimize vehicle travel efficiency and road network transportation efficiency.

[0003] In actual road networks, there are many intersections, so compared with single-intersection traffic guidance, multi-intersection collaborative guidance is more practical. The basic principle of reinforcement learning is that the agent interacts with the complex environment and selects the best action to obtain the maximum benefit. Based on the collaborative multi-agent reinforcement learning method, the agent considers its own and other agents' state information, achieves global optimization through mutual cooperation, maximizes the throughput of the entire road network, and solves the defects of local optimization brought by a single agent. However, based on the centralized collaborative method, its state and action space grows exponentially, the system will fail due to the explosion of dimensional space, and it is difficult to consider individual characteristics based on global information modeling; based on the decentralized collaborative method, each agent realizes independent control according to the local observation environment, which is easy to cause environmental instability. How to solve the problem of multi-agent dimensional explosion and how to collaborate between multiple agents to achieve global optimization are the problems that need to be solved urgently in current multi-agent reinforcement learning.

[0004] Reinforcement learning can better interact with the environment and learn optimal strategies. Deep learning performs well in aspects such as traffic feature extraction. Therefore, combining reinforcement learning with deep learning to intelligently control traffic guidance has good development prospects. Graph neural networks overcome the shortcomings of traditional deep learning methods that are not suitable for processing non-Euclidean spatial data of traffic flows. Among them, the graph attention mechanism can be used to solve the influence relationship between traffic intersections. However, at present, the model only considers traditional traffic conditions and does not consider resource constraints in ITS scenarios, which still needs to be improved. Summary of the invention

[0005] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a multi-dimensional intelligent traffic guidance method that takes network resources into consideration. The influence relationship between vehicle flow and two network resources, communication and computing, is considered during modeling. Multi-agent reinforcement learning is used to solve the problem. Variables related to network resources, such as safety distance and throughput, are introduced into the agent state and reward function. The action space not only includes traffic light phase control, but also stipulates the driving speed of vehicles in each lane. Multi-agents are used to guide traffic at each intersection of the entire road network. The information fusion of neighborhood agents is realized with the help of a graph attention mechanism. The target agent makes distributed decisions based on its own and neighborhood fusion information. The Nash equilibrium is achieved through Markov game to optimize the road network throughput.

[0006] The object of the present invention is achieved through the following technical solution: a multi-dimensional intelligent traffic guidance method considering network resources, comprising the following steps:

[0007] S1. Construct a traffic model that takes into account communication and computing resources;

[0008] S2. Construct a feature information fusion model based on traffic attribute graph: Establish a traffic attribute graph that takes into account the heterogeneity of the road network, extract traffic flow feature information, and use long short-term memory units and graph attention machines to achieve spatiotemporal fusion of neighborhood information;

[0009] S3. Establish a distributed decision-making multi-agent traffic guidance model based on deep reinforcement learning.

[0010] Compared with other traffic guidance methods, the present invention has the following advantages:

[0011] (1) The present invention takes into account the two network resource constraints of communication and computing in the intelligent vehicle network traffic environment, and guides vehicles according to the relationship between vehicle flow and network resource usage to avoid the phenomenon of local resource shortage and insufficient resource utilization in other sections. At the same time, by introducing variables and evaluation indicators related to communication and computing resources, such as safe distance and throughput, the network resource constraints are considered while avoiding congestion, thus ensuring a high service quality in the intelligent transportation system.

[0012] (2) The present invention combines graph attention mechanism and long short-term memory unit with deep reinforcement learning. The graph attention mechanism and long short-term memory unit are used to realize neighborhood information fusion. When the intelligent agent makes distributed decisions, it also takes the neighboring intelligent agents into consideration, thus avoiding sacrificing the travel efficiency of a single intersection during overall optimization and causing local congestion. Through the fusion of neighborhood intelligent agent information, the coordinated optimization of the entire road network is realized.

[0013] (3) The multi-dimensional intelligent traffic guidance system of the present invention not only controls the phase of traffic lights according to the real-time environment, but also stipulates the driving speed of vehicles in each lane, thus overcoming the limitation of the single traditional guidance method and maximizing the throughput of the intersection. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is the application scenario of the present invention;

[0015] Figure 2 is the traffic attribute graph;

[0016] Figure 3 It is a structural block diagram of the intelligent traffic guidance system in the present invention;

[0017] Figure 4 This is a traffic light phase diagram. DETAILED DESCRIPTION

[0018] In order to solve the problems mentioned in the above background, such as the traditional traffic guidance model ignoring network resources, the single control method, and how to achieve efficient collaboration of multiple agents in the entire road network, the present invention provides a multi-dimensional intelligent traffic guidance method considering network resources. The technical solution of the present invention includes three parts, namely, considering the traffic environment of communication and computing resources, constructing an attribute graph based on traffic data and realizing neighborhood feature vector fusion, and a multi-dimensional multi-agent traffic guidance model with distributed decision-making capabilities. The specific steps are as follows:

[0019] First, in combination with the autonomous driving scenario, to ensure driving safety, the vehicle should maintain a certain safety distance. To improve space utilization, the vehicle should maintain a strong following state. Emergency braking information is sent through V2V communication. The use of communication computing resources affects the perception response delay, which further determines the safe distance between vehicles. The safe distance affects the traffic density in space, and the use of network resources is also affected by the traffic density. Modeling is based on the two-way relationship between resources and traffic flow. While optimizing the road network throughput, network resource constraints are considered to ensure a high service quality of the intelligent transportation system.

[0020] Secondly, construct a traffic attribute graph and obtain the road network feature vector. The entire traffic road network is modeled as a directed graph. The complex spatiotemporal characteristics of the road network are taken into account when constructing the graph. The traffic flow data features not only include traditional traffic network data, but also take into account the impact of network resources on the road section. The influence between neighboring agents changes with time and space. The graph attention mechanism and long short-term memory units are used to better learn their spatial and temporal dependencies. The fused neighborhood information is used to solve the subsequent reinforcement learning multi-agent collaboration problem.

[0021] Finally, the target agent uses the DQN algorithm to achieve distributed decision-making through strategy learning to control the phase of traffic lights and the speed of vehicles. The value of the agent strategy is jointly affected by the partial environment observed by itself and the strategies of other agents. Specifically, each agent observes part of the environmental state information, obtains the fused neighborhood state information through the graph attention mechanism, and selects actions using the ε-greedy random strategy. The agent Q value can be expressed as Q i,t (s i,t ,a i,t ), solving the partial observability of the single-agent environment. Each agent independently learns its strategy to maximize the reward and reaches the Nash equilibrium through Markov game.

[0022] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0023] like Figure 1 The figure shows the application scenario of the present invention. The entire road network includes several intersecting roads. The intelligent connected vehicle has a communication connection with the surrounding environment and generates a large number of resource business demands. The traffic flow between upstream and downstream sections affects each other. The entire road network is divided into several local cooperation areas. Each intersection guides the vehicle by adjusting the traffic light phase and the speed regulations of each lane in real time according to the environment.

[0024] A multi-dimensional intelligent traffic guidance method considering network resources of the present invention comprises the following steps:

[0025] S1. Construct a traffic model that takes into account communication and computing resources; construct a traffic environment that takes into account network resources, and consider the mutual influence between network resources and traffic. Communication and computing resources affect the service latency of intelligent connected vehicles, and changes in traffic volume cause changes in the use of road resources. Combined with the autonomous driving scenario, in order to ensure driving safety, vehicles should maintain a certain safety distance, and in order to improve space utilization, vehicles should maintain a strong following state. Emergency braking information is sent through V2V communication. The use of communication and computing resources affects the perception response delay, and further determines the safe distance between vehicles. The safe distance affects the traffic density in space, and the use of network resources is also affected by the traffic density. Based on the bidirectional relationship between resources and traffic flow, the model is modeled. While optimizing the road network throughput, traffic lights take into account network resource constraints to ensure a high service quality of the intelligent transportation system.

[0026] The specific steps of step S1 are:

[0027] S1.1. Specified vehicle driving state: Vehicles in the same lane have the same driving speed, and the traffic guidance system sets the optimal driving speed based on the current traffic environment; and the vehicles maintain a strong following state, that is, the rear vehicle maintains a minimum safe distance l from the front vehicle. safe :

[0028]

[0029] v represents the vehicle speed. To ensure road safety, there is a maximum safe speed limit v max . Indicates the braking acceleration of the vehicle, g is 9.8m / s 2 , and are the road adhesion coefficients of the front and rear vehicles respectively. Different road characteristics, vehicle mechanical systems and road environments, such as water and sand accumulation, road surface temperature, etc., will affect the road adhesion coefficient. τ is the perception reaction delay of the rear vehicle, that is, the time from the rear vehicle sensing the emergency braking of the front vehicle to making a braking decision, including the transmission delay τ affected by communication resources (that is, the rear vehicle receiving the emergency braking information of the front vehicle) 1 and the computing resources (i.e. the following vehicle calculates the task to make a braking decision) and the computing response delay τ 2 ; Through the safety distance formula, the spatial mapping of communication and computing resources is realized.

[0030] S1.2. The impact of specified network resources on the traffic network: The section communication resources and vehicle computing resources are divided into resource blocks. The number of vehicles in the entire section is time Divided into several time slots; communication resources can be allocated to each section B 0 Divide the spectrum into resource blocks, 0 Indicates the size of the spectrum resource block; the number of spectrum resource blocks allocated to the preceding vehicle s in time slot t is n s,t , the vehicle transmission power is P s,t , the channel power gain is σ represents the standard deviation of additive Gaussian white noise; the front car brakes suddenly, and the size of the information data transmitted to the rear car is K s ; Calculate the uplink data transmission rate R according to the Shannon formula s,t ; Finally, the transmission delay τ is obtained 1 The calculation formula is as follows:

[0031]

[0032] On-board computing resources It is represented in the form of resource blocks, and is divided into several blocks of size f 0The vehicle can process multiple computing tasks in parallel. The computational load of the emergency braking task of vehicle s+1 after time slot t′ is F s+1 , calculate the density as η s+1 , the number of computing resource blocks allocated to this computing task is m s+1,t′ ; Transmission delay τ 2 The calculation formula is as follows:

[0033]

[0034] S1.3. The impact of traffic flow on network resources: X is the communication resource reuse coefficient, ζ s The communication resources required for each vehicle communication task, The communication resources required to transmit emergency braking information; vehicle s is allocated the number of spectrum resource blocks n in time slot t s,t The calculation formula is:

[0035]

[0036] Vehicle s is allocated the number of resource blocks m for the computing task in time slot t s,t The calculation formula is:

[0037]

[0038] in, and They respectively represent the amount of computing carried out on the vehicle itself, the amount of computing for emergency braking tasks, the amount of computing unloaded from other vehicles, and the amount of computing unloaded from the vehicle itself to other vehicles with rich computing resources or roadside infrastructure. Computing resources are unloaded to ensure that safety services such as emergency braking can be quickly calculated locally.

[0039] S1.4. Establish an optimization problem: The throughput is the number of vehicles passing through per unit time, which reflects the road transportation capacity and is an important evaluation indicator for evaluating road transportation conditions and traffic guidance effects. The traffic throughput C at intersection i i (pcu / h) is calculated as:

[0040]

[0041] The intersection throughput is equal to the sum of the number of vehicles passing through the four phases per unit time, T j Indicates the duration of the green light of each phase per unit time. and It represents the average speed, average safety distance and average vehicle length of vehicles passing through the green light time of phase j; the throughput of the intersection is mainly controlled by two dynamic influencing factors: the vehicle speed and the delay affected by the communication computing resources. The intelligent traffic guidance method in the present invention specifies the optimal driving speed of vehicles in each lane according to the current resource usage, and maximizes the number of vehicles passing through the intersection per unit time. At the same time, after guiding the vehicles, the change of traffic flow on the road section will cause the change of resource usage. Since the traffic environment is dynamic, the driving speed of each lane needs to be controlled in real time and flexibly.

[0042] Neighboring intersections influence each other in time and space. The three-phase traffic flow controlled by the upstream traffic light merges in, and the traffic flow of this section exits through two phases, such as Figure 1 The throughput of intersection i connecting section m is shown in Equal to the number of vehicles passing through the road section per unit time T

[0043]

[0044] and Respectively represent the average speed of the upstream incoming and downstream outgoing vehicles in each phase; α n and β u They represent the proportion of green lights in the corresponding phases of upstream and downstream traffic lights within Δt time respectively; traffic lights need to reasonably control the duration of green lights in each phase t green ; Coordinate the upstream and downstream traffic flows to achieve balanced optimization of road network conditions. From the formula, it can be seen that there is an influence relationship between the traffic flows of upstream and downstream sections, so when the target intersection optimizes its own throughput, the influence of adjacent intersections should be considered.

[0045] In the multi-dimensional intelligent traffic guidance system, each target intersection i and its adjacent intersection set N i Collaboratively optimize throughput, and ultimately optimize the traffic conditions and resource usage of the entire road network; the adjacent intersection j and the target intersection i have upstream and downstream relationships, and the influence coefficient α i,j Affected by the spatial and temporal relationship between intersections i and j; each target intersection maximizes its own throughput C i and the neighborhood intersection set N i The weighted sum of throughput is subject to constraints such as resources, safe driving speed, and time. The optimization problem of the multi-dimensional intelligent traffic guidance system is expressed as:

[0046]

[0047] t min ,t max Respectively represent the green light duration t green The lower and upper limits of v max The maximum safe driving speed limit.

[0048] Each intersection takes its own throughput and the sum of the throughput of adjacent intersections multiplied by a weight coefficient as its optimization target. This not only takes into account the individual situation of a single intersection, but also avoids sacrificing individual interests when the entire road network throughput is directly used as the optimization target, thus avoiding local congestion and resource shortages. It also collaborates with neighboring intersections to balance the traffic flow and resources of upstream and downstream sections, ultimately converging the entire road network environment and achieving global optimization.

[0049] S2. Construct a feature information fusion model based on traffic attribute graph: Establish a traffic attribute graph that takes into account the heterogeneity of the road network, extract traffic flow feature information, and use long short-term memory units and graph attention machines to achieve spatiotemporal fusion of neighborhood information; model the entire traffic network as a directed graph. The complex spatiotemporal characteristics of the road network are taken into account when constructing the graph. The traffic flow data features not only include traditional traffic network data, but also take into account the impact of network resources on the road section. The influence between neighboring agents changes with time and space. The graph attention mechanism and long short-term memory units are used to better learn their spatial and temporal dependencies respectively. The fused neighborhood information is used to solve the subsequent reinforcement learning multi-agent collaboration problem. The specific steps of S2 are:

[0050] S2.1. Constructing an attribute graph based on traffic data: According to the topological structure of the traffic system, the entire traffic network is modeled as a directed graph. like Figure 2 As shown; where V∈R n Represents the nodes in the graph, which are intersections; n represents the number of nodes, R n Represents the n-dimensional real number field; E∈R m It represents the edges connecting the nodes in the graph, which are the roads connecting the intersections, and m represents the number of edges;

[0051] S2.2, feature vector initialization: represents a point set, Point feature attributes, including traffic light phase; represents the edge set, rec k For receiving nodes in directed edges, send k It is the sending node; is the edge feature attribute, v s represents the average speed of the sth entrance lane, l s represents the average headway of the sth entrance lane, with a total of entrance lanes; aggregate the edge information and send it to its receiving nodes:

[0052]

[0053] Indicates that the receiving node of the information is the target intersection i (i.e. rec k = i) of k lane edge information e k sum;

[0054] Then the initial local information observed by node i at time t is It can be expressed as:

[0055]

[0056] || indicates concatenation, f v Represents the MLP (Multilayer Perceptron) output layer, which implements the mapping from input layer to output layer through a neural network.

[0057] S2.3, Time-dependent learning: Traffic flow is a typical spatiotemporal data. When updating node information spatial aggregation, time dependency is considered. In this invention, a long short-term memory unit is used to process historical traffic information. Long short-term memory is a special recursive neural network, including an input layer, an output layer, and at least one or more hidden layers. Neurons will recursively call themselves and pass the information at time t-1 to time t. The hidden layer state The calculation process can be simplified as:

[0058]

[0059] represents the initial local information input function, and Represent the current output and historical data respectively. LSTM simplifies the calculation process of the forget gate, memory gate and output gate in the long short-term memory unit.

[0060] S2.4, Spatial correlation learning: After the initial local information is learned through temporal correlation in S2.3, the graph attention mechanism is used to infer the spatial relationship between adjacent agents, and the graph is updated through information aggregation and transmission. The feature vector in the output is a feature matrix with adjacent intersection information; the attention coefficient calculation formula between node i and its adjacent node j is:

[0061]

[0062] and Respectively represent the information of nodes i and j after LSTM processing, N i represents the set of all adjacent intersections of node i, represents the attention mechanism weight coefficient vector, and f represents the ELU nonlinear activation function. The aggregate information received by node i is:

[0063]

[0064] |E| represents the edge set size, and all sending nodes in the edge set send k Traversal, when the receiving node rec that sends the information k When is i, the weighted sum of the information sent is taken.

[0065] S2.5, output layer function: After being fused with the spatiotemporal information of neighboring nodes, the final output of node i information is:

[0066]

[0067] [||] represents a new variable formed by connecting two variables in series, and g is the output layer of the MLP with RELU activation function. and update node information The information formed by the connection is used to calculate the Q value in reinforcement learning.

[0068] S3. Establish a distributed decision-making multi-agent traffic guidance model of deep reinforcement learning; This invention proposes a collaborative multi-agent multi-dimensional traffic guidance method, which adopts the deep reinforcement learning DQN algorithm, considers the spatial and temporal influence of neighborhood traffic lights, and the agent interacts with neighboring agents, makes distributed decisions, overcomes environmental instability through "local centralization", and finally achieves global optimization. The structure of the intelligent traffic guidance system is as follows: Figure 3 As shown, the superscript ' in the figure represents the parameters of the next state.

[0069] The specific steps are:

[0070] S3.1. Define the agent reinforcement learning state, action and reward function;

[0071] Define the reinforcement learning state: Assume that each intersection is an agent, and a single agent i observes partial information o at time t i,t , that is, the initial local information The main considerations are edge feature attributes: driving speed, headway, and point feature attributes: traffic light phase; expressed as:

[0072] o i,t =[[v 1 ,…,v s ],[l 1 ,…,l s ],phase] (16)

[0073] v s , l sThey represent the vehicle speed and average headway of the sth entrance lane respectively. The safety distance in the headway is the mapping representation of communication computing resources in traffic; phase represents the phase of the traffic light, and the phase set is defined as:

[0074] phase = {NS,NSL,EW,EWL} (17)

[0075] The present invention adopts the classic four phases, NS, NSL, EW, EWL respectively correspond to north-south straight right turn, north-south left turn, east-west straight right turn, east-west left turn, such as Figure 4 As shown; the signal phase is onehot encoded, and each phase in the phase set corresponds to [1,0,0,0], [0,1,0,0], [0,0,1,0] and [0,0,0,1] respectively;

[0076] Define action: Traffic lights (traffic lights) use a fixed phase sequence, but no fixed cycle. It is determined whether the current phase needs to be switched based on the current road status. The action space is defined as:

[0077]

[0078] If a phase If it is 0, the current phase is maintained, otherwise it switches to the next phase. represents the prescribed driving speed of the sth entrance lane, and the duration of each phase is t green and the speed v are subject to t min ,t max and v max constraint;

[0079] Define the reward function: intersection throughput C i It reflects the road transport capacity. A large throughput indicates a good traffic situation. Taking it as an evaluation indicator, the reward function is defined as:

[0080] r i,t =C i (19).

[0081] S3.2, Initialization: Initialize the current network and target network structure and parameters, playback buffer and training pool capacity;

[0082] S3.3. Multi-agent control decision: The spatiotemporal data fusion information of neighbor nodes calculated in step S2 That is, the weighted sum of the state information of the neighboring agents of the target agent. The weight coefficient is affected by the spatiotemporal relationship between the agents and is calculated by steps S2.3 to S2.5. When making multi-agent control decisions, the local state information and merge neighbor node information Composition state i,tCalculate the reward function, and use this reward function to calculate Q i,t ;Q i,t is the action value function, that is, in state s i,t Next select action a i,t And follow the strategy, the expected total reward that the agent can obtain from the current state to the future state; each agent makes decisions independently; the agent uses the ε-greedy random strategy when selecting actions;

[0083] S3.4, replay buffer: the current state s in reinforcement learning i,t , perform action a i,t , reward value r i,t and the next state s i,t+1 Composition transfer information i,t ,a i,t ,r i,t ,s i,t+1 >Save to the playback buffer;

[0084] S3.5. Perform network training: When there is enough data in the playback buffer, randomly extract data from it, use the current network and the target network to calculate the Q prediction value and target value respectively, and calculate the loss function L(θ) between the two:

[0085] L(θ i )=E[(r i,t +γQ i (o i,t+1 ,arg max a′ Q(s i,t+1 ,a′;θ i - ))-Q(s i,t ,a;θ i )) 2 ] (20)

[0086] γ is the discount factor, r i,t 、s i,t+1 and a′ represent the current reward, the next state, and the action with the maximum value function taken in the next state respectively; the target network evaluates the selected action and calculates the action value function:

[0087] Q i (s i,t+1 ,arg max a′ Q(o i,t+1 ,a′;θ i - ));s i,t , a and represent the current state and action respectively, Q(s i,t ,a;θ i ) is the action value function of the current network;​

[0088] After obtaining the loss function, the gradient descent method is used to continuously learn and update the current Q network parameters θ, and the target Q network periodically copies the current network parameters θ to update its parameters θ i - ,like Figure 3 shown.

[0089] S3.6, Model optimization and deployment: After the model completes network training and updates parameters, evaluate the model's performance in the test set or real environment, and adjust the model's parameters for optimization based on the evaluation results; once the model meets the requirements, it can be deployed. The trained model can interact with the traffic environment in real time, and through the distributed decision-making multi-agent traffic guidance model, the optimal action is selected according to the current environment, that is, the optimal phase of the traffic light and the optimal driving speed of the vehicle, to guide the traffic flow to maximize the road network throughput, reduce traffic congestion, and improve travel efficiency and road network utilization.

[0090] Compared with other traffic guidance methods, the present invention has the following innovations: First, considering that there are a large number of communication and computing resource business needs in the intelligent traffic environment, and the delay requirements are sensitive, the communication and computing resource conditions are added when constructing the model, and the two-way connection between road conditions and network resources is given. The introduction of variables and evaluation indicators related to communication and computing resources, namely, safe distance and throughput, not only reflects the road utilization rate and transportation capacity in the traditional traffic network, but also reflects the resource usage. Traffic lights consider network resource constraints while avoiding congestion, ensuring a higher service quality in the intelligent traffic system. Secondly, the intelligent traffic guidance method in the present invention has multi-dimensional characteristics, which not only controls the phase of traffic lights, but also stipulates the driving speed of vehicles in each lane, overcomes the limitations of the single traditional guidance method, and increases the throughput of intersections to a greater extent. Finally, the graph neural network is combined with deep reinforcement learning, and the intelligent agent is controlled by a distributed decision-making algorithm of neighborhood collaboration. The algorithm sacrifices the travel efficiency of a single intersection when avoiding overall optimization, resulting in local congestion; and the information of neighborhood intelligent agents is integrated through the graph attention mechanism to achieve collaborative optimization of the entire road network.

[0091] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A multi-dimensional intelligent traffic guidance method considering network resources, characterized in that: The following steps are involved: S1. Construct a traffic model that takes into account communication and computing resources; S2. Construct a feature information fusion model based on traffic attribute graph: Establish a traffic attribute graph that takes into account the heterogeneity of the road network, extract traffic flow feature information, and use long short-term memory units and graph attention machines to achieve spatiotemporal fusion of neighborhood information; S3. Establish a distributed decision-making multi-agent traffic guidance model based on deep reinforcement learning.

2. A multi-dimensional intelligent traffic guidance method considering network resources according to claim 1, characterized in that: The specific steps of step S1 are: S1.

1. Specified vehicle driving state: Vehicles in the same lane have the same driving speed, and the traffic guidance system sets the optimal driving speed based on the current traffic environment; and the vehicles maintain a strong following state, that is, the rear vehicle maintains a minimum safe distance l from the front vehicle. safe : v represents the vehicle speed, represents the braking acceleration of the vehicle, and are the road adhesion coefficients of the front and rear vehicles respectively; τ is the perception response delay of the rear vehicle, including the transmission delay τ1 affected by communication resources and the calculation response delay τ2 affected by computing resources; S1.

2. The impact of specified network resources on the traffic network: The number of vehicles on the entire road section is time The communication resources B0 allocated to the road section are divided into several time slots in the form of spectrum resource blocks, where b0 represents the size of the spectrum resource block; The number of spectrum resource blocks allocated to the preceding vehicle s in time slot t is n s,t , the vehicle transmission power is P s,t , the channel power gain is σ represents the standard deviation of additive Gaussian white noise; the front car brakes suddenly, and the size of the information data transmitted to the rear car is K s ; Calculate the uplink data transmission rate R according to the Shannon formula s,t ; The calculation formula for transmission delay τ1 is as follows: On-board computing resources It is divided into several computing resource blocks of size f0. The computational amount of the emergency braking task of vehicle s+1 after time slot t′ is F s+1 , calculate the density as η s+1 , the number of computing resource blocks allocated to this computing task is m s+1,t′ ; The calculation formula of transmission delay τ2 is as follows: S1.

3. The impact of traffic flow on network resources: χ is the communication resource reuse coefficient, ζ is the s The communication resources required for each vehicle communication task, The communication resources required to transmit emergency braking information; vehicle s is allocated the number of spectrum resource blocks n in time slot t s,t The calculation formula is: Vehicle s is allocated the number of resource blocks m for the computing task in time slot t s,t The calculation formula is: in, and They represent the amount of computation on the vehicle itself, the amount of computation for emergency braking tasks, the amount of computation unloaded from other vehicles, and the amount of computation unloaded from the vehicle to other vehicles with rich computing resources or roadside infrastructure; S1.

4. Establish the optimization problem: Traffic throughput C at intersection i i The calculation formula is: T j Indicates the duration of the green light of each phase per unit time. and Indicates the average speed, average safety distance and average vehicle length of vehicles passing through during the green light time of phase j; The optimization problem of the multi-dimensional intelligent traffic guidance system is expressed as: t min ,t max Respectively represent the green light duration t green The lower and upper limits of v max The maximum safe driving speed limit.

3. The multi-dimensional intelligent traffic guidance method considering network resources according to claim 1, characterized in that: The specific steps of step S2 are: S2.

1. Constructing an attribute graph based on traffic data: According to the topological structure of the traffic system, the entire traffic network is modeled as a directed graph. where V∈R n Represents the nodes in the graph, which are intersections; n represents the number of nodes, R n Represents the n-dimensional real number field; E∈R m It represents the edges connecting the nodes in the graph, which are the roads connecting the intersections, and m represents the number of edges; S2.2, feature vector initialization: represents a point set, Point feature attributes, including traffic light phase; represents the edge set, rec k For receiving nodes in directed edges, send k It is the sending node; is the edge feature attribute, v s represents the average speed of the sth entrance lane, l s represents the average headway of the sth entrance lane, with a total of Entrance driveway; Aggregate the edge information and send it to its receiving nodes: Indicates that the receiving node of the information is the k lane edge information e of the target intersection i k sum; Then the initial local information observed by node i at time t is It is expressed as: ‖ indicates series connection, f v represents the MLP output layer; S2.3, time-dependent learning: using long short-term memory units to process historical traffic information; S2.4, Spatial correlation learning: After the initial local information is learned through temporal correlation in S2.3, the graph attention mechanism is used to infer the spatial relationship between adjacent agents, and the graph is updated through information aggregation and transmission. The feature vector in the representation outputs a feature matrix with adjacent intersection information; S2.5, output layer function: After being fused with the spatiotemporal information of neighboring nodes, the final output of node i information is: [||] represents a new variable formed by connecting two variables in series, g is the output layer of MLP with RELU activation function; the initial node information and update node information The information formed by the connection is used to calculate the Q value in reinforcement learning.

4. The multi-dimensional intelligent traffic guidance method considering network resources according to claim 1, characterized in that: The specific steps of step S3 are: S3.

1. Define the agent reinforcement learning state, action and reward function; Define the reinforcement learning state: Assume that each intersection is an agent, and a single agent i observes partial information o at time t i,t , that is, the initial local information It is expressed as: o i,t =[[v1,…,v s ],[l1,…,l s ],phase] (16) v s , l s They represent the vehicle speed and average headway of the sth entrance lane respectively, and phase represents the traffic light phase; Define action: Traffic lights use a fixed phase sequence, but no fixed cycle. The current road status determines whether the current phase needs to be switched. The action space is defined as: If a phase If it is 0, the current phase is maintained, otherwise it switches to the next phase. It indicates the prescribed speed of the sth entrance lane; The reward function is defined as: r i,t =C i (19); S3.2, Initialization: Initialize the current network and target network structure and parameters, playback buffer and training pool capacity; S3.

3. Multi-agent control decision: Based on local state information and merge neighbor node information Composition state i,t Calculate the reward function and get Q from the reward function i,t ;Q i,t is the action value function, that is, in state s i,t Next select action a i,t And follow the strategy, the expected total reward that the agent can obtain from the current state to the future state; the agent adopts the ε-greedy random strategy when selecting actions; S3.4, replay buffer: the current state s in reinforcement learning i,t , perform action a i,t , reward value r i,t and the next state s i,t+1 Composition transfer information i,t , a i,t , r i,t ,s i,t+1 >Save to the playback buffer;​ S3.

5. Perform network training: When there is enough data in the playback buffer, randomly extract data from it, use the current network and the target network to calculate the Q prediction value and target value respectively, and calculate the loss function L(θ) between the two: L(θ i )=E[(r i,t +γQ i (the i,t+1 ,arg max a′ Q(s i,t+1 ,a′;θ i - ))-Q(s i,t ,a;θ i )) 2 ] (20) γ is the discount factor, r i,t 、s i,t+1 and a′ represent the current reward, the next state, and the action with the maximum value function taken in the next state, respectively; The target network evaluates the selected action and calculates the action value function: Q i (s i,t+1 , argmax a′ Q(o i,t+1 , a′; θ i - ));s i,t , a and represent the current state and action respectively, Q(s i,t , a; θ i ) is the action value function of the current network; After obtaining the loss function, the gradient descent method is used to continuously learn and update the current Q network parameters θ, and the target Q network periodically copies the current network parameters θ to update its parameters θ i - ; S3.6, Model optimization and deployment: Through the distributed decision-making multi-agent traffic guidance model, the optimal action is selected according to the current environment, that is, the optimal phase of the traffic light and the optimal driving speed of the vehicle.

Citation Information

Cited By

  • Search and rescue unmanned aerial vehicle cluster exploration method based on neighborhood random network distillation

    CN119167990A