Fog Computing-Based System for Decentralized Smart Parking System by Using Firebase

  • Haposan Yoga Pradika Napitupulu Department of Electrical Engineering, Faculty of Engineering, Universitas Indonesia, Depok, Indonesia
  • I Gde Dharma Nugraha Department of Electrical Engineering, Faculty of Engineering, Universitas Indonesia, Depok, Indonesia
Keywords: Smart Parking, Fog Node, Firebase, MySQL


The growth of vehicle number is unavoidable whilst the availability of parking is not directly proportional with this condition. Nowadays, many shopping centers do not have sufficient parking spot, causing customers to have difficulty in finding available parking spots. Research has been conducted to tackle the issue of finding available parking spots. Much of this research proposed the narrowband-Internet of things (NB-IoT) as a fog node. For communication purposes, this NB-IoT-based fog node has some shortcomings, such as security and privacy, lower data rate, higher cost in development, dependency with wireless system, and only covers one area. In this research, the fog computing was proposed to decentralize smart parking system by using Firebase to cover several areas or malls in one system and interface. Instead of using NB-IoT, this research employed decentralized local server as a fog node to deliver a fast data exchange. Firestore database (Firebase) was also used to secure, manage, and analyze the data in the cloud. Conjunctively, the Android application was created as a user interface to book and find the availability of parking spots. The Android application was built using Android Studio and implemented authentication to keep the data access secure and private. The testing scenario was done following the design unified modeling language (UML). The research results confirmed that the fog computing system successfully supported the decentralized smart parking system and was able to be implemented for covering several areas or malls in one system.


A.J. Kadhim and J.I. Naser, “Proactive load balancing mechanism for fog computing supported by parked vehicles in IoV-SDN,” China Commun., vol. 18, no. 2, pp. 271–289, Feb. 2021, doi: 10.23919/JCC.2021.02.019.

M. Kong, J. Zhao, X. Sun, and Y. Nie, “Secure and efficient computing resource management in blockchain-based vehicular fog computing,” China Commun., vol. 18, no. 4, pp. 115–125, Apr. 2021, doi: 10.23919/JCC.2021.04.009.

Y. Zhang, C.-Y. Wang, and H.-Y. Wei, “Parking reservation auction for parked vehicle assistance in vehicular fog computing,” IEEE Trans. Veh. Technol., vol. 68, no. 4, pp. 3126–3139, Apr. 2019, doi: 10.1109/TVT.2019.2899887.

C. Tang et al., “Towards smart parking based on fog computing,” IEEE Access, vol. 6, pp. 70172–70185, Nov. 2018, doi: 10.1109/ACCESS.2018.2880972.

F.H. Rahman et al., “Street parked vehicles based vehicular fog computing: TCP throughput evaluation and future research direction,” 2019 21st Int. Conf. Adv. Commun. Technol. (ICACT), 2019, pp. 26–31, doi: 10.23919/ICACT.2019.8701912.

X. Lin et al., “Application research of NB-IoT technology based on fog computing in intelligent parking system,” 2019 IEEE 3rd Adv. Inf. Manag. Commun. Electron. Automat. Control Conf. (IMCEC), 2019, pp. 1496–1503, doi: 10.1109/IMCEC46724.2019.8984053.

Y.-C.P. Chang, S. Chen, T.-J. Wang, and Y. Lee, “Fog computing node system software architecture and potential applications for NB-IoT industry,” 2016 Int. Comput. Symp. (ICS), 2016, pp. 727–730, doi: 10.1109/ICS.2016.0150.

M.A. Hoque and R. Hasan, “Towards an analysis of the architecture, security, and privacy issues in vehicular fog computing,” 2019 SoutheastCon, 2019, pp. 1–8, doi: 10.1109/SoutheastCon42311.2019.9020476.

S. Nguyen, Z. Salcic, and X. Zhang, “Big data processing in fog - smart parking case study,” 2018 IEEE Int. Conf. Parallel Distrib. Process. Appl. Ubiquitous Comput. Commun. Big Data Cloud Comput. Soc. Comput. Netw. Sustain. Comput. Commun. (ISPA/IUCC/BDCloud/SocialCom/SustainCom), 2018, pp. 127–134, doi: 10.1109/BDCloud.2018.00031.

