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

Process management method, terminal and computer readable storage medium

A process management and process technology, applied in computing, program control design, multi-program device, etc., can solve problems such as terminal freezes, and achieve the effect of avoiding terminal freezes, improving application startup speed, and improving performance

Pending Publication Date: 2020-03-17
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of this, the purpose of the embodiments of the present invention is to provide a process management method, a terminal and a computer-readable storage medium to solve the problem of the terminal getting stuck in a vicious cycle of killing processes and creating processes when the terminal is in a low memory state. technical problem

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
  • Process management method, terminal and computer readable storage medium
  • Process management method, terminal and computer readable storage medium
  • Process management method, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] like figure 1 As shown, the process management method provided by the embodiment of the present invention includes:

[0029] S101. After the system service is started, an empty public process is created, and the state of the public process is initialized.

[0030] Specifically, after the system is started, the system service process starts various system service components, and after the system service is started, an empty public process is created and the state of the public process is initialized.

[0031] see figure 2 , initializing the state of the common process further includes:

[0032] S201, setting the priority of the public process to be equal to the priority of the system service process;

[0033] S202. Set the security context of the public process as an untrusted application type;

[0034] S203. Initialize the application package name list, application priority queue and process information structure running in the common process.

[0035] Specificall...

Embodiment 2

[0041] like Figure 4 As shown, a permission verification method provided by an embodiment of the present invention includes:

[0042] S401. The application component calls the API;

[0043] Specifically, the application component invokes the system API (Application Programming Interface, application programming interface), and the calling method includes obtaining the main thread object, and the client agent invokes its interface schedule command to notify the common process to load and start the application component. After the public process receives the schedule command, it loads and runs the application component.

[0044] S402. The API obtains the user identifier of the caller's current process;

[0045] S403. Determine whether the user ID is a dedicated user ID of the public process, if yes, execute step S404, otherwise execute step S405;

[0046] S404. Obtain the user ID of the application to which the currently running component belongs, perform permission verificati...

Embodiment 3

[0052] like Figure 5 As shown, a method for updating an application priority queue provided by an embodiment of the present invention includes:

[0053] S501. Run the application component in a public process;

[0054] S502. Determine whether the application to which the current running component belongs has become the foreground, if so, execute step S503, otherwise execute step S504;

[0055] S503. Directly move the application belonging to the currently running component to the head of the application priority queue, and go to step S505;

[0056] S504. Search the head of the priority queue for the first non-foreground application, and move the application to which the currently running component belongs to before the first non-foreground application;

[0057] S505. End updating the application priority queue.

[0058] Specifically, in the application priority queue in the public process, the applications are sorted according to the frequency of use, the head is the most ...

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 invention discloses a process management method, a terminal and a computer readable storage medium, and belongs to the technical field of terminals. The method comprises the steps that after system service starting is completed, creating an empty public process and initializing the state of the public process and when an application component is subjected to cold start in the low-memory state,loading and running the application component in the public process. The new process is not created when the application component is cold-started in the low-memory state, and the application component is operated in the public process, so that the application starting speed can be increased, the system memory can be saved, terminal blockage caused by vicious circle of entering a killing processand creating the process can be avoided, and the performance of the system in the low-memory state can be improved.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to a process management method, a terminal and a computer-readable storage medium. Background technique [0002] Terminals have more and more functions, but for low-end terminals, these functions will increase system memory consumption, and the memory usage in the factory state is already too high. The terminal with low configuration will have the problem of system freeze and not smooth. The main reason for the freeze is that the system configuration is low and the memory is relatively tight. [0003] There are currently three main technical solutions: [0004] (1) Identify the background process by counting the running data of the application process in the background and the priority of the application to detect and kill the background process. [0005] (2) Predict the application process that needs to be created in advance through application information and usage fre...

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 Applications(China)
IPC IPC(8): G06F9/445G06F9/48
CPCG06F9/44505G06F9/485G06F9/445G06F9/48
Inventor 刘天武
Owner ZTE CORP