首页> 外文会议>International conference on mobile systems, applications, and services >What is keeping my phone awake? Characterizing and Detecting No-Sleep Energy Bugs in Smartphone Apps
【24h】

What is keeping my phone awake? Characterizing and Detecting No-Sleep Energy Bugs in Smartphone Apps

机译:是什么让我的手机保持唤醒状态?表征和检测智能手机应用中的无睡眠能量错误

获取原文

摘要

Despite their immense popularity in recent years, smartphones are and will remain severely limited by their battery life. Preserving this critical resource has driven smartphone OSes to undergo a paradigm shift in power management: by default every component, including the CPU. stays off or in an idle slate, unless the app explicitly instructs the OS to keep it on! Such a policy encumbers app developers to explicitly juggle power control APIs exported by the OS to keep the components on, during their active use by the app and off otherwise. The resulting power-encumbered programming unavoidably gives rise to a new class of software energy bugs on smartphones called no-sleep bugs, which arise from mishandling power control APIs by apps or the framework and result in significant and unexpected battery drainage.This paper makes the first advances towards understanding and automatically detecting software energy bugs on smartphones. It makes the following three contributions: (1) we present the first comprehensive study of real world no-sleep energy bug characteristics: (2) we propose the lirst automatic solution to detect these bugs based on the classic reaching definitions dataflow analysis algorithm: (3) we provide experimental data showing that our tool accurately detected all 14 known instances of no-sleep bugs and found 30 new bugs in the 86 apps examined.
机译:尽管近年来智能手机非常流行,但智能手机仍会受到电池寿命的严重限制。保留此关键资源已促使智能手机OS进行电源管理的范式转换:默认情况下,每个组件(包括CPU)。保持关闭状态或处于空闲状态,除非该应用明确指示操作系统保持打开状态!这样的策略会阻碍应用程序开发人员显式地处理由OS导出的电源控制API,以在应用程序积极使用组件的过程中使组件保持打开状态,否则将其关闭。随之而来的耗电编程不可避免地会在智能手机上引发一类新型的软件耗能错误,称为无睡眠错误,这种错误是由应用程序或框架对电源控制API的处理不当而导致的,这会导致大量的电池意外消耗。首先是在了解和自动检测智能手机上的软件能量错误方面取得进展。它做出了以下三个贡献:(1)我们对现实世界中的非睡眠能源漏洞特征进行了首次全面研究:(2)我们提出了基于经典的到达定义数据流分析算法来检测这些漏洞的最简单的自动解决方案:( 3)我们提供的实验数据表明,我们的工具准确地检测了14个已知的非睡眠错误实例,并在所检查的86个应用中发现了30个新错误。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号