With the continued rapid growth of urban areas, problems such as traffic congestion and environmental pollution have become increasingly common. Alleviating these problems involves addressing signal timing optimization and control, which are critical components of urban traffic management. In this paper, a VISSIM simulation-based traffic signal timing optimization model is proposed with the aim of addressing these urban traffic congestion issues. The proposed model uses the YOLO-X model to obtain road information from video surveillance data and predicts future traffic flow using the long short-term memory (LSTM) model. The model was optimized using the snake optimization (SO) algorithm. The effectiveness of the model was verified by applying this method through an empirical example, which shows that the model can provide an improved signal timing scheme compared to the fixed timing scheme, with a decrease of 23.34% in the current period. This study provides a feasible approach for the research of signal timing optimization processes.