Congestion and complexity in the field of highway transportation have risen steadily in recent years, particularly because the growth rate of vehicles has far outpaced the growth rate of roads and other transportation facilities. To ensure smooth traffic, reduce traffic congestion, improve road safety, and reduce the negative impact of air pollution on the environment, an increasing number of traffic management departments are turning to new scientifically developed technology. The urban road traffic is simulated by nodes and sidelines in this study, which is combined with graph theory, and the information of real-time changes of road traffic is added to display and calculate the relevant data and parameters in the road. On this foundation, the dynamic path optimization algorithm model is discussed in the context of high informationization. Although the improved algorithm’s optimal path may not be the conventional shortest path, its actual travel time is the shortest, which is more in line with users’ actual travel needs to a large extent.

1. Introduction

With the rapid development of global economy, the demand for transportation is becoming more and more urgent. However, the possibility of building and expanding roads in big cities is becoming smaller and smaller, and it is impossible to meet the traffic demand only by relying on the construction of infrastructure. Urban traffic congestion has become increasingly global [1]. In recent years, the congestion and complexity in the field of highway transportation are increasing day by day, especially the growth rate of vehicles has far exceeded that of roads and other transportation facilities [2]. More and more traffic management departments rely on today’s scientific development of new technologies to ensure smooth traffic, reduce traffic congestion, improve road safety, and reduce the adverse impact of air pollution on the ecological environment [3]. In many cities, the road planning time is earlier, which cannot meet the requirements of modern traffic, resulting in some roads being very crowded. If there is a traffic accident on the main road or road renovation, it will cause long-term congestion and form a certain traffic vicious circle [4]. The intelligent transportation system (ITS) is to make full use of modern communication, positioning, sensors, and other information-related technologies [5] to reduce traffic congestion, improve road throughput, improve traffic safety conditions, and quickly realize the collection and transmission of traffic information, so as to achieve the purpose of reasonably allocating traffic resources and improving ground traffic conditions [6, 7]. Path optimization is the most basic and key part of the dynamic path guidance system. Its main function is to realize the path planning function for users before and during travel, guide vehicles to reach the destination along the optimal route, and realize real-time vehicle guidance based on urban road network information and real-time road traffic condition information [8, 9].

With the rapid development of information technology [10, 11], the development of urban motorization has been continuously promoted. The traffic development of large and medium-sized cities in the world gradually presents problems in road congestion, traffic congestion, and environmental pollution [12]. The resulting traffic accidents and environmental pollution not only inhibit the sustainable development of urban economy to a great extent but also affect the quality of life of urban residents [13]. Traffic jam has seriously affected the operation effect of the urban traffic system, affected the development speed of the city, and caused a great waste of social resources. Even the most advanced traffic system designed and deployed ten years ago cannot adapt to the current reality [14]. After entering the 21st century, due to the influence of geographical environment and historical factors, the available land area of the city continues to shrink, but the number of vehicles continues to surge, so it is impossible to increase the number of roads in the city indefinitely [15]. Traffic management departments increasingly rely on today’s scientific development of new technologies to ensure smooth traffic, improve road safety, and reduce the adverse impact of traffic congestion and air pollution on the ecological environment [16]. Combined with graph theory, this study simulates urban road traffic as nodes and sidelines, adds the real-time change information of road traffic, and displays and calculates the relevant data and parameters in the road. To delete the network factors irrelevant to path selection, so as to save the storage space of road network simulation expression, establish the association of storage node elements and line elements, respectively [17].

