Approach to Scheduling Network Requests in Android Apps

被引:0
|
作者
Cai H.-Q. [1 ,2 ]
Zhang Y. [2 ,3 ]
Huang G. [1 ,2 ]
Mei H. [1 ,2 ]
机构
[1] Institute of Software, School of Electronics Engineering and Computer Science, Peking University, Beijing
[2] Key Laboratory of High Confidence Software Technology, Peking University, Ministry of Education, Beijing
[3] National Engineering Research Center for Software Engineering, Peking University, Beijing
来源
Zhang, Ying (zhang.ying@pku.edu.cn) | 1600年 / Chinese Academy of Sciences卷 / 28期
基金
中国国家自然科学基金;
关键词
Android app optimization; Energy; Network request batching; Program transformation;
D O I
10.13328/j.cnki.jos.005325
中图分类号
学科分类号
摘要
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. © Copyright 2017, Institute of Software, the Chinese Academy of Sciences. All rights reserved.
引用
收藏
页码:3367 / 3384
页数:17
相关论文
共 24 条
  • [1] Yang F.Q., Mei H., Lu J., Jin Z., Some discussion on the development of software technology, Acta Electronica Sinica, 30, 12, pp. 1901-1906, (2002)
  • [2] Yang F.Q., Lu J., Mei H., Technical framework for internetware: An architecture centric approach, Science in China Series E: Technological Sciences, 38, 6, pp. 818-828, (2008)
  • [3] Balasubramanian N., Balasubramanian A., Venkataramani A., Energy consumption in mobile phones: A measurement study and implications for network applications, Proc. of the 9th ACM SIGCOMM Conf. on Internet Measurement Conf., pp. 280-293, (2009)
  • [4] Huang J., Qian F., Mao Z.M., Sen S., Spatscheck O., Screen-Off traffic characterization and optimization in 3G/4G networks, Proc. of the ACM Conf. on Internet Measurement Conf, pp. 46-62, (2012)
  • [5] Qian F., Wang Z., Gerber A., Mao Z.M., Sen S., Spatscheck O., TOP: Tail optimization protocol for cellular radio resource allocation, Proc. of the IEEE ICNP, pp. 285-294, (2010)
  • [6] Chen W., Wei J., Huang T., W<sup>4</sup>H: An analytical framework for software deployment technologies, Ruan Jian Xue Bao/Journal of Software, 23, 7, pp. 1669-1687, (2012)
  • [7] PeriodicTask
  • [8] Android platform versions
  • [9] Dex bytecode
  • [10] Beck B.K., Fowler M., Bad smells in code, Proc. of the Refactoring-Improving the Design of Existing Code, (2010)