logo

SCIENCE CHINA Information Sciences, Volume 60, Issue 1: 012106(2017) https://doi.org/10.1007/s11432-015-1026-y

DelayDroid: an instrumented approach to reducing tail-time energy of Android apps

More info
  • ReceivedMay 20, 2016
  • AcceptedJul 8, 2016
  • PublishedNov 17, 2016

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 as well as no SDK/OS changes. 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\%.


Funded by

National Natural Science Foundation of China(61300002)

National High Technology Research and Development Program of China(863)

National Natural Science Foundation of China(61421091)

National Natural Science Foundation of China(61370020)

"source" : null , "contract" : "2013AA01A208"


Acknowledgment

Acknowledgments

This work was supported by National High Technology Research and Development Program of China (863) (Grant No. 2013AA01A208) and National Natural Science Foundation of China (Grant Nos. 61300002, 61421091, 61370020).


References

[1] {Balasubramanian N, Balasubramanian A, Venkataramani A.} Energy consumption in mobile phones: a measurement study and implications for network applications. In: Proceedings of the 9th {ACM} {SIGCOMM} Conference on Internet Measurement, Chicago, 2009. 280--293. Google Scholar

[2] {Huang J, Qian F, Mao Z M, et al.} Screen-off traffic characterization and optimization in 3G/4G networks. In: Pro-\linebreak ceedings of the 12th {ACM} {SIGCOMM} Conference on Internet Measurement, Boston, 2012. 357--364. Google Scholar

[3] {Qian F, Wang Z, Gao Y, et al.} Periodic transfers in mobile applications: network-wide origin, impact, and optimization. In: Proceedings of the 21st World Wide Web Conference, Lyon, 2012. 51--60. Google Scholar

[4] {Qian F, Wang Z, Gerber A, et al.} {TOP:} tail optimization protocol for cellular radio resource allocation. In: Proceedings of the 18th Annual {IEEE} International Conference on Network Protocols, Kyoto, 2010. 285--294. Google Scholar

[5] {Chuah M C, Luo W, Zhang X.} Impacts of inactivity timer values on {UMTS} system capacity. In: Proceedings of IEEE Wireless Communications and Networking Conference Record, Orlando, 2002. 897--903. Google Scholar

[6] {Swiech M, Dinda P A.} Making javascript better by making it even slower. In: Proceedings of the 21st International Symposium on Modelling, Analysis and Simulation of Computer and Telecommunication Systems, San Francisco, 2013. 70--79. Google Scholar

[7] {Huang J, Qian F, Gerber A, et al.} A close examination of performance and power characteristics of 4G {LTE} networks. In: Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, MobiSys'12, Ambleside, 2012. 225--238. Google Scholar

[8] {Athivarapu P K, Bhagwan R, Guha S, et al.} Radiojockey: mining program execution to optimize cellular radio usage. In: Proceedings of the 18th Annual International Conference on Mobile Computing and Networking, Istanbul, 2012. 101--112. Google Scholar

[9] {Puustinen I, Nurminen J.} The effect of unwanted internet traffic on cellular phone energy consumption. In: Proceedings of International Conference on New Technologies, Mobility and Security (NTMS), Paris, 2011. 1--5. Google Scholar

[10] {Yeh J-H, Chen J-C, Lee C-C. } Comparative analysis of energy-saving techniques in 3GPP and 3GPP2 systems. newblock IEEE Trans Veh Tech, 2009, 58: 432-448 CrossRef Google Scholar

[11] {Qian F, Wang Z, Gerber A, et al.} Profiling resource usage for mobile applications: a cross-layer approach. In: Pro-\linebreak ceedings of the 9th International Conference on Mobile Systems, Applications, and Services, Bethesda, 2011. 321--334. Google Scholar

[12] {Xu F, Liu Y, Moscibroda T, et al.} Optimizing background email sync on smartphones. In: Proceedings of the 11th Annual International Conference on Mobile Systems, Applications, and Services, Taipei, 2013. 55--68. Google Scholar

[13] {Nikzad N, Chipara O, Griswold W G.} APE: an annotation language and middleware for energy-efficient mobile application development. In: Proceedings of the 36th International Conference on Software Engineering, Hyderabad, 2014. 515--526. Google Scholar

[14] {Vergara E J, Sanjuan J, Nadjm{-}Tehrani S.} Kernel level energy-efficient 3G background traffic shaper for Android smartphones. In: Prcoeedings of the 9th International Wireless Communications and Mobile Computing Conference, Sardinia, 2013. 443--449. Google Scholar

[15] {Vergara E J, Nadjm-Tehrani S.} Energy-aware cross-layer burst buffering for wireless communication. In: Proceedings of the 3rd International Conference on Future Energy Systems: Where Energy, Computing and Communication Meet. New York: ACM, 2012. 24. Google Scholar

[16] {Zhang Y, Huang G, Liu X, et al.} Refactoring Android java code for on-demand computation offloading. In: Proceedings of the 27th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, Tucson, 2012. 233--248. Google Scholar

[17] {Wu X, Xu C, Lu Z, et al.} Cosedroid: Effective computation- and sensing-offloading for Android apps. In: Proceedings of the 39th {IEEE} Annual Computer Software and Applications Conference, Taichung, 2015. 2: 632--637. Google Scholar

[18] {Ravindranath L, Agarwal S, Padhye J, et al.} Procrastinator: pacing mobile apps' usage of the network. In: Proceedings of the 12th Annual International Conference on Mobile Systems, Applications, and Services, Bretton Woods, 2014. 232--244. Google Scholar

Copyright 2019 Science China Press Co., Ltd. 《中国科学》杂志社有限责任公司 版权所有

京ICP备18024590号-1