As a complex system engineering, urban road traffic intelligent control mainly involves disciplines including automation control, engineering technology engineering, system engineering, and optimal dispatching [18]. Because it has many factors such as randomness, complexity, and uncertainty, people cannot establish an accurate mathematical model, so they must rely on intelligent methods [19]. In the transportation system, urban transportation is a very important part. The intelligent development of urban transportation is an important component of the whole intelligent transportation system and the primary task. At the same time, the intelligent development of urban transportation is also a hot spot in the field of traffic intelligent control [20]. The path optimization algorithm studied in this study is an essential and important part of the intelligent transportation system. Its role is to provide path guidance to travelers, and the provided path is the optimal path based on real-time traffic information. In this way, it can reduce the residence time of vehicles on the road, so as to avoid traffic congestion, congestion, and improve urban traffic.

The remainder of the study is laid out as follows. In Section 2, background study and literature review are elaborated. The methodology is discussed in Section 3, followed by experimental setup and results in Section 4. Finally, Section 5 concludes the study.

The intelligent transportation system can effectively use existing transportation facilities or transform existing facilities and comprehensively use various modern technologies to integrate people, vehicles, roads, and related environments into a system, so that it can play an intelligent role, which can effectively alleviate traffic congestion, ensure smooth traffic, improve road capacity, and reduce the incidence of traffic accidents and a large amount of energy consumption [21, 22]. The urban road network model in the study by Yang and Daoyuan [23] was created using mathematical dynamic programming, which greatly simplified the calculation of the optimal path. Pan and Ma [24] proposed that historical data be added to optimal route selection based on predecessors and that historical data and current road traffic conditions be used to consider all problems in road transportation. Adjustments must be made when traffic conditions change dramatically in order to achieve the best route selection and calculation. However, due to the difficulty in obtaining historical data, this idea is limited and cannot be implemented in practice. In the study by Fulu et al. [25], the Dijkstra algorithm is proposed to realize the optimal route selection in an urban intelligent transportation system, based on the problem of urban traffic. However, selecting and setting parameters in this algorithm is extremely difficult, and traffic lights at road intersections are not taken into account. The use of closed-loop adaptive methods to solve the optimal path selection problem based on urban traffic system problems has been proposed in the study by Sanchez and Herrera [26], so that road traffic conditions can be accurately evaluated according to real-time road conditions, and the optimization calculation function can be used to calculate the optimal path. Calculate the best route. This method performs well in real-time. Because the objective function and linear programming are used in the calculation of the optimal path, the selection of the optimal path cannot achieve real-time effects when the weight of the linear programming changes, affecting the system’s accuracy. A sequential algorithm for finding the average shortest path was proposed in the study by Xia [27]. This algorithm can reduce the computational complexity of optimal path selection while increasing its efficiency.

From the traveler’s point of view, on the one hand, urban traffic construction gives them more choices in the choice of travel routes. On the other hand, better traffic conditions also reduce the incidence of urban traffic accidents, which not only improves the lives of residents but also improves the civilization of cities. On the basis of previous studies, this study first discusses the algorithm of static optimal path and its complexity, analyzes the traffic confidence and entropy, explains the complexity of traffic information and its complexity through the concept of entropy, and gives the influence of traffic information on traffic behavior. On this basis, it discusses the dynamic path optimization algorithm model under the condition of high informationization.

3. Route Selection Model Based on Real-Time Traffic Information

3.1. Road Network Model and Data Storage Structure

With the rapid growth of urbanization, urban traffic efficiency is becoming increasingly important, and path planning is becoming increasingly important in daily life. Path planning is the process of finding the best path through traffic by artificially designing the system, so that the destination can be reached in the shortest time or by driving the shortest distance. Because the starting point and destination of our travel are both from two nodes in this network and the optimal path can be selected through the search algorithm [28], we should first form a relatively complete network based on the conditions of urban roads, so that we can search for the optimal path in this network. Create a road network model that corresponds to the real-world road network. A road network model can be constructed as follows:

Among them, V represents the set of vertices, E represents the set of edges (sections), and sections and are the two different sections. W represents the weight set of the road section , and its attribute value can be selected according to different optimization goals. For the actual urban road network, the traffic information in two directions of the same road section is generally different, so the directed graph is used to express the actual road network. Directed graph increases the storage capacity of the road network, but it can express the real information of outlet network more comprehensively.

The unit for traffic volume is vehicles/h, and it refers to the number of vehicles passing by per unit time on a given road section. There are significant differences in traffic volume at different road sections or intersections due to differences in population density in different parts of cities. The ratio of the time spent by a car passing through a fixed road section to the total time is known as the time occupancy rate:where is the time required to travel on the road composed of node i and node j in the period t. T is the travel time interval, N is the total number of vehicles passing the road segment in the time period T, and is the time for the vehicles to pass the test point.

There are many ways to calculate the travel time of the road section in path planning. Generally, the relationship between the three quantities of road traffic flow Q, speed V, and density K is used to calculate the average speed. , pass. The average speed can be calculated as the travel time . In the model, the relationship between the time t and the traffic occupancy rate on the research section and the average traffic density of vehicle operation can be measured as

In the formula, is the length of the test vehicle, so the number of vehicles passing in this time, , can be calculated aswhere is the length of the road section connected by node i and node j.

In the route planning, the BPR function can be used to calculate the road travel time of the vehicle:where is the zero-flow impedance, that is, when the traffic on the road section is zero, it is the time required for the vehicle to travel, is the traffic volume of the road section connected by node i and node j, and is the number of vehicles passing through the intersection in a unit time. can be regarded as a fixed value when traffic congestion occurs at an intersection due to control lights, but the actual traffic flow is a dynamically changing amount, that is, has nothing to do with . α and β are the retarding functions. In the traffic flow allocation procedure, the values of α and β parameters are α = 0.15 and β = 4, respectively.

The delay time of the road section can be measured by the detector in the system. At the same time, the occupancy rate and the traffic flow of the road section can be measured, and the traffic density can be calculated according to the occupancy rate . The length of the road segment to be solved is constant, so the number of vehicles EE can be calculated. Finally, and are combined to solve the delay time . Then, compare the delay time with all the green light times of the intersection to calculate the waiting time , so that the delay time of the road section can be calculated at the end:where is the traffic flow of the road section connected by node i and node j, and and can be measured by the detector in the system. The delay time of the road section between different nodes i and j can be calculated by the following formula:where is the entire signal period, λ is the green signal ratio, and .

Many factors influence actual traffic efficiency, such as traffic flow and road conditions, which directly limit vehicle traffic efficiency. As a result, these factors should be taken into account in the best route selection model, with traffic density and flow playing a key role. Because these two factors are random, unlike the length of a road section, they are fixed for a long time, and they can be factored into the optimal path selection to improve the system’s accuracy.

3.2. Dynamic Path Optimization Algorithm

In the process analysis, first, the system administrator creates the station information database and inputs the number, name, longitude and latitude of the traffic station, and the distance between stations in the database. The system administrator is mainly responsible for maintaining the database [29]. After the database is generated, the relevant users can query the optimal path between sites in the query interface, and the users input the name of the starting site and the name of the target site [30]. The system calls the optimized optimal path algorithm to get the optimal path and displays the optimal path result on the display interface. Figure 1 shows the system flowchart.

Express the dynamic road network as , where is a finite node set, which corresponds to the road nodes of the road network. , corresponding to the actual road section between road nodes. . Among them, , which means the time it takes for the vehicle to pass through section at any moment.

is the travel time of the road section connected by node i and node j, and the delay time is the road section between nodes i and j, where is the signal waiting time between nodes, and is the transit time at the intersection. when u = 1. when u = 2. when u = 3.

The objective function of the model is

Decision variables are

The formula (9) represents the duration of n green lights, and the size of n is determined by the driver. According to these relations, the time spent on different road sections can be well calculated, and the route is dynamically planned due to the change of the number of signal lights and the change of traffic flow, so as to select an optimal driving route [31].

Aiming at the problem of dynamic path selection, the specific execution steps are as follows. Step 1: initialization, setting the initial node and the destination node. Determine the time occupancy rate, the update time interval of traffic flow, and the size of n. Step 2: find the node adjacent to the starting point, record the node, and calculate the travel time of the road section connected to the node. Step 3: compare , if , the road section is relatively smooth, and . If , then . If , the road section is relatively congested, discard the node, and return to Step 2. Step 4: when the next node selected is the destination node, the selection of a set of feasible paths is completed. Step 5: compare multiple groups of feasible paths and take the minimum value.

4. Result Analysis and Discussion

After entering the system, the system administrator first creates the database. Mark the distance values of traffic stations and traffic sections in the database and mainly set the distance values of traffic sections in a straight line way. After the database is created, the user can query the optimal path between traffic stations, input the initial station and the target station, calculate the optimal path according to the optimal path algorithm, and display the optimal path result [27].

During the training phase of the model, it will be tested on the verification set regularly. After continuous analysis and comparison, we finally chose 60 training times as the best training times under the condition that the batch size is 30. Figure 2 shows the trend of accuracy on the verification set along with the training process. Therefore, we can know that increasing the training times within a certain range can improve the performance of the model. On the contrary, too many training times will lead to overfitting, and the performance of the model will decrease.

It can be seen that the accuracy of the verification set of the algorithm is increasing with the convergence of the model, which verifies the correctness of the convergence of the network and the effectiveness of the network for feature extraction.

Adjust the initial model horizontally and vertically. Figure 3 shows the accuracy curve of the model, and Figure 4 shows the loss function curve; with the increase of training times, the accuracy of the network is increasing, and the loss function value is decreasing gradually, and the network basically converges after training 73 times.

During training, the loss function reflected by verification is gradually increasing rather than decreasing, which indicates that the algorithm training has entered the trap of local optimization. Figure 5 shows the relationship between iteration times and normal training and overfitting training.

Combined with the test results of test materials, the correlation between subjective evaluation results and objective evaluation results is 92.08%.

Figures 6 and 7 show the fitting diagrams of subjective evaluation results and objective evaluation results of training samples and test samples, respectively. Combined with the test results of test materials, the correlation between subjective evaluation results and objective evaluation results is 92.07%.

The iterative training is stopped when the training set’s fitting degree reaches 98.55%. The test set has a fitting degree of 92.17%, indicating that the model’s quality evaluation result is similar to the subjective quality score. When there is not much traffic, the travel time can be very short. When a vehicle approaches a particular road section, for example, it comes to a complete stop due to traffic congestion. The travel time is even longer than the traffic volume. As a result, in order to effectively improve traffic efficiency, we should collect real-time traffic conditions on the road when planning routes.

5. Conclusions

A key component of an intelligent traffic system is the intelligent traffic management and control system. In order to improve and perfect the intelligent traffic management scheme, the urban intelligent traffic management and control system combines various signal monitoring methods to obtain real-time traffic information and constructs a scientific and reasonable intelligent traffic management framework. The optimal route planning algorithm is the core technology of the route guidance system in ITS, so it is of great practical significance to study it. The intelligent transportation system (ITS) is recognized as the best way to solve the three major problems in the field of international transportation. The intelligent traffic management and control system combines information transmission, allowing relevant management personnel and actual users of the intelligent traffic management and control system to obtain the traffic management scheme and real-time traffic road information in a timely and effective manner, maximizing the efficiency of intelligent traffic management. The main feature of the dynamic path selection problem is that the path selection conditions change over time. Because the majority of the traffic parameters used in the analysis are randomly changed, it is more appropriate to use a dynamic model when analyzing urban road congestion. These influencing factors should be taken into account when designing the road congestion analysis model to improve the accuracy of the analysis results.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.


This study was supported by the National Natural Science Foundation of China (51908028) and the Fundamental Research Funds of Hebei Provincial Universities (ZCT202005).