Smart offloading for IoT application: Building a fog-cloud based context aware offloading framework and exploring potential for integration with blockchain
IF 4 3区 计算机科学Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
{"title":"Smart offloading for IoT application: Building a fog-cloud based context aware offloading framework and exploring potential for integration with blockchain","authors":"Karan Bajaj , Shaily Jain , Raman Singh , Chander Prabha , Md. Mehedi Hassan , Anupam Kumar Bairagi , Sheikh Mohammed Shariful Islam","doi":"10.1016/j.compeleceng.2025.110292","DOIUrl":null,"url":null,"abstract":"<div><div>In the world of interconnected devices also referred to as the Internet of Things (IoT) in the modern era, it's important to ensure that computing resources are allocated efficiently to nearby devices such as edge, fog, or cloud systems to meet resource needs. However, problems such as delays in data transmission, high energy consumption, and slow response times can negatively impact the performance of time-sensitive applications in cloud-based environments.</div><div>This paper presents the Context-Aware Offloading Framework (CAOF) for resource-constrained IoT applications. CAOF leverages contextual information to identify scenarios where offloading tasks to the cloud or to the local instances are beneficial. The framework aims to make optimal offloading decisions to improve system performance and minimize energy consumption. The effectiveness of CAOF is evaluated through simulations, comparing its performance against established offloading frameworks. CAOF is implemented as a middleware solution within an Amazon Web Services (AWS) ecosystem. This middleware integrates a Greengrass intelligent gateway that dynamically determines how to handle incoming data based on contextual information. The intelligent gateway can either process the data on local Elastic Cloud Compute (EC2) instances, effectively creating a fog layer, or send it directly to the cloud for further processing.</div><div>Experimental results demonstrate that CAOF achieves an energy consumption of 0.0011 joules approximately, with an memory utilization of 3.46 MB calculated as and average over all the EC2 machines. The framework execution time, averaging 4.07 s on edge, 5.41 s on cloud, and only 0.56 s when leveraging EC2 instances specifically, including an 80.4% accuracy in multi-class classification tasks. The CAOF systematically selects the most suitable alternatives for each offloading scenario to optimize efficiency in terms of time, memory, CPU, and energy consumption. The proposed smart gateway framework utilizes a hybrid approach to make optimal offloading decisions by considering contextual data. The research concludes with the design and development of an edge or fog-based framework that uses smart computing to make decisions using machine learning reasoning. The proposed framework architecture incorporates feature selection, classification, and hybrid logistic regression-based learning for the most effective offloading solution.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"123 ","pages":"Article 110292"},"PeriodicalIF":4.0000,"publicationDate":"2025-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045790625002356","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
In the world of interconnected devices also referred to as the Internet of Things (IoT) in the modern era, it's important to ensure that computing resources are allocated efficiently to nearby devices such as edge, fog, or cloud systems to meet resource needs. However, problems such as delays in data transmission, high energy consumption, and slow response times can negatively impact the performance of time-sensitive applications in cloud-based environments.
This paper presents the Context-Aware Offloading Framework (CAOF) for resource-constrained IoT applications. CAOF leverages contextual information to identify scenarios where offloading tasks to the cloud or to the local instances are beneficial. The framework aims to make optimal offloading decisions to improve system performance and minimize energy consumption. The effectiveness of CAOF is evaluated through simulations, comparing its performance against established offloading frameworks. CAOF is implemented as a middleware solution within an Amazon Web Services (AWS) ecosystem. This middleware integrates a Greengrass intelligent gateway that dynamically determines how to handle incoming data based on contextual information. The intelligent gateway can either process the data on local Elastic Cloud Compute (EC2) instances, effectively creating a fog layer, or send it directly to the cloud for further processing.
Experimental results demonstrate that CAOF achieves an energy consumption of 0.0011 joules approximately, with an memory utilization of 3.46 MB calculated as and average over all the EC2 machines. The framework execution time, averaging 4.07 s on edge, 5.41 s on cloud, and only 0.56 s when leveraging EC2 instances specifically, including an 80.4% accuracy in multi-class classification tasks. The CAOF systematically selects the most suitable alternatives for each offloading scenario to optimize efficiency in terms of time, memory, CPU, and energy consumption. The proposed smart gateway framework utilizes a hybrid approach to make optimal offloading decisions by considering contextual data. The research concludes with the design and development of an edge or fog-based framework that uses smart computing to make decisions using machine learning reasoning. The proposed framework architecture incorporates feature selection, classification, and hybrid logistic regression-based learning for the most effective offloading solution.
期刊介绍:
The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency.
Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.