The invention relates to the technical field of
virtualization frameworks, in particular to a data persistence storage method and
electronic equipment. The data persistence storage method is applied to an Android
system, and comprises the following steps: starting a
client application in the Android
system, and creating a mapping file under an application sandbox
directory of the
client application; the method comprises the following steps: reading a
system image in which a MicroAndroid is stored through a
client application; adding the mapping file to the system mapping, and setting a block device corresponding to the mapping file; the method comprises the following steps: starting a
virtual machine in an Android system, and loading a
system image in the
virtual machine to start MicroAndroid; the method comprises the following steps of: reading a preset key on the MicroAndroid, and performing
encryption processing on block equipment by using the preset key to obtain encrypted block equipment; and on the MicroAndroid, based on the
encryption block device and a preset key, creating a decryption block device, and mounting the decryption block device to the target
directory. According to the method, when the
virtual machine code is updated, the data stored in the mapping file is not influenced and can be persistently stored, and meanwhile, the data read-write security is ensured.