The invention provides a
traffic flow prediction and
signal control optimization method based on a space-time diagram convolutional network (STGCN), a long short-
term memory network (LSTM) and a near-end strategy optimization (PPO)
algorithm, and is suitable for intelligent
traffic management in a
smart city. According to the method, through combination of
deep learning and
reinforcement learning, urban
traffic flow is accurately predicted,
traffic signal lamp timing is optimized, urban
traffic congestion is reduced, and road utilization efficiency is improved. The method comprises the following steps: firstly, capturing spatial dependence among different road sections through an STGCN model, and
processing time dynamic change of
traffic flow by using an LSTM model; and then, optimizing
signal lamp timing based on a PPO
algorithm, and dynamically adjusting a
signal time sequence, thereby reducing the vehicle
waiting time to the maximum extent and improving the
traffic efficiency of the whole traffic flow. In addition, the
system integrates external factors such as weather, holidays and festivals, and the
adaptive capacity of the model in a complex traffic environment is enhanced. Experiments show that by using the method of the invention, the accuracy of traffic flow prediction is significantly improved, the average
waiting time of vehicles is reduced, the
traffic volume is increased, and the efficiency of a
traffic system is effectively improved. The
system is suitable for a large-scale urban
traffic network, has good expansibility and real-time performance, and provides powerful
technical support for intelligent urban
traffic management.