B. Cheng, J. Fuerst, G. Solmaz, and T. Sanada, “Fog Function: Serverless fog computing for data intensive IoT services,” 2019 IEEE Int. Conf. Serv. Comput. (SCC), 2019, pp. 28–35, doi: 10.1109/SCC.2019.00018.

E.C. Anderson, K.C. Okafor, O. Nkwachukwu and D.O. Dike, “Real time car parking system: A novel taxonomy for integrated vehicular computing,” 2017 Int. Conf. Comput. Netw. Inform. (ICCNI), 2017, pp. 1–9, doi: 10.1109/ICCNI.2017.8123788.

M. Celaya-Echarri et al., “Building decentralized fog computing-based smart parking systems: From deterministic propagation modeling to practical deployment,” IEEE Access, vol. 8, pp. 117666–117688, Jun. 2020, doi: 10.1109/ACCESS.2020.3004745.

J.-E. Park and Y.-H. Park, “Fog-based file sharing for secure and efficient file management in personal area network with heterogeneous wearable devices,” J. Commun. Netw., vol. 20, no. 3, pp. 279–290, Jun. 2018, doi: 10.1109/JCN.2018.000040.

A.M.S. Maharjan and A. Elchouemi, “Smart parking utilizing IoT embedding fog computing based on smart parking architecture,” 2020 5th Int. Conf. Innov. Technol. Intell. Syst. Ind. Appl. (CITISIA), 2020, pp. 1–9, doi: 10.1109/CITISIA50690.2020.9371848.

X. Huang, D. Ye, R. Yu, and L. Shu, “Securing parked vehicle assisted fog computing with blockchain and optimal smart contract design,” IEEE/CAA J. Automatica Sinica, vol. 7, no. 2, pp. 426–441, Mar. 2020, doi: 10.1109/JAS.2020.1003039.

A.M. Farooqi, M.A. Alam, S.I. Hassan, and L. Ansari, “Approaches of shared smart parking model in fog and roadside cloud environment: A detailed survey,” 2021 6th Int. Conf. Commun. Electron. Syst. (ICCES), 2021, pp. 914–924, doi: 10.1109/ICCES51350.2021.9489178.

Y. Sukmana and Y. Rosmansyah, “The use of Cloud Firestore for handling real-time data updates: An empirical study of gamified online quiz,” 2021 2nd Int. Conf. Electron. Commun. Inf. Technol. (CECIT), 2021, pp. 1239–1244, doi: 10.1109/CECIT53797.2021.00220.

K.S. Awaisi et al., “Towards a fog enabled efficient car parking architecture,” IEEE Access, vol. 7, pp. 159100–159111, Nov. 2019, doi: 10.1109/ACCESS.2019.2950950.

J. Tuvakov and K. Park, “On the fog node model for multi-purpose fog computing systems,” 2018 IEEE 9th Annu. Inf. Technol. Electron. Mob. Commun. Conf. (IEMCON), 2018, pp. 1211–1214, doi: 10.1109/IEMCON.2018.8614845.

H.-L. Shieh, W.-S. Chang, S.-F. Lin, and S.-B. Jhang, “A motorcycle parking lot management system based on RFID,” 2013 Int. Conf. Fuzzy Theory Appl. (iFUZZY), 2013, pp. 268–272, doi: 10.1109/iFuzzy.2013.6825448.

I. Zoratti, “MySQL security best practices,” 2006 IET Conf. Crime Secur., 2006, pp. 183–198.

L. Zhang, J. Fan, and Y. Zhou, “The security analysis of MySQL’s encryption functions,” 2015 Int. Conf. Comput. Sci. Mech. Automat. (CSMA), 2015, pp. 5–8, doi: 10.1109/CSMA.2015.8.

H.Y.P. Napitupulu, “Design and realization of integrated control system based on Microsoft Visual Basic .Net and Mitsubishi’s programmable logic controller (PLC) through ethernet cable,” 2023 Int. Conf. Comput. Sci. Inf. Technol. Eng. (ICCoSITE), 2023, pp. 290–295, doi: 10.1109/ICCoSITE57641.2023.10127819.

How to Cite
Haposan Yoga Pradika Napitupulu, & I Gde Dharma Nugraha. (2024). Fog Computing-Based System for Decentralized Smart Parking System by Using Firebase. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi, 13(1), 44-52.