# Intelligent City Traffic Scheduling Optimization Based on Internet of Things Communication

Authors: Jingwen Jiang
Journal: Wireless Communications and Mobile Computing
 (2021)

---

## Abstract

The application of Internet of Things technology in the construction of smart city traffic system is the inevitable choice of smart city traffic system to promote the development of road traffic in the process of urban development. First of all, the traffic in the city, on the basis of the research background and significance, research on the Internet of Things, and wisdom of the construction of the urban traffic are summarized and analyzed; secondly, on the basis of requirement analysis and feasibility analysis, combined with the principles and goals of the construction of the system, the establishment of the model of urban traffic based on Internet of Things and the city’s architecture based on Internet of Things intelligent urban traffic system and design are put forward. Finally, an improved ant colony algorithm is proposed in the aspect of system optimal path algorithm, and its superiority is verified. The results show that complementary networks can significantly improve the robustness of networks. These conclusions provide a theoretical basis for the construction of smart city public transport network traffic scheduling and provide model support for the operation and management of smart city public transport.


---

## Body

## 1. Introduction

With the continuous advancement of urbanization and the increasing urban population, the traffic pressure faced by cities is becoming more and more obvious. In order to scientifically relieve the traffic pressure and provide convenience for the emergence of urban residents, it is necessary to timely combine new technologies to promote the transformation and upgrading of the traditional traffic mode. In this development, the application of smart city traffic system is an important breakthrough. Especially with the integration of Internet of Things technology, the construction of new smart city traffic system is of great value to the alleviation of urban traffic pressure.With wisdom of urban transport system in urban transportation planning in [1] on the intelligence development requirements also rising, under this situation, you need to in the wisdom of city traffic system actively introduce advanced Internet technology, to promote the development of the wisdom of the urban transport system intelligence and provide residents with more effective transportation service. Therefore, integrating the Internet of Things technology into the smart city traffic system is the first need to improve the intellectualization of the traffic system. As a system integrating with advanced technologies such as microelectronic sensors and wireless communication technology, the application scope of Internet of Things technology has been greatly expanded, and it also plays an important role in the construction of smart city traffic system. Through the application of Internet of Things technology, data collection and detection can be carried out more efficiently, thus providing strong technical support for the intelligent development of urban traffic. In terms of the current urban traffic management, it is generally necessary to maintain order through the consciousness of the public. The function of traffic lights and traffic signs can only provide static [2] and limited guidance, and it is difficult to realize the function of optimizing road resources. The smart city traffic system based on the Internet of Things technology can effectively collect all the road and vehicle information in the city and then dynamically calculate the best route planning to promote the orderly development of urban traffic.Secondly, the application of Internet of Things technology is also the need to improve the level of traffic command and scheduling. By using the Internet of Things technology to carry out traffic command and dispatch, it can more effectively avoid the occurrence of large area of traffic congestion, so as to provide convenience for the smooth travel of residents. For example, in the process of vehicle running, the smart city traffic system of the Internet of Things can directly perceive, control, and guide road traffic by real-time processing of traffic information and using traffic signal lights, so as to achieve the function of regulating road vehicles. At the same time, with the support of RFID technology [3, 4], vehicle information can also be collected through vehicle electronic tags. This operation can realize information collection and analysis even in the high-speed operation of vehicles, thus realizing dynamic management of vehicles, ensuring accurate prediction of traffic flow, and effectively improving traffic operation efficiency.It can be seen from the above research that the application of Internet of Things technology can promote driving safety and improve driving comfort. In the intelligent urban traffic system, improve safety and travel comfort is the most basic purpose and, with the help of the Internet of Things technology, can be achieved under the complex traffic environment, intelligent vehicle terminal based on GNSS navigation system, and the real-time data transmission on the Internet, which by the real-time display state, as far as possible to avoid congestion, avoid fault section, and improve the system efficiency.


## 2. Related Work

The EU has achieved good results in the research direction of Internet of Things technology application. In order to lead the world in the Internet of Things direction, the facility operator actively carry out the technology and application of M2M [5, 6].The Internet of Things application mainly includes the intelligent medical treatment, use of the sequence code product, can timely certification and drug safety, the unsafe drugs, counterfeiting, fraud has played a very good prevention, and play a blow. In addition, the application of intelligent electronic material system can provide real-time consumption information needed by consumers. Power remote monitoring system can be better in real-time and reliable grasp of the safety and use of power; in traditional industries such as logistics and retail, the application of the Internet of Things enables the timely exchange of information on various demands, meets the information needs of different groups, reduces the flow of information, and improves the efficiency of information use. The Internet of Things has been applied to People’s Daily life [7, 8]. Recipe can be downloaded through mobile phone, food to be purchased can be viewed remotely through refrigerator lens, and certain activities can be automatically carried out at a certain time set on the network. With the application of various communication facilities in the Internet of Things, people can receive timely information services anytime and anywhere [9]. It is hoped to establish information standards in the new era and create a network society in the era of the Internet of Things, so as to better solve social problems such as the aging of people [10], so as to make information universal and efficient popularization. At the same time, also, actively promote IoT-related industries such as strategic planning, put forward the “by building one of the world’s most advanced Internet of Things from the infrastructure, the convergence of multicast communication to build future superfluid strong goal [11], from big to Internet of Things from the infrastructure, the Internet service, Internet technology, Internet of Things environment such as strength, actively carry out relevant research, looking for the Internet of Things market new business opportunities, ensuring the continuous expansion of the Internet of Things industry, and make a superb information communication technology power [12]. With the rapid development of Internet of Things, our timelines of information collection, information transmission security, and standard put forward higher request, in the process of the development of the Internet of Things is faced with many problems: lack of national standard, enterprise technology research level is weak, high cost of RFID tags, industry often lack the talent, the first technology is focused on national security question, and personal privacy is being violated not guaranteed. It can be seen that for the huge demand of IoT-related industries, how to promote the process of IoT is facing certain difficulties.With the rapid development of science and technology and information technology, urban intelligent urban traffic has become the hot topic today; now, a lot of places are still in the stage of the urban traffic wisdom, and it is the primary stage, but the wisdom of the urban traffic is insufficient, making intelligent urban traffic must in some places to research intelligent urban traffic [13, 14]. The smart city transportation system is guided by the framework of the national smart city transportation system to build a smart city transportation system of “high efficiency, good safety, environmental protection, and comfort.” Not only improve the management level and the efficiency of the urban traffic system but also provide traffic information services, convenient, high quality, fast, economical, safe, comfortable intelligent traffic, and transportation services; improve timely, accurate, comprehensive, and sufficient information support and information-based decision support for traffic management departments and related enterprises, so as to make the system decision intelligent [15, 16]. Many scholars are actively deploying the construction of urban smart city transportation. The research on smart city transportation is early, and the technology is advanced. Through intelligent control system, urban signal lights are controlled intelligently to reduce traffic congestion [17]. Department network intercommunication and information sharing, real-time broadcast of traffic information, traffic failure in a timely manner [18]; the use of bus priority control system to ensure the efficiency and safety of bus operation; strengthen the R&D and application of smart city transportation, encourage the cooperation between enterprises and research institutions, etc. [19, 20]. Through the road control station, FIRD technology, advanced monitoring system, and natural traffic flow roadside system, the entering vehicles can be automatically identified, and “road congestion tax” is levied at a specific time, which effectively reduces traffic flow, reduces traffic congestion by 25%, increases road traffic capacity by 80%, and reduces vehicle exhaust emission by 8%-14%. In addition, through the architecture of smart city transportation, good effects have been achieved in protecting environment and preventing pollution. Through sensors and road probes, traffic jams can be reported in time, and traffic jams in the next period of time can be analyzed and predicted in advance, so as to suggest smooth road driving [21, 22]. Through a variety of sensors, real-time assessment of the traffic bridge can be made to obtain the number, weight, and pollution of vehicles, etc. Once the set limit value is exceeded, the traffic management department will receive an alarm, and then, find and solve the problem [23]. Through the establishment of intelligent urban traffic cloud platform founded information portal, and actively start traffic hotline, travelers can timely understand live traffic electronic bus stop, bus stations, and travel information, such as integrated traffic information query for traffic incidents, road construction, and other special circumstances; the platform can formulate and publish in time travel advice [24] and make people travel more convenient and quick. Urban transportation in the urban traffic information public platform and wisdom cloud platform to build “comprehensive three-dimensional traffic command center”, to a more comprehensive, more traffic system planning and management, make “wisdom city traffic” comprehensive traffic development to upgrade, improve the intelligent level of traffic [25–27], and provide more comprehensive traffic information service for the people.At the present stage, many cities have realized the serious problems brought by urban traffic and are actively promoting the construction of “smart city traffic,” and have made certain achievements, but most of them are still in the initial stage. With the in-depth application of technologies such as the Internet of Things and cloud computing, they will surely achieve better development.


## 3. Smart City Traffic System Function Based on Internet of Things

With the rapid progress of social economy and science and technology, the city scale has been expanded to a certain extent. As a result, the traffic problem is extremely serious. At this time, in order to better solve the traffic problem, we need to do a good job in many aspects of coordination and cooperation and upgrade and optimize the urban traffic system. From the perspective of the government, when solving the problems of urban traffic development, we should not only do a good job in the introduction of new equipment but also need to increase the investment in infrastructure and traffic facilities management and further optimize the management system. The application of smart city transportation system in cities can effectively solve some practical problems and provide convenience for users. Basic functions of smart city traffic system include road condition information, service inquiry, safety guidance, and service guide [28, 29]. Smart city traffic maintains constant development in the process of continuous development. It can not only provide users with accurate traffic information but also facilitate users to query and prompt information. It has a good development prospect in the future development process. Based on the smart city traffic system, users can grasp the traffic conditions in real time and shorten the time wasted on the road. In this paper, the traffic conditions of the existing key sections are recorded and photographed, and a reasonable analysis method is adopted to classify the road levels, so as to facilitate users’ travel. In the research framework, users can also query vehicle information in real time through the smart city traffic system, which can not only search vehicle information but also search vehicle information such as annual inspection, so as to provide convenience for users. Compared with relevant studies, in order to enable users to drive safely, the smart urban traffic system can remind users of traffic safety so that users can drive safely. Smart city transportation system service guide includes traffic laws, driving management business, and vehicle business. In case of problems, smart city transportation systems can provide users with legal guidance and accident counseling. On the basis of smart city traffic system, give full play to the technology of the Internet of Things and form a smart city traffic system through the in-depth application of intelligent identification, cloud computing, mobile technology, and data fusion technology. The architecture of smart city traffic system is shown in Figure 1.Figure 1
Intelligent city transportation system architecture diagram of the Internet of Things.Smart city transportation system can be divided into three levels from the overall architecture, namely, perception layer, network layer, and application layer.


### 3.1. The Perception Layer of the Internet of Things

IoT perception layer, at the end of the architecture, is the basic level in wisdom city traffic system, by using RFID, sensor networks, wireless communication and real-time positioning technology for data acquisition and collection, and timely and accurate monitoring of traffic information, it is for the whole traffic system to collect real-time traffic data for_f=layerfortransmissionandapplication. It consists of an M2M terminal and an infinite sensor network.


### 3.2. Internet of Things Network Layer

Internet network layer in the architecture of the middle layer has the effect of flow; the main principle is through the mobile network, wireless networks, Internet, satellite communication facilities such as the perception layer collected information processing to the data center, form to real information of the real reaction, through the scientific analysis of information, can provide service of traffic control decision-making.


### 3.3. Internet of Things Application Layer

The application layer of the Internet of Things is at the top of the architecture. Based on the various data obtained through the perception layer and the network layer, it realizes the parallel processing and optimization of massive information as well as the dynamic configuration and deployment of storage resources under the resources such as intelligent processing, cloud computing, management system, and database. Through information storage and processing system and integrated control system, information is managed, and information is presented to users in various ways for decision-making, service, and business development, including operation support platform and application system two parts.Wisdom urban traffic system which is built based on the Internet of Things technology in the process of general considerations should pay attention to the following several points: first, to guarantee the traffic system of dynamic, dynamic here mainly refers to during the running of the system, to be able to real-time capture different time through intelligent urban traffic system of traffic information, effective information collection, and through the data analysis response-specific traffic; second, the construction of smart city traffic system should be considered from the perspective of global, that is to say, different traffic scenes and specific application functions should be set under the same system to avoid resource waste. Third, the construction of smart city traffic system should also meet the requirements of intelligence. This construction needs to fully integrate the Internet of Things technology and promote the flexible application of Internet of Things technology in smart city traffic system, so as to master the traffic dynamics in an all-round and dynamic way. In the process of building smart city traffic system, security is the most fundamental construction point. Therefore, data security should be fully paid attention to in the construction of smart city traffic system. In the construction of the corresponding data security management system, the following four dimensions can be generally started (as shown in Table1).Table 1
Basis of safety management system construction.
Security dimensionObject-orientedTake measuresApplicationSystem usersIt can be controlled by access control, data encryption, protocolmodification, and other measuresSystemWhole smart city trafficIt is necessary to strengthen the protection of basic service software security vulnerabilities, such as database and operating systemNetworkAll system dataThe data generated by the Internet of Things are encrypted and transmitted through the password algorithm and then transmitted through the Internet. After data sharing, the function of data fusion in the intelligent system is achievedDataAll application dataThrough the establishment of smart city traffic dedicated platform to deploy software and store dataSelected by some special rule (which will be described briefly), a complete graph is formed by connecting all the possible edges with T-1 existing nodes and new nodes. Next, we will discuss degree distributions that are consistent with different rules.(1)
First, we consider how to select T-1 existing nodes. Here, we use the probability rule that is proportional to the degree R of each node I. Namely, the performance linear preference rule, which means that in the smart city traffic network, when a newly added station chooses to connect to a station, the station with greater performance is more likely to be selected. We can obtain the evolution equation of performance through a quasicontinuous approximation, which is very similar to the BA model. The BA model is that at the beginning, there are M0 nodes in the network, and these nodes are arbitrarily connected, as long as there is at least one link for each node, and the network evolves gradually according to growth and preference connection. Growth adds a new node withm chains to the network at each step
(1)∂Ti∂t=T+1∑TiT−1∑Tj.The performance distribution is solved as follows:(2)pT=m−tβm+tβT−1/β.(2)
We consider randomly selecting T-1 existing node rules. Following the BA model, we can write down the degree evolution equation as follows:(3)∂Ti∂t=m−t−1m+tT−1.The urban traffic dispatching system is used to monitor commuting at important traffic crossings (such as bridges) and control the operating status of traffic lights at corresponding locations. System composition is shown in Figure2, including bridge stress monitoring and gate access control node, traffic light control node, ZigBee-WiFi gateway, network transmission platform, acquisition service software, and web application software.Figure 2
Block diagram of urban traffic dispatching and control system.The traffic management system includes traffic-integrated information management, signal control system, police command system, and public traffic service system. Integrated traffic information management is to understand the real-time use level of urban traffic on the basis of traffic data collection and provide reasonable travel suggestions for travelers in combination with the theory of traffic planning in reality. Signal control system is through the management of traffic infrastructure, to understand the reality of urban traffic flow and traffic congestion information and take a reasonable control of the signal indication, so that the traffic flow of the road will reach a reasonable level. The police command system handles emergencies in traffic, obtains road sections and traffic conditions through traffic facilities, releases information in time, and takes corresponding measures to reduce the traffic impact caused by the events. The public transport service system enables travelers to timely understand the travel route, traffic location, and other information; reasonably arrange the transportation mode; and optimize the travel activities.


## 3.1. The Perception Layer of the Internet of Things

IoT perception layer, at the end of the architecture, is the basic level in wisdom city traffic system, by using RFID, sensor networks, wireless communication and real-time positioning technology for data acquisition and collection, and timely and accurate monitoring of traffic information, it is for the whole traffic system to collect real-time traffic data for_f=layerfortransmissionandapplication. It consists of an M2M terminal and an infinite sensor network.


## 3.2. Internet of Things Network Layer

Internet network layer in the architecture of the middle layer has the effect of flow; the main principle is through the mobile network, wireless networks, Internet, satellite communication facilities such as the perception layer collected information processing to the data center, form to real information of the real reaction, through the scientific analysis of information, can provide service of traffic control decision-making.


## 3.3. Internet of Things Application Layer

The application layer of the Internet of Things is at the top of the architecture. Based on the various data obtained through the perception layer and the network layer, it realizes the parallel processing and optimization of massive information as well as the dynamic configuration and deployment of storage resources under the resources such as intelligent processing, cloud computing, management system, and database. Through information storage and processing system and integrated control system, information is managed, and information is presented to users in various ways for decision-making, service, and business development, including operation support platform and application system two parts.Wisdom urban traffic system which is built based on the Internet of Things technology in the process of general considerations should pay attention to the following several points: first, to guarantee the traffic system of dynamic, dynamic here mainly refers to during the running of the system, to be able to real-time capture different time through intelligent urban traffic system of traffic information, effective information collection, and through the data analysis response-specific traffic; second, the construction of smart city traffic system should be considered from the perspective of global, that is to say, different traffic scenes and specific application functions should be set under the same system to avoid resource waste. Third, the construction of smart city traffic system should also meet the requirements of intelligence. This construction needs to fully integrate the Internet of Things technology and promote the flexible application of Internet of Things technology in smart city traffic system, so as to master the traffic dynamics in an all-round and dynamic way. In the process of building smart city traffic system, security is the most fundamental construction point. Therefore, data security should be fully paid attention to in the construction of smart city traffic system. In the construction of the corresponding data security management system, the following four dimensions can be generally started (as shown in Table1).Table 1
Basis of safety management system construction.
Security dimensionObject-orientedTake measuresApplicationSystem usersIt can be controlled by access control, data encryption, protocolmodification, and other measuresSystemWhole smart city trafficIt is necessary to strengthen the protection of basic service software security vulnerabilities, such as database and operating systemNetworkAll system dataThe data generated by the Internet of Things are encrypted and transmitted through the password algorithm and then transmitted through the Internet. After data sharing, the function of data fusion in the intelligent system is achievedDataAll application dataThrough the establishment of smart city traffic dedicated platform to deploy software and store dataSelected by some special rule (which will be described briefly), a complete graph is formed by connecting all the possible edges with T-1 existing nodes and new nodes. Next, we will discuss degree distributions that are consistent with different rules.(1)
First, we consider how to select T-1 existing nodes. Here, we use the probability rule that is proportional to the degree R of each node I. Namely, the performance linear preference rule, which means that in the smart city traffic network, when a newly added station chooses to connect to a station, the station with greater performance is more likely to be selected. We can obtain the evolution equation of performance through a quasicontinuous approximation, which is very similar to the BA model. The BA model is that at the beginning, there are M0 nodes in the network, and these nodes are arbitrarily connected, as long as there is at least one link for each node, and the network evolves gradually according to growth and preference connection. Growth adds a new node withm chains to the network at each step
(1)∂Ti∂t=T+1∑TiT−1∑Tj.The performance distribution is solved as follows:(2)pT=m−tβm+tβT−1/β.(2)
We consider randomly selecting T-1 existing node rules. Following the BA model, we can write down the degree evolution equation as follows:(3)∂Ti∂t=m−t−1m+tT−1.The urban traffic dispatching system is used to monitor commuting at important traffic crossings (such as bridges) and control the operating status of traffic lights at corresponding locations. System composition is shown in Figure2, including bridge stress monitoring and gate access control node, traffic light control node, ZigBee-WiFi gateway, network transmission platform, acquisition service software, and web application software.Figure 2
Block diagram of urban traffic dispatching and control system.The traffic management system includes traffic-integrated information management, signal control system, police command system, and public traffic service system. Integrated traffic information management is to understand the real-time use level of urban traffic on the basis of traffic data collection and provide reasonable travel suggestions for travelers in combination with the theory of traffic planning in reality. Signal control system is through the management of traffic infrastructure, to understand the reality of urban traffic flow and traffic congestion information and take a reasonable control of the signal indication, so that the traffic flow of the road will reach a reasonable level. The police command system handles emergencies in traffic, obtains road sections and traffic conditions through traffic facilities, releases information in time, and takes corresponding measures to reduce the traffic impact caused by the events. The public transport service system enables travelers to timely understand the travel route, traffic location, and other information; reasonably arrange the transportation mode; and optimize the travel activities.


## 4. Research on Intelligent City Traffic Scheduling Optimization Algorithm Based on Internet of Things

In the real traffic, the optimal path selection in the traffic network is different from the shortest path problem in theory. One-way driving on road sections, turning restrictions at intersections, as well as optimization standards for the shortest driving distance, the lowest driving cost, and the least traveling time will all have corresponding influences on the optimal path for traffic [27], which shows that people have different requirements for real-time path in traffic. The relevant influencing factors are mainly divided into the following three aspects.


### 4.1. Real-Time Traffic Flow

In real traffic, if there are more vehicles on an optimal path from the starting point to the destination, which exceeds the carrying capacity of the path, urban traffic congestion is bound to result. The optimal path planning in order to be more in line with the actual must be according to the traffic flow to quantify the degree of congestion; traffic congestion discriminant is of high maneuverability, average travel speed of the motor vehicle can root for description, and concrete can be divided into smooth, mild crowded, crowded, and severe degree of four.


### 4.2. Delay Time at the Intersection

In mathematics, path optimization regards each node as an abstract point with zero delay, whose existence does not affect the optimization time and does not play any role. However, in the actual traffic network, the influence of traffic lights and other conditions is very obvious, which inevitably leads to time delay. Its weight in the optimal traffic time path is relatively large, so it can be seen that the delay time generated when vehicles pass the crossing day must be considered in the path optimization algorithm.


### 4.3. The Influence of One-Way Traffic

Under normal circumstances, the traffic administrative department of the sections in order to optimize certain set up of the road, the intelligent drive from one end to the other side cannot reverse driving, and general path algorithm is assumed that any two nodes are exchanged; in this case, set in accordance with the route is not realistic, so you must consider road affects traffic path.In the process of solving the optimal traffic path, the basic ant colony algorithm has some problems, such as long searching time and easy to converge to the local optimal solution. In the actual traffic, there exists the problem of steering direction. By introducing the directional guidance information and choosing the preferred traversal path, the efficiency of the algorithm can be improved. The problem of search converging to the local optimal solution is solved by the cooperative characteristic between ant colonies, and the accuracy of search is improved.Because the basic ant colony algorithm has no directionality when solving the shortest path in the complex traffic network, the directionality has a great weight when solving the shortest path by improving the visibility parameter on the basis of the transition probability.(4)μjk=1−ωkj⋅βjk1+ωkj⋅βjk.Because of the influence of pheromone on path selection, the pheromone can be divided into the starting point pheromone and the end point pheromone. Each ant starts at the beginning and disperses the most pheromones at the beginning and the end. As the distance goes, the amount of pheromone disperses decrease. Individual ants have only one type of pheromone, which changes when they reach their destination. AfterN iterations, the path with the most pheromones is the shortest path. According to the collection of the starting point and the end point, the shortest path from the starting point to the end point can be found.In order to avoid the excessive accumulation of road pheromones and prevent the search from converging to the local optimal solution, it is necessary to ensure the diversity of path choices and explore different paths to find the optimal solution, which requires the local update of pheromones. In the updating process, the pheromone concentration is updated for the road section passed by ants according to the local updating rules. The local update rule is shown in the formula.(5)λj,k=λjk−Δλjkt2.Theoretically, if the pheromone concentration of a certain road is too low, the probability of ants’ choice will be affected, or even cannot be chosen by ants. If so, the diversity of path choices will be affected, so that the optimal solution may not be the optimal path. Therefore, a minimum standard can be set for the pheromone concentration of the road. When the pheromone concentration of the road section is lower than this standard, it is forced to restore to the minimum standard line to ensure the diversity of route selection. Local pheromone updating can effectively solve the problem of excessive accumulation of path pheromones, prevent the possibility of local convergence, and expand the search scope as much as possible, which is conducive to the selection of the optimal path.Step 1.
Initialize parameters, and the number of iterations is 0.Step 2.
Set the maximum number of iterations, increasing by iterationN=N+I,A,1.Step 3.
SetA=A+1.Step 4.
Ant A moves to the next node k according to the transition probability.Step 5.
Modify taboos and update pheromones locally.Step 6.
If node k is the end point, perform Step7. Otherwise, jump to Step 4.Step 7.
If A is greater than the total number of ants, perform Step8; otherwise, skip to Step 3.Step 8.
Update the global pheromone.Step 9.
If the maximum number of iterations is satisfied, perform Step10; otherwise, perform Step 2.Step 10.
Finish the search and output the optimal result.The improved algorithm flow is shown in Figure3.Figure 3
Intelligent city traffic scheduling optimization algorithm for the Internet of Things.The changed algorithm emphasizes the directionality of the transfer, the classification of the pheromone, and local pheromone updates and enables the ants to explore new paths, so it can strengthen the basic ant colony algorithm of pheromone positive feedback, improve the difference of each section of pheromone concentration, and prevent to explore the path of reducing, so as to improve the efficiency of the algorithm. The main variable design is shown in Table2.Table 2
Descriptive statistics of main variables.
VariableClarificationMeanStandard deviationMinimum valueMaximumTPFirst map22781.4874785.2378.021132569.21GDP59636.549872.454410.186506301.2FDI0.00330.004600.0564STE0.01710.01640.00030.2313IndSecond path50.013911.89129.7387.94EDU470.4439409.302702409.313POP0.10260.09440.00231.1448BUS119.4722113.55251.95401591.47INNInner path12.4455.650.0061061.27EMP38.7584.451.13923.2TECH2.3131.8940.07712.152


