CN110413415B - Memory management control method, equipment and computer readable storage medium - Google Patents

Memory management control method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110413415B
CN110413415B CN201910694417.5A CN201910694417A CN110413415B CN 110413415 B CN110413415 B CN 110413415B CN 201910694417 A CN201910694417 A CN 201910694417A CN 110413415 B CN110413415 B CN 110413415B
Authority
CN
China
Prior art keywords
processes
queue
memory
proportion
extracting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910694417.5A
Other languages
Chinese (zh)
Other versions
CN110413415A (en
Inventor
张弛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910694417.5A priority Critical patent/CN110413415B/en
Publication of CN110413415A publication Critical patent/CN110413415A/en
Application granted granted Critical
Publication of CN110413415B publication Critical patent/CN110413415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a memory management control method, equipment and a computer readable storage medium, wherein the method comprises the following steps: extracting a process of a first proportion from processes belonging to a target memory level as a first queue according to the starting time of the processes, and taking the rest processes as a second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed. The humanized memory management control method is realized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.

Description

Memory management control method, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications, and in particular, to a memory management control method, apparatus, and computer readable storage medium.
Background
In the prior art, each process of the android operating system has a oom _adj attribute (essentially, a file of which the Linux kernel is exposed through the proc file system and whose path is/proc/[ pid ]/oom _adj), and the value indicates the priority of the process, and when the memory is strained, the system decides to kill those processes according to the priority to release the resource. The smaller the value is, the higher the priority is, the different Android operating system versions may have different value ranges, for example, the Android Pbanb is used as an example, the common application value range is [0, 16], wherein 0 represents the foreground process, 1 represents the visible process (such as the interface of the foreground process is semitransparent, the interface below the foreground process can be seen, the process where the interface is located is the visible process), 2 represents the perceived process (such as the foreground service is started), the problem in the prior art is that the determining of the priority of the process also comprises the content of the service bound with the process, but generally follows the classical LRU algorithm (page replacement algorithm), namely, the probability of considering that the process just used is used again in a short term is very high, the probability of being used again in a long term is very low, however, the algorithm is too much higher than the starting speed of the different processes is different, the light-weight process is very fast even if the process is killed, the cold starting speed is very fast, once the LRU enters the position where the LRU is killed again, the LRU is also accepted again, the queue is very frequently accepted, and the user experience is not easily released if the LRU is always used in consideration.
In summary, the memory management release mechanism in the prior art is not perfect enough, and the experience for the user is poor.
Disclosure of Invention
In order to solve the above technical defects in the prior art, the present invention provides a memory management control method, which includes:
extracting a process of a first proportion from processes belonging to a target memory level as a first queue according to the starting time of the processes, and taking the rest processes as a second queue;
if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue;
if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed.
Optionally, in the processes belonging to the target memory level, the process of extracting the first proportion according to the starting time of the process is used as a first queue, and the remaining processes are used as a second queue, including:
monitoring whether the memory resource in the current state is lower than a preset threshold value;
And if the memory resource is lower than the preset threshold value, acquiring the memory grade corresponding to each process in the current state.
Optionally, in the processes belonging to the target memory level, the process of extracting the first proportion according to the starting time of the process is used as a first queue, and the remaining processes are used as a second queue, including:
taking the lowest memory level as the target memory level in the memory levels;
and determining all processes belonging to the target memory level.
Optionally, in the processes belonging to the target memory level, the process of extracting the first proportion according to the starting time of the process is used as a first queue, and the remaining processes are used as a second queue, including:
arranging the processes belonging to the target memory level from long to short according to the starting time;
and extracting the process at the front end from the arrangement according to the first proportion to serve as the first queue, and simultaneously taking the rest processes as the second queue.
Optionally, if the second queue is not empty, in the processes in the second queue, extracting, according to the number of times of starting the processes, a process in a second proportion as a third queue, and taking the remaining processes as a fourth queue, including:
The processes in the second queue are arranged from high to low according to the starting times;
and extracting the process at the front end according to the second proportion in the arrangement as the third queue, and taking the rest processes as the fourth queue.
Optionally, if the second queue is not empty, in the processes in the second queue, extracting, according to the number of times of starting the processes, a process in a second proportion as a third queue, and taking the remaining processes as a fourth queue, including:
if the second queue is empty, the processes in the first queue are arranged from high to low according to the starting times;
and extracting the processes at the front end according to a fourth proportion in the arrangement, taking the rest processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed.
Optionally, if the fourth queue is not empty, extracting, in the process of the fourth queue, a process of a third proportion as a process to be processed according to a starting time of the process, and releasing a memory resource occupied by the process to be processed, including:
arranging the processes in the fourth queue from front to back according to the starting time;
and extracting the process at the rear end in the arrangement according to the third proportion as the process to be processed.
Optionally, if the fourth queue is not empty, extracting, in the process of the fourth queue, a process of a third proportion as a process to be processed according to a starting time of the process, and releasing a memory resource occupied by the process to be processed, including:
if the fourth queue is empty, extracting a fifth proportion of processes from the processes of the second queue as processes to be processed according to the starting time of the processes;
and releasing the memory resources occupied by the process to be processed.
The invention also provides a memory management control device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program is realized when being executed by the processor:
extracting a process of a first proportion from processes belonging to a target memory level as a first queue according to the starting time of the processes, and taking the rest processes as a second queue;
if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue;
If the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed.
The present invention also proposes a computer-readable storage medium having stored thereon a memory management control program which, when executed by a processor, implements the steps of the memory management control method as described in any one of the above.
The memory management control method, the memory management control equipment and the computer readable storage medium are implemented by extracting a process with a first proportion from processes belonging to a target memory level according to the starting time of the processes as a first queue, and taking the rest processes as a second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed. The humanized memory management control method is realized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to the present invention;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a first embodiment of a memory management control method according to the present invention;
FIG. 4 is a flowchart of a memory management control method according to a second embodiment of the present invention;
FIG. 5 is a flowchart of a third embodiment of a memory management control method according to the present invention;
FIG. 6 is a flowchart of a memory management control method according to a fourth embodiment of the present invention;
FIG. 7 is a flowchart of a memory management control method according to a fifth embodiment of the present invention;
FIG. 8 is a flowchart of a memory management control method according to a sixth embodiment of the present invention;
FIG. 9 is a flowchart of a memory management control method according to a seventh embodiment of the present invention;
FIG. 10 is a flowchart of an eighth embodiment of a memory management control method according to the present invention;
FIG. 11 is a flow chart of a memory management control method according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
Example 1
Fig. 3 is a flowchart of a first embodiment of a memory management control method according to the present invention. A memory management control method, the method comprising:
s1, in the processes belonging to the target memory level, extracting a process with a first proportion as a first queue according to the starting time of the process, and taking the rest processes as a second queue;
s2, if the second queue is not empty, extracting a second proportion of processes from the processes of the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue;
s3, if the fourth queue is not empty, extracting a process with a third proportion from the processes of the fourth queue according to the starting time of the processes as a process to be processed, and releasing memory resources occupied by the process to be processed.
In this embodiment, first, in a process belonging to a target memory level, a process of a first proportion is extracted as a first queue according to a start time of the process, and the remaining processes are taken as a second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed.
Specifically, in this embodiment, when the operating system of the terminal device is started for the first time, a file is created, where the file is used to store the average cold start time and the total start times of each process, and each time an installation, uninstallation, and start application occur in the system, the file is updated synchronously, so that it is convenient to record the average cold start time and the total start times data corresponding to each process.
Specifically, in this embodiment, first, in a process belonging to a target memory level, a process of a first proportion is extracted as a first queue according to a start time of the process, and the remaining process is taken as a second queue, where the target memory level refers to a memory level that is processed first in this embodiment, it may be understood that, in general, when a memory resource is relatively stressed, the lower or lowest memory level is processed first, or two or more of the lowest memory levels are used as the target memory level in this embodiment at the same time, so as to obtain a process included in the one or more memory levels, then, in the above process, the process of the first proportion is extracted as the first queue according to the start time recorded in the above file, and simultaneously, the remaining process is taken as the second queue, where a proportion number of the first proportion is determined by a current memory occupancy, or is determined by an initial set value of the system, or is determined by a class of processes involved by the current process number.
Specifically, in this embodiment, after the process of the first proportion is extracted according to the start time of the process to be used as the first queue and the remaining process is used as the second queue, if the second queue is not empty, in the process of the second queue, the process of the second proportion is extracted according to the start times of the process to be used as the third queue and the remaining process is used as the fourth queue. If the second queue is not empty, the process of the second proportion is extracted as the third queue according to the starting times recorded by the file, and meanwhile, the rest process is taken as the fourth queue, and similarly, as described above, the proportion number of the second proportion is determined by the current memory occupancy rate, or is determined by the initial set value of the system, or is determined by the process type in the current second queue, or is determined by the number of processes in the current second queue.
Specifically, in this embodiment, after the process of the second proportion is extracted according to the number of times of starting the process and the remaining process is taken as the fourth queue, if the fourth queue is not empty, in the process of the fourth queue, the process of the third proportion is extracted according to the starting time of the process and is taken as the process to be processed, and the memory resource occupied by the process to be processed is released. If the fourth queue is not empty, a process of a third proportion is extracted as a process to be processed according to the starting time recorded by the corresponding file of the operating system of the terminal device, and likewise, as described above, the proportion number of the third proportion is determined by the current memory occupancy rate, or is determined by an initial set value of the system, or is determined by a process type in the current fourth queue, or is determined by the number of processes in the current fourth queue.
The method has the advantages that the process with the first proportion is extracted as the first queue according to the starting time of the process in the process belonging to the target memory level, and the rest processes are taken as the second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed. The humanized memory management control method is realized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example two
Fig. 4 is a flowchart of a second embodiment of a memory management control method according to the present invention, based on the above embodiment, in the processes belonging to the target memory level, a process of a first proportion is extracted as a first queue according to a start time of the process, and the remaining processes are taken as a second queue, including:
S11, monitoring whether the memory resource in the current state is lower than a preset threshold value;
and S12, if the memory resource is lower than the preset threshold value, acquiring the memory grade corresponding to each process in the current state.
In this embodiment, first, it is monitored whether the memory resource in the current state is lower than a preset threshold; and then, if the memory resource is lower than the preset threshold value, acquiring the memory grade corresponding to each process in the current state.
Optionally, monitoring whether the memory resource in the current state is lower than a preset threshold, wherein the preset threshold is associated with an initial set value of the terminal equipment;
optionally, monitoring whether the memory resource in the current state is lower than a preset threshold, wherein the preset threshold is related to an initial set value of the terminal equipment and the current process number;
optionally, monitoring whether the memory resource in the current state is lower than a preset threshold, wherein the preset threshold is related to an initial set value of the terminal equipment and whether the current process comprises the number or the category of processes with higher resource occupancy rate such as games;
optionally, if the memory resource is lower than the preset threshold, acquiring the memory levels corresponding to all the processes in the current state;
Optionally, if the memory resource is lower than the preset threshold, processes except the white list in all processes in the current state and respective memory levels thereof are obtained.
The method has the beneficial effects that whether the memory resource in the current state is lower than the preset threshold value is monitored; and then, if the memory resource is lower than the preset threshold value, acquiring the memory grade corresponding to each process in the current state. The humanized memory management control method is realized, a memory management control trigger mechanism in the prior art is optimized, the restarting time of a process is shortened, the operation efficiency is improved, and the user experience is enhanced.
Example III
Fig. 5 is a flowchart of a third embodiment of a memory management control method according to the present invention, based on the above embodiment, in the processes belonging to the target memory level, the process of extracting the first proportion according to the start time of the process is used as the first queue, and the remaining processes are used as the second queue, including:
s13, taking the lowest memory level as the target memory level in the memory levels;
s14, determining all processes belonging to the target memory level.
In this embodiment, first, the lowest memory rank among the memory ranks is taken as the target memory rank; then, all processes belonging to the target memory level are determined.
Optionally, in the memory levels, taking the lowest memory level as the target memory level;
optionally, in the memory levels, when the number of processes is less than a preset value, taking one or more memory levels with the lowest level as the target memory level;
optionally, the lowest memory level with active or frozen processes is taken as the target memory level in the memory levels;
optionally, determining all processes belonging to the target memory level;
optionally, determining all processes belonging to the target memory level, wherein the processes belonging to the white list are discharged;
optionally, all processes belonging to the target memory level are determined, wherein the processes which belong to the previous use period and are restarted in a preset period after being released are discharged.
The embodiment has the beneficial effects that the lowest memory level is used as the target memory level in the memory levels; then, all processes belonging to the target memory level are determined. The humanized memory management control method is realized, the initial processing object of memory management and control in the prior art is optimized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example IV
Fig. 6 is a flowchart of a fourth embodiment of a memory management control method according to the present invention, based on the above embodiment, in the processes belonging to the target memory level, the process of extracting the first proportion according to the start time of the process is used as the first queue, and the remaining processes are used as the second queue, including:
s15, arranging the processes belonging to the target memory level from long to short according to the starting time;
s16, extracting the process at the front end in the arrangement according to the first proportion to serve as the first queue, and simultaneously, taking the rest processes as the second queue.
In this embodiment, first, the processes belonging to the target memory level are arranged from long to short according to the start time; and then, extracting the front-end process as the first queue according to the first proportion in the arrangement, and taking the rest processes as the second queue.
Optionally, arranging the processes belonging to the target memory level from long to short according to the starting time;
optionally, removing the process with the starting time at the preset position before, and arranging the processes belonging to the target memory level for the rest processes according to the starting time from long to short;
Optionally, the front process is extracted as the first queue according to the first proportion in the arrangement, and the rest processes are simultaneously taken as the second queue, wherein the first proportion ranges from 10% to 30%, and is preferably 20%.
The method has the advantages that the processes belonging to the target memory level are arranged from long to short according to the starting time; and then, extracting the front-end process as the first queue according to the first proportion in the arrangement, and taking the rest processes as the second queue. The humanized memory management control method is realized, the intermediate processing object of memory management and control in the prior art is optimized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example five
Fig. 7 is a flowchart of a fifth embodiment of a memory management control method according to the present invention, based on the above embodiment, the extracting, in a process of the second queue, a process of a second proportion according to the number of starts of the process as a third queue and the remaining processes as a fourth queue, includes:
s21, arranging the processes in the second queue from high to low according to the starting times;
S22, extracting the process at the front end according to the second proportion in the arrangement as the third queue, and taking the rest process as the fourth queue.
In this embodiment, first, the processes in the second queue are arranged from high to low according to the start times; then, the front-end process is extracted as the third queue according to the second proportion in the arrangement, and the rest processes are taken as the fourth queue.
Optionally, arranging the processes belonging to the target memory level from high to low according to the starting times;
optionally, removing processes with starting times at a preset position before, and arranging the processes belonging to the target memory level for the rest processes according to the starting times from high to low;
optionally, the process at the front end is extracted as the third queue according to the second proportion in the arrangement, and the rest process is taken as the fourth queue, wherein the second proportion ranges from 10% to 30%, and is preferably 20%.
The method has the advantages that the processes in the second queue are arranged from high to low according to the starting times; then, the front-end process is extracted as the third queue according to the second proportion in the arrangement, and the rest processes are taken as the fourth queue. The humanized memory management control method is realized, the intermediate processing object of memory management and control in the prior art is optimized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example six
Fig. 8 is a flowchart of a sixth embodiment of a memory management control method according to the present invention, based on the above embodiment, the extracting, in a process of the second queue, a process of a second proportion according to the number of starts of the process as a third queue and the remaining processes as a fourth queue, includes:
s23, if the second queue is empty, arranging the processes in the first queue from high to low according to the starting times;
s24, extracting the front-end process according to a fourth proportion in the arrangement, taking the rest processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed.
In this embodiment, first, if the second queue is empty, the processes in the first queue are arranged from high to low according to the start times; and then, extracting the processes at the front end according to a fourth proportion in the arrangement, taking the rest processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed.
Optionally, the processes in the first queue are arranged from high to low according to the starting times;
optionally, removing the process with the starting times at the preset position, extracting the process at the front end from the rest processes according to a fourth proportion, taking the rest processes as the processes to be processed, and releasing the memory resources occupied by the processes to be processed, wherein the fourth proportion ranges from 10% to 30%, and is preferably 20%.
The method has the advantages that the processes in the first queue are arranged from high to low according to the starting times by judging that if the second queue is empty; and then, extracting the processes at the front end according to a fourth proportion in the arrangement, taking the rest processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed. The humanized memory management control method is realized, the intermediate processing object of memory management and control in the prior art is optimized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example seven
Fig. 9 is a flowchart of a seventh embodiment of a memory management control method according to the present invention, based on the above embodiment, if the fourth queue is not empty, in the processes of the fourth queue, a process of a third proportion is extracted as a process to be processed according to a starting time of the process, and memory resources occupied by the process to be processed are released, including:
s31, arranging the processes in the fourth queue from front to back according to the starting time;
s32, extracting the process at the rear end in the arrangement according to the third proportion to serve as the process to be processed.
In this embodiment, first, the processes in the fourth queue are arranged from front to back at the start time; and then, extracting the process at the back end in the arrangement according to the third proportion as the process to be processed.
Optionally, in this embodiment, after the process at the rear end is extracted according to the third proportion in the arrangement as the process to be processed, whether the trigger mechanism of memory management and control is reached is determined again according to the above embodiment, if not, the processing is ended, and if still in the trigger state of memory viewing, the above steps are sequentially performed again according to the above embodiment until it is determined according to the above embodiment that the occupancy rate of the current process does not reach the trigger mechanism of memory management and control.
The method has the advantages that the processes in the fourth queue are arranged from front to back according to the starting time; and then, extracting the process at the back end in the arrangement according to the third proportion as the process to be processed. The humanized memory management control method is realized, the cyclic processing scheme of process management and control is optimized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example eight
Fig. 10 is a flowchart of an eighth embodiment of a memory management control method according to the present invention, based on the above embodiment, if the fourth queue is not empty, in the processes of the fourth queue, a process of a third proportion is extracted as a process to be processed according to a starting time of the process, and memory resources occupied by the process to be processed are released, including:
s33, if the fourth queue is empty, extracting a fifth proportion of processes from the processes of the second queue according to the starting time of the processes to serve as processes to be processed;
s34, releasing the memory resources occupied by the process to be processed.
In this embodiment, first, if the fourth queue is empty, a process of a fifth proportion is extracted as a process to be processed from the processes of the second queue according to the starting time of the process; and then, releasing the memory resources occupied by the process to be processed.
Optionally, as described in the above example, if the fourth queue is empty, in the process of the second queue, after a fifth proportion of the process is extracted according to the starting time of the process to be used as a process to be processed, the memory resource occupied by the process to be processed is released, whether the trigger mechanism of memory management and control is reached is judged again according to the above embodiment, if not, the process is ended, and if still in the trigger state of memory viewing, the above steps are sequentially executed again according to the above embodiment until it is judged according to the above embodiment that the occupancy rate of the current process does not reach the trigger mechanism of memory management and control.
For another example, fig. 11 is another flowchart of the memory management control method of the present invention.
When an operating system of a terminal device is started for the first time, creating a file for storing average cold start time and total start times of each process, and updating the file every time an installation, uninstallation and start application occur in the system;
step two, when the system memory is tense and resources are released in the process of killing are needed, checking all processes with the current memory level as the lowest level, temporarily eliminating the processes with the starting time being 20% of the first time in the system if the processes exist, executing the third step on the rest processes until the rest processes are all the processes with the starting time being 20% of the first time, and executing the third step on the rest processes;
if the process with the starting times being 20% of the starting times in the system exists, temporarily eliminating the process, executing a page replacement algorithm on the rest of the processes until the rest of the processes are all the processes with the starting times being 20% of the starting times, and executing the page replacement algorithm on the rest of the processes;
and step four, if the application of the current memory level is killed, recursively executing the first step to the third step on the application of the next memory level.
The method has the advantages that if the fourth queue is empty, in the process of the second queue, a fifth proportion of processes are extracted as processes to be processed according to the starting time of the processes; and then, releasing the memory resources occupied by the process to be processed. The humanized memory management control method is realized, the cyclic processing scheme of process management and control is optimized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Example nine
Based on the above embodiments, the present invention further provides a memory management control device, where the device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program is implemented when executed by the processor:
extracting a process of a first proportion from processes belonging to a target memory level as a first queue according to the starting time of the processes, and taking the rest processes as a second queue;
if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue;
if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed.
In this embodiment, first, in a process belonging to a target memory level, a process of a first proportion is extracted as a first queue according to a start time of the process, and the remaining processes are taken as a second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed.
Specifically, in this embodiment, when the operating system of the terminal device is started for the first time, a file is created, where the file is used to store the average cold start time and the total start times of each process, and each time an installation, uninstallation, and start application occur in the system, the file is updated synchronously, so that it is convenient to record the average cold start time and the total start times data corresponding to each process.
Specifically, in this embodiment, first, in a process belonging to a target memory level, a process of a first proportion is extracted as a first queue according to a start time of the process, and the remaining process is taken as a second queue, where the target memory level refers to a memory level that is processed first in this embodiment, it may be understood that, in general, when a memory resource is relatively stressed, the lower or lowest memory level is processed first, or two or more of the lowest memory levels are used as the target memory level in this embodiment at the same time, so as to obtain a process included in the one or more memory levels, then, in the above process, the process of the first proportion is extracted as the first queue according to the start time recorded in the above file, and simultaneously, the remaining process is taken as the second queue, where a proportion number of the first proportion is determined by a current memory occupancy, or is determined by an initial set value of the system, or is determined by a class of processes involved by the current process number.
Specifically, in this embodiment, after the process of the first proportion is extracted according to the start time of the process to be used as the first queue and the remaining process is used as the second queue, if the second queue is not empty, in the process of the second queue, the process of the second proportion is extracted according to the start times of the process to be used as the third queue and the remaining process is used as the fourth queue. If the second queue is not empty, the process of the second proportion is extracted as the third queue according to the starting times recorded by the file, and meanwhile, the rest process is taken as the fourth queue, and similarly, as described above, the proportion number of the second proportion is determined by the current memory occupancy rate, or is determined by the initial set value of the system, or is determined by the process type in the current second queue, or is determined by the number of processes in the current second queue.
Specifically, in this embodiment, after the process of the second proportion is extracted according to the number of times of starting the process and the remaining process is taken as the fourth queue, if the fourth queue is not empty, in the process of the fourth queue, the process of the third proportion is extracted according to the starting time of the process and is taken as the process to be processed, and the memory resource occupied by the process to be processed is released. If the fourth queue is not empty, a process of a third proportion is extracted as a process to be processed according to the starting time recorded by the corresponding file of the operating system of the terminal device, and likewise, as described above, the proportion number of the third proportion is determined by the current memory occupancy rate, or is determined by an initial set value of the system, or is determined by a process type in the current fourth queue, or is determined by the number of processes in the current fourth queue.
The method has the advantages that the process with the first proportion is extracted as the first queue according to the starting time of the process in the process belonging to the target memory level, and the rest processes are taken as the second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed. The humanized memory management control method is realized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
Examples ten
Based on the above embodiment, the present invention further provides a computer readable storage medium, where a memory management control program is stored, where the memory management control program, when executed by a processor, implements the steps of the memory management control method according to any one of the above embodiments.
The memory management control method, the memory management control equipment and the computer readable storage medium are implemented by extracting a process with a first proportion from processes belonging to a target memory level according to the starting time of the processes as a first queue, and taking the rest processes as a second queue; then, if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue; and finally, if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed. The humanized memory management control method is realized, the restarting time of the process is reduced, the operation efficiency is improved, and the user experience is enhanced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (6)

1. A memory management control method, the method comprising:
extracting a process of a first proportion from processes belonging to a target memory level as a first queue according to the starting time of the processes, and taking the rest processes as a second queue;
the process of extracting the first proportion according to the starting time of the process in the process belonging to the target memory level is used as a first queue, and the rest processes are used as a second queue, and the method comprises the following steps:
acquiring memory grades corresponding to all processes in the current state, wherein the lowest memory grade is used as the target memory grade in the memory grades;
arranging the processes belonging to the target memory level from long to short according to the starting time;
extracting the process at the front end from the arrangement according to the first proportion to serve as the first queue, and simultaneously, taking the rest processes as the second queue;
if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue;
if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed;
Wherein,,
if the second queue is empty, the processes in the first queue are arranged from high to low according to the starting times;
extracting the processes at the front end according to a fourth proportion in the arrangement, taking the rest processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed;
and if the fourth queue is empty, extracting a fifth proportion of processes from the processes of the second queue according to the starting time of the processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed.
2. The memory management control method according to claim 1, wherein the extracting, in the processes belonging to the target memory class, a process of a first proportion as a first queue and the remaining processes as a second queue according to a start time of the process includes:
monitoring whether the memory resource in the current state is lower than a preset threshold value;
and if the memory resource is lower than the preset threshold value, acquiring the memory grade corresponding to each process in the current state.
3. The memory management control method according to claim 2, wherein if the second queue is not empty, extracting, from the processes in the second queue, a process in a second proportion as a third queue and the remaining processes as a fourth queue according to the number of starts of the process, includes:
The processes in the second queue are arranged from high to low according to the starting times;
and extracting the process at the front end according to the second proportion in the arrangement as the third queue, and taking the rest processes as the fourth queue.
4. The memory management control method according to claim 3, wherein if the fourth queue is not empty, extracting, in the processes of the fourth queue, a process of a third proportion as a process to be processed according to a start time of the process, and releasing memory resources occupied by the process to be processed, includes:
arranging the processes in the fourth queue from front to back according to the starting time;
and extracting the process at the rear end in the arrangement according to the third proportion as the process to be processed.
5. A memory management control device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program implementing when executed by the processor:
extracting a process of a first proportion from processes belonging to a target memory level as a first queue according to the starting time of the processes, and taking the rest processes as a second queue;
The process of extracting the first proportion according to the starting time of the process in the process belonging to the target memory level is used as a first queue, and the rest processes are used as a second queue, and the method comprises the following steps:
acquiring memory grades corresponding to all processes in the current state, wherein the lowest memory grade is used as the target memory grade in the memory grades;
arranging the processes belonging to the target memory level from long to short according to the starting time;
extracting the process at the front end from the arrangement according to the first proportion to serve as the first queue, and simultaneously, taking the rest processes as the second queue;
if the second queue is not empty, extracting a second proportion of processes from the processes in the second queue as a third queue according to the starting times of the processes, and taking the rest processes as a fourth queue;
if the fourth queue is not empty, extracting a third proportion of processes from the processes in the fourth queue according to the starting time of the processes as processes to be processed, and releasing memory resources occupied by the processes to be processed;
wherein,,
if the second queue is empty, the processes in the first queue are arranged from high to low according to the starting times;
Extracting the processes at the front end according to a fourth proportion in the arrangement, taking the rest processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed;
and if the fourth queue is empty, extracting a fifth proportion of processes from the processes of the second queue according to the starting time of the processes as the processes to be processed, and releasing memory resources occupied by the processes to be processed.
6. A computer-readable storage medium, wherein a memory management control program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the memory management control method according to any one of claims 1 to 4.
CN201910694417.5A 2019-07-30 2019-07-30 Memory management control method, equipment and computer readable storage medium Active CN110413415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910694417.5A CN110413415B (en) 2019-07-30 2019-07-30 Memory management control method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910694417.5A CN110413415B (en) 2019-07-30 2019-07-30 Memory management control method, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110413415A CN110413415A (en) 2019-11-05
CN110413415B true CN110413415B (en) 2023-10-17

Family

ID=68364240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910694417.5A Active CN110413415B (en) 2019-07-30 2019-07-30 Memory management control method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110413415B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597039B (en) * 2020-04-30 2023-09-15 海尔优家智能科技(北京)有限公司 Method, device and equipment for optimizing memory

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293924A (en) * 2015-05-20 2017-01-04 Tcl集团股份有限公司 The EMS memory management process of Android system and device
CN106407010A (en) * 2016-09-06 2017-02-15 北京珠穆朗玛移动通信有限公司 Internal memory management method and mobile terminal
CN106844032A (en) * 2017-01-23 2017-06-13 努比亚技术有限公司 The storage processing method and device of a kind of terminal applies
CN107168792A (en) * 2017-04-24 2017-09-15 宇龙计算机通信科技(深圳)有限公司 A kind of process management method and terminal device
CN107515665A (en) * 2017-07-06 2017-12-26 努比亚技术有限公司 Background process management method, mobile terminal and computer-readable recording medium
CN110018899A (en) * 2018-01-10 2019-07-16 华为技术有限公司 Recycle the method and device of memory

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293924A (en) * 2015-05-20 2017-01-04 Tcl集团股份有限公司 The EMS memory management process of Android system and device
CN106407010A (en) * 2016-09-06 2017-02-15 北京珠穆朗玛移动通信有限公司 Internal memory management method and mobile terminal
CN106844032A (en) * 2017-01-23 2017-06-13 努比亚技术有限公司 The storage processing method and device of a kind of terminal applies
CN107168792A (en) * 2017-04-24 2017-09-15 宇龙计算机通信科技(深圳)有限公司 A kind of process management method and terminal device
CN107515665A (en) * 2017-07-06 2017-12-26 努比亚技术有限公司 Background process management method, mobile terminal and computer-readable recording medium
CN110018899A (en) * 2018-01-10 2019-07-16 华为技术有限公司 Recycle the method and device of memory

Also Published As

Publication number Publication date
CN110413415A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110087287B (en) Control method and device for terminal network searching, mobile terminal and storage medium
CN109144705B (en) Application management method, mobile terminal and computer readable storage medium
CN110162418B (en) Application cold start method, mobile terminal and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN110096375B (en) Method and device for sharing data by application programs and computer readable storage medium
CN109584897B (en) Video noise reduction method, mobile terminal and computer readable storage medium
CN109151216B (en) Application starting method, mobile terminal, server and computer readable storage medium
CN109545120B (en) Screen light sensor adjusting method, mobile terminal and computer readable storage medium
CN112346824B (en) Screen projection application control method and device and computer readable storage medium
CN112667339B (en) Screen refresh rate setting method, terminal and computer readable medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN112090065B (en) Network delay regulation and control method, equipment and computer readable storage medium
CN107688497B (en) Memory regulation and control method, equipment and computer readable storage medium
CN109388947B (en) Background management method, device and computer readable storage medium
CN112494932A (en) Game frame supplementing method and device, terminal and computer readable storage medium
CN109032648B (en) Application program updating method, mobile terminal and storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium
CN109918348B (en) Cleaning method, terminal and computer readable storage medium for application browsing record
CN110413415B (en) Memory management control method, equipment and computer readable storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN109284110B (en) Terminal application replacement method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant