Font Size: a A A

Design And Implementation Of Container Runtime System Based On Android

Posted on:2021-05-19Degree:MasterType:Thesis
Country:ChinaCandidate:J Z WangFull Text:PDF
GTID:2518306107468754Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Today,Android mobile devices are becoming more common,and many users carry multiple Android devices to meet work and personal needs.As an open source system,the Android operating system widely used in mobile devices can adapt to various hardware and form a better combination with it,which is then used by most mobile device manufacturers.Android system adopts a layered architecture design,and the bottom layer of the architecture is based on the Linux operating system kernel.Therefore,Android operating system can also fully support the Linux container feature.With the improvement of hardware level,mobile devices are already comparable to personal desktop computers in performance,and devices based on the Android system are fully capable of acting as edge nodes.Research on container technology based on Android system is also of great significance in the field of edge computing.Currently,there are many container runtimes such as: runc,runv,rkt,cri-o,kata,but none of them are specifically designed for the Android system.These container runtimes are difficult to be compatible with the Android system,if we transplant them directly to the Android,it will cause abnormal operation of the container or system crash.These problems limit the development of Android container technology.Therefore,in order to establish a container technology compatible with the Android system,a container runtime system that meets the OCI standard on the Android architecture is proposed: arunc(Android Runc).The container runtime system works in the Native layer of the Android architecture and is responsible for managing the life cycle of the container.In order to give the ability to indirectly control the container runtime,use JNI to expose the container runtime interface to the upper layer,and then encapsulate it into a simple,easy-to-use Java API for Android application developers.In addition,an Android container management APP has been implemented to simplify Android container deployment and management.This container runtime system is written in C language,calls the C standard library optimized for the Android system——Bionic,and uses the NDK tool to compile.It is 100% compatible and runs on all devices based on the Android operating system.Compared with the runc container runtime,which is widely used now,arunc has better performance on the Android platform.This is reflected in the fact that arunc can increase the container startup and destruction performance by 150%,and can reduce system resource consumption by 10%.This series of performance improvements has made container deployment and management more efficient,with significant performance improvements for the entire cloud computing platform.
Keywords/Search Tags:Android System, Lightweight Virtualization, Container Runtime, Edge Computing
PDF Full Text Request
Related items