JSEVAsync:基于异步事件的物联网设备节能框架

Fernando L. Oliveira, J. Mattos
{"title":"JSEVAsync:基于异步事件的物联网设备节能框架","authors":"Fernando L. Oliveira, J. Mattos","doi":"10.1109/SBESC56799.2022.9965063","DOIUrl":null,"url":null,"abstract":"Typically the Internet of Things devices are constrained in terms of processing, memory, and energy consumption. Energy consumption is a critical aspect of these devices, being heavily impacted by how programs are developed, and it becomes more evident in interpreted languages that naturally demand more resources. Commonly embedded software development uses Time-triggered (TT) and Event-triggered (ET) architectures to design embedded projects. However, the TT strategy can consume more energy due to the polling method; in contrast, the ET approach can be energy-efficient but cannot deal with multiple events. This paper introduces JSEVAsync, a framework to help developers to design applications using JavaScript language for IoT devices that combine the best parts of TT and ET architectures. This approach uses JavaScript's non-blocking concept as a development interface to structure the algorithms into asynchronous events. To validate it, we compare C- and JavaScript-based applications and analyze the results from the energy consumption perspective. We found that writing code through JSEVAsync can be up to 21% more energy efficient than the traditional method. Moreover, JavaScript can improve design-time aspects such as readability, maintainability, and code reuse.","PeriodicalId":130479,"journal":{"name":"2022 XII Brazilian Symposium on Computing Systems Engineering (SBESC)","volume":"209 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"JSEVAsync: An Asynchronous Event-based Framework to Energy Saving on IoT Devices\",\"authors\":\"Fernando L. Oliveira, J. Mattos\",\"doi\":\"10.1109/SBESC56799.2022.9965063\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Typically the Internet of Things devices are constrained in terms of processing, memory, and energy consumption. Energy consumption is a critical aspect of these devices, being heavily impacted by how programs are developed, and it becomes more evident in interpreted languages that naturally demand more resources. Commonly embedded software development uses Time-triggered (TT) and Event-triggered (ET) architectures to design embedded projects. However, the TT strategy can consume more energy due to the polling method; in contrast, the ET approach can be energy-efficient but cannot deal with multiple events. This paper introduces JSEVAsync, a framework to help developers to design applications using JavaScript language for IoT devices that combine the best parts of TT and ET architectures. This approach uses JavaScript's non-blocking concept as a development interface to structure the algorithms into asynchronous events. To validate it, we compare C- and JavaScript-based applications and analyze the results from the energy consumption perspective. We found that writing code through JSEVAsync can be up to 21% more energy efficient than the traditional method. Moreover, JavaScript can improve design-time aspects such as readability, maintainability, and code reuse.\",\"PeriodicalId\":130479,\"journal\":{\"name\":\"2022 XII Brazilian Symposium on Computing Systems Engineering (SBESC)\",\"volume\":\"209 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-11-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 XII Brazilian Symposium on Computing Systems Engineering (SBESC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SBESC56799.2022.9965063\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 XII Brazilian Symposium on Computing Systems Engineering (SBESC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBESC56799.2022.9965063","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

通常,物联网设备在处理、内存和能耗方面受到限制。能源消耗是这些设备的一个关键方面,受到程序开发方式的严重影响,并且在自然需要更多资源的解释语言中变得更加明显。通常嵌入式软件开发使用时间触发(TT)和事件触发(ET)架构来设计嵌入式项目。然而,由于采用轮询方法,TT策略会消耗更多的能量;相比之下,ET方法可以是节能的,但不能处理多个事件。本文介绍了JSEVAsync,这是一个框架,可以帮助开发人员使用JavaScript语言为物联网设备设计应用程序,它结合了TT和ET架构的最佳部分。这种方法使用JavaScript的非阻塞概念作为开发接口,将算法结构化为异步事件。为了验证它,我们比较了基于C和基于javascript的应用程序,并从能耗的角度分析了结果。我们发现,通过JSEVAsync编写代码可以比传统方法节省高达21%的能源效率。此外,JavaScript可以改善设计时的一些方面,如可读性、可维护性和代码重用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
JSEVAsync: An Asynchronous Event-based Framework to Energy Saving on IoT Devices
Typically the Internet of Things devices are constrained in terms of processing, memory, and energy consumption. Energy consumption is a critical aspect of these devices, being heavily impacted by how programs are developed, and it becomes more evident in interpreted languages that naturally demand more resources. Commonly embedded software development uses Time-triggered (TT) and Event-triggered (ET) architectures to design embedded projects. However, the TT strategy can consume more energy due to the polling method; in contrast, the ET approach can be energy-efficient but cannot deal with multiple events. This paper introduces JSEVAsync, a framework to help developers to design applications using JavaScript language for IoT devices that combine the best parts of TT and ET architectures. This approach uses JavaScript's non-blocking concept as a development interface to structure the algorithms into asynchronous events. To validate it, we compare C- and JavaScript-based applications and analyze the results from the energy consumption perspective. We found that writing code through JSEVAsync can be up to 21% more energy efficient than the traditional method. Moreover, JavaScript can improve design-time aspects such as readability, maintainability, and code reuse.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Distributed Learning using Consensus on Edge AI Integrating Autonomous Vehicle Simulation Tools using SmartData Trusted Monitor: TEE-Based System Monitoring Possible risks with EVT-based timing analysis: an experimental study on a multi-core platform Data-driven Anomaly Detection of Engine Knock based on Automotive ECU
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1