Container-Based Customization Approach for Mobile Environments on Clouds

  • Jiahuan Hu
  • Song WuEmail author
  • Hai Jin
  • Hanhua Chen
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11204)


Recently, mobile cloud which utilizes the elastic resources of clouds to provide services for mobile applications, is becoming more and more popular. When building a mobile cloud platform (MCP), one of the most important things is to provide an execution environment for mobile applications, e.g., the Android mobile operating system (OS). Many efforts have been made to build Android environments on clouds, such as Android virtual machines (VMs) and Android containers. However, the need of customizable Android execution environments for MCP has been ignored for many years, since the existing OS customization solutions are only designed for hardware-specific platforms or driver-specific applications, and taking little account of frequently-changing scenarios on clouds. Moreover, they lack a unified method of customization, as well as an effective upgrade and maintenance mechanism. As a result, they are not suitable for varied and large-scale scenarios on clouds. Therefore, in this paper, we propose a unified and effective approach for customizing Android environments on clouds. The approach provides a container-based solution to custom-tailor Android OS components, as well as a way to run Android applications for different scenarios. Under the guidance of this approach, we develop an automatic customization toolkit named AndroidKit for generating specific Android OS components. Through this toolkit, we are able to boot new Android VM instances called AndroidXs. These AndroidXs are composed of OS images generated by AndroidKit, which can be easily customized and combined for varied demands on clouds.


Mobile cloud Execution environment Android Container-based customization approach AndroidKit AndroidX 



This research is supported by National Key Research and Development Program under grant 2016YFB1000501, and National Science Foundation of China under grants No. 61732010 and 61872155.


  1. 1.
    Cuervo, E., et al.: MAUI: making smartphones last longer with code offload. In: Proceedings of MobiSys, pp. 49–62. ACM (2010)Google Scholar
  2. 2.
    Chun, B., Ihm, S., Maniatis, P., Naik, M., Patti, A.: Clonecloud: elastic execution between mobile device and cloud. In: Proceedings of EuroSys, pp. 301–314. ACM (2011)Google Scholar
  3. 3.
    Kosta, S., Aucinas, A., Hui, P., Mortier, R., Zhang, X.: Thinkair: Dynamic resource allocation and parallel execution in the cloud for mobile code offloading. In: Proceedings of INFOCOM, pp. 945–953. IEEE (2012)Google Scholar
  4. 4.
  5. 5.
  6. 6.
  7. 7.
  8. 8.
  9. 9.
  10. 10.
  11. 11.
  12. 12.
  13. 13.
    Wu, S., Niu, C., Rao, J., Jin, H., Dai, X.: Container-based cloud platform for mobile computation offloading. In: Proceedings of IPDPS, pp. 123–132. IEEE (2017)Google Scholar
  14. 14.
    Engler, D.R., Kaashoek, M.F., O’Toole, J.: Exokernel: An operating system architecture for application-level resource management. In: Proceedings of SOSP, pp. 251–266. ACM (1995)Google Scholar
  15. 15.
    Leslie, I.M., et al.: The design and implementation of an operating system to support distributed multimedia applications. IEEE J. Sel. Areas Commun. 14(7), 1280–1297 (1996)CrossRefGoogle Scholar
  16. 16.
    Fassino, J., Stefani, J., Lawall, J.L., Muller, G.: Think: a software framework for component-based operating system kernels. In: Proceedings of ATC, pp. 73–86. ACM (2002)Google Scholar
  17. 17.
    Krintz, C., Wolski, R.: Using phase behavior in scientific application to guide linux operating system customization. In: Proceedings of IPDPS. IEEE (2005)Google Scholar
  18. 18.
    Shanker, A., Lai, S.: Android porting concepts. In: Proceedings of ICECT, vol. 5, pp. 129–133. IEEE (2011)Google Scholar
  19. 19.
    Yaghmour, K.: Embedded Android: Porting, Extending, and Customizing. O’Reilly Media Inc., Sebastopol (2013)Google Scholar
  20. 20.
    Duan, Y., Zhang, M., Yin, H., Tang, Y.: Privacy-preserving offloading of mobile app to the public cloud. In: Proceedings of HotCloud, pp. 18–18. ACM (2015)Google Scholar
  21. 21.
    Shiraz, M., Abolfazli, S., Sanaei, Z., Gani, A.: A study on virtual machine deployment for application outsourcing in mobile cloud computing. J. Supercomput. 63(3), 946–964 (2013)CrossRefGoogle Scholar
  22. 22.
  23. 23.
  24. 24.
    Manco, F., et al.: My VM is lighter (and safer) than your container. In: Proceedings of SOSP, pp. 218–233. ACM (2017)Google Scholar
  25. 25.
  26. 26.
  27. 27.
    Madhavapeddy, A., Scott, D.J.: Unikernels: the rise of the virtual library operating system. Commun. ACM 57(1), 61–69 (2014)CrossRefGoogle Scholar
  28. 28.
  29. 29.
    Intel clear container.
  30. 30.
  31. 31.
  32. 32.
    Kivity, A., et al.: Osv - optimizing the operating system for virtual machines. In: Proceedings of ATC, pp. 61–72 (2014)Google Scholar
  33. 33.
    Madhavapeddy, A., et al.: Unikernels: library operating systems for the cloud. In: Proceedings of ASPLOS, pp. 461–472. ACM (2013)Google Scholar
  34. 34.
    Martins, J., et al.: Clickos and the art of network function virtualization. In: Proceedings of NSDI, pp. 459–473. ACM (2014)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Services Computing Technology and System Lab, Cluster and Grid Computing LabHuazhong University of Science and TechnologyWuhanChina

Personalised recommendations