Terminal application process management method and apparatus
AssigneeTencent Technology (Shenzhen) Company Limited
InventorPeng Jiang
Life of this patent
Estimating the term…
Abstract
A terminal application process management method includes: detecting a first-type terminal application, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet; obtaining attribute information of a second-type terminal application if the first-type terminal application is trigger-started, the second-type terminal application being another currently-running terminal application; and terminating a process of the second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application. Embodiments of the present invention further provide a terminal application process management apparatus.
Claims11
A terminal application process management method performed at a terminal having one or more processors and memory for storing programs to be executed by the one or more processors, the method comprising:
- obtaining, by the terminal, attribute information of currently-running terminal application;
- detecting, by the terminal, that a first-type terminal application set is being trigger-started;
- in response to the detecting, terminating, by the terminal, one or more of the currently-running terminal applications until the obtained attribute information meets predefined criteria;
- detecting, by the terminal, a first-type terminal application to obtain a detection result, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet;
- in accordance with the detection result indicating that the first-type terminal application is being trigger-started:
- terminating, by the terminal, a process of a second-type terminal application according to attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application, wherein the second-type terminal application is a currently-running terminal application that has not been terminated by the first terminating.
A terminal, comprising:
- one or more processors;
- memory;
- and
- programs stored in the memory that, when executed by the one or more processors, cause the terminal to perform a plurality of operations including:
- obtaining attribute information of currently-running terminal applications;
- detecting that a first-type terminal application set is being trigger-started;
- in response to the detecting, terminating one or more of the currently-running applications until the obtained attribute information meets predefined criteria;
- detecting a first-type terminal application to obtain a detection result, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet;
- in accordance with the detection result indicating that the first-type terminal application is being trigger-started:
- terminating a process of a second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application, wherein the second-type terminal application is a currently-running terminal application that has not been terminated by the first terminating.
A non-transitory computer readable storage medium storing a plurality of programs in connection with a terminal having one or more processors, which, when executing the plurality of programs, cause the terminal to:
- obtain attribute information of currently-running terminal application;
- detect that a first-type terminal application set is being trigger-started;
- in response to the detecting, terminate one or more of the currently-running terminal applications until the obtained attribute information meets predefined criteria;
- detect a first-type terminal application to obtain a detection result, the first-type terminal application being a preset terminal application that needs to be accelerated but has not been started yet;
- in accordance with the detection result indicating that the first-type terminal application is being trigger-started:
- terminate a process of the second-type terminal application according to the attribute information of the second-type terminal application until there is sufficient resource for starting the first-type terminal application, wherein the second-type terminal application is a currently-running terminal application that has not been terminated by the first terminating.
Dependencies are inferred from the claim text.