-
公开(公告)号:US20230229502A1
公开(公告)日:2023-07-20
申请号:US18186944
申请日:2023-03-20
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Ming Chen , Pengxiang Yi , Huifeng Hu
IPC: G06F9/50
CPC classification number: G06F9/5016
Abstract: A process control method and apparatus are provided to implement intelligent control on each process in a terminal device and prevent a process important to a user from being killed while memory is released. The method includes: obtaining information, a package name, and a process name that are of a first process of a first application running on a terminal device; based on the information about the first process, determining to kill the first process; marking the package name and the process name that are of the first process; and based on marking results of a package name and a process name that are of a second process, controlling the second process.
-
公开(公告)号:US20230147061A1
公开(公告)日:2023-05-11
申请号:US17918360
申请日:2021-03-04
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xiaofeng Yuan , Zefei Dou , Pengxiang Yi
CPC classification number: G06F9/485 , G06F9/44594 , G06F9/5038
Abstract: An application keepalive method includes, when a foreground application run by the electronic device is switched from a first application to a second application, a callback probability of the second application relative to the first application is obtained, and when the callback probability of the second application relative to the first application is greater than a preset threshold, a keepalive priority of the first application is increased when the first application is used as a background application. When system resources are insufficient, the electronic device ends a process of at least one background application in ascending order of keepalive priorities to release system resources.
-