Font Size: a A A

Design And Implementation Of Android Virtual Machine Platform Based On Container Technology

Posted on:2023-04-14Degree:MasterType:Thesis
Country:ChinaCandidate:L ZhangFull Text:PDF
GTID:2558306845496324Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the popularity of smartphones,various applications based on the mobile terminal are rapidly developing and enriching.Mobile applications not only meet the needs of daily entertainment,shopping and reading,but also involve the improvement and expansion of enterprise information application scenarios.This triggers a large number of requirements for mobile application development and testing.Although all brands of mobile operating systems are Android,different Android operating systems from different manufacturers and even different versions of Android from the same manufacturer have different adaptations of mobile applications,which requires mobile application developers to test and modify mobile applications on a variety of mobile phones and operating system versions.therefore,to facilitate mobile application developers to work,Windows and Linux operating systems have actively integrated Android ecology in recent years.Add support for Android applications based on the operating system.At present,there are two main solutions in the market to meet the needs of mobile application development,one is the simulator software that supports Android virtualization,such as Anbox for Linux platform,Blue Stacks for Windows platform,and so on;second,Android virtual machine platforms,such as Huawei Kunpeng Cloud Mobile platform and Red finger Cloud Mobile platform.This simulator software and cloud platforms can partially meet the needs of mobile application developers to develop and test,but these solutions mainly have the following problems: first,Android simulator software needs to create and use virtual machines locally,which consumes more local resources;second,installing multiple Android versions of virtual machines on the same computer will take up a lot of storage space.Third,the products and services provided by the Android virtual machine platform are often clustered,often used for batch operations on mobile phones,and do not focus on addressing the needs of ordinary users and Android developers for lightweight,customized Android virtual machines.Therefore,this paper designs an Android virtual machine platform based on container technology,which can provide users with a multi-version Android virtual machine environment,while using virtualization technology,which has nothing to do with the local operating system and does not need to take up more local resources.The purpose of this paper is to design and implement such a system.Android developers can use the system’s virtual machine for development and testing to meet the needs of mobile application developers and testers.At the same time,mobile end-users who need a historical version of Android can also install and use some old applications that cannot be run in the new version of Android in the virtual machine of the system.This paper combines the K8 s cluster that provides container resources with the Django service that provides Web services and configures a single Android virtual machine service through a single container.K8 s cluster manages Android virtual machine resources indirectly by managing container resources.Django services configure and use virtual machine resources by calling API provided by the K8 s cluster,and then provide users with related services of Android virtual machines.The system realizes the user management function,virtual machine use and management function,file transfer function,and image management function.Among them,the virtual machine usage function and file transfer function are the core functions of the system.The virtual machine usage function provides users with an interactive interface for Android virtual machines.To solve the problem of how to configure Android virtual machine services in the container,AVD Manager tools and no VNC technology are used.The file transfer function provides a channel for users to transfer files with virtual machines.In order Toe the problem of file transfer across file systems,the open-source tool Guestmount for Linux system is called to complete this function.The research work of this paper is carried out in the following three parts: first,the current solutions and existing technologies are analyzed.Then according to the software development process,the requirements analysis,system design,system implementation,and other links are carried out.Finally,a test scheme is designed to test the basic functions and business processes of the system.The test results show that the scheme adopted in this paper is correct and feasible.
Keywords/Search Tags:Android, Virtualization, Cloud Computing
PDF Full Text Request
Related items