摘要
智能手机后台应用的网络请求极大地影响着待机时间.已有的工作提出了节省手机能耗的应用网络请求调度算法,然而,如何将算法自动地应用到既有手机系统,仍面临着巨大挑战:(1)在没有应用源代码的情况下,实现单个应用内的网络请求合并;(2)在不对操作系统进行任何修改的情况下,按需合并多个应用中的网络请求.以安卓应用为目标,给出了一种通过自动程序转换来支持现有移动应用中网络请求延迟调度的方法及其框架实现——DelayDroid,用以提升手机整体待机时间.通过字节码分析和程序自动转换技术解决以上挑战.与已有工作相比,DelayDroid有两大特色:一是程序转换自动执行;二是转换后的应用可支持多应用的后台网络请求调度,该调度机制可以降低安卓应用的待机耗电.此外,DelayDroid被设计为可对只有dex字节码的安卓应用进行转换,更具实用性.
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.
出处
《软件学报》
EI
CSCD
北大核心
2017年第12期3367-3384,共18页
Journal of Software
基金
国家高技术研究发展计划(863)(2015AA01A202)
国家自然科学基金(61421091)~~
关键词
网络请求合并
安卓应用优化
程序转换
能耗
network request batching
Android app optimization
program transformation
energy
作者简介
蔡华谦(1990-),男,福建石狮人,博士生主要研究领域为移动计算,软件中间件.;通信作者:张颖,E—mail:zhang.ying@pku.edu.cn张颖(1983-),男,博士,讲师,CCF专业会员,主要研究领域为软件工程,软件中间件,自治计算,分布式计算.;黄罡(1975-),男,博士,教授,博士生导师,CCF专业会员,主要研究领域为软件中间件,软件体系结构,网构软件.;梅宏(1963-),男,博士,教授,博士生导师,中国科学院院士,CCF会士,主要研究领域为软件工程,软件中间件,软件体系结构.