An Intelligent Control Method for Urban Traffic using Fog Processing in the IoT Environment based on Cloud Data Processing of Big Data

Document Type : Internet of Thing (IoT)-Yaghmaee


1 Department of Computer Engineering, Urmia Branch, Islamic Azad University, Urmia, Iran & University faculty membe,

2 Department of Computer Engineering, Khoy Branch, Islamic Azad University, Khoy, Iran assistant professor

3 Department of IT and Computer Engineering, Urmia Branch, Islamic Azad University, Urmia, Iran assistant professor


Due to such disadvantages of current traffic light control methods as waste of time, waste of fuel and resources, increased air pollution, providing an intelligent traffic light control system that leads to the shortest waiting time for vehicles and pedestrians becomes so significant. Given the high priority of this issue, this paper presents an intelligent urban traffic system method based on IoT data and fog processing. Fog processing is a platform that is at the edge of the network and provides powerful services and applications for users. Compared to cloud computing, cloud computing is closer to users and therefore collects information faster and disseminates it over a network of sensors. It also helps cloud computing to perform tasks such as preprocessing and data collection. Cloud computing is a new type of distributed processing structure used for the Internet of Things. This paper proposed a method called GW-KNN. According to this method, we first collect data through the Internet of Things. Then, the preprocessing operation and extraction of effective fields in the cloud processing section are performed using the k-nearest neighbor improved machine learning algorithm. Traffic on each road is predicted in the next time slot and this information is sent for use in the fog processing layer to make traffic control decisions. The concept of Euclidean distance network with Gaussian weight was used to predict the future traffic situation and KNN model was included in the algorithm output to increase the forecasting accuracy and finally solve the problem of traffic light control. This idea was implemented and simulated using MATLAB. To get the results, the implementation was done on a computer with an i7-10750 processor and 16 GB of main memory and 1 TB of external memory. The results of the evaluations show that the proposed method has a much better performance than the previous two methods in terms of absolute mean error percentage, absolute mean error percentage of traffic forecast, and average waiting time of each vehicle.

Main Subjects

[1]   Sharif, A., et al. "Internet of things—smart traffic management system for smart cities using big data analytics", in 2017 14th international computer conference on wavelet active media technology and information processing (ICCWAMTIP). 2017.
[2]   Genders, W. and S. Razavi, Using a deep reinforcement learning agent for traffic signal control. arXiv preprint arXiv:1611.01142, 2016.
[3]   Saifuzzaman, M., N.N. Moon, and F.N. Nur. IoT based street lighting and traffic management system. in 2017 IEEE region 10 humanitarian technology conference (R10-HTC). 2017.
[4]   Kuppusamy, P., et al., Design of smart traffic signal system using internet of things and genetic algorithm, in Advances in Big Data and Cloud Computing. 2018, Springer. p. 395-403.
[5]   Seliem, M., K. Elgazzar, and K. Khalil, Towards privacy preserving iot environments: a survey. Wireless Communications and Mobile Computing, 2018. 2018.
[6]   Mohammadi, M., et al., Deep learning for IoT big data and streaming analytics: A survey. IEEE Communications Surveys & Tutorials, 2018. 20(4): p. 2923-2960.
[7]   Xia, J., et al., Improving random forest with ensemble of features and semisupervised feature extraction. IEEE Geoscience and Remote Sensing Letters, 2015. 12(7): p. 1471-1475.
[8]   Ma, M., et al. Design and analyze the structure based on deep belief network for gesture recognition. in 2018 Tenth international conference on advanced computational intelligence (ICACI). 2018.
[9]   Smolensky, P., Information processing in dynamical systems: Foundations of harmony theory. 1986, Colorado Univ at Boulder Dept of Computer Science.
[10] Taneja, M. and A. Davy. Resource aware placement of IoT application modules in Fog-Cloud Computing Paradigm. in 2017 IFIP/IEEE Symposium on Integrated Network and Service Management (IM). 2017.
[11] Gao, J., et al., Adaptive traffic signal control: Deep reinforcement learning algorithm with experience replay and target network. arXiv preprint arXiv:1705.02755, 2017.
[12] Wu, T., et al., Multi-agent deep reinforcement learning for urban traffic light control in vehicular networks. IEEE Transactions on Vehicular Technology, 2020. 69(8): p. 8243-8256.
[13] Arulkumaran, K., et al., Deep reinforcement learning: A brief survey. IEEE Signal Processing Magazine, 2017. 34(6): p. 26-38.
[14] Wei, H., et al. Intellilight: A reinforcement learning approach for intelligent traffic light control. in Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining. 2018.
[15] Wang, B., et al., Deep Reinforcement Learning for Traffic Light Timing Optimization. Processes, 2022. 10(11): p. 2458.
[16] Zhu, R., et al., Multi-Agent Broad Reinforcement Learning for Intelligent Traffic Light Control. Information Sciences, 2022.
[17] Zhou, M., X. Qu, and X. Li, A recurrent neural network based microscopic car following model to predict traffic oscillation. Transportation research part C: emerging technologies, 2017. 84: p. 245-264.
[18] Hossan, S. and N. Nower, Fog-based dynamic traffic light control system for improving public transport. Public Transport, 2020. 12(2): p. 431-454.
[19] Qin, H. and H. Zhang, Intelligent traffic light under fog computing platform in data control of real-time traffic flow. The Journal of Supercomputing, 2021. 77(5): p. 4461-4483.
[20] Sepasgozar, S.S. and S. Pierre, Fed-NTP: A Federated Learning Algorithm for Network Traffic Prediction in VANET. IEEE Access, 2022.
[21] Gayathri Devi, K., et al. An IoT Based Automatic Vehicle Accident Detection and Rescue System. in International Conference on Artificial Intelligence for Smart Community. 2022.