Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for control over terminal equipment, terminal equipment and computer readable storage medium

A technology of terminal equipment and control method, applied in the direction of program control design, calculation, multi-program device, etc., can solve the problems of application program occupation, low memory recovery efficiency, difficult to recover memory resources, etc., and achieve the object of expanding memory recovery , improve the efficiency of memory recovery, improve the effect of operating efficiency

Active Publication Date: 2018-07-17
MEIZU TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing method of memory recovery for a process, the target physical page recovered is only for the target physical page not used by the target process. The target physical page is mainly the physical memory of the target process in the two linked lists INACTIVE_ANON and INACTIVE_FILE. Pages, that is, inactive physical pages, the memory recovery efficiency of this method is very low
[0006] In addition, once the application program is frozen, the occupied memory resources will be difficult to recover, resulting in the frozen application program occupying a large amount of memory resources and cannot be recovered, affecting the operation of the terminal device

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 control over terminal equipment, terminal equipment and computer readable storage medium
  • Method and device for control over terminal equipment, terminal equipment and computer readable storage medium
  • Method and device for control over terminal equipment, terminal equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 4 approach

[0144] Various methods can be used to increase the difficulty of recovering active anonymous pages. For example, you can increase the repentance time of anonymous pages, for example, you can reduce the optional value of activity, or you can increase the reduction in activity. Here, we give an example to the third method. If the third embodiment is used for recovery of anonymous pages, please refer to 7. The fourth embodiment of memory recovery for the target application in the present invention includes the following steps:

[0145] Step S701, setting optional values ​​of physical page activity, including a first value, a second value, a third value and a fourth value.

[0146] Optional values ​​for setting physical page activity, for example, may include a first value, a second value, a third value, and a fourth value, wherein the first value is not higher than the recovery standard, the second value is lower than the third value, and Higher than the recovery standard, the th...

no. 1 example

[0185] The memory recycling module 803 is used to recycle the target application, see Figure 9 , the first embodiment of the memory recycling module 803 in the embodiment of the present invention includes:

[0186] The second acquiring module 901 is configured to acquire the target physical page corresponding to the target process.

[0187] The first reading module 902 is used to read the value of the activity of the target physical page, the activity of the target physical page is used to mark the activity of the target physical page, and the value of the activity of the target physical page is related to the activity of the target physical page The degree is positively related.

[0188] The reducing module 903 is configured to reduce the activity of the target physical page when the activity value of the target physical page is higher than the recovery standard, and the physical page whose activity value is higher than the recovery standard is in an active state.

[0189]...

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 method and device for control over terminal equipment, the terminal equipment and a computer readable storage medium. The method includes the steps that whether a target application program meets freezing conditions is judged, if yes, a target progress where the target application program is in operation is obtained, a memory recovering operation is executed on the targetprogress, and then freezing operation is executed on the target application program. The device comprises a freezing condition judgment module, an obtaining module, a memory recovering module and a freezing module, and is used for realizing the method for control over the terminal equipment. The terminal equipment is provided with a processor and a storage device, and the method for control over the terminal equipment can be realized when the processor executed the computer program. The computer program used for realizing the method is stored in the computer readable storage medium. The methodand device can execute memory operation before the application program is frozen, and reduce memories occupied by the frozen application program.

Description

technical field [0001] The present invention relates to the field of control of electronic equipment, in particular, a method for realizing memory recovery before the terminal equipment freezes the application program and a device for realizing the method, and also relates to a terminal equipment for realizing the above method and a computer-readable storage medium. Background technique [0002] Terminal devices such as smartphones and tablet computers have become the most frequently used electronic devices in people's daily life. People like to install various applications on smart electronic devices, and run a large number of applications on the terminal devices at the same time. However, running a large number of applications will place a heavy burden on the resources of the terminal device. For example, some applications run in the background for a long time and occupy CPU resources, sensor resources, and memory resources, causing the terminal device to run slowly. Ther...

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/5016
Inventor 陈乾
Owner MEIZU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products