Memory Cleaning Method and Apparatus, and Terminal Device
US-2015331612-A1 · Nov 19, 2015 · US
US9965188B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9965188-B2 |
| Application number | US-201514808767-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jul 24, 2015 |
| Priority date | Feb 1, 2013 |
| Publication date | May 8, 2018 |
| Grant date | May 8, 2018 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A memory cleaning method and apparatus, and a terminal device are provided. The memory cleaning method includes: acquiring information about application processes that occupy memory of a terminal device; determining, according to behavior characteristic information of using an application by a user, that a first application process in the application processes is an application process for which cleaning is not performed; and performing memory cleaning processing on an application process, except the first application process, in the application processes, so that it may be implemented that memory cleaning is performed according to the behavior characteristic information of using an application by the user and operating performance of the terminal device is improved. Furthermore a response time required when the user starts the first application process again is reduced, and an experience effect of using the terminal device by the user is ensured.
Opening claim text (preview).
What is claimed is: 1. A terminal device, comprising: a transmitter; a processor connected to the transmitter; and a non-transitory computer readable medium connected to the processor and having stored thereon instructions that, when executed, cause the processor to: acquire information about application processes that occupy memory of the terminal device; determine, according to at least one of a frequency of use of an application or a recency of use of the application, which is determined according to behavior characteristic information of using the application by a user, that a first application process in the application processes is an application process for which cleaning is not performed, wherein the behavior characteristic information comprises a usage time record of an application process and at least one of a quantity of cumulative times of using the application process, duration in which the application process is used each time, or cumulative duration in which the application process is used; and perform memory cleaning processing on an application process, except the first application process, in the application processes. 2. The device of claim 1 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to receive a memory cleaning request input by the user before the determination of the first application process. 3. The device of claim 1 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to determine that available memory of the terminal device is less than a preset value of memory before the determination of the first application process. 4. The device of claim 1 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to acquire the behavior characteristic information of using an application by the user before the acquiring information about application processes that occupy memory of the terminal device. 5. The device of claim 4 , wherein the instructions that, when executed, cause the processor to determine the first application process in the application processes comprise instructions that, when executed, cause the processor to: determine that the first application process is the application process for which cleaning is not performed in response to determining, according to a usage time record of the first application process, that a difference between a last suspension time of the first application process and the cumulative timed time of a timer is less than or equal to a second preset value. 6. The device of claim 4 , wherein the instructions that, when executed, cause the processor to determine the first application process in the application processes comprise instructions that, when executed, cause the processor to: determine whether at least one of a quantity of cumulative times of using the first application process or cumulative duration in which the first application process is used exceeds a preset threshold in response to determining, according to a usage time record of the first application process, that a difference between a last suspension time of the first application process and the cumulative timed time of a timer is greater than a second preset value and less than or equal to a third preset value; and determine that the first application process is the application process for which cleaning is not performed in response to the at least one of the quantity of cumulative times of using the first application process or cumulative duration in which the first application process is used exceeding the preset threshold. 7. The device of claim 4 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to receive a timing expiration indication message when a timing period expires before the acquiring the behavior characteristic information of using an application by the user. 8. The device of claim 7 , wherein the instructions that, when executed, cause the processor to acquire the behavior characteristic information of using an application by the user comprise instructions that, when executed, cause the processor to: acquire event record information of the application process from an activity manager service AMS, wherein the event record information comprises at least one of an application process startup event or an application process suspension event; update, according to an event comprised in the event record information, the usage time record of the application process; and acquire, by means of counting according to the usage time record of the application process, at least one of the quantity of cumulative times of using the application process, the duration in which the application process is used each time, or the cumulative duration in which the application process is used. 9. The device of claim 8 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to: determine, according to the application process startup event and in response to the event record information being the application process startup event, the quantity of cumulative times of using the application process. 10. The device of claim 8 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to: determine, in response to the event record information being the application process suspension event, at least one of the duration in which the application process is used each time or the cumulative duration in which the application process is used according to the usage time record, the application process suspension event, and an application process startup event corresponding to the application process suspension event. 11. The device of claim 8 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to: determine, according to the application process startup event and in response to the event record information being one of the application process startup event and the application process suspension event, the quantity of cumulative times of using the application process; and determine, in response to the event record information being one of the application process startup event and the application process suspension event, at least one of the duration in which the application process is used each time or the cumulative duration in which the application process is used according to the usage time record, the application process suspension event, and an application process startup event corresponding to the application process suspension event. 12. The device of claim 8 , wherein the non-transitory computer readable medium further has stored thereon instructions that, when executed, cause the processor to: determine an application process whose startup time or suspension time in a usage time record of an already suspended application process has a difference of greater than or equal to a first preset value with a cumulative time of a timer; and delete behavior characteristic information corresponding to the startup time or the suspension time of the application process. 13. The device of claim 8 , wherein the event record information acquired from the AMS further comprises an application process association event. 14. The device of claim 13 , wherein the instructions that, wh
Allocation of resources, e.g. of the central processing unit [CPU] · CPC title
Monitoring storage devices or systems · CPC title
Mechanisms to release resources · CPC title
Free address space management · CPC title
Saving storage space on storage systems · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.