At present, there is a phenomenon of road congestion and traffic disorder in large and medium-sized cities. Because the traffic system is a complex giant system composed of people, cars, roads and environment, in order to strengthen traffic safety management and reduce the occurrence of traffic accidents, it is necessary to coordinate all the factors in the traffic system and improve the overall harmony of the traffic system. Traffic accidents are fundamentally caused by the imbalance of people, cars, roads and environmental elements. The causes of traffic accidents are subjective and objective. The subjective aspect is the human reason, mainly is the driver, the pedestrian and so on