Patent ID: 11947974
Assignee: HONOR DEVICE CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. An application start method, comprising:
obtaining, by a SystemServer process running in an electronic device, a start message of a first application;
starting, by the SystemServer process, to verify the start message based on an application list or an application type of the first application, and in parallel with starting to verify the start message, invoking, by the SystemServer process, a first process in a process pool to start to create a class loader of the first application to load a class file of the first application when the start message comes from a launcher, wherein invoking the first process in a process pool to start to create a class loader of the first application to load the class file of the first application comprises transmitting, by the SystemServer process, application information of the first application to the first process, wherein the application information records an identification of a first class loader and an identification of a second class loader, and wherein the application information of the first application is obtained from a directory created by the SystemServer process for the first application when the application is installed on the electronic device;
invoking, by the SystemServer process, the first process to initialize a main thread of the first application when the start message is successfully verified; and
starting, by the first process, to run code of the first application, and displaying an application interface of the first application.