CN108073458B - Memory recovery method, mobile terminal and computer-readable storage medium - Google Patents

Memory recovery method, mobile terminal and computer-readable storage medium Download PDF

Info

Publication number
CN108073458B
CN108073458B CN201711472753.2A CN201711472753A CN108073458B CN 108073458 B CN108073458 B CN 108073458B CN 201711472753 A CN201711472753 A CN 201711472753A CN 108073458 B CN108073458 B CN 108073458B
Authority
CN
China
Prior art keywords
memory
area
mobile terminal
memory allocation
determining
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
CN201711472753.2A
Other languages
Chinese (zh)
Other versions
CN108073458A (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 CN201711472753.2A priority Critical patent/CN108073458B/en
Publication of CN108073458A publication Critical patent/CN108073458A/en
Application granted granted Critical
Publication of CN108073458B publication Critical patent/CN108073458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a memory recovery method, a mobile terminal and a computer readable storage medium, which can accurately determine memory data to be recovered and effectively reduce disk read-write operation by detecting the memory usage of the mobile terminal, recording the current detection time when the memory usage exceeds a preset threshold, determining the memory region access time period according to the current detection time and the preset time difference, then obtaining the memory region access frequency of each memory allocation region of all running applications in the mobile terminal in the memory region access time period, determining the recovery priority of each memory allocation region according to the memory region access frequency of each memory allocation region in the memory region access time period, finally determining the memory allocation region to be recovered according to the recovery priority of each memory allocation region, executing the memory recovery operation on the memory allocation region to be recovered, and the system performance is improved.

Description

Memory recovery method, mobile terminal and computer-readable storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a memory recovery method, a mobile terminal, and a computer-readable storage medium.
Background
With the rapid development of mobile terminals, the hardware configuration of the mobile terminals is better and better, the functions that can be realized are more and more, and integrated APPs (applications) are more and more. When the mobile terminal runs the APP with higher user frequency (the APP with higher user frequency is generally a fat client APP), the generated file data is more, for example, WeChat and QQ applications and the like need to occupy more disk space, and when the background runs more applications, more memory resources are occupied.
At present, when a memory of a mobile terminal is small, a memory recovery operation is usually executed, when the memory recovery operation is executed, a lot of memory data cannot be directly discarded, the memory data needs to be written to a disk for storage, when the memory data in the disk is read back to the memory when needed next time, due to the fact that the read-write operation of the disk is involved, in order to reduce the read-write operation of the disk, when the memory recovery operation is executed, the memory data which does not need to be used recently is determined according to the access condition of the memory data, and the memory data which does not need to be used recently is recovered. However, when the memory data which is not needed to be used recently is determined according to the access condition of the memory data, it cannot be accurately determined that the memory data to be recovered is the memory data which is not needed to be used recently, which easily causes the mobile terminal to read the recovered memory data from between the disk and the memory for many times, the number of disk read-write operations is large, the power consumption is increased, and the system performance is reduced.
Therefore, how to accurately determine the memory data to be recycled, reduce the disk read-write operations, and improve the system performance is a problem to be solved urgently at present.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a memory recovery method, a mobile terminal and a computer readable storage medium, and aims to solve the technical problems of accurately determining memory data to be recovered, reducing disk read-write operations and improving system performance.
In order to achieve the above object, the present invention provides a memory recovery method, including the following steps:
when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, recording the current detection time, and determining the memory area access time period according to the current detection time and a preset time difference;
acquiring the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period;
determining the recycling priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executing memory recovery operation on the memory allocation areas to be recovered.
Optionally, the step of determining the recycling priority of each memory allocation region according to the memory region access frequency of each memory allocation region in the memory region access time period includes:
determining a frequency range interval of the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the recycling priority of each memory allocation area according to the frequency range interval.
Optionally, after the step of determining the recycling priority of each memory allocation area according to the frequency range interval, the method further includes:
acquiring the application access frequency of each running application in the mobile terminal in the memory area access time period;
and adjusting the determined recycling priority of each memory allocation area according to the application access frequency of each running application in the memory area access time period.
Optionally, the step of adjusting the determined recycling priority of each memory allocation region according to the application access frequency of each running application in the memory region access period includes:
acquiring a high-frequency running application with the application access frequency higher than a first preset threshold, and reducing the recovery priority of each memory allocation region associated with the high-frequency running application by one level;
and acquiring the low-frequency running application with the application access frequency lower than a second preset threshold, and increasing the recovery priority of each memory allocation area associated with the low-frequency running application by one step.
Optionally, the step of determining the memory allocation regions to be recycled according to the recycling priority of each memory allocation region includes:
comparing the recovery priority of each memory allocation area with a preset priority to obtain the memory allocation area with the recovery priority higher than the preset priority;
and taking the memory allocation area with the recovery priority higher than the preset priority as a memory allocation area to be recovered.
Optionally, the step of determining the memory allocation regions to be recycled according to the recycling priority of each memory allocation region further includes:
determining the memory area recovery sequence of each memory allocation area according to the recovery priority of each memory allocation area;
sequentially calculating the memory occupation amount of the corresponding memory distribution area according to the memory area recovery sequence, and calculating the memory recovery amount between the memory usage amount of the mobile terminal and the preset threshold value;
sequentially accumulating the memory occupation amounts according to the memory area recovery sequence to obtain a memory occupation accumulation amount until the memory occupation accumulation amount exceeds or is equal to the memory recovery amount;
and determining the memory allocation area participating in the accumulation operation, and taking the memory allocation area as a memory allocation area to be recycled.
Optionally, before the step of recording the current detection time and determining the access time period of the memory area according to the current detection time and the preset time difference, the memory recycling method further includes:
recording the screen-off standby time when detecting that the mobile terminal is in the screen-off standby state;
determining the current screen-off standby time of the mobile terminal according to a screen-off standby time table in a preset storage area and the use time period of the screen-off standby time;
when the current screen-off standby time exceeds a preset threshold, detecting whether the memory usage amount of the mobile terminal exceeds the preset threshold;
and when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, executing the step of recording the current detection time and determining the memory area access time period according to the current detection time and a preset time difference.
Optionally, the step of determining the current screen-off standby duration of the mobile terminal according to the screen-off standby duration in the preset storage area and the usage period of the screen-off standby time includes:
acquiring a screen-off standby time length table from the preset storage area, and determining the use time period of the screen-off standby time;
and acquiring the screen-off standby time associated with the use time period from the screen-off standby time length table, and determining the screen-off standby time as the current screen-off standby time length of the mobile terminal.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the memory recovery method comprises a memory, a processor and a memory recovery program which is stored on the memory and can run on the processor, wherein the steps of the memory recovery method are realized when the memory recovery program is executed by the processor.
To achieve the above object, the present invention further provides a computer-readable storage medium, in which a memory recovery program is stored, and the memory recovery program implements the steps of the memory recovery method when executed by a processor.
The invention provides a memory recovery method, a mobile terminal and a computer readable storage medium, the invention detects the memory usage of the mobile terminal, records the current detection time when the memory usage exceeds the preset threshold, determines the memory area access time period according to the current detection time and the preset time difference, then obtains the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period, determines the recovery priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period, finally determines the memory allocation area to be recovered according to the recovery priority of each memory allocation area, and executes the memory recovery operation on the memory allocation area to be recovered, when the memory usage of the mobile terminal is detected to exceed the preset threshold, determining the access time period of the memory area, and determining the recovery priority of each memory allocation area based on the access frequency of each memory allocation area in the access time period of the memory area, thereby determining the memory allocation area to be recovered based on the recovery priority, and executing the memory recovery operation, thereby accurately determining the memory data to be recovered, effectively reducing the read-write operation of a disk, and improving the system performance.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a flowchart illustrating a memory recovery method according to a first embodiment of the present invention;
fig. 3 is a detailed flowchart of step S103 in the first embodiment of the method for memory recovery according to the present invention;
fig. 4 is a detailed flowchart of step S104 in the first embodiment of the method for memory recycling according to the present invention;
fig. 5 is a detailed flowchart of step S103 in the second embodiment of the method for memory recovery according to the present invention;
fig. 6 is a detailed flowchart of step S104 in the third embodiment of the method for memory recycling according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, 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 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing 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 call 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 related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a 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 graphic 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 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone 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 audio signals.
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 that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
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 (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 generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, 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 a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a 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 direction 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. 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, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (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 external devices 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 external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the 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 operating 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, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly 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 supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via 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 in detail herein.
Based on the above mobile terminal hardware structure, various embodiments of the mobile terminal of the present invention are provided.
Referring to fig. 1, in a first embodiment of the mobile terminal of the present invention, the mobile terminal includes: a memory, a processor, and a memory reclamation program stored on the memory and operable on the processor, the memory reclamation program when executed by the processor implementing the steps of:
when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, recording the current detection time, and determining the memory area access time period according to the current detection time and a preset time difference;
acquiring the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period;
determining the recycling priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executing memory recovery operation on the memory allocation areas to be recovered.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
determining a frequency range interval of the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the recycling priority of each memory allocation area according to the frequency range interval.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
acquiring the application access frequency of each running application in the mobile terminal in the memory area access time period;
and adjusting the determined recycling priority of each memory allocation area according to the application access frequency of each running application in the memory area access time period.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
acquiring a high-frequency running application with the application access frequency higher than a first preset threshold, and reducing the recovery priority of each memory allocation region associated with the high-frequency running application by one level;
and acquiring the low-frequency running application with the application access frequency lower than a second preset threshold, and increasing the recovery priority of each memory allocation area associated with the low-frequency running application by one step.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
comparing the recovery priority of each memory allocation area with a preset priority to obtain the memory allocation area with the recovery priority higher than the preset priority;
and taking the memory allocation area with the recovery priority higher than the preset priority as a memory allocation area to be recovered.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
determining the memory area recovery sequence of each memory allocation area according to the recovery priority of each memory allocation area;
sequentially calculating the memory occupation amount of the corresponding memory distribution area according to the memory area recovery sequence, and calculating the memory recovery amount between the memory usage amount of the mobile terminal and the preset threshold value;
sequentially accumulating the memory occupation amounts according to the memory area recovery sequence to obtain a memory occupation accumulation amount until the memory occupation accumulation amount exceeds or is equal to the memory recovery amount;
and determining the memory allocation area participating in the accumulation operation, and taking the memory allocation area as a memory allocation area to be recycled.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
recording the screen-off standby time when detecting that the mobile terminal is in the screen-off standby state;
determining the current screen-off standby time of the mobile terminal according to a screen-off standby time table in a preset storage area and the use time period of the screen-off standby time;
when the current screen-off standby time exceeds a preset threshold, detecting whether the memory usage amount of the mobile terminal exceeds the preset threshold;
and when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, executing the step of recording the current detection time and determining the memory area access time period according to the current detection time and a preset time difference.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
acquiring a screen-off standby time length table from the preset storage area, and determining the use time period of the screen-off standby time;
and acquiring the screen-off standby time associated with the use time period from the screen-off standby time length table, and determining the screen-off standby time as the current screen-off standby time length of the mobile terminal.
The embodiment of the mobile terminal of the present invention is substantially the same as the embodiments of the memory recovery method described below, and will not be described herein again.
Furthermore, the invention also provides a memory recovery method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a memory recycling method according to a first embodiment of the present invention.
In this embodiment, the memory recovery method includes:
step S101, when detecting that the memory usage of the mobile terminal exceeds a preset threshold, recording the current detection time, and determining the memory area access time period according to the current detection time and a preset time difference;
the memory recovery method is applied to the mobile terminal shown in fig. 1, the mobile terminal comprises a smart phone, a tablet computer and the like, the mobile terminal is provided with a plurality of applications, when the applications are operated, the mobile terminal executes corresponding application processes and allocates required memory space, namely, each operated application has a memory allocation area. The mobile terminal detects whether the memory usage exceeds a preset threshold at regular time or in real time, that is, the memory usage is obtained at regular time or in real time, and the memory usage is compared with the preset threshold to judge whether the memory usage exceeds the preset threshold, when the memory usage is detected to exceed the preset threshold, the current detection time is recorded, and a memory access time interval is determined according to the current detection time and a preset time difference, that is, the current detection time is subtracted by the preset time difference to obtain the start time of the memory access time interval, and the current detection time is taken as the end time of the memory access time interval, so as to determine the memory access time interval, for example, the current detection time is 11: 25, if the preset time difference is 1 hour, the memory access time period is 10:25 to 11: 25.
step S102, obtaining the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period;
after the mobile terminal allocates the corresponding memory allocation area to the running application, the number of memory area accesses of the memory allocation area is recorded in real time, and the number of memory area accesses and the corresponding recording time are stored in a preset storage area. After determining the memory area access time period, the mobile terminal acquires the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period, namely acquires the memory area access times of recording time in the memory area access time period from a preset storage area, and calculates the memory area access frequency of each memory allocation area in the memory area access time period based on the memory area access times and the memory area access time period.
Step S103, determining the recycling priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period;
after acquiring the memory area access frequency of each memory allocation area in the memory area access time period, the mobile terminal determines the recovery priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period.
Specifically, referring to fig. 3, fig. 3 is a detailed flowchart of step S103 shown in fig. 2, where the step S103 includes:
step S1031, determining a frequency range interval in which the memory region access frequency of each memory allocation region in the memory region access time period is located;
step S1032, determine the recycling priority of each memory allocation region according to the frequency range interval.
After acquiring the memory area access frequency of each memory allocation area in the memory area access time period, the mobile terminal determines a frequency range interval in which the memory area access frequency of each memory allocation area in the memory area access time period is located, and determines the recovery priority of each memory allocation area according to the frequency range interval. The frequency range interval comprises a first frequency range interval, a second frequency range interval, a third frequency range interval, a fourth frequency range interval, a fifth frequency range interval and the like, the first frequency range interval is 0-2, and the corresponding recovery priority is 5; the second frequency range interval is 3-5, and the corresponding recovery priority is 4; the third frequency range interval is 6-9, and the corresponding recovery priority is 3; the fourth frequency range interval is 10-12, and the corresponding recovery priority is 2; the fifth frequency range interval is 13-15, and the corresponding recovery priority is 1. It should be noted that the frequency range interval and the corresponding recycling priority may be set by those skilled in the art based on actual situations, and this embodiment is not limited in this respect.
Step S104, determining the memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executing memory recovery operation on the memory allocation areas to be recovered.
After determining the recovery priority of each memory allocation area, the mobile terminal determines the memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executes memory recovery operation on the memory allocation areas to be recovered.
Specifically, referring to fig. 4, fig. 4 is a detailed flowchart of step S104 shown in fig. 2, where the step S104 includes:
in the step S1041, comparing the recovery priority of each memory allocation area with a preset priority to obtain the memory allocation area with the recovery priority higher than the preset priority;
in step S1042, the memory allocation area with the recycling priority higher than the preset priority is used as the memory allocation area to be recycled.
After determining the recovery priority of each memory allocation area, the mobile terminal compares the recovery priority of each memory allocation area with a preset priority to obtain the memory allocation area with the recovery priority higher than the preset priority, takes the memory allocation area with the recovery priority higher than the preset priority as a memory allocation area to be recovered, then executes memory recovery operation on the memory allocation area to be recovered, namely writes memory data in the memory allocation area to be recovered into a disk, and empties the memory data in the memory allocation area to be recovered. The higher the recovery priority, the higher the recovery probability of the corresponding memory allocation area, and conversely, the lower the recovery priority, the lower the recovery probability of the corresponding memory allocation area.
In this embodiment, the memory usage amount of the mobile terminal is detected, when the memory usage amount exceeds a preset threshold, the current detection time is recorded, the memory area access time period is determined according to the current detection time and the preset time difference, then the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period is obtained, the recovery priority of each memory allocation area is determined according to the memory area access frequency of each memory allocation area in the memory area access time period, finally the memory allocation area to be recovered is determined according to the recovery priority of each memory allocation area, and the memory recovery operation is performed on the memory allocation area to be recovered, so that the memory data to be recovered can be accurately determined, the disk read-write operation is effectively reduced, and the system performance is improved.
Further, referring to fig. 5, a second embodiment of the memory reclamation method according to the present invention is provided based on the first embodiment, and the difference between the second embodiment and the foregoing embodiment is that, after the step S1032, the step S103 further includes:
step S1033, obtaining the application access frequency of each running application in the mobile terminal in the memory area access time period;
step S1034, adjusting the determined recycling priority of each memory allocation region according to the application access frequency of each running application in the memory region access time period.
It should be noted that the present invention proposes a specific manner for determining the recycle priority of the memory allocation region based on the foregoing embodiments, and only this is described below, and other embodiments can be referred to.
And after determining the recovery priority of each memory allocation area according to the frequency range interval, the mobile terminal acquires the application access frequency of each running application in the mobile terminal in the memory area access time period, and adjusts the determined recovery priority of each memory allocation area according to the application access frequency of each running application in the memory area access time period.
Specifically, in the present embodiment, step S1034 includes:
acquiring a high-frequency running application with the application access frequency higher than a first preset threshold, and reducing the recovery priority of each memory allocation region associated with the high-frequency running application by one level;
and acquiring a low-frequency running application with the application access frequency lower than a second preset threshold, and increasing the recovery priority of each memory allocation area associated with the low-frequency running application by one level, wherein the first preset threshold is higher than the second preset threshold.
The mobile terminal obtains the high-frequency running application with the application access frequency higher than a first preset threshold, reduces the recovery priority of each memory allocation area associated with the high-frequency running application by one level, obtains the low-frequency running application with the application access frequency lower than a second preset threshold, and increases the recovery priority of each memory allocation area associated with the low-frequency running application by one level. It should be noted that the first preset threshold is higher than the second preset threshold, and both the first preset threshold and the second preset threshold can be set by a person skilled in the art based on actual situations, which is not limited in this embodiment.
In this embodiment, the present invention determines the recycling priority of the memory allocation region by combining the application access frequency of the running application and the memory region access frequency of the memory allocation region, and can effectively improve the accuracy of the recycling priority of the memory allocation region.
Further, referring to fig. 6, a third embodiment of the memory reclamation method according to the present invention is provided based on the first or second embodiment, and the difference from the foregoing embodiment is that the step S104 further includes:
step S1043, determining a memory area recovery sequence of each memory allocation area according to the recovery priority of each memory allocation area;
step S1044, sequentially calculating the memory occupation amount of the corresponding memory allocation regions according to the memory region recycling sequence, and calculating the memory recycling amount between the memory usage amount of the mobile terminal and the preset threshold value;
step S1045, sequentially performing accumulation operation on the memory occupied amounts according to the memory region recycling sequence to obtain a memory occupied accumulated amount until the memory occupied accumulated amount exceeds or equals to the memory recycling amount;
step S1046, determining the memory allocation area participating in the accumulation operation, and using the memory allocation area as a memory allocation area to be recovered.
It should be noted that the present invention provides a specific way to determine the memory allocation area to be recycled based on the foregoing embodiments, which will be described below only, and other references can be made to the foregoing embodiments.
After determining the recovery priority of each memory allocation area, the mobile terminal determines the memory area recovery sequence of each memory allocation area according to the recovery priority of each memory allocation area, namely, sorts each memory allocation area according to the recovery priority of each memory allocation area, and the obtained sorting result is the memory area recovery sequence of each memory allocation area; and then sequentially calculating the memory occupation amount of the corresponding memory allocation regions according to the memory region recycling sequence, calculating the memory recycling amount between the memory usage amount of the mobile terminal and a preset threshold value, simultaneously sequentially accumulating the memory occupation amount according to the memory region recycling sequence to obtain the memory occupation accumulation amount until the memory occupation accumulation amount exceeds or is equal to the memory recycling amount, finally determining the memory allocation regions participating in the accumulation operation, and taking the memory allocation regions as the memory allocation regions to be recycled.
In this embodiment, the memory region recovery sequence of each memory allocation region is determined based on the recovery priority, the memory occupation amounts of the corresponding memory allocation regions are sequentially calculated according to the memory region recovery sequence and accumulated until the obtained memory occupation accumulation amount exceeds or equals to the memory recovery amount between the memory usage amount and the preset threshold value, the memory allocation region to be recovered is quickly and accurately determined, and it is ensured that the memory usage amount after recovery is lower than the preset threshold value, and more idle memories are reserved.
Further, a fourth embodiment of the memory reclamation method according to the present invention is provided based on the first, second, or third embodiment, and the difference from the foregoing embodiment is that before the step S101, the memory reclamation method further includes:
recording the screen-off standby time when detecting that the mobile terminal is in the screen-off standby state;
determining the current screen-off standby time of the mobile terminal according to a screen-off standby time table in a preset storage area and the use time period of the screen-off standby time;
when the current screen-off standby time exceeds a preset threshold, detecting whether the memory usage amount of the mobile terminal exceeds the preset threshold;
and when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, executing the step of recording the current detection time and determining the memory area access time period according to the current detection time and a preset time difference.
It should be noted that, based on the foregoing embodiments, the present invention provides a manner for performing memory recovery when the mobile terminal is in the off standby state, and only this is described below, and other embodiments can be referred to.
According to the method and the device, the screen-off standby time length of the mobile terminal in each preset use time period is recorded to establish a screen-off standby time length table of the mobile terminal, and the screen-off standby time length table is stored in a preset storage area. The method specifically comprises the steps of recording the screen-off standby time of the mobile terminal in each preset using period, storing the recorded screen-off standby time into a database, calculating the data storage amount in the database at intervals of preset time, judging whether the data storage amount exceeds the preset data storage amount, and finally establishing a screen-off standby time long list according to the screen-off standby time of the mobile terminal in each preset using period in the database when the data storage amount exceeds the preset data storage amount, wherein the preset using period comprises morning time, noon time, afternoon time, evening time and midnight, and the corresponding time periods are respectively 02:00 to 06:00, 6:00 to 10:00, 10:00 to 14:00, 14:00 to 18:00, 18:00 to 22:00 and 22:00 to 24: 00. It should be noted that the preset usage period may be set by a person skilled in the art based on actual situations, and this embodiment is not particularly limited thereto.
When the mobile terminal is detected to be in a screen-off standby state, recording screen-off standby time, determining current screen-off standby time of the mobile terminal according to the screen-off standby time table in a preset storage area and the use time period of the screen-off standby time, then detecting whether the memory usage of the mobile terminal exceeds a preset threshold value when the current screen-off standby time exceeds the preset threshold value, recording current detection time when the memory usage of the mobile terminal exceeds the preset threshold value, determining memory area access time period according to the current detection time and a preset time difference, then acquiring memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period, and determining the recovery priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period, and finally, determining the memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executing memory recovery operation on the memory allocation areas to be recovered.
Specifically, in this embodiment, the step of determining the current off-screen standby duration of the mobile terminal according to the off-screen standby duration table in the preset storage area and the usage period of the off-screen standby time includes:
acquiring a screen-off standby time length table from the preset storage area, and determining the use time period of the screen-off standby time;
and acquiring the screen-off standby time associated with the use time period from the screen-off standby time length table, and determining the screen-off standby time as the current screen-off standby time length of the mobile terminal.
The mobile terminal acquires a screen-off standby time length table from a preset storage area, determines the use time period of the screen-off standby time, acquires screen-off standby time length associated with the use time period from the screen-off standby time length table, and determines the screen-off standby time length as the current screen-off standby time length of the mobile terminal.
In this embodiment, when the screen-off standby time of the mobile terminal in the screen-off standby state exceeds the preset time and the memory usage amount of the mobile terminal exceeds the preset threshold, the memory is recycled, so that the memory can be recycled without the user's knowledge, and the memory recycling efficiency can be improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a memory recycling program is stored on the computer-readable storage medium, and when executed by a processor, the memory recycling program implements the following steps:
when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, recording the current detection time, and determining the memory area access time period according to the current detection time and a preset time difference;
acquiring the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period;
determining the recycling priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executing memory recovery operation on the memory allocation areas to be recovered.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
determining a frequency range interval of the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the recycling priority of each memory allocation area according to the frequency range interval.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
acquiring the application access frequency of each running application in the mobile terminal in the memory area access time period;
and adjusting the determined recycling priority of each memory allocation area according to the application access frequency of each running application in the memory area access time period.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
acquiring a high-frequency running application with the application access frequency higher than a first preset threshold, and reducing the recovery priority of each memory allocation region associated with the high-frequency running application by one level;
and acquiring a low-frequency running application with the application access frequency lower than a second preset threshold, and increasing the recovery priority of each memory allocation area associated with the low-frequency running application by one level, wherein the first preset threshold is higher than the second preset threshold.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
comparing the recovery priority of each memory allocation area with a preset priority to obtain the memory allocation area with the recovery priority higher than the preset priority;
and taking the memory allocation area with the recovery priority higher than the preset priority as a memory allocation area to be recovered.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
determining the memory area recovery sequence of each memory allocation area according to the recovery priority of each memory allocation area;
sequentially calculating the memory occupation amount of the corresponding memory distribution area according to the memory area recovery sequence, and calculating the memory recovery amount between the memory usage amount of the mobile terminal and the preset threshold value;
sequentially accumulating the memory occupation amounts according to the memory area recovery sequence to obtain a memory occupation accumulation amount until the memory occupation accumulation amount exceeds or is equal to the memory recovery amount;
and determining the memory allocation area participating in the accumulation operation, and taking the memory allocation area as a memory allocation area to be recycled.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
recording the screen-off standby time when detecting that the mobile terminal is in the screen-off standby state;
determining the current screen-off standby time of the mobile terminal according to a screen-off standby time table in a preset storage area and the use time period of the screen-off standby time;
when the current screen-off standby time exceeds a preset threshold, detecting whether the memory usage amount of the mobile terminal exceeds the preset threshold;
and when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, executing the step of recording the current detection time and determining the memory area access time period according to the current detection time and a preset time difference.
Further, when executed by the processor, the memory reclamation program further implements the steps of:
acquiring a screen-off standby time length table from the preset storage area, and determining the use time period of the screen-off standby time;
and acquiring the screen-off standby time associated with the use time period from the screen-off standby time length table, and determining the screen-off standby time as the current screen-off standby time length of the mobile terminal.
The embodiments of the computer-readable storage medium of the present invention are substantially the same as the embodiments of the memory recovery method described above, and are not described herein again.
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 system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A memory recovery method is applied to a mobile terminal, and is characterized by comprising the following steps:
when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, recording the current detection time, and determining the memory area access time period according to the current detection time and a preset time difference;
acquiring the memory area access frequency of each memory allocation area of all running applications in the mobile terminal in the memory area access time period;
determining the recycling priority of each memory allocation area according to the memory area access frequency of each memory allocation area in the memory area access time period;
determining memory allocation areas to be recovered according to the recovery priority of each memory allocation area, and executing memory recovery operation on the memory allocation areas to be recovered;
before the step of recording the current detection time and determining the access time period of the memory area according to the current detection time and the preset time difference, the memory recovery method further includes:
recording the screen-off standby time when detecting that the mobile terminal is in the screen-off standby state;
determining the current screen-off standby time of the mobile terminal according to a screen-off standby time table in a preset storage area and the use time period of the screen-off standby time;
when the current screen-off standby time exceeds a preset threshold, detecting whether the memory usage amount of the mobile terminal exceeds the preset threshold;
and when detecting that the memory usage amount of the mobile terminal exceeds a preset threshold value, executing the step of recording the current detection time and determining the memory area access time period according to the current detection time and a preset time difference.
2. The method as claimed in claim 1, wherein the step of determining the recycling priority of each memory allocation region according to the memory region access frequency of each memory allocation region in the memory region access time period comprises:
determining a frequency range interval of the memory area access frequency of each memory allocation area in the memory area access time period;
and determining the recycling priority of each memory allocation area according to the frequency range interval.
3. The method as claimed in claim 2, wherein after the step of determining the recycling priority of each memory allocation region according to the frequency range interval, the method further comprises:
acquiring the application access frequency of each running application in the mobile terminal in the memory area access time period;
and adjusting the determined recycling priority of each memory allocation area according to the application access frequency of each running application in the memory area access time period.
4. The memory reclamation method as recited in claim 3, wherein the step of adjusting the determined reclamation priority for each memory allocation region based on the access frequency of each running application within the memory region access period comprises:
acquiring a high-frequency running application with the application access frequency higher than a first preset threshold, and reducing the recovery priority of each memory allocation region associated with the high-frequency running application by one level;
and acquiring a low-frequency running application with the application access frequency lower than a second preset threshold, and increasing the recovery priority of each memory allocation area associated with the low-frequency running application by one level, wherein the first preset threshold is higher than the second preset threshold.
5. The memory reclamation method as recited in claim 1, wherein the step of determining the memory allocation regions to be reclaimed according to the reclamation priority of each memory allocation region comprises:
comparing the recovery priority of each memory allocation area with a preset priority to obtain the memory allocation area with the recovery priority higher than the preset priority;
and taking the memory allocation area with the recovery priority higher than the preset priority as a memory allocation area to be recovered.
6. The memory reclamation method as recited in claim 1, wherein the step of determining the memory allocation regions to be reclaimed according to the reclamation priority of each memory allocation region further comprises:
determining the memory area recovery sequence of each memory allocation area according to the recovery priority of each memory allocation area;
sequentially calculating the memory occupation amount of the corresponding memory distribution area according to the memory area recovery sequence, and calculating the memory recovery amount between the memory usage amount of the mobile terminal and the preset threshold value;
sequentially accumulating the memory occupation amounts according to the memory area recovery sequence to obtain a memory occupation accumulation amount until the memory occupation accumulation amount exceeds or is equal to the memory recovery amount;
and determining the memory allocation area participating in the accumulation operation, and taking the memory allocation area as a memory allocation area to be recycled.
7. The method for recycling the memory according to claim 1, wherein the step of determining the current off-screen standby duration of the mobile terminal according to the off-screen standby duration in the preset storage area and the usage period of the off-screen standby time includes:
acquiring a screen-off standby time length table from the preset storage area, and determining the use time period of the screen-off standby time;
and acquiring the screen-off standby time associated with the use time period from the screen-off standby time length table, and determining the screen-off standby time as the current screen-off standby time length of the mobile terminal.
8. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor and a memory reclamation program stored on the memory and executable on the processor, the memory reclamation program when executed by the processor implementing the steps of the memory reclamation method as recited in any one of claims 1 to 7.
9. A computer-readable storage medium, having stored thereon a memory reclamation program, which when executed by a processor implements the steps of the memory reclamation method as recited in any one of claims 1 to 7.
CN201711472753.2A 2017-12-28 2017-12-28 Memory recovery method, mobile terminal and computer-readable storage medium Active CN108073458B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711472753.2A CN108073458B (en) 2017-12-28 2017-12-28 Memory recovery method, mobile terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711472753.2A CN108073458B (en) 2017-12-28 2017-12-28 Memory recovery method, mobile terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN108073458A CN108073458A (en) 2018-05-25
CN108073458B true CN108073458B (en) 2022-03-18

Family

ID=62155916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711472753.2A Active CN108073458B (en) 2017-12-28 2017-12-28 Memory recovery method, mobile terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN108073458B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083450A (en) * 2019-04-09 2019-08-02 Oppo广东移动通信有限公司 Method for recovering internal storage, device, electronic equipment and storage medium
CN111274039B (en) * 2020-02-14 2023-12-08 Oppo广东移动通信有限公司 Memory recycling method and device, storage medium and electronic equipment
CN111414254A (en) * 2020-03-19 2020-07-14 Oppo广东移动通信有限公司 Device management method, device, storage medium and electronic device
CN112835765A (en) * 2021-02-02 2021-05-25 中国工商银行股份有限公司 Java program memory use condition monitoring method and device
CN116185644A (en) * 2023-04-26 2023-05-30 阿里云计算有限公司 Memory recycling control method, storage medium, processor and terminal equipment
CN116521489B (en) * 2023-07-04 2024-03-15 深圳市同泰怡信息技术有限公司 Computer server fault early warning method
CN116775506B (en) * 2023-08-22 2023-12-05 腾讯科技(深圳)有限公司 Memory recycling method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063261A (en) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Starting method of application program and mobile terminal
CN105224335A (en) * 2015-10-22 2016-01-06 上海斐讯数据通信技术有限公司 A kind of control method of Automatic clearance terminal device, system and terminal device
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal
CN106775809A (en) * 2016-11-15 2017-05-31 北京奇虎科技有限公司 A kind of method of mobile terminal internal memory cleaning, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107402813B (en) * 2017-06-21 2020-10-30 泰州市元和达电子科技有限公司 Resource allocation method, mobile terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063261A (en) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 Starting method of application program and mobile terminal
CN105224335A (en) * 2015-10-22 2016-01-06 上海斐讯数据通信技术有限公司 A kind of control method of Automatic clearance terminal device, system and terminal device
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal
CN106775809A (en) * 2016-11-15 2017-05-31 北京奇虎科技有限公司 A kind of method of mobile terminal internal memory cleaning, device and mobile terminal

Also Published As

Publication number Publication date
CN108073458A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN109343759B (en) Screen-turning display control method and terminal
CN107402694B (en) Application switching method, device and computer-readable storage medium
CN109509473B (en) Voice control method and terminal equipment
CN108984066B (en) Application icon display method and mobile terminal
CN108874280B (en) Screen division method, terminal and computer readable storage medium
CN109284144B (en) Fast application processing method and mobile terminal
CN110752981B (en) Information control method and electronic equipment
CN107967177B (en) Memory optimization method based on core process, mobile terminal and readable storage medium
CN107480169B (en) Picture loading method, terminal and computer readable storage medium
CN108536349B (en) Icon management method and mobile terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN108322602B (en) Method, terminal and computer readable storage medium for processing application no response
CN107832067B (en) Application updating method, mobile terminal and computer readable storage medium
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
CN107257408B (en) Main screen page display method, terminal and computer readable storage medium
CN107943590B (en) Memory optimization method based on associated starting application, mobile terminal and storage medium
CN108228357B (en) Memory cleaning method and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN109947323B (en) Terminal display method and terminal
CN109144860B (en) Operation method for control object and terminal equipment
CN110018772B (en) Wallpaper setting method, terminal and computer-readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109508300B (en) Disk fragment sorting method and device and computer readable storage medium
CN108170360B (en) Control method of gesture function and mobile terminal

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