The invention discloses a Unikernel-based cloud Android
operating environment construction method, and belongs to the technical field of
cloud computing virtualization. The method comprises the stepsthat firstly, an Android subsystem
assembly which must be supported for achieving the minimum Android
operating environment cloud under the Android code unloading scene is analyzed and obtained at first; then, an Android essential subsystem and a Bionic and Dalvik
virtual machine are transplanted into a
library operating system; then, an
Android application code is compiled, and a related dependence
package is extracted from the
library operating system for generating a Unikernel
virtual machine mirror image; finally, the Unikerel is started on a KVM, an XEN and other
Hypervisor, and the Android code is operated. The essential Android environment support is added to the
library operating system, the
Android application code is compiled to the Unikernel, the characteristics that the Unikernel
mirror image is large in size, low in cost, rapid in starting, high in isolation performance and the like are utilized, the cloud resource cost can be effectively lowered, the number of
virtual machine instances provided by the cloud is increased, meanwhile, the
delay of cloud and terminal communication is greatly lowered, and the user experience of terminal applications is improved.