Suppr超能文献

一种面向开发者的移动应用功耗评估框架:安卓能量嗅探案例研究

A Developer-Oriented Framework for Assessing Power Consumption in Mobile Applications: Android Energy Smells Case Study.

作者信息

Groza Claudiu, Dumitru-Cristian Apostol, Marcu Marius, Bogdan Razvan

机构信息

Faculty of Automation and Computers, Polyethnic University of Timisoara, 300006 Timisoara, Romania.

出版信息

Sensors (Basel). 2024 Oct 7;24(19):6469. doi: 10.3390/s24196469.

Abstract

Currently, people spend a lot of time using their mobile devices. With such ubiquity of mobile devices in our daily life, battery capacity and quality are of utmost importance. Running software applications (called apps) are one of the major factors influencing the power consumption in mobile devices. In order to meet user needs, mobile apps are becoming inherently complex and resource greedy. Therefore, fulfilling these requirements at the pace imposed by the market may degrade software construction quality and insert so-called energy code smells: bad patterns in the source code of an app that indicate a deeper problem and adversely affect power consumption. This work proposes a developer-oriented framework for identifying and fixing patterns via analyzing different application code flavors in a user-driven test scenario. A special app was designed in order to validate the Android implementation of the proposed methodology. The study results have shown significant improvement regarding energy efficiency after correcting one or more energy code smells, with a 4 to 30 percent decrease in battery drain. Additionally, the power consumption signature term is defined in the context of mobile applications. This paper presents a developer-oriented framework for assessing power consumption in mobile applications. Our key contributions include identifying significant energy code smells, demonstrating their impact on power consumption, and providing a toolset for developers to improve energy efficiency.

摘要

当前,人们花费大量时间使用移动设备。鉴于移动设备在我们日常生活中如此普遍,电池容量和质量至关重要。正在运行的软件应用程序(称为应用)是影响移动设备功耗的主要因素之一。为了满足用户需求,移动应用正变得越来越复杂且对资源的需求很大。因此,按照市场要求的速度满足这些需求可能会降低软件构建质量,并引入所谓的能源代码异味:应用源代码中的不良模式,表明存在更深层次的问题并对功耗产生不利影响。这项工作提出了一个面向开发者的框架,用于在用户驱动的测试场景中通过分析不同的应用代码风格来识别和修复模式。设计了一个特殊的应用来验证所提出方法的安卓实现。研究结果表明,在纠正一个或多个能源代码异味后,能源效率有了显著提高,电池耗电量减少了4%至30%。此外,在移动应用的背景下定义了功耗特征术语。本文提出了一个面向开发者的框架,用于评估移动应用中的功耗。我们的主要贡献包括识别重要的能源代码异味、展示它们对功耗的影响,以及为开发者提供一套提高能源效率的工具集。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/63d8/11479295/74a64e8fdd13/sensors-24-06469-g001.jpg

文献AI研究员

20分钟写一篇综述,助力文献阅读效率提升50倍。

立即体验

用中文搜PubMed

大模型驱动的PubMed中文搜索引擎

马上搜索

文档翻译

学术文献翻译模型,支持多种主流文档格式。

立即体验