引用本文:蔡华谦,张颖,黄罡,梅宏.一种优化安卓应用3G/4G网络请求能耗的方法.软件学报,2017,28(12):3367-3384
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 2730次   下载 5940 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种优化安卓应用3G/4G网络请求能耗的方法
蔡华谦1,2, 张颖2,3, 黄罡1,2, 梅宏1,2
1.北京大学 信息科学技术学院 软件研究所, 北京 100871;2.高可信软件技术教育部重点实验室(北京大学), 北京 100871;3.北京大学 软件工程国家工程研究中心, 北京 100871
摘要:
智能手机后台应用的网络请求极大地影响着待机时间.已有的工作提出了节省手机能耗的应用网络请求调度算法,然而,如何将算法自动地应用到既有手机系统,仍面临着巨大挑战:(1)在没有应用源代码的情况下,实现单个应用内的网络请求合并;(2)在不对操作系统进行任何修改的情况下,按需合并多个应用中的网络请求.以安卓应用为目标,给出了一种通过自动程序转换来支持现有移动应用中网络请求延迟调度的方法及其框架实现——DelayDroid,用以提升手机整体待机时间.通过字节码分析和程序自动转换技术解决以上挑战.与已有工作相比,DelayDroid有两大特色:一是程序转换自动执行;二是转换后的应用可支持多应用的后台网络请求调度,该调度机制可以降低安卓应用的待机耗电.此外,DelayDroid被设计为可对只有dex字节码的安卓应用进行转换,更具实用性.
关键词:  网络请求合并  安卓应用优化  程序转换  能耗
DOI:10.13328/j.cnki.jos.005325
分类号:
基金项目:国家高技术研究发展计划(863)(2015AA01A202);国家自然科学基金(61421091)
Approach to Scheduling Network Requests in Android Apps
CAI Hua-Qian1,2, ZHANG Ying2,3, HUANG Gang1,2, MEI Hong1,2
1.Institute of Software, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China;2.Key Laboratory of High Confidence Software Technology(Peking University), Ministry of Education, Beijing 100871, China;3.National Engineering Research Center for Software Engineering, Peking University), Beijing 100871, China
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 developed policies to reduce this energy waste by batching network requests. However, it is challenging to apply such policies to existing apps in practice due to lack of mechanisms. This paper proposes an automatic program transformation approach for scheduling network requests in Android apps. The core of the approach is bytecode transformation for existing Android apps. Addressing the technical challenges in automatic transformation, the paper implements a transformation system named DelayDroid. Comparing to previous work, DelayDroid has two major characteristics. First, transformation is carried out automatically. Second, DelayDroid is designed to be a practicable tool, as it can transform Android apps with only dex bytecode.
Key words:  network request batching  Android app optimization  program transformation  energy

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: