Unlock instant, AI-driven research and patent intelligence for your innovation.

Application startup method and electronic device

An electronic device and application startup technology, which is applied in the direction of program loading/starting, program control design, electronic digital data processing, etc., can solve the problems of low user experience and long startup time

Active Publication Date: 2022-07-05
HONOR DEVICE CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the cold start process, the mobile phone needs to create the application process of the application, execute the main function in the main thread (ActivityThread) of the application process, and load the class (class) file of the application to the mobile phone by creating the class loader (Classloader) of the application process memory, which makes the application take a long time to start when it is cold started, and the user experience when opening the application is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application startup method and electronic device
  • Application startup method and electronic device
  • Application startup method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to clearly illustrate an application startup method provided by the embodiments of the present application, some concepts that may appear in subsequent embodiments are first explained.

[0042] A process is a running activity of an application on a data set, and is a basic unit for resource allocation and scheduling by an operating system (such as an Android system). Each process will occupy a piece of memory space, and the application program runs on the operating system in the form of one or more processes to achieve corresponding functions.

[0043] A thread is an entity of a process, which is a basic unit smaller than a process that can run independently. A thread can share all the resources owned by the process with other threads belonging to the same process. A thread can create and cancel another thread, and multiple threads in the same process can execute in parallel.

[0044] Object lock is a mechanism to ensure that only one thread accesses a method...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application provides an application startup method and electronic device, which relate to the technical field of terminals, which can shorten the startup time consumed when an application is cold started, and improve the user experience when opening the application. The method includes: a system service process in the electronic device obtains a start-up message of the first application; in response to the start-up message, the system service process sends an application process creation request to a daemon process, where the creation request includes the first application process. Application information of an application; in response to the creation request, a daemon process creates an application process for the first application, the application process includes a first thread and a second thread; the application process executes the first thread in parallel and the second thread, wherein the first thread executes the initialization of the main thread of the first application, and the second thread creates a first class loader to load the first application according to the application information class file; the application process starts to run the code of the first application.

Description

technical field [0001] The present application relates to the field of terminal technologies, and in particular, to an application startup method and an electronic device. Background technique [0002] Various applications (Application, APP) installed in electronic devices such as mobile phones have been widely used in the daily life of users. Taking a mobile phone as an example, the period from when the user clicks on the startup icon of the application until the mobile phone runs the code of the application and displays the first frame of the application may be called the startup time of the application. The speed of the startup time directly affects the user's experience of using the application, and is also one of the important indicators for evaluating the performance of a mobile phone. [0003] When an application is started, if there is no process of the application in the background of the mobile phone, the mobile phone system needs to recreate a new process and ass...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445
CPCG06F9/44505G06F9/4401G06F9/44521G06F9/4881G06F9/44G06F9/48
Inventor 孙文涌任玉林韩风程飞飞
Owner HONOR DEVICE CO LTD