Font Size: a A A

Android Mobile Terminal Virtualization Based On Linux Container

Posted on:2014-02-09Degree:MasterType:Thesis
Country:ChinaCandidate:X ChenFull Text:PDF
GTID:2268330425475875Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid increase in the number of mobile intelligent terminal and the rise ofwearable devices, how to use the resources of intelligent terminals effectively and dealingwith different application scenarios become a research focus. Combining the traditionalvirtualization technology and mobile intelligent terminals together, we can see a newdevelopment direction. Applying the virtualization technology to intelligent mobile terminal,can not only meet the needs of running different OS on single terminal which is saving thecost of developing the software with same usage on differnet platform, but also can bringisolation on a single terminal to achieve the separation of enterprise system and personalsystem to guard against the potential hazards of the processes on the personal system to theenterprise which meets the needs of “BYOD”. From a market perspective, virtualizationtechnology can greatly reduce the cost of producing low-end smartphones, so that the low-endsingle-OS smartphones can carry more functionality.Based on the above background, this paper introduces the traditional virtualization andmobile virtualization implementations gernerally. As one way of virtualization,Operating-System-Level virtualization has advantages in performance and deploymentcompared to Hypervisor Architecture. After thar, this paper starts the Linux Containertechonoly research from the Operating-System-Level virtualization hierarchy and analysistwo critical parts of the container technology: Cgroup system and Namespace including theirarchitecture and implementation princicle. First, this paper will focus on introducing theCgroup system and the analysis of its implementation of system resource management,involves the main research content includes:(1)By combining the analysis of the generic datastructure, given the system view and hierarchy of Cgroup system;(2)Describe theimplementation principle of Cgroup controller subsystem on detail, including CPU controller,Memory controller, Devices controller and so on.(3)By analyzing the process of mountingthe Cgroup file system, viewing and modifying the resource management information, giventhe implementation principle of the mounting of Cgroup file system along with the functionalinterface. After that, this paper looks into the Namespace architecture in Linux OS byanalyzing each sub-modules, given the source-level analysis of the structure of eachnamespace and the principle implementation of process resource isolation.Finally, this paper presents a LinuxContainer-based Android mobile terminalvirtualization program based on above research result. In this program, the Android kernel has to be modified adapting the function of LXC userspace tools and a Debian OS has to be builton the SD card as the Host system of OS-level virtualization management. In the environment,by configuring the Android root file system, network facility, other devices in the container sothat a container where an Android OS can run in it will be created and we can run themodified Android OS in the container to achieve mobile virtualization solution. At the end,through the analysis of the results, given the conclusions that Android system using thecontainer virtualization technology has advantages in isolation-efficiency equilibrium.
Keywords/Search Tags:Mobile Virtualization, OS-level Virtualization, Container Technology, Cgroup System, Namespace Architecture
PDF Full Text Request
Related items