Skip to main content

Container-Based Customization Approach for Mobile Environments on Clouds

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11204))

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  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. 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. 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. Mobile testing. https://en.wikipedia.org/wiki/Mobile_application_testing

  5. Android binder. https://elinux.org/Android_Binder

  6. Shashlik. http://www.shashlik.io/

  7. Genymobile. https://www.genymobile.com/

  8. Docker. https://www.docker.com/

  9. Lxc. https://en.wikipedia.org/wiki/LXC

  10. Rkt. https://coreos.com/rkt/

  11. Anbox. https://anbox.io/

  12. Android-x86. http://www.android-x86.org/

  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. 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. 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)

    Article  Google Scholar 

  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. 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. Shanker, A., Lai, S.: Android porting concepts. In: Proceedings of ICECT, vol. 5, pp. 129–133. IEEE (2011)

    Google Scholar 

  19. Yaghmour, K.: Embedded Android: Porting, Extending, and Customizing. O’Reilly Media Inc., Sebastopol (2013)

    Google Scholar 

  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. 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)

    Article  Google Scholar 

  22. Containerd. https://containerd.io/

  23. Runc. https://blog.docker.com/2015/06/runc/

  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. Bootchart. http://www.bootchart.org/

  26. Android debug bridge. https://en.droidwiki.org/wiki/Android_Debug_Bridge

  27. Madhavapeddy, A., Scott, D.J.: Unikernels: the rise of the virtual library operating system. Commun. ACM 57(1), 61–69 (2014)

    Article  Google Scholar 

  28. Container security. https://arxiv.org/abs/1507.07816

  29. Intel clear container. https://clearlinux.org/containers

  30. Kata container. https://katacontainers.io/

  31. Hyper. https://hypercontainer.io/

  32. Kivity, A., et al.: Osv - optimizing the operating system for virtual machines. In: Proceedings of ATC, pp. 61–72 (2014)

    Google Scholar 

  33. Madhavapeddy, A., et al.: Unikernels: library operating systems for the cloud. In: Proceedings of ASPLOS, pp. 461–472. ACM (2013)

    Google Scholar 

  34. Martins, J., et al.: Clickos and the art of network function virtualization. In: Proceedings of NSDI, pp. 459–473. ACM (2014)

    Google Scholar 

Download references

Acknowledgements

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.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Song Wu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Hu, J., Wu, S., Jin, H., Chen, H. (2019). Container-Based Customization Approach for Mobile Environments on Clouds. In: Li, S. (eds) Green, Pervasive, and Cloud Computing. GPC 2018. Lecture Notes in Computer Science(), vol 11204. Springer, Cham. https://doi.org/10.1007/978-3-030-15093-8_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-15093-8_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-15092-1

  • Online ISBN: 978-3-030-15093-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics