Block-Streaming Service Loading Optimization of Android Dalvik Executable File for Cloud-End Collaboration

In recent years, dynamic loading technologies of Android applications have emerged in an endless stream. At present, the existing Android application loading method is to load the entire Android Dalvik Executable (DEX) file for cloud-end collaboration, and there is a problem of finer-grained loading optimization in the loading process. Based on the analysis of Android DEX file in this paper, a formal model of each class is established by using the analysis result of this file, analyzes the user's behavior, and tries to ensure that the class to be used in high probability is loaded into memory first, and a block-streaming service loading optimization model of Android DEX file is put forward. The validity of the model is verified by quantitative analysis of Android DEX file. Trying to load the whole Dalvik Executable file and the classes needed by the application separately, recording and comparing the storage space and loading time overhead. In order to avoid the uncertain factors of the network environment, the above files have been tested and recorded several times. The result shows that the time and storage space for loading the whole DEX file are far greater than the sum of the classes required by the application. With this model, the fine-grained formal analysis of Android DEX file can be performed, which is of great significance for exploring the loading method of application block flow service.