Method and device for releasing memory of user terminal

A memory release and user terminal technology, which is applied in the field of user terminal memory release, can solve the problem that the memory recovery mechanism cannot guarantee that important applications will not be destroyed, and achieve the effects of improving user experience, ensuring stability, and reducing the risk of system crashes

Active Publication Date: 2019-01-01
ZTE CORP
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem solved by the solution provided according to the embodiment of the present invention is that the memory recovery mechanism cannot guarantee that important applications will not be destroyed

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
  • Method and device for releasing memory of user terminal
  • Method and device for releasing memory of user terminal
  • Method and device for releasing memory of user terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0078] The method for dynamically adjusting the priority sequence of destroying applications when freeing memory described in the embodiment of the present invention includes the following steps:

[0079] Step 1: Starting from starting the terminal device, record the cumulative time data of each application and the number of times each application is run.

[0080] Step 2: When insufficient memory occurs, obtain the original system priority and actual memory usage of each application through the system's native memory recovery mechanism.

[0081] Step 3: Obtain the cumulative duration of the application, the number of times the application is used, or other relevant parameters recorded in the first step, and comprehensively calculate the value of the user's usage habits.

[0082] Step 4: Recalculate the priority of destroying the application according to the weight ratio X:Y:Z of the three parameters obtained in the second and third steps, and use the value calculated by the we...

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 method and a device for releasing the memory of a user terminal, which relate to the technical field of the user terminal. The method comprises the following steps: when thememory of an operating system is found to be insufficient, the system priority, the occupied memory size and the user usage habit of the running application in the memory are counted; according to thesystem priority, the occupied memory size and the user usage habit obtained by statistics, the destruction application sorting of the destruction application running in the destruction memory is generated; according to the ranking of the destruction application, the destruction treatment is carried out on the running application in the memory. The invention optimizes the native memory recovery mechanism of the Android system, more reasonably adjusts the priority sequence of application destruction, ensures the important application of the system as far as possible, ensures the application being used by the user, and improves the stability of the system and the degree of user experience.

Description

technical field [0001] The present invention relates to the technical field of user terminals, in particular to a method and device for releasing memory of a user terminal. Background technique [0002] When the Android smart terminal runs out of memory, the current solution is to destroy the application through the memory recovery mechanism (lowmemorykiller) in the kernel of the Android system to release the memory. The implementation method of this memory recovery mechanism is to determine the sequence table for destroying applications based on the system priority of the application and the actual memory size occupied by the application. Among them, the priority of the application system will be determined first. When the priority is the same, the application that actually occupies a large memory will be deleted first. [0003] However, in actual operation, due to many market demand solutions, it is necessary to protect some special applications from being easily destroye...

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/50
CPCG06F9/5016G06F9/5022Y02D10/00
Inventor 刘昱言
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products