{"title":"物联网应用的智能卸载:构建基于雾云的上下文感知卸载框架,并探索与区块链集成的潜力","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":"{\"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}","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
摘要
在互连设备(也称为现代物联网(IoT))的世界中,确保将计算资源有效地分配给附近的设备(如边缘、雾或云系统)以满足资源需求非常重要。但是,数据传输延迟、高能耗和响应时间慢等问题会对基于云的环境中对时间敏感的应用程序的性能产生负面影响。本文提出了用于资源受限物联网应用的上下文感知卸载框架(CAOF)。CAOF利用上下文信息来识别将任务卸载到云或本地实例中有益的场景。该框架旨在做出最佳卸载决策,以提高系统性能并最小化能耗。通过仿真评估了CAOF的有效性,并将其性能与现有卸载框架进行了比较。CAOF是作为Amazon Web Services (AWS)生态系统中的中间件解决方案实现的。该中间件集成了一个Greengrass智能网关,该网关根据上下文信息动态决定如何处理传入数据。智能网关既可以在本地弹性云计算(EC2)实例上处理数据,有效地创建一个雾层,也可以将数据直接发送到云进行进一步处理。实验结果表明,CAOF的能耗约为0.0011焦耳,所有EC2机器的平均内存利用率为3.46 MB。框架的执行时间,在边缘上平均为4.07秒,在云上平均为5.41秒,在专门利用EC2实例时仅为0.56秒,包括在多类分类任务中准确率为80.4%。CAOF系统地为每个卸载场景选择最合适的替代方案,以优化时间、内存、CPU和能耗方面的效率。提出的智能网关框架采用混合方法,通过考虑上下文数据来做出最佳的卸载决策。该研究的结论是设计和开发了一个基于边缘或雾的框架,该框架使用智能计算来使用机器学习推理做出决策。提出的框架架构结合了特征选择、分类和基于混合逻辑回归的学习,以实现最有效的卸载解决方案。
Smart offloading for IoT application: Building a fog-cloud based context aware offloading framework and exploring potential for integration with blockchain
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.