Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A terminal memory recovery processing method and device

A memory recycling and processing method technology, applied in the field of terminal memory recycling processing methods and devices, can solve the problems of not taking into account the different effects of the same management operation on the system, etc.

Inactive Publication Date: 2019-04-30
ZTE CORP
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a terminal memory recovery processing method and device to at least solve the problem in the related art that the same memory recovery mechanism under multiple systems does not take into account the different impacts of the same management operation on the system

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
  • A terminal memory recovery processing method and device
  • A terminal memory recovery processing method and device
  • A terminal memory recovery processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Take running on a mobile terminal as an example, figure 1 It is the hardware structure block diagram of the mobile terminal of the terminal memory recovery processing method of the embodiment of the present invention, such as figure 1 As shown, the mobile terminal 10 may include one or two (only one is shown in the figure) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) for A memory 104 for storing data, and a transmission device 106 for communication functions. Those of ordinary skill in the art can understand, figure 1 The structure shown is only for illustration, and it does not limit the structure of the above electronic device. For example, the mobile terminal 10 may also include figure 1 More or few...

Embodiment 2

[0085] According to another embodiment of the present invention, there is also provided a terminal memory recovery processing device, the terminal includes at least two application systems, Figure 4 Is a block diagram of a terminal memory recovery processing device according to an embodiment of the present invention, such as Figure 4 Shown, including:

[0086] The trigger module 42 is configured to trigger a memory recovery operation when it is detected that the system free memory is less than a preset threshold;

[0087] The first determining module 44 is configured to determine a set of memory pages through a predetermined algorithm;

[0088] The second determining module 46 is configured to determine the application system to which each memory page in the memory page set belongs;

[0089] The third determining module 48 is configured to determine the set of memory pages to be recycled from the set of memory pages according to the recycling ratio preset by each application system...

Embodiment 3

[0102] The embodiment of the present invention also provides a storage medium, the storage medium includes a stored program, wherein the method described in any one of the above is executed when the program is running.

[0103] Optionally, in this embodiment, the foregoing storage medium may be configured to store program code for executing the following steps:

[0104] S11, when it is detected that the free memory of the system is less than a preset threshold, a memory recovery operation is triggered;

[0105] S12: Determine a set of memory pages through a predetermined algorithm;

[0106] S13: Determine the application system to which each memory page in the memory page set belongs;

[0107] S14: Determine a set of memory pages to be recycled from the set of memory pages according to a recycling ratio preset by each application system;

[0108] S15: Perform memory recovery processing according to the set of memory pages to be recovered.

[0109] Optionally, in this embodiment, the above...

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 provides a terminal memory recovery processing method and device, and the method comprises the steps: triggering a memory recovery operation when detecting that a system idle memory is smaller than a preset threshold value; determining a memory page set through a predetermined algorithm; determining an application system to which each memory page in the memory page set belongs; determining a to-be-recovered memory page set from the memory page set according to a preset recovery ratio of each application system; and performing memory recovery processing according to the memory page set to be recovered, according to the method and the device, the problem that different influences of the same management operation on the system are not considered for the same memory recovery mechanism under multiple systems in the prior art is solved, and the effects of ensuring that all system functions are not influenced and simultaneously not influencing or reducing the user experience canbe achieved under the condition of heavy load of the system memory.

Description

Technical field [0001] The present invention relates to the field of communications, and in particular to a method and device for recycling terminal memory. Background technique [0002] Memory is a key resource of the system. When the memory is tight, there will be freezes, slower response and running speed, task running errors, and even system restarts and crashes. Therefore, memory management is one of the core technologies of the system, which plays a key role in improving the user experience of the system and the stability of system operation. Multi-system refers to running multiple application systems based on one operating system kernel. As the requirements for mobile phone security increase, multi-systems are increasingly used as an important technical solution for improving mobile phone security. However, multiple systems will greatly increase memory usage. Therefore, it is necessary to better manage memory according to the characteristics of multiple systems. Otherwis...

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/5022G06F9/50
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
Eureka Blog
Learn More
PatSnap group products