Font Size: a A A

Research And Design Of Network Set-Top Box Dual System Based On LXC Container Technology

Posted on:2018-08-09Degree:MasterType:Thesis
Country:ChinaCandidate:Z W JiaFull Text:PDF
GTID:2348330536970805Subject:Instrumentation engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of high-definition television and the Internet,people's requirements for home entertainment is also getting higher and higher,network set-top box has become an important part of home appliances.Huge consumer market also attracts major equipment manufacturers at home and abroad.With the advent of the network set-top box on the market,network set-top box equipped with a wide range of operating system is also dazzling.Because of the openness of the system,Android operating system occupies the mainstream market,rich application software also meet the needs of different groups of software.In addition,some manufacturers value the lightweight of Linux operating system,and the Linux kernel can be freely customized to adapt to different occasions.However the mainstream network set-top box is generally a single operating system,in order to be compatible with these two operating systems to facilitate people to adapt to different use of the environment,this paper introduces the virtualization technology,through the Linux container technology to design a dual system network set-top box.The main contents of this paper are as follows:(1)This paper first introduces the development process of virtualization technology,expounds the various types of virtualization technology and some problems.And then lists the current Linux-related virtualization technology,analysis of the characteristics of different technologies and framework.Then introduces the virtualization projects that use these technologies,focusing on the differences between different projects.(2)According to the needs of this article,after comparing the different technologies and projects,the necessity of choosing LXC for embedded devices is analyzed,and the container technology LXC used in this paper is introduced.Then we introduce LXC container technology in detail,and analyze two core technologies in container technology: Cgroup system and Namespace mechanism.(3)Through the analysis of the core data structure,the framework of the relationship between the data structures in the Cgroup is given;the tools for providing the Cgroup are provided in detail by implementing the Cgroup file system;the process and basicprinciple of each subsystem in the Cgroup system are analyzed emphatically,including CPU,DEVICES,Memory and CPUSET subsystems.(4)Through the analysis of the data structure,it briefly explains working principle and function of namespace;by introducing the clone function and the method of using it,we analyze how to create a simple instance of the namespace;this paper analyzes the implementation of six namespaces by means of example code,analyzes how namespaces manage resources.Based on the above research results of container technology,this paper presents a dual system solution using container technology.In the scheme,the host system environment for the management container is set up on the SD card and the LXC tool is installed.In this basic environment,through the configuration of the container file system,equipment,network and other key resources to build the environment to run the Android and Linux containers.Finally,through the analysis of the results of the operation,to achieve the operating system-level virtualization,to achieve the purpose of this paper on the dual system requirements.
Keywords/Search Tags:Virtualization, Container technology, LXC, Cgroup system, Namespace
PDF Full Text Request
Related items