{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,3]],"date-time":"2026-07-03T16:35:12Z","timestamp":1783096512065,"version":"3.54.6"},"reference-count":42,"publisher":"MDPI AG","issue":"1","license":[{"start":{"date-parts":[[2024,1,2]],"date-time":"2024-01-02T00:00:00Z","timestamp":1704153600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["JSAN"],"abstract":"<jats:p>A wide range of applications, including sports and healthcare, use human activity recognition (HAR). The Internet of Things (IoT), using cloud systems, offers enormous resources but produces high delays and huge amounts of traffic. This study proposes a distributed intelligence and dynamic HAR architecture using smart IoT devices, edge devices, and cloud computing. These systems were used to train models, store results, and process real-time predictions. Wearable sensors and smartphones were deployed on the human body to detect activities from three positions; accelerometer and gyroscope parameters were utilized to recognize activities. A dynamic selection of models was used, depending on the availability of the data and the mobility of the users. The results showed that this system could handle different scenarios dynamically according to the available features; its prediction accuracy was 99.23% using the LightGBM algorithm during the training stage, when 18 features were used. The prediction time was around 6.4 milliseconds per prediction on the smart end device and 1.6 milliseconds on the Raspberry Pi edge, which can serve more than 30 end devices simultaneously and reduce the need for the cloud. The cloud was used for storing users\u2019 profiles and can be used for real-time prediction in 391 milliseconds per request.<\/jats:p>","DOI":"10.3390\/jsan13010005","type":"journal-article","created":{"date-parts":[[2024,1,2]],"date-time":"2024-01-02T10:36:59Z","timestamp":1704191819000},"page":"5","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":16,"title":["Dynamic and Distributed Intelligence over Smart Devices, Internet of Things Edges, and Cloud Computing for Human Activity Recognition Using Wearable Sensors"],"prefix":"10.3390","volume":"13","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2405-2289","authenticated-orcid":false,"given":"Ayman","family":"Wazwaz","sequence":"first","affiliation":[{"name":"Computer Engineering Department, College of Information Technology and Computer Engineering, Palestine Polytechnic University, Hebron P.O. Box 198, Palestine"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Khalid","family":"Amin","sequence":"additional","affiliation":[{"name":"Department of Information Technology, Faculty of Computers and Information, Menoufia University, Gamal Abdel Nasser Street, Shebin El Kom P.O. Box 32511, Egypt"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Noura","family":"Semary","sequence":"additional","affiliation":[{"name":"Department of Information Technology, Faculty of Computers and Information, Menoufia University, Gamal Abdel Nasser Street, Shebin El Kom P.O. Box 32511, Egypt"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tamer","family":"Ghanem","sequence":"additional","affiliation":[{"name":"Department of Information Technology, Faculty of Computers and Information, Menoufia University, Gamal Abdel Nasser Street, Shebin El Kom P.O. Box 32511, Egypt"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2024,1,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Esposito, M., Belli, A., Palma, L., and Pierleoni, P. (2023). Design and Implementation of a Framework for Smart Home Automation Based on Cellular IoT, MQTT, and Serverless Functions. Sensors, 23.","DOI":"10.3390\/s23094459"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Franco, T., Sestrem, L., Henriques, P.R., Alves, P., Varanda Pereira, M.J., Brand\u00e3o, D., Leit\u00e3o, P., and Silva, A. (2022). Motion Sensors for Knee Angle Recognition in Muscle Rehabilitation Solutions. Sensors, 22.","DOI":"10.3390\/s22197605"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Zhuang, Z., and Xue, Y. (2019). Sport-Related Human Activity Detection and Recognition Using a Smartwatch. Sensors, 19.","DOI":"10.3390\/s19225001"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"115802","DOI":"10.1016\/j.image.2020.115802","article-title":"Human action recognition toward massive-scale sport sceneries based on deep multi-model feature fusion","volume":"84","author":"Zhou","year":"2020","journal-title":"Signal Process. Image Commun."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Zhang, S., Li, Y., Zhang, S., Shahabi, F., Xia, S., Deng, Y., and Alshurafa, N. (2022). Deep Learning in Human Activity Recognition with Wearable Sensors: A Review on Advances. Sensors, 22.","DOI":"10.3390\/s22041476"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"8553","DOI":"10.1109\/JIOT.2019.2920283","article-title":"IoT Wearable Sensor and Deep Learning: An Integrated Approach for Personalized Human Activity Recognition in a Smart Home Environment","volume":"6","author":"Bianchi","year":"2019","journal-title":"IEEE Internet Things J."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"4969","DOI":"10.1109\/JIOT.2020.3033430","article-title":"ST-DeepHAR: Deep Learning Model for Human Activity Recognition in IoHT Applications","volume":"8","author":"Hawash","year":"2021","journal-title":"IEEE Internet Things J."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Issa, M.E., Helmi, A.M., Al-Qaness, M.A.A., Dahou, A., Elaziz, M.A., and Dama\u0161evi\u010dius, R. (2022). Human Activity Recognition Based on Embedded Sensor Data Fusion for the Internet of Healthcare Things. Healthcare, 10.","DOI":"10.3390\/healthcare10061084"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"119679","DOI":"10.1016\/j.eswa.2023.119679","article-title":"Context-aware mutual learning for semi-supervised human activity recognition using wearable sensors","volume":"219","author":"Qu","year":"2023","journal-title":"Expert Syst. Appl."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"82","DOI":"10.1016\/j.future.2021.04.005","article-title":"An argumentation enabled decision making approach for Fall Activity Recognition in Social IoT based Ambient Assisted Living systems","volume":"122","author":"Gulati","year":"2021","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"494","DOI":"10.1016\/j.neucom.2021.04.138","article-title":"Enabling automation and edge intelligence over resource constraint IoT devices for smart home","volume":"491","author":"Nasir","year":"2022","journal-title":"Neurocomputing"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"286","DOI":"10.1016\/j.future.2021.08.030","article-title":"A wearable-based posture recognition system with AI-assisted approach for healthcare IoT","volume":"127","author":"Hong","year":"2022","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Khan, I.U., Afzal, S., and Lee, J.W. (2022). Human Activity Recognition via Hybrid Deep Learning Based Model. Sensors, 22.","DOI":"10.3390\/s22010323"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"142","DOI":"10.1145\/3550319","article-title":"Predicting Performance Improvement of Human Activity Recognition Model by Additional Data Collection","volume":"6","author":"Tanigaki","year":"2022","journal-title":"Proc. ACM Interact. Mob. Wearable Ubiquitous Technol."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Khalid, A.M., Khafaga, D.S., Aldakheel, E.A., and Hosny, K.M. (2023). Human Activity Recognition Using Hybrid Coronavirus Disease Optimization Algorithm for Internet of Medical Things. Sensors, 23.","DOI":"10.3390\/s23135862"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Yen, C.-T., Liao, J.-X., and Huang, Y.-K. (2021). Feature Fusion of a Deep-Learning Algorithm into Wearable Sensor Devices for Human Activity Recognition. Sensors, 21.","DOI":"10.3390\/s21248294"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"241","DOI":"10.1016\/j.inffus.2021.11.006","article-title":"Multi-sensor information fusion based on machine learning for real applications in human activity recognition: State-of-the-art and research challenges","volume":"80","author":"Qiu","year":"2022","journal-title":"Inf. Fusion"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"17","DOI":"10.1016\/j.inffus.2023.01.015","article-title":"Multi-level feature fusion for multimodal human activity recognition in Internet of Healthcare Things","volume":"94","author":"Islam","year":"2023","journal-title":"Inf. Fusion"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Chen, J., Sun, Y., and Sun, S. (2021). Improving Human Activity Recognition Performance by Data Fusion and Feature Engineering. Sensors, 21.","DOI":"10.3390\/s21030692"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"187","DOI":"10.1016\/j.future.2019.10.043","article-title":"HealthFog: An ensemble deep learning based Smart Healthcare System for Automatic Diagnosis of Heart Diseases in integrated IoT and fog computing environments","volume":"104","author":"Tuli","year":"2020","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"108019","DOI":"10.1016\/j.comnet.2021.108019","article-title":"Task offloading in edge computing for machine learning-based smart healthcare","volume":"191","author":"Aazam","year":"2021","journal-title":"Comput. Netw."},{"key":"ref_22","first-page":"2191","article-title":"Edge-Cloud Computing for Internet of Things Data Analytics: Embedding Intelligence in the Edge With Deep Learning","volume":"17","author":"Ghosh","year":"2021","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"2364","DOI":"10.1016\/j.procs.2020.03.289","article-title":"A Lightweight Deep Learning Model for Human Activity Recognition on Edge Devices","volume":"167","author":"Agarwal","year":"2020","journal-title":"Procedia Comput. Sci."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Bourechak, A., Zedadra, O., Kouahla, M.N., Guerrieri, A., Seridi, H., and Fortino, G. (2023). At the Confluence of Artificial Intelligence and Edge Computing in IoT-Based Applications: A Review and New Perspectives. Sensors, 23.","DOI":"10.3390\/s23031639"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"e1485","DOI":"10.1002\/widm.1485","article-title":"Remote patient monitoring using artificial intelligence: Current state, applications, and challenges","volume":"13","author":"Shaik","year":"2023","journal-title":"WIREs Data Min. Knowl. Discov."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"292","DOI":"10.1016\/j.future.2022.01.013","article-title":"Communication-efficient distributed AI strategies for the IoT edge","volume":"131","author":"Mwase","year":"2022","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"5223","DOI":"10.1109\/JBHI.2022.3193148","article-title":"Dual-Branch Interactive Networks on Multichannel Time Series for Human Activity Recognition","volume":"26","author":"Tang","year":"2022","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Al-Atawi, A.A., Alyahyan, S., Alatawi, M.N., Sadad, T., Manzoor, T., Farooq-i-Azam, M., and Khan, Z.H. (2023). Stress Monitoring Using Machine Learning, IoT and Wearable Sensors. Sensors, 23.","DOI":"10.3390\/s23218875"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"100561","DOI":"10.1016\/j.iot.2022.100561","article-title":"Building structural analysis based Internet of Things network assisted earthquake detection","volume":"19","author":"Duggal","year":"2022","journal-title":"Internet Things"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"1907","DOI":"10.32604\/iasc.2022.027233","article-title":"Sport-related activity recognition from wearable sensors using bidirectional gru network","volume":"34","author":"Mekruksavanich","year":"2022","journal-title":"Intell. Autom. Soft Comput."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"113426","DOI":"10.1016\/j.dss.2020.113426","article-title":"Recognition of human activities for wellness management using a smartphone and a smartwatch: A boosting approach","volume":"140","author":"Tarafdar","year":"2021","journal-title":"Decis. Support Syst."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Liu, Y., Li, Z., Zheng, S., Cai, P., and Zou, X. (2022). An Evaluation of MEMS-IMU Performance on the Absolute Trajectory Error of Visual-Inertial Navigation System. Micromachines, 13.","DOI":"10.3390\/mi13040602"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"105886","DOI":"10.1016\/j.engappai.2023.105886","article-title":"A low-cost framework for the recognition of human motion gait phases and patterns based on multi-source perception fusion","volume":"120","author":"Dong","year":"2023","journal-title":"Eng. Appl. Artif. Intell."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"101026","DOI":"10.1016\/j.pmcj.2019.05.007","article-title":"Beyond position-awareness\u2014Extending a self-adaptive fall detection system","volume":"58","author":"Krupitzer","year":"2019","journal-title":"Pervasive Mob. Comput."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"1550147719885616","DOI":"10.1177\/1550147719885616","article-title":"The real-time elderly fall posture identifying scheme with wearable sensors","volume":"15","author":"Xu","year":"2019","journal-title":"Int. J. Distrib. Sens. Netw."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"100971","DOI":"10.1016\/j.iot.2023.100971","article-title":"A smart e-health framework for monitoring the health of the elderly and disabled","volume":"24","author":"Yazici","year":"2023","journal-title":"Internet Things"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"100614","DOI":"10.1016\/j.measen.2022.100614","article-title":"AI based elderly fall prediction system using wearable sensors: A smart home-care technology with IOT","volume":"25","author":"Kulurkar","year":"2023","journal-title":"Meas. Sens."},{"key":"ref_38","unstructured":"Mannheim University (2023, October 30). Germany\u2014Research Group Data and Web Science, DataSet\u2014RealWorld (HAR). Available online: https:\/\/sensor.informatik.uni-mannheim.de\/#dataset_realworld."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Ray, S., Alshouiliy, K., and Agrawal, D.P. (2021). Dimensionality Reduction for Human Activity Recognition Using Google Colab. Information, 12.","DOI":"10.3390\/info12010006"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Jain, V., and Liu, K. (2023, January 17\u201320). Hybrid IoT System for Emergency Responders. Proceedings of the 2023 11th IEEE International Conference on Mobile Cloud Computing, Services, and Engineering (MobileCloud), Services, Athens, Greece.","DOI":"10.1109\/MobileCloud58788.2023.00015"},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"261","DOI":"10.1016\/j.neucom.2021.11.044","article-title":"DCNN based human activity recognition framework with depth vision guiding","volume":"486","author":"Qi","year":"2022","journal-title":"Neurocomputing"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Gemirter, C.B., \u015eenturca, \u00c7., and Baydere, \u015e. (2021, January 15\u201317). A Comparative Evaluation of AMQP, MQTT and HTTP Protocols Using Real-Time Public Smart City Data. Proceedings of the 2021 6th International Conference on Computer Science and Engineering (UBMK), Ankara, Turkey.","DOI":"10.1109\/UBMK52708.2021.9559032"}],"container-title":["Journal of Sensor and Actuator Networks"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2224-2708\/13\/1\/5\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T13:38:30Z","timestamp":1760103510000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2224-2708\/13\/1\/5"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,2]]},"references-count":42,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2024,2]]}},"alternative-id":["jsan13010005"],"URL":"https:\/\/doi.org\/10.3390\/jsan13010005","relation":{},"ISSN":["2224-2708"],"issn-type":[{"value":"2224-2708","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,2]]}}}