CARE-Mid: Context-Aware IoT Middleware for Real-Time Resource Management in Smart Environments
DOI:
https://doi.org/10.4108/eetiot.13129Keywords:
Quality-of-Service, Service Level Agreement, Static service orchestration, Quality-of-Context, Latency, Energy EfficiencyAbstract
Smart settings, such intelligent buildings, campuses, and hospitals, rely on a lot of different IoT devices that are always sending and receiving data and control tasks. Most middleware solutions today only focus on either connection or static service orchestration. They don't know much about the surrounding context, future workload, or Quality-of-Service (QoS) limits. This often results in poor task placement, wasteful cloud offloading, and frequent Service Level Agreement (SLA) violations when traffic is high. This article puts forth CARE-Mid, a context-aware IoT middleware designed for real-time resource management across both edge and cloud levels. CARE-Mid combines four important features: (i) getting semantic context and evaluating Quality-of-Context (QoC), (ii) predicting workload and resource demand based on context, (iii) scheduling multiple objectives that optimise latency, energy, and SLA compliance at the same time, and (iv) adaptive priority control based on current utility and recent violations. The framework is set up as a microservice-based platform on an edge-cloud testbed and tested with a genuine smart-building dataset. Experimental results indicate that, in comparison to a standard baseline middleware, CARE-Mid decreases average end-to-end latency by 20–30%, enhances the deadline-hit rate to around 97%, and minimises SLA violations by over 50% during heavy load conditions. A context-aware hybrid placement technique, on the other hand, uses 20–25% less energy and costs 20–25% less to run than cloud-only execution. Ablation experiments show that context modelling, prediction, and adaptive scheduling all play a big role in these improvements.
Downloads
References
[1] Goumopoulos, C. Smart city middleware: A survey and a conceptual framework. IEEE Access, 2024; 12: 4015-4047.
[2] Al Sibahee, M. A., Abduljabbar, Z. A., Ngueilbaye, A., Luo, C., Li, J., Huang, Y., et al. Blockchain-based authentication schemes in smart environments: A systematic literature review. IEEE Internet of Things Journal, 2024; 11(21): 34774-34796.
[3] Pianini, D., Re, B., Rossi, L., & Zambonelli, F. Envisioning unpredictability in smart environments. In: Fluidware: Novel Approaches for Large-Scale IoT Systems. Cham: Springer International Publishing, 2024; 165-178.
[4] Panayiotou, K., Doumanidis, C., Tsardoulias, E., & Symeonidis, A. L. SmAuto: A domain-specific-language for application development in smart environments. Pervasive and Mobile Computing, 2024; 101: 101931.
[5] Singaraju, S., Sree, R., Murthy, C., Murthy, D., Kakulapati, V., & Saligrama, S. Smart environment. Journal of Emerging Technologies and Innovative Research, 2024.
[6] Magara, T., & Zhou, Y. Internet of things (IoT) of smart homes: Privacy and security. Journal of Electrical and Computer Engineering, 2024; 2024(1): 7716956.
[7] Prakash, M., Tyagi, A. K., Arumugam, S. K., & Rawat, A. Internet of Things for building a smart and sustainable environment: A survey. In: A Sustainable Future with E-Mobility: Concepts, Challenges, and Implementations. IGI Global, 2024; 16-37.
[8] Rani, R., & Deb, T. Emergence of advanced computational intelligence coupled with smart environment. In: Optimized Computational Intelligence Driven Decision-Making: Theory, Application and Challenges, 2024; 1-27.
[9] Kumar, R., & Agrawal, N. EDMA-RM: An event-driven and mobility-aware resource management framework for green IoT-edge-fog-cloud networks. IEEE Sensors Journal, 2024; 24(14): 23004-23012.
[10] Yew, H. T., Mamat, M., Dargham, J. A., Kheau, C. S., & Moung, E. G. (Eds.). Internet of Things and Artificial Intelligence for Smart Environments. Springer, 2024.
[11] Papaioannou, C., Dimara, A., Papaioannou, A., Tzitzios, I., Anagnostopoulos, C. N., & Krinidis, S. Hierarchical resources management system for Internet of Things-enabled smart cities. Sensors, 2025; 25(3): 616.
[12] dos Santos, L. E., Júnior, P. R. L., & Gomes, R. D. Federated learning middleware for smart campus solutions. Journal of Ambient Intelligence and Humanized Computing, 2025; 1-13.
[13] Serepas, F., Papias, I., Christakis, K., Dimitropoulos, N., & Marinakis, V. Lightweight embedded IoT gateway for smart homes based on an ESP32 microcontroller. Computers, 2025; 14(9): 391.
[14] Rahaman, T. Smart environmental monitoring systems for air and water quality management. American Journal of Advanced Technology and Engineering Solutions, 2025; 1(01): 1-19.
[15] Afzal, I., Ahmad, Z., & Algarni, A. A latency-aware and fault-tolerant framework for resource scheduling and data management in fog-enabled smart city transportation systems. Computers, Materials & Continua, 2025; 82(1).
[16] Rahman, H., Medhi, K., & Hussain, M. I. A fog-based smart semantic web approach to support heterogeneity and quality of service in IoT. IETE Journal of Research, 2025; 1-19.
[17] Marche, C. Edge–cloud orchestration for IoT services: Technologies, architectures, and research directions. IEEE Access, 2026; 14: 117775-117792.
[18] Huang, S., Wang, Z., Zhang, H., Wang, X., Zhang, C., & Wang, W. DynEformer: A unified framework for robust workload prediction under dynamic environment. IEEE Transactions on Knowledge and Data Engineering, 2026; 38(7): 4239-4253.
[19] Nature article. Available at: https://www.nature.com/articles/s41597-021-00989-6.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Suresh J, Muneshwa Ra M S, Siva Reddy Sonti, D Prasan U, Soujanya Saraswathi, Sudhakar G.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This is an open-access article distributed under the terms of the Creative Commons Attribution CC BY 4.0 license, which permits unlimited use, distribution, and reproduction in any medium so long as the original work is properly cited.
