DelayDroid: Reducing Tail-Time Energy by Refactoring Android Apps

Huaqian Cai, Ying Zhang, Zhi Jin, Xuanzhe Liu, Gang Huang
{"title":"DelayDroid: Reducing Tail-Time Energy by Refactoring Android Apps","authors":"Huaqian Cai, Ying Zhang, Zhi Jin, Xuanzhe Liu, Gang Huang","doi":"10.1145/2875913.2875915","DOIUrl":null,"url":null,"abstract":"Mobile devices with 3G/4G networking often waste energy in the so-called \"tail time\" during which the radio is kept on even though no communication is occurring. Prior work has proposed policies to reduce this energy waste by batching network requests. However, this work is challenging to apply in practice due to a lack of mechanisms. In response, we have developed DelayDroid, a framework that allows a developer to add the needed policy to existing, unmodified Android applications (apps) with no human effort. This allows such prior work (as well as our own policies) to be readily deployed and evaluated. The DelayDroid compile-time uses static analysis and bytecode refactoring to identify method calls that send network requests and modify such calls to detour them to the DelayDroid run-time. The run-time then applies a policy to batch them, avoiding the tail time energy waste. DelayDroid also includes a cross-app communication mechanism that supports policies that optimize across multiple apps running together, and we propose a policy that does so. We evaluated the correctness and universality of the DelayDroid mechanisms on 14 popular Android apps chosen from the Google App Store. To evaluate our proposed policy, we studied three DelayDroid-enabled apps (weather forecasting, email client, and news client) running together, finding that the DelayDroid mechanisms combined with our policy can reduce 3G/4G tail time energy waste by 36%.","PeriodicalId":361135,"journal":{"name":"Proceedings of the 7th Asia-Pacific Symposium on Internetware","volume":"236 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-11-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 7th Asia-Pacific Symposium on Internetware","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2875913.2875915","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Mobile devices with 3G/4G networking often waste energy in the so-called "tail time" during which the radio is kept on even though no communication is occurring. Prior work has proposed policies to reduce this energy waste by batching network requests. However, this work is challenging to apply in practice due to a lack of mechanisms. In response, we have developed DelayDroid, a framework that allows a developer to add the needed policy to existing, unmodified Android applications (apps) with no human effort. This allows such prior work (as well as our own policies) to be readily deployed and evaluated. The DelayDroid compile-time uses static analysis and bytecode refactoring to identify method calls that send network requests and modify such calls to detour them to the DelayDroid run-time. The run-time then applies a policy to batch them, avoiding the tail time energy waste. DelayDroid also includes a cross-app communication mechanism that supports policies that optimize across multiple apps running together, and we propose a policy that does so. We evaluated the correctness and universality of the DelayDroid mechanisms on 14 popular Android apps chosen from the Google App Store. To evaluate our proposed policy, we studied three DelayDroid-enabled apps (weather forecasting, email client, and news client) running together, finding that the DelayDroid mechanisms combined with our policy can reduce 3G/4G tail time energy waste by 36%.
DelayDroid:通过重构Android应用程序减少尾时间能量
拥有3G/4G网络的移动设备经常在所谓的“尾时间”浪费能量,在此期间,即使没有通信发生,无线电也保持开着。先前的工作已经提出了通过批处理网络请求来减少这种能源浪费的策略。然而,由于缺乏机制,这项工作在实践中应用具有挑战性。作为回应,我们开发了DelayDroid,这是一个框架,允许开发人员将所需的策略添加到现有的、未修改的Android应用程序中,而无需人工操作。这使得这样的前期工作(以及我们自己的策略)可以很容易地部署和评估。DelayDroid编译时使用静态分析和字节码重构来识别发送网络请求的方法调用,并修改这些调用,使它们绕过DelayDroid运行时。然后运行时应用策略对它们进行批处理,避免了尾时间的能源浪费。DelayDroid还包括一个跨应用程序通信机制,支持跨多个应用程序一起运行的优化策略,我们提出了一个这样做的策略。我们评估了DelayDroid机制的正确性和普遍性,从b谷歌应用商店中选择了14个流行的Android应用程序。为了评估我们提出的策略,我们研究了三个支持DelayDroid的应用程序(天气预报、电子邮件客户端和新闻客户端)一起运行,发现DelayDroid机制与我们的策略相结合可以减少36%的3G/4G尾时间能源浪费。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信