Journal of Software:2017.28(12):3367-3384

(北京大学 信息科学技术学院 软件研究所, 北京 100871;高可信软件技术教育部重点实验室(北京大学), 北京 100871;高可信软件技术教育部重点实验室(北京大学), 北京 100871;北京大学 软件工程国家工程研究中心, 北京 100871)
Approach to Scheduling Network Requests in Android Apps
CAI Hua-Qian,ZHANG Ying,HUANG Gang,MEI Hong
(Institute of Software, School of Electronics Engineering and Computer Science, Peking University, Beijing 100871, China;Key Laboratory of High Confidence Software Technology(Peking University), Ministry of Education, Beijing 100871, China;Key Laboratory of High Confidence Software Technology(Peking University), Ministry of Education, Beijing 100871, China;National Engineering Research Center for Software Engineering, Peking University), Beijing 100871, China)
Chart / table
Similar Articles
Article :Browse 785   Download 936
Received:June 26, 2016    Revised:January 11, 2017
> 中文摘要: 智能手机后台应用的网络请求极大地影响着待机时间.已有的工作提出了节省手机能耗的应用网络请求调度算法,然而,如何将算法自动地应用到既有手机系统,仍面临着巨大挑战:(1)在没有应用源代码的情况下,实现单个应用内的网络请求合并;(2)在不对操作系统进行任何修改的情况下,按需合并多个应用中的网络请求.以安卓应用为目标,给出了一种通过自动程序转换来支持现有移动应用中网络请求延迟调度的方法及其框架实现——DelayDroid,用以提升手机整体待机时间.通过字节码分析和程序自动转换技术解决以上挑战.与已有工作相比,DelayDroid有两大特色:一是程序转换自动执行;二是转换后的应用可支持多应用的后台网络请求调度,该调度机制可以降低安卓应用的待机耗电.此外,DelayDroid被设计为可对只有dex字节码的安卓应用进行转换,更具实用性.
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.
文章编号:     中图分类号:    文献标志码:
基金项目:国家高技术研究发展计划(863)(2015AA01A202);国家自然科学基金(61421091) 国家高技术研究发展计划(863)(2015AA01A202);国家自然科学基金(61421091)
Foundation items:High-Tech Research and Development Program of China (863) (2015AA01A202); National Natural Science Foundation of China (61421091)
Reference text:


CAI Hua-Qian,ZHANG Ying,HUANG Gang,MEI Hong.Approach to Scheduling Network Requests in Android Apps.Journal of Software,2017,28(12):3367-3384