## 4.1. Real-Time Traffic Flow

In real traffic, if there are more vehicles on an optimal path from the starting point to the destination, which exceeds the carrying capacity of the path, urban traffic congestion is bound to result. The optimal path planning in order to be more in line with the actual must be according to the traffic flow to quantify the degree of congestion; traffic congestion discriminant is of high maneuverability, average travel speed of the motor vehicle can root for description, and concrete can be divided into smooth, mild crowded, crowded, and severe degree of four.


## 4.2. Delay Time at the Intersection

In mathematics, path optimization regards each node as an abstract point with zero delay, whose existence does not affect the optimization time and does not play any role. However, in the actual traffic network, the influence of traffic lights and other conditions is very obvious, which inevitably leads to time delay. Its weight in the optimal traffic time path is relatively large, so it can be seen that the delay time generated when vehicles pass the crossing day must be considered in the path optimization algorithm.


## 4.3. The Influence of One-Way Traffic

Under normal circumstances, the traffic administrative department of the sections in order to optimize certain set up of the road, the intelligent drive from one end to the other side cannot reverse driving, and general path algorithm is assumed that any two nodes are exchanged; in this case, set in accordance with the route is not realistic, so you must consider road affects traffic path.In the process of solving the optimal traffic path, the basic ant colony algorithm has some problems, such as long searching time and easy to converge to the local optimal solution. In the actual traffic, there exists the problem of steering direction. By introducing the directional guidance information and choosing the preferred traversal path, the efficiency of the algorithm can be improved. The problem of search converging to the local optimal solution is solved by the cooperative characteristic between ant colonies, and the accuracy of search is improved.Because the basic ant colony algorithm has no directionality when solving the shortest path in the complex traffic network, the directionality has a great weight when solving the shortest path by improving the visibility parameter on the basis of the transition probability.(4)μjk=1−ωkj⋅βjk1+ωkj⋅βjk.Because of the influence of pheromone on path selection, the pheromone can be divided into the starting point pheromone and the end point pheromone. Each ant starts at the beginning and disperses the most pheromones at the beginning and the end. As the distance goes, the amount of pheromone disperses decrease. Individual ants have only one type of pheromone, which changes when they reach their destination. AfterN iterations, the path with the most pheromones is the shortest path. According to the collection of the starting point and the end point, the shortest path from the starting point to the end point can be found.In order to avoid the excessive accumulation of road pheromones and prevent the search from converging to the local optimal solution, it is necessary to ensure the diversity of path choices and explore different paths to find the optimal solution, which requires the local update of pheromones. In the updating process, the pheromone concentration is updated for the road section passed by ants according to the local updating rules. The local update rule is shown in the formula.(5)λj,k=λjk−Δλjkt2.Theoretically, if the pheromone concentration of a certain road is too low, the probability of ants’ choice will be affected, or even cannot be chosen by ants. If so, the diversity of path choices will be affected, so that the optimal solution may not be the optimal path. Therefore, a minimum standard can be set for the pheromone concentration of the road. When the pheromone concentration of the road section is lower than this standard, it is forced to restore to the minimum standard line to ensure the diversity of route selection. Local pheromone updating can effectively solve the problem of excessive accumulation of path pheromones, prevent the possibility of local convergence, and expand the search scope as much as possible, which is conducive to the selection of the optimal path.Step 1.
Initialize parameters, and the number of iterations is 0.Step 2.
Set the maximum number of iterations, increasing by iterationN=N+I,A,1.Step 3.
SetA=A+1.Step 4.
Ant A moves to the next node k according to the transition probability.Step 5.
Modify taboos and update pheromones locally.Step 6.
If node k is the end point, perform Step7. Otherwise, jump to Step 4.Step 7.
If A is greater than the total number of ants, perform Step8; otherwise, skip to Step 3.Step 8.
Update the global pheromone.Step 9.
If the maximum number of iterations is satisfied, perform Step10; otherwise, perform Step 2.Step 10.
Finish the search and output the optimal result.The improved algorithm flow is shown in Figure3.Figure 3
Intelligent city traffic scheduling optimization algorithm for the Internet of Things.The changed algorithm emphasizes the directionality of the transfer, the classification of the pheromone, and local pheromone updates and enables the ants to explore new paths, so it can strengthen the basic ant colony algorithm of pheromone positive feedback, improve the difference of each section of pheromone concentration, and prevent to explore the path of reducing, so as to improve the efficiency of the algorithm. The main variable design is shown in Table2.Table 2
Descriptive statistics of main variables.
VariableClarificationMeanStandard deviationMinimum valueMaximumTPFirst map22781.4874785.2378.021132569.21GDP59636.549872.454410.186506301.2FDI0.00330.004600.0564STE0.01710.01640.00030.2313IndSecond path50.013911.89129.7387.94EDU470.4439409.302702409.313POP0.10260.09440.00231.1448BUS119.4722113.55251.95401591.47INNInner path12.4455.650.0061061.27EMP38.7584.451.13923.2TECH2.3131.8940.07712.152


## 5. Results Analysis

We has carried on an empirical analysis of a city traffic scheduling in 2017, which includes 736 city bus lines and 5487 bus site; in order to reflect the geographical topology characteristics of the web site of the bus, we adopt L space method, namely, each bus station is defined as a node, if two nodes in the same bus line when they are connected by an edge. As shown in Figure4, we show the cumulative degree distribution of urban traffic scheduling. In Figure 4, the vertical axis represents the probability of accumulative degree, and the horizontal axis represents a certain number of degrees.Figure 4
Distribution diagram of traffic scheduling accumulation degree in smart city.The smart city traffic scheduling network model of Internet of Things communication is used for digital simulation, and the results of digital simulation are compared with the results of empirical analysis. Table3 shows the simulated calculation values of network characteristic statistical parameters. The simulated data are basically consistent with the empirical analysis data. This network model can better explain the characteristics of smart city traffic scheduling in the Internet of Things communication.Table 3
Network model characteristic parameter simulation data table.
Network parameters and characteristic quantities (simulation data)City 1City 2City 3City 4Number of sites16524512394Number of lines121376The network diameter5522The average degree21.6525.4921.5924.58Mean path length2.3742.5232.1821.696Clustering coefficient0.90690.90330.81020.8335The circular data curves in Figure5, respectively, represent the simulation graph of the accumulation degree distribution with the urban transport network. It can be seen that the simulation graph is consistent with the results of the empirical analysis, showing a segmented degree distribution law.Figure 5
Comparison between simulation data and empirical data of urban transport network cumulative degree distribution.According to the simulation results of network nodes supplemented by random attacks (Figure6), the network evolution law is basically similar. As stated in the simulation modeling method, random attacks cover the phase transition points of system collapse after 50 configuration averaging, so it is impossible to make quantitative comparison. However, according to the evolution law of the average path length, there is an obvious rising process in the attack process, because there are fewer routes but more stations in each route.Figure 6
Simulation results of the robustness of random attacks complementing each other.Parameter settings of smart city traffic scheduling algorithm are based on Internet of Things communication. Figure7 shows the search process of scheduling algorithm and shows the optimal path length found by scheduling in each round of search.Figure 7
Search process of improved scheduling algorithm.


## 6. Conclusion

To sum up, on the basis of demand analysis and feasibility analysis, combined with the principles and objectives of system construction, this paper establishes the urban traffic model based on the Internet of Things and puts forward the architecture and application architecture of the intelligent transportation system focusing on system integration and application. It is necessary to apply the intelligent transportation system of Internet of Things technology to improve the low efficiency of traffic information collection and the traditional intelligent system of imperfect traffic data, so as to promote the efficient development of urban traffic system. The results show that complementary networks can significantly improve the robustness of networks. These conclusions provide a theoretical basis for the construction of smart city public transport network traffic scheduling and provide model support for the operation and management of smart city public transport.



---

*Source: 7823982-2021-06-07.